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
Sebastian Hengst
87b8b23d92
Backed out changeset a2b189275d7a (bug 1268544) for asserting in Windows M(oth) jobs. r=backout on a CLOSED TREE
...
--HG--
rename : accessible/ipc/other/DocAccessibleChild.cpp => accessible/ipc/DocAccessibleChild.cpp
rename : accessible/ipc/other/DocAccessibleChild.h => accessible/ipc/DocAccessibleChild.h
rename : accessible/ipc/win/PDocAccessible.ipdl => accessible/ipc/PDocAccessible.ipdl
2016-08-19 10:04:23 +02:00
Aaron Klotz
1d9ba42f65
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
Phil Ringnalda
0d69896d44
Backed out 6 changesets (bug 1288841, bug 1268544) for causing Win7 e10s Marionette to fail in test_import_script.py TestImportScriptContent.test_imports_apply_globally
...
Backed out changeset c9f49a119255 (bug 1288841)
Backed out changeset a9d43e83e070 (bug 1268544)
Backed out changeset d898178a0809 (bug 1268544)
Backed out changeset 4887b4164dd9 (bug 1268544)
Backed out changeset 7c3a5a770cae (bug 1268544)
Backed out changeset 12aa15cf5879 (bug 1268544)
--HG--
rename : accessible/ipc/other/DocAccessibleChild.cpp => accessible/ipc/DocAccessibleChild.cpp
rename : accessible/ipc/other/DocAccessibleChild.h => accessible/ipc/DocAccessibleChild.h
rename : accessible/ipc/win/PDocAccessible.ipdl => accessible/ipc/PDocAccessible.ipdl
rename : accessible/ipc/win/ProxyAccessible.cpp => accessible/ipc/ProxyAccessible.cpp
rename : accessible/ipc/win/ProxyAccessible.h => accessible/ipc/ProxyAccessible.h
2016-08-18 00:30:21 -07:00
Aaron Klotz
c3a25c1ddc
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
Wes Kocher
021a12c86f
Backed out changesets e4a39e456f89 (bug 1268544) for mass build bustage a=backout CLOSED TREE
...
***
Backed out changeset 119a4b187938 (bug 1268544)
***
Backed out changeset d83cba382cfe (bug 1268544)
***
Backed out changeset a0085eb5ffe7 (bug 1268544)
***
Backed out changeset eefa457c3680 (bug 1288843)
***
Backed out changeset 17dc46beb1a5 (bug 1288841)
***
Backed out changeset e76f58f328d4 (bug 1268544)
***
Backed out changeset ffc8ee715fdb (bug 1268544)
***
Backed out changeset 99f0ea19b8f5 (bug 1268544)
***
Backed out changeset 2bdfb9514317 (bug 1268544)
***
Backed out changeset e4b3a5e1756d (bug 1268544)
--HG--
rename : accessible/ipc/other/DocAccessibleChild.cpp => accessible/ipc/DocAccessibleChild.cpp
rename : accessible/ipc/other/DocAccessibleChild.h => accessible/ipc/DocAccessibleChild.h
rename : accessible/ipc/win/PDocAccessible.ipdl => accessible/ipc/PDocAccessible.ipdl
rename : accessible/ipc/win/ProxyAccessible.cpp => accessible/ipc/ProxyAccessible.cpp
rename : accessible/ipc/win/ProxyAccessible.h => accessible/ipc/ProxyAccessible.h
extra : amend_source : dc73ec117c7279539cab36af821637bb1b0236bd
extra : histedit_source : 438ce81f07a53af61b1cabf7620f30b090e7d5e2%2Ccb6472913fe0d7d2ec66bf0cedc18f2e4d00678e
2016-08-15 15:58:45 -07:00
Aaron Klotz
b2d36aaaeb
Bug 1268544: Followup for atk missing header build error; r=me
...
MozReview-Commit-ID: KJva79swOtr
--HG--
extra : rebase_source : 6cae700c8986530aeec87391591c5903de8b39b3
2016-08-15 15:05:28 -06:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07: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
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
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
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Trevor Saunders
471e46a43a
bug 1266518 - add a new event message for AccSelChangeEvents r=davidb
...
For these events atk needs to know about the widget not the event target, and
the easiest way to support that is by adding a new event message that sends the
widget id.
2016-04-25 13:38:06 -04:00
Trevor Saunders
ef5ed9eb74
bug 1266496 - fire some selection events for proxied accessibles r=davidb
...
we map both EVENT_SELECTION_CHANGED and EVENT_TEXT_SELECTION_CHANGED to
"selection_changed" similar to the non proxy case.
2016-04-25 13:38:06 -04:00
Trevor Saunders
f2bc8b52ca
bug 1262563 - fire show / hide events for proxied accessibles r=davidb
2016-04-21 13:41:09 -04:00
Trevor Saunders
eaf7af766b
bug 1262563 - make FireShowHideEvent() a method of MaiAtkObject r=davidb
2016-04-21 13:41:09 -04:00
Trevor Saunders
ce3d231aa4
bug 1262563 - make FireShowHideEvent() return void r=davidb
2016-04-21 13:41:09 -04:00