qt-at-spi:qt-at-spi.git
6 years agoImproved object deletion handling objectDeletion
José Millán Soto [Fri, 22 Jul 2011 08:49:25 +0000 (10:49 +0200)]
Improved object deletion handling

6 years agoHandle object deletion
José Millán Soto [Tue, 12 Jul 2011 11:48:29 +0000 (13:48 +0200)]
Handle object deletion

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 agoMake sure path is not empty.
Frederik Gladhorn [Mon, 11 Jul 2011 15:51:03 +0000 (17:51 +0200)]
Make sure path is not empty.

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.

6 years agoMerge branch 'master' into table2
Frederik Gladhorn [Fri, 1 Jul 2011 12:02:58 +0000 (14:02 +0200)]
Merge branch 'master' into table2

6 years agoGet rid of copy of role names from atspi.
Frederik Gladhorn [Fri, 1 Jul 2011 11:21:30 +0000 (13:21 +0200)]
Get rid of copy of role names from atspi.

6 years agoUse the State enum from at-spi2 directly.
Frederik Gladhorn [Fri, 1 Jul 2011 11:17:40 +0000 (13:17 +0200)]
Use the State enum from at-spi2 directly.

6 years agoImprove tables adding cells slightly.
Frederik Gladhorn [Thu, 30 Jun 2011 15:30:41 +0000 (17:30 +0200)]
Improve tables adding cells slightly.

6 years agoMerge branch 'master' into table2
Frederik Gladhorn [Thu, 30 Jun 2011 15:23:03 +0000 (17:23 +0200)]
Merge branch 'master' into table2

6 years agoImprove debug output.
Frederik Gladhorn [Thu, 30 Jun 2011 15:19:19 +0000 (17:19 +0200)]
Improve debug output.

6 years agoImprove warning about bad QAccessiblePlugin impl.
Frederik Gladhorn [Thu, 30 Jun 2011 12:31:37 +0000 (14:31 +0200)]
Improve warning about bad QAccessiblePlugin impl.

6 years agoClean up debug.
Frederik Gladhorn [Thu, 30 Jun 2011 12:31:12 +0000 (14:31 +0200)]
Clean up debug.

6 years agoFix warning: Creating accessible with different object
Frederik Gladhorn [Thu, 30 Jun 2011 12:18:15 +0000 (14:18 +0200)]
Fix warning: Creating accessible with different object

6 years agoReturn the correct root object.
Frederik Gladhorn [Thu, 30 Jun 2011 12:01:39 +0000 (14:01 +0200)]
Return the correct root object.

6 years agoEmit value changed properly.
Frederik Gladhorn [Thu, 30 Jun 2011 09:51:46 +0000 (11:51 +0200)]
Emit value changed properly.

This seems to be ignored no matter what.
But before we were even sending the wrong string for the change.

6 years agoAdd warning when building bridge with Qt<4.8.
Frederik Gladhorn [Thu, 30 Jun 2011 08:58:42 +0000 (10:58 +0200)]
Add warning when building bridge with Qt<4.8.

6 years agoAdd comments for TableModelChanged.
Frederik Gladhorn [Thu, 30 Jun 2011 08:51:22 +0000 (10:51 +0200)]
Add comments for TableModelChanged.

6 years agoAdd buttons to add/remove list items.
Frederik Gladhorn [Thu, 30 Jun 2011 08:46:02 +0000 (10:46 +0200)]
Add buttons to add/remove list items.

6 years agoChange to use table2 interface.
Frederik Gladhorn [Tue, 28 Jun 2011 14:04:27 +0000 (16:04 +0200)]
Change to use table2 interface.

7 years agoFix license headers in examples.
Frederik Gladhorn [Fri, 24 Jun 2011 15:55:49 +0000 (17:55 +0200)]
Fix license headers in examples.

7 years agoDisable some debug output.
Frederik Gladhorn [Fri, 24 Jun 2011 15:44:49 +0000 (17:44 +0200)]
Disable some debug output.

7 years agoPay attention to QAccessible::ObjectCreated.
Frederik Gladhorn [Fri, 24 Jun 2011 15:20:26 +0000 (17:20 +0200)]
Pay attention to QAccessible::ObjectCreated.

This is needed for QML loader items it seems.

7 years agoUpdate to current a11y qml api.
Frederik Gladhorn [Fri, 24 Jun 2011 15:02:47 +0000 (17:02 +0200)]
Update to current a11y qml api.

