Mike Kestner
b107fdd7c0
Improve MissingCtorException message.
2012-03-28 22:10:47 -05:00
Mike Kestner
0cd50893c5
Rename doc source file to fix build.
2012-03-28 22:10:47 -05:00
Mike Kestner
1ec86832dd
Remove empty file.
2012-03-28 22:10:47 -05:00
Mike Kestner
60f160b72c
Updates to doc makefile and removed files.
2012-03-28 22:10:47 -05:00
Mike Kestner
352fc8e849
Run the doc updater
...
Didn't audit any of this.
2012-03-28 22:10:46 -05:00
Mike Kestner
8a0d28372c
Merge pull request #31 from bl8/cairo-fixes
...
Cairo fixes
2012-03-28 20:04:06 -07:00
Mike Kestner
cd7a94218a
Merge pull request #34 from bl8/missing-properties
...
Add fix-ups so that missing properties are generated
2011-12-10 08:37:53 -08:00
Bertrand Lorentz
a804895ce6
Add fix-ups so that missing properties are generated
...
A few properties would not be generated, as a property with the same
name already exists in the Widget class. To resolve this, we mark the
corresponding accessors as new.
2011-12-10 14:53:47 +01:00
Mike Kestner
ef6b0afc89
Merge pull request #33 from bl8/fix-combobox-entry
...
gtk: Fix creation of ComboBox and ComboBoxText subclasses with entry
2011-12-06 08:44:26 -08:00
Bertrand Lorentz
d9bef0d869
gtk: Fix creation of ComboBox and ComboBoxText subclasses with entry
...
When creating a subclass of ComboBox with an entry, the has-entry
property was not initialized, leading to a crash when trying to access
the entry.
For subclasses of ComboBoxText, two other properties were not
initialized, leading to Gtk-CRITICAL error messages.
2011-12-05 19:14:05 +01:00
Mike Kestner
63e9993fcf
Merge pull request #29 from bl8/ginterface-fixes
...
GInterface properties fixes
2011-12-04 17:52:35 -08:00
Mike Kestner
f34239a6ba
Merge pull request #30 from bl8/gdk-dllmap
...
gdk: Add a dllmap for libgio-2.0-0.dll
2011-12-04 17:47:33 -08:00
Bertrand Lorentz
21bfaa7a9d
gtk: Mark the Cairo.Context in Widget.Drawn as owned
...
We shouldn't increase the reference count on the native cairo context
when we get it as a signal parameter, so we mark it as owned.
2011-12-04 22:39:52 +01:00
Bertrand Lorentz
7c61e2bdc0
Remove custom code for PrintContext.CairoContext
...
As Cairo.Context is now marked as an ownable, the accessor generated
for PrintContext.CairoContext will be equivalent to what was in the
custom code.
2011-12-04 22:39:52 +01:00
Bertrand Lorentz
ed9a01f5c2
gdk: Add a dllmap for libgio-2.0-0.dll
...
As Gdk.Pixbuf uses two functions from libgio, we need a dllmap for that
in gdk-sharp.dll.config.
2011-12-04 20:48:22 +01:00
Bertrand Lorentz
2297695fd2
sample: Make the CustomScrollableWidget sample more elaborate
...
Make the custom widget a generic class, and add and use a derived class.
Also add a second instance of the custom widget, to better test the
interface properties support.
2011-12-03 16:41:21 +01:00
Bertrand Lorentz
0de6e9869d
ParamSpec: Add override modifier to the ToString method
...
This remove a compilation warning.
2011-12-03 16:41:21 +01:00
Bertrand Lorentz
d239b5cc4e
Object: Remove some trailing whitespace, no real code change
2011-12-03 16:41:17 +01:00
Bertrand Lorentz
91dda7f5be
Object: Fix registration of inherited interface properties
...
We need to add inherited interface properties in the Properties hash, so
we remove the DeclaredOnly flag when looking for interface properties in
the type.
We also need to use the type itself as the hash key, and not the adapter
type.
2011-12-03 16:41:16 +01:00
Andres G. Aragoneses
1215ebc770
Object: Use the type as top-level key for properties hash
...
Types could use same param_spec object so their PropertyInfo
objects shouldn't be mixed, otherwise we could get type
mismatch errors like the one in:
http://mail.gnome.org/archives/banshee-list/2011-November/msg00141.html
This should be the final part of:
https://bugzilla.novell.com/show_bug.cgi?id=442068
2011-12-03 16:39:05 +01:00
Mike Kestner
9d319c8033
Merge pull request #26 from dufoli/master
...
ginterface properties support
2011-11-20 21:42:02 -08:00
Olivier Dufour
37d15305a3
GInterface: Add properties support
2011-11-20 19:41:56 +01:00
Zoltan Varga
3c32d4a18d
Add some notes to the README about prerequisites.
2011-11-16 07:37:00 -05:00
Mike Kestner
6fbd419c1d
Remove source delegates by id.
...
* glib/Idle.cs: use g_source_remove and id in Remove(Delegate)
* glib/Timeout.cs: use g_source_remove and id in Remove(Delegate)
[Fixes #632765 ]
2011-10-13 05:23:39 -05:00
Mike Kestner
aae2b05300
Implement IEquatable<T> on structs.
...
* gdk/Gdk.metadata: suppress Color.GetHashCode().
* gdk/Point.custom: remove generated methods.
* generator/StructBase.cs: Generate Equals(T), Equals(object), and GetHashCode.
* generator/StructField.cs: helper property for equality testing.
* gtk/TreeIter.custom: remove generated methods.
2011-10-07 21:55:26 -05:00
Mike Kestner
9d448f4eab
Remove incorrect documentation.
...
* doc/en/Pango/Layout.xml: remove null verbiage for out parameters
to GetExtents.
2011-10-02 13:39:52 -05:00
Mike Kestner
61a213c7b8
Merge pull request #25 from Forage/master
...
GAPI: Additonal types support + class const fields support
2011-09-26 07:20:38 -07:00
Age Bosma
240ff0995a
Add support for GValueArray type
2011-09-26 13:54:48 +02:00
Age Bosma
d900b32e93
Add support for gintptr and guintptr types
2011-09-26 13:53:32 +02:00
Age Bosma
757dafa156
Add support for class const fields
2011-09-26 13:52:12 +02:00
Mike Kestner
04b8f3e9f8
Merge pull request #24 from dufoli/master
...
Fix NRE for SetBackgroundPattern
2011-09-06 05:43:05 -07:00
Olivier Dufour
2c83126846
Fix NRE in Gdk.Window.SetBackgroundPattern
...
If we set it to null background is set to parent brackground.
So we must handle null case and sent it to native.
2011-09-01 21:25:25 +02:00
Mike Kestner
db7944ffb5
Merge pull request #23 from bl8/fix-uninstall
...
build: Specify assembly version when uninstalling from the GAC
2011-08-16 06:21:10 -07:00
Bertrand Lorentz
18d1af6907
build: Specify assembly version when uninstalling from the GAC
...
We need to qualify the assembly name with the version, otherwise gacutil
uninstall all versions of the assembly.
Fixes http://bugzilla.xamarin.com/show_bug.cgi?id=207
2011-08-11 18:44:58 +02:00
Mike Kestner
6580e217f9
Merge pull request #22 from dufoli/master
...
Support properties in GInterface
2011-08-03 12:19:19 -07:00
Olivier Dufour
b14746d856
Fix build of gtk# by avoiding colision introduced with properties for ginterface
2011-08-02 19:27:22 +02:00
Olivier Dufour
f0579eb53d
parser: Add property support for ginterface
2011-08-01 21:18:02 +02:00
Mike Kestner
fe776b3a48
Merge pull request #21 from bl8/gtk-settings-props
...
Gtk.Settings: Add all properties as a fixup
2011-08-01 07:45:00 -07:00
Mike Kestner
fed1583d7f
Merge pull request #20 from bl8/parse-extended
...
parser: Handle the G_DEFINE_TYPE_EXTENDED macro
2011-08-01 07:42:35 -07:00
Bertrand Lorentz
ecc2fa29fa
Gtk.Settings: Add all properties as a fixup
...
In gtksettings.c, properties are installed using a custom function. So a
few properties were added as custom code. Move those as a fixup, and add
all the other properties too.
The only missing properties now are gtk-im-preedit-style and
gtk-im-status-style, because their type is hidden.
2011-07-31 15:29:48 +02:00
Bertrand Lorentz
63db97e9ad
parser: Handle the G_DEFINE_TYPE_EXTENDED macro
...
G_DEFINE_TYPE_EXTENDED is the general macro for type implementations, on
which G_DEFINE_TYPE_WITH_CODE is based. Handle it just like
G_DEFINE_TYPE_WITH_CODE.
Reparse the API with that change, which marks a few classes as
implementing GtkStyleProvider.
2011-07-31 12:32:43 +02:00
Mike Kestner
4f42fb77fb
Improve ToggleRef release overhead.
...
Candidate patch provided by Andres in pull request #17 .
* glib/Object.cs: use ToggleRef.Dispose.
* glib/ToggleRef.cs: implement IDisposable and expose former Free
functionality as Dispose(). Free is now private non-lock taking
called by Dispose and the idle queue handler.
2011-07-29 13:37:39 -05:00
Mike Kestner
10f4f03943
Merge pull request #16 from knocte/master
...
Pull request, already signed-off by mkestner in #gtk#
2011-07-29 10:25:23 -07:00
Andres G. Aragoneses
228a2b3da4
glib: Fix calling to Free() twice for the same ToggleRef
...
Apparently the recent changes in gtk-sharp master that changed
the destroy/dispose strategy caused a bug about calling
g_object_remove_toggle_ref() twice because now Dispose(true)
could call ToggleRef.Free() directly bypassing
ToggleRef.QueueUnref(). This change makes sure that
the ref is removed from the PendingDestroys list.
2011-07-29 18:21:27 +01:00
Mike Kestner
c7657fcab4
Merge pull request #15 from bl8/fix-draw-samples
...
Fix drawing samples
2011-07-29 09:50:30 -07:00
Bertrand Lorentz
6e6d448cf2
DemoDrawingArea: Fix sample to actually do some drawing
2011-07-29 18:10:58 +02:00
Bertrand Lorentz
b2931f22c3
DemoColorSelection: Remove Drawn callback and preserve selected color
...
The drawing area is automatically cleared to the background color, so we
don't need a Drawn callback to do it ourselves.
Preserve the color selected in the color selection dialog, so that it's
pre-selected the next time the dialog is opened.
2011-07-29 18:10:36 +02:00
Mike Kestner
da1481b23d
Mark Widget::draw as manually marshaled
...
* gtk/Gtk.metadata: Widget draw signal has a cairo_t param that is
problematic to marshal as a GLib.Value. Manually marshal it.
2011-07-28 17:16:28 -05:00
Mike Kestner
51d5faf651
Mark calling convention on GInterface callbacks
...
Fixes #583901 . Adapted from fix for 2.12 from Markus Henschel.
* glib/GInterfaceAdapter.cs: add UnmanagedFunctionPointer attrs
2011-07-24 18:29:04 -05:00
Mike Kestner
1a0ecbb111
Add gio-sharp dep to gtk-sharp pc file
2011-07-18 12:44:44 -05:00