Commit Graph

3884 Commits

Author SHA1 Message Date
Mike Hommey
3c9f31cc4a Bug 1138845 - Don't require atk-bridge for gtk+3 builds. r=tbsaunde 2015-03-04 14:39:55 +09:00
Masayuki Nakano
48dadac26a Bug 1105611 - Add tests of nsIAccessibleEditableText with contentediable editors which have ::before or ::after, patch=nakano, surkov, r=yzen 2015-03-03 14:26:02 -05:00
Masayuki Nakano
5be63a228b Bug 1105611 - HyperTextAccessible should set DOM range outside of pseudo elements r=surkov 2015-03-03 14:25:52 -05:00
Andrea Marchesini
80f301db79 Bug 1134280 - Get rid of Tag() - patch 2.1 - /accessible - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:08:59 +00:00
Andrea Marchesini
454d9140a2 Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Alexander Surkov
21b18abe2d Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Marco Zehe
9e7656393a Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Marco Zehe
f7d8bdbff4 Bug 1136563 - ARIA 1.1: Support role 'switch', r=surkov 2015-02-26 14:47:15 +01:00
Ting-Yu Lin
c4db413d6a Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Yura Zenevich
93b3f9e70c Bug 1136241 - making sure that hint/role strings are returned with no spaces to support localization. r=eeejay
---
 accessible/jsat/OutputGenerator.jsm             | 2 +-
 accessible/jsat/Utils.jsm                       | 3 ++-
 accessible/tests/mochitest/jsat/test_hints.html | 4 ++++
 3 files changed, 7 insertions(+), 2 deletions(-)
2015-02-25 16:33:34 -05:00
Olli Pettay
bca7e7be13 Bug 1135908 - [E10s] Proxy for Character/SelectionCount(), r=tbsaunde 2015-02-25 14:18:17 +02:00
Alessio Placitelli
0901b2cbcc Bug 1111022 - Fixes the accessibility test_docload.html test failing with hidden windows. 2015-02-22 12:28:32 +01:00
Max Li
212d5dedcf Bug 1122857 - form controls fail to emit TYPE_VIEW_CLICKED events upon state change. r=eeejay
--HG--
extra : rebase_source : 7c9e940f3cceca9eb2cc83c0c2c4cf2fe6a21a0c
2015-02-20 12:38:50 -05:00
Alexander Surkov
fdf1f7dc81 Bug 971212 - Implement ARIA role=none, r=davidb 2015-02-19 12:50:34 -05:00
Anish
48094b2951 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
b6ef20bdf0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
bbc6a8a249 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Alexander Surkov
74e29eda87 Bug 1133322 - tweak shutdown procedure for accessibles maintaining own trees, r=yzen 2015-02-18 23:37:32 -05:00
Olli Pettay
5950734a4c Bug 1132960, don't include conditionally processed nsIFoo header files in .ipdl, r=tbsaunde
--HG--
extra : rebase_source : 6b6f7f1b898e8c35cd09ee310c2a661fdea420f3
2015-02-17 21:35:40 +02:00
Alexander Surkov
d4d465b6d0 Bug 1130793 - wrong class is used for ARIA grid cell contained by HTML tr@role='row', r=yzen 2015-02-13 20:09:51 -05:00
Trevor Saunders
2fa889020e bug 1127402 - proxy RelationByType method r=davidb 2015-02-12 18:18:13 -05:00
Trevor Saunders
c733097ca4 bug 1124449 - teach IAccessible impl about proxy wrappers r=davidb 2015-02-12 18:16:44 -05:00
Olli Pettay
798ea135c7 Bug 1132485 - IPC proxy for GetText*Offset, r=tbsaunde
--HG--
extra : rebase_source : d9f62f17d6c487234aac3645d830fa55318d64b6
2015-02-12 22:56:13 +02:00
Olli Pettay
a2e3724464 Bug 1132223 - Add IdToAccessible and IdToHyperTextAccessible to DocAccessibleChild to reduce code duplication, r=tbsaunde
--HG--
extra : rebase_source : 7c5380eafdfd3a63176bf201920a8b028145fb1a
2015-02-12 22:53:43 +02:00
Olli Pettay
0ca5e8f187 Bug 1132134 - Get Accessible value from the child process, r=tbsaunde
--HG--
extra : rebase_source : 5bc26d5e7eda34b61666d9c562588ae6e7092c4f
2015-02-11 22:00:11 +02:00
Gijs Kruitbosch
896b98fa12 Bug 1123771 - don't expose search icon as button if all it does is focus input and label it otherwise, r=Mossop 2015-02-06 11:44:37 +00:00
Yura Zenevich
4e5a3b76fa Bug 1129955 - added support for accessible name changes in AccessFu. r=eeejay
---
 accessible/jsat/EventManager.jsm                   |  8 ++++++++
 accessible/jsat/Presentation.jsm                   | 21 ++++++++++++++++++++
 .../mochitest/jsat/doc_content_integration.html    |  5 +++++
 accessible/tests/mochitest/jsat/jsatcommon.js      |  9 +++++++++
 .../mochitest/jsat/test_content_integration.html   | 23 +++++++++++++++++++---
 5 files changed, 63 insertions(+), 3 deletions(-)
