Commit Graph

3994 Commits

Author SHA1 Message Date
Lorien Hu
639c18002e bug 1109891 - part 1 - use an accessor method to get mGeckoAccessible r=tbsaunde 2015-05-22 11:09:48 -04:00
Neil Rashbrook
7d598ef37a 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
eb146b2a17 bug 1164976 - fire useful state change and caret move events for proxies r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
f48235cf49 bug 1164976 - Make DocAccessibleParent::GetAccessible return itself when appropriate r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
51d2c1b7ac bug 1164976 - move AccessibleWrap::FireStateChangeEvent to be a member of MaiAtkObject r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
7669581ac8 bug 1164193 - emit a few more events on proxied accessibles for atk r=davidb 2015-05-15 20:29:14 -04:00
Wes Kocher
d65ee4fe20 Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds 2015-05-14 16:35:18 -07:00
Neil Rashbrook
d30d87c917 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
4c83bb9931 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
fac9b171d2 Bug 1162434 part 2 - Fix ISimpleDOMNode Unique ID on 64 bit systems, r=surkov 2015-05-13 16:22:19 +02:00
John Daggett
afc0b0424c Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-13 14:11:25 +09:00
Alexander Surkov
24727d6466 Bug 1162434 - Make windows emulation work on X64, r=marcoz 2015-05-12 12:43:38 -04:00
Trevor Saunders
3d22e951a4 bug 1164135 - fix AtkHyperlink::GetStartIndex r=davidb 2015-05-12 14:51:24 -04:00
Carsten "Tomcat" Book
e44a883844 Backed out changeset a517a5188e1b (bug 1056479) 2015-05-12 12:20:57 +02:00
John Daggett
a131a09e5c Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-12 17:44:23 +09:00
Carsten "Tomcat" Book
1dea6c6eeb 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
95ca0097bc Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-12 14:51:17 +09:00
Trevor Saunders
276d58fa2f bug 1162621 - proxy Accessible::IndexOfEmbeddedChild r=davidb
This is a bit dirty, we should be able to implement this just in the main
process by looking at the role of the children.  However doing it this way is
simpler and allows us to share code with the non e10s case.
2015-05-08 23:46:20 -04:00
Trevor Saunders
99200e40fb bug 1162654 - allow proxies to implement the document interface r=davidb 2015-05-08 23:46:14 -04:00
Trevor Saunders
7095475f4f 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
f614ca0ada Backed out 2 changesets (bug 1162621, bug 1162654) for Gip(a) orange
Backed out changeset 82bbc0b0d516 (bug 1162654)
Backed out changeset 01c406429093 (bug 1162621)
2015-05-08 13:12:22 -07:00
Wes Kocher
58bf4e4bc3 Backed out changeset 28f0e71b6292 2015-05-08 13:11:52 -07:00
Trevor Saunders
54885f4b3d no bug fixup for windows not liking ssize_t on a CLOSED TREE 2015-05-08 14:01:34 -04:00
Trevor Saunders
ea31b88c07 bug 1162654 - allow proxies to implement the document interface r=davidb 2015-05-08 13:34:49 -04:00
Trevor Saunders
faee2bb8a5 bug 1162621 - proxy Accessible::IndexOfEmbeddedChild r=davidb
This is a bit dirty, we should be able to implement this just in the main
process by looking at the role of the children.  However doing it this way is
simpler and allows us to share code with the non e10s case.
2015-05-08 13:34:48 -04:00
Trevor Saunders
d3707d095b bug 1162543 - IDs not mapping to accessibles shouldn't cause ipc calls to fail r=davidb
This is expected to happen when a accessible in the child process is shutdown,
     but the parent calls a method with its ID before learning it has been shut
     down.
