qt-at-spi:sebsauers-qt-at-spi.git
6 years agoMerge branch 'master' into qt5 qt5
Frederik Gladhorn [Mon, 12 Mar 2012 13:55:40 +0000 (14:55 +0100)]
Merge branch 'master' into qt5

Conflicts:
src/atspiadaptor.cpp
tests/tst_qt-atspi.cpp

6 years agoImprove shortcut handling. master
Frederik Gladhorn [Mon, 12 Mar 2012 13:50:20 +0000 (14:50 +0100)]
Improve shortcut handling.

Gnome joings "mnemonics" with semicolons.
Fall back to the text(Accelerator) shortcut if available.

6 years agoRemove useless debug output.
Frederik Gladhorn [Mon, 12 Mar 2012 13:25:39 +0000 (14:25 +0100)]
Remove useless debug output.

6 years agoEvents as pointers
Frederik Gladhorn [Mon, 12 Mar 2012 09:59:11 +0000 (10:59 +0100)]
Events as pointers

6 years agoUse plastique style in test.
Frederik Gladhorn [Thu, 8 Mar 2012 14:00:25 +0000 (15:00 +0100)]
Use plastique style in test.

Oxygen style is unusable and unreliable for the test since
it has a tendency to create many invisible extra items behind our back.

6 years agoFix introspection of root accessible.
Frederik Gladhorn [Thu, 8 Mar 2012 13:43:58 +0000 (14:43 +0100)]
Fix introspection of root accessible.

6 years agoMerge branch 'master' into qt5
Frederik Gladhorn [Mon, 5 Mar 2012 14:38:07 +0000 (15:38 +0100)]
Merge branch 'master' into qt5

This should make Menu work.

Conflicts:
src/atspiadaptor.cpp
src/atspiadaptor.h

6 years agoMake sure that all classes inheriting QAction are treated right.
Frederik Gladhorn [Mon, 5 Mar 2012 13:34:16 +0000 (14:34 +0100)]
Make sure that all classes inheriting QAction are treated right.

6 years agoFix navigation to Menu and QAction.
Frederik Gladhorn [Mon, 5 Mar 2012 13:23:05 +0000 (14:23 +0100)]
Fix navigation to Menu and QAction.

6 years agoClean up interfaceForPath.
Frederik Gladhorn [Fri, 2 Mar 2012 20:57:27 +0000 (21:57 +0100)]
Clean up interfaceForPath.

6 years agoRename shared pointer for interfaces to QAIPointer.
Frederik Gladhorn [Fri, 2 Mar 2012 20:39:29 +0000 (21:39 +0100)]
Rename shared pointer for interfaces to QAIPointer.

6 years agoMerge branch 'master' into qt5
Frederik Gladhorn [Fri, 2 Mar 2012 15:44:43 +0000 (16:44 +0100)]
Merge branch 'master' into qt5

Conflicts:
examples/simple/mainwindow.ui
src/atspiadaptor.cpp
src/atspiadaptor.h

6 years agoRename QAccessibleInterfacePointer to QAIPointer.
Frederik Gladhorn [Fri, 2 Mar 2012 14:19:49 +0000 (15:19 +0100)]
Rename QAccessibleInterfacePointer to QAIPointer.

6 years agoFix mem leaks in previous patch.
Frederik Gladhorn [Fri, 2 Mar 2012 14:18:01 +0000 (15:18 +0100)]
Fix mem leaks in previous patch.

6 years agoUse QAccessibleEvent. Relations updated.
Frederik Gladhorn [Fri, 2 Mar 2012 13:45:33 +0000 (14:45 +0100)]
Use QAccessibleEvent. Relations updated.

Changes in the qt5 bridge plugin interface and api.

6 years agoSet atspi role to password_text for password line edits.
Frederik Gladhorn [Fri, 2 Mar 2012 10:59:54 +0000 (11:59 +0100)]
Set atspi role to password_text for password line edits.

6 years agoFix build with current qt5.
Frederik Gladhorn [Tue, 24 Jan 2012 10:44:45 +0000 (11:44 +0100)]
Fix build with current qt5.

6 years agoSend selection changed signals.
Frederik Gladhorn [Fri, 20 Jan 2012 17:11:08 +0000 (18:11 +0100)]
Send selection changed signals.

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

6 years agoImproved action detection StandardActionWrapper
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

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

6 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

6 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

6 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

6 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.

6 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

6 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

6 years agoUpdate to current qt5.
Frederik Gladhorn [Tue, 10 Jan 2012 23:41:59 +0000 (00:41 +0100)]
Update to current qt5.

6 years agoMerge branch 'master' into qt5
Frederik Gladhorn [Tue, 10 Jan 2012 23:13:34 +0000 (00:13 +0100)]
Merge branch 'master' into qt5

Conflicts:
src/atspiadaptor.cpp

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

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

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

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

6 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.

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

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

6 years agoRemove warning about env var for Qt 5.
Frederik Gladhorn [Tue, 3 Jan 2012 18:26:09 +0000 (19:26 +0100)]
Remove warning about env var for Qt 5.