7 years agoMerge remote-tracking branch 'origin/declarative'
Frederik Gladhorn [Fri, 24 Jun 2011 14:51:21 +0000 (16:51 +0200)]
Merge remote-tracking branch 'origin/declarative'

7 years agoComponent interface for table cells. Cleanup.
Frederik Gladhorn [Fri, 24 Jun 2011 14:06:45 +0000 (16:06 +0200)]
Component interface for table cells. Cleanup.

7 years agoDon't crash on children of virtual children. v0.0.3-alpha
Frederik Gladhorn [Thu, 23 Jun 2011 18:14:09 +0000 (20:14 +0200)]
Don't crash on children of virtual children.

7 years agoGo back to the old GetChildren behavior.
Frederik Gladhorn [Thu, 23 Jun 2011 18:01:00 +0000 (20:01 +0200)]
Go back to the old GetChildren behavior.

The recently introduced changes made the bridge less reliable.
Basically this reverts 02384811f4a612c9d84c7e78f8523136f448bc7a.

7 years agoProperly encode ptr in dbus path.
Frederik Gladhorn [Thu, 23 Jun 2011 16:56:33 +0000 (18:56 +0200)]
Properly encode ptr in dbus path.

7 years agoRemoval of accessibles.
Frederik Gladhorn [Thu, 23 Jun 2011 13:20:30 +0000 (15:20 +0200)]
Removal of accessibles.

Start to notify about accessibles being destroyed in some cases
(objects go from 0 to real).

7 years agoDon't assert on creation of some accessibles.
Frederik Gladhorn [Fri, 17 Jun 2011 09:52:29 +0000 (02:52 -0700)]
Don't assert on creation of some accessibles.

For now this crashes for itemviews since they lazily create their children.
This needs a proper fix but makes testing hard and crashy at the moment.

7 years agoAdd licensing file
Didier Roche [Mon, 20 Jun 2011 09:04:35 +0000 (11:04 +0200)]
Add licensing file

7 years agoProperly give child paths without initializing the child accessibles.
Frederik Gladhorn [Wed, 8 Jun 2011 18:10:06 +0000 (20:10 +0200)]
Properly give child paths without initializing the child accessibles.

7 years agoManage objects in one hash, path to object.
Frederik Gladhorn [Mon, 6 Jun 2011 23:15:01 +0000 (16:15 -0700)]
Manage objects in one hash, path to object.

Before there was a difference made between objects with children and others.

7 years agoChanged method name: setCurrentValue to SetCurrentValue
José Millán Soto [Mon, 13 Jun 2011 13:49:53 +0000 (15:49 +0200)]
Changed method name: setCurrentValue to SetCurrentValue

Changed method name in order to make it work with the current version
of at-spi2-core
See https://bugzilla.gnome.org/show_bug.cgi?id=652596

7 years agoCreated new test: testTextEdit()
José Millán Soto [Wed, 1 Jun 2011 01:25:30 +0000 (03:25 +0200)]
Created new test: testTextEdit()

7 years agoFix path for items with child id > 0.
Frederik Gladhorn [Mon, 6 Jun 2011 19:42:14 +0000 (12:42 -0700)]
Fix path for items with child id > 0.

Move creation of dbus path into its own function.
Append the index when we get one.

7 years agoMerge branch 'pointer-as-path'
Frederik Gladhorn [Sun, 5 Jun 2011 18:56:59 +0000 (11:56 -0700)]
Merge branch 'pointer-as-path'

7 years agoBegin testing lists.
Frederik Gladhorn [Sun, 5 Jun 2011 18:45:54 +0000 (11:45 -0700)]
Begin testing lists.

7 years agoDon't crash when a list doesn't return a row item.
Frederik Gladhorn [Sun, 5 Jun 2011 18:25:03 +0000 (11:25 -0700)]
Don't crash when a list doesn't return a row item.

I don't see why it happens, but lists would sometimes crash, print a warning instead.

7 years agoImproved boundary handling
José Millán Soto [Tue, 31 May 2011 21:57:37 +0000 (23:57 +0200)]
Improved boundary handling

7 years agoConverting at-spi boundary types to QAccessible
José Millán Soto [Thu, 12 May 2011 10:30:11 +0000 (12:30 +0200)]
Converting at-spi boundary types to QAccessible

Does not yet handle at-spi boundary types which do not have an QAccessible equivalent

7 years agoDifferent approach to navigating tables.
Frederik Gladhorn [Thu, 19 May 2011 00:09:49 +0000 (02:09 +0200)]
Different approach to navigating tables.

