Mike Hommey
d4ac54ef7d
Bug 1403444 - Expand rb_search and rb_nsearch. r=njn
...
At the same time, simplify the expanded code to better fit in the
template.
--HG--
extra : rebase_source : d68bce212b04b927e32d360b0d606692a336598a
2017-09-26 16:46:43 +09:00
Mike Hommey
28b7741df7
Bug 1403444 - Expand rbp_next and rbp_prev. r=njn
...
At the same time, simplify the expanded code to better fit in the
template.
--HG--
extra : rebase_source : 6f6344a703c7cf56ddf97efabbd05d47f389266a
2017-09-26 16:39:03 +09:00
Mike Hommey
bc635f3082
Bug 1403444 - Trivially expand rb_node_field. r=njn
...
Also replace `a_field((foo))` with `a_field(foo)` in the resulting code.
--HG--
extra : rebase_source : acc6c43320e9ee932e878c13cc2d6766a158cdba
2017-09-26 16:36:24 +09:00
Mike Hommey
b3937aa599
Bug 1403444 - Expand rbp_node_new. r=njn
...
At the same time, simplify the expanded code to better fit in the
template.
--HG--
extra : rebase_source : a903717427dbb8b2cd05ec462b821131d0000ea2
2017-09-26 16:00:27 +09:00
Mike Hommey
6561941f93
Bug 1403444 - Expand rb_new, rb_first, rb_last, rb_next and rb_prev. r=njn
...
At the same time, simplify the expanded code to better fit in the
template.
--HG--
extra : rebase_source : fa002197c5f4801ae7cf8b704b023393fc4cc6b5
2017-09-26 15:47:50 +09:00
Mike Hommey
8392daa18e
Bug 1403444 - Add methods to the RedBlackTree template class, replacing rb_wrap. r=njn
...
--HG--
extra : rebase_source : e0f71386b0097034b5e6c629113dff38e574ea74
2017-09-26 15:06:00 +09:00
Mike Hommey
4ec0ed7879
Bug 1403444 - Move miscellaneous size related constants and macros earlier in mozjemalloc.cpp. r=njn
...
--HG--
extra : rebase_source : e277943abe1aa664bb7c24388f425fac0dc170aa
2017-09-26 09:08:00 +09:00
Mike Hommey
81cb21567f
Bug 1403444 - Replace some uses of IsRed() with Color() or IsBlack(). r=njn
...
The trivial expansion of macros ended up creating cases like
expr.IsRed() ? NodeColor::Red : NodeColor::Black
which practically speaking, is the same as
expr.Color()
so we replace those.
There are also a bunch of expr.IsRed() == false, which are replaced with
expr.IsBlack() (adding that method at the same time)
--HG--
extra : rebase_source : ab50212ff80f0c0151e7df329d8933ccd45f9781
2017-09-27 08:54:49 +09:00
Mike Hommey
3787074984
Bug 1403444 - Trivially expand rbp_{color,red,black}_set. r=njn
...
--HG--
extra : rebase_source : ebef4dedd44ce3bf181ba840a33e975ae2f423c3
2017-09-25 10:03:56 +09:00
Mike Hommey
d0d3055917
Bug 1403444 - Trivially expand rbp_right_set. r=njn
...
--HG--
extra : rebase_source : f3824bc5e3992e78671418a0f65daf3bffce2d56
2017-09-25 10:05:07 +09:00
Mike Hommey
a9819bb805
Bug 1403444 - Trivially expand rbp_left_set. r=njn
...
--HG--
extra : rebase_source : 1fc855c907ddeb1dd21473003cae8f9b32e23336
2017-09-25 10:04:32 +09:00
Mike Hommey
7776a84304
Bug 1403444 - Trivially expand rbp_red_get. r=njn
...
--HG--
extra : rebase_source : dae723877cb4fc04cd085a7b9a441a2df38e68c9
2017-09-25 10:02:48 +09:00
Mike Hommey
d3ada6727c
Bug 1403444 - Trivially expand rbp_right_get. r=njn
...
--HG--
extra : rebase_source : f5ee449b8683266aa2143d53b3316f782c5d5ac7
2017-09-25 10:02:22 +09:00
Mike Hommey
d871a7f54e
Bug 1403444 - Trivially expand rbp_left_get. r=njn
...
--HG--
extra : rebase_source : 99cb24df5ce2377ac24194e5bf79b23dd08269f0
2017-09-25 10:02:06 +09:00
Mike Hommey
2a81acdfab
Bug 1403444 - Abstract red-black-tree link field reference with a new macro. r=njn
...
While we're going in the opposite direction, moving away from macros,
upcoming intermediate steps are going to "manually" expand macros, but
later steps will require changing how the link field reference is done,
and having it in a single location then will be more convenient.
--HG--
extra : rebase_source : 6dde414ce392924081a41b7e3f66ae848cb14be5
2017-09-25 07:03:37 +09:00
Mike Hommey
4b17f4882c
Bug 1403444 - Apply clang-format to the rb.h macros. r=njn
...
--HG--
extra : rebase_source : d1a55373811fea242c5b91666ba545532e6bbdde
2017-09-25 06:59:30 +09:00
Mike Hommey
f43e83a278
Bug 1403444 - Use a fixed size for the stack space used during rb_foreach. r=njn
...
That stack space would matter if recursion was involved, but there
isn't any, and a max of 1440 bytes temporarily allocated on the stack
is not really a problem.
--HG--
extra : rebase_source : 2968fafe9d604d9e6c03ac93c21d8a3a087043a4
2017-09-25 06:57:09 +09:00
Mike Hommey
bba7d810d3
Bug 1403444 - Make the "static" part of what the rb_wrap macro expands to.. r=njn
...
All uses of rb_wrap have "static" as first argument to rb_wrap, move that
in the macro itself.
--HG--
extra : rebase_source : cbfe87d0539452c044b415c725cb7ce6ebb5628c
2017-09-03 06:49:39 +09:00
Mike Hommey
b8a3c5fa7f
Bug 1403444 - Add getters and setters on RedBlackTreeNode. r=njn
...
--HG--
extra : rebase_source : db31bf584071164346463cd54ca359547fcd0eb6
2017-09-02 20:26:09 +09:00
Mike Hommey
02f0da2a19
Bug 1403444 - Use templates for rb_node and rb_tree, and rename them. r=njn
...
--HG--
extra : rebase_source : ab470e80a786d290f0df61f4adf2c128f9ecb925
2017-09-02 09:05:13 +09:00
Kyle Machulis
e6d0a7ad13
Bug 1402180 - Remove nsIDOMHTMLAreaElement; r=bz
...
Removes the XPCOM interface for nsIDOMHTMLAreaElement, replacing it
with binding class usage.
MozReview-Commit-ID: IaX4JFTPZn6
--HG--
extra : rebase_source : 79f9200c6ff9e081a5d9bc21eaa605f88caa99e9
2017-09-21 17:52:28 -07:00
Thomas Nguyen
f00e12c4b7
Bug 1403473 - Init loggingEnable for hashcompleter r=dimi
...
MozReview-Commit-ID: 1BpErwmbgCM
--HG--
extra : rebase_source : 784991ded277860318c3d91e34e4aca0b7eaf105
2017-09-27 16:49:02 +08:00
Evan Tseng
d5ecf22949
Bug 1401868 - Unset the line-height of the menulist label to make it align to the middle of the menulist. r=mconley
...
MozReview-Commit-ID: H3AoRoxmmK
--HG--
extra : rebase_source : 1275435dbb3d5104e8df8af55c35d1f3b735a801
2017-09-21 14:59:42 +08:00
Evan Tseng
bea126d2fc
Bug 1400829 - Remove trackingProtectionPBM5 string since it is no longer being used anymore. r=flod
...
MozReview-Commit-ID: 2XAGhjL9AyK
--HG--
extra : rebase_source : c4632eaa6654ac360582f423b7a7f580ba32d9a7
2017-09-26 15:10:37 +08:00
Kaku Kuo
eb83d295c7
Bug 1403412 - disable VP9 estimizer on Mac; r=jya
...
MozReview-Commit-ID: 8RTe7lVSRwl
--HG--
extra : rebase_source : 5e67fae9fa287c4188402d8956d90e4ce47e1f32
2017-09-28 00:17:29 +08:00
Alfredo.Yang
b0d7f38b36
Bug 1395244 - add gtest for index out of bounds in rust mp4 parser. r=kinetik
...
MozReview-Commit-ID: HeFwZgOpMdK
--HG--
extra : rebase_source : 69a011964b7e58ac22adc31ffa99051776a67fe8
2017-09-05 15:13:02 +08:00
Ricky Chien
c40da56a2b
Bug 1402918 - Initialize Applications pane in preferences.js r=jaws
...
MozReview-Commit-ID: LUvyzBt6ahg
--HG--
extra : rebase_source : 03fcb2b2a560d1a433b3fe996533b19331e14eab
2017-09-27 17:51:59 +08:00
Phil Ringnalda
6bba0d3ceb
Merge m-c to autoland
...
MozReview-Commit-ID: IHSKrRSfw4n
2017-09-27 18:48:26 -07:00
Phil Ringnalda
843be9af46
Backed out changeset e8737573b0e0 (bug 1403490) for breaking Win10 mochitest-gpu
...
MozReview-Commit-ID: bZaFTijyRZ
2017-09-27 18:38:44 -07:00
Wes Kocher
61c098eae7
Merge inbound to m-c a=merge CLOSED TREE
...
MozReview-Commit-ID: 3pMHYV9oXLm
--HG--
rename : dom/base/nsReferencedElement.cpp => dom/base/IDTracker.cpp
rename : dom/base/nsReferencedElement.h => dom/base/IDTracker.h
2017-09-27 16:51:49 -07:00
Sebastian Hengst
03da0c1d95
merge autoland to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: IsAdN1XhVDj
2017-09-27 23:54:52 +02:00
Sebastian Hengst
ef6aa2132c
Backed out changeset 48299b6e8832 (bug 1403484) for breaking gecko decision task. r=backout on a CLOSED TREE
2017-09-27 21:36:31 +02:00
Aaron Klotz
abc6376ae3
Bug 1403687: Prevent use of SendSyncTextChangeEvent when replaying text changes from DocAccessibleChild deferred event queue; r=Jamie
...
MozReview-Commit-ID: 6itBBycWb0h
2017-09-27 15:34:56 -04:00
Stephen A Pohl
902da233bf
Bug 1399086 - Refactor comments and remove gesture support code for macOS 10.7. r=mstange
2017-09-27 15:21:42 -04:00
Stephen A Pohl
9579b1395a
Bug 1399086: Ensure that swipes on magic mice and back/forward buttons on other mice work as expected on macOS after the SDK switch to 10.11. r=mstange
2017-09-27 15:21:35 -04:00
Geoff Brown
68ec0079db
Bug 1403565 - Improve test-verify behavior when reftest reference file is modified; r=jmaher
2017-09-27 13:15:35 -06:00
ffxbld
f54c1723be
No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update
2017-09-27 10:38:25 -07:00
ffxbld
3a16ce743e
No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update
2017-09-27 10:38:22 -07:00
David Major
cb46df4d86
Bug 1403220 - De-optimize some font functions to work around an MSVC PGO crash. r+a=RyanVM
2017-09-27 10:17:00 -04:00
Rob Thijssen
20d81eb586
Bug 1403484 - enable mochitest-webgl on tc win 10 opt & set to 8 chunks; r=jmaher
...
MozReview-Commit-ID: 6IFAtGp2Adj
--HG--
extra : rebase_source : 42054bb00975145e51e1ccf0ad521a134aeedf5a
2017-09-27 15:38:39 +03:00
Sebastian Hengst
dc3edbabca
Backed out changeset 379e7e7bf80d (bug 1403615) for failing own crashtest. r=backout
2017-09-27 21:27:08 +02:00
Sebastian Hengst
a3b6b15cef
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: BGCq2q6xO1S
2017-09-27 11:47:52 +02:00
Jeff Muizelaar
d432f7bf8f
Bug 1403214 - Fix webrender debug prefs. r=nical
...
The current code sets the wrong flags. Fix them and add the alpha-primitives flag.
2017-09-26 23:58:56 -04:00
Ryan Hunt
c6587123d7
Disable the GPU process in xpc-shell after we kill it to prevent extra restarts. (bug 1402500, r=dvander)
...
MozReview-Commit-ID: 3SNNGIfvTOr
--HG--
extra : rebase_source : f07c122e9ff8fd55f4646073ca0d35b1dd58e8fc
2017-09-26 10:26:44 -04:00
Sebastian Hengst
91a42a9bad
Backed out changeset d3ebcf7d4c31 (bug 1319342) for failing web-platform-test /dom/nodes/Node-cloneNode.html. r=backout
2017-09-27 20:04:51 +02:00
Sebastian Hengst
196c9a4941
Backed out changeset 88700ecc3751 (bug 1401827) for leaks detected by asan, e.g. in chrome-1. r=backout
2017-09-27 19:44:16 +02:00
Sebastian Hengst
aa5d8773e4
Backed out changeset bbb1c8c9858b (bug 1401827)
2017-09-27 19:43:51 +02:00
Sebastian Hengst
6142626b8c
Backed out changeset 6fca712ccc8c (bug 1401827) for leaks detected by asan, e.g. in chrome-1. r=backout
2017-09-27 19:40:29 +02:00
Ryan VanderMeulen
d70d8e1773
Merge m-c to inbound. a=merge
2017-09-27 13:24:21 -04:00
Jon Coppeard
2378cc8b3b
Bug 1401804 - Expose wrappee if we create a new wrapper r=sfink
2017-09-27 18:02:12 +01:00