Commit Graph

325 Commits

Author SHA1 Message Date
Alexander Surkov
caf3e3023c Bug 1278294 - make all other tree loggings to log document address, part4, r=yzen 2016-06-08 13:45:22 -04:00
Alexander Surkov
fab3d8aff2 Bug 1278294 - text logging should log document address, part3, r=yzen 2016-06-08 11:39:28 -04:00
Alexander Surkov
a79ccd2084 Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen 2016-06-08 07:33:06 -04:00
Wes Kocher
511408a877 Backed out changeset 452617569aeb (bug 1278294) for build bustage CLOSED TREE 2016-06-07 14:48:22 -07:00
Trevor Saunders
607fdf944b bug 1278392 - use std::unique_ptr for AccIterators r=froydnj 2016-06-07 17:36:44 -04:00
Alexander Surkov
7a5475e4a8 Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen 2016-06-07 17:21:59 -04:00
Alexander Surkov
c203395a1e Bug 1278294 - make TreeInfo to log document address, r=yzen 2016-06-07 17:20:12 -04:00
Marco Zehe
194d876eb2 Bug 634004 - Implement accessibility API support for html:details and html:summary elements, r=surkov
This implements the roles, states, and action names, but omits the state change event part that is currently made impossible by us recreating the html:summary accessible once it toggles the html:details open state. This is probably due to some reframing causing us to recreate the accessible. Suggest to move that to a separate bug and implement the basics now and the event later.

MozReview-Commit-ID: FEi5RIXdkG0

--HG--
extra : rebase_source : 9b65bc28483238e2339561e6494ccc2884cb7c42
2016-06-01 17:07:56 +02:00
Alexander Surkov
5cf0dfd35e Bug 1268069 - embeded object collection may be not updated on removals, r=yzen 2016-05-25 15:48:45 -04:00
Alexander Surkov
db7566fedf Bug 1268320 - stop event tree processing if the document goes shutdown, r=yzen 2016-05-19 14:35:20 -04:00
Alexander Surkov
16496b7d62 Bug 1268320 - rename AccEvent::GetDocAccessible to AccEvent::Document, r=marcoz 2016-05-19 13:56:58 -04: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
Masayuki Nakano
3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Alexander Surkov
a24bc2972b Bug 1270218 - keep indexes in parent updated in-the-middle of insertions and removals, r=yzen 2016-05-05 10:42:00 -04:00
Alexander Surkov
76c26b7a63 Bug 1034978 - crash in text attributes computation, r=marcoz 2016-05-03 12:47:05 -04:00
Alexander Surkov
fff94f82b2 Bug 1268677 - embedded object index might be not update, r=yzen 2016-05-02 15:55:35 -04:00
Alexander Surkov
7679e64fd6 Bug 1264852 - destroy an event tree as it gets processed, r=n.nethercote 2016-04-28 13:12:46 -04:00
CJKu
3acf2e463b Bug 1266948 - text-decoration-color: currentcolor should not use value from -webkit-text-fill-color; r=jfkthame
MozReview-Commit-ID: 2SfENZieSzQ

--HG--
extra : rebase_source : 3880f8fd6ae18e9f4b1cbf0a2f5eff48c060548b
2016-04-26 23:56:44 +08: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
f2bc8b52ca bug 1262563 - fire show / hide events for proxied accessibles r=davidb 2016-04-21 13:41:09 -04:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Alexander Surkov
83f637d163 Bug 1262417 - bind a value change event with reorder event firing, r=yzen 2016-04-19 11:51:51 -04:00
CJKu
f530904493 Bug 1261578 - Part 2. Correct text decoration color; r=jfkthame
MozReview-Commit-ID: LfZnmTnL5KY

