Commit Graph

109 Commits

Author SHA1 Message Date
Trevor Saunders
28bbcd69bd bug 1243077 - simplify GetRoleCB some r=davidb
We can replace the code  dealing with Accessibles and proxies differently with
a call to AccessibleOrProxy::Role()
2016-01-27 18:42:45 -05:00
Trevor Saunders
1fbafdb262 bug 1243077 - make it possible to get MaiAtkObject::mAccWrap from an AtkObject* without casting to Accessible* or ProxyAccessible* r=davidb 2016-01-27 18:42:44 -05:00
Trevor Saunders
6b47fdb58d bug 1243077 - add AccessibleOrProxy::IsNull() r=davidb 2016-01-27 18:42:42 -05:00
Trevor Saunders
3479e52927 bug 1241453 - clean up GetAccessibleWrap() r=davidb
We can simplify it some to make better use of AccessibleOrProxy.
2016-01-26 07:49:25 -05:00
Trevor Saunders
f7f97fab77 bug 1241453 - switch MaiHyperLink to use AccessibleOrProxy r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
6b82afaf17 bug 1241453 - switch MaiAtkObject to use AccessibleOrProxy r=davidb 2016-01-26 07:49:25 -05:00
Sylvestre Ledru
a898200615 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
Trevor Saunders
5c8b5951d4 bug 1203861 - use strncmp() instead of nsCString.equals() to compare names r=davidb
AtkObject stores the name as a C string, but nsCString can store strings with
'\0' in the middle.  That means that if we compute a name containing '\0'
nsCString.equals() will nevr consider that string to be equal to
AtkObject::name, however we only want to compare up to the first '\0' because
that is the only part Atk will ever see.  So we should use strncmp() instead of
nsCString.equals().
2016-01-08 14:23:08 -05:00
Trevor Saunders
3829790593 bug 1213402 - Fire numeric value change events for proxies r=davidb 2015-11-10 15:55:09 -05:00
Trevor Saunders
d77a67806c 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
Trevor Saunders
652f6a87d0 bug 1213516 - fire showing state change event for atk in place of an alert event r=davidb 2015-10-16 14:59:08 -04:00
Phil Ringnalda
a0527312e8 Back out changeset 12ac8139ecd9 (bug 1213516) for Linux build bustage
CLOSED TREE
2015-10-15 22:52:58 -07:00
Trevor Saunders
9f4f208808 bug 1213516 - fire showing state change event for atk in place of an alert event r=davidb 2015-10-16 01:24:26 -04:00
Trevor Saunders
c5766349f0 bug 1214864 - make SetCarretOffset() async r=davidb
It calls TakeFocus() which needs to be async to avoid deadlocks, so it needs to
be async as well.
2015-10-15 15:04:37 -04:00
Trevor Saunders
712251fdaf bug 1210884 - expose the action interface on proxied accessibles r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders
d5c97fd550 bug 1209615 - make remote primary docs RELATION_EMBEDS targets for atk r=davidb 2015-10-07 18:26:56 -04:00
Olli Pettay
5ccd441014 Bug 1210407 - teach nsMaiInterfaceTable to use proxies, r=tbsaunde 2015-10-06 22:36:29 +03:00
Olli Pettay
efdb42747e Bug 1210408 - make nsMaiInterfaceAction work with proxies, r=tbsaunde 2015-10-06 22:14:18 +03:00
Trevor Saunders
240195d9f0 bug 1210803 - expose the selection interface on proxied accessibles r=davidb 2015-10-02 06:38:21 -04:00
Alexander Surkov
c48a3fa5a4 Bug 1210108 - Emit object:state-changed:showing event for doorhangers, r=tbsaunde 2015-10-01 11:27:33 -04:00
Olli Pettay
9682ed43f1 Bug 1207253 - make getChildCountCB correctly deal with outerdoc accessibles with proxy children, r=tbsaunde 2015-09-23 01:43:51 +03:00
Olli Pettay
aa5d347dec Bug 1199785 - Make atk methods in nsMaiInterfaceComponent.cpp to work with ipc proxies, r=tbsaunde 2015-09-02 00:57:57 +03:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Trevor Saunders
1605394bcb bug 1196880 - correctly compute interfaces for proxies r=davidb
interfaces is supposed to be a bit mask indexed by MAI_INTERFACE_X, so when
adding interfaces MAI_INTERFACE_X should be used as an index of the bit to set,
       not the mask to add.
