Sort more headers automatically.
Categories
(Core :: General, enhancement, P3)
Tracking
()
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
(Keywords: leave-open)
Attachments
(14 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
dom/ and layout/ already sort headers automatically, let's make that the default, as per our coding style.
| Assignee | ||
Comment 1•20 days ago
|
||
Automatically generated with:
cp dom/.clang-format media/ && mach format media/**.{cpp,h}
No manual changes required.
Updated•20 days ago
|
| Assignee | ||
Comment 2•20 days ago
|
||
Automatically generated with:
cp dom/.clang-format xpcom/ && mach format xpcom/**.{cpp,h}
No manual changes required.
| Assignee | ||
Comment 3•20 days ago
|
||
Autogenerated with:
cp dom/.clang-format widget/ && mach format widget/**.{cpp,h,mm}
Manual changes:
- Had to add a manual override in nsWaylandDisplay.h.
- Missing includes in nsWindowWayland/X11.h
| Assignee | ||
Comment 4•20 days ago
|
||
Autogenerated with:
cp dom/.clang-format caps/ && mach format caps/**.{cpp,h}
No manual changes required.
| Assignee | ||
Comment 5•20 days ago
|
||
Autogenerated with:
cp dom/.clang-format security/ && mach format security/**.{cpp,h,mm}
Manual changes:
- Missing includes in CRLiteTimestamp.h and AppSignatureVerification.h
| Assignee | ||
Comment 6•20 days ago
|
||
Autogenerated with:
cp dom/.clang-format mfbt/ && mach format mfbt/**.{cpp,h,mm}
No manual changes required.
| Assignee | ||
Comment 7•20 days ago
|
||
Autogenerated with:
cp dom/.clang-format accessible/ && mach format accessible/**.{cpp,h,mm}
Manual fixes:
- Atk individual includes need to become atk/atk.h because otherwise some symbols incorrectly get hidden visibility.
| Assignee | ||
Comment 8•20 days ago
|
||
Autogenerated by:
cp dom/.clang-format image/ && mach format image/**.{cpp,h,mm}
No manual changes required.
| Assignee | ||
Comment 9•20 days ago
|
||
It seems third-party (https://osvr.github.io/). This prevent the
following commit from rewriting those.
| Assignee | ||
Comment 10•20 days ago
|
||
Autogenerated with:
cp dom/.clang-format gfx/ && mach format gfx/**.{cpp,h,mm}
Only manual change in OSVRSession since OSVR headers are not system
headers and they are not standalone / rely on stdint.
| Assignee | ||
Comment 11•20 days ago
|
||
Autogenerated with:
cp dom/.clang-format netwerk/ && mach format netwerk/**.{cpp,h,mm}
Manual fixes in:
- mozurl/cbindgen.toml (including headers earlier)
- NetlinkService.h (forward-declaring a necessary struct)
- nsIWebSocketChannel.idl (forward-declaring OriginAttributes).
- nsAsyncRedirectVerifyHelper.h (forward-declaring nsIEventTarget)
| Assignee | ||
Comment 12•20 days ago
|
||
Note that this is probably a bit controversial maybe because of
check_spidermonkey_style changes, see above. I think standardizing on
the same order as the rest of Gecko probably makes sense tho.
Autogenerated with:
cp dom/.clang-format js/ && mach format js/**.{cpp,h,mm}
Manual fixes:
* Make check_spidermonkey_style not check itself for order, since
the order doesn't match clang-format's.
* Missing include in WasmBCClass-inl.h
| Assignee | ||
Updated•20 days ago
|
Comment 13•20 days ago
|
||
Comment 14•20 days ago
|
||
Comment 15•20 days ago
|
||
Comment 16•20 days ago
|
||
Backed out for causing build bustage
Backout link
Push with failures
Failure log(s)
| Assignee | ||
Updated•20 days ago
|
| Assignee | ||
Comment 17•19 days ago
|
||
AssertNoOverflow is defined in that header. This fixes non-unified build
issues locally on windows.
Comment 18•19 days ago
|
||
Comment 19•19 days ago
|
||
Comment 20•19 days ago
|
||
Comment 21•19 days ago
|
||
Comment 22•19 days ago
|
||
Backed out for causing build bustages @ MockScaledFont.h
Comment 23•19 days ago
|
||
Comment 24•19 days ago
|
||
Updated•19 days ago
|
Comment 25•19 days ago
|
||
| Assignee | ||
Updated•19 days ago
|
Comment 26•19 days ago
|
||
Updated•19 days ago
|
| Assignee | ||
Comment 27•19 days ago
|
||
See the previous commit for details.
Comment 28•19 days ago
|
||
Comment 29•18 days ago
|
||
Comment 30•18 days ago
|
||
| bugherder | ||
Comment 31•18 days ago
|
||
| bugherder | ||
Comment 32•17 days ago
|
||
Comment 33•17 days ago
|
||
| bugherder | ||
Comment 34•16 days ago
|
||
Comment 35•16 days ago
|
||
| bugherder | ||
Comment 36•15 days ago
|
||
Comment 37•15 days ago
|
||
| bugherder | ||
Description
•