Lorien Hu
f5da8cca7e
Bug 1250981 - Add null check to mozTabAccessible value r=davidb
2016-02-24 11:14:04 -08:00
Alexander Surkov
8d10d8bfb6
Backout bug 1251218
2016-02-26 11:04:05 -05:00
Alexander Surkov
e867f719b9
Bug 1251218 - follow up fixes2
2016-02-26 10:59:30 -05:00
Alexander Surkov
d0eb7ca67e
Bug 1251218 - follow up fixes
2016-02-26 10:56:34 -05:00
Alexander Surkov
0eb122a31e
Bug 1251218 - add special TreeWalker constructor for children creation, r=marcoz
2016-02-26 10:53:21 -05:00
Alexander Surkov
80df610681
Bug 1250878
- add acceptable child check for HTML select, r=marcoz
2016-02-26 10:25:36 -05:00
Alexander Surkov
54fb8b2c7c
Bug 1250715 - no acceptable children for leafs, r=marcoz
2016-02-25 10:42:52 -05:00
Alexander Surkov
d26328b368
Bug 1250333 - do not create accessibles for trailing BRs, r=davidb, roc
2016-02-25 07:09:59 -05:00
Alexander Surkov
4a71941546
Bug 1250509 - make pretty print nicer for accessible trees in testing, r=yzen
2016-02-24 20:34:56 -05:00
Trevor Saunders
76693e1dac
bug 1250882 - implement xpcAccessible::GetBounds() for proxied accessibles r=davidb
2016-02-24 19:19:58 -05:00
Trevor Saunders
5b5e284221
bug 1250882 - make xpcAccessible::GetAttributes() work with proxied accessibles r=davidb
2016-02-24 19:19:58 -05:00
Trevor Saunders
10cd68f503
bug 1250882 - implement xpcAccessible::GetValue() for proxied accessibles r=davidb
2016-02-24 19:19:58 -05:00
Trevor Saunders
bfef2fd517
bug 1250882 - implement xpcAccessible::GetLanguage() for proxied accessibles r=davidb
2016-02-24 19:19:57 -05:00
Trevor Saunders
4afd60694b
bug 1250882 - implement xpcAccessible::GetDescription() for proxied accessibles r=davidb
2016-02-24 19:19:57 -05:00
Trevor Saunders
a3d021d18a
bug 1250882 - implement xpcAccessible::Name() for proxied accessibles r=davidb
2016-02-24 19:19:57 -05:00
Trevor Saunders
2c0a5d150d
bug 1250882 - implement xpcAccessible::GetState() for proxied accessibles r=davidb
2016-02-24 19:19:57 -05:00
Lorien Hu
1ccd72789b
Bug 1201667 - Traverse child when retrieving proxy unignored children r=tbsaunde
2015-09-03 13:02:07 -07:00
Alexander Surkov
3ac6460f92
Bug 1250506 - check if node is acceptable as a child before creating an accessible for it, r=davidb
2016-02-24 08:01:21 -05:00
Alexander Surkov
2d15c87cb3
Bug 845176 - Intermittent relations/test_embeds.xul, r=yzen
2016-02-23 18:45:34 -05:00
Alexander Surkov
eea0bcec45
Bug 1249489 - covert css to device pixels in scroll/test_zoom.html and test_nsIAccessibleImage.html, r=yzen
2016-02-23 18:43:37 -05:00
Alexander Surkov
cfcd886fbe
Bug 1249489 - covert css to device pixels in hittest/test_canvas_hitregion.html, r=yzen
2016-02-23 18:43:31 -05:00
Alexander Surkov
a5c89bc409
Bug 1249489 - covert css to device pixels in elm/test_canvas.html, r=yzen
2016-02-23 18:43:25 -05:00
Alexander Surkov
7f92893842
Bug 1249400 - add a test for missed hide events in case of accessible stealing, r=yzen
2016-02-23 18:40:20 -05:00
Alexander Surkov
359d675f8f
Bug 1249930 - menupoup shouldn't look for children in XBL anonymous content, r=davidb
2016-02-23 11:04:10 -05:00
Alexander Surkov
58922d0029
Bug 1249927 - devirtualize CanHavaAnonymousChildren, r=davdib
2016-02-22 12:32:03 -05:00
Alexander Surkov
0b5d5b3e24
Bug 1248838 - ARIA owns change may fail, r=yzen
2016-02-19 13:11:33 -05:00
Alexander Surkov
aee776059c
Bug 1248840 - rename TreeWalker::NextChild, r=yzen
2016-02-18 17:57:17 -05:00
Alexander Surkov
df9401a677
Bug 1242989 - keep content insertions in a hash, r=tbsaunde
2016-02-18 09:31:42 -05:00
Eitan Isaacson
613e31f413
Bug 1238368 - Re-introduce workaround for Android tap gesture. r=yzen
...
MozReview-Commit-ID: 6yfX4PDbnF3
2016-02-15 06:21:12 -08:00
Gijs Kruitbosch
af8ae4ede1
Bug 1216478 - prefer tooltiptext on a XUL element over title attribute on a containing toolbaritem when determining accessible name, r=surkov
...
MozReview-Commit-ID: Cv0Kl5U02jy
--HG--
extra : rebase_source : 40ff881eabb42579a25e22c6c290ce3c5d0e7634
2016-01-20 13:47:42 +00:00
Alexander Surkov
d089ffebc9
Bug 1247364 - use AllChildrenIterator::Seek by a11y tree walker, r=davidb
2016-02-11 08:24:38 -05:00
Alexander Surkov
2e545f1163
Bug 845176 - enable logging for relations/test_embeds.xul
2016-02-10 13:02:20 -05:00
Steve Fink
46db8f3808
Bug 1243331 - Prevent G_DEFINE_TYPE_EXTENDED macro from producing a fatal warning, r=tbsaunde
...
--HG--
extra : rebase_source : d5dda108377a4957aab1879d69cbc4dfd8936951
2016-01-28 10:14:35 -08:00
Ting-Yu Lin
5fd95e2226
Bug 591737 - Fix test_HTMLSpec.html. r=surkov
...
--HG--
extra : commitid : K0k7s7em0wU
extra : rebase_source : 3c953db0c7bd54c2c8e51b8ff43458f3f472b300
2016-01-20 23:20:42 +08:00
Bogdan Postelnicu
ffae8ec404
Bug 1245464 - initialize with 0 mSupportedIfaces in xpcAccessibleGeneric in order to avoid corrupted result after bit-wise operation. r=surkov
2016-02-03 13:53:11 +02:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Alexander Surkov
08db3d66c1
Bug 1220502 - ignore not visible text nodes for tree update, r=tbsaunde, roc
2016-02-01 17:05:45 -05:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Ting-Yu Lin
1889f6bc41
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
...
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Yura Zenevich
aa6aa35b56
Bug 1087608 - eliminating a pref observer leak and fixing test timeout overflow that cause intermittents. r=eeejay
2016-01-28 13:00:45 -05:00
Trevor Saunders
523de36bc0
bug 1243077 - make xpcAccessible::GetLastChild() work with proxied accessibles r=davidb
2016-01-27 18:42:48 -05:00
Trevor Saunders
16d18bf692
bug 1243077 - add AccessibleOrProxy::LastChild() r=davidb
2016-01-27 18:42:48 -05:00
Trevor Saunders
99fd4be44b
bug 1243077 - make xpcAccessible::GetFirstChild() work with proxies r=davidb
2016-01-27 18:42:47 -05:00
Trevor Saunders
9b8f7b61ec
bug 1243077 - add AccessibleOrProxy::FirstChild() r=davidb
2016-01-27 18:42:47 -05:00
Trevor Saunders
fb9bc4aa75
bug 1243077 - make xpcAccessible::GetChildren() work with proxied accessibles r=davidb
2016-01-27 18:42:46 -05:00
Trevor Saunders
b859f555ce
bug 1243077 - remove an unnecessary AddRef() from xpcAccessible::GetChildren()
...
r=davidb
2016-01-27 18:42:46 -05:00
Trevor Saunders
eca38fe746
bug 1243077 - make xpcAccessible::GetChildAt() work with proxied accessibles r=davidb
2016-01-27 18:42:46 -05:00
Trevor Saunders
3118a36ffe
bug 1243077 - add AccessibleOrProxy::ChildAt() r=davidb
2016-01-27 18:42:45 -05:00
Trevor Saunders
b25ec82248
bug 1243077 - support proxied accessibles in xpcAccessible::GetRole() r=davidb
2016-01-27 18:42:45 -05:00
Trevor Saunders
ba8141b22e
bug 1243077 - simplify GetRoleCB some r=davidb
...
We can replace the code dealing with Accessibles and proxies differently with
a call to AccessibleOrProxy::Role()
2016-01-27 18:42:45 -05:00
Trevor Saunders
f92728f426
bug 1243077 - add ToXPC{,Document} overloads for proxied accessibles r=davidb
2016-01-27 18:42:44 -05:00
Trevor Saunders
2cc43f17c8
bug 1243077 - make it possible to get MaiAtkObject::mAccWrap from an AtkObject* without casting to Accessible* or ProxyAccessible* r=davidb
2016-01-27 18:42:44 -05:00
Trevor Saunders
314f451267
bug 1243077 - add AccessibleOrProxy::Role() r=davidb
2016-01-27 18:42:44 -05:00
Trevor Saunders
6695ff5d5b
bug 1243077 - implement xpcAccessible::GetChildCount() for proxied accessibles
...
r=davidb
2016-01-27 18:42:43 -05:00
Trevor Saunders
5a95547b7e
bug 1243077 - add AccessibleOrProxy xpcAccessible::IntlGeneric() r=davidb
...
It will be useful to get mIntl without casting it to either Accessible* or
ProxyAccessible*. sadly C++ won't let us overload the name Intl() this way
so for now this method is named IntlGeneric().
2016-01-27 18:42:43 -05:00
Trevor Saunders
8d47572098
bug 1243077 - add AccessibleOrProxy::ChildCount() r=davidb
2016-01-27 18:42:42 -05:00
Trevor Saunders
9ac1c316df
bug 1243077 - add AccessibleOrProxy::IsNull() r=davidb
2016-01-27 18:42:42 -05:00
Mats Palmgren
8336eb31ab
Bug 1241840 - Set table cell colspan=0 to 1 instead per the HTML spec. r=bz
2016-01-27 17:02:12 +01:00
Trevor Saunders
d3f830df59
bug 1241453 - fire nsIAccessibleCaretMoveEvents for proxies r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
a26233525c
bug 1241453 - fire nsIAccessibleEvents for proxied accessibles r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
ed69c87d2c
bug 1241453 - fire nsIAccessibleTextChangeEvents for proxies r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
a512318f50
bug 1241453 - fire nsIAccessibleStateChangeEvents for proxied accessibles r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
0f654643cf
bug 1241453 - factor dispatching nsIAccessibleEvents out of HandleAccEvent() r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
0be48532d2
bug 1241453 - add DocAccessibleParent::GetXPCAccessible() r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
8f79d0d09c
bug 1241453 - allow caching proxies in xpcAccessibleDocuments r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
955114b39c
bug 1241453 - assert accessibles are only added to non remote xpcAccessibleDocuments r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
6b42e68369
bug 1241453 - allow caching xpc documents for remote documents r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
9672799f00
bug 1241453 - fixup xpcAccessible Intl() methods to not assume mIntl is always an Accessible r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
dd9c8002ab
bug 1241453 - allow xpcAccessibleDocument::mCache to use proxies as keys r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
78f1ab8c9d
bug 1241453 - allow constructing xpcAccessibles with proxies r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
73bf84da55
bug 1241453 - allow storing proxies in xpcAccessibleGeneric::mIntl r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
65d4636a8e
bug 1241453 - clean up GetAccessibleWrap() r=davidb
...
We can simplify it some to make better use of AccessibleOrProxy.
2016-01-26 07:49:25 -05:00
Trevor Saunders
d90ff6e507
bug 1241453 - switch MaiHyperLink to use AccessibleOrProxy r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
4404ef7da3
bug 1241453 - switch MaiAtkObject to use AccessibleOrProxy r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
13f9192992
bug 1241453 - add an AccessibleOrProxy class r=davidb
...
We have several places that store either a ProxyAccessible* or an Accessible*
in the same member using a uintptr_t and stealing the lowest bit of the
pointer. The goal of the AccessibleOrProxy class is to make this simpler and
consolidate the logic involved in doing it.
2016-01-26 07:49:25 -05:00
Sylvestre Ledru
ab4e3a0d42
Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
...
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
David Rajchenbach-Teller
42b6a4145f
Bug 1224374
- Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
...
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.
--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Alexander Surkov
356a8b6d75
Bug 1233118 - implement IAccessible2_3::selectionRanges, r=yzen
2016-01-20 12:53:03 -05:00
Sebastian Hengst
d8d4a2d1a5
Backed out 2 changesets (bug 1224374
) for Windows bustage. r=bustage on a CLOSED TREE
...
Backed out changeset 5f458e6e4997 (bug 1224374
)
Backed out changeset 0dc02cb0b604 (bug 1224374
)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
f5531f5260
Bug 1224374
- Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
...
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.
--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Jonathan Kew
42564dac5c
Bug 1239301 - Use 'ch' units rather than 'ex' units when specifying a width that is intended to fit a specific number of characters. r=tbsaunde
2016-01-18 13:27:59 +00:00
Eitan Isaacson
7f81b68d25
Bug 1239051 - Labels should expose labeled controllers action. r=tbsaunde
2016-01-14 12:37:15 -08:00
Jonathan Kew
2ff25b1f53
Bug 1239007 - Replace nsIntRect by strongly-typed rects in a couple of nsCocoaUtils functions. r=mstange
2016-01-13 07:32:55 +00:00
Till Schneidereit
5dec54d943
Bug 1101817 - Part 1: Remove usages of WeakMap.prototype.clear from Gecko. r=yzen,mak,yoric,gijs,jlongster
...
--HG--
extra : rebase_source : ef9f83be96af75ee25f8e9fb90ce2b84ab3689bd
2016-01-04 13:06:50 +01:00
Nathan Froyd
40b1bc29b3
Bug 1222531 - turn off -Wextra-tokens on clang-cl in accessible/ directories; r=tbsaunde
...
The Windows MIDL code generator creates things like:
#endif !_MIDL_USE_GUIDDEF_
which clang-cl complains about. MSVC doesn't, so turn this warning off.
2015-11-06 13:10:03 -05:00
Trevor Saunders
37c22443fb
bug 1235965 - null check mDoc in AccessibleWrap::Shutdown() r=davidb
2016-01-08 14:23:08 -05:00
Trevor Saunders
7b1bfa7b97
bug 1203861 - use strncmp() instead of nsCString.equals() to compare names r=davidb
...
AtkObject stores the name as a C string, but nsCString can store strings with
'\0' in the middle. That means that if we compute a name containing '\0'
nsCString.equals() will nevr consider that string to be equal to
AtkObject::name, however we only want to compare up to the first '\0' because
that is the only part Atk will ever see. So we should use strncmp() instead of
nsCString.equals().
2016-01-08 14:23:08 -05:00
Trevor Saunders
b84ba16352
bug 1228400 - null check tabChild before notifying the parent process about new child documents r=davidb
2016-01-07 14:18:40 -05:00
Nicholas Nethercote
3ba02d7a9b
Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde.
...
--HG--
extra : rebase_source : 7cdef8244e2b44b89e8061f66d45d40cbf245041
2015-12-15 21:24:06 -08:00
Bogdan Postelnicu
a56f7319b3
Bug 1235373 - Add an assert to check validity of pointers: mElement->GetPrimaryFrame() and frame. r=surkov
...
--HG--
extra : rebase_source : 6cf3d00ebb79b7af38bff66535d908af048fc279
2015-12-28 06:25:00 -05:00
Alexander Surkov
37b5a7125a
Bug 1231919 - crash in mozilla::a11y::DocAccessible::ValidateARIAOwned, r=davidb
2015-12-14 12:02:23 -05:00
Jim Mathies
114d93fb4c
Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
...
--HG--
extra : transplant_source : %A0R%E2Nhk%25%F7%BE%9D%E1%96W_%AD%27%DEC%F2%AC
2015-12-10 14:28:33 -05:00
Carsten "Tomcat" Book
8431613ae5
Backed out changeset bcb4ebf6ffac (bug 1198459) for bustage
2015-12-10 11:14:27 +01:00
Jim Mathies
33f95db847
Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
...
--HG--
extra : transplant_source : %BA%D2uF7%D5%C1jg%0E%BA%9B%84u%3D%10n%C0%93%8B
2015-12-09 08:35:06 -05:00
Phil Ringnalda
e8a1410bc9
Bug 845176 - Skip relations/test_embeds.xul on Linux debug and ASan, where it times out constantly
2015-12-09 18:48:26 -08:00
Mike Hommey
aab4d7dc38
Bug 1231148 - Avoid requiring IDL files installed in $DIST/idl to run AccEventGen.py. r=ted
...
While working on growing the fastermake backend to do compilation, I ran into
the problem that there's an implicit dependency from AccEventGen.py on the fact
that IDL files are installed in $DIST/idl. While we may need some way to
express such things in general, it turns out that for this specific use case,
we don't actually /need/ IDLs in $DIST/idl, and a couple paths are enough to
get things to work.
2015-12-09 19:23:53 +09:00
Ted Mielczarek
47dba5ed8c
bug 1160185 - support GENERATED_FILES in EXPORTS. r=glandium
...
This change allows specifying objdir-relative paths in EXPORTS to enable
exporting entries from GENERATED_FILES. Objdir paths in EXPORTS that are
not in GENERATED_FILES will raise an exception.
Example:
```
EXPORTS += ['!g.h', 'f.h']
GENERATED_FILES += ['g.h']
```
Given the implementation, this should also work for FINAL_TARGET_FILES,
FINAL_TARGET_PP_FILES, and TESTING_FILES, but those are not well-tested.
This patch also renames the install manifest for '_tests' to match the
directory name for convenience in some code I refactored.
--HG--
extra : commitid : CwayzXtxv1O
extra : rebase_source : 5fb6f461fc740da9bce14bbdbfabdfe618af8803
2015-12-01 09:53:16 -05:00
Bogdan Postelnicu
cb90360057
Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov
...
--HG--
extra : commitid : 5Hi6E55At3
extra : source : a9ce85f77af9188fcb7500b3e156df1ad17a49e5
2015-12-03 14:07:43 -08:00
Wes Kocher
286a265f77
Backed out 2 changesets (bug 1230118, bug 1230110) for windows debug assertions in browser_perf-categories-js-calltree.js
...
Backed out changeset a9ce85f77af9 (bug 1230118)
Backed out changeset b9d8d05aa4ee (bug 1230110)
--HG--
extra : commitid : 9wnrd9NnBlp
2015-12-03 15:38:04 -08:00
Bogdan Postelnicu
10821cd308
Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov
...
--HG--
extra : commitid : DZ2Gxt3duam
extra : rebase_source : f35ddfd3a3eea486b0f1d23896bd158663132b2e
2015-12-03 14:07:43 -08:00
Robert O'Callahan
3568d59638
Bug 1221043. Revert to including trailing whitespace for accessibility APIs. r=marcoz,mats
...
--HG--
extra : commitid : DBGsn68FsG4
extra : rebase_source : 7b8f6211c2719dd017fef7e47d4dcdb3aeadfde4
2015-12-01 02:21:25 +13:00
Nicholas Nethercote
25177238ef
Bug 1187139 (part 3) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde.
...
--HG--
extra : rebase_source : 55473258ba149c2b00d3b1808d0f93425dcd1925
2015-11-29 14:02:07 -08:00
Nicholas Nethercote
1a8b28c439
Bug 1187139 (part 2) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde.
...
--HG--
extra : rebase_source : 1362c77b2a88ea1f02a549a18086986b73b419e4
2015-11-29 14:02:07 -08:00
Nicholas Nethercote
ca220cda4d
Bug 1187139 (part 1) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde.
...
--HG--
extra : rebase_source : 4cc04928bee921db2088af358439958d5d2fd6f5
2015-11-29 14:02:07 -08:00
Nicholas Nethercote
d9c0c03bfe
Bug 1225007 (part 2, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
2015-11-19 17:34:20 +11:00
Alexander Surkov
9df31a4c50
Bug 1213281 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnInsertion, r=davidb
2015-11-26 20:46:12 -05:00
Alexander Surkov
e368a67db6
Bug 1226000
- control may pick up its name from wrong label, r=yzen
2015-11-24 14:44:24 -05:00
Trevor Saunders
fe374b7271
bug 1218762
- proxy ia2Accessible::scrollTo{,Point}() r=davidb
2015-11-20 09:45:23 -05:00
Phil Ringnalda
87802cdbad
Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
...
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Nicholas Nethercote
03fdbf3423
Bug 1225007 (part 2, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : 02a735d1dfb07cd1bfb559dcc1049fc2966c6db6
2015-11-19 17:34:20 +11:00
Kyle Huey
6df095ed85
Bug 1222127: Use the inner window to compute style. r=baku
2015-11-19 14:47:20 +08:00
Nicholas Nethercote
26b0d282a5
Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE
2015-11-17 17:02:39 -08:00
Nicholas Nethercote
78829dd6ba
Bug 1225007 (part 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : 0dcf2d580a836faf76cb392eb5561bfa3481d5c2
2015-11-16 19:40:53 -08:00
Chris Manchester
f1d38f349b
Bug 1217015 - Convert AccEventGen.py to GENERATED_FILES and get rid of most of accessible/xpcom/Makefile.in r=glandium,tbsaunde
...
--HG--
extra : commitid : HEsKoRUC2fH
2015-11-16 16:51:51 -08:00
John Daggett
36a7287ec7
Bug 1173260 - stub out tests that fail when 'cursive' is looked up via fontconfig. r=m_kato
2015-11-16 08:48:45 +09:00
Nicholas Nethercote
a62e6ee5b7
Bug 1224403 (part 8) - Use LayoutDeviceIntMargin more in HyperTextAccessible. r=kats.
...
--HG--
extra : rebase_source : 0e3cf7566f640f3165d677f67c005b43e290ac94
2015-11-12 05:34:27 -08:00
Nicholas Nethercote
7922110bde
Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats.
...
--HG--
extra : rebase_source : 5197f42325d36313ad8c6178baaabcf6f7df532c
2015-11-11 19:56:06 -08:00
Nicholas Nethercote
ad0dd8414a
Bug 1223310
(part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Trevor Saunders
2478fff23c
bug 1213402 - add another , to fix silly string concatonation r=me landed on a CLOSED TREE
2015-11-10 21:45:12 -05:00
Trevor Saunders
c54f947de7
bug 1213402 - fixup silly array , on windows r=me landing on a CLOSED TREE
2015-11-10 17:39:27 -05:00
Trevor Saunders
974cb05c7a
bug 1213402 - Fire numeric value change events for proxies r=davidb
2015-11-10 15:55:09 -05:00
Trevor Saunders
3dd3759899
bug 1213402 - separate value change events into text value changes and numeric value changes r=davidb
...
Arguably these are different things, and it will be easier to proxy events for
atk this way because atk only wants the numeric value changes.
2015-11-10 15:55:08 -05:00
Nicholas Nethercote
ab7974e9a5
Bug 1222943 (part 1) - Change Touch::mRadius from nsIntPoint to LayoutDeviceIntPoint. r=kats.
...
This adds a three missing unit conversions for touch radii.
--HG--
extra : rebase_source : 353494783099ed0520cc69ae691a4cf5360c9b20
2015-11-09 21:37:31 -08:00
Alexander Surkov
d5d70c968a
Bug 1221542, bug 1221543 - crash in mozilla::a11y::DocAccessible::SeizeChild/PutChildrenBack, r=davidb
2015-11-09 14:47:38 -05:00
Justin Obara
d8a59a9eeb
Bug 1169019 - Removed screenreader announcement from gecko. r=yzen
2015-11-08 21:24:41 -08:00
Alexander Surkov
253f5cfdd0
Bug 1220897 - fix IAccessible2::get_accessibleWithCaret, r=tbsaunde
2015-11-06 23:31:12 -05:00
Trevor Saunders
23e5f861c1
bug 1221551
- unbind child documents before rebinding them r=davidb
...
It seems possible that a child document could be bound to a parent document
without first being unbound. Some evidence for this being possible is that
OuterDocAccessible::InsertChildAt() explicitly checks for this and does
something similar if it already has a child.
2015-11-06 17:29:17 -05:00
Nathan Froyd
e256faafbd
Bug 1222174 - add override declarations in AccessibleWrap.h; r=tbsaunde
...
clang-cl complains about not having these otherwise.
2015-11-05 15:20:09 -05:00
Alexander Surkov
6606e57d29
Bug 582024 - ARIA active-descendant should work for ARIA owned elements, r=yzen
2015-11-03 11:03:34 -05:00
Alexander Surkov
acb8fed93c
Bug 499917 - take into account aria-owns when calculating group attributes, test only, r=yzen
2015-11-03 11:03:23 -05:00
Yura Zenevich
b03320ca91
Bug 1220860 - fixing an error with getting documentElement on AccessFu stop. r=eeejay
2015-11-02 15:28:53 -08:00
Alexander Surkov
08b94a69ed
Bug 1219744 - no child_of/parent_of relations for aria-owns, r=yzen
2015-11-02 12:42:27 -05:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Robert O'Callahan
2d8cd33dc4
Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
...
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.
--HG--
extra : commitid : 42YjYQUaiwY
extra : rebase_source : 69d3a9c5086c116365a0488d1b4fc52fc6524196
2015-10-30 19:23:10 +13:00
Alexander Surkov
d32bb30926
Bug 1219743 - remove special ARIA owns support for ARIA menus, r=yzen
2015-10-30 23:19:52 -04:00
Trevor Saunders
103dd0c968
bug 1219528 - don't bail out of AccessibleWrap::accNavigate if the accessible wraps a proxy r=davidb
2015-10-30 19:27:42 -04:00
Trevor Saunders
c145de8b16
bug 1219528 - make AccessibleWrap::accNavigate cases using relations work with proxies r=davidb
2015-10-30 19:27:42 -04:00
Trevor Saunders
5cf6510d00
bug 1219528 - make NAVDIR_{FIRST,LAST}CHILD and NAVDIR_{NEXT,PREVIOUS} cases of AccessibleWrap::accNavigate deal with proxies r=davidb
2015-10-30 19:27:42 -04:00
Trevor Saunders
e9c2a868bb
bug 1219528 - add ProxyAccessible::{Next,Prev}Sibling() and ProxyAccessible::{First,Last}Child() r=davidb
2015-10-30 19:27:42 -04:00
Alexander Surkov
54171e1ece
Bug 1219299 - rework aria-owns implementation, r=yzen
2015-10-29 18:08:48 -04:00
Trevor Saunders
b7738102b4
bug 1218564 - remove check for password roles in AccessibleWrap::get_accValue r=surkov
...
The text computed for a password entry's accessible should not include the
actual password text, so this check is not necessary.
2015-10-28 14:58:24 -04:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Ryan VanderMeulen
c31f57b4af
Bug 448064 - Add crashtest.
...
--HG--
extra : rebase_source : 87a5ceacbe69406d7e764c39a034b0829b64a46e
2015-10-24 15:03:19 -04:00
Robert O'Callahan
0e2b65352f
Revert incorrectly committed changes ab657569f554 and a396f4262479
...
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan
ff38db98f3
Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
...
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.
--HG--
extra : commitid : Dn0U0KPLfbY
extra : rebase_source : 57a6ad2e3ba1f7ec6aef9b940d8facdbba7e9c91
2015-10-24 22:27:29 +13:00
Tooru Fujisawa
38a0e6918a
Bug 1217038 - Remove for-each and legacy array comprehension from accessible/. r=yzen
...
--HG--
extra : commitid : DTBUPm8NCs3
2015-10-18 23:21:31 +09:00
Nicholas Nethercote
ae59720e00
Bug 1186786 - Replace nsBaseHashtable::EnumerateRead() calls in accessible/ with iterators. r=tbsaunde.
...
--HG--
extra : rebase_source : 3909fa78de6ce0b3d6acd9fe2017e7cb5021c84f
2015-10-19 17:52:43 -07:00
James Teh
f8dd54d3ca
Bug 1210549 - Fix AccessibleWrap::GetXPAccessibleFor for proxied accessibles r=tbsaunde
2015-10-21 19:54:09 -04:00
James Teh
ab37f2b8a2
Bug 1210549 - Allow IServiceProvider::QueryService to work for proxied accessibles r=tbsaunde
2015-10-21 19:54:09 -04:00
James Teh
2d65b6dfc8
Bug 1210549 - Make proxied accessibles defunct when proxy dies r=tbsaunde
2015-10-21 19:54:09 -04:00
Carsten "Tomcat" Book
ce97f44675
Backed out changeset f20fa392e98b (bug 1199755) for assertions/test failures in test_content_integration.htm on a CLOSED TREE
2015-10-21 12:28:56 +02:00
Lorien Hu
6259455408
Bug 1199755 - Correctly fetch remote children of non-proxy mozAccessibles, r=tbsaunde
2015-10-13 21:29:09 +03:00
Takeshi Kurosawa
da38a008ad
Bug 1007975 - div with display:table exposes table semantics r=surkov
...
- Construct a table accessible object if a content in question is HTML <table>
- Drop checking whether a table accessible object is built by CSS display:table from HTMLTableAccessbile::IsProbablyLayoutTable
--HG--
extra : transplant_source : %15%A0%F3%22%8C%AB%AB%0E%CF%1D%A3H%E4%2Aj%CB8%BDy%F0
2015-10-19 21:46:54 +09:00
Trevor Saunders
8ba1d0d320
bug 1215657 - make AccessibleWrap::get_accSelection work with proxies r=davidb
2015-10-20 15:25:00 -04:00
Trevor Saunders
ad29692daa
bug 1215657 - make AccessibleWrap::accDoDefaultAction work with proxies r=davidb
2015-10-20 15:25:00 -04:00
Trevor Saunders
1da4ea6d30
bug 1215657 - make AccessibleWrap::accHitTest() work with proxies r=davidb
2015-10-20 15:25:00 -04:00
Trevor Saunders
5cd07e19be
bug 1215657 - make AccessibleWrap::accSelect work with proxies r=davidb
2015-10-20 15:25:00 -04:00
Trevor Saunders
a62582d550
bug 1215657 - make AccessibleWrap::get_accDefaultAction work with proxied accessibles r=davidb
2015-10-20 15:25:00 -04:00
Trevor Saunders
c2be473e90
bug 1215657 - make AccessibleWrap::get_accFocus work with proxied accessibles
...
r=davidb
2015-10-20 15:25:00 -04:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Trevor Saunders
53e6b1571b
bug 1213327 - expose iAccessibleHyperlink on proxied accessibles r=davidb
2015-10-16 16:13:38 -04:00
Trevor Saunders
e39b0ca57d
bug 1213327 - store interfaces a proxy implements on the Accessible wrapping it
...
r=davidb
2015-10-16 16:13:38 -04:00
Trevor Saunders
034d16ce0e
bug 1213327 - allow accessibles wrapping proxies to store the set of interfaces implemented by the proxy r=davidb
...
This is not a nice solution, however its basically the only option. We need to
store the set of interfaces the proxy implementes, preferably without
increasing the size of ProxyAccessibleWrap.
2015-10-16 16:13:38 -04:00
Trevor Saunders
34e02634ff
bug 1213516 - fire showing state change event for atk in place of an alert event r=davidb
2015-10-16 14:59:08 -04:00
Yura Zenevich
709f9eb640
Bug 1211122 - ensuring that we check position against an actual doc/dialog on doc load event. r=marcoz
2015-10-16 09:39:30 -04:00
Carsten "Tomcat" Book
15c4d32dd7
merge mozilla-inbound to mozilla-central a=merge
2015-10-16 13:17:56 +02:00
Phil Ringnalda
908ee17508
Back out changeset 12ac8139ecd9 (bug 1213516) for Linux build bustage
...
CLOSED TREE
2015-10-15 22:52:58 -07:00
Trevor Saunders
8d46decb2f
bug 1213516 - fire showing state change event for atk in place of an alert event r=davidb
2015-10-16 01:24:26 -04:00
Wes Kocher
403b53b231
Merge m-c to fx-team, a=merge
2015-10-15 11:38:00 -07:00
Gijs Kruitbosch
cd5713a51d
Bug 1123760 - bustage follow-up: remove unused variable, rs=bustage on a CLOSED TREE
...
--HG--
extra : commitid : As5ZYBprXOm
extra : amend_source : 2981eb096957ef64d1bc8d16b4be26d8ecc287d5
2015-10-15 18:36:47 +01:00
Gijs Kruitbosch
3afe5469df
Bug 1123760 - make autocomplete dropmarker in the urlbar actually work when activated through a11y APIs, r=surkov
...
--HG--
extra : commitid : Cu83QcuhCxT
extra : rebase_source : 4e06008d7777ca862aaabfc43ff36979f4d6083e
extra : amend_source : 50c63af8003e62b9b89fa9014d1753c58252e62b
2015-10-13 17:19:41 +01:00
Eitan Isaacson
8e6e82af8d
Bug 1214398 - Add highlight box to doc body if it is available and set z-index. r=yzen
2015-10-13 14:03:00 +02:00
Yura Zenevich
b074ad4db9
Bug 1212528 - ensuring first seen document in ancestry is announced first. r=marcoz
2015-10-15 16:42:33 -04:00
Trevor Saunders
00126a9fa0
bug 1214864 - fixup SetCaret() changes on windows
2015-10-15 15:46:42 -04:00
Trevor Saunders
a6479f0c55
bug 1214864 - make SetCarretOffset() async r=davidb
...
It calls TakeFocus() which needs to be async to avoid deadlocks, so it needs to
be async as well.
2015-10-15 15:04:37 -04:00
Trevor Saunders
86e2dba472
bug 1213606 - work around proxy's that don't have a wrapper for their document r=davidb
2015-10-14 14:09:49 -04:00
Trevor Saunders
38c71db8ad
bug 1213606 - assert that we don't destroy a document's proxy until we destroy all of its children r=davidb
2015-10-14 14:09:49 -04:00
Olli Pettay
46310c2e6d
Bug 1214316 - Improve assertions on top level remote accessible doc handling, r=tbsaunde
2015-10-13 22:00:35 +03:00
Olli Pettay
42685fa873
Bug 1213382 - proxy more accessible selection methods, r=tbsaunde
...
--HG--
extra : rebase_source : 1d8d688d4b1ab671aed5ba28bdcc14b2c4b94f70
2015-10-13 22:08:00 +03:00
Alexander Surkov
e710c70483
Bug 1212457 - crash at ARIARowAccessible::GroupPosition(), r=marcoz
2015-10-08 08:02:52 -04:00
Trevor Saunders
d12bfed3c9
bug 1210884 - expose the action interface on proxied accessibles r=davidb
2015-10-07 18:26:56 -04:00
Trevor Saunders
fdc2c57a4a
bug 1210741
- make AccessibleWrap::get_accLocation work with proxied accessibles r=davidb
2015-10-07 18:26:56 -04:00
Trevor Saunders
2233b14cfd
bug 1209615 - make remote primary docs RELATION_EMBEDS targets for atk r=davidb
2015-10-07 18:26:56 -04:00
Trevor Saunders
ca465b7667
bug 1209615 - add RootAccessible::GetPrimaryRemoteTopLevelContentDoc() r=davidb
2015-10-07 18:26:56 -04:00
Trevor Saunders
c3e44cb6c3
bug 1209615 - use TabParent::GetTopLevelDocAccessible() in OuterDocAccessible::RemoteChildDoc() r=davidb
2015-10-07 18:26:56 -04:00
Alexander Surkov
fdec90f014
Bug 1206107 - crash beginning in nightly 0916 in mozilla::a11y::Accessible::HasGenericType, part2, r=tbsaunde
2015-10-07 10:59:02 -04:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cdcff6d0a7
Backed out changeset c6b267589d0d (bug 1202902
) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE
2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Olli Pettay
daf442d9cb
Bug 1210407 - teach nsMaiInterfaceTable to use proxies, r=tbsaunde
...
--HG--
extra : rebase_source : bc80721e4fb1ff2362f556661def0ede45690220
2015-10-06 22:36:29 +03:00
Olli Pettay
010075bd3f
Bug 1210408 - make nsMaiInterfaceAction work with proxies, r=tbsaunde
...
--HG--
extra : rebase_source : a24bf6bcded4eed0d7d7a5bf8e3a008cd299f6ae
2015-10-06 22:14:18 +03:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Shu-yu Guo
52e365bb7b
Bug 1202902
- Fix the world. (r=ato for marionette, rs=Mossop for rest)
2015-10-06 14:00:30 -07:00
Alexander Surkov
865aaf3b3a
Bug 873438 - Implement IAccessible2_2::accessibleWithCaret, r=yzen
2015-10-06 12:36:47 -04:00
Alexander Surkov
cec5cfb0c2
Bug 1205341
- get rid of aria-owns provided relations, part1: remove ARIA combobox special support (bug 819273 backout), r=yzen
2015-10-05 11:28:35 -04:00
Frédéric Wang
2aa965ccb5
Bug 1178272 - Move table semantics to a separate mozTableAccessible.mm file. r=surkov
...
--HG--
extra : rebase_source : bdbc6ea2a47d31e749fd59f657a54e40ae47c92b
2015-10-01 16:00:00 +02:00
Frédéric Wang
23ca07898d
Bug 1177640 - [Mac] Do not expose HTML table semantics for "layout" tables. r=surkov
2015-09-30 17:49:00 +02:00