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

5396 Коммитов

Автор SHA1 Сообщение Дата
Trevor Saunders 5cd07e19be bug 1215657 - make AccessibleWrap::accSelect work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders a62582d550 bug 1215657 - make AccessibleWrap::get_accDefaultAction work with proxied accessibles r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders c2be473e90 bug 1215657 - make AccessibleWrap::get_accFocus work with proxied accessibles
r=davidb
2015-10-20 15:25:00 -04:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Trevor Saunders 53e6b1571b bug 1213327 - expose iAccessibleHyperlink on proxied accessibles r=davidb 2015-10-16 16:13:38 -04:00
Trevor Saunders e39b0ca57d bug 1213327 - store interfaces a proxy implements on the Accessible wrapping it
r=davidb
2015-10-16 16:13:38 -04:00
Trevor Saunders 034d16ce0e bug 1213327 - allow accessibles wrapping proxies to store the set of interfaces implemented by the proxy r=davidb
This is not a nice solution, however its basically the only option.  We need to
store the set of interfaces the proxy implementes, preferably without
increasing the size of ProxyAccessibleWrap.
2015-10-16 16:13:38 -04:00
Trevor Saunders 34e02634ff bug 1213516 - fire showing state change event for atk in place of an alert event r=davidb 2015-10-16 14:59:08 -04:00
Yura Zenevich 709f9eb640 Bug 1211122 - ensuring that we check position against an actual doc/dialog on doc load event. r=marcoz 2015-10-16 09:39:30 -04:00
Carsten "Tomcat" Book 15c4d32dd7 merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Phil Ringnalda 908ee17508 Back out changeset 12ac8139ecd9 (bug 1213516) for Linux build bustage
CLOSED TREE
2015-10-15 22:52:58 -07:00
Trevor Saunders 8d46decb2f bug 1213516 - fire showing state change event for atk in place of an alert event r=davidb 2015-10-16 01:24:26 -04:00
Wes Kocher 403b53b231 Merge m-c to fx-team, a=merge 2015-10-15 11:38:00 -07:00
Gijs Kruitbosch cd5713a51d Bug 1123760 - bustage follow-up: remove unused variable, rs=bustage on a CLOSED TREE
--HG--
extra : commitid : As5ZYBprXOm
extra : amend_source : 2981eb096957ef64d1bc8d16b4be26d8ecc287d5
2015-10-15 18:36:47 +01:00
Gijs Kruitbosch 3afe5469df Bug 1123760 - make autocomplete dropmarker in the urlbar actually work when activated through a11y APIs, r=surkov
--HG--
extra : commitid : Cu83QcuhCxT
extra : rebase_source : 4e06008d7777ca862aaabfc43ff36979f4d6083e
extra : amend_source : 50c63af8003e62b9b89fa9014d1753c58252e62b
2015-10-13 17:19:41 +01:00
Eitan Isaacson 8e6e82af8d Bug 1214398 - Add highlight box to doc body if it is available and set z-index. r=yzen 2015-10-13 14:03:00 +02:00
Yura Zenevich b074ad4db9 Bug 1212528 - ensuring first seen document in ancestry is announced first. r=marcoz 2015-10-15 16:42:33 -04:00
Trevor Saunders 00126a9fa0 bug 1214864 - fixup SetCaret() changes on windows 2015-10-15 15:46:42 -04:00
Trevor Saunders a6479f0c55 bug 1214864 - make SetCarretOffset() async r=davidb
It calls TakeFocus() which needs to be async to avoid deadlocks, so it needs to
be async as well.
2015-10-15 15:04:37 -04:00
Trevor Saunders 86e2dba472 bug 1213606 - work around proxy's that don't have a wrapper for their document r=davidb 2015-10-14 14:09:49 -04:00
Trevor Saunders 38c71db8ad bug 1213606 - assert that we don't destroy a document's proxy until we destroy all of its children r=davidb 2015-10-14 14:09:49 -04:00
Olli Pettay 46310c2e6d Bug 1214316 - Improve assertions on top level remote accessible doc handling, r=tbsaunde 2015-10-13 22:00:35 +03:00
Olli Pettay 42685fa873 Bug 1213382 - proxy more accessible selection methods, r=tbsaunde
--HG--
extra : rebase_source : 1d8d688d4b1ab671aed5ba28bdcc14b2c4b94f70
2015-10-13 22:08:00 +03:00
Alexander Surkov e710c70483 Bug 1212457 - crash at ARIARowAccessible::GroupPosition(), r=marcoz 2015-10-08 08:02:52 -04:00
Trevor Saunders d12bfed3c9 bug 1210884 - expose the action interface on proxied accessibles r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders fdc2c57a4a bug 1210741 - make AccessibleWrap::get_accLocation work with proxied accessibles r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders 2233b14cfd bug 1209615 - make remote primary docs RELATION_EMBEDS targets for atk r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders ca465b7667 bug 1209615 - add RootAccessible::GetPrimaryRemoteTopLevelContentDoc() r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders c3e44cb6c3 bug 1209615 - use TabParent::GetTopLevelDocAccessible() in OuterDocAccessible::RemoteChildDoc() r=davidb 2015-10-07 18:26:56 -04:00
Alexander Surkov fdec90f014 Bug 1206107 - crash beginning in nightly 0916 in mozilla::a11y::Accessible::HasGenericType, part2, r=tbsaunde 2015-10-07 10:59:02 -04:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Olli Pettay daf442d9cb Bug 1210407 - teach nsMaiInterfaceTable to use proxies, r=tbsaunde
--HG--
extra : rebase_source : bc80721e4fb1ff2362f556661def0ede45690220
2015-10-06 22:36:29 +03:00
Olli Pettay 010075bd3f Bug 1210408 - make nsMaiInterfaceAction work with proxies, r=tbsaunde
--HG--
extra : rebase_source : a24bf6bcded4eed0d7d7a5bf8e3a008cd299f6ae
2015-10-06 22:14:18 +03:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo 52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Alexander Surkov 865aaf3b3a Bug 873438 - Implement IAccessible2_2::accessibleWithCaret, r=yzen 2015-10-06 12:36:47 -04:00
Alexander Surkov cec5cfb0c2 Bug 1205341 - get rid of aria-owns provided relations, part1: remove ARIA combobox special support (bug 819273 backout), r=yzen 2015-10-05 11:28:35 -04:00
Frédéric Wang 2aa965ccb5 Bug 1178272 - Move table semantics to a separate mozTableAccessible.mm file. r=surkov
--HG--
extra : rebase_source : bdbc6ea2a47d31e749fd59f657a54e40ae47c92b
2015-10-01 16:00:00 +02:00
Frédéric Wang 23ca07898d Bug 1177640 - [Mac] Do not expose HTML table semantics for "layout" tables. r=surkov 2015-09-30 17:49:00 +02:00
Frédéric Wang 3ddff2a32b Bug 718637 - Notify that the document is loaded. r=MarcoZ
--HG--
extra : rebase_source : 9f3e91b4c2e8b4f2888030e66f84841cd62be52e
2015-10-02 05:42:00 +02:00
Trevor Saunders c64438d7d8 bug 1210803 - expose the selection interface on proxied accessibles r=davidb 2015-10-02 06:38:21 -04:00
Trevor Saunders 533d8ecbae bug 1210447 - fix ProxyAccessible::EmbeddedChildAt() on proxies of outerDocs r=davidb 2015-10-02 06:38:21 -04:00
Frédéric Wang ecb7092186 Bug 1210441 - ProxyAccessible::IsTable* should take tabular MathML accessibles into account. r=tbsaunde 2015-10-01 11:06:00 +02:00
Alexander Surkov defaa2f69d Bug 1210108 - Emit object:state-changed:showing event for doorhangers, r=tbsaunde 2015-10-01 11:27:33 -04:00
Kevin Grandon d176e0d847 Bug 1204965 - Graphene support. Merge larch into mozilla-central. r=fabrice r=glandium 2015-09-30 23:49:00 +02:00
Frédéric Wang ecccd6d85a Bug 1210023 - Fix accessibilityAttributeValue for NSAccessibilityIndexAttribute. r=surkov 2015-10-01 08:40:35 +02:00
Bobby Holley e91aae8249 Bug 1208622 - Separate API entry points. r=bz 2015-09-30 16:31:46 -07:00
Alexander Surkov 626112a60a Bug 1205318 - make aria-owns loop alg more sophisticated, r=yzen 2015-09-29 15:17:40 -04:00
Eitan Isaacson 73c5918430 Bug 1209054 - Make 2 finger tap toggle pause speech. r=yzen 2015-09-29 14:37:11 -04:00
Eitan Isaacson be5c1b2046 Bug 1182311 - Make 3 finger triple tap more reliable. r=yzen 2015-09-29 14:37:11 -04:00
Trevor Saunders 354672cfd1 bug 1208779 - null check aAccessible in GetChildIDFor() for 32 bit as well as 64 bit windows r=davidb 2015-09-29 11:34:07 -04:00
Nigel Babu 2ea092cec1 Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley 46f21127a1 Bug 1208622 - Separate API entry points. r=bz 2015-09-28 22:51:30 -07:00
Alexander Surkov 58707d9e40 Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, part2, r=davidb 2015-09-28 16:04:40 -04:00
Trevor Saunders 5526821155 bug 1209147 - make proxying of Accessible::TakeFocus() async r=davidb
TakeFocus() ends up making sync calls to the parent process. That means if we
try to call it from a sync call to the child process we end up deadlocked.  The
easiest way to fix this is to make the message to the child process async.
2015-09-28 15:27:11 -04:00
Brian Grinstead d23fa8b95a Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07:00
Alexander Surkov dd066fa40e Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), part3, r=davidb 2015-09-25 12:11:49 -04:00
Trevor Saunders 0df211c37c bug 1207862 - make AccessibleWrap::GetXPAccessibleFor() return the AccessibleWrap for proxies r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders e0dcdcfcbd bug 1207862 - make WrapperFor() take a const ProxyAccessible * r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders 2672cf7d54 bug 1207862 - make it possible to traverse down the tree of proxied documents r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders d409d241c1 bug 1207862 - Add DocManager::TopLevelRemoteDocs() r=davidb
Soon we will need to iterate over all of the top level remote documents.
2015-09-24 19:23:18 -04:00
Trevor Saunders 53cad6cc22 bug 1207862 - refactor GetXPAccessibleFor() so proxies and non proxies are handle in the same place for each type of id r=davidb
While we're reorganizing this function move the simple cases to the beginning,
      and make lookup in the document tree last.
