Commit Graph

3760 Commits

Author SHA1 Message Date
Johannes Roith
55f3471f6d convert html to xhtml
svn path=/trunk/gtk-sharp/; revision=9007
2002-11-16 13:03:27 +00:00
Vladimir Vukicevic
79f298f823 * gtk/CanvasItem.custom: use base() to set Raw in constructor, so
that the ref counting semantics get correctly set up

svn path=/trunk/gtk-sharp/; revision=8978
2002-11-14 01:44:23 +00:00
Duncan Mak
d1e99ecede Fix build after vlad's struct patch got in.
svn path=/trunk/gtk-sharp/; revision=8959
2002-11-12 21:51:45 +00:00
Johannes Roith
c99bcc79df resync with homepage
svn path=/trunk/gtk-sharp/; revision=8955
2002-11-12 17:49:36 +00:00
Johannes Roith
7ea25baf13 resync with homepage
svn path=/trunk/gtk-sharp/; revision=8954
2002-11-12 17:48:58 +00:00
Gonzalo Paniagua Javier
359331d865 2002-11-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glade/XML.custom: converted from Latin1 to UTF8 to make the generator
	go on.

svn path=/trunk/gtk-sharp/; revision=8914
2002-11-10 13:36:19 +00:00
Vladimir Vukicevic
58f6f01d45 * glib/Object.cs: add needs_ref boolean that controls whether
we need to ref this object once we have a pointer to it or not.
By default this is set to true -- constructors and other functions
where we do own the object need to set this to false before setting
the "Raw" property.  Also added Unref and RefCount methods.

* glue/object.c, glue/type.c: some utility functions for
refcounting support

* gdk/Pixbuf.custom: manually wrap a few functions so that
the refcount ends up being correct at the end (need an extra Unref)

* api/gdk-api.xml, sources/Gdk.metadata: metadata updates for
hiding manually-wrapped Pixbuf stuff

svn path=/trunk/gtk-sharp/; revision=8913
2002-11-10 10:09:05 +00:00
Vladimir Vukicevic
9ad6d1b6a4 * generator/StructBase.cs: create a Zero static member for
use when the IntPtr is NULL.

* generator/SignalHandler.cs, generator/CallbackGen.cs: removed
call to Initialize for structs

* gtk/Clipboard.custom, gtk/ClipboardClearFunc.cs,
gtk/ClipboardGetFunc.cs,
gtk/GtkSharp.GtkClipboardClearFuncNative.cs,
gtk/GtkSharp.ClipboardGetFuncNative.cs, SelectionData.custom:
Hand-wrapped selection handling stuff, along with relevant
signals and the like.

* gnome/voidObjectAffineSVPintSignal.cs: removed Initialize
for hand-wrapped signal

* sample/GnomeHelloWorld.cs, sample/Size.cs: compare against
.Zero instead of using IsNull

* api/gtk-api.xml, sources/Gtk.metadata: metadata updates for
hiding some manually-wrapped stuff

svn path=/trunk/gtk-sharp/; revision=8912
2002-11-10 10:03:51 +00:00
Alejandro Sánchez Acosta
aaf5594b36 * Added some examples for the gtk# tutorial
svn path=/trunk/gtk-sharp/; revision=8909
2002-11-10 02:23:29 +00:00
Johannes Roith
efaee75eed some guidelines on how to contrigute to the tutorial
svn path=/trunk/gtk-sharp/; revision=8898
2002-11-09 14:02:26 +00:00
Johannes Roith
bf18478229 add Martin Willemoes Hansen's gnome.net tutorial
svn path=/trunk/gtk-sharp/; revision=8895
2002-11-09 09:05:51 +00:00
Johannes Roith
01c623cd60 add gnome.net Martin Willemoes Hansen's tutorial. keep in sync with homepage, until he has cvs access.
svn path=/trunk/gtk-sharp/; revision=8894
2002-11-09 09:03:51 +00:00
Miguel de Icaza
ddf50c3439 Add patches from Cesar
svn path=/trunk/gtk-sharp/; revision=8891
2002-11-08 23:32:27 +00:00
Johannes Roith
92500272bb add for Alejandro Snchez Acosta
svn path=/trunk/gtk-sharp/; revision=8888
2002-11-08 18:35:44 +00:00
Miguel de Icaza
19a8501d1e Added new call
svn path=/trunk/gtk-sharp/; revision=8876
2002-11-07 19:19:38 +00:00
Miguel de Icaza
0a20a59470 Add glue code for combo.c
svn path=/trunk/gtk-sharp/; revision=8875
2002-11-07 19:19:15 +00:00
Duncan Mak
ef43b59a1f Make it compile.
svn path=/trunk/gtk-sharp/; revision=8851
2002-11-06 05:44:49 +00:00
Gonzalo Paniagua Javier
480cb88bf7 2002-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* autogen.sh:
	* configure.in: added configuration summary.

