Mike Hommey
d5840a27d6
Bug 1403444 - Replace rbp_lean_left and rbp_lean_right with private methods. r=njn
...
--HG--
extra : rebase_source : 08fd0203f37706563a3c584225bb1790a1bd57b9
2017-09-26 21:14:12 +09:00
Mike Hommey
0938630279
Bug 1403444 - Replace rbp_rotate_left and rbp_rotate_right with private methods. r=njn
...
--HG--
extra : rebase_source : 1f576d36ae451d03a96b2a7285912c2a2fb4d1e5
2017-09-26 21:08:29 +09:00
Mike Hommey
fb8f789c51
Bug 1403444 - Expand rb_remove. r=njn
...
At the same time, simplify the expanded code to better fit in the
template.
--HG--
extra : rebase_source : 05be3b680645da9665449e5417efdf862d7e5f96
2017-09-26 17:13:53 +09:00
Mike Hommey
8d2fab69cf
Bug 1403444 - Expand rb_insert. r=njn
...
At the same time, simplify the expanded code to better fit in the
template.
--HG--
extra : rebase_source : 610d774220fd2dbe40872f16e86eca57c11b31c3
2017-09-26 17:07:35 +09:00
Mike Hommey
dcd990824b
Bug 1403444 - Expand rbp_first and rbp_last. r=njn
...
At the same time, simplify the expanded code to better fit in the
template.
--HG--
extra : rebase_source : a61d3eb96da054a50bc016dc6a4969f42adf9dfa
2017-09-26 16:59:02 +09:00
Mike Hommey
3c5e2cba4f
Bug 1403444 - Allow First and Last to take a start node, and use that in Next and Prev. r=njn
...
--HG--
extra : rebase_source : a2d00f91ad98e7bd1478624a0a9b374de52f543b
2017-09-26 16:55:31 +09:00
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
Oriol Brufau
f46ecc40c7
Bug 1399265 - Avoid relayout when switching tab in devtools r=Honza
...
MozReview-Commit-ID: J0vsN0MiN1o
--HG--
extra : rebase_source : b9acc61d47658c270b13fa3dbed1f0dfa8075fe5
2017-09-24 15:20:13 +02:00
Patrick Brosset
fb4bb32314
Bug 1402386 - CamelCase the inspector-tab-panel component; r=Honza
...
MozReview-Commit-ID: 2j1ocvxYvzv
--HG--
rename : devtools/client/inspector/components/inspector-tab-panel.css => devtools/client/inspector/components/InspectorTabPanel.css
rename : devtools/client/inspector/components/inspector-tab-panel.js => devtools/client/inspector/components/InspectorTabPanel.js
extra : rebase_source : ea67ee1a6eb86943522312018be4ed2225c6190b
2017-09-25 15:40:56 +02:00
Dão Gottwald
418df4c234
Bug 1390025 - Add separator between the tab strip and the drag space in front of it. r=johannh
...
MozReview-Commit-ID: LOymOHgg8fr
--HG--
extra : rebase_source : 1529ee862cb46b55f15b55acb66aa9af0e6086ff
2017-09-26 15:24:04 +02:00
Dão Gottwald
afb64031c3
Bug 1366405 - Stop using -moz-appearance: -moz-win-glass with the Windows 10 default theme. r=nhnt11
...
MozReview-Commit-ID: Dkjr831dxIV
--HG--
extra : source : c4cf992aa65c0da43df9bdf273fe56d3a57a52a9
2017-09-23 15:30:10 +02:00
Dão Gottwald
a15d7e9264
Bug 1403951 - Dark/Light themes shouldn't make the window transparent on Windows 10. r=johannh
...
MozReview-Commit-ID: ICJ6c36UGX2
--HG--
extra : transplant_source : SKV/%D4%12%15%8E%A4%3D_%AC%89%F9%0C%04%91%20c%5D
2017-09-28 18:58:58 +02:00
Ryan VanderMeulen
38d600e962
Merge m-c to autoland. a=merge
2017-09-28 13:18:27 -04:00
Andrew Halberstadt
db3fb1fa34
Bug 1403983 - Fix reftest regression where screenshots aren't being output and add a test, r=jmaher
...
MozReview-Commit-ID: 8ZqmukDtWpO
--HG--
extra : rebase_source : 86544bda6e79e5e35444b4083e76d2cf8642c408
2017-09-28 12:26:51 -04:00
Paolo Amadini
8418fc1ba5
Bug 1402279 - Part 1 - Move the DownloadPaths module to the jsdownloads folder. r=mak
...
MozReview-Commit-ID: 91ZqKef6NIE
--HG--
rename : toolkit/mozapps/downloads/DownloadPaths.jsm => toolkit/components/jsdownloads/src/DownloadPaths.jsm
rename : toolkit/mozapps/downloads/tests/unit/test_DownloadPaths.js => toolkit/components/jsdownloads/test/unit/test_DownloadPaths.js
extra : rebase_source : 7505715770e8fa383a42e0f8a18258c08e8e0f3a
2017-09-22 15:45:39 +01:00
Brian Hackett
ba9335f101
Bug 1402580 - Support yield callback used when entering the system zone group in the JS shell, r=jandem.
...
--HG--
extra : rebase_source : 9794f293215aff71512664d2c689246efbcad9af
2017-09-26 06:04:06 -07:00
Justin Wood
3a5e88125e
Bug 1403084 - Make beta point at l10n-central for android. r=mtabara
...
This fixes Single Locale Repacks for Fennec 57.0 betas.
This broke because our merge scripts rewrote l10n-central to mozilla-beta expecting the l10n repo to be called 'mozilla-beta', which is no longer true with cross-channel l10n. When we patched the configs we didn't see a 'mozilla-beta' entry here, butmissed that the merge-day scripts change it on us.
MozReview-Commit-ID: F7BJzpZg0Xj
--HG--
extra : source : cc652dcb13dba40ae3f263ae89ce3e610a34165f
extra : amend_source : 9fa72e4b2a662a6a63ddfc59dbacf7f03e57dd67
2017-09-26 08:24:12 -04:00
David Anderson
502592c19b
Assert that the GPU process build ID matches the UI process. (bug 1333056, r=mccr8)
...
MozReview-Commit-ID: 924UVeGXhsr
--HG--
extra : histedit_source : 5ac6ac13c4f34b75106911fdec1cec2260928fce
2017-09-26 10:16:14 -04:00
Ryan Hunt
83e90232cc
Don't crash in SendBuildID when MessageChannel isn't connected. (bug 1333056, r=dvander)
...
xpcshell can sometimes create and then almost immediately kill the GPU process. This can
cause the connection state of GPUParent's message channel to be in error or closed
when it attempts to send its build ID. In this case we should ignore the request
because the process will soon close.
MozReview-Commit-ID: EAupU844iFo
--HG--
extra : histedit_source : df05a01df5ad095b4e3c91e0e038d4e145da5f9d
2017-09-22 16:15:21 -05:00
Julian Descottes
4c5032bb5b
Bug 1403152 - fix test browser_html_tooltip_xul-wrapper.js for small viewports;r=me
...
MozReview-Commit-ID: A1W1LCDjupO
--HG--
extra : rebase_source : 30fceb0a393c767a839a554135143c1f235c0121
2017-09-26 15:04:59 +02:00
Sebastian Hengst
fa921ed2a3
Backed out changeset 22a322b57f50 (bug 1380255) for asserting and failing mochitest-plain toolkit/components/extensions/test/mochitest/test_ext_webrequest_responseBody.html. r=backout
2017-09-26 15:45:24 +02:00
Nicolas Silva
96de7b8d80
Bug 1383786 - Delete image keys as soon as they are not used anymore. r=sotaro
2017-09-26 15:31:08 +02:00
Nicolas Silva
f1d8bb2519
Bug 1383786 - Rename TextureHost::PushExternalImage into PushDisplayItems. r=sotaro
2017-09-26 15:31:00 +02:00
Nicolas Silva
f4e0aed003
Bug 1383786 - Update TextureHost image keys when posible. r=sotaro
2017-09-26 15:30:55 +02:00
Nicolas Silva
f8c1fa40c8
Bug 1383786 - Make it possible to update TextureHost image keys. r=sotaro
2017-09-26 15:30:51 +02:00
Nicolas Silva
988b7e111c
Bug 1383786 - Simplify generating image keys for TextureHosts. r=sotaro
2017-09-26 15:30:46 +02:00
Gabriel Luong
c089f03855
Bug 1402709 - Don't use capture for the toolbox context menu. r=bgrins
2017-09-26 08:43:22 -04:00
Jonathan Kew
9cd0e4f0c4
Bug 1402861 - Remove ENABLE_INTL_API conditional from nsNumberControlFrame. r=dholbert
2017-09-26 13:28:21 +01:00
Catalin Badea
32e27f63b8
Bug 1380255 - FetchDriver should have threadsafe refcounting. r=baku
2017-09-26 12:52:53 +01:00
Alin Selagea
5c5f346188
Bug 1397829 - add buildernames for stylo-disabled tests which run on hardware, win7 and win10, r=jmaher
2017-09-26 14:19:48 +03:00
Jan de Mooij
943f1cf93e
Bug 1153592 part 3 - Simplify GetExistingProperty now that slotful getters are gone. r=evilpie
2017-09-26 12:27:23 +02:00
Jan de Mooij
dbca189324
Bug 1153592 part 2 - Remove JSPROP_SHARED; ensure accessor props don't have slots. r=evilpie
2017-09-26 12:26:50 +02:00
Jan de Mooij
c6ddca339e
Bug 1153592 part 1 - Replace redundant checks in CheckCanChangeAttrs with debug asserts. r=evilpie
2017-09-26 12:25:56 +02:00
Sebastian Hengst
8002077a1e
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-09-26 12:22:11 +02:00