Commit Graph

199 Commits

Author SHA1 Message Date
Trevor Saunders
696d088bee bug 1262233 - stop implementing ProxyAccessible::EmbeddedChildAt() with a sync message r=lsocks 2016-04-19 17:17:25 -04:00
Trevor Saunders
fbb720e10a bug 1262233 - stop implementing ProxyAccessible::IndexOfEmbeddedChild() with a sync message r=lsocks 2016-04-19 17:17:25 -04:00
Trevor Saunders
426fa80158 bug 1262233 - stop using a sync message to implement ProxyAccessible::EmbeddedChildCount() r=lsocks 2016-04-19 17:17:25 -04:00
Trevor Saunders
5a44fb72ed bug 1262233 - add ProxyAccessible::IsEmbeddedObject() r=lsocks 2016-04-19 17:17:25 -04:00
Trevor Saunders
d70fabf87e bug 1262980 - expose the table interface on proxies r=dbolter 2016-04-07 17:06:54 -04:00
Sebastian Hengst
589be256a0 Backed out changeset 0a9ecb630db6 (bug 1234121) for Marionette-e10s crashes on Linux in test_accessibility.py TestAccessibility.test_click_raises_no_exceptions. r=backout on a CLOSED TREE 2016-04-07 14:17:13 +02:00
Sebastian Hengst
c77c3ae876 Backed out changeset 071d44d633ea (bug 1234121) 2016-04-07 14:15:41 +02:00
Lorien Hu
edd5ded287 Bug 1234121 - FocusManager focused proxy cleared on hide event (Part 2) r=tbsaunde 2016-04-07 04:18:15 -07:00
Lorien Hu
4c94b38c77 Bug 1234121 - Remove sync calls for FocusedChild (Part 1) r=tbsaunde 2016-01-10 17:11:51 -08:00
Yura Zenevich
6b187e4707 Bug 1259023 - fixing invalid array index assertion when accessing next sibling. r=tbsaunde
MozReview-Commit-ID: L1zY8aEmrb
2016-04-04 16:38:15 -04:00
Trevor Saunders
37452b3a13 bug 1255009 - make AccShowEvent store the insertion index of the new child r=davidb 2016-03-28 09:09:22 -04:00
Mike Hommey
7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09:00
Nicholas Nethercote
7cb4896c8f Bug 1255655 - Const-ify sWAIRoleMaps. r=tbsaunde.
--HG--
extra : rebase_source : 1274cdb26bbc41456e91b67849733bfb5bc89401
2016-03-11 13:13:01 +11:00
Trevor Saunders
6da1ca03eb bug 1253268 - allow getting ids of proxied accessibles r=yzen 2016-03-09 17:33:27 -05:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02: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
Bill McCloskey
c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08: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
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
6b42e68369 bug 1241453 - allow caching xpc documents for remote documents r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
fe374b7271 bug 1218762 - proxy ia2Accessible::scrollTo{,Point}() r=davidb 2015-11-20 09:45:23 -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
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02: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
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
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
42685fa873 Bug 1213382 - proxy more accessible selection methods, r=tbsaunde
--HG--
extra : rebase_source : 1d8d688d4b1ab671aed5ba28bdcc14b2c4b94f70
2015-10-13 22:08:00 +03:00
Trevor Saunders
d12bfed3c9 bug 1210884 - expose the action interface on proxied accessibles r=davidb 2015-10-07 18:26:56 -04: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
Trevor Saunders
c64438d7d8 bug 1210803 - expose the selection interface on proxied accessibles r=davidb 2015-10-02 06:38:21 -04:00
Trevor Saunders
533d8ecbae bug 1210447 - fix ProxyAccessible::EmbeddedChildAt() on proxies of outerDocs r=davidb 2015-10-02 06:38:21 -04:00
Frédéric Wang
ecb7092186 Bug 1210441 - ProxyAccessible::IsTable* should take tabular MathML accessibles into account. r=tbsaunde 2015-10-01 11:06:00 +02:00
Trevor Saunders
5526821155 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
Trevor Saunders
2672cf7d54 bug 1207862 - make it possible to traverse down the tree of proxied documents r=davidb 2015-09-24 19:23:19 -04:00
Olli Pettay
2380c07907 Bug 1207311 - No need for \!nsAccUtils::MustPrune(acc) in DocAccessibleChild::RecvExtents, r=tbsaunde
--HG--
extra : rebase_source : 89e844a308063a9e82467778a0286c0161a0ea1e
2015-09-23 01:45:27 +03:00
Trevor Saunders
258b34828c bug 1204070 - add a little more checking to proxy subtree removal r=davidb 2015-09-15 18:15:16 -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
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
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
Trevor Saunders
dcf750da4b bug 1195471 - make getChildCountCB work with proxies r=davidb 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
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
47968718fe Bug 1187739 - (Part 1) Handle proxies in mozActionElements r=tbsaunde 2015-08-04 14:56:18 -04:00
Lorien Hu
a469201d46 Bug 1187742 - Handle proxies in mozAccessible {isEnabled,title,value,help,isExpired} r=tbsaunde 2015-08-04 14:56:17 -04:00
Lorien Hu
b0fe23af9c Bug 1187609 - Check for proxies in mozAccessible role, subrole r=tbsaunde 2015-08-04 14:56:07 -04:00
Trevor Saunders
6dfa5d2acf bug 1188415 - add document tree consistancy checks to more message handlers r=davidb 2015-07-28 16:32:16 -04:00
Nicholas Nethercote
b755ef234b Bug 1182969 - Use nsTHashTable::Iterator in accessible/. r=tbsaunde.
--HG--
extra : rebase_source : 548f1b49bcbfee3aca9642cdc2fa00e86dd3ee2e
2015-07-22 20:49:25 -07:00
Trevor Saunders
723cbf3c16 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
3cb7efe847 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
b2c4426264 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
730418c580 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
99ce39504f Bug 1171995 - Part 5: Handle proxies in mozAccessible accessibilityAttributeValue r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
6f1e2f6c21 Bug 1171995 - Part 2: Add IsTable, IsTableRow, IsTableCell to proxied accessibles r=tbsaunde 2015-07-16 17:34:51 -04:00
Lorien Hu
5e32e582c2 Bug 1171995 - Part 1: Add FocusedChild to proxy accessibles r=tbsaunde 2015-07-16 17:34:51 -04:00
Trevor Saunders
df6c6b58a4 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
b0e100d0db Bug 1100602 - Kill child if accessibility ID is re-used (r=trevor) 2015-07-15 14:39:26 -07:00
Trevor Saunders
59f17c9689 bug 1172523 - fire useful text change events for proxies r=lsocks 2015-07-14 11:02:03 -04:00
Lorien Hu
66a8fe1d95 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
980d366234 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