svn path=/trunk/gtk-sharp/; revision=8850
2002-11-06 03:53:24 +00:00
Johannes Roith
6347ebc9be add tutorial example
svn path=/trunk/gtk-sharp/; revision=8837
2002-11-05 15:34:57 +00:00
Johannes Roith
ed9f671d84 add tutorial files
svn path=/trunk/gtk-sharp/; revision=8836
2002-11-05 15:33:19 +00:00
Johannes Roith
36d289986c add tutorial file
svn path=/trunk/gtk-sharp/; revision=8835
2002-11-05 15:29:57 +00:00
Johannes Roith
c9c2b24ad0 add tutorial file
svn path=/trunk/gtk-sharp/; revision=8834
2002-11-05 15:28:46 +00:00
Johannes Roith
21fa1ce80a import tutorial examples
svn path=/trunk/gtk-sharp/; revision=8833
2002-11-05 15:18:03 +00:00
Alp Toker
cca2363dae 2002-11-03 Alp Toker <alp@atoker.com>
* sources/gtk-sharp.sources: Update to support GStreamer 0.4.2
        * api/gst-api.xml : ditto
        * gst/Application.cs : ditto

svn path=/trunk/gtk-sharp/; revision=8802
2002-11-03 22:03:42 +00:00
Alp Toker
fc9daa9420 Add GStreamer support
svn path=/trunk/gtk-sharp/; revision=8727
2002-11-01 05:10:00 +00:00
Alp Toker
e06e2ba8dd Add GStreamer support
svn path=/trunk/gtk-sharp/; revision=8726
2002-11-01 05:01:22 +00:00
Mike Kestner
8a70b31f28 2002-10-29 Mike Kestner <mkestner@speakeasy.net>
* generator/Signal.cs : Fix namespacing of Args.

svn path=/trunk/gtk-sharp/; revision=8673
2002-10-30 05:29:19 +00:00
Mike Kestner
0042a28287 2002-10-27 Mike Kestner <mkestner@speakeasy.net>
* configure.in : bump version to 0.6.

svn path=/trunk/gtk-sharp/; revision=8672
2002-10-30 05:25:01 +00:00
Mike Kestner
6c02b6f431 2002-10-26 Mike Kestner <mkestner@speakeasy.net>
* gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : ns stuff
	* glade/XML.custom : more GnomeSharp namespace stuff
	* gnome/CanvasProxy.cs : ditto
	* sample/CanvasExample.cs : ditto
	* sample/Fifteen.cs : ditto
	* sample/GnomeHelloWorld.cs : ditto

svn path=/trunk/gtk-sharp/; revision=8592
2002-10-27 04:16:45 +00:00
Mike Kestner
d5590121a0 remove the "doesn't work on win32 yet" blurb. w00t!
svn path=/trunk/gtk-sharp/; revision=8591
2002-10-27 02:44:48 +00:00
Mike Kestner
b2f04c1d80 2002-10-26 Mike Kestner <mkestner@speakeasy.net>
Much of this patch from Vlad, with substantial rework by mk.
	* */makefile.win32 : introduce mapdllnames.pl, api, and glue
	* generator/CallbackGen.cs : rework namespacing for csc compilation
	* generator/Parameters.cs : ditto
	* generator/Signal.cs : ditto
	* generator/SignalHandler.cs : ditto
	* glue/win32dll.c : new dll construction source
	* glib/Value.cs : new ushort ctor/cast operator
	* gtk/Table.custom : comment this out until we add a default ctor tag
	* gtk/ThreadNotify.cs : make ReadyEvent public
	* sources/Gdk.metadata : mark a Parse() param as ref

svn path=/trunk/gtk-sharp/; revision=8590
2002-10-27 02:30:51 +00:00
Ettore Perazzoli
cf139575c2 Changed so that Objects is a hash of
WeakReferences instead of hashing the real objects.  Without this
change, GObjects were never collected.
(Raw, set): Put a WeakReference to the object in Objects.
(Object.GetObject): Get the WeakReference from Objects, and from
there the actual object.
(Object.DisposeNative): Remove the Raw pointer from Objects.

svn path=/trunk/gtk-sharp/; revision=8578
2002-10-26 08:37:48 +00:00
Mike Kestner
2e07bf7e87 2002-10-26 Mike Kestner <mkestner@speakeasy.net>
* api/*.xml : get libgda and libgnomedb metadata setup
	* gconf/*/Makefile.in : patch from MauricioC for -L's and /r's
	* gnomedb/Makefile.in : patch from MauricioC for -L's and /r's
	* generator/ClassBase.cs (ctor): mangle hash names for sigs and props
	* generator/Parameters.cs (MangleName): handle params, null, and ref
	* generator/Parser.cs (ParseNamespace): ignore "hidden" types
	* generator/StructBase.cs (MangleName): handle params, null, and ref
	* glib/Object.cs (Equals): kill, also kill == and !=
	* sources/Gda.metadata : new, make Gda behave without hand edits
	* sources/GnomeDb.metadata : ditto

