Nika Layzell
7ced96212e
Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana
...
We'll probably want to do something more accurate in the future with a
custom clang static analysis pass which validates that XPIDL interfaces
have the expected vtable and struct layout, however doing so would be
more involved than the string matching done in this patch.
In addition to checking for extra virtual methods, we'll likely also
want to check for data members on interfaces, and reject them unless the
class is marked as `[builtinclass]` in addition to some other attribute
which we'll need to add to prevent them from being implemented in Rust
(as c++ data members will not be reflected by the rust macro).
There were 2 instances of a comment which contained the word 'virtual'
within a CDATA block. These comments were moved out of the CDATA block
to avoid triggering the error.
Differential Revision: https://phabricator.services.mozilla.com/D151068
2022-07-06 14:53:06 +00:00
Eitan Isaacson
b2f056737e
Bug 1755383 - P1: Move SelectAccessible methods to Accessible. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D138728
2022-02-16 18:42:53 +00:00
James Teh
d3e92fc1a1
Bug 1742917
part 3: Move LinkIndexOf to HyperTextAccessibleBase. r=eeejay
...
I removed the sync IPDL implementation of LinkIndexOf because we can calculate this in the parent process even with the cache disabled.
Differential Revision: https://phabricator.services.mozilla.com/D132200
2021-12-02 06:55:28 +00:00
Eitan Isaacson
2df0de041b
Bug 1700166 - Clean up obsolete remote iface enum and add iface test. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D109384
2021-03-22 20:39:54 +00:00
Eitan Isaacson
d6a5ece8c2
Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D104927
2021-03-09 04:09:03 +00:00
Cosmin Sabou
84170de8f6
Backed out changeset fd254f9f8ae1 (bug 1695765) for causing xpcAccessible related bustages. CLOSED TREE
2021-03-05 08:51:53 +02:00
Eitan Isaacson
89b8c80806
Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D104927
2021-03-05 05:47:16 +00:00
Butkovits Atila
9ca372253f
Backed out changeset 858bc4755aae (bug 1695765) for causing failures at xpcAccessibleGeneric.h. CLOSED TREE
2021-03-04 02:17:36 +02:00
Eitan Isaacson
a02fa2061c
Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D104927
2021-03-03 22:56:45 +00:00
Eitan Isaacson
6e8749d0da
Bug 1693597 - P2: Rename ProxyAccessible to RemoteAccessible. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D105671
2021-02-19 23:14:33 +00:00
Eitan Isaacson
6e49732365
Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D105670
2021-02-19 23:14:32 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Chris Peterson
fe5cd3d5d9
Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj
...
MozReview-Commit-ID: 8pjYjEvQF42
--HG--
extra : rebase_source : 5eb0bea2ef5f06a811b4f3daf57ce8720f12dd07
2018-02-08 21:22:43 -08:00
Chris Peterson
d09123f248
Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj
...
MozReview-Commit-ID: DE5HkIhsZ6D
--HG--
extra : rebase_source : 94831c1e13a840dd2ea0600f64bcf70c2bf938d9
extra : source : cf9283bf1b0bca3a6311c98e227329d451f80ecb
2018-02-05 22:46:57 -08:00
Yura Zenevich
80424f1513
Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov
...
MozReview-Commit-ID: BTOuBQXA1Ly
2016-11-22 08:40:13 -05:00
Carsten "Tomcat" Book
a6b76e9898
Backed out changeset e79129082f4a (bug 1297474) for crashes in m-oth windows tests
2016-11-21 10:33:49 +01:00
Yura Zenevich
05223b604a
Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov
...
MozReview-Commit-ID: BTOuBQXA1Ly
2016-11-20 00:45:57 -05:00
Sebastian Hengst
419bb7944c
Backed out changeset 48ac718556a0 (bug 1297474) for crash in Marionette test test_switch_remote_frame.py TestSwitchRemoteFrame.test_remote_frame_revisit. r=backout
2016-11-19 09:25:27 +01:00
Yura Zenevich
b2b4d318c0
Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov
...
MozReview-Commit-ID: BTOuBQXA1Ly
2016-11-18 23:35:25 -05: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
ebd6bd5bbd
Bug 1285643 - Make xpcAccessibleValue work with proxied accessibles. r=tbsaunde
2016-07-11 14:26:00 -04:00
Trevor Saunders
434092ec78
bug 1278004 - support QIing proxied accessibles to nsIAccessibleValue r=davidb
2016-06-07 14:18:08 -04:00
Bogdan Postelnicu
ffae8ec404
Bug 1245464 - initialize with 0 mSupportedIfaces in xpcAccessibleGeneric in order to avoid corrupted result after bit-wise operation. r=surkov
2016-02-03 13:53:11 +02:00
Trevor Saunders
5a95547b7e
bug 1243077 - add AccessibleOrProxy xpcAccessible::IntlGeneric() r=davidb
...
It will be useful to get mIntl without casting it to either Accessible* or
ProxyAccessible*. sadly C++ won't let us overload the name Intl() this way
so for now this method is named IntlGeneric().
2016-01-27 18:42:43 -05:00
Trevor Saunders
78f1ab8c9d
bug 1241453 - allow constructing xpcAccessibles with proxies r=davidb
2016-01-26 07:49:25 -05:00
Trevor Saunders
73bf84da55
bug 1241453 - allow storing proxies in xpcAccessibleGeneric::mIntl r=davidb
2016-01-26 07:49:25 -05: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
Trevor Saunders
8cb9eae58a
bug 1122242 - use MOZ_OVERRIDE more in accessible/ r=surkov
2015-01-19 17:41:12 -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
Ehsan Akhgari
341ebb19f1
Bug 1087306 - Fix some more bad implicit constructors in accessible; r=tbsaunde
2014-10-10 17:28:35 -04:00
Alexander Surkov
e55b1c1c87
Bug 1076816 - segregate XPCOM tree, r=davidb
2014-10-21 20:49:28 -04:00