--HG--
extra : rebase_source : 1bb95f3a8b59c2897f55e1f17ee8168366ca1cf5
2016-04-19 17:09:54 +08:00
Nathan Froyd
dc00d2ec98 Bug 1264784 - part 1 - call nsIFrame::{GetScreenRect,GetView} instead of their *External counterparts; r=dholbert
The latter functions just call through to the former functions, and
we're going to remove the latter functions in a separate, subsequent
patch.
2016-04-15 19:37:35 -04:00
Alexander Surkov
79ec4018bb Bug 1264526 - process ARIA owns relocations for in-the-document accessibles only, r=yzen 2016-04-14 13:45:16 -04:00
Alexander Surkov
a426e529c3 Bug 1263188 - fix event tree coalescence, part4, r=yzen 2016-04-14 07:46:58 -04:00
Alexander Surkov
77445951cd Bug 1263188 - more assertions, part3, r=yzen 2016-04-14 07:39:44 -04:00
Alexander Surkov
5b34156025 Bug 1263188 - fix event tree building, part2, r=yzen 2016-04-13 11:22:19 -04:00
Trevor Saunders
8a74954930 bug 1259023 - make nsIAccessible.parent work with proxies r=yzen 2016-04-13 04:00:56 -04:00
Alexander Surkov
bb313c6576 Bug 1263188 - fix event tree cutting, part1, r=yzen 2016-04-12 15:48:29 -04:00
Jonathan Watt
de4c3d11fe Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku 2016-03-31 13:20:14 +01:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Jonathan Watt
fb7bb15e68 Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
Cameron McCormack
672aaef5a4 Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:43 +10:00
Cameron McCormack
cb363fa1df Bug 1261754 - Part 6: Move vertical-align from nsStyleTextReset to nsStyleDisplay. r=dholbert 2016-04-12 15:52:41 +10:00
Trevor Saunders
5deea4c6a1 bug 1261144 - stop including Filters.h in EmbeddedObjCollector.h r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
77a75b2795 bug 1261144 - devirtualize the dtor of EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
7f0c0c844c bug 1261144 - remove filters::GetEmbeddedObj() because it is unused r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
72142ef744 bug 1261144 - call Accessible::IsText() directly from EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
a6e634768b bug 1261144 - use filters::GetEmbeddedObject() directly in EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
9d406fe177 bug 1261144 - rename AccCollector.{h,cpp} to EmbeddedObjCollector.{h,cpp} r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
1b3f09554d bug 1261144 - remove the AccCollector class r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
dacc371487 bug 1261144 - move the data members of AccCollector to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
524f71756a bug 1261144 - devirtualize AppendObject() because the base class impl is never called r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
f7b3348349 bug 1261144 - move EnsureNGetIndex() to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
603f72aeff bug 1261144 - move EnsureNGetObject to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
aba880c668 bug 1261144 - devirtualize GetIndexAt() because the base class version is never called r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
57ae90bd8b bug 1261144 - move GetAccessibleAt to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
ddf532b5f7 bug 1261144 - move Count() from AccCollector to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Alexander Surkov
79b3a94e0d Bug 1263188 - stop bleeding, r=yzen 2016-04-11 10:01:13 -04:00
Alexander Surkov
f34bc138b9 Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
Alexander Surkov
51947ead2c Bug 1261425 - coalesce mutation events by a tree structure, r=yzen 2016-04-07 09:30:22 -04:00
Sebastian Hengst
589be256a0 Backed out changeset 0a9ecb630db6 (bug 1234121) for Marionette-e10s crashes on Linux in test_accessibility.py TestAccessibility.test_click_raises_no_exceptions. r=backout on a CLOSED TREE 2016-04-07 14:17:13 +02:00
Sebastian Hengst
c77c3ae876 Backed out changeset 071d44d633ea (bug 1234121) 2016-04-07 14:15:41 +02:00
Lorien Hu
edd5ded287 Bug 1234121 - FocusManager focused proxy cleared on hide event (Part 2) r=tbsaunde 2016-04-07 04:18:15 -07:00
Lorien Hu
4c94b38c77 Bug 1234121 - Remove sync calls for FocusedChild (Part 1) r=tbsaunde 2016-01-10 17:11:51 -08:00
Alexander Surkov
41a839ff6b Bug 1261408 - detect ARIA owned children early to avoid tree moving, r=yzen 2016-04-06 07:58:58 -04:00
Alexander Surkov
ead73ecd57 Bug 1261177 - split GetOrCreateAccessible method into two (Get and Create versions), r=yzen 2016-04-06 07:23:41 -04:00
Alexander Surkov
62081fdb80 Bug 1261170 - add a single node ProcessContentInserted method version, r=yzen 2016-04-05 20:48:30 -04:00
Alexander Surkov
2cf5799f02 Bug 1261174 - more events logging, r=yzen 2016-04-05 18:39:55 -04:00
Yura Zenevich
3288128792 Bug 1259023 - if proxy is a nullpointer, do not set IS_PROXY in AccessibleOrProxy. r=tbsaunde
MozReview-Commit-ID: Gx6GAAKZ7bo
2016-04-04 16:37:57 -04:00
Masayuki Nakano
57445d0047 Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
MozReview-Commit-ID: FLbows8davI

--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Alexander Surkov
a85d9d1c0c Bug 1260496 - get rid of CacheChildren for application accessible, r=marcoz 2016-04-01 10:57:06 -04:00
Alexander Surkov
7e614aef9d Bug 1260237 - remove InvalidateChildren, r=yzen 2016-03-31 20:46:58 -04:00
Trevor Saunders
37452b3a13 bug 1255009 - make AccShowEvent store the insertion index of the new child r=davidb 2016-03-28 09:09:22 -04:00
Arata Furukawa
676913b9bb Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
MozReview-Commit-ID: 7lBCEVkanvF

--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Xidorn Quan
60bcaa5c0b Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
MozReview-Commit-ID: 6xrHYbgHGVd

