Commit Graph

3203 Commits

Author SHA1 Message Date
Alexander Surkov
394572324b Bug 920547 - create generic accessibles for mathml elements, r=tbsaunde 2013-09-26 10:37:40 -04:00
Eitan Isaacson
46581519af Bug 920371 - Don't speak hidden subtree items. r=marcoz 2013-09-24 23:57:28 -07:00
Eitan Isaacson
5b509e26af Bug 920324 - Add spinbutton and slider to simple traversal rule. r=marcoz 2013-09-24 22:35:48 -07:00
Trevor Saunders
0eb939be03 bug 920033 - shut up the overloaded virtual warning about Accessible::GroupPosition() r=davidb 2013-09-24 10:12:54 -04:00
Georg Fritzsche
f79acdcdb8 Bug 790483 - Fix dependency on stale plugin enabledState in accessible tests. r=surkov 2013-09-24 17:21:49 +02:00
Trevor Saunders
ad1e5b016d bug 881636 - don't try and Update accessibles without there own content in DocAccessible::UpdateTree() r=surkov 2013-09-20 12:02:25 -04:00
Chris Peterson
8f622e6a86 Bug 919403 - Fix warning about DocAccessible ctor's initialization order. r=tbsaunde 2013-09-22 22:37:19 -07:00
Ehsan Akhgari
276e4b787c Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Eitan Isaacson
44612c17fa Bug 918598 - Support touch typing. r=marcoz r=davidb 2013-09-23 10:28:10 -07:00
Eitan Isaacson
5ca3f981e6 Bug 919054 - Use Audio node instead of audio API. r=marcoz 2013-09-23 10:28:10 -07:00
Ehsan Akhgari
b4cc06df88 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Ehsan Akhgari
37bbcfc9c9 Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc 2013-09-23 07:55:35 -04:00
Alexander Surkov
01ab4a8ef5 Bug 917973 - tear off ISimpleDOMDocument, r=tbsaunde
--HG--
rename : accessible/src/windows/msaa/DocAccessibleWrap.cpp => accessible/src/windows/sdn/sdnDocAccessible.cpp
rename : accessible/src/windows/msaa/DocAccessibleWrap.h => accessible/src/windows/sdn/sdnDocAccessible.h
2013-09-19 19:55:03 -04:00
Eitan Isaacson
acaf7aad97 Bug 687414 - Add label_for relation for implicit labels. r=tbsaunde 2013-09-19 14:51:58 -07:00
Bobby Holley
d1c0c6ac06 Bug 905909 - Avoid infinite recursion in nsTreeBodyFrame. v1
--HG--
extra : rebase_source : ed9efcd923249d5c7efebf9185ea431140878efc
2013-09-13 04:02:30 -07:00
Eitan Isaacson
bffc417352 Bug 917399 - Use settings API for enabling/disabling AccessFu. r=yzen 2013-09-18 09:57:08 -07:00
Alexander Surkov
82e661b23c Bug 672717 - Broken caret when moving into/out of embedded objects with right arrow, r=tbsaunde 2013-09-18 10:28:53 -04:00
Max Li
f05f6a7bea Bug 899333 - Pivot text traversal should traverse into the subtree. r=tbsaunde 2013-09-17 20:07:45 -04:00
Bobby Holley
a568b08581 Bug 874502 part 3. Fix a11y tests to not assume synchronous window closing. r=tbsaunde 2013-09-17 17:45:47 -04:00
Trevor Saunders
65a89a70c5 bug 888981 - add Accessible::IsAcceptableChild() r=surkov
this patch does several things
- makes DocAccessible::BindToDocument return void the only case in which
  it would "fail" was when passed null, and we know none of the callers
do that.
- adds Accessible::IsAcceptableChild() which returns true if its ok for
  the possible child to be a child of this accessible.
- replace several over rides of Accessible::CacheChildren() that are
  only to prevent certain types of children to over rides of