2015-02-05 14:06:53 -05:00
Alexander Surkov
0664252a1e Bug 786143 - inherit aria-hidden through subtree, r=yzen 2015-02-04 18:33:33 -05:00
David Zbarsky
32c35eeb2a Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Phil Ringnalda
f55829d7eb Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
058ba6807f Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky
1330fc1496 Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Trevor Saunders
c386e77dd5 bug 1124821 - make shutdown of attached documents more robust r=smaug 2015-01-30 13:53:32 -05:00
Alexander Surkov
6bd80b253e Bug 1126786 - remove NS_DEBUG_X rudiment, r=davidb 2015-01-28 13:32:30 -05:00
Daniel Holbert
e8fb5ca6f9 Bug 1126541: Don't depend on implicit uint32_t-to-bool conversion in DocAccessibleParent::RecvShowEvent's final return statement. r=tbsaunde 2015-01-28 09:41:56 -08:00
Ehsan Akhgari
8746c1322e Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc
The caret movement code already handles unselectable text frames if we
happen to land in the middle of one in nsTextFrame::PeekOffsetCharacter/Word.
However, when performing frame traversal to find the next frame to jump
to, we don't remember if we skipped over an unselectable frame, which causes
us to jump one offset too much when the caret is on the boundary of
selectable and unselectable content.  The test cases demonstrate the
scenario.  Note that an <img alt=foo> is implemented by adding a
generated content to the inline frame representing it, so as far as
the caret movement code is concerned, both test cases are treated similarly.

Note that we need to do this only when moving the selection, and not
when extending it.  We are adding an aExtend argument to
nsPeekOffsetStruct's constructor in order to be able to special case
that.
2015-01-27 23:11:26 -05:00
Daniel Holbert
91748065fa Bug 1110510 followup: fix typo in assertion message. (no review)
(single-character tweak to assertion-message-text, so DONTBUILD)
2015-01-26 14:48:07 -08:00
Xidorn Quan
b5ce129539 Bug 1124029 - Fix printf type warning on AccessibleWrap. r=davidb
--HG--
extra : source : 11a8e65c1b7936ff8e084f5011fbb6e17d7dbfef
extra : histedit_source : a66dbc91a3340324a6d2c8ef9d482b2663601baf
2015-01-27 08:37:38 +11:00
Trevor Saunders
1b0dc8e961 bug 1124463 - suppress -Wunused warnings in IUNKNOWN impl macros r=ehsan 2015-01-26 15:27:26 -05:00
Trevor Saunders
630e5d876c bug 1124285 - setup proxies on windows r=davidb
Unfortunately on windows there's no separate object implementing the
native interfaces.  That means we need to have a type of accessible that
just wraps a proxy.
2015-01-26 15:27:01 -05:00
Alexander Surkov
73229e6d40 Bug 1123163 - Hit testing broken on Google Search results page, r=yzen 2015-01-26 13:30:17 -05:00
Masatoshi Kimura
0676786e20 Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Eitan Isaacson
4d3ad794bc Bug 1124982 - [AccessFu] Use correct symbols for keycodes in ContentControl.adjustRange(). r=yzen 2015-01-24 17:33:45 -08:00
Yura Zenevich
ad52d0dd56 Bug 1000295 - added elements with role='status' to traversal rules. r=eeejay
---
 accessible/jsat/TraversalRules.jsm                  |  4 +++-
 accessible/tests/mochitest/jsat/doc_traversal.html  |  2 ++
 accessible/tests/mochitest/jsat/test_output.html    | 13 +++++++++++++
 accessible/tests/mochitest/jsat/test_traversal.html |  2 +-
 4 files changed, 19 insertions(+), 2 deletions(-)
