Commit Graph

3947 Commits

Author SHA1 Message Date
Trevor Saunders
848de1ba81 bug 1155829 - add shutdown method to MaiAtkObject r=yzen 2015-04-21 13:07:48 -04:00
Trevor Saunders
f97767bd6c bug 1155829 - remove AccessibleWrap::SetMaiHyperlink r=surkov 2015-04-21 13:07:48 -04:00
Trevor Saunders
b2d197b8cf bug 1155829 - inline MaiHyperlink::GetAtkHyperlink r=surkov 2015-04-21 13:07:48 -04:00
Trevor Saunders
dbeb87f5d4 bug 1155829 - remove MaiHyperlink::Initialize r=surkov 2015-04-21 13:07:48 -04:00
Nicolas Silva
51e181888b 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
4ad62045e8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Ms2ger
82c2faeae3 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
2afc352ad7 bug 1151402 - proxy most of IAccessibleText and IAccessibleEditableText
r=davidb
2015-04-09 11:18:23 -04:00
Trevor Saunders
ff5d232545 bug 1149772 - never create fake HWND in child processes r=davidb 2015-04-06 13:38:01 -04:00
Mike Hommey
ccd2a9b975 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
53e366db90 Bug 1149118 - Expose radio group with the correct role on OS X, r=surkov 2015-03-30 15:37:09 +02:00
Nicolas Silva
eae4d10b4d Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Daniel Holbert
284cc1028f Bug 1148708: Add missing 'override' annotations in DocAccessibleChild.h. rs=ehsan 2015-03-28 07:38:29 -07:00
Alexander Surkov
d0bebd0aeb Bug 1147646 - Crash in mozilla::a11y::DocAccessible::ProcessContentInserted while stability testing, r=davidb 2015-03-27 14:16:53 -04:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Marco Zehe
e2df81634f Bug 1148479 - Unify string conversion methods in MozAccessible, r=surkov 2015-03-27 18:05:26 +01:00
Olli Pettay
383674217b Bug 1148083 - IPC Proxy for Document, r=davidb 2015-03-27 17:41:04 +02:00
Olli Pettay
dd7449a248 Bug 1148025 - IPC Proxy for 'Component', r=tbsaunde 2015-03-27 00:06:45 +02:00
Olli Pettay
96c1ef9218 Bug 1147551 - IPC Proxy for min/cur/max values, r=davidb 2015-03-27 00:06:38 +02:00
Olli Pettay
dc80dd8ff3 Bug 1147518 - IPC Proxy for Action, r=davidb 2015-03-27 00:06:21 +02:00
Yura Zenevich
93828d6c01 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
c9a7be251b Bug 1146257 - spanned headers don't work well in our table code, r=marcoz 2015-03-26 08:05:06 -04:00
Olli Pettay
157f43d7c9 Bug 1147168 - IPC Proxy for Selection, r=tbsaunde 2015-03-25 16:19:12 +02:00
Olli Pettay
b51394b9d7 Bug 1147079 - IPC Proxy for Table, r=tbsaunde 2015-03-25 16:16:24 +02:00
Olli Pettay
181e65f752 Bug 1146665 - IPC Proxy for TableCell, r=tbsaunde 2015-03-25 16:14:28 +02:00
Olli Pettay
d5a340e46b Bug 1146615 - IPC Proxy for HyperText, r=tbsaunde 2015-03-25 16:05:18 +02:00
Olli Pettay
8a5cab8850 Bug 1145366 - IPC Proxy for HyperLink, r=tbsaunde 2015-03-25 16:03:13 +02:00
Alexander Surkov
3cd8f764c1 Bug 1141978 - follow up, test fix, r=marcoz 2015-03-25 13:10:54 -04:00
Trevor Saunders
bfc8734ab6 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
1ccd2f075a Bug 1146229: Remove calling convention modifier from local variable. r=surkov 2015-03-24 13:30:11 +13:00
Alexander Surkov
43b88d3ffe Bug 1141978 - Support rowgroup and colgroup HTML scope, r=marcoz 2015-03-23 11:51:33 -04:00
Olli Pettay
f72f363331 Bug 1145292 - IPC Proxy for ImageAccessible, r=tbsaunde 2015-03-22 23:44:12 +02:00
Ehsan Akhgari
5dfe6bb2a1 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
33bb32f549 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
420fe5dce2 Bug 1141443 - Remove unused rpcns4 from OS_LIBS. r=mshal 2015-03-20 18:46:43 +09:00
Frédéric Wang
41894967bf Bug 1001637 - Make math tables implement the nsIAccessibleTable interface. r=surkov 2015-03-19 12:45:59 -04:00
Trevor Saunders
878d2906bc bug 1138436 - start on proxying IAccessible2 r=surkov, r=davidb 2015-03-16 20:48:44 -04:00
Botond Ballo
b0b35fd90e 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
42ce341f1c 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
43bc4c9501 Bug 1139576 - New_ functions should be static 2015-03-13 20:42:57 -04:00
Frédéric Wang
1eedc910f3 Bug 1128143 - Add ATK roles for MathML fractions and roots, r=surkov 2015-03-12 08:21:33 -04:00
Frédéric Wang
2a526532d5 Bug 1109022 - Add basic ATK roles for MathML elements, r=surkov 2015-03-11 19:05:57 -04:00
Ting-Yu Chou
499a683bbc Bug 1137906 - Shutdown cached children when shutdown the document. r=surkov 2015-03-10 11:24:26 +08:00
Daniel Holbert
d129effca3 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
845a3b0201 Bug 1140917 - IPC Proxy for replace/insert/copy/cut/delete/paste, r=tbsaunde 2015-03-09 23:04:02 +02:00
Olli Pettay
1765d854f1 Bug 1140900 - IPC Proxy for ScrollSubstringTo*, r=tbsaunde 2015-03-09 22:51:02 +02:00
Olli Pettay
d40eb7fe95 Bug 1140895 - IPC Proxy for get/set/add/remove Selection, r=tbsaunde 2015-03-09 22:50:16 +02:00
Wes Kocher
76b116dfbf Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-09 18:56:42 -07:00
Mike Habicher
eb92e0a211 Bug 1141228 - include GfxMessageUtils.h in PDocAccessible.ipdl, r=tbsaunde 2015-03-09 16:42:55 -04:00
Olli Pettay
e8319937b3 Bug 1140534 - IPC Proxy for offsetAtPoint, r=tbsaunde 2015-03-08 14:05:55 +02:00
Olli Pettay
221a1a4b36 Bug 1140499 - IPC Proxy for text/char bounds, r=tbsaunde 2015-03-08 04:33:57 +02:00
Olli Pettay
e1306cda70 Bug 1140162 - IPC Proxy for TextAttributes and DefaultTextAttributes, r=tbsaunde 2015-03-06 22:44:02 +02:00
Olli Pettay
dcf87117e1 Bug 1139887 - IPC Proxy for caretOffset, r=tbsaunde 2015-03-06 22:43:25 +02:00
Olli Pettay
f9aff56a09 Bug 1139972 - IPC Proxy for charAt, r=tbsaunde 2015-03-06 19:37:37 +02:00
Alexander Surkov
e94e6e2e27 Bug 1140500 - add object attributes declaration into markup map, r=marcoz 2015-03-07 20:20:17 -05:00
Alexander Surkov
88c3e73c18 Bug 1140497 - add more roles into markup map, r=marcoz 2015-03-07 12:35:27 -05:00
Jonathan Wei
2607d4ed90 Bug 1001634 - Add basic MathML accessibility implementation, r=surkov, marcoz, patch=jwei, surkov 2015-03-09 08:16:12 -04:00
Alexander Surkov
a92de680c2 Bug 1139900 - make tag name based roles faster, r=marcoz 2015-03-05 13:16:12 -05:00
Alexander Surkov
8fb9ff8f4d Bug 1139576 - make accessible creation by tag name faster, r=marcoz 2015-03-04 22:56:57 -05:00
Alexander Surkov
4b64b9f21a Bug 1139049 - revert EnumRoleAccesisble name change, r=davidb 2015-03-04 19:04:46 -05:00
Alexander Surkov
4931522c38 Bug 1139049 - turn EnumRoleAccessible into template, r=davidb 2015-03-04 18:45:17 -05:00
Trevor Saunders
ed5736e5f1 bug 1123511 - temporarily disable ipc accessibility for crashes 2015-03-04 07:45:20 -05:00
Mike Hommey
b02950208c Bug 1138845 - Fixup for bustage. r=me 2015-03-04 15:09:40 +09:00
Mike Hommey
3c9f31cc4a Bug 1138845 - Don't require atk-bridge for gtk+3 builds. r=tbsaunde 2015-03-04 14:39:55 +09:00
Masayuki Nakano
48dadac26a 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
5be63a228b Bug 1105611 - HyperTextAccessible should set DOM range outside of pseudo elements r=surkov 2015-03-03 14:25:52 -05:00
Andrea Marchesini
80f301db79 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
454d9140a2 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
21b18abe2d Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Marco Zehe
9e7656393a Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Marco Zehe
f7d8bdbff4 Bug 1136563 - ARIA 1.1: Support role 'switch', r=surkov 2015-02-26 14:47:15 +01:00
Ting-Yu Lin
c4db413d6a 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
93b3f9e70c 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
bca7e7be13 Bug 1135908 - [E10s] Proxy for Character/SelectionCount(), r=tbsaunde 2015-02-25 14:18:17 +02:00
Alessio Placitelli
0901b2cbcc Bug 1111022 - Fixes the accessibility test_docload.html test failing with hidden windows. 2015-02-22 12:28:32 +01:00
Max Li
212d5dedcf 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
fdf1f7dc81 Bug 971212 - Implement ARIA role=none, r=davidb 2015-02-19 12:50:34 -05:00
Anish
48094b2951 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
b6ef20bdf0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
bbc6a8a249 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
74e29eda87 Bug 1133322 - tweak shutdown procedure for accessibles maintaining own trees, r=yzen 2015-02-18 23:37:32 -05:00
Olli Pettay
5950734a4c 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
d4d465b6d0 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
2fa889020e bug 1127402 - proxy RelationByType method r=davidb 2015-02-12 18:18:13 -05:00
Trevor Saunders
c733097ca4 bug 1124449 - teach IAccessible impl about proxy wrappers r=davidb 2015-02-12 18:16:44 -05:00
Olli Pettay
798ea135c7 Bug 1132485 - IPC proxy for GetText*Offset, r=tbsaunde
--HG--
extra : rebase_source : d9f62f17d6c487234aac3645d830fa55318d64b6
2015-02-12 22:56:13 +02:00
Olli Pettay
a2e3724464 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
0ca5e8f187 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
896b98fa12 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
4e5a3b76fa 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
0664252a1e Bug 786143 - inherit aria-hidden through subtree, r=yzen 2015-02-04 18:33:33 -05:00
David Zbarsky
32c35eeb2a Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Phil Ringnalda
f55829d7eb Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
058ba6807f Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky
1330fc1496 Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Trevor Saunders
c386e77dd5 bug 1124821 - make shutdown of attached documents more robust r=smaug 2015-01-30 13:53:32 -05:00
Alexander Surkov
6bd80b253e Bug 1126786 - remove NS_DEBUG_X rudiment, r=davidb 2015-01-28 13:32:30 -05:00
Daniel Holbert
e8fb5ca6f9 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
8746c1322e 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
91748065fa 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