Commit Graph

5754 Commits

Author SHA1 Message Date
Alexander Surkov
0a78fab1e3 Bug 1294086 - remove debugging printf 2016-08-12 10:20:45 -04:00
Nicholas Nethercote
bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Alexander Surkov
30c2b9aee8 Bug 1294086 - implement ARIA feed role, r=yzen 2016-08-10 14:07:29 -04:00
Michael Li
cc740d9cf4 Bug 1289223: Make EventTree process all accessibility show events. r=surkov
MozReview-Commit-ID: 1wRLGHR9Vfc

--HG--
extra : transplant_source : VO%FD%80%0C.%15%9D%C4%82%3A%18%E2%C3WU%A1%8Fv%CF
2016-08-09 15:07:04 -04:00
Eitan Isaacson
2ae78b9900 Bug 1279214 - Use DOM instead of layout in HTMLComboboxAccessible::SelectedOption. r=surkov
MozReview-Commit-ID: GrBSyR9bABT

--HG--
extra : rebase_source : 4d5dab803751cde3f0943ca4649f5820eef1753a
2016-06-30 19:59:38 -07:00
Yura Zenevich
d79c789318 Bug 527003 - renaming all XPCOM uses of deprecated accessible retrieval to accessibility service. r=surkov
MozReview-Commit-ID: DDJmHOMfXLo
2016-08-09 15:38:54 -04:00
Yura Zenevich
7d6abb5975 Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Alexander Surkov
727cb49410 Bug 1292627 - group text leaf insertions by parent before processing, r=yzen 2016-08-08 13:02:26 -04:00
Alexander Surkov
72a5e88c04 Bug 1274381 - scope accessible elements search to inserted nodes, r=yzen, f=marcoz 2016-08-05 10:20:58 -04:00
Igor
4efade90d4 Bug 1197331 - remove PR_snprintf calls in miscellaneous directories. r=nfroyd
--HG--
extra : rebase_source : a19f77db06e68bd3d69faf56b8bbdc1825f13249
2016-08-04 16:41:00 +02:00
Carsten "Tomcat" Book
a826042a1d Merge mozilla-central to mozilla-inbound 2016-08-05 12:03:44 +02:00
Carsten "Tomcat" Book
cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Aaron Klotz
33bba1e24c Bug 1288199: Add building of typelib to be embedded in ia2marshal.dll; r=mshal
Trevor, please read comment 1 in the bug for some discussion around the idl files in this patch.

MozReview-Commit-ID: Emos5mLuobS

--HG--
extra : rebase_source : fc445e2257536d55c0ddefca944152930d261272
2016-08-04 15:17:51 -06:00
Decky Coss
b69450d2ea Bug 1287655 - place textarea/input cursor at end of text when initialized; r=smaug
MozReview-Commit-ID: 2srGXFmla07

--HG--
extra : transplant_source : %3Cn%D30%86%24%82%90%29%191%9C%8A%EB%0D%5D%E2%20%22%E5
2016-07-21 14:52:49 -04:00
Alexander Surkov
f002f15624 Bug 1246447 - crash in mozilla::a11y::DocAccessible::ARIAAttributeChanged, r=yzen 2016-08-04 10:49:21 -04:00
Michael Li
3245c78fef Bug 1290217: Ensure input is removed after test before next one starts in browser_treeupdate_doc.js r=yzen
MozReview-Commit-ID: DhLarH20Zr6

