Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
Mike Gorse 2a12b2266a Fix some exceptions
Catch errors on some queries for defunct accessibles.  Note that many calls
on defunct accessibles throw exceptions.
Also, when receiving a ChildrenChanged and the list is not large enough to hold
the referenced child, refresh the children.  This works around ChildrenChanged
signals that we missed because we had not yet registered a match rule, for
instance.  We really need to solve this in managed-dbus somehow--there is no
reason not to register a dbus match-rule for ChildrenChanged and some other
signals with no sender/path except that managed-dbus does not support it
without the use of internal classes.
2010-08-26 17:31:53 -04:00
Mike Gorse 9a4d7399f5 Notify the registry daemon when adding/removing event listeners 2010-08-17 12:02:17 -04:00
Mike Gorse ff1a198aab Recognize Application interface, and warn rather
than throw an exception for unknown interfaces.

Ignore our own process for now to
avoid deadlock.

svn path=/trunk/at-spi-sharp/; revision=153765
2010-03-17 14:25:55 +00:00
Mike Gorse 76b775dbb5 * Accessible.cs, Application.cs, EventBase.cs,, EventObject.cs,
Registry.cs: Queue calls that could cause dbus events when firing
ChildrenChanged events so that they are fired in order.

svn path=/trunk/at-spi-sharp/; revision=152407
2010-02-24 22:12:42 +00:00
Mike Gorse 0fcd44ea50 Change interface/object path names to match at-spi2 0.1.7.
Add DeviceEventController.
Copy at-spi-sharp.dll.config when building test.

svn path=/trunk/at-spi-sharp/; revision=152091
2010-02-19 20:43:06 +00:00
Mike Gorse 5f4642536f * EventBase.cs: Track at-spi2 api.
* Accessible.cs: Fetch interfaces when unknown.

* Accessible.cs, Registry.cs: Fix some crashes.

svn path=/trunk/at-spi-sharp/; revision=150939
2010-02-05 16:31:07 +00:00
Mike Gorse 28d2115c69 * Accessible.cs: Fetch Parent, Name, and Description if we do not
have cached data for them.

* Accessible.cs, Application.cs: Fix several exceptions.

* Registry.cs: Do not create an appliation for an element with no bus
name.

* Registry.cs: Make GetAtspiBus internal to be compatible with
our ndesk-dbus fork.

svn path=/trunk/at-spi-sharp/; revision=150846
2010-02-04 10:33:18 +00:00
Mike Gorse da13cf4210 Refactor events to remove unused parameters.
Track at-spi2 api.

svn path=/trunk/at-spi-sharp/; revision=150790
2010-02-03 21:32:18 +00:00
Mike Gorse 520e1f446a Fix firing of ChildAdded.
Try when running an Iterate thread.
Fix some tests.

svn path=/trunk/at-spi-sharp/; revision=146845
2009-11-24 17:20:03 +00:00
Mike Gorse c364f96c00 Ndesk threading and signal fixes.
Set the desktop as the parent of an application.

svn path=/trunk/at-spi-sharp/; revision=146543
2009-11-19 15:15:05 +00:00
Sandy Armstrong db8db489ff In /:
* COPYING: 
	* ndesk-dbus: 
	* configure.ac: Bundle internalized and patched version of ndesk-dbus.

In tests/:
	* at-spi-sharp/Makefile.am:
	* at-spi-sharp/atspitest.sh.in: Rename assembly to AtSpiSharpTests.dll.
	Reference ndesk-dbus available internally in at-spi-sharp.dll.

In at-spi/:
	* Registry.cs: Bus property is now internal instead of public.
	* Makefile.am:
	* AssemblyInfo.cs: Bundle patched ndesk-dbus directly into at-spi-sharp
	with all public types internalized. Set InternalsVisibleTo for tests.

svn path=/trunk/at-spi-sharp/; revision=146049
2009-11-12 17:08:53 +00:00
Mike Gorse 94b85ca514 Track latest at-spi api changes.
Add gtkradiobutton.py.
Fix bug in test method affecting selection test.

svn path=/trunk/at-spi-sharp/; revision=146027
2009-11-12 11:47:42 +00:00
Mike Gorse 9018a403a6 Added ChildAdded, ChildRemoved, RoleChanged, NameChanged, DescriptionChanged,
and StateChanged events.

Added Dispose to Accessible and Application.

svn path=/trunk/at-spi-sharp/; revision=145066
2009-10-29 21:01:33 +00:00
Mike Gorse bccf0363a0 * Action.cs, Accessible.cs, Application.cs, Component.cs, Document.cs,
EditableText.cs, Hyperlink.cs, Hypertext.cs, Image.cs, Registry.cs,
Selection.cs, table.cs, Text.cs, Value.cs: Modify method and signal
names to correspond with DBus spec.

* Accessible.cs, Event.cs, Makefile.am: Add event bindings.

* Accessible.cs, UncachedChildren.cs, Makefile.am: Fetch children of
ManagesDescendants objects over the wire rather than relying on cache.

svn path=/trunk/at-spi-sharp/; revision=144140
2009-10-14 19:35:34 +00:00
Mike Gorse 886ad95db2 Add Hyperlink, Hypertext, Document, and Table bindings.
Several other fixes.

svn path=/trunk/at-spi-sharp/; revision=142083
2009-09-16 22:13:03 +00:00
Mike Gorse a7ffe6ee43 Various changes.
Added Action interface.

svn path=/trunk/at-spi-sharp/; revision=130888
2009-04-02 17:55:22 +00:00
Mike Gorse f37ddf857e Initial revision.
svn path=/trunk/at-spi-sharp/; revision=130558
2009-03-30 16:09:54 +00:00