Commit Graph

329 Commits

Author SHA1 Message Date
Phil Ringnalda
0d69896d44 Backed out 6 changesets (bug 1288841, bug 1268544) for causing Win7 e10s Marionette to fail in test_import_script.py TestImportScriptContent.test_imports_apply_globally
Backed out changeset c9f49a119255 (bug 1288841)
Backed out changeset a9d43e83e070 (bug 1268544)
Backed out changeset d898178a0809 (bug 1268544)
Backed out changeset 4887b4164dd9 (bug 1268544)
Backed out changeset 7c3a5a770cae (bug 1268544)
Backed out changeset 12aa15cf5879 (bug 1268544)

--HG--
rename : accessible/ipc/other/DocAccessibleChild.cpp => accessible/ipc/DocAccessibleChild.cpp
rename : accessible/ipc/other/DocAccessibleChild.h => accessible/ipc/DocAccessibleChild.h
rename : accessible/ipc/win/PDocAccessible.ipdl => accessible/ipc/PDocAccessible.ipdl
rename : accessible/ipc/win/ProxyAccessible.cpp => accessible/ipc/ProxyAccessible.cpp
rename : accessible/ipc/win/ProxyAccessible.h => accessible/ipc/ProxyAccessible.h
2016-08-18 00:30:21 -07:00
Aaron Klotz
d53414c75a Bug 1288841: Add a typelib containing info for IServiceProvider and IEnumVARIANT; r=tbsaunde, mshal
MozReview-Commit-ID: 4xe2T8pQ44f
2016-07-22 13:27:10 -06:00
Aaron Klotz
01e4a55f10 Bug 1268544: Integrate remote COM objects into a11y code; r=tbsaunde
MozReview-Commit-ID: ctPgegQ83a
2016-08-15 14:24:12 -06:00
Aaron Klotz
494a0e9e53 Bug 1268544: Refactor ProxyAccessible and dependencies; r=tbsaunde
MozReview-Commit-ID: EHV0JR6NmKf

--HG--
rename : accessible/ipc/ProxyAccessible.cpp => accessible/ipc/ProxyAccessibleBase.cpp
rename : accessible/ipc/ProxyAccessible.h => accessible/ipc/ProxyAccessibleBase.h
rename : accessible/ipc/ProxyAccessible.cpp => accessible/ipc/other/ProxyAccessible.cpp
rename : accessible/ipc/ProxyAccessible.h => accessible/ipc/other/ProxyAccessible.h
rename : accessible/ipc/ProxyAccessible.cpp => accessible/ipc/win/ProxyAccessible.cpp
rename : accessible/ipc/ProxyAccessible.h => accessible/ipc/win/ProxyAccessible.h
2016-08-16 12:21:41 -06:00
Aaron Klotz
c3a25c1ddc Bug 1268544: Refactor PDocAccessible and its dependencies, and add code to integrate remote COM objects; r=tbsaunde
MozReview-Commit-ID: Fr4q3dq1ZQU

--HG--
rename : accessible/ipc/DocAccessibleChild.cpp => accessible/ipc/other/DocAccessibleChild.cpp
rename : accessible/ipc/DocAccessibleChild.h => accessible/ipc/other/DocAccessibleChild.h
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/other/PDocAccessible.ipdl
rename : accessible/ipc/moz.build => accessible/ipc/other/moz.build
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/win/PDocAccessible.ipdl
2016-08-15 17:14:53 -06:00
Wes Kocher
021a12c86f Backed out changesets e4a39e456f89 (bug 1268544) for mass build bustage a=backout CLOSED TREE
***
Backed out changeset 119a4b187938 (bug 1268544)
***
Backed out changeset d83cba382cfe (bug 1268544)
***
Backed out changeset a0085eb5ffe7 (bug 1268544)
***
Backed out changeset eefa457c3680 (bug 1288843)
***
Backed out changeset 17dc46beb1a5 (bug 1288841)
***
Backed out changeset e76f58f328d4 (bug 1268544)
***
Backed out changeset ffc8ee715fdb (bug 1268544)
***
Backed out changeset 99f0ea19b8f5 (bug 1268544)
***
Backed out changeset 2bdfb9514317 (bug 1268544)
***
Backed out changeset e4b3a5e1756d (bug 1268544)

--HG--
rename : accessible/ipc/other/DocAccessibleChild.cpp => accessible/ipc/DocAccessibleChild.cpp
rename : accessible/ipc/other/DocAccessibleChild.h => accessible/ipc/DocAccessibleChild.h
rename : accessible/ipc/win/PDocAccessible.ipdl => accessible/ipc/PDocAccessible.ipdl
rename : accessible/ipc/win/ProxyAccessible.cpp => accessible/ipc/ProxyAccessible.cpp
rename : accessible/ipc/win/ProxyAccessible.h => accessible/ipc/ProxyAccessible.h
extra : amend_source : dc73ec117c7279539cab36af821637bb1b0236bd
extra : histedit_source : 438ce81f07a53af61b1cabf7620f30b090e7d5e2%2Ccb6472913fe0d7d2ec66bf0cedc18f2e4d00678e
2016-08-15 15:58:45 -07:00
Aaron Klotz
61834c57ab Bug 1268544: Add missing FINAL_LIBRARY entry to accessible/ipc/other/moz.build; r=bustage a=kwierso CLOSED TREE
MozReview-Commit-ID: JKTfjrDE2GO

