qt-at-spi:qt-at-spi.git
5 years agoStore last requested interface lastrequestedinterface
José Millán Soto [Thu, 19 Jan 2012 16:14:06 +0000 (17:14 +0100)]
Store last requested interface

The last interface that was requested in AtSpiAdaptor::interfaceFromPath, is
stored so it doesn't have to be created again if a new request is made to the
same interface, for example because the name, the description and the state are
requested.

5 years agoMerge branch 'StandardActionWrapper'
José Millán Soto [Wed, 18 Jan 2012 15:54:42 +0000 (16:54 +0100)]
Merge branch 'StandardActionWrapper'

5 years agoImproved action detection
José Millán Soto [Wed, 18 Jan 2012 15:09:53 +0000 (16:09 +0100)]
Improved action detection

Skip default action, when default action is SetFocus and widget is not focusable.
Check for Press is element role is PushButton

5 years agoImplemented StandardActionWrapper::keyBindings
José Millán Soto [Wed, 18 Jan 2012 12:02:41 +0000 (13:02 +0100)]
Implemented StandardActionWrapper::keyBindings

5 years agoReturn a new QAccessibleInterface instance when child is set in accessibleParent
José Millán Soto [Sun, 15 Jan 2012 06:41:23 +0000 (07:41 +0100)]
Return a new QAccessibleInterface instance when child is set in accessibleParent

5 years agoAdded break in QAccessible::Selection case in AtSpiAdaptor::notify
José Millán Soto [Sat, 14 Jan 2012 23:38:59 +0000 (00:38 +0100)]
Added break in QAccessible::Selection case in AtSpiAdaptor::notify

5 years agoVerify than an object is avaliable in AtSpiAdaptor::notify when reason is QAccessible...
José Millán Soto [Sat, 14 Jan 2012 23:38:02 +0000 (00:38 +0100)]
Verify than an object is avaliable in AtSpiAdaptor::notify when reason is QAccessible::StateChanged

5 years agoAdded StandardActionWrapper class
José Millán Soto [Fri, 13 Jan 2012 00:47:16 +0000 (01:47 +0100)]
Added StandardActionWrapper class

This class makes it possible to use the actions defined by implmenting
QAccessibleInterface::doAction, QAccessibleInterface::actionText and
QAccessibleInterface::userActionCount.

This is important in complex widgets, as QAccessibleActionInterface does not define
a way for an action to be executed on a child.

5 years agoMake AtSpiAdaptor::tableInterface use always table2Interface()
José Millán Soto [Fri, 13 Jan 2012 00:56:39 +0000 (01:56 +0100)]
Make AtSpiAdaptor::tableInterface use always table2Interface()

 - interface->table2Interface() is checked instead of tableInterface()
 - table2Interface() is used first when obtaining summary and caption

5 years agoHandle QAccessible::Selection in AtSpiAdaptor::notify
José Millán Soto [Wed, 11 Jan 2012 02:26:29 +0000 (03:26 +0100)]
Handle QAccessible::Selection in AtSpiAdaptor::notify

5 years agoAdd generated docs to gitignore.
Frederik Gladhorn [Fri, 6 Jan 2012 19:56:47 +0000 (20:56 +0100)]
Add generated docs to gitignore.

5 years agoSome more doc cleanup/improvement.
Frederik Gladhorn [Fri, 6 Jan 2012 19:56:30 +0000 (20:56 +0100)]
Some more doc cleanup/improvement.

5 years agoAdd classes to be documented.
Frederik Gladhorn [Fri, 6 Jan 2012 09:59:15 +0000 (10:59 +0100)]
Add classes to be documented.

5 years agoRemove more cruft.
Frederik Gladhorn [Fri, 6 Jan 2012 00:54:56 +0000 (01:54 +0100)]
Remove more cruft.

5 years agoClean up and document.
Frederik Gladhorn [Fri, 6 Jan 2012 00:24:15 +0000 (01:24 +0100)]
Clean up and document.

Add documentation in the cpp files.
Add qdoc instructions to generate the documentation.

5 years agoRemove old class.
Frederik Gladhorn [Fri, 6 Jan 2012 00:06:55 +0000 (01:06 +0100)]
Remove old class.

5 years agoRemove debug function.
Frederik Gladhorn [Fri, 6 Jan 2012 00:05:37 +0000 (01:05 +0100)]
Remove debug function.