--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan
8acf32453c Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
MozReview-Commit-ID: 4KMLCz6wQHQ

--HG--
extra : rebase_source : 08964aef3b335163985dd6818b4a6ae3a4e34fce
2016-03-17 12:07:47 +08:00
Trevor Saunders
a6f221b6a2 bug 1257287 - add nsIDocShell.tabChild r=smaug 2016-03-18 15:54:12 -04:00
Mike Hommey
7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09:00
Nicholas Nethercote
7cb4896c8f Bug 1255655 - Const-ify sWAIRoleMaps. r=tbsaunde.
--HG--
extra : rebase_source : 1274cdb26bbc41456e91b67849733bfb5bc89401
2016-03-11 13:13:01 +11:00
Alexander Surkov
2792eb591a Bug 1249730 - make TreeWalker bi-directional, follow up fix, r=yzen 2016-03-11 11:14:29 -05:00
Alexander Surkov
7290c55f96 Bug 1254989 - extend TreeWalker::Next to accept a stopper node, r=yzen 2016-03-10 15:50:37 -05:00
Alexander Surkov
8efa10b16c Bug 1249253 - content removal processing can wrongly remove ARIA owned children, r=yzen 2016-03-10 15:46:44 -05:00
Alexander Surkov
2e774e974c Bug 1249730 - make TreeWalker bi-directional, r=yzen 2016-03-08 08:27:59 -05:00
Alexander Surkov
3ed80742a7 Bug 1249730 - make TreeWalker bi-directional, r=yzen 2016-03-07 16:43:27 -05:00
Alexander Surkov
5f66eadca0 Bug 1251944 - get rid of nsCoreUtils::GetRoleContent, r=davidb 2016-03-04 10:36:18 -05:00
Alexander Surkov
4a93a11cd7 Bug 1251941 - aria::GetRoleMap should take element, r=davidb 2016-03-03 07:45:47 -05:00
Alexander Surkov
2bf7aa7227 Bug 1251897 - DocAccessible constructor doesn't have to take root element as an argument, r=davidb 2016-03-02 09:39:06 -05:00
Alexander Surkov
b5d992383d Bug 1251752 - logging: add tree specific methods, r=yzen 2016-03-01 13:07:20 -05:00
Alexander Surkov
bd8b96d1c0 Bug 1251712 - propagate a context flag for alerts, r=davdib 2016-02-29 10:08:40 -05:00
Alexander Surkov
77a77d1df9 Bug 1251337 - TreeWalker doesn't have to check ARIA owned children for each DOM state, r=yzen 2016-02-28 11:30:46 -05:00
Alexander Surkov
26f40b9ba5 Bug 1251218 - add special TreeWalker constructor for children creation, r=marcoz 2016-02-26 13:29:27 -05:00
Alexander Surkov
8d10d8bfb6 Backout bug 1251218 2016-02-26 11:04:05 -05:00
Alexander Surkov
e867f719b9 Bug 1251218 - follow up fixes2 2016-02-26 10:59:30 -05:00
Alexander Surkov
d0eb7ca67e Bug 1251218 - follow up fixes 2016-02-26 10:56:34 -05:00
Alexander Surkov
0eb122a31e Bug 1251218 - add special TreeWalker constructor for children creation, r=marcoz 2016-02-26 10:53:21 -05:00
Alexander Surkov
3ac6460f92 Bug 1250506 - check if node is acceptable as a child before creating an accessible for it, r=davidb 2016-02-24 08:01:21 -05:00
Alexander Surkov
58922d0029 Bug 1249927 - devirtualize CanHavaAnonymousChildren, r=davdib 2016-02-22 12:32:03 -05:00
Alexander Surkov
aee776059c Bug 1248840 - rename TreeWalker::NextChild, r=yzen 2016-02-18 17:57:17 -05:00
Alexander Surkov
df9401a677 Bug 1242989 - keep content insertions in a hash, r=tbsaunde 2016-02-18 09:31:42 -05:00
Alexander Surkov
d089ffebc9 Bug 1247364 - use AllChildrenIterator::Seek by a11y tree walker, r=davidb 2016-02-11 08:24:38 -05:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Alexander Surkov
08db3d66c1 Bug 1220502 - ignore not visible text nodes for tree update, r=tbsaunde, roc 2016-02-01 17:05:45 -05:00
Phil Ringnalda
d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Trevor Saunders
16d18bf692 bug 1243077 - add AccessibleOrProxy::LastChild() r=davidb 2016-01-27 18:42:48 -05:00
Trevor Saunders
9b8f7b61ec bug 1243077 - add AccessibleOrProxy::FirstChild() r=davidb 2016-01-27 18:42:47 -05:00
Trevor Saunders
3118a36ffe bug 1243077 - add AccessibleOrProxy::ChildAt() r=davidb 2016-01-27 18:42:45 -05:00