Граф коммитов

184 Коммитов

Автор SHA1 Сообщение Дата
Alexander Surkov 1fb5af2b0c Bug 1193786 - crash in mozilla::dom::Element::FindAttrValueIn, r=marcoz 2015-08-13 08:43:26 -04:00
Lorien Hu 8b671e5993 Bug 1175913 - (Part 1) Subscribe to EventListenerService and recreate accessibles on click listener changes r=tbsaunde 2015-08-04 23:35:54 -04:00
Trevor Saunders d7dcecbfc0 bug 1186528 - don't create a DocAccessibleChild if we can't tell the parent process about it r=lsocks 2015-07-31 13:44:59 -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 59f17c9689 bug 1172523 - fire useful text change events for proxies r=lsocks 2015-07-14 11:02:03 -04:00
Trevor Saunders ba749f52dd bug 1172523 - Allow getting the modified text from an AccTextChangeEvent without copying r=lsocks 2015-07-14 11:02:02 -04:00
Trevor Saunders e340e1cc46 bug 1181177 - null check tabChild in DocManager::CreateDocOrRootAccessible r=davidb
This causes e10s to behave differently from non e10s, because in e10s we don't
forward the creation of the document to the parent process.  However this only
seems to happen in strange edge cases.
2015-07-14 10:13:21 -04:00
Trevor Saunders 6b4b770150 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-07-13 13:57:48 -04:00
Trevor Saunders 65b918141a bug 1170153 - check documents have a docshell before trying to tell the parent process about new remote DocAccessibles r=davidb
We should never create DocAccessibles for documents that are going away so it
seems like this shouldn't be necessary, but without a test case its hard to
know why we are creating DocAccessibles for documents without docshells.  So
for now work around the issue and hope it doesn't matter in practice.
2015-07-06 12:51:22 -04:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Frédéric Wang ee3b54ad95 Bug 1178817 - Fix segfault in mozilla::a11y::HTMLTableRowAccessible::GroupPosition(). r=MarcoZ
CLOSED TREE

--HG--
extra : rebase_source : 03bd21519e9414273e45679e4b6b5581fb42ff31
extra : amend_source : 77fc3ea8da095a5e9dfbee56ce64e38e631ad17b
2015-07-01 05:02:00 -04:00
Marco Zehe 40fed0d659 Bug 1178018 - Add and adjust more roles, subroles, and role descriptions on OS X to match Webkit and Blink, r=surkov
--HG--
extra : commitid : 5bVfG7VXDsW
extra : rebase_source : b5c043ad4169d502453f5016b1a5f9132b9a2478
2015-06-27 10:50:33 -07:00
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 33ff352b01 Bug 1177268 - implement aria-rowcount/index and aria-colcount/index, r=marcoz 2015-06-26 14:41:22 -07: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
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 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
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
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
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
John Daggett 5cd058496d Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-13 14:11:25 +09: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 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
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
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
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00: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
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
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
Frédéric Wang f5e4a8f44c Bug 1001637 - Make math tables implement the nsIAccessibleTable interface. r=surkov 2015-03-19 12:45:59 -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
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 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
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
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
Alexander Surkov a3e4eb6dcc Bug 971212 - Implement ARIA role=none, r=davidb 2015-02-19 12:50:34 -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
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
Alexander Surkov 60013c0d28 Bug 786143 - inherit aria-hidden through subtree, r=yzen 2015-02-04 18:33:33 -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 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
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
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 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
Trevor Saunders 19066f5c7a Revert "bug 1088148 - reenable ipc accessibility" because it still causes crashes 2015-01-06 16:20:07 -05: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
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
Alexander Surkov ddf2a093e3 Bug 1095927 - expose HTML time element semantics in acc layer, r=tbsaunde 2014-12-11 21:53:12 -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
Alexander Surkov 2602de1bfb Bug 1105273 - Accessibility mapping for aria-modal, r=davidb 2014-11-28 10:01:43 -05:00
Alexander Surkov 91d762ecff Bug 1013584 - presentation list items should expose generic accessibles, r=davidb 2014-11-21 09:13:32 -05:00
Trevor Saunders 528b775249 bug 1088148 - disable ipc accessibility messages for now to make crashes go away r=davidb 2014-11-18 13:04:33 -05:00
Trevor Saunders 62cddfac0a bug 1074869 - make atk deal with proxied focus events r=davidb 2014-09-30 10:00:26 -04:00
Diwas Joshi c61db7a0bb Bug 739568 - nsXULTreeGridRowAccesible should cache its kids as nsXULTreeGridCellAccessibles not generic accessibles, r=tbsaunde 2014-11-05 21:16:37 +05:30
Trevor Saunders 980f8c8ad0 bug 1088148 - only send accessibility ipc messages from child processes that are for content r=davidb 2014-11-07 14:17:42 -05: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
Boris Zbarsky 91f20e5cc5 Bug 1087378. Stop using WindowProxy for arguments in Web IDL; Window expresses what's going on more clearly. r=peterv 2014-10-29 15:06:20 -04:00
Ryan VanderMeulen 2cb6c8079d Backed out changeset 4b4c7462ec89 (bug 1087378) for bustage.
CLOSED TREE
2014-10-29 16:27:15 -04:00
Boris Zbarsky 0b450f98d6 Bug 1087378. Stop using WindowProxy for arguments in Web IDL; Window expresses what's going on more clearly. r=peterv 2014-10-29 15:06:20 -04:00
Alexander Surkov e55b1c1c87 Bug 1076816 - segregate XPCOM tree, r=davidb 2014-10-21 20:49:28 -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 ac52e558c2 Backed out changeset 52fd69cc794c (bug 982842) for causing regressions on request by zac 2014-10-15 16:23:39 +02:00
Trevor Saunders bf17bfccda bug 982842 - initial a11y ipc impl r=davidb, bent 2014-03-07 16:35:19 -05:00
Jon Morton 1700296f02 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Ehsan Akhgari bd911da510 Bug 1079320 - Fix some more bad implicit constructors in accessible; r=tbsaunde 2014-09-24 09:16:53 -04: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
Arnaud Sourioux 5bca523013 Bug 1038570 - Part 3: rename ObjectFrame variables to PluginFrame. r=dbaron 2014-09-24 06:35:00 +02:00
Arnaud Sourioux 54b32a98a0 Bug 1038570 - Part 2: rename ObjectFrame class to PluginFrame. r=dbaron 2014-09-24 06:34:00 +02:00
Arnaud Sourioux 4f1c6d56a0 Bug 1038570 - Part 1: rename nsObjectFrame.* to nsPluginFrame.*, changes moz.build and includes. r=dbaron
--HG--
rename : layout/generic/nsObjectFrame.cpp => layout/generic/nsPluginFrame.cpp
rename : layout/generic/nsObjectFrame.h => layout/generic/nsPluginFrame.h
2014-09-24 06:33:00 +02:00
John Daggett 3570b54018 Bug 998869 part 2 - switch to GetFontAt(0) to GetFirstValidFont(). r=jfkthame 2014-09-25 12:16:53 +09:00
Georg Fritzsche 83f0c5bfb7 Bug 1067989 - Unify some more binary search uses. r=waldo 2014-09-17 15:46:24 +02:00