Commit Graph

5343 Commits

Author SHA1 Message Date
Marco Zehe
594654a770 Bug 1137748 - Expose correct roles, subroles, and roledescriptions for various WAI-ARIA roles on OS X, r=surkov
--HG--
extra : commitid : 8HRlvwvKyLY
extra : rebase_source : 146a961e7b9d3edf501246151c2cecda420a376b
extra : amend_source : 9b54d5755b9a097053ea8c002fc4a190cc5e8598
2015-06-26 17:31:44 -07:00
Alexander Surkov
4f6c62690f Bug 1177913 - add test coverage for aria-roledescription and aria-current, r=marcoz 2015-06-26 17:36:28 -07:00
Alexander Surkov
33ff352b01 Bug 1177268 - implement aria-rowcount/index and aria-colcount/index, r=marcoz 2015-06-26 14:41:22 -07:00
Neil Deakin
1885e7075c Bug 1149745, on Windows, menulist should select the value when the cursor keys are used to navigate items, r=neil 2015-06-26 09:32:25 -07:00
Frédéric Wang
1329d0e445 Bug 744790 - Expose basic NSAccessibility attributes for tables. r=surkov 2015-06-25 21:51:00 +02:00
Frédéric Wang
1d00a06aa5 Bug 744790 - Part 1 - Map tabular accessibles to appropriate roles. r=surkov 2015-06-25 06:43:00 +02:00
Marco Zehe
6a71f18b87 Bug 1177378 - Fix control type announcements on OS X by checking if subrole is not NIL when calculating role descriptions, r=surkov
--HG--
extra : rebase_source : e92667f777151476adfc5692daf9a783d7ebf1db
2015-06-25 17:23:01 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Alexander Surkov
096ad7999f Bug 1173364 - support ARIA table and cell roles, r=marcoz 2015-06-25 11:59:06 -07:00
Frédéric Wang
e91c4e1cbd Bug 1176123 - Add NODE_CHILD_OF/NODE_PARENT_OF relations to mroot. r=surkov
--HG--
extra : rebase_source : 82d13c7ace7b5cd7a7a1902e5845f30b7b32bd2b
2015-06-24 15:40:00 +02:00
Frédéric Wang
be7af2fb7f Bug 1001641 - Provide equivalent support for MathML as WebKit for NSAccessibility. r=surkov
--HG--
extra : rebase_source : 916ae6144d149ed4b455ce46faa00ac5ed27f6db
2015-06-23 18:17:00 +02:00
Alexander Surkov
4db8f115d7 Bug 1176683 - crash in mozilla::a11y::HyperTextAccessible::LandmarkRole() const, r=marcoz 2015-06-24 15:48:29 -07:00
Frédéric Wang
25ad9a64e8 Bug 1176094 - [ATK] Assign role SECTION to math groups instead of PANEL/UNKNOWN. r=surkov 2015-06-18 16:07:00 +02:00
Frédéric Wang
33c0d1c104 Bug 1175269 - Add MathML roles/subroles for NSAccessibility. r=surkov 2015-06-19 15:55:00 +02:00
Alexander Surkov
8bd6cda240 Bug 1150510 - Crash [@ nsStringBundle::GetStringFromName, r=marcoz 2015-06-17 12:37:19 -04:00
Frédéric Wang
bacdba5501 Bug 1175164 - Do not expose MathML semantics element in the accessibility tree. r=surkov
--HG--
extra : rebase_source : 4974b9f27e9ec09b666fce81fd9a45d7b7f757b1
2015-06-16 16:15:00 +02:00
Frédéric Wang
3dc04db17d Bug 1175182 - Expose fractions and roots as ATK_ROLE_PANEL for ATK < 2.16. r=surkov
--HG--
extra : rebase_source : 5292ec1c6f415a627f9507aff3b8deb4797341dd
2015-06-16 10:44:00 -04:00
Lorien Hu
ee4e0712c1 Bug 1174204 - Fixed gecko to atk attribute conversion for fg-color and bg-color to be correctly formatted r=davidb 2015-06-12 16:39:16 -04:00
Trevor Saunders
7a110f6e4e bug 1171728 - null check the result of ProxyAccessible::OuterDocOfRemoteBrowser
r=davidb

This probably isn't the right fix, or at least the root cause of
ProxyAccessible::OuterDocOfRemoteBrowser returning null needs to be understood
better, but I don't have time to do that now, so I'm just checking for null and
asserting as a reminder to investigate this later.
2015-06-12 10:33:11 -04:00
Lorien Hu
8178a345af Bug 1172577 - Handle proxies in mozAccessible method customDescription r=tbsaunde 2015-06-08 14:12: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
deef848ec8 bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-06-11 11:40:00 -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
27b30ebd65 bug 1172523 - Move AccessibleWrap::FireAtkTextChangedEvent to MaiAtkObject::FireTextChangeEvent r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
4c0cfa3d5f bug 1172523 - Allow getting the modified text from an AccTextChangeEvent without copying r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
a0936bd439 bug 1172053 - don't malloc the signal name in FireAtkTextChangedEvent r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
ea6b105046 bug 1172053 - don't call malloc in FireAtkShowHideEvent r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
0fb2b11d5c bug 1172525 - rework forwarding events to the parent process r=davidb, lsocks
The set of events fired to platform accessibility is not the same as the set in
the event queue.  Therefore we should forward events to the parent process
someplace where they are the same so the same events can be emitted for child
processes.
2015-06-11 11:39:58 -04:00
Trevor Saunders
7b7eced6e5 bug 1107337 - Teach refChildCB to deal with proxies r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
31afa494bd bug 1107337 - implement ProxyAccessible::EmbeddedChildAt r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
b34649577e bug 1107337 - Add OuterDocAccessible::RemoteChildDoc() r=lsocks, davidb
OuterDocAccessibles can be the container for a remote top level document.  We
  sometimes need to get the child for these OuterDocAccessible's which means
  the child is a proxy while the original object was an actual Accessible.
  This means we need to add a different function instead of making ChildAt() do
  the right thing.
2015-06-11 11:39:57 -04:00
Trevor Saunders
fbe3489762 bug 1107337 - support downcasting Accessible to OuterDocAccessible r=lsocks, davidb 2015-06-11 11:39:57 -04:00
Wes Kocher
c6d76d7fd9 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-09 19:29:20 -07:00
Wes Kocher
f73f980797 Bug 845134 - Disable test_focusedChild.html on Windows 8 a=me
--HG--
extra : amend_source : 2b90a78c060fcc6c613b2dc63b036e31e6471224
2015-06-09 15:41:35 -07:00
Lorien Hu
5b82e263af no bug - cleaning up trailing whitespace in mac a11y code rs=tbsaunde 2015-06-08 10:59:19 -04:00
Lorien Hu
bc86c605b9 Bug 1169701 - Add wrapper to get mozAccessibles from ProxyAccessibles r=tbsaunde 2015-06-08 10:42:33 -04:00
Lorien Hu
f52568e4e7 Bug 1169701 - Fire native OS X accessibility events for proxied accessibles r=tbsaunde 2015-05-29 13:50:26 -04:00
Trevor Saunders
c9c2607c21 bug 1172538 - make sure a document has an IPC actor before shutting it down r=davidb, lsocks
If a document is shutdown before ever being bound to a parent document it
doesn't have an associated IPC actor, so we shouldn't try and shut one down.
2015-06-09 17:49:05 -04:00
Trevor Saunders
4f4d0ce590 bug 1171728 - Only look for an OuterDoc accessible parent of a proxy if it doesn't have a proxy parent r=lsocks 2015-06-05 16:10:34 -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
Lorien Hu
3d8a360681 bug 1168932 - Implement ProxyCreated and ProxyDestroyed to update mozAccessibles r=tbsaunde 2015-05-29 15:51:31 -04:00
Lorien Hu
56337113ae bug 1169408 - Merge mozButtonAccessible and mozPopupButtonAccessible r=surkov 2015-05-29 15:51:30 -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
Yura Zenevich
bc1efeb0e0 Bug 1166321 - [AccessFu] adding support for role='switch'. r=eeejay
---
 accessible/jsat/EventManager.jsm                   | 15 ++++++---
 accessible/jsat/OutputGenerator.jsm                | 36 ++++++++++++++--------
 accessible/jsat/TraversalRules.jsm                 | 13 ++++----
 .../mochitest/jsat/doc_content_integration.html    |  7 +++++
 accessible/tests/mochitest/jsat/doc_traversal.html |  2 ++
 accessible/tests/mochitest/jsat/jsatcommon.js      | 12 ++++++++
 .../mochitest/jsat/test_content_integration.html   | 12 ++++++++
 accessible/tests/mochitest/jsat/test_output.html   | 17 ++++++++++
 .../tests/mochitest/jsat/test_traversal.html       |  8 +++--
 .../en-US/chrome/accessibility/AccessFu.properties |  5 +++
 10 files changed, 102 insertions(+), 25 deletions(-)
2015-05-29 11:55:53 -04:00
Trevor Saunders
8b78ae6c9a bug 1168204 - Expose more interfaces to windows for proxied accessibles r=davidb 2015-05-29 10:15:27 -04:00
Trevor Saunders
2f6260cea5 bug 1168202 - ia2AccessibleHyperlink::get_anchor needs to give the caller a reference to the anchor r=davidb 2015-05-29 10:15:27 -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
Ryan VanderMeulen
566bd6c5ac Merge fx-team to m-c. a=merge 2015-05-28 10:08:37 -04:00
Dão Gottwald
ff4b5b2ba8 Bug 1167937 - Disable test_doc_busy.html on OS X 10.6 2015-05-28 08:12:15 +02:00
Eitan Isaacson
b60a45cbf7 Bug 1144516 - Remove offset of mozbrowser iframe. r=yzen 2015-05-26 10:13:17 -07:00
Mike Hommey
806e0220a2 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Lorien Hu
59a44f4b2d bug 1109891 - part 3 - remove mGeckoTextAccessible r=tbsaunde 2015-05-22 11:09:49 -04:00
Lorien Hu
0d1c96745e bug 1109891 - part 2 - Allow mGeckoAccessible to store pointers to proxies and do some trivial cleanup r=tbsaunde 2015-05-22 11:09:48 -04:00
Lorien Hu
db0aaf92f6 bug 1109891 - part 1 - use an accessor method to get mGeckoAccessible r=tbsaunde 2015-05-22 11:09:48 -04:00
Neil Rashbrook
cf42e317ab Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-16 09:07:10 +01: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
ef37b45d08 bug 1164976 - move AccessibleWrap::FireStateChangeEvent to be a member of MaiAtkObject r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
4dd9a89a4d bug 1164193 - emit a few more events on proxied accessibles for atk r=davidb 2015-05-15 20:29:14 -04:00
Wes Kocher
3c714c42eb Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds 2015-05-14 16:35:18 -07:00
Neil Rashbrook
ae441fafa2 Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-15 00:00:33 +01:00
Alexander Surkov
7f0a2bcc08 Bug 1113153 - use 'paragraph' role for paragraphs only, introduce 'text' role for small text containers, r=marcoz 2015-05-13 11:40:15 -04:00
Marco Zehe
ad49e0f766 Bug 1162434 part 2 - Fix ISimpleDOMNode Unique ID on 64 bit systems, r=surkov 2015-05-13 16:22:19 +02:00
John Daggett
5cd058496d Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-13 14:11:25 +09:00
Alexander Surkov
bbd87495c5 Bug 1162434 - Make windows emulation work on X64, r=marcoz 2015-05-12 12:43:38 -04:00
Trevor Saunders
7cea9db1a6 bug 1164135 - fix AtkHyperlink::GetStartIndex r=davidb 2015-05-12 14:51:24 -04:00
Carsten "Tomcat" Book
304884246c Backed out changeset a517a5188e1b (bug 1056479) 2015-05-12 12:20:57 +02:00
John Daggett
b88f675d49 Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-12 17:44:23 +09:00
Carsten "Tomcat" Book
1cc8234416 Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett
089f07d3ef Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-12 14:51:17 +09: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
Trevor Saunders
eb96f68758 bug 1163070 - fix AtkHyperlinkImpl::getHyperlink after bug 1146518 r=surkov
bug 1146518 made getHyperlink() return null if either there was no proxy, or
there was no Accessible, which would always be true.  It should have tested
that neither was present.
2015-05-08 23:45:22 -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
5c489d89d9 bug 1159850 - make ia2Accessiblevalue use proxies r=davidb 2015-05-07 13:47:53 -04:00
Trevor Saunders
579dc62f15 bug 1159828 - make ia2Hyperlink use proxies r=davidb 2015-05-07 13:47:52 -04:00
Trevor Saunders
0a7a48758c bug 1159741 - make ia2HyperText use proxies r=davidb 2015-05-07 13:47:52 -04:00
Trevor Saunders
94d779ea4d bug 1023509 - only initialize platform accessibility in the main process r=davidb
Since platform accessibility software only interacts with the main
process there's no reason to do platform specific things in the content
processes.  Eventually we should also be able to only create generic
accessibles that don't use the platform wrapper classes, but that will
take more work so we'll keep creating them in the content processes for
now.
2015-05-06 18:56:57 -04:00
Trevor Saunders
b66382e2ff bug 606080 - on windows give accessibles a unique 32 bit id r=surkov 2015-05-06 10:57:38 -04:00
Trevor Saunders
a2bc5996ae bug 606080 - add class to generate unique 32 bit ids r=froydnj 2015-05-06 10:57:24 -04:00
Marco Zehe
e7621cdf36 Bug 1159872 - Make IAccessible2::Get_States once again return S_OK when it detects a defunct accessible. r=surkov
CLOSED TREE

--HG--
extra : rebase_source : 9071ac95f0a4ffd75b77a485223f843eba1155d5
extra : histedit_source : 34e050128803d0edd45e2359c45cf90c097f6b60
2015-04-30 10:26:00 -04:00
Jim Mathies
2ff558b0ac Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde 2015-04-30 16:43:19 -05:00
Ryan VanderMeulen
8c2f9c9b09 Backed out changeset 31297813dd26 (bug 1159327) for bustage on a CLOSED TREE. 2015-04-30 16:08:29 -04:00
Jim Mathies
588accccdc Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde 2015-04-30 14:42:43 -05:00
Trevor Saunders
0e9103d0b1 bug 1159722 - make atk expose more interfaces for proxied accessibles 2015-04-30 14:57:02 -04:00
Trevor Saunders
1266c7fcf4 bug 1146518 - make atk hyper link impl support proxies r=surkov 2015-04-27 21:22:08 -04:00
Trevor Saunders
ecbbd51e94 bug 1146518 - create MaiHyperlinks for proxies r=surkov 2015-04-27 21:22:08 -04:00
Trevor Saunders
72d8eef7e0 bug 1146518 - allow MaiHyperlink to store references to proxies r=surkov 2015-04-27 21:22:08 -04:00
Trevor Saunders
85102a9b84 bug 1146518 - Only pass hyper links to MaiHyperlink::MaiHyperlink r=surkov 2015-04-27 21:22:07 -04:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrea Marchesini
085da9302a Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Ross Ziegler
f18bd05cf5 Bug 1152454 - Made liveregions responsive to name/value change events. r=yzen
---
 accessible/jsat/EventManager.jsm                         | 12 ++++++++++++
 accessible/jsat/Presentation.jsm                         | 10 ++++++----
 .../tests/mochitest/jsat/doc_content_integration.html    | 15 +++++++++++++++
 accessible/tests/mochitest/jsat/jsatcommon.js            |  2 +-
 .../tests/mochitest/jsat/test_content_integration.html   | 16 +++++++++++++---
 5 files changed, 47 insertions(+), 8 deletions(-)
2015-04-21 17:06:18 -04:00
Trevor Saunders
e851990222 bug 1155829 - move AccessibleWrap::GetMaiHyperlink to MaiAtkObject::GetAtkHyperlink r=surkov 2015-04-21 13:07:49 -04:00
Trevor Saunders
42d80bc478 bug 1155829 - declare MaiAtkObject in nsMai.h r=yzen
Next we will start adding methods to it that are used outside
AccessibleWrap.cpp.
2015-04-21 13:07:49 -04:00
Trevor Saunders
4179b7fa2a bug 1155829 - add shutdown method to MaiAtkObject r=yzen 2015-04-21 13:07:48 -04:00
Trevor Saunders
3e2cc0fc44 bug 1155829 - remove AccessibleWrap::SetMaiHyperlink r=surkov 2015-04-21 13:07:48 -04:00
Trevor Saunders
972ef41a41 bug 1155829 - inline MaiHyperlink::GetAtkHyperlink r=surkov 2015-04-21 13:07:48 -04:00
Trevor Saunders
d5de292fe5 bug 1155829 - remove MaiHyperlink::Initialize r=surkov 2015-04-21 13:07:48 -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
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +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
Trevor Saunders
67ea7240f3 bug 1149772 - never create fake HWND in child processes r=davidb 2015-04-06 13:38:01 -04:00
Mike Hommey
b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Marco Zehe
b48c48870d Bug 1149118 - Expose radio group with the correct role on OS X, r=surkov 2015-03-30 15:37:09 +02: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
Alexander Surkov
138cf765e8 Bug 1147646 - Crash in mozilla::a11y::DocAccessible::ProcessContentInserted while stability testing, r=davidb 2015-03-27 14:16:53 -04:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Marco Zehe
85f401bf6e Bug 1148479 - Unify string conversion methods in MozAccessible, r=surkov 2015-03-27 18:05:26 +01: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
Yura Zenevich
b21cc4436f Bug 1145724 - adding null check before creating treewalker in nsAccessibilityService::ContentRemoved r=surkov
---
 accessible/base/nsAccessibilityService.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2015-03-26 14:59:16 -04:00
Alexander Surkov
0ab3700bff Bug 1146257 - spanned headers don't work well in our table code, r=marcoz 2015-03-26 08:05:06 -04: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
Alexander Surkov
80f04152cc Bug 1141978 - follow up, test fix, r=marcoz 2015-03-25 13:10:54 -04: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
David Major
6f0fc8160b Bug 1146229: Remove calling convention modifier from local variable. r=surkov
--HG--
extra : rebase_source : b624de603ac2a276c38f6ae294af3b08b78e6eeb
2015-03-24 13:30:11 +13:00
Alexander Surkov
0608900d60 Bug 1141978 - Support rowgroup and colgroup HTML scope, r=marcoz 2015-03-23 11:51:33 -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
0e426229bd Bug 1145631 - Part 5: Replace MOZ_FINAL with final in the AccEventGen codegen; r=froydnj 2015-03-21 12:28:46 -04: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
Makoto Kato
6f5e440863 Bug 1141443 - Remove unused rpcns4 from OS_LIBS. r=mshal 2015-03-20 18:46:43 +09:00
Frédéric Wang
f5e4a8f44c Bug 1001637 - Make math tables implement the nsIAccessibleTable interface. r=surkov 2015-03-19 12:45:59 -04:00
Trevor Saunders
60fc5002f3 bug 1138436 - start on proxying IAccessible2 r=surkov, r=davidb 2015-03-16 20:48:44 -04:00
Botond Ballo
d78faff72e Bug 1139675 - Update JS callers of nsIDOMWindowUtils.setResolution and getResolution in accessibility code. r=yzen
--HG--
extra : rebase_source : 18d7bf41512f410f3a4ff70b2f88d05f2a4842c9
extra : source : daa3e0425813a9207e0bd17cb203501102fe80f5
2015-03-06 17:14:18 -05:00
Joel Maher
9f96b6dd4c Bug 1136395 - accessibility/mochitest/test/common.js could use some additional output to help debug issues. r=surkov 2015-03-16 13:05:50 -04:00
Alexander Surkov
1d9af5b5ea Bug 1139576 - New_ functions should be static 2015-03-13 20:42:57 -04:00
Frédéric Wang
d1ad564d43 Bug 1128143 - Add ATK roles for MathML fractions and roots, r=surkov 2015-03-12 08:21:33 -04:00
Frédéric Wang
3893eed7e5 Bug 1109022 - Add basic ATK roles for MathML elements, r=surkov 2015-03-11 19:05:57 -04:00
Ting-Yu Chou
cdecb37b02 Bug 1137906 - Shutdown cached children when shutdown the document. r=surkov
--HG--
extra : rebase_source : 6e656d3c3071d2aecccf87500deacc896734eba4
2015-03-10 11:24:26 +08: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
Wes Kocher
5e8e02e501 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-09 18:56:42 -07: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
Alexander Surkov
bb6fd0650f Bug 1140500 - add object attributes declaration into markup map, r=marcoz 2015-03-07 20:20:17 -05:00
Alexander Surkov
7b1faeab4d Bug 1140497 - add more roles into markup map, r=marcoz 2015-03-07 12:35:27 -05:00
Jonathan Wei
41e34ee857 Bug 1001634 - Add basic MathML accessibility implementation, r=surkov, marcoz, patch=jwei, surkov 2015-03-09 08:16:12 -04:00
Alexander Surkov
064a3f9b2d Bug 1139900 - make tag name based roles faster, r=marcoz 2015-03-05 13:16:12 -05:00
Alexander Surkov
5af446d8d7 Bug 1139576 - make accessible creation by tag name faster, r=marcoz 2015-03-04 22:56:57 -05:00
Alexander Surkov
56efd59c66 Bug 1139049 - revert EnumRoleAccesisble name change, r=davidb 2015-03-04 19:04:46 -05:00
Alexander Surkov
037ee0a387 Bug 1139049 - turn EnumRoleAccessible into template, r=davidb 2015-03-04 18:45:17 -05:00
Trevor Saunders
69ceb182ad bug 1123511 - temporarily disable ipc accessibility for crashes 2015-03-04 07:45:20 -05:00
Mike Hommey
584ccf34e0 Bug 1138845 - Fixup for bustage. r=me 2015-03-04 15:09:40 +09:00
Mike Hommey
4b5b332612 Bug 1138845 - Don't require atk-bridge for gtk+3 builds. r=tbsaunde 2015-03-04 14:39:55 +09:00
Masayuki Nakano
59292b4322 Bug 1105611 - Add tests of nsIAccessibleEditableText with contentediable editors which have ::before or ::after, patch=nakano, surkov, r=yzen 2015-03-03 14:26:02 -05:00
Masayuki Nakano
c7add0a535 Bug 1105611 - HyperTextAccessible should set DOM range outside of pseudo elements r=surkov 2015-03-03 14:25:52 -05:00
Andrea Marchesini
aad7ac889a Bug 1134280 - Get rid of Tag() - patch 2.1 - /accessible - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:08:59 +00:00
Andrea Marchesini
2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Alexander Surkov
ddc5be8ef1 Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Marco Zehe
1374c72716 Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Marco Zehe
871757e5e6 Bug 1136563 - ARIA 1.1: Support role 'switch', r=surkov 2015-02-26 14:47:15 +01:00
Ting-Yu Lin
eacb4adcf8 Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Yura Zenevich
ec2fb52019 Bug 1136241 - making sure that hint/role strings are returned with no spaces to support localization. r=eeejay
---
 accessible/jsat/OutputGenerator.jsm             | 2 +-
 accessible/jsat/Utils.jsm                       | 3 ++-
 accessible/tests/mochitest/jsat/test_hints.html | 4 ++++
 3 files changed, 7 insertions(+), 2 deletions(-)
2015-02-25 16:33:34 -05: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
Alessio Placitelli
0ee0c8cd0e Bug 1111022 - Fixes the accessibility test_docload.html test failing with hidden windows. 2015-02-22 12:28:32 +01:00
Max Li
c244052c0b Bug 1122857 - form controls fail to emit TYPE_VIEW_CLICKED events upon state change. r=eeejay
--HG--
extra : rebase_source : 7c9e940f3cceca9eb2cc83c0c2c4cf2fe6a21a0c
2015-02-20 12:38:50 -05:00
Alexander Surkov
a3e4eb6dcc Bug 971212 - Implement ARIA role=none, r=davidb 2015-02-19 12:50:34 -05:00
Anish
45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Alexander Surkov
3984f70fc8 Bug 1133322 - tweak shutdown procedure for accessibles maintaining own trees, r=yzen 2015-02-18 23:37:32 -05: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
Alexander Surkov
d49e6194a8 Bug 1130793 - wrong class is used for ARIA grid cell contained by HTML tr@role='row', r=yzen 2015-02-13 20:09:51 -05: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
Gijs Kruitbosch
b24f5b4422 Bug 1123771 - don't expose search icon as button if all it does is focus input and label it otherwise, r=Mossop 2015-02-06 11:44:37 +00:00
Yura Zenevich
c9eb8bea8b Bug 1129955 - added support for accessible name changes in AccessFu. r=eeejay
---
 accessible/jsat/EventManager.jsm                   |  8 ++++++++
 accessible/jsat/Presentation.jsm                   | 21 ++++++++++++++++++++
 .../mochitest/jsat/doc_content_integration.html    |  5 +++++
 accessible/tests/mochitest/jsat/jsatcommon.js      |  9 +++++++++
 .../mochitest/jsat/test_content_integration.html   | 23 +++++++++++++++++++---
 5 files changed, 63 insertions(+), 3 deletions(-)
2015-02-05 14:06:53 -05:00
Alexander Surkov
60013c0d28 Bug 786143 - inherit aria-hidden through subtree, r=yzen 2015-02-04 18:33:33 -05:00
David Zbarsky
c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Phil Ringnalda
7b3840d642 Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
7d34edce07 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky
58a982f86b Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Trevor Saunders
4965a90865 bug 1124821 - make shutdown of attached documents more robust r=smaug 2015-01-30 13:53:32 -05:00
Alexander Surkov
b1c0126e8c Bug 1126786 - remove NS_DEBUG_X rudiment, r=davidb 2015-01-28 13:32:30 -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
Ehsan Akhgari
4d42b88e0b Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc
The caret movement code already handles unselectable text frames if we
happen to land in the middle of one in nsTextFrame::PeekOffsetCharacter/Word.
However, when performing frame traversal to find the next frame to jump
to, we don't remember if we skipped over an unselectable frame, which causes
us to jump one offset too much when the caret is on the boundary of
selectable and unselectable content.  The test cases demonstrate the
scenario.  Note that an <img alt=foo> is implemented by adding a
generated content to the inline frame representing it, so as far as
the caret movement code is concerned, both test cases are treated similarly.

Note that we need to do this only when moving the selection, and not
when extending it.  We are adding an aExtend argument to
nsPeekOffsetStruct's constructor in order to be able to special case
that.
2015-01-27 23:11:26 -05: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
Xidorn Quan
e7d167eb4f Bug 1124029 - Fix printf type warning on AccessibleWrap. r=davidb
--HG--
extra : source : 11a8e65c1b7936ff8e084f5011fbb6e17d7dbfef
extra : histedit_source : a66dbc91a3340324a6d2c8ef9d482b2663601baf
2015-01-27 08:37:38 +11:00
Trevor Saunders
b99cc1b432 bug 1124463 - suppress -Wunused warnings in IUNKNOWN impl macros r=ehsan 2015-01-26 15:27:26 -05:00
Trevor Saunders
d2a3b28ddc bug 1124285 - setup proxies on windows r=davidb
Unfortunately on windows there's no separate object implementing the
native interfaces.  That means we need to have a type of accessible that
just wraps a proxy.
2015-01-26 15:27:01 -05:00
Alexander Surkov
cfc35a819b Bug 1123163 - Hit testing broken on Google Search results page, r=yzen 2015-01-26 13:30:17 -05:00
Masatoshi Kimura
6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Eitan Isaacson
ef4857a6f0 Bug 1124982 - [AccessFu] Use correct symbols for keycodes in ContentControl.adjustRange(). r=yzen 2015-01-24 17:33:45 -08:00
Yura Zenevich
cd9e52e4dd Bug 1000295 - added elements with role='status' to traversal rules. r=eeejay
---
 accessible/jsat/TraversalRules.jsm                  |  4 +++-
 accessible/tests/mochitest/jsat/doc_traversal.html  |  2 ++
 accessible/tests/mochitest/jsat/test_output.html    | 13 +++++++++++++
 accessible/tests/mochitest/jsat/test_traversal.html |  2 +-
 4 files changed, 19 insertions(+), 2 deletions(-)
2015-01-24 01:21:20 -05:00
Masatoshi Kimura
9656ec51c3 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Alexander Surkov
b9ad37e5ba Bug 1122846 - aria-owns attribute causes Firefox to hang, r=davidb 2015-01-20 16:16:08 -05:00
Trevor Saunders
8cb9eae58a bug 1122242 - use MOZ_OVERRIDE more in accessible/ r=surkov 2015-01-19 17:41:12 -05: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
Alexander Surkov
960104b6c7 Bug 1119979 - hide IPC a11y architecture under pref, r=davidb 2015-01-12 14:37:40 -05:00
Ehsan Akhgari
4354953b4f Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Trevor Saunders
248f489510 no bug - reenable ipc accessibility yet again 2015-01-08 18:53:30 -05:00
Trevor Saunders
9bbdf325a3 bug 1088148 - only tell the parent process about child documents that are attached to their parent r=surkov 2015-01-08 18:53:30 -05:00
Tom Schuster
286dcbbfc3 Bug 1110759 - Remove Iterator() from some tests. r=smaug 2015-01-08 19:58:45 +01:00
Trevor Saunders
19066f5c7a Revert "bug 1088148 - reenable ipc accessibility" because it still causes crashes 2015-01-06 16:20:07 -05:00
Martin Stransky
b2519b99c7 Bug 1110211 - a11y update for Gtk3. r=glandium 2014-12-16 07:38:00 +01:00
Ehsan Akhgari
7ab7d98dbb Bug 1117037 - Mark virtual overridden functions as MOZ_OVERRIDE in accessible/; r=tbsaunde 2015-01-02 18:47:38 -05:00
Trevor Saunders
7a74539c6b bug 1088148 - reenable ipc accessibility 2015-01-01 15:52:38 -05:00
Alexander Surkov
c47639e831 Bug 1113389 - loading google creates accessibles without firing show events, r=tbsaunde 2014-12-30 15:43:49 -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
Alexander Surkov
a8c3e608d4 Bug 1112746 - some internal object checks are missed in xpcom wrapper, r=yzen 2014-12-22 13:54:28 -05:00
Chris Peterson
097e391f9b Bug 1113210 - Suppress -Wunused-function clang warning about AtkSocketAccessible.cpp's gobject RTTI macros. r=tbsaunde 2014-12-18 12:17:53 -08:00
Chris Peterson
c6bc5e0ec5 Bug 1110031 - Part 2: Mark some directories as FAIL_ON_WARNINGS for some compilers. r=gps 2014-12-10 22:46:01 -08: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
60b14922d8 bug 1098386 - Allow PDocAccessibleConstructor to be recieved when gAccessibilityService doesn't exist r=surkov
Talos causes accessibility to be instantiated only in the content
process.  That means PDocAccessibleConstructor messages can be recieved
by the parent when GetAccService() returns null.  The easiest way of
dealing with this is moving DocManager::mRemoteDocuments from a member
of the acc service singleton to its own global.  That means the parent
process can track accessible documents in child processes without
instantiating a11y in the parent process.
2014-12-08 20:08:15 -05:00
Carsten "Tomcat" Book
c06036beba merge mozilla-inbound to mozilla-central a=merge 2014-12-12 13:51:14 +01:00
Tim Taubert
a0d7efa3cd Bug 1077652 - Let a11y tests know about the extra preloaded document r=tbsaunde 2014-11-06 12:30:47 +01:00
Tim Taubert
2f2c500f0f Bug 1077652 - Revert change from bug 794041 that makes test_docload.html expect accessibles in the hidden window r=tbsaunde 2014-11-05 14:36:44 +01:00
Alexander Surkov
ddf2a093e3 Bug 1095927 - expose HTML time element semantics in acc layer, r=tbsaunde 2014-12-11 21:53:12 -05:00
Gregory Szorc
598f54ae2d Bug 1108294 - Use mozbuild.makeutil for dependency file writing; r=froydnj
AccEventGen.py was using an old, one-off Python module for writing make
dependency files. We have a more appropriate API now. So we use it.

While we were here, we modified file writing to use FileAvoidWrite to
avoid always writing the output files and bumping mtimes.

--HG--
extra : rebase_source : 34ef9badacceb4791f27816c756ad9c95bf4069c
2014-12-06 15:47:06 -08:00
Gregory Szorc
5b9d4c32a3 Bug 1108294 - Use positional arguments; r=froydnj
There is only 1 caller to AccEventGen.py in the tree. We don't need
optional arguments. Convert them to positional.

Since the arguments are no longer optional, branches related to their
presence have been removed.

--HG--
extra : rebase_source : 35d51852dee031011ad9f079f3aba56b67948d7e
2014-12-06 15:39:53 -08:00
Gregory Szorc
56ae77a8d0 Bug 1108294 - Switch to argparse; r=froydnj
--HG--
extra : rebase_source : cc0b81afafbc2fa20f7327dda8f9c6e64c895386
2014-12-06 15:36:39 -08:00
Gregory Szorc
b268f7fa23 Bug 1108294 - Removed unused cachedir option; r=froydnj
The argument isn't used. Let's remove dead code.

--HG--
extra : rebase_source : bd8d5f72c50b8820635de78f2548821b93e425ae
2014-12-06 15:31:34 -08:00
Gregory Szorc
bc694279e4 Bug 1108294 - Modernize AccEventGen.py; r=froydnj
I/O handling in AccEventGen.py is old school. Let's use context
managers. Let's also fix some minor style foo.

--HG--
extra : rebase_source : 70a2a7c344042e1ac187282fdda32cea194aa51b
2014-12-06 15:26:37 -08:00
Wes Kocher
1f717c46d2 Backed out changeset 39398fba066e (bug 1098386) for actually leaking 2014-12-09 13:36:24 -08:00
Trevor Saunders
429fb6858c bug 1098386 - Allow PDocAccessibleConstructor to be recieved when gAccessibilityService doesn't exist r=surkov
Talos causes accessibility to be instantiated only in the content
process.  That means PDocAccessibleConstructor messages can be recieved
by the parent when GetAccService() returns null.  The easiest way of
dealing with this is moving DocManager::mRemoteDocuments from a member
of the acc service singleton to its own global.  That means the parent
process can track accessible documents in child processes without
instantiating a11y in the parent process.
2014-12-08 20:08:15 -05:00
Chris Peterson
22d0c4b343 Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Wes Kocher
126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00