2015-05-07 14:05:38 -04:00
Trevor Saunders
fcd5e0b236 bug 1162543 - make DocAccessibleChild::IDToAccessible correctly get the document r=davidb
DocAccessible::mAccessibleCache doesn't contain an entry for the document
itself so we need to handle it separately.  The document always has ID 0, so we
can just check if that is the ID we are getting and if so just return the
document.
2015-05-07 14:05:38 -04:00
Trevor Saunders
01c4fab846 bug 1159850 - make ia2Accessiblevalue use proxies r=davidb 2015-05-07 13:47:53 -04:00
Trevor Saunders
52bd16f820 bug 1159828 - make ia2Hyperlink use proxies r=davidb 2015-05-07 13:47:52 -04:00
Trevor Saunders
0a2618b7fe bug 1159741 - make ia2HyperText use proxies r=davidb 2015-05-07 13:47:52 -04:00
Trevor Saunders
67065ba91a 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
00a9ca978f bug 606080 - on windows give accessibles a unique 32 bit id r=surkov 2015-05-06 10:57:38 -04:00
Trevor Saunders
15806d9fe8 bug 606080 - add class to generate unique 32 bit ids r=froydnj 2015-05-06 10:57:24 -04:00
Marco Zehe
423b16584a Bug 1159872 - Make IAccessible2::Get_States once again return S_OK when it detects a defunct accessible. r=surkov
CLOSED TREE
2015-04-30 10:26:00 -04:00
Jim Mathies
e7d3315589 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
384c2b1544 Backed out changeset 31297813dd26 (bug 1159327) for bustage on a CLOSED TREE. 2015-04-30 16:08:29 -04:00
Jim Mathies
78d1458063 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
69868f35fc bug 1159722 - make atk expose more interfaces for proxied accessibles 2015-04-30 14:57:02 -04:00
Trevor Saunders
f007809068 bug 1146518 - make atk hyper link impl support proxies r=surkov 2015-04-27 21:22:08 -04:00
Trevor Saunders
5f46e595fd bug 1146518 - create MaiHyperlinks for proxies r=surkov 2015-04-27 21:22:08 -04:00
Trevor Saunders
93badee7c8 bug 1146518 - allow MaiHyperlink to store references to proxies r=surkov 2015-04-27 21:22:08 -04:00
Trevor Saunders
9d2eb81fdd bug 1146518 - Only pass hyper links to MaiHyperlink::MaiHyperlink r=surkov 2015-04-27 21:22:07 -04:00
Kartikaya Gupta
69c50300c9 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrea Marchesini
c77bfc0235 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
178ba80a2c 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
81d5821d06 bug 1155829 - move AccessibleWrap::GetMaiHyperlink to MaiAtkObject::GetAtkHyperlink r=surkov 2015-04-21 13:07:49 -04:00
Trevor Saunders
dbe6f32e19 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
a2760161e6 bug 1155829 - add shutdown method to MaiAtkObject r=yzen 2015-04-21 13:07:48 -04:00
Trevor Saunders
b4493a6616 bug 1155829 - remove AccessibleWrap::SetMaiHyperlink r=surkov 2015-04-21 13:07:48 -04:00
Trevor Saunders
f91e5d47b4 bug 1155829 - inline MaiHyperlink::GetAtkHyperlink r=surkov 2015-04-21 13:07:48 -04:00
Trevor Saunders
b2a307c179 bug 1155829 - remove MaiHyperlink::Initialize r=surkov 2015-04-21 13:07:48 -04:00
Nicolas Silva
d93b5d5970 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
cd6346cce0 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Ms2ger
2aad41dbe8 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
c60a15bc41 bug 1151402 - proxy most of IAccessibleText and IAccessibleEditableText
r=davidb
2015-04-09 11:18:23 -04:00
Trevor Saunders
0a8be7de54 bug 1149772 - never create fake HWND in child processes r=davidb 2015-04-06 13:38:01 -04:00
Mike Hommey
ee117642af 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
3d03214c5e Bug 1149118 - Expose radio group with the correct role on OS X, r=surkov 2015-03-30 15:37:09 +02:00
Nicolas Silva
4a4a87a4a5 Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Daniel Holbert
91eb3da43f Bug 1148708: Add missing 'override' annotations in DocAccessibleChild.h. rs=ehsan 2015-03-28 07:38:29 -07:00
Alexander Surkov
d4fafb9aa7 Bug 1147646 - Crash in mozilla::a11y::DocAccessible::ProcessContentInserted while stability testing, r=davidb 2015-03-27 14:16:53 -04:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Marco Zehe
6348bf8fcc Bug 1148479 - Unify string conversion methods in MozAccessible, r=surkov 2015-03-27 18:05:26 +01:00
Olli Pettay
4f86ea38d8 Bug 1148083 - IPC Proxy for Document, r=davidb 2015-03-27 17:41:04 +02:00
Olli Pettay
277a9aa652 Bug 1148025 - IPC Proxy for 'Component', r=tbsaunde 2015-03-27 00:06:45 +02:00
Olli Pettay
7b8a838ce1 Bug 1147551 - IPC Proxy for min/cur/max values, r=davidb 2015-03-27 00:06:38 +02:00
Olli Pettay
5bc74ef444 Bug 1147518 - IPC Proxy for Action, r=davidb 2015-03-27 00:06:21 +02:00
Yura Zenevich
b61849f87a 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
ad76b806bd Bug 1146257 - spanned headers don't work well in our table code, r=marcoz 2015-03-26 08:05:06 -04:00
Olli Pettay
4728e2412c Bug 1147168 - IPC Proxy for Selection, r=tbsaunde 2015-03-25 16:19:12 +02:00
Olli Pettay
3724904bf1 Bug 1147079 - IPC Proxy for Table, r=tbsaunde 2015-03-25 16:16:24 +02:00
Olli Pettay
e053d3077f Bug 1146665 - IPC Proxy for TableCell, r=tbsaunde 2015-03-25 16:14:28 +02:00
Olli Pettay
2e6e9c03f2 Bug 1146615 - IPC Proxy for HyperText, r=tbsaunde 2015-03-25 16:05:18 +02:00
Olli Pettay
c95a64e29f Bug 1145366 - IPC Proxy for HyperLink, r=tbsaunde 2015-03-25 16:03:13 +02:00
Alexander Surkov
ab3bf34f45 Bug 1141978 - follow up, test fix, r=marcoz 2015-03-25 13:10:54 -04:00
Trevor Saunders
f8ab3722d7 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
5c46210c18 Bug 1146229: Remove calling convention modifier from local variable. r=surkov 2015-03-24 13:30:11 +13:00
Alexander Surkov
d1c1972655 Bug 1141978 - Support rowgroup and colgroup HTML scope, r=marcoz 2015-03-23 11:51:33 -04:00
Olli Pettay
dca3be308d Bug 1145292 - IPC Proxy for ImageAccessible, r=tbsaunde 2015-03-22 23:44:12 +02:00
Ehsan Akhgari
e21f41d809 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
5cccea6f0f 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
458c9fb128 Bug 1141443 - Remove unused rpcns4 from OS_LIBS. r=mshal 2015-03-20 18:46:43 +09:00
Frédéric Wang
c00fbb3db6 Bug 1001637 - Make math tables implement the nsIAccessibleTable interface. r=surkov 2015-03-19 12:45:59 -04:00
Trevor Saunders
7db1233eda bug 1138436 - start on proxying IAccessible2 r=surkov, r=davidb 2015-03-16 20:48:44 -04:00
Botond Ballo
d02f6c2d55 Bug 1139675 - Update JS callers of nsIDOMWindowUtils.setResolution and getResolution in accessibility code. r=yzen 2015-03-06 17:14:18 -05:00
Joel Maher
c4af17c9bc 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
05d5e530a2 Bug 1139576 - New_ functions should be static 2015-03-13 20:42:57 -04:00
Frédéric Wang
a3a353577b Bug 1128143 - Add ATK roles for MathML fractions and roots, r=surkov 2015-03-12 08:21:33 -04:00
Frédéric Wang
476aad6f03 Bug 1109022 - Add basic ATK roles for MathML elements, r=surkov 2015-03-11 19:05:57 -04:00
Ting-Yu Chou
ebca8598ef Bug 1137906 - Shutdown cached children when shutdown the document. r=surkov 2015-03-10 11:24:26 +08:00
Daniel Holbert
afd2eed243 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
c27ac0571c Bug 1140917 - IPC Proxy for replace/insert/copy/cut/delete/paste, r=tbsaunde 2015-03-09 23:04:02 +02:00
Olli Pettay
b81dbc3585 Bug 1140900 - IPC Proxy for ScrollSubstringTo*, r=tbsaunde 2015-03-09 22:51:02 +02:00
Olli Pettay
928634f199 Bug 1140895 - IPC Proxy for get/set/add/remove Selection, r=tbsaunde 2015-03-09 22:50:16 +02:00
Wes Kocher
c1ebca473b Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-09 18:56:42 -07:00
Mike Habicher
0f1ae864be Bug 1141228 - include GfxMessageUtils.h in PDocAccessible.ipdl, r=tbsaunde 2015-03-09 16:42:55 -04:00
Olli Pettay
913b3f178e Bug 1140534 - IPC Proxy for offsetAtPoint, r=tbsaunde 2015-03-08 14:05:55 +02:00
Olli Pettay
ff5674ad5d Bug 1140499 - IPC Proxy for text/char bounds, r=tbsaunde 2015-03-08 04:33:57 +02:00
Olli Pettay
de69d7db33 Bug 1140162 - IPC Proxy for TextAttributes and DefaultTextAttributes, r=tbsaunde 2015-03-06 22:44:02 +02:00
Olli Pettay
5c2ade4c46 Bug 1139887 - IPC Proxy for caretOffset, r=tbsaunde 2015-03-06 22:43:25 +02:00