Samuel Thibault
782e0fca1e
Bug 1523118 atk: Implement scrollsubstringto ATK API. r=surkov
2019-01-26 20:38:53 +01:00
Eitan Isaacson
e18c6010be
Bug 1520611 - Consolidate ProxyAccessible::MustPruneChildren into nsAccUtils. r=Jamie
...
Differential Revision: https://phabricator.services.mozilla.com/D16997
--HG--
extra : moz-landing-system : lando
2019-01-24 00:23:30 +00:00
Dorel Luca
207c24c7d2
Backed out 3 changesets (bug 1520611) for Android gv-junit failures in org.mozilla.geckoview.test.AccessibilityTest.testTree
...
Backed out changeset 0a48519a9ad1 (bug 1520611)
Backed out changeset 1fea939a7e7c (bug 1520611)
Backed out changeset c9e244ccc88d (bug 1520611)
--HG--
extra : rebase_source : 448bfe14fbb8741251064da295e036a93a376145
2019-01-23 12:09:29 +02:00
Eitan Isaacson
112ac1fb11
Bug 1520611 - Consolidate ProxyAccessible::MustPruneChildren into nsAccUtils. r=Jamie
...
Differential Revision: https://phabricator.services.mozilla.com/D16997
--HG--
extra : moz-landing-system : lando
2019-01-22 19:49:15 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01: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
Ehsan Akhgari
6099c9f67b
Bug 1508472 - Part 1: First batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13046
--HG--
extra : moz-landing-system : lando
2018-11-27 10:08:58 +00:00
Mike Hommey
229e466656
Bug 1504906 - Add another -Werror exception for G_DEFINE_TYPE_EXTENDED. r=gps
...
Versions of glib newer than the one we currently use adds a function we
don't use.
Differential Revision: https://phabricator.services.mozilla.com/D11136
2018-11-08 19:49:38 +09:00
Mike Hommey
ad2fed0601
Backed out 6 changesets (bug 1504906 and bug 1505652) to give time to toolchains and docker images to build without blocking other landings.
...
Backed out changeset 2fe1e2b7d9c6 (bug 1504906)
Backed out changeset 27b4002951a4 (bug 1504906)
Backed out changeset f7a685b16579 (bug 1504906)
Backed out changeset f8064dbb8009 (bug 1504906)
Backed out changeset f899fbb4a5d7 (bug 1504906)
Backed out changeset 3f71db4aef73 (bug 1505652)
2018-11-08 17:18:05 +09:00
Mike Hommey
53f7817573
Bug 1504906 - Add another -Werror exception for G_DEFINE_TYPE_EXTENDED. r=gps
...
Versions of glib newer than the one we currently use adds a function we
don't use.
Differential Revision: https://phabricator.services.mozilla.com/D11136
2018-11-08 17:13:20 +09:00
Sylvestre Ledru
dd5741407b
Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan
...
Too hard/impossible for the tool to format correctly these structs
Differential Revision: https://phabricator.services.mozilla.com/D8569
--HG--
extra : moz-landing-system : lando
2018-10-12 20:48:24 +00:00
Eitan Isaacson
4561e8e337
Bug 1479036 - Android classes role additions. r=surkov
...
--HG--
extra : rebase_source : a3612efad26d164c33e7724079722c3163b5cf71
2018-08-09 14:43:00 +03:00
Robert Bartlensky
f68f435575
Bug 1475964 - Add null checks in nsMaiInterfaceTableCell.cpp. r=davidb
...
MozReview-Commit-ID: 5RSioCelGo3
--HG--
extra : amend_source : 2c811fde280f3b81048eda4a2a09439c49e9dcee
2018-07-16 15:16:42 +01:00
Paolo Amadini
dc49387df8
Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov
...
MozReview-Commit-ID: Bx1p1nTurCz
--HG--
extra : rebase_source : 6910e500f30eb42b45032dbab85a3dc9c014390b
2018-07-18 11:23:32 +01:00
Robert Bartlensky
9873588035
Bug 1472672 - Add null check for textAcc. r=davidb
...
MozReview-Commit-ID: AL7R1fdlcvN
--HG--
extra : amend_source : 653d47dd5b5aaf637e5f5796239b304f4f27ccc2
2018-07-04 14:09:32 +01:00
Tokio Kajitsuka
0f609dc771
Bug 1438193 - part11-4: Name r=surkov
...
turn Name & ARIAName & NativeName into const functions
2018-05-16 01:13:02 +09:00
Samuel Thibault
9fd0d30422
Bug 1458548 - atk: Implement scrollto ATK API. r=surkov
2018-05-02 15:55:33 +02:00
Alexander Surkov
1b66a81b51
Bug 1449530 - fix bustage of a11cb2c5d1f9c CLOSED TREE
2018-04-03 11:00:48 -04:00
Alexander Surkov
4c64dee806
Bug 1449530 - clean up ATK states mapping, r=eeejay
2018-04-03 10:26:57 -04:00
Samuel Thibault
127ee40c95
Bug 1445954 - atk: Fix getTextAfter/Before/AtOffset in character boundary case. r=surkov
2018-03-16 05:52:00 -04:00
Samuel Thibault
6f09cb80ba
Bug 1445968 Accessible: factorize and optimize testing for password role r=surkov
...
--HG--
extra : rebase_source : 5f945bab6c2c86d059893082f9f04d6ac4492f73
2018-03-16 13:02:00 +02:00
Samuel Thibault
39ed413777
Bug 1346535 - atk: Introduce U+FEFF characters to match AT-SPI offsets with DOM offsets. r=surkov, r=dbaron
2018-03-16 15:57:00 -04:00
Alexander Surkov
ea486874e9
Bug 857348 - assert if defunct state is out of sync with content ref, rs=jamie
2018-02-27 16:34:12 -05:00
Sylvestre Ledru
424664ff30
Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman
...
MozReview-Commit-ID: 3v8D600g8St
--HG--
extra : rebase_source : 34ea6f9868c1b322076c24daa75dc33e27b6704e
2018-01-10 08:52:04 +01:00
Sylvestre Ledru
eabcdd21b2
Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman
...
MozReview-Commit-ID: Bo0m7n078oh
--HG--
extra : rebase_source : 1874ac3e0abca65b821b5d04a6610a5cbb63fe24
2018-01-09 11:51:07 +01:00
Sylvestre Ledru
a9961096c0
Bug 1394734 - Simplify various corner cases r=glandium
...
MozReview-Commit-ID: 4s4JdXZPvmv
--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru
4591d82b23
Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: HbF5oT5HW6f
--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Chris Peterson
c4dff4f83d
Bug 1402666 - Part 3: Replace Replace(NS_LITERAL_STRING("")) with ReplaceLiteral(u""). r=erahm
...
MozReview-Commit-ID: Ji6UdG32RF4
--HG--
extra : rebase_source : 1565a1e99f40785dad0d0d7652e42222dcdf8881
extra : source : c57e906ba75fda4745134ef8307589e28f4c8d70
2017-09-15 19:32:55 -07:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Joanmarie Diggs
b66b7af7bc
Bug 1355921 - Elements with a defined, non-false value for aria-current should expose ATK_STATE_ACTIVE. r=marcoz
...
Create states::CURRENT and add it to the list of "universal" (global)
ARIA states. Map states::CURRENT to ATK_STATE_ACTIVE and emit accessible
state-change notifications when the value of aria-current is modified.
2017-07-03 17:02:00 +02:00
Joanmarie Diggs
1115881728
Bug 1375460 - "haspopup" AtkObject attribute missing if multiprocess enabled. r=surkov
...
Move the object attribute exposure of states::HASPOPUP from the ATK wrapper
code to the shared accessibility code. Call UniversalStatesFor() rather than
State() for performance.
--HG--
extra : rebase_source : e31c2d00da302538a7f6962d8f4dfd148a7d877e
2017-06-22 07:25:00 -04:00
Joanmarie Diggs
d8b6b99320
Bug 1355447 - Map non-false values of aria-haspopup to ATK_STATE_HAS_POPUP. r=surkov
...
Change the mapping of states::HASPOPUP from kNone to ATK_STATE_HAS_POPUP.
No new test added because there is not yet support for testing platform
accessibility API mappings via mochitest.
--HG--
extra : rebase_source : bdf50704fa23db29ec5d5b3cdc0b51c8e6466215
2017-06-22 04:34:00 -04:00
Joanmarie Diggs
c306e05c88
Bug 1343537 - Implement ARIA DPUB extension. r=surkov
...
--HG--
extra : rebase_source : 38af7ac790cb60d952b1dc2885f50fc9c15cdea6
2017-06-13 15:06:08 -04:00
David Major
ed0b8f8653
Bug 1344615: Remove nsXPCOMStrings.{h,cpp} r=bsmedberg
...
These are now dead code.
MozReview-Commit-ID: AClU0Qx3kmN
--HG--
extra : rebase_source : df83cf89292da1519bb26027c11e14923d5c54a0
2017-03-06 17:52:54 +13:00
Colomban Wendling
d8bb7d0fa3
Bug 1308908 - Compare the whole accessible name when checking equality. r=tbsaunde
...
Use strcmp() instead of strncmp() when comparing the AtkObject name
before changing it. 9133117f410c06ad7fa25323a168bc97200043b9 changed
from Equals() to strncmp() to prevent issues related to embedded NUL
bytes, but the change lead to only checking if the AtkObject name has
the new value as prefix. Instead, use strcmp() to check the whole
C strings, but still stopping at the first NUL byte in the new name.
strcmp() has to be safe here, as NS_ConvertUTF16toUTF8::get() has to
return a NUL-terminated string or the code would crash a few lines
below when calling strdup() on it.
2017-01-27 09:36:00 -05:00
Trevor Saunders
d1713296dd
bug 1338755 - make RemoteChildDoc() return a DocAccessibleParent* r=yzen
2017-02-17 09:06:26 -05:00
Sylvestre Ledru
345833852a
Bug 1338086 - Remove useless else blocks in order to reduce complexity accessible/atk r=davidb
...
MozReview-Commit-ID: 7ZVqMkXZ5vj
--HG--
extra : rebase_source : 03e1dc9285ce9096a2d84a6e64d22d71a5363dbb
2017-02-14 15:01:23 +01:00
Trevor Saunders
ae0d5b0f94
bug 1315985 - actually expose the atk table cell interface when appropriate r=davidb
2016-11-08 14:58:20 -05:00
Trevor Saunders
341a7c5880
bug 1313376 - reinstall the key event snooper when necessary r=davidb
...
If we unregister the last key event listener we will uninstall the key event
snooper, so we need to reinstall it when a new key event listener is added.
2016-10-27 18:11:54 -04:00
Trevor Saunders
cb5a7921ed
bug 1305402 - implement the AtkTablecell interface r=davidb
...
This is a pretty straight forward wrapper around the internal table cell
interface. However we need to be careful to only expose this interface if we
are dealing with a version of ATK new enough to understand it.
2016-10-18 13:37:26 -04:00
Trevor Saunders
6e30d32f4e
bug 1305402 - dynamically lookup the atk_table_cell_get_type function r=davidb
...
We need to deal with versions of the atk library that don't provide this
function, so we need to dynamically look it up instead of statically refering
to it.
2016-10-18 13:37:25 -04:00
Sebastian Hengst
2c548da812
Backed out changeset 3152577aab9b (bug 1305402)
2016-10-13 23:15:09 +02:00
Trevor Saunders
1e63efcedc
bug 1305402 - implement the AtkTablecell interface r=davidb
...
This is a pretty straight forward wrapper around the internal table cell
interface. However we need to be careful to only expose this interface if we
are dealing with a version of ATK new enough to understand it.
2016-10-13 16:18:27 -04:00
Trevor Saunders
c5cac1582b
bug 1204171 - make mai_util_add_key_event_listener return the correct listener id r=davidb
...
The listener id is postincremented as a subexpression of being inserted into
the hash table. That means the key inserted into the table is 1 less than the
value returned from the function. Which means that later attempts to remove
the returned id will fail because that hash table knows about a different id.
2016-09-26 10:17:59 -04:00
Alexander Surkov
8665b7eb47
Bug 945915 - Expose atk/at-spi STATE_CHECKABLE, r=yzen
2016-09-24 09:44:10 -04:00
Cykesiopka
2c7b7b622f
Bug 1297649 - Fix misleading indentation in UtilInterface.cpp and nsMaiInterfaceDocument.cpp. r=tbsaunde
...
MozReview-Commit-ID: 4NxqGBDlIrW
--HG--
extra : rebase_source : cda000969c1982614bb5d01e120efed1c74f7ec5
2016-08-31 19:51:18 +08:00
Cykesiopka
fd03bd37e1
Bug 1297647
- Fix misleading indentation in nsMaiHyperLink.cpp. r=tbsaunde
...
MozReview-Commit-ID: 3CG7EwfIEkT
--HG--
extra : rebase_source : 03ab3017694774589376502fef13b0bd90ed4ff1
2016-08-31 19:55:37 +08:00
Aaron Klotz
1ee837c40c
Bug 1268544: Refactor PDocAccessible and its dependencies, and add code to integrate remote COM objects; r=tbsaunde
...
MozReview-Commit-ID: Fr4q3dq1ZQU
--HG--
rename : accessible/ipc/DocAccessibleChild.cpp => accessible/ipc/other/DocAccessibleChild.cpp
rename : accessible/ipc/DocAccessibleChild.h => accessible/ipc/other/DocAccessibleChild.h
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/other/PDocAccessible.ipdl
rename : accessible/ipc/moz.build => accessible/ipc/other/moz.build
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/win/PDocAccessible.ipdl
2016-08-15 17:14:53 -06:00