Commit Graph

5343 Commits

Author SHA1 Message Date
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