Commit Graph

5258 Commits

Author SHA1 Message Date
Trevor Saunders
db584a5e09 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
40daa72f9b bug 1196460 - make IsDoc() return true for wrappers of proxied documents r=surkov 2015-09-14 13:33:37 -04:00
Trevor Saunders
3f652ccd7c 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
fc3bcf36ba 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
a6b767ccde bug 1196460 - make the ctor of HyperTextProxyAccessiblewrap public r=surkov 2015-09-14 13:33:36 -04:00
Masayuki Nakano
51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Eitan Isaacson
29a74fb99d Bug 1019432 - [AccessFu] Only capture explore by touch events in Android. r=yzen 2015-09-10 13:56:53 -07:00
Trevor Saunders
8d622f7ff4 bug 1196372 - make GetHWNDFor() work with proxied accessibles r=surkov 2015-09-10 10:53:34 -04:00
Trevor Saunders
390030899c 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
76e27d8d68 Bug 1201146 - Introduce "Section" traversal rule. r=yzen 2015-09-04 10:04:19 -07:00
Trevor Saunders
a9a9498e55 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
cec058720c 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
af27c436af Bug 1200836 - Land on first atomic object in container traversal. r=yzen
--HG--
rename : accessible/jsat/TraversalRules.jsm => accessible/jsat/Traversal.jsm
2015-09-02 09:44:30 -07:00
Olli Pettay
e0121eceb5 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
17f9630967 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
f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Masayuki Nakano
db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Alexander Surkov
3bf1725065 Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition(), part2, r=marcoz 2015-08-28 10:52:21 -04:00
Marco Zehe
026d86845c 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.

--HG--
extra : commitid : It2o0CiKUxb
extra : rebase_source : 06f20dcafbb937f103a3ed3de5681576518c037e
2015-08-26 16:28:05 +02:00
Masayuki Nakano
0d22745cda 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
1416e566de Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Ryan VanderMeulen
d392a7f047 Backed out changeset 1d82f63f06e7 (bug 1184217) for Marionette crashes. 2015-08-25 17:02:57 -04:00
Trevor Saunders
f7bed16ad7 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
3aee5343dc 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
a281702424 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
35cf8484fa bug 1192330 - update text change data for proxied text change events r=surkov 2015-08-19 12:48:58 -04:00
Trevor Saunders
9bfb7f9000 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
76dea62829 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
3f4e64bd7e 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
0768a2bb4c 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
41c06ffb4f Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition, r=marcoz 2015-08-18 20:38:24 -04:00
Trevor Saunders
dcf750da4b bug 1195471 - make getChildCountCB work with proxies r=davidb 2015-08-18 14:36:11 -04:00
Trevor Saunders
88fa41bffd 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
c9ee76cab8 bug 1188415 - make CheckDocTree return if the document tree is in a sane state 2015-08-17 18:06:13 -04:00
Trevor Saunders
05e24ec361 bug 1194853 - pass the correct interfaces to Proxycreated when creating documents r=davidb 2015-08-17 13:49:28 -04:00
Aryeh Gregor
0ccef27b6a Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj
--HG--
extra : rebase_source : 161e415b6f518bf2b82e45b6f7f8d21298712d81
2015-08-13 15:22:48 +03:00
Alexander Surkov
1fb5af2b0c Bug 1193786 - crash in mozilla::dom::Element::FindAttrValueIn, r=marcoz 2015-08-13 08:43:26 -04:00
Trevor Saunders
8a4065a2ee bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-08-12 10:50:38 -04:00
Trevor Saunders
dbbc4712d0 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
e135c799c7 Bug 1187740 - Handle proxies in mozHTMLAccessible r=tbsaunde 2015-08-05 21:55:15 -04:00
Lorien Hu
abb6b3c292 Bug 1187995 - Add proxy handling to mozTextAccessible r=tbsaunde 2015-08-05 21:55:13 -04:00
Trevor Saunders
a400749fd7 bug 1191433 - use ProxyAccessible::AsDoc() in ProxyAccessible::Shutdown() r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
ca9181514b bug 1191433 - add ProxyAccessible::Document r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
2e76a4af25 bug 1191433 - add methods to downcast ProxyAccessible to DocAccessibleParent r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
0c848e2708 bug 1191326 - always initialize ProxyAccessible::mOuterDoc r=lsocks 2015-08-05 10:57:52 -04:00
Trevor Saunders
b710a80b19 bug 1170049 - check if document tree is correct before cleaning it up r=lsocks 2015-08-05 10:57:28 -04:00
Lorien Hu
91c3518f47 Bug 1175913 - (Part 2) Remove test expecting recreation on click listener change r=tbsaunde 2015-07-31 11:24:42 -04:00