Commit Graph

4362 Commits

Author SHA1 Message Date
James Teh
f41c6c4c6c Bug 1210549 - Make proxied accessibles defunct when proxy dies r=tbsaunde 2015-10-21 19:54:09 -04:00
Carsten "Tomcat" Book
3b82a28a43 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
dd238f2c55 Bug 1199755 - Correctly fetch remote children of non-proxy mozAccessibles, r=tbsaunde 2015-10-13 21:29:09 +03:00
Takeshi Kurosawa
9b5b3b3bfe 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
2015-10-19 21:46:54 +09:00
Trevor Saunders
bde12e1837 bug 1215657 - make AccessibleWrap::get_accSelection work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
c78db0bac2 bug 1215657 - make AccessibleWrap::accDoDefaultAction work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
218e2dfa9d bug 1215657 - make AccessibleWrap::accHitTest() work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
a4d36fb54a bug 1215657 - make AccessibleWrap::accSelect work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
2ab1fd5ca1 bug 1215657 - make AccessibleWrap::get_accDefaultAction work with proxied accessibles r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
925b10e817 bug 1215657 - make AccessibleWrap::get_accFocus work with proxied accessibles
r=davidb
2015-10-20 15:25:00 -04:00
Nathan Froyd
e4e2da55c9 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
2015-10-18 01:24:48 -04:00
Trevor Saunders
cde49aee45 bug 1213327 - expose iAccessibleHyperlink on proxied accessibles r=davidb 2015-10-16 16:13:38 -04:00
Trevor Saunders
1831af2eea bug 1213327 - store interfaces a proxy implements on the Accessible wrapping it
r=davidb
2015-10-16 16:13:38 -04:00
Trevor Saunders
906aa7a1f0 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
c40026692f 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
7d922096c5 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
362a517b9b merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Phil Ringnalda
f43797bf04 Back out changeset 12ac8139ecd9 (bug 1213516) for Linux build bustage
CLOSED TREE
2015-10-15 22:52:58 -07:00
Trevor Saunders
0efa947850 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
ed03c968a2 Merge m-c to fx-team, a=merge 2015-10-15 11:38:00 -07:00
Gijs Kruitbosch
314f34547b Bug 1123760 - bustage follow-up: remove unused variable, rs=bustage on a CLOSED TREE 2015-10-15 18:36:47 +01:00
Gijs Kruitbosch
6272bfaed2 Bug 1123760 - make autocomplete dropmarker in the urlbar actually work when activated through a11y APIs, r=surkov 2015-10-13 17:19:41 +01:00
Eitan Isaacson
3288718897 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
748d5072cc Bug 1212528 - ensuring first seen document in ancestry is announced first. r=marcoz 2015-10-15 16:42:33 -04:00
Trevor Saunders
e344230fb3 bug 1214864 - fixup SetCaret() changes on windows 2015-10-15 15:46:42 -04:00
Trevor Saunders
9eef2078ad 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
72c48034dc 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
63a2b0bd12 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
f71a066625 Bug 1214316 - Improve assertions on top level remote accessible doc handling, r=tbsaunde 2015-10-13 22:00:35 +03:00
Olli Pettay
7244b6d588 Bug 1213382 - proxy more accessible selection methods, r=tbsaunde 2015-10-13 22:08:00 +03:00
Alexander Surkov
ef66dec6ad Bug 1212457 - crash at ARIARowAccessible::GroupPosition(), r=marcoz 2015-10-08 08:02:52 -04:00
Trevor Saunders
9448ae9dbf bug 1210884 - expose the action interface on proxied accessibles r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders
cf85b4a812 bug 1210741 - make AccessibleWrap::get_accLocation work with proxied accessibles r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders
78b22d1913 bug 1209615 - make remote primary docs RELATION_EMBEDS targets for atk r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders
dbb36d0560 bug 1209615 - add RootAccessible::GetPrimaryRemoteTopLevelContentDoc() r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders
cbe55dfba7 bug 1209615 - use TabParent::GetTopLevelDocAccessible() in OuterDocAccessible::RemoteChildDoc() r=davidb 2015-10-07 18:26:56 -04:00
Alexander Surkov
53b1f3270a 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
d7f143eaad 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
cd93f441eb 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
b9e5717f50 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Olli Pettay
8fa86d0fe0 Bug 1210407 - teach nsMaiInterfaceTable to use proxies, r=tbsaunde 2015-10-06 22:36:29 +03:00
Olli Pettay
3009fcdb1d Bug 1210408 - make nsMaiInterfaceAction work with proxies, r=tbsaunde 2015-10-06 22:14:18 +03:00
Shu-yu Guo
b5f316de44 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
f0cdd04e91 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Alexander Surkov
7cf27d9e21 Bug 873438 - Implement IAccessible2_2::accessibleWithCaret, r=yzen 2015-10-06 12:36:47 -04:00
Alexander Surkov
7152b64191 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
684dcdbc92 Bug 1178272 - Move table semantics to a separate mozTableAccessible.mm file. r=surkov 2015-10-01 16:00:00 +02:00
Frédéric Wang
222fdec0be Bug 1177640 - [Mac] Do not expose HTML table semantics for "layout" tables. r=surkov 2015-09-30 17:49:00 +02:00
Frédéric Wang
00fac71a2d Bug 718637 - Notify that the document is loaded. r=MarcoZ 2015-10-02 05:42:00 +02:00
Trevor Saunders
5015adead0 bug 1210803 - expose the selection interface on proxied accessibles r=davidb 2015-10-02 06:38:21 -04:00
Trevor Saunders
6e6e4680c4 bug 1210447 - fix ProxyAccessible::EmbeddedChildAt() on proxies of outerDocs r=davidb 2015-10-02 06:38:21 -04:00
Frédéric Wang
28d93a933b Bug 1210441 - ProxyAccessible::IsTable* should take tabular MathML accessibles into account. r=tbsaunde 2015-10-01 11:06:00 +02:00
Alexander Surkov
cc717ff56f Bug 1210108 - Emit object:state-changed:showing event for doorhangers, r=tbsaunde 2015-10-01 11:27:33 -04:00
Kevin Grandon
79f0fe7233 Bug 1204965 - Graphene support. Merge larch into mozilla-central. r=fabrice r=glandium 2015-09-30 23:49:00 +02:00
Frédéric Wang
2bbd332b7c Bug 1210023 - Fix accessibilityAttributeValue for NSAccessibilityIndexAttribute. r=surkov 2015-10-01 08:40:35 +02:00
Bobby Holley
a1ed0e1a48 Bug 1208622 - Separate API entry points. r=bz 2015-09-30 16:31:46 -07:00
Alexander Surkov
c8c132a9e4 Bug 1205318 - make aria-owns loop alg more sophisticated, r=yzen 2015-09-29 15:17:40 -04:00
Eitan Isaacson
912f6f7c60 Bug 1209054 - Make 2 finger tap toggle pause speech. r=yzen 2015-09-29 14:37:11 -04:00
Eitan Isaacson
cbe09dbbe3 Bug 1182311 - Make 3 finger triple tap more reliable. r=yzen 2015-09-29 14:37:11 -04:00
Trevor Saunders
5a43bdeeec bug 1208779 - null check aAccessible in GetChildIDFor() for 32 bit as well as 64 bit windows r=davidb 2015-09-29 11:34:07 -04:00
Nigel Babu
2c9b50ea24 Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley
13123afb09 Bug 1208622 - Separate API entry points. r=bz 2015-09-28 22:51:30 -07:00
Alexander Surkov
744243152a Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, part2, r=davidb 2015-09-28 16:04:40 -04:00
Trevor Saunders
4e967275c1 bug 1209147 - make proxying of Accessible::TakeFocus() async r=davidb
TakeFocus() ends up making sync calls to the parent process. That means if we
try to call it from a sync call to the child process we end up deadlocked.  The
easiest way to fix this is to make the message to the child process async.
2015-09-28 15:27:11 -04:00
Brian Grinstead
c6e35a38ee Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07:00
Alexander Surkov
fd04ec9747 Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), part3, r=davidb 2015-09-25 12:11:49 -04:00
Trevor Saunders
56acf0dde9 bug 1207862 - make AccessibleWrap::GetXPAccessibleFor() return the AccessibleWrap for proxies r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders
2f2aaad72c bug 1207862 - make WrapperFor() take a const ProxyAccessible * r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders
a9c913014f bug 1207862 - make it possible to traverse down the tree of proxied documents r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders
bb67d32b39 bug 1207862 - Add DocManager::TopLevelRemoteDocs() r=davidb
Soon we will need to iterate over all of the top level remote documents.
2015-09-24 19:23:18 -04:00
Trevor Saunders
3d044546f3 bug 1207862 - refactor GetXPAccessibleFor() so proxies and non proxies are handle in the same place for each type of id r=davidb
While we're reorganizing this function move the simple cases to the beginning,
      and make lookup in the document tree last.