2015-01-24 01:21:20 -05:00
Masatoshi Kimura
e5f1ce00e2 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Alexander Surkov
4c07584316 Bug 1122846 - aria-owns attribute causes Firefox to hang, r=davidb 2015-01-20 16:16:08 -05:00
Trevor Saunders
861d0cf2d5 bug 1122242 - use MOZ_OVERRIDE more in accessible/ r=surkov 2015-01-19 17:41:12 -05:00
Trevor Saunders
2c93df25c4 bug 1120285 - correctly shutdown outer doc accessible proxies r=davidb 2015-01-14 23:12:07 -05:00
Trevor Saunders
a06296dc67 bug 1119923 - allow proxies to implement non standard interfaces r=davidb 2015-01-14 15:38:25 -05:00
Alexander Surkov
5ee848d2a6 Bug 1119979 - hide IPC a11y architecture under pref, r=davidb 2015-01-12 14:37:40 -05:00
Ehsan Akhgari
b6e35bb4b4 Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Trevor Saunders
93fa309f90 no bug - reenable ipc accessibility yet again 2015-01-08 18:53:30 -05:00
Trevor Saunders
63152c5e15 bug 1088148 - only tell the parent process about child documents that are attached to their parent r=surkov 2015-01-08 18:53:30 -05:00
Tom Schuster
6714d35a4b Bug 1110759 - Remove Iterator() from some tests. r=smaug 2015-01-08 19:58:45 +01:00
Trevor Saunders
cf7ef4df45 Revert "bug 1088148 - reenable ipc accessibility" because it still causes crashes 2015-01-06 16:20:07 -05:00
Martin Stransky
d9528d5d08 Bug 1110211 - a11y update for Gtk3. r=glandium 2014-12-16 07:38:00 +01:00
Ehsan Akhgari
c9b01f65f0 Bug 1117037 - Mark virtual overridden functions as MOZ_OVERRIDE in accessible/; r=tbsaunde 2015-01-02 18:47:38 -05:00
Trevor Saunders
9b8d47482f bug 1088148 - reenable ipc accessibility 2015-01-01 15:52:38 -05:00
Alexander Surkov
742d62599d Bug 1113389 - loading google creates accessibles without firing show events, r=tbsaunde 2014-12-30 15:43:49 -05:00
Trevor Saunders
78f5b1bae8 bug 1113845 - allow OuterDoc Accessible proxies to be shutdown while they own a document r=davidb 2014-12-29 06:20:16 -05:00
Trevor Saunders
4232ed7ff1 bug 1113407 - cleanup wrappers on doc shutdown r=davidb 2014-12-29 06:20:16 -05:00
Alexander Surkov
2a989b0773 Bug 1112746 - some internal object checks are missed in xpcom wrapper, r=yzen 2014-12-22 13:54:28 -05:00
Chris Peterson
f1412f5ff4 Bug 1113210 - Suppress -Wunused-function clang warning about AtkSocketAccessible.cpp's gobject RTTI macros. r=tbsaunde 2014-12-18 12:17:53 -08:00
Chris Peterson
50740301f2 Bug 1110031 - Part 2: Mark some directories as FAIL_ON_WARNINGS for some compilers. r=gps 2014-12-10 22:46:01 -08:00
Chris Peterson
c582a636ed Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Ehsan Akhgari
a489bd5d0b Bug 1109746 - Fix more bad implicit constructors in some random code across the tree
--HG--
extra : amend_source : 48ca151cb1ca2193404c65831556051c02093914
2014-12-13 14:17:04 -05:00
Trevor Saunders
5cfa302167 bug 1110510 - make sure to create and destroy proxies for documents r=surkov 2014-12-11 17:36:59 -05:00
Trevor Saunders
2f7d4d5002 bug 1098386 - Allow PDocAccessibleConstructor to be recieved when gAccessibilityService doesn't exist r=surkov
Talos causes accessibility to be instantiated only in the content
process.  That means PDocAccessibleConstructor messages can be recieved
by the parent when GetAccService() returns null.  The easiest way of
dealing with this is moving DocManager::mRemoteDocuments from a member
of the acc service singleton to its own global.  That means the parent
process can track accessible documents in child processes without
instantiating a11y in the parent process.
2014-12-08 20:08:15 -05:00
Carsten "Tomcat" Book
1e4749bc21 merge mozilla-inbound to mozilla-central a=merge 2014-12-12 13:51:14 +01:00
Tim Taubert
efc24245c8 Bug 1077652 - Let a11y tests know about the extra preloaded document r=tbsaunde 2014-11-06 12:30:47 +01:00
Tim Taubert
d8de480a75 Bug 1077652 - Revert change from bug 794041 that makes test_docload.html expect accessibles in the hidden window r=tbsaunde 2014-11-05 14:36:44 +01:00
Alexander Surkov
f20c396bfc Bug 1095927 - expose HTML time element semantics in acc layer, r=tbsaunde 2014-12-11 21:53:12 -05:00
Gregory Szorc
3e5523d480 Bug 1108294 - Use mozbuild.makeutil for dependency file writing; r=froydnj
AccEventGen.py was using an old, one-off Python module for writing make
dependency files. We have a more appropriate API now. So we use it.