--HG--
extra : rebase_source : a3bd217a499ecc71cdc4161876c2bbaa744b8526
2016-08-15 16:06:57 -06:00
Aaron Klotz
e1b248cac4 Bug 1268544: Followup: fix missing include in DocAccessibleChildBase; r=me
MozReview-Commit-ID: CzeTjJa9gg6

--HG--
extra : rebase_source : 93827e6cac5acf3df06147de28452293fc0befe6
2016-08-15 15:35:46 -06:00
Aaron Klotz
5dc67fdd18 Bug 1288841: Add a typelib containing info for IServiceProvider and IEnumVARIANT; r=tbsaunde, mshal
MozReview-Commit-ID: 4xe2T8pQ44f
2016-07-22 13:27:10 -06:00
Aaron Klotz
9c133fb86d Bug 1268544: Integrate remote COM objects into a11y code; r=tbsaunde
MozReview-Commit-ID: ctPgegQ83a
2016-08-15 14:24:12 -06:00
Aaron Klotz
53a0a1af6b Bug 1268544: Refactor ProxyAccessible and dependencies; r=tbsaunde
MozReview-Commit-ID: EHV0JR6NmKf

--HG--
rename : accessible/ipc/ProxyAccessible.cpp => accessible/ipc/ProxyAccessibleBase.cpp
rename : accessible/ipc/ProxyAccessible.h => accessible/ipc/ProxyAccessibleBase.h
rename : accessible/ipc/ProxyAccessible.cpp => accessible/ipc/other/ProxyAccessible.cpp
rename : accessible/ipc/ProxyAccessible.h => accessible/ipc/other/ProxyAccessible.h
rename : accessible/ipc/ProxyAccessible.cpp => accessible/ipc/win/ProxyAccessible.cpp
rename : accessible/ipc/ProxyAccessible.h => accessible/ipc/win/ProxyAccessible.h
2016-08-04 18:28:08 -06:00
Aaron Klotz
55b28e20c7 Bug 1268544: Refactor PDocAccessible and its dependencies, and add code to integrate remote COM objects; r=tbsaunde
MozReview-Commit-ID: Fr4q3dq1ZQU

--HG--
rename : accessible/ipc/DocAccessibleChild.cpp => accessible/ipc/other/DocAccessibleChild.cpp
rename : accessible/ipc/DocAccessibleChild.h => accessible/ipc/other/DocAccessibleChild.h
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/other/PDocAccessible.ipdl
rename : accessible/ipc/moz.build => accessible/ipc/other/moz.build
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/win/PDocAccessible.ipdl
2016-08-15 14:24:04 -06:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Michael Li
3b4d1337e7 Bug 1287145 - Support QueryInterfacing proxy accessibles to nsIAccessibleHyperText. r=tbsaunde 2016-07-18 08:23:00 +02:00
Michael Li
c28fee3910 Bug 1284281 - Support QueryInterfacing proxy accessibles to nsIAccessibleHyperlink. r=tbsaunde 2016-07-07 08:13:00 +02:00
Trevor Saunders
0843a2a966 bug 1279984 - avoid invalid proxy OuterDocAccessibles r=davidb
Before binding a child document to an outer doc proxy we need to make sure its
Outer doc proxies are only allowed to have one child which is the document they
own.  So before we bind a proxied document to a proxied outer doc we need to
make sure the outer doc either doesn't have children or has a document we can
unbind.
2016-06-22 09:17:16 -04:00
Trevor Saunders
ea8a901a13 bug 1272712 - send a RoleChanged message when an accessible document's role changes r=davidb 2016-06-14 12:46:21 -04:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Lorien Hu
f5740ca0da Bug 1274195 - Invalidate children of remote mozAccessible's remote parents r=tbsaunde 2016-06-09 14:33:48 -07:00
Lorien Hu
ce5ba79772 Bug 1199755 - Retrieve native proxy children when mozAccessible children is called on outerdocs in parent r=tbsaunde 2016-06-09 14:33:48 -07:00
Trevor Saunders
434092ec78 bug 1278004 - support QIing proxied accessibles to nsIAccessibleValue r=davidb 2016-06-07 14:18:08 -04:00
Trevor Saunders
0b06041a22 bug 1277959 - cleanup Interfaces enum r=davidb 2016-06-03 18:02:48 -04:00
Yura Zenevich
7d43849773 Bug 1272491 - fire xpcom show/hide events with e10s. r=tbsaunde
MozReview-Commit-ID: 9nwyHJMdlwO
2016-05-25 12:01:35 -04:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Yura Zenevich
414632d8b4 Bug 1271776 - fire text inserted/removed instead of text change events with e10s. r=tbsaunde
MozReview-Commit-ID: hz61vYrmdK
2016-05-12 08:36:22 -04:00
Nicholas Nethercote
2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Trevor Saunders
06af77faee bug 1267376 - bail out of RecvShowEvent() early if we failed to add children r=davidb 2016-04-27 10:16:21 -04:00
Trevor Saunders
471e46a43a bug 1266518 - add a new event message for AccSelChangeEvents r=davidb
For these events atk needs to know about the widget not the event target, and
the easiest way to support that is by adding a new event message that sends the
widget id.
2016-04-25 13:38:06 -04:00
Trevor Saunders
f2bc8b52ca bug 1262563 - fire show / hide events for proxied accessibles r=davidb 2016-04-21 13:41:09 -04:00
Trevor Saunders
907963ea24 bug 1262563 - add IsFromUserInput to show / hide event messages r=davidb 2016-04-21 13:41:09 -04:00
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
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