From d264bb5116949664fb5c6c075b68aea802e5fb26 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Fri, 28 Jul 2006 16:32:56 +0000 Subject: [PATCH] restructuring for gtk-sharp/gnome-sharp split svn path=/trunk/gtk-sharp/; revision=63082 --- gtkhtml/Gtk.metadata | 15 - gtkhtml/HTML.custom | 57 -- gtkhtml/HTMLStream.custom | 43 -- gtkhtml/Makefile.am | 22 - gtkhtml/gtkhtml-api.raw | 1033 --------------------------- gtkhtml/gtkhtml-sharp-2.0.pc.in | 12 - gtkhtml/gtkhtml-sharp.dll.config.in | 4 - 7 files changed, 1186 deletions(-) delete mode 100644 gtkhtml/Gtk.metadata delete mode 100644 gtkhtml/HTML.custom delete mode 100644 gtkhtml/HTMLStream.custom delete mode 100644 gtkhtml/Makefile.am delete mode 100644 gtkhtml/gtkhtml-api.raw delete mode 100644 gtkhtml/gtkhtml-sharp-2.0.pc.in delete mode 100644 gtkhtml/gtkhtml-sharp.dll.config.in diff --git a/gtkhtml/Gtk.metadata b/gtkhtml/Gtk.metadata deleted file mode 100644 index 418bb9ac2..000000000 --- a/gtkhtml/Gtk.metadata +++ /dev/null @@ -1,15 +0,0 @@ - - - 1 - 1 - 1 - OnCommand - Begin - Begin - private - 1 - const-guchar* - 1 - - - diff --git a/gtkhtml/HTML.custom b/gtkhtml/HTML.custom deleted file mode 100644 index 0c942874f..000000000 --- a/gtkhtml/HTML.custom +++ /dev/null @@ -1,57 +0,0 @@ -// Gtk.HTML.custom - Gtk HTML class customizations -// -// Author: Mike Kestner -// -// Copyright (C) 2004 Novell, Inc. -// -// This code is inserted after the automatically generated code. -// -// 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. - - [DllImport("gtkhtml-3.0")] - static extern IntPtr gtk_html_new(); - - public HTML () : base (IntPtr.Zero) - { - if (GetType () != typeof (HTML)) { - CreateNativeObject (new string [0], new GLib.Value[0]); - Construct (this); - return; - } - Raw = gtk_html_new(); - } - - [DllImport("gtkhtml-3.0")] - static extern IntPtr gtk_html_new_from_string(IntPtr Astr, int len); - - public HTML (string Astr) : base (IntPtr.Zero) - { - if (GetType () != typeof (HTML)) { - CreateNativeObject (new string [0], new GLib.Value[0]); - Construct (this); - LoadFromString (Astr); - return; - } - - IntPtr native = GLib.Marshaller.StringToPtrGStrdup (Astr); - Raw = gtk_html_new_from_string (native, -1); - GLib.Marshaller.Free (native); - } - - public void Write (HTMLStream handle, string buffer, int size) - { - Write (handle, buffer, (ulong) size); - } - diff --git a/gtkhtml/HTMLStream.custom b/gtkhtml/HTMLStream.custom deleted file mode 100644 index e4b35e819..000000000 --- a/gtkhtml/HTMLStream.custom +++ /dev/null @@ -1,43 +0,0 @@ -// HTMLStream.custom - customizations to Gtk.HTMLStream -// -// Author: Mike Kestner -// -// Copyright (C) 2003 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. - - -public void Write (byte[] buffer, int size) -{ - Write (buffer, (ulong) size); -} - -public void Write (string buffer) -{ - byte [] bytes = System.Text.Encoding.UTF8.GetBytes (buffer); - - gtk_html_stream_write (Handle, bytes, new UIntPtr ((ulong)bytes.Length)); -} - -// We hide this method and then reimplement it by hand to keep OpaqueGen from using -// it in Dispose(), since calling it after a Close() will result in a crash. - -[DllImport("gtkhtml-3.0")] -static extern void gtk_html_stream_destroy (IntPtr stream); - -public void Destroy () -{ - gtk_html_stream_destroy (Handle); -} diff --git a/gtkhtml/Makefile.am b/gtkhtml/Makefile.am deleted file mode 100644 index 9b3a7d6c6..000000000 --- a/gtkhtml/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -if ENABLE_GTKHTML -pkg = gtkhtml -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = gtkhtml-sharp-2.0.pc -else -pkg = -endif -INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml ../art/art-api.xml ../gnome/gnome-api.xml -METADATA = Gtk.metadata -SYMBOLS = -references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll ../art/art-sharp.dll ../gnome/gnome-sharp.dll - -sources = - -customs = \ - HTML.custom \ - HTMLStream.custom - -add_dist = gtkhtml-sharp-2.0.pc.in - -include ../Makefile.include - diff --git a/gtkhtml/gtkhtml-api.raw b/gtkhtml/gtkhtml-api.raw deleted file mode 100644 index a045c5c38..000000000 --- a/gtkhtml/gtkhtml-api.raw +++ /dev/null @@ -1,1033 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/gtkhtml/gtkhtml-sharp-2.0.pc.in b/gtkhtml/gtkhtml-sharp-2.0.pc.in deleted file mode 100644 index a2eb10c4f..000000000 --- a/gtkhtml/gtkhtml-sharp-2.0.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=${pcfiledir}/../.. -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -gapidir=${prefix}/share/gapi-2.0 - - -Name: Gtkhtml# -Description: Gtkhtml# - Gtkhtml .NET Binding -Version: @VERSION@ -Requires: gnome-sharp-2.0 -Cflags: -I:${gapidir}/gtkhtml-api.xml -Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gtkhtml-sharp.dll diff --git a/gtkhtml/gtkhtml-sharp.dll.config.in b/gtkhtml/gtkhtml-sharp.dll.config.in deleted file mode 100644 index f0404814a..000000000 --- a/gtkhtml/gtkhtml-sharp.dll.config.in +++ /dev/null @@ -1,4 +0,0 @@ - - - -