--HG--
extra : histedit_source : fc97de5cf682142a7e5a67bd32d1bd85ad0c24ea
2015-06-11 14:01:50 -04:00
Trevor Saunders
0371f179fc bug 1172523 - fire useful text change events for proxies r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
31afa494bd bug 1107337 - implement ProxyAccessible::EmbeddedChildAt r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
041d344f10 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
ea5b8a7bb2 bug 1170595 - always use IdToAccessible to convert ids to accessibles r=lsocks 2015-06-05 16:10:33 -04:00
Trevor Saunders
6afd924f84 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
d5200e484d bug 1167358 - use ProxyAccessible::Parent() a little more r=lsocks 2015-05-29 10:15:27 -04:00
Trevor Saunders
bdce3cf717 bug 1167604 - don't hide ProxyAccessible::Parent() with DocAccessibleParent::Parent r=lsocks 2015-05-29 10:15:26 -04:00
Trevor Saunders
7b3ae0b25b bug 1167295 - manage PDocAccessible with PBrowser instead of PContent r=smaug 2015-05-29 10:15:26 -04:00
Trevor Saunders
f55ad57842 bug 1164976 - fire useful state change and caret move events for proxies r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
04a2598121 bug 1164976 - Make DocAccessibleParent::GetAccessible return itself when appropriate r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
291c2322bb 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
087aff8cbd bug 1162654 - allow proxies to implement the document interface r=davidb 2015-05-08 23:46:14 -04:00
Wes Kocher
74c760f779 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
df468ba93d Backed out changeset 28f0e71b6292 2015-05-08 13:11:52 -07:00
Trevor Saunders
13e326f088 no bug fixup for windows not liking ssize_t on a CLOSED TREE 2015-05-08 14:01:34 -04:00
Trevor Saunders
0dd6cd9f5a bug 1162654 - allow proxies to implement the document interface r=davidb 2015-05-08 13:34:49 -04:00
Trevor Saunders
d4ef04f30a 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
159bdccb85 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
f68c2c3fe4 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
0e9103d0b1 bug 1159722 - make atk expose more interfaces for proxied accessibles 2015-04-30 14:57:02 -04:00
Nicolas Silva
cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Trevor Saunders
cec589153c bug 1151402 - proxy most of IAccessibleText and IAccessibleEditableText
r=davidb


--HG--
rename : accessible/windows/msaa/Platform.cpp => accessible/windows/ProxyWrappers.h
2015-04-09 11:18:23 -04:00
Nicolas Silva
e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Daniel Holbert
535096113d Bug 1148708: Add missing 'override' annotations in DocAccessibleChild.h. rs=ehsan 2015-03-28 07:38:29 -07:00
Olli Pettay
4aa193a6b8 Bug 1148083 - IPC Proxy for Document, r=davidb
--HG--
extra : rebase_source : a76972872a0ec398d2aba30a8c7051ef1de29dd4
2015-03-27 17:41:04 +02:00
Olli Pettay
96be9042e9 Bug 1148025 - IPC Proxy for 'Component', r=tbsaunde
--HG--
extra : rebase_source : 0701e13be6090ad4d6f1f7d1f3ef840fbdcaeb4d
2015-03-27 00:06:45 +02:00
Olli Pettay
83952aa43e Bug 1147551 - IPC Proxy for min/cur/max values, r=davidb
--HG--
extra : rebase_source : d0e107e696d07ae121cc752c451de890c8013970
2015-03-27 00:06:38 +02:00
Olli Pettay
f5c6da7dce Bug 1147518 - IPC Proxy for Action, r=davidb
--HG--
extra : rebase_source : 172a0c2a167be20f7cda760785ce4e96040cc295
2015-03-27 00:06:21 +02:00