Граф коммитов

292 Коммитов

Автор SHA1 Сообщение Дата
Alexander Surkov ee6e42b6de Bug 1276857 - Shutdown an accessible if cannot be inserted into the tree, r=yzen 2016-07-12 23:15:22 -04:00
Michael Li cebbecb62d Bug 1283268 - Change nsAutoPtr to UniquePtr in EventTree and Accessible classes. r=nfroyd 2016-06-29 12:57:00 +02:00
Carsten "Tomcat" Book 1a906a731f Backed out changeset af41c2ddcb5a (bug 1278929) for bustage on a CLOSED TREE 2016-06-28 17:00:35 +02:00
Trevor Saunders 82a629182d bug 1278929 - use std::unique_ptr in DocAccessible::AttrRelProviderArray r=froydnj 2016-06-28 10:23:22 -04:00
Carsten "Tomcat" Book 7c1fa57b1d Backed out changeset b3acfc1fa613 (bug 1274381) for causing regression (bug 1281828) and on request from marcoz 2016-06-24 10:53:11 +02:00
Alexander Surkov d219d06d6d Bug 1274381 - scope accessible elements search to inserted nodes, r=yzen, f=marcoz 2016-06-21 10:53:06 -04:00
Alexander Surkov f33c2d2c00 Bug 1278294 - move accessible tree logging into separate method, part=6, r=yzen 2016-06-20 11:35:38 -04:00
Trevor Saunders ea8a901a13 bug 1272712 - send a RoleChanged message when an accessible document's role changes r=davidb 2016-06-14 12:46:21 -04:00
Masayuki Nakano a1636168ba Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
MozReview-Commit-ID: 4n2jEVax37O

--HG--
extra : rebase_source : eb8c0dbedfeac83de330ccef874525dea355b52c
2016-06-09 18:37:36 +09:00
Masayuki Nakano d960ef26d5 Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
MozReview-Commit-ID: AAdxTTKEvrk

--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano 00591135a4 Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
This patch defines mozilla::SelectionType as an enum class.  This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time.  So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).

And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState.  Therefore, implementing one of them may make hard to find them.  On the other hand, nsSelection.cpp is a better file name to look for them.

Note that this patch creates mozilla::Selection::RawType() for binding.  Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.

MozReview-Commit-ID: 81vX7A0hHQN

--HG--
extra : rebase_source : d9f88e217c713c60d1c2578ce6421c73ccba8650
2016-06-11 11:06:37 +09: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
Lorien Hu c86a00d637 Bug 1274194 - HyperTextAccessible InsertChildAt and RemoveChild now call AccessibleWrap for superclass method r=tbsaunde 2016-06-09 14:33:48 -07:00
Alexander Surkov cfb8c639d1 Bug 1278294 - add tree logging for single content insertion, part5, r=yzen 2016-06-08 13:51:47 -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
Alexander Surkov 7a5475e4a8 Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen 2016-06-07 17:21:59 -04:00
Eric Skoglund ebe3c8320b Bug 1031184 - Introduce a NativeDescription method to more easily customize accessible descriptions for various classes, r=MarcoZ
Implemented a NativeDescription method

--HG--
extra : rebase_source : f0129eaea0f183ab3f67963dfbb61141af670f64
2016-05-23 00:12:54 +02:00
Alexander Surkov 59bfc9cc59 Bug 1271946 - no alert, menupopup_start events from created subtree, partial backout of bug 1262420, r=marcoz 2016-05-18 08:58:26 -04:00
Trevor Saunders 256fff4fc9 bug 1271436 - add nsIDocShell::GetCommandManager() r=smaug 2016-05-17 18:16:07 -04:00
Alexander Surkov db0f2224b6 Bug 1273020 - add more assertions, r=njn 2016-05-17 14:11:42 -04:00
Nicholas Nethercote c63787f910 Bug 1273020 - Add missing null checks in ApplicationAccessible. r=surkov.
--HG--
extra : rebase_source : f28ed60b77797d975290f2b45c242526df984364
2016-05-16 12:36:25 +10: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
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
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -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
Alexander Surkov 446c271cb6 Bug 1262420 - split updateTreeInternal for removals and insertions, part 2, r=yzen 2016-04-25 09:10:41 -04:00
Alexander Surkov e3f1739729 Bug 1262420 - split updateTreeInternal for removals and insertions, removals part, r=yzen 2016-04-25 09:07:48 -04:00
Trevor Saunders 907963ea24 bug 1262563 - add IsFromUserInput to show / hide event messages r=davidb 2016-04-21 13:41:09 -04:00
L. David Baron 376413eeb5 Bug 1053986 - Rename nsIFrame::IsBoxFrame to IsXULBoxFrame. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

