Commit graph

3490 commits

Author SHA1 Message Date
Bertrand Lorentz 8a46935237 Ignore sources subfolders for all versions 2012-10-14 12:20:49 +02:00
Bertrand Lorentz a3fe34995d Add *.pidb and *.userprefs to .gitignore
Those are generated by MonoDevelop and should not be tracked.
2012-10-13 16:44:18 +02:00
Bertrand Lorentz 60612071c1 Add a MonoDevelop solution and projects for browsing the codebase
This is just to be able to use MonoDevelop to browse the codebase, both
custom and generated code. It is NOT intended to be used to build
anything.
2012-10-13 16:44:10 +02:00
Andrés G. Aragoneses 61b67120c2 glib: add missing lock statements for Objects collection
When accessing the static Objects collection in GLib.Object
class, a lock was held in some places but not all of them.
Brought up by Alan McGovern.

Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
2012-10-13 15:54:50 +02:00
Michael Hutchinson b5e0d297bb Fix resurrection cycles in container subclasses (bxc#3801) 2012-10-13 15:07:03 +02:00
Michael Hutchinson d686a4d6aa Added Object.TryGetObject that gets wrapper only if already surfaced 2012-10-13 15:06:51 +02:00
Michael Hutchinson 3a044d6faf Fix stack overflow in subclasses of managed containers 2012-10-13 15:06:51 +02:00
Andreia Gaita 97046739b7 Merge pull request #52 from meebey/master
Fixed P/Invokes and Dllmap to use GDK 3.0 instead of 2.0
2012-10-03 06:14:51 -07:00
Mirco Bauer bc2a18749a gtkdotnet: Fixed P/Invokes and Dllmap to use GDK 3.0 instead of 2.0 2012-10-02 17:20:45 +02:00
Lluis Sanchez 2808b49059 Merge pull request #2 from knocte/micro_optimization
micro-optimization: return early after setting guithread
2012-09-21 23:48:44 -07:00
Lluis Sanchez cf9c865ecc Merge pull request #1 from knocte/do_not_report_gtk_init_itself
do not report yet violations if guithread is not set yet
2012-09-21 23:48:21 -07:00
Andres G. Aragoneses 1ba19069e9 micro-optimization: return early after setting guithread
No need to compare thread ids in this call.
2012-09-21 21:35:51 +01:00
Andres G. Aragoneses 9eff181e46 do not report yet violations if guithread is not set yet
Without this change, the call to Gtk.Application.Init() would
be reported as a violation itself.

(Detected, and bugfix tested, in MonoDevelop & Banshee)
2012-09-21 21:33:46 +01:00
Bertrand Lorentz 446f2e7c7a gtk: Fix a small issue in the previous commit to IconTheme
The native array has an extra NULL element, so we pass the length of the
managed array, which is the real length of the array.
2012-09-05 22:40:50 +02:00
Carlos Martín Nieto 9c54fd5ae7 gtk: Use the GLib marshaller in IconTheme.SearchPath
This makes the code 64-bit clean (instead of assuming that a pointer
fits in a Int32) and simplifies the code.

Although the GTK doc doesn't say so, the C code shows the array is NULL
terminated, so we should be OK here.

Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
2012-09-05 21:16:54 +02:00
Bertrand Lorentz dd2cf949c1 doc: Run the automatic documentation updater 2012-08-05 20:06:32 +02:00
Bertrand Lorentz 54f5025375 gtk: Remove commented-out code from Gtk.Style
Gdk.GC is gone for good, so there no point in keeping anything that was
using it.
2012-08-05 19:42:34 +02:00
Bertrand Lorentz 140cad141f gtk: Remove the custom code for ColorSelectionDialog
It has been obsolete for quite a while, and had a scary warning.
2012-08-05 19:33:52 +02:00
Bertrand Lorentz 0b155d2603 gtk: Remove the custom code for Table
It was commented out anyway, and the Table widget is deprecated.
2012-08-05 19:12:22 +02:00
Bertrand Lorentz 4bc7edb4b1 gtk: Add license header in TreeModelFilter.cs
Copyright information is based on the data from "git blame -w"
2012-08-05 19:06:18 +02:00
Bertrand Lorentz c1e9a8c613 generator: Remove support for .custom files
We don't use any .custom file anymore, and nobody should. You can
do the same things with partial classes, and they're much nicer.
2012-08-05 18:29:18 +02:00
Bertrand Lorentz 5b22918f4f pango: Re-indent code that was moved inside partial classes
No real code change, just whitespace.
2012-08-05 18:00:11 +02:00
Bertrand Lorentz 094a49f69a pango: Move all .custom files to partial classes
No real code change, just renaming and adding boilerplate.

Files will be re-indented in another commit, to avoid confusing git.
2012-08-05 17:51:13 +02:00
Bertrand Lorentz a8e1e8fd7d gtk: Re-indent code that was moved inside partial classes
No real code change in this commit, just whitespace changes.
2012-08-05 17:24:05 +02:00
Bertrand Lorentz a410d42975 gtk: Move all .custom files to partial classes
There are no real code changes in this commit, just a lot of file
renaming and boilerplate additions.

A few .custom files are just removed, because the corresponding class in
GTK is gone, so they were not really used anymore.

Some files need to be re-indented, but that will be done in a separate
commit, so that git can track the renamed files correctly and not be
confused by all the changes.
2012-08-05 16:32:41 +02:00
Alex Rønne Petersen f00fd36dd3 Merge pull request #47 from cameronwhite/cairo-path-finalize-message
Fix finalization warning message for Cairo.Path.
2012-08-04 21:24:17 -07:00
Cameron White 3d0117c9db Fix finalization warning message for Cairo.Path. 2012-08-04 23:32:37 -04:00
Bertrand Lorentz 477710bd1e build: Fix API version for cairo and don't hardcode it
Cairo has a different API version that was hardcoded. Define it in a new
variable in configure.ac and use it in AssemblyInfo and Makefile.am.

This fixes make distcheck, as the cairo-sharp.dll assembly was not
getting uninstalled from the GAC.
2012-07-02 13:56:06 -04:00
Bertrand Lorentz 64a79b5621 gdk: Re-enable code using Device.NumAxes
As the Device.NumAxes is back now, we can re-enable the pieces of code
that were disabled during the inital port.
2012-07-02 11:23:29 -04:00
Bertrand Lorentz 15486fda75 gdk: Delete the commented out Window.ClearArea method
All the gdk_window_clear* methods were removed in GTK+ 3.0, so we can
remove the custom code that was ifdef'd out in the initial port.
2012-07-02 11:23:19 -04:00
Bertrand Lorentz d2a93817a1 gdk: Move all .custom files to partial classes 2012-07-02 11:12:25 -04:00
Bertrand Lorentz 412fe3d9d1 atk: Move all .custom files to partial classes 2012-07-02 11:09:07 -04:00
Bertrand Lorentz c0129f42d5 gio: Move all .custom files to partial classes 2012-07-02 11:09:07 -04:00
Bertrand Lorentz b79ac26063 gdk: Rename the Device.NAxes property to NumAxes
We had a NumAxes property in 2.12, coming from a field. It's now a
property called n-axes, with an accessor function, so we need to rename
both.
2012-07-02 10:43:28 -04:00
Mike Kestner e0fcea2cf0 Merge pull request #40 from knocte/master
glib: Remove redundant call to ToggleRef.QueueUnref()
2012-05-08 18:17:07 -07:00
Andrés G. Aragoneses 85b84f99f6 glib: Remove redundant call to ToggleRef.QueueUnref()
In slow systems this redundant call was causing the following CRITICAL:

  GLib-GObject-CRITICAL **: g_object_remove_toggle_ref:
    assertion `G_IS_OBJECT (object)' failed

The GLib.Object.Dispose(bool) method already calls this function at the
end so there is no need to check for duplicates in the PendingDestroys
static field of ToggleRef class (thanks to Alan McGorvern for helping
tracking down the root cause), the double unref call is just prevented.

Fixes BXC#4909.
2012-05-08 20:35:36 +01:00
Mike Kestner a446117715 Merge pull request #38 from knocte/master
glib: do not call g_thread_ functions in GLib >= 2.31
2012-05-04 19:11:07 -07:00
Andres G. Aragoneses b008a626f8 glib: don't modify Makefile.am
The new -define flag DISABLE_GTHREAD_CHECK can be added at configure time to already existing $CSFLAGS, as Mike Kestner pointed out.
2012-05-04 22:20:14 +01:00
Andres G. Aragoneses 3862bc75ec glib: do not call g_thread_ functions in GLib >= 2.31
Based on downstream patch by by Christopher James Halse Rogers <raof@ubuntu.com>
Should fix BXC#2329 reported by Sergey Litvinov.
2012-05-03 23:45:07 +01:00
Mike Kestner 645815d478 Fix Pixdata buffer leak.
Patch provided by Antonio on gtk-sharp-list.
2012-04-22 11:47:28 -05:00
Mike Kestner 0e0d0ec94d Don't release const strings in GLib.Global. 2012-04-21 17:38:10 -05:00
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