Benjamin Otte
56ebb3dd0e
a11y: Remove setters for row description/header
...
AT-SPI doesn't expose them, so there's no need to keep them.
2011-07-05 16:08:07 -04:00
Matthias Clasen
1b8c38f6e1
GtkHSV: set a suitable role for the accessible
...
The consensus of the accessibility team was that 'color chooser'
fits best for this. Update tests to match.
2011-07-05 16:08:07 -04:00
Matthias Clasen
3edebfb81c
GtkSpinner: set a suitable role for the accessible
...
The consensus of the accessibility team was that this is
an animation. Update tests to match.
2011-07-05 16:08:07 -04:00
Matthias Clasen
828d70c6d7
GtkLabelAccessible: remove redundant check
...
We always have the textutil now, so remove some NULL checks.
Also, never say 'State is defunct' again...
2011-07-05 16:08:06 -04:00
Matthias Clasen
dddf587aec
GtkLabel: freeze property notification where appropriate
...
When setting properties that require recalculating the label
text, freeze notification until the label is properly updated.
This fixes bug 126797.
2011-07-05 16:08:06 -04:00
Matthias Clasen
441bf26a2e
GtkLabelAccessible: remove broken workarounds
...
This removes a horrible workaround for bug 126797. To prevent
picking up accidental markup in label texts, the label accessible
is listening for window creation and mapping and defers initializing
its text until then.
2011-07-05 16:08:06 -04:00
Matthias Clasen
91960a2132
Add a testcase for a very old bug
...
This tests a problem that was first noticed in 2003, in
bug 126797: The text of a label accessible is not properly
updated when the label switches from !use-markup to use-markup.
2011-07-05 16:08:06 -04:00
Matthias Clasen
437aaccc19
Test lots of boring string functions
...
Needless to say, these tests still fail.
2011-07-05 16:08:06 -04:00
Matthias Clasen
ec7c50ef00
Add some AtkText tests
...
These unfortunately all fail really miserably, currently.
2011-07-05 16:08:06 -04:00
Matthias Clasen
a381fd288c
GailLabel -> GtkLabelAccessible
...
A first experimental conversion from the gail namespace to gtkaccessible.
At the same time, use gtk_widget_class_set_accessible_type() to register
the accessible type for GtkLabel.
2011-07-05 16:08:06 -04:00
Matthias Clasen
a0790f1000
Remove gail_widget_new()
...
The function was unused and unnecessary.
2011-07-05 16:08:06 -04:00
Matthias Clasen
e80e585639
Forgotten file
2011-07-05 16:08:06 -04:00
Matthias Clasen
743cb1fc96
spinbutton testcase
2011-07-05 16:08:05 -04:00
Matthias Clasen
2610a43e1c
iconview testcase
2011-07-05 16:08:05 -04:00
Matthias Clasen
55d8a684c7
Paned testcase
2011-07-05 16:08:05 -04:00
Matthias Clasen
9d4ce36199
Statusbar testcases
2011-07-05 16:08:05 -04:00
Matthias Clasen
fb91fd7e3c
tree-performance: test with tree stores too
...
This duplicates the current test with a GtkTreeStore instead
of a GtkListStore.
2011-07-05 16:08:05 -04:00
Matthias Clasen
2deeab4c4f
GailTreeView: optimize a bit
...
Avoid many unnecessary list iterations by using a hash table
to store cell infos, and caching row and column counts. Based
on patches by William Jon McCann, bug 554171.
tree-performance results:
before: (MINPERF:large tree test with a11y: 9.18531sec)
after: (MINPERF:large tree test with a11y: 0.923463sec)
for comparison, without accessibility:
(MINPERF:large tree test: 0.016179sec)
2011-07-05 16:08:05 -04:00
Matthias Clasen
23bc606c79
a11y: add a treeview performance test
...
This test creates a treeview with a few columns and a liststore,
and then populates it with a 1000 rows.
2011-07-05 16:08:05 -04:00
Matthias Clasen
430957b036
Add a calendar testcase
2011-07-05 16:08:05 -04:00
Matthias Clasen
8aced27009
Add an infobar testcase
2011-07-05 16:08:05 -04:00
Matthias Clasen
f2d6439bc7
Add a GtkProgressBar testcase
2011-07-05 16:08:05 -04:00
Matthias Clasen
5d84495b77
Add a GtkSpinner testcase
2011-07-05 16:08:05 -04:00
Matthias Clasen
96d5ea96fd
Add a lockbutton testcase
2011-07-05 16:08:05 -04:00
Matthias Clasen
3cc413e84f
Add a testcase for all the pickers
2011-07-05 16:08:05 -04:00
Matthias Clasen
4573659deb
Don't pass NULL to functions expecing a real string
...
...and when you do pass them a real string, don't leak it.
2011-07-05 16:08:04 -04:00
Benjamin Otte
a8f663ce5e
Revert "Add a testcase with a print dialog"
...
THe testcase depends on the installed printers, so is nondeterministic.
This reverts commit 5bf14cc7485fe015ad15747454e877f2fb3dabc5.
2011-07-05 16:08:04 -04:00
Benjamin Otte
a3ca0bf898
Revert "Add a filechooser testcase"
...
File choosers depend on the files in the current directory and the
settings the user has set for the file chooser, so the output cannot be
deterministic.
This reverts commit f05c9e02c49f857c33e02c3d89483fcccb5df254.
2011-07-05 16:08:04 -04:00
Benjamin Otte
aaa40bdc0a
Revert "Add a testcase involving a font selection dialog"
...
The font chooser depends on the fonts installed on the system, so the
output is nondeterministic.
This reverts commit 08fdc399762c2af07d94e42a1801e691e5d4d6ab.
2011-07-05 16:08:04 -04:00
Benjamin Otte
d346be96c2
tests: Don't emit a message for every unnamed object
2011-07-05 16:08:04 -04:00
Benjamin Otte
4c0814a176
tests: Reset the unnamed counter before a test run
...
This guarantees that objects are named the same all the time.
2011-07-05 16:08:04 -04:00
Benjamin Otte
521f9e2f15
gail: Add support for action_set_description
...
As set_description is never called and unsupported by the at-spi, we can
omit implementing it.
This means we can also omit get_description calls in various places, as
they'd just return the default value: NULL.
2011-07-05 16:08:04 -04:00
Benjamin Otte
26a2cfe62a
tests: Fix crash due to freeing random pointers
2011-07-05 16:08:04 -04:00
Benjamin Otte
9ddea3f4e1
a11y: Remove hack for old code
...
This code was supposed to work around a bad interaction between GOK and
Nautilus from 7 years ago.
If it still exists, the GOK developers may complain to the Nautilus
developers.
https://bugzilla.gnome.org/show_bug.cgi?id=137401
2011-07-05 16:08:04 -04:00
Benjamin Otte
a65cb51d49
gail: Remove useless code
...
The ATK default code does the same thing as these two functions.
2011-07-05 16:08:04 -04:00
Joachim Breitner
317d7a1f54
docs: Remove mention of client messages
2011-07-05 16:08:04 -04:00
Matthias Clasen
b9c0d226c0
Add an assistant testcase
2011-07-05 16:08:04 -04:00
Matthias Clasen
1783b5c85e
Add a testcase involving an expander
2011-07-05 16:08:03 -04:00
Matthias Clasen
5a257fe95f
Add a testcase with a print dialog
2011-07-05 16:08:03 -04:00
Matthias Clasen
b2e624c50c
Add a messagedialog testcase
2011-07-05 16:08:03 -04:00
Matthias Clasen
c950bd540b
Add a testcase involving a font selection dialog
2011-07-05 16:08:03 -04:00
Matthias Clasen
4149124b2b
Add a testcase with an appchooser dialog
2011-07-05 16:08:03 -04:00
Matthias Clasen
0f2c739473
Add a README for accessibility-dump
2011-07-05 16:08:03 -04:00
Matthias Clasen
4dfc4fbdaf
Add an about dialog testcase
2011-07-05 16:08:03 -04:00
Matthias Clasen
f59b9e52d4
Add a color chooser testcase
2011-07-05 16:08:02 -04:00
Matthias Clasen
ac8e00010a
Add a scrollbar to the range testcase
2011-07-05 16:08:02 -04:00
Matthias Clasen
dfb8fa9b5a
Add a filechooser testcase
2011-07-05 16:08:02 -04:00
Matthias Clasen
56100a017a
Remove debug spew
...
This had crept into the expected output for the buttons
testcase.
2011-07-05 16:08:02 -04:00
Matthias Clasen
ffb6df5f42
GailTreeView: deal with absence of model
2011-07-05 16:08:02 -04:00
Matthias Clasen
7f44184f61
GailImageCell: Deal with absence of pixbufs
...
...and when there are pixbufs, don't leak them.
2011-07-05 16:08:02 -04:00