But with additional manual changes in accessible/.

MozReview-Commit-ID: W0wUPoQsVH
2016-04-20 21:28:30 -07: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
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 79325fd1a2 Bug 1264473 - do not schedule child document rebuinding during main document shutdown, r=yzen 2016-04-14 11:15:16 -04:00
Alexander Surkov 1499275e07 Bug 1262415 - make Accessible to keep weak pointers to parent and children, r=yzen 2016-04-12 11:20:56 -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
Trevor Saunders 9d406fe177 bug 1261144 - rename AccCollector.{h,cpp} to EmbeddedObjCollector.{h,cpp} r=lsocks 2016-04-11 21:41:09 -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 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
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 c2cdfb8b81 Bug 1261167 - remove Accessible::TestChildCache, r=marcoz 2016-04-05 17:35:31 -04:00
Alexander Surkov 167cbebba2 Bug 1261165 - remove Accessible::ChildrenFlags, r=yzen 2016-04-05 17:34:00 -04:00
alexander ddd1904862 Bug 1260862 - "remove Cache/EnsureChildren". r=mzehe 2016-03-30 12:53:00 +02:00
alexander 5ce933a8d2 Bug 1261377 - "With current child caching reorganization, NVDA is no longer able to render some content". r=mzehe 2016-04-01 09:39:00 +02:00
Alexander Surkov c9b15d3087 Bug 1260860 - stop illicit accessible stealing, r=yzen 2016-04-01 11:07:57 -04: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 89c58301b4 Bug 1260494 - rebuild child indexes by AutoTreeMutation guard, r=yzen 2016-04-01 10:53:52 -04:00
Alexander Surkov 35ac8eea5d Bug 1260277 - remove empty CacheChildren's, r=marcoz 2016-03-31 21:40:56 -04:00
Alexander Surkov 5165ca54aa Bug 1258228 - create special child accessibles in owner's constructor, part1, r=marcoz 2016-03-31 21:22:34 -04:00
Alexander Surkov e66c565efd Bug 1256461 - merge MoveChild and SeizeChild methods, r=yzen 2016-03-31 21:22:13 -04:00
Alexander Surkov 7e614aef9d Bug 1260237 - remove InvalidateChildren, r=yzen 2016-03-31 20:46:58 -04:00
Alexander Surkov 35d213f532 Bug 1260187 - remove recaching version of DocAccessible::UpdateTreeOnInsertion, r=yzen 2016-03-31 20:46:45 -04:00
Alexander Surkov 7fcc93f841 Bug 1255617 - make PutChildrenBack to insert accessibles instead the recaching, r=yzen 2016-03-30 10:47:36 -04:00
Alexander Surkov f04d43e6a0 Bug 1255614 - make ProcessInvalidationList to insert accessibles instead the recaching, r=yzen 2016-03-29 09:20:43 -04:00
Alexander Surkov d3f1ea74cd Bug 1255009 - insert children into the tree on content insertion instead the recaching, r=yzen 2016-03-28 13:40:21 -04:00
Alexander Surkov e437e00f04 Bug 1252857 - value change events for HTML:select have wrong target, r=marcoz 2016-03-18 16:22:17 -04:00
Trevor Saunders 2c05850952 bug 1257287 - add nsIDocShell::GetEdItingSession() 2016-03-18 15:54:07 -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
Ryan VanderMeulen e93eed0ec2 Backed out changeset 4916251eb389 (bug 1255009) for breaking AWSY.
--HG--
extra : rebase_source : 3c018d36597e8e4becc06b744bead086796d2e63
extra : histedit_source : 2c99af1f289f0d0ddd8df6c207492c547315ce7d
2016-03-15 12:40:07 -04:00
Ryan VanderMeulen 706d97900d Backed out changeset 14092b3cacbe (bug 1255614) because it blocks bug 1255009 from being backed out.
--HG--
extra : rebase_source : 0b1027cd8a156536f561c56662696ef1c35e3e8a
extra : histedit_source : 4d18d24cbd36cde0c7b5187b7e797a13d4dbf60a
2016-03-15 12:39:43 -04:00
Alexander Surkov f5fca44245 Bug 1255614 - make ProcessInvalidationList to insert accessibles instead the recaching, r=yzen 2016-03-14 17:28:08 -04:00
Alexander Surkov 900d88c035 Bug 1255009 - insert children into the tree on content insertion instead the recaching, r=yzen 2016-03-11 11:35:35 -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 3ed80742a7 Bug 1249730 - make TreeWalker bi-directional, r=yzen 2016-03-07 16:43:27 -05:00
Alexander Surkov 1c0239e18b Bug 1251871 - text removal from a hypertext may result in empty text nodes, r=davidb 2016-03-05 12:26:18 -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 e03035ce3f Bug 1251743 - ARIA owns reallocation may insert a child at wrong index, r=yzen 2016-03-01 14:35:01 -05:00
Alexander Surkov 88b0765ee7 Bug 1252260 - get rid of HTML table CacheChildren, r=marcoz 2016-03-01 10:54:49 -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 84d2440496 Bug 1251680 - get container accessible computation should take into account the HTML select, r=marcoz 2016-02-29 10:05:29 -05:00
Alexander Surkov 81c03ec4e8 Backout changeset 16516bf9614b, because of wrong bug reference 2016-02-29 10:04:49 -05:00
Alexander Surkov 9feeb71568 Bug 1250878 - add acceptable child check for HTML select, r=marcoz 2016-02-27 07:55:30 -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 0eb122a31e Bug 1251218 - add special TreeWalker constructor for children creation, r=marcoz 2016-02-26 10:53:21 -05:00
Alexander Surkov 54fb8b2c7c Bug 1250715 - no acceptable children for leafs, r=marcoz 2016-02-25 10:42:52 -05:00
Alexander Surkov d26328b368 Bug 1250333 - do not create accessibles for trailing BRs, r=davidb, roc 2016-02-25 07:09:59 -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 0b5d5b3e24 Bug 1248838 - ARIA owns change may fail, r=yzen 2016-02-19 13:11:33 -05:00
Alexander Surkov aee776059c Bug 1248840 - rename TreeWalker::NextChild, r=yzen 2016-02-18 17:57:17 -05:00
Gijs Kruitbosch af8ae4ede1 Bug 1216478 - prefer tooltiptext on a XUL element over title attribute on a containing toolbaritem when determining accessible name, r=surkov
MozReview-Commit-ID: Cv0Kl5U02jy