Accessible::IsAcceptableChild()
2013-09-06 15:27:07 -04:00
Tom Schuster
234dadd0b5 Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug 2013-09-12 15:24:11 -04:00
Alexander Surkov
b12d399e5b Bug 834138 - Intermittent states/test_doc_busy.html | Test timed out, r=tbsaunde 2013-09-12 09:10:42 -04:00
Eitan Isaacson
13f929afc1 Bug 791916 - Make label tag a label accessible regardless of frame type. r=surkov 2013-09-11 17:06:22 -07:00
Ehsan Akhgari
d554a64f58 Bug 914498 - Minimize the #includes in accessible/src/base; r=tbsaunde 2013-09-11 00:18:59 +02:00
Alexander Surkov
53d102aa38 Bug 899433 - Accessibility returns empty line for last line in certain cases, r=tbsaunde 2013-09-11 12:56:01 -04:00
Wes Kocher
4bea76aabd Backed out changeset 7412a3a5f4cc (bug 914498) for bustage 2013-09-10 18:01:46 -07:00
Ehsan Akhgari
4d9cd370a2 Bug 914498 - Minimize the #includes in accessible/src/base; r=tbsaunde
--HG--
extra : rebase_source : 10bebee466c458ccb671494e2f47191a30668377
2013-09-11 00:18:59 +02:00
Marco Zehe
e1ae77c02b Bug 914050 - Main window announced to VoiceOver as unknown, r=surkov 2013-09-09 16:48:26 +02:00
Ehsan Akhgari
bdb172ee45 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Benoit Jacob
bd8899eab6 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Ms2ger
4abf38566a Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Ms2ger
77cfa9c30b Bug 910253 - Part b: Move conditional LOCAL_INCLUDES to moz.build in accessible/; r=mshal 2013-09-06 08:41:29 +02:00
Ms2ger
dbb4ed7103 Bug 910253 - Part a: Move unconditional LOCAL_INCLUDES to moz.build in accessible/; r=mshal 2013-09-06 08:41:18 +02:00
Ms2ger
d9a375812b Bug 910238 - Part c: Remove content dirs from LOCAL_INCLUDES in accessible/; r=tbsaune 2013-09-06 08:41:00 +02:00
Mike Hommey
8808e9970f Bug 912862 - Cleanup some wrong assignments in moz.build. r=ted 2013-09-06 09:19:08 +09:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Georg Fritzsche
c62e6c56f7 Bug 899080 - Test fixup part 7 - accessible. r=surkov 2013-09-04 16:07:53 +02:00
Gregory Szorc
7693c5688d Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
271703650a Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
f10d205e39 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
88db37da09 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
bceea37cd9 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Eitan Isaacson
4c3d298434 Bug 795984 - Implement speech output with Web Speech API. r=yzen 2013-09-03 16:06:22 +03:00
Ehsan Akhgari
b283dbb4c7 Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Trevor Saunders
d4ba8df0bc bug 846185 - don't call into js when creating accessibles r=surkov, smaug 2013-07-19 00:13:35 -04:00
Bobby Holley
4819690f50 Bug 732665 - Disable a few test on mac. r=tbsaunde,me
These tests trigger very slow infinite recursion in the status quo. With the
existing stack quotas, they always (or usually) hit the native stack limit
before the test times out, causing them to be green on tinderbox. But when
we bump the debug mac stack limit, they end up timing out. We have bugs on
file for the various issues, but let's not let them block this landing.
2013-08-28 11:04:15 -07:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Ryan VanderMeulen
47f18440dc Bug 890795 - Actually disable the test where intended. r=logicfail 2013-08-27 14:01:11 -04:00
Ryan VanderMeulen
a1a3890cba Bug 890795 and bug 695019 - Disable test_focus_autocomplete.xul on Linux and Windows due to frequent failures. r=tbsaunde 2013-08-27 10:27:27 -04:00
Alexandre BM
54f4da8ec6 Bug 761064 - Remove an unnecessary mTreeView null check. r=surkov 2013-08-26 11:08:51 -04:00
Boris Zbarsky
7da23c2946 Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Ms2ger
2d7391b50d Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Yura Zenevich
2d8d12ab3e Bug 795957 - [PATCH 2/2][AccessFu] Tests for live region support. r=eeejay, marcoz
---
 accessible/tests/mochitest/jsat/Makefile.in        |    1 +
 accessible/tests/mochitest/jsat/jsatcommon.js      |   64 ++++
 accessible/tests/mochitest/jsat/test_alive.html    |   64 ++---
 .../tests/mochitest/jsat/test_live_regions.html    |  342 ++++++++++++++++++++
 4 files changed, 432 insertions(+), 39 deletions(-)
 create mode 100644 accessible/tests/mochitest/jsat/test_live_regions.html