5 years agoDon't leak interfaces. v0.1 v0.1.1
Frederik Gladhorn [Mon, 2 Jan 2012 13:46:36 +0000 (14:46 +0100)]
Don't leak interfaces.

5 years agoImplement flags to only send selected updates.
Frederik Gladhorn [Mon, 2 Jan 2012 12:54:12 +0000 (13:54 +0100)]
Implement flags to only send selected updates.

Use the register listeners on the a11y bus.

5 years agoFix buddies. v0.1.0
Frederik Gladhorn [Tue, 15 Nov 2011 19:46:15 +0000 (20:46 +0100)]
Fix buddies.

5 years agoimprove tab order
Frederik Gladhorn [Sat, 12 Nov 2011 14:54:54 +0000 (15:54 +0100)]
improve tab order

5 years agoWarn instead of assert for invalid child.
Frederik Gladhorn [Sat, 12 Nov 2011 14:52:20 +0000 (15:52 +0100)]
Warn instead of assert for invalid child.

5 years agoFix leak, use QSharedPointer.
Frederik Gladhorn [Thu, 3 Nov 2011 20:47:43 +0000 (21:47 +0100)]
Fix leak, use QSharedPointer.

Before the QAccessibleInterface would be leaked on introspection
and even when reacting to incomming calls via dbus.

5 years agoRemove stray newline.
Frederik Gladhorn [Thu, 3 Nov 2011 20:47:00 +0000 (21:47 +0100)]
Remove stray newline.

6 years agoAdd time and scroll area widgets.
Frederik Gladhorn [Wed, 28 Sep 2011 08:02:14 +0000 (10:02 +0200)]
Add time and scroll area widgets.

6 years agoAdd an insane amount of tool buttons.
Frederik Gladhorn [Mon, 26 Sep 2011 11:34:19 +0000 (13:34 +0200)]
Add an insane amount of tool buttons.

6 years agoImplement active state for window objects.
Frederik Gladhorn [Wed, 7 Sep 2011 13:54:11 +0000 (15:54 +0200)]
Implement active state for window objects.

6 years agoImplement window:deactivate.
Frederik Gladhorn [Wed, 7 Sep 2011 13:41:43 +0000 (15:41 +0200)]
Implement window:deactivate.

6 years agoAdd spinner and toolbutton to example.
Frederik Gladhorn [Mon, 5 Sep 2011 22:42:05 +0000 (00:42 +0200)]
Add spinner and toolbutton to example.

6 years agoReduce warning by handling more accessible updates.
Frederik Gladhorn [Sun, 4 Sep 2011 09:21:50 +0000 (11:21 +0200)]
Reduce warning by handling more accessible updates.

6 years agoDo not crash when the a11y bus address is not found on DBus.
Frederik Gladhorn [Fri, 2 Sep 2011 09:56:50 +0000 (11:56 +0200)]
Do not crash when the a11y bus address is not found on DBus.

6 years agoFix state handling - use a proper & for qflags.
Frederik Gladhorn [Thu, 1 Sep 2011 12:35:05 +0000 (14:35 +0200)]
Fix state handling - use a proper & for qflags.

6 years agoActually check state bits.
Frederik Gladhorn [Wed, 31 Aug 2011 15:13:04 +0000 (17:13 +0200)]
Actually check state bits.

This got broken with the removal of HasInvokeExtension.
(7e4d62dcbf1d5b7d8c70517ffd6c125a082f6cb4)

6 years agoWarn and return when trying to access invalid interfaces.
Frederik Gladhorn [Wed, 31 Aug 2011 13:30:44 +0000 (15:30 +0200)]
Warn and return when trying to access invalid interfaces.

6 years agoDo not crash the introspection with invalid paths.
Frederik Gladhorn [Wed, 31 Aug 2011 11:47:34 +0000 (13:47 +0200)]
Do not crash the introspection with invalid paths.

6 years agoRemove use of QAccessible::HasInvokeExtension.
Frederik Gladhorn [Fri, 26 Aug 2011 09:36:34 +0000 (11:36 +0200)]
Remove use of QAccessible::HasInvokeExtension.

QAccessible::HasInvokeExtension is marked as internal.
This value will go away in Qt5.