2015-09-24 19:23:18 -04:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Olli Pettay 2380c07907 Bug 1207311 - No need for \!nsAccUtils::MustPrune(acc) in DocAccessibleChild::RecvExtents, r=tbsaunde
--HG--
extra : rebase_source : 89e844a308063a9e82467778a0286c0161a0ea1e
2015-09-23 01:45:27 +03:00
Olli Pettay c14791c067 Bug 1207253 - make getChildCountCB correctly deal with outerdoc accessibles with proxy children, r=tbsaunde
--HG--
extra : rebase_source : 8d40383e824bbfdf35cc99c1a0a55f50a8e31dbb
2015-09-23 01:43:51 +03:00
Alexander Surkov 0b7aa7d6ab Bug 1206107 - fire show event for reallocated accessible after it was reallocated, r=tbsaunde 2015-09-22 16:46:40 -04:00
Alexander Surkov f78dc55625 Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList, part2, r=davidb 2015-09-21 12:47:02 -04:00
Alexander Surkov 8e32332f23 Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, r=davidb 2015-09-20 04:02:05 -04:00
Alexander Surkov cd9b877daf Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), r=smaug 2015-09-18 08:52:46 -04:00
Trevor Saunders 75ffe89c69 bug 1199735 - fire windows events on proxies r=davidb 2015-09-17 16:49:25 -04:00
Trevor Saunders 24ad5cfa23 bug 1199735 - factor win event dispatch logic into its own function r=davidb 2015-09-17 16:49:24 -04:00
Trevor Saunders 1b482dcc58 bug 1199735 - remove event logging from the windows AccessibleWrap::HandleAccEvent r=davidb
if this is useful it would make more sense to log it outside of the windows
layer.  Since its not clear it is useful, and it makes it harder to separate
event dispatch logic from HandleAccEvent its easiest to just remove it for now.
2015-09-17 16:49:24 -04:00
Trevor Saunders 258b34828c bug 1204070 - add a little more checking to proxy subtree removal r=davidb 2015-09-15 18:15:16 -04:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Alexander Surkov 787c99ae00 Bug 1133213 - make aria-owns to alter the accessible tree, fire show/hide mutation events as we do for the accessible tree alterations, r=yzen, f=davidb 2015-09-15 12:01:51 -04:00
Eitan Isaacson 93caf7a23f Bug 1203697 - Add braille navigation. r=yzen r=mfinkle 2015-09-14 23:34:30 -07:00
Nicholas Nethercote 9d68ee2953 Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.