2013-08-21 12:40:18 -04:00
Yura Zenevich
bd1a13e7e8 Bug 795957 - [PATCH 1/2][AccessFu] Adding support for live regions. r=eejay
---
 accessible/src/jsat/AccessFu.jsm                   |    6 +
 accessible/src/jsat/EventManager.jsm               |  192 ++++++++++++++++++--
 accessible/src/jsat/OutputGenerator.jsm            |   10 +-
 accessible/src/jsat/Presentation.jsm               |   47 +++++-
 accessible/src/jsat/Utils.jsm                      |   39 +++--
 .../en-US/chrome/accessibility/AccessFu.properties |    4 +
 6 files changed, 263 insertions(+), 35 deletions(-)
2013-08-21 12:40:06 -04:00
Marco Zehe
24dd6a6bb7 Bug 907125 - [AccessFu] Improve the output for ARIA tabs and tab lists, r=yzen 2013-08-21 09:52:46 +02:00
Arnaud Sourioux
9713639ee9 Bug 883672 - Inherit XULLinkAccessible from XULLabelAccessible + test. r=surkov 2013-08-20 16:42:26 -04:00
Alexander Surkov
40fa6d83c6 Bug 905215 - Add a test sheet for HTML elements, r=davidb 2013-08-19 18:50:14 -04:00
Max Li
bec347aaa7 Bug 900097 - Add tests. r=surkov 2013-08-18 10:21:33 -04:00
Ryan VanderMeulen
976b11c6aa Merge m-c to inbound. 2013-08-16 21:58:51 -04:00
Doug Turner
a884f963e9 Bug 904462 - Clean up warnings and errors when starting B2G on the mac r=fabrice 2013-08-16 11:08:03 -07:00
Max Li
9fcb58a2bc Bug 906050 - Support long clicking from braille. r=eeejay r=kats 2013-08-16 11:17:29 -04:00
Gregory Szorc
3aa9df8061 Bug 901007 - Don't generate xpcAccEvents.h twice; r=mshal 2013-08-14 17:43:04 -07:00
Brian O'Keefe
3a92f0ae7c Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
414b1a4dad Bug 904178 - Part a: Use nsIDocument in logging::DocLoad; r=surkov 2013-08-14 09:01:27 +02:00
Ms2ger
df8525f77d Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
David Zbarsky
de328bd8e8 Bug 902732: Merge nsILink and dom::Link r=bz 2013-08-08 01:26:32 -04:00
Alexander Surkov
44d7125afd Bug 900943 - multiline textbox contains bogus <br>, r=tbsaunde
--HG--
rename : accessible/tests/mochitest/text/test_label.xul => accessible/tests/mochitest/text/test_general.xul
2013-08-05 22:09:05 -04:00
Alexander Surkov
5d48b046a4 Bug 900835 - crash in nsEventStateManager::PreHandleEvent (Accessible::DoCommand, r=smaug, tbsaunde 2013-08-05 00:00:08 -04:00
Alexander Surkov
0f25f0094d Bug 788389 - fire statechange event whenever checked state is changed not depending on focused state, r=tbsaunde 2013-08-02 12:42:36 -04:00
Ms2ger
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
78f9e66db8 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger
061d88874c Bug 897921 - Remove some dead assignments in makefiles; r=mshal 2013-08-02 09:03:55 +02:00
Mike Hommey
d01b5df996 Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Alexander Surkov
b4f7595323 Bug 894573 - ARIA state mapping should treat undefined value same way if value was missed, r=tbsaunde 2013-08-01 11:11:56 -04:00
Alexander Surkov
cfab3bf5bb Bug 889512 - no focus event for google's moving textbox, r=tbsaunde 2013-07-31 10:47:39 -04:00
Ehsan Akhgari
5ee21d6d3f Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Alexander Surkov
cff1dc5bcc Bug 892091 - ARIA treegrid should be editable by default, r=davidb 2013-07-30 11:43:00 -04:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Alexander Surkov
0666d8890f Bug 810268 - there's no way to know unselected item when selection in single selection was changed, r=tbsaunde 2013-07-28 14:33:57 -04:00
Eitan Isaacson
196a0f238e Bug 898545 - Get rid of simple touch rule, and make the simple rule use bigger targets when possible. r=marcoz 2013-07-26 14:09:17 -07:00
Eitan Isaacson
8d83885c91 Bug 898008 - Use 'wheel' event for scrolling. r=maxli 2013-07-26 08:18:12 -07:00
Alexander Surkov
cc46a53c03 Bug 896326 - Accessibility may return empty lines where there are embedded objects, r=tbsaunde 2013-07-26 10:41:25 -04:00
Max Li
21f8d01bfe Bug 690199 - ARIA select widget should expose focusable state regardless the way they manage its children. r=surkov 2013-07-26 06:26:44 -04:00
Max Li
603e4315ea Bug 886076 - Part 2: Support movement by granularity in AccessFu. r=eeejay 2013-07-24 17:52:57 -04:00
Max Li
5176a2a5d1 Bug 886076 - Part 1: Implement moveNextByText and movePreviousByText in nsAccessiblePivot. r=surkov 2013-07-25 13:56:12 -04:00
Eitan Isaacson
0c4cc83442 Bug 898002 - Ignore synthesized touch events. r=marcoz 2013-07-25 10:09:48 -07:00
Eitan Isaacson
96552fdf15 Bug 894485 - Have touch events precede mouse events to simulate touch devices. r=surkov 2013-07-25 08:59:08 -07:00
Alexander Surkov
256ac4272b Bug 894547 - move tests abstraction up for at caret offset text testing, r=tbsaunde 2013-07-25 11:15:27 -04:00
Alexander Surkov
b286f29989 Bug 893166 - getTextBeforeOffset line end fails on wrapped lines, r=tbsaunde 2013-07-24 14:11:02 -04:00
Alexander Surkov
9ad65164df Bug 890353 - move get text for line boundary tests into separate file, r=tbsaunde
--HG--
rename : accessible/tests/mochitest/text/test_singleline.html => accessible/tests/mochitest/text/test_lineboundary.html
2013-07-24 10:56:14 -04:00
Marco Zehe
d7e511ae77 Bug 896400 - Tablist should no longer be an implicit polite live region, r=surkov 2013-07-24 09:04:49 +02:00
Alexander Surkov
3cb66b880e Bug 887250 - ARIA textbox role doesn't expose value, r=tbsaunde 2013-07-23 12:06:52 -04:00
Joshua Cranmer
bbe2bfa981 Bug 884061 - Part 3a: Use NS_DECL_THREADSAFE_ISUPPORTS in accessible/, r=tbsaunde
--HG--
extra : rebase_source : 621f71d9c618e7a7804c48b8bc4c5ab43f96493a
2013-07-14 11:34:46 -05:00
Marco Zehe
952fb449c6 Bug 758675 - Speak accessible description if available, r=eeejay, f=yzen 2013-07-23 10:40:49 +02:00
Alexander Surkov
3ef111ab2e Bug 891338 - Popup accessibility broken, r=tbsaunde, roc, f=marcoz, jamie 2013-07-22 11:58:19 -04:00
Birunthan Mohanathas
44f9071853 Bug 784739 - Switch from NULL to nullptr in accessible/; r=ehsan
--HG--
extra : rebase_source : 1b7f27076438d90024bf0ca7f9698a50efce1507
2013-07-20 11:48:54 +03:00
Alexander Surkov
0b380e69af Bug 888247 - ARIA columnheader/rowheader shouldn't be selectable by default, r=tbsaunde 2013-07-19 11:20:51 -04:00
Alexander Surkov
946b908a0b Bug 882767 - don't expose whitespace accessibles in context of grids, r=tbsaunde 2013-07-18 11:09:45 -04:00
Max Li
5a78894cb6 Bug 890940 - [AccessFu] Refactor coordinate handling to account for widget scaling. r=eeejay
--HG--
extra : rebase_source : 273f9171405c18e38bc9ec9e0d8d01f3d7d5fae4
2013-07-17 16:41:29 -04:00