6 years agoGet the a11y bus address from dbus.
Frederik Gladhorn [Thu, 25 Aug 2011 10:01:34 +0000 (12:01 +0200)]
Get the a11y bus address from dbus.

This is the preferred way of getting the bus address.

6 years agoAdd a checkable menu item.
Frederik Gladhorn [Thu, 25 Aug 2011 09:43:16 +0000 (11:43 +0200)]
Add a checkable menu item.

6 years agoFix setter for value interface. Add test for value. v0.0.5-alpha
Frederik Gladhorn [Sat, 13 Aug 2011 09:07:15 +0000 (02:07 -0700)]
Fix setter for value interface. Add test for value.

6 years agoRemove duplicate function.
Frederik Gladhorn [Sat, 13 Aug 2011 08:50:11 +0000 (01:50 -0700)]
Remove duplicate function.

6 years agoRemoved duplicated method from Simple Example
José Millán Soto [Fri, 12 Aug 2011 12:30:06 +0000 (14:30 +0200)]
Removed duplicated method from Simple Example

6 years agoMerge branch 'dbusvirtual' v0.0.4-alpha
Frederik Gladhorn [Fri, 12 Aug 2011 09:53:22 +0000 (02:53 -0700)]
Merge branch 'dbusvirtual'

By now the branch has become stable enough and has a much better memory foot print.

Conflicts:
examples/simple/mainwindow.cpp
examples/simple/mainwindow.ui

6 years agoLet text test run through with xfail for now.
Frederik Gladhorn [Fri, 12 Aug 2011 09:51:47 +0000 (02:51 -0700)]
Let text test run through with xfail for now.

6 years agoFix table test to reflect table2 implementation.
Frederik Gladhorn [Fri, 12 Aug 2011 09:46:21 +0000 (02:46 -0700)]
Fix table test to reflect table2 implementation.

6 years agoLet GetItems in the Cache return at least an empty array.
Frederik Gladhorn [Thu, 11 Aug 2011 13:03:28 +0000 (06:03 -0700)]
Let GetItems in the Cache return at least an empty array.

6 years agoBring back introspection.
Frederik Gladhorn [Thu, 11 Aug 2011 12:42:38 +0000 (05:42 -0700)]
Bring back introspection.

6 years agoRemove stray semicolon.
Frederik Gladhorn [Wed, 10 Aug 2011 20:07:35 +0000 (13:07 -0700)]
Remove stray semicolon.

6 years agoRemove unused files.
Frederik Gladhorn [Wed, 10 Aug 2011 15:37:17 +0000 (08:37 -0700)]
Remove unused files.

6 years agoRename adaptor class to AtSpiAdaptor.
Frederik Gladhorn [Wed, 10 Aug 2011 15:21:21 +0000 (08:21 -0700)]
Rename adaptor class to AtSpiAdaptor.

6 years agoUse QWeakPointer to keep track of valid objects.
Frederik Gladhorn [Thu, 4 Aug 2011 13:50:03 +0000 (15:50 +0200)]
Use QWeakPointer to keep track of valid objects.

6 years agoMerge branch 'handledObjects' into dbusvirtual
Frederik Gladhorn [Thu, 4 Aug 2011 13:04:53 +0000 (15:04 +0200)]
Merge branch 'handledObjects' into dbusvirtual

Conflicts:
src/qspiadaptorv2.cpp
src/qspiadaptorv2.h

6 years agoRemove unused function.
Frederik Gladhorn [Thu, 4 Aug 2011 10:32:31 +0000 (12:32 +0200)]
Remove unused function.

6 years agoSave last state and text on first show.
Frederik Gladhorn [Wed, 3 Aug 2011 15:28:34 +0000 (17:28 +0200)]
Save last state and text on first show.

6 years agoFix Menus yet again.
Frederik Gladhorn [Wed, 3 Aug 2011 15:27:43 +0000 (17:27 +0200)]
Fix Menus yet again.

6 years agoKeep track of objects which are being handled by QSpiAdaptorV2
José Millán Soto [Wed, 3 Aug 2011 08:29:23 +0000 (10:29 +0200)]
Keep track of objects which are being handled by QSpiAdaptorV2

6 years agoMake object deletion use QAccessibleInterface
José Millán Soto [Tue, 2 Aug 2011 20:39:37 +0000 (22:39 +0200)]
Make object deletion use QAccessibleInterface