While we were here, we modified file writing to use FileAvoidWrite to
avoid always writing the output files and bumping mtimes.

--HG--
extra : rebase_source : 34ef9badacceb4791f27816c756ad9c95bf4069c
2014-12-06 15:47:06 -08:00
Gregory Szorc
0fb6606df2 Bug 1108294 - Use positional arguments; r=froydnj
There is only 1 caller to AccEventGen.py in the tree. We don't need
optional arguments. Convert them to positional.

Since the arguments are no longer optional, branches related to their
presence have been removed.

--HG--
extra : rebase_source : 35d51852dee031011ad9f079f3aba56b67948d7e
2014-12-06 15:39:53 -08:00
Gregory Szorc
376ae3a5d5 Bug 1108294 - Switch to argparse; r=froydnj
--HG--
extra : rebase_source : cc0b81afafbc2fa20f7327dda8f9c6e64c895386
2014-12-06 15:36:39 -08:00
Gregory Szorc
0c249750ba Bug 1108294 - Removed unused cachedir option; r=froydnj
The argument isn't used. Let's remove dead code.

--HG--
extra : rebase_source : bd8d5f72c50b8820635de78f2548821b93e425ae
2014-12-06 15:31:34 -08:00
Gregory Szorc
6a406553eb Bug 1108294 - Modernize AccEventGen.py; r=froydnj
I/O handling in AccEventGen.py is old school. Let's use context
managers. Let's also fix some minor style foo.