svn path=/trunk/gtk-sharp/; revision=8577
2002-10-26 08:03:16 +00:00
Vladimir Vukicevic
d6d4267bc5 * glade/XML.custom: add SetCustomHandler() wrapper
svn path=/trunk/gtk-sharp/; revision=8453
2002-10-21 19:42:23 +00:00
Miguel de Icaza
f95bf9dbbd 2002-10-20 Miguel de Icaza <miguel@ximian.com>
* glib/Object.cs: Avoid recursive calls with the previous operator
	!= and operator ==

svn path=/trunk/gtk-sharp/; revision=8418
2002-10-20 07:16:22 +00:00
Duncan Mak
f94df39a18 2002-10-19 Duncan Mak <duncan@ximian.com>
* glib/Source.cs: Added.

svn path=/trunk/gtk-sharp/; revision=8412
2002-10-19 23:18:59 +00:00
Miguel de Icaza
39885119ee Am very sorry, very sorry
svn path=/trunk/gtk-sharp/; revision=8411
2002-10-19 23:15:05 +00:00
Miguel de Icaza
77090286fa Add missing file
svn path=/trunk/gtk-sharp/; revision=8402
2002-10-19 21:44:31 +00:00
Miguel de Icaza
88d38246f5 2002-10-19 Miguel de Icaza <miguel@ximian.com>
* glib/Object.cs: Added operator != and operator == overloads.

svn path=/trunk/gtk-sharp/; revision=8400
2002-10-19 20:03:51 +00:00
Rachel Hestilow
d33dd8a15f 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
* gconf, sample/gconf: Added.

	* glue/combo.c: This was never added, add it now.

	* configure.in, makefile, sample/Makefile.in: Build new
	gconf bindings if gnome is enabled.

svn path=/trunk/gtk-sharp/; revision=8389
2002-10-19 09:31:20 +00:00
Miguel de Icaza
0c6b67c26b Patch from Pablo Baena
svn path=/trunk/gtk-sharp/; revision=8381
2002-10-19 05:53:37 +00:00
Miguel de Icaza
d514b39b49 OOPS
svn path=/trunk/gtk-sharp/; revision=8313
2002-10-16 06:37:20 +00:00
Miguel de Icaza
16ffbddd4e Fix makefile
svn path=/trunk/gtk-sharp/; revision=8305
2002-10-16 04:31:21 +00:00
Miguel de Icaza
39b784baa0 Forgot to commit the bit that resets the handler for Gnome
svn path=/trunk/gtk-sharp/; revision=8300
2002-10-15 21:46:33 +00:00
Mike Kestner
58b5241e6f 2002-10-14 Mike Kestner <mkestner@speakeasy.net>
* glib/Object.cs (GetObject): remove (int) cast

svn path=/trunk/gtk-sharp/; revision=8277
2002-10-15 04:07:24 +00:00
Duncan Mak
564a7978c6 2002-10-11 Duncan Mak <duncan@ximian.com>
* TestToolbar.cs: Fix the arguments to Toolbar.InsertStock.

svn path=/trunk/gtk-sharp/; revision=8175
2002-10-11 20:01:53 +00:00
Martin Baulig
3f07a660f5 2002-10-11 Martin Baulig <martin@gnome.org>
* gtk/Combo.custom: New file.
	(Combo.SetPopdownStrings): New method to set the popdown strings
	from a string array.

svn path=/trunk/gtk-sharp/; revision=8169
2002-10-11 15:45:02 +00:00
Martin Baulig
604034053a 2002-10-11 Martin Baulig <martin@gnome.org>
* glib/ListBase.cs (ListBase.Append): New public method.
	(ListBase.Prepend): New public method.

svn path=/trunk/gtk-sharp/; revision=8168
2002-10-11 15:43:52 +00:00
Martin Baulig
52f04d5a61 2002-10-11 Martin Baulig <martin@gnome.org>
* glib/FileUtils.cs: New file.  Wrapped g_file_get_contents() here.

svn path=/trunk/gtk-sharp/; revision=8167
2002-10-11 15:41:49 +00:00
Mike Kestner
3b1dd1079b 2002-10-10 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : some fixes
	* generator/Parameters.cs (CreateSignature): handle void params

svn path=/trunk/gtk-sharp/; revision=8156
2002-10-11 00:27:46 +00:00