7 years agoRemoved unused variable in QSpiAdaptor::GetRelationSet
José Millán Soto [Thu, 19 May 2011 00:04:15 +0000 (02:04 +0200)]
Removed unused variable in QSpiAdaptor::GetRelationSet

7 years agoBase path on ptr.
Frederik Gladhorn [Tue, 17 May 2011 00:23:57 +0000 (02:23 +0200)]
Base path on ptr.

Sadly some objects even inside Qt don't seem to get the parent hierarchy right,
so instead of asserting when the index in parent is messed up, print a warning.

7 years agoClean up debug messages.
Frederik Gladhorn [Wed, 18 May 2011 19:17:39 +0000 (21:17 +0200)]
Clean up debug messages.

7 years agoAdd at-spi2 setup to readme. v0.0.2-alpha
Frederik Gladhorn [Wed, 18 May 2011 19:01:03 +0000 (21:01 +0200)]
Add at-spi2 setup to readme.

7 years agoFix license header to LGPL2.1 with proper address.
Frederik Gladhorn [Wed, 18 May 2011 17:30:22 +0000 (19:30 +0200)]
Fix license header to LGPL2.1 with proper address.

7 years agoAdded text in color to Simple example
José Millán Soto [Fri, 13 May 2011 17:15:56 +0000 (19:15 +0200)]
Added text in color to Simple example

7 years agoRemoved startOffsetCopy and endOffsetCopy in QSpiAdaptor::GetAttributeValue
José Millán Soto [Fri, 13 May 2011 17:14:46 +0000 (19:14 +0200)]
Removed startOffsetCopy and endOffsetCopy in QSpiAdaptor::GetAttributeValue

7 years agoImproved QSpiAdaptor::GetAttributes
José Millán Soto [Fri, 13 May 2011 11:45:48 +0000 (13:45 +0200)]
Improved QSpiAdaptor::GetAttributes

Removed variables endOffsetCopy and startOffsetCopy
startOffset set correctly
using const QString & instead of QString for iterating through attributes

7 years agoReduce usage of the horrible pseudo singleton.
Frederik Gladhorn [Fri, 13 May 2011 10:09:43 +0000 (12:09 +0200)]
Reduce usage of the horrible pseudo singleton.

7 years agoClean up destructors.
Frederik Gladhorn [Fri, 13 May 2011 05:34:27 +0000 (07:34 +0200)]
Clean up destructors.

Cache doesn't need a vtable.
Remove extra semicolon.

7 years agoAdd editable combo box and buddies.
Frederik Gladhorn [Wed, 11 May 2011 18:16:49 +0000 (20:16 +0200)]
Add editable combo box and buddies.

7 years agoImproved QSpiAdaptor::GetRelationSet
José Millán Soto [Thu, 12 May 2011 16:26:35 +0000 (18:26 +0200)]
Improved QSpiAdaptor::GetRelationSet

The following relations are checked: Label, Labelled, Controller and Controlled
Simple example modified so the line edit in the "Line Edit" tab has a label marked
as buddy widget.

7 years agoAdded dependency: at-spi2-core
José Millán Soto [Thu, 12 May 2011 15:24:04 +0000 (17:24 +0200)]
Added dependency: at-spi2-core

7 years agoImplemented QSpiAdaptor::GetRelationSet()
José Millán Soto [Wed, 11 May 2011 14:29:33 +0000 (16:29 +0200)]
Implemented QSpiAdaptor::GetRelationSet()

7 years agoChecking in QSpiAdaptor::AddSelection if selection count has changed
José Millán Soto [Wed, 11 May 2011 13:55:38 +0000 (15:55 +0200)]
Checking in QSpiAdaptor::AddSelection if selection count has changed

7 years agoClean up the test main window.
Frederik Gladhorn [Wed, 11 May 2011 17:07:47 +0000 (19:07 +0200)]
Clean up the test main window.

7 years agoChange translated roles for text and editable text to be in line with ATK.
Frederik Gladhorn [Wed, 11 May 2011 16:31:07 +0000 (18:31 +0200)]
Change translated roles for text and editable text to be in line with ATK.

7 years agoAdd table contents and more menus to example.
Frederik Gladhorn [Wed, 11 May 2011 16:16:35 +0000 (18:16 +0200)]
Add table contents and more menus to example.

7 years agoFiller should report filler as name.
Frederik Gladhorn [Wed, 11 May 2011 16:14:08 +0000 (18:14 +0200)]
Filler should report filler as name.

