gecko-dev/accessible/base
Nicholas Nethercote 58786e1ea7 Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
This patch makes the following changes to the macros.

- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
  classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
  mostly misused.

- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
  universally available now anyway.

- Combines the first two string literal arguments of PROFILER_LABEL and
  PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
  them to be separate, and it forced a '::' in the label, which isn't always
  appropriate. Also, the meaning of the "name_space" argument was interpreted
  in an interesting variety of ways.

- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
  it clearer they construct RAII objects rather than just being function calls.
  (I myself have screwed up the scoping because of this in the past.)

- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
  the caller doesn't need to. This makes a *lot* more of the uses fit onto a
  single line.

The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).

- Fixes a bunch of labels that had gotten out of sync with the name of the
  class and/or function that encloses them.

- Removes a useless PROFILER_LABEL use within a trivial scope in
  EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
  any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
  a good idea.

- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
  done within them, instead of at their callsites, because that's a more
  standard way of doing things.

--HG--
extra : rebase_source : 318d1bc6fc1425a94aacbf489dd46e4f83211de4
2017-06-22 17:08:53 +10:00
..
ARIAMap.cpp Bug 1374316 - Add aria-readonly to several roles as per ARIA 1.1. r=surkov 2017-06-19 11:09:23 -04:00
ARIAMap.h Bug 1285272 - Add functionality in ARIAMap to use integer index instead of a raw pointer for role map entries. r=yzen 2016-07-18 11:52:44 -04:00
ARIAStateMap.cpp
ARIAStateMap.h
AccEvent.cpp bug 1270916 - allow keeping AccTreeMutation in a list r=davidb 2016-11-16 23:46:51 -05:00
AccEvent.h bug 1270916 - add methods to maintain a queue of mutation events to coalesce or fire r=davidb 2016-11-16 23:46:58 -05:00
AccGroupInfo.cpp
AccGroupInfo.h
AccIterator.cpp Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
AccIterator.h bug 1278392 - use std::unique_ptr for AccIterators r=froydnj 2016-06-07 17:36:44 -04:00
AccTypes.h Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
AccessibleOrProxy.cpp bug 1259023 - make nsIAccessible.parent work with proxies r=yzen 2016-04-13 04:00:56 -04:00
AccessibleOrProxy.h bug 1259023 - make nsIAccessible.parent work with proxies r=yzen 2016-04-13 04:00:56 -04:00
Asserts.cpp
DocManager.cpp Bug 1330765 - Only attempt to shutdown a11y if last XPC doc was just removed. r=surkov 2017-06-22 12:37:42 -07:00
DocManager.h Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov 2016-11-22 08:40:13 -05:00
EmbeddedObjCollector.cpp bug 1261144 - call Accessible::IsText() directly from EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
EmbeddedObjCollector.h bug 1261144 - stop including Filters.h in EmbeddedObjCollector.h r=lsocks 2016-04-11 21:41:09 -04:00
EventQueue.cpp bug 1316163 - remove eCoalesceMutationTextChange event rule r=davidb 2016-11-15 22:07:39 -05:00
EventQueue.h Bug 1261425 - coalesce mutation events by a tree structure, r=yzen 2016-04-07 09:30:22 -04:00
EventTree.cpp bug 1324019 - remove TreeMutation::mEventTree field r=davidb 2016-12-16 14:07:44 -05:00
EventTree.h bug 1324019 - remove TreeMutation::mEventTree field r=davidb 2016-12-16 14:07:44 -05:00
Filters.cpp bug 1261144 - remove filters::GetEmbeddedObj() because it is unused r=lsocks 2016-04-11 21:41:09 -04:00
Filters.h bug 1261144 - remove filters::GetEmbeddedObj() because it is unused r=lsocks 2016-04-11 21:41:09 -04:00
FocusManager.cpp Bug 1309271 - Patch to cleanup nesting and updated comments per review nits. r=surkov 2017-06-13 06:44:55 -05:00
FocusManager.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Logging.cpp Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj. 2017-06-20 19:19:05 +10:00
Logging.h Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj. 2017-06-20 19:19:05 +10:00
MarkupMap.h Bug 1373786 - Mapping of "article" role and element is incorrect for AX API and ATK. r=surkov 2017-06-16 16:07:23 -04:00
NotificationController.cpp Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange. 2017-06-22 17:08:53 +10:00
NotificationController.h bug 1270916 - add methods to maintain a queue of mutation events to coalesce or fire r=davidb 2016-11-16 23:46:58 -05:00
Platform.h Bug 1366374 - Check if AccessibleHandler.dll is registered before using. r=aklotz 2017-06-15 15:55:06 -07:00
Relation.h bug 1278392 - use std::unique_ptr for AccIterators r=froydnj 2016-06-07 17:36:44 -04:00
RelationType.h Bug 1310794 - implement aria-details and aria-errormessage, r=davidb 2016-10-25 13:51:27 -04:00
RelationTypeMap.h Bug 1374697 - Add ATK support for aria-details and aria-errormessage. r=surkov 2017-06-21 15:53:00 -04:00
Role.h Bug 1373786 - Mapping of "article" role and element is incorrect for AX API and ATK. r=surkov 2017-06-16 16:07:23 -04:00
RoleMap.h Bug 1373786 - Mapping of "article" role and element is incorrect for AX API and ATK. r=surkov 2017-06-16 16:07:23 -04:00
SelectionManager.cpp Bug 1185307 part.2 Replace upcast from nsISelection to mozilla::dom::Selection with nsISelection::AsSelection() r=smaug 2016-06-17 22:32:49 +09:00
SelectionManager.h Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn 2017-03-01 18:03:14 +01:00
States.h
Statistics.h
StyleInfo.cpp Bug 1315874 - Drop 'ForElement' from GetStyleContextForElementXXX methods; r=heycam 2017-04-05 14:39:23 +09:00
StyleInfo.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TextAttrs.cpp Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman 2017-03-22 14:58:19 -04:00
TextAttrs.h Bug 1282408 - add ignore initialization check flag for variables from TTextAttr. r=surkov.alexander 2016-07-28 15:45:09 +02:00
TextRange-inl.h Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
TextRange.cpp Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
TextRange.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
TextUpdater.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TextUpdater.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TreeWalker.cpp Bug 1353094 - simplify the logic of accessible subtrees removal, r=davidb 2017-04-25 14:02:41 -04:00
TreeWalker.h Bug 1353094 - simplify the logic of accessible subtrees removal, r=davidb 2017-04-25 14:02:41 -04:00
moz.build Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
nsAccCache.h Bug 1347667 - unlink accessible's parent before accessible's shutdown when document shutdowns, r=yzen 2017-03-20 09:42:39 -04:00
nsAccUtils.cpp Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
nsAccUtils.h Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
nsAccessibilityService.cpp Bug 1349835 - Create accessibles for <input type=checkbox/radio> with -moz-appearance:none. r=surkov 2017-05-31 21:29:49 +02:00
nsAccessibilityService.h Bug 1352802 - Typo fixes around 'accessible'. r=MattN 2017-04-03 09:47:00 -07:00
nsAccessiblePivot.cpp Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:43 +10:00
nsAccessiblePivot.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsCoreUtils.cpp Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj. 2017-06-20 19:19:52 +10:00
nsCoreUtils.h Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj. 2017-06-20 19:19:52 +10:00
nsEventShell.cpp Bug 1294853 part1 - hide should preceed its related show on a move, r=yzen 2016-09-29 15:44:18 -04:00
nsEventShell.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsTextEquivUtils.cpp Bug 1299066: Make NS_STYLE_DISPLAY_* an enum class. Prefer indexing instead of linear search in the frame constructor r=heycam,bz 2016-09-01 20:41:17 -07:00
nsTextEquivUtils.h