Commit Graph

124 Commits

Author SHA1 Message Date
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
Olli Pettay
39bceaf68b Bug 1132223 - Add IdToAccessible and IdToHyperTextAccessible to DocAccessibleChild to reduce code duplication, r=tbsaunde
--HG--
extra : rebase_source : 7c5380eafdfd3a63176bf201920a8b028145fb1a
2015-02-12 22:53:43 +02:00
Olli Pettay
12b2f90eea Bug 1132134 - Get Accessible value from the child process, r=tbsaunde
--HG--
extra : rebase_source : 5bc26d5e7eda34b61666d9c562588ae6e7092c4f
2015-02-11 22:00:11 +02:00
Trevor Saunders
4965a90865 bug 1124821 - make shutdown of attached documents more robust r=smaug 2015-01-30 13:53:32 -05:00
Daniel Holbert
0225ce362d 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
525fe44e5a 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
91589e4f5a bug 1120285 - correctly shutdown outer doc accessible proxies r=davidb 2015-01-14 23:12:07 -05:00
Trevor Saunders
0abab85846 bug 1119923 - allow proxies to implement non standard interfaces r=davidb 2015-01-14 15:38:25 -05:00
Trevor Saunders
7a74539c6b bug 1088148 - reenable ipc accessibility 2015-01-01 15:52:38 -05:00
Trevor Saunders
605343d320 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
9d309981a8 bug 1113407 - cleanup wrappers on doc shutdown r=davidb 2014-12-29 06:20:16 -05:00
Chris Peterson
249ac81315 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Ehsan Akhgari
ebdf8e7c36 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
b750b23370 bug 1110510 - make sure to create and destroy proxies for documents r=surkov 2014-12-11 17:36:59 -05:00
Trevor Saunders
62cddfac0a bug 1074869 - make atk deal with proxied focus events r=davidb 2014-09-30 10:00:26 -04:00
Trevor Saunders
90ff4f44c0 bug 1088628 - implement Accessible::Attributes for proxies r=davidb 2014-10-24 05:29:48 -04:00
Trevor Saunders
e6a7c96ac8 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
f72a2106c1 bug 1088477 - implement Accessible::Description for proxies r=davidb 2014-10-23 23:21:44 -04:00
Trevor Saunders
98d1da64ce bug 1087498 - ifdef out debug only code r=davidb 2014-10-22 14:30:30 -04:00
Trevor Saunders
c9b46ba384 bug 1087481 - teach atk to get the name for proxies r=davidb 2014-09-23 05:53:03 -04:00
Ehsan Akhgari
341ebb19f1 Bug 1087306 - Fix some more bad implicit constructors in accessible; r=tbsaunde 2014-10-10 17:28:35 -04:00
Trevor Saunders
6896a2d0f4 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
0a1cdddd7d 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
97a4468c62 bug 982842 - initial a11y ipc impl r=davidb, bent 2014-03-07 16:35:19 -05:00
Carsten "Tomcat" Book
a521762182 Backed out changeset a11adf1705ec (bug 982842) for causing bug 1075387 2014-10-01 14:41:56 +02:00
Trevor Saunders
eee03eff66 bug 982842 - initial a11y ipc impl r=davidb, bent 2014-03-07 16:35:19 -05:00