--HG--
extra : rebase_source : e654fa940aed18b1d5ef7b2bebb45bbef59cfd84
2015-09-14 21:16:37 -07:00
Wes Kocher a5dd43b204 Backed out changeset 0f4a1154350d (bug 1133213) for frequent a11y crashes CLOSED TREE 2015-09-14 16:08:47 -07:00
Eitan Isaacson a2240f17d1 Bug 1182214 - Follow-up to fix Presentation.displayedAccessibles getter. r=me CLOSED TREE 2015-09-14 13:34:26 -07:00
Alexander Surkov fea219d6cd Bug 1133213 - make aria-owns to alter the accessible tree, fire show/hide mutation events as we do for the accessible tree alterations, r=yzen, f=davidb 2015-09-11 20:54:27 -04:00
Eitan Isaacson bfdf59d692 Bug 1182214 - Update highlight rect as you scroll. r=yzen 2015-09-14 10:52:43 -07:00
Eitan Isaacson 95147a7039 Bug 1182222 - Make Layerview support accessibility HTML navigation. r=yzen r=mfinkle 2015-09-14 10:52:43 -07:00
Eitan Isaacson 64ab2ee765 Bug 1203283 - Introduce Android "Control" traversal rule. r=yzen 2015-09-14 10:52:43 -07:00
Trevor Saunders 5e3e09effc bug 1196460 - remove proxy's ids when they are destroyed r=surkov 2015-09-14 13:33:39 -04:00
Trevor Saunders 61f09a90ea bug 1196460 - teach GetChildIDFor() to deal with proxied accessibles r=surkov 2015-09-14 13:33:38 -04:00
Trevor Saunders 60de30345a bug 1196460 - provide mapping from id to accessible in DocProxyAccessibleWrap 2015-09-14 13:33:38 -04:00
Trevor Saunders db584a5e09 bug 1196460 - add method to get wrapper of proxy for document containing this proxied accessible r=surkov 2015-09-14 13:33:38 -04:00
Trevor Saunders 40daa72f9b bug 1196460 - make IsDoc() return true for wrappers of proxied documents r=surkov 2015-09-14 13:33:37 -04:00
Trevor Saunders 3f652ccd7c bug 1196460 - create different proxy wrappers depending on the type of the proxy r=surkov 2015-09-14 13:33:37 -04:00
Trevor Saunders fc3bcf36ba bug 1196460 - add class for wrapping proxies of document accessibles r=surkov
For now this isn't really different from the class used to wrap
HyperTextAccessibles.  However we will need to store extra data to map IDs to
accessibles when we implement events.
2015-09-14 13:33:37 -04:00
Trevor Saunders a6b767ccde bug 1196460 - make the ctor of HyperTextProxyAccessiblewrap public r=surkov 2015-09-14 13:33:36 -04:00
Masayuki Nakano 51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Eitan Isaacson 29a74fb99d Bug 1019432 - [AccessFu] Only capture explore by touch events in Android. r=yzen 2015-09-10 13:56:53 -07:00
Trevor Saunders 8d622f7ff4 bug 1196372 - make GetHWNDFor() work with proxied accessibles r=surkov 2015-09-10 10:53:34 -04:00
Trevor Saunders 390030899c bug 1186536 - Bail out of ProxyTextChangeEvent() if the proxy doesn't have a wrapper r=davidb
This probably should never happen, but it seems to sometimes in the wild, and
its hard to know what caused that without a test case.  So for now work around
the issue by adding a null check.
2015-09-09 17:37:15 -04:00
Eitan Isaacson 76e27d8d68 Bug 1201146 - Introduce "Section" traversal rule. r=yzen 2015-09-04 10:04:19 -07:00
Trevor Saunders a9a9498e55 bug 1201395 - call ProxyCreated with the correct interfaces when creating top level documents r=davidb 2015-09-03 18:41:19 -04:00