gecko-dev/layout/xul
Nicholas Nethercote 7398ecce66 Bug 1449787 - Make static atom pointers `constexpr`. r=froydnj,emilio
This saves one word per static atom, per process.

The `nsGkAtoms` change is only a small part of this commit.

In regen_atoms.py:

- There is now only one link name per platform: nsGkAtoms::sAtoms[].

- But there is a new constant per atom, giving the index into
  nsGkAtoms::sAtoms[].

- And the `atom!` macro for each atom indexes into nsGkAtoms::sAtoms[] using
  the index constant.

- A couple of `*mut` pointers are now `*const`.

Elsewhere, the `(nsStaticAtom*)` casts within the `AppendElement()` calls are
necessary to avoid link errors, presumably due to some template instantiation
wrinkle.

--HG--
extra : rebase_source : 629642e708c8bc6e27d6057beae5f35955fdd837
2018-10-04 09:16:11 +10:00
..
crashtests Bug 1457216 - Remove support for editable menulists. r=surkov,bgrins 2018-08-24 15:44:38 +01:00
grid Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert 2018-08-09 20:10:21 +00:00
reftest Backed out changeset d8d5e1376664 (bug 1426797) because it doesn't fail anymore on Windows 2018-02-26 01:38:10 +02:00
test Bug 1446940 part 5. Stop getting docshells from windows via getInterface in dom/editor/etc code. r=kmag 2018-08-01 13:07:11 -04:00
tree Bug 1449787 - Make static atom pointers `constexpr`. r=froydnj,emilio 2018-10-04 09:16:11 +10:00
BoxObject.cpp Bug 1489617 - Get rid of XUL box related component registrations. r=Ehsan 2018-09-09 15:05:18 +00:00
BoxObject.h Bug 1455674 part 12. Remove nsIDOMElement use from xpidl in layout. r=mossop 2018-04-26 23:36:30 -04:00
moz.build Bug 1465219, use XULMenuElement, a subclass of nsXULElement, instead of MenuBoxObject for menu and menulist elements, r=paolo,bz 2018-07-31 12:30:17 -07:00
nsBox.cpp Bug 1491594 - Remove the XPCOM registration for the native theme renderer r=mstange 2018-09-20 01:20:55 +00:00
nsBox.h Bug 1491594 - Remove the XPCOM registration for the native theme renderer r=mstange 2018-09-20 01:20:55 +00:00
nsBoxFrame.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsBoxFrame.h Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov 2018-07-18 11:23:32 +01:00
nsBoxLayout.cpp
nsBoxLayout.h
nsBoxLayoutState.cpp
nsBoxLayoutState.h
nsButtonBoxFrame.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
nsButtonBoxFrame.h Bug 1457719 - Part 4 - Remove the "autorepeatbutton" element. r=bz 2018-06-01 11:15:56 +01:00
nsDeckFrame.cpp Bug 1465219, use XULMenuElement, a subclass of nsXULElement, instead of MenuBoxObject for menu and menulist elements, r=paolo,bz 2018-07-31 12:30:17 -07:00
nsDeckFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsDocElementBoxFrame.cpp Bug 1483394: Remove unneeded #includes of nsContentUtils.h in /layout. r=TYLin 2018-08-15 07:04:43 +00:00
nsGroupBoxFrame.cpp Bug 1460491 - Part 1: Split nsDisplayItem::mVisibleRect into two members, one for each stated purpose. Gets rid of the save/restore since we no longer modify the building rect. r=jnicol 2018-05-16 15:56:32 +12:00
nsIBoxObject.idl Bug 1489617 - Get rid of XUL box related component registrations. r=Ehsan 2018-09-09 15:05:18 +00:00
nsIPopupContainer.h Bug 1466897 - Rename nsIRootBox to nsIPopupContainer. r=mats 2018-06-26 17:29:55 -07:00
nsIScrollbarMediator.h
nsImageBoxFrame.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsImageBoxFrame.h Bug 1446309 - Part 3. Properly handle ImgDrawResult for WebRender display list generation. r=tnikkel 2018-09-13 19:48:27 -04:00
nsLeafBoxFrame.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsLeafBoxFrame.h Bug 1444920, remove the debug='true' flag from xul elements and the corresponding debug frame flags, r=dholbert 2018-05-02 10:32:54 -04:00
nsMenuBarFrame.cpp Bug 1483394: Remove unneeded #includes of nsContentUtils.h in /layout. r=TYLin 2018-08-15 07:04:43 +00:00
nsMenuBarFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsMenuBarListener.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
nsMenuBarListener.h Bug 1455055 part 2. Clean up HandleEvent implementations in layout/xul. r=masayuki 2018-04-20 00:49:29 -04:00
nsMenuFrame.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsMenuFrame.h Bug 1457216 - Remove support for editable menulists. r=surkov,bgrins 2018-08-24 15:44:38 +01:00
nsMenuParent.h
nsMenuPopupFrame.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsMenuPopupFrame.h Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron 2018-09-06 01:23:14 +00:00
nsPIBoxObject.h Bug 1455674 part 12. Remove nsIDOMElement use from xpidl in layout. r=mossop 2018-04-26 23:36:30 -04:00
nsPopupSetFrame.cpp Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov 2018-07-18 11:23:32 +01:00
nsPopupSetFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsProgressMeterFrame.cpp Bug 1465219, use XULMenuElement, a subclass of nsXULElement, instead of MenuBoxObject for menu and menulist elements, r=paolo,bz 2018-07-31 12:30:17 -07:00
nsProgressMeterFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRepeatService.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsRepeatService.h
nsResizerFrame.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsResizerFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRootBoxFrame.cpp Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov 2018-07-18 11:23:32 +01:00
nsScrollbarButtonFrame.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsScrollbarButtonFrame.h Bug 1457719 - Part 4 - Remove the "autorepeatbutton" element. r=bz 2018-06-01 11:15:56 +01:00
nsScrollbarFrame.cpp Bug 1478391: Autogenerate StyleAppearance. r=jwatt 2018-07-26 17:06:17 +02:00
nsScrollbarFrame.h Bug 1431246 - Create and update scrollbar markup in nsScrollbarFrame r=enndeakin+6102 2018-04-09 22:01:02 +08:00
nsSliderFrame.cpp Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron 2018-09-06 01:23:14 +00:00
nsSliderFrame.h Bug 1482825 - Only prevent dispatching mouse-move events targeted at a slider frame to web content, if the scrollbar is being dragged. r=smaug 2018-09-01 15:00:31 +00:00
nsSplitterFrame.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsSplitterFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsSprocketLayout.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
nsSprocketLayout.h
nsStackFrame.cpp Bug 1448018, remove ContainerBoxObject which is only used to access the docshell, but bug 1448018 made the docshell accessible from the frameloader instead so the container box object is no longer being used. Change some editor tests which just access the docShell directly rather than through the box object, r=bz 2018-03-29 10:44:52 -04:00
nsStackFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsStackLayout.cpp
nsStackLayout.h
nsTextBoxFrame.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsTextBoxFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsTitleBarFrame.cpp Bug 1457719 - Part 4 - Remove the "autorepeatbutton" element. r=bz 2018-06-01 11:15:56 +01:00
nsTitleBarFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsXULLabelFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsXULLabelFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsXULPopupManager.cpp Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku 2018-04-03 13:21:06 +10:00
nsXULPopupManager.h Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov 2018-07-18 11:23:32 +01:00
nsXULTooltipListener.cpp Bug 1489612 - Fix XUL tooltips in HTML documents. r=smaug 2018-09-08 23:16:32 +00:00
nsXULTooltipListener.h Bug 1466727 part 2. Remove use of nsITreeColumn in xpidl interfaces. r=mossop 2018-06-05 23:01:36 -04:00