2015-08-20 15:54:26 -04:00
Trevor Saunders
5020e2c060 bug 1195471 - make getChildCountCB work with proxies r=davidb 2015-08-18 14:36:11 -04:00
Trevor Saunders
60e5b29709 bug 1185122 - don't try and fire platform events in the child process r=lsocks 2015-08-06 13:15:12 -04:00
Trevor Saunders
10e84b1682 bug 1173876 - make getText{At,After,Before}OffsetCB work with proxies r=lsocks 2015-07-16 16:40:18 -04:00
Wes Kocher
48ff3f1f1f Backed out changeset 5a310370cec1 (bug 1173876) 2015-07-14 14:35:53 -07:00
Trevor Saunders
d82298a23e bug 1173876 - make getText{At,After,Before}OffsetCB work with proxies r=lsocks 2015-07-14 15:45:57 -04:00
Trevor Saunders
281dd4576e bug 1172523 - fire useful text change events for proxies r=lsocks 2015-07-14 11:02:03 -04:00
Trevor Saunders
194d2c75b7 bug 1172523 - Move AccessibleWrap::FireAtkTextChangedEvent to MaiAtkObject::FireTextChangeEvent r=lsocks 2015-07-14 11:02:02 -04:00
Frédéric Wang
7f8cc1546f Bug 1176094 - [ATK] Assign role SECTION to math groups instead of PANEL/UNKNOWN. r=surkov 2015-06-18 16:07:00 +02:00
Frédéric Wang
db18e4ee03 Bug 1175182 - Expose fractions and roots as ATK_ROLE_PANEL for ATK < 2.16. r=surkov 2015-06-16 10:44:00 -04:00
Lorien Hu
de0488d79e Bug 1174204 - Fixed gecko to atk attribute conversion for fg-color and bg-color to be correctly formatted r=davidb 2015-06-12 16:39:16 -04:00
Trevor Saunders
1b5ddbbba3 bug 1171728 - null check the result of ProxyAccessible::OuterDocOfRemoteBrowser
r=davidb

This probably isn't the right fix, or at least the root cause of
ProxyAccessible::OuterDocOfRemoteBrowser returning null needs to be understood
better, but I don't have time to do that now, so I'm just checking for null and
asserting as a reminder to investigate this later.
2015-06-12 10:33:11 -04:00
Ryan VanderMeulen
0d2ab00411 Backed out 5 changesets (bug 1172516, bug 1172525, bug 1172523) for e10s test_selectioncarets2.py failures.
Backed out changeset 65d9144969e4 (bug 1172516)
Backed out changeset 3368f2dc0ee6 (bug 1172523)
Backed out changeset d6096f9659f7 (bug 1172523)
Backed out changeset cda3d99ef134 (bug 1172523)
Backed out changeset a411d320bdba (bug 1172525)

CLOSED TREE
2015-06-11 14:01:50 -04:00
Trevor Saunders
2f9fbf733d bug 1172523 - fire useful text change events for proxies r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
5ccf768f7c bug 1172523 - Move AccessibleWrap::FireAtkTextChangedEvent to MaiAtkObject::FireTextChangeEvent r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
54dce77086 bug 1172053 - don't malloc the signal name in FireAtkTextChangedEvent r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
195d4c0296 bug 1172053 - don't call malloc in FireAtkShowHideEvent r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
4a9a25c9f1 bug 1107337 - Teach refChildCB to deal with proxies r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
a247ed1a16 bug 1171728 - Only look for an OuterDoc accessible parent of a proxy if it doesn't have a proxy parent r=lsocks 2015-06-05 16:10:34 -04:00
Trevor Saunders
f49c42798f bug 1169376 - Allow getting the OuterDocAccessible for the tab's top level document r=davidb 2015-05-29 15:51:30 -04:00
Neil Rashbrook
441960eebc Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-16 09:07:10 +01:00
Trevor Saunders
13ad23633a bug 1164976 - fire useful state change and caret move events for proxies r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
a7221f7c1a bug 1164976 - move AccessibleWrap::FireStateChangeEvent to be a member of MaiAtkObject r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
a13b05ac34 bug 1164193 - emit a few more events on proxied accessibles for atk r=davidb 2015-05-15 20:29:14 -04:00
Wes Kocher
484229a7ff Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds 2015-05-14 16:35:18 -07:00
Neil Rashbrook
5b5c002aaf Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-15 00:00:33 +01:00
Trevor Saunders
785b33b959 bug 1164135 - fix AtkHyperlink::GetStartIndex r=davidb 2015-05-12 14:51:24 -04:00