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

247 Коммитов

Автор SHA1 Сообщение Дата
Michael Li 0a864a1988 Bug 1285272 - Change Accessible's role map entry variable from a raw pointer to an index. r=yzen
MozReview-Commit-ID: 2diXMOohyk

--HG--
extra : rebase_source : 410d8eaa7f2909d93ff44ec4fc0a80e9619c9a90
2016-07-18 12:40:53 -04:00
Michael Li 7c54c53ae4 Bug 1285272 - Replace direct use of mRoleMapEntry with calls to ARIARoleMap(). r=yzen
MozReview-Commit-ID: JEuMlNLxD8R

--HG--
extra : rebase_source : 9f93d35a94ea24eddcb869f9dd14da0dd4fa8c73
2016-07-12 15:34:13 -04:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Alexander Surkov 499efe0f10 Bug 1286598 - make sure an accessible tree is updated on DOM tree removals, r=yzen 2016-07-20 09:40:55 -04:00
Alexander Surkov c85742dc94 Bug 1278915 - make sure to not add a non document accessilbe children under outerdoc, r=yzen 2016-07-18 19:40:53 -04:00
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