Commit Graph

4949 Commits

Author SHA1 Message Date
Yura Zenevich
c9eb8bea8b 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
60013c0d28 Bug 786143 - inherit aria-hidden through subtree, r=yzen 2015-02-04 18:33:33 -05:00
David Zbarsky
c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Phil Ringnalda
7b3840d642 Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
7d34edce07 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky
58a982f86b Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Trevor Saunders
4965a90865 bug 1124821 - make shutdown of attached documents more robust r=smaug 2015-01-30 13:53:32 -05:00
Alexander Surkov
b1c0126e8c Bug 1126786 - remove NS_DEBUG_X rudiment, r=davidb 2015-01-28 13:32:30 -05:00
Daniel Holbert
0225ce362d 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
4d42b88e0b 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
525fe44e5a 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
e7d167eb4f 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
b99cc1b432 bug 1124463 - suppress -Wunused warnings in IUNKNOWN impl macros r=ehsan 2015-01-26 15:27:26 -05:00
Trevor Saunders
d2a3b28ddc 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
cfc35a819b Bug 1123163 - Hit testing broken on Google Search results page, r=yzen 2015-01-26 13:30:17 -05:00
Masatoshi Kimura
6cc5dabbee 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
ef4857a6f0 Bug 1124982 - [AccessFu] Use correct symbols for keycodes in ContentControl.adjustRange(). r=yzen 2015-01-24 17:33:45 -08:00
Yura Zenevich
cd9e52e4dd 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
9656ec51c3 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Alexander Surkov
b9ad37e5ba Bug 1122846 - aria-owns attribute causes Firefox to hang, r=davidb 2015-01-20 16:16:08 -05:00
Trevor Saunders
8cb9eae58a bug 1122242 - use MOZ_OVERRIDE more in accessible/ r=surkov 2015-01-19 17:41:12 -05:00
Trevor Saunders
91589e4f5a bug 1120285 - correctly shutdown outer doc accessible proxies r=davidb 2015-01-14 23:12:07 -05:00
Trevor Saunders
0abab85846 bug 1119923 - allow proxies to implement non standard interfaces r=davidb 2015-01-14 15:38:25 -05:00
Alexander Surkov
960104b6c7 Bug 1119979 - hide IPC a11y architecture under pref, r=davidb 2015-01-12 14:37:40 -05:00
Ehsan Akhgari
4354953b4f 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
248f489510 no bug - reenable ipc accessibility yet again 2015-01-08 18:53:30 -05:00
Trevor Saunders
9bbdf325a3 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
286dcbbfc3 Bug 1110759 - Remove Iterator() from some tests. r=smaug 2015-01-08 19:58:45 +01:00
Trevor Saunders
19066f5c7a Revert "bug 1088148 - reenable ipc accessibility" because it still causes crashes 2015-01-06 16:20:07 -05:00
Martin Stransky
b2519b99c7 Bug 1110211 - a11y update for Gtk3. r=glandium 2014-12-16 07:38:00 +01:00
Ehsan Akhgari
7ab7d98dbb Bug 1117037 - Mark virtual overridden functions as MOZ_OVERRIDE in accessible/; r=tbsaunde 2015-01-02 18:47:38 -05:00
Trevor Saunders
7a74539c6b bug 1088148 - reenable ipc accessibility 2015-01-01 15:52:38 -05:00
Alexander Surkov
c47639e831 Bug 1113389 - loading google creates accessibles without firing show events, r=tbsaunde 2014-12-30 15:43:49 -05:00
Trevor Saunders
605343d320 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
9d309981a8 bug 1113407 - cleanup wrappers on doc shutdown r=davidb 2014-12-29 06:20:16 -05:00
Alexander Surkov
a8c3e608d4 Bug 1112746 - some internal object checks are missed in xpcom wrapper, r=yzen 2014-12-22 13:54:28 -05:00
Chris Peterson
097e391f9b 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
c6bc5e0ec5 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
249ac81315 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Ehsan Akhgari
ebdf8e7c36 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
b750b23370 bug 1110510 - make sure to create and destroy proxies for documents r=surkov 2014-12-11 17:36:59 -05:00
Trevor Saunders
60b14922d8 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
c06036beba merge mozilla-inbound to mozilla-central a=merge 2014-12-12 13:51:14 +01:00
Tim Taubert
a0d7efa3cd Bug 1077652 - Let a11y tests know about the extra preloaded document r=tbsaunde 2014-11-06 12:30:47 +01:00
Tim Taubert
2f2c500f0f 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
ddf2a093e3 Bug 1095927 - expose HTML time element semantics in acc layer, r=tbsaunde 2014-12-11 21:53:12 -05:00
Gregory Szorc
598f54ae2d 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
5b9d4c32a3 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
56ae77a8d0 Bug 1108294 - Switch to argparse; r=froydnj
--HG--
extra : rebase_source : cc0b81afafbc2fa20f7327dda8f9c6e64c895386
2014-12-06 15:36:39 -08:00
Gregory Szorc
b268f7fa23 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