6 years agoHandle object deletion
José Millán Soto [Fri, 29 Jul 2011 07:41:37 +0000 (09:41 +0200)]
Handle object deletion

6 years agoRemove duplicate string defines.
Frederik Gladhorn [Tue, 2 Aug 2011 14:25:54 +0000 (16:25 +0200)]
Remove duplicate string defines.

6 years agoRemove cruft.
Frederik Gladhorn [Tue, 2 Aug 2011 14:16:35 +0000 (16:16 +0200)]
Remove cruft.

6 years agoCleanup, care about creation and destruction a bit more.
Frederik Gladhorn [Tue, 2 Aug 2011 14:13:58 +0000 (16:13 +0200)]
Cleanup, care about creation and destruction a bit more.

Move code where it belongs, remove a bit of cruft.
Destruction still has the problem that we know the parent but since
the parent doesn't know any more about the widget, we don't know our own index.

6 years agoImplement GetToolkitName.
Frederik Gladhorn [Tue, 2 Aug 2011 09:25:03 +0000 (11:25 +0200)]
Implement GetToolkitName.

6 years agoUse the proper null path from ATSPI for undefined references.
Frederik Gladhorn [Tue, 2 Aug 2011 09:09:11 +0000 (11:09 +0200)]
Use the proper null path from ATSPI for undefined references.

6 years agoDon't crash because of debugging unhandled events.
Frederik Gladhorn [Mon, 1 Aug 2011 12:21:59 +0000 (14:21 +0200)]
Don't crash because of debugging unhandled events.

6 years agoHandle QAccessible::ObjectShow and QAccessible::ObjectHide
José Millán Soto [Fri, 29 Jul 2011 18:03:06 +0000 (20:03 +0200)]
Handle QAccessible::ObjectShow and QAccessible::ObjectHide

6 years agoAdded the option to show or hide the table in simple example
José Millán Soto [Fri, 29 Jul 2011 09:54:27 +0000 (11:54 +0200)]
Added the option to show or hide the table in simple example

6 years agoCorrected typo in simple example
José Millán Soto [Fri, 29 Jul 2011 09:28:14 +0000 (11:28 +0200)]
Corrected typo in simple example

6 years agoAdded to simple example the function of displaying an info dialog
José Millán Soto [Fri, 29 Jul 2011 08:49:29 +0000 (10:49 +0200)]
Added to simple example the function of displaying an info dialog

6 years agoAdded to simple example the function of displaying an info dialog
José Millán Soto [Fri, 29 Jul 2011 08:49:29 +0000 (10:49 +0200)]
Added to simple example the function of displaying an info dialog

6 years agoSave the last text when text interface is there.
Frederik Gladhorn [Thu, 28 Jul 2011 11:49:50 +0000 (13:49 +0200)]
Save the last text when text interface is there.

6 years agoIntroduce helper to turn path into proper dbus variant.
Frederik Gladhorn [Thu, 28 Jul 2011 00:03:48 +0000 (02:03 +0200)]
Introduce helper to turn path into proper dbus variant.

6 years agoName and value change notifications.
Frederik Gladhorn [Wed, 27 Jul 2011 23:55:22 +0000 (01:55 +0200)]
Name and value change notifications.

6 years agoBring focus back for real.
Frederik Gladhorn [Wed, 27 Jul 2011 23:45:03 +0000 (01:45 +0200)]
Bring focus back for real.

6 years agoStart implementing signals - focus.
Frederik Gladhorn [Wed, 27 Jul 2011 22:32:09 +0000 (00:32 +0200)]
Start implementing signals - focus.

6 years agoClean newlines.
Frederik Gladhorn [Wed, 27 Jul 2011 20:23:47 +0000 (22:23 +0200)]
Clean newlines.

6 years agoBring back application activate and key filter.
Frederik Gladhorn [Wed, 27 Jul 2011 20:21:25 +0000 (22:21 +0200)]
Bring back application activate and key filter.

6 years agoAdd some constness to functions.
Frederik Gladhorn [Wed, 27 Jul 2011 13:58:49 +0000 (15:58 +0200)]
Add some constness to functions.

6 years agoMake sure not to ask for -1th child.
Frederik Gladhorn [Wed, 27 Jul 2011 13:38:28 +0000 (15:38 +0200)]
Make sure not to ask for -1th child.

