Commit Graph

4305 Commits

Author SHA1 Message Date
Trevor Saunders
6b47fdb58d bug 1243077 - add AccessibleOrProxy::IsNull() r=davidb 2016-01-27 18:42:42 -05:00
Mats Palmgren
2fcfd3ded9 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
1692f47aec bug 1241453 - fire nsIAccessibleCaretMoveEvents for proxies r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
b4f2ecfb68 bug 1241453 - fire nsIAccessibleEvents for proxied accessibles r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
2044341d8e bug 1241453 - fire nsIAccessibleTextChangeEvents for proxies r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
db4df87399 bug 1241453 - fire nsIAccessibleStateChangeEvents for proxied accessibles r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
0acb0d8e82 bug 1241453 - factor dispatching nsIAccessibleEvents out of HandleAccEvent() r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
ee8519753c bug 1241453 - add DocAccessibleParent::GetXPCAccessible() r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
535500b1e1 bug 1241453 - allow caching proxies in xpcAccessibleDocuments r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
8098d3b976 bug 1241453 - assert accessibles are only added to non remote xpcAccessibleDocuments r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
6f45c26224 bug 1241453 - allow caching xpc documents for remote documents r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
24fd26a373 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
64b8e7af37 bug 1241453 - allow xpcAccessibleDocument::mCache to use proxies as keys r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
971a1863ec bug 1241453 - allow constructing xpcAccessibles with proxies r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
2b092a8a75 bug 1241453 - allow storing proxies in xpcAccessibleGeneric::mIntl r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
3479e52927 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
f7f97fab77 bug 1241453 - switch MaiHyperLink to use AccessibleOrProxy r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
6b82afaf17 bug 1241453 - switch MaiAtkObject to use AccessibleOrProxy r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
16ea34561b 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
a898200615 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
David Rajchenbach-Teller
8ba554ff78 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.
2016-01-14 23:03:11 +01:00
Alexander Surkov
1eda297f31 Bug 1233118 - implement IAccessible2_3::selectionRanges, r=yzen 2016-01-20 12:53:03 -05:00
Sebastian Hengst
1eb13214bf 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
a50a3b6067 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.
2016-01-14 23:03:11 +01:00
Jonathan Kew
e24bc5e3c4 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
6259120162 Bug 1239051 - Labels should expose labeled controllers action. r=tbsaunde 2016-01-14 12:37:15 -08:00
Jonathan Kew
bf7dba2e00 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
bace318903 Bug 1101817 - Part 1: Remove usages of WeakMap.prototype.clear from Gecko. r=yzen,mak,yoric,gijs,jlongster 2016-01-04 13:06:50 +01:00
Nathan Froyd
e61e5f85d7 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
2571248bc6 bug 1235965 - null check mDoc in AccessibleWrap::Shutdown() r=davidb 2016-01-08 14:23:08 -05:00
Trevor Saunders
5c8b5951d4 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
23b3925fed 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
18f37c43aa Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde. 2015-12-15 21:24:06 -08:00
Bogdan Postelnicu
780de9b590 Bug 1235373 - Add an assert to check validity of pointers: mElement->GetPrimaryFrame() and frame. r=surkov 2015-12-28 06:25:00 -05:00
Alexander Surkov
41b5e92c36 Bug 1231919 - crash in mozilla::a11y::DocAccessible::ValidateARIAOwned, r=davidb 2015-12-14 12:02:23 -05:00
Jim Mathies
21003e17d6 Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde 2015-12-10 14:28:33 -05:00
Carsten "Tomcat" Book
6af019a9b2 Backed out changeset bcb4ebf6ffac (bug 1198459) for bustage 2015-12-10 11:14:27 +01:00
Jim Mathies
cbfa845299 Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde 2015-12-09 08:35:06 -05:00
Phil Ringnalda
1bcc4dfe4c 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
5cd413a92c 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
5ba367a270 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.
2015-12-01 09:53:16 -05:00
Bogdan Postelnicu
1fb24586ed Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov 2015-12-03 14:07:43 -08:00
Wes Kocher
f2b9245dc2 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)
2015-12-03 15:38:04 -08:00
Bogdan Postelnicu
181c843650 Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov 2015-12-03 14:07:43 -08:00
Robert O'Callahan
13afa55648 Bug 1221043. Revert to including trailing whitespace for accessibility APIs. r=marcoz,mats 2015-12-01 02:21:25 +13:00
Nicholas Nethercote
b8de9bd5b7 Bug 1187139 (part 3) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde. 2015-11-29 14:02:07 -08:00
Nicholas Nethercote
994d40de16 Bug 1187139 (part 2) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde. 2015-11-29 14:02:07 -08:00
Nicholas Nethercote
834769f331 Bug 1187139 (part 1) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde. 2015-11-29 14:02:07 -08:00
Nicholas Nethercote
16965dfefb 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
2f24aa0686 Bug 1213281 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnInsertion, r=davidb 2015-11-26 20:46:12 -05:00