--HG--
extra : rebase_source : 70a2a7c344042e1ac187282fdda32cea194aa51b
2014-12-06 15:26:37 -08:00
Wes Kocher
f3c9a75df6 Backed out changeset 39398fba066e (bug 1098386) for actually leaking 2014-12-09 13:36:24 -08:00
Trevor Saunders
00f36a2813 bug 1098386 - Allow PDocAccessibleConstructor to be recieved when gAccessibilityService doesn't exist r=surkov
Talos causes accessibility to be instantiated only in the content
process.  That means PDocAccessibleConstructor messages can be recieved
by the parent when GetAccService() returns null.  The easiest way of
dealing with this is moving DocManager::mRemoteDocuments from a member
of the acc service singleton to its own global.  That means the parent
process can track accessible documents in child processes without
instantiating a11y in the parent process.
2014-12-08 20:08:15 -05:00
Chris Peterson
d3acb03f9f Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Wes Kocher
c659ea6bce Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
c3639f1324 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Eitan Isaacson
b6029a4c06 Bug 1105475 - Make sendChromeEvent work with Mulet. r=yzen 2014-12-01 09:27:46 -08:00
Athena
02033e64eb Bug 650366 - Account for the checkmark in combobox on OSX r=davidb 2014-11-21 18:34:00 +01:00
Alexander Surkov
667f507dab Bug 1105273 - Accessibility mapping for aria-modal, r=davidb 2014-11-28 10:01:43 -05:00
Eitan Isaacson
78648094ac Bug 1104400 - Get all message managers in Mulet setup. r=yzen 2014-11-26 13:05:23 -08:00
Jonathan Kew
8faf68508f Bug 1077515 - part 3 - Change desiredX (nscoord) to desiredPos (nsPoint) in nsPeekOffsetStruct, to support maintaining either vertical or horizontal position on inter-line moves. r=roc 2014-11-22 14:39:03 +00:00
Alexander Surkov
21e81f5f7a Bug 1013584 - presentation list items should expose generic accessibles, r=davidb 2014-11-21 09:13:32 -05:00
Yura Zenevich
66a07eb506 Bug 1069574 - [AccessFu] added support for interaction hints in B2G. r=eeejay
---
 accessible/jsat/Presentation.jsm                |  3 +-
 accessible/jsat/Utils.jsm                       | 19 ++++++
 accessible/tests/mochitest/jsat/a11y.ini        |  1 +
 accessible/tests/mochitest/jsat/output.js       | 13 ++++
 accessible/tests/mochitest/jsat/test_hints.html | 85 +++++++++++++++++++++++++
 5 files changed, 120 insertions(+), 1 deletion(-)
 create mode 100644 accessible/tests/mochitest/jsat/test_hints.html
2014-11-20 10:00:05 -05:00
Trevor Saunders
f7b187f387 bug 1088148 - disable ipc accessibility messages for now to make crashes go away r=davidb 2014-11-18 13:04:33 -05:00
Tooru Fujisawa
1bf9e20256 Bug 825004 - Part 1: Unprefix CSS3 Text Decoration. r=dbaron 2014-11-18 19:23:09 +09:00
Frédéric Wang
58ff3b0860 Bug 919279 - Send Accessibility:Event to indicate when the user wants to exit the view. r=eitan 2014-11-13 10:58:00 +01:00
Trevor Saunders
5d64fd76bf bug 1074869 - make atk deal with proxied focus events r=davidb 2014-09-30 10:00:26 -04:00
Alexander Surkov
9d7e117ea5 Bug 1096930 - Crash while trying to enter the password for my Firefox account, r=marcoz 2014-11-11 10:56:40 -05:00
Max Li
8a948d3e48 Bug 1071777 - Send a context menu event on braille long press. r=eeejay 2014-11-09 16:37:16 -08:00
Diwas Joshi
6ff0c62b14 Bug 739568 - nsXULTreeGridRowAccesible should cache its kids as nsXULTreeGridCellAccessibles not generic accessibles, r=tbsaunde 2014-11-05 21:16:37 +05:30
Trevor Saunders
7983b4f62e bug 1088148 - only send accessibility ipc messages from child processes that are for content r=davidb 2014-11-07 14:17:42 -05:00
Alexander Surkov
c082503e21 Bug 1092187 - crash in mozilla::a11y::XULListboxAccessible::ColCount(), r=davidb 2014-11-07 11:01:26 -05:00
Diwas Joshi
4f582f9df7 Bug 744144 - Create a heuristic for @longdesc where no valid URI exists fixed, r=surkov 2014-10-24 23:17:57 +05:30
Jan Beich
9254cb252f Bug 1092507 - Unbreak --disable-dbus build after bug 1088628. r=tbsaunde 2014-11-03 12:01:53 -08:00