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
William Chen
ca763cf5e3
Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:03 -07:00
Alexander Surkov
2f2d046354
Bug 882647 - get rid of BOUNDARY_ATTRIBUTE_RANGE, r=tbsaunde
2013-07-17 10:23:10 -04:00
Eitan Isaacson
698fd635ee
Bug 894601 - Fix regression in context menu activation in Android.
...
Bug 894601 - Fix regression in context menu activation in Android. r=maxli
2013-07-16 13:49:00 +02:00
Eitan Isaacson
8ab7151720
Bug 893153 - Virtual cursor control refactor, fixes navigating in hidden frames. r=davidb r=maxli
2013-07-16 11:45:17 -07:00
Alexander Surkov
046adfc784
Bug 882602 - clean up getText* line boundary code, r=tbsaunde
2013-07-16 13:13:34 -04:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Eitan Isaacson
c9b234d2c3
Bug 892607 - Start pivot searches from outside the ignored subtree. r=surkov
2013-07-15 14:19:51 -07:00
Alexander Surkov
7457c87709
Bug 882292 - getTextAfterOffset for line boundary on new rails, r=tbsaunde
2013-07-15 11:56:38 -04:00
Marco Zehe
a2d7846b39
Bug 893336 - Rename listItemCount to reflect string change, r=yzen,flod
2013-07-15 15:57:54 +02:00
Alexander Surkov
d84384d98f
Bug 877974, part2 - fix commenting of the getTextAtOffset line boundary, r=tbsaunde
2013-07-15 09:01:03 -04:00
Mike Hommey
ffd522d5c2
Bug 892904 - Remove useless includes of config.mk. r=gps
2013-07-15 18:48:40 +09:00
Alexander Surkov
06966f2636
Bug 879130 - getTextBeforeOffset line end boundary is on new rails, r=tbsaunde
2013-07-12 13:34:13 -04:00
Max Li
83b2e86285
Bug 891967 - Show caret in braille when editing. r=eeejay r=kats
2013-07-11 15:55:40 -04:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Marco Zehe
dfa71f5e1c
Bug 892491 - [AccessFu] Add landmark quick navigation, r=eeejay
2013-07-11 16:42:11 -04:00
Alexander Surkov
aa1cbb68a3
Bug 878757 - fix getTextBeforeOffset for line start boundary, r=tbsaunde
2013-07-11 09:16:18 -04:00
Max Li
ccd421ec75
Bug 892000 - Wrong context menu opens when long pressing. r=marcoz
...
--HG--
extra : rebase_source : 0ae9833f429249f20857d6da71a2abfb7b078a8a
2013-07-10 14:59:22 -04:00
Ryan VanderMeulen
c9d5a706a1
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Trevor Saunders
c3f96258c3
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Yura Zenevich
72d3039342
Bug 891335 - [AccessFu] Making lists with only one item use the singular form of 'List 1 item'. r=eeejay, marcoz
...
---
accessible/src/jsat/OutputGenerator.jsm | 6 +++---
.../tests/mochitest/jsat/test_landmarks.html | 4 ++--
.../tests/mochitest/jsat/test_utterance_order.html | 12 ++++++------
.../en-US/chrome/accessibility/AccessFu.properties | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
2013-07-10 10:33:38 -04:00
Yura Zenevich
35da699eb5
Bug 874474 - [AccessFu] Making description last the default utterance order. r=eeejay
...
---
accessible/src/jsat/OutputGenerator.jsm | 6 ++----
b2g/app/b2g.js | 2 ++
mobile/android/app/mobile.js | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
2013-07-10 10:25:57 -04:00
Yura Zenevich
f348323f11
Bug 888256 - Adding support for speaking landmarks. r=eeejay, marcoz
...
---
accessible/src/jsat/OutputGenerator.jsm | 76 ++++++++--
accessible/tests/mochitest/jsat/Makefile.in | 1 +
.../tests/mochitest/jsat/test_landmarks.html | 154 ++++++++++++++++++++
.../en-US/chrome/accessibility/AccessFu.properties | 8 +
4 files changed, 225 insertions(+), 14 deletions(-)
create mode 100644 accessible/tests/mochitest/jsat/test_landmarks.html
2013-07-09 16:09:25 -04:00
Alexander Surkov
0114df2dd9
Bug 878515 - getTextAtOffset line boundary may return a wrong line in case of soft line breaks, r=tbsaunde
2013-07-09 13:32:07 -04:00
Max Li
25d73b015f
Bug 890940 - Visual bounds box is very wrong. r=eeejay
...
Also fix EBT coordinates
2013-07-09 09:55:03 -04:00
Max Li
c96e588139
Bug 886074 - Braille should update when editing. r=eeejay
2013-07-04 05:50:11 -04:00
Max Li
2107f52eff
Bug 886075 - Should be able to move caret with braille. r=eeejay r=kats
2013-07-03 18:20:11 -04:00
Joey Armstrong
a6b9800cfb
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Alexander Surkov
b0acd7905a
Bug 875794 - get text at offset for line end boundary fails on last empty line (part2), r=tbsaunde
2013-07-08 11:26:09 -04:00
Alexander Surkov
be884802b4
Bug 877977 - getTextAtOffset line end boundary returns wrong end offset, r=tbsaunde
2013-07-07 20:49:04 -04:00
Alexander Surkov
3886472b56
Bug 875794 - get text at offset for line_start boundary fails on last empty line, r=tbsaunde
2013-07-05 09:00:01 -04:00
stefanh@inbox.com
2cfea868b9
Bug 857461 - Fix tests to accept bogus assertion triggered by box-shadow rule. r=surkov.
2013-07-04 18:44:58 +02:00
Alexander Surkov
fafc44205d
Bug 877976 - getTextAtOffset line boundary fails on last line of the document, r=tbsaunde
2013-07-03 11:29:20 -04:00
Eitan Isaacson
c553d788b0
Bug 887592 - Fix filtering on browser events. r=davidb
2013-07-03 15:02:44 -07:00
Eitan Isaacson
370b88266b
Bug 887586 - Replace referece to current accessible in VisualPresenter with a WeakMap. r=davidb
...
This patch does other things to:
1. Refactor out getBounds()
2. Fix a mistake in PivotContext._isDefunct()
2013-07-03 15:02:44 -07:00
Alexander Surkov
716c703de6
Bug 877974 - reorg getTextAtOffset for line boundary, r=tbsaunde
2013-07-02 08:57:29 -04:00
Yura Zenevich
007b8b0f78
Bug 752609 - [AccessFu] Shortening a11y event and role constant prefixes. r=eeejay
...
---
accessible/src/jsat/EventManager.jsm | 33 ++++--
accessible/src/jsat/OutputGenerator.jsm | 12 ++-
accessible/src/jsat/TraversalRules.jsm | 161 ++++++++++++++++++-------------
accessible/src/jsat/Utils.jsm | 21 +++--
accessible/src/jsat/content-script.js | 4 +-
5 files changed, 141 insertions(+), 90 deletions(-)
2013-07-01 23:50:39 -04:00
Joey Armstrong
2e19c976cc
bug 870407: move CMMSRCS to mozbuild (file batch #2 ) r=mshal
2013-07-01 12:32:40 -04:00
Blake Kaplan
55ee93f1af
Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
...
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Justin Lebar
6c46d0633d
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Birunthan Mohanathas
3185900487
Bug 429990 - Check in/out arguments for nullptr in MSAA/IA2 methods, r=surkov
2013-06-27 21:02:00 +02:00
Eitan Isaacson
0b4acce299
Bug 887595 - Use touch rule for explore by touch. r=marcoz
2013-06-27 14:15:37 -07:00
Eitan Isaacson
378e286e39
Bug 887594 - support invokeAction in SpeechPresenter. r=marcoz
2013-06-27 14:15:37 -07:00
Eitan Isaacson
9193ee6bf1
Bug 887589 - support vc position=null. r=maxli
2013-06-27 14:15:37 -07:00
Eitan Isaacson
0cfbca9c45
Bug 887588 - Ignore subtree of iframes with message managers. r=yzen
2013-06-27 14:15:37 -07:00
Eitan Isaacson
d6427d9851
Bug 887582 - improve logException. r=yzen
2013-06-27 14:15:36 -07:00
Eitan Isaacson
43515d071d
Bug 887577 - Return empty object when accessible is null, or when it has no attributes field. r=yzen
2013-06-27 14:15:36 -07:00
Yura Zenevich
dc22d8bbee
Bug 886846 - [AccessFu] added tests for non-default output order for tables and cells. r=eeejay, marcoz
2013-06-27 14:15:36 -07:00
Yura Zenevich
af015130d5
Bug 830748 - [PATCH 2/2] [AccessFu] tests for improved reading of table semantics. r=eeejay, marcoz
2013-06-27 14:15:36 -07:00
Yura Zenevich
dd580decd2
Bug 830748 - [PATCH 1/2] [AccessFu] Improved reading of table semantics. r=eeejay
2013-06-27 14:15:36 -07:00
Alexander Surkov
2b718e66fb
Bug 670087 - AccessibleObjectFromPoint returns incorrect accessible for popup menus, r=tbsaunde, sr=roc
2013-06-27 11:03:58 -04:00
Birunthan Mohanathas
6f0fcb0773
Bug 881504 - Fix crash in mozilla::a11y::DocManager::RemoveListeners, r=surkov
2013-06-25 08:22:00 +02:00
Alexander Surkov
c3fee27ebd
Bug 884648 - no object attributes for aria-atomic='false', r=tbsaunde
2013-06-25 18:11:39 -04:00
Birunthan Mohanathas
694f519ab3
Bug 857334 - Fix crash in mozilla::a11y::XULTextFieldAccessible::FrameSelection
...
Bug 857334 - Fix crash in mozilla::a11y::XULTextFieldAccessible::FrameSelection, r=tbsaunde
2013-06-22 00:29:00 +02:00
Alexander Surkov
dfc8b3d17a
Bug 722265 - Column header selection popup no longer exposed to accessibility APIs, r=tbsaunde
2013-06-21 09:01:57 +09:00
Max Li
4a9cb60e97
Bug 785852 - Support editing mode navigation in Jelly Bean. r=eeejay r=kats
2013-06-19 16:11:46 -04:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Max Li
1341e7eb79
Bug 756690 - Add option to not land on images with no alt text. r=eeejay
2013-06-17 16:25:24 -04:00
Max Li
f28dcf0bef
Bug 876475 - Make braille output less verbose. r=eeejay r=kats r=ted
...
--HG--
rename : accessible/src/jsat/UtteranceGenerator.jsm => accessible/src/jsat/OutputGenerator.jsm
rename : accessible/tests/mochitest/jsat/utterance.js => accessible/tests/mochitest/jsat/output.js
2013-06-17 10:36:41 -04:00
Mike Shal
7bc33f0c21
Bug 882738 - Remove SRCS_IN_OBJDIR from Makefile.in; r=joey
...
From a071ba8cffdd4584b3cd31eae207e5b76b9e9c95 Mon Sep 17 00:00:00 2001
2013-06-13 13:49:01 -04:00
Trevor Saunders
9ee7f78167
bug 852129 - use HyperTextAccessible for invalid img r=surkov, bz
...
If the img is not valid then its children will be rendered, and the
sensible way to handle that is by giving the img a HyperTextAccessible
instead of an ImageAccessible. Since the accessible name of such an img
should be the value of the alt attribute we add similar logic as
ImageAccessible::NativeName() to HyperTextAccessible::NativeName()
conditioned on the tag being img.
2013-06-12 05:13:34 -04:00
Eitan Isaacson
00d23d5c79
Bug 882800 - Use IndieUI inspired scroll requests. r=davidb
2013-06-14 09:33:17 -07:00
Eitan Isaacson
e8ba0e36b0
Bug 881453 - Block both mouse and touch events in touch adapter. r=yzen
2013-06-12 10:47:25 -07:00
Yura Zenevich
d0f9a03c5f
Bug 877124 - [AccessFu] tests for the trusted explicitly associated names for children of the current pivot. r=eeejay
2013-06-10 13:31:17 -07:00
Yura Zenevich
9100a93c4a
Bug 877124 - [AccessFu] Trust explicitly associated names of the current pivot and its children. r=eeejay
2013-06-10 13:31:17 -07:00
Eitan Isaacson
cffcb72ca9
Bug 878218 - [AccessFu] Call _enableOrDisable only after _activatePref is assigned. r=yzen
2013-06-10 11:12:46 -07:00
Max Li
f906b29a8e
Bug 881249 - ERROR highlightBox.get is not a function, r=MarcoZ
2013-06-10 10:30:07 -04:00
David Bolter
448c70cf31
Minor cleanup including followup to b=577727. r=tbsaunde
2013-06-10 10:43:18 -04:00
Martin Stransky
9386e8c35b
Bug 877626 - Port GTK2 to GTK3 - build config - xpcom, toolkit, accessible, xulrunner dirs. r=ted, r=karlt
2013-06-10 08:36:26 -04:00
Trevor Saunders
4fdeed9c3d
bug 852150 - handle removal of accessibles when reframe root doesn't have an accessible more correctly r=surkov
2013-03-25 19:46:22 -04:00