Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
Trevor Saunders
c60a15bc41 bug 1151402 - proxy most of IAccessibleText and IAccessibleEditableText
r=davidb
2015-04-09 11:18:23 -04: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
Olli Pettay
dca3be308d Bug 1145292 - IPC Proxy for ImageAccessible, r=tbsaunde 2015-03-22 23:44:12 +02: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
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
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
ce8123b79a bug 1119923 - allow proxies to implement non standard interfaces r=davidb 2015-01-14 15:38:25 -05: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
7d98bdbafa bug 1087481 - teach atk to get the name for proxies r=davidb 2014-09-23 05:53:03 -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
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