clutter-sharp-1.0.0alpha3/0000755000175000017500000000000011506372235017132 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/examples/0000755000175000017500000000000011506372235020750 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/examples/Flowers.cs0000644000175000017500000000721611506367775022743 0ustar00hyperairhyperair00000000000000using System; using Clutter; using Cairo; public class Flower { const int PETAL_MIN = 20; const int PETAL_VAR = 40; const int N_FLOWERS = 40; static Random random; static Flower[] flowers; CairoTexture ctex; int x; int y; int rot; int v; int rv; static double[] colors = { 0.71, 0.81, 0.83, 1.0, 0.78, 0.57, 0.64, 0.30, 0.35, 0.73, 0.40, 0.39, 0.91, 0.56, 0.64, 0.70, 0.47, 0.45, 0.92, 0.75, 0.60, 0.82, 0.86, 0.85, 0.51, 0.56, 0.67, 1.0, 0.79, 0.58 }; public Flower ( ) { int idx = -1; int last_idx = -1; int petal_size = PETAL_MIN + rand () % PETAL_VAR; int size = petal_size * 8; int n_groups = rand () % 3 + 1; this.ctex = new CairoTexture ((uint)size, (uint)size); // the using statement make sure the cr is disposed at the end, // otherwise we get no bling using (Cairo.Context cr = this.ctex.Create ()) { cr.Tolerance = 0.1; // Clear cr.Operator = Operator.Clear; cr.Paint (); cr.Operator = Operator.Over; cr.Translate (size/2, size/2); // petals for (int i = 0; i < n_groups; i++) { int n_petals = rand () % 5 + 4; cr.Save (); cr.Rotate (rand () % 6); do { idx = (rand () % (colors.Length / 3)) * 3; } while (idx == last_idx); cr.SetSourceRGBA (colors[idx], colors[idx+1], colors[idx+2], 0.5); int pm1 = rand () % 20; int pm2 = rand () % 4; for (int j = 0; j < n_petals; j++) { cr.Save (); cr.Rotate (((2 * Math.PI) / n_petals) * j); cr.NewPath (); cr.MoveTo (0, 0); cr.RelCurveTo (petal_size, petal_size, (pm2 + 2) * petal_size, petal_size, (2 * petal_size) + pm1, 0); cr.RelCurveTo (0 + (pm2 * petal_size), -petal_size, - petal_size, -petal_size, -((2 * petal_size) + pm1), 0); cr.ClosePath (); cr.Fill (); cr.Restore (); } petal_size -= rand () % (size / 8); cr.Restore (); } // flower center do { idx = (rand () % (colors.Length / 4 / 3)) * 3; } while (idx == last_idx); if (petal_size < 0) petal_size = rand () % 10; cr.SetSourceRGBA (colors[idx], colors[idx+1], colors[idx+2], 0.5); cr.Arc (0, 0, petal_size, 0, Math.PI * 2); cr.Fill (); } } static bool Tick () { for (int i = 0; i < N_FLOWERS; i++) { flowers[i].y += flowers[i].v; flowers[i].rot += flowers[i].rv; if (flowers[i].y > Stage.Default.Height) flowers[i].y = (int)-flowers[i].ctex.Height; Actor current_flower = flowers[i].ctex; current_flower.SetPosition (flowers[i].x, flowers[i].y); current_flower.SetRotation(RotateAxis.ZAxis, flowers[i].rot, (int)current_flower.Width / 2, (int)current_flower.Height /2, 0); } return true; } static int rand () { return random.Next (); } static void HandleKeyPress (object o, KeyPressEventArgs args) { Clutter.Main.Quit (); } public static void Main () { random = new Random (); ClutterRun.Init (); Stage stage = Stage.Default; stage.Fullscreen = true; stage.Color = new Clutter.Color (0x10, 0x10, 0x10, 0xff); flowers = new Flower[N_FLOWERS]; for (int i = 0; i < N_FLOWERS; i++) { flowers[i] = new Flower (); flowers[i].x = (int)(rand () % stage.Width - (PETAL_MIN + PETAL_VAR)*2); flowers[i].y = (int)(rand () % stage.Height); flowers[i].rv = rand () % 5 + 1; flowers[i].v = rand () % 10 + 2; stage.AddActor (flowers[i].ctex); flowers[i].ctex.SetPosition (flowers[i].x, flowers[i].y); } GLib.Timeout.Add (50, new GLib.TimeoutHandler (Tick)); stage.ShowAll (); stage.KeyPressEvent += HandleKeyPress; ClutterRun.Main (); } } clutter-sharp-1.0.0alpha3/examples/test-scroll-actor.cs0000644000175000017500000000242211506367775024675 0ustar00hyperairhyperair00000000000000using System; using Clutter; namespace ClutterTest { public class ScrollActor : Clutter.Rectangle { private int scroll_offset; public ScrollActor (Clutter.Color color) : this (color, 20) { } public ScrollActor (Clutter.Color color, int scroll_offset) : base (color) { this.scroll_offset = scroll_offset; Reactive = true; } protected override bool OnScrollEvent (Clutter.ScrollEvent evnt) { switch (evnt.Direction) { case ScrollDirection.Up: base.Depth += scroll_offset; break; case ScrollDirection.Down: base.Depth -= scroll_offset; break; default: break; } return base.OnScrollEvent (evnt); } } public class Test { static Color stage_color = new Color (0x00, 0x00, 0x00, 0xff); static Color actor_color = new Color (0x33, 0xdd, 0xff, 0xff); static Rectangle actor; public static void Main () { ClutterRun.Init (); Stage stage = Stage.Default; stage.SetSize (200, 200); stage.Color = stage_color; stage.Title = "Override Test"; actor = new ScrollActor (actor_color, 20); actor.SetSize (100, 100); actor.AnchorPointFromGravity = Gravity.Center; actor.SetPosition (100, 100); stage.AddActor (actor); stage.ShowAll (); ClutterRun.Main (); } } } clutter-sharp-1.0.0alpha3/examples/test-scale.cs0000644000175000017500000000141711506367775023363 0ustar00hyperairhyperair00000000000000using System; using Clutter; class Program { static Rectangle rect; static EffectTemplate template; static void ScaleRect () { Effect.Scale (template, rect, 2.0, 2.0, null); } static void Main () { ClutterRun.Init (); Stage stage = Stage.Default; stage.SetSize (200, 200); template = new EffectTemplate (new Timeline (90, 120), Sine.Func); rect = new Rectangle (); Clutter.Color rect_bg_color = new Clutter.Color (0x33, 0x22, 0x22, 0xff); rect.Color = rect_bg_color; rect.BorderWidth = 10; rect.Reactive = true; rect.SetSize (100, 100); rect.AnchorPointFromGravity = Gravity.Center; rect.SetPosition (100, 100); rect.ButtonPressEvent += delegate { ScaleRect (); }; stage.AddActor (rect); stage.ShowAll (); ClutterRun.Main (); } } clutter-sharp-1.0.0alpha3/examples/gtk-test-events.cs0000644000175000017500000000743311506367775024367 0ustar00hyperairhyperair00000000000000using Gtk; using System; using Clutter; public class EventApp { public Gtk.Window window; public Gtk.Widget popup; public Gtk.Entry gtk_entry; public Gtk.SpinButton x_button; public Gtk.SpinButton y_button; public Gtk.SpinButton z_button; public Gtk.SpinButton op_button; public Clutter.Stage stage; public Clutter.Actor hand; public Clutter.Entry clutter_entry; } public class TestEvents { static EventApp app; public static void HandleDelete (object o, System.EventArgs args) { Gtk.Application.Quit (); } public static void Main () { app = new EventApp (); ClutterRun.Init (); Gtk.Application.Init (); Gtk.Window window = new Gtk.Window (WindowType.Toplevel); window.Title = "Gtk-Clutter Interaction Demo"; window.Resizable = true; window.BorderWidth = 12; window.DeleteEvent += HandleDelete; app.window = window; Gtk.VBox vbox = new Gtk.VBox (false, 12); window.Add (vbox); Gtk.Entry gtk_entry = new Gtk.Entry (); app.gtk_entry = gtk_entry; gtk_entry.Text = "Enter some text"; gtk_entry.Changed += delegate { app.clutter_entry.Text = app.gtk_entry.Text; }; vbox.PackStart (gtk_entry, false, false, 0); Gtk.HBox hbox = new Gtk.HBox(false, 12); vbox.PackStart (hbox, true, true, 0); /* Clutter stage */ Embed widget = new Embed (); hbox.PackStart (widget, true, true, 0); app.stage = widget.Stage as Stage; app.stage.Color = new Clutter.Color (125, 125, 125, 255); /* Main texture*/ Texture texture = new Texture ("redhand.png"); app.hand = texture; app.stage.AddActor (texture); uint width, height; texture.GetSize (out width, out height); texture.SetPosition ((int)((app.stage.Width / 2) - (width/2)), (int)((app.stage.Height / 2) - (height/2))); /* Clutter entry */ app.clutter_entry = new Clutter.Entry ("Sans 10", "", new Clutter.Color (255, 255, 255, 255)); app.stage.AddActor (app.clutter_entry); app.clutter_entry.SetPosition (0, 0); app.clutter_entry.SetSize (500, 20); /* Adjustment widgets */ vbox = new Gtk.VBox (false, 6); hbox.PackStart (vbox, false, false, 0); Gtk.VBox box = new Gtk.VBox (true, 6); vbox.PackStart (box, false, true, 0); Gtk.Label x_label = new Gtk.Label ("Rotate x-axis"); box.PackStart (x_label, true, true, 0); Gtk.SpinButton x_button = new Gtk.SpinButton (0, 360, 1); box.PackStart (x_button, true , true, 0); x_button.ValueChanged += delegate { app.hand.SetRotation (RotateAxis.XAxis, (float)app.x_button.Value, (int)app.hand.Height, 0, 0); }; app.x_button = x_button; Gtk.Label y_label = new Gtk.Label ("Rotate y-axis"); box.PackStart (y_label, true, true, 0); Gtk.SpinButton y_button = new Gtk.SpinButton (0, 360, 1); box.PackStart (y_button, true , true, 0); y_button.ValueChanged += delegate { app.hand.SetRotation (RotateAxis.YAxis, (float)app.y_button.Value, 0, (int)app.hand.Width/2, 0); }; app.y_button = y_button; Gtk.Label z_label = new Gtk.Label ("Rotate z-axis"); box.PackStart (z_label, true, true, 0); Gtk.SpinButton z_button = new Gtk.SpinButton (0, 360, 1); box.PackStart (z_button, true , true, 0); z_button.ValueChanged += delegate { app.hand.SetRotation(RotateAxis.ZAxis, (float)app.z_button.Value, (int)app.hand.Width/2, (int)app.hand.Height/2, 0); }; app.z_button = z_button; Gtk.Label op_label = new Gtk.Label ("Adjust opacity"); box.PackStart (op_label, true, true, 0); Gtk.SpinButton op_button = new Gtk.SpinButton (0, 255, 1); op_button.Value = 255; box.PackStart (op_button, true , true, 0); op_button.ValueChanged += delegate { app.hand.Opacity = (byte)app.op_button.Value; }; app.op_button = op_button; app.stage.ShowAll (); app.window.SetDefaultSize (800, 600); app.window.ShowAll (); Gtk.Application.Run (); } } clutter-sharp-1.0.0alpha3/examples/Makefile.in0000644000175000017500000002467111506371323023024 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ @ENABLE_GTK_TRUE@am__append_1 = \ @ENABLE_GTK_TRUE@ gtk-test.cs \ @ENABLE_GTK_TRUE@ gtk-test-events.cs @ENABLE_GTK_TRUE@am__append_2 = clutter-gtk-sharp.dll subdir = examples DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SCRIPTS = $(noinst_SCRIPTS) SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SAMPLES = test-cogl-primitives.cs test-cogl-vertex-buffer.cs \ test-actors.cs test-behave.cs test-entry.cs test-shaders.cs \ test-scale.cs test-script.cs test-scroll-actor.cs \ test-threads.cs $(am__append_1) ASSEMBLIES = clutter-sharp.dll glib-sharp.dll $(am__append_2) MCSFLAGS = -debug -unsafe $(GTKSHARP_LIBS) $(addprefix -r:, $(ASSEMBLIES)) -r:Mono.Cairo noinst_SCRIPTS = $(SAMPLES:.cs=.exe) EXTRA_DIST = $(wildcard *.cs) CLEANFILES = *.exe *.mdb *.dll *.config all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign examples/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign examples/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am %.exe: %.cs $(ASSEMBLIES) $(MCS) $(MCSFLAGS) -out:$@ $< clutter-sharp.dll: $(top_builddir)/clutter/clutter-sharp.dll cp $(top_builddir)/clutter/clutter-sharp.dll{,.config,.mdb} . clutter-gtk-sharp.dll: $(top_builddir)/clutter-gtk/clutter-gtk-sharp.dll cp $(top_builddir)/clutter-gtk/clutter-gtk-sharp.dll{,.config,.mdb} . glib-sharp.dll: $(top_builddir)/glib/glib-sharp.dll cp $(top_builddir)/glib/glib-sharp.dll{,.config} . # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/examples/test-cogl-vertex-buffer.cs0000644000175000017500000002507311506367775026006 0ustar00hyperairhyperair00000000000000using System; using System.Runtime.InteropServices; using Clutter; public static class TestCoglVertexBuffer { // Defines the size and resolution of the quad mesh we morph: const int MESH_WIDTH = 100; // number of quads along x axis const int MESH_HEIGHT = 100; // number of quads along y axis const float QUAD_WIDTH = 5.0f; // width in pixels of a single quad const float QUAD_HEIGHT = 5.0f; // height in pixels of a single quad // Defines a sine wave that sweeps across the mesh: const float WAVE_DEPTH = ((MESH_WIDTH * QUAD_WIDTH) / 16.0f); // peak amplitude const float WAVE_PERIODS = 4.0f; const float WAVE_SPEED = 10.0f; // Defines a rippling sine wave emitted from a point: const float RIPPLE_CENTER_X = ((MESH_WIDTH / 2.0f) * QUAD_WIDTH); const float RIPPLE_CENTER_Y = ((MESH_HEIGHT / 2.0f) * QUAD_HEIGHT); const float RIPPLE_RADIUS = (MESH_WIDTH * QUAD_WIDTH); const float RIPPLE_DEPTH = ((MESH_WIDTH * QUAD_WIDTH) / 16.0f); // peak amplitude const float RIPPLE_PERIODS = 4.0f; const float RIPPLE_SPEED = -10.0f; // Defines the width of the gaussian bell used to fade out the alpha // towards the edges of the mesh (starting from the ripple center): const float GAUSSIAN_RADIUS = ((MESH_WIDTH * QUAD_WIDTH) / 6.0f); // Our hues lie in the range [0, 1], and this defines how we map amplitude // to hues (before scaling by {WAVE,RIPPLE}_DEPTH) // As we are interferring two sine waves together; amplitudes lie in the // range [-2, 2] const float HSL_OFFSET = 0.5f; // the hue that we map an amplitude of 0 too const float HSL_SCALE = 0.25f; static Actor dummy; static Timeline timeline; static IntPtr buffer; static unsafe float *quad_mesh_verts; static unsafe byte *quad_mesh_colors; static unsafe ushort *static_indices; static uint n_static_indices; public static unsafe void Main () { Application.Init (); var stage = Stage.Default; var stage_geom = stage.Geometry; var dummy_width = (int)(MESH_WIDTH * QUAD_WIDTH); var dummy_height = (int)(MESH_HEIGHT * QUAD_HEIGHT); dummy = CreateDummyActor (dummy_width, dummy_height); dummy.SetPosition ( (int)((stage_geom.Width / 2.0) - (dummy_width / 2.0)), (int)((stage_geom.Height / 2.0) - (dummy_height / 2.0))); dummy.Painted += (o, e) => { Cogl.General.SetSourceColor4ub (0xff, 0x00, 0x00, 0xff); Cogl.VertexBuffer.DrawElements (buffer, Cogl.GL.GL_TRIANGLE_STRIP, 0, (MESH_WIDTH + 1) * (MESH_HEIGHT + 1), (int)n_static_indices, Cogl.GL.GL_UNSIGNED_SHORT, new IntPtr (static_indices)); }; timeline = new Timeline () { FrameCount = 360, Speed = 60, Loop = true }; timeline.NewFrame += OnNewFrame; GLib.Idle.Add (() => { stage.QueueRedraw (); return true; }); InitQuadMesh (); stage.Color = new Color (0, 0, 0, 0xff); stage.Add (dummy); stage.ShowAll (); timeline.Start (); Application.Run (); } static Actor CreateDummyActor (int width, int height) { var rect = new Rectangle (new Color (0, 0, 0, 0)); rect.SetSize (width, height); return rect; } static float Gaussian (float x, float y) { // Bell width float c = GAUSSIAN_RADIUS; // Peak amplitude float a = 1.0f; // float a = 1.0 / (c * sqrtf (2.0 * G_PI)); // Center offset float b = 0.0f; x = x - RIPPLE_CENTER_X; y = y - RIPPLE_CENTER_Y; float dist = (float)Math.Sqrt (x*x + y*y); return a * (float)Math.Exp ((- ((dist - b) * (dist - b))) / (2.0f * c * c)); } static unsafe void InitQuadMesh () { // Note: we maintain the minimum number of vertices possible. This minimizes // the work required when we come to morph the geometry. // // We use static indices into our mesh so that we can treat the data like a // single triangle list and drawing can be done in one operation (Note: We // are using degenerate triangles at the edges to link to the next row) quad_mesh_verts = (float *)Marshal.AllocHGlobal (sizeof (float) * 3 * (MESH_WIDTH + 1) * (MESH_HEIGHT + 1)); quad_mesh_colors = (byte *)Marshal.AllocHGlobal (sizeof (byte) * 4 * (MESH_WIDTH + 1) * (MESH_HEIGHT + 1)); float *vert = quad_mesh_verts; byte *color = quad_mesh_colors; for (int y = 0; y <= MESH_HEIGHT; y++) { for (int x = 0; x <= MESH_WIDTH; x++) { vert[0] = x * QUAD_WIDTH; vert[1] = y * QUAD_HEIGHT; vert += 3; color[3] = (byte)(Gaussian (x * QUAD_WIDTH, y * QUAD_HEIGHT) * 255.0); color += 4; } } buffer = Cogl.VertexBuffer.New ((MESH_WIDTH + 1) * (MESH_HEIGHT + 1)); Cogl.VertexBuffer.Add (buffer, "gl_Vertex", 3, // n components Cogl.GL.GL_FLOAT, false, // normalized 0, // stride new IntPtr (quad_mesh_verts)); Cogl.VertexBuffer.Add (buffer, "gl_Color", 4, //n components Cogl.GL.GL_UNSIGNED_BYTE, false, // normalized 0, // stride new IntPtr (quad_mesh_colors)); Cogl.VertexBuffer.Submit (buffer); InitStaticIndexArrays (); } static ushort MeshIndex (int x, int y) { return (ushort)(y * (MESH_WIDTH + 1) + x); } static unsafe void InitStaticIndexArrays () { // - Each row takes (2 + 2 * MESH_WIDTH indices) // - Thats 2 to start the triangle strip then 2 indices to add 2 triangles // per mesh quad. // - We have MESH_HEIGHT rows // - It takes one extra index for linking between rows (MESH_HEIGHT - 1) // - A 2 x 3 mesh == 20 indices... n_static_indices = (uint)((2 + 2 * MESH_WIDTH) * MESH_HEIGHT + (MESH_HEIGHT - 1)); static_indices = (ushort *)Marshal.AllocHGlobal ((int)(sizeof (ushort) * n_static_indices)); ushort *i = static_indices; // NB: front facing == anti-clockwise winding i[0] = MeshIndex (0, 0); i[1] = MeshIndex (0, 1); i += 2; bool right_dir = true; for (int y = 0; y < MESH_HEIGHT; y++) { for (int x = 0; x < MESH_WIDTH; x++) { // Add 2 triangles per mesh quad... if (right_dir) { i[0] = MeshIndex (x + 1, y); i[1] = MeshIndex (x + 1, y + 1); } else { i[0] = MeshIndex (MESH_WIDTH - x - 1, y); i[1] = MeshIndex (MESH_WIDTH - x - 1, y + 1); } i += 2; } // Link rows... if (y == (MESH_HEIGHT - 1)) { break; } if (right_dir) { i[0] = MeshIndex (MESH_WIDTH, y + 1); i[1] = MeshIndex (MESH_WIDTH, y + 1); i[2] = MeshIndex (MESH_WIDTH, y + 2); } else { i[0] = MeshIndex (0, y + 1); i[1] = MeshIndex (0, y + 1); i[2] = MeshIndex (0, y + 2); } i += 3; right_dir = !right_dir; } } static unsafe void OnNewFrame (object o, NewFrameArgs args) { Color color = Color.Zero; uint n_frames = timeline.FrameCount; int frame_num = args.FrameNum; float period_progress = ((float)frame_num / (float)n_frames) * 2.0f * (float)Math.PI; float period_progress_sin = (float)Math.Sin (period_progress); float wave_shift = period_progress * WAVE_SPEED; float ripple_shift = period_progress * RIPPLE_SPEED; for (uint y = 0; y <= MESH_HEIGHT; y++) { for (uint x = 0; x <= MESH_WIDTH; x++) { uint vert_index = (MESH_WIDTH + 1) * y + x; float *vert = &quad_mesh_verts[3 * vert_index]; float real_x = x * QUAD_WIDTH; float real_y = y * QUAD_HEIGHT; float wave_offset = (float)x / (MESH_WIDTH + 1); float wave_angle = (WAVE_PERIODS * 2 * (float)Math.PI * wave_offset) + wave_shift; float wave_sin = (float)Math.Sin (wave_angle); float a_sqr = (RIPPLE_CENTER_X - real_x) * (RIPPLE_CENTER_X - real_x); float b_sqr = (RIPPLE_CENTER_Y - real_y) * (RIPPLE_CENTER_Y - real_y); float ripple_offset = (float)Math.Sqrt (a_sqr + b_sqr) / RIPPLE_RADIUS; float ripple_angle = (RIPPLE_PERIODS * 2 * (float)Math.PI * ripple_offset) + ripple_shift; float ripple_sin = (float)Math.Sin (ripple_angle); vert[2] = (wave_sin * WAVE_DEPTH) + (ripple_sin * RIPPLE_DEPTH); // Burn some CPU time picking a pretty color... float h = (HSL_OFFSET + wave_sin + ripple_sin + period_progress_sin) * HSL_SCALE; float s = 0.5f; float l = 0.25f + (period_progress_sin + 1.0f) / 4.0f; color.FromHls (h * 360.0f, l, s); byte *c = &quad_mesh_colors[4 * vert_index]; c[0] = color.R; c[1] = color.G; c[2] = color.B; } } Cogl.VertexBuffer.Add (buffer, "gl_Vertex", 3, // n components Cogl.GL.GL_FLOAT, false, // normalized 0, // stride new IntPtr (quad_mesh_verts)); Cogl.VertexBuffer.Add (buffer, "gl_Color", 4, // n components Cogl.GL.GL_UNSIGNED_BYTE, false, // normalized 0, // stride new IntPtr (quad_mesh_colors)); Cogl.VertexBuffer.Submit (buffer); dummy.SetRotation (RotateAxis.Z, frame_num, (int)((MESH_WIDTH * QUAD_WIDTH) / 2), (int)((MESH_HEIGHT * QUAD_HEIGHT) / 2), 0); dummy.SetRotation (RotateAxis.X, frame_num, (int)((MESH_WIDTH * QUAD_WIDTH) / 2), (int)((MESH_HEIGHT * QUAD_HEIGHT) / 2), 0); } } clutter-sharp-1.0.0alpha3/examples/gst-play-video.cs0000644000175000017500000001472611506367775024172 0ustar00hyperairhyperair00000000000000using System; using Clutter; public class VideoApp { const int SEEK_H = 20; const int SEEK_W = 690; #region Fields GstVideoTexture vtexture; Group control; Texture control_bg; Texture control_play; Texture control_pause; Rectangle control_seek1; Rectangle control_seek2; Actor control_seekbar; Label control_label; bool controls_showing; bool paused; uint controls_timeout; Timeline controls_tl; Timeline effect1_tl; #endregion void HandleControlTlNewFrame (object o, NewFrameArgs args) { control.ShowAll (); if (paused) { control_pause.Hide (); control_play.Show (); } else { control_play.Hide (); control_pause.Show (); } uint opacity = (uint)((args.FrameNum * 0xde) / controls_tl.NumFrames); if (!controls_showing) opacity = 0xde - opacity; control.Opacity = (byte)opacity; } void HandleControlTimelineCompleted (object o, System.EventArgs args) { if (!controls_showing) control.HideAll (); controls_timeout = 0; } void HandleEffect1TlNewFrame (object o, NewFrameArgs args) { vtexture.SetRotation (RotateAxis.YAxis, (float)args.FrameNum * 12, (int)Stage.Default.Width / 2, 0, 0); } bool HandleControlsTimeout () { ShowControls (false); return false; } void ShowControls (bool vis) { if (controls_tl.IsPlaying) return; if (vis && !controls_showing) { controls_showing = true; controls_tl.Start (); controls_timeout = GLib.Timeout.Add (5000, new GLib.TimeoutHandler (HandleControlsTimeout)); return; } if (vis && controls_showing) { if (controls_timeout != 0) { GLib.Source.Remove (controls_timeout); controls_timeout = GLib.Timeout.Add (5000, new GLib.TimeoutHandler (HandleControlsTimeout)); } return; } if (!vis && controls_showing) { controls_showing = false; controls_tl.Start (); } } void TogglePauseState () { if (paused) { vtexture.Playing = true; paused = false; control_play.Hide (); control_pause.Show (); } else { vtexture.Playing = false; paused = true; control_pause.Hide (); control_play.Show (); } } void HandleSizeChange (object o, SizeChangeArgs args) { Stage stage = Stage.Default; int new_x = 0; int new_y = 0; int new_width = 0; int new_height = (args.Height * (int)stage.Width) / args.Width; if (new_height <= stage.Height) { new_width = (int)stage.Width; new_x = 0; new_y = ((int)stage.Height - new_height) / 2; } else { new_width = (args.Width * (int)stage.Height) / args.Height; new_x = ((int)stage.Width - new_width) / 2; new_y = 0; } vtexture.SetPosition (new_x, new_y); vtexture.SetSize (new_width, new_height); } bool Tick () { int position = vtexture.Position; int duration = vtexture.Duration; if (position == 0 || duration == 0) return true; control_seekbar.SetSize ((position * SEEK_W) / duration, SEEK_H); return true; } void HandleButtonPressEvent (object o, ButtonPressEventArgs args) { if (!controls_showing) return; Actor actor = Stage.Default.GetActorAtPos (args.Event.X, args.Event.Y); if (actor == control_pause || actor == control_play) { TogglePauseState (); return; } if (actor == control_seek1 || actor == control_seek2 || actor == control_seekbar) { int x; int y; control_seekbar.GetTransformedPosition (out x, out y); int dist = args.Event.X - x; dist = Math.Max (dist, 0); dist = Math.Min (dist, SEEK_W); int pos = (dist * vtexture.Duration) / SEEK_W; vtexture.Position = pos; } } void HandleKeyReleaseEvent (object o, KeyReleaseEventArgs args) { uint symbol = args.Event.Symbol; Gdk.Key key = (Gdk.Key) Enum.Parse (typeof(Gdk.Key), symbol.ToString ()); switch (key) { case Gdk.Key.q: case Gdk.Key.Escape: Clutter.Main.Quit (); break; case Gdk.Key.e: if (!effect1_tl.IsPlaying) effect1_tl.Start (); break; default: TogglePauseState (); break; } } public VideoApp (string filename) { Stage stage = Stage.Default; stage.Color = new Color (0x00, 0x00, 0x00, 0x00); stage.SetSize (1200, 1024); vtexture = new GstVideoTexture (); vtexture.SyncSize = false; // add size changed call back here vtexture.SizeChange += HandleSizeChange; vtexture.Filename = filename; control = new Group (); // panel control_bg = new Texture ("vid-panel.png"); // play button control_play = new Texture ("media-actions-start.png"); // pause button control_pause = new Texture ("media-actions-pause.png"); control_seek1 = new Rectangle (new Color (73, 74, 77, 0xee)); control_seek2 = new Rectangle (new Color (0xcc, 0xcc, 0xcc, 0xff)); control_seekbar = new Rectangle (new Color (73, 74, 77, 0xee)); control_seekbar.Opacity = 0x99; // label with name string text = System.IO.Path.GetFileName (filename); control_label = new Label ("Sans Bold 24", text); control_label.Color = new Color (73, 74, 77, 0xee); control.AddActor (control_bg); control.AddActor (control_play); control.AddActor (control_pause); control.AddActor (control_seek1); control.AddActor (control_seek2); control.AddActor (control_seekbar); control.AddActor (control_label); control.Opacity = 0xee; control_play.SetPosition (30, 30); control_pause.SetPosition (30, 30); control_seek1.SetSize (SEEK_W + 10, SEEK_H + 10); control_seek1.SetPosition (200, 100); control_seek2.SetSize (SEEK_W, SEEK_H); control_seek2.SetPosition (205, 105); control_seekbar.SetSize (0, SEEK_H); control_seekbar.SetPosition (205, 105); control_label.SetPosition (200, 40); stage.AddActor (vtexture); stage.AddActor (control); int x = (int)((stage.Width - control.Width) / 2); int y = (int)(stage.Height - (stage.Height / 3)); control.SetPosition (x, y); controls_tl = new Timeline (10, 30); controls_tl.NewFrame += HandleControlTlNewFrame; controls_tl.Completed += HandleControlTimelineCompleted; effect1_tl = new Timeline (30, 90); effect1_tl.NewFrame += HandleEffect1TlNewFrame; GLib.Timeout.Add (1000, new GLib.TimeoutHandler (Tick)); stage.MotionEvent += delegate { ShowControls (true); }; stage.ButtonPressEvent += HandleButtonPressEvent; stage.KeyReleaseEvent += HandleKeyReleaseEvent; vtexture.Playing = true; stage.ShowAll (); control_play.Hide (); } public static void Main (string[] args) { int arg; Clutter.GstGlobal.GstInit (out arg, string.Empty); VideoApp app = new VideoApp (args[0]); ClutterRun.Main (); } } clutter-sharp-1.0.0alpha3/examples/test-entry.cs0000644000175000017500000000145711506367775023441 0ustar00hyperairhyperair00000000000000using System; using Clutter; namespace ClutterTest { public class TestEntry { static Color stage_color = new Color (0x00, 0x00, 0x00, 0xff); static Color entry_color = new Color (0x33, 0xdd, 0xff, 0xff); static Entry entry; public static void Main () { ClutterRun.Init (); Stage stage = Stage.Default; stage.SetSize (800, 600); stage.Color = stage_color; stage.Title = "ClutterEntry Test"; entry = new Entry ("Sans 14", "Type something, be sure to use the " + "left/right arrow keys to move the " + "cursor position."); entry.Color = entry_color; entry.SetSize (600, 50); entry.SetPosition (100, 100); stage.KeyFocus = entry; stage.AddActor (entry); stage.ShowAll (); ClutterRun.Main (); } } } clutter-sharp-1.0.0alpha3/examples/test-script.cs0000644000175000017500000001033411506367775023576 0ustar00hyperairhyperair00000000000000using System; using Clutter; public class ShaderTest { static string test_behaviour = "[" + "{" + " \"id\" : \"main-timeline\"," + " \"type\" : \"ClutterTimeline\"," + " \"duration\" : 5000," + " \"loop\" : true" + " }," + " {" + " \"id\" : \"path-behaviour\"," + " \"type\" : \"ClutterBehaviourPath\"," + " \"knots\" : [ [ 50, 50 ], { \"x\" : 100, \"y\" : 100 } ]," + " \"alpha\" : {" + " \"timeline\" : \"main-timeline\"," + " \"function\" : \"ramp\"" + " }" + " }," + " {" + " \"id\" : \"rotate-behaviour\"," + " \"type\" : \"ClutterBehaviourRotate\"," + " \"angle-start\" : 0.0," + " \"angle-end\" : 360.0," + " \"axis\" : \"y-axis\"," + " \"alpha\" : {" + " \"timeline\" : \"main-timeline\"," + " \"function\" : \"sine\"" + " }" + " }," + " {" + " \"id\" : \"fade-behaviour\"," + " \"type\" : \"ClutterBehaviourOpacity\"," + " \"opacity-start\" : 255," + " \"opacity-end\" : 0," + " \"alpha\" : {" + " \"timeline\" : \"main-timeline\"," + " \"function\" : \"ramp-inc\"" + " }" + " }" + "]"; static string test_unmerge = "{" + " \"id\" : \"blue-button\", "+ " \"type\" : \"ClutterRectangle\","+ " \"color\" : \"#0000ffff\", "+ " \"x\" : 350, "+ " \"y\" : 50, "+ " \"width\" : 100, "+ " \"height\" : 100, "+ " \"visible\" : true, "+ " \"reactive\" : true "+ " }"; static Script script; static uint merge_id = 0; public static void Main () { ClutterRun.Init (); script = new Script (); script.LoadFromData (test_behaviour); script.LoadFromFile ("test-script.json"); merge_id = script.LoadFromData (test_unmerge); Stage stage = script.GetObject("main-stage"); Actor blue_button = script.GetObject("blue-button"); Actor red_button = script.GetObject("red-button"); blue_button.ButtonPressEvent += delegate { Console.WriteLine("Unmerging"); script.UnmergeObjects(merge_id); }; red_button.ButtonPressEvent += delegate { Console.WriteLine ("Changing timeline state"); Timeline timeline = script.GetObject ("main-timeline"); if (!timeline.IsPlaying) timeline.Start (); else timeline.Pause (); }; stage.Unrealized += delegate { Clutter.Main.Quit (); }; stage.KeyPressEvent += delegate { Clutter.Main.Quit (); }; stage.ShowAll (); ClutterRun.Main (); } } clutter-sharp-1.0.0alpha3/examples/test-threads.cs0000644000175000017500000000654311506367775023733 0ustar00hyperairhyperair00000000000000using System; using System.Threading; using Clutter; namespace ClutterTest { class TestThreadData { // Stage stage; Label label; public Label Label { get { return label; } } Timeline timeline; bool cancelled; public bool Cancelled { get { return cancelled; } } public TestThreadData (Label label, Timeline timeline) { this.label = label; this.timeline = timeline; } public bool HandleIdle () { Console.WriteLine ("Thread completed"); label.Text = "Completed"; timeline.Stop (); return false; } } class TestUpdate { TestThreadData data; int count; public TestUpdate (int count, TestThreadData data) { this.count = count; this.data = data; } public bool HandleIdle () { string text = string.Format ("Count to {0}", count); data.Label.Text = text; return false; } } class ThreadWrapper { TestThreadData data; public ThreadWrapper (TestThreadData data) { this.data = data; } void DoSomethingVerySlow () { if (data.Cancelled) return; for (int i = 0; i < 100; i++) { System.Threading.Thread.Sleep (100); if (i % 10 != 0) continue; Idle.Add (new TestUpdate (i, data).HandleIdle); } } public void ThreadMethod () { DoSomethingVerySlow (); Idle.Add (data.HandleIdle); } } class Program { static Color stage_color = new Color (0xcc, 0xcc, 0xcc, 0xff); static Color rect_color = new Color (0xee, 0x55, 0x55, 0x99); // FIXME: it looks like with threading we need to keep reference to all // these items :-( static Alpha alpha; static Label count_label; static Label label; static Rectangle rect; static Timeline timeline; static Behaviour behaviour; static Stage stage; static void HandleKeyPress (object sender, KeyPressEventArgs args) { uint symbol = args.Event.Symbol; Gdk.Key key = (Gdk.Key) Enum.Parse (typeof(Gdk.Key), symbol.ToString ()); switch (key) { case Gdk.Key.s: timeline.Start (); TestThreadData data = new TestThreadData (count_label, timeline); ThreadWrapper wrapper = new ThreadWrapper (data); Thread thread = new Thread (wrapper.ThreadMethod); thread.Start (); break; case Gdk.Key.q: Clutter.Main.Quit (); break; } } static void Main () { if (!GLib.Thread.Supported) GLib.Thread.Init (); Clutter.Threads.Init (); Clutter.Threads.Enter (); ClutterRun.Init (); stage = Stage.Default; stage.Color = stage_color; stage.SetSize (800, 600); count_label = new Label ("Mono 16", "Counter"); count_label.SetPosition (350, 50); count_label.Show (); label = new Label ("Mono 16", "Press 's' to start"); label.SetPosition (50, 50); label.Show (); rect = new Rectangle (rect_color); rect.SetPosition (150, 150); rect.SetSize (25, 25); rect.Show (); timeline = new Timeline (150, 50); timeline.Loop = true; alpha = new Alpha (timeline, Sine.Func); behaviour = new BehaviourRotate(alpha, RotateAxis.ZAxis, RotateDirection.Cw, 0.0, 360.0); behaviour.Apply (rect); stage.AddActor (rect); stage.AddActor (count_label); stage.AddActor (label); stage.ButtonPressEvent += delegate { Clutter.Main.Quit(); }; stage.KeyPressEvent += HandleKeyPress; stage.ShowAll (); ClutterRun.Main (); Clutter.Threads.Leave (); } } } clutter-sharp-1.0.0alpha3/examples/test-actors.cs0000644000175000017500000000410111506367775023560 0ustar00hyperairhyperair00000000000000using System; using Clutter; public class SuperOH { public static uint n_hands = 6; static SuperOH CurrentOH; Actor[] Hands; //public Actor bgtex; Group Group; static uint GetRadius () { return (Stage.Default.Height + Stage.Default.Height) / n_hands; } static void HandleNewFrame (object o, NewFrameArgs args) { CurrentOH.Group.SetRotation (RotateAxis.Z, args.FrameNum, (int)Stage.Default.Width / 2, (int)Stage.Default.Height / 2, 0); foreach (Actor hand in CurrentOH.Hands) { hand.SetRotation (RotateAxis.Z, -6.0F * args.FrameNum, (int)hand.Width / 2, (int)hand.Height / 2, 0); } } static void HandleButtonPress (object o, ButtonPressEventArgs args) { Actor c = (Stage.Default as Stage).GetActorAtPos (args.Event.X, args.Event.Y); if (c != null) c.Hide (); } static void HandleKeyPress (object o, KeyPressEventArgs args) { Clutter.Main.Quit (); } static void Main () { Clutter.Application.Init (); Stage stage = Stage.Default; stage.SetSize (800, 600); stage.SetColor (new Clutter.Color (0x61, 0x64, 0x8c, 0xff)); SuperOH oh = new SuperOH(); CurrentOH = oh; oh.Group = new Group (); oh.Hands = new Actor[n_hands]; for (int i = 0; i < n_hands; i++) { Texture hand_text = new Texture ("redhand.png"); uint w = hand_text.Width; uint h = hand_text.Height; uint radius = GetRadius (); oh.Hands[i] = hand_text; int x = (int) (stage.Width / 2 + radius * Math.Cos (i * Math.PI / ( n_hands / 2 )) - w / 2); int y = (int)(stage.Height / 2 + radius * Math.Sin (i * Math.PI / ( n_hands / 2)) - h / 2); oh.Hands[i].SetPosition (x, y); oh.Group.Add (oh.Hands[i]); } oh.Group.ShowAll (); stage.Add (oh.Group); stage.ButtonPressEvent += HandleButtonPress; stage.KeyPressEvent += HandleKeyPress; stage.ShowAll (); Timeline timeline = new Timeline (360, 90); timeline.Loop = true; timeline.NewFrame += HandleNewFrame; timeline.Start (); Clutter.Application.Run (); } } clutter-sharp-1.0.0alpha3/examples/gtk-test.cs0000644000175000017500000000670011506367775023061 0ustar00hyperairhyperair00000000000000using System; using Clutter; using Gtk; public class SuperOH { public Actor[] Hands; public Group Group; public Timeline FadeTimeline; } public class Test { #region Constants public const int n_hands = 2; #endregion #region Fields public static Gtk.Window Toplevel; public static SuperOH CurrentOH; public static Timeline timeline; public static bool fade = false; #endregion static void HandleNewFrame (object o, NewFrameArgs args) { CurrentOH.Group.SetRotation (RotateAxis.ZAxis, args.FrameNum, (int)Stage.Default.Width / 2, (int)Stage.Default.Height / 2, 0); foreach (Actor hand in CurrentOH.Hands) { hand.SetRotation (RotateAxis.ZAxis, -6.0F * args.FrameNum, (int)hand.Width / 2, (int)hand.Height / 2, 0); } } static void HandleButtonPress (object o, Clutter.ButtonPressEventArgs args) { Actor c = (Stage.Default as Stage).GetActorAtPos (args.Event.X, args.Event.Y); if (c != null) c.Hide (); } static void HandleKeyPress (object o, Clutter.KeyPressEventArgs args) { Clutter.Main.Quit (); } public static void HandleDelete (object o, System.EventArgs args) { Gtk.Application.Quit (); } public static void HandleClickity (object o, System.EventArgs args) { if (!CurrentOH.FadeTimeline.IsPlaying) CurrentOH.FadeTimeline.Start (); else CurrentOH.FadeTimeline.Pause (); } public static void Main () { ClutterRun.Init (); Gtk.Application.Init (); Gtk.Window window = new Gtk.Window (WindowType.Toplevel); window.DeleteEvent += HandleDelete; Toplevel = window; Gtk.VBox vbox = new Gtk.VBox (false, 6); window.Add (vbox); Embed clutter = new Embed (); vbox.Add (clutter); Stage stage = clutter.Stage as Stage; Gtk.Label label = new Gtk.Label ("This is a label"); vbox.PackStart (label, false, false, 0); Gtk.Button button = Gtk.Button.NewWithLabel ("This is a button...clicky"); button.Clicked += HandleClickity; vbox.PackStart (button, false, false, 0); button = new Gtk.Button (Gtk.Stock.Quit); button.Clicked += delegate { Gtk.Application.Quit (); }; vbox.PackEnd (button, false, false, 0); stage.Color = new Clutter.Color (0x61, 0x64, 0x8c, 0xff); uint radius = stage.Width / n_hands / 2; SuperOH oh = new SuperOH(); CurrentOH = oh; oh.Group = new Group (); oh.Hands = new Actor[n_hands]; for (int i = 0; i < n_hands; i++) { Texture hand_text = new Texture ("redhand.png"); uint w = hand_text.Width; uint h = hand_text.Height; oh.Hands[i] = hand_text; int x = (int) (stage.Width / 2 + radius * Math.Cos (i * Math.PI / ( n_hands / 2 )) - w / 2); int y = (int)(stage.Height / 2 + radius * Math.Sin (i * Math.PI / ( n_hands / 2)) - h / 2); oh.Hands[i].SetPosition (x, y); oh.Group.AddActor (oh.Hands[i]); } oh.Group.ShowAll (); oh.FadeTimeline = new Timeline (2000); oh.FadeTimeline.Loop = true; BehaviourOpacity behaviour = new BehaviourOpacity (new Alpha (oh.FadeTimeline, Sine.Func), 0xff, 0x00); behaviour.Apply (oh.Group); stage.AddActor (oh.Group); stage.ButtonPressEvent += HandleButtonPress; stage.KeyPressEvent += HandleKeyPress; stage.ShowAll (); timeline = new Timeline (360, 90); timeline.Loop = true; timeline.NewFrame += HandleNewFrame; window.ExposeEvent += delegate { timeline.Start (); }; window.SetDefaultSize (400, 600); window.ShowAll (); Gtk.Application.Run (); } } clutter-sharp-1.0.0alpha3/examples/test-behave.cs0000644000175000017500000000310311506367775023520 0ustar00hyperairhyperair00000000000000using System; using Clutter; namespace ClutterTest { public class Behave { static Knot[] knots = {new Knot (0, 0), new Knot (0, 300), new Knot (300, 300), new Knot (300, 0), new Knot (0, 0) }; public static void Main(string[] args) { Application.Init (); Stage stage = Stage.Default as Stage; (stage as Stage).KeyPressEvent += delegate { Clutter.Main.Quit(); }; // fixme: add constructor Clutter.Color stage_color = new Clutter.Color (0xcc, 0xcc, 0xcc, 0xff); stage.SetColor (stage_color); Clutter.Group group = new Group(); stage.Add (group); group.Show (); // Make a hand Clutter.Actor hand = new Texture ("redhand.png"); hand.SetPosition (0,0); hand.Show (); // Make a rect Clutter.Rectangle rect = new Clutter.Rectangle(); rect.SetPosition (0,0); rect.SetSize ((int)hand.Width, (int)hand.Height); Clutter.Color rect_bg_color = new Clutter.Color (0x33, 0x22, 0x22, 0xff); rect.SetColor (rect_bg_color); rect.BorderWidth = 10; rect.Show (); group.Add (rect); group.Add (hand); // Make a timeline Timeline timeline = new Timeline (100, 26); timeline.Loop = true; Alpha alpha = new Alpha (timeline, (a) => a.Value); Behaviour o_behave = new BehaviourOpacity (alpha, 0x33, 0xff); o_behave.Apply (group); // Make a path behaviour and apply that too Behaviour p_behave = new BehaviourPath(alpha, knots); // fixme: add custom constructor? p_behave.Apply (group); // start timeline timeline.Start (); stage.ShowAll(); // launch Application.Run (); } } } clutter-sharp-1.0.0alpha3/examples/Makefile.am0000644000175000017500000000175311506367775023027 0ustar00hyperairhyperair00000000000000SAMPLES = \ test-cogl-primitives.cs \ test-cogl-vertex-buffer.cs \ test-actors.cs \ test-behave.cs \ test-entry.cs \ test-shaders.cs \ test-scale.cs \ test-script.cs \ test-scroll-actor.cs \ test-threads.cs ASSEMBLIES = clutter-sharp.dll glib-sharp.dll if ENABLE_GTK SAMPLES += \ gtk-test.cs \ gtk-test-events.cs ASSEMBLIES += clutter-gtk-sharp.dll endif MCSFLAGS = -debug -unsafe $(GTKSHARP_LIBS) $(addprefix -r:, $(ASSEMBLIES)) -r:Mono.Cairo noinst_SCRIPTS = $(SAMPLES:.cs=.exe) %.exe: %.cs $(ASSEMBLIES) $(MCS) $(MCSFLAGS) -out:$@ $< clutter-sharp.dll: $(top_builddir)/clutter/clutter-sharp.dll cp $(top_builddir)/clutter/clutter-sharp.dll{,.config,.mdb} . clutter-gtk-sharp.dll: $(top_builddir)/clutter-gtk/clutter-gtk-sharp.dll cp $(top_builddir)/clutter-gtk/clutter-gtk-sharp.dll{,.config,.mdb} . glib-sharp.dll: $(top_builddir)/glib/glib-sharp.dll cp $(top_builddir)/glib/glib-sharp.dll{,.config} . EXTRA_DIST = $(wildcard *.cs) CLEANFILES = *.exe *.mdb *.dll *.config clutter-sharp-1.0.0alpha3/examples/test-cogl-primitives.cs0000644000175000017500000000375311506367775025416 0ustar00hyperairhyperair00000000000000using System; using Clutter; public static class TestCoglPrimitives { public static void Main () { var painters = new Action [] { () => Cogl.Path.Line (-50, -25, 50, 25), () => Cogl.Path.Rectangle (-50, -25, 50, 25), () => Cogl.Path.RoundRectangle (-50, -25, 50, 25, 10, 5), () => Cogl.Path.Ellipse (0, 0, 60, 40), () => Cogl.Path.Polygon (new float [] { -50, -50, +50, -30, +30, +30, -30, +40}), () => Cogl.Path.Polyline (new float [] { -50, -50, +50, -30, +30, +30, -30, +40}), () => { Cogl.Path.MoveTo (-50, +50); Cogl.Path.CurveTo ( +100, -50, -100, -50, +50, +50); } }; Application.Init (); var timeline = new Timeline () { FrameCount = (uint)painters.Length, Speed = 1, Loop = true }; var box = new Group (); box.Painted += (o, e) => { Cogl.General.PushMatrix (); painters[timeline.CurrentFrame % painters.Length] (); Cogl.General.Translate (100, 100, 0); Cogl.General.SetSourceColor4ub (0, 160, 0, 255); Cogl.Path.StrokePreserve (); Cogl.General.Translate (150, 0, 0); Cogl.General.SetSourceColor4ub (200, 0, 0, 255); Cogl.Path.Fill (); Cogl.General.PopMatrix (); }; box.SetRotation (RotateAxis.X, -30, 200, 0, 0); box.SetPosition (0, 100); var stage = Stage.Default; stage.SetSize (400, 400); stage.Title = "Cogl Primitives Test"; stage.Add (box); stage.Show (); timeline.NewFrame += (o, e) => box.QueueRedraw (); timeline.Start (); Application.Run (); } } clutter-sharp-1.0.0alpha3/examples/test-shaders.cs0000644000175000017500000000515311506367775023726 0ustar00hyperairhyperair00000000000000using System; using Clutter; public class ShaderTest { static int current_shader = 0; static string[] shader_sources = { @"uniform sampler2D tex; uniform float x_step, y_step; uniform float brightness, contrast; void main () { vec4 color = texture2D (tex, vec2(gl_TexCoord[0])); color.rgb = (color.rgb - vec3(0.5, 0.5, 0.5)) * contrast + vec3 (brightness + 0.5, brightness + 0.5, brightness + 0.5); gl_FragColor = color; gl_FragColor = gl_FragColor * gl_Color; }", @"uniform sampler2D tex; uniform float x_step, y_step; void main () { vec4 color = texture2D (tex, vec2(gl_TexCoord[0])); vec4 colorB = texture2D (tex, vec2(gl_TexCoord[0].ts)); float avg = (color.r + color.g + color.b) / 3.0; color.r = avg; color.g = avg; color.b = avg; color = (color + colorB)/2.0; gl_FragColor = color; gl_FragColor = gl_FragColor * gl_Color; }", @"uniform sampler2D tex; uniform float x_step, y_step; void main () { vec4 color = texture2D (tex, vec2(gl_TexCoord[0])); float avg = (color.r + color.g + color.b) / 3.0; color.r = avg; color.g = avg; color.b = avg; gl_FragColor = color; gl_FragColor = gl_FragColor * gl_Color; }" }; public static void HandleActorButtonPress(object sender, ButtonPressEventArgs args) { int new_no; if (args.Event.Button == 1) new_no = current_shader + 1; else new_no = current_shader - 1; if (new_no >= 0 & new_no < shader_sources.Length) { current_shader = new_no; Shader shader = new Shader (); shader.FragmentSource = shader_sources[current_shader]; shader.Compile (); Actor actor = sender as Actor; actor.SetShader (shader); actor.SetShaderParam ("radius", 3.0f); } } public static void Main () { ClutterRun.Init (); Stage stage = Stage.Default; stage.SetSize(512, 384); Shader shader = new Shader (); shader.FragmentSource = shader_sources[current_shader]; shader.Compile (); stage.Title = "Shader Test"; stage.Color = new Clutter.Color (0x61, 0x64, 0x8c, 0xff); Timeline timeline = new Timeline(360, 60); timeline.Loop = true; stage.AddActor (new Label ("Mono 16", "Press the Hand")); Texture actor = new Texture("redhand.png"); actor.SetShader (shader); actor.Reactive = true; actor.ButtonPressEvent += HandleActorButtonPress; stage.AddActor (actor); actor.SetShaderParam("brightness", 0.4f); actor.SetShaderParam("contrast", -1.9f); actor.SetPosition (0, 20); stage.ShowAll (); timeline.Start (); ClutterRun.Main (); } } clutter-sharp-1.0.0alpha3/glib/0000755000175000017500000000000011506372235020047 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/glib/Makefile.in0000644000175000017500000003017711506371323022121 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = glib DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(assemblydir)" DATA = $(assembly_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ assemblydir = $(prefix)/lib/clutter-sharp assembly_DATA = \ glib-sharp.dll \ glib-sharp.dll.config EXTRA_DIST = $(wildcard *.cs) apply-patch.awk CLEANFILES = $(wildcard *.dll) $(wildcard *.config) MAINTAINERCLEANFILES = Makefile.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign glib/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign glib/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-assemblyDATA: $(assembly_DATA) @$(NORMAL_INSTALL) test -z "$(assemblydir)" || $(MKDIR_P) "$(DESTDIR)$(assemblydir)" @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(assemblydir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(assemblydir)" || exit $$?; \ done uninstall-assemblyDATA: @$(NORMAL_UNINSTALL) @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(assemblydir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(assemblydir)" && rm -f $$files tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(assemblydir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-assemblyDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-assemblyDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-assemblyDATA install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-assemblyDATA .PHONY: patch-glib all: patch-glib patch-glib: patch.dll monodis glib-sharp.dll | awk -v self=$(srcdir)/apply-patch.awk \ -v mode=1 -f $(srcdir)/apply-patch.awk > glib-sharp.il ilasm2 /dll /output:glib-sharp.dll glib-sharp.il rm glib-sharp.il patch.dll: patch.cs glib-sharp.dll $(MCS) -out:$@ -target:library -nowarn:0169 -r:glib-sharp.dll $< %.dll: @for lib in $(GTKSHARP_LIBS); do \ case "$$lib" in *$@*) \ echo "Copying $${lib:3}"; \ cp `readlink -e $${lib:3}`{,.config} . ;; \ esac; \ done # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/glib/GTypeExtensions.cs0000644000175000017500000000366011506367775023530 0ustar00hyperairhyperair00000000000000using System; using System.Runtime.InteropServices; using GLib; internal static class GTypeExtensions { public static IntPtr ValFromInstancePtr (IntPtr handle) { if (handle == IntPtr.Zero) return IntPtr.Zero; // First field of instance is a GTypeClass*. IntPtr klass = Marshal.ReadIntPtr (handle); // First field of GTypeClass is a GType. return Marshal.ReadIntPtr (klass); } public static bool IsInstance (GType type, IntPtr raw) { return Is (ValFromInstancePtr (raw), type); } public static bool Is (IntPtr type, GType is_a_type) { return g_type_is_a (type, is_a_type.Val); } public static IntPtr GetClassPtr (GType type) { IntPtr klass = g_type_class_peek (type.Val); if (klass == IntPtr.Zero) klass = g_type_class_ref (type.Val); return klass; } public static GType GetThresholdType (GType type) { GLib.GType curr_type = type; while (curr_type.ToString ().StartsWith ("__gtksharp_")) { curr_type = GetBaseType (curr_type); } return curr_type; } public static uint GetClassSize (GType type) { GTypeQuery query; g_type_query (type.Val, out query); return query.class_size; } public static GType GetBaseType (GType type) { IntPtr parent = g_type_parent (type.Val); if (parent == IntPtr.Zero) return GType.None; else return new GType (parent); } struct GTypeQuery { public IntPtr type; public IntPtr type_name; public uint class_size; public uint instance_size; } [DllImport ("libgobject-2.0-0.dll")] static extern bool g_type_is_a (IntPtr type, IntPtr is_a_type); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_type_class_peek (IntPtr gtype); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_type_class_ref (IntPtr gtype); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_type_parent (IntPtr type); [DllImport("libgobject-2.0-0.dll")] static extern void g_type_query (IntPtr type, out GTypeQuery query); } clutter-sharp-1.0.0alpha3/glib/patch.cs0000644000175000017500000000157611506367775021523 0ustar00hyperairhyperair00000000000000using System; using System.Reflection; using GLib; public static class Patch { private static void ConnectDefaultHandlers (GType gtype, System.Type t) { foreach (MethodInfo minfo in t.GetMethods(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.DeclaredOnly)) { MethodInfo baseinfo = minfo.GetBaseDefinition (); if (baseinfo == minfo) continue; foreach (object attr in baseinfo.GetCustomAttributes (typeof (DefaultSignalHandlerAttribute), false)) { DefaultSignalHandlerAttribute sigattr = attr as DefaultSignalHandlerAttribute; MethodInfo connector = sigattr.Type.GetMethod (sigattr.ConnectionMethod, BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof (GType) }, new ParameterModifier [0]); object[] parms = new object [1]; parms [0] = gtype; connector.Invoke (null, parms); break; } } } } clutter-sharp-1.0.0alpha3/glib/apply-patch.awk0000644000175000017500000000075011506367775023014 0ustar00hyperairhyperair00000000000000{ if ($0 ~ /default void ConnectDefaultHandlers/) { method_found = 1 } else if (method_found == 1 && $0 ~ /{/) { in_method = 1 if (mode == 1) { print print "// BEGIN PATCH" system ("monodis patch.dll | awk -v mode=0 -f " self) print "// END PATCH" } } else if (in_method == 1 && $0 ~ /}/) { in_method = 0 } if (in_method == 1 && method_found == 1) { method_found = 0 } else if ((in_method == 1 && mode == 0) || (in_method == 0 && mode == 1)) { print } } clutter-sharp-1.0.0alpha3/glib/Makefile.am0000644000175000017500000000136011506367775022120 0ustar00hyperairhyperair00000000000000assemblydir = $(prefix)/lib/clutter-sharp assembly_DATA = \ glib-sharp.dll \ glib-sharp.dll.config .PHONY: patch-glib all: patch-glib patch-glib: patch.dll monodis glib-sharp.dll | awk -v self=$(srcdir)/apply-patch.awk \ -v mode=1 -f $(srcdir)/apply-patch.awk > glib-sharp.il ilasm2 /dll /output:glib-sharp.dll glib-sharp.il rm glib-sharp.il patch.dll: patch.cs glib-sharp.dll $(MCS) -out:$@ -target:library -nowarn:0169 -r:glib-sharp.dll $< %.dll: @for lib in $(GTKSHARP_LIBS); do \ case "$$lib" in *$@*) \ echo "Copying $${lib:3}"; \ cp `readlink -e $${lib:3}`{,.config} . ;; \ esac; \ done EXTRA_DIST = $(wildcard *.cs) apply-patch.awk CLEANFILES = $(wildcard *.dll) $(wildcard *.config) MAINTAINERCLEANFILES = Makefile.in clutter-sharp-1.0.0alpha3/install-sh0000755000175000017500000003253711506371322021144 0ustar00hyperairhyperair00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: clutter-sharp-1.0.0alpha3/clutter-gtk/0000755000175000017500000000000011506372235021377 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/clutter-gtk/Makefile.in0000644000175000017500000004040611506371322023444 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in \ $(srcdir)/clutter-gtk-sharp.dll.config.in \ $(srcdir)/clutter-gtk-sharp.pc.in \ $(top_srcdir)/build/assembly.mk $(top_srcdir)/build/gapi.mk subdir = clutter-gtk ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = clutter-gtk-sharp.pc clutter-gtk-sharp.dll.config \ AssemblyInfo.cs CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(gapidir)" \ "$(DESTDIR)$(pkgconfigdir)" DATA = $(assembly_DATA) $(gapi_DATA) $(pkgconfig_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ASSEMBLY_NAME = clutter-gtk-sharp GAPI_SOURCES_XML = $(srcdir)/clutter-gtk-sources.xml GAPI_METADATA = $(srcdir)/clutter-gtk.metadata GAPI_RAW_API = $(srcdir)/clutter-gtk-api.raw GAPI_FIXED_API = clutter-gtk-api.xml CUSTOM_REFERENCES = -r:$(top_builddir)/clutter/clutter-sharp.dll CUSTOM_API_INCLUDES = $(top_builddir)/clutter/Clutter/clutter-api.xml GENERATED_DIRS = . @ENABLE_GTK_FALSE@TARGET = @ENABLE_GTK_TRUE@TARGET = \ @ENABLE_GTK_TRUE@ $(ASSEMBLY_NAME).dll \ @ENABLE_GTK_TRUE@ $(ASSEMBLY_NAME).dll.config \ @ENABLE_GTK_TRUE@ $(ASSEMBLY_NAME).dll.mdb EXTRA_DIST = $(GAPI_RAW_API) $(GAPI_METADATA) $(GAPI_SOURCES_XML) \ $(GAPI_SYMBOLS) $(ASSEMBLY_NAME).pc.in $(ASSEMBLY).config.in \ $(SOURCES) $(CUSTOMS) CLEANFILES = generated-stamp generated/*.cs $(GAPI_FIXED_API) \ $(ASSEMBLY) $(ASSEMBLY).mdb gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(GAPI_FIXED_API) build_symbols = $(addprefix --symbols=$(srcdir)/, $(GAPI_SYMBOLS)) api_includes = $(GTKSHARP_CFLAGS) $(CUSTOM_API_INCLUDES) ASSEMBLY = $(ASSEMBLY_NAME).dll REFERENCES = $(GTKSHARP_LIBS) -r:Mono.Cairo $(CUSTOM_REFERENCES) assemblydir = $(prefix)/lib/clutter-sharp assembly_DATA = $(TARGET) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(ASSEMBLY_NAME).pc SOURCES_BUILD = $(addprefix $(srcdir)/, $(SOURCES)) DISTCLEANFILES = \ $(ASSEMBLY).config \ $(ASSEMBLY_NAME).pc \ AssemblyInfo.cs MAINTAINERCLEANFILES = Makefile.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/build/gapi.mk $(top_srcdir)/build/assembly.mk $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign clutter-gtk/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign clutter-gtk/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clutter-gtk-sharp.pc: $(top_builddir)/config.status $(srcdir)/clutter-gtk-sharp.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ clutter-gtk-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/clutter-gtk-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ AssemblyInfo.cs: $(top_builddir)/config.status $(srcdir)/AssemblyInfo.cs.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-assemblyDATA: $(assembly_DATA) @$(NORMAL_INSTALL) test -z "$(assemblydir)" || $(MKDIR_P) "$(DESTDIR)$(assemblydir)" @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(assemblydir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(assemblydir)" || exit $$?; \ done uninstall-assemblyDATA: @$(NORMAL_UNINSTALL) @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(assemblydir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(assemblydir)" && rm -f $$files install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)" @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gapidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gapidir)" || exit $$?; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(gapidir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(gapidir)" && rm -f $$files install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-assemblyDATA install-gapiDATA \ install-pkgconfigDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-assemblyDATA uninstall-gapiDATA \ uninstall-pkgconfigDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-local \ distclean distclean-generic distdir dvi dvi-am html html-am \ info info-am install install-am install-assemblyDATA \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-gapiDATA install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkgconfigDATA install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-assemblyDATA uninstall-gapiDATA \ uninstall-pkgconfigDATA api: $(GAPI_PARSER) $(GAPI_SOURCES_XML) $(top_srcdir)/build/gapi-parser-post.sed < $(GAPI_RAW_API) > $(GAPI_RAW_API).tmp mv $(GAPI_RAW_API).tmp $(GAPI_RAW_API) $(GAPI_FIXED_API): $(GAPI_RAW_API) $(GAPI_METADATA) $(GAPI_SYMBOLS) $(wildcard *.custom) cp $(GAPI_RAW_API) $(GAPI_FIXED_API) chmod +w $(GAPI_FIXED_API) $(GAPI_FIXUP) --api=$(GAPI_FIXED_API) --metadata=$(GAPI_METADATA) $(build_symbols) $(GAPI_CODEGEN) --outdir=./generated --customdir=$(srcdir) $(api_includes) --generate $(GAPI_FIXED_API) clean-local: rm -rf generated $(ASSEMBLY): $(GAPI_FIXED_API) $(SOURCES_BUILD) @rm -f $(ASSEMBLY).mdb $(MCS) $(CSFLAGS) -out:$@ -debug -target:library -nowarn:0169 -unsafe \ $(REFERENCES) $(SOURCES_BUILD) AssemblyInfo.cs $(top_srcdir)/glib/*.cs $(foreach dir, $(GENERATED_DIRS), $(dir)/generated/*.cs) $(ASSEMBLY).mdb: $(ASSEMBLY) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/clutter-gtk/clutter-gtk-sharp.pc.in0000644000175000017500000000057011506367775025727 0ustar00hyperairhyperair00000000000000prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ bundlefiles=${libdir}/clutter-sharp/clutter-gtk-sharp.dll ${libdir}/clutter-sharp/clutter-gtk-sharp.dll.mdb ${libdir}/clutter-sharp/clutter-gtk-sharp.dll.config Name: clutter-gtk-sharp Description: clutter-sharp - Clutter-Gtk C#/Mono Bindings Version: @VERSION@ Libs: -r:${libdir}/clutter-sharp/clutter-gtk-sharp.dll clutter-sharp-1.0.0alpha3/clutter-gtk/clutter-gtk-sources.xml0000644000175000017500000000036311506367775026066 0ustar00hyperairhyperair00000000000000 ../../clutter-gtk/clutter-gtk clutter-sharp-1.0.0alpha3/clutter-gtk/clutter-gtk-sharp.dll.config.in0000644000175000017500000000035711506367775027347 0ustar00hyperairhyperair00000000000000 clutter-sharp-1.0.0alpha3/clutter-gtk/clutter-gtk-api.raw0000644000175000017500000001566311506367775025156 0ustar00hyperairhyperair00000000000000 clutter-sharp-1.0.0alpha3/clutter-gtk/AssemblyInfo.cs.in0000644000175000017500000000032611506367775024744 0ustar00hyperairhyperair00000000000000using System.Reflection; using System.Runtime.CompilerServices; [assembly:AssemblyVersion ("@ASSEMBLY_VERSION@")] [assembly:AssemblyDelaySign (false)] [assembly:AssemblyKeyFile ("@top_srcdir@/clutter-sharp.snk")] clutter-sharp-1.0.0alpha3/clutter-gtk/clutter-gtk.metadata0000644000175000017500000001237011506367775025366 0ustar00hyperairhyperair00000000000000 Add Remove ClutterStage* clutter-sharp-1.0.0alpha3/clutter-gtk/Makefile.am0000644000175000017500000000120111506367775023442 0ustar00hyperairhyperair00000000000000ASSEMBLY_NAME = clutter-gtk-sharp GAPI_SOURCES_XML = $(srcdir)/clutter-gtk-sources.xml GAPI_METADATA = $(srcdir)/clutter-gtk.metadata GAPI_RAW_API = $(srcdir)/clutter-gtk-api.raw GAPI_FIXED_API = clutter-gtk-api.xml CUSTOM_REFERENCES = -r:$(top_builddir)/clutter/clutter-sharp.dll CUSTOM_API_INCLUDES = $(top_builddir)/clutter/Clutter/clutter-api.xml GENERATED_DIRS = . if ENABLE_GTK TARGET = \ $(ASSEMBLY_NAME).dll \ $(ASSEMBLY_NAME).dll.config \ $(ASSEMBLY_NAME).dll.mdb else TARGET = endif EXTRA_DIST = CLEANFILES = include $(top_srcdir)/build/gapi.mk include $(top_srcdir)/build/assembly.mk MAINTAINERCLEANFILES = Makefile.in clutter-sharp-1.0.0alpha3/docs/0000755000175000017500000000000011506372235020062 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/0000755000175000017500000000000011506372236023443 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/Makefile.in0000644000175000017500000003144411506371322025511 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/docs/monodoc.mk subdir = docs/clutter-gtk-sharp ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(monodocdir)" DATA = $(monodoc_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOC_PACKAGE = clutter-gtk-sharp-docs DOC_ASSEMBLIES = $(top_builddir)/clutter-gtk/clutter-gtk-sharp.dll DOC_UPDATER = @MONODOCER@ -delete DOC_ASSEMBLER = @MDASSEMBLER@ --out $(DOC_PACKAGE) --ecma ASSEMBLIES_BUILD = $(foreach asm,$(DOC_ASSEMBLIES),$(addprefix -assembly:,$(asm))) @BUILD_DOCS_TRUE@monodocdir = $(DOCDIR) @BUILD_DOCS_TRUE@monodoc_DATA = \ @BUILD_DOCS_TRUE@ $(DOC_PACKAGE).zip \ @BUILD_DOCS_TRUE@ $(DOC_PACKAGE).tree \ @BUILD_DOCS_TRUE@ $(DOC_PACKAGE).source EXTRA_DIST = \ $(srcdir)/en/*/*.xml \ $(srcdir)/en/*.xml \ $(DOC_PACKAGE).source DISTCLEANFILES = \ $(DOC_PACKAGE).zip \ $(DOC_PACKAGE).tree MAINTAINERCLEANFILES = \ Makefile.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docs/monodoc.mk $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/clutter-gtk-sharp/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign docs/clutter-gtk-sharp/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-monodocDATA: $(monodoc_DATA) @$(NORMAL_INSTALL) test -z "$(monodocdir)" || $(MKDIR_P) "$(DESTDIR)$(monodocdir)" @list='$(monodoc_DATA)'; test -n "$(monodocdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(monodocdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(monodocdir)" || exit $$?; \ done uninstall-monodocDATA: @$(NORMAL_UNINSTALL) @list='$(monodoc_DATA)'; test -n "$(monodocdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(monodocdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(monodocdir)" && rm -f $$files tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(monodocdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-monodocDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-monodocDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-monodocDATA install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-monodocDATA @BUILD_DOCS_TRUE@$(DOC_PACKAGE).tree: $(DOC_PACKAGE).zip @BUILD_DOCS_TRUE@$(DOC_PACKAGE).zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml @BUILD_DOCS_TRUE@ $(DOC_ASSEMBLER) $(srcdir)/en @BUILD_DOCS_TRUE@update-docs: $(ASSEMBLIES) @BUILD_DOCS_TRUE@ $(DOC_UPDATER) $(ASSEMBLIES_BUILD) -path:en/ @BUILD_DOCS_TRUE@update-git: @BUILD_DOCS_TRUE@ @for remove in $$(find en -name \*.xml.remove); do \ @BUILD_DOCS_TRUE@ git rm $${remove%.remove}; \ @BUILD_DOCS_TRUE@ rm $$remove; \ @BUILD_DOCS_TRUE@ done; \ @BUILD_DOCS_TRUE@ find en -name \*.xml -exec git add {} \; ; \ @BUILD_DOCS_TRUE@ git status merge: monodoc --merge-changes $$HOME/.config/monodoc/changeset.xml . # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/clutter-gtk-sharp-docs.source0000644000175000017500000000021511506367775031205 0ustar00hyperairhyperair00000000000000 clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/0000755000175000017500000000000011506372236024045 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/ns-.xml0000644000175000017500000000017411506367775025302 0ustar00hyperairhyperair00000000000000 To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/GtkSharp.ClutterSharp/0000755000175000017500000000000011506372236030207 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/GtkSharp.ClutterSharp/ObjectManager.xml0000644000175000017500000000260411506367775033450 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/index.xml0000644000175000017500000000227311506367775025716 0ustar00hyperairhyperair00000000000000 System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) To be added. To be added. clutter-gtk-sharp clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/ns-Clutter.xml0000644000175000017500000000020311506367775026636 0ustar00hyperairhyperair00000000000000 To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/0000755000175000017500000000000011506372236025467 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/Zoomable.xml0000644000175000017500000000177311506367775030005 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 1.0.0.0 GLib.IWrapper To be added. To be added. Property 1.0.0.0 Gtk.Adjustment To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/ScrollableImplementor.xml0000644000175000017500000000423111506367775032523 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper GLib.GInterface(typeof(Clutter.ScrollableAdapter)) To be added. To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/GtkUtil.xml0000644000175000017500000002322011506367775027607 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.GtkUtil To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0Clutter.ActorTo be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ActorTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ActorTo be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.GtkUtil To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/Embed.xml0000644000175000017500000000555111506367775027247 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 0.9.0.0 1.0.0.0 Gtk.Container To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property0.9.0.01.0.0.0Clutter.StageTo be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/Scrollable.xml0000644000175000017500000000374011506367775030313 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper To be added. To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/Viewport.xml0000644000175000017500000004343011506367775030050 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 0.9.0.0 1.0.0.0 Clutter.Actor Clutter.Container Clutter.Scrollable Clutter.Zoomable To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.0 To be added.To be added.To be added.To be added. Constructor1.0.0.0To be added.To be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("actor-added") Clutter.ActorAddedHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("actor-removed") Clutter.ActorRemovedHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Property1.0.0.0Gtk.AdjustmentTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("child-notify") Clutter.ChildNotifyHandler To be added.To be added. Property 0.9.0.01.0.0.0 GLib.List To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method1.0.0.0System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ChildMeta To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Viewport), ConnectionMethod="OverrideActorAdded") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Viewport), ConnectionMethod="OverrideActorRemoved") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Viewport), ConnectionMethod="OverrideChildNotify") System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/GtkTextureError.xml0000644000175000017500000000237211506367775031351 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 1.0.0.0 System.Enum To be added. To be added. Field 1.0.0.0 Clutter.GtkTextureError To be added. Field 1.0.0.0 Clutter.GtkTextureError To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/ZoomableAdapter.xml0000644000175000017500000001101011506367775031267 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 1.0.0.0 GLib.GInterfaceAdapter Clutter.Zoomable To be added. To be added. Constructor 1.0.0.0 To be added. To be added. Constructor 1.0.0.0 To be added. To be added. To be added. Constructor 1.0.0.0 To be added. To be added. To be added. Property 1.0.0.0 Gtk.Adjustment To be added. To be added. To be added. Method 1.0.0.0 Clutter.Zoomable To be added. To be added. To be added. To be added. Method 1.0.0.0 Clutter.Zoomable To be added. To be added. To be added. To be added. To be added. Property 1.0.0.0 Clutter.ZoomableImplementor To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/ZoomableImplementor.xml0000644000175000017500000000226211506367775032213 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 1.0.0.0 GLib.IWrapper GLib.GInterface(typeof(Clutter.ZoomableAdapter)) To be added. To be added. Property 1.0.0.0 Gtk.Adjustment To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Clutter/ScrollableAdapter.xml0000644000175000017500000001265411506367775031620 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 0.9.0.0 1.0.0.0 GLib.GInterfaceAdapter Clutter.Scrollable To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Scrollable To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Scrollable To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ScrollableImplementor To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/ns-GtkSharp.ClutterSharp.xml0000644000175000017500000000022111506367775031356 0ustar00hyperairhyperair00000000000000 To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/en/Patch.xml0000644000175000017500000000066211506367775025646 0ustar00hyperairhyperair00000000000000 clutter-gtk-sharp 1.0.0.0 System.Object To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-gtk-sharp/Makefile.am0000644000175000017500000000021611506367775025512 0ustar00hyperairhyperair00000000000000DOC_PACKAGE = clutter-gtk-sharp-docs DOC_ASSEMBLIES = $(top_builddir)/clutter-gtk/clutter-gtk-sharp.dll include $(top_srcdir)/docs/monodoc.mk clutter-sharp-1.0.0alpha3/docs/Makefile.in0000644000175000017500000004105511506371322022130 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = docs DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ clutter-sharp \ clutter-gtk-sharp EXTRA_DIST = monodoc.mk MAINTAINERCLEANFILES = Makefile.in all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign docs/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic ctags \ ctags-recursive distclean distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-recursive uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/docs/clutter-sharp/0000755000175000017500000000000011506372236022660 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/docs/clutter-sharp/clutter-sharp-docs.source0000644000175000017500000000020511506367775027636 0ustar00hyperairhyperair00000000000000 clutter-sharp-1.0.0alpha3/docs/clutter-sharp/Makefile.in0000644000175000017500000003141411506371323024724 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/docs/monodoc.mk subdir = docs/clutter-sharp ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(monodocdir)" DATA = $(monodoc_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOC_PACKAGE = clutter-sharp-docs DOC_ASSEMBLIES = $(top_builddir)/clutter/clutter-sharp.dll DOC_UPDATER = @MONODOCER@ -delete DOC_ASSEMBLER = @MDASSEMBLER@ --out $(DOC_PACKAGE) --ecma ASSEMBLIES_BUILD = $(foreach asm,$(DOC_ASSEMBLIES),$(addprefix -assembly:,$(asm))) @BUILD_DOCS_TRUE@monodocdir = $(DOCDIR) @BUILD_DOCS_TRUE@monodoc_DATA = \ @BUILD_DOCS_TRUE@ $(DOC_PACKAGE).zip \ @BUILD_DOCS_TRUE@ $(DOC_PACKAGE).tree \ @BUILD_DOCS_TRUE@ $(DOC_PACKAGE).source EXTRA_DIST = \ $(srcdir)/en/*/*.xml \ $(srcdir)/en/*.xml \ $(DOC_PACKAGE).source DISTCLEANFILES = \ $(DOC_PACKAGE).zip \ $(DOC_PACKAGE).tree MAINTAINERCLEANFILES = \ Makefile.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docs/monodoc.mk $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/clutter-sharp/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign docs/clutter-sharp/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-monodocDATA: $(monodoc_DATA) @$(NORMAL_INSTALL) test -z "$(monodocdir)" || $(MKDIR_P) "$(DESTDIR)$(monodocdir)" @list='$(monodoc_DATA)'; test -n "$(monodocdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(monodocdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(monodocdir)" || exit $$?; \ done uninstall-monodocDATA: @$(NORMAL_UNINSTALL) @list='$(monodoc_DATA)'; test -n "$(monodocdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(monodocdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(monodocdir)" && rm -f $$files tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(monodocdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-monodocDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-monodocDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-monodocDATA install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-monodocDATA @BUILD_DOCS_TRUE@$(DOC_PACKAGE).tree: $(DOC_PACKAGE).zip @BUILD_DOCS_TRUE@$(DOC_PACKAGE).zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml @BUILD_DOCS_TRUE@ $(DOC_ASSEMBLER) $(srcdir)/en @BUILD_DOCS_TRUE@update-docs: $(ASSEMBLIES) @BUILD_DOCS_TRUE@ $(DOC_UPDATER) $(ASSEMBLIES_BUILD) -path:en/ @BUILD_DOCS_TRUE@update-git: @BUILD_DOCS_TRUE@ @for remove in $$(find en -name \*.xml.remove); do \ @BUILD_DOCS_TRUE@ git rm $${remove%.remove}; \ @BUILD_DOCS_TRUE@ rm $$remove; \ @BUILD_DOCS_TRUE@ done; \ @BUILD_DOCS_TRUE@ find en -name \*.xml -exec git add {} \; ; \ @BUILD_DOCS_TRUE@ git status merge: monodoc --merge-changes $$HOME/.config/monodoc/changeset.xml . # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/0000755000175000017500000000000011506372236023262 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/ns-.xml0000644000175000017500000000017411506367775024517 0ustar00hyperairhyperair00000000000000 To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/ns-Cogl.xml0000644000175000017500000000020011506367775025312 0ustar00hyperairhyperair00000000000000 To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/index.xml0000644000175000017500000002744311506367775025141 0ustar00hyperairhyperair00000000000000 System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) To be added. To be added. clutter-sharp clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/0000755000175000017500000000000011506372236024146 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/General.xml0000644000175000017500000005302611506367775026267 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Cogl.FuncPtr To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Cogl.Matrix To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Property 0.9.0.01.0.0.0 Cogl.Matrix To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single[] To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Matrix.xml0000644000175000017500000003457111506367775026162 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Single[] To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Offscreen.xml0000644000175000017500000000524411506367775026623 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/MaterialFilter.xml0000644000175000017500000000571711506367775027622 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialFilter To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialFilter To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialFilter To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialFilter To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialFilter To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialFilter To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Color.xml0000644000175000017500000002035511506367775025767 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Opaque To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Cogl.Color To be added.To be added.To be added. Method1.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Method1.0.0.0System.VoidTo be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/PixelFormat.xml0000644000175000017500000001773711506367775027155 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. Field 0.9.0.01.0.0.0 Cogl.PixelFormat To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Path.xml0000644000175000017500000003403211506367775025602 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/DebugFlags.xml0000644000175000017500000001435511506367775026717 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum System.Flags To be added. To be added. Field1.0.0.0Cogl.DebugFlagsTo be added.Field0.9.0.01.0.0.0Cogl.DebugFlagsTo be added.Field1.0.0.0Cogl.DebugFlagsTo be added.Field1.0.0.0Cogl.DebugFlagsTo be added.Field1.0.0.0Cogl.DebugFlagsTo be added. Field 0.9.0.01.0.0.0 Cogl.DebugFlags To be added. Field1.0.0.0Cogl.DebugFlagsTo be added.Field0.9.0.01.0.0.0Cogl.DebugFlagsTo be added.Field1.0.0.0Cogl.DebugFlagsTo be added. Field 0.9.0.01.0.0.0 Cogl.DebugFlags To be added. Field 0.9.0.01.0.0.0 Cogl.DebugFlags To be added. Field 0.9.0.01.0.0.0 Cogl.DebugFlags To be added. Field 0.9.0.01.0.0.0 Cogl.DebugFlags To be added. Field 0.9.0.01.0.0.0 Cogl.DebugFlags To be added. Field 0.9.0.01.0.0.0 Cogl.DebugFlags To be added. Field 0.9.0.01.0.0.0 Cogl.DebugFlags To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/TextureFlags.xml0000644000175000017500000000325011506367775027321 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum System.Flags To be added. To be added. Field0.9.0.01.0.0.0Cogl.TextureFlagsTo be added. Field 0.9.0.01.0.0.0 Cogl.TextureFlags To be added. Field0.9.0.01.0.0.0Cogl.TextureFlagsTo be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Handle.xml0000644000175000017500000000501011506367775026073 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/BufferTarget.xml0000644000175000017500000000263311506367775027270 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.BufferTarget To be added. Field 0.9.0.01.0.0.0 Cogl.BufferTarget To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Program.xml0000644000175000017500000001662611506367775026326 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.Int32To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.Int32To be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/BlendStringError.xml0000644000175000017500000000407211506367775030134 0ustar00hyperairhyperair00000000000000 clutter-sharp 1.0.0.0 System.Enum To be added. To be added. Field 1.0.0.0 Cogl.BlendStringError To be added. Field 1.0.0.0 Cogl.BlendStringError To be added. Field 1.0.0.0 Cogl.BlendStringError To be added. Field 1.0.0.0 Cogl.BlendStringError To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/GL.xml0000644000175000017500000145704711506367775025230 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Field 0.9.0.01.0.0.0 System.Int32 5127 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1536 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5128 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1537 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1538 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1539 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5129 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1540 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 256 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3419 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3418 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 512 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2944 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3417 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3416 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34016 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34016 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 260 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34164 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33902 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33901 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 1048575 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 4294967295 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6406 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3357 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3413 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34877 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3356 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3008 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3009 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3010 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32829 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32830 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32827 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32828 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 519 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4608 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5634 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5377 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5380 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5378 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2992 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3456 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3072 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1033 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1034 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1035 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1036 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1029 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1026 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1027 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32992 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32993 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6656 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1796 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3042 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32773 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3040 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32777 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3041 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6405 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3355 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3412 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3354 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5120 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10788 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10790 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10786 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10787 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2305 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10496 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33069 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33071 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5376 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34017 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34017 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 4294967295 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2993 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 2 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 12288 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 12289 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 12290 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 12291 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 12292 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 12293 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2560 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6144 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32886 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32912 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32897 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32899 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32898 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 16384 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3106 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6400 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5635 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3058 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2903 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2901 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2902 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32945 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32946 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32976 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32989 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32983 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32988 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32984 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32987 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32991 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32990 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32986 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32982 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32985 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3107 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34160 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34162 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34161 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4864 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4865 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34025 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34028 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34026 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34027 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34029 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34030 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34467 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34166 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32771 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4615 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33105 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32769 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32784 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32785 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33108 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32787 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32789 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32788 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32791 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32793 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32792 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5379 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5388 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1798 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2884 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2885 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2816 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2817 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2818 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2820 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2825 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2821 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2823 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2824 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2822 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2819 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2304 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34651 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34649 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34650 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8449 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7683 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6145 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3359 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3414 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 256 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2931 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6402 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2932 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2928 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3358 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34640 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2929 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2930 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4609 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3024 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2562 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4352 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34478 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34479 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5130 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3122 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3073 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1797 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 772 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 774 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2883 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32889 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32915 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32908 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5632 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 8192 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 514 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5385 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 65536 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2048 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2049 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7939 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9216 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9474 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 0 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4353 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7169 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3568 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3569 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3570 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6914 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7424 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5126 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2912 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 128 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2918 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2914 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2916 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3156 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2913 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2917 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2915 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35763 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35762 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35761 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35760 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 36052 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1028 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1032 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2886 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1024 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1025 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32774 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32779 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32778 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 518 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 516 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6404 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3353 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3411 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3352 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 32768 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32804 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32811 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32810 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32807 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32809 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32812 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32808 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32813 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32806 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7682 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32887 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32913 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32902 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32901 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3409 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3104 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3057 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3120 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3347 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3346 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3105 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5124 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32841 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32844 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32845 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32842 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32843 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34165 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1280 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1282 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1281 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5386 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7680 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1030 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 515 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 513 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2899 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33272 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2897 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2898 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16384 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16385 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16386 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16387 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16388 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16389 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16390 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16391 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2896 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 64 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6913 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 4 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1799 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2848 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3154 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2852 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2853 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2854 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1794 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2849 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2851 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2850 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9729 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4616 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9987 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9985 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2866 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 131072 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2867 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2864 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 257 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3057 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3056 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6409 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6410 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32833 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32839 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32838 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32834 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32840 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32831 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32835 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32836 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32832 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32837 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3344 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3345 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3472 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3536 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3537 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3473 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3474 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3475 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3476 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3477 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3478 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3479 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3480 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3504 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3538 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3539 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3505 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3506 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3507 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3508 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3509 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3510 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3511 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3512 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2976 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32776 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32883 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35071 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3381 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3387 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3378 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32947 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32795 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32794 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34076 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33001 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33000 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3376 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3377 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2865 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3382 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3383 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3380 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3384 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3379 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3385 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34018 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34018 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3386 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32775 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32814 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32815 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32816 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5888 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2982 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2979 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8448 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 259 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32925 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 536870912 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10789 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3440 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5390 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9728 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9986 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9984 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 512 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4354 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 0 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 0 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5381 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5384 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32885 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32911 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32895 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32894 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34065 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2977 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 517 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34466 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9217 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9473 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32772 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32770 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 773 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 775 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 771 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 769 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34200 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34192 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34201 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34193 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34202 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34194 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5383 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5389 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5387 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2561 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1285 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3333 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32876 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3329 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3330 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32875 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3332 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3331 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3328 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1792 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3152 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3193 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3257 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3192 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3256 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3191 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3255 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3189 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3253 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3188 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3252 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3187 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3251 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3184 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3248 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3186 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3250 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3190 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3254 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3185 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3249 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 32 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6912 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 2 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2833 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2835 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2834 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2832 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3153 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1793 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 0 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 8 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2880 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32824 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32823 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10754 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10753 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10752 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2881 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3155 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2882 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 16 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1795 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4611 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32955 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32951 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32954 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32950 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32978 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32953 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32949 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32952 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32948 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32803 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32799 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32802 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32798 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32977 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32801 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32797 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32800 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32796 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34168 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34167 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5889 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2983 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2980 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32979 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32805 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32981 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32980 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32867 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35865 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32868 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35867 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32880 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34075 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8195 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4617 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8194 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10768 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3074 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6403 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3349 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3410 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3348 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32790 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34066 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7168 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3136 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7937 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10497 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7681 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33107 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32826 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 258 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6407 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34163 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32850 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32857 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32851 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32852 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32847 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32848 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32855 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32849 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6408 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3121 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32858 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32859 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32853 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32854 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32856 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1031 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8192 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32926 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32927 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32936 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32928 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32939 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32938 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32937 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 524288 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3088 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3089 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7170 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3571 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3572 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32786 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33274 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5391 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2900 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5633 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5122 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33273 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7425 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2851 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2850 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2835 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2834 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34184 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34176 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34185 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34177 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34186 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34178 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4610 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9218 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4614 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4612 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4613 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 770 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 776 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 768 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1283 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1284 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6146 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3415 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 1024 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2961 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2964 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2962 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6401 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2965 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2966 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2967 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2960 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2963 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2968 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3123 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3408 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34023 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8193 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10794 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10796 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10793 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10795 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10791 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10797 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10792 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32817 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5890 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3552 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35864 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3553 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35866 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32879 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32863 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33084 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32872 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35868 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32873 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35869 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32874 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34068 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 262144 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32862 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4101 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4100 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4099 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34465 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34464 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34031 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32888 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32914 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32904 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32906 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32905 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34067 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34070 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34072 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34074 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34069 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34071 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34073 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32881 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8960 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8705 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 8704 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 9472 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3171 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3170 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3168 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3169 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32861 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4097 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32865 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4099 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32864 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10240 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2984 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33085 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33083 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10241 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33082 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32870 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32860 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32871 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2981 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4096 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32882 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10242 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10243 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33984 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33984 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33985 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33985 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33994 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33994 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33995 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33995 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33996 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33996 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33997 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33997 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33998 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33998 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33999 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33999 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34000 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34000 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34001 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34001 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34002 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34002 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34003 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34003 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33986 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33986 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34004 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34004 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34005 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34005 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34006 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34006 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34007 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34007 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34008 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34008 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34009 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34009 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34010 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34010 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34011 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34011 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34012 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34012 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34013 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34013 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33987 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33987 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34014 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34014 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34015 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34015 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33988 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33988 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33989 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33989 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33990 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33990 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33991 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33991 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33992 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33992 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33993 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33993 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 4096 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34022 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34019 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34020 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34021 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 6 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 4 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3317 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32878 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3313 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3314 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32877 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3316 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3315 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3312 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5121 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33634 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32818 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5125 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32822 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33640 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34641 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34642 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32821 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33639 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5123 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34644 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33638 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 34643 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32819 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33637 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32820 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33635 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 33636 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10784 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 10785 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7936 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7938 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32884 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32910 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32890 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32892 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32891 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35767 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35766 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35765 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 35764 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2978 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 2048 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5382 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 0 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3350 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3351 To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Shader.xml0000644000175000017500000001166711506367775026125 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method0.9.0.01.0.0.0Cogl.ShaderTypeTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.StringTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/ShaderType.xml0000644000175000017500000000240511506367775026755 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.ShaderType To be added. Field 0.9.0.01.0.0.0 Cogl.ShaderType To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/BufferBit.xml0000644000175000017500000000337311506367775026562 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.BufferBit To be added. Field 0.9.0.01.0.0.0 Cogl.BufferBit To be added. Field 0.9.0.01.0.0.0 Cogl.BufferBit To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/FeatureFlags.xml0000644000175000017500000001205711506367775027261 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Cogl.FeatureFlags To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/AttributeType.xml0000644000175000017500000000473311506367775027520 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.AttributeType To be added. Field 0.9.0.01.0.0.0 Cogl.AttributeType To be added. Field 0.9.0.01.0.0.0 Cogl.AttributeType To be added. Field 0.9.0.01.0.0.0 Cogl.AttributeType To be added. Field 0.9.0.01.0.0.0 Cogl.AttributeType To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Texture.xml0000644000175000017500000003025411506367775026350 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Cogl.PixelFormat To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.IntPtrTo be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.IntPtrTo be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.IntPtrTo be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.IntPtrTo be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/VerticesMode.xml0000644000175000017500000000641311506367775027301 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.VerticesMode To be added. Field 0.9.0.01.0.0.0 Cogl.VerticesMode To be added. Field 0.9.0.01.0.0.0 Cogl.VerticesMode To be added. Field 0.9.0.01.0.0.0 Cogl.VerticesMode To be added. Field 0.9.0.01.0.0.0 Cogl.VerticesMode To be added. Field 0.9.0.01.0.0.0 Cogl.VerticesMode To be added. Field 0.9.0.01.0.0.0 Cogl.VerticesMode To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Material.xml0000644000175000017500000005626111506367775026454 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.List To be added.To be added.To be added.To be added. Method1.0.0.0System.Int32To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0Cogl.MaterialFilterTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Cogl.MaterialFilterTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Cogl.MaterialLayerType To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/FuncPtr.xml0000644000175000017500000000105211506367775026263 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Clip.xml0000644000175000017500000001260311506367775025575 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/MaterialLayerType.xml0000644000175000017500000000161711506367775030306 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialLayerType To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Rectangle.xml0000644000175000017500000000614511506367775026616 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Angle.xml0000644000175000017500000001432011506367775025732 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/FogMode.xml0000644000175000017500000000324111506367775026224 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.FogMode To be added. Field 0.9.0.01.0.0.0 Cogl.FogMode To be added. Field 0.9.0.01.0.0.0 Cogl.FogMode To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/IndicesType.xml0000644000175000017500000000314111506367775027123 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.IndicesType To be added. Field 0.9.0.0 Cogl.IndicesType To be added. Field 0.9.0.01.0.0.0 Cogl.IndicesType To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Fixed.xml0000644000175000017500000006217211506367775025753 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32 To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 32768 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 65536 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 7864320 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 11796480 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 411775 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 15728640 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16711680 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 17694720 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 1966080 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 23592960 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2949120 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3932160 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 5898240 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 205887 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 102944 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 51472 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 16 To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 2147483647 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 -2147483648 To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 3754936 To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/MaterialAlphaFunc.xml0000644000175000017500000000736611506367775030240 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum To be added. To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialAlphaFunc To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialAlphaFunc To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialAlphaFunc To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialAlphaFunc To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialAlphaFunc To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialAlphaFunc To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialAlphaFunc To be added. Field 0.9.0.01.0.0.0 Cogl.MaterialAlphaFunc To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/VertexBuffer.xml0000644000175000017500000002724711506367775027327 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.IntPtrTo be added.To be added.To be added.To be added.Method1.0.0.0Cogl.IndicesTypeTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.IntPtrTo be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/ReadPixelsFlags.xml0000644000175000017500000000167611506367775027733 0ustar00hyperairhyperair00000000000000 clutter-sharp 1.0.0.0 System.Enum System.Flags To be added. To be added. Field 1.0.0.0 Cogl.ReadPixelsFlags To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/TextureVertex.xml0000644000175000017500000001023711506367775027545 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Property 0.9.0.01.0.0.0 Cogl.Color To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Cogl.TextureVertex To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. Field 0.9.0.01.0.0.0 Cogl.TextureVertex To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Cogl/Bitmap.xml0000644000175000017500000000454511506367775026130 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/ns-Clutter.xml0000644000175000017500000000020311506367775026053 0ustar00hyperairhyperair00000000000000 To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/0000755000175000017500000000000011506372236024704 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ScrollEventArgs.xml0000644000175000017500000000264111506367775030522 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ScrollEvent To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Alpha.xml0000644000175000017500000001650211506367775026473 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.InitiallyUnowned To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.AlphaFunc To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt64 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt64 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt64 To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Timeline To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TimelineCompletedHandler.xml0000644000175000017500000000153211506367775032344 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/EnterEventArgs.xml0000644000175000017500000000264111506367775030341 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.CrossingEvent To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AllocationChangedArgs.xml0000644000175000017500000000364211506367775031623 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ActorBox To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.AllocationFlags To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Scriptable.xml0000644000175000017500000000346411506367775027541 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper To be added. To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TimeoutHandler.xml0000644000175000017500000000114511506367775030367 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Boolean To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AnimatableImplementor.xml0000644000175000017500000000357311506367775031723 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper GLib.GInterface(typeof(Clutter.AnimatableAdapter)) To be added. To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/SizeChangeHandler.xml0000644000175000017500000000146711506367775030770 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ActorRemovedArgs.xml0000644000175000017500000000263111506367775030653 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/BehaviourForeachFunc.xml0000644000175000017500000000152011506367775031470 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/IDPool.xml0000644000175000017500000000632411506367775026575 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Opaque To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RedrawQueuedArgs.xml0000644000175000017500000000265311506367775030662 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TextureError.xml0000644000175000017500000000351211506367775030115 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.TextureErrorGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.TextureError To be added. Field 0.9.0.01.0.0.0 Clutter.TextureError To be added. Field 0.9.0.01.0.0.0 Clutter.TextureError To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Fog.xml0000644000175000017500000001011111506367775026147 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Fog To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.Value To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Fog To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.Fog To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/BehaviourOpacity.xml0000644000175000017500000001276011506367775030725 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Behaviour To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("opacity-end") System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("opacity-start") System.UInt32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ScriptConnectFunc.xml0000644000175000017500000000250011506367775031031 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Application+Win32.xml0000644000175000017500000000201211506367775030576 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ModelForeachFunc.xml0000644000175000017500000000153011506367775030605 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Boolean To be added. To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageWindowAdapter.xml0000644000175000017500000001001011506367775031166 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.GInterfaceAdapter Clutter.StageWindow To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.StageWindow To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.StageWindow To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.StageWindowImplementor To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Init.xml0000644000175000017500000000255511506367775026354 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TimelineStartedHandler.xml0000644000175000017500000000152011506367775032033 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Event.xml0000644000175000017500000001321111506367775026521 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object GLib.IWrapper To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.EventFlags To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Event To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Event To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Stage To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.EventType To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/DebugFlag.xml0000644000175000017500000001625611506367775027274 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field1.0.0.0Clutter.DebugFlagTo be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. Field 0.9.0.01.0.0.0 Clutter.DebugFlag To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/IdleHandler.xml0000644000175000017500000000113411506367775027614 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Boolean To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Color.xml0000644000175000017500000003464111506367775026530 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added. Constructor0.9.0.01.0.0.0To be added.To be added.To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added.To be added. Constructor0.9.0.01.0.0.0To be added.To be added.To be added.To be added.To be added.To be added.Property0.9.0.01.0.0.0System.ByteTo be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.Property0.9.0.01.0.0.0System.ByteTo be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property0.9.0.01.0.0.0System.ByteTo be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.ValueTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.Property0.9.0.01.0.0.0System.ByteTo be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Field0.9.0.01.0.0.0Clutter.ColorTo be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Animation.xml0000644000175000017500000003156711506367775027375 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Alpha To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Animation To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Animation To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("completed") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Interval To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt64 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Object To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Animation), ConnectionMethod="OverrideCompleted") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Animation), ConnectionMethod="OverrideStarted") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("started") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Timeline To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AppliedArgs.xml0000644000175000017500000000260511506367775027640 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/CrossingEvent.xml0000644000175000017500000000465411506367775030244 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Event To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ScriptError.xml0000644000175000017500000000350311506367775027721 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.ScriptErrorGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.ScriptError To be added. Field 0.9.0.01.0.0.0 Clutter.ScriptError To be added. Field 0.9.0.01.0.0.0 Clutter.ScriptError To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ActorRemovedHandler.xml0000644000175000017500000000150111506367775031327 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Units.xml0000644000175000017500000002175111506367775026552 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Method0.9.0.0System.VoidTo be added.To be added.To be added.Method0.9.0.0System.VoidTo be added.To be added.To be added.To be added.Method1.0.0.0System.VoidTo be added.To be added.To be added.Method1.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method1.0.0.0System.VoidTo be added.To be added.To be added.Method1.0.0.0System.VoidTo be added.To be added.To be added.Method1.0.0.0System.VoidTo be added.To be added.To be added.Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.Property0.9.0.01.0.0.0GLib.GTypeTo be added.To be added.To be added.Method0.9.0.0System.VoidTo be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.UnitsTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.ValueTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.UnitsTo be added.To be added.To be added.To be added.Method0.9.0.0System.VoidTo be added.To be added.To be added.Method0.9.0.0System.VoidTo be added.To be added.To be added.Method0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Field0.9.0.01.0.0.0Clutter.UnitsTo be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ListModel.xml0000644000175000017500000000525711506367775027347 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Model To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Backend.xml0000644000175000017500000003143311506367775026775 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("font-changed") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverrideCreateContext")System.BooleanTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverrideCreateStage")Clutter.ActorTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverrideEnsureContext")System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverrideFontChanged") System.Void To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverrideGetFeatures")Clutter.FeatureFlagsTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverrideInitEvents")System.VoidTo be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverrideInitFeatures")System.VoidTo be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverridePostParse")System.BooleanTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverridePreParse")System.BooleanTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverrideRedraw")System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Backend), ConnectionMethod="OverrideResolutionChanged") System.Void To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("resolution-changed") System.EventHandler To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/LeaveEventHandler.xml0000644000175000017500000000146711506367775031006 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AnimatableAdapter.xml0000644000175000017500000001221611506367775031002 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.GInterfaceAdapter Clutter.Animatable To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Animatable To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Animatable To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.AnimatableImplementor To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Text.xml0000644000175000017500000006771411506367775026405 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Actor To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("activate") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 Pango.AttrList To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("cursor-event") Clutter.CursorEventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Pango.EllipsizeMode To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.String To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Pango.Layout To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Pango.Alignment To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Pango.WrapMode To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Text), ConnectionMethod="OverrideActivated") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Text), ConnectionMethod="OverrideCursorEvent") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Text), ConnectionMethod="OverrideTextChanged") System.Void To be added.To be added. Property 0.9.0.01.0.0.0 System.Char To be added.To be added.To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("text-changed") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/BehaviourEllipse.xml0000644000175000017500000003476611506367775030724 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Behaviour To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Constructor0.9.0.0To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Property0.9.0.0System.Int32To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Property0.9.0.0System.Int32To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.RotateDirection To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added.To be added. Method0.9.0.0System.Int32To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method0.9.0.0System.VoidTo be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.0System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method0.9.0.0System.VoidTo be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/EventFlags.xml0000644000175000017500000000323111506367775027477 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.EventFlagsGType)) System.Flags To be added. To be added. Field1.0.0.0Clutter.EventFlagsTo be added.Field1.0.0.0Clutter.EventFlagsTo be added. Field 0.9.0.0 Clutter.EventFlags To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AlphaFunc.xml0000644000175000017500000000132111506367775027300 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Double To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AllocationChangedHandler.xml0000644000175000017500000000153211506367775032300 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ScrollDirection.xml0000644000175000017500000000432711506367775030547 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.ScrollDirectionGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.ScrollDirection To be added. Field 0.9.0.01.0.0.0 Clutter.ScrollDirection To be added. Field 0.9.0.01.0.0.0 Clutter.ScrollDirection To be added. Field 0.9.0.01.0.0.0 Clutter.ScrollDirection To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageWindowImplementor.xml0000644000175000017500000000140211506367775032106 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper GLib.GInterface(typeof(Clutter.StageWindowAdapter)) To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ButtonPressEventArgs.xml0000644000175000017500000000266511506367775031562 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ButtonEvent To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/InputDeviceType.xml0000644000175000017500000000431611506367775030527 0ustar00hyperairhyperair00000000000000 clutter-sharp 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.InputDeviceTypeGType)) To be added. To be added. Field 1.0.0.0 Clutter.InputDeviceType To be added. Field 1.0.0.0 Clutter.InputDeviceType To be added. Field 1.0.0.0 Clutter.InputDeviceType To be added. Field 1.0.0.0 Clutter.InputDeviceType To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/MediaImplementor.xml0000644000175000017500000000130611506367775030675 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper GLib.GInterface(typeof(Clutter.MediaAdapter)) To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ButtonReleaseEventHandler.xml0000644000175000017500000000153711506367775032524 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Timeline.xml0000644000175000017500000005203211506367775027212 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor0.9.0.01.0.0.0To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method0.9.0.0System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Timeline To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("completed") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property0.9.0.01.0.0.0System.UInt32To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.TimelineDirection To be added.To be added.To be added. Method1.0.0.0System.VoidTo be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property0.9.0.01.0.0.0System.UInt32To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.String To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("marker-reached") Clutter.MarkerReachedHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("new-frame") Clutter.NewFrameHandler To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Timeline), ConnectionMethod="OverrideCompleted") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Timeline), ConnectionMethod="OverrideMarkerReached") System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Timeline), ConnectionMethod="OverrideNewFrame") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Timeline), ConnectionMethod="OverridePaused") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Timeline), ConnectionMethod="OverrideStarted") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("paused") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Property0.9.0.0System.Int32To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("started") System.EventHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Perspective.xml0000644000175000017500000001202311506367775027731 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Perspective To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.Value To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Perspective To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.Perspective To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. Field 0.9.0.01.0.0.0 System.Single To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/PickMode.xml0000644000175000017500000000343211506367775027137 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.PickModeGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.PickMode To be added. Field 0.9.0.01.0.0.0 Clutter.PickMode To be added. Field 0.9.0.01.0.0.0 Clutter.PickMode To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RowRemovedArgs.xml0000644000175000017500000000262711506367775030357 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModelIter To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/CairoTexture.xml0000644000175000017500000001611311506367775030062 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Texture To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added. Method 0.9.0.01.0.0.0 Cairo.Context To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Cairo.Context To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("surface-height") System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("surface-width") System.UInt32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Stage.xml0000644000175000017500000005236211506367775026515 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Group To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("activate") System.EventHandler To be added.To be added. Property0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added. Property 0.9.0.0 GLib.Property("cursor-visible") System.Boolean To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("deactivate") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Stage To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method1.0.0.0System.VoidTo be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("fullscreen") System.EventHandler To be added.To be added. Method0.9.0.01.0.0.0Clutter.ActorTo be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Property 0.9.0.0 GLib.Property("offscreen") System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Stage), ConnectionMethod="OverrideActivate") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Stage), ConnectionMethod="OverrideDeactivate") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Stage), ConnectionMethod="OverrideFullscreenEvent") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Stage), ConnectionMethod="OverrideUnfullscreenEvent") System.Void To be added.To be added. Property 0.9.0.0 GLib.Property("perspective") Clutter.Perspective To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Byte To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.0 System.Void To be added.To be added. Method1.0.0.0System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Property1.0.0.0System.BooleanTo be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Method 0.9.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("unfullscreen") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Path.xml0000644000175000017500000004104311506367775026340 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.InitiallyUnowned To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.SList To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/EnterEventHandler.xml0000644000175000017500000000146711506367775031027 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ShaderFloat.xml0000644000175000017500000000274611506367775027647 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Opaque To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Geometry.xml0000644000175000017500000001173611506367775027245 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Geometry To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.Value To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Geometry To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.Geometry To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageAddedArgs.xml0000644000175000017500000000262111506367775030245 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Stage To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/NewFrameArgs.xml0000644000175000017500000000260411506367775027765 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Feature.xml0000644000175000017500000000377311506367775027047 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/PathNodeType.xml0000644000175000017500000000664411506367775030020 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.PathNodeTypeGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.PathNodeType To be added. Field 0.9.0.01.0.0.0 Clutter.PathNodeType To be added. Field 0.9.0.01.0.0.0 Clutter.PathNodeType To be added. Field 0.9.0.01.0.0.0 Clutter.PathNodeType To be added. Field 0.9.0.01.0.0.0 Clutter.PathNodeType To be added. Field 0.9.0.01.0.0.0 Clutter.PathNodeType To be added. Field 0.9.0.01.0.0.0 Clutter.PathNodeType To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageState.xml0000644000175000017500000000362511506367775027514 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.StageStateGType)) System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.StageState To be added. Field 0.9.0.01.0.0.0 Clutter.StageState To be added. Field 0.9.0.01.0.0.0 Clutter.StageState To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Idle.xml0000644000175000017500000000214711506367775026323 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TextureFlags.xml0000644000175000017500000000440511506367775030062 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.TextureFlagsGType)) System.Flags To be added. To be added. Field0.9.0.01.0.0.0Clutter.TextureFlagsTo be added. Field 0.9.0.01.0.0.0 Clutter.TextureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.TextureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.TextureFlags To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Main.xml0000644000175000017500000000346711506367775026340 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/CursorEventArgs.xml0000644000175000017500000000264111506367775030541 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Geometry To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ButtonReleaseEventArgs.xml0000644000175000017500000000267511506367775032047 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ButtonEvent To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/BehaviourRotate.xml0000644000175000017500000002215611506367775030553 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Behaviour To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added.To be added.To be added. Constructor0.9.0.0To be added.To be added.To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.RotateAxis To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.RotateDirection To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.0System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.0System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/KeyReleaseEventArgs.xml0000644000175000017500000000265311506367775031320 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.KeyEvent To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Script.xml0000644000175000017500000002776611506367775026730 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("filename") System.String To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("filename-set") System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.Object To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0TGLib.ObjectTo be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.List To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.String To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Script), ConnectionMethod="OverrideGetTypeFromName")GLib.GTypeTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/BehaviourDepth.xml0000644000175000017500000001266011506367775030360 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Behaviour To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("depth-end") System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("depth-start") System.Int32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/MotionEvent.xml0000644000175000017500000000467611506367775027726 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Event To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModifierType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RequestMode.xml0000644000175000017500000000270111506367775027677 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.RequestModeGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.RequestMode To be added. Field 0.9.0.01.0.0.0 Clutter.RequestMode To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/KeyPressEventHandler.xml0000644000175000017500000000150611506367775031511 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Score.xml0000644000175000017500000003667711506367775026540 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt64 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt64 To be added.To be added.To be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("completed") System.EventHandler To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Timeline To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.SList To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("loop") System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Score), ConnectionMethod="OverrideCompleted") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Score), ConnectionMethod="OverridePaused") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Score), ConnectionMethod="OverrideStarted") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Score), ConnectionMethod="OverrideTimelineCompleted") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Score), ConnectionMethod="OverrideTimelineStarted") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("paused") System.EventHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("started") System.EventHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("timeline-completed") Clutter.TimelineCompletedHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("timeline-started") Clutter.TimelineStartedHandler To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TimelineStartedArgs.xml0000644000175000017500000000266111506367775031361 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Timeline To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageRemovedHandler.xml0000644000175000017500000000150111506367775031322 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/KnotReachedHandler.xml0000644000175000017500000000147411506367775031135 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TimeoutPool.xml0000644000175000017500000000536511506367775027733 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Opaque To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TimelineDirection.xml0000644000175000017500000000271311506367775031054 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.TimelineDirectionGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.TimelineDirection To be added. Field 0.9.0.01.0.0.0 Clutter.TimelineDirection To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AnimationChain.xml0000644000175000017500000002266111506367775030333 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.AnimationChain DefaultConstructorConstraintNotNullableValueTypeConstraintSystem.ValueType To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.AnimationChain DefaultConstructorConstraintNotNullableValueTypeConstraintSystem.ValueType To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.AnimationMode To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Animation To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.AnimationChain To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.AnimationChain To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.AnimationChain To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.AnimationChain DefaultConstructorConstraintNotNullableValueTypeConstraintSystem.ValueType To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.AnimationChain To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Callback.xml0000644000175000017500000000125211506367775027136 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageManager.xml0000644000175000017500000001636611506367775030014 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.StageManager To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("default-stage") Clutter.Stage To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.SList To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.StageManager), ConnectionMethod="OverrideStageAdded") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.StageManager), ConnectionMethod="OverrideStageRemoved") System.Void To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.SListTo be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("stage-added") Clutter.StageAddedHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("stage-removed") Clutter.StageRemovedHandler To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Shader.xml0000644000175000017500000001742211506367775026656 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property0.9.0.01.0.0.0System.IntPtrTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.IntPtrTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.IntPtrTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Bezier.xml0000644000175000017500000000175211506367775026667 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Opaque To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Actor.xml0000644000175000017500000030401511506367775026515 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.InitiallyUnowned To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.Event0.9.0.01.0.0.0GLib.Signal("allocation-changed")Clutter.AllocationChangedHandlerTo be added.To be added.Property0.9.0.01.0.0.0Clutter.GeometryTo be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Gravity To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Gravity To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Animation To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Animation To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Animation To be added.To be added.To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Animation To be added.To be added.To be added. Property0.9.0.01.0.0.0Clutter.AnimationChainTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0Clutter.VertexTo be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("button-press-event") Clutter.ButtonPressEventHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("button-release-event") Clutter.ButtonReleaseEventHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("captured-event") Clutter.CapturedEventHandler To be added.To be added. Event0.9.0.01.0.0.0GLib.Signal("event")Clutter.ClutterEventHandlerTo be added.To be added. Method 0.9.0.01.0.0.0 Pango.Context To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Pango.Layout To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("destroy") System.EventHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("enter-event") Clutter.EnterEventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property0.9.0.01.0.0.0Clutter.ActorFlagsTo be added.To be added.To be added.Property0.9.0.01.0.0.0Clutter.GeometryTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.DoubleTo be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.0 System.Void To be added.To be added.To be added.To be added. Method1.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("hide") System.EventHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Property1.0.0.0System.BooleanTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.Event0.9.0.01.0.0.0GLib.Signal("key-focus-in")System.EventHandlerTo be added.To be added.Event0.9.0.01.0.0.0GLib.Signal("key-focus-out")System.EventHandlerTo be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("key-press-event") Clutter.KeyPressEventHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("key-release-event") Clutter.KeyReleaseEventHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("leave-event") Clutter.LeaveEventHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("motion-event") Clutter.MotionEventHandler To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideAllocate")System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideAllocationChanged")System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideButtonPressEvent") System.Boolean To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideButtonReleaseEvent") System.Boolean To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideCapturedEvent") System.Boolean To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideClutterEvent")System.BooleanTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideDestroyed") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideEnterEvent") System.Boolean To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideGetPreferredHeight")System.VoidTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideGetPreferredWidth")System.VoidTo be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideHidden") System.Void To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideHideAll")System.VoidTo be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideKeyFocusIn")System.VoidTo be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideKeyFocusOut")System.VoidTo be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideKeyPressEvent") System.Boolean To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideKeyReleaseEvent") System.Boolean To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideLeaveEvent") System.Boolean To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideMap")System.VoidTo be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideMotionEvent") System.Boolean To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverridePainted") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideParentSet") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverridePicked") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideRealized") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideRedrawQueued") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideScrollEvent") System.Boolean To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideShowAll")System.VoidTo be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideShown") System.Void To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideUnmap")System.VoidTo be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Actor), ConnectionMethod="OverrideUnrealized") System.Void To be added.To be added. Property 0.9.0.01.0.0.0 System.Byte To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("paint") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.Byte To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Pango.Context To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("parent-set") Clutter.ParentSetHandler To be added.To be added. Method 0.9.0.0 System.Void To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("pick") Clutter.PickedHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("realize") System.EventHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("queue-redraw") Clutter.RedrawQueuedHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Gravity To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("scroll-event") Clutter.ScrollEventHandler To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Shader To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("show") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("unrealize") System.EventHandler To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Gravity To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/BindingPool.xml0000644000175000017500000002204211506367775027646 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.BindingPool To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.String To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.BindingPool To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RemovedHandler.xml0000644000175000017500000000145011506367775030341 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Clone.xml0000644000175000017500000000604111506367775026503 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Actor To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/InputDevice.xml0000644000175000017500000000342711506367775027667 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Opaque To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property1.0.0.0System.Int32To be added.To be added.To be added.Property1.0.0.0Clutter.InputDeviceTypeTo be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Group.xml0000644000175000017500000004200711506367775026541 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Actor Clutter.Container System.Collections.Generic.IEnumerable<Clutter.Actor> To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("actor-added") Clutter.ActorAddedHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("actor-removed") Clutter.ActorRemovedHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("child-notify") Clutter.ChildNotifyHandler To be added.To be added. Property 0.9.0.01.0.0.0 GLib.List To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ChildMeta To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.Diagnostics.DebuggerHiddenSystem.Collections.Generic.IEnumerator<Clutter.Actor>To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Group), ConnectionMethod="OverrideActorAdded") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Group), ConnectionMethod="OverrideActorRemoved") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Group), ConnectionMethod="OverrideChildNotify") System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method0.9.0.01.0.0.0System.Collections.IEnumeratorTo be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/PickedArgs.xml0000644000175000017500000000260111506367775027455 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Color To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/CursorEventHandler.xml0000644000175000017500000000147411506367775031225 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/FeatureFlags.xml0000644000175000017500000001143211506367775030013 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.FeatureFlagsGType)) System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FeatureFlags To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ProgressFunc.xml0000644000175000017500000000201711506367775030062 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ModelIter.xml0000644000175000017500000003417511506367775027340 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ModelIter To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Model To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ModelIter To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.ModelIter), ConnectionMethod="OverrideCopy")Clutter.ModelIterTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.ModelIter), ConnectionMethod="OverrideGetModel")Clutter.ModelTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.ModelIter), ConnectionMethod="OverrideGetRow")System.UInt32To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.ModelIter), ConnectionMethod="OverrideGetValue")System.VoidTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.ModelIter), ConnectionMethod="OverrideIsFirst")System.BooleanTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.ModelIter), ConnectionMethod="OverrideIsLast")System.BooleanTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.ModelIter), ConnectionMethod="OverrideNext")Clutter.ModelIterTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.ModelIter), ConnectionMethod="OverridePrev")Clutter.ModelIterTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.ModelIter), ConnectionMethod="OverrideSetValue")System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ModelIter To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ParentSetHandler.xml0000644000175000017500000000146211506367775030650 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ActorAddedHandler.xml0000644000175000017500000000146711506367775030742 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Texture.xml0000644000175000017500000005677611506367775027127 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Actor Clutter.Scriptable To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property0.9.0.01.0.0.0GLib.Property("cogl-material")System.IntPtrTo be added.To be added.To be added.Property0.9.0.01.0.0.0GLib.Property("cogl-texture")System.IntPtrTo be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("disable-slicing") System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("filename") System.String To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("filter-quality") Clutter.TextureQuality To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("keep-aspect-ratio") System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("load-async") System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("load-data-async") System.Boolean To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("load-finished") Clutter.LoadFinishedHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Texture), ConnectionMethod="OverrideLoadFinished") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Texture), ConnectionMethod="OverridePixbufChange") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Texture), ConnectionMethod="OverrideSizeChange") System.Void To be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("pixbuf-change") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("pixel-format") Cogl.PixelFormat To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("repeat-x") System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("repeat-y") System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("size-change") Clutter.SizeChangeHandler To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("sync-size") System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("tile-waste") System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Grab.xml0000644000175000017500000000530711506367775026322 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ButtonPressEventHandler.xml0000644000175000017500000000152511506367775032235 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ContainerImplementor.xml0000644000175000017500000001010011506367775031570 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper GLib.GInterface(typeof(Clutter.ContainerAdapter)) To be added. To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ChildMeta To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/MediaAdapter.xml0000644000175000017500000002152511506367775027767 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.GInterfaceAdapter Clutter.Media To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("eos") System.EventHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("error") Clutter.ErrorHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Media To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Media To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.MediaImplementor To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageAddedHandler.xml0000644000175000017500000000146711506367775030735 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RowAddedHandler.xml0000644000175000017500000000145511506367775030436 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/EventType.xml0000644000175000017500000001344111506367775027370 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.EventTypeGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. Field 0.9.0.01.0.0.0 Clutter.EventType To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Behaviour.xml0000644000175000017500000002543111506367775027373 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.SList To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("alpha") Clutter.Alpha To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("applied") Clutter.AppliedHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Behaviour), ConnectionMethod="OverrideAlphaNotify")System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Behaviour), ConnectionMethod="OverrideApplied") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Behaviour), ConnectionMethod="OverrideRemoved") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("removed") Clutter.RemovedHandler To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/PathNode.xml0000644000175000017500000001142111506367775027143 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.PathNode To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.Value To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.PathNode To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.Knot[] To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.PathNodeType To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.PathNode To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ChildNotifyHandler.xml0000644000175000017500000000147411506367775031162 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ButtonEvent.xml0000644000175000017500000000661611506367775027730 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Event To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModifierType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ChildMeta.xml0000644000175000017500000000666011506367775027304 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Container To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ShaderMatrix.xml0000644000175000017500000000275211506367775030043 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Opaque To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageWindow.xml0000644000175000017500000000104411506367775027674 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Param.xml0000644000175000017500000000451311506367775026505 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.GTypeTo be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/EventHelper.xml0000644000175000017500000003453011506367775027670 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Event To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Event To be added.To be added.To be added. Method1.0.0.0System.UInt32To be added.To be added.To be added.To be added.Method1.0.0.0System.UInt32To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.Method1.0.0.0Clutter.InputDeviceTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. Method1.0.0.0Clutter.InputDeviceTypeTo be added.To be added.To be added.To be added.Method1.0.0.0Clutter.EventFlagsTo be added.To be added.To be added.To be added.Method1.0.0.0System.UInt16To be added.To be added.To be added.To be added.Method1.0.0.0System.UInt32To be added.To be added.To be added.To be added.Method1.0.0.0System.UInt32To be added.To be added.To be added.To be added.Method1.0.0.0Clutter.ActorTo be added.To be added.To be added.To be added.Method1.0.0.0Clutter.ScrollDirectionTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Stage To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ModifierType To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Event To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Event To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.EventType To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Threads.xml0000644000175000017500000001743311506367775027044 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.UInt32To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RotateAxis.xml0000644000175000017500000000315011506367775027524 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.RotateAxisGType)) To be added. To be added. Field0.9.0.01.0.0.0Clutter.RotateAxisTo be added.Field0.9.0.01.0.0.0Clutter.RotateAxisTo be added.Field0.9.0.01.0.0.0Clutter.RotateAxisTo be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ChildNotifyArgs.xml0000644000175000017500000000356511506367775030504 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ClutterEventHandler.xml0000644000175000017500000000150111506367775031361 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Ungrab.xml0000644000175000017500000000457111506367775026667 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ClutterEventArgs.xml0000644000175000017500000000263111506367775030705 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Event To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/MarkerReachedHandler.xml0000644000175000017500000000150611506367775031437 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ActorBox.xml0000644000175000017500000003200411506367775027162 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Constructor0.9.0.01.0.0.0To be added.To be added.To be added.To be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.Property0.9.0.01.0.0.0Clutter.ActorBoxTo be added.To be added.To be added.Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0Clutter.ActorBoxTo be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ActorBox To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.Value To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ActorBox To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added.Property0.9.0.01.0.0.0System.SingleTo be added.To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.ActorBox To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ShaderInt.xml0000644000175000017500000000273611506367775027333 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Opaque To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ModelSortFunc.xml0000644000175000017500000000162711506367775030174 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Global.xml0000644000175000017500000003111311506367775026641 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Backend To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.FontFlags To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Pango.FontMap To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.InputDevice To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.String To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt64 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/CapturedEventHandler.xml0000644000175000017500000000150611506367775031513 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/KeyReleaseEventHandler.xml0000644000175000017500000000152011506367775031771 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Container.xml0000644000175000017500000002260611506367775027372 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper To be added. To be added. Event 0.9.0.01.0.0.0 Clutter.ActorAddedHandler To be added.To be added. Event 0.9.0.01.0.0.0 Clutter.ActorRemovedHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 Clutter.ChildNotifyHandler To be added.To be added. Property 0.9.0.01.0.0.0 GLib.List To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ChildMeta To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Frame.xml0000644000175000017500000000461411506367775026501 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AppliedHandler.xml0000644000175000017500000000145011506367775030316 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Media.xml0000644000175000017500000001237011506367775026464 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper To be added. To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Event 0.9.0.01.0.0.0 System.EventHandler To be added.To be added. Event 0.9.0.01.0.0.0 Clutter.ErrorHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Double To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/NewFrameHandler.xml0000644000175000017500000000145511506367775030451 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TimelineCompletedArgs.xml0000644000175000017500000000267111506367775031670 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Timeline To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/FontFlags.xml0000644000175000017500000000276211506367775027334 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.FontFlagsGType)) System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.FontFlags To be added. Field 0.9.0.01.0.0.0 Clutter.FontFlags To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageStateEvent.xml0000644000175000017500000000402011506367775030504 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Event To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.StageState To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.StageState To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AllocationFlags.xml0000644000175000017500000000275611506367775030516 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.AllocationFlagsGType)) System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.AllocationFlags To be added. Field0.9.0.01.0.0.0Clutter.AllocationFlagsTo be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ModelFilterFunc.xml0000644000175000017500000000152511506367775030467 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Boolean To be added. To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/KeyEvent.xml0000644000175000017500000000571511506367775027204 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Event To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt16 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModifierType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Char To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/MotionEventHandler.xml0000644000175000017500000000147411506367775031215 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/BehaviourScale.xml0000644000175000017500000001725611506367775030351 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Behaviour To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added.To be added.To be added. Constructor0.9.0.0To be added.To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method0.9.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added.To be added. Method0.9.0.0System.VoidTo be added.To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Knot.xml0000644000175000017500000001234211506367775026357 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Knot To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.Value To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Knot To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 To be added.To be added. Field 0.9.0.01.0.0.0 System.Int32 To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.Knot To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Timeout.xml0000644000175000017500000000234211506367775027071 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RemovedArgs.xml0000644000175000017500000000260511506367775027663 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/KeyPressEventArgs.xml0000644000175000017500000000264311506367775031033 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.KeyEvent To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/PickedHandler.xml0000644000175000017500000000144311506367775030141 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Rectangle.xml0000644000175000017500000001337111506367775027353 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Actor To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("border-width") System.UInt32 To be added.To be added.To be added. Property0.9.0.01.0.0.0Clutter.ColorTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.Property("has-border") System.Boolean To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RotateDirection.xml0000644000175000017500000000265311506367775030547 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.RotateDirectionGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.RotateDirection To be added. Field 0.9.0.01.0.0.0 Clutter.RotateDirection To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ErrorHandler.xml0000644000175000017500000000143611506367775030035 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RedrawQueuedHandler.xml0000644000175000017500000000150111506367775031332 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/LoadFinishedArgs.xml0000644000175000017500000000262211506367775030612 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ParentSetArgs.xml0000644000175000017500000000262511506367775030171 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ActorFlags.xml0000644000175000017500000000434111506367775027471 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.ActorFlagsGType)) System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.ActorFlags To be added. Field 0.9.0.01.0.0.0 Clutter.ActorFlags To be added. Field 0.9.0.01.0.0.0 Clutter.ActorFlags To be added. Field0.9.0.01.0.0.0Clutter.ActorFlagsTo be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ScriptableImplementor.xml0000644000175000017500000000375511506367775031760 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper GLib.GInterface(typeof(Clutter.ScriptableAdapter)) To be added. To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/CapturedEventArgs.xml0000644000175000017500000000263511506367775031036 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Event To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ScrollEvent.xml0000644000175000017500000000570611506367775027712 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Event To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ScrollDirection To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModifierType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Interval.xml0000644000175000017500000002524511506367775027236 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.InitiallyUnowned To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Interval To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Interval), ConnectionMethod="OverrideComputeValue")System.BooleanTo be added.To be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Interval), ConnectionMethod="OverrideValidate")System.BooleanTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.Value To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.Value To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ModifierType.xml0000644000175000017500000001771211506367775030052 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.ModifierTypeGType)) System.Flags To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. Field 0.9.0.01.0.0.0 Clutter.ModifierType To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Vertex.xml0000644000175000017500000001407411506367775026725 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Opaque To be added. To be added. Constructor1.0.0.0To be added.To be added.To be added.Constructor1.0.0.0To be added.To be added.To be added.To be added.To be added.Method1.0.0.0Clutter.VertexTo be added.To be added.To be added.Method1.0.0.0System.BooleanTo be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.0 Clutter.Vertex To be added.To be added.To be added.To be added. Method 0.9.0.0 GLib.Value To be added.To be added.To be added.To be added. Method 0.9.0.0 Clutter.Vertex To be added.To be added.To be added.To be added. Field 0.9.0.0 System.Single To be added.To be added. Field 0.9.0.0 System.Single To be added.To be added. Field 0.9.0.0 System.Single To be added.To be added. Field 0.9.0.0 Clutter.Vertex To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Model.xml0000644000175000017500000006643111506367775026514 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModelFilterFunc To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("filter-changed") System.EventHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModelIter To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.String To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ModelIter To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModelIter To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String[] To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideFilterChanged") System.Void To be added.To be added. Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideGetColumnName")System.StringTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideGetColumnType")GLib.GTypeTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideGetIterAtRow")Clutter.ModelIterTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideGetNColumns")System.UInt32To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideGetNRows")System.UInt32To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideInsertRow")Clutter.ModelIterTo be added.To be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideRemoveRow")System.VoidTo be added.To be added.To be added.Method0.9.0.01.0.0.0GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideResort")System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideRowAdded") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideRowChanged") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideRowRemoved") System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.Model), ConnectionMethod="OverrideSortChanged") System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("row-added") Clutter.RowAddedHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("row-changed") Clutter.RowChangedHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("row-removed") Clutter.RowRemovedHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("sort-changed") System.EventHandler To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Gravity.xml0000644000175000017500000001102111506367775027062 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.GravityGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. Field 0.9.0.01.0.0.0 Clutter.Gravity To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Application+X11.xml0000644000175000017500000000313311506367775030252 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/PathCallback.xml0000644000175000017500000000127111506367775027754 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TimeoutInterval.xml0000644000175000017500000000562511506367775030605 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.ValueType To be added. To be added. Field 0.9.0.01.0.0.0 System.UInt32 To be added.To be added. Field 0.9.0.01.0.0.0 System.UInt32 To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.TimeoutInterval To be added.To be added.To be added.To be added. Field 0.9.0.01.0.0.0 System.IntPtr To be added.To be added. Field 0.9.0.01.0.0.0 Clutter.TimeoutInterval To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/MarkerReachedArgs.xml0000644000175000017500000000360211506367775030755 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/TextureQuality.xml0000644000175000017500000000350011506367775030451 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.TextureQualityGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.TextureQuality To be added. Field 0.9.0.01.0.0.0 Clutter.TextureQuality To be added. Field 0.9.0.01.0.0.0 Clutter.TextureQuality To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/MasterClock.xml0000644000175000017500000000473611506367775027663 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/SizeChangeArgs.xml0000644000175000017500000000354411506367775030305 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Value.xml0000644000175000017500000002137111506367775026522 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Color To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.Int32To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.Int32To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0Clutter.UnitsTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Int32 To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Single To be added.To be added.To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/LoadFinishedHandler.xml0000644000175000017500000000150111506367775031266 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/AnimationMode.xml0000644000175000017500000003413511506367775030174 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.AnimationModeGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. Field 0.9.0.01.0.0.0 Clutter.AnimationMode To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ScrollEventHandler.xml0000644000175000017500000000147411506367775031206 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RowChangedHandler.xml0000644000175000017500000000146711506367775030771 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ActorAddedArgs.xml0000644000175000017500000000262111506367775030252 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ErrorArgs.xml0000644000175000017500000000256611506367775027361 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 System.IntPtr To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ScriptableAdapter.xml0000644000175000017500000001240011506367775031030 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.GInterfaceAdapter Clutter.Scriptable To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Scriptable To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Scriptable To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ScriptableImplementor To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/MotionEventArgs.xml0000644000175000017500000000264111506367775030531 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.MotionEvent To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/UnitType.xml0000644000175000017500000000423511506367775027227 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.UnitTypeGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.UnitType To be added. Field 0.9.0.01.0.0.0 Clutter.UnitType To be added. Field 0.9.0.01.0.0.0 Clutter.UnitType To be added. Field 0.9.0.01.0.0.0 Clutter.UnitType To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/InitError.xml0000644000175000017500000000517711506367775027371 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.InitErrorGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.InitError To be added. Field 0.9.0.01.0.0.0 Clutter.InitError To be added. Field 0.9.0.01.0.0.0 Clutter.InitError To be added. Field 0.9.0.01.0.0.0 Clutter.InitError To be added. Field 0.9.0.01.0.0.0 Clutter.InitError To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ShaderError.xml0000644000175000017500000000346511506367775027672 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Enum GLib.GType(typeof(Clutter.ShaderErrorGType)) To be added. To be added. Field 0.9.0.01.0.0.0 Clutter.ShaderError To be added. Field 0.9.0.01.0.0.0 Clutter.ShaderError To be added. Field 0.9.0.01.0.0.0 Clutter.ShaderError To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RowChangedArgs.xml0000644000175000017500000000262711506367775030307 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModelIter To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/BindingActionFunc.xml0000644000175000017500000000215111506367775030765 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/ContainerAdapter.xml0000644000175000017500000003223011506367775030665 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.GInterfaceAdapter Clutter.Container To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("actor-added") Clutter.ActorAddedHandler To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("actor-removed") Clutter.ActorRemovedHandler To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("child-notify") Clutter.ChildNotifyHandler To be added.To be added. Property 0.9.0.01.0.0.0 GLib.List To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Actor To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method0.9.0.01.0.0.0System.VoidTo be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.ChildMeta To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Container To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 Clutter.Container To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ContainerImplementor To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/KnotReachedArgs.xml0000644000175000017500000000262011506367775030446 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 System.UInt32 To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Animatable.xml0000644000175000017500000000330211506367775027475 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.IWrapper To be added. To be added. Method0.9.0.01.0.0.0System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RowRemovedHandler.xml0000644000175000017500000000146711506367775031041 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/BehaviourPath.xml0000644000175000017500000001637211506367775030214 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 Clutter.Behaviour Clutter.Scriptable To be added. To be added. Constructor 0.9.0.01.0.0.0 System.Obsolete To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added.To be added.To be added.To be added. Property 0.9.0.01.0.0.0 GLib.GType To be added.To be added.To be added. Property 0.9.0.01.0.0.0 System.String To be added.To be added.To be added. Event 0.9.0.01.0.0.0 GLib.Signal("knot-reached") Clutter.KnotReachedHandler To be added.To be added. Method 0.9.0.01.0.0.0 GLib.DefaultSignalHandler(Type=typeof(Clutter.BehaviourPath), ConnectionMethod="OverrideKnotReached") System.Void To be added.To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Path To be added.To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/LeaveEventArgs.xml0000644000175000017500000000264111506367775030320 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.CrossingEvent To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/RowAddedArgs.xml0000644000175000017500000000261711506367775027756 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.ModelIter To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Application.xml0000644000175000017500000000454411506367775027714 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. Method 0.9.0.01.0.0.0 System.Void To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/Source.xml0000644000175000017500000000212311506367775026700 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. Method 0.9.0.01.0.0.0 System.Boolean To be added.To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Clutter/StageRemovedArgs.xml0000644000175000017500000000263111506367775030646 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 GLib.SignalArgs To be added. To be added. Constructor 0.9.0.01.0.0.0 To be added.To be added. Property 0.9.0.01.0.0.0 Clutter.Stage To be added.To be added.To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/en/Patch.xml0000644000175000017500000000073511506367775025064 0ustar00hyperairhyperair00000000000000 clutter-sharp 0.9.0.0 1.0.0.0 System.Object To be added. To be added. clutter-sharp-1.0.0alpha3/docs/clutter-sharp/Makefile.am0000644000175000017500000000020211506367775024722 0ustar00hyperairhyperair00000000000000DOC_PACKAGE = clutter-sharp-docs DOC_ASSEMBLIES = $(top_builddir)/clutter/clutter-sharp.dll include $(top_srcdir)/docs/monodoc.mk clutter-sharp-1.0.0alpha3/docs/monodoc.mk0000644000175000017500000000167511506367775022077 0ustar00hyperairhyperair00000000000000DOC_UPDATER = @MONODOCER@ -delete DOC_ASSEMBLER = @MDASSEMBLER@ --out $(DOC_PACKAGE) --ecma ASSEMBLIES_BUILD = $(foreach asm,$(DOC_ASSEMBLIES),$(addprefix -assembly:,$(asm))) if BUILD_DOCS monodocdir = $(DOCDIR) monodoc_DATA = \ $(DOC_PACKAGE).zip \ $(DOC_PACKAGE).tree \ $(DOC_PACKAGE).source $(DOC_PACKAGE).tree: $(DOC_PACKAGE).zip $(DOC_PACKAGE).zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml $(DOC_ASSEMBLER) $(srcdir)/en update-docs: $(ASSEMBLIES) $(DOC_UPDATER) $(ASSEMBLIES_BUILD) -path:en/ update-git: @for remove in $$(find en -name \*.xml.remove); do \ git rm $${remove%.remove}; \ rm $$remove; \ done; \ find en -name \*.xml -exec git add {} \; ; \ git status endif merge: monodoc --merge-changes $$HOME/.config/monodoc/changeset.xml . EXTRA_DIST = \ $(srcdir)/en/*/*.xml \ $(srcdir)/en/*.xml \ $(DOC_PACKAGE).source DISTCLEANFILES = \ $(DOC_PACKAGE).zip \ $(DOC_PACKAGE).tree MAINTAINERCLEANFILES = \ Makefile.in clutter-sharp-1.0.0alpha3/docs/Makefile.am0000644000175000017500000000015511506367775022134 0ustar00hyperairhyperair00000000000000SUBDIRS = \ clutter-sharp \ clutter-gtk-sharp EXTRA_DIST = monodoc.mk MAINTAINERCLEANFILES = Makefile.in clutter-sharp-1.0.0alpha3/configure0000755000175000017500000040425511506371321021046 0ustar00hyperairhyperair00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.67 for clutter-sharp 1.0.0alpha3. # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software # Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='clutter-sharp' PACKAGE_TARNAME='clutter-sharp' PACKAGE_VERSION='1.0.0alpha3' PACKAGE_STRING='clutter-sharp 1.0.0alpha3' PACKAGE_BUGREPORT='' PACKAGE_URL='' ac_unique_file="README" ac_subst_vars='LTLIBOBJS LIBOBJS BUILD_DOCS_FALSE BUILD_DOCS_TRUE DOCDIR MDASSEMBLER MONODOCER CLUTTER_GTK_API_VERSION CLUTTER_BACKEND CLUTTER_API_VERSION ENABLE_GTK_FALSE ENABLE_GTK_TRUE CLUTTER_GTK_LIBS CLUTTER_GTK_CFLAGS CLUTTER_LIBS CLUTTER_CFLAGS GTKSHARP_LIBS GTKSHARP_CFLAGS GAPI_CODEGEN GAPI_PARSER GAPI_FIXUP MCS MONO MONO_RUNTIME_LIBS MONO_RUNTIME_CFLAGS ASSEMBLY_VERSION DISTCHECK_CONFIGURE_FLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_os target_vendor target_cpu target host_os host_vendor host_cpu host build_os build_vendor build_cpu build target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode enable_docs ' ac_precious_vars='build_alias host_alias target_alias PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR MONO_RUNTIME_CFLAGS MONO_RUNTIME_LIBS GTKSHARP_CFLAGS GTKSHARP_LIBS CLUTTER_CFLAGS CLUTTER_LIBS CLUTTER_GTK_CFLAGS CLUTTER_GTK_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures clutter-sharp 1.0.0alpha3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/clutter-sharp] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of clutter-sharp 1.0.0alpha3:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-docs Do not build documentation Some influential environment variables: PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path MONO_RUNTIME_CFLAGS C compiler flags for MONO_RUNTIME, overriding pkg-config MONO_RUNTIME_LIBS linker flags for MONO_RUNTIME, overriding pkg-config GTKSHARP_CFLAGS C compiler flags for GTKSHARP, overriding pkg-config GTKSHARP_LIBS linker flags for GTKSHARP, overriding pkg-config CLUTTER_CFLAGS C compiler flags for CLUTTER, overriding pkg-config CLUTTER_LIBS linker flags for CLUTTER, overriding pkg-config CLUTTER_GTK_CFLAGS C compiler flags for CLUTTER_GTK, overriding pkg-config CLUTTER_GTK_LIBS linker flags for CLUTTER_GTK, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF clutter-sharp configure 1.0.0alpha3 generated by GNU Autoconf 2.67 Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by clutter-sharp $as_me 1.0.0alpha3, which was generated by GNU Autoconf 2.67. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5 ; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if test "${ac_cv_build+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if test "${ac_cv_host+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 $as_echo_n "checking target system type... " >&6; } if test "${ac_cv_target+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "x$target_alias" = x; then ac_cv_target=$ac_cv_host else ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 $as_echo "$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; esac target=$ac_cv_target ac_save_IFS=$IFS; IFS='-' set x $ac_cv_target shift target_cpu=$1 target_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: target_os=$* IFS=$ac_save_IFS case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- am__api_version='1.11' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if test "${ac_cv_path_mkdir+set}" = set; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='clutter-sharp' VERSION='1.0.0alpha3' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 $as_echo_n "checking how to create a ustar tar archive... " >&6; } # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar plaintar pax cpio none' _am_tools=${am_cv_prog_tar_ustar-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do { echo "$as_me:$LINENO: $_am_tar --version" >&5 ($_am_tar --version) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && break done am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x ustar -w "$$tardir"' am__tar_='pax -L -x ustar -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H ustar -L' am__tar_='find "$tardir" -print | cpio -o -H ustar -L' am__untar='cpio -i -H ustar -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_ustar}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } rm -rf conftest.dir if test -s conftest.tar; then { echo "$as_me:$LINENO: $am__untar &5 ($am__untar &5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } grep GrepMe conftest.dir/file >/dev/null 2>&1 && break fi done rm -rf conftest.dir if test "${am_cv_prog_tar_ustar+set}" = set; then : $as_echo_n "(cached) " >&6 else am_cv_prog_tar_ustar=$_am_tool fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 $as_echo "$am_cv_prog_tar_ustar" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi DISTCHECK_CONFIGURE_FLAGS="--disable-docs" ASSEMBLY_VERSION=1.0.0.0 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_RUNTIME" >&5 $as_echo_n "checking for MONO_RUNTIME... " >&6; } if test -n "$MONO_RUNTIME_CFLAGS"; then pkg_cv_MONO_RUNTIME_CFLAGS="$MONO_RUNTIME_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= 2.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono >= 2.4") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_RUNTIME_CFLAGS=`$PKG_CONFIG --cflags "mono >= 2.4" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MONO_RUNTIME_LIBS"; then pkg_cv_MONO_RUNTIME_LIBS="$MONO_RUNTIME_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= 2.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono >= 2.4") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_RUNTIME_LIBS=`$PKG_CONFIG --libs "mono >= 2.4" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_RUNTIME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mono >= 2.4" 2>&1` else MONO_RUNTIME_PKG_ERRORS=`$PKG_CONFIG --print-errors "mono >= 2.4" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MONO_RUNTIME_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (mono >= 2.4) were not met: $MONO_RUNTIME_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables MONO_RUNTIME_CFLAGS and MONO_RUNTIME_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables MONO_RUNTIME_CFLAGS and MONO_RUNTIME_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5 ; } else MONO_RUNTIME_CFLAGS=$pkg_cv_MONO_RUNTIME_CFLAGS MONO_RUNTIME_LIBS=$pkg_cv_MONO_RUNTIME_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Extract the first word of "mono", so it can be a program name with args. set dummy mono; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MONO+set}" = set; then : $as_echo_n "(cached) " >&6 else case $MONO in [\\/]* | ?:[\\/]*) ac_cv_path_MONO="$MONO" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MONO="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_MONO" && ac_cv_path_MONO="no" ;; esac fi MONO=$ac_cv_path_MONO if test -n "$MONO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONO" >&5 $as_echo "$MONO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$MONO" = "xno"; then as_fn_error $? "Cannot find the \"mono\" runtime in your PATH" "$LINENO" 5 fi # Extract the first word of "gmcs", so it can be a program name with args. set dummy gmcs; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MCS+set}" = set; then : $as_echo_n "(cached) " >&6 else case $MCS in [\\/]* | ?:[\\/]*) ac_cv_path_MCS="$MCS" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_MCS" && ac_cv_path_MCS="no" ;; esac fi MCS=$ac_cv_path_MCS if test -n "$MCS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCS" >&5 $as_echo "$MCS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$MCS" = "xno"; then as_fn_error $? "Cannot find the \"gmcs\" compiler in your PATH" "$LINENO" 5 fi #PKG_CHECK_MODULES(GAPI, gapi-2.0 >= 2.12.9) #AC_PATH_PROG(GAPI_PARSER, gapi2-parser, no) #AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) #AC_PATH_PROG(GAPI_CODEGEN, gapi2-codegen, no) GAPI_FIXUP="mono \$(top_builddir)/gapi/parser/gapi-fixup.exe" GAPI_PARSER="mono \$(top_builddir)/gapi/parser/gapi-parser.exe \$(top_srcdir)/gapi/parser/" GAPI_CODEGEN="mono \$(top_builddir)/gapi/generator/gapi_codegen.exe" pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKSHARP" >&5 $as_echo_n "checking for GTKSHARP... " >&6; } if test -n "$GTKSHARP_CFLAGS"; then pkg_cv_GTKSHARP_CFLAGS="$GTKSHARP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= 2.12.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0 >= 2.12.1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTKSHARP_CFLAGS=`$PKG_CONFIG --cflags "gtk-sharp-2.0 >= 2.12.1" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTKSHARP_LIBS"; then pkg_cv_GTKSHARP_LIBS="$GTKSHARP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= 2.12.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0 >= 2.12.1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTKSHARP_LIBS=`$PKG_CONFIG --libs "gtk-sharp-2.0 >= 2.12.1" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTKSHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk-sharp-2.0 >= 2.12.1" 2>&1` else GTKSHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk-sharp-2.0 >= 2.12.1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTKSHARP_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk-sharp-2.0 >= 2.12.1) were not met: $GTKSHARP_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTKSHARP_CFLAGS and GTKSHARP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTKSHARP_CFLAGS and GTKSHARP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5 ; } else GTKSHARP_CFLAGS=$pkg_cv_GTKSHARP_CFLAGS GTKSHARP_LIBS=$pkg_cv_GTKSHARP_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5 $as_echo_n "checking for CLUTTER... " >&6; } if test -n "$CLUTTER_CFLAGS"; then pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0.1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= 1.0.1" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$CLUTTER_LIBS"; then pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0.1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= 1.0.1" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "clutter-1.0 >= 1.0.1" 2>&1` else CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors "clutter-1.0 >= 1.0.1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$CLUTTER_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (clutter-1.0 >= 1.0.1) were not met: $CLUTTER_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables CLUTTER_CFLAGS and CLUTTER_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables CLUTTER_CFLAGS and CLUTTER_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5 ; } else CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_GTK" >&5 $as_echo_n "checking for CLUTTER_GTK... " >&6; } if test -n "$CLUTTER_GTK_CFLAGS"; then pkg_cv_CLUTTER_GTK_CFLAGS="$CLUTTER_GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10 >= 0.10.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10 >= 0.10.3") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CLUTTER_GTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-0.10 >= 0.10.3" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$CLUTTER_GTK_LIBS"; then pkg_cv_CLUTTER_GTK_LIBS="$CLUTTER_GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10 >= 0.10.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10 >= 0.10.3") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CLUTTER_GTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-0.10 >= 0.10.3" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "clutter-gtk-0.10 >= 0.10.3" 2>&1` else CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "clutter-gtk-0.10 >= 0.10.3" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$CLUTTER_GTK_PKG_ERRORS" >&5 enable_gtk=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } enable_gtk=no else CLUTTER_GTK_CFLAGS=$pkg_cv_CLUTTER_GTK_CFLAGS CLUTTER_GTK_LIBS=$pkg_cv_CLUTTER_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } enable_gtk=yes fi if test "x$enable_gtk" = "xyes"; then ENABLE_GTK_TRUE= ENABLE_GTK_FALSE='#' else ENABLE_GTK_TRUE='#' ENABLE_GTK_FALSE= fi CLUTTER_API_VERSION=$(pkg-config --variable apiversion clutter-1.0) CLUTTER_GTK_API_VERSION=$(pkg-config --variable apiversion clutter-gtk-0.10) CLUTTER_BACKEND=$(pkg-config --variable backend clutter-1.0) # Check whether --enable-docs was given. if test "${enable_docs+set}" = set; then : enableval=$enable_docs; enable_docs=no else enable_docs=yes fi if test "x$enable_docs" = "xyes"; then # Extract the first word of "monodocer", so it can be a program name with args. set dummy monodocer; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MONODOCER+set}" = set; then : $as_echo_n "(cached) " >&6 else case $MONODOCER in [\\/]* | ?:[\\/]*) ac_cv_path_MONODOCER="$MONODOCER" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MONODOCER="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_MONODOCER" && ac_cv_path_MONODOCER="no" ;; esac fi MONODOCER=$ac_cv_path_MONODOCER if test -n "$MONODOCER"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONODOCER" >&5 $as_echo "$MONODOCER" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$MONODOCER" = "xno"; then as_fn_error $? "You need to install monodoc, or pass --disable-docs to configure to skip documentation installation" "$LINENO" 5 fi # Extract the first word of "mdassembler", so it can be a program name with args. set dummy mdassembler; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MDASSEMBLER+set}" = set; then : $as_echo_n "(cached) " >&6 else case $MDASSEMBLER in [\\/]* | ?:[\\/]*) ac_cv_path_MDASSEMBLER="$MDASSEMBLER" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MDASSEMBLER="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_MDASSEMBLER" && ac_cv_path_MDASSEMBLER="no" ;; esac fi MDASSEMBLER=$ac_cv_path_MDASSEMBLER if test -n "$MDASSEMBLER"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MDASSEMBLER" >&5 $as_echo "$MDASSEMBLER" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$MDASSEMBLER" = "xno"; then as_fn_error $? "You need to install mdassembler, or pass --disable-docs to configure to skip documentation installation" "$LINENO" 5 fi DOCDIR=`$PKG_CONFIG monodoc --variable=sourcesdir` if true; then BUILD_DOCS_TRUE= BUILD_DOCS_FALSE='#' else BUILD_DOCS_TRUE='#' BUILD_DOCS_FALSE= fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not building ${PACKAGE} API documentation" >&5 $as_echo "$as_me: not building ${PACKAGE} API documentation" >&6;} if false; then BUILD_DOCS_TRUE= BUILD_DOCS_FALSE='#' else BUILD_DOCS_TRUE='#' BUILD_DOCS_FALSE= fi fi ac_config_files="$ac_config_files Makefile build/Makefile docs/Makefile docs/clutter-sharp/Makefile docs/clutter-gtk-sharp/Makefile gapi/Makefile gapi/parser/Makefile gapi/generator/Makefile glib/Makefile clutter/Makefile clutter/AssemblyInfo.cs clutter/clutter-sharp.pc clutter/clutter-sharp.dll.config clutter/Clutter/Makefile clutter/Cogl/Makefile clutter-gtk/Makefile clutter-gtk/clutter-gtk-sharp.pc clutter-gtk/clutter-gtk-sharp.dll.config clutter-gtk/AssemblyInfo.cs examples/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' :mline /\\$/{ N s,\\\n,, b mline } t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_GTK_TRUE}" && test -z "${ENABLE_GTK_FALSE}"; then as_fn_error $? "conditional \"ENABLE_GTK\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then as_fn_error $? "conditional \"BUILD_DOCS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then as_fn_error $? "conditional \"BUILD_DOCS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by clutter-sharp $as_me 1.0.0alpha3, which was generated by GNU Autoconf 2.67. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Report bugs to the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ clutter-sharp config.status 1.0.0alpha3 configured by $0, generated by GNU Autoconf 2.67, with options \\"\$ac_cs_config\\" Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;; "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; "docs/clutter-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES docs/clutter-sharp/Makefile" ;; "docs/clutter-gtk-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES docs/clutter-gtk-sharp/Makefile" ;; "gapi/Makefile") CONFIG_FILES="$CONFIG_FILES gapi/Makefile" ;; "gapi/parser/Makefile") CONFIG_FILES="$CONFIG_FILES gapi/parser/Makefile" ;; "gapi/generator/Makefile") CONFIG_FILES="$CONFIG_FILES gapi/generator/Makefile" ;; "glib/Makefile") CONFIG_FILES="$CONFIG_FILES glib/Makefile" ;; "clutter/Makefile") CONFIG_FILES="$CONFIG_FILES clutter/Makefile" ;; "clutter/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES clutter/AssemblyInfo.cs" ;; "clutter/clutter-sharp.pc") CONFIG_FILES="$CONFIG_FILES clutter/clutter-sharp.pc" ;; "clutter/clutter-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES clutter/clutter-sharp.dll.config" ;; "clutter/Clutter/Makefile") CONFIG_FILES="$CONFIG_FILES clutter/Clutter/Makefile" ;; "clutter/Cogl/Makefile") CONFIG_FILES="$CONFIG_FILES clutter/Cogl/Makefile" ;; "clutter-gtk/Makefile") CONFIG_FILES="$CONFIG_FILES clutter-gtk/Makefile" ;; "clutter-gtk/clutter-gtk-sharp.pc") CONFIG_FILES="$CONFIG_FILES clutter-gtk/clutter-gtk-sharp.pc" ;; "clutter-gtk/clutter-gtk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES clutter-gtk/clutter-gtk-sharp.dll.config" ;; "clutter-gtk/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES clutter-gtk/AssemblyInfo.cs" ;; "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" eval set X " :F $CONFIG_FILES " shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi cat </dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @$(am__cd) '$(distuninstallcheck_dir)' \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ distclean distclean-generic distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/COPYING0000644000175000017500000000203411506367775020201 0ustar00hyperairhyperair00000000000000Copyright 2009 Novell, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. clutter-sharp-1.0.0alpha3/clutter/0000755000175000017500000000000011506372235020614 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/clutter/clutter-sharp.dll.config.in0000644000175000017500000000045011506367775025773 0ustar00hyperairhyperair00000000000000 clutter-sharp-1.0.0alpha3/clutter/Makefile.in0000644000175000017500000005367511506371322022675 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/clutter-sharp.dll.config.in \ $(srcdir)/clutter-sharp.pc.in $(top_srcdir)/build/assembly.mk subdir = clutter ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = AssemblyInfo.cs clutter-sharp.pc \ clutter-sharp.dll.config CONFIG_CLEAN_VPATH_FILES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(assemblydir)" \ "$(DESTDIR)$(pkgconfigdir)" DATA = $(assembly_DATA) $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = Cogl Clutter . ASSEMBLY_NAME = clutter-sharp SOURCES = \ Clutter/KeyEvent.cs \ Clutter/CrossingEvent.cs \ Clutter/Application.cs \ Clutter/Source.cs \ Clutter/Timeout.cs \ Clutter/ScrollEvent.cs \ Clutter/AnimationChain.cs \ Clutter/StageStateEvent.cs \ Clutter/Event.cs \ Clutter/Idle.cs \ Clutter/MotionEvent.cs \ Clutter/ButtonEvent.cs \ Cogl/Matrix.cs \ Cogl/General.cs \ Cogl/GL.cs GENERATED_DIRS = $(builddir)/Clutter $(builddir)/Cogl CUSTOMS = \ Clutter/BehaviourPath.custom \ Clutter/Stage.custom \ Clutter/Smoothstep.custom \ Clutter/Color.custom \ Clutter/Knot.custom \ Clutter/Actor.custom \ Clutter/ActorBox.custom \ Clutter/Rectangle.custom \ Clutter/Script.custom \ Clutter/Group.custom \ Clutter/Timeline.custom \ Clutter/Ramp.custom \ Clutter/Texture.custom \ Clutter/Sine.custom \ Clutter/Exp.custom \ Cogl/Path.custom \ Cogl/Angle.custom \ Cogl/Fixed.custom EXTRA_DIST = $(ASSEMBLY_NAME).pc.in $(ASSEMBLY).config.in $(SOURCES) \ $(CUSTOMS) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb TARGET = \ $(ASSEMBLY_NAME).dll \ $(ASSEMBLY_NAME).dll.config \ $(ASSEMBLY_NAME).dll.mdb ASSEMBLY = $(ASSEMBLY_NAME).dll REFERENCES = $(GTKSHARP_LIBS) -r:Mono.Cairo $(CUSTOM_REFERENCES) assemblydir = $(prefix)/lib/clutter-sharp assembly_DATA = $(TARGET) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(ASSEMBLY_NAME).pc SOURCES_BUILD = $(addprefix $(srcdir)/, $(SOURCES)) DISTCLEANFILES = \ $(ASSEMBLY).config \ $(ASSEMBLY_NAME).pc \ AssemblyInfo.cs MAINTAINERCLEANFILES = Makefile.in all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/build/assembly.mk $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign clutter/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign clutter/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): AssemblyInfo.cs: $(top_builddir)/config.status $(srcdir)/AssemblyInfo.cs.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ clutter-sharp.pc: $(top_builddir)/config.status $(srcdir)/clutter-sharp.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ clutter-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/clutter-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-assemblyDATA: $(assembly_DATA) @$(NORMAL_INSTALL) test -z "$(assemblydir)" || $(MKDIR_P) "$(DESTDIR)$(assemblydir)" @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(assemblydir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(assemblydir)" || exit $$?; \ done uninstall-assemblyDATA: @$(NORMAL_UNINSTALL) @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(assemblydir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(assemblydir)" && rm -f $$files install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-assemblyDATA install-pkgconfigDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-assemblyDATA uninstall-pkgconfigDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic ctags \ ctags-recursive distclean distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-assemblyDATA install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-pkgconfigDATA \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-assemblyDATA uninstall-pkgconfigDATA $(ASSEMBLY): $(GAPI_FIXED_API) $(SOURCES_BUILD) @rm -f $(ASSEMBLY).mdb $(MCS) $(CSFLAGS) -out:$@ -debug -target:library -nowarn:0169 -unsafe \ $(REFERENCES) $(SOURCES_BUILD) AssemblyInfo.cs $(top_srcdir)/glib/*.cs $(foreach dir, $(GENERATED_DIRS), $(dir)/generated/*.cs) $(ASSEMBLY).mdb: $(ASSEMBLY) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/clutter/AssemblyInfo.cs.in0000644000175000017500000000032611506367775024161 0ustar00hyperairhyperair00000000000000using System.Reflection; using System.Runtime.CompilerServices; [assembly:AssemblyVersion ("@ASSEMBLY_VERSION@")] [assembly:AssemblyDelaySign (false)] [assembly:AssemblyKeyFile ("@top_srcdir@/clutter-sharp.snk")] clutter-sharp-1.0.0alpha3/clutter/Cogl/0000755000175000017500000000000011506372235021500 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/clutter/Cogl/Fixed.custom0000644000175000017500000000636711506367775024024 0ustar00hyperairhyperair00000000000000// // Fixed.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public static readonly int Bits = 32; public static readonly int FixedQ = Bits - 16; public static readonly int MaxValue = 0x7fffffff; public static readonly int MinValue = unchecked ((int)0x80000000); public static readonly int Epsilon = 1; public static readonly int Fixed_1 = (1 << FixedQ); public static readonly int Fixed_0_5 = 32768; public static readonly int Fixed_30 = FromInt (30); public static readonly int Fixed_45 = FromInt (45); public static readonly int Fixed_60 = FromInt (60); public static readonly int Fixed_90 = FromInt (90); public static readonly int Fixed_120 = FromInt (120); public static readonly int Fixed_180 = FromInt (180); public static readonly int Fixed_240 = FromInt (240); public static readonly int Fixed_255 = FromInt (255); public static readonly int Fixed_270 = FromInt (270); public static readonly int Fixed_360 = FromInt (360); public static readonly int Fixed_2_PI = 0x0006487f; public static readonly int Fixed_PI = 0x0003243f; public static readonly int Fixed_PI_2 = 0x00019220; public static readonly int Fixed_PI_4 = 0x0000c910; public static readonly int RadiansToDegrees = 0x394bb8; public static int Fraction (int x) { return x & ((1 << FixedQ) - 1); } public static int Floor (int x) { return x >= 0 ? x >> FixedQ : ~((~x) >> FixedQ); } public static int Ceiling (int x) { return Floor (x) + 0xffff; } public static int FromFloat (float val) { return (int)(val * (double)Fixed_1); } public static int FromDouble (double val) { return (int)(val * (double)Fixed_1); } public static int FromInt (int val) { return val << FixedQ; } public static float ToFloat (int fix) { return (float)((int)fix / 65536.0); } public static double ToDouble (int fix) { return (double)((int)fix / 65536.0); } public static int ToInt (int fix) { return fix >> FixedQ; } public static int Mul (int a, int b) { return (int)(((long)a * (long)b) >> FixedQ); } public static int Div (int a, int b) { return (int)((((long) a) << FixedQ) / b); } public static int MulDiv (int a, int b, int c) { return Div (Mul (a, b), c); } clutter-sharp-1.0.0alpha3/clutter/Cogl/cogl-symbols.xml0000644000175000017500000000006411506367775024651 0ustar00hyperairhyperair00000000000000 clutter-sharp-1.0.0alpha3/clutter/Cogl/cogl-sources.xml0000644000175000017500000000034411506367775024645 0ustar00hyperairhyperair00000000000000 ../../../clutter/clutter/cogl clutter-sharp-1.0.0alpha3/clutter/Cogl/Makefile.in0000644000175000017500000003111411506371322023541 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/build/gapi.mk subdir = clutter/Cogl ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(gapidir)" DATA = $(gapi_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ GAPI_SOURCES_XML = $(srcdir)/cogl-sources.xml GAPI_METADATA = $(srcdir)/cogl.metadata GAPI_RAW_API = $(srcdir)/cogl-api.raw GAPI_SYMBOLS = $(srcdir)/cogl-symbols.xml GAPI_FIXED_API = $(builddir)/cogl-api.xml CLEANFILES = generated-stamp generated/*.cs $(GAPI_FIXED_API) EXTRA_DIST = parse-gl-h.awk $(GAPI_RAW_API) $(GAPI_METADATA) \ $(GAPI_SOURCES_XML) $(GAPI_SYMBOLS) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(GAPI_FIXED_API) build_symbols = $(addprefix --symbols=$(srcdir)/, $(GAPI_SYMBOLS)) api_includes = $(GTKSHARP_CFLAGS) $(CUSTOM_API_INCLUDES) MAINTAINERCLEANFILES = Makefile.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/build/gapi.mk $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign clutter/Cogl/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign clutter/Cogl/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)" @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gapidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gapidir)" || exit $$?; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(gapidir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(gapidir)" && rm -f $$files tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(gapidir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-gapiDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-gapiDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-local \ distclean distclean-generic distdir dvi dvi-am html html-am \ info info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-gapiDATA install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-gapiDATA GL.cs: parse-gl-h.awk ./$< < /usr/include/GL/gl.h > $@ api: $(GAPI_PARSER) $(GAPI_SOURCES_XML) $(top_srcdir)/build/gapi-parser-post.sed < $(GAPI_RAW_API) > $(GAPI_RAW_API).tmp mv $(GAPI_RAW_API).tmp $(GAPI_RAW_API) $(GAPI_FIXED_API): $(GAPI_RAW_API) $(GAPI_METADATA) $(GAPI_SYMBOLS) $(wildcard *.custom) cp $(GAPI_RAW_API) $(GAPI_FIXED_API) chmod +w $(GAPI_FIXED_API) $(GAPI_FIXUP) --api=$(GAPI_FIXED_API) --metadata=$(GAPI_METADATA) $(build_symbols) $(GAPI_CODEGEN) --outdir=./generated --customdir=$(srcdir) $(api_includes) --generate $(GAPI_FIXED_API) clean-local: rm -rf generated # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/clutter/Cogl/General.cs0000644000175000017500000002467611506367775023440 0ustar00hyperairhyperair00000000000000// // General.cs // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Cogl { public static class General { [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_create_context (); public static void CreateContext () { cogl_create_context (); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_destroy_context (); public static void DestroyContext () { cogl_destroy_context (); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern FeatureFlags cogl_get_features (); public static FeatureFlags AvailableFeatures { get { return cogl_get_features (); } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern bool cogl_features_available (FeatureFlags features); public static bool AreFeaturesAvailable (FeatureFlags features) { return cogl_features_available (features); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern bool cogl_check_extension (IntPtr name, IntPtr ext); public static bool CheckExtension (string name, string extension) { IntPtr name_ptr = GLib.Marshaller.StringToPtrGStrdup (name); IntPtr extension_ptr = GLib.Marshaller.StringToPtrGStrdup (extension); try { return cogl_check_extension (name_ptr, extension_ptr); } finally { GLib.Marshaller.Free (name_ptr); GLib.Marshaller.Free (extension_ptr); } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern CoglSharp.FuncPtrNative cogl_get_proc_address (IntPtr name); public static FuncPtr GetProcAddress (string name) { IntPtr ptr = GLib.Marshaller.StringToPtrGStrdup (name); try { return CoglSharp.FuncPtrWrapper.GetManagedDelegate (cogl_get_proc_address (ptr)); } finally { GLib.Marshaller.Free (ptr); } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_perspective (float fovy, float aspect, float z_near, float z_far); public static void Perspective (float fovy, float aspect, float zNear, float zFar) { cogl_perspective (fovy, aspect, zNear, zFar); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_frustum (float left, float right, float bottom, float top, float z_near, float z_far); public static void Frustum (float left, float right, float bottom, float top, float zNear, float zFar) { cogl_frustum (left, right, bottom, top, zNear, zFar); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_setup_viewport (uint width, uint height, float fovy, float aspect, float z_near, float z_far); public static void SetupViewport (uint width, uint height, float fovy, float aspect, float zNear, float zFar) { cogl_setup_viewport (width, height, fovy, aspect, zNear, zFar); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_viewport (uint width, uint height); public static void SetupViewport (uint width, uint height) { cogl_viewport (width, height); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_get_modelview_matrix (out IntPtr matrix); public static Matrix ModelViewMatrix { get { IntPtr matrix; cogl_get_modelview_matrix (out matrix); return (Matrix)Marshal.PtrToStructure (matrix, typeof (Matrix)); } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_get_projection_matrix (out IntPtr matrix); public static Matrix ProjectionMatrix { get { IntPtr matrix; cogl_get_projection_matrix (out matrix); return (Matrix)Marshal.PtrToStructure (matrix, typeof (Matrix)); } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_get_viewport (ref float [] v); public static float [] Viewport { get { float [] v = new float[4]; cogl_get_viewport (ref v); return v; } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_push_matrix (); public static void PushMatrix () { cogl_push_matrix (); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_pop_matrix (); public static void PopMatrix () { cogl_pop_matrix (); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_scale (float x, float y, float z); public static void Scale (float x, float y, float z) { cogl_scale (x, y, z); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_translate (float x, float y, float z); public static void Translate (float x, float y, float z) { cogl_translate (x, y, z); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_rotate (float angle, float x, float y, float z); public static void Rotate (float angle, float x, float y, float z) { cogl_rotate (angle, x, y, z); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_clear (IntPtr color, ulong buffers); public static void Clear (Color color, ulong buffers) { cogl_clear (color == null ? IntPtr.Zero : color.Handle, buffers); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_get_bitmasks (out int red, out int green, out int blue, out int alpha); public static void GetBitmasks (out int red, out int green, out int blue, out int alpha) { cogl_get_bitmasks (out red, out green, out blue, out alpha); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_enable_depth_test (bool setting); public static void EnableDepthTest (bool setting) { cogl_enable_depth_test (setting); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_enable_backface_culling (bool setting); public static void EnableBackfaceCulling (bool setting) { cogl_enable_backface_culling (setting); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_set_fog (IntPtr color, FogMode mode, float density, float z_near, float z_far); public static void SetFog (Color color, FogMode mode, float density, float zNear, float zFar) { cogl_set_fog (color == null ? IntPtr.Zero : color.Handle, mode, density, zNear, zFar); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_disable_fog (); public static void DisableFog () { cogl_disable_fog (); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_set_source (IntPtr material); public static void SetSource (IntPtr coglMaterial) { cogl_set_source (coglMaterial); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_set_source_texture (IntPtr texture); public static void SetSourceTexture (IntPtr coglTexture) { cogl_set_source_texture (coglTexture); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_set_source_color (IntPtr color); public static void SetSourceColor (Color color) { cogl_set_source_color (color == null ? IntPtr.Zero : color.Handle); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_set_source_color4ub (byte red, byte green, byte blue, byte alpha); public static void SetSourceColor4ub (byte red, byte green, byte blue, byte alpha) { cogl_set_source_color4ub (red, green, blue, alpha); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_set_source_color4f (float red, float green, float blue, float alpha); public static void SetSourceColor4f (float red, float green, float blue, float alpha) { cogl_set_source_color4f (red, green, blue, alpha); } public static void SetSourceColor4f (double red, double green, double blue, double alpha) { cogl_set_source_color4f ((float)red, (float)green, (float)blue, (float)alpha); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_flush_gl_state (int flags); public static void FlushGlState (int flags) { cogl_flush_gl_state (flags); } } } clutter-sharp-1.0.0alpha3/clutter/Cogl/Angle.custom0000644000175000017500000000327211506367775024003 0ustar00hyperairhyperair00000000000000// // Angle.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public static int FromDeg (float a) { return (int)((a * 1024.0f) / 360.0f); } public static int FromDeg (double a) { return FromDeg ((float)a); } public static int FromDeg (int a) { return FromDeg ((float)a); } public static int FromDegFixed (int a) { return Fixed.ToInt (((a / 360) * 1024) + Fixed.Fixed_0_5); } public static float ToDeg (int coglAngle) { return ((float)coglAngle * 360.0f) / 1024.0f; } public static int ToDegFixed (int coglAngle) { return Fixed.FromInt (coglAngle * 45) / 128; } clutter-sharp-1.0.0alpha3/clutter/Cogl/Path.custom0000644000175000017500000000341611506367775023651 0ustar00hyperairhyperair00000000000000// // Path.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_path_polyline (float [] coords, int num_points); public static void Polyline (float [] coords) { if (coords == null) { throw new ArgumentNullException ("coords"); } cogl_path_polyline (coords, coords.Length); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_path_polygon (float [] coords, int num_points); public static void Polygon (float [] coords) { if (coords == null) { throw new ArgumentNullException ("coords"); } cogl_path_polygon (coords, coords.Length); } clutter-sharp-1.0.0alpha3/clutter/Cogl/Matrix.cs0000644000175000017500000001107511506367775023314 0ustar00hyperairhyperair00000000000000// // Matrix.cs // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Cogl { [StructLayout (LayoutKind.Sequential)] public struct Matrix { // column 0 public float XX { get; set; } public float YX { get; set; } public float ZX { get; set; } public float WX { get; set; } // column 1 public float XY { get; set; } public float YY { get; set; } public float ZY { get; set; } public float WY { get; set; } // column 2 public float XZ { get; set; } public float YZ { get; set; } public float ZZ { get; set; } public float WZ { get; set; } // column 3 public float XW { get; set; } public float YW { get; set; } public float ZW { get; set; } public float WW { get; set; } public float [] GetArray () { throw new NotImplementedException (); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_matrix_init_identity (ref Matrix matrix); public void InitIdentity () { cogl_matrix_init_identity (ref this); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_matrix_init_from_array (ref Matrix matrix, float [] array); public void InitFromArray (float [] array) { cogl_matrix_init_from_array (ref this, array); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_matrix_rotate (ref Matrix matrix, float angle, float x, float y, float z); public void Rotate (float angle, float x, float y, float z) { cogl_matrix_rotate (ref this, angle, x, y, z); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_matrix_frustum (ref Matrix matrix, float left, float right, float bottom, float top, float z_near, float z_far); public void Frustum (float left, float right, float bottom, float top, float z_near, float z_far) { cogl_matrix_frustum (ref this, left, right, bottom, top, z_near, z_far); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_matrix_transform_point (ref Matrix matrix, out float x, out float y, out float z, out float w); public void TransformPoint (out float x, out float y, out float z, out float w) { cogl_matrix_transform_point (ref this, out x, out y, out z, out w); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_matrix_multiply (ref Matrix matrix, ref Matrix a, ref Matrix b); public void Multiply (Matrix a, Matrix b) { cogl_matrix_multiply (ref this, ref a, ref b); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_matrix_translate (ref Matrix matrix, float x, float y, float z); public void Translate (float x, float y, float z) { cogl_matrix_translate (ref this, x, y, z); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void cogl_matrix_scale (ref Matrix matrix, float sx, float sy, float sz); public void Scale (float sx, float sy, float sz) { cogl_matrix_scale (ref this, sx, sy, sz); } } } clutter-sharp-1.0.0alpha3/clutter/Cogl/cogl.metadata0000644000175000017500000001013311506367775024141 0ustar00hyperairhyperair00000000000000 LessThan EqualTo LessThanOrEqualTo GreaterThan NotEqualTo GreaterThanOrEqualTo guint guint gint gint guint guint guint gint guint gpointer New Add Delete Disable Enable Ref Unref Submit GetNVertices Draw DrawElements VertexBuffer clutter-sharp-1.0.0alpha3/clutter/Cogl/cogl-api.raw0000644000175000017500000020177311506367775023735 0ustar00hyperairhyperair00000000000000 clutter-sharp-1.0.0alpha3/clutter/Cogl/parse-gl-h.awk0000755000175000017500000000111311506367775024157 0ustar00hyperairhyperair00000000000000#!/usr/bin/awk -f BEGIN { print "// This file was generated by parse-gl-h.awk." print "// Any changes made will be lost if regenerated." print "" print "using System;" print "" print "namespace Cogl" print "{" print " public static class GL" print " {" } /^\/\*.*\*\/$|^#define/ { if ($0 ~ /^#/) { if ($2 ~ /^GL_/ && $3 ~ /^[0-9]/ && !($2 ~ /WIN32/)) { if (length ($3) > 6) { type = "uint" } else { type = "int" } print " public const " type " " $2 " = " $3 ";" } } else { print "" } } END { print "" print " }" print "}" } clutter-sharp-1.0.0alpha3/clutter/Cogl/GL.cs0000644000175000017500000012453111506367775022354 0ustar00hyperairhyperair00000000000000// This file was generated by parse-gl-h.awk. // Any changes made will be lost if regenerated. using System; namespace Cogl { public static class GL { public const int GL_VERSION_1_1 = 1; public const int GL_VERSION_1_2 = 1; public const int GL_VERSION_1_3 = 1; public const int GL_ARB_imaging = 1; public const int GL_FALSE = 0x0; public const int GL_TRUE = 0x1; public const int GL_BYTE = 0x1400; public const int GL_UNSIGNED_BYTE = 0x1401; public const int GL_SHORT = 0x1402; public const int GL_UNSIGNED_SHORT = 0x1403; public const int GL_INT = 0x1404; public const int GL_UNSIGNED_INT = 0x1405; public const int GL_FLOAT = 0x1406; public const int GL_2_BYTES = 0x1407; public const int GL_3_BYTES = 0x1408; public const int GL_4_BYTES = 0x1409; public const int GL_DOUBLE = 0x140A; public const int GL_POINTS = 0x0000; public const int GL_LINES = 0x0001; public const int GL_LINE_LOOP = 0x0002; public const int GL_LINE_STRIP = 0x0003; public const int GL_TRIANGLES = 0x0004; public const int GL_TRIANGLE_STRIP = 0x0005; public const int GL_TRIANGLE_FAN = 0x0006; public const int GL_QUADS = 0x0007; public const int GL_QUAD_STRIP = 0x0008; public const int GL_POLYGON = 0x0009; public const int GL_VERTEX_ARRAY = 0x8074; public const int GL_NORMAL_ARRAY = 0x8075; public const int GL_COLOR_ARRAY = 0x8076; public const int GL_INDEX_ARRAY = 0x8077; public const int GL_TEXTURE_COORD_ARRAY = 0x8078; public const int GL_EDGE_FLAG_ARRAY = 0x8079; public const int GL_VERTEX_ARRAY_SIZE = 0x807A; public const int GL_VERTEX_ARRAY_TYPE = 0x807B; public const int GL_VERTEX_ARRAY_STRIDE = 0x807C; public const int GL_NORMAL_ARRAY_TYPE = 0x807E; public const int GL_NORMAL_ARRAY_STRIDE = 0x807F; public const int GL_COLOR_ARRAY_SIZE = 0x8081; public const int GL_COLOR_ARRAY_TYPE = 0x8082; public const int GL_COLOR_ARRAY_STRIDE = 0x8083; public const int GL_INDEX_ARRAY_TYPE = 0x8085; public const int GL_INDEX_ARRAY_STRIDE = 0x8086; public const int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088; public const int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089; public const int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A; public const int GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C; public const int GL_VERTEX_ARRAY_POINTER = 0x808E; public const int GL_NORMAL_ARRAY_POINTER = 0x808F; public const int GL_COLOR_ARRAY_POINTER = 0x8090; public const int GL_INDEX_ARRAY_POINTER = 0x8091; public const int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092; public const int GL_EDGE_FLAG_ARRAY_POINTER = 0x8093; public const int GL_V2F = 0x2A20; public const int GL_V3F = 0x2A21; public const int GL_C4UB_V2F = 0x2A22; public const int GL_C4UB_V3F = 0x2A23; public const int GL_C3F_V3F = 0x2A24; public const int GL_N3F_V3F = 0x2A25; public const int GL_C4F_N3F_V3F = 0x2A26; public const int GL_T2F_V3F = 0x2A27; public const int GL_T4F_V4F = 0x2A28; public const int GL_T2F_C4UB_V3F = 0x2A29; public const int GL_T2F_C3F_V3F = 0x2A2A; public const int GL_T2F_N3F_V3F = 0x2A2B; public const int GL_T2F_C4F_N3F_V3F = 0x2A2C; public const int GL_T4F_C4F_N3F_V4F = 0x2A2D; public const int GL_MATRIX_MODE = 0x0BA0; public const int GL_MODELVIEW = 0x1700; public const int GL_PROJECTION = 0x1701; public const int GL_TEXTURE = 0x1702; public const int GL_POINT_SMOOTH = 0x0B10; public const int GL_POINT_SIZE = 0x0B11; public const int GL_POINT_SIZE_GRANULARITY = 0x0B13; public const int GL_POINT_SIZE_RANGE = 0x0B12; public const int GL_LINE_SMOOTH = 0x0B20; public const int GL_LINE_STIPPLE = 0x0B24; public const int GL_LINE_STIPPLE_PATTERN = 0x0B25; public const int GL_LINE_STIPPLE_REPEAT = 0x0B26; public const int GL_LINE_WIDTH = 0x0B21; public const int GL_LINE_WIDTH_GRANULARITY = 0x0B23; public const int GL_LINE_WIDTH_RANGE = 0x0B22; public const int GL_POINT = 0x1B00; public const int GL_LINE = 0x1B01; public const int GL_FILL = 0x1B02; public const int GL_CW = 0x0900; public const int GL_CCW = 0x0901; public const int GL_FRONT = 0x0404; public const int GL_BACK = 0x0405; public const int GL_POLYGON_MODE = 0x0B40; public const int GL_POLYGON_SMOOTH = 0x0B41; public const int GL_POLYGON_STIPPLE = 0x0B42; public const int GL_EDGE_FLAG = 0x0B43; public const int GL_CULL_FACE = 0x0B44; public const int GL_CULL_FACE_MODE = 0x0B45; public const int GL_FRONT_FACE = 0x0B46; public const int GL_POLYGON_OFFSET_FACTOR = 0x8038; public const int GL_POLYGON_OFFSET_UNITS = 0x2A00; public const int GL_POLYGON_OFFSET_POINT = 0x2A01; public const int GL_POLYGON_OFFSET_LINE = 0x2A02; public const int GL_POLYGON_OFFSET_FILL = 0x8037; public const int GL_COMPILE = 0x1300; public const int GL_COMPILE_AND_EXECUTE = 0x1301; public const int GL_LIST_BASE = 0x0B32; public const int GL_LIST_INDEX = 0x0B33; public const int GL_LIST_MODE = 0x0B30; public const int GL_NEVER = 0x0200; public const int GL_LESS = 0x0201; public const int GL_EQUAL = 0x0202; public const int GL_LEQUAL = 0x0203; public const int GL_GREATER = 0x0204; public const int GL_NOTEQUAL = 0x0205; public const int GL_GEQUAL = 0x0206; public const int GL_ALWAYS = 0x0207; public const int GL_DEPTH_TEST = 0x0B71; public const int GL_DEPTH_BITS = 0x0D56; public const int GL_DEPTH_CLEAR_VALUE = 0x0B73; public const int GL_DEPTH_FUNC = 0x0B74; public const int GL_DEPTH_RANGE = 0x0B70; public const int GL_DEPTH_WRITEMASK = 0x0B72; public const int GL_DEPTH_COMPONENT = 0x1902; public const int GL_LIGHTING = 0x0B50; public const int GL_LIGHT0 = 0x4000; public const int GL_LIGHT1 = 0x4001; public const int GL_LIGHT2 = 0x4002; public const int GL_LIGHT3 = 0x4003; public const int GL_LIGHT4 = 0x4004; public const int GL_LIGHT5 = 0x4005; public const int GL_LIGHT6 = 0x4006; public const int GL_LIGHT7 = 0x4007; public const int GL_SPOT_EXPONENT = 0x1205; public const int GL_SPOT_CUTOFF = 0x1206; public const int GL_CONSTANT_ATTENUATION = 0x1207; public const int GL_LINEAR_ATTENUATION = 0x1208; public const int GL_QUADRATIC_ATTENUATION = 0x1209; public const int GL_AMBIENT = 0x1200; public const int GL_DIFFUSE = 0x1201; public const int GL_SPECULAR = 0x1202; public const int GL_SHININESS = 0x1601; public const int GL_EMISSION = 0x1600; public const int GL_POSITION = 0x1203; public const int GL_SPOT_DIRECTION = 0x1204; public const int GL_AMBIENT_AND_DIFFUSE = 0x1602; public const int GL_COLOR_INDEXES = 0x1603; public const int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52; public const int GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51; public const int GL_LIGHT_MODEL_AMBIENT = 0x0B53; public const int GL_FRONT_AND_BACK = 0x0408; public const int GL_SHADE_MODEL = 0x0B54; public const int GL_FLAT = 0x1D00; public const int GL_SMOOTH = 0x1D01; public const int GL_COLOR_MATERIAL = 0x0B57; public const int GL_COLOR_MATERIAL_FACE = 0x0B55; public const int GL_COLOR_MATERIAL_PARAMETER = 0x0B56; public const int GL_NORMALIZE = 0x0BA1; public const int GL_CLIP_PLANE0 = 0x3000; public const int GL_CLIP_PLANE1 = 0x3001; public const int GL_CLIP_PLANE2 = 0x3002; public const int GL_CLIP_PLANE3 = 0x3003; public const int GL_CLIP_PLANE4 = 0x3004; public const int GL_CLIP_PLANE5 = 0x3005; public const int GL_ACCUM_RED_BITS = 0x0D58; public const int GL_ACCUM_GREEN_BITS = 0x0D59; public const int GL_ACCUM_BLUE_BITS = 0x0D5A; public const int GL_ACCUM_ALPHA_BITS = 0x0D5B; public const int GL_ACCUM_CLEAR_VALUE = 0x0B80; public const int GL_ACCUM = 0x0100; public const int GL_ADD = 0x0104; public const int GL_LOAD = 0x0101; public const int GL_MULT = 0x0103; public const int GL_RETURN = 0x0102; public const int GL_ALPHA_TEST = 0x0BC0; public const int GL_ALPHA_TEST_REF = 0x0BC2; public const int GL_ALPHA_TEST_FUNC = 0x0BC1; public const int GL_BLEND = 0x0BE2; public const int GL_BLEND_SRC = 0x0BE1; public const int GL_BLEND_DST = 0x0BE0; public const int GL_ZERO = 0x0; public const int GL_ONE = 0x1; public const int GL_SRC_COLOR = 0x0300; public const int GL_ONE_MINUS_SRC_COLOR = 0x0301; public const int GL_SRC_ALPHA = 0x0302; public const int GL_ONE_MINUS_SRC_ALPHA = 0x0303; public const int GL_DST_ALPHA = 0x0304; public const int GL_ONE_MINUS_DST_ALPHA = 0x0305; public const int GL_DST_COLOR = 0x0306; public const int GL_ONE_MINUS_DST_COLOR = 0x0307; public const int GL_SRC_ALPHA_SATURATE = 0x0308; public const int GL_FEEDBACK = 0x1C01; public const int GL_RENDER = 0x1C00; public const int GL_SELECT = 0x1C02; public const int GL_2D = 0x0600; public const int GL_3D = 0x0601; public const int GL_3D_COLOR = 0x0602; public const int GL_3D_COLOR_TEXTURE = 0x0603; public const int GL_4D_COLOR_TEXTURE = 0x0604; public const int GL_POINT_TOKEN = 0x0701; public const int GL_LINE_TOKEN = 0x0702; public const int GL_LINE_RESET_TOKEN = 0x0707; public const int GL_POLYGON_TOKEN = 0x0703; public const int GL_BITMAP_TOKEN = 0x0704; public const int GL_DRAW_PIXEL_TOKEN = 0x0705; public const int GL_COPY_PIXEL_TOKEN = 0x0706; public const int GL_PASS_THROUGH_TOKEN = 0x0700; public const int GL_FEEDBACK_BUFFER_POINTER = 0x0DF0; public const int GL_FEEDBACK_BUFFER_SIZE = 0x0DF1; public const int GL_FEEDBACK_BUFFER_TYPE = 0x0DF2; public const int GL_SELECTION_BUFFER_POINTER = 0x0DF3; public const int GL_SELECTION_BUFFER_SIZE = 0x0DF4; public const int GL_FOG = 0x0B60; public const int GL_FOG_MODE = 0x0B65; public const int GL_FOG_DENSITY = 0x0B62; public const int GL_FOG_COLOR = 0x0B66; public const int GL_FOG_INDEX = 0x0B61; public const int GL_FOG_START = 0x0B63; public const int GL_FOG_END = 0x0B64; public const int GL_LINEAR = 0x2601; public const int GL_EXP = 0x0800; public const int GL_EXP2 = 0x0801; public const int GL_LOGIC_OP = 0x0BF1; public const int GL_INDEX_LOGIC_OP = 0x0BF1; public const int GL_COLOR_LOGIC_OP = 0x0BF2; public const int GL_LOGIC_OP_MODE = 0x0BF0; public const int GL_CLEAR = 0x1500; public const int GL_SET = 0x150F; public const int GL_COPY = 0x1503; public const int GL_COPY_INVERTED = 0x150C; public const int GL_NOOP = 0x1505; public const int GL_INVERT = 0x150A; public const int GL_AND = 0x1501; public const int GL_NAND = 0x150E; public const int GL_OR = 0x1507; public const int GL_NOR = 0x1508; public const int GL_XOR = 0x1506; public const int GL_EQUIV = 0x1509; public const int GL_AND_REVERSE = 0x1502; public const int GL_AND_INVERTED = 0x1504; public const int GL_OR_REVERSE = 0x150B; public const int GL_OR_INVERTED = 0x150D; public const int GL_STENCIL_BITS = 0x0D57; public const int GL_STENCIL_TEST = 0x0B90; public const int GL_STENCIL_CLEAR_VALUE = 0x0B91; public const int GL_STENCIL_FUNC = 0x0B92; public const int GL_STENCIL_VALUE_MASK = 0x0B93; public const int GL_STENCIL_FAIL = 0x0B94; public const int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95; public const int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96; public const int GL_STENCIL_REF = 0x0B97; public const int GL_STENCIL_WRITEMASK = 0x0B98; public const int GL_STENCIL_INDEX = 0x1901; public const int GL_KEEP = 0x1E00; public const int GL_REPLACE = 0x1E01; public const int GL_INCR = 0x1E02; public const int GL_DECR = 0x1E03; public const int GL_NONE = 0x0; public const int GL_LEFT = 0x0406; public const int GL_RIGHT = 0x0407; public const int GL_FRONT_LEFT = 0x0400; public const int GL_FRONT_RIGHT = 0x0401; public const int GL_BACK_LEFT = 0x0402; public const int GL_BACK_RIGHT = 0x0403; public const int GL_AUX0 = 0x0409; public const int GL_AUX1 = 0x040A; public const int GL_AUX2 = 0x040B; public const int GL_AUX3 = 0x040C; public const int GL_COLOR_INDEX = 0x1900; public const int GL_RED = 0x1903; public const int GL_GREEN = 0x1904; public const int GL_BLUE = 0x1905; public const int GL_ALPHA = 0x1906; public const int GL_LUMINANCE = 0x1909; public const int GL_LUMINANCE_ALPHA = 0x190A; public const int GL_ALPHA_BITS = 0x0D55; public const int GL_RED_BITS = 0x0D52; public const int GL_GREEN_BITS = 0x0D53; public const int GL_BLUE_BITS = 0x0D54; public const int GL_INDEX_BITS = 0x0D51; public const int GL_SUBPIXEL_BITS = 0x0D50; public const int GL_AUX_BUFFERS = 0x0C00; public const int GL_READ_BUFFER = 0x0C02; public const int GL_DRAW_BUFFER = 0x0C01; public const int GL_DOUBLEBUFFER = 0x0C32; public const int GL_STEREO = 0x0C33; public const int GL_BITMAP = 0x1A00; public const int GL_COLOR = 0x1800; public const int GL_DEPTH = 0x1801; public const int GL_STENCIL = 0x1802; public const int GL_DITHER = 0x0BD0; public const int GL_RGB = 0x1907; public const int GL_RGBA = 0x1908; public const int GL_MAX_LIST_NESTING = 0x0B31; public const int GL_MAX_EVAL_ORDER = 0x0D30; public const int GL_MAX_LIGHTS = 0x0D31; public const int GL_MAX_CLIP_PLANES = 0x0D32; public const int GL_MAX_TEXTURE_SIZE = 0x0D33; public const int GL_MAX_PIXEL_MAP_TABLE = 0x0D34; public const int GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35; public const int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36; public const int GL_MAX_NAME_STACK_DEPTH = 0x0D37; public const int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38; public const int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39; public const int GL_MAX_VIEWPORT_DIMS = 0x0D3A; public const int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B; public const int GL_ATTRIB_STACK_DEPTH = 0x0BB0; public const int GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1; public const int GL_COLOR_CLEAR_VALUE = 0x0C22; public const int GL_COLOR_WRITEMASK = 0x0C23; public const int GL_CURRENT_INDEX = 0x0B01; public const int GL_CURRENT_COLOR = 0x0B00; public const int GL_CURRENT_NORMAL = 0x0B02; public const int GL_CURRENT_RASTER_COLOR = 0x0B04; public const int GL_CURRENT_RASTER_DISTANCE = 0x0B09; public const int GL_CURRENT_RASTER_INDEX = 0x0B05; public const int GL_CURRENT_RASTER_POSITION = 0x0B07; public const int GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06; public const int GL_CURRENT_RASTER_POSITION_VALID = 0x0B08; public const int GL_CURRENT_TEXTURE_COORDS = 0x0B03; public const int GL_INDEX_CLEAR_VALUE = 0x0C20; public const int GL_INDEX_MODE = 0x0C30; public const int GL_INDEX_WRITEMASK = 0x0C21; public const int GL_MODELVIEW_MATRIX = 0x0BA6; public const int GL_MODELVIEW_STACK_DEPTH = 0x0BA3; public const int GL_NAME_STACK_DEPTH = 0x0D70; public const int GL_PROJECTION_MATRIX = 0x0BA7; public const int GL_PROJECTION_STACK_DEPTH = 0x0BA4; public const int GL_RENDER_MODE = 0x0C40; public const int GL_RGBA_MODE = 0x0C31; public const int GL_TEXTURE_MATRIX = 0x0BA8; public const int GL_TEXTURE_STACK_DEPTH = 0x0BA5; public const int GL_VIEWPORT = 0x0BA2; public const int GL_AUTO_NORMAL = 0x0D80; public const int GL_MAP1_COLOR_4 = 0x0D90; public const int GL_MAP1_INDEX = 0x0D91; public const int GL_MAP1_NORMAL = 0x0D92; public const int GL_MAP1_TEXTURE_COORD_1 = 0x0D93; public const int GL_MAP1_TEXTURE_COORD_2 = 0x0D94; public const int GL_MAP1_TEXTURE_COORD_3 = 0x0D95; public const int GL_MAP1_TEXTURE_COORD_4 = 0x0D96; public const int GL_MAP1_VERTEX_3 = 0x0D97; public const int GL_MAP1_VERTEX_4 = 0x0D98; public const int GL_MAP2_COLOR_4 = 0x0DB0; public const int GL_MAP2_INDEX = 0x0DB1; public const int GL_MAP2_NORMAL = 0x0DB2; public const int GL_MAP2_TEXTURE_COORD_1 = 0x0DB3; public const int GL_MAP2_TEXTURE_COORD_2 = 0x0DB4; public const int GL_MAP2_TEXTURE_COORD_3 = 0x0DB5; public const int GL_MAP2_TEXTURE_COORD_4 = 0x0DB6; public const int GL_MAP2_VERTEX_3 = 0x0DB7; public const int GL_MAP2_VERTEX_4 = 0x0DB8; public const int GL_MAP1_GRID_DOMAIN = 0x0DD0; public const int GL_MAP1_GRID_SEGMENTS = 0x0DD1; public const int GL_MAP2_GRID_DOMAIN = 0x0DD2; public const int GL_MAP2_GRID_SEGMENTS = 0x0DD3; public const int GL_COEFF = 0x0A00; public const int GL_ORDER = 0x0A01; public const int GL_DOMAIN = 0x0A02; public const int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50; public const int GL_POINT_SMOOTH_HINT = 0x0C51; public const int GL_LINE_SMOOTH_HINT = 0x0C52; public const int GL_POLYGON_SMOOTH_HINT = 0x0C53; public const int GL_FOG_HINT = 0x0C54; public const int GL_DONT_CARE = 0x1100; public const int GL_FASTEST = 0x1101; public const int GL_NICEST = 0x1102; public const int GL_SCISSOR_BOX = 0x0C10; public const int GL_SCISSOR_TEST = 0x0C11; public const int GL_MAP_COLOR = 0x0D10; public const int GL_MAP_STENCIL = 0x0D11; public const int GL_INDEX_SHIFT = 0x0D12; public const int GL_INDEX_OFFSET = 0x0D13; public const int GL_RED_SCALE = 0x0D14; public const int GL_RED_BIAS = 0x0D15; public const int GL_GREEN_SCALE = 0x0D18; public const int GL_GREEN_BIAS = 0x0D19; public const int GL_BLUE_SCALE = 0x0D1A; public const int GL_BLUE_BIAS = 0x0D1B; public const int GL_ALPHA_SCALE = 0x0D1C; public const int GL_ALPHA_BIAS = 0x0D1D; public const int GL_DEPTH_SCALE = 0x0D1E; public const int GL_DEPTH_BIAS = 0x0D1F; public const int GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1; public const int GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0; public const int GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2; public const int GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3; public const int GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4; public const int GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5; public const int GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6; public const int GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7; public const int GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8; public const int GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9; public const int GL_PIXEL_MAP_S_TO_S = 0x0C71; public const int GL_PIXEL_MAP_I_TO_I = 0x0C70; public const int GL_PIXEL_MAP_I_TO_R = 0x0C72; public const int GL_PIXEL_MAP_I_TO_G = 0x0C73; public const int GL_PIXEL_MAP_I_TO_B = 0x0C74; public const int GL_PIXEL_MAP_I_TO_A = 0x0C75; public const int GL_PIXEL_MAP_R_TO_R = 0x0C76; public const int GL_PIXEL_MAP_G_TO_G = 0x0C77; public const int GL_PIXEL_MAP_B_TO_B = 0x0C78; public const int GL_PIXEL_MAP_A_TO_A = 0x0C79; public const int GL_PACK_ALIGNMENT = 0x0D05; public const int GL_PACK_LSB_FIRST = 0x0D01; public const int GL_PACK_ROW_LENGTH = 0x0D02; public const int GL_PACK_SKIP_PIXELS = 0x0D04; public const int GL_PACK_SKIP_ROWS = 0x0D03; public const int GL_PACK_SWAP_BYTES = 0x0D00; public const int GL_UNPACK_ALIGNMENT = 0x0CF5; public const int GL_UNPACK_LSB_FIRST = 0x0CF1; public const int GL_UNPACK_ROW_LENGTH = 0x0CF2; public const int GL_UNPACK_SKIP_PIXELS = 0x0CF4; public const int GL_UNPACK_SKIP_ROWS = 0x0CF3; public const int GL_UNPACK_SWAP_BYTES = 0x0CF0; public const int GL_ZOOM_X = 0x0D16; public const int GL_ZOOM_Y = 0x0D17; public const int GL_TEXTURE_ENV = 0x2300; public const int GL_TEXTURE_ENV_MODE = 0x2200; public const int GL_TEXTURE_1D = 0x0DE0; public const int GL_TEXTURE_2D = 0x0DE1; public const int GL_TEXTURE_WRAP_S = 0x2802; public const int GL_TEXTURE_WRAP_T = 0x2803; public const int GL_TEXTURE_MAG_FILTER = 0x2800; public const int GL_TEXTURE_MIN_FILTER = 0x2801; public const int GL_TEXTURE_ENV_COLOR = 0x2201; public const int GL_TEXTURE_GEN_S = 0x0C60; public const int GL_TEXTURE_GEN_T = 0x0C61; public const int GL_TEXTURE_GEN_MODE = 0x2500; public const int GL_TEXTURE_BORDER_COLOR = 0x1004; public const int GL_TEXTURE_WIDTH = 0x1000; public const int GL_TEXTURE_HEIGHT = 0x1001; public const int GL_TEXTURE_BORDER = 0x1005; public const int GL_TEXTURE_COMPONENTS = 0x1003; public const int GL_TEXTURE_RED_SIZE = 0x805C; public const int GL_TEXTURE_GREEN_SIZE = 0x805D; public const int GL_TEXTURE_BLUE_SIZE = 0x805E; public const int GL_TEXTURE_ALPHA_SIZE = 0x805F; public const int GL_TEXTURE_LUMINANCE_SIZE = 0x8060; public const int GL_TEXTURE_INTENSITY_SIZE = 0x8061; public const int GL_NEAREST_MIPMAP_NEAREST = 0x2700; public const int GL_NEAREST_MIPMAP_LINEAR = 0x2702; public const int GL_LINEAR_MIPMAP_NEAREST = 0x2701; public const int GL_LINEAR_MIPMAP_LINEAR = 0x2703; public const int GL_OBJECT_LINEAR = 0x2401; public const int GL_OBJECT_PLANE = 0x2501; public const int GL_EYE_LINEAR = 0x2400; public const int GL_EYE_PLANE = 0x2502; public const int GL_SPHERE_MAP = 0x2402; public const int GL_DECAL = 0x2101; public const int GL_MODULATE = 0x2100; public const int GL_NEAREST = 0x2600; public const int GL_REPEAT = 0x2901; public const int GL_CLAMP = 0x2900; public const int GL_S = 0x2000; public const int GL_T = 0x2001; public const int GL_R = 0x2002; public const int GL_Q = 0x2003; public const int GL_TEXTURE_GEN_R = 0x0C62; public const int GL_TEXTURE_GEN_Q = 0x0C63; public const int GL_VENDOR = 0x1F00; public const int GL_RENDERER = 0x1F01; public const int GL_VERSION = 0x1F02; public const int GL_EXTENSIONS = 0x1F03; public const int GL_NO_ERROR = 0x0; public const int GL_INVALID_ENUM = 0x0500; public const int GL_INVALID_VALUE = 0x0501; public const int GL_INVALID_OPERATION = 0x0502; public const int GL_STACK_OVERFLOW = 0x0503; public const int GL_STACK_UNDERFLOW = 0x0504; public const int GL_OUT_OF_MEMORY = 0x0505; public const uint GL_CURRENT_BIT = 0x00000001; public const uint GL_POINT_BIT = 0x00000002; public const uint GL_LINE_BIT = 0x00000004; public const uint GL_POLYGON_BIT = 0x00000008; public const uint GL_POLYGON_STIPPLE_BIT = 0x00000010; public const uint GL_PIXEL_MODE_BIT = 0x00000020; public const uint GL_LIGHTING_BIT = 0x00000040; public const uint GL_FOG_BIT = 0x00000080; public const uint GL_DEPTH_BUFFER_BIT = 0x00000100; public const uint GL_ACCUM_BUFFER_BIT = 0x00000200; public const uint GL_STENCIL_BUFFER_BIT = 0x00000400; public const uint GL_VIEWPORT_BIT = 0x00000800; public const uint GL_TRANSFORM_BIT = 0x00001000; public const uint GL_ENABLE_BIT = 0x00002000; public const uint GL_COLOR_BUFFER_BIT = 0x00004000; public const uint GL_HINT_BIT = 0x00008000; public const uint GL_EVAL_BIT = 0x00010000; public const uint GL_LIST_BIT = 0x00020000; public const uint GL_TEXTURE_BIT = 0x00040000; public const uint GL_SCISSOR_BIT = 0x00080000; public const uint GL_ALL_ATTRIB_BITS = 0x000FFFFF; public const int GL_PROXY_TEXTURE_1D = 0x8063; public const int GL_PROXY_TEXTURE_2D = 0x8064; public const int GL_TEXTURE_PRIORITY = 0x8066; public const int GL_TEXTURE_RESIDENT = 0x8067; public const int GL_TEXTURE_BINDING_1D = 0x8068; public const int GL_TEXTURE_BINDING_2D = 0x8069; public const int GL_TEXTURE_INTERNAL_FORMAT = 0x1003; public const int GL_ALPHA4 = 0x803B; public const int GL_ALPHA8 = 0x803C; public const int GL_ALPHA12 = 0x803D; public const int GL_ALPHA16 = 0x803E; public const int GL_LUMINANCE4 = 0x803F; public const int GL_LUMINANCE8 = 0x8040; public const int GL_LUMINANCE12 = 0x8041; public const int GL_LUMINANCE16 = 0x8042; public const int GL_LUMINANCE4_ALPHA4 = 0x8043; public const int GL_LUMINANCE6_ALPHA2 = 0x8044; public const int GL_LUMINANCE8_ALPHA8 = 0x8045; public const int GL_LUMINANCE12_ALPHA4 = 0x8046; public const int GL_LUMINANCE12_ALPHA12 = 0x8047; public const int GL_LUMINANCE16_ALPHA16 = 0x8048; public const int GL_INTENSITY = 0x8049; public const int GL_INTENSITY4 = 0x804A; public const int GL_INTENSITY8 = 0x804B; public const int GL_INTENSITY12 = 0x804C; public const int GL_INTENSITY16 = 0x804D; public const int GL_R3_G3_B2 = 0x2A10; public const int GL_RGB4 = 0x804F; public const int GL_RGB5 = 0x8050; public const int GL_RGB8 = 0x8051; public const int GL_RGB10 = 0x8052; public const int GL_RGB12 = 0x8053; public const int GL_RGB16 = 0x8054; public const int GL_RGBA2 = 0x8055; public const int GL_RGBA4 = 0x8056; public const int GL_RGB5_A1 = 0x8057; public const int GL_RGBA8 = 0x8058; public const int GL_RGB10_A2 = 0x8059; public const int GL_RGBA12 = 0x805A; public const int GL_RGBA16 = 0x805B; public const uint GL_CLIENT_PIXEL_STORE_BIT = 0x00000001; public const uint GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002; public const uint GL_ALL_CLIENT_ATTRIB_BITS = 0xFFFFFFFF; public const uint GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF; public const int GL_RESCALE_NORMAL = 0x803A; public const int GL_CLAMP_TO_EDGE = 0x812F; public const int GL_MAX_ELEMENTS_VERTICES = 0x80E8; public const int GL_MAX_ELEMENTS_INDICES = 0x80E9; public const int GL_BGR = 0x80E0; public const int GL_BGRA = 0x80E1; public const int GL_UNSIGNED_BYTE_3_3_2 = 0x8032; public const int GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362; public const int GL_UNSIGNED_SHORT_5_6_5 = 0x8363; public const int GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364; public const int GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033; public const int GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365; public const int GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034; public const int GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366; public const int GL_UNSIGNED_INT_8_8_8_8 = 0x8035; public const int GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367; public const int GL_UNSIGNED_INT_10_10_10_2 = 0x8036; public const int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368; public const int GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8; public const int GL_SINGLE_COLOR = 0x81F9; public const int GL_SEPARATE_SPECULAR_COLOR = 0x81FA; public const int GL_TEXTURE_MIN_LOD = 0x813A; public const int GL_TEXTURE_MAX_LOD = 0x813B; public const int GL_TEXTURE_BASE_LEVEL = 0x813C; public const int GL_TEXTURE_MAX_LEVEL = 0x813D; public const int GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12; public const int GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13; public const int GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22; public const int GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23; public const int GL_ALIASED_POINT_SIZE_RANGE = 0x846D; public const int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E; public const int GL_PACK_SKIP_IMAGES = 0x806B; public const int GL_PACK_IMAGE_HEIGHT = 0x806C; public const int GL_UNPACK_SKIP_IMAGES = 0x806D; public const int GL_UNPACK_IMAGE_HEIGHT = 0x806E; public const int GL_TEXTURE_3D = 0x806F; public const int GL_PROXY_TEXTURE_3D = 0x8070; public const int GL_TEXTURE_DEPTH = 0x8071; public const int GL_TEXTURE_WRAP_R = 0x8072; public const int GL_MAX_3D_TEXTURE_SIZE = 0x8073; public const int GL_TEXTURE_BINDING_3D = 0x806A; public const int GL_CONSTANT_COLOR = 0x8001; public const int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002; public const int GL_CONSTANT_ALPHA = 0x8003; public const int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004; public const int GL_COLOR_TABLE = 0x80D0; public const int GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1; public const int GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2; public const int GL_PROXY_COLOR_TABLE = 0x80D3; public const int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4; public const int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5; public const int GL_COLOR_TABLE_SCALE = 0x80D6; public const int GL_COLOR_TABLE_BIAS = 0x80D7; public const int GL_COLOR_TABLE_FORMAT = 0x80D8; public const int GL_COLOR_TABLE_WIDTH = 0x80D9; public const int GL_COLOR_TABLE_RED_SIZE = 0x80DA; public const int GL_COLOR_TABLE_GREEN_SIZE = 0x80DB; public const int GL_COLOR_TABLE_BLUE_SIZE = 0x80DC; public const int GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD; public const int GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE; public const int GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF; public const int GL_CONVOLUTION_1D = 0x8010; public const int GL_CONVOLUTION_2D = 0x8011; public const int GL_SEPARABLE_2D = 0x8012; public const int GL_CONVOLUTION_BORDER_MODE = 0x8013; public const int GL_CONVOLUTION_FILTER_SCALE = 0x8014; public const int GL_CONVOLUTION_FILTER_BIAS = 0x8015; public const int GL_REDUCE = 0x8016; public const int GL_CONVOLUTION_FORMAT = 0x8017; public const int GL_CONVOLUTION_WIDTH = 0x8018; public const int GL_CONVOLUTION_HEIGHT = 0x8019; public const int GL_MAX_CONVOLUTION_WIDTH = 0x801A; public const int GL_MAX_CONVOLUTION_HEIGHT = 0x801B; public const int GL_POST_CONVOLUTION_RED_SCALE = 0x801C; public const int GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D; public const int GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E; public const int GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F; public const int GL_POST_CONVOLUTION_RED_BIAS = 0x8020; public const int GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021; public const int GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022; public const int GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023; public const int GL_CONSTANT_BORDER = 0x8151; public const int GL_REPLICATE_BORDER = 0x8153; public const int GL_CONVOLUTION_BORDER_COLOR = 0x8154; public const int GL_COLOR_MATRIX = 0x80B1; public const int GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2; public const int GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3; public const int GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4; public const int GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5; public const int GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6; public const int GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7; public const int GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8; public const int GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9; public const int GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA; public const int GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB; public const int GL_HISTOGRAM = 0x8024; public const int GL_PROXY_HISTOGRAM = 0x8025; public const int GL_HISTOGRAM_WIDTH = 0x8026; public const int GL_HISTOGRAM_FORMAT = 0x8027; public const int GL_HISTOGRAM_RED_SIZE = 0x8028; public const int GL_HISTOGRAM_GREEN_SIZE = 0x8029; public const int GL_HISTOGRAM_BLUE_SIZE = 0x802A; public const int GL_HISTOGRAM_ALPHA_SIZE = 0x802B; public const int GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C; public const int GL_HISTOGRAM_SINK = 0x802D; public const int GL_MINMAX = 0x802E; public const int GL_MINMAX_FORMAT = 0x802F; public const int GL_MINMAX_SINK = 0x8030; public const int GL_TABLE_TOO_LARGE = 0x8031; public const int GL_BLEND_EQUATION = 0x8009; public const int GL_MIN = 0x8007; public const int GL_MAX = 0x8008; public const int GL_FUNC_ADD = 0x8006; public const int GL_FUNC_SUBTRACT = 0x800A; public const int GL_FUNC_REVERSE_SUBTRACT = 0x800B; public const int GL_BLEND_COLOR = 0x8005; public const int GL_TEXTURE0 = 0x84C0; public const int GL_TEXTURE1 = 0x84C1; public const int GL_TEXTURE2 = 0x84C2; public const int GL_TEXTURE3 = 0x84C3; public const int GL_TEXTURE4 = 0x84C4; public const int GL_TEXTURE5 = 0x84C5; public const int GL_TEXTURE6 = 0x84C6; public const int GL_TEXTURE7 = 0x84C7; public const int GL_TEXTURE8 = 0x84C8; public const int GL_TEXTURE9 = 0x84C9; public const int GL_TEXTURE10 = 0x84CA; public const int GL_TEXTURE11 = 0x84CB; public const int GL_TEXTURE12 = 0x84CC; public const int GL_TEXTURE13 = 0x84CD; public const int GL_TEXTURE14 = 0x84CE; public const int GL_TEXTURE15 = 0x84CF; public const int GL_TEXTURE16 = 0x84D0; public const int GL_TEXTURE17 = 0x84D1; public const int GL_TEXTURE18 = 0x84D2; public const int GL_TEXTURE19 = 0x84D3; public const int GL_TEXTURE20 = 0x84D4; public const int GL_TEXTURE21 = 0x84D5; public const int GL_TEXTURE22 = 0x84D6; public const int GL_TEXTURE23 = 0x84D7; public const int GL_TEXTURE24 = 0x84D8; public const int GL_TEXTURE25 = 0x84D9; public const int GL_TEXTURE26 = 0x84DA; public const int GL_TEXTURE27 = 0x84DB; public const int GL_TEXTURE28 = 0x84DC; public const int GL_TEXTURE29 = 0x84DD; public const int GL_TEXTURE30 = 0x84DE; public const int GL_TEXTURE31 = 0x84DF; public const int GL_ACTIVE_TEXTURE = 0x84E0; public const int GL_CLIENT_ACTIVE_TEXTURE = 0x84E1; public const int GL_MAX_TEXTURE_UNITS = 0x84E2; public const int GL_NORMAL_MAP = 0x8511; public const int GL_REFLECTION_MAP = 0x8512; public const int GL_TEXTURE_CUBE_MAP = 0x8513; public const int GL_TEXTURE_BINDING_CUBE_MAP = 0x8514; public const int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; public const int GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; public const int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; public const int GL_PROXY_TEXTURE_CUBE_MAP = 0x851B; public const int GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; public const int GL_COMPRESSED_ALPHA = 0x84E9; public const int GL_COMPRESSED_LUMINANCE = 0x84EA; public const int GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB; public const int GL_COMPRESSED_INTENSITY = 0x84EC; public const int GL_COMPRESSED_RGB = 0x84ED; public const int GL_COMPRESSED_RGBA = 0x84EE; public const int GL_TEXTURE_COMPRESSION_HINT = 0x84EF; public const int GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0; public const int GL_TEXTURE_COMPRESSED = 0x86A1; public const int GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2; public const int GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3; public const int GL_MULTISAMPLE = 0x809D; public const int GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E; public const int GL_SAMPLE_ALPHA_TO_ONE = 0x809F; public const int GL_SAMPLE_COVERAGE = 0x80A0; public const int GL_SAMPLE_BUFFERS = 0x80A8; public const int GL_SAMPLES = 0x80A9; public const int GL_SAMPLE_COVERAGE_VALUE = 0x80AA; public const int GL_SAMPLE_COVERAGE_INVERT = 0x80AB; public const uint GL_MULTISAMPLE_BIT = 0x20000000; public const int GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3; public const int GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4; public const int GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5; public const int GL_TRANSPOSE_COLOR_MATRIX = 0x84E6; public const int GL_COMBINE = 0x8570; public const int GL_COMBINE_RGB = 0x8571; public const int GL_COMBINE_ALPHA = 0x8572; public const int GL_SOURCE0_RGB = 0x8580; public const int GL_SOURCE1_RGB = 0x8581; public const int GL_SOURCE2_RGB = 0x8582; public const int GL_SOURCE0_ALPHA = 0x8588; public const int GL_SOURCE1_ALPHA = 0x8589; public const int GL_SOURCE2_ALPHA = 0x858A; public const int GL_OPERAND0_RGB = 0x8590; public const int GL_OPERAND1_RGB = 0x8591; public const int GL_OPERAND2_RGB = 0x8592; public const int GL_OPERAND0_ALPHA = 0x8598; public const int GL_OPERAND1_ALPHA = 0x8599; public const int GL_OPERAND2_ALPHA = 0x859A; public const int GL_RGB_SCALE = 0x8573; public const int GL_ADD_SIGNED = 0x8574; public const int GL_INTERPOLATE = 0x8575; public const int GL_SUBTRACT = 0x84E7; public const int GL_CONSTANT = 0x8576; public const int GL_PRIMARY_COLOR = 0x8577; public const int GL_PREVIOUS = 0x8578; public const int GL_DOT3_RGB = 0x86AE; public const int GL_DOT3_RGBA = 0x86AF; public const int GL_CLAMP_TO_BORDER = 0x812D; public const int GL_ARB_multitexture = 1; public const int GL_TEXTURE0_ARB = 0x84C0; public const int GL_TEXTURE1_ARB = 0x84C1; public const int GL_TEXTURE2_ARB = 0x84C2; public const int GL_TEXTURE3_ARB = 0x84C3; public const int GL_TEXTURE4_ARB = 0x84C4; public const int GL_TEXTURE5_ARB = 0x84C5; public const int GL_TEXTURE6_ARB = 0x84C6; public const int GL_TEXTURE7_ARB = 0x84C7; public const int GL_TEXTURE8_ARB = 0x84C8; public const int GL_TEXTURE9_ARB = 0x84C9; public const int GL_TEXTURE10_ARB = 0x84CA; public const int GL_TEXTURE11_ARB = 0x84CB; public const int GL_TEXTURE12_ARB = 0x84CC; public const int GL_TEXTURE13_ARB = 0x84CD; public const int GL_TEXTURE14_ARB = 0x84CE; public const int GL_TEXTURE15_ARB = 0x84CF; public const int GL_TEXTURE16_ARB = 0x84D0; public const int GL_TEXTURE17_ARB = 0x84D1; public const int GL_TEXTURE18_ARB = 0x84D2; public const int GL_TEXTURE19_ARB = 0x84D3; public const int GL_TEXTURE20_ARB = 0x84D4; public const int GL_TEXTURE21_ARB = 0x84D5; public const int GL_TEXTURE22_ARB = 0x84D6; public const int GL_TEXTURE23_ARB = 0x84D7; public const int GL_TEXTURE24_ARB = 0x84D8; public const int GL_TEXTURE25_ARB = 0x84D9; public const int GL_TEXTURE26_ARB = 0x84DA; public const int GL_TEXTURE27_ARB = 0x84DB; public const int GL_TEXTURE28_ARB = 0x84DC; public const int GL_TEXTURE29_ARB = 0x84DD; public const int GL_TEXTURE30_ARB = 0x84DE; public const int GL_TEXTURE31_ARB = 0x84DF; public const int GL_ACTIVE_TEXTURE_ARB = 0x84E0; public const int GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1; public const int GL_MAX_TEXTURE_UNITS_ARB = 0x84E2; public const int GL_MESA_shader_debug = 1; public const int GL_DEBUG_OBJECT_MESA = 0x8759; public const int GL_DEBUG_PRINT_MESA = 0x875A; public const int GL_DEBUG_ASSERT_MESA = 0x875B; public const int GL_MESA_packed_depth_stencil = 1; public const int GL_DEPTH_STENCIL_MESA = 0x8750; public const int GL_UNSIGNED_INT_24_8_MESA = 0x8751; public const int GL_UNSIGNED_INT_8_24_REV_MESA = 0x8752; public const int GL_UNSIGNED_SHORT_15_1_MESA = 0x8753; public const int GL_UNSIGNED_SHORT_1_15_REV_MESA = 0x8754; public const int GL_MESA_program_debug = 1; public const int GL_FRAGMENT_PROGRAM_POSITION_MESA = 0x8bb0; public const int GL_FRAGMENT_PROGRAM_CALLBACK_MESA = 0x8bb1; public const int GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA = 0x8bb2; public const int GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA = 0x8bb3; public const int GL_VERTEX_PROGRAM_POSITION_MESA = 0x8bb4; public const int GL_VERTEX_PROGRAM_CALLBACK_MESA = 0x8bb5; public const int GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA = 0x8bb6; public const int GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA = 0x8bb7; public const int GL_MESA_texture_array = 1; public const int GL_TEXTURE_1D_ARRAY_EXT = 0x8C18; public const int GL_PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19; public const int GL_TEXTURE_2D_ARRAY_EXT = 0x8C1A; public const int GL_PROXY_TEXTURE_2D_ARRAY_EXT = 0x8C1B; public const int GL_TEXTURE_BINDING_1D_ARRAY_EXT = 0x8C1C; public const int GL_TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D; public const int GL_MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF; public const int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4; public const int GL_ATI_blend_equation_separate = 1; public const int GL_ALPHA_BLEND_EQUATION_ATI = 0x883D; } } clutter-sharp-1.0.0alpha3/clutter/Cogl/Makefile.am0000644000175000017500000000057511506367775023560 0ustar00hyperairhyperair00000000000000GAPI_SOURCES_XML = $(srcdir)/cogl-sources.xml GAPI_METADATA = $(srcdir)/cogl.metadata GAPI_RAW_API = $(srcdir)/cogl-api.raw GAPI_SYMBOLS = $(srcdir)/cogl-symbols.xml GAPI_FIXED_API = $(builddir)/cogl-api.xml CLEANFILES = EXTRA_DIST = parse-gl-h.awk GL.cs: parse-gl-h.awk ./$< < /usr/include/GL/gl.h > $@ include $(top_srcdir)/build/gapi.mk MAINTAINERCLEANFILES = Makefile.in clutter-sharp-1.0.0alpha3/clutter/Clutter/0000755000175000017500000000000011506372235022236 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/clutter/Clutter/StageStateEvent.cs0000644000175000017500000000421511506367775025652 0ustar00hyperairhyperair00000000000000// // StageStateEvent.cs // // Author: // Stephane Delcroix // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public class StageStateEvent : Event { public StageStateEvent (IntPtr raw) : base(raw) { } [StructLayout (LayoutKind.Sequential)] private struct NativeStruct { public EventType type; public int time; public EventFlags flags; public IntPtr stage; public IntPtr source; public StageState changed_mask; public StageState new_state; } private NativeStruct Native { get { return (NativeStruct)Marshal.PtrToStructure (Handle, typeof (NativeStruct)); } } public StageState ChangedMask { get { return Native.changed_mask; } set { NativeStruct native = Native; native.changed_mask = value; Marshal.StructureToPtr (native, Handle, false); } } public StageState NewState { get { return Native.new_state; } set { NativeStruct native = Native; native.new_state = value; Marshal.StructureToPtr (native, Handle, false); } } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Knot.custom0000644000175000017500000000235011506367775024422 0ustar00hyperairhyperair00000000000000// // Knot.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public Knot (int x, int y) { this.X = x; this.Y = y; } clutter-sharp-1.0.0alpha3/clutter/Clutter/Exp.custom0000644000175000017500000000257511506367775024254 0ustar00hyperairhyperair00000000000000// // Exp.custom // // Authors: // Thomas Van Machelen // // Copyright 2009 Thomas Van Machelen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public static uint DecFunc (Clutter.Alpha alpha) { return DecFunc (alpha, IntPtr.Zero); } public static uint IncFunc (Clutter.Alpha alpha) { return IncFunc (alpha, IntPtr.Zero); } clutter-sharp-1.0.0alpha3/clutter/Clutter/Script.custom0000644000175000017500000000243711506367775024761 0ustar00hyperairhyperair00000000000000// // Script.custom // // Authors: // Thomas Van Machelen // // Copyright 2009 Thomas Van Machelen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public T GetObject (string name) where T : GLib.Object { return (T)GetObject (name); } clutter-sharp-1.0.0alpha3/clutter/Clutter/clutter-symbols.xml0000644000175000017500000000151311506367775026145 0ustar00hyperairhyperair00000000000000 clutter-sharp-1.0.0alpha3/clutter/Clutter/Application.cs0000644000175000017500000001012411506367775025043 0ustar00hyperairhyperair00000000000000// // Application.cs // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public static class Application { private class ClutterInitException : ApplicationException { private InitError clutter_error; public ClutterInitException (InitError error) : base (String.Format ("Error from clutter_init error: {0}", error)) { clutter_error = error; } public InitError ClutterError { get { return clutter_error; } } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_main (); public static void Run () { clutter_main (); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_main_quit (); public static void Quit () { clutter_main_quit (); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern InitError clutter_init (IntPtr argc, IntPtr argv); public static void Init () { InitError error = clutter_init (IntPtr.Zero, IntPtr.Zero); if (error != InitError.Success) { throw new ClutterInitException (error); } } public static void InitForToolkit () { if (Environment.OSVersion.Platform == PlatformID.Unix) { X11.SetDisplay (Gdk.Display.Default); X11.DisableEventRetrieval (); } else { Win32.DisableEventRetrieval (); } Init (); } public static class X11 { [DllImport ("gdk-x11")] private static extern IntPtr gdk_x11_display_get_xdisplay (IntPtr display); [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_x11_set_display (IntPtr xdisplay); public static void SetDisplay (Gdk.Display display) { clutter_x11_set_display (display == null ? IntPtr.Zero : gdk_x11_display_get_xdisplay (display.Handle)); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_x11_disable_event_retrieval (); public static void DisableEventRetrieval () { clutter_x11_disable_event_retrieval (); } } public static class Win32 { [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_win32_disable_event_retrieval (); public static void DisableEventRetrieval () { clutter_win32_disable_event_retrieval (); } } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Makefile.in0000644000175000017500000003113411506371322024301 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/build/gapi.mk subdir = clutter/Clutter ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(gapidir)" DATA = $(gapi_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ GAPI_SOURCES_XML = $(srcdir)/clutter-sources.xml GAPI_METADATA = $(srcdir)/clutter.metadata GAPI_RAW_API = $(srcdir)/clutter-api.raw GAPI_SYMBOLS = $(srcdir)/clutter-symbols.xml GAPI_FIXED_API = $(builddir)/clutter-api.xml CUSTOM_API_INCLUDES = $(top_builddir)/clutter/Cogl/cogl-api.xml CLEANFILES = generated-stamp generated/*.cs $(GAPI_FIXED_API) EXTRA_DIST = $(GAPI_RAW_API) $(GAPI_METADATA) $(GAPI_SOURCES_XML) \ $(GAPI_SYMBOLS) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(GAPI_FIXED_API) build_symbols = $(addprefix --symbols=$(srcdir)/, $(GAPI_SYMBOLS)) api_includes = $(GTKSHARP_CFLAGS) $(CUSTOM_API_INCLUDES) MAINTAINERCLEANFILES = Makefile.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/build/gapi.mk $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign clutter/Clutter/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign clutter/Clutter/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)" @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gapidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gapidir)" || exit $$?; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(gapidir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(gapidir)" && rm -f $$files tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(gapidir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-gapiDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-gapiDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-local \ distclean distclean-generic distdir dvi dvi-am html html-am \ info info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-gapiDATA install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-gapiDATA api: $(GAPI_PARSER) $(GAPI_SOURCES_XML) $(top_srcdir)/build/gapi-parser-post.sed < $(GAPI_RAW_API) > $(GAPI_RAW_API).tmp mv $(GAPI_RAW_API).tmp $(GAPI_RAW_API) $(GAPI_FIXED_API): $(GAPI_RAW_API) $(GAPI_METADATA) $(GAPI_SYMBOLS) $(wildcard *.custom) cp $(GAPI_RAW_API) $(GAPI_FIXED_API) chmod +w $(GAPI_FIXED_API) $(GAPI_FIXUP) --api=$(GAPI_FIXED_API) --metadata=$(GAPI_METADATA) $(build_symbols) $(GAPI_CODEGEN) --outdir=./generated --customdir=$(srcdir) $(api_includes) --generate $(GAPI_FIXED_API) clean-local: rm -rf generated # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/clutter/Clutter/CrossingEvent.cs0000644000175000017500000000402311506367775025372 0ustar00hyperairhyperair00000000000000// Clutter.CrossingEvent.cs - Custom crossing event wrapper // // Author: Stephane Delcroix // // Copyright (c) 2009 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Clutter { using System; using System.Runtime.InteropServices; public class CrossingEvent : Event { public CrossingEvent(IntPtr raw) : base(raw) { } [StructLayout (LayoutKind.Sequential)] struct NativeStruct { public EventType type; public int time; public EventFlags flags; public IntPtr stage; public IntPtr source; public int x; public int y; public IntPtr device; /* InputDevice*, reserved for future use */ public IntPtr related; } NativeStruct Native { get { return (NativeStruct) Marshal.PtrToStructure (Handle, typeof(NativeStruct)); } } public int X { get { return Native.x; } set { NativeStruct native = Native; native.x = value; Marshal.StructureToPtr (native, Handle, false); } } public int Y { get { return Native.y; } set { NativeStruct native = Native; native.y = value; Marshal.StructureToPtr (native, Handle, false); } } public Actor Related { get { return GLib.Object.GetObject (Native.related, false) as Actor; } set { NativeStruct native = Native; native.related = value == null ? IntPtr.Zero : value.Handle; Marshal.StructureToPtr (native, Handle, false); } } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/BehaviourPath.custom0000644000175000017500000000326511506367775026256 0ustar00hyperairhyperair00000000000000// // BehaviourPath.custom // // Authors: // Thomas Van Machelen // // Copyright 2009 Thomas Van Machelen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. [DllImport ("libclutter-win32-1.0-0.dll")] private static extern IntPtr clutter_behaviour_path_new (IntPtr alpha, ref Knot knots, uint n_knots); public BehaviourPath (Clutter.Alpha alpha, Clutter.Knot [] knots) : base (IntPtr.Zero) { if (GetType () != typeof (BehaviourPath)) { throw new InvalidOperationException ("Can't override this constructor."); } Raw = clutter_behaviour_path_new (alpha == null ? IntPtr.Zero : alpha.Handle, ref knots[0], (uint)knots.Length); } clutter-sharp-1.0.0alpha3/clutter/Clutter/ButtonEvent.cs0000644000175000017500000000552511506367775025066 0ustar00hyperairhyperair00000000000000// // ButtonEvent.cs // // Author: // Stephane Delcroix // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public class ButtonEvent : Event { public ButtonEvent (IntPtr raw) : base (raw) { } [StructLayout (LayoutKind.Sequential)] private struct NativeStruct { public EventType type; public int time; public EventFlags flags; public IntPtr stage; public IntPtr source; public int x; public int y; public ModifierType modifier_state; public int button; public uint click_count; public IntPtr axes; // gdouble *, reserved for future use public IntPtr device; // InputDevice *, reserved for future use } private NativeStruct Native { get { return (NativeStruct)Marshal.PtrToStructure (Handle, typeof (NativeStruct)); } } public int X { get { return Native.x; } set { NativeStruct native = Native; native.x = value; Marshal.StructureToPtr (native, Handle, false); } } public int Y { get { return Native.y; } set { NativeStruct native = Native; native.y = value; Marshal.StructureToPtr (native, Handle, false); } } public ModifierType ModifierState { get { return Native.modifier_state; } set { NativeStruct native = Native; native.modifier_state = value; Marshal.StructureToPtr (native, Handle, false); } } public int Button { get { return Native.button; } set { NativeStruct native = Native; native.button = value; Marshal.StructureToPtr (native, Handle, false); } } public uint ClickCount { get { return Native.click_count; } set { NativeStruct native = Native; native.click_count = value; Marshal.StructureToPtr (native, Handle, false); } } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Group.custom0000644000175000017500000000310311506367775024600 0ustar00hyperairhyperair00000000000000// // Group.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public System.Collections.Generic.IEnumerator GetEnumerator () { var children = new Clutter.Actor[NChildren]; for (int i = 0; i < children.Length; i++) { children[i] = GetNthChild (i); } foreach (var child in children) { yield return child; } } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () { return GetEnumerator (); } clutter-sharp-1.0.0alpha3/clutter/Clutter/clutter-api.raw0000644000175000017500000076325611506367775025242 0ustar00hyperairhyperair00000000000000 clutter-sharp-1.0.0alpha3/clutter/Clutter/Texture.custom0000644000175000017500000000451411506367775025153 0ustar00hyperairhyperair00000000000000// // Texture.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. [DllImport ("libclutter-win32-1.0-0.dll")] private static extern bool clutter_texture_set_from_rgb_data (IntPtr raw, IntPtr data, bool has_alpha, int width, int height, int rowstride, int bpp, int flags, out IntPtr error); public bool SetFromRgbData (IntPtr data, bool has_alpha, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) { IntPtr error = IntPtr.Zero; bool result = clutter_texture_set_from_rgb_data (Handle, data, has_alpha, width, height, rowstride, bpp, (int)flags, out error); if (error != IntPtr.Zero) { throw new GLib.GException (error); } return result; } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern bool clutter_texture_set_from_yuv_data (IntPtr raw, IntPtr data, int width, int height, int flags, out IntPtr error); public bool SetFromYuvData (IntPtr data, int width, int height, Clutter.TextureFlags flags) { IntPtr error = IntPtr.Zero; bool result = clutter_texture_set_from_yuv_data (Handle, data, width, height, (int)flags, out error); if (error != IntPtr.Zero) { throw new GLib.GException (error); } return result; } clutter-sharp-1.0.0alpha3/clutter/Clutter/Idle.cs0000644000175000017500000000434711506367775023467 0ustar00hyperairhyperair00000000000000// // Idle.cs // // Authors: // Thomas Van Machelen // Aaron Bockover // // Copyright 2009 Thomas Van Machelen, Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public delegate bool IdleHandler (); public static class Idle { [GLib.CDeclCallback] private delegate bool IdleHandlerInternal (); internal class IdleProxy : SourceProxy { public IdleProxy (IdleHandler real) { real_handler = real; proxy_handler = new IdleHandlerInternal (Handler); } public bool Handler () { bool cont = ((IdleHandler)real_handler) (); if (!cont) { Remove (); } return cont; } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern uint clutter_threads_add_idle (IdleHandlerInternal d, IntPtr data); public static uint Add (IdleHandler handler) { var proxy = new IdleProxy (handler); uint code = clutter_threads_add_idle ((IdleHandlerInternal)proxy.proxy_handler, IntPtr.Zero); lock (Source.source_handlers) { Source.source_handlers[code] = proxy; } return code; } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Stage.custom0000644000175000017500000000323211506367775024552 0ustar00hyperairhyperair00000000000000// // Stage.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_stage_get_color (IntPtr stage, ref Clutter.Color color); [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_stage_set_color (IntPtr stage, ref Clutter.Color color); public Color Color { get { Clutter.Color color = new Clutter.Color (); clutter_stage_get_color (Handle, ref color); return color; } set { clutter_stage_set_color (Handle, ref value); } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Color.custom0000644000175000017500000001277411506367775024600 0ustar00hyperairhyperair00000000000000// // Color.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public byte R { get; set; } public byte G { get; set; } public byte B { get; set; } public byte A { get; set; } public Color (byte r, byte g, byte b, byte a) { R = r; G = g; B = b; A = a; } public Color (byte r, byte g, byte b) : this (r, g, b, 0xff) { } public Color (float r, float g, float b, float a) : this ((byte)(r * 0xff), (byte)(g * 0xff), (byte)(b * 0xff), (byte)(a * 0xff)) { } public Color (float r, float g, float b) : this (r, g, b, 1.0f) { } public Color (double r, double g, double b, double a) : this ((byte)(r * 0xff), (byte)(g * 0xff), (byte)(b * 0xff), (byte)(a * 0xff)) { } public Color (double r, double g, double b) : this (r, g, b, 1.0) { } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_color_lighten (ref Color color, ref Color result); public Color Lighten () { Color result = new Color (); clutter_color_lighten (ref this, ref result); return result; } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_color_darken (ref Color color, ref Color result); public Color Darken () { Color result = new Color (); clutter_color_darken (ref this, ref result); return result; } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_color_shade (ref Color color, double factor, ref Color result); public Color Shade (double factor) { Color result = new Color (); clutter_color_shade (ref this, factor, ref result); return result; } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_color_add (ref Color color, ref Color b, ref Color result); public Color Add (Color b) { Color result = new Color (); clutter_color_add (ref this, ref b, ref result); return result; } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_color_subtract (ref Color color, ref Color b, ref Color result); public Color Subtract (Color b) { Color result = new Color (); clutter_color_subtract (ref this, ref b, ref result); return result; } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_color_from_hls (ref Color color, float hue, float luminance, float saturation); public void FromHls (float hue, float luminance, float saturation) { clutter_color_from_hls (ref this, hue, luminance, saturation); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_color_to_hls (ref Color color, out float hue, out float luminance, out float saturation); public void ToHls (out float hue, out float luminance, out float saturation) { clutter_color_to_hls (ref this, out hue, out luminance, out saturation); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern uint clutter_color_to_pixel (ref Color color); public uint ToPixel () { return clutter_color_to_pixel (ref this); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_color_from_pixel (ref Color color, uint pixel); public void FromPixel (uint pixel) { clutter_color_from_pixel (ref this, pixel); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern bool clutter_color_from_string (ref Color color, IntPtr str); public bool FromString (string str) { IntPtr str_ptr = IntPtr.Zero; try { str_ptr = GLib.Marshaller.StringToPtrGStrdup (str); return clutter_color_from_string (ref this, str_ptr); } finally { GLib.Marshaller.Free (str_ptr); } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern IntPtr clutter_color_to_string (ref Color color); public override string ToString () { return GLib.Marshaller.PtrToStringGFree (clutter_color_to_string (ref this)); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern bool clutter_color_equal (ref Color a, ref Color b); public override bool Equals (object obj) { if (obj is Color) { Color c = (Color)obj; return clutter_color_equal (ref this, ref c); } return false; } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern uint clutter_color_hash (ref Color color); public override int GetHashCode () { return (int)clutter_color_hash (ref this); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern IntPtr clutter_color_get_type (); public static GLib.GType GType { get { return new GLib.GType (clutter_color_get_type ()); } } clutter-sharp-1.0.0alpha3/clutter/Clutter/MotionEvent.cs0000644000175000017500000000463611506367775025062 0ustar00hyperairhyperair00000000000000// // MotionEvent.cs // // Author: // Stephane Delcroix // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public class MotionEvent : Event { public MotionEvent (IntPtr raw) : base (raw) { } [StructLayout (LayoutKind.Sequential)] private struct NativeStruct { public EventType type; public int time; public EventFlags flags; public IntPtr stage; public IntPtr source; public int x; public int y; public ModifierType modifier_state; public IntPtr axes; // gdouble *, reserved for future use public IntPtr device; // InputDevice *, reserved for future use } private NativeStruct Native { get { return (NativeStruct)Marshal.PtrToStructure (Handle, typeof (NativeStruct)); } } public int X { get { return Native.x; } set { NativeStruct native = Native; native.x = value; Marshal.StructureToPtr (native, Handle, false); } } public int Y { get { return Native.y; } set { NativeStruct native = Native; native.y = value; Marshal.StructureToPtr (native, Handle, false); } } public ModifierType ModifierState { get { return Native.modifier_state; } set { NativeStruct native = Native; native.modifier_state = value; Marshal.StructureToPtr (native, Handle, false); } } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Rectangle.custom0000644000175000017500000000325611506367775025421 0ustar00hyperairhyperair00000000000000// // Rectangle.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_rectangle_get_color (IntPtr stage, ref Clutter.Color color); [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_rectangle_set_color (IntPtr stage, ref Clutter.Color color); public Color Color { get { Clutter.Color color = new Clutter.Color (); clutter_rectangle_get_color (Handle, ref color); return color; } set { clutter_rectangle_set_color (Handle, ref value); } } clutter-sharp-1.0.0alpha3/clutter/Clutter/KeyEvent.cs0000644000175000017500000000513311506367775024336 0ustar00hyperairhyperair00000000000000// // KeyEvent.cs // // Author: // Stephane Delcroix // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public class KeyEvent : Event { public KeyEvent (IntPtr raw) : base (raw) { } [StructLayout (LayoutKind.Sequential)] private struct NativeStruct { public EventType type; public int time; public EventFlags flags; public IntPtr stage; public IntPtr source; public ModifierType modifier_state; public uint keyval; public ushort hardware_keycode; public char unicode_value; } private NativeStruct Native { get { return (NativeStruct)Marshal.PtrToStructure (Handle, typeof (NativeStruct)); } } public ModifierType ModifierState { get { return Native.modifier_state; } set { NativeStruct native = Native; native.modifier_state = value; Marshal.StructureToPtr (native, Handle, false); } } public uint Symbol { get { return Native.keyval; } set { NativeStruct native = Native; native.keyval = value; Marshal.StructureToPtr (native, Handle, false); } } public ushort HardwareKeycode { get { return Native.hardware_keycode; } set { NativeStruct native = Native; native.hardware_keycode = value; Marshal.StructureToPtr (native, Handle, false); } } public char UnicodeValue { get { return Native.unicode_value; } set { NativeStruct native = Native; native.unicode_value = value; Marshal.StructureToPtr (native, Handle, false); } } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Actor.custom0000644000175000017500000000517211506367775024564 0ustar00hyperairhyperair00000000000000// // Actor.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public void Allocate (ActorBox box) { Allocate (box, AllocationFlags.None); } public void Allocate (Geometry geometry, AllocationFlags flags) { Allocate (new ActorBox () { X1 = geometry.X, Y1 = geometry.Y, Width = geometry.Width, Height = geometry.Height }, flags); } public void Allocate (Geometry geometry) { Allocate (geometry, AllocationFlags.None); } private AnimationChain animation_chain; public AnimationChain AnimationChain { get { return animation_chain = animation_chain ?? new AnimationChain (this); } } public bool IsMapped { get { return (Flags & ActorFlags.Mapped) != 0; } set { if (value) { Flags |= ActorFlags.Mapped; } else { Flags &= ~ActorFlags.Mapped; } } } public bool IsReactive { get { return (Flags & ActorFlags.Reactive) != 0; } set { if (value) { Flags |= ActorFlags.Reactive; } else { Flags &= ~ActorFlags.Reactive; } } } public bool IsRealized { get { return (Flags & ActorFlags.Realized) != 0; } set { if (value) { Flags |= ActorFlags.Realized; } else { Flags &= ~ActorFlags.Realized; } } } public bool IsVisible { get { return (Flags & ActorFlags.Visible) != 0; } set { if (value) { Flags |= ActorFlags.Visible; } else { Flags &= ~ActorFlags.Visible; } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/AnimationChain.cs0000644000175000017500000001416511506367775025473 0ustar00hyperairhyperair00000000000000// // AnimationChain.cs // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public class AnimationChain { private Animation last_animation; public Animation LastAnimation { get { return last_animation; } } public AnimationMode Easing { get; set; } public uint Duration { get; set; } public string Target { get; set; } private Actor actor; public Actor Actor { get { return actor; } } private Action when_finished_handler; public AnimationChain (Actor actor) { if (actor == null) { throw new ArgumentNullException ("actor"); } this.actor = actor; } public AnimationChain SetEasing (AnimationMode easing) { Easing = easing; return this; } public AnimationChain SetDuration (uint duration) { Duration = duration; return this; } public AnimationChain SetTarget (string property) { Target = property; return this; } public AnimationChain WhenFinished (Action handler) { when_finished_handler = handler; return this; } public AnimationChain To (T value) where T : struct { return Animate (Easing, Duration, Target, value); } public AnimationChain Animate (string target, T value) where T : struct { return Animate (Easing, Duration, target, value); } public AnimationChain Animate (AnimationMode easing, uint duration, string property, T value) where T : struct { IntPtr result = IntPtr.Zero; IntPtr handle = actor.Handle; IntPtr prop = GLib.Marshaller.StringToPtrGStrdup (property); uint mode = (uint)easing; try { var type = value.GetType (); if (type == typeof (byte)) { result = clutter_actor_animate_byte (handle, mode, duration, prop, (byte)Convert.ChangeType (value, typeof (byte)), IntPtr.Zero); } else if (type == typeof (int)) { result = clutter_actor_animate_int (handle, mode, duration, prop, (int)Convert.ChangeType (value, typeof (int)), IntPtr.Zero); } else if (type == typeof (uint)) { result = clutter_actor_animate_uint (handle, mode, duration, prop, (uint)Convert.ChangeType (value, typeof (uint)), IntPtr.Zero); } else if (type == typeof (double) || type == typeof (float)) { result = clutter_actor_animate_double (handle, mode, duration, prop, (double)Convert.ChangeType (value, typeof (double)), IntPtr.Zero); } else { throw new ArgumentException ("typeof(value) must be byte, int, uint, double, or float", "value"); } } finally { GLib.Marshaller.Free (prop); } if (last_animation != null) { last_animation.Completed -= OnLastAnimationCompleted; } last_animation = result != IntPtr.Zero ? (Animation)GLib.Object.GetObject (result) : null; if (last_animation != null) { last_animation.Completed += OnLastAnimationCompleted; } return this; } private void OnLastAnimationCompleted (object o, EventArgs args) { if (when_finished_handler != null) { when_finished_handler (actor); } } [DllImport ("libclutter-win32-1.0-0.dll", EntryPoint="clutter_actor_animate")] private static extern IntPtr clutter_actor_animate_uint (IntPtr handle, uint mode, uint duration, IntPtr property_name, uint value, IntPtr sentinel); [DllImport ("libclutter-win32-1.0-0.dll", EntryPoint="clutter_actor_animate")] private static extern IntPtr clutter_actor_animate_int (IntPtr handle, uint mode, uint duration, IntPtr property_name, int value, IntPtr sentinel); [DllImport ("libclutter-win32-1.0-0.dll", EntryPoint="clutter_actor_animate")] private static extern IntPtr clutter_actor_animate_byte (IntPtr handle, uint mode, uint duration, IntPtr property_name, byte value, IntPtr sentinel); [DllImport ("libclutter-win32-1.0-0.dll", EntryPoint="clutter_actor_animate")] private static extern IntPtr clutter_actor_animate_double (IntPtr handle, uint mode, uint duration, IntPtr property_name, double value, IntPtr sentinel); } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Timeline.custom0000644000175000017500000000234411506367775025260 0ustar00hyperairhyperair00000000000000// // Timeline.custom // // Authors: // Thomas Van Machelen // // Copyright 2009 Thomas Van Machelen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public Timeline () : this (1) { } clutter-sharp-1.0.0alpha3/clutter/Clutter/Timeout.cs0000644000175000017500000000445711506367775024242 0ustar00hyperairhyperair00000000000000// // Timeout.cs // // Authors: // Thomas Van Machelen // Aaron Bockover // // Copyright 2009 Thomas Van Machelen, Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public delegate bool TimeoutHandler (); public static class Timeout { [GLib.CDeclCallback] private delegate bool TimeoutHandlerInternal (); internal class TimeoutProxy : SourceProxy { public TimeoutProxy (TimeoutHandler real) { real_handler = real; proxy_handler = new TimeoutHandlerInternal (Handler); } public bool Handler () { bool cont = ((TimeoutHandler)real_handler) (); if (!cont) { Remove (); } return cont; } } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern uint clutter_threads_add_timeout (uint interval, TimeoutHandlerInternal d, IntPtr data); public static uint Add (uint interval, TimeoutHandler handler) { var proxy = new TimeoutProxy (handler); uint code = clutter_threads_add_timeout (interval, (TimeoutHandlerInternal)proxy.proxy_handler, IntPtr.Zero); lock (Source.source_handlers) { Source.source_handlers[code] = proxy; } return code; } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Smoothstep.custom0000644000175000017500000000255511506367775025663 0ustar00hyperairhyperair00000000000000// // Smoothstep.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public static uint DecFunc (Clutter.Alpha alpha) { return DecFunc (alpha, IntPtr.Zero); } public static uint IncFunc (Clutter.Alpha alpha) { return IncFunc (alpha, IntPtr.Zero); } clutter-sharp-1.0.0alpha3/clutter/Clutter/Source.cs0000644000175000017500000000443411506367775024047 0ustar00hyperairhyperair00000000000000// // Source.cs // // Authors: // Thomas Van Machelen // Aaron Bockover // // Copyright 2009 Thomas Van Machelen, Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Collections.Generic; using System.Runtime.InteropServices; namespace Clutter { // Base class for IdleProxy and TimeoutProxy internal class SourceProxy { internal Delegate real_handler; internal Delegate proxy_handler; internal void Remove () { var keys = new List (); lock (Source.source_handlers) { foreach (uint code in Source.source_handlers.Keys) { if (Source.source_handlers [code] == this) { keys.Add (code); } } foreach (uint key in keys) { Source.source_handlers.Remove (key); } } real_handler = null; proxy_handler = null; } } public static class Source { internal static Dictionary source_handlers = new Dictionary (); [DllImport ("libglib-2.0-0.dll")] private static extern bool g_source_remove (uint tag); public static bool Remove (uint tag) { lock (source_handlers) { source_handlers.Remove (tag); } return g_source_remove (tag); } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Ramp.custom0000644000175000017500000000272611506367775024415 0ustar00hyperairhyperair00000000000000// // Ramp.custom // // Authors: // Thomas Van Machelen // // Copyright 2009 Thomas Van Machelen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public static uint DecFunc (Clutter.Alpha alpha) { return DecFunc (alpha, IntPtr.Zero); } public static uint Func (Clutter.Alpha alpha) { return Func (alpha, IntPtr.Zero); } public static uint IncFunc (Clutter.Alpha alpha) { return IncFunc (alpha, IntPtr.Zero); } clutter-sharp-1.0.0alpha3/clutter/Clutter/ActorBox.custom0000644000175000017500000001044111506367775025230 0ustar00hyperairhyperair00000000000000// // ActorBox.custom // // Author: // Aaron Bockover // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. private float x1, y1, x2, y2; public ActorBox (float x, float y, float width, float height) { X1 = x; Y1 = y; Width = width; Height = height; } public override string ToString () { return String.Format ("{0}+{1},{2}x{3}", X1, Y1, Width, Height); } public float X1 { get { return x1; } set { x1 = value; } } public float Y1 { get { return y1; } set { y1 = value; } } public float X2 { get { return x1; } set { x1 = value; } } public float Y2 { get { return y2; } set { y2 = value; } } public float Width { get { return x2 - x1; } set { x2 = x1 + value; } } public float Height { get { return y2 - y1; } set { y2 = y1 + value; } } public float Left { get { return x1; } } public float Top { get { return y1; } } public float Right { get { return x2; } } public float Bottom { get { return y2; } } public static ActorBox Empty { get { ActorBox empty = new ActorBox (Single.PositiveInfinity, Single.PositiveInfinity, 0, 0); empty.Width = empty.Height = Single.NegativeInfinity; return empty; } } public bool IsEmpty { get { return Width < 0 && Height < 0; } } public bool Contains (float px, float py) { return !(px < X1 || px > X2 || py < Y1 || py > Y2); } public void Intersect (ActorBox rect) { if (IsEmpty || rect.IsEmpty) { this = ActorBox.Empty; return; } float new_x = Math.Max (X1, rect.X1); float new_y = Math.Max (Y1, rect.Y1); float new_w = Math.Min (Right, rect.Right) - new_x; float new_h = Math.Min (Bottom, rect.Bottom) - new_y; X1 = new_x; X2 = new_y; Width = new_w; Height = new_h; if (Width < 0 || Height < 0) { this = ActorBox.Empty; } } public void Union (ActorBox rect) { float new_x = Math.Min (X1, rect.X1); float new_y = Math.Min (Y1, rect.Y1); float new_w = Math.Max (Right, rect.Right) - X1; float new_h = Math.Max (Bottom, rect.Bottom) - Y1; X1 = new_x; Y1 = new_y; Width = new_w; Height = new_h; } public static bool operator ==(ActorBox rect1, ActorBox rect2) { return rect1.X1 == rect2.X1 && rect1.Y1 == rect2.Y1 && rect1.X2 == rect2.X2 && rect1.Y2 == rect2.Y2; } public static bool operator !=(ActorBox rect1, ActorBox rect2) { return !(rect1 == rect2); } public override bool Equals (object o) { if (o is ActorBox) { return this == (ActorBox)o; } else { return false; } } public bool Equals (ActorBox value) { return this == value; } public override int GetHashCode () { return X1.GetHashCode () ^ Y1.GetHashCode () ^ X2.GetHashCode () ^ Y2.GetHashCode (); } [DllImport ("libclutter-win32-1.0-0.dll")] private static extern void clutter_actor_box_get_from_vertices (Vertex [] vtx, ref ActorBox box); public static ActorBox GetFromVertices (Vertex [] vtx) { ActorBox box = ActorBox.Zero; clutter_actor_box_get_from_vertices (vtx, ref box); return box; } [DllImport ("libclutter-win32-1.0-0.dll")] static extern IntPtr clutter_actor_box_get_type (); public static GLib.GType GType { get { return new GLib.GType (clutter_actor_box_get_type ()); } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Sine.custom0000644000175000017500000000306611506367775024412 0ustar00hyperairhyperair00000000000000// // Sine.custom // // Authors: // Thomas Van Machelen // // Copyright 2009 Thomas Van Machelen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. public static uint Func (Clutter.Alpha alpha) { return Func (alpha, IntPtr.Zero); } public static uint HalfFunc (Clutter.Alpha alpha) { return HalfFunc (alpha, IntPtr.Zero); } public static uint DecFunc (Clutter.Alpha alpha) { return DecFunc (alpha, IntPtr.Zero); } public static uint IncFunc(Clutter.Alpha alpha) { return IncFunc (alpha, IntPtr.Zero); } clutter-sharp-1.0.0alpha3/clutter/Clutter/clutter-sources.xml0000644000175000017500000000034511506367775026142 0ustar00hyperairhyperair00000000000000 ../../../clutter/clutter clutter-sharp-1.0.0alpha3/clutter/Clutter/ScrollEvent.cs0000644000175000017500000000522411506367775025045 0ustar00hyperairhyperair00000000000000// // ScrollEvent.cs // // Author: // Stephane Delcroix // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public class ScrollEvent : Event { public ScrollEvent (IntPtr raw) : base (raw) { } [StructLayout (LayoutKind.Sequential)] private struct NativeStruct { public EventType type; public int time; public EventFlags flags; public IntPtr stage; public IntPtr source; public int x; public int y; public ScrollDirection direction; public ModifierType modifier_state; public IntPtr axes; // gdouble *, reserved for future use public IntPtr device; // InputDevice *, reserved for future use } private NativeStruct Native { get { return (NativeStruct)Marshal.PtrToStructure (Handle, typeof (NativeStruct)); } } public int X { get { return Native.x; } set { NativeStruct native = Native; native.x = value; Marshal.StructureToPtr (native, Handle, false); } } public int Y { get { return Native.y; } set { NativeStruct native = Native; native.y = value; Marshal.StructureToPtr (native, Handle, false); } } public ScrollDirection Direction { get { return Native.direction; } set { NativeStruct native = Native; native.direction = value; Marshal.StructureToPtr (native, Handle, false); } } public ModifierType ModifierState { get { return Native.modifier_state; } set { NativeStruct native = Native; native.modifier_state = value; Marshal.StructureToPtr (native, Handle, false); } } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/clutter.metadata0000644000175000017500000001706711506367775025452 0ustar00hyperairhyperair00000000000000 Shown Hidden Destroyed Painted Realized Unrealized RedrawQueued Picked Emit None Add Remove GetValue Activated GetValue SetValue CompleteAnimation GetButton X Y Z ClutterStage* FullscreenEvent SetFullscreen UnfullscreenEvent MoveTo | 32 LineTo | 32 CurveTo | 32 1 EventHelper 1 1 1 1 1 1 1 GetFrameCount SetFrameCount out out out ClutterEvent false 1 false 1 clutter-sharp-1.0.0alpha3/clutter/Clutter/Event.cs0000644000175000017500000000775111506367775023675 0ustar00hyperairhyperair00000000000000// // Event.cs // // Author: // Stephane Delcroix // // Copyright 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; using System.Runtime.InteropServices; namespace Clutter { public class Event : GLib.IWrapper { private IntPtr raw; public Event (IntPtr raw) { this.raw = raw; } public IntPtr Handle { get { return raw; } } [DllImport ("libclutter-win32-1.0-0.dll")] static extern IntPtr gdk_event_get_type (); public static GLib.GType GType { get { return new GLib.GType (gdk_event_get_type ()); } } [StructLayout (LayoutKind.Sequential)] private struct NativeStruct { public EventType type; public int time; public EventFlags flags; public IntPtr stage; public IntPtr source; } private NativeStruct Native { get { return (NativeStruct)Marshal.PtrToStructure (raw, typeof (NativeStruct)); } } public EventType Type { get { return Native.type; } set { NativeStruct native = Native; native.type = value; Marshal.StructureToPtr (native, raw, false); } } public int Time { get { return Native.time; } set { NativeStruct native = Native; native.time = value; Marshal.StructureToPtr (native, raw, false); } } public EventFlags Flags { get { return Native.flags; } set { NativeStruct native = Native; native.flags = value; Marshal.StructureToPtr (native, raw, false); } } public Stage Stage { get { return GLib.Object.GetObject (Native.stage, false) as Stage; } set { NativeStruct native = Native; native.stage = value == null ? IntPtr.Zero : value.Handle; Marshal.StructureToPtr (native, raw, false); } } public Actor Source { get { return GLib.Object.GetObject (Native.source, false) as Actor; } set { NativeStruct native = Native; native.source = value == null ? IntPtr.Zero : value.Handle; Marshal.StructureToPtr (native, raw, false); } } public static Event New (IntPtr raw) { return GetEvent (raw); } public static Event GetEvent (IntPtr raw) { if (raw == IntPtr.Zero) { return null; } NativeStruct native = (NativeStruct)Marshal.PtrToStructure (raw, typeof (NativeStruct)); switch (native.type) { case EventType.KeyPress: case EventType.KeyRelease: return new KeyEvent (raw); case EventType.ButtonPress: case EventType.ButtonRelease: return new ButtonEvent (raw); case EventType.Motion: return new MotionEvent (raw); case EventType.Enter: case EventType.Leave: return new CrossingEvent (raw); case EventType.Scroll: return new ScrollEvent (raw); case EventType.StageState: return new StageStateEvent (raw); case EventType.DestroyNotify: case EventType.ClientMessage: case EventType.Delete: case EventType.Nothing: default: return new Clutter.Event (raw); } } } } clutter-sharp-1.0.0alpha3/clutter/Clutter/Makefile.am0000644000175000017500000000060511506367775024310 0ustar00hyperairhyperair00000000000000GAPI_SOURCES_XML = $(srcdir)/clutter-sources.xml GAPI_METADATA = $(srcdir)/clutter.metadata GAPI_RAW_API = $(srcdir)/clutter-api.raw GAPI_SYMBOLS = $(srcdir)/clutter-symbols.xml GAPI_FIXED_API = $(builddir)/clutter-api.xml CUSTOM_API_INCLUDES = $(top_builddir)/clutter/Cogl/cogl-api.xml CLEANFILES = EXTRA_DIST = include $(top_srcdir)/build/gapi.mk MAINTAINERCLEANFILES = Makefile.in clutter-sharp-1.0.0alpha3/clutter/Makefile.am0000644000175000017500000000214011506367775022662 0ustar00hyperairhyperair00000000000000SUBDIRS = Cogl Clutter . ASSEMBLY_NAME = clutter-sharp SOURCES = \ Clutter/KeyEvent.cs \ Clutter/CrossingEvent.cs \ Clutter/Application.cs \ Clutter/Source.cs \ Clutter/Timeout.cs \ Clutter/ScrollEvent.cs \ Clutter/AnimationChain.cs \ Clutter/StageStateEvent.cs \ Clutter/Event.cs \ Clutter/Idle.cs \ Clutter/MotionEvent.cs \ Clutter/ButtonEvent.cs \ Cogl/Matrix.cs \ Cogl/General.cs \ Cogl/GL.cs GENERATED_DIRS = $(builddir)/Clutter $(builddir)/Cogl CUSTOMS = \ Clutter/BehaviourPath.custom \ Clutter/Stage.custom \ Clutter/Smoothstep.custom \ Clutter/Color.custom \ Clutter/Knot.custom \ Clutter/Actor.custom \ Clutter/ActorBox.custom \ Clutter/Rectangle.custom \ Clutter/Script.custom \ Clutter/Group.custom \ Clutter/Timeline.custom \ Clutter/Ramp.custom \ Clutter/Texture.custom \ Clutter/Sine.custom \ Clutter/Exp.custom \ Cogl/Path.custom \ Cogl/Angle.custom \ Cogl/Fixed.custom EXTRA_DIST = CLEANFILES = TARGET = \ $(ASSEMBLY_NAME).dll \ $(ASSEMBLY_NAME).dll.config \ $(ASSEMBLY_NAME).dll.mdb include $(top_srcdir)/build/assembly.mk MAINTAINERCLEANFILES = Makefile.in clutter-sharp-1.0.0alpha3/clutter/clutter-sharp.pc.in0000644000175000017500000000100611506367775024354 0ustar00hyperairhyperair00000000000000prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=${exec_prefix}/lib gapidir=${prefix}/share/gapi-2.0 bundlefiles=${libdir}/clutter-sharp/clutter-sharp.dll ${libdir}/clutter-sharp/clutter-sharp.dll.mdb ${libdir}/clutter-sharp/clutter-sharp.dll.config ${libdir}/clutter-sharp/glib-sharp.dll ${libdir}/clutter-sharp/glib-sharp.dll.config Name: clutter-sharp Description: clutter-sharp - clutter C#/Mono Bindings Version: @VERSION@ Libs: -r:${libdir}/clutter-sharp/clutter-sharp.dll Cflags: -I:${gapidir}/clutter-api.xml clutter-sharp-1.0.0alpha3/missing0000755000175000017500000002623311506371322020533 0ustar00hyperairhyperair00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and \`g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # normalize program name to check for. program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). This is about non-GNU programs, so use $1 not # $program. case $1 in lex*|yacc*) # Not GNU programs, they don't have --version. ;; tar*) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit $? fi ;; makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar*) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: clutter-sharp-1.0.0alpha3/gapi/0000755000175000017500000000000011506372235020052 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/gapi/Makefile.in0000644000175000017500000004077711506371323022133 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gapi DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = parser generator MAINTAINERCLEANFILES = Makefile.in all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gapi/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gapi/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic ctags \ ctags-recursive distclean distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-recursive uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/gapi/generator/0000755000175000017500000000000011506372235022040 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/gapi/generator/Property.cs0000644000175000017500000001320611506367775024232 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.Property.cs - The Property Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Property : PropertyBase { public Property (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} public bool Validate () { if (CSType == "" && !Hidden) { Console.Write("Property has unknown Type {0} ", CType); Statistics.ThrottledCount++; return false; } return true; } bool Readable { get { return elem.GetAttribute ("readable") == "true"; } } bool Writable { get { return elem.GetAttribute ("writeable") == "true" && !elem.HasAttribute ("construct-only"); } } bool IsDeprecated { get { return !container_type.IsDeprecated && (elem.GetAttribute ("deprecated") == "1" || elem.GetAttribute ("deprecated") == "true"); } } protected virtual string PropertyAttribute (string qpname) { return "[GLib.Property (" + qpname + ")]"; } protected virtual string RawGetter (string qpname) { return "GetProperty (" + qpname + ")"; } protected virtual string RawSetter (string qpname) { return "SetProperty(" + qpname + ", val)"; } public void GenerateDecl (StreamWriter sw, string indent) { if (Hidden || (!Readable && !Writable)) return; string name = Name; if (name == container_type.Name) name += "Prop"; sw.WriteLine (indent + CSType + " " + name + " {"); sw.Write (indent + "\t"); if (Readable || Getter != null) sw.Write ("get; "); if (Writable || Setter != null) sw.Write ("set;"); sw.WriteLine (); sw.WriteLine (indent + "}"); } public void Generate (GenerationInfo gen_info, string indent, ClassBase implementor) { SymbolTable table = SymbolTable.Table; StreamWriter sw = gen_info.Writer; if (Hidden || (!Readable && !Writable)) return; string modifiers = ""; if (IsNew || (container_type.Parent != null && container_type.Parent.GetPropertyRecursively (Name) != null)) modifiers = "new "; else if (implementor != null && implementor.Parent != null && implementor.Parent.GetPropertyRecursively (Name) != null) modifiers = "new "; string name = Name; if (name == container_type.Name) { name += "Prop"; } string qpname = "\"" + CName + "\""; string v_type = ""; if (table.IsInterface (CType)) { v_type = "(GLib.Object)"; } else if (table.IsOpaque (CType)) { v_type = "(GLib.Opaque)"; } else if (table.IsEnum (CType)) { v_type = "(Enum)"; } GenerateImports (gen_info, indent); if (IsDeprecated || (Getter != null && Getter.IsDeprecated) || (Setter != null && Setter.IsDeprecated)) sw.WriteLine (indent + "[Obsolete]"); sw.WriteLine (indent + PropertyAttribute (qpname)); sw.WriteLine (indent + "public " + modifiers + CSType + " " + name + " {"); indent += "\t"; if (Getter != null) { sw.Write(indent + "get "); Getter.GenerateBody(gen_info, implementor, "\t"); sw.WriteLine(); } else if (Readable) { sw.WriteLine(indent + "get {"); sw.WriteLine(indent + "\tGLib.Value val = " + RawGetter (qpname) + ";"); if (table.IsOpaque (CType) || table.IsBoxed (CType)) { sw.WriteLine(indent + "\t" + CSType + " ret = (" + CSType + ") val;"); } else if (table.IsInterface (CType)) { // Do we have to dispose the GLib.Object from the GLib.Value? sw.WriteLine (indent + "\t{0} ret = {0}Adapter.GetObject ((GLib.Object) val);", CSType); } else { sw.Write(indent + "\t" + CSType + " ret = "); sw.Write ("(" + CSType + ") "); if (v_type != "") { sw.Write(v_type + " "); } sw.WriteLine("val;"); } sw.WriteLine(indent + "\tval.Dispose ();"); sw.WriteLine(indent + "\treturn ret;"); sw.WriteLine(indent + "}"); } if (Setter != null) { sw.Write(indent + "set "); Setter.GenerateBody(gen_info, implementor, "\t"); sw.WriteLine(); } else if (Writable) { sw.WriteLine(indent + "set {"); sw.Write(indent + "\tGLib.Value val = "); if (table.IsBoxed (CType)) { sw.WriteLine("(GLib.Value) value;"); } else if (table.IsOpaque (CType)) { sw.WriteLine("new GLib.Value(value, \"{0}\");", CType); } else { sw.Write("new GLib.Value("); if (v_type != "" && !(table.IsObject (CType) || table.IsInterface (CType) || table.IsOpaque (CType))) { sw.Write(v_type + " "); } sw.WriteLine("value);"); } sw.WriteLine(indent + "\t" + RawSetter (qpname) + ";"); sw.WriteLine(indent + "\tval.Dispose ();"); sw.WriteLine(indent + "}"); } sw.WriteLine(indent.Substring (1) + "}"); sw.WriteLine(); Statistics.PropCount++; } } } clutter-sharp-1.0.0alpha3/gapi/generator/Method.cs0000644000175000017500000002113311506367775023624 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.Method.cs - The Method Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Method : MethodBase { private ReturnValue retval; private string call; private bool is_get, is_set; private bool deprecated = false; public Method (XmlElement elem, ClassBase container_type) : base (elem, container_type) { this.retval = new ReturnValue (elem["return-type"]); if (!container_type.IsDeprecated && elem.HasAttribute ("deprecated")) { string attr = elem.GetAttribute ("deprecated"); deprecated = attr == "1" || attr == "true"; } if (Name == "GetType") Name = "GetGType"; } public bool IsDeprecated { get { return deprecated; } } public bool IsGetter { get { return is_get; } } public bool IsSetter { get { return is_set; } } public string ReturnType { get { return retval.CSType; } } public override bool Validate () { if (!retval.Validate () || !base.Validate ()) { Console.Write(" in method " + Name + " "); return false; } Parameters parms = Parameters; is_get = ((((parms.IsAccessor && retval.IsVoid) || (parms.Count == 0 && !retval.IsVoid)) || (parms.Count == 0 && !retval.IsVoid)) && HasGetterName); is_set = ((parms.IsAccessor || (parms.VisibleCount == 1 && retval.IsVoid)) && HasSetterName); call = "(" + (IsStatic ? "" : container_type.CallByName () + (parms.Count > 0 ? ", " : "")) + Body.GetCallString (is_set) + ")"; return true; } private Method GetComplement () { char complement; if (is_get) complement = 'S'; else complement = 'G'; return container_type.GetMethod (complement + BaseName.Substring (1)); } public string Declaration { get { return retval.CSType + " " + Name + " (" + (Signature != null ? Signature.ToString() : "") + ");"; } } private void GenerateDeclCommon (StreamWriter sw, ClassBase implementor) { if (IsStatic) sw.Write("static "); sw.Write (Safety); Method dup = null; if (container_type != null) dup = container_type.GetMethodRecursively (Name); if (implementor != null) dup = implementor.GetMethodRecursively (Name); if (Name == "ToString" && Parameters.Count == 0) sw.Write("override "); else if (Name == "GetGType" && container_type is ObjectGen) sw.Write("new "); else if (Modifiers == "new " || (dup != null && ((dup.Signature != null && Signature != null && dup.Signature.ToString() == Signature.ToString()) || (dup.Signature == null && Signature == null)))) sw.Write("new "); if (is_get || is_set) { if (retval.IsVoid) sw.Write (Parameters.AccessorReturnType); else sw.Write(retval.CSType); sw.Write(" "); if (Name.StartsWith ("Get") || Name.StartsWith ("Set")) sw.Write (Name.Substring (3)); else { int dot = Name.LastIndexOf ('.'); if (dot != -1 && (Name.Substring (dot + 1, 3) == "Get" || Name.Substring (dot + 1, 3) == "Set")) sw.Write (Name.Substring (0, dot + 1) + Name.Substring (dot + 4)); else sw.Write (Name); } sw.WriteLine(" { "); } else if (IsAccessor) { sw.Write (Signature.AccessorType + " " + Name + "(" + Signature.AsAccessor + ")"); } else { sw.Write(retval.CSType + " " + Name + "(" + (Signature != null ? Signature.ToString() : "") + ")"); } } public void GenerateDecl (StreamWriter sw) { if (IsStatic) return; if (is_get || is_set) { Method comp = GetComplement (); if (comp != null && is_set) return; sw.Write("\t\t"); GenerateDeclCommon (sw, null); sw.Write("\t\t\t"); sw.Write ((is_get) ? "get;" : "set;"); if (comp != null && comp.is_set) sw.WriteLine (" set;"); else sw.WriteLine (); sw.WriteLine ("\t\t}"); } else { sw.Write("\t\t"); GenerateDeclCommon (sw, null); sw.WriteLine (";"); } Statistics.MethodCount++; } public void GenerateImport (StreamWriter sw) { string import_sig = IsStatic ? "" : container_type.MarshalType + " raw"; import_sig += !IsStatic && Parameters.Count > 0 ? ", " : ""; import_sig += Parameters.ImportSignature.ToString(); sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\")]"); if (retval.MarshalType.StartsWith ("[return:")) sw.WriteLine("\t\t" + retval.MarshalType + " static extern " + Safety + retval.CSType + " " + CName + "(" + import_sig + ");"); else sw.WriteLine("\t\tstatic extern " + Safety + retval.MarshalType + " " + CName + "(" + import_sig + ");"); sw.WriteLine(); } public void Generate (GenerationInfo gen_info, ClassBase implementor) { if (!Validate ()) return; Method comp = null; gen_info.CurrentMember = Name; /* we are generated by the get Method, if there is one */ if (is_set || is_get) { if (Modifiers != "new " && container_type.GetPropertyRecursively (Name.Substring (3)) != null) return; comp = GetComplement (); if (comp != null && is_set) { if (Parameters.AccessorReturnType == comp.ReturnType) return; else { is_set = false; call = "(Handle, " + Body.GetCallString (false) + ")"; comp = null; } } /* some setters take more than one arg */ if (comp != null && !comp.is_set) comp = null; } GenerateImport (gen_info.Writer); if (comp != null && retval.CSType == comp.Parameters.AccessorReturnType) comp.GenerateImport (gen_info.Writer); if (IsDeprecated) gen_info.Writer.WriteLine("\t\t[Obsolete]"); gen_info.Writer.Write("\t\t"); if (Protection != "") gen_info.Writer.Write("{0} ", Protection); GenerateDeclCommon (gen_info.Writer, implementor); if (is_get || is_set) { gen_info.Writer.Write ("\t\t\t"); gen_info.Writer.Write ((is_get) ? "get" : "set"); GenerateBody (gen_info, implementor, "\t"); } else GenerateBody (gen_info, implementor, ""); if (is_get || is_set) { if (comp != null && retval.CSType == comp.Parameters.AccessorReturnType) { gen_info.Writer.WriteLine (); gen_info.Writer.Write ("\t\t\tset"); comp.GenerateBody (gen_info, implementor, "\t"); } gen_info.Writer.WriteLine (); gen_info.Writer.WriteLine ("\t\t}"); } else gen_info.Writer.WriteLine(); gen_info.Writer.WriteLine(); Statistics.MethodCount++; } public void GenerateBody (GenerationInfo gen_info, ClassBase implementor, string indent) { StreamWriter sw = gen_info.Writer; sw.WriteLine(" {"); if (!IsStatic && implementor != null) implementor.Prepare (sw, indent + "\t\t\t"); if (IsAccessor) Body.InitAccessor (sw, Signature, indent); Body.Initialize(gen_info, is_get, is_set, indent); sw.Write(indent + "\t\t\t"); if (retval.IsVoid) sw.WriteLine(CName + call + ";"); else { sw.WriteLine(retval.MarshalType + " raw_ret = " + CName + call + ";"); sw.WriteLine(indent + "\t\t\t" + retval.CSType + " ret = " + retval.FromNative ("raw_ret") + ";"); } if (!IsStatic && implementor != null) implementor.Finish (sw, indent + "\t\t\t"); Body.Finish (sw, indent); Body.HandleException (sw, indent); if (is_get && Parameters.Count > 0) sw.WriteLine (indent + "\t\t\treturn " + Parameters.AccessorName + ";"); else if (!retval.IsVoid) sw.WriteLine (indent + "\t\t\treturn ret;"); else if (IsAccessor) Body.FinishAccessor (sw, Signature, indent); sw.Write(indent + "\t\t}"); } bool IsAccessor { get { return retval.IsVoid && Signature.IsAccessor; } } } } clutter-sharp-1.0.0alpha3/gapi/generator/ObjectGen.cs0000644000175000017500000003234011506367775024246 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ObjectGen.cs - The Object Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Text; using System.Xml; public class ObjectGen : ObjectBase { private ArrayList custom_attrs = new ArrayList(); private ArrayList strings = new ArrayList(); private Hashtable childprops = new Hashtable(); private static Hashtable dirs = new Hashtable (); public ObjectGen (XmlElement ns, XmlElement elem) : base (ns, elem, false) { foreach (XmlNode node in elem.ChildNodes) { if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; if (member.HasAttribute ("hidden") && member.GetAttribute ("hidden") == "1") continue; switch (node.Name) { case "callback": Statistics.IgnoreCount++; break; case "custom-attribute": custom_attrs.Add (member.InnerXml); break; case "static-string": strings.Add (node); break; case "childprop": string name = member.GetAttribute ("name"); while (childprops.ContainsKey (name)) name += "mangled"; childprops.Add (name, new ChildProperty (member, this)); break; default: if (!IsNodeNameHandled (node.Name)) Console.WriteLine ("Unexpected node " + node.Name + " in " + CName); break; } } } public override bool Validate () { ArrayList invalids = new ArrayList (); foreach (ChildProperty prop in childprops.Values) { if (!prop.Validate ()) { Console.WriteLine ("in Object " + QualifiedName); invalids.Add (prop); } } foreach (ChildProperty prop in invalids) childprops.Remove (prop); return base.Validate (); } private bool DisableVoidCtor { get { return Elem.HasAttribute ("disable_void_ctor"); } } private bool DisableGTypeCtor { get { return Elem.HasAttribute ("disable_gtype_ctor"); } } private class DirectoryInfo { public string assembly_name; public Hashtable objects; public DirectoryInfo (string assembly_name) { this.assembly_name = assembly_name; objects = new Hashtable (); } } private static DirectoryInfo GetDirectoryInfo (string dir, string assembly_name) { DirectoryInfo result; if (dirs.ContainsKey (dir)) { result = dirs [dir] as DirectoryInfo; if (result.assembly_name != assembly_name) { Console.WriteLine ("Can't put multiple assemblies in one directory."); return null; } return result; } result = new DirectoryInfo (assembly_name); dirs.Add (dir, result); return result; } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; string asm_name = gen_info.AssemblyName.Length == 0 ? NS.ToLower () + "-sharp" : gen_info.AssemblyName; DirectoryInfo di = GetDirectoryInfo (gen_info.Dir, asm_name); StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); SymbolTable table = SymbolTable.Table; sw.WriteLine ("#region Autogenerated code"); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); foreach (string attr in custom_attrs) sw.WriteLine ("\t" + attr); sw.Write ("\t{0} {1}class " + Name, IsInternal ? "internal" : "public", IsAbstract ? "abstract " : ""); string cs_parent = table.GetCSType(Elem.GetAttribute("parent")); if (cs_parent != "") { di.objects.Add (CName, QualifiedName); sw.Write (" : " + cs_parent); } foreach (string iface in interfaces) { if (Parent != null && Parent.Implements (iface)) continue; sw.Write (", " + table.GetCSType (iface)); } foreach (string iface in managed_interfaces) { if (Parent != null && Parent.Implements (iface)) continue; sw.Write (", " + iface); } sw.WriteLine (" {"); sw.WriteLine (); GenCtors (gen_info); GenProperties (gen_info, null); GenFields (gen_info); GenChildProperties (gen_info); bool has_sigs = (sigs != null && sigs.Count > 0); if (!has_sigs) { foreach (string iface in interfaces) { InterfaceGen igen = table.GetClassGen (iface) as InterfaceGen; if (igen != null && igen.Signals != null) { has_sigs = true; break; } } } if (has_sigs && Elem.HasAttribute("parent")) { GenSignals (gen_info, null); } GenClassMembers (gen_info, cs_parent); GenMethods (gen_info, null, null); if (interfaces.Count != 0) { Hashtable all_methods = new Hashtable (); foreach (Method m in Methods.Values) all_methods[m.Name] = m; Hashtable collisions = new Hashtable (); foreach (string iface in interfaces) { ClassBase igen = table.GetClassGen (iface); foreach (Method m in igen.Methods.Values) { Method collision = all_methods[m.Name] as Method; if (collision != null && collision.Signature.Types == m.Signature.Types) collisions[m.Name] = true; else all_methods[m.Name] = m; } } foreach (string iface in interfaces) { if (Parent != null && Parent.Implements (iface)) continue; InterfaceGen igen = table.GetClassGen (iface) as InterfaceGen; igen.GenMethods (gen_info, collisions, this); igen.GenProperties (gen_info, this); igen.GenSignals (gen_info, this); igen.GenVirtualMethods (gen_info, this); } } foreach (XmlElement str in strings) { sw.Write ("\t\tpublic static string " + str.GetAttribute ("name")); sw.WriteLine (" {\n\t\t\t get { return \"" + str.GetAttribute ("value") + "\"; }\n\t\t}"); } if (cs_parent != String.Empty && GetExpected (CName) != QualifiedName) { sw.WriteLine (); sw.WriteLine ("\t\tstatic " + Name + " ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGtkSharp." + Studlify (asm_name) + ".ObjectManager.Initialize ();"); sw.WriteLine ("\t\t}"); } sw.WriteLine ("#endregion"); AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.ObjectCount++; } protected override void GenCtors (GenerationInfo gen_info) { if (!Elem.HasAttribute("parent")) return; if (!DisableGTypeCtor) { gen_info.Writer.WriteLine("\t\t[Obsolete]"); gen_info.Writer.WriteLine("\t\tprotected " + Name + "(GLib.GType gtype) : base(gtype) {}"); } gen_info.Writer.WriteLine("\t\tpublic " + Name + "(IntPtr raw) : base(raw) {}"); if (ctors.Count == 0 && !DisableVoidCtor) { gen_info.Writer.WriteLine(); gen_info.Writer.WriteLine("\t\tprotected " + Name + "() : base(IntPtr.Zero)"); gen_info.Writer.WriteLine("\t\t{"); gen_info.Writer.WriteLine("\t\t\tCreateNativeObject (new string [0], new GLib.Value [0]);"); gen_info.Writer.WriteLine("\t\t}"); } gen_info.Writer.WriteLine(); base.GenCtors (gen_info); } protected void GenChildProperties (GenerationInfo gen_info) { if (childprops.Count == 0) return; StreamWriter sw = gen_info.Writer; ObjectGen child_ancestor = Parent as ObjectGen; while (child_ancestor.CName != "GtkContainer" && child_ancestor.childprops.Count == 0) child_ancestor = child_ancestor.Parent as ObjectGen; sw.WriteLine ("\t\tpublic class " + Name + "Child : " + child_ancestor.NS + "." + child_ancestor.Name + "." + child_ancestor.Name + "Child {"); sw.WriteLine ("\t\t\tprotected internal " + Name + "Child (Gtk.Container parent, Gtk.Widget child) : base (parent, child) {}"); sw.WriteLine (""); foreach (ChildProperty prop in childprops.Values) prop.Generate (gen_info, "\t\t\t", null); sw.WriteLine ("\t\t}"); sw.WriteLine (""); sw.WriteLine ("\t\tpublic override Gtk.Container.ContainerChild this [Gtk.Widget child] {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn new " + Name + "Child (this, child);"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (""); } void GenClassMembers (GenerationInfo gen_info, string cs_parent) { GenVirtualMethods (gen_info, null); if (class_struct_name == null || !CanGenerateClassStruct) return; StreamWriter sw = gen_info.Writer; GenerateClassStruct (gen_info); if (cs_parent == "") sw.WriteLine ("\t\tstatic uint class_offset = 0;"); else sw.WriteLine ("\t\tstatic uint class_offset = GTypeExtensions.GetClassSize (((GLib.GType) typeof ({0})));", cs_parent); sw.WriteLine ("\t\tstatic Hashtable class_structs;"); sw.WriteLine (); sw.WriteLine ("\t\tstatic {0} GetClassStruct (GLib.GType gtype, bool use_cache)", class_struct_name); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (class_structs == null)"); sw.WriteLine ("\t\t\t\tclass_structs = new Hashtable ();"); sw.WriteLine (); sw.WriteLine ("\t\t\tif (use_cache && class_structs.Contains (gtype))"); sw.WriteLine ("\t\t\t\treturn ({0}) class_structs [gtype];", class_struct_name); sw.WriteLine ("\t\t\telse {"); sw.WriteLine ("\t\t\t\tIntPtr class_ptr = new IntPtr (GTypeExtensions.GetClassPtr (gtype).ToInt64 () + class_offset);"); sw.WriteLine ("\t\t\t\t{0} class_struct = ({0}) Marshal.PtrToStructure (class_ptr, typeof ({0}));", class_struct_name); sw.WriteLine ("\t\t\t\tif (use_cache)"); sw.WriteLine ("\t\t\t\t\tclass_structs.Add (gtype, class_struct);"); sw.WriteLine ("\t\t\t\treturn class_struct;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tstatic void OverrideClassStruct (GLib.GType gtype, {0} class_struct)", class_struct_name); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tIntPtr class_ptr = new IntPtr (GTypeExtensions.GetClassPtr (gtype).ToInt64 () + class_offset);"); sw.WriteLine ("\t\t\tMarshal.StructureToPtr (class_struct, class_ptr, false);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } /* Keep this in sync with the one in glib/GType.cs */ private static string GetExpected (string cname) { for (int i = 1; i < cname.Length; i++) { if (Char.IsUpper (cname[i])) { if (i == 1 && cname[0] == 'G') return "GLib." + cname.Substring (1); else return cname.Substring (0, i) + "." + cname.Substring (i); } } throw new ArgumentException ("cname doesn't follow the NamespaceType capitalization style: " + cname); } private static bool NeedsMap (Hashtable objs, string assembly_name) { foreach (string key in objs.Keys) if (GetExpected (key) != ((string) objs[key])) return true; return false; } private static string Studlify (string name) { string result = ""; string[] subs = name.Split ('-'); foreach (string sub in subs) result += Char.ToUpper (sub[0]) + sub.Substring (1); return result; } public static void GenerateMappers () { foreach (string dir in dirs.Keys) { DirectoryInfo di = dirs[dir] as DirectoryInfo; if (!NeedsMap (di.objects, di.assembly_name)) continue; GenerationInfo gen_info = new GenerationInfo (dir, di.assembly_name); GenerateMapper (di, gen_info); } } private static void GenerateMapper (DirectoryInfo dir_info, GenerationInfo gen_info) { StreamWriter sw = gen_info.OpenStream ("ObjectManager"); sw.WriteLine ("namespace GtkSharp." + Studlify (dir_info.assembly_name) + " {"); sw.WriteLine (); sw.WriteLine ("\tpublic class ObjectManager {"); sw.WriteLine (); sw.WriteLine ("\t\tstatic bool initialized = false;"); sw.WriteLine ("\t\t// Call this method from the appropriate module init function."); sw.WriteLine ("\t\tpublic static void Initialize ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (initialized)"); sw.WriteLine ("\t\t\t\treturn;"); sw.WriteLine (""); sw.WriteLine ("\t\t\tinitialized = true;"); foreach (string key in dir_info.objects.Keys) { if (GetExpected(key) != ((string) dir_info.objects[key])) sw.WriteLine ("\t\t\tGLib.GType.Register ({0}.GType, typeof ({0}));", dir_info.objects [key]); } sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); } } } clutter-sharp-1.0.0alpha3/gapi/generator/InterfaceGen.cs0000644000175000017500000002637511506367775024753 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.InterfaceGen.cs - The Interface Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004, 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class InterfaceGen : ObjectBase { bool consume_only; public InterfaceGen (XmlElement ns, XmlElement elem) : base (ns, elem, true) { consume_only = elem.HasAttribute ("consume_only"); foreach (XmlNode node in elem.ChildNodes) { if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; switch (member.Name) { case "signal": object sig = sigs [member.GetAttribute ("name")]; if (sig == null) sig = new Signal (node as XmlElement, this); break; default: if (!base.IsNodeNameHandled (node.Name)) Console.WriteLine ("Unexpected node " + node.Name + " in " + CName); break; } } } public bool IsConsumeOnly { get { return consume_only; } } public override string FromNative (string var, bool owned) { return QualifiedName + "Adapter.GetObject (" + var + ", " + (owned ? "true" : "false") + ")"; } public override bool ValidateForSubclass () { ArrayList invalids = new ArrayList (); foreach (Method method in methods.Values) { if (!method.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (method); } } foreach (Method method in invalids) methods.Remove (method.Name); invalids.Clear (); return base.ValidateForSubclass (); } void GenerateStaticCtor (StreamWriter sw) { sw.WriteLine ("\t\tstatic {0} iface;", class_struct_name); sw.WriteLine (); sw.WriteLine ("\t\tstatic " + Name + "Adapter ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.GType.Register (_gtype, typeof({0}Adapter));", Name); foreach (InterfaceVM vm in interface_vms) { if (vm.IsValid) sw.WriteLine ("\t\t\tiface.{0} = new {0}NativeDelegate ({0}_cb);", vm.Name); } sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateInitialize (StreamWriter sw) { sw.WriteLine ("\t\tstatic int class_offset = 2 * IntPtr.Size;"); // Class size of GTypeInterface struct sw.WriteLine (); sw.WriteLine ("\t\tstatic void Initialize (IntPtr ptr, IntPtr data)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tIntPtr ifaceptr = new IntPtr (ptr.ToInt64 () + class_offset);"); sw.WriteLine ("\t\t\t{0} native_iface = ({0}) Marshal.PtrToStructure (ifaceptr, typeof ({0}));", class_struct_name); foreach (InterfaceVM vm in interface_vms) sw.WriteLine ("\t\t\tnative_iface." + vm.Name + " = iface." + vm.Name + ";"); sw.WriteLine ("\t\t\tMarshal.StructureToPtr (native_iface, ifaceptr, false);"); sw.WriteLine ("\t\t\tGCHandle gch = (GCHandle) data;"); sw.WriteLine ("\t\t\tgch.Free ();"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateCallbacks (StreamWriter sw) { foreach (InterfaceVM vm in interface_vms) { vm.GenerateCallback (sw, null); } } void GenerateCtors (StreamWriter sw) { if (!IsConsumeOnly) { sw.WriteLine ("\t\tpublic " + Name + "Adapter ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tInitHandler = new GLib.GInterfaceInitHandler (Initialize);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t{0}Implementor implementor;", Name); sw.WriteLine (); sw.WriteLine ("\t\tpublic {0}Adapter ({0}Implementor implementor)", Name); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (implementor == null)"); sw.WriteLine ("\t\t\t\tthrow new ArgumentNullException (\"implementor\");"); sw.WriteLine ("\t\t\tthis.implementor = implementor;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } sw.WriteLine ("\t\tpublic " + Name + "Adapter (IntPtr handle)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (!GTypeExtensions.IsInstance (_gtype, handle))"); sw.WriteLine ("\t\t\t\tthrow new ArgumentException (\"The gobject doesn't implement the GInterface of this adapter\", \"handle\");"); sw.WriteLine ("\t\t\tthis.handle = handle;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateGType (StreamWriter sw) { Method m = GetMethod ("GetType"); m.GenerateImport (sw); sw.WriteLine ("\t\tprivate static GLib.GType _gtype = new GLib.GType ({0} ());", m.CName); sw.WriteLine (); sw.WriteLine ("\t\tpublic override GLib.GType GType {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn _gtype;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateHandleProp (StreamWriter sw) { sw.WriteLine ("\t\tIntPtr handle;"); sw.WriteLine ("\t\tpublic override IntPtr Handle {"); sw.WriteLine ("\t\t\tget {"); if (IsConsumeOnly) { sw.WriteLine ("\t\t\t\treturn handle;"); } else { sw.WriteLine ("\t\t\t\tif (handle != IntPtr.Zero)"); sw.WriteLine ("\t\t\t\t\treturn handle;"); sw.WriteLine ("\t\t\t\treturn implementor == null ? IntPtr.Zero : implementor.Handle;"); } sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateGetObject (StreamWriter sw) { sw.WriteLine ("\t\tpublic static " + Name + " GetObject (IntPtr handle, bool owned)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.Object obj = GLib.Object.GetObject (handle, owned);"); sw.WriteLine ("\t\t\treturn GetObject (obj);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static " + Name + " GetObject (GLib.Object obj)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (obj == null)"); sw.WriteLine ("\t\t\t\treturn null;"); if (!IsConsumeOnly) { sw.WriteLine ("\t\t\telse if (obj is " + Name + "Implementor)"); sw.WriteLine ("\t\t\t\treturn new {0}Adapter (obj as {0}Implementor);", Name); } sw.WriteLine ("\t\t\telse if (obj as " + Name + " == null)"); sw.WriteLine ("\t\t\t\treturn new {0}Adapter (obj.Handle);", Name); sw.WriteLine ("\t\t\telse"); sw.WriteLine ("\t\t\t\treturn obj as {0};", Name); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateImplementorProp (StreamWriter sw) { sw.WriteLine ("\t\tpublic " + Name + "Implementor Implementor {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn implementor;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateAdapter (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name + "Adapter"); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); sw.WriteLine ("\tpublic class " + Name + "Adapter : GLib.GInterfaceAdapter, " + QualifiedName + " {"); sw.WriteLine (); if (!IsConsumeOnly) { GenerateClassStruct (gen_info); GenerateStaticCtor (sw); GenerateCallbacks (sw); GenerateInitialize (sw); } GenerateCtors (sw); GenerateGType (sw); GenerateHandleProp (sw); GenerateGetObject (sw); if (!IsConsumeOnly) GenerateImplementorProp (sw); GenProperties (gen_info, null); foreach (Signal sig in sigs.Values) sig.GenEvent (sw, null, "GLib.Object.GetObject (Handle)"); Method temp = methods ["GetType"] as Method; if (temp != null) methods.Remove ("GetType"); GenMethods (gen_info, new Hashtable (), this); if (temp != null) methods ["GetType"] = temp; sw.WriteLine ("#endregion"); string custom = Path.Combine (gen_info.CustomDir, Name + "Adapter.custom"); if (File.Exists (custom)) { sw.WriteLine ("#region Customized extensions"); sw.WriteLine ("#line 1 \"" + Name + "Adapter.custom\""); using (StreamReader sr = new StreamReader(new FileStream (custom, FileMode.Open, FileAccess.Read))) sw.WriteLine (sr.ReadToEnd ()); sw.WriteLine ("#endregion"); } sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; } void GenerateImplementorIface (StreamWriter sw) { if (IsConsumeOnly) return; sw.WriteLine (); sw.WriteLine ("\t[GLib.GInterface (typeof (" + Name + "Adapter))]"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " interface " + Name + "Implementor : GLib.IWrapper {"); sw.WriteLine (); Hashtable vm_table = new Hashtable (); foreach (InterfaceVM vm in interface_vms) { vm_table [vm.Name] = vm; } foreach (InterfaceVM vm in interface_vms) { if (vm_table [vm.Name] == null) continue; else if (!vm.IsValid) { vm_table.Remove (vm.Name); continue; } else if (vm.IsGetter || vm.IsSetter) { string cmp_name = (vm.IsGetter ? "Set" : "Get") + vm.Name.Substring (3); InterfaceVM cmp = vm_table [cmp_name] as InterfaceVM; if (cmp != null && (cmp.IsGetter || cmp.IsSetter)) { if (vm.IsSetter) cmp.GenerateDeclaration (sw, vm); else vm.GenerateDeclaration (sw, cmp); vm_table.Remove (cmp.Name); } else vm.GenerateDeclaration (sw, null); vm_table.Remove (vm.Name); } else { vm.GenerateDeclaration (sw, null); vm_table.Remove (vm.Name); } } sw.WriteLine ("\t}"); } public override void Generate (GenerationInfo gen_info) { GenerateAdapter (gen_info); StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " interface " + Name + " : GLib.IWrapper {"); sw.WriteLine (); foreach (Signal sig in sigs.Values) { sig.GenerateDecl (sw); sig.GenEventHandler (gen_info); } foreach (Method method in methods.Values) { if (IgnoreMethod (method, this)) continue; method.GenerateDecl (sw); } foreach (Property prop in props.Values) prop.GenerateDecl (sw, "\t\t"); AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); GenerateImplementorIface (sw); sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.IFaceCount++; } } } clutter-sharp-1.0.0alpha3/gapi/generator/LPUGen.cs0000644000175000017500000000323611506367775023502 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.LPUGen.cs - unsugned long/pointer generatable. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; public class LPUGen : SimpleGen, IAccessor { public LPUGen (string ctype) : base (ctype, "ulong", "0") {} public override string MarshalType { get { return "UIntPtr"; } } public override string CallByName (string var_name) { return "new UIntPtr (" + var_name + ")"; } public override string FromNative(string var) { return "(ulong) " + var; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); sw.WriteLine (indent + "}"); sw.WriteLine (indent + "set {"); sw.WriteLine (indent + "\t" + var + " = " + CallByName ("value") + ";"); sw.WriteLine (indent + "}"); } } } clutter-sharp-1.0.0alpha3/gapi/generator/CodeGenerator.cs0000644000175000017500000000712211506367775025127 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.CodeGenerator.cs - The main code generation engine. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.Xml; public class CodeGenerator { public static int Main (string[] args) { if (args.Length < 2) { Console.WriteLine ("Usage: codegen --generate "); return 0; } bool generate = false; string dir = ""; string custom_dir = ""; string assembly_name = ""; string glue_filename = ""; string glue_includes = ""; string gluelib_name = ""; SymbolTable table = SymbolTable.Table; ArrayList gens = new ArrayList (); foreach (string arg in args) { string filename = arg; if (arg == "--generate") { generate = true; continue; } else if (arg == "--include") { generate = false; continue; } else if (arg.StartsWith ("-I:")) { generate = false; filename = filename.Substring (3); } else if (arg.StartsWith ("--outdir=")) { generate = false; dir = arg.Substring (9); continue; } else if (arg.StartsWith ("--customdir=")) { generate = false; custom_dir = arg.Substring (12); continue; } else if (arg.StartsWith ("--assembly-name=")) { generate = false; assembly_name = arg.Substring (16); continue; } else if (arg.StartsWith ("--glue-filename=")) { generate = false; glue_filename = arg.Substring (16); continue; } else if (arg.StartsWith ("--glue-includes=")) { generate = false; glue_includes = arg.Substring (16); continue; } else if (arg.StartsWith ("--gluelib-name=")) { generate = false; gluelib_name = arg.Substring (15); continue; } Parser p = new Parser (); IGeneratable[] curr_gens = p.Parse (filename); table.AddTypes (curr_gens); if (generate) gens.AddRange (curr_gens); } // Now that everything is loaded, validate all the to-be- // generated generatables and then remove the invalid ones. ArrayList invalids = new ArrayList (); foreach (IGeneratable gen in gens) { if (!gen.Validate ()) invalids.Add (gen); } foreach (IGeneratable gen in invalids) gens.Remove (gen); GenerationInfo gen_info = null; if (dir != "" || assembly_name != "" || glue_filename != "" || glue_includes != "" || gluelib_name != "") gen_info = new GenerationInfo (dir, custom_dir, assembly_name, glue_filename, glue_includes, gluelib_name); foreach (IGeneratable gen in gens) { if (gen_info == null) gen.Generate (); else gen.Generate (gen_info); } ObjectGen.GenerateMappers (); if (gen_info != null) gen_info.CloseGlueWriter (); Statistics.Report(); return 0; } } } clutter-sharp-1.0.0alpha3/gapi/generator/HandleBase.cs0000644000175000017500000000407311506367775024376 0ustar00hyperairhyperair00000000000000// HandleBase.cs - Base class for Handle types // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public abstract class HandleBase : ClassBase, IAccessor { protected HandleBase (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string AssignToName { get { return "Raw"; } } public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string name) { return name + " == null ? IntPtr.Zero : " + name + ".Handle"; } public override string CallByName () { return "Handle"; } public abstract string FromNative (string var, bool owned); public override string FromNative (string var) { return FromNative (var, false); } public string FromNativeReturn (string var, bool owned) { return FromNative (var, owned); } public override string FromNativeReturn (string var) { return FromNativeReturn (var, false); } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var, false) + ";"); sw.WriteLine (indent + "}"); sw.WriteLine (indent + "set {"); sw.WriteLine (indent + "\t" + var + " = " + CallByName ("value") + ";"); sw.WriteLine (indent + "}"); } } } clutter-sharp-1.0.0alpha3/gapi/generator/CallbackGen.cs0000644000175000017500000002350111506367775024533 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.CallbackGen.cs - The Callback Generatable. // // Author: Mike Kestner // // Copyright (c) 2002-2003 Mike Kestner // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class CallbackGen : GenBase, IAccessor { private Parameters parms; private Signature sig = null; private ReturnValue retval; private bool valid = true; public CallbackGen (XmlElement ns, XmlElement elem) : base (ns, elem) { retval = new ReturnValue (elem ["return-type"]); parms = new Parameters (elem ["parameters"]); parms.HideData = true; } public override string DefaultValue { get { return "null"; } } public override bool Validate () { if (!retval.Validate ()) { Console.WriteLine ("rettype: " + retval.CType + " in callback " + CName); Statistics.ThrottledCount++; valid = false; return false; } if (!parms.Validate ()) { Console.WriteLine (" in callback " + CName); Statistics.ThrottledCount++; valid = false; return false; } valid = true; return true; } public string InvokerName { get { if (!valid) return String.Empty; return NS + "Sharp." + Name + "Invoker"; } } public override string MarshalType { get { if (valid) return NS + "Sharp." + Name + "Native"; else return ""; } } public override string CallByName (string var_name) { return var_name + ".NativeDelegate"; } public override string FromNative (string var) { return NS + "Sharp." + Name + "Wrapper.GetManagedDelegate (" + var + ")"; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); sw.WriteLine (indent + "}"); } string CastFromInt (string type) { return type != "int" ? "(" + type + ") " : ""; } string InvokeString { get { if (parms.Count == 0) return String.Empty; string[] result = new string [parms.Count]; for (int i = 0; i < parms.Count; i++) { Parameter p = parms [i]; IGeneratable igen = p.Generatable; if (i > 0 && parms [i - 1].IsString && p.IsLength) { string string_name = parms [i - 1].Name; result[i] = igen.CallByName (CastFromInt (p.CSType) + "System.Text.Encoding.UTF8.GetByteCount (" + string_name + ")"); continue; } p.CallName = p.Name; result [i] = p.CallString; if (p.IsUserData) result [i] = "__data"; } return String.Join (", ", result); } } MethodBody body; void GenInvoker (GenerationInfo gen_info, StreamWriter sw) { if (sig == null) sig = new Signature (parms); sw.WriteLine ("\tinternal class " + Name + "Invoker {"); sw.WriteLine (); sw.WriteLine ("\t\t" + Name + "Native native_cb;"); sw.WriteLine ("\t\tIntPtr __data;"); sw.WriteLine ("\t\tGLib.DestroyNotify __notify;"); sw.WriteLine (); sw.WriteLine ("\t\t~" + Name + "Invoker ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (__notify == null)"); sw.WriteLine ("\t\t\t\treturn;"); sw.WriteLine ("\t\t\t__notify (__data);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + Name + "Invoker (" + Name + "Native native_cb) : this (native_cb, IntPtr.Zero, null) {}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + Name + "Invoker (" + Name + "Native native_cb, IntPtr data) : this (native_cb, data, null) {}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + Name + "Invoker (" + Name + "Native native_cb, IntPtr data, GLib.DestroyNotify notify)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tthis.native_cb = native_cb;"); sw.WriteLine ("\t\t\t__data = data;"); sw.WriteLine ("\t\t\t__notify = notify;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + QualifiedName + " Handler {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn new " + QualifiedName + "(InvokeNative);"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t" + retval.CSType + " InvokeNative (" + sig + ")"); sw.WriteLine ("\t\t{"); body.Initialize (gen_info); string call = "native_cb (" + InvokeString + ")"; if (retval.IsVoid) sw.WriteLine ("\t\t\t" + call + ";"); else sw.WriteLine ("\t\t\t" + retval.CSType + " result = " + retval.FromNative (call) + ";"); body.Finish (sw, String.Empty); if (!retval.IsVoid) sw.WriteLine ("\t\t\treturn result;"); sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); sw.WriteLine (); } public string GenWrapper (GenerationInfo gen_info) { string wrapper = Name + "Native"; string qualname = MarshalType; if (!Validate ()) return String.Empty; body = new MethodBody (parms); StreamWriter save_sw = gen_info.Writer; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (qualname); sw.WriteLine ("namespace " + NS + "Sharp {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); sw.WriteLine ("\t[GLib.CDeclCallback]"); sw.WriteLine ("\tinternal delegate " + retval.MarshalType + " " + wrapper + "(" + parms.ImportSignature + ");"); sw.WriteLine (); GenInvoker (gen_info, sw); sw.WriteLine ("\tinternal class " + Name + "Wrapper {"); sw.WriteLine (); ManagedCallString call = new ManagedCallString (parms); sw.WriteLine ("\t\tpublic " + retval.MarshalType + " NativeCallback (" + parms.ImportSignature + ")"); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) sw.WriteLine (unconditional); sw.WriteLine ("\t\t\ttry {"); string call_setup = call.Setup ("\t\t\t\t"); if (call_setup.Length > 0) sw.WriteLine (call_setup); if (retval.CSType == "void") sw.WriteLine ("\t\t\t\tmanaged ({0});", call); else sw.WriteLine ("\t\t\t\t{0} __ret = managed ({1});", retval.CSType, call); string finish = call.Finish ("\t\t\t\t"); if (finish.Length > 0) sw.WriteLine (finish); sw.WriteLine ("\t\t\t\tif (release_on_call)\n\t\t\t\t\tgch.Free ();"); if (retval.CSType != "void") sw.WriteLine ("\t\t\t\treturn {0};", retval.ToNative ("__ret")); /* If the function expects one or more "out" parameters(error parameters are excluded) or has a return value different from void and bool, exceptions * thrown in the managed function have to be considered fatal meaning that an exception is to be thrown and the function call cannot not return */ bool fatal = (retval.MarshalType != "void" && retval.MarshalType != "bool") || call.HasOutParam; sw.WriteLine ("\t\t\t} catch (Exception e) {"); sw.WriteLine ("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, " + (fatal ? "true" : "false") + ");"); if (fatal) { sw.WriteLine ("\t\t\t\t// NOTREACHED: Above call does not return."); sw.WriteLine ("\t\t\t\tthrow e;"); } else if (retval.MarshalType == "bool") { sw.WriteLine ("\t\t\t\treturn false;"); } sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tbool release_on_call = false;"); sw.WriteLine ("\t\tGCHandle gch;"); sw.WriteLine (); sw.WriteLine ("\t\tpublic void PersistUntilCalled ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\trelease_on_call = true;"); sw.WriteLine ("\t\t\tgch = GCHandle.Alloc (this);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + wrapper + " NativeDelegate;"); sw.WriteLine ("\t\t" + NS + "." + Name + " managed;"); sw.WriteLine (); sw.WriteLine ("\t\tpublic " + Name + "Wrapper (" + NS + "." + Name + " managed)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tthis.managed = managed;"); sw.WriteLine ("\t\t\tif (managed != null)"); sw.WriteLine ("\t\t\t\tNativeDelegate = new " + wrapper + " (NativeCallback);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static " + NS + "." + Name + " GetManagedDelegate (" + wrapper + " native)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (native == null)"); sw.WriteLine ("\t\t\t\treturn null;"); sw.WriteLine ("\t\t\t" + Name + "Wrapper wrapper = (" + Name + "Wrapper) native.Target;"); sw.WriteLine ("\t\t\tif (wrapper == null)"); sw.WriteLine ("\t\t\t\treturn null;"); sw.WriteLine ("\t\t\treturn wrapper.managed;"); sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = save_sw; return NS + "Sharp." + Name + "Wrapper"; } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; sig = new Signature (parms); StreamWriter sw = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine (); sw.WriteLine ("\t{0} delegate " + retval.CSType + " " + Name + "(" + sig.ToString() + ");", IsInternal ? "internal" : "public"); sw.WriteLine (); sw.WriteLine ("}"); sw.Close (); GenWrapper (gen_info); Statistics.CBCount++; } } } clutter-sharp-1.0.0alpha3/gapi/generator/ObjectBase.cs0000644000175000017500000002212011506367775024402 0ustar00hyperairhyperair00000000000000// ObjectBase.cs - Base class for Object types // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // Copyright (c) 2009 Christian Hoff // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public abstract class ObjectBase : HandleBase { bool is_interface; protected string class_struct_name = null; bool class_fields_valid; // false if the class structure contains a bitfield or fields of unknown types ArrayList class_members = new ArrayList (); protected ArrayList class_fields = new ArrayList (); // The default handlers of these signals need to be overridden with g_signal_override_class_closure protected ArrayList virtual_methods = new ArrayList (); // virtual methods that are generated as an IntPtr in the class struct protected ArrayList hidden_vms = new ArrayList (); protected ArrayList interface_vms = new ArrayList (); protected Hashtable sigs = new Hashtable(); protected ObjectBase (XmlElement ns, XmlElement elem, bool is_interface) : base (ns, elem) { this.is_interface = is_interface; XmlElement class_elem = null; Hashtable vms = new Hashtable (); Hashtable signal_vms = new Hashtable (); if (this.ParserVersion == 1) class_struct_name = this.CName + (is_interface ? "Iface" : "Class"); foreach (XmlNode node in elem.ChildNodes) { if (!(node is XmlElement)) continue; XmlElement member = node as XmlElement; switch (node.Name) { case "virtual_method": if (this.ParserVersion == 1) { if (is_interface) // Generating non-signal GObject virtual methods is not supported in compatibility mode AddVM (member, false, is_interface); } else vms.Add (member.GetAttribute ("cname"), member); break; case "signal": if (this.ParserVersion == 1 || member.GetAttribute ("field_name") == "") AddVM (member, true, is_interface); else signal_vms.Add (member.GetAttribute ("field_name"), member); if (member.GetAttribute ("hidden") != "1") { string name = member.GetAttribute("name"); while (sigs.ContainsKey(name)) name += "mangled"; sigs.Add (name, new Signal (member, this)); } break; case "class_struct": class_elem = member; break; } } if (class_elem == null) return; class_struct_name = class_elem.GetAttribute ("cname"); for (int node_idx = 0; node_idx < class_elem.ChildNodes.Count; node_idx++) { XmlNode node = class_elem.ChildNodes [node_idx]; if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; switch (member.Name) { case "method": string vm_name; XmlElement vm_elem; bool is_signal_vm = member.HasAttribute ("signal_vm"); if (is_signal_vm) { vm_name = member.GetAttribute ("signal_vm"); vm_elem = signal_vms [vm_name] as XmlElement; } else { vm_name = member.GetAttribute ("vm"); vm_elem = vms [vm_name] as XmlElement; } AddVM (vm_elem, is_signal_vm, is_interface); break; case "field": if (node_idx == 0) continue; // Parent class ClassField field = new ClassField (member, this); class_fields.Add (field); class_members.Add (field); break; default: Console.WriteLine ("Unexpected node " + member.Name + " in " + class_elem.GetAttribute ("cname")); break; } } } VirtualMethod AddVM (XmlElement vm_elem, bool is_signal_vm, bool is_interface) { VirtualMethod vm; if (is_signal_vm) vm = new DefaultSignalHandler (vm_elem, this); else if (is_interface) vm = new InterfaceVM (vm_elem, methods [vm_elem.GetAttribute ("name")] as Method, this); else vm = new GObjectVM (vm_elem, this); if (vm_elem.GetAttribute ("padding") == "true" || vm_elem.GetAttribute ("hidden") == "1") hidden_vms.Add (vm); else { if (vm is GObjectVM) virtual_methods.Add (vm); else interface_vms.Add (vm); } if (vm.CName != "") class_members.Add (vm); return vm; } protected override bool IsNodeNameHandled (string name) { switch (name) { case "virtual_method": case "signal": case "class_struct": return true; default: return base.IsNodeNameHandled (name); } } public override string FromNative (string var, bool owned) { return "GLib.Object.GetObject(" + var + (owned ? ", true" : "") + ") as " + QualifiedName; } public string ClassStructName { get { return class_struct_name; } } public bool CanGenerateClassStruct { get { /* Generation of interface class structs was already supported by version 2.12 of the GAPI parser. Their layout was determined by the order * in which the signal and virtual_method elements appeared in the XML. However, we cannot use that approach for old GObject class structs * as they may contain class fields which don't appear in the old (version 1) API files. There are also cases in which the order of the * and elements do not match the struct layout. */ return (is_interface || this.ParserVersion >= 2) && class_fields_valid; } } protected void GenerateClassStruct (GenerationInfo gen_info) { if (class_struct_name == null || !CanGenerateClassStruct) return; StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\t[StructLayout (LayoutKind.Sequential)]"); sw.WriteLine ("\t\tstruct " + class_struct_name + " {"); foreach (object member in class_members) { if (member is VirtualMethod) { VirtualMethod vm = member as VirtualMethod; if (hidden_vms.Contains (vm) || (is_interface && vm is DefaultSignalHandler)) sw.WriteLine ("\t\t\tIntPtr {0};", vm.Name); else sw.WriteLine ("\t\t\tpublic {0}NativeDelegate {0};", vm.Name); } else if (member is ClassField) { ClassField field = member as ClassField; field.Generate (gen_info, "\t\t\t"); } } sw.WriteLine ("\t\t}"); sw.WriteLine (); } public Hashtable Signals { get { return sigs; } } public Signal GetSignal (string name) { return sigs[name] as Signal; } public Signal GetSignalRecursively (string name) { return GetSignalRecursively (name, false); } public virtual Signal GetSignalRecursively (string name, bool check_self) { Signal p = null; if (check_self) p = GetSignal (name); if (p == null && Parent != null) p = (Parent as ObjectBase).GetSignalRecursively (name, true); if (check_self && p == null) { foreach (string iface in interfaces) { InterfaceGen igen = SymbolTable.Table.GetClassGen (iface) as InterfaceGen; if (igen == null) continue; p = igen.GetSignalRecursively (name, true); if (p != null) break; } } return p; } public void GenSignals (GenerationInfo gen_info, ObjectBase implementor) { foreach (Signal sig in sigs.Values) sig.Generate (gen_info, implementor); } public void GenVirtualMethods (GenerationInfo gen_info, ObjectBase implementor) { foreach (GObjectVM vm in virtual_methods) vm.Generate (gen_info, implementor); } public override bool Validate () { if (Parent != null && !(Parent as ObjectBase).ValidateForSubclass ()) return false; ArrayList invalids = new ArrayList (); foreach (GObjectVM vm in virtual_methods) if (!vm.Validate ()) invalids.Add (vm); foreach (VirtualMethod invalid_vm in invalids) { virtual_methods.Remove (invalid_vm); hidden_vms.Add (invalid_vm); } invalids.Clear (); class_fields_valid = true; foreach (ClassField field in class_fields) if (!field.Validate ()) class_fields_valid = false; foreach (InterfaceVM vm in interface_vms) if (!vm.Validate ()) invalids.Add (vm); foreach (InterfaceVM invalid_vm in invalids) { interface_vms.Remove (invalid_vm); hidden_vms.Add (invalid_vm); } invalids.Clear (); foreach (Signal sig in sigs.Values) { if (!sig.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (sig); } } foreach (Signal sig in invalids) sigs.Remove (sig.Name); return base.Validate (); } public virtual bool ValidateForSubclass () { ArrayList invalids = new ArrayList (); foreach (Signal sig in sigs.Values) { if (!sig.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (sig); } } foreach (Signal sig in invalids) sigs.Remove (sig.Name); invalids.Clear (); return true; } } } clutter-sharp-1.0.0alpha3/gapi/generator/Statistics.cs0000644000175000017500000000770311506367775024545 0ustar00hyperairhyperair00000000000000// Statistics.cs : Generation statistics class implementation // // Author: Mike Kestner // // Copyright (c) 2002 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; public class Statistics { static int cbs = 0; static int enums = 0; static int objects = 0; static int structs = 0; static int boxed = 0; static int opaques = 0; static int interfaces = 0; static int methods = 0; static int ctors = 0; static int props = 0; static int sigs = 0; static int throttled = 0; static int ignored = 0; static bool vm_ignored = false; public static int CBCount { get { return cbs; } set { cbs = value; } } public static int EnumCount { get { return enums; } set { enums = value; } } public static int ObjectCount { get { return objects; } set { objects = value; } } public static int StructCount { get { return structs; } set { structs = value; } } public static int BoxedCount { get { return boxed; } set { boxed = value; } } public static int OpaqueCount { get { return opaques; } set { opaques = value; } } public static int CtorCount { get { return ctors; } set { ctors = value; } } public static int MethodCount { get { return methods; } set { methods = value; } } public static int PropCount { get { return props; } set { props = value; } } public static int SignalCount { get { return sigs; } set { sigs = value; } } public static int IFaceCount { get { return interfaces; } set { interfaces = value; } } public static int ThrottledCount { get { return throttled; } set { throttled = value; } } public static int IgnoreCount { get { return ignored; } set { ignored = value; } } public static bool VMIgnored { get { return vm_ignored; } set { if (value) vm_ignored = value; } } public static void Report() { if (VMIgnored) { Console.WriteLine(); Console.WriteLine("Warning: Generation throttled for Virtual Methods."); Console.WriteLine(" Consider regenerating with --gluelib-name and --glue-filename."); } Console.WriteLine(); Console.WriteLine("Generation Summary:"); Console.Write(" Enums: " + enums); Console.Write(" Structs: " + structs); Console.Write(" Boxed: " + boxed); Console.Write(" Opaques: " + opaques); Console.Write(" Interfaces: " + interfaces); Console.Write(" Objects: " + objects); Console.WriteLine(" Callbacks: " + cbs); Console.Write(" Properties: " + props); Console.Write(" Signals: " + sigs); Console.Write(" Methods: " + methods); Console.Write(" Constructors: " + ctors); Console.WriteLine(" Throttled: " + throttled); Console.WriteLine("Total Nodes: " + (enums+structs+boxed+opaques+interfaces+cbs+objects+props+sigs+methods+ctors+throttled)); Console.WriteLine(); } } } clutter-sharp-1.0.0alpha3/gapi/generator/VirtualMethod.cs0000644000175000017500000001132411506367775025174 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.VirtualMethod.cs - The VirtualMethod Generatable. // // Author: Mike Kestner // // Copyright (c) 2003-2004 Novell, Inc. // Copyright (c) 2009 Christian Hoff // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public abstract class VirtualMethod : MethodBase { protected ReturnValue retval; protected ManagedCallString call; protected string modifiers = ""; public VirtualMethod (XmlElement elem, ObjectBase container_type) : base (elem, container_type) { if (container_type.ParserVersion == 1) { // The old pre 2.14 parser didn't drop the 1st parameter in all and elements parms = new Parameters (elem ["parameters"], true); } retval = new ReturnValue (elem ["return-type"]); } protected abstract string CallString { get; } VMSignature signature; protected new VMSignature Signature { get { if (signature == null) signature = new VMSignature (parms); return signature; } } /* Creates a callback method which invokes the corresponding virtual method * @implementor is the class that implements the virtual method(e.g. the class that derives from an interface) or NULL if containing and declaring type are equal */ public void GenerateCallback (StreamWriter sw, ClassBase implementor) { if (!Validate ()) return; string native_signature = ""; if (!IsStatic) { native_signature += "IntPtr inst"; if (parms.Count > 0) native_signature += ", "; } if (parms.Count > 0) native_signature += parms.ImportSignature; sw.WriteLine ("\t\t[GLib.CDeclCallback]"); sw.WriteLine ("\t\tdelegate {0} {1}NativeDelegate ({2});", retval.ToNativeType, this.Name, native_signature); sw.WriteLine (); sw.WriteLine ("\t\tstatic {0} {1}_cb ({2})", retval.ToNativeType, this.Name, native_signature); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) sw.WriteLine (unconditional); sw.WriteLine ("\t\t\ttry {"); if (!this.IsStatic) { string type; if (implementor != null) type = implementor.QualifiedName; else if (this.container_type is InterfaceGen) type = this.container_type.Name + "Implementor"; // We are in an interface/adaptor, invoke the method in the implementor class else type = this.container_type.Name; sw.WriteLine ("\t\t\t\t{0} __obj = GLib.Object.GetObject (inst, false) as {0};", type); } sw.Write (call.Setup ("\t\t\t\t")); sw.Write ("\t\t\t\t"); if (!retval.IsVoid) sw.Write (retval.CSType + " __result = "); if (!this.IsStatic) sw.Write ("__obj."); sw.WriteLine (this.CallString + ";"); sw.Write (call.Finish ("\t\t\t\t")); if (!retval.IsVoid) sw.WriteLine ("\t\t\t\treturn " + retval.ToNative ("__result") + ";"); bool fatal = parms.HasOutParam || !retval.IsVoid; sw.WriteLine ("\t\t\t} catch (Exception e) {"); sw.WriteLine ("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, " + (fatal ? "true" : "false") + ");"); if (fatal) { sw.WriteLine ("\t\t\t\t// NOTREACHED: above call does not return."); sw.WriteLine ("\t\t\t\tthrow e;"); } sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } public bool IsValid { get { return Validate (); } } enum ValidState { Unvalidated, Invalid, Valid } ValidState vstate = ValidState.Unvalidated; public override bool Validate () { if (vstate != ValidState.Unvalidated) return vstate == ValidState.Valid; vstate = ValidState.Valid; if (!parms.Validate () || !retval.Validate ()) { vstate = ValidState.Invalid; } if (vstate == ValidState.Invalid) { Console.WriteLine ("(in virtual method " + container_type.QualifiedName + "." + Name + ")"); return false; } else { // The call string has to be created *after* the params have been validated since the Parameters class contains no elements before validation call = new ManagedCallString (parms); return true; } } } } clutter-sharp-1.0.0alpha3/gapi/generator/FieldBase.cs0000644000175000017500000002165611506367775024234 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.FieldBase.cs - base class for struct and object // fields // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public abstract class FieldBase : PropertyBase { public FieldBase (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} public virtual bool Validate () { if (!Ignored && !Hidden && CSType == "") { Console.Write("Field {0} has unknown Type {1} ", Name, CType); Statistics.ThrottledCount++; return false; } return true; } protected virtual bool Readable { get { return elem.GetAttribute ("readable") != "false"; } } protected virtual bool Writable { get { return elem.GetAttribute ("writeable") != "false"; } } protected abstract string DefaultAccess { get; } protected string Access { get { return elem.HasAttribute ("access") ? elem.GetAttribute ("access") : DefaultAccess; } } public bool IsArray { get { return elem.HasAttribute("array_len") || elem.HasAttribute("array"); } } public bool IsBitfield { get { return elem.HasAttribute("bits"); } } public bool Ignored { get { if (container_type.GetProperty (Name) != null) return true; if (IsArray) return true; if (Access == "private" && (Getter == null) && (Setter == null)) return true; return false; } } string getterName, setterName; string getOffsetName, offsetName; void CheckGlue () { getterName = setterName = getOffsetName = null; if (Access != "public") return; string prefix = (container_type.NS + "Sharp_" + container_type.NS + "_" + container_type.Name).Replace(".", "__").ToLower (); if (IsBitfield) { if (Readable && Getter == null) getterName = prefix + "_get_" + CName; if (Writable && Setter == null) setterName = prefix + "_set_" + CName; } else { if ((Readable && Getter == null) || (Writable && Setter == null)) { offsetName = CName + "_offset"; getOffsetName = prefix + "_get_" + offsetName; } } } protected override void GenerateImports (GenerationInfo gen_info, string indent) { StreamWriter sw = gen_info.Writer; SymbolTable table = SymbolTable.Table; if (getterName != null) { sw.WriteLine (indent + "[DllImport (\"{0}\")]", gen_info.GluelibName); sw.WriteLine (indent + "extern static {0} {1} ({2} raw);", table.GetMarshalReturnType (CType), getterName, container_type.MarshalType); } if (setterName != null) { sw.WriteLine (indent + "[DllImport (\"{0}\")]", gen_info.GluelibName); sw.WriteLine (indent + "extern static void {0} ({1} raw, {2} value);", setterName, container_type.MarshalType, table.GetMarshalType (CType)); } if (getOffsetName != null) { sw.WriteLine (indent + "[DllImport (\"{0}\")]", gen_info.GluelibName); sw.WriteLine (indent + "extern static uint {0} ();", getOffsetName); sw.WriteLine (); sw.WriteLine (indent + "static uint " + offsetName + " = " + getOffsetName + " ();"); } base.GenerateImports (gen_info, indent); } public virtual void Generate (GenerationInfo gen_info, string indent) { if (Ignored || Hidden) return; CheckGlue (); if ((getterName != null || setterName != null || getOffsetName != null) && gen_info.GlueWriter == null) { Console.WriteLine ("No glue-filename specified, can't create glue for {0}.{1}", container_type.Name, Name); return; } GenerateImports (gen_info, indent); SymbolTable table = SymbolTable.Table; StreamWriter sw = gen_info.Writer; string modifiers = elem.HasAttribute ("new_flag") ? "new " : ""; bool is_struct = table.IsStruct (CType) || table.IsBoxed (CType); sw.WriteLine (indent + "public " + modifiers + CSType + " " + Name + " {"); if (Getter != null) { sw.Write (indent + "\tget "); Getter.GenerateBody (gen_info, container_type, "\t"); sw.WriteLine (""); } else if (getterName != null) { sw.WriteLine (indent + "\tget {"); container_type.Prepare (sw, indent + "\t\t"); sw.WriteLine (indent + "\t\t" + CSType + " result = " + table.FromNativeReturn (ctype, getterName + " (" + container_type.CallByName () + ")") + ";"); container_type.Finish (sw, indent + "\t\t"); sw.WriteLine (indent + "\t\treturn result;"); sw.WriteLine (indent + "\t}"); } else if (Readable && offsetName != null) { sw.WriteLine (indent + "\tget {"); sw.WriteLine (indent + "\t\tunsafe {"); if (is_struct) { sw.WriteLine (indent + "\t\t\t" + CSType + "* raw_ptr = (" + CSType + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\treturn *raw_ptr;"); } else { sw.WriteLine (indent + "\t\t\t" + table.GetMarshalReturnType (CType) + "* raw_ptr = (" + table.GetMarshalReturnType (CType) + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\treturn " + table.FromNativeReturn (ctype, "(*raw_ptr)") + ";"); } sw.WriteLine (indent + "\t\t}"); sw.WriteLine (indent + "\t}"); } if (Setter != null) { sw.Write (indent + "\tset "); Setter.GenerateBody (gen_info, container_type, "\t"); sw.WriteLine (""); } else if (setterName != null) { sw.WriteLine (indent + "\tset {"); container_type.Prepare (sw, indent + "\t\t"); sw.WriteLine (indent + "\t\t" + setterName + " (" + container_type.CallByName () + ", " + table.CallByName (ctype, "value") + ");"); container_type.Finish (sw, indent + "\t\t"); sw.WriteLine (indent + "\t}"); } else if (Writable && offsetName != null) { sw.WriteLine (indent + "\tset {"); sw.WriteLine (indent + "\t\tunsafe {"); if (is_struct) { sw.WriteLine (indent + "\t\t\t" + CSType + "* raw_ptr = (" + CSType + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\t*raw_ptr = value;"); } else { sw.WriteLine (indent + "\t\t\t" + table.GetMarshalReturnType (CType) + "* raw_ptr = (" + table.GetMarshalReturnType (CType) + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\t*raw_ptr = " + table.ToNativeReturn (ctype, "value") + ";"); } sw.WriteLine (indent + "\t\t}"); sw.WriteLine (indent + "\t}"); } sw.WriteLine (indent + "}"); sw.WriteLine (""); if (getterName != null || setterName != null || getOffsetName != null) GenerateGlue (gen_info); } protected void GenerateGlue (GenerationInfo gen_info) { StreamWriter sw = gen_info.GlueWriter; SymbolTable table = SymbolTable.Table; string FieldCType = CType.Replace ("-", " "); bool byref = table[CType] is ByRefGen || table[CType] is StructGen; string GlueCType = byref ? FieldCType + " *" : FieldCType; string ContainerCType = container_type.CName; string ContainerCName = container_type.Name.ToLower (); if (getterName != null) { sw.WriteLine ("{0} {1} ({2} *{3});", GlueCType, getterName, ContainerCType, ContainerCName); } if (setterName != null) { sw.WriteLine ("void {0} ({1} *{2}, {3} value);", setterName, ContainerCType, ContainerCName, GlueCType); } if (getOffsetName != null) sw.WriteLine ("guint {0} (void);", getOffsetName); sw.WriteLine (""); if (getterName != null) { sw.WriteLine (GlueCType); sw.WriteLine ("{0} ({1} *{2})", getterName, ContainerCType, ContainerCName); sw.WriteLine ("{"); sw.WriteLine ("\treturn ({0}){1}{2}->{3};", GlueCType, byref ? "&" : "", ContainerCName, CName); sw.WriteLine ("}"); sw.WriteLine (""); } if (setterName != null) { sw.WriteLine ("void"); sw.WriteLine ("{0} ({1} *{2}, {3} value)", setterName, ContainerCType, ContainerCName, GlueCType); sw.WriteLine ("{"); sw.WriteLine ("\t{0}->{1} = ({2}){3}value;", ContainerCName, CName, FieldCType, byref ? "*" : ""); sw.WriteLine ("}"); sw.WriteLine (""); } if (getOffsetName != null) { sw.WriteLine ("guint"); sw.WriteLine ("{0} (void)", getOffsetName); sw.WriteLine ("{"); sw.WriteLine ("\treturn (guint)G_STRUCT_OFFSET ({0}, {1});", ContainerCType, CName); sw.WriteLine ("}"); sw.WriteLine (""); } } } } clutter-sharp-1.0.0alpha3/gapi/generator/Makefile.in0000644000175000017500000002522411506371323024107 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gapi/generator DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SCRIPTS = $(noinst_SCRIPTS) SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ noinst_SCRIPTS = gapi_codegen.exe CLEANFILES = gapi_codegen.exe MAINTAINERCLEANFILES = Makefile.in sources = \ AliasGen.cs \ BoxedGen.cs \ ByRefGen.cs \ CallbackGen.cs \ ChildProperty.cs \ ClassBase.cs \ ClassField.cs \ ClassGen.cs \ CodeGenerator.cs \ ConstFilenameGen.cs \ ConstStringGen.cs \ Ctor.cs \ DefaultSignalHandler.cs \ EnumGen.cs \ FieldBase.cs \ GenBase.cs \ GenerationInfo.cs \ GObjectVM.cs \ HandleBase.cs \ IAccessor.cs \ IGeneratable.cs \ IManualMarshaler.cs \ InterfaceGen.cs \ InterfaceVM.cs \ LPGen.cs \ LPUGen.cs \ ManagedCallString.cs \ ManualGen.cs \ MarshalGen.cs \ MethodBase.cs \ MethodBody.cs \ Method.cs \ ObjectField.cs \ ObjectBase.cs \ ObjectGen.cs \ OpaqueGen.cs \ Parameters.cs \ Parser.cs \ Property.cs \ PropertyBase.cs \ ReturnValue.cs \ Signal.cs \ Signature.cs \ SimpleBase.cs \ SimpleGen.cs \ Statistics.cs \ StructBase.cs \ StructField.cs \ StructGen.cs \ SymbolTable.cs \ VirtualMethod.cs \ VMSignature.cs build_sources = $(addprefix $(srcdir)/, $(sources)) dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gapi/generator/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gapi/generator/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am gapi_codegen.exe: $(build_sources) $(MCS) -out:gapi_codegen.exe $(build_sources) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/gapi/generator/GenerationInfo.cs0000644000175000017500000001042511506367775025315 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.GenerationInfo.cs - Generation information class. // // Author: Mike Kestner // // Copyright (c) 2003-2008 Novell Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class GenerationInfo { string dir; string custom_dir; string assembly_name; string gluelib_name; bool glue_enabled; StreamWriter sw; StreamWriter glue_sw; public GenerationInfo (XmlElement ns) { string ns_name = ns.GetAttribute ("name"); char sep = Path.DirectorySeparatorChar; dir = ".." + sep + ns_name.ToLower () + sep + "generated"; custom_dir = ".." + sep + ns_name.ToLower (); assembly_name = ns_name.ToLower () + "-sharp"; } public GenerationInfo (string dir, string assembly_name) : this (dir, dir, assembly_name, "", "", "") {} public GenerationInfo (string dir, string custom_dir, string assembly_name, string glue_filename, string glue_includes, string gluelib_name) { this.dir = dir; this.custom_dir = custom_dir; this.assembly_name = assembly_name; this.gluelib_name = gluelib_name; InitializeGlue (glue_filename, glue_includes, gluelib_name); } void InitializeGlue (string glue_filename, string glue_includes, string gluelib_name) { if (gluelib_name != String.Empty && glue_filename != String.Empty) { FileStream stream; try { stream = new FileStream (glue_filename, FileMode.Create, FileAccess.Write); } catch (Exception) { Console.Error.WriteLine ("Unable to create specified glue file. Glue will not be generated."); return; } glue_sw = new StreamWriter (stream); glue_sw.WriteLine ("// This file was generated by the Gtk# code generator."); glue_sw.WriteLine ("// Any changes made will be lost if regenerated."); glue_sw.WriteLine (); if (glue_includes != "") { foreach (string header in glue_includes.Split (new char[] {',', ' '})) { if (header != "") glue_sw.WriteLine ("#include <{0}>", header); } glue_sw.WriteLine (""); } glue_enabled = true; } } public string AssemblyName { get { return assembly_name; } } public string CustomDir { get { return custom_dir; } } public string Dir { get { return dir; } } public string GluelibName { get { return gluelib_name; } } public bool GlueEnabled { get { return glue_enabled; } } public StreamWriter GlueWriter { get { return glue_sw; } } public StreamWriter Writer { get { return sw; } set { sw = value; } } public void CloseGlueWriter () { if (glue_sw != null) glue_sw.Close (); } string member; public string CurrentMember { get { return typename + "." + member; } set { member = value; } } string typename; public string CurrentType { get { return typename; } set { typename = value; } } public StreamWriter OpenStream (string name) { char sep = Path.DirectorySeparatorChar; if (!Directory.Exists(dir)) Directory.CreateDirectory(dir); string filename = dir + sep + name + ".cs"; FileStream stream = new FileStream (filename, FileMode.Create, FileAccess.Write); StreamWriter sw = new StreamWriter (stream); sw.WriteLine ("// This file was generated by the Gtk# code generator."); sw.WriteLine ("// Any changes made will be lost if regenerated."); sw.WriteLine (); return sw; } } } clutter-sharp-1.0.0alpha3/gapi/generator/AliasGen.cs0000644000175000017500000000200011506367775024057 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.AliasGen.cs - The Alias type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class AliasGen : SimpleBase { public AliasGen (string ctype, string type) : base (ctype, type, String.Empty) {} } } clutter-sharp-1.0.0alpha3/gapi/generator/OpaqueGen.cs0000644000175000017500000001637311506367775024302 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.OpaqueGen.cs - The Opaque Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class OpaqueGen : HandleBase { public OpaqueGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string FromNative(string var, bool owned) { return var + " == IntPtr.Zero ? null : (" + QualifiedName + ") GLib.Opaque.GetOpaque (" + var + ", typeof (" + QualifiedName + "), " + (owned ? "true" : "false") + ")"; } private bool DisableRawCtor { get { return Elem.HasAttribute ("disable_raw_ctor"); } } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); SymbolTable table = SymbolTable.Table; Method ref_, unref, dispose; GetSpecialMethods (out ref_, out unref, out dispose); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); sw.Write ("\t{0}{1}class " + Name, IsInternal ? "internal " : "public ", IsAbstract ? "abstract " : String.Empty); string cs_parent = table.GetCSType(Elem.GetAttribute("parent")); if (cs_parent != "") sw.Write (" : " + cs_parent); else sw.Write (" : GLib.Opaque"); foreach (string iface in managed_interfaces) { if (Parent != null && Parent.Implements (iface)) continue; sw.Write (", " + iface); } sw.WriteLine (" {"); sw.WriteLine (); GenFields (gen_info); GenMethods (gen_info, null, null); GenCtors (gen_info); if (ref_ != null) { ref_.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Ref (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (!Owned) {"); sw.WriteLine ("\t\t\t\t" + ref_.CName + " (raw);"); sw.WriteLine ("\t\t\t\tOwned = true;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (ref_.IsDeprecated) { sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now refcounted automatically\")]"); if (ref_.ReturnType == "void") sw.WriteLine ("\t\tpublic void Ref () {}"); else sw.WriteLine ("\t\tpublic " + Name + " Ref () { return this; }"); sw.WriteLine (); } } bool finalizer_needed = false; if (unref != null) { unref.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Unref (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (Owned) {"); sw.WriteLine ("\t\t\t\t" + unref.CName + " (raw);"); sw.WriteLine ("\t\t\t\tOwned = false;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (unref.IsDeprecated) { sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now refcounted automatically\")]"); sw.WriteLine ("\t\tpublic void Unref () {}"); sw.WriteLine (); } finalizer_needed = true; } if (dispose != null) { dispose.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Free (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\t" + dispose.CName + " (raw);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (dispose.IsDeprecated) { sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now freed automatically\")]"); sw.WriteLine ("\t\tpublic void " + dispose.Name + " () {}"); sw.WriteLine (); } finalizer_needed = true; } if (finalizer_needed) { sw.WriteLine ("\t\tclass FinalizerInfo {"); sw.WriteLine ("\t\t\tIntPtr handle;"); sw.WriteLine (); sw.WriteLine ("\t\t\tpublic FinalizerInfo (IntPtr handle)"); sw.WriteLine ("\t\t\t{"); sw.WriteLine ("\t\t\t\tthis.handle = handle;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t\tpublic bool Handler ()"); sw.WriteLine ("\t\t\t{"); if (dispose != null) sw.WriteLine ("\t\t\t\t{0} (handle);", dispose.CName); else if (unref != null) sw.WriteLine ("\t\t\t\t{0} (handle);", unref.CName); sw.WriteLine ("\t\t\t\treturn false;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t~{0} ()", Name); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (!Owned)"); sw.WriteLine ("\t\t\t\treturn;"); sw.WriteLine ("\t\t\tFinalizerInfo info = new FinalizerInfo (Handle);"); sw.WriteLine ("\t\t\tGLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } #if false Method copy = Methods ["Copy"] as Method; if (copy != null && copy.Parameters.Count == 0) { sw.WriteLine ("\t\tprotected override GLib.Opaque Copy (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.Opaque result = new " + QualifiedName + " (" + copy.CName + " (raw));"); sw.WriteLine ("\t\t\tresult.Owned = true;"); sw.WriteLine ("\t\t\treturn result;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } #endif sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.OpaqueCount++; } void GetSpecialMethods (out Method ref_, out Method unref, out Method dispose) { ref_ = CheckSpecialMethod (GetMethod ("Ref")); unref = CheckSpecialMethod (GetMethod ("Unref")); dispose = GetMethod ("Free"); if (dispose == null) { dispose = GetMethod ("Destroy"); if (dispose == null) dispose = GetMethod ("Dispose"); } dispose = CheckSpecialMethod (dispose); } Method CheckSpecialMethod (Method method) { if (method == null) return null; if (method.ReturnType != "void" && method.ReturnType != QualifiedName) return null; if (method.Signature.ToString () != "") return null; methods.Remove (method.Name); return method; } protected override void GenCtors (GenerationInfo gen_info) { if (!DisableRawCtor) { gen_info.Writer.WriteLine("\t\tpublic " + Name + "(IntPtr raw) : base(raw) {}"); gen_info.Writer.WriteLine(); } base.GenCtors (gen_info); } } } clutter-sharp-1.0.0alpha3/gapi/generator/LPGen.cs0000644000175000017500000000321711506367775023354 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.LPGen.cs - long/pointer Generatable. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; public class LPGen : SimpleGen, IAccessor { public LPGen (string ctype) : base (ctype, "long", "0L") {} public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string var_name) { return "new IntPtr (" + var_name + ")"; } public override string FromNative(string var) { return "(long) " + var; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); sw.WriteLine (indent + "}"); sw.WriteLine (indent + "set {"); sw.WriteLine (indent + "\t" + var + " = " + CallByName ("value") + ";"); sw.WriteLine (indent + "}"); } } } clutter-sharp-1.0.0alpha3/gapi/generator/StructBase.cs0000644000175000017500000001400311506367775024461 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.StructBase.cs - The Structure/Boxed Base Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Text.RegularExpressions; using System.Xml; public abstract class StructBase : ClassBase, IManualMarshaler { new ArrayList fields = new ArrayList (); bool need_read_native = false; protected StructBase (XmlElement ns, XmlElement elem) : base (ns, elem) { foreach (XmlNode node in elem.ChildNodes) { if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; switch (node.Name) { case "field": fields.Add (new StructField (member, this)); break; case "callback": Statistics.IgnoreCount++; break; default: if (!IsNodeNameHandled (node.Name)) Console.WriteLine ("Unexpected node " + node.Name + " in " + CName); break; } } } public override string DefaultValue { get { return QualifiedName + ".Zero"; } } public override string MarshalType { get { return "IntPtr"; } } public override string AssignToName { get { throw new NotImplementedException (); } } public override string CallByName () { return "this_as_native"; } public override string CallByName (string var) { return var + "_as_native"; } public override string FromNative (string var) { if (DisableNew) return var + " == IntPtr.Zero ? " + QualifiedName + ".Zero : (" + QualifiedName + ") System.Runtime.InteropServices.Marshal.PtrToStructure (" + var + ", typeof (" + QualifiedName + "))"; else return QualifiedName + ".New (" + var + ")"; } public string AllocNative (string var) { return "GLib.Marshaller.StructureToPtrAlloc (" + var + ")"; } public string ReleaseNative (string var) { return "Marshal.FreeHGlobal (" +var + ")"; } private bool DisableNew { get { return Elem.HasAttribute ("disable_new"); } } protected new void GenFields (GenerationInfo gen_info) { int bitfields = 0; bool need_field = true; foreach (StructField field in fields) { if (field.IsBitfield) { if (need_field) { StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\tprivate uint _bitfield{0};\n", bitfields++); need_field = false; } } else need_field = true; field.Generate (gen_info, "\t\t"); } } public override bool Validate () { foreach (StructField field in fields) { if (!field.Validate ()) { Console.WriteLine ("in Struct " + QualifiedName); if (!field.IsPointer) return false; } } return base.Validate (); } public override void Generate (GenerationInfo gen_info) { bool need_close = false; if (gen_info.Writer == null) { gen_info.Writer = gen_info.OpenStream (Name); need_close = true; } StreamWriter sw = gen_info.Writer; sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); sw.WriteLine ("\t[StructLayout(LayoutKind.Sequential)]"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " struct " + Name + " {"); sw.WriteLine (); need_read_native = false; GenFields (gen_info); sw.WriteLine (); GenCtors (gen_info); GenMethods (gen_info, null, this); if (need_read_native) GenReadNative (sw); if (!need_close) return; sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; } protected override void GenCtors (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\tpublic static {0} Zero = new {0} ();", QualifiedName); sw.WriteLine(); if (!DisableNew) { sw.WriteLine ("\t\tpublic static " + QualifiedName + " New(IntPtr raw) {"); sw.WriteLine ("\t\t\tif (raw == IntPtr.Zero)"); sw.WriteLine ("\t\t\t\treturn {0}.Zero;", QualifiedName); sw.WriteLine ("\t\t\treturn ({0}) Marshal.PtrToStructure (raw, typeof ({0}));", QualifiedName); sw.WriteLine ("\t\t}"); sw.WriteLine (); } foreach (Ctor ctor in Ctors) ctor.IsStatic = true; base.GenCtors (gen_info); } void GenReadNative (StreamWriter sw) { sw.WriteLine ("\t\tstatic void ReadNative (IntPtr native, ref {0} target)", QualifiedName); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\ttarget = New (native);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } public override void Prepare (StreamWriter sw, string indent) { sw.WriteLine (indent + "IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this));"); sw.WriteLine (indent + "System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false);"); } public override void Finish (StreamWriter sw, string indent) { need_read_native = true; sw.WriteLine (indent + "ReadNative (this_as_native, ref this);"); sw.WriteLine (indent + "System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);"); } } } clutter-sharp-1.0.0alpha3/gapi/generator/EnumGen.cs0000644000175000017500000000771111506367775023750 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.EnumGen.cs - The Enumeration Generatable. // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; using System.Text.RegularExpressions; public class EnumGen : GenBase { string enum_type = String.Empty; ArrayList members = new ArrayList (); public EnumGen (XmlElement ns, XmlElement elem) : base (ns, elem) { foreach (XmlElement member in elem.ChildNodes) { if (member.Name != "member") continue; string result = "\t\t" + member.GetAttribute("name"); if (member.HasAttribute ("value")) { string value = member.GetAttribute ("value").Trim (); foreach (Match match in Regex.Matches (value, "[0-9]+([UL]{1,2})", RegexOptions.IgnoreCase)) { switch (match.Groups[1].Value.ToUpper ()) { case "U": enum_type = " : uint"; break; case "L": enum_type = " : long"; break; case "UL": enum_type = " : ulong"; break; } } result += " = " + value; } members.Add (result + ","); } if (elem.HasAttribute ("enum_type")) enum_type = " : " + elem.GetAttribute ("enum_type"); } public override bool Validate () { return true; } public override string DefaultValue { get { return "(" + QualifiedName + ") 0"; } } public override string MarshalType { get { return "int"; } } public override string CallByName (string var_name) { return "(int) " + var_name; } public override string FromNative(string var) { return "(" + QualifiedName + ") " + var; } public override void Generate (GenerationInfo gen_info) { StreamWriter sw = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); if (Elem.GetAttribute("type") == "flags") sw.WriteLine ("\t[Flags]"); if (Elem.HasAttribute("gtype")) sw.WriteLine ("\t[GLib.GType (typeof (" + NS + "." + Name + "GType))]"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " enum " + Name + enum_type + " {"); sw.WriteLine (); foreach (string member in members) sw.WriteLine (member); sw.WriteLine ("\t}"); if (Elem.HasAttribute ("gtype")) { sw.WriteLine (); sw.WriteLine ("\tinternal class " + Name + "GType {"); sw.WriteLine ("\t\t[DllImport (\"" + LibraryName + "\")]"); sw.WriteLine ("\t\tstatic extern IntPtr " + Elem.GetAttribute ("gtype") + " ();"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static GLib.GType GType {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn new GLib.GType (" + Elem.GetAttribute ("gtype") + " ());"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); } sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); Statistics.EnumCount++; } } } clutter-sharp-1.0.0alpha3/gapi/generator/SimpleGen.cs0000644000175000017500000000203311506367775024265 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.SimpleGen.cs - The Simple type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class SimpleGen : SimpleBase { public SimpleGen (string ctype, string type, string default_value) : base (ctype, type, default_value) {} } } clutter-sharp-1.0.0alpha3/gapi/generator/ByRefGen.cs0000644000175000017500000000342311506367775024047 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ByRefGen.cs - The ByRef type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ByRefGen : SimpleBase, IManualMarshaler { public ByRefGen (string ctype, string type) : base (ctype, type, type + ".Empty") {} public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string var_name) { return "native_" + var_name; } public string AllocNative () { return "Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + QualifiedName + ")))"; } public string AllocNative (string var_name) { return "GLib.Marshaller.StructureToPtrAlloc (" + var_name + ")"; } public override string FromNative (string var_name) { return String.Format ("({0}) Marshal.PtrToStructure ({1}, typeof ({0}))", QualifiedName, var_name); } public string ReleaseNative (string var_name) { return "Marshal.FreeHGlobal (" + var_name + ")"; } } } clutter-sharp-1.0.0alpha3/gapi/generator/SymbolTable.cs0000644000175000017500000002727111506367775024632 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.SymbolTable.cs - The Symbol Table Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; public class SymbolTable { static SymbolTable table = null; Hashtable types = new Hashtable (); public static SymbolTable Table { get { if (table == null) table = new SymbolTable (); return table; } } public SymbolTable () { // Simple easily mapped types AddType (new SimpleGen ("void", "void", String.Empty)); AddType (new SimpleGen ("gpointer", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("AtkFunction", "IntPtr", "IntPtr.Zero")); // function definition used for padding AddType (new SimpleGen ("gboolean", "bool", "false")); AddType (new SimpleGen ("gint", "int", "0")); AddType (new SimpleGen ("guint", "uint", "0")); AddType (new SimpleGen ("int", "int", "0")); AddType (new SimpleGen ("unsigned", "uint", "0")); AddType (new SimpleGen ("unsigned int", "uint", "0")); AddType (new SimpleGen ("unsigned-int", "uint", "0")); AddType (new SimpleGen ("gshort", "short", "0")); AddType (new SimpleGen ("gushort", "ushort", "0")); AddType (new SimpleGen ("short", "short", "0")); AddType (new SimpleGen ("guchar", "byte", "0")); AddType (new SimpleGen ("unsigned char", "byte", "0")); AddType (new SimpleGen ("unsigned-char", "byte", "0")); AddType (new SimpleGen ("guint1", "bool", "false")); AddType (new SimpleGen ("uint1", "bool", "false")); AddType (new SimpleGen ("gint8", "sbyte", "0")); AddType (new SimpleGen ("guint8", "byte", "0")); AddType (new SimpleGen ("gint16", "short", "0")); AddType (new SimpleGen ("guint16", "ushort", "0")); AddType (new SimpleGen ("gint32", "int", "0")); AddType (new SimpleGen ("guint32", "uint", "0")); AddType (new SimpleGen ("gint64", "long", "0")); AddType (new SimpleGen ("guint64", "ulong", "0")); AddType (new SimpleGen ("long long", "long", "0")); AddType (new SimpleGen ("gfloat", "float", "0.0")); AddType (new SimpleGen ("float", "float", "0.0")); AddType (new SimpleGen ("gdouble", "double", "0.0")); AddType (new SimpleGen ("double", "double", "0.0")); AddType (new SimpleGen ("goffset", "long", "0")); AddType (new SimpleGen ("GQuark", "int", "0")); // platform specific integer types. #if WIN64LONGS AddType (new SimpleGen ("long", "int", "0")); AddType (new SimpleGen ("glong", "int", "0")); AddType (new SimpleGen ("ulong", "uint", "0")); AddType (new SimpleGen ("gulong", "uint", "0")); AddType (new SimpleGen ("unsigned long", "uint", "0")); #else AddType (new LPGen ("long")); AddType (new LPGen ("glong")); AddType (new LPUGen ("ulong")); AddType (new LPUGen ("gulong")); AddType (new LPUGen ("unsigned long")); #endif AddType (new LPGen ("ssize_t")); AddType (new LPGen ("gssize")); AddType (new LPUGen ("size_t")); AddType (new LPUGen ("gsize")); #if OFF_T_8 AddType (new AliasGen ("off_t", "long")); #else AddType (new LPGen ("off_t")); #endif // string types AddType (new ConstStringGen ("const-gchar")); AddType (new ConstStringGen ("const-xmlChar")); AddType (new ConstStringGen ("const-char")); AddType (new ConstFilenameGen ("const-gfilename")); AddType (new MarshalGen ("gfilename", "string", "IntPtr", "GLib.Marshaller.StringToFilenamePtr({0})", "GLib.Marshaller.FilenamePtrToStringGFree({0})")); AddType (new MarshalGen ("gchar", "string", "IntPtr", "GLib.Marshaller.StringToPtrGStrdup({0})", "GLib.Marshaller.PtrToStringGFree({0})")); AddType (new MarshalGen ("char", "string", "IntPtr", "GLib.Marshaller.StringToPtrGStrdup({0})", "GLib.Marshaller.PtrToStringGFree({0})")); AddType (new SimpleGen ("GStrv", "string[]", "null")); // manually wrapped types requiring more complex marshaling AddType (new ManualGen ("GInitiallyUnowned", "GLib.InitiallyUnowned", "GLib.Object.GetObject ({0})")); AddType (new ManualGen ("GObject", "GLib.Object", "GLib.Object.GetObject ({0})")); AddType (new ManualGen ("GList", "GLib.List")); AddType (new ManualGen ("GPtrArray", "GLib.PtrArray")); AddType (new ManualGen ("GSList", "GLib.SList")); AddType (new MarshalGen ("gunichar", "char", "uint", "GLib.Marshaller.CharToGUnichar ({0})", "GLib.Marshaller.GUnicharToChar ({0})")); AddType (new MarshalGen ("time_t", "System.DateTime", "IntPtr", "GLib.Marshaller.DateTimeTotime_t ({0})", "GLib.Marshaller.time_tToDateTime ({0})")); AddType (new MarshalGen ("GString", "string", "IntPtr", "new GLib.GString ({0}).Handle", "GLib.GString.PtrToString ({0})")); AddType (new MarshalGen ("GType", "GLib.GType", "IntPtr", "{0}.Val", "new GLib.GType({0})", "GLib.GType.None")); AddType (new ByRefGen ("GValue", "GLib.Value")); AddType (new SimpleGen ("GDestroyNotify", "GLib.DestroyNotify", "null")); // FIXME: These ought to be handled properly. AddType (new SimpleGen ("GC", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GError", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GMemChunk", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GTimeVal", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GClosure", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GArray", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GByteArray", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GData", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GIOChannel", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GTypeModule", "GLib.Object", "null")); AddType (new SimpleGen ("GHashTable", "System.IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("va_list", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GParamSpec", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("gconstpointer", "IntPtr", "IntPtr.Zero")); } public void AddType (IGeneratable gen) { types [gen.CName] = gen; } public void AddTypes (IGeneratable[] gens) { foreach (IGeneratable gen in gens) types [gen.CName] = gen; } public int Count { get { return types.Count; } } public IEnumerable Generatables { get { return types.Values; } } public IGeneratable this [string ctype] { get { return DeAlias (ctype) as IGeneratable; } } private bool IsConstString (string type) { switch (type) { case "const-gchar": case "const-char": case "const-xmlChar": case "const-gfilename": return true; default: return false; } } private string Trim(string type) { // HACK: If we don't detect this here, there is no // way of indicating it in the symbol table if (type == "void*" || type == "const-void*") return "gpointer"; string trim_type = type.TrimEnd('*'); if (IsConstString (trim_type)) return trim_type; if (trim_type.StartsWith("const-")) return trim_type.Substring(6); return trim_type; } private object DeAlias (string type) { type = Trim (type); while (types [type] is AliasGen) { IGeneratable igen = types [type] as AliasGen; types [type] = types [igen.Name]; type = igen.Name; } return types [type]; } public string FromNativeReturn(string c_type, string val) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.FromNativeReturn (val); } public string ToNativeReturn(string c_type, string val) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.ToNativeReturn (val); } public string FromNative(string c_type, string val) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.FromNative (val); } public string GetCSType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.QualifiedName; } public string GetName(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.Name; } public string GetMarshalReturnType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.MarshalReturnType; } public string GetToNativeReturnType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.ToNativeReturnType; } public string GetMarshalType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.MarshalType; } public string CallByName(string c_type, string var_name) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.CallByName(var_name); } public bool IsOpaque(string c_type) { if (this[c_type] is OpaqueGen) return true; return false; } public bool IsBoxed(string c_type) { if (this[c_type] is BoxedGen) return true; return false; } public bool IsStruct(string c_type) { if (this[c_type] is StructGen) return true; return false; } public bool IsEnum(string c_type) { if (this[c_type] is EnumGen) return true; return false; } public bool IsEnumFlags(string c_type) { EnumGen gen = this [c_type] as EnumGen; return (gen != null && gen.Elem.GetAttribute ("type") == "flags"); } public bool IsInterface(string c_type) { if (this[c_type] is InterfaceGen) return true; return false; } public ClassBase GetClassGen(string c_type) { return this[c_type] as ClassBase; } public bool IsObject(string c_type) { if (this[c_type] is ObjectGen) return true; return false; } public bool IsCallback(string c_type) { if (this[c_type] is CallbackGen) return true; return false; } public bool IsManuallyWrapped(string c_type) { if (this[c_type] is ManualGen) return true; return false; } public string MangleName(string name) { switch (name) { case "string": return "str1ng"; case "event": return "evnt"; case "null": return "is_null"; case "object": return "objekt"; case "params": return "parms"; case "ref": return "reference"; case "in": return "in_param"; case "out": return "out_param"; case "fixed": return "mfixed"; case "byte": return "_byte"; case "new": return "_new"; case "base": return "_base"; case "lock": return "_lock"; case "callback": return "cb"; case "readonly": return "read_only"; case "interface": return "iface"; case "internal": return "_internal"; case "where": return "wh3r3"; case "foreach": return "for_each"; case "remove": return "_remove"; default: break; } return name; } } } clutter-sharp-1.0.0alpha3/gapi/generator/StructGen.cs0000644000175000017500000000324111506367775024322 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.StructGen.cs - The Structure Generatable. // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class StructGen : StructBase { public StructGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); base.Generate (gen_info); if (GetMethod ("GetType") == null && GetMethod ("GetGType") == null) { sw.WriteLine ("\t\tprivate static GLib.GType GType {"); sw.WriteLine ("\t\t\tget { return GLib.GType.Pointer; }"); sw.WriteLine ("\t\t}"); } sw.WriteLine ("#endregion"); AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.StructCount++; } } } clutter-sharp-1.0.0alpha3/gapi/generator/ReturnValue.cs0000644000175000017500000001113411506367775024660 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ReturnValue.cs - The ReturnValue Generatable. // // Author: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public class ReturnValue { bool is_null_term; bool is_array; bool elements_owned; bool owned; string ctype = String.Empty; string element_ctype = String.Empty; public ReturnValue (XmlElement elem) { if (elem != null) { is_null_term = elem.HasAttribute ("null_term_array"); is_array = elem.HasAttribute ("array"); elements_owned = elem.GetAttribute ("elements_owned") == "true"; owned = elem.GetAttribute ("owned") == "true"; ctype = elem.GetAttribute("type"); element_ctype = elem.GetAttribute ("element_type"); } } public string CType { get { return ctype; } } public string CSType { get { if (IGen == null) return String.Empty; if (ElementType != String.Empty) return ElementType + "[]"; return IGen.QualifiedName + (is_array || is_null_term ? "[]" : String.Empty); } } public string DefaultValue { get { if (IGen == null) return String.Empty; return IGen.DefaultValue; } } string ElementType { get { if (element_ctype.Length > 0) return SymbolTable.Table.GetCSType (element_ctype); return String.Empty; } } IGeneratable igen; public IGeneratable IGen { get { if (igen == null) igen = SymbolTable.Table [CType]; return igen; } } public bool IsVoid { get { return CSType == "void"; } } public string MarshalType { get { if (IGen == null) return String.Empty; else if (is_null_term) return "IntPtr"; return IGen.MarshalReturnType + (is_array ? "[]" : String.Empty); } } public string ToNativeType { get { if (IGen == null) return String.Empty; return IGen.ToNativeReturnType + (is_array || is_null_term ? "[]" : String.Empty); } } public string FromNative (string var) { if (IGen == null) return String.Empty; if (ElementType != String.Empty) { string args = (owned ? "true" : "false") + ", " + (elements_owned ? "true" : "false"); if (IGen.QualifiedName == "GLib.PtrArray") return String.Format ("({0}[]) GLib.Marshaller.PtrArrayToArray ({1}, {2}, typeof({0}))", ElementType, var, args); else return String.Format ("({0}[]) GLib.Marshaller.ListPtrToArray ({1}, typeof({2}), {3}, typeof({4}))", ElementType, var, IGen.QualifiedName, args, element_ctype == "gfilename*" ? "GLib.ListBase.FilenameString" : ElementType); } else if (IGen is HandleBase) return ((HandleBase)IGen).FromNative (var, owned); else if (is_null_term) return String.Format ("GLib.Marshaller.NullTermPtrToStringArray ({0}, {1})", var, owned ? "true" : "false"); else return IGen.FromNativeReturn (var); } public string ToNative (string var) { if (IGen == null) return String.Empty; if (ElementType.Length > 0) { string args = ", typeof (" + ElementType + "), " + (owned ? "true" : "false") + ", " + (elements_owned ? "true" : "false"); var = "new " + IGen.QualifiedName + "(" + var + args + ")"; } else if (is_null_term) return String.Format ("GLib.Marshaller.StringArrayToNullTermPointer ({0})", var); if (IGen is IManualMarshaler) return (IGen as IManualMarshaler).AllocNative (var); else if (IGen is ObjectGen && owned) return var + " == null ? IntPtr.Zero : " + var + ".OwnedHandle"; else if (IGen is OpaqueGen && owned) return var + " == null ? IntPtr.Zero : " + var + ".OwnedCopy"; else return IGen.ToNativeReturn (var); } public bool Validate () { if (MarshalType == "" || CSType == "") { Console.Write("rettype: " + CType); return false; } return true; } } } clutter-sharp-1.0.0alpha3/gapi/generator/ClassField.cs0000644000175000017500000000250011506367775024412 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ClassField.cs - used in class structures // // Copyright (c) 2009 Christian Hoff // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class ClassField : StructField { protected new ObjectBase container_type; public ClassField (XmlElement elem, ObjectBase container_type) : base (elem, container_type) { this.container_type = container_type; } public override bool Validate () { if (IsBitfield) { Console.WriteLine ("Field {0}.{1} is a bitfield which is not supported yet", container_type.ClassStructName, Name); return false; } return base.Validate (); } } } clutter-sharp-1.0.0alpha3/gapi/generator/ConstFilenameGen.cs0000644000175000017500000000274211506367775025572 0ustar00hyperairhyperair00000000000000// ConstFilenameGen.cs - The Const Filename type Generatable. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ConstFilenameGen : SimpleBase, IManualMarshaler { public ConstFilenameGen (string ctype) : base (ctype, "string", "null") {} public override string MarshalType { get { return "IntPtr"; } } public override string FromNative (string var) { return "GLib.Marshaller.FilenamePtrToString (" + var + ")"; } public string AllocNative (string managed_var) { return "GLib.Marshaller.StringToFilenamePtr (" + managed_var + ")"; } public string ReleaseNative (string native_var) { return "GLib.Marshaller.Free (" + native_var + ")"; } } } clutter-sharp-1.0.0alpha3/gapi/generator/IGeneratable.cs0000644000175000017500000000452211506367775024731 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.IGeneratable.cs - Interface to generate code for a type. // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { public interface IGeneratable { // The C name of the generatable string CName {get;} // The (short) C# name of the generatable string Name {get;} // The fully-qualified C# name of the generatable string QualifiedName {get;} // The type (possibly including "ref" or "out") to use in the import // signature when passing this generatable to unmanaged code string MarshalType {get;} // The type to use as the return type in an import signature when // receiving this generatable back from unmanaged code string MarshalReturnType {get;} // The type to use in a managed callback signature when returning this // generatable to unmanaged code string ToNativeReturnType {get;} // The value returned by callbacks that are interrupted prematurely // by managed exceptions or other conditions where an appropriate // value can't be otherwise obtained. string DefaultValue {get;} // Generates an expression to convert var_name to MarshalType string CallByName (string var_name); // Generates an expression to convert var from MarshalType string FromNative (string var); // Generates an expression to convert var from MarshalReturnType string FromNativeReturn (string var); // Generates an expression to convert var to ToNativeReturnType string ToNativeReturn (string var); bool Validate (); void Generate (); void Generate (GenerationInfo gen_info); } } clutter-sharp-1.0.0alpha3/gapi/generator/IAccessor.cs0000644000175000017500000000171011506367775024256 0ustar00hyperairhyperair00000000000000// IAccessor.cs - Interface to generate property accessors. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { public interface IAccessor { void WriteAccessors (System.IO.StreamWriter sw, string indentation, string field_name); } } clutter-sharp-1.0.0alpha3/gapi/generator/ManualGen.cs0000644000175000017500000000311511506367775024253 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ManualGen.cs - Ungenerated handle type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ManualGen : SimpleBase { string from_fmt; public ManualGen (string ctype, string type) : base (ctype, type, "null") { from_fmt = "new " + QualifiedName + "({0})"; } public ManualGen (string ctype, string type, string from_fmt) : base (ctype, type, "null") { this.from_fmt = from_fmt; } public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string var_name) { return var_name + " == null ? IntPtr.Zero : " + var_name + ".Handle"; } public override string FromNative(string var) { return String.Format (from_fmt, var); } } } clutter-sharp-1.0.0alpha3/gapi/generator/Signal.cs0000644000175000017500000002611611506367775023627 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.Signal.cs - The Signal Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2005 Novell, Inc. // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Signal { bool marshaled; string name; XmlElement elem; ReturnValue retval; Parameters parms; ObjectBase container_type; public Signal (XmlElement elem, ObjectBase container_type) { this.elem = elem; name = elem.GetAttribute ("name"); marshaled = elem.GetAttribute ("manual") == "true"; retval = new ReturnValue (elem ["return-type"]); parms = new Parameters (elem["parameters"], container_type.ParserVersion == 1 ? true : false); this.container_type = container_type; } bool Marshaled { get { return marshaled; } } public string Name { get { return name; } set { name = value; } } public bool Validate () { if (Name == "") { Console.Write ("Nameless signal "); Statistics.ThrottledCount++; return false; } if (!parms.Validate () || !retval.Validate ()) { Console.Write (" in signal " + Name + " "); Statistics.ThrottledCount++; return false; } return true; } public void GenerateDecl (StreamWriter sw) { if (elem.HasAttribute("new_flag") || (container_type != null && container_type.GetSignalRecursively (Name) != null)) sw.Write("new "); sw.WriteLine ("\t\tevent " + EventHandlerQualifiedName + " " + Name + ";"); } public string CName { get { return "\"" + elem.GetAttribute("cname") + "\""; } } string CallbackSig { get { string result = ""; for (int i = 0; i < parms.Count; i++) { if (i > 0) result += ", "; Parameter p = parms [i]; if (p.PassAs != "" && !(p.Generatable is StructBase)) result += p.PassAs + " "; result += (p.MarshalType + " arg" + i); } return result; } } string CallbackName { get { return Name + "SignalCallback"; } } string DelegateName { get { return Name + "SignalDelegate"; } } private string EventArgsName { get { if (IsEventHandler) return "EventArgs"; else return Name + "Args"; } } private string EventArgsQualifiedName { get { if (IsEventHandler) return "System.EventArgs"; else return container_type.NS + "." + Name + "Args"; } } private string EventHandlerName { get { if (IsEventHandler) return "EventHandler"; else if (SymbolTable.Table [container_type.NS + Name + "Handler"] != null) return Name + "EventHandler"; else return Name + "Handler"; } } private string EventHandlerQualifiedName { get { if (IsEventHandler) return "System.EventHandler"; else return container_type.NS + "." + EventHandlerName; } } private bool IsEventHandler { get { return retval.CSType == "void" && parms.Count == 0; } } public string GenArgsInitialization (StreamWriter sw) { if (parms.Count > 0) sw.WriteLine("\t\t\t\targs.Args = new object[" + parms.Count + "];"); string finish = ""; for (int idx = 0; idx < parms.Count; idx++) { Parameter p = parms [idx]; IGeneratable igen = p.Generatable; if (p.PassAs != "out") { if (igen is ManualGen) { sw.WriteLine("\t\t\t\tif (arg{0} == IntPtr.Zero)", idx); sw.WriteLine("\t\t\t\t\targs.Args[{0}] = null;", idx); sw.WriteLine("\t\t\t\telse {"); sw.WriteLine("\t\t\t\t\targs.Args[" + idx + "] = " + p.FromNative ("arg" + idx) + ";"); sw.WriteLine("\t\t\t\t}"); } else sw.WriteLine("\t\t\t\targs.Args[" + idx + "] = " + p.FromNative ("arg" + idx) + ";"); } if (igen is StructBase && p.PassAs == "ref") finish += "\t\t\t\tif (arg" + idx + " != IntPtr.Zero) System.Runtime.InteropServices.Marshal.StructureToPtr (args.Args[" + idx + "], arg" + idx + ", false);\n"; else if (p.PassAs != "") finish += "\t\t\t\targ" + idx + " = " + igen.ToNativeReturn ("((" + p.CSType + ")args.Args[" + idx + "])") + ";\n"; } return finish; } public void GenArgsCleanup (StreamWriter sw, string finish) { if (retval.IsVoid && finish.Length == 0) return; sw.WriteLine("\n\t\t\ttry {"); sw.Write (finish); if (!retval.IsVoid) { if (retval.CSType == "bool") { sw.WriteLine ("\t\t\t\tif (args.RetVal == null)"); sw.WriteLine ("\t\t\t\t\treturn false;"); } sw.WriteLine("\t\t\t\treturn " + SymbolTable.Table.ToNativeReturn (retval.CType, "((" + retval.CSType + ")args.RetVal)") + ";"); } sw.WriteLine("\t\t\t} catch (Exception) {"); sw.WriteLine ("\t\t\t\tException ex = new Exception (\"args.RetVal or 'out' property unset or set to incorrect type in " + EventHandlerQualifiedName + " callback\");"); sw.WriteLine("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (ex, true);"); sw.WriteLine ("\t\t\t\t// NOTREACHED: above call doesn't return."); sw.WriteLine ("\t\t\t\tthrow ex;"); sw.WriteLine("\t\t\t}"); } public void GenCallback (StreamWriter sw) { if (IsEventHandler) return; string native_signature = "IntPtr inst"; if (parms.Count > 0) native_signature += ", " + CallbackSig; native_signature += ", IntPtr gch"; sw.WriteLine ("\t\t[GLib.CDeclCallback]"); sw.WriteLine ("\t\tdelegate {0} {1} ({2});", retval.ToNativeType, DelegateName, native_signature); sw.WriteLine (); sw.WriteLine ("\t\tstatic {0} {1} ({2})", retval.ToNativeType, CallbackName, native_signature); sw.WriteLine("\t\t{"); sw.WriteLine("\t\t\t{0} args = new {0} ();", EventArgsQualifiedName); sw.WriteLine("\t\t\ttry {"); sw.WriteLine("\t\t\t\tGLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal;"); sw.WriteLine("\t\t\t\tif (sig == null)"); sw.WriteLine("\t\t\t\t\tthrow new Exception(\"Unknown signal GC handle received \" + gch);"); sw.WriteLine(); string finish = GenArgsInitialization (sw); sw.WriteLine("\t\t\t\t{0} handler = ({0}) sig.Handler;", EventHandlerQualifiedName); sw.WriteLine("\t\t\t\thandler (GLib.Object.GetObject (inst), args);"); sw.WriteLine("\t\t\t} catch (Exception e) {"); sw.WriteLine("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, false);"); sw.WriteLine("\t\t\t}"); GenArgsCleanup (sw, finish); sw.WriteLine("\t\t}"); sw.WriteLine(); } private bool NeedNew (ObjectBase implementor) { return elem.HasAttribute ("new_flag") || (container_type != null && container_type.GetSignalRecursively (Name) != null) || (implementor != null && implementor.GetSignalRecursively (Name) != null); } public void GenEventHandler (GenerationInfo gen_info) { if (IsEventHandler) return; string ns = container_type.NS; StreamWriter sw = gen_info.OpenStream (EventHandlerName); sw.WriteLine ("namespace " + ns + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine (); sw.WriteLine ("\tpublic delegate void " + EventHandlerName + "(object o, " + EventArgsName + " args);"); sw.WriteLine (); sw.WriteLine ("\tpublic class " + EventArgsName + " : GLib.SignalArgs {"); for (int i = 0; i < parms.Count; i++) { sw.WriteLine ("\t\tpublic " + parms[i].CSType + " " + parms[i].StudlyName + "{"); if (parms[i].PassAs != "out") { sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn (" + parms[i].CSType + ") Args[" + i + "];"); sw.WriteLine ("\t\t\t}"); } if (parms[i].PassAs != "") { sw.WriteLine ("\t\t\tset {"); sw.WriteLine ("\t\t\t\tArgs[" + i + "] = (" + parms[i].CSType + ")value;"); sw.WriteLine ("\t\t\t}"); } sw.WriteLine ("\t\t}"); sw.WriteLine (); } sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); } public void GenEvent (StreamWriter sw, ObjectBase implementor, string target) { string args_type = IsEventHandler ? "" : ", typeof (" + EventArgsQualifiedName + ")"; if (Marshaled) { GenCallback (sw); args_type = ", new " + DelegateName + "(" + CallbackName + ")"; } sw.WriteLine("\t\t[GLib.Signal("+ CName + ")]"); sw.Write("\t\tpublic "); if (NeedNew (implementor)) sw.Write("new "); sw.WriteLine("event " + EventHandlerQualifiedName + " " + Name + " {"); sw.WriteLine("\t\t\tadd {"); sw.WriteLine("\t\t\t\tGLib.Signal sig = GLib.Signal.Lookup (" + target + ", " + CName + args_type + ");"); sw.WriteLine("\t\t\t\tsig.AddDelegate (value);"); sw.WriteLine("\t\t\t}"); sw.WriteLine("\t\t\tremove {"); sw.WriteLine("\t\t\t\tGLib.Signal sig = GLib.Signal.Lookup (" + target + ", " + CName + args_type + ");"); sw.WriteLine("\t\t\t\tsig.RemoveDelegate (value);"); sw.WriteLine("\t\t\t}"); sw.WriteLine("\t\t}"); sw.WriteLine(); } public void Generate (GenerationInfo gen_info, ObjectBase implementor) { StreamWriter sw = gen_info.Writer; if (implementor == null) GenEventHandler (gen_info); GenEvent (sw, implementor, "this"); Statistics.SignalCount++; } } } clutter-sharp-1.0.0alpha3/gapi/generator/MethodBase.cs0000644000175000017500000000766011506367775024430 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.MethodBase.cs - function element base class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public abstract class MethodBase { protected XmlElement elem; protected ClassBase container_type; protected Parameters parms; string mods = String.Empty; string name; private string protection = "public"; protected MethodBase (XmlElement elem, ClassBase container_type) { this.elem = elem; this.container_type = container_type; this.name = elem.GetAttribute ("name"); parms = new Parameters (elem ["parameters"]); IsStatic = elem.GetAttribute ("shared") == "true"; if (elem.HasAttribute ("new_flag")) mods = "new "; if (elem.HasAttribute ("accessibility")) { string attr = elem.GetAttribute ("accessibility"); switch (attr) { case "public": case "protected": case "internal": case "private": case "protected internal": protection = attr; break; } } } protected string BaseName { get { string name = Name; int idx = Name.LastIndexOf ("."); if (idx > 0) name = Name.Substring (idx + 1); return name; } } MethodBody body; public MethodBody Body { get { if (body == null) body = new MethodBody (parms); return body; } } public virtual string CName { get { return SymbolTable.Table.MangleName (elem.GetAttribute ("cname")); } } protected bool HasGetterName { get { string name = BaseName; if (name.Length <= 3) return false; if (name.StartsWith ("Get") || name.StartsWith ("Has")) return Char.IsUpper (name [3]); else if (name.StartsWith ("Is")) return Char.IsUpper (name [2]); else return false; } } protected bool HasSetterName { get { string name = BaseName; if (name.Length <= 3) return false; return name.StartsWith ("Set") && Char.IsUpper (name [3]); } } public bool IsStatic { get { return parms.Static; } set { parms.Static = value; } } public string LibraryName { get { if (elem.HasAttribute ("library")) return elem.GetAttribute ("library"); return container_type.LibraryName; } } public string Modifiers { get { return mods; } set { mods = value; } } public string Name { get { return name; } set { name = value; } } public Parameters Parameters { get { return parms; } } public string Protection { get { return protection; } set { protection = value; } } protected string Safety { get { return Body.ThrowsException && !(container_type is InterfaceGen) ? "unsafe " : ""; } } Signature sig; public Signature Signature { get { if (sig == null) sig = new Signature (parms); return sig; } } public virtual bool Validate () { if (!parms.Validate ()) { Console.Write("in " + CName + " "); Statistics.ThrottledCount++; return false; } return true; } } } clutter-sharp-1.0.0alpha3/gapi/generator/ClassBase.cs0000644000175000017500000002304611506367775024251 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ClassBase.cs - Common code between object // and interface wrappers // // Authors: Rachel Hestilow // Mike Kestner // // Copyright (c) 2002 Rachel Hestilow // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public abstract class ClassBase : GenBase { protected Hashtable props = new Hashtable(); protected Hashtable fields = new Hashtable(); protected Hashtable methods = new Hashtable(); protected ArrayList interfaces = new ArrayList(); protected ArrayList managed_interfaces = new ArrayList(); protected ArrayList ctors = new ArrayList(); private bool ctors_initted = false; private Hashtable clash_map; private bool deprecated = false; private bool isabstract = false; public Hashtable Methods { get { return methods; } } public ClassBase Parent { get { string parent = Elem.GetAttribute("parent"); if (parent == "") return null; else return SymbolTable.Table.GetClassGen(parent); } } protected ClassBase (XmlElement ns, XmlElement elem) : base (ns, elem) { if (elem.HasAttribute ("deprecated")) { string attr = elem.GetAttribute ("deprecated"); deprecated = attr == "1" || attr == "true"; } if (elem.HasAttribute ("abstract")) { string attr = elem.GetAttribute ("abstract"); isabstract = attr == "1" || attr == "true"; } foreach (XmlNode node in elem.ChildNodes) { if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; if (member.HasAttribute ("hidden")) continue; string name; switch (node.Name) { case "method": name = member.GetAttribute("name"); while (methods.ContainsKey(name)) name += "mangled"; methods.Add (name, new Method (member, this)); break; case "property": name = member.GetAttribute("name"); while (props.ContainsKey(name)) name += "mangled"; props.Add (name, new Property (member, this)); break; case "field": name = member.GetAttribute("name"); while (fields.ContainsKey (name)) name += "mangled"; fields.Add (name, new ObjectField (member, this)); break; case "implements": ParseImplements (member); break; case "constructor": ctors.Add (new Ctor (member, this)); break; default: break; } } } public override bool Validate () { foreach (string iface in interfaces) { InterfaceGen igen = SymbolTable.Table[iface] as InterfaceGen; if (igen == null) { Console.WriteLine (QualifiedName + " implements unknown GInterface " + iface); return false; } if (!igen.ValidateForSubclass ()) { Console.WriteLine (QualifiedName + " implements invalid GInterface " + iface); return false; } } ArrayList invalids = new ArrayList (); foreach (Property prop in props.Values) { if (!prop.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (prop); } } foreach (Property prop in invalids) props.Remove (prop.Name); invalids.Clear (); foreach (ObjectField field in fields.Values) { if (!field.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (field); } } foreach (ObjectField field in invalids) fields.Remove (field.Name); invalids.Clear (); foreach (Method method in methods.Values) { if (!method.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (method); } } foreach (Method method in invalids) methods.Remove (method.Name); invalids.Clear (); foreach (Ctor ctor in ctors) { if (!ctor.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (ctor); } } foreach (Ctor ctor in invalids) ctors.Remove (ctor); invalids.Clear (); return true; } public bool IsDeprecated { get { return deprecated; } } public bool IsAbstract { get { return isabstract; } } public abstract string AssignToName { get; } public abstract string CallByName (); public override string DefaultValue { get { return "null"; } } protected virtual bool IsNodeNameHandled (string name) { switch (name) { case "method": case "property": case "field": case "signal": case "implements": case "constructor": case "disabledefaultconstructor": return true; default: return false; } } public void GenProperties (GenerationInfo gen_info, ClassBase implementor) { if (props.Count == 0) return; foreach (Property prop in props.Values) prop.Generate (gen_info, "\t\t", implementor); } protected void GenFields (GenerationInfo gen_info) { foreach (ObjectField field in fields.Values) field.Generate (gen_info, "\t\t"); } private void ParseImplements (XmlElement member) { foreach (XmlNode node in member.ChildNodes) { if (node.Name != "interface") continue; XmlElement element = (XmlElement) node; if (element.HasAttribute ("hidden")) continue; if (element.HasAttribute ("cname")) interfaces.Add (element.GetAttribute ("cname")); else if (element.HasAttribute ("name")) managed_interfaces.Add (element.GetAttribute ("name")); } } protected bool IgnoreMethod (Method method, ClassBase implementor) { if (implementor != null && implementor.QualifiedName != this.QualifiedName && method.IsStatic) return true; string mname = method.Name; return ((method.IsSetter || (method.IsGetter && mname.StartsWith("Get"))) && ((props != null) && props.ContainsKey(mname.Substring(3)) || (fields != null) && fields.ContainsKey(mname.Substring(3)))); } public void GenMethods (GenerationInfo gen_info, Hashtable collisions, ClassBase implementor) { if (methods == null) return; foreach (Method method in methods.Values) { if (IgnoreMethod (method, implementor)) continue; string oname = null, oprotection = null; if (collisions != null && collisions.Contains (method.Name)) { oname = method.Name; oprotection = method.Protection; method.Name = QualifiedName + "." + method.Name; method.Protection = ""; } method.Generate (gen_info, implementor); if (oname != null) { method.Name = oname; method.Protection = oprotection; } } } public Method GetMethod (string name) { return (Method) methods[name]; } public Property GetProperty (string name) { return (Property) props[name]; } public Method GetMethodRecursively (string name) { return GetMethodRecursively (name, false); } public virtual Method GetMethodRecursively (string name, bool check_self) { Method p = null; if (check_self) p = GetMethod (name); if (p == null && Parent != null) p = Parent.GetMethodRecursively (name, true); if (check_self && p == null) { foreach (string iface in interfaces) { ClassBase igen = SymbolTable.Table.GetClassGen (iface); if (igen == null) continue; p = igen.GetMethodRecursively (name, true); if (p != null) break; } } return p; } public virtual Property GetPropertyRecursively (string name) { ClassBase klass = this; Property p = null; while (klass != null && p == null) { p = (Property) klass.GetProperty (name); klass = klass.Parent; } return p; } public bool Implements (string iface) { if (interfaces.Contains (iface)) return true; else if (Parent != null) return Parent.Implements (iface); else return false; } public ArrayList Ctors { get { return ctors; } } bool HasStaticCtor (string name) { if (Parent != null && Parent.HasStaticCtor (name)) return true; foreach (Ctor ctor in Ctors) if (ctor.StaticName == name) return true; return false; } private void InitializeCtors () { if (ctors_initted) return; if (Parent != null) Parent.InitializeCtors (); ArrayList valid_ctors = new ArrayList(); clash_map = new Hashtable(); foreach (Ctor ctor in ctors) { if (clash_map.Contains (ctor.Signature.Types)) { Ctor clash = clash_map [ctor.Signature.Types] as Ctor; Ctor alter = ctor.Preferred ? clash : ctor; alter.IsStatic = true; if (Parent != null && Parent.HasStaticCtor (alter.StaticName)) alter.Modifiers = "new "; } else clash_map [ctor.Signature.Types] = ctor; valid_ctors.Add (ctor); } ctors = valid_ctors; ctors_initted = true; } protected virtual void GenCtors (GenerationInfo gen_info) { InitializeCtors (); foreach (Ctor ctor in ctors) ctor.Generate (gen_info); } public virtual void Finish (StreamWriter sw, string indent) { } public virtual void Prepare (StreamWriter sw, string indent) { } } } clutter-sharp-1.0.0alpha3/gapi/generator/Parser.cs0000644000175000017500000001266411506367775023651 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.Parser.cs - The XML Parsing engine. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003 Ximian Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Parser { const int curr_parser_version = 2; private XmlDocument Load (string filename) { XmlDocument doc = new XmlDocument (); try { Stream stream = File.OpenRead (filename); doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid XML file."); Console.WriteLine (e); doc = null; } return doc; } public IGeneratable[] Parse (string filename) { XmlDocument doc = Load (filename); if (doc == null) return null; XmlElement root = doc.DocumentElement; if ((root == null) || !root.HasChildNodes) { Console.WriteLine ("No Namespaces found."); return null; } int parser_version; if (root.HasAttribute ("parser_version")) { try { parser_version = int.Parse (root.GetAttribute ("parser_version")); } catch { Console.WriteLine ("ERROR: Unable to parse parser_version attribute value \"{0}\" to a number. Input file {1} will be ignored", root.GetAttribute ("parser_version"), filename); return null; } } else parser_version = 1; if (parser_version > curr_parser_version) Console.WriteLine ("WARNING: The input file {0} was created by a parser that was released after this version of the generator. Consider updating the code generator if you experience problems.", filename); ArrayList gens = new ArrayList (); foreach (XmlNode child in root.ChildNodes) { XmlElement elem = child as XmlElement; if (elem == null) continue; switch (child.Name) { case "namespace": gens.AddRange (ParseNamespace (elem)); break; case "symbol": gens.Add (ParseSymbol (elem)); break; default: Console.WriteLine ("Parser::Parse - Unexpected child node: " + child.Name); break; } } return (IGeneratable[]) gens.ToArray (typeof (IGeneratable)); } private ArrayList ParseNamespace (XmlElement ns) { ArrayList result = new ArrayList (); foreach (XmlNode def in ns.ChildNodes) { XmlElement elem = def as XmlElement; if (elem == null) continue; if (elem.HasAttribute("hidden")) continue; bool is_opaque = false; if (elem.GetAttribute ("opaque") == "true" || elem.GetAttribute ("opaque") == "1") is_opaque = true; switch (def.Name) { case "alias": string aname = elem.GetAttribute("cname"); string atype = elem.GetAttribute("type"); if ((aname == "") || (atype == "")) continue; result.Add (new AliasGen (aname, atype)); break; case "boxed": result.Add (is_opaque ? new OpaqueGen (ns, elem) as object : new BoxedGen (ns, elem) as object); break; case "callback": result.Add (new CallbackGen (ns, elem)); break; case "enum": result.Add (new EnumGen (ns, elem)); break; case "interface": result.Add (new InterfaceGen (ns, elem)); break; case "object": result.Add (new ObjectGen (ns, elem)); break; case "class": result.Add (new ClassGen (ns, elem)); break; case "struct": result.Add (is_opaque ? new OpaqueGen (ns, elem) as object : new StructGen (ns, elem) as object); break; default: Console.WriteLine ("Parser::ParseNamespace - Unexpected node: " + def.Name); break; } } return result; } private IGeneratable ParseSymbol (XmlElement symbol) { string type = symbol.GetAttribute ("type"); string cname = symbol.GetAttribute ("cname"); string name = symbol.GetAttribute ("name"); IGeneratable result = null; if (type == "simple") { if (symbol.HasAttribute ("default_value")) result = new SimpleGen (cname, name, symbol.GetAttribute ("default_value")); else { Console.WriteLine ("Simple type element " + cname + " has no specified default value"); result = new SimpleGen (cname, name, String.Empty); } } else if (type == "manual") result = new ManualGen (cname, name); else if (type == "alias") result = new AliasGen (cname, name); else if (type == "marshal") { string mtype = symbol.GetAttribute ("marshal_type"); string call = symbol.GetAttribute ("call_fmt"); string from = symbol.GetAttribute ("from_fmt"); result = new MarshalGen (cname, name, mtype, call, from); } else Console.WriteLine ("Parser::ParseSymbol - Unexpected symbol type " + type); return result; } } } clutter-sharp-1.0.0alpha3/gapi/generator/InterfaceVM.cs0000644000175000017500000000563411506367775024557 0ustar00hyperairhyperair00000000000000 // GtkSharp.Generation.InterfaceVM.cs - interface-specific part of VM creation // // Author: Christian Hoff // // Copyright (c) 2009 Christian Hoff // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class InterfaceVM : VirtualMethod { private Method target; public InterfaceVM (XmlElement elem, Method target, ObjectBase container_type) : base (elem, container_type) { this.target = target; parms.HideData = true; this.Protection = "public"; } public bool IsGetter { get { return HasGetterName && ((!retval.IsVoid && parms.Count == 0) || (retval.IsVoid && parms.Count == 1 && parms [0].PassAs == "out")); } } public bool IsSetter { get { if (!HasSetterName || !retval.IsVoid) return false; if (parms.Count == 1 || (parms.Count == 3 && parms [0].Scope == "notified")) return true; else return false; } } protected override string CallString { get { if (IsGetter) return (target.Name.StartsWith ("Get") ? target.Name.Substring (3) : target.Name); else if (IsSetter) return target.Name.Substring (3) + " = " + call; else return target.Name + " (" + call + ")"; } } public void GenerateDeclaration (StreamWriter sw, InterfaceVM complement) { if (IsGetter) { string name = Name.StartsWith ("Get") ? Name.Substring (3) : Name; string type = retval.IsVoid ? parms [0].CSType : retval.CSType; if (complement != null && complement.parms [0].CSType == type) sw.WriteLine ("\t\t" + type + " " + name + " { get; set; }"); else { sw.WriteLine ("\t\t" + type + " " + name + " { get; }"); if (complement != null) sw.WriteLine ("\t\t" + complement.retval.CSType + " " + complement.Name + " (" + complement.Signature + ");"); } } else if (IsSetter) sw.WriteLine ("\t\t" + parms[0].CSType + " " + Name.Substring (3) + " { set; }"); else sw.WriteLine ("\t\t" + retval.CSType + " " + Name + " (" + Signature + ");"); } public override bool Validate () { if (target == null) { Console.WriteLine ("Virtual method {0}->{1} has no matching target to invoke", container_type.CName, CName); return false; } return base.Validate (); } } } clutter-sharp-1.0.0alpha3/gapi/generator/MethodBody.cs0000644000175000017500000001270111506367775024443 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.MethodBody.cs - The MethodBody Generation Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; public class MethodBody { Parameters parameters; public MethodBody (Parameters parms) { parameters = parms; } private string CastFromInt (string type) { return type != "int" ? "(" + type + ") " : ""; } public string GetCallString (bool is_set) { if (parameters.Count == 0) return String.Empty; string[] result = new string [parameters.Count]; for (int i = 0; i < parameters.Count; i++) { Parameter p = parameters [i]; IGeneratable igen = p.Generatable; bool is_prop = is_set && i == 0; if (i > 0 && parameters [i - 1].IsString && p.IsLength && p.PassAs == String.Empty) { string string_name = (i == 1 && is_set) ? "value" : parameters [i - 1].Name; result[i] = igen.CallByName (CastFromInt (p.CSType) + "System.Text.Encoding.UTF8.GetByteCount (" + string_name + ")"); continue; } if (is_prop) p.CallName = "value"; else p.CallName = p.Name; string call_parm = p.CallString; if (p.IsUserData && parameters.IsHidden (p) && !parameters.HideData && (i == 0 || parameters [i - 1].Scope != "notified")) { call_parm = "IntPtr.Zero"; } result [i] += call_parm; } return String.Join (", ", result); } public void Initialize (GenerationInfo gen_info) { Initialize (gen_info, false, false, String.Empty); } public void Initialize (GenerationInfo gen_info, bool is_get, bool is_set, string indent) { if (parameters.Count == 0) return; StreamWriter sw = gen_info.Writer; for (int i = 0; i < parameters.Count; i++) { Parameter p = parameters [i]; IGeneratable gen = p.Generatable; string name = p.Name; if (is_set) name = "value"; p.CallName = name; foreach (string prep in p.Prepare) sw.WriteLine (indent + "\t\t\t" + prep); if (gen is CallbackGen) { CallbackGen cbgen = gen as CallbackGen; string wrapper = cbgen.GenWrapper(gen_info); switch (p.Scope) { case "notified": sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); sw.WriteLine (indent + "\t\t\tIntPtr {0};", parameters [i + 1].Name); sw.WriteLine (indent + "\t\t\t{0} {1};", parameters [i + 2].CSType, parameters [i + 2].Name); sw.WriteLine (indent + "\t\t\tif ({0} == null) {{", name); sw.WriteLine (indent + "\t\t\t\t{0} = IntPtr.Zero;", parameters [i + 1].Name); sw.WriteLine (indent + "\t\t\t\t{0} = null;", parameters [i + 2].Name); sw.WriteLine (indent + "\t\t\t} else {"); sw.WriteLine (indent + "\t\t\t\t{0} = (IntPtr) GCHandle.Alloc ({1}_wrapper);", parameters [i + 1].Name, name); sw.WriteLine (indent + "\t\t\t\t{0} = GLib.DestroyHelper.NotifyHandler;", parameters [i + 2].Name, parameters [i + 2].CSType); sw.WriteLine (indent + "\t\t\t}"); break; case "async": sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); sw.WriteLine (indent + "\t\t\t{0}_wrapper.PersistUntilCalled ();", name); break; case "call": default: if (p.Scope == String.Empty) Console.WriteLine ("Defaulting " + gen.Name + " param to 'call' scope in method " + gen_info.CurrentMember); sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); break; } } } if (ThrowsException) sw.WriteLine (indent + "\t\t\tIntPtr error = IntPtr.Zero;"); } public void InitAccessor (StreamWriter sw, Signature sig, string indent) { sw.WriteLine (indent + "\t\t\t" + sig.AccessorType + " " + sig.AccessorName + ";"); } public void Finish (StreamWriter sw, string indent) { foreach (Parameter p in parameters) foreach (string s in p.Finish) sw.WriteLine(indent + "\t\t\t" + s); } public void FinishAccessor (StreamWriter sw, Signature sig, string indent) { sw.WriteLine (indent + "\t\t\treturn " + sig.AccessorName + ";"); } public void HandleException (StreamWriter sw, string indent) { if (!ThrowsException) return; sw.WriteLine (indent + "\t\t\tif (error != IntPtr.Zero) throw new GLib.GException (error);"); } public bool ThrowsException { get { int idx = parameters.Count - 1; while (idx >= 0) { if (parameters [idx].IsUserData) idx--; else if (parameters [idx].CType == "GError**") return true; else break; } return false; } } } } clutter-sharp-1.0.0alpha3/gapi/generator/ChildProperty.cs0000644000175000017500000000264411506367775025202 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ChildProperty.cs - GtkContainer child properties // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class ChildProperty : Property { public ChildProperty (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} protected override string PropertyAttribute (string qpname) { return "[Gtk.ChildProperty (" + qpname + ")]"; } protected override string RawGetter (string qpname) { return "parent.ChildGetProperty (child, " + qpname + ")"; } protected override string RawSetter (string qpname) { return "parent.ChildSetProperty(child, " + qpname + ", val)"; } } } clutter-sharp-1.0.0alpha3/gapi/generator/StructField.cs0000644000175000017500000001022111506367775024630 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.StructField.cs - The Structure Field generation // Class. // // Author: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class StructField : FieldBase { public static int bitfields; public StructField (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} protected override string DefaultAccess { get { if (IsPadding) return "private"; return "public"; } } int ArrayLength { get { if (!IsArray) return 0; int result; try { result = Int32.Parse (elem.GetAttribute("array_len")); } catch (Exception) { Console.Write ("Non-numeric array_len: " + elem.GetAttribute("array_len")); Console.WriteLine (" warning: array field {0} incorrectly generated", Name); result = 0; } return result; } } public new string CSType { get { string type = base.CSType; if (IsArray) type += "[]"; else if ((IsPointer || SymbolTable.Table.IsOpaque (CType)) && type != "string") type = "IntPtr"; return type; } } bool IsPadding { get { return (CName.StartsWith ("dummy") || CName.StartsWith ("padding")); } } public bool IsPointer { get { return (CType.EndsWith ("*") || CType.EndsWith ("pointer")); } } public new string Name { get { string result = ""; if ((IsPointer || SymbolTable.Table.IsOpaque (CType)) && CSType != "string") result = "_"; result += SymbolTable.Table.MangleName (CName); return result; } } string StudlyName { get { string studly = base.Name; if (studly == "") throw new Exception ("API file must be regenerated with a current version of the GAPI parser. It is incompatible with this version of the GAPI code generator."); return studly; } } public override void Generate (GenerationInfo gen_info, string indent) { if (Hidden) return; StreamWriter sw = gen_info.Writer; SymbolTable table = SymbolTable.Table; string wrapped = table.GetCSType (CType); string wrapped_name = SymbolTable.Table.MangleName (CName); IGeneratable gen = table [CType]; if (IsArray) { sw.WriteLine (indent + "[MarshalAs (UnmanagedType.ByValArray, SizeConst=" + ArrayLength + ")]"); sw.WriteLine (indent + "{0} {1} {2};", Access, CSType, StudlyName); } else if (IsBitfield) { base.Generate (gen_info, indent); } else if (gen is IAccessor) { sw.WriteLine (indent + "private {0} {1};", gen.MarshalType, Name); if (Access != "private") { IAccessor acc = table [CType] as IAccessor; sw.WriteLine (indent + Access + " " + wrapped + " " + StudlyName + " {"); acc.WriteAccessors (sw, indent + "\t", Name); sw.WriteLine (indent + "}"); } } else if (IsPointer && (gen is StructGen || gen is BoxedGen)) { sw.WriteLine (indent + "private {0} {1};", CSType, Name); sw.WriteLine (); if (Access != "private") { sw.WriteLine (indent + Access + " " + wrapped + " " + wrapped_name + " {"); sw.WriteLine (indent + "\tget { return " + table.FromNativeReturn (CType, Name) + "; }"); sw.WriteLine (indent + "}"); } } else if (IsPointer && CSType != "string") { // FIXME: probably some fields here which should be visible. sw.WriteLine (indent + "private {0} {1};", CSType, Name); } else { sw.WriteLine (indent + "{0} {1} {2};", Access, CSType, Access == "public" ? StudlyName : Name); } } } } clutter-sharp-1.0.0alpha3/gapi/generator/BoxedGen.cs0000644000175000017500000000547011506367775024105 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.BoxedGen.cs - The Boxed Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class BoxedGen : StructBase { public BoxedGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override void Generate (GenerationInfo gen_info) { Method copy = methods["Copy"] as Method; Method free = methods["Free"] as Method; methods.Remove ("Copy"); methods.Remove ("Free"); gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); base.Generate (gen_info); sw.WriteLine ("\t\tpublic static explicit operator GLib.Value (" + QualifiedName + " boxed)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.Value val = GLib.Value.Empty;"); sw.WriteLine ("\t\t\tval.Init (" + QualifiedName + ".GType);"); sw.WriteLine ("\t\t\tval.Val = boxed;"); sw.WriteLine ("\t\t\treturn val;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static explicit operator " + QualifiedName + " (GLib.Value val)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\treturn (" + QualifiedName + ") val.Val;"); sw.WriteLine ("\t\t}"); if (copy != null && copy.IsDeprecated) { sw.WriteLine (); sw.WriteLine ("\t\t[Obsolete(\"This is a no-op\")]"); sw.WriteLine ("\t\tpublic " + QualifiedName + " Copy() {"); sw.WriteLine ("\t\t\treturn this;"); sw.WriteLine ("\t\t}"); } if (free != null && free.IsDeprecated) { sw.WriteLine (); sw.WriteLine ("\t\t[Obsolete(\"This is a no-op\")]"); sw.WriteLine ("\t\tpublic " + QualifiedName + " Free () {"); sw.WriteLine ("\t\t\treturn this;"); sw.WriteLine ("\t\t}"); } sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.BoxedCount++; } } } clutter-sharp-1.0.0alpha3/gapi/generator/IManualMarshaler.cs0000644000175000017500000000200011506367775025561 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.IManualMarshaler.cs - Interface for manual marshaling. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { public interface IManualMarshaler { string AllocNative (string managed_var); string ReleaseNative (string native_var); } } clutter-sharp-1.0.0alpha3/gapi/generator/MarshalGen.cs0000644000175000017500000000316011506367775024425 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.MarshalGen.cs - Simple marshaling Generatable. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class MarshalGen : SimpleBase { string mtype; string call_fmt; string from_fmt; public MarshalGen (string ctype, string type, string mtype, string call_fmt, string from_fmt, string default_value) : base (ctype, type, default_value) { this.mtype = mtype; this.call_fmt = call_fmt; this.from_fmt = from_fmt; } public MarshalGen (string ctype, string type, string mtype, string call_fmt, string from_fmt) : this (ctype, type, mtype, call_fmt, from_fmt, "null") { } public override string MarshalType { get { return mtype; } } public override string CallByName (string var) { return String.Format (call_fmt, var); } public override string FromNative (string var) { return String.Format (from_fmt, var); } } } clutter-sharp-1.0.0alpha3/gapi/generator/Signature.cs0000644000175000017500000000525611506367775024355 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.Signature.cs - The Signature Generation Class. // // Author: Mike Kestner // // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.Xml; public class Signature { private ArrayList parms = new ArrayList (); public Signature (Parameters parms) { foreach (Parameter p in parms) { if (!parms.IsHidden (p)) this.parms.Add (p); } } public override string ToString () { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) { result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i++] += p.CSType + " " + p.Name; } return String.Join (", ", result); } public string Types { get { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) result [i++] = p.CSType; return String.Join (":", result); } } public bool IsAccessor { get { int count = 0; foreach (Parameter p in parms) { if (p.PassAs == "out") count++; if (count > 1) return false; } return count == 1; } } public string AccessorType { get { foreach (Parameter p in parms) if (p.PassAs == "out") return p.CSType; return null; } } public string AccessorName { get { foreach (Parameter p in parms) if (p.PassAs == "out") return p.Name; return null; } } public string AsAccessor { get { string[] result = new string [parms.Count - 1]; int i = 0; foreach (Parameter p in parms) { if (p.PassAs == "out") continue; result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i++] += p.CSType + " " + p.Name; } return String.Join (", ", result); } } } } clutter-sharp-1.0.0alpha3/gapi/generator/ClassGen.cs0000644000175000017500000000451411506367775024107 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ClassGen.cs - The Class Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Text; using System.Xml; public class ClassGen : ClassBase { public ClassGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string AssignToName { get { return String.Empty; } } public override string MarshalType { get { return String.Empty; } } public override string CallByName () { return String.Empty; } public override string CallByName (string var) { return String.Empty; } public override string FromNative (string var) { return String.Empty; } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream(Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); sw.Write ("\t{0} class " + Name, IsInternal ? "internal" : "public"); sw.WriteLine (" {"); sw.WriteLine (); GenProperties (gen_info, null); GenMethods (gen_info, null, null); sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; } } } clutter-sharp-1.0.0alpha3/gapi/generator/GenBase.cs0000644000175000017500000000663311506367775023720 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.GenBase.cs - The Generatable base class. // // Author: Mike Kestner // // Copyright (c) 2001-2002 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public abstract class GenBase : IGeneratable { private XmlElement ns; private XmlElement elem; protected GenBase (XmlElement ns, XmlElement elem) { this.ns = ns; this.elem = elem; } public string CName { get { return elem.GetAttribute ("cname"); } } public XmlElement Elem { get { return elem; } } public int ParserVersion { get { XmlElement root = elem.OwnerDocument.DocumentElement; return root.HasAttribute ("parser_version") ? int.Parse (root.GetAttribute ("parser_version")) : 1; } } public bool IsInternal { get { if (elem.HasAttribute ("internal")) { string attr = elem.GetAttribute ("internal"); return attr == "1" || attr == "true"; } return false; } } public string LibraryName { get { return ns.GetAttribute ("library"); } } public virtual string MarshalReturnType { get { return MarshalType; } } public abstract string MarshalType { get; } public string Name { get { return elem.GetAttribute ("name"); } } public string NS { get { return ns.GetAttribute ("name"); } } public abstract string DefaultValue { get; } public string QualifiedName { get { return NS + "." + Name; } } public virtual string ToNativeReturnType { get { return MarshalType; } } protected void AppendCustom (StreamWriter sw, string custom_dir) { char sep = Path.DirectorySeparatorChar; string custom = custom_dir + sep + Name + ".custom"; if (File.Exists(custom)) { sw.WriteLine ("#region Customized extensions"); sw.WriteLine ("#line 1 \"" + Name + ".custom\""); FileStream custstream = new FileStream(custom, FileMode.Open, FileAccess.Read); StreamReader sr = new StreamReader(custstream); sw.WriteLine (sr.ReadToEnd ()); sw.WriteLine ("#endregion"); sr.Close (); } } public abstract string CallByName (string var); public abstract string FromNative (string var); public virtual string FromNativeReturn (string var) { return FromNative (var); } public virtual string ToNativeReturn (string var) { return CallByName (var); } public abstract bool Validate (); public void Generate () { GenerationInfo geninfo = new GenerationInfo (ns); Generate (geninfo); } public abstract void Generate (GenerationInfo geninfo); } } clutter-sharp-1.0.0alpha3/gapi/generator/Parameters.cs0000644000175000017500000004215711506367775024520 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.Parameters.cs - The Parameters Generation Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Parameter { private XmlElement elem; public Parameter (XmlElement e) { elem = e; } string call_name; public string CallName { get { if (call_name == null) return Name; else return call_name; } set { call_name = value; } } public string CType { get { string type = elem.GetAttribute("type"); if (type == "void*") type = "gpointer"; return type; } } public string CSType { get { string cstype = SymbolTable.Table.GetCSType( elem.GetAttribute("type")); if (cstype == "void") cstype = "System.IntPtr"; if (IsArray) { if (IsParams) cstype = "params " + cstype; cstype += "[]"; cstype = cstype.Replace ("ref ", ""); } return cstype; } } public IGeneratable Generatable { get { return SymbolTable.Table[CType]; } } public bool IsArray { get { return elem.HasAttribute("array") || elem.HasAttribute("null_term_array"); } } public bool IsEllipsis { get { return elem.HasAttribute("ellipsis"); } } public bool IsCount { get { if (Name.StartsWith("n_")) switch (CSType) { case "int": case "uint": case "long": case "ulong": case "short": case "ushort": return true; default: return false; } else return false; } } public bool IsDestroyNotify { get { return CType == "GDestroyNotify"; } } public bool IsLength { get { if (Name.EndsWith("len") || Name.EndsWith("length")) switch (CSType) { case "int": case "uint": case "long": case "ulong": case "short": case "ushort": return true; default: return false; } else return false; } } public bool IsParams { get { return elem.HasAttribute("params"); } } public bool IsString { get { return (CSType == "string"); } } public bool IsUserData { get { return CSType == "IntPtr" && (Name.EndsWith ("data") || Name.EndsWith ("data_or_owner")); } } public virtual string MarshalType { get { string type = SymbolTable.Table.GetMarshalType( elem.GetAttribute("type")); if (type == "void" || Generatable is IManualMarshaler) type = "IntPtr"; if (IsArray) { type += "[]"; type = type.Replace ("ref ", ""); } return type; } } public string Name { get { return SymbolTable.Table.MangleName (elem.GetAttribute("name")); } } public bool Owned { get { return elem.GetAttribute ("owned") == "true"; } } public virtual string NativeSignature { get { string sig = MarshalType + " " + Name; if (PassAs != String.Empty) sig = PassAs + " " + sig; return sig; } } public string PropertyName { get { return elem.GetAttribute("property_name"); } } string pass_as; public string PassAs { get { if (pass_as != null) return pass_as; if (elem.HasAttribute ("pass_as")) return elem.GetAttribute ("pass_as"); if (IsArray || CSType.EndsWith ("IntPtr")) return ""; if (CType.EndsWith ("*") && (Generatable is SimpleGen || Generatable is EnumGen)) return "out"; return ""; } set { pass_as = value; } } string scope; public string Scope { get { if (scope == null) scope = elem.GetAttribute ("scope"); return scope; } set { scope = value; } } public virtual string[] Prepare { get { IGeneratable gen = Generatable; if (gen is IManualMarshaler) { string result = "IntPtr native_" + CallName; if (PassAs != "out") result += " = " + (gen as IManualMarshaler).AllocNative (CallName); return new string [] { result + ";" }; } else if (PassAs == "out" && CSType != MarshalType) { return new string [] { gen.MarshalType + " native_" + CallName + ";" }; } else if (PassAs == "ref" && CSType != MarshalType) { return new string [] { gen.MarshalType + " native_" + CallName + " = (" + gen.MarshalType + ") " + CallName + ";" }; } return new string [0]; } } public virtual string CallString { get { string call_parm; IGeneratable gen = Generatable; if (gen is CallbackGen) return SymbolTable.Table.CallByName (CType, CallName + "_wrapper"); else if (PassAs != String.Empty) { call_parm = PassAs + " "; if (CSType != MarshalType) call_parm += "native_"; call_parm += CallName; } else if (gen is IManualMarshaler) call_parm = "native_" + CallName; else call_parm = SymbolTable.Table.CallByName(CType, CallName); return call_parm; } } public virtual string[] Finish { get { IGeneratable gen = Generatable; if (gen is IManualMarshaler) { string[] result = new string [PassAs == "ref" ? 2 : 1]; int i = 0; if (PassAs != String.Empty) result [i++] = CallName + " = " + Generatable.FromNative ("native_" + CallName) + ";"; if (PassAs != "out") result [i] = (gen as IManualMarshaler).ReleaseNative ("native_" + CallName) + ";"; return result; } else if (PassAs != String.Empty && MarshalType != CSType) return new string [] { CallName + " = " + gen.FromNative ("native_" + CallName) + ";" }; return new string [0]; } } public string FromNative (string var) { if (Generatable == null) return String.Empty; else if (Generatable is HandleBase) return ((HandleBase)Generatable).FromNative (var, Owned); else return Generatable.FromNative (var); } public string StudlyName { get { string name = elem.GetAttribute("name"); string[] segs = name.Split('_'); string studly = ""; foreach (string s in segs) { if (s.Trim () == "") continue; studly += (s.Substring(0,1).ToUpper() + s.Substring(1)); } return studly; } } } public class ArrayParameter : Parameter { bool null_terminated; public ArrayParameter (XmlElement elem) : base (elem) { null_terminated = elem.HasAttribute ("null_term_array"); } public override string MarshalType { get { if (Generatable is StructBase) return CSType; else return base.MarshalType; } } bool NullTerminated { get { return null_terminated; } } public override string[] Prepare { get { if (CSType == MarshalType) return new string [0]; ArrayList result = new ArrayList (); result.Add (String.Format ("int cnt_{0} = {0} == null ? 0 : {0}.Length;", CallName)); result.Add (String.Format ("{0}[] native_{1} = new {0} [cnt_{1}" + (NullTerminated ? " + 1" : "") + "];", MarshalType.TrimEnd('[', ']'), CallName)); result.Add (String.Format ("for (int i = 0; i < cnt_{0}; i++)", CallName)); IGeneratable gen = Generatable; if (gen is IManualMarshaler) result.Add (String.Format ("\tnative_{0} [i] = {1};", CallName, (gen as IManualMarshaler).AllocNative (CallName + "[i]"))); else result.Add (String.Format ("\tnative_{0} [i] = {1};", CallName, gen.CallByName (CallName + "[i]"))); if (NullTerminated) result.Add (String.Format ("native_{0} [cnt_{0}] = IntPtr.Zero;", CallName)); return (string[]) result.ToArray (typeof (string)); } } public override string CallString { get { if (CSType != MarshalType) return "native_" + CallName; else return CallName; } } public override string[] Finish { get { if (CSType == MarshalType) return new string [0]; IGeneratable gen = Generatable; if (gen is IManualMarshaler) { string [] result = new string [4]; result [0] = "for (int i = 0; i < native_" + CallName + ".Length" + (NullTerminated ? " - 1" : "") + "; i++) {"; result [1] = "\t" + CallName + " [i] = " + Generatable.FromNative ("native_" + CallName + "[i]") + ";"; result [2] = "\t" + (gen as IManualMarshaler).ReleaseNative ("native_" + CallName + "[i]") + ";"; result [3] = "}"; return result; } return new string [0]; } } } public class ArrayCountPair : ArrayParameter { XmlElement count_elem; bool invert; public ArrayCountPair (XmlElement array_elem, XmlElement count_elem, bool invert) : base (array_elem) { this.count_elem = count_elem; this.invert = invert; } string CountNativeType { get { return SymbolTable.Table.GetMarshalType(count_elem.GetAttribute("type")); } } string CountType { get { return SymbolTable.Table.GetCSType(count_elem.GetAttribute("type")); } } string CountCast { get { if (CountType == "int") return String.Empty; else return "(" + CountType + ") "; } } string CountName { get { return SymbolTable.Table.MangleName (count_elem.GetAttribute("name")); } } string CallCount (string name) { string result = CountCast + "(" + name + " == null ? 0 : " + name + ".Length)"; IGeneratable gen = SymbolTable.Table[count_elem.GetAttribute("type")]; return gen.CallByName (result); } public override string CallString { get { if (invert) return CallCount (CallName) + ", " + base.CallString; else return base.CallString + ", " + CallCount (CallName); } } public override string NativeSignature { get { if (invert) return CountNativeType + " " + CountName + ", " + MarshalType + " " + Name; else return MarshalType + " " + Name + ", " + CountNativeType + " " + CountName; } } } public class ErrorParameter : Parameter { public ErrorParameter (XmlElement elem) : base (elem) { PassAs = "out"; } public override string CallString { get { return "out error"; } } } public class StructParameter : Parameter { public StructParameter (XmlElement elem) : base (elem) {} public override string MarshalType { get { return "IntPtr"; } } public override string[] Prepare { get { if (PassAs == "out") return new string [] { "IntPtr native_" + CallName + " = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + Generatable.QualifiedName + ")));"}; else return new string [] { "IntPtr native_" + CallName + " = " + (Generatable as IManualMarshaler).AllocNative (CallName) + ";"}; } } public override string CallString { get { return "native_" + CallName; } } public override string[] Finish { get { string[] result = new string [2]; result [0] = CallName + " = " + FromNative ("native_" + CallName) + ";"; result [1] = (Generatable as IManualMarshaler).ReleaseNative ("native_" + CallName) + ";"; return result; } } public override string NativeSignature { get { return "IntPtr " + CallName; } } } public class Parameters : IEnumerable { ArrayList param_list = new ArrayList (); XmlElement elem; bool first_is_instance; public Parameters (XmlElement elem) : this (elem, false) { } public Parameters (XmlElement elem, bool first_is_instance) { if (elem == null) valid = true; this.elem = elem; this.first_is_instance = first_is_instance; if (first_is_instance) is_static = false; } public int Count { get { return param_list.Count; } } public int VisibleCount { get { int visible = 0; foreach (Parameter p in this) { if (!IsHidden (p)) visible++; } return visible; } } public Parameter this [int idx] { get { return param_list [idx] as Parameter; } } public bool IsHidden (Parameter p) { int idx = param_list.IndexOf (p); if (idx > 0 && p.IsLength && p.PassAs == String.Empty && this [idx - 1].IsString) return true; if (p.IsCount && ((idx > 0 && this [idx - 1].IsArray) || (idx < Count - 1 && this [idx + 1].IsArray))) return true; if (p.CType == "GError**") return true; if (HasCB || HideData) { if (p.IsUserData && (idx == Count - 1)) return true; if (p.IsUserData && (idx == Count - 2) && this [Count - 1] is ErrorParameter) return true; if (p.IsUserData && idx > 0 && this [idx - 1].Generatable is CallbackGen) return true; if (p.IsDestroyNotify && (idx == Count - 1) && this [idx - 1].IsUserData) return true; } return false; } bool has_cb; public bool HasCB { get { return has_cb; } set { has_cb = value; } } public bool HasOutParam { get { foreach (Parameter p in this) if (p.PassAs == "out") return true; return false; } } bool hide_data; public bool HideData { get { return hide_data; } set { hide_data = value; } } bool is_static; public bool Static { get { return is_static; } set { is_static = value; } } void Clear () { elem = null; param_list.Clear (); param_list = null; } public IEnumerator GetEnumerator () { return param_list.GetEnumerator (); } bool valid = false; public bool Validate () { if (valid) return true; if (elem == null) return false; for (int i = first_is_instance ? 1 : 0; i < elem.ChildNodes.Count; i++) { XmlElement parm = elem.ChildNodes [i] as XmlElement; if (parm == null || parm.Name != "parameter") continue; Parameter p = new Parameter (parm); if (p.IsEllipsis) { Console.Write("Ellipsis parameter "); Clear (); return false; } if ((p.CSType == "") || (p.Name == "") || (p.MarshalType == "") || (SymbolTable.Table.CallByName(p.CType, p.Name) == "")) { Console.Write ("Invalid parameter {0} of type {1}", p.Name, p.CType); Clear (); return false; } IGeneratable gen = p.Generatable; if (p.IsArray) { p = new ArrayParameter (parm); if (i < elem.ChildNodes.Count - 1) { XmlElement next = elem.ChildNodes [i + 1] as XmlElement; if (next != null || next.Name == "parameter") { Parameter c = new Parameter (next); if (c.IsCount) { p = new ArrayCountPair (parm, next, false); i++; } } } } else if (p.IsCount && i < elem.ChildNodes.Count - 1) { XmlElement next = elem.ChildNodes [i + 1] as XmlElement; if (next != null || next.Name == "parameter") { Parameter a = new Parameter (next); if (a.IsArray) { p = new ArrayCountPair (next, parm, true); i++; } } } else if (p.CType == "GError**") p = new ErrorParameter (parm); else if (gen is StructBase || gen is ByRefGen) { p = new StructParameter (parm); } else if (gen is CallbackGen) { has_cb = true; } param_list.Add (p); } if (has_cb && Count > 2 && this [Count - 3].Generatable is CallbackGen && this [Count - 2].IsUserData && this [Count - 1].IsDestroyNotify) this [Count - 3].Scope = "notified"; valid = true; return true; } public bool IsAccessor { get { return VisibleCount == 1 && AccessorParam.PassAs == "out"; } } public Parameter AccessorParam { get { foreach (Parameter p in this) { if (!IsHidden (p)) return p; } return null; } } public string AccessorReturnType { get { Parameter p = AccessorParam; if (p != null) return p.CSType; else return null; } } public string AccessorName { get { Parameter p = AccessorParam; if (p != null) return p.Name; else return null; } } public string ImportSignature { get { if (Count == 0) return String.Empty; string[] result = new string [Count]; for (int i = 0; i < Count; i++) result [i] = this [i].NativeSignature; return String.Join (", ", result); } } } } clutter-sharp-1.0.0alpha3/gapi/generator/DefaultSignalHandler.cs0000644000175000017500000001245711506367775026435 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.DefaultSignalHandler.cs - The default signal handler generatable // // Author: Christian Hoff // // Copyright (c) 2008 Novell Inc. // Copyright (c) 2008-2009 Christian Hoff // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class DefaultSignalHandler : GObjectVM { private string signal_name; public DefaultSignalHandler (XmlElement elem, ObjectBase container_type) : base (elem, container_type) { signal_name = elem.GetAttribute ("cname"); } public override string CName { get { return elem.GetAttribute ("field_name"); } } protected override bool CanGenerate (GenerationInfo gen_info, ObjectBase implementor) { return true; } protected override void GenerateOverride (GenerationInfo gen_info, ObjectBase implementor) { StreamWriter sw = gen_info.Writer; if (!base.CanGenerate (gen_info, implementor)) { GenerateOverrideBody (sw); sw.WriteLine ("\t\t\tOverrideVirtualMethod (gtype, \"{0}\", callback);", signal_name); sw.WriteLine ("\t\t}"); } else base.GenerateOverride (gen_info, implementor); } protected override void GenerateUnmanagedInvocation (GenerationInfo gen_info, ObjectBase implementor) { if (!base.CanGenerate (gen_info, implementor)) GenerateChainVirtualMethod (gen_info.Writer, implementor); else base.GenerateUnmanagedInvocation (gen_info, implementor); } private void GenerateChainVirtualMethod (StreamWriter sw, ObjectBase implementor) { GenerateMethodBody (sw, implementor); if (retval.IsVoid) sw.WriteLine ("\t\t\tGLib.Value ret = GLib.Value.Empty;"); else sw.WriteLine ("\t\t\tGLib.Value ret = new GLib.Value (" + ReturnGType + ");"); sw.WriteLine ("\t\t\tGLib.ValueArray inst_and_params = new GLib.ValueArray (" + (parms.Count + 1) + ");"); sw.WriteLine ("\t\t\tGLib.Value[] vals = new GLib.Value [" + (parms.Count + 1) + "];"); sw.WriteLine ("\t\t\tvals [0] = new GLib.Value (this);"); sw.WriteLine ("\t\t\tinst_and_params.Append (vals [0]);"); string cleanup = ""; for (int i = 0; i < parms.Count; i++) { Parameter p = parms [i]; if (p.PassAs != "") { if (SymbolTable.Table.IsBoxed (p.CType)) { if (p.PassAs == "ref") sw.WriteLine ("\t\t\tvals [" + (i + 1) + "] = new GLib.Value (" + p.Name + ");"); else sw.WriteLine ("\t\t\tvals [" + (i + 1) + "] = new GLib.Value ((GLib.GType)typeof (" + p.CSType + "));"); cleanup += "\t\t\t" + p.Name + " = (" + p.CSType + ") vals [" + i + "];\n"; } else { if (p.PassAs == "ref") sw.WriteLine ("\t\t\tIntPtr " + p.Name + "_ptr = GLib.Marshaller.StructureToPtrAlloc (" + p.Generatable.CallByName (p.Name) + ");"); else sw.WriteLine ("\t\t\tIntPtr " + p.Name + "_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + p.MarshalType + ")));"); sw.WriteLine ("\t\t\tvals [" + (i + 1) + "] = new GLib.Value (" + p.Name + "_ptr);"); cleanup += "\t\t\t" + p.Name + " = " + p.FromNative ("(" + p.MarshalType + ") Marshal.PtrToStructure (" + p.Name + "_ptr, typeof (" + p.MarshalType + "))") + ";\n"; cleanup += "\t\t\tMarshal.FreeHGlobal (" + p.Name + "_ptr);\n"; } } else if (p.IsLength && i > 0 && parms [i - 1].IsString) sw.WriteLine ("\t\t\tvals [" + (i + 1) + "] = new GLib.Value (System.Text.Encoding.UTF8.GetByteCount (" + parms [i-1].Name + "));"); else sw.WriteLine ("\t\t\tvals [" + (i + 1) + "] = new GLib.Value (" + p.Name + ");"); sw.WriteLine ("\t\t\tinst_and_params.Append (vals [" + (i + 1) + "]);"); } sw.WriteLine ("\t\t\tg_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);"); if (cleanup != "") sw.WriteLine (cleanup); sw.WriteLine ("\t\t\tforeach (GLib.Value v in vals)"); sw.WriteLine ("\t\t\t\tv.Dispose ();"); if (!retval.IsVoid) { IGeneratable igen = SymbolTable.Table [retval.CType]; sw.WriteLine ("\t\t\t" + retval.CSType + " result = (" + (igen is EnumGen ? retval.CSType + ") (Enum" : retval.CSType) + ") ret;"); sw.WriteLine ("\t\t\tret.Dispose ();"); sw.WriteLine ("\t\t\treturn result;"); } sw.WriteLine ("\t\t}\n"); } private string ReturnGType { get { IGeneratable igen = SymbolTable.Table [retval.CType]; if (igen is ObjectGen) return "GLib.GType.Object"; if (igen is BoxedGen) return retval.CSType + ".GType"; if (igen is EnumGen) return retval.CSType + "GType.GType"; switch (retval.CSType) { case "bool": return "GLib.GType.Boolean"; case "string": return "GLib.GType.String"; case "int": return "GLib.GType.Int"; default: throw new Exception (retval.CSType); } } } } } clutter-sharp-1.0.0alpha3/gapi/generator/SimpleBase.cs0000644000175000017500000000477311506367775024443 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.SimpleBase.cs - base class for marshaling non-generated types. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public abstract class SimpleBase : IGeneratable { string type; string ctype; string ns = String.Empty; string default_value = String.Empty; public SimpleBase (string ctype, string type, string default_value) { string[] toks = type.Split('.'); this.ctype = ctype; this.type = toks[toks.Length - 1]; if (toks.Length > 2) this.ns = String.Join (".", toks, 0, toks.Length - 1); else if (toks.Length == 2) this.ns = toks[0]; this.default_value = default_value; } public string CName { get { return ctype; } } public string Name { get { return type; } } public string QualifiedName { get { return ns == String.Empty ? type : ns + "." + type; } } public virtual string MarshalType { get { return QualifiedName; } } public virtual string MarshalReturnType { get { return MarshalType; } } public virtual string DefaultValue { get { return default_value; } } public virtual string ToNativeReturnType { get { return MarshalType; } } public virtual string CallByName (string var) { return var; } public virtual string FromNative(string var) { return var; } public virtual string FromNativeReturn(string var) { return FromNative (var); } public virtual string ToNativeReturn(string var) { return CallByName (var); } public bool Validate () { return true; } public void Generate () { } public void Generate (GenerationInfo gen_info) { } } } clutter-sharp-1.0.0alpha3/gapi/generator/Ctor.cs0000644000175000017500000001242711506367775023321 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.Ctor.cs - The Constructor Generation Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Ctor : MethodBase { private bool preferred; private string name; private bool needs_chaining = false; public Ctor (XmlElement elem, ClassBase implementor) : base (elem, implementor) { if (elem.HasAttribute ("preferred")) preferred = true; if (implementor is ObjectGen) needs_chaining = true; name = implementor.Name; } public bool Preferred { get { return preferred; } set { preferred = value; } } public string StaticName { get { if (!IsStatic) return String.Empty; if (Name != null && Name != String.Empty) return Name; string[] toks = CName.Substring(CName.IndexOf("new")).Split ('_'); string result = String.Empty; foreach (string tok in toks) result += tok.Substring(0,1).ToUpper() + tok.Substring(1); return result; } } void GenerateImport (StreamWriter sw) { sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\")]"); sw.WriteLine("\t\tstatic extern " + Safety + "IntPtr " + CName + "(" + Parameters.ImportSignature + ");"); sw.WriteLine(); } void GenerateStatic (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; sw.WriteLine("\t\t" + Protection + " static " + Safety + Modifiers + name + " " + StaticName + "(" + Signature + ")"); sw.WriteLine("\t\t{"); Body.Initialize(gen_info, false, false, ""); sw.Write("\t\t\t" + name + " result = "); if (container_type is StructBase) sw.Write ("{0}.New (", name); else sw.Write ("new {0} (", name); sw.WriteLine (CName + "(" + Body.GetCallString (false) + "));"); Body.Finish (sw, ""); Body.HandleException (sw, ""); sw.WriteLine ("\t\t\treturn result;"); } public void Generate (GenerationInfo gen_info) { if (!Validate ()) return; StreamWriter sw = gen_info.Writer; gen_info.CurrentMember = CName; GenerateImport (sw); if (IsStatic) GenerateStatic (gen_info); else { sw.WriteLine("\t\t{0} {1}{2} ({3}) {4}", Protection, Safety, name, Signature.ToString(), needs_chaining ? ": base (IntPtr.Zero)" : ""); sw.WriteLine("\t\t{"); if (needs_chaining) { sw.WriteLine ("\t\t\tif (GetType () != typeof (" + name + ")) {"); if (Parameters.Count == 0) { sw.WriteLine ("\t\t\t\tCreateNativeObject (new string [0], new GLib.Value[0]);"); sw.WriteLine ("\t\t\t\treturn;"); } else { ArrayList names = new ArrayList (); ArrayList values = new ArrayList (); for (int i = 0; i < Parameters.Count; i++) { Parameter p = Parameters[i]; if (container_type.GetPropertyRecursively (p.StudlyName) != null) { names.Add (p.Name); values.Add (p.Name); } else if (p.PropertyName != String.Empty) { names.Add (p.PropertyName); values.Add (p.Name); } } if (names.Count == Parameters.Count) { sw.WriteLine ("\t\t\t\tArrayList vals = new ArrayList();"); sw.WriteLine ("\t\t\t\tArrayList names = new ArrayList();"); for (int i = 0; i < names.Count; i++) { Parameter p = Parameters [i]; string indent = "\t\t\t\t"; if (p.Generatable is ClassBase && !(p.Generatable is StructBase)) { sw.WriteLine (indent + "if (" + p.Name + " != null) {"); indent += "\t"; } sw.WriteLine (indent + "names.Add (\"" + names [i] + "\");"); sw.WriteLine (indent + "vals.Add (new GLib.Value (" + values[i] + "));"); if (p.Generatable is ClassBase && !(p.Generatable is StructBase)) sw.WriteLine ("\t\t\t\t}"); } sw.WriteLine ("\t\t\t\tCreateNativeObject ((string[])names.ToArray (typeof (string)), (GLib.Value[])vals.ToArray (typeof (GLib.Value)));"); sw.WriteLine ("\t\t\t\treturn;"); } else sw.WriteLine ("\t\t\t\tthrow new InvalidOperationException (\"Can't override this constructor.\");"); } sw.WriteLine ("\t\t\t}"); } Body.Initialize(gen_info, false, false, ""); sw.WriteLine("\t\t\t{0} = {1}({2});", container_type.AssignToName, CName, Body.GetCallString (false)); Body.Finish (sw, ""); Body.HandleException (sw, ""); } sw.WriteLine("\t\t}"); sw.WriteLine(); Statistics.CtorCount++; } } } clutter-sharp-1.0.0alpha3/gapi/generator/GObjectVM.cs0000644000175000017500000003217311506367775024172 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.GObjectVM.cs - GObject specific part of VM creation // // Author: Christian Hoff // // Copyright (c) 2007 Novell, Inc. // Copyright (c) 2009 Christian Hoff // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class GObjectVM : VirtualMethod { protected string class_struct_name; const bool force_glue_generation = false; public GObjectVM (XmlElement elem, ObjectBase container_type) : base (elem, container_type) { parms.HideData = false; this.Protection = "protected"; class_struct_name = container_type.ClassStructName; } // Some types don't install headers. In that case, the glue code will not compile. bool BlockGlue { get { return elem.GetAttribute ("block_glue") == "1"; } } protected override string CallString { get { return String.Format ("{0} ({1})", IsStatic ? this.CName + "_handler" : "On" + this.Name, call.ToString ()); } } public void Generate (GenerationInfo gen_info, ObjectBase implementor) { if (!CanGenerate (gen_info, implementor)) throw new NotSupportedException (String.Format ("Cannot generate virtual method {0}.{1}. Make sure a writable glue path was provided to the generator.", container_type.Name, this.CallString)); GenerateOverride (gen_info, implementor); GenerateCallback (gen_info.Writer, implementor); if (!IsStatic) GenerateUnmanagedInvocation (gen_info, implementor); } protected virtual bool CanGenerate (GenerationInfo gen_info, ObjectBase implementor) { if (implementor != null || this.CName.Length == 0 || CodeType == VMCodeType.None || (CodeType == VMCodeType.Glue && !gen_info.GlueEnabled)) return false; else return true; } enum VMCodeType { None, Managed, Glue } VMCodeType CodeType { get { if (!(container_type as ObjectBase).CanGenerateClassStruct || force_glue_generation) { if (BlockGlue) return VMCodeType.None; else return VMCodeType.Glue; } else return VMCodeType.Managed; } } enum VMOverrideType { Unspecified, DeclaringClass, ImplementingClass } /* There are basically two types of static virtual methods: * 1. VMs overridden in the declaring class (e.g. AtkUtil vms): * The VM is overridden in the class in which it is declared and not in the derived classes. In that case, the GAPI generates a static XYZHandler property * in the declaring class. * 2. VMs overridden in derived classes (e.g. GIO is_supported vms): * As with nonstatic vms, this VM type hooks into the class structure field of derived classes. This type is currently unsupported as it is rarely used * and we would need anonymous methods for the callback (we are using only *one* callback method; the callback does not know to which type that method call * has to be redirected). */ VMOverrideType OverrideType { get { if (IsStatic) { switch (elem.GetAttribute ("override_in")) { case "declaring_class": return VMOverrideType.DeclaringClass; case "implementing_class": return VMOverrideType.ImplementingClass; default: return VMOverrideType.Unspecified; } } else return VMOverrideType.ImplementingClass; } } protected virtual void GenerateOverride (GenerationInfo gen_info, ObjectBase implementor) { if (CodeType == VMCodeType.Glue) GenerateOverride_glue (gen_info); else GenerateOverride_managed (gen_info.Writer); } protected virtual void GenerateUnmanagedInvocation (GenerationInfo gen_info, ObjectBase implementor) { if (CodeType == VMCodeType.Glue) GenerateUnmanagedInvocation_glue (gen_info); else GenerateUnmanagedInvocation_managed (gen_info); } protected void GenerateOverrideBody (StreamWriter sw) { sw.WriteLine ("\t\tstatic {0}NativeDelegate {0}_cb_delegate;", Name); sw.WriteLine ("\t\tstatic " + Name + "NativeDelegate " + Name + "VMCallback {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\tif ({0}_cb_delegate == null)", Name); sw.WriteLine ("\t\t\t\t\t{0}_cb_delegate = new {0}NativeDelegate ({0}_cb);", Name); sw.WriteLine ("\t\t\t\treturn {0}_cb_delegate;", Name); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (IsStatic) { sw.WriteLine ("\t\tpublic delegate {0} {1}Delegate ({2});", retval.CSType, Name, Signature.ToString ()); sw.WriteLine ("\t\tstatic {0}Delegate {1}_handler;", Name, CName); sw.WriteLine (); sw.WriteLine ("\t\tpublic static " + Name + "Delegate " + Name + "Handler {"); sw.WriteLine ("\t\t\tset {"); sw.WriteLine ("\t\t\t\t{0}_handler = value;", CName); sw.WriteLine ("\t\t\t\tOverride{0} ((GLib.GType) typeof ({1}), value == null ? null : {0}VMCallback);", Name, container_type.Name); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); } else { sw.WriteLine ("\t\tstatic void Override{0} (GLib.GType gtype)", this.Name); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tOverride{0} (gtype, {0}VMCallback);", this.Name); sw.WriteLine ("\t\t}"); } sw.WriteLine (); sw.WriteLine ("\t\tstatic void Override{0} (GLib.GType gtype, {0}NativeDelegate callback)", this.Name); sw.WriteLine ("\t\t{"); } protected void GenerateOverride_managed (StreamWriter sw) { GenerateOverrideBody (sw); // Override VM; class_offset var is generated by object generatable sw.WriteLine ("\t\t\t{0} class_iface = GetClassStruct (gtype, false);", class_struct_name); sw.WriteLine ("\t\t\tclass_iface.{0} = callback;", this.Name); sw.WriteLine ("\t\t\tOverrideClassStruct (gtype, class_iface);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } protected void GenerateMethodBody (StreamWriter sw, ClassBase implementor) { sw.WriteLine ("\t\t[GLib.DefaultSignalHandler(Type=typeof(" + (implementor != null ? implementor.QualifiedName : container_type.QualifiedName) + "), ConnectionMethod=\"Override" + this.Name +"\")]"); sw.Write ("\t\t{0} ", this.Protection); if (this.modifiers != "") sw.Write ("{0} ", this.modifiers); sw.WriteLine ("virtual {0} On{1} ({2})", retval.CSType, this.Name, Signature.ToString ()); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\t{0}Internal{1} ({2});", retval.IsVoid ? "" : "return ", this.Name, Signature.GetCallString (false)); sw.WriteLine ("\t\t}"); sw.WriteLine (); // This method is to be invoked from existing VM implementations in the .customs sw.WriteLine ("\t\tprivate {0} Internal{1} ({2})", retval.CSType, this.Name, Signature.ToString ()); sw.WriteLine ("\t\t{"); } void GenerateUnmanagedInvocation_managed (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; string native_call = "this.Handle"; if (parms.Count > 0) native_call += ", " + Body.GetCallString (false); this.GenerateMethodBody (sw, null); // Find the first unmanaged ancestor sw.WriteLine ("\t\t\t{0}NativeDelegate unmanaged = GetClassStruct (GTypeExtensions.GetThresholdType (this.LookupGType ()), true).{0};", this.Name); sw.Write ("\t\t\tif (unmanaged == null) "); if (parms.HasOutParam) sw.WriteLine ("throw new InvalidOperationException (\"No base method to invoke\");"); else if (retval.IsVoid) sw.WriteLine ("return;"); else sw.WriteLine ("return {0};", retval.DefaultValue); sw.WriteLine (); Body.Initialize (gen_info); sw.Write ("\t\t\t"); if (!retval.IsVoid) sw.Write ("{0} __result = ", retval.MarshalType); sw.WriteLine ("unmanaged ({0});", native_call); Body.Finish (gen_info.Writer, ""); if(!retval.IsVoid) sw.WriteLine ("\t\t\treturn {0};", retval.FromNative ("__result")); sw.WriteLine ("\t\t}"); sw.WriteLine (); } /* old glue code. This code is to be used if * a) the generated api file is version 1 * b) an old Mono version(< 2.4) is being used * Punt it when we drop support for the parser version 1. */ private string CastFromInt (string type) { return type != "int" ? "(" + type + ") " : ""; } private string GlueSignature { get { string[] glue_params = new string [this.IsStatic ? parms.Count + 1 : parms.Count + 2]; glue_params [0] = class_struct_name + " *class_struct"; if (!IsStatic) glue_params [1] = container_type.CName + "* inst"; for (int i = 0; i < parms.Count; i++) glue_params [i + (IsStatic ? 1 : 2)] = parms [i].CType.Replace ("const-", "const ") + " " + parms [i].Name; return String.Join (", ", glue_params); } } private string DefaultGlueValue { get { if (retval.IGen is EnumGen) return String.Format ("({0}) 0", retval.CType); string val = retval.DefaultValue; switch (val) { case "null": return "NULL"; case "false": return "FALSE"; case "true": return "TRUE"; case "GLib.GType.None": return "G_TYPE_NONE"; default: return val; } } } void GenerateOverride_glue (GenerationInfo gen_info) { StreamWriter glue = gen_info.GlueWriter; StreamWriter sw = gen_info.Writer; string glue_name = String.Format ("{0}sharp_{1}_override_{2}", container_type.NS.ToLower ().Replace (".", "_"), container_type.Name.ToLower (), CName); sw.WriteLine ("\t\t[DllImport (\"{0}\")]", gen_info.GluelibName); sw.WriteLine ("\t\tstatic extern void {0} (IntPtr class_struct, {1}NativeDelegate cb);", glue_name, Name); sw.WriteLine (); glue.WriteLine ("void {0} ({1} *class_struct, gpointer cb);\n", glue_name, class_struct_name); glue.WriteLine ("void\n{0} ({1} *class_struct, gpointer cb)", glue_name, class_struct_name); glue.WriteLine ("{"); glue.WriteLine ("\tclass_struct->{0} = cb;", CName); glue.WriteLine ("}"); glue.WriteLine (); GenerateOverrideBody (sw); sw.WriteLine ("\t\t\t{0} (gtype.ClassPtr, callback);", glue_name); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateUnmanagedInvocation_glue (GenerationInfo gen_info) { StreamWriter glue = gen_info.GlueWriter; string glue_name = String.Format ("{0}sharp_{1}_invoke_{2}", container_type.NS.ToLower ().Replace (".", "_"), container_type.Name.ToLower (), CName); glue.WriteLine ("{0} {1} ({2});\n", retval.CType.Replace ("const-", "const "), glue_name, GlueSignature); glue.WriteLine ("{0}\n{1} ({2})", retval.CType.Replace ("const-", "const "), glue_name, GlueSignature); glue.WriteLine ("{"); glue.Write ("\tif (class_struct->{0})\n\t\t", CName); if (!retval.IsVoid) glue.Write ("return "); string[] call_args = new string [IsStatic ? parms.Count : parms.Count + 1]; if (!IsStatic) call_args [0] = "inst"; for (int i = 0; i < parms.Count; i++) call_args [IsStatic ? i : i + 1] = parms[i].Name; glue.WriteLine ("(* class_struct->{0}) ({1});", CName, String.Join (", ", call_args)); if (!retval.IsVoid) glue.WriteLine ("\treturn " + DefaultGlueValue + ";"); glue.WriteLine ("}"); glue.WriteLine (); StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\t[DllImport (\"{0}\")]", gen_info.GluelibName); sw.Write ("\t\tstatic extern {0} {1} (IntPtr class_struct", retval.MarshalType, glue_name); if (!IsStatic) sw.Write (", IntPtr inst"); if (parms.Count > 0) sw.Write (", {0}", parms.ImportSignature); sw.WriteLine (");"); sw.WriteLine (); GenerateMethodBody (sw, null); Body.Initialize (gen_info, false, false, String.Empty); string glue_call_string = "GTypeExtensions.GetClassPtr (GTypeExtensions.GetThresholdType (this.LookupGType ()))"; if (!IsStatic) glue_call_string += ", Handle"; if (parms.Count > 0) glue_call_string += ", " + Body.GetCallString (false); sw.Write ("\t\t\t"); if (!retval.IsVoid) sw.Write ("{0} __result = ", retval.MarshalType); sw.WriteLine ("{0} ({1});", glue_name, glue_call_string); Body.Finish (gen_info.Writer, ""); if(!retval.IsVoid) sw.WriteLine ("\t\t\treturn {0};", retval.FromNative ("__result")); sw.WriteLine ("\t\t}"); sw.WriteLine (); } public override bool Validate () { if (!base.Validate ()) return false; bool is_valid = true; if (this.IsStatic) { switch (OverrideType) { case VMOverrideType.Unspecified: Console.Write ("Static virtual methods can only be generated if you provide info on how to override this method via the metadata "); is_valid = false; break; case VMOverrideType.ImplementingClass: Console.Write ("Overriding static virtual methods in the implementing class is not supported yet "); is_valid = false; break; } } if (!is_valid) Console.WriteLine (" (in virtual method {0}.{1})", container_type.QualifiedName, this.Name); return is_valid; } } } clutter-sharp-1.0.0alpha3/gapi/generator/Makefile.am0000644000175000017500000000225511506367775024115 0ustar00hyperairhyperair00000000000000noinst_SCRIPTS = gapi_codegen.exe CLEANFILES = gapi_codegen.exe MAINTAINERCLEANFILES = Makefile.in sources = \ AliasGen.cs \ BoxedGen.cs \ ByRefGen.cs \ CallbackGen.cs \ ChildProperty.cs \ ClassBase.cs \ ClassField.cs \ ClassGen.cs \ CodeGenerator.cs \ ConstFilenameGen.cs \ ConstStringGen.cs \ Ctor.cs \ DefaultSignalHandler.cs \ EnumGen.cs \ FieldBase.cs \ GenBase.cs \ GenerationInfo.cs \ GObjectVM.cs \ HandleBase.cs \ IAccessor.cs \ IGeneratable.cs \ IManualMarshaler.cs \ InterfaceGen.cs \ InterfaceVM.cs \ LPGen.cs \ LPUGen.cs \ ManagedCallString.cs \ ManualGen.cs \ MarshalGen.cs \ MethodBase.cs \ MethodBody.cs \ Method.cs \ ObjectField.cs \ ObjectBase.cs \ ObjectGen.cs \ OpaqueGen.cs \ Parameters.cs \ Parser.cs \ Property.cs \ PropertyBase.cs \ ReturnValue.cs \ Signal.cs \ Signature.cs \ SimpleBase.cs \ SimpleGen.cs \ Statistics.cs \ StructBase.cs \ StructField.cs \ StructGen.cs \ SymbolTable.cs \ VirtualMethod.cs \ VMSignature.cs build_sources = $(addprefix $(srcdir)/, $(sources)) dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) gapi_codegen.exe: $(build_sources) $(MCS) -out:gapi_codegen.exe $(build_sources) clutter-sharp-1.0.0alpha3/gapi/generator/ObjectField.cs0000644000175000017500000000242111506367775024555 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ObjectField.cs - autogenerated field glue // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class ObjectField : FieldBase { public ObjectField (XmlElement elem, ClassBase container_type) : base (elem, container_type) { if (CType == "char*" || CType == "gchar*") ctype = "const-" + CType; } protected override bool Writable { get { return elem.GetAttribute ("writeable") == "true"; } } protected override string DefaultAccess { get { return "private"; } } } } clutter-sharp-1.0.0alpha3/gapi/generator/VMSignature.cs0000644000175000017500000000451711506367775024617 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.VMSignature.cs - The Virtual Method Signature Generation Class. // // Author: Mike Kestner // // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.Xml; public class VMSignature { private ArrayList parms = new ArrayList (); public VMSignature (Parameters parms) { bool has_cb = parms.HideData; for (int i = 0; i < parms.Count; i++) { Parameter p = parms [i]; if (i > 0 && p.IsLength && parms [i - 1].IsString) continue; if (p.IsCount && ((i > 0 && parms [i - 1].IsArray) || (i < parms.Count - 1 && parms [i + 1].IsArray))) continue; has_cb = has_cb || p.Generatable is CallbackGen; if (p.IsUserData && has_cb) continue; if (p.CType == "GError**") continue; if (p.Scope == "notified") i += 2; this.parms.Add (p); } } public string GetCallString (bool use_place_holders) { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) { result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i] += use_place_holders ? "{" + i + "}" : p.Name; i++; } return String.Join (", ", result); } public override string ToString () { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) { result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i++] += p.CSType + " " + p.Name; } return String.Join (", ", result); } } } clutter-sharp-1.0.0alpha3/gapi/generator/PropertyBase.cs0000644000175000017500000000530711506367775025030 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.PropertyBase.cs - base class for properties and // fields // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public abstract class PropertyBase { protected XmlElement elem; protected ClassBase container_type; public PropertyBase (XmlElement elem, ClassBase container_type) { this.elem = elem; this.container_type = container_type; } public string Name { get { return elem.GetAttribute ("name"); } } public string CName { get { return elem.GetAttribute ("cname"); } } protected string ctype; public string CType { get { if (ctype == null) { if (elem.GetAttribute("bits") == "1") ctype = "gboolean"; else ctype = elem.GetAttribute("type"); } return ctype; } } protected string cstype; public string CSType { get { if (Getter != null) return Getter.Signature.IsAccessor ? Getter.Signature.AccessorType : Getter.ReturnType; else if (Setter != null) return Setter.Signature.Types; else if (cstype == null) cstype = SymbolTable.Table.GetCSType (CType); return cstype; } } public bool Hidden { get { return elem.HasAttribute("hidden"); } } protected bool IsNew { get { return elem.HasAttribute("new_flag"); } } protected Method Getter { get { Method getter = container_type.GetMethod ("Get" + Name); if (getter != null && getter.Name == "Get" + Name && getter.IsGetter) return getter; else return null; } } protected Method Setter { get { Method setter = container_type.GetMethod ("Set" + Name); if (setter != null && setter.Name == "Set" + Name && setter.IsSetter && (Getter == null || setter.Signature.Types == CSType)) return setter; else return null; } } protected virtual void GenerateImports (GenerationInfo gen_info, string indent) { if (Getter != null) Getter.GenerateImport (gen_info.Writer); if (Setter != null) Setter.GenerateImport (gen_info.Writer); } } } clutter-sharp-1.0.0alpha3/gapi/generator/ConstStringGen.cs0000644000175000017500000000330411506367775025313 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ConstStringGen.cs - The Const String type Generatable. // // Author: Rachel Hestilow // Mike Kestner // // Copyright (c) 2003 Rachel Hestilow // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ConstStringGen : SimpleBase, IManualMarshaler { public ConstStringGen (string ctype) : base (ctype, "string", "null") {} public override string MarshalType { get { return "IntPtr"; } } public override string FromNative (string var) { return "GLib.Marshaller.Utf8PtrToString (" + var + ")"; } public override string ToNativeReturn (string var) { return "GLib.Marshaller.StringToPtrGStrdup (" + var + ")"; } public string AllocNative (string managed_var) { return "GLib.Marshaller.StringToPtrGStrdup (" + managed_var + ")"; } public string ReleaseNative (string native_var) { return "GLib.Marshaller.Free (" + native_var + ")"; } } } clutter-sharp-1.0.0alpha3/gapi/generator/ManagedCallString.cs0000644000175000017500000001026611506367775025730 0ustar00hyperairhyperair00000000000000// GtkSharp.Generation.ManagedCallString.cs - The ManagedCallString Class. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; public class ManagedCallString { ArrayList parms = new ArrayList (); ArrayList special = new ArrayList (); string error_param = null; string user_data_param = null; string destroy_param = null; public ManagedCallString (Parameters parms) { for (int i = 0; i < parms.Count; i ++) { Parameter p = parms [i]; if (p.IsLength && i > 0 && parms [i-1].IsString) continue; else if (p.Scope == "notified") { user_data_param = parms[i+1].Name; destroy_param = parms[i+2].Name; i += 2; } else if (p.IsUserData && parms.IsHidden (p)) { user_data_param = p.Name; continue; } else if (p is ErrorParameter) { error_param = p.Name; continue; } this.parms.Add (p); if (p.PassAs != String.Empty && (p.Name != p.FromNative (p.Name))) this.special.Add (true); else if (p.Generatable is CallbackGen) this.special.Add (true); else this.special.Add (false); } } public bool HasOutParam { get { foreach (Parameter p in parms) { if (p.PassAs == "out") return true; } return false; } } public string Unconditional (string indent) { string ret = ""; if (error_param != null) ret = indent + error_param + " = IntPtr.Zero;\n"; return ret; } public string Setup (string indent) { string ret = ""; for (int i = 0; i < parms.Count; i ++) { if ((bool)special[i] == false) continue; Parameter p = parms [i] as Parameter; IGeneratable igen = p.Generatable; if (igen is CallbackGen) { if (user_data_param == null) ret += indent + String.Format ("{0} {1}_invoker = new {0} ({1});\n", (igen as CallbackGen).InvokerName, p.Name); else if (destroy_param == null) ret += indent + String.Format ("{0} {1}_invoker = new {0} ({1}, {2});\n", (igen as CallbackGen).InvokerName, p.Name, user_data_param); else ret += indent + String.Format ("{0} {1}_invoker = new {0} ({1}, {2}, {3});\n", (igen as CallbackGen).InvokerName, p.Name, user_data_param, destroy_param); } else { ret += indent + igen.QualifiedName + " my" + p.Name; if (p.PassAs == "ref") ret += " = " + p.FromNative (p.Name); ret += ";\n"; } } return ret; } public override string ToString () { if (parms.Count < 1) return ""; string[] result = new string [parms.Count]; for (int i = 0; i < parms.Count; i ++) { Parameter p = parms [i] as Parameter; result [i] = p.PassAs == "" ? "" : p.PassAs + " "; if (p.Generatable is CallbackGen) result [i] += p.Name + "_invoker.Handler"; else result [i] += ((bool)special[i]) ? "my" + p.Name : p.FromNative (p.Name); } return String.Join (", ", result); } public string Finish (string indent) { string ret = ""; for (int i = 0; i < parms.Count; i ++) { if ((bool)special[i] == false) continue; Parameter p = parms [i] as Parameter; IGeneratable igen = p.Generatable; if (igen is CallbackGen) continue; else if (igen is StructBase || igen is ByRefGen) ret += indent + String.Format ("if ({0} != IntPtr.Zero) System.Runtime.InteropServices.Marshal.StructureToPtr (my{0}, {0}, false);\n", p.Name); else ret += indent + p.Name + " = " + igen.ToNativeReturn ("my" + p.Name) + ";\n"; } return ret; } } } clutter-sharp-1.0.0alpha3/gapi/parser/0000755000175000017500000000000011506372235021346 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/gapi/parser/gapi-fixup.cs0000644000175000017500000001707111506367775023771 0ustar00hyperairhyperair00000000000000// gapi-fixup.cs - xml alteration engine. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Parsing { using System; using System.IO; using System.Xml; using System.Xml.XPath; public class Fixup { public static int Main (string[] args) { if (args.Length < 2) { Console.WriteLine ("Usage: gapi-fixup --metadata= --api= --symbols="); return 0; } string api_filename = ""; XmlDocument api_doc = new XmlDocument (); XmlDocument meta_doc = new XmlDocument (); XmlDocument symbol_doc = new XmlDocument (); foreach (string arg in args) { if (arg.StartsWith("--metadata=")) { string meta_filename = arg.Substring (11); try { Stream stream = File.OpenRead (meta_filename); meta_doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid meta file."); Console.WriteLine (e); return 1; } } else if (arg.StartsWith ("--api=")) { api_filename = arg.Substring (6); try { Stream stream = File.OpenRead (api_filename); api_doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid api file."); Console.WriteLine (e); return 1; } } else if (arg.StartsWith ("--symbols=")) { string symbol_filename = arg.Substring (10); try { Stream stream = File.OpenRead (symbol_filename); symbol_doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid api file."); Console.WriteLine (e); return 1; } } else { Console.WriteLine ("Usage: gapi-fixup --metadata= --api="); return 1; } } XPathNavigator meta_nav = meta_doc.CreateNavigator (); XPathNavigator api_nav = api_doc.CreateNavigator (); XPathNodeIterator rmv_iter = meta_nav.Select ("/metadata/remove-node"); while (rmv_iter.MoveNext ()) { string path = rmv_iter.Current.GetAttribute ("path", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement api_node = ((IHasXmlNode)api_iter.Current).GetNode () as XmlElement; api_node.ParentNode.RemoveChild (api_node); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator add_iter = meta_nav.Select ("/metadata/add-node"); while (add_iter.MoveNext ()) { string path = add_iter.Current.GetAttribute ("path", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement api_node = ((IHasXmlNode)api_iter.Current).GetNode () as XmlElement; foreach (XmlNode child in ((IHasXmlNode)add_iter.Current).GetNode().ChildNodes) api_node.AppendChild (api_doc.ImportNode (child, true)); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator change_node_type_iter = meta_nav.Select ("/metadata/change-node-type"); while (change_node_type_iter.MoveNext ()) { string path = change_node_type_iter.Current.GetAttribute ("path", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement node = ( (IHasXmlNode) api_iter.Current).GetNode () as XmlElement; XmlElement parent = node.ParentNode as XmlElement; XmlElement new_node = api_doc.CreateElement (change_node_type_iter.Current.Value); foreach (XmlNode child in node.ChildNodes) new_node.AppendChild (child.Clone ()); foreach (XmlAttribute attribute in node.Attributes) new_node.Attributes.Append ( (XmlAttribute) attribute.Clone ()); parent.ReplaceChild (new_node, node); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator attr_iter = meta_nav.Select ("/metadata/attr"); while (attr_iter.MoveNext ()) { string path = attr_iter.Current.GetAttribute ("path", ""); string attr_name = attr_iter.Current.GetAttribute ("name", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement node = ((IHasXmlNode)api_iter.Current).GetNode () as XmlElement; node.SetAttribute (attr_name, attr_iter.Current.Value); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator move_iter = meta_nav.Select ("/metadata/move-node"); while (move_iter.MoveNext ()) { string path = move_iter.Current.GetAttribute ("path", ""); XPathExpression expr = api_nav.Compile (path); string parent = move_iter.Current.Value; XPathNodeIterator parent_iter = api_nav.Select (parent); bool matched = false; while (parent_iter.MoveNext ()) { XmlNode parent_node = ((IHasXmlNode)parent_iter.Current).GetNode (); XPathNodeIterator path_iter = parent_iter.Current.Clone ().Select (expr); while (path_iter.MoveNext ()) { XmlNode node = ((IHasXmlNode)path_iter.Current).GetNode (); parent_node.AppendChild (node.Clone ()); node.ParentNode.RemoveChild (node); } matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator remove_attr_iter = meta_nav.Select ("/metadata/remove-attr"); while (remove_attr_iter.MoveNext ()) { string path = remove_attr_iter.Current.GetAttribute ("path", ""); string name = remove_attr_iter.Current.GetAttribute ("name", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement node = ( (IHasXmlNode) api_iter.Current).GetNode () as XmlElement; node.RemoveAttribute (name); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } if (symbol_doc != null) { XPathNavigator symbol_nav = symbol_doc.CreateNavigator (); XPathNodeIterator iter = symbol_nav.Select ("/api/*"); while (iter.MoveNext ()) { XmlNode sym_node = ((IHasXmlNode)iter.Current).GetNode (); XPathNodeIterator parent_iter = api_nav.Select ("/api"); if (parent_iter.MoveNext ()) { XmlNode parent_node = ((IHasXmlNode)parent_iter.Current).GetNode (); parent_node.AppendChild (api_doc.ImportNode (sym_node, true)); } } } api_doc.Save (api_filename); return 0; } } } clutter-sharp-1.0.0alpha3/gapi/parser/Makefile.in0000644000175000017500000002360511506371323023416 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gapi/parser DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SCRIPTS = $(noinst_SCRIPTS) SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ noinst_SCRIPTS = gapi-fixup.exe gapi-parser.exe sources = \ gapi-fixup.cs \ gapi-parser.cs EXTRA_DIST = \ $(sources) \ gapi_pp.pl \ gapi2xml.pl CLEANFILES = gapi-fixup.exe gapi-parser.exe MAINTAINERCLEANFILES = Makefile.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gapi/parser/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gapi/parser/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am gapi-fixup.exe: $(srcdir)/gapi-fixup.cs $(MCS) -out:gapi-fixup.exe $(srcdir)/gapi-fixup.cs gapi-parser.exe: $(srcdir)/gapi-parser.cs $(MCS) -out:gapi-parser.exe $(srcdir)/gapi-parser.cs # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/gapi/parser/gapi2xml.pl0000755000175000017500000010273611506367775023457 0ustar00hyperairhyperair00000000000000#!/usr/bin/perl # # gapi2xml.pl : Generates an XML representation of GObject based APIs. # # Author: Mike Kestner # # Copyright (c) 2001-2003 Mike Kestner # Copyright (c) 2003-2009 Novell, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. ############################################################## $parser_version = 2; $debug=$ENV{'GAPI_DEBUG'}; use XML::LibXML; if (!$ARGV[2]) { die "Usage: gapi_pp.pl | gapi2xml.pl \n"; } $ns = $ARGV[0]; $libname = $ARGV[2]; # Used by name mangling sub %num2txt = ('1', "One", '2', "Two", '3', "Three", '4', "Four", '5', "Five", '6', "Six", '7', "Seven", '8', "Eight", '9', "Nine", '0', "Zero"); ############################################################## # Check if the filename provided exists. We parse existing files into # a tree and append the namespace to the root node. If the file doesn't # exist, we create a doc tree and root node to work with. ############################################################## if (-e $ARGV[1]) { #parse existing file and get root node. $doc = XML::LibXML->new->parse_file($ARGV[1]); $root = $doc->getDocumentElement(); if ($root->getAttribute ('parser_version') != $parser_version) { die "The version of the file does not match the version of the parser"; } } else { $doc = XML::LibXML::Document->new(); $root = $doc->createElement('api'); $root->setAttribute('parser_version', $parser_version); $doc->setDocumentElement($root); $warning_node = XML::LibXML::Comment->new ("\n\n This file was automatically generated.\n Please DO NOT MODIFY THIS FILE, modify .metadata files instead.\n\n"); $root->appendChild($warning_node); } $ns_elem = $doc->createElement('namespace'); $ns_elem->setAttribute('name', $ns); $ns_elem->setAttribute('library', $libname); $root->appendChild($ns_elem); ############################################################## # First we parse the input for typedefs, structs, enums, and class_init funcs # and put them into temporary hashes. ############################################################## while ($line = ) { if ($line =~ /typedef\s+(struct\s+\w+\s+)\*+(\w+);/) { $ptrs{$2} = $1; } elsif ($line =~ /typedef\s+(struct\s+\w+)\s+(\w+);/) { next if ($2 =~ /Private$/); # fixme: siiigh $2 = "GdkDrawable" if ($1 eq "_GdkDrawable"); $types{$2} = $1; } elsif ($line =~ /typedef\s+struct/) { $sdef = $line; while ($line = ) { $sdef .= $line; last if ($line =~ /^(deprecated)?}/); } $sdef =~ s!/\*.*?(\*/|\n)!!g; $sdef =~ s/\n\s*//g; $types{$1} = $sdef if ($sdef =~ /.*\}\s*(\w+);/); } elsif ($line =~ /typedef\s+(unsigned\s+\w+)\s+(\**)(\w+);/) { $types{$3} = $1 . $2; } elsif ($line =~ /typedef\s+(\w+)\s+(\**)(\w+);/) { $types{$3} = $1 . $2; } elsif ($line =~ /typedef\s+enum\s+(\w+)\s+(\w+);/) { $etypes{$1} = $2; } elsif ($line =~ /^((deprecated)?typedef\s+)?\benum\b/) { $edef = $line; while ($line = ) { $edef .= $line; last if ($line =~ /^(deprecated)?}\s*(\w+)?;/); } $edef =~ s/\n\s*//g; $edef =~ s|/\*.*?\*/||g; if ($edef =~ /typedef.*}\s*(\w+);/) { $ename = $1; } elsif ($edef =~ /^(deprecated)?enum\s+(\w+)\s*{/) { $ename = $2; } else { print "Unexpected enum format\n$edef"; next; } $edefs{$ename} = $edef; } elsif ($line =~ /typedef\s+\w+\s*\**\s*\(\*\s*(\w+)\)\s*\(/) { $fname = $1; $fdef = ""; while ($line !~ /;/) { $fdef .= $line; $line = ; } $fdef .= $line; $fdef =~ s/\n\s+//g; $fpdefs{$fname} = $fdef; } elsif ($line =~ /^(private|deprecated)?struct\s+(\w+)/) { next if ($line =~ /;/); $sname = $2; $sdef = $line; while ($line = ) { $sdef .= $line; last if ($line =~ /^(deprecated)?}/); } $sdef =~ s!/\*[^<].*?(\*/|\n)!!g; $sdef =~ s/\n\s*//g; $sdefs{$sname} = $sdef if (!exists ($sdefs{$sname})); } elsif ($line =~ /^(\w+)_(class|base)_init\b/) { $class = StudlyCaps($1); $pedef = $line; while ($line = ) { $pedef .= $line; last if ($line =~ /^(deprecated)?}/); } $pedefs{lc($class)} = $pedef; } elsif ($line =~ /^(\w+)_get_type\b/) { $class = StudlyCaps($1); $pedef = $line; while ($line = ) { $pedef .= $line; if ($line =~ /g_boxed_type_register_static/) { $boxdef = $line; while ($line !~ /;/) { $boxdef .= ($line = ); } $boxdef =~ s/\n\s*//g; $boxdef =~ /\(\"(\w+)\"/; my $boxtype = $1; $boxtype =~ s/($ns)Type(\w+)/$ns$2/; $boxdefs{$boxtype} = $boxdef; } elsif ($line =~ /g_(enum|flags)_register_static/) { $pedef =~ /^(\w+_get_type)/; $enum_gtype{$class} = $1; } last if ($line =~ /^(deprecated)?}/); } $typefuncs{lc($class)} = $pedef; } elsif ($line =~ /^G_DEFINE_TYPE_WITH_CODE\s*\(\s*(\w+)/) { $typefuncs{lc($1)} = $line; } elsif ($line =~ /^(deprecated)?(const|G_CONST_RETURN)?\s*(struct\s+)?\w+\s*\**(\s*(const|G_CONST_RETURN)\s*\**)?\s*(\w+)\s*\(/) { $fname = $6; $fdef = ""; while ($line !~ /;/) { $fdef .= $line; $line = ; } $fdef .= $line; $fdef =~ s/\n\s*//g; if ($fdef !~ /^_/) { $fdefs{$fname} = $fdef; } } elsif ($line =~ /CHECK_(\w*)CAST/) { $cast_macro = $line; while ($line =~ /\\$/) { $line = ; $cast_macro .= $line; } $cast_macro =~ s/\\\n\s*//g; $cast_macro =~ s/\s+/ /g; if ($cast_macro =~ /G_TYPE_CHECK_(\w+)_CAST.*,\s*(\w+),\s*(\w+)\)/) { if ($1 eq "INSTANCE") { $objects{$2} = $3 . $objects{$2}; } else { $objects{$2} .= ":$3"; } } elsif ($cast_macro =~ /G_TYPE_CHECK_(\w+)_CAST.*,\s*([a-zA-Z0-9]+)_(\w+)_get_type\s*\(\),\s*(\w+)\)/) { $typename = uc ("$2_type_$3"); if ($1 eq "INSTANCE") { $objects{$typename} = $4 . $objects{$typename}; } else { $objects{$typename} .= ":$4"; } } elsif ($cast_macro =~ /GTK_CHECK_CAST.*,\s*(\w+),\s*(\w+)/) { $objects{$1} = $2 . $objects{$1}; } elsif ($cast_macro =~ /GTK_CHECK_CLASS_CAST.*,\s*(\w+),\s*(\w+)/) { $objects{$1} .= ":$2"; } elsif ($cast_macro =~ /GST_IMPLEMENTS_INTERFACE_CHECK_INSTANCE_CAST.*,\s*(\w+),\s*(\w+)/) { $objects{$1} = $2 . $objects{$1}; } } elsif ($line =~ /INSTANCE_GET_INTERFACE.*,\s*(\w+),\s*(\w+)/) { $ifaces{$1} = $2; } elsif ($line =~ /^BUILTIN\s*\{\s*\"(\w+)\".*GTK_TYPE_BOXED/) { $boxdefs{$1} = $line; } elsif ($line =~ /^BUILTIN\s*\{\s*\"(\w+)\".*GTK_TYPE_(ENUM|FLAGS)/) { # ignoring these for now. } elsif ($line =~ /^(deprecated)?\#define/) { my $test_ns = uc ($ns); if ($line =~ /^deprecated\#define\s+(\w+)\s+\"(.*)\"/) { $defines{"deprecated$1"} = $2; } elsif ($line =~ /\#define\s+(\w+)\s+\"(.*)\"/) { $defines{$1} = $2; } } elsif ($line !~ /\/\*/) { print $line; } } ############################################################## # Produce the enum definitions. ############################################################## %enums = (); foreach $cname (sort(keys(%edefs))) { $ecnt++; $def = $edefs{$cname}; $cname = $etypes{$cname} if (exists($etypes{$cname})); $enums{lc($cname)} = $cname; $enum_elem = addNameElem($ns_elem, 'enum', $cname, $ns); if ($def =~ /^deprecated/) { $enum_elem->setAttribute("deprecated", "1"); $def =~ s/deprecated//g; } if ($enum_gtype{$cname}) { $enum_elem->setAttribute("gtype", $enum_gtype{$cname}); } if ($def =~ /<setAttribute('type', "flags"); } else { $enum_elem->setAttribute('type', "enum"); } $def =~ /\{(.*\S)\s*\}/; @vals = split(/,\s*/, $1); $vals[0] =~ s/^\s+//; @nameandval = split(/=/, $vals[0]); @v0 = split(/_/, $nameandval[0]); if (@vals > 1) { $done = 0; for ($idx = 0, $regex = ""; $idx < @v0; $idx++) { $regex .= ($v0[$idx] . "_"); foreach $val (@vals) { $done = 1 if ($val !~ /$regex/); } last if $done; } $common = join("_", @v0[0..$idx-1]); } else { $common = join("_", @v0[0..$#v0-1]); } foreach $val (@vals) { $val =~ s/=\s*\(\s*(.*\S)\s*\)\s*/= \1/; if ($val =~ /$common\_?(\w+)\s*=\s*(.*)$/) { $name = $1; $enumval = $2; if ($enumval =~ /^(\d+|0x[0-9A-Fa-f]+)u?\s*<<\s*(\d+)$/) { $enumval = "$1 << $2"; } elsif ($enumval =~ /^$common\_?(\w+)$/) { $enumval = StudlyCaps(lc($1)) } } elsif ($val =~ /$common\_?(\w+)/) { $name = $1; $enumval = ""; } else { die "Unexpected enum value: $val for common value $common\n"; } $val_elem = addNameElem($enum_elem, 'member'); $val_elem->setAttribute('cname', "$common\_$name"); $val_elem->setAttribute('name', StudlyCaps(lc($name))); if ($enumval) { $val_elem->setAttribute('value', $enumval); } } } ############################################################## # Parse the callbacks. ############################################################## foreach $cbname (sort(keys(%fpdefs))) { next if ($cbname =~ /^_/); $cbcnt++; $fdef = $cb = $fpdefs{$cbname}; $cb_elem = addNameElem($ns_elem, 'callback', $cbname, $ns); $cb =~ /typedef\s+(.*)\(.*\).*\((.*)\);/; $ret = $1; $params = $2; addReturnElem($cb_elem, $ret); if ($params && ($params ne "void")) { addParamsElem($cb_elem, split(/,/, $params)); } } ############################################################## # Parse the interfaces list. ############################################################## foreach $type (sort(keys(%ifaces))) { $iface = $ifaces{$type}; ($inst, $dontcare) = split(/:/, delete $objects{$type}); $initfunc = $pedefs{lc($inst)}; $ifacetype = delete $types{$iface}; delete $types{$inst}; $ifacecnt++; $iface_el = addNameElem($ns_elem, 'interface', $inst, $ns); $elem_table{lc($inst)} = $iface_el; $classdef = $sdefs{$1} if ($ifacetype =~ /struct\s+(\w+)/); my @signal_vms; if ($initfunc) { @signal_vms = parseInitFunc($iface_el, $initfunc, $classdef); } else { warn "Don't have an init func for $inst.\n" if $debug; # my @signal_vms; } addClassElem ($iface_el, $classdef, @signal_vms) if ($classdef); } ############################################################## # Parse the classes by walking the objects list. ############################################################## foreach $type (sort(keys(%objects))) { ($inst, $class) = split(/:/, $objects{$type}); $class = $inst . "Class" if (!$class); $initfunc = $pedefs{lc($inst)}; $typefunc = $typefuncs{lc($inst)}; $insttype = delete $types{$inst}; $classtype = delete $types{$class}; $instdef = $classdef = ""; $instdef = $sdefs{$1} if ($insttype =~ /struct\s+(\w+)/); $classdef = $sdefs{$1} if ($classtype =~ /struct\s+(\w+)/); $classdef =~ s/deprecated//g; $instdef =~ s/\s+(\*+)([^\/])/\1 \2/g; warn "Strange Class $inst\n" if (!$instdef && $debug); $classcnt++; $obj_el = addNameElem($ns_elem, 'object', $inst, $ns); $elem_table{lc($inst)} = $obj_el; # Check if the object is deprecated if ($instdef =~ /^deprecatedstruct/) { $obj_el->setAttribute("deprecated", "1"); $instdef =~ s/deprecated//g; } # Extract parent and fields from the struct if ($instdef =~ /^struct/) { $instdef =~ /\{(.*)\}/; $fieldstr = $1; $fieldstr =~ s|/\*[^<].*?\*/||g; @fields = split(/;/, $fieldstr); addFieldElems($obj_el, 'private', @fields); $obj_el->setAttribute('parent', $obj_el->firstChild->getAttribute('type')); $obj_el->removeChild($obj_el->firstChild); } elsif ($instdef =~ /privatestruct/) { # just get the parent for private structs $instdef =~ /\{\s*(\w+)/; $obj_el->setAttribute('parent', "$1"); } # Get the props from the class_init func. if ($initfunc) { @signal_vms = parseInitFunc($obj_el, $initfunc, $classdef); } else { warn "Don't have an init func for $inst.\n" if $debug; } addClassElem ($obj_el, $classdef, @signal_vms) if ($classdef); # Get the interfaces from the class_init func. if ($typefunc) { if ($typefunc =~ /G_DEFINE_TYPE_WITH_CODE/) { parseTypeFuncMacro($obj_el, $typefunc); } else { parseTypeFunc($obj_el, $typefunc); } } else { warn "Don't have a GetType func for $inst.\n" if $debug; } } ############################################################## # Parse the remaining types. ############################################################## foreach $key (sort (keys (%types))) { $lasttype = $type = $key; while ($type && ($types{$type} !~ /struct/)) { $lasttype = $type; $type = $types{$type}; } if ($types{$type} =~ /struct\s+(\w+)/) { $type = $1; if (exists($sdefs{$type})) { $def = $sdefs{$type}; } else { $def = "privatestruct"; } } elsif ($types{$type} =~ /struct/ && $type =~ /^$ns/) { $def = $types{$type}; } else { $elem = addNameElem($ns_elem, 'alias', $key, $ns); $elem->setAttribute('type', $lasttype); warn "alias $key to $lasttype\n" if $debug; next; } # fixme: hack if ($key eq "GdkBitmap") { $struct_el = addNameElem($ns_elem, 'object', $key, $ns); } elsif (exists($boxdefs{$key})) { $struct_el = addNameElem($ns_elem, 'boxed', $key, $ns); } else { $struct_el = addNameElem($ns_elem, 'struct', $key, $ns); } if ($def =~ /^deprecated/) { $struct_el->setAttribute("deprecated", "1"); $def =~ s/deprecated//g; } $elem_table{lc($key)} = $struct_el; $def =~ s/\s+/ /g; if ($def =~ /privatestruct/) { $struct_el->setAttribute('opaque', 'true'); } else { $def =~ /\{(.+)\}/; addFieldElems($struct_el, 'public', split(/;/, $1)); } } # really, _really_ opaque structs that aren't even defined in sources. Lovely. foreach $key (sort (keys (%ptrs))) { next if $ptrs{$key} !~ /struct\s+(\w+)/; $type = $1; $struct_el = addNameElem ($ns_elem, 'struct', $key, $ns); $struct_el->setAttribute('opaque', 'true'); $elem_table{lc($key)} = $struct_el; } addFuncElems(); addStaticFuncElems(); # This should probably be done in a more generic way foreach $define (sort (keys (%defines))) { next if $define !~ /[A-Z]_STOCK_/; if ($stocks{$ns}) { $stock_el = $stocks{$ns}; } else { $stock_el = addNameElem($ns_elem, "object", $ns . "Stock", $ns); $stocks{$ns} = $stock_el; } $string_el = addNameElem ($stock_el, "static-string", $define); $string_name = lc($define); $string_name =~ s/\w+_stock_//; $string_el->setAttribute('name', StudlyCaps($string_name)); $string_el->setAttribute('value', $defines{$define}); } ############################################################## # Output the tree ############################################################## if ($ARGV[1]) { open(XMLFILE, ">$ARGV[1]") || die "Couldn't open $ARGV[1] for writing.\n"; print XMLFILE $doc->toString(); close(XMLFILE); } else { print $doc->toString(); } ############################################################## # Generate a few stats from the parsed source. ############################################################## $scnt = keys(%sdefs); $fcnt = keys(%fdefs); $tcnt = keys(%types); print "structs: $scnt enums: $ecnt callbacks: $cbcnt\n"; print "funcs: $fcnt types: $tcnt classes: $classcnt\n"; print "props: $propcnt childprops: $childpropcnt signals: $sigcnt\n\n"; sub addClassElem { my ($obj_el, $classdef, @signal_vms) = @_; my %is_signal_vm; for (@signal_vms) { $is_signal_vm{$_} = 1; } if ($classdef =~ /struct\s+_?(\w+)\s*{(.*)};/) { my $elem = $doc->createElement('class_struct'); $elem->setAttribute('cname', $1); $obj_el->insertBefore($elem, $obj_el->firstChild); $fields = $2; $fields =~ s!/\*.*?\*/!!g; # Remove comments foreach $field (split (/;/, $fields)) { if ($field =~ /\s*(G_CONST_RETURN\s+)?(\S+\s*\**)\s*\(\s*\*\s*(\w+)\)\s*(\((.*?)\))?/) { $ret = $1 . $2; $cname = $3; $parms = $5; $class_elem = $doc->createElement('method'); $elem->appendChild($class_elem); if ($is_signal_vm{$cname}) { $class_elem->setAttribute('signal_vm', $cname); } else { $class_elem->setAttribute('vm', $cname); $vm_elem = $doc->createElement('virtual_method'); $obj_el->appendChild($vm_elem); $vm_elem->setAttribute('name', StudlyCaps($cname)); $vm_elem->setAttribute('cname', $cname); addReturnElem($vm_elem, $ret); if ($parms && ($parms ne "void")) { # if there are any parameters @parm_arr = split(/,/, $parms); $parms =~ /\s*(\w+)/; # Get type of first parameter if ($1 ne $obj_el->getAttribute ('cname')) { $vm_elem->setAttribute('shared', 'true'); # First parameter is not of the type of the declaring class -> static vm } else { ($dump, @parm_arr) = @parm_arr; } addParamsElem($vm_elem, @parm_arr); } else { $vm_elem->setAttribute('shared', 'true'); } if ($cname =~ /reserved[0-9]+$/ || $cname =~ /padding[0-9]+$/ || $cname =~ /recent[0-9]+$/) { $vm_elem->setAttribute('padding', 'true'); } } } elsif ($field =~ /(unsigned\s+)?(\S+)\s+(.+)/) { my $type = $1 . $2; $symb = $3; foreach $tok (split (/,\s*/, $symb)) { # multiple field defs may occur in one line; like int xrange, yrange; $tok =~ /(\*)?(\w+)\s*(.*)/; my $field_type = $type . $1; my $cname = $2; my $modifiers = $3; $fld_elem = addNameElem($elem, 'field', $cname, ""); $fld_elem->setAttribute('type', "$field_type"); if ($modifiers =~ /\[(.*)\]/) { $fld_elem->setAttribute('array_len', "$1"); } elsif ($modifiers =~ /\:\s*(\d+)/) { $fld_elem->setAttribute('bits', "$1"); } } } elsif ($field =~ /\S+/) { print "***** Unmatched class struct field $field\n"; } } } else { print "***** Unmatched $classdef\n"; } } sub addFieldElems { my ($parent, $defaultaccess, @fields) = @_; my $access = $defaultaccess; foreach $field (@fields) { if ($field =~ m!/\*< (public|private) >.*\*/(.*)$!) { $access = $1; $field = $2; } next if ($field !~ /\S/); $field =~ s/GSEAL\s*\((.*)\)/\1/g; $field =~ s/\s+(\*+)/\1 /g; $field =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g; $field =~ s/(\w+)\s+const\s*\*/const \1\*/g; $field =~ s/const /const\-/g; $field =~ s/struct /struct\-/g; $field =~ s/.*\*\///g; next if ($field !~ /\S/); if ($field =~ /(\S+\s+\*?)\(\*\s*(.+)\)\s*\((.*)\)/) { $elem = addNameElem($parent, 'callback', $2); addReturnElem($elem, $1); addParamsElem($elem, $3); } elsif ($field =~ /(unsigned )?(\S+)\s+(.+)/) { my $type = $1 . $2; $symb = $3; foreach $tok (split (/,\s*/, $symb)) { if ($tok =~ /(\w+)\s*\[(.*)\]/) { $elem = addNameElem($parent, 'field', $1, ""); $elem->setAttribute('array_len', "$2"); } elsif ($tok =~ /(\w+)\s*\:\s*(\d+)/) { $elem = addNameElem($parent, 'field', $1, ""); $elem->setAttribute('bits', "$2"); } else { $elem = addNameElem($parent, 'field', $tok, ""); } $elem->setAttribute('type', "$type"); if ($access ne $defaultaccess) { $elem->setAttribute('access', "$access"); } } } else { die "$field\n"; } } } sub addFuncElems { my ($obj_el, $inst, $prefix); $fcnt = keys(%fdefs); foreach $mname (sort (keys (%fdefs))) { next if ($mname =~ /^_/); $obj_el = ""; $prefix = $mname; $prepend = undef; while ($prefix =~ /(\w+)_/) { $prefix = $key = $1; $key =~ s/_//g; # FIXME: lame Gdk API hack if ($key eq "gdkdraw") { $key = "gdkdrawable"; $prepend = "draw_"; } if (exists ($elem_table{$key})) { $prefix .= "_"; $obj_el = $elem_table{$key}; $inst = $key; last; } elsif (exists ($enums{$key}) && ($mname =~ /_get_type/)) { delete $fdefs{$mname}; last; } } next if (!$obj_el); $mdef = delete $fdefs{$mname}; if ($mname =~ /$prefix(new)/) { $el = addNameElem($obj_el, 'constructor', $mname); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $drop_1st = 0; } else { $el = addNameElem($obj_el, 'method', $mname, $prefix, $prepend); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $mdef =~ /(.*?)\w+\s*\(/; addReturnElem($el, $1); $mdef =~ /\(\s*(const)?\s*(\w+)/; if (lc($2) ne $inst) { $el->setAttribute("shared", "true"); $drop_1st = 0; } else { $drop_1st = 1; } } parseParms ($el, $mdef, $drop_1st); # Don't add "free" to this regexp; that will wrongly catch all boxed types if ($mname =~ /$prefix(new|destroy|ref|unref)/ && ($obj_el->nodeName eq "boxed" || $obj_el->nodeName eq "struct") && $obj_el->getAttribute("opaque") ne "true") { $obj_el->setAttribute("opaque", "true"); for my $field ($obj_el->getElementsByTagName("field")) { if (!$field->getAttribute("access")) { $field->setAttribute("access", "public"); $field->setAttribute("writeable", "true"); } } } } } sub parseParms { my ($el, $mdef, $drop_1st) = @_; $fmt_args = 0; if ($mdef =~ /G_GNUC_PRINTF.*\((\d+,\s*\d+)\s*\)/) { $fmt_args = $1; $mdef =~ s/\s*G_GNUC_PRINTF.*\)//; } if (($mdef =~ /\((.*)\)/) && ($1 ne "void")) { @parms = (); $parm = ""; $pcnt = 0; foreach $char (split(//, $1)) { if ($char eq "(") { $pcnt++; } elsif ($char eq ")") { $pcnt--; } elsif (($pcnt == 0) && ($char eq ",")) { @parms = (@parms, $parm); $parm = ""; next; } $parm .= $char; } if ($parm) { @parms = (@parms, $parm); } # @parms = split(/,/, $1); ($dump, @parms) = @parms if $drop_1st; if (@parms > 0) { addParamsElem($el, @parms); } if ($fmt_args != 0) { $fmt_args =~ /(\d+),\s*(\d+)/; $fmt = $1; $args = $2; ($params_el, @junk) = $el->getElementsByTagName ("parameters"); (@params) = $params_el->getElementsByTagName ("parameter"); $offset = 1 + $drop_1st; $params[$fmt-$offset]->setAttribute ("printf_format", "true"); $params[$args-$offset]->setAttribute ("printf_format_args", "true"); } } } sub addStaticFuncElems { my ($global_el, $ns_prefix); @mnames = sort (keys (%fdefs)); $mcount = @mnames; return if ($mcount == 0); $ns_prefix = ""; $global_el = ""; for ($i = 0; $i < $mcount; $i++) { $mname = $mnames[$i]; $prefix = $mname; next if ($prefix =~ /^_/); if ($ns_prefix eq "") { my (@toks) = split(/_/, $prefix); for ($j = 0; $j < @toks; $j++) { if (join ("", @toks[0 .. $j]) eq lc($ns)) { $ns_prefix = join ("_", @toks[0 .. $j]); last; } } next if ($ns_prefix eq ""); } next if ($mname !~ /^$ns_prefix/); if ($mname =~ /($ns_prefix)_([a-zA-Z]+)_\w+/) { $classname = $2; $key = $prefix = $1 . "_" . $2 . "_"; $key =~ s/_//g; $cnt = 1; if (exists ($enums{$key})) { $cnt = 1; } elsif ($classname ne "set" && $classname ne "get" && $classname ne "scan" && $classname ne "find" && $classname ne "add" && $classname ne "remove" && $classname ne "free" && $classname ne "register" && $classname ne "execute" && $classname ne "show" && $classname ne "parse" && $classname ne "paint" && $classname ne "string") { while ($mnames[$i+$cnt] =~ /$prefix/) { $cnt++; } } if ($cnt == 1) { $mdef = delete $fdefs{$mname}; if (!$global_el) { $global_el = $doc->createElement('class'); $global_el->setAttribute('name', "Global"); $global_el->setAttribute('cname', $ns . "Global"); $ns_elem->appendChild($global_el); } $el = addNameElem($global_el, 'method', $mname, $ns_prefix); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $mdef =~ /(.*?)\w+\s*\(/; addReturnElem($el, $1); $el->setAttribute("shared", "true"); parseParms ($el, $mdef, 0); next; } else { $class_el = $doc->createElement('class'); $class_el->setAttribute('name', StudlyCaps($classname)); $class_el->setAttribute('cname', StudlyCaps($prefix)); $ns_elem->appendChild($class_el); for ($j = 0; $j < $cnt; $j++) { $mdef = delete $fdefs{$mnames[$i+$j]}; $el = addNameElem($class_el, 'method', $mnames[$i+$j], $prefix); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $mdef =~ /(.*?)\w+\s*\(/; addReturnElem($el, $1); $el->setAttribute("shared", "true"); parseParms ($el, $mdef, 0); } $i += ($cnt - 1); next; } } } } sub addNameElem { my ($node, $type, $cname, $prefix, $prepend) = @_; my $elem = $doc->createElement($type); $node->appendChild($elem); if (defined $prefix) { my $match; if ($cname =~ /$prefix(\w+)/) { $match = $1; } else { $match = $cname; } if ($prepend) { $name = $prepend . $match; } else { $name = $match; } $elem->setAttribute('name', StudlyCaps($name)); } if ($cname) { $elem->setAttribute('cname', $cname); } return $elem; } sub addParamsElem { my ($parent, @params) = @_; my $parms_elem = $doc->createElement('parameters'); $parent->appendChild($parms_elem); my $parm_num = 0; foreach $parm (@params) { $parm_num++; $parm =~ s/\s+(\*+)/\1 /g; my $out = $parm =~ s/G_CONST_RETURN/const/g; $parm =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g; $parm =~ s/(\*+)\s*const\s+/\1 /g; $parm =~ s/(\w+)\s+const\s*\*/const \1\*/g; $parm =~ s/const\s+/const-/g; $parm =~ s/unsigned\s+/unsigned-/g; if ($parm =~ /(.*)\(\s*\**\s*(\w+)\)\s+\((.*)\)/) { my $ret = $1; my $cbn = $2; my $params = $3; my $type = $parent->getAttribute('name') . StudlyCaps($cbn); $cb_elem = addNameElem($ns_elem, 'callback', $type, $ns); addReturnElem($cb_elem, $ret); if ($params && ($params ne "void")) { addParamsElem($cb_elem, split(/,/, $params)); my $data_parm = $cb_elem->lastChild()->lastChild(); if ($data_parm && $data_parm->getAttribute('type') eq "gpointer") { $data_parm->setAttribute('name', 'data'); } } $parm_elem = $doc->createElement('parameter'); $parm_elem->setAttribute('type', $type); $parm_elem->setAttribute('name', $cbn); $parms_elem->appendChild($parm_elem); next; } elsif ($parm =~ /\.\.\./) { $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); $parm_elem->setAttribute('ellipsis', 'true'); next; } $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); my $name = ""; if ($parm =~ /struct\s+(\S+)\s+(\S+)/) { $parm_elem->setAttribute('type', $1); $name = $2; }elsif ($parm =~ /(unsigned )?(\S+)\s+(\S+)/) { $parm_elem->setAttribute('type', $1 . $2); $name = $3; } elsif ($parm =~ /(\w+\*)(\w+)/) { $parm_elem->setAttribute('type', $1); $name = $2; } elsif ($parm =~ /(\S+)/) { $parm_elem->setAttribute('type', $1); $name = "arg" . $parm_num; } if ($name =~ /(\w+)\[.*\]/) { $name = $1; $parm_elem->setAttribute('array', "true"); } if ($out) { $parm_elem->setAttribute('pass_as', "out"); } $parm_elem->setAttribute('name', $name); } } sub addReturnElem { my ($parent, $ret) = @_; $ret =~ s/(\w+)\s+const\s*\*/const \1\*/g; $ret =~ s/const|G_CONST_RETURN/const-/g; $ret =~ s/\s+//g; $ret =~ s/(const-)?(\w+)\*(const-)\*/const-\2\*\*/g; my $ret_elem = $doc->createElement('return-type'); $parent->appendChild($ret_elem); $ret_elem->setAttribute('type', $ret); if ($parent->getAttribute('name') eq "Copy" && $ret =~ /\*$/) { $ret_elem->setAttribute('owned', 'true'); } return $ret_elem; } sub addPropElem { my ($spec, $node, $is_child) = @_; my ($name, $mode, $docs); $spec =~ /g_param_spec_(\w+)\s*\((.*)\s*\)\s*\)/; my $type = $1; my @params = split(/,/, $2); $name = $params[0]; if ($defines{$name}) { $name = $defines{$name}; } else { $name =~ s/\s*\"//g; } $mode = $params[$#params]; if ($type =~ /boolean|float|double|^u?int|pointer|unichar/) { $type = "g$type"; } elsif ($type =~ /string/) { $type = "gchar*"; } elsif ($type =~ /boxed|object/) { $type = $params[$#params-1]; $type =~ s/TYPE_//; $type =~ s/\s+//g; $type = StudlyCaps(lc($type)); } elsif ($type =~ /enum|flags/) { $type = $params[$#params-2]; $type =~ s/TYPE_//; $type =~ s/\s+//g; $type = StudlyCaps(lc($type)); } $prop_elem = $doc->createElement($is_child ? "childprop" : "property"); $node->appendChild($prop_elem); $prop_elem->setAttribute('name', StudlyCaps($name)); $prop_elem->setAttribute('cname', $name); $prop_elem->setAttribute('type', $type); $prop_elem->setAttribute('readable', "true") if ($mode =~ /READ/); $prop_elem->setAttribute('writeable', "true") if ($mode =~ /WRIT/); $prop_elem->setAttribute('construct', "true") if ($mode =~ /CONSTRUCT(?!_)/); $prop_elem->setAttribute('construct-only', "true") if ($mode =~ /CONSTRUCT_ONLY/); } sub parseTypeToken { my ($tok) = @_; if ($tok =~ /G_TYPE_(\w+)/) { my $type = $1; if ($type eq "NONE") { return "void"; } elsif ($type eq "INT") { return "gint32"; } elsif ($type eq "UINT") { return "guint32"; } elsif ($type eq "ENUM" || $type eq "FLAGS") { return "gint32"; } elsif ($type eq "STRING") { return "gchar*"; } elsif ($type eq "OBJECT") { return "GObject*"; } else { return "g" . lc ($type); } } else { $tok =~ s/_TYPE//; $tok =~ s/\|.*STATIC_SCOPE//; $tok =~ s/\W+//g; return StudlyCaps (lc($tok)); } } sub addSignalElem { my ($spec, $class, $node) = @_; $spec =~ s/\n\s*//g; $class =~ s/\n\s*//g; $sig_elem = $doc->createElement('signal'); $node->appendChild($sig_elem); if ($spec =~ /\(\"([\w\-]+)\"/) { $sig_elem->setAttribute('name', StudlyCaps($1)); $sig_elem->setAttribute('cname', $1); } $sig_elem->setAttribute('when', $1) if ($spec =~ /_RUN_(\w+)/); $sig_elem->setAttribute('manual', 'true') if ($spec =~ /G_TYPE_POINTER/); if ($spec =~ /_OFFSET\s*\(\w+,\s*(\w+)\)/) { my $method = $1; $sig_elem->setAttribute('field_name', $method); if ($class =~ /;\s*(\/\*< (public|protected|private) >\s*\*\/)?(G_CONST_RETURN\s+)?(\w+\s*\**)\s*\(\s*\*\s*$method\)\s*\((.*?)\);/) { $ret = $4; $parms = $5; addReturnElem($sig_elem, $ret); if ($parms && ($parms ne "void")) { my ($dump, @parm_arr) = split (/,/, $parms); addParamsElem($sig_elem, @parm_arr); } return $method; } else { die "ERROR: Failed to parse method $method from class definition:\n$class"; } } else { @args = split(/,/, $spec); my $rettype = parseTypeToken ($args[7]); addReturnElem($sig_elem, $rettype); $parmcnt = $args[8]; $parmcnt =~ s/.*(\d+).*/\1/; $parms_elem = $doc->createElement('parameters'); $sig_elem->appendChild($parms_elem); for (my $idx = 0; $idx < $parmcnt; $idx++) { my $argtype = parseTypeToken ($args[9+$idx]); $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); $parm_elem->setAttribute('name', "p$idx"); $parm_elem->setAttribute('type', $argtype); } return ""; } } sub addImplementsElem { my ($spec, $node) = @_; $spec =~ s/\n\s*//g; if ($spec =~ /,\s*(\w+)_TYPE_(\w+),/) { $impl_elem = $doc->createElement('interface'); $name = StudlyCaps (lc ("$1_$2")); $impl_elem->setAttribute ("cname", "$name"); $node->appendChild($impl_elem); } } sub parseInitFunc { my ($obj_el, $initfunc, $classdef) = @_; my @init_lines = split (/\n/, $initfunc); my @signal_vms = (); my $linenum = 0; while ($linenum < @init_lines) { my $line = $init_lines[$linenum]; if ($line =~ /#define/) { # FIXME: This ignores the bool helper macro thingie. } elsif ($line =~ /g_object_(class|interface)_install_prop/) { my $prop = $line; while ($prop !~ /\)\s*;/) { $prop .= $init_lines[++$linenum]; } addPropElem ($prop, $obj_el, 0); $propcnt++; } elsif ($line =~ /gtk_container_class_install_child_property/) { my $prop = $line; do { $prop .= $init_lines[++$linenum]; } until ($init_lines[$linenum] =~ /\)\s*;/); addPropElem ($prop, $obj_el, 1); $childpropcnt++; } elsif ($line =~ /\bg.*_signal_new/) { my $sig = $line; do { $sig .= $init_lines[++$linenum]; } until ($init_lines[$linenum] =~ /;/); $signal_vm = addSignalElem ($sig, $classdef, $obj_el); push (@signal_vms, $signal_vm) if $signal_vm; $sigcnt++; } $linenum++; } return @signal_vms; } sub parseTypeFuncMacro { my ($obj_el, $typefunc) = @_; $impls_node = undef; while ($typefunc =~ /G_IMPLEMENT_INTERFACE\s*\(\s*(\w+)/) { $iface = $1; if (not $impls_node) { $impls_node = $doc->createElement ("implements"); $obj_el->appendChild ($impls_node); } addImplementsElem ($prop, $impl_node); if ($iface =~ /(\w+)_TYPE_(\w+)/) { $impl_elem = $doc->createElement('interface'); $name = StudlyCaps (lc ("$1_$2")); $impl_elem->setAttribute ("cname", "$name"); $impls_node->appendChild($impl_elem); } $typefunc =~ s/G_IMPLEMENT_INTERFACE\s*\(.*?\)//; } } sub parseTypeFunc { my ($obj_el, $typefunc) = @_; my @type_lines = split (/\n/, $typefunc); my $linenum = 0; $impl_node = undef; while ($linenum < @type_lines) { my $line = $type_lines[$linenum]; if ($line =~ /#define/) { # FIXME: This ignores the bool helper macro thingie. } elsif ($line =~ /g_type_add_interface_static/) { my $prop = $line; do { $prop .= $type_lines[++$linenum]; } until ($type_lines[$linenum] =~ /;/); if (not $impl_node) { $impl_node = $doc->createElement ("implements"); $obj_el->appendChild ($impl_node); } addImplementsElem ($prop, $impl_node); } $linenum++; } } ############################################################## # Converts a dash or underscore separated name to StudlyCaps. ############################################################## sub StudlyCaps { my ($symb) = @_; $symb =~ s/^([a-z])/\u\1/; $symb =~ s/^(\d)/\1_/; $symb =~ s/[-_]([a-z])/\u\1/g; $symb =~ s/[-_](\d)/\1/g; $symb =~ s/^2/Two/; $symb =~ s/^3/Three/; return $symb; } clutter-sharp-1.0.0alpha3/gapi/parser/gapi-parser.cs0000644000175000017500000001262511506367775024132 0ustar00hyperairhyperair00000000000000// gapi-parser.cs - parsing driver application. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Parsing { using System; using System.Collections; using System.IO; using System.Runtime.InteropServices; using System.Xml; public class Parser { [DllImport ("libc")] static extern int system (string command); public static int Main (string[] args) { if (args.Length < 1) { Console.WriteLine ("Usage: gapi2-parser "); return 0; } XmlDocument src_doc = new XmlDocument (); string input_path = null; string pl_path = null; if (args.Length > 1) { pl_path = args[0]; input_path = args[1]; } else { input_path = args[0]; } try { using (Stream stream = File.OpenRead (input_path)) src_doc.Load (stream); } catch (XmlException e) { Console.WriteLine ("Couldn't open source file."); Console.WriteLine (e); return 1; } XmlNode root = src_doc.DocumentElement; if (root.Name != "gapi-parser-input") { Console.WriteLine ("Improperly formatted input file: " + input_path); return 1; } foreach (XmlNode apinode in root.ChildNodes) { if (apinode.Name != "api") continue; string outfile = (apinode as XmlElement).GetAttribute ("filename"); string prefile = outfile + ".pre"; if (File.Exists (prefile)) File.Delete (prefile); foreach (XmlNode libnode in apinode.ChildNodes) { if (libnode.Name != "library") continue; string lib = (libnode as XmlElement).GetAttribute ("name"); foreach (XmlNode nsnode in libnode.ChildNodes) { if (nsnode.Name != "namespace") continue; string ns = (nsnode as XmlElement).GetAttribute ("name"); ArrayList files = new ArrayList (); Hashtable excludes = new Hashtable (); foreach (XmlNode srcnode in nsnode.ChildNodes) { if (!(srcnode is XmlElement)) continue; XmlElement elem = srcnode as XmlElement; switch (srcnode.Name) { case "dir": string dir = elem.InnerXml; Console.Write (" ", dir); DirectoryInfo di = new DirectoryInfo (dir); foreach (FileInfo file in di.GetFiles ("*.c")) files.Add (dir + Path.DirectorySeparatorChar + file.Name); foreach (FileInfo file in di.GetFiles ("*.h")) files.Add (dir + Path.DirectorySeparatorChar + file.Name); break; case "file": string incfile = elem.InnerXml; Console.Write (" ", incfile); files.Add (incfile); break; case "exclude": string excfile = elem.InnerXml; Console.Write (" ", excfile); excludes [excfile] = 1; break; case "directory": string dir_path = elem.GetAttribute ("path"); Console.Write (" "); break; default: Console.WriteLine ("Invalid source: " + srcnode.Name); break; } } Console.WriteLine (); if (files.Count == 0) continue; ArrayList realfiles = new ArrayList (); foreach (string file in files) { string trimfile = file.TrimEnd (); if (excludes.Contains (trimfile)) continue; realfiles.Add (trimfile); } string[] filenames = (string[]) realfiles.ToArray (typeof (string)); string pp_args = String.Join (" ", filenames); system (pl_path + "gapi_pp.pl " + pp_args + " | " + pl_path + "gapi2xml.pl " + ns + " " + prefile + " " + lib); } } XmlDocument final = new XmlDocument (); final.Load (prefile); XmlTextWriter writer = new XmlTextWriter (outfile, null); writer.Formatting = Formatting.Indented; final.Save (writer); File.Delete (prefile); } return 0; } } } clutter-sharp-1.0.0alpha3/gapi/parser/gapi_pp.pl0000755000175000017500000001531311506367775023345 0ustar00hyperairhyperair00000000000000#!/usr/bin/perl # # gapi_pp.pl : A source preprocessor for the extraction of API info from a # C library source directory. # # Authors: Mike Kestner # Martin Willemoes Hansen # # Copyright (c) 2001 Mike Kestner # Copyright (c) 2003 Martin Willemoes Hansen # Copyright (c) 2003-2004 Novell, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. $private_regex = '^#if.*(ENABLE_BACKEND|ENABLE_ENGINE)'; $eatit_regex = '^#if(.*(__cplusplus|DEBUG|DISABLE_COMPAT|ENABLE_BROKEN)|\s+0\s*$)'; $ignoreit_regex = '^\s+\*|#ident|#error|#\s*include|#\s*else|#\s*undef|G_(BEGIN|END)_DECLS|GDKVAR|GTKVAR|GTKMAIN_C_VAR|GTKTYPEUTILS_VAR|VARIABLE|GTKTYPEBUILTIN'; foreach $arg (@ARGV) { if (-d $arg && -e $arg) { @hdrs = (@hdrs, `ls $arg/*.h`); @srcs = (@srcs, `ls $arg/*.c`); } elsif (-f $arg && -e $arg) { @hdrs = (@hdrs, $arg) if ($arg =~ /\.h$/); @srcs = (@srcs, $arg) if ($arg =~ /\.c$/); } else { die "unable to process arg: $arg"; } } foreach $fname (@hdrs) { if ($fname =~ /test|private|internals|gtktextlayout|gtkmarshalers/) { @privhdrs = (@privhdrs, $fname); next; } open(INFILE, $fname) || die "Could open $fname\n"; $braces = 0; $deprecated = -1; $ifdeflevel = 0; $prepend = ""; while ($line = ) { $braces++ if ($line =~ /{/ and $line !~ /}/); $braces-- if ($line =~ /}/ and $line !~ /{/); next if ($line =~ /$ignoreit_regex/); $line =~ s/\/\*[^<].*?\*\///g; next if ($line !~ /\S/); $line = $prepend . $line; $prepend = ""; while ($line =~ /(.*)\\$/) { $line = $1 . ; } if ($line =~ /#\s*define\s+\w+\s+\"/) { $def = $line; while ($def !~ /\".*\"/) {$def .= ($line = );} print $def; } elsif ($line =~ /#\s*define\s+\w+\s*\D+/) { $def = $line; while ($line =~ /\\\n/) {$def .= ($line = );} if ($def =~ /_CHECK_\w*CAST|INSTANCE_GET_INTERFACE/) { $def =~ s/\\\n//g; print $def; } } elsif ($line =~ /^\s*\/\*[^<]/) { while ($line !~ /\*\//) {$line = ;} } elsif ($line =~ /^extern/) { while ($line !~ /;/) {$line = ;} } elsif ($line =~ /^#ifndef\s+\w+_H_*\b/) { while ($line !~ /#define|#endif/) {$line = ;} } elsif ($line =~ /$private_regex/) { $nested = 0; while ($line = ) { last if (!$nested && ($line =~ /#else|#endif/)); if ($line =~ /#if/) { $nested++; } elsif ($line =~ /#endif/) { $nested-- } next if ($line !~ /^struct/); print "private$line"; do { $line = ; print $line; } until ($line =~ /^\}/); } } elsif ($line =~ /$eatit_regex/) { $nested = 0; while ($line = ) { last if (!$nested && ($line =~ /#else|#endif/)); if ($line =~ /#if/) { $nested++; } elsif ($line =~ /#endif/) { $nested-- } } } elsif ($line =~ /^#\s*ifn?\s*\!?def/) { $ifdeflevel++; #print "#ifn?def ($ifdeflevel): $line\n"; if ($line =~ /#ifndef.*DISABLE_DEPRECATED/) { $deprecated = $ifdeflevel; } elsif ($line =~ /#if !defined.*DISABLE_DEPRECATED/) { $deprecated = $ifdeflevel; } } elsif ($line =~ /^#\s*endif/) { #print "#endif ($ifdeflevel): $line\n"; if ($deprecated == $ifdeflevel) { $deprecated = -1; } $ifdeflevel--; } elsif ($line =~ /typedef struct\s*\{?\s*$/) { while ($line !~ /{/) { chomp ($line); $line .= ; } my $first_line = $line; my @lines = (); $line = ; while ($line !~ /^}\s*(\w+);/) { if ($line =~ /\(.*\).*\(/) { while ($line !~ /;/) { chomp ($line); $nxt = ; $nxt =~ s/^\s+/ /; $line .= $nxt; } } push @lines, $line; $line = ; } $line =~ /^}\s*(\w+);/; my $name = $1; print "typedef struct _$name $name;\n"; print "struct _$name {\n"; foreach $line (@lines) { if ($line =~ /(\s*.+\;)/) { $field = $1; $field =~ s/(\w+) const/const $1/; print "$field\n"; } } print "};\n"; } elsif ($line =~ /^enum\s+\{/) { while ($line !~ /^};/) {$line = ;} } elsif ($line =~ /^(typedef\s+)?union/) { next if ($line =~ /^typedef\s+union\s+\w+\s+\w+;/); while ($line !~ /^};/) {$line = ;} } elsif ($line =~ /(\s+)union\s*{/) { # this is a hack for now, but I need it for the fields to work $indent = $1; $do_print = 1; while ($line !~ /^$indent}\s*\w+;/) { $line = ; next if ($line !~ /;/); print $line if $do_print; $do_print = 0; } } else { if ($braces or $line =~ /;|\/\*/) { if ($deprecated == -1) { print $line; } else { print "deprecated$line"; } } else { $prepend = $line; $prepend =~ s/\n/ /g; } } } } foreach $fname (@srcs, @privhdrs) { open(INFILE, $fname) || die "Could open $fname\n"; if ($fname =~ /builtins_ids/) { while ($line = ) { next if ($line !~ /\{/); chomp($line); $builtin = "BUILTIN" . $line; $builtin .= ; print $builtin; } next; } while ($line = ) { next if ($line !~ /^(struct|\w+_class_init|\w+_base_init|\w+_get_type\b|G_DEFINE_TYPE_WITH_CODE)/); if ($line =~ /^G_DEFINE_TYPE_WITH_CODE/) { my $macro; my $parens = 0; do { chomp ($line); $line =~ s/(.*)\\$/\1/; $line =~ s/^\s+(.*)/ \1/; $macro .= $line; foreach $chr (split (//, $line)) { if ($chr eq "(") { $parens++; } elsif ($chr eq ")") { $parens--; } } $line = ; } while ($parens > 0); print "$macro\n"; next if ($line !~ /^(struct|\w+_class_init|\w+_base_init)/); } if ($line =~ /^struct/) { # need some of these to parse out parent types print "private"; if ($line =~ /;/) { print $line; next; } } $comment = 0; $begin = 0; $end = 0; do { # Following ifs strips out // and /* */ C comments if ($line =~ /\/\*/) { $comment = 1; $begin = 1; } if ($comment != 1) { $line =~ s/\/\/.*//; print $line; } if ($line =~ /\*\//) { $comment = 0; $end = 1; } if ($begin == 1 && $end == 1) { $line =~ s/\/\*.*\*\///; print $line; } $begin = 0; $end = 0; } until (($line = ) =~ /^}/); print $line; } } clutter-sharp-1.0.0alpha3/gapi/parser/Makefile.am0000644000175000017500000000064511506367775023424 0ustar00hyperairhyperair00000000000000noinst_SCRIPTS = gapi-fixup.exe gapi-parser.exe sources = \ gapi-fixup.cs \ gapi-parser.cs EXTRA_DIST = \ $(sources) \ gapi_pp.pl \ gapi2xml.pl gapi-fixup.exe: $(srcdir)/gapi-fixup.cs $(MCS) -out:gapi-fixup.exe $(srcdir)/gapi-fixup.cs gapi-parser.exe: $(srcdir)/gapi-parser.cs $(MCS) -out:gapi-parser.exe $(srcdir)/gapi-parser.cs CLEANFILES = gapi-fixup.exe gapi-parser.exe MAINTAINERCLEANFILES = Makefile.in clutter-sharp-1.0.0alpha3/gapi/Makefile.am0000644000175000017500000000007711506367775022127 0ustar00hyperairhyperair00000000000000SUBDIRS = parser generator MAINTAINERCLEANFILES = Makefile.in clutter-sharp-1.0.0alpha3/config.guess0000755000175000017500000012763711506371322021466 0ustar00hyperairhyperair00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. timestamp='2009-12-30' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner. Please send patches (context # diff format) to and include a ChangeLog # entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[456]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-gnu else echo ${UNAME_MACHINE}-unknown-linux-gnueabi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; i*86:Linux:*:*) LIBC=gnu eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; padre:Linux:*:*) echo sparc-unknown-linux-gnu exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in i386) eval $set_cc_for_build if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then UNAME_PROCESSOR="x86_64" fi fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: clutter-sharp-1.0.0alpha3/config.sub0000755000175000017500000010344511506371322021120 0ustar00hyperairhyperair00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. timestamp='2010-01-22' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted GNU ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | ubicom32 \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12 | picochip) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile-* | tilegx-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze) basic_machine=microblaze-xilinx ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; # This must be matched before tile*. tilegx*) basic_machine=tilegx-unknown os=-linux-gnu ;; tile*) basic_machine=tile-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: clutter-sharp-1.0.0alpha3/configure.ac0000644000175000017500000001071211506367775021436 0ustar00hyperairhyperair00000000000000AC_PREREQ(2.52) dnl major.minor follows Clutter API version m4_define([clutter_sharp_version_major], [1]) m4_define([clutter_sharp_version_minor], [0]) dnl micro is specific to clutter-sharp m4_define([clutter_sharp_version_micro], [0]) dnl set to 0 when doing a stable/supported release m4_define([clutter_sharp_version_pre_release], [alpha3]) m4_define([concat], $1$2$3$4) dnl create base version string m4_define([clutter_sharp_version], concat( clutter_sharp_version_major., clutter_sharp_version_minor., clutter_sharp_version_micro)) dnl create the assembly version m4_define([clutter_sharp_assembly_version], concat( clutter_sharp_version, [.0])) dnl create the release version m4_define([clutter_sharp_version], m4_if(clutter_sharp_version_pre_release, [0], clutter_sharp_version, concat(clutter_sharp_version, clutter_sharp_version_pre_release))) AC_INIT([clutter-sharp], clutter_sharp_version) AC_CONFIG_SRCDIR([README]) AC_CANONICAL_SYSTEM AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 tar-ustar]) AM_MAINTAINER_MODE PKG_PROG_PKG_CONFIG DISTCHECK_CONFIGURE_FLAGS="--disable-docs" AC_SUBST(DISTCHECK_CONFIGURE_FLAGS) ASSEMBLY_VERSION=clutter_sharp_assembly_version AC_SUBST(ASSEMBLY_VERSION) dnl check for Mono dnl 2.4 is required for non-signal VMs that we dnl get with the in-tree GAPI and GType extensions PKG_CHECK_MODULES(MONO_RUNTIME, mono >= 2.4) AC_PATH_PROG(MONO, mono, no) if test "x$MONO" = "xno"; then AC_MSG_ERROR([Cannot find the "mono" runtime in your PATH]) fi AC_PATH_PROG(MCS, gmcs, no) if test "x$MCS" = "xno"; then AC_MSG_ERROR([Cannot find the "gmcs" compiler in your PATH]) fi dnl check for GAPI dnl GAPI from gtk-sharp trunk is now required, dnl so we are bundling it. Necessary for generating dnl VM support for non-signal methods #PKG_CHECK_MODULES(GAPI, gapi-2.0 >= 2.12.9) #AC_PATH_PROG(GAPI_PARSER, gapi2-parser, no) #AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) #AC_PATH_PROG(GAPI_CODEGEN, gapi2-codegen, no) GAPI_FIXUP="mono \$(top_builddir)/gapi/parser/gapi-fixup.exe" GAPI_PARSER="mono \$(top_builddir)/gapi/parser/gapi-parser.exe \$(top_srcdir)/gapi/parser/" GAPI_CODEGEN="mono \$(top_builddir)/gapi/generator/gapi_codegen.exe" AC_SUBST(GAPI_FIXUP) AC_SUBST(GAPI_PARSER) AC_SUBST(GAPI_CODEGEN) dnl check for Gtk# PKG_CHECK_MODULES(GTKSHARP, gtk-sharp-2.0 >= 2.12.1) AC_SUBST(GTKSHARP_LIBS) dnl check for clutter PKG_CHECK_MODULES(CLUTTER, clutter-1.0 >= 1.0.1) PKG_CHECK_MODULES(CLUTTER_GTK, clutter-gtk-0.10 >= 0.10.3, enable_gtk=yes, enable_gtk=no) AM_CONDITIONAL(ENABLE_GTK, test "x$enable_gtk" = "xyes") CLUTTER_API_VERSION=$(pkg-config --variable apiversion clutter-1.0) CLUTTER_GTK_API_VERSION=$(pkg-config --variable apiversion clutter-gtk-0.10) CLUTTER_BACKEND=$(pkg-config --variable backend clutter-1.0) AC_SUBST(CLUTTER_API_VERSION) AC_SUBST(CLUTTER_BACKEND) AC_SUBST(CLUTTER_GTK_API_VERSION) dnl check for monodoc AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs], [Do not build documentation]), enable_docs=no, enable_docs=yes) if test "x$enable_docs" = "xyes"; then AC_PATH_PROG(MONODOCER, monodocer, no) if test "x$MONODOCER" = "xno"; then AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation]) fi AC_PATH_PROG(MDASSEMBLER, mdassembler, no) if test "x$MDASSEMBLER" = "xno"; then AC_MSG_ERROR([You need to install mdassembler, or pass --disable-docs to configure to skip documentation installation]) fi DOCDIR=`$PKG_CONFIG monodoc --variable=sourcesdir` AC_SUBST(DOCDIR) AM_CONDITIONAL(BUILD_DOCS, true) else AC_MSG_NOTICE([not building ${PACKAGE} API documentation]) AM_CONDITIONAL(BUILD_DOCS, false) fi AC_OUTPUT([ Makefile build/Makefile docs/Makefile docs/clutter-sharp/Makefile docs/clutter-gtk-sharp/Makefile gapi/Makefile gapi/parser/Makefile gapi/generator/Makefile glib/Makefile clutter/Makefile clutter/AssemblyInfo.cs clutter/clutter-sharp.pc clutter/clutter-sharp.dll.config clutter/Clutter/Makefile clutter/Cogl/Makefile clutter-gtk/Makefile clutter-gtk/clutter-gtk-sharp.pc clutter-gtk/clutter-gtk-sharp.dll.config clutter-gtk/AssemblyInfo.cs examples/Makefile ]) cat < Thomas Van Machelen Stephane Delcroix clutter-sharp-1.0.0alpha3/clutter-sharp.snk0000644000175000017500000000112411506367775022457 0ustar00hyperairhyperair00000000000000$RSA28jE&Dͨ~+\&&~LrD`팊 AP4 9FqašynmY$ӪS8 XyBr#WUW72SW2aAM)L7gYD{/p{}I¨oDDZ7}w fϏPHa&Tu1UAl&y<>VcvPG/Bl8'fpȪ(LZ/ C?5nw"BʥA Ȕ+P!`ͩC`2 f%Hb}l3#[q3˰Vo_QS͑Q۟8mud8e0 9VAXUPsNBE_;+Y='^f<% #HD_$X2jZQHxthYi=:2?hв>DNC⇲[EgG#klZPFG~ywz\4_<"+k_re+щmߴNߑclutter-sharp-1.0.0alpha3/aclocal.m40000644000175000017500000007432311506371320020775 0ustar00hyperairhyperair00000000000000# generated automatically by aclocal 1.11.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, [m4_warning([this file was generated for autoconf 2.67. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) # only at the first occurence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.11.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 16 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The `parallel-tests' driver may need to know about EXEEXT, so add the dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless `enable' is passed literally. # For symmetry, `disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful (and sometimes confusing) to the casual installer], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 6 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR clutter-sharp-1.0.0alpha3/README0000644000175000017500000000133611506367775020032 0ustar00hyperairhyperair00000000000000clutter-sharp offers C#/.NET bindings to Clutter Clutter: http://www.clutter-project.com Mono: http://www.mono-project.com This project is still very young and is not API complete or stable. While it is currently very useful and usable for complex Clutter usage, there are still many bugs and APIs to smooth out. If you use clutter-sharp at this stage, expect future releases to break API and require you to update your application code. Applications must copy the system-installed clutter-sharp and bundled dependencies with their application. The list of files to copy can be obtained through: $ pkg-config --variable=bundlefiles clutter-sharp clutter-sharp requires Mono 2.4 or better, and gtk-sharp 2.12.1 or better clutter-sharp-1.0.0alpha3/NEWS0000644000175000017500000000000011506367775017634 0ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/build/0000755000175000017500000000000011506372235020231 5ustar00hyperairhyperair00000000000000clutter-sharp-1.0.0alpha3/build/Makefile.in0000644000175000017500000002273111506371322022277 0ustar00hyperairhyperair00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = build DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ ASSEMBLY_VERSION = @ASSEMBLY_VERSION@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CLUTTER_API_VERSION = @CLUTTER_API_VERSION@ CLUTTER_BACKEND = @CLUTTER_BACKEND@ CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ CLUTTER_GTK_API_VERSION = @CLUTTER_GTK_API_VERSION@ CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ CLUTTER_LIBS = @CLUTTER_LIBS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DOCDIR = @DOCDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GAPI_CODEGEN = @GAPI_CODEGEN@ GAPI_FIXUP = @GAPI_FIXUP@ GAPI_PARSER = @GAPI_PARSER@ GTKSHARP_CFLAGS = @GTKSHARP_CFLAGS@ GTKSHARP_LIBS = @GTKSHARP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONO = @MONO@ MONODOCER = @MONODOCER@ MONO_RUNTIME_CFLAGS = @MONO_RUNTIME_CFLAGS@ MONO_RUNTIME_LIBS = @MONO_RUNTIME_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ gapi.mk \ assembly.mk \ gapi-parser-post.sed MAINTAINERCLEANFILES = Makefile.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign build/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign build/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: clutter-sharp-1.0.0alpha3/build/gapi.mk0000644000175000017500000000157711506367775021531 0ustar00hyperairhyperair00000000000000gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(GAPI_FIXED_API) build_symbols = $(addprefix --symbols=$(srcdir)/, $(GAPI_SYMBOLS)) api_includes = $(GTKSHARP_CFLAGS) $(CUSTOM_API_INCLUDES) api: $(GAPI_PARSER) $(GAPI_SOURCES_XML) $(top_srcdir)/build/gapi-parser-post.sed < $(GAPI_RAW_API) > $(GAPI_RAW_API).tmp mv $(GAPI_RAW_API).tmp $(GAPI_RAW_API) $(GAPI_FIXED_API): $(GAPI_RAW_API) $(GAPI_METADATA) $(GAPI_SYMBOLS) $(wildcard *.custom) cp $(GAPI_RAW_API) $(GAPI_FIXED_API) chmod +w $(GAPI_FIXED_API) $(GAPI_FIXUP) --api=$(GAPI_FIXED_API) --metadata=$(GAPI_METADATA) $(build_symbols) $(GAPI_CODEGEN) --outdir=./generated --customdir=$(srcdir) $(api_includes) --generate $(GAPI_FIXED_API) clean-local: rm -rf generated EXTRA_DIST += \ $(GAPI_RAW_API) \ $(GAPI_METADATA) \ $(GAPI_SOURCES_XML) \ $(GAPI_SYMBOLS) CLEANFILES += \ generated-stamp \ generated/*.cs \ $(GAPI_FIXED_API) clutter-sharp-1.0.0alpha3/build/assembly.mk0000644000175000017500000000146711506367775022426 0ustar00hyperairhyperair00000000000000ASSEMBLY = $(ASSEMBLY_NAME).dll REFERENCES = $(GTKSHARP_LIBS) -r:Mono.Cairo $(CUSTOM_REFERENCES) assemblydir = $(prefix)/lib/clutter-sharp assembly_DATA = $(TARGET) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(ASSEMBLY_NAME).pc SOURCES_BUILD = $(addprefix $(srcdir)/, $(SOURCES)) $(ASSEMBLY): $(GAPI_FIXED_API) $(SOURCES_BUILD) @rm -f $(ASSEMBLY).mdb $(MCS) $(CSFLAGS) -out:$@ -debug -target:library -nowarn:0169 -unsafe \ $(REFERENCES) $(SOURCES_BUILD) AssemblyInfo.cs $(top_srcdir)/glib/*.cs $(foreach dir, $(GENERATED_DIRS), $(dir)/generated/*.cs) $(ASSEMBLY).mdb: $(ASSEMBLY) EXTRA_DIST += \ $(ASSEMBLY_NAME).pc.in \ $(ASSEMBLY).config.in \ $(SOURCES) \ $(CUSTOMS) CLEANFILES += \ $(ASSEMBLY) \ $(ASSEMBLY).mdb DISTCLEANFILES = \ $(ASSEMBLY).config \ $(ASSEMBLY_NAME).pc \ AssemblyInfo.cs clutter-sharp-1.0.0alpha3/build/Makefile.am0000644000175000017500000000014311506367775022300 0ustar00hyperairhyperair00000000000000EXTRA_DIST = \ gapi.mk \ assembly.mk \ gapi-parser-post.sed MAINTAINERCLEANFILES = Makefile.in clutter-sharp-1.0.0alpha3/build/gapi-parser-post.sed0000755000175000017500000000146211506367775024146 0ustar00hyperairhyperair00000000000000#!/usr/bin/sed -rf # Translate any GL_FOO or CGL_FOO constants into GL.GL_FOO s,value=\"(GL_.+)\",value=\"GL.\1\",g s,value=\"CGL_(.+)\",value=\"GL.GL_\1\",g # Translate COGL Pixel Format Masks from cogl-types.h s,COGL_PIXEL_FORMAT_24,2,g s,COGL_PIXEL_FORMAT_32,3,g s,COGL_A_BIT,\(1 \<\< 4\),g s,COGL_BGR_BIT,\(1 \<\< 5\),g s,COGL_AFIRST_BIT,\(1 \<\< 6\),g s,COGL_PREMULT_BIT,\(1 \<\< 7\),g s,COGL_UNORDERED_MASK,0x0F,g s,COGL_UNPREMULT_MASK,0x7F,g # Translate some CoglPixelFormat C names to C# s,(value=\".*)(COGL_PIXEL_FORMAT_RGBA_4444)(.*\"),\1Rgba4444\3,g s,(value=\".*)(COGL_PIXEL_FORMAT_RGBA_5551)(.*\"),\1Rgba5551\3,g # gapi-parser workaround where it translates: # # COGL_PIXEL_FORMAT_RGB_888 = COGL_PIXEL_FORMAT_24 # # to # # Rgb888 = Two4 # s,value=\"Two4\",value=\"2\",g clutter-sharp-1.0.0alpha3/Makefile.am0000644000175000017500000000046711506367775021212 0ustar00hyperairhyperair00000000000000SUBDIRS = \ gapi \ glib \ clutter \ clutter-gtk \ docs DIST_SUBDIRS = \ build \ gapi \ glib \ clutter \ clutter-gtk \ examples \ docs EXTRA_DIST = clutter-sharp.snk MAINTAINERCLEANFILES = \ aclocal.m4 \ config.guess \ config.sub \ configure \ install-sh \ missing \ INSTALL \ Makefile.in