6 years agoImplement table2.
Frederik Gladhorn [Wed, 27 Jul 2011 13:12:54 +0000 (15:12 +0200)]
Implement table2.

6 years agoDisable tons of things no longer needed from being built.
Frederik Gladhorn [Tue, 26 Jul 2011 14:21:21 +0000 (16:21 +0200)]
Disable tons of things no longer needed from being built.

6 years agoRow/column headers are components.
Frederik Gladhorn [Wed, 13 Jul 2011 12:26:37 +0000 (14:26 +0200)]
Row/column headers are components.

6 years agoSort functions so that they make more sense.
Frederik Gladhorn [Tue, 12 Jul 2011 09:12:04 +0000 (11:12 +0200)]
Sort functions so that they make more sense.

6 years agoReturn a row/col only for big enough indexes.
Frederik Gladhorn [Tue, 12 Jul 2011 09:03:08 +0000 (11:03 +0200)]
Return a row/col only for big enough indexes.

6 years agoImplement rows/cols with table2 interface.
Frederik Gladhorn [Tue, 12 Jul 2011 06:40:04 +0000 (08:40 +0200)]
Implement rows/cols with table2 interface.

6 years agoBetter focus debug output.
Frederik Gladhorn [Mon, 11 Jul 2011 15:50:28 +0000 (17:50 +0200)]
Better focus debug output.

6 years agoRename header to make debugging easier.
Frederik Gladhorn [Mon, 11 Jul 2011 15:48:58 +0000 (17:48 +0200)]
Rename header to make debugging easier.

6 years agoNicer debug output.
Frederik Gladhorn [Tue, 5 Jul 2011 14:27:46 +0000 (16:27 +0200)]
Nicer debug output.

6 years agoSet expandable for tree items.
Frederik Gladhorn [Tue, 5 Jul 2011 13:27:07 +0000 (15:27 +0200)]
Set expandable for tree items.

6 years agoFix tree test.
Frederik Gladhorn [Mon, 4 Jul 2011 20:06:35 +0000 (13:06 -0700)]
Fix tree test.

6 years agoDo not crash when interface->childCount() != children.count().
Frederik Gladhorn [Mon, 4 Jul 2011 18:15:58 +0000 (20:15 +0200)]
Do not crash when interface->childCount() != children.count().

6 years agoActually update the children.
Frederik Gladhorn [Mon, 4 Jul 2011 15:46:31 +0000 (17:46 +0200)]
Actually update the children.

6 years agoTypo in test.
Frederik Gladhorn [Mon, 4 Jul 2011 15:44:32 +0000 (17:44 +0200)]
Typo in test.

6 years agoFix test a little.
Frederik Gladhorn [Mon, 4 Jul 2011 14:30:24 +0000 (16:30 +0200)]
Fix test a little.

6 years agoMore trees, more debug output, more test.
Frederik Gladhorn [Mon, 4 Jul 2011 07:39:13 +0000 (00:39 -0700)]
More trees, more debug output, more test.

6 years agoBetter role name for tree item.
Frederik Gladhorn [Sun, 3 Jul 2011 14:12:27 +0000 (07:12 -0700)]
Better role name for tree item.

6 years agoRemove cruft.
Frederik Gladhorn [Sun, 3 Jul 2011 14:11:53 +0000 (07:11 -0700)]
Remove cruft.

6 years agoStart Tree test.
Frederik Gladhorn [Sun, 3 Jul 2011 14:09:31 +0000 (07:09 -0700)]
Start Tree test.

6 years agoStart with expanded tree for now.
Frederik Gladhorn [Fri, 1 Jul 2011 22:26:20 +0000 (00:26 +0200)]
Start with expanded tree for now.

6 years agoFix GetIndexInParent.
Frederik Gladhorn [Fri, 1 Jul 2011 19:54:46 +0000 (21:54 +0200)]
Fix GetIndexInParent.

For at-spi we need to convert one based index to 0-based.
Remove some debug output and add assert.

6 years agoRemove assert that was clearly wrong.
Frederik Gladhorn [Fri, 1 Jul 2011 19:31:53 +0000 (21:31 +0200)]
Remove assert that was clearly wrong.

6 years agoReact to TableModelChanged.
Frederik Gladhorn [Fri, 1 Jul 2011 19:09:39 +0000 (21:09 +0200)]
React to TableModelChanged.

For now reset the entire table.