Commit Graph

3810 Commits

Author SHA1 Message Date
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