Commit Graph

75 Commits

Author SHA1 Message Date
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
Olli Pettay
eece449148 Bug 1147168 - IPC Proxy for Selection, r=tbsaunde
--HG--
extra : rebase_source : 05697f22f3c4515875941735290295c4cf1ea478
2015-03-25 16:19:12 +02:00
Olli Pettay
b94934e371 Bug 1147079 - IPC Proxy for Table, r=tbsaunde
--HG--
extra : rebase_source : 73e34f08c34e78acca08d5eefa67f82b95690eb8
2015-03-25 16:16:24 +02:00
Olli Pettay
d1219efe1d Bug 1146665 - IPC Proxy for TableCell, r=tbsaunde
--HG--
extra : rebase_source : 5b1aeeabda7dfdfccea8a04dbb83e6907900c5dc
2015-03-25 16:14:28 +02:00
Olli Pettay
cbfc8bf6c3 Bug 1146615 - IPC Proxy for HyperText, r=tbsaunde
--HG--
extra : rebase_source : ae265d508146e744873e3d5a0ddb6bf136ad0f59
2015-03-25 16:05:18 +02:00
Olli Pettay
a822a2804a Bug 1145366 - IPC Proxy for HyperLink, r=tbsaunde
--HG--
extra : rebase_source : cdbb5efea29c83be8231ca56ab6be9815de9f664
2015-03-25 16:03:13 +02:00
Trevor Saunders
763f6a896e 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
9af2f8bfd4 Bug 1145292 - IPC Proxy for ImageAccessible, r=tbsaunde
--HG--
extra : rebase_source : f30aabc7f696bcaad89e958ecbbe8082f0ff86d0
2015-03-22 23:44:12 +02:00
Ehsan Akhgari
883849ee32 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
60fc5002f3 bug 1138436 - start on proxying IAccessible2 r=surkov, r=davidb 2015-03-16 20:48:44 -04:00
Daniel Holbert
5a2f9a3ef3 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
0004bf584d Bug 1140917 - IPC Proxy for replace/insert/copy/cut/delete/paste, r=tbsaunde
--HG--
extra : rebase_source : 172ad1db2dbe53a5b56640cdc3aed64e6db7570f
2015-03-09 23:04:02 +02:00
Olli Pettay
af6c91a100 Bug 1140900 - IPC Proxy for ScrollSubstringTo*, r=tbsaunde
--HG--
extra : rebase_source : f336cd46fe3f7ffa885765c9ec45dc3756e7c80e
2015-03-09 22:51:02 +02:00
Olli Pettay
76e7479fe8 Bug 1140895 - IPC Proxy for get/set/add/remove Selection, r=tbsaunde
--HG--
extra : rebase_source : 82de27b9885cdf067e5e9a14afc8aa202cee8b1f
2015-03-09 22:50:16 +02:00
Mike Habicher
134b92d369 Bug 1141228 - include GfxMessageUtils.h in PDocAccessible.ipdl, r=tbsaunde 2015-03-09 16:42:55 -04:00
Olli Pettay
3d554f3389 Bug 1140534 - IPC Proxy for offsetAtPoint, r=tbsaunde 2015-03-08 14:05:55 +02:00
Olli Pettay
d0ed313df7 Bug 1140499 - IPC Proxy for text/char bounds, r=tbsaunde
--HG--
extra : rebase_source : 0921a3d535e09469a31ca1752be082ffb80851a4
2015-03-08 04:33:57 +02:00
Olli Pettay
65b9bf86cc Bug 1140162 - IPC Proxy for TextAttributes and DefaultTextAttributes, r=tbsaunde
--HG--
extra : rebase_source : d77d53488bd03e938bd7d30d3081f9997f906bfe
2015-03-06 22:44:02 +02:00
Olli Pettay
72cda11ebf Bug 1139887 - IPC Proxy for caretOffset, r=tbsaunde
--HG--
extra : rebase_source : 0c567e44c2f5a382690da0504d725aadde8f0905
2015-03-06 22:43:25 +02:00
Olli Pettay
d47a9820a5 Bug 1139972 - IPC Proxy for charAt, r=tbsaunde
--HG--
extra : rebase_source : 23a21c190d67960a0d9962c8fd1c6ff0ff870644
2015-03-06 19:37:37 +02:00
Olli Pettay
eb0dfd7978 Bug 1135908 - [E10s] Proxy for Character/SelectionCount(), r=tbsaunde
--HG--
extra : rebase_source : 349f7fdbcfeaf456aa2654ed68e4a65db97cfaa9
2015-02-25 14:18:17 +02:00
Olli Pettay
a8d3da2117 Bug 1132960, don't include conditionally processed nsIFoo header files in .ipdl, r=tbsaunde
--HG--
extra : rebase_source : 6b6f7f1b898e8c35cd09ee310c2a661fdea420f3
2015-02-17 21:35:40 +02:00
Trevor Saunders
45d9b7831f bug 1127402 - proxy RelationByType method r=davidb 2015-02-12 18:18:13 -05:00
Trevor Saunders
b33a23f60b bug 1124449 - teach IAccessible impl about proxy wrappers r=davidb 2015-02-12 18:16:44 -05:00
Olli Pettay
a4b808c419 Bug 1132485 - IPC proxy for GetText*Offset, r=tbsaunde
--HG--
extra : rebase_source : d9f62f17d6c487234aac3645d830fa55318d64b6
2015-02-12 22:56:13 +02:00