Xidorn Quan
60bcaa5c0b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan
8acf32453c
Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
...
MozReview-Commit-ID: 4KMLCz6wQHQ
--HG--
extra : rebase_source : 08964aef3b335163985dd6818b4a6ae3a4e34fce
2016-03-17 12:07:47 +08:00
Alexander Surkov
2bf7aa7227
Bug 1251897 - DocAccessible constructor doesn't have to take root element as an argument, r=davidb
2016-03-02 09:39:06 -05:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Sylvestre Ledru
ab4e3a0d42
Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
...
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Alexander Surkov
356a8b6d75
Bug 1233118 - implement IAccessible2_3::selectionRanges, r=yzen
2016-01-20 12:53:03 -05:00
Nathan Froyd
40b1bc29b3
Bug 1222531 - turn off -Wextra-tokens on clang-cl in accessible/ directories; r=tbsaunde
...
The Windows MIDL code generator creates things like:
#endif !_MIDL_USE_GUIDDEF_
which clang-cl complains about. MSVC doesn't, so turn this warning off.
2015-11-06 13:10:03 -05:00
Trevor Saunders
37c22443fb
bug 1235965 - null check mDoc in AccessibleWrap::Shutdown() r=davidb
2016-01-08 14:23:08 -05:00
Jim Mathies
114d93fb4c
Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
...
--HG--
extra : transplant_source : %A0R%E2Nhk%25%F7%BE%9D%E1%96W_%AD%27%DEC%F2%AC
2015-12-10 14:28:33 -05:00
Carsten "Tomcat" Book
8431613ae5
Backed out changeset bcb4ebf6ffac (bug 1198459) for bustage
2015-12-10 11:14:27 +01:00
Jim Mathies
33f95db847
Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
...
--HG--
extra : transplant_source : %BA%D2uF7%D5%C1jg%0E%BA%9B%84u%3D%10n%C0%93%8B
2015-12-09 08:35:06 -05:00
Trevor Saunders
fe374b7271
bug 1218762
- proxy ia2Accessible::scrollTo{,Point}() r=davidb
2015-11-20 09:45:23 -05:00
Kyle Huey
6df095ed85
Bug 1222127: Use the inner window to compute style. r=baku
2015-11-19 14:47:20 +08:00
Nicholas Nethercote
a62e6ee5b7
Bug 1224403 (part 8) - Use LayoutDeviceIntMargin more in HyperTextAccessible. r=kats.
...
--HG--
extra : rebase_source : 0e3cf7566f640f3165d677f67c005b43e290ac94
2015-11-12 05:34:27 -08:00
Trevor Saunders
c54f947de7
bug 1213402 - fixup silly array , on windows r=me landing on a CLOSED TREE
2015-11-10 17:39:27 -05:00
Trevor Saunders
3dd3759899
bug 1213402 - separate value change events into text value changes and numeric value changes r=davidb
...
Arguably these are different things, and it will be easier to proxy events for
atk this way because atk only wants the numeric value changes.
2015-11-10 15:55:08 -05:00
Alexander Surkov
253f5cfdd0
Bug 1220897 - fix IAccessible2::get_accessibleWithCaret, r=tbsaunde
2015-11-06 23:31:12 -05:00
Nathan Froyd
e256faafbd
Bug 1222174 - add override declarations in AccessibleWrap.h; r=tbsaunde
...
clang-cl complains about not having these otherwise.
2015-11-05 15:20:09 -05:00
Trevor Saunders
103dd0c968
bug 1219528 - don't bail out of AccessibleWrap::accNavigate if the accessible wraps a proxy r=davidb
2015-10-30 19:27:42 -04:00
Trevor Saunders
c145de8b16
bug 1219528 - make AccessibleWrap::accNavigate cases using relations work with proxies r=davidb
2015-10-30 19:27:42 -04:00
Trevor Saunders
5cf6510d00
bug 1219528 - make NAVDIR_{FIRST,LAST}CHILD and NAVDIR_{NEXT,PREVIOUS} cases of AccessibleWrap::accNavigate deal with proxies r=davidb
2015-10-30 19:27:42 -04:00
Trevor Saunders
b7738102b4
bug 1218564 - remove check for password roles in AccessibleWrap::get_accValue r=surkov
...
The text computed for a password entry's accessible should not include the
actual password text, so this check is not necessary.
2015-10-28 14:58:24 -04:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
James Teh
f8dd54d3ca
Bug 1210549 - Fix AccessibleWrap::GetXPAccessibleFor for proxied accessibles r=tbsaunde
2015-10-21 19:54:09 -04:00
James Teh
ab37f2b8a2
Bug 1210549 - Allow IServiceProvider::QueryService to work for proxied accessibles r=tbsaunde
2015-10-21 19:54:09 -04:00
James Teh
2d65b6dfc8
Bug 1210549 - Make proxied accessibles defunct when proxy dies r=tbsaunde
2015-10-21 19:54:09 -04:00
Trevor Saunders
8ba1d0d320
bug 1215657 - make AccessibleWrap::get_accSelection work with proxies r=davidb
2015-10-20 15:25:00 -04:00
Trevor Saunders
ad29692daa
bug 1215657 - make AccessibleWrap::accDoDefaultAction work with proxies r=davidb
2015-10-20 15:25:00 -04:00
Trevor Saunders
1da4ea6d30
bug 1215657 - make AccessibleWrap::accHitTest() work with proxies r=davidb
2015-10-20 15:25:00 -04:00
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
00126a9fa0
bug 1214864 - fixup SetCaret() changes on windows
2015-10-15 15:46:42 -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
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
Trevor Saunders
fdc2c57a4a
bug 1210741
- make AccessibleWrap::get_accLocation work with proxied accessibles r=davidb
2015-10-07 18:26:56 -04:00
Alexander Surkov
865aaf3b3a
Bug 873438 - Implement IAccessible2_2::accessibleWithCaret, r=yzen
2015-10-06 12:36:47 -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
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
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
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