--HG--
extra : rebase_source : 40ff881eabb42579a25e22c6c290ce3c5d0e7634
2016-01-20 13:47:42 +00:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Ting-Yu Lin 1889f6bc41 Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Trevor Saunders 0f654643cf bug 1241453 - factor dispatching nsIAccessibleEvents out of HandleAccEvent() r=davidb 2016-01-26 07:49:25 -05:00
Alexander Surkov 356a8b6d75 Bug 1233118 - implement IAccessible2_3::selectionRanges, r=yzen 2016-01-20 12:53:03 -05:00
Eitan Isaacson 7f81b68d25 Bug 1239051 - Labels should expose labeled controllers action. r=tbsaunde 2016-01-14 12:37:15 -08:00
Nicholas Nethercote 3ba02d7a9b Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde.
--HG--
extra : rebase_source : 7cdef8244e2b44b89e8061f66d45d40cbf245041
2015-12-15 21:24:06 -08:00
Alexander Surkov 37b5a7125a Bug 1231919 - crash in mozilla::a11y::DocAccessible::ValidateARIAOwned, r=davidb 2015-12-14 12:02:23 -05:00
Bogdan Postelnicu cb90360057 Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov
--HG--
extra : commitid : 5Hi6E55At3
extra : source : a9ce85f77af9188fcb7500b3e156df1ad17a49e5
2015-12-03 14:07:43 -08:00