Commit Graph

107 Commits

Author SHA1 Message Date
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
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
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
Trevor Saunders
bd2322d15a bug 1195471 - make getChildCountCB work with proxies r=davidb 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
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
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
746ee7145b Bug 1187609 - Check for proxies in mozAccessible role, subrole r=tbsaunde 2015-08-04 14:56:07 -04: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
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
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
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
22a3af9917 Bug 1171995 - Part 5: Handle proxies in mozAccessible accessibilityAttributeValue r=tbsaunde 2015-07-16 17:34:52 -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
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
Trevor Saunders
b3bf76ffe5 bug 1172523 - fire useful text change events for proxies r=lsocks 2015-07-14 11:02:03 -04:00
Lorien Hu
0c0ae9a05e Bug 1173418 - Check if a document is top level in DocAccessibleParent::Destroy so that RemoteDocShutdown isn't erroneously called r=tbsaunde 2015-06-10 14:11:34 -04:00
Ryan VanderMeulen
7c83773821 Backed out 5 changesets (bug 1172516, bug 1172525, bug 1172523) for e10s test_selectioncarets2.py failures.
Backed out changeset 65d9144969e4 (bug 1172516)
Backed out changeset 3368f2dc0ee6 (bug 1172523)
Backed out changeset d6096f9659f7 (bug 1172523)
Backed out changeset cda3d99ef134 (bug 1172523)
Backed out changeset a411d320bdba (bug 1172525)

CLOSED TREE
2015-06-11 14:01:50 -04:00
Trevor Saunders
077c66681a bug 1172523 - fire useful text change events for proxies r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
6b3c584e0d bug 1107337 - implement ProxyAccessible::EmbeddedChildAt r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
7713d92e5d bug 1170595 - switch to sending __delete__ from the parent instead of the child r=davidb, smaug
After the child sends the __delete__ message to the parent there is a period of
time in which the actor is registered, but the parent hasn't yet processed the
__delete__ message.  During that time the parent can still try and send
messages to the child, but that will crash the child process.  Fix this race by
making the child send a shutdown message to the parent, and have the parent
send __delete__ when it handles that message.
2015-06-05 16:10:34 -04:00
Trevor Saunders
1485687985 bug 1170595 - always use IdToAccessible to convert ids to accessibles r=lsocks 2015-06-05 16:10:33 -04:00
Trevor Saunders
88a455468f bug 1169376 - Allow getting the OuterDocAccessible for the tab's top level document r=davidb 2015-05-29 15:51:30 -04:00
Trevor Saunders
cde37ffdd2 bug 1167358 - use ProxyAccessible::Parent() a little more r=lsocks 2015-05-29 10:15:27 -04:00
Trevor Saunders
f09c34bc5d bug 1167604 - don't hide ProxyAccessible::Parent() with DocAccessibleParent::Parent r=lsocks 2015-05-29 10:15:26 -04:00
Trevor Saunders
bbb1ea8592 bug 1167295 - manage PDocAccessible with PBrowser instead of PContent r=smaug 2015-05-29 10:15:26 -04:00
Trevor Saunders
eb146b2a17 bug 1164976 - fire useful state change and caret move events for proxies r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
f48235cf49 bug 1164976 - Make DocAccessibleParent::GetAccessible return itself when appropriate r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
276d58fa2f bug 1162621 - proxy Accessible::IndexOfEmbeddedChild r=davidb
This is a bit dirty, we should be able to implement this just in the main
process by looking at the role of the children.  However doing it this way is
simpler and allows us to share code with the non e10s case.
2015-05-08 23:46:20 -04:00
Trevor Saunders
99200e40fb bug 1162654 - allow proxies to implement the document interface r=davidb 2015-05-08 23:46:14 -04:00
Wes Kocher
f614ca0ada Backed out 2 changesets (bug 1162621, bug 1162654) for Gip(a) orange
Backed out changeset 82bbc0b0d516 (bug 1162654)
Backed out changeset 01c406429093 (bug 1162621)
2015-05-08 13:12:22 -07:00
Wes Kocher
58bf4e4bc3 Backed out changeset 28f0e71b6292 2015-05-08 13:11:52 -07:00
Trevor Saunders
54885f4b3d no bug fixup for windows not liking ssize_t on a CLOSED TREE 2015-05-08 14:01:34 -04:00
Trevor Saunders
ea31b88c07 bug 1162654 - allow proxies to implement the document interface r=davidb 2015-05-08 13:34:49 -04:00
Trevor Saunders
faee2bb8a5 bug 1162621 - proxy Accessible::IndexOfEmbeddedChild r=davidb
This is a bit dirty, we should be able to implement this just in the main
process by looking at the role of the children.  However doing it this way is
simpler and allows us to share code with the non e10s case.
2015-05-08 13:34:48 -04:00
Trevor Saunders
d3707d095b bug 1162543 - IDs not mapping to accessibles shouldn't cause ipc calls to fail r=davidb
This is expected to happen when a accessible in the child process is shutdown,
     but the parent calls a method with its ID before learning it has been shut
     down.
2015-05-07 14:05:38 -04:00
Trevor Saunders
fcd5e0b236 bug 1162543 - make DocAccessibleChild::IDToAccessible correctly get the document r=davidb
DocAccessible::mAccessibleCache doesn't contain an entry for the document
itself so we need to handle it separately.  The document always has ID 0, so we
can just check if that is the ID we are getting and if so just return the
document.
2015-05-07 14:05:38 -04:00
Trevor Saunders
69868f35fc bug 1159722 - make atk expose more interfaces for proxied accessibles 2015-04-30 14:57:02 -04:00