Commit Graph

135 Commits

Author SHA1 Message Date
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
Nicolas Silva
d93b5d5970 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
c60a15bc41 bug 1151402 - proxy most of IAccessibleText and IAccessibleEditableText
r=davidb
2015-04-09 11:18:23 -04:00
Nicolas Silva
4a4a87a4a5 Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Daniel Holbert
91eb3da43f Bug 1148708: Add missing 'override' annotations in DocAccessibleChild.h. rs=ehsan 2015-03-28 07:38:29 -07:00
Olli Pettay
4f86ea38d8 Bug 1148083 - IPC Proxy for Document, r=davidb 2015-03-27 17:41:04 +02:00
Olli Pettay
277a9aa652 Bug 1148025 - IPC Proxy for 'Component', r=tbsaunde 2015-03-27 00:06:45 +02:00
Olli Pettay
7b8a838ce1 Bug 1147551 - IPC Proxy for min/cur/max values, r=davidb 2015-03-27 00:06:38 +02:00
Olli Pettay
5bc74ef444 Bug 1147518 - IPC Proxy for Action, r=davidb 2015-03-27 00:06:21 +02:00
Olli Pettay
4728e2412c Bug 1147168 - IPC Proxy for Selection, r=tbsaunde 2015-03-25 16:19:12 +02:00
Olli Pettay
3724904bf1 Bug 1147079 - IPC Proxy for Table, r=tbsaunde 2015-03-25 16:16:24 +02:00
Olli Pettay
e053d3077f Bug 1146665 - IPC Proxy for TableCell, r=tbsaunde 2015-03-25 16:14:28 +02:00
Olli Pettay
2e6e9c03f2 Bug 1146615 - IPC Proxy for HyperText, r=tbsaunde 2015-03-25 16:05:18 +02:00
Olli Pettay
c95a64e29f Bug 1145366 - IPC Proxy for HyperLink, r=tbsaunde 2015-03-25 16:03:13 +02:00
Trevor Saunders
f8ab3722d7 bug 1128751 - handle unbinding and rebinding of documents in content processes r=davidb
The code for managing document lifetimes assumed documents could not be
rebound to parents, however that is not the case.
2015-03-24 17:51:44 -04:00
Olli Pettay
dca3be308d Bug 1145292 - IPC Proxy for ImageAccessible, r=tbsaunde 2015-03-22 23:44:12 +02:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Trevor Saunders
7db1233eda bug 1138436 - start on proxying IAccessible2 r=surkov, r=davidb 2015-03-16 20:48:44 -04:00
Daniel Holbert
afd2eed243 Bug 1140917 followup: add missing MOZ_OVERRIDE annotations on new DocAccessibleChild method-decls. r=ehsan 2015-03-10 16:54:57 -07:00
Olli Pettay
c27ac0571c Bug 1140917 - IPC Proxy for replace/insert/copy/cut/delete/paste, r=tbsaunde 2015-03-09 23:04:02 +02:00
Olli Pettay
b81dbc3585 Bug 1140900 - IPC Proxy for ScrollSubstringTo*, r=tbsaunde 2015-03-09 22:51:02 +02:00
Olli Pettay
928634f199 Bug 1140895 - IPC Proxy for get/set/add/remove Selection, r=tbsaunde 2015-03-09 22:50:16 +02:00
Mike Habicher
0f1ae864be Bug 1141228 - include GfxMessageUtils.h in PDocAccessible.ipdl, r=tbsaunde 2015-03-09 16:42:55 -04:00
Olli Pettay
913b3f178e Bug 1140534 - IPC Proxy for offsetAtPoint, r=tbsaunde 2015-03-08 14:05:55 +02:00
Olli Pettay
ff5674ad5d Bug 1140499 - IPC Proxy for text/char bounds, r=tbsaunde 2015-03-08 04:33:57 +02:00
Olli Pettay
de69d7db33 Bug 1140162 - IPC Proxy for TextAttributes and DefaultTextAttributes, r=tbsaunde 2015-03-06 22:44:02 +02:00
Olli Pettay
5c2ade4c46 Bug 1139887 - IPC Proxy for caretOffset, r=tbsaunde 2015-03-06 22:43:25 +02:00
Olli Pettay
af5f6aae1a Bug 1139972 - IPC Proxy for charAt, r=tbsaunde 2015-03-06 19:37:37 +02:00
Olli Pettay
18cd3edf36 Bug 1135908 - [E10s] Proxy for Character/SelectionCount(), r=tbsaunde 2015-02-25 14:18:17 +02:00
Olli Pettay
4bdf7f1a6d Bug 1132960, don't include conditionally processed nsIFoo header files in .ipdl, r=tbsaunde 2015-02-17 21:35:40 +02:00
Trevor Saunders
2e21f02370 bug 1127402 - proxy RelationByType method r=davidb 2015-02-12 18:18:13 -05:00
Trevor Saunders
bb7112657f bug 1124449 - teach IAccessible impl about proxy wrappers r=davidb 2015-02-12 18:16:44 -05:00
Olli Pettay
da894507bc Bug 1132485 - IPC proxy for GetText*Offset, r=tbsaunde 2015-02-12 22:56:13 +02:00
Olli Pettay
30409f22e0 Bug 1132223 - Add IdToAccessible and IdToHyperTextAccessible to DocAccessibleChild to reduce code duplication, r=tbsaunde 2015-02-12 22:53:43 +02:00
Olli Pettay
9195fc2577 Bug 1132134 - Get Accessible value from the child process, r=tbsaunde 2015-02-11 22:00:11 +02:00
Trevor Saunders
af7d48d91b bug 1124821 - make shutdown of attached documents more robust r=smaug 2015-01-30 13:53:32 -05:00
Daniel Holbert
7c1fd0fc58 Bug 1126541: Don't depend on implicit uint32_t-to-bool conversion in DocAccessibleParent::RecvShowEvent's final return statement. r=tbsaunde 2015-01-28 09:41:56 -08:00
Daniel Holbert
381394d31d Bug 1110510 followup: fix typo in assertion message. (no review)
(single-character tweak to assertion-message-text, so DONTBUILD)
2015-01-26 14:48:07 -08:00
Trevor Saunders
e19883e24b bug 1120285 - correctly shutdown outer doc accessible proxies r=davidb 2015-01-14 23:12:07 -05:00
Trevor Saunders
ce8123b79a bug 1119923 - allow proxies to implement non standard interfaces r=davidb 2015-01-14 15:38:25 -05:00
Trevor Saunders
d099063109 bug 1088148 - reenable ipc accessibility 2015-01-01 15:52:38 -05:00
Trevor Saunders
4c280fb16f bug 1113845 - allow OuterDoc Accessible proxies to be shutdown while they own a document r=davidb 2014-12-29 06:20:16 -05:00
Trevor Saunders
495566aca1 bug 1113407 - cleanup wrappers on doc shutdown r=davidb 2014-12-29 06:20:16 -05:00
Chris Peterson
e56f788c56 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Ehsan Akhgari
57666729b5 Bug 1109746 - Fix more bad implicit constructors in some random code across the tree
--HG--
extra : amend_source : 48ca151cb1ca2193404c65831556051c02093914
2014-12-13 14:17:04 -05:00
Trevor Saunders
a7bbac2f87 bug 1110510 - make sure to create and destroy proxies for documents r=surkov 2014-12-11 17:36:59 -05:00
Trevor Saunders
d4d22267b9 bug 1074869 - make atk deal with proxied focus events r=davidb 2014-09-30 10:00:26 -04:00
Trevor Saunders
fb1705cc7a bug 1088628 - implement Accessible::Attributes for proxies r=davidb 2014-10-24 05:29:48 -04:00
Trevor Saunders
0944f9222b bug 1088148 - Notify the main process of new child docs after firing events r=davidb
If we notify the parent process about new child documents before we
notify it of events it is possible the parent process's tree is out of
sync with ours, and doesn't contain the outer doc accessible for the new
document.  SO we need to first notify the parent of changes in the
accessible tree for the document, and then we can notify it of new child
documents.  We must also make sure when we serialize a subtree that is
being created to not include the sub document or its accessible tree.
2014-10-28 14:18:03 -04:00
Trevor Saunders
99786534dd bug 1088477 - implement Accessible::Description for proxies r=davidb 2014-10-23 23:21:44 -04:00
Trevor Saunders
54f55a0d73 bug 1087498 - ifdef out debug only code r=davidb 2014-10-22 14:30:30 -04:00
Trevor Saunders
7d98bdbafa bug 1087481 - teach atk to get the name for proxies r=davidb 2014-09-23 05:53:03 -04:00
Ehsan Akhgari
1f41245fbe Bug 1087306 - Fix some more bad implicit constructors in accessible; r=tbsaunde 2014-10-10 17:28:35 -04:00
Trevor Saunders
fed60784c3 bug 1074917 - teach atk to get states from proxies r=surkov, davidb, mrbkap
We need to implement things like
https://developer.gnome.org/atk/unstable/AtkObject.html#atk-object-ref-state-set
and the same basic thing on windows.  That API is fundamentally sync,
but the information necessary to implement it is only available in the
child process.  That seems to leave us with two options, either we can
use sync ipc or we can use async ipc but spin a nested event loop.  If
we were to spin nested event loops we'd have to be careful to make sure
a11y didn't do anything until the nested event loop was done, and then
a11y would have to deal with whatever changed.  I'm not sure that will
work, and since the system is probably waiting for the accessibility
information anyway I don't think we get much out of spinning the event
loop.  So I think its somewhat less bad to use sync ipc here.
2014-09-23 04:35:33 -04:00
Trevor Saunders
4b1d49eb79 bug 1074862 - more fully initialize DocAccessibleParents r=davidb
Instances of DocAccessibleParent need to behave like any other
ProxyAccessible which means something sensible must happen when we
access these fields of a DocAccessibleParent.
2014-09-29 17:14:08 -04:00
Trevor Saunders
2b12cf120e bug 982842 - initial a11y ipc impl r=davidb, bent 2014-03-07 16:35:19 -05:00
Carsten "Tomcat" Book
8f5293d33b Backed out changeset a11adf1705ec (bug 982842) for causing bug 1075387 2014-10-01 14:41:56 +02:00
Trevor Saunders
619e12383a bug 982842 - initial a11y ipc impl r=davidb, bent 2014-03-07 16:35:19 -05:00