7 years agoModified tst_QtAtSpi::testLineEdit
José Millán Soto [Wed, 11 May 2011 09:12:50 +0000 (11:12 +0200)]
Modified tst_QtAtSpi::testLineEdit

Testing caret and selection

7 years agoAdded tst_QtAtSpi::testLineEdit()
José Millán Soto [Tue, 10 May 2011 14:51:27 +0000 (16:51 +0200)]
Added tst_QtAtSpi::testLineEdit()

7 years agoCorrected bug in AccessibleTestWindow::clearChildren
José Millán Soto [Tue, 10 May 2011 14:44:53 +0000 (16:44 +0200)]
Corrected bug in AccessibleTestWindow::clearChildren

qDeleteAll(children()) did also delete the layer, so future calls to
addChilren would make the application crash.
Now a new layer is created and the old one and its children are deleted.

7 years agoCorrected bug in QSpiAdaptor::InsertText
José Millán Soto [Tue, 10 May 2011 14:36:27 +0000 (16:36 +0200)]
Corrected bug in QSpiAdaptor::InsertText

Using resized text instead of the original one

7 years agoMerge branch 'master' of gitorious.org:qt-at-spi/qt-at-spi
José Millán Soto [Tue, 10 May 2011 13:50:10 +0000 (15:50 +0200)]
Merge branch 'master' of gitorious.org:qt-at-spi/qt-at-spi

7 years agoFixed memory leak in tst_qt-atspi.cpp
José Millán Soto [Tue, 10 May 2011 13:40:35 +0000 (15:40 +0200)]
Fixed memory leak in tst_qt-atspi.cpp

7 years agoTest Label.
Frederik Gladhorn [Tue, 10 May 2011 13:30:24 +0000 (15:30 +0200)]
Test Label.

7 years agoRemove printf that was used by unit test to get dbus address.
Frederik Gladhorn [Tue, 10 May 2011 13:25:49 +0000 (15:25 +0200)]
Remove printf that was used by unit test to get dbus address.

7 years agoRestructure unit test.
Frederik Gladhorn [Tue, 10 May 2011 13:15:21 +0000 (15:15 +0200)]
Restructure unit test.

Before we relied on an external application to run
for the test. This makes the test self-contained.
We now can easily test the implementations for
individual widgets using the full dbus round trip.

7 years agoImprove finding interfaces for some objects.
Frederik Gladhorn [Mon, 9 May 2011 23:53:05 +0000 (01:53 +0200)]
Improve finding interfaces for some objects.

Menus for example would sometimes not be found correctly because in a multi map
the constFind only returns the last inserted item.
This improves menu handling slightly.

7 years agoMerge remote branch 'upstream/master' into rangeextents 3
José Millán Soto [Mon, 9 May 2011 17:24:32 +0000 (19:24 +0200)]
Merge remote branch 'upstream/master' into rangeextents

7 years agoMerge branch 'master' into declarative
Frederik Gladhorn [Tue, 3 May 2011 18:09:41 +0000 (20:09 +0200)]
Merge branch 'master' into declarative

7 years agoMerge branch 'text-events'
Frederik Gladhorn [Sun, 1 May 2011 23:16:17 +0000 (01:16 +0200)]
Merge branch 'text-events'

7 years agoCompile with Qt 4.7 and 4.8.
Frederik Gladhorn [Sun, 1 May 2011 22:31:36 +0000 (00:31 +0200)]
Compile with Qt 4.7 and 4.8.

ifdef of TextUpdated which was added in Qt 4.8.

7 years agoInstead of iterating though children, use childAt to find items at a certain position.
Frederik Gladhorn [Fri, 15 Apr 2011 13:52:04 +0000 (15:52 +0200)]
Instead of iterating though children, use childAt to find items at a certain position.

7 years agoAdd state for QAccessible::SingleLine.
Frederik Gladhorn [Tue, 26 Apr 2011 15:27:39 +0000 (17:27 +0200)]
Add state for QAccessible::SingleLine.

7 years agoImplement TextChanged.
Frederik Gladhorn [Tue, 26 Apr 2011 15:06:47 +0000 (17:06 +0200)]
Implement TextChanged.

This depends on Qt having the IA2 events.

7 years agoStart relations implementation.
Frederik Gladhorn [Tue, 26 Apr 2011 15:28:20 +0000 (17:28 +0200)]
Start relations implementation.

7 years agoRemove unneded temporary var.
Frederik Gladhorn [Tue, 26 Apr 2011 15:25:22 +0000 (17:25 +0200)]
Remove unneded temporary var.