--HG--
extra : rebase_source : f476cad1899c1ffe0bd2445815b3625a3b71398c
2016-08-03 12:39:04 -04:00
Michael Li
484dd39b6e Bug 1286952 - Make xpcAccessibleHyperText work with proxied accessibles. r=tbsaunde
MozReview-Commit-ID: 1E81sAlOIs1
2016-07-22 12:07:41 -04:00
Emilio Cobos Álvarez
11ac7c1d96 Bug 1288590: Rename nsAttrInfo to mozilla::dom::BorrowedAttrInfo. r=bholley
Unfortunately couldn't add all the debug checks that I'd want, since we can't
assert that is not safe to run script in quite a few places :(

MozReview-Commit-ID: 8m3Wm1WntZs
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
d6cc7b9e13 Bug 1288590: Use GetAttrInfoAt in sdnAccessible.cpp. r=bholley
MozReview-Commit-ID: LQrtUwssnQN
2016-07-27 11:18:33 -07:00
Michael Li
05864e3606 Bug 1288508 - Make nsIAccessible* interfaces builtinclass so they can be static_cast'ed to xpcAccessibleGeneric. r=yzenevich 2016-07-26 15:55:00 +02:00
Ryan VanderMeulen
7484f8bc74 Backed out changeset 1bbebd48ca62 (bug 1288508) for causing mochitest-a11y timeouts on a CLOSED TREE.
--HG--
extra : amend_source : 1aa38d54fbbecc945b22a69fd78e877dfe17fa1a
2016-07-22 17:59:03 -04:00
Michael Li
8d3499e3d5 Bug 1288508 - Make nsIAccessible* interfaces builtinclass so they can be static_cast'ed to xpcAccessibleGeneric. r=yzen 2016-07-21 12:57:00 -04:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson
b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Alexander Surkov
499efe0f10 Bug 1286598 - make sure an accessible tree is updated on DOM tree removals, r=yzen 2016-07-20 09:40:55 -04:00
Michael Li
3b4d1337e7 Bug 1287145 - Support QueryInterfacing proxy accessibles to nsIAccessibleHyperText. r=tbsaunde 2016-07-18 08:23:00 +02:00
Michael Li
8f39a98f83 Bug 1287123 - Don't skip browser_caching_value.js since it now passes all tests in e10s mode. r=yzenevich 2016-07-15 08:15:00 +02:00
Michael Li
0a864a1988 Bug 1285272 - Change Accessible's role map entry variable from a raw pointer to an index. r=yzen
MozReview-Commit-ID: 2diXMOohyk

--HG--
extra : rebase_source : 410d8eaa7f2909d93ff44ec4fc0a80e9619c9a90
2016-07-18 12:40:53 -04:00
Michael Li
7c54c53ae4 Bug 1285272 - Replace direct use of mRoleMapEntry with calls to ARIARoleMap(). r=yzen
MozReview-Commit-ID: JEuMlNLxD8R

--HG--
extra : rebase_source : 9f93d35a94ea24eddcb869f9dd14da0dd4fa8c73
2016-07-12 15:34:13 -04:00
Michael Li
7778ca1358 Bug 1285272 - Add functionality in ARIAMap to use integer index instead of a raw pointer for role map entries. r=yzen
MozReview-Commit-ID: 8FduVyUkJic

--HG--
extra : rebase_source : 2685c6fdfc3b2f4851da18539aa298093f858779
2016-07-18 11:52:44 -04:00
Alexander Surkov
c85742dc94 Bug 1278915 - make sure to not add a non document accessilbe children under outerdoc, r=yzen 2016-07-18 19:40:53 -04:00
Kartikaya Gupta
eb68bbaaa8 Bug 970346 - Add a DocShell attribute to override the default touch event options to a tab. r=bz
MozReview-Commit-ID: 4BdhwQRBavd
2016-07-18 10:26:38 -04:00
Michael Li
132d906366 Bug 1286322 - Make xpcAccessibleHyperLink work with proxied accessibles. r=tbsaunde
--HG--
extra : rebase_source : d72ba51ce093d74ef41e6e5390f96f97c08ad5d8
2016-07-14 14:07:00 -04:00
Michael Li
5c0a021d2d bug 1286612 - Remove unsafe assignment in xpcAccessibleValue::GetMinimumIncrement. r=yzenevich 2016-07-13 10:56:00 +02:00
Michael Li
5de5fa74c5 Bug 1286610 - Change MinValue() call to CurValue() in xpcAccessibleValue::GetCurrentValue. r=yzenevich 2016-07-13 10:54:00 +02:00
Alexander Surkov
ee6e42b6de Bug 1276857 - Shutdown an accessible if cannot be inserted into the tree, r=yzen 2016-07-12 23:15:22 -04:00
Lee Salzman
16ca3223d9 Bug 1286317 - part 1 - remove Qt widget usage from gfx. r=jrmuizel 2016-07-12 20:27:57 -04:00
Michael Li
ebd6bd5bbd Bug 1285643 - Make xpcAccessibleValue work with proxied accessibles. r=tbsaunde 2016-07-11 14:26:00 -04:00
Michael Li
c28fee3910 Bug 1284281 - Support QueryInterfacing proxy accessibles to nsIAccessibleHyperlink. r=tbsaunde 2016-07-07 08:13:00 +02:00
Phil Ringnalda
bc94fc8653 Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Chris Peterson
43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Alexander Surkov
2f30d77482 Bug 1279665 - skip aria-owns deferred accessible creation for XUL elements, r=yzen 2016-07-08 11:56:30 -04:00
Wes Kocher
4725525760 Merge m-c to fx-team, a=merge CLOSED TREE 2016-07-08 15:04:54 -07:00
Panos Astithas
235923e449 Use a zip instead of an xpi file to test document states in order to avoid the permission prompt (bug 1004061). r=tbsaunde
MozReview-Commit-ID: 7BOlEGFVaY


--HG--
rename : accessible/tests/mochitest/dumbfile.xpi => accessible/tests/mochitest/dumbfile.zip
2016-07-08 09:45:39 -04:00
Michael Li
cebbecb62d Bug 1283268 - Change nsAutoPtr to UniquePtr in EventTree and Accessible classes. r=nfroyd 2016-06-29 12:57:00 +02:00
Andi-Bogdan Postelnicu
f03cd9f1d5 Bug 1283060 - prevent null pointer dereference in logging::TreeInfo. r=surkov.alexander
MozReview-Commit-ID: KhNGsH8MRVz

--HG--
extra : rebase_source : 25dd42331cdff7c3fca75286350a87f0e536b43e
2016-06-29 14:06:31 +03:00
Carsten "Tomcat" Book
7c1fa57b1d Backed out changeset b3acfc1fa613 (bug 1274381) for causing regression (bug 1281828) and on request from marcoz 2016-06-24 10:53:11 +02:00
Trevor Saunders
e346d8b93e bug 1279984 - allow destroying proxies without a wrapper r=davidb
We can sometimes call ProxyDestroyed() on a proxy that never had a wrapper set
up so we should just bail out of ProxyDestroyed() in that case because there is
nothing to do.
2016-06-22 09:17:16 -04:00
Trevor Saunders
0843a2a966 bug 1279984 - avoid invalid proxy OuterDocAccessibles r=davidb
Before binding a child document to an outer doc proxy we need to make sure its
Outer doc proxies are only allowed to have one child which is the document they
own.  So before we bind a proxied document to a proxied outer doc we need to
make sure the outer doc either doesn't have children or has a document we can
unbind.
2016-06-22 09:17:16 -04:00