2015-09-24 19:23:18 -04:00
Chris Peterson
dd2fcb9b7d Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Olli Pettay
d48487fe29 Bug 1207311 - No need for \!nsAccUtils::MustPrune(acc) in DocAccessibleChild::RecvExtents, r=tbsaunde 2015-09-23 01:45:27 +03:00
Olli Pettay
966a34c2af Bug 1207253 - make getChildCountCB correctly deal with outerdoc accessibles with proxy children, r=tbsaunde 2015-09-23 01:43:51 +03:00
Alexander Surkov
bce2fb5b16 Bug 1206107 - fire show event for reallocated accessible after it was reallocated, r=tbsaunde 2015-09-22 16:46:40 -04:00
Alexander Surkov
ad8b2fefeb Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList, part2, r=davidb 2015-09-21 12:47:02 -04:00
Alexander Surkov
726384e318 Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, r=davidb 2015-09-20 04:02:05 -04:00
Alexander Surkov
036387cad5 Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), r=smaug 2015-09-18 08:52:46 -04:00
Trevor Saunders
afbff190c8 bug 1199735 - fire windows events on proxies r=davidb 2015-09-17 16:49:25 -04:00
Trevor Saunders
afb68cddb4 bug 1199735 - factor win event dispatch logic into its own function r=davidb 2015-09-17 16:49:24 -04:00
Trevor Saunders
7dc9023910 bug 1199735 - remove event logging from the windows AccessibleWrap::HandleAccEvent r=davidb
if this is useful it would make more sense to log it outside of the windows
layer.  Since its not clear it is useful, and it makes it harder to separate
event dispatch logic from HandleAccEvent its easiest to just remove it for now.
2015-09-17 16:49:24 -04:00
Trevor Saunders
2d06b997a3 bug 1204070 - add a little more checking to proxy subtree removal r=davidb 2015-09-15 18:15:16 -04:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Alexander Surkov
7465d053af Bug 1133213 - make aria-owns to alter the accessible tree, fire show/hide mutation events as we do for the accessible tree alterations, r=yzen, f=davidb 2015-09-15 12:01:51 -04:00
Eitan Isaacson
e252871c0c Bug 1203697 - Add braille navigation. r=yzen r=mfinkle 2015-09-14 23:34:30 -07:00
Nicholas Nethercote
0c8dfbfdaf Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.
2015-09-14 21:16:37 -07:00
Wes Kocher
d072778cf8 Backed out changeset 0f4a1154350d (bug 1133213) for frequent a11y crashes CLOSED TREE 2015-09-14 16:08:47 -07:00
Eitan Isaacson
a8c23121ef Bug 1182214 - Follow-up to fix Presentation.displayedAccessibles getter. r=me CLOSED TREE 2015-09-14 13:34:26 -07:00
Alexander Surkov
d53ae17187 Bug 1133213 - make aria-owns to alter the accessible tree, fire show/hide mutation events as we do for the accessible tree alterations, r=yzen, f=davidb 2015-09-11 20:54:27 -04:00
Eitan Isaacson
9e53e52a3a Bug 1182214 - Update highlight rect as you scroll. r=yzen 2015-09-14 10:52:43 -07:00
Eitan Isaacson
c5b2bc4dfb Bug 1182222 - Make Layerview support accessibility HTML navigation. r=yzen r=mfinkle 2015-09-14 10:52:43 -07:00
Eitan Isaacson
c2f13b2d03 Bug 1203283 - Introduce Android "Control" traversal rule. r=yzen 2015-09-14 10:52:43 -07:00
Trevor Saunders
20ef8ce558 bug 1196460 - remove proxy's ids when they are destroyed r=surkov 2015-09-14 13:33:39 -04:00
Trevor Saunders
61e40ac5c7 bug 1196460 - teach GetChildIDFor() to deal with proxied accessibles r=surkov 2015-09-14 13:33:38 -04:00
Trevor Saunders
e354c96e5b bug 1196460 - provide mapping from id to accessible in DocProxyAccessibleWrap 2015-09-14 13:33:38 -04:00
Trevor Saunders
06230447cd bug 1196460 - add method to get wrapper of proxy for document containing this proxied accessible r=surkov 2015-09-14 13:33:38 -04:00
Trevor Saunders
83f4e2a702 bug 1196460 - make IsDoc() return true for wrappers of proxied documents r=surkov 2015-09-14 13:33:37 -04:00
Trevor Saunders
d4f0cffc3f bug 1196460 - create different proxy wrappers depending on the type of the proxy r=surkov 2015-09-14 13:33:37 -04:00
Trevor Saunders
83ddc41d31 bug 1196460 - add class for wrapping proxies of document accessibles r=surkov
For now this isn't really different from the class used to wrap
HyperTextAccessibles.  However we will need to store extra data to map IDs to
accessibles when we implement events.
2015-09-14 13:33:37 -04:00
Trevor Saunders
1df2e61c36 bug 1196460 - make the ctor of HyperTextProxyAccessiblewrap public r=surkov 2015-09-14 13:33:36 -04:00
Masayuki Nakano
35331f6652 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
a89904392c Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Eitan Isaacson
1728b7e83e Bug 1019432 - [AccessFu] Only capture explore by touch events in Android. r=yzen 2015-09-10 13:56:53 -07:00
Trevor Saunders
dd73716c5d bug 1196372 - make GetHWNDFor() work with proxied accessibles r=surkov 2015-09-10 10:53:34 -04:00
Trevor Saunders
50fbde3f50 bug 1186536 - Bail out of ProxyTextChangeEvent() if the proxy doesn't have a wrapper r=davidb
This probably should never happen, but it seems to sometimes in the wild, and
its hard to know what caused that without a test case.  So for now work around
the issue by adding a null check.
2015-09-09 17:37:15 -04:00
Eitan Isaacson
f19304d593 Bug 1201146 - Introduce "Section" traversal rule. r=yzen 2015-09-04 10:04:19 -07:00
Trevor Saunders
1525a8a526 bug 1201395 - call ProxyCreated with the correct interfaces when creating top level documents r=davidb 2015-09-03 18:41:19 -04:00
Trevor Saunders
02bc02e687 bug 1186536 - make SerializeTree() use IsOuterDoc() to check if an accessible is an outer doc r=davidb
In theory this should be the same, but slightly faster than checking there is
one child and it is a document.  However it appears ChildCount() sometimes
returns 1 when there is no child 0.
2015-09-03 18:41:19 -04:00
Eitan Isaacson
9400a30750 Bug 1200836 - Land on first atomic object in container traversal. r=yzen 2015-09-02 09:44:30 -07:00
Olli Pettay
6baeb35958 Bug 1199785 - Make atk methods in nsMaiInterfaceComponent.cpp to work with ipc proxies, r=tbsaunde 2015-09-02 00:57:57 +03:00
Eitan Isaacson
cf795007fb Bug 1199884 - Keep match roles empty in BaseTraversalRules that don't provide roles. r=yzen 2015-08-31 09:45:02 -07:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Masayuki Nakano
4d5cd63d14 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
cd786809b4 Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
1fe1d7a51e Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Alexander Surkov
2f2f03af4b Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition(), part2, r=marcoz 2015-08-28 10:52:21 -04:00
Marco Zehe
710a18bfe5 Bug 1198291 - Remove exposure of the NSAccessibilityDescription attribute to guarantee we always expose AccName and AccDescription correctly, r=davidb, r=surkov
The NSAccessibilityHelpAttribute is being repurposed here, too, to expose the information other platforms call the Accessible Description rather than the Accessible Help tag, which traditionally referred to a connection to a Windows help file in old MSAA.
2015-08-26 16:28:05 +02:00
Masayuki Nakano
08c1409ff7 Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Chris Peterson
cd0fd3466a Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Ryan VanderMeulen
a85dc7f568 Backed out changeset 1d82f63f06e7 (bug 1184217) for Marionette crashes. 2015-08-25 17:02:57 -04:00
Trevor Saunders
d67d486ab6 bug 1184217 - make CheckDocTree check the entire document tree not just the subtree r=davidb[ 2015-08-25 16:12:49 -04:00
Eitan Isaacson
f5776c4af6 Bug 1182208 - Add support for android scrolling and range accessibility actions. r=mfinkle r=yzen 2015-08-21 11:32:57 -07:00
Trevor Saunders
c301304fba bug 1196880 - correctly compute interfaces for proxies r=davidb
interfaces is supposed to be a bit mask indexed by MAI_INTERFACE_X, so when
adding interfaces MAI_INTERFACE_X should be used as an index of the bit to set,
       not the mask to add.
2015-08-20 15:54:26 -04:00
Trevor Saunders
d257415265 bug 1192330 - update text change data for proxied text change events r=surkov 2015-08-19 12:48:58 -04:00
Trevor Saunders
2b5f6116ed bug 1192330 - add ia2AccessibleText::UpdateTextChangeData r=surkov
Soon we will need to be able to update the text change event data from both
 HandleAccEvent() and ProxyTextChangeEvent(), so separate out the logic to do
 that into a function.
2015-08-19 12:48:58 -04:00
Trevor Saunders
e43b77bce9 bug 1192330 - remove ia2AccessibleText::GetModifiedText() r=surkov
There's no point in this indirection since ia2AccessibleText has direct access
to this data.
2015-08-19 12:48:58 -04:00
Trevor Saunders
a91563ffa5 bug 1192330 - move static text change data from HyperTextAccessibleWrap to ia2AccessibleText r=surkov
This will enable us to remove the virtual function GetModifiedText().
2015-08-19 12:48:58 -04:00
Trevor Saunders
ae892e0614 bug 1192353 - make HyperTextProxyAccessibleWrap inherit from
HyperTextAccessibleWrap r=davidb

This is rather unfortunate, AccessibleWrap itself wastes a fair amount of space
when it just stores a pointer to a proxy, and this makes it waste even more.
However this is rather necessary for now because we need to be able to downcast
classes such as ia2AccessibleText to one type that works both when the
accessible is pointing to a proxy and when it is not.  That means
HyperTextAccessibleWrap and HyperTextProxyAccessibleWrap need to have the same
layout.
2015-08-19 12:48:57 -04:00
Alexander Surkov
8fb432dbc3 Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition, r=marcoz 2015-08-18 20:38:24 -04:00
Trevor Saunders
bd2322d15a bug 1195471 - make getChildCountCB work with proxies r=davidb 2015-08-18 14:36:11 -04:00
Trevor Saunders
09a22d049a bug 1189277 - only coalesce reorder events when a previous one for the same target is obsolete r=surkov
Having one reorder event that superseeds another does not mean that the
dependant mutation events for the first reorder are obsolete.  So we if we
coalesce a reorder event away we should leave its subordinate mutation events
alone.
2015-08-18 14:36:11 -04:00
Trevor Saunders
4807763cdd bug 1188415 - make CheckDocTree return if the document tree is in a sane state 2015-08-17 18:06:13 -04:00
Trevor Saunders
d0af52b333 bug 1194853 - pass the correct interfaces to Proxycreated when creating documents r=davidb 2015-08-17 13:49:28 -04:00
Aryeh Gregor
bac1b8bdfe Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj 2015-08-13 15:22:48 +03:00
Alexander Surkov
f2b93bae43 Bug 1193786 - crash in mozilla::dom::Element::FindAttrValueIn, r=marcoz 2015-08-13 08:43:26 -04:00
Trevor Saunders
bb3599f062 bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-08-12 10:50:38 -04:00
Trevor Saunders
26446a85b0 bug 1185122 - don't try and fire platform events in the child process r=lsocks 2015-08-06 13:15:12 -04:00
Lorien Hu
72a7fb86ac Bug 1187740 - Handle proxies in mozHTMLAccessible r=tbsaunde 2015-08-05 21:55:15 -04:00
Lorien Hu
49bce20292 Bug 1187995 - Add proxy handling to mozTextAccessible r=tbsaunde 2015-08-05 21:55:13 -04:00
Trevor Saunders
6fc63e31e9 bug 1191433 - use ProxyAccessible::AsDoc() in ProxyAccessible::Shutdown() r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
5a8f34f3cb bug 1191433 - add ProxyAccessible::Document r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
c6f00a2a85 bug 1191433 - add methods to downcast ProxyAccessible to DocAccessibleParent r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
63d388c140 bug 1191326 - always initialize ProxyAccessible::mOuterDoc r=lsocks 2015-08-05 10:57:52 -04:00
Trevor Saunders
7191d20f10 bug 1170049 - check if document tree is correct before cleaning it up r=lsocks 2015-08-05 10:57:28 -04:00
Lorien Hu
797da2ed20 Bug 1175913 - (Part 2) Remove test expecting recreation on click listener change r=tbsaunde 2015-07-31 11:24:42 -04:00
Lorien Hu
77ddb155a5 Bug 1175913 - (Part 1) Subscribe to EventListenerService and recreate accessibles on click listener changes r=tbsaunde 2015-08-04 23:35:54 -04:00
Lorien Hu
0790078b20 Bug 1189108 - Walk up tree to get LinkableAccessible actions instead of caching r=tbsaunde 2015-08-04 23:33:54 -04:00
Lorien Hu
261087d262 Bug 1187739 - (Part 2) Handle proxies in mozActionElements click, value r=tbsaunde 2015-08-04 14:56:20 -04:00
Lorien Hu
b1a69cf09c Bug 1187739 - (Part 1) Handle proxies in mozActionElements r=tbsaunde 2015-08-04 14:56:18 -04:00
Lorien Hu
cdea941639 Bug 1187742 - Handle proxies in mozAccessible {isEnabled,title,value,help,isExpired} r=tbsaunde 2015-08-04 14:56:17 -04:00
Lorien Hu
fb72a45a11 Bug 1187611 - (part 3) Handle ProxyAccessibles in mozAccessible canBeFocused r=tbsaunde 2015-08-04 14:56:13 -04:00
Lorien Hu
9e44300d4f Bug 1187611 - (part 2) Handle ProxyAccessibles in mozAccessible window r=tbsaunde 2015-08-04 14:56:11 -04:00
Lorien Hu
942d69f034 Bug 1187611 - (part 1) Handle ProxyAccessibles in mozAccessible focus r=tbsaunde 2015-08-04 14:56:09 -04:00
Lorien Hu
746ee7145b Bug 1187609 - Check for proxies in mozAccessible role, subrole r=tbsaunde 2015-08-04 14:56:07 -04:00
Robert O'Callahan
d10c4321ce Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv 2015-07-25 18:05:19 +12:00
Robert O'Callahan
d67ff5c3b6 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv 2015-07-25 18:01:19 +12:00
Makoto Kato
629ba560a7 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Trevor Saunders
acbc7d7d5d bug 1186528 - don't create a DocAccessibleChild if we can't tell the parent process about it r=lsocks 2015-07-31 13:44:59 -04:00
Eitan Isaacson
d6d6e38edd Bug 1176292 - Send 'toggle-shade' control event to content on 3 finger triple tap. r=yzen 2015-07-30 17:25:08 -07:00
Trevor Saunders
0e2e66f767 bug 1188415 - add document tree consistancy checks to more message handlers r=davidb 2015-07-28 16:32:16 -04:00
Trevor Saunders
0e0d0d9ae0 bug 1187055 - check the proxy being destroyed has a wrapper before cleaning it up r=davidb
All proxies should have wrappers on windows.  So it doesn't make much sense
that we need a null check here, however it seems to happen in the wild that
proxy->GetWrapper() returns null.
2015-07-28 11:54:18 -04:00
Lorien Hu
0e4cfe6db9 Bug 1187417 - (Part 2) Check for ProxyAccessible in mozAccessible size r=tbsaunde 2015-07-26 10:33:51 -04:00
Lorien Hu
8c44000823 Bug 1187417 - (Part 1) Check for ProxyAccessible in mozAccessible position r=tbsaunde 2015-07-26 10:33:23 -04:00
Lorien Hu
907dd771b0 Bug 1187413 - Check for ProxyAccessible in mozAccessible childAt r=tbsaunde 2015-07-26 10:30:56 -04:00
Nicholas Nethercote
03d1cfeea8 Bug 1182969 - Use nsTHashTable::Iterator in accessible/. r=tbsaunde. 2015-07-22 20:49:25 -07:00
Trevor Saunders
6cdc5b2345 bug 1185157 make sure we don't send an event to a destroyed ipc document r=billm 2015-07-23 14:49:18 -04:00
Mike Conley
648818f6a5 Bug 1167601 - Follow-up to fix an a11y test that assumed that about:newtab was still XUL. r=tbsaunde 2015-07-22 16:46:26 -04:00
Trevor Saunders
a77d9baf66 bug 1185726 - follow up to deal with -Wunused warning r=me landing on a CLOSED TREE 2015-07-21 13:39:40 -04:00
Trevor Saunders
0e01d47b97 bug 1185726 - avoid killing the child process when it sends the parent events with bad IDs r=lsocks 2015-07-21 12:52:18 -04:00
Frédéric Wang
01e6bf2032 Bug 1163374 - Basic MathML Accessibility support in AccessFu. r=yzen 2015-07-13 11:53:00 +02:00
Carsten "Tomcat" Book
21ef5cfba4 Backed out changeset a1c5b634d9bd (bug 1163374) 2015-07-21 10:27:21 +02:00
Frédéric Wang
dd88e864a6 Bug 1163374 - Basic MathML Accessibility support in AccessFu. r=yzen 2015-07-13 11:53:00 +02:00
Trevor Saunders
04fda71483 bug 1185550 - Make sure to correctly handle invalid RecvBindChildDoc and PDocAccessibleConstructor messages from the child process r=lsocks 2015-07-20 15:09:15 -04:00
Lorien Hu
1e9f53e5c1 Bug 1171995 - Part 7: Check for proxy in accessibilityIsIgnored for mozButtonAccessible and mozTextAccessible r=tbsaunde 2015-07-16 17:35:29 -04:00
Lorien Hu
7fb3016bc1 Bug 1171995 - Part 6: Handle proxies in mozAccessible accessibilityHitTest and accessibilityFocusedUIElement r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
22a3af9917 Bug 1171995 - Part 5: Handle proxies in mozAccessible accessibilityAttributeValue r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
99cac85393 Bug 1171995 - Part 4: Handle proxies in mozAccessible accessibilityAttributeNames r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
db9d2df32f Bug 1171995 - Part 3: Handle proxies in mozAccessible accessibilityIsIgnored r=tbsaunde 2015-07-16 17:34:51 -04:00
Lorien Hu
86ba7db772 Bug 1171995 - Part 2: Add IsTable, IsTableRow, IsTableCell to proxied accessibles r=tbsaunde 2015-07-16 17:34:51 -04:00
Lorien Hu
3234b0ab05 Bug 1171995 - Part 1: Add FocusedChild to proxy accessibles r=tbsaunde 2015-07-16 17:34:51 -04:00
Trevor Saunders
6fb3a347e0 bug 1173876 - make getText{At,After,Before}OffsetCB work with proxies r=lsocks 2015-07-16 16:40:18 -04:00
Frédéric Wang
caae92fdfa Bug 1177765 - Add tests for MathML xmlroles. r=surkov 2015-07-06 04:44:00 -04:00
Frédéric Wang
dbed9705a0 Bug 1177765 - Add xmlroles for MathML. r=surkov 2015-07-16 05:43:00 -04:00
Trevor Saunders
46aa03eb09 bug 1184217 - check consistancy of the document tree before removing accessibles in a hide event r=davidb 2015-07-15 19:57:12 -04:00
Bill McCloskey
ff425fa6c1 Bug 1100602 - Kill child if accessibility ID is re-used (r=trevor) 2015-07-15 14:39:26 -07:00
Jeff Muizelaar
1f2e10f9ba Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd 2015-07-08 16:51:09 -04:00
Lorien Hu
bc235e0716 Bug 1172946 - (part 3) Add handling for proxies in mozAccessible children r=tbsaunde 2015-07-15 00:51:23 -04:00
Lorien Hu
272ff58720 Bug 1172946 - (part 2) Add handling for proxies in mozAccessible parent r=tbsaunde 2015-07-15 00:50:27 -04:00
Lorien Hu
e771d4022c Bug 1172946 - (part 1) Add mozilla a11y namespace to mozAccessible.h r=tbsaunde 2015-07-15 00:50:14 -04:00
Wes Kocher
48dec4e0e9 Backed out changeset f4651e7cfb26 (bug 1172516) for mn-e10s orange CLOSED TREE 2015-07-14 14:36:06 -07:00
Wes Kocher
009b6a0736 Backed out changeset 5a310370cec1 (bug 1173876) 2015-07-14 14:35:53 -07:00
Trevor Saunders
15d12e2d23 bug 1173876 - make getText{At,After,Before}OffsetCB work with proxies r=lsocks 2015-07-14 15:45:57 -04:00
Trevor Saunders
83f9c16b0c bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-07-14 15:45:57 -04:00
Lorien Hu
2b5562d0dd Bug 1100602 - Fire show/hide events in HTMLLIAccessible::UpdateBullet r=tbsaunde 2015-07-14 11:10:30 -04:00
Trevor Saunders
b3bf76ffe5 bug 1172523 - fire useful text change events for proxies r=lsocks 2015-07-14 11:02:03 -04:00
Trevor Saunders
cb08ff107e bug 1172523 - Move AccessibleWrap::FireAtkTextChangedEvent to MaiAtkObject::FireTextChangeEvent r=lsocks 2015-07-14 11:02:02 -04:00
Trevor Saunders
d557580189 bug 1172523 - Allow getting the modified text from an AccTextChangeEvent without copying r=lsocks 2015-07-14 11:02:02 -04:00
Trevor Saunders
909d7df70c bug 1181177 - null check tabChild in DocManager::CreateDocOrRootAccessible r=davidb
This causes e10s to behave differently from non e10s, because in e10s we don't
forward the creation of the document to the parent process.  However this only
seems to happen in strange edge cases.
2015-07-14 10:13:21 -04:00
Frédéric Wang
fadbe946a3 Bug 1180189 - Fix crash in mozilla::a11y::HTMLTableRowAccessible::GroupPosition, r=MarcoZ 2015-07-14 09:27:26 +02:00
Trevor Saunders
9c67e88e45 bug 1172525 - rework forwarding events to the parent process r=davidb, lsocks
The set of events fired to platform accessibility is not the same as the set in
the event queue.  Therefore we should forward events to the parent process
someplace where they are the same so the same events can be emitted for child
processes.
2015-07-13 13:57:48 -04:00