6 years agoMerge branch 'master' into qt5
Frederik Gladhorn [Mon, 2 Jan 2012 14:02:09 +0000 (15:02 +0100)]
Merge branch 'master' into qt5

6 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.

6 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.

6 years agoMore Table fixes and better warnings.
Frederik Gladhorn [Thu, 8 Dec 2011 12:14:14 +0000 (13:14 +0100)]
More Table fixes and better warnings.

6 years agoAdapt childAt implementation to current Qt impl.
Frederik Gladhorn [Thu, 8 Dec 2011 10:27:59 +0000 (11:27 +0100)]
Adapt childAt implementation to current Qt impl.

6 years agoFix crash in table interface.
Frederik Gladhorn [Thu, 8 Dec 2011 10:27:31 +0000 (11:27 +0100)]
Fix crash in table interface.

Should return the accessible for caption if available.

6 years agoFor now depend on widgets.
Frederik Gladhorn [Thu, 8 Dec 2011 09:52:22 +0000 (10:52 +0100)]
For now depend on widgets.

(needs research, in theory this should work without,
but non-widget apps can't load the plugin otherwise atm)

6 years agoTable2 has become table.
Frederik Gladhorn [Mon, 5 Dec 2011 16:35:54 +0000 (17:35 +0100)]
Table2 has become table.

6 years agoCell is a proper iface now.
Frederik Gladhorn [Thu, 1 Dec 2011 13:51:01 +0000 (14:51 +0100)]
Cell is a proper iface now.

6 years agoRemove slots that should not be there in the first place.
Frederik Gladhorn [Thu, 1 Dec 2011 13:50:11 +0000 (14:50 +0100)]
Remove slots that should not be there in the first place.

6 years agoFix handling of QAction
Frederik Gladhorn [Thu, 24 Nov 2011 13:02:40 +0000 (14:02 +0100)]
Fix handling of QAction

6 years agoNo virtual children.
Frederik Gladhorn [Mon, 21 Nov 2011 16:16:49 +0000 (17:16 +0100)]
No virtual children.

Currently breaks menus/qaction again.

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

6 years agoMerge remote-tracking branch 'origin/master' into qt5
Frederik Gladhorn [Sat, 12 Nov 2011 15:38:42 +0000 (16:38 +0100)]
Merge remote-tracking branch 'origin/master' into qt5

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

6 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.

6 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.

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

6 years agoDo not crash on empty actionNames.
Frederik Gladhorn [Fri, 21 Oct 2011 13:00:24 +0000 (15:00 +0200)]
Do not crash on empty actionNames.

6 years agoqt5 fixes
Frederik Gladhorn [Fri, 23 Sep 2011 22:35:27 +0000 (00:35 +0200)]
qt5 fixes

6 years agoAdd more widgets to examples.
Frederik Gladhorn [Thu, 6 Oct 2011 12:28:03 +0000 (14:28 +0200)]
Add more widgets to examples.

6 years agoMerge branch 'master' into qt5
Frederik Gladhorn [Wed, 28 Sep 2011 08:02:45 +0000 (10:02 +0200)]
Merge branch 'master' into qt5

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 agoMerge branch 'master' into qt5
Frederik Gladhorn [Mon, 26 Sep 2011 11:34:43 +0000 (13:34 +0200)]
Merge branch 'master' into qt5

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 agoMerge branch 'master' into qt5
Frederik Gladhorn [Mon, 5 Sep 2011 22:45:51 +0000 (00:45 +0200)]
Merge branch 'master' into qt5

Conflicts:
src/atspiadaptor.cpp

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 agoRely on Qt5's new parent and child functions.
Frederik Gladhorn [Mon, 5 Sep 2011 22:40:17 +0000 (00:40 +0200)]
Rely on Qt5's new parent and child functions.

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 agoChange to using new parent function to get accessible parents.
Frederik Gladhorn [Sun, 4 Sep 2011 09:01:04 +0000 (11:01 +0200)]
Change to using new parent function to get accessible parents.

6 years agoRevert name space changes (removing QAccessible2).
Frederik Gladhorn [Fri, 2 Sep 2011 15:09:15 +0000 (17:09 +0200)]
Revert name space changes (removing QAccessible2).

6 years agoMerge branch 'master' into qt5
Frederik Gladhorn [Fri, 2 Sep 2011 12:33:47 +0000 (14:33 +0200)]
Merge branch 'master' into qt5

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 agoBuild with some intermediate state of Qt5.
Frederik Gladhorn [Fri, 26 Aug 2011 14:34:56 +0000 (16:34 +0200)]
Build with some intermediate state of Qt5.

6 years agoMerge remote-tracking branch 'origin/master' into qt5
Frederik Gladhorn [Fri, 26 Aug 2011 09:39:19 +0000 (11:39 +0200)]
Merge remote-tracking branch 'origin/master' into qt5

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 agoStart preparation for Qt 5.
Frederik Gladhorn [Thu, 25 Aug 2011 09:27:53 +0000 (11:27 +0200)]
Start preparation for Qt 5.

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