9dfcb2f9db7dcfe69ef348a9eb3cecaaf240c140: Bug 1302470 Part 2: Branch IsRangeVisible to delegate to IsRangeRendered when range is in viewport. r=masayuki
Brad Werth <bwerth@mozilla.com> - Thu, 20 Apr 2017 10:21:52 -0700 - rev 677188
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1302470 Part 2: Branch IsRangeVisible to delegate to IsRangeRendered when range is in viewport. r=masayuki MozReview-Commit-ID: LZyvt08I9vz
33ce36cb798bb3c9ebf781558a9082dd0479ccf7: Bug 1302470 Part 1: Create a IsRangeRendered function to test range visibility in the display list. r=mstange,smaug
Brad Werth <bwerth@mozilla.com> - Fri, 24 Mar 2017 14:45:41 -0700 - rev 677187
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1302470 Part 1: Create a IsRangeRendered function to test range visibility in the display list. r=mstange,smaug MozReview-Commit-ID: u0N73luIz7
024ce7dd2f65d6266fc86b2c330ae2e3347df415: Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
Zibi Braniecki <zbraniecki@mozilla.com> - Fri, 06 Oct 2017 07:00:08 -0700 - rev 677186
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo MozReview-Commit-ID: GqetnVVmXXL
e6510aeb4e94df029cc47d2d00cd2f19ba5cc9d3: Bug 1406980 - Fix the -Wunused-lambda-capture warning r=gerald
Sylvestre Ledru <sledru@mozilla.com> - Mon, 09 Oct 2017 18:36:10 +0200 - rev 677185
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406980 - Fix the -Wunused-lambda-capture warning r=gerald MozReview-Commit-ID: HtItBaoGenR
d57bcfffe5ba6daa51d76fb87ab64dfb44055291: Bug 1406303 - Don't heap-allocate the global chunk radix tree. r=njn
Mike Hommey <mh+mozilla@glandium.org> - Fri, 06 Oct 2017 16:18:01 +0900 - rev 677184
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406303 - Don't heap-allocate the global chunk radix tree. r=njn Now that the radix tree structure has a fixed size, we can just allocate the chunk radix tree object statically.
6ee5dedf4f6422ffb10cc7de612810233ddcdd49: Bug 1406303 - Make the number of significant bits used by the radix tree a template parameter. r=njn
Mike Hommey <mh+mozilla@glandium.org> - Fri, 06 Oct 2017 15:50:00 +0900 - rev 677183
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406303 - Make the number of significant bits used by the radix tree a template parameter. r=njn All the parameters of the radix tree (bits per level, height) are derived from the aBits argument to ::Create in a straightforward way. aBits itself is a constant at the call point, making them all constants, so we can turn all of them as constants at compile time instead of storing as data.
94b89dd64fc7e79f9407c82413f389353e86aef3: Bug 1406303 - Only store 2 levels of bit sizes for the radix tree. r=njn
Mike Hommey <mh+mozilla@glandium.org> - Fri, 06 Oct 2017 15:24:07 +0900 - rev 677182
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406303 - Only store 2 levels of bit sizes for the radix tree. r=njn All levels except the first are using the same size, and in some cases, even the first uses the same size. Only storing those two different sizes allows to fix the class size, while not making the code significantly more complex.
387202ecf01168dc58abca10a6a16026c181c171: Bug 1406303 - Simplify the calculation of AddressRadixTree's height. r=njn
Mike Hommey <mh+mozilla@glandium.org> - Fri, 06 Oct 2017 11:32:27 +0900 - rev 677181
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406303 - Simplify the calculation of AddressRadixTree's height. r=njn The tree height was defined as: height = aBits / bits_per_level; if (height * bits_per_level != aBits) { height++; } What's wanted here is a height that covers all the bits, where the first level might cover less than bits_per_level. So aBits / bits_per_level gets us the height covered by levels with exactly bits_per_level bits. The tree height is one more when there are remaining bits. Put differently, we can write aBits as: aBits = bits_per_level * x + y with y < bits_per_level. We have: aBits / bits_per_level = x. height = x when y = 0, and x + 1 when y > 0. We're looking for a number z such that height = (aBits + z) / bits_per_level. Or: height = (bits_per_level * x + y + z) / bits_per_level. = x + (y + z) / bits_per_level. So we're looking for a z such that (y + z) / bits_per_level = 0 when y = 0 = 1 when y > 0 The properties of the integer division are such that the above means: 0 <= y + z < bits_per_level when y = 0 bits_per_level <= y + z < 2 * bits_per_level when y > 0 Which gives us: 0 <= z < bits_per_level bits_per_level - y <= z < 2 * bits_per_level - y when y > 0 y being < bit_per_level per the constraint further above, 2 * bits_per_level - y > bits_per_level. So all in all, we want a z such that bits_per_level - y <= z < bits_per_level with 0 < y < bits_per_level The largest value where this is true is z = bits_per_level - 1. In summary, height = (aBits + bits_per_level - 1) / bits_per_level is the same as the height as originally defined. With that formula, it's self evident that height * bits_per_level is always >= aBits, so we remove the assertion.
cd3472504445b4e8a3e3b6a55c309c63f197fee6: Bug 1406303 - Simplify the calculation of AddressRadixTree's bits_per_level. r=njn
Mike Hommey <mh+mozilla@glandium.org> - Thu, 28 Sep 2017 15:35:21 +0900 - rev 677180
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406303 - Simplify the calculation of AddressRadixTree's bits_per_level. r=njn bits_per_level was defined as: ffs(pow2_ceil((kNodeSize / sizeof(void*)))) - 1 kNodeSize is (1U << 14) when SIZEOF_PTR is 4 (sizeof(void*) being the same). Otherwise, it's CACHELINE, which is (1U << 6). The most important part, though, is that it's always a power of 2. And it's divided by sizeof(void*) which is always a power or 2. The result of that division is thus always a power of 2, as long as kNodeSize is larger than the size of a pointer, which it is. The argument to pow2_ceil being a power of 2, pow2_ceil is a noop, so it can go away. And the argument to ffs being a power of 2, it returns one more than n that matches 1 << n == value. So overall the expression returns the number of shifts for kNodeSize / SIZEOF_PTR. Transforming kNodeSize to a number of shifts/power of 2, the expression can then be simplified as kNodeSize2Pow - SIZEOF_PTR_2POW.
7b2056d32ff5f93ff2f4b224be8eed32a7097f79: Bug 1406303 - Turn malloc_rtree_t into a C++ class. r=njn
Mike Hommey <mh+mozilla@glandium.org> - Fri, 06 Oct 2017 10:49:24 +0900 - rev 677179
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406303 - Turn malloc_rtree_t into a C++ class. r=njn The only semantic change is in the value returned by Set, which now returns whether the value could be set or not.
e42bb7139c711615f264c58b601c23078686b086: Bug 1406303 - Refactor malloc_rtree_get/set. r=njn
Mike Hommey <mh+mozilla@glandium.org> - Thu, 28 Sep 2017 12:18:14 +0900 - rev 677178
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406303 - Refactor malloc_rtree_get/set. r=njn There is a lot of redundancy between malloc_rtree_get and malloc_rtree_set. Essentially, they both look up a slot, and either get a value or set a value in that slot. malloc_rtree_get doesn't create a tree path for the slot when it doesn't exist. And the MALLOC_RTREE_GET_GENERATE macro machinery makes malloc_rtree_get retry with a lock and validate both results agree in debug builds. By introducing a malloc_rtree_get_slot function that returns a slot, optionally creating a tree path to it, we remove the redundancy between _get and _set, and we can avoid the macro machinery as well.
035d3125ca2f0e5eeb25a04be9faeaffd156546b: Bug 1319332 - Derive the rust targets from the build host/target. r=froydnj
Mike Hommey <mh+mozilla@glandium.org> - Thu, 05 Oct 2017 16:10:45 +0900 - rev 677177
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1319332 - Derive the rust targets from the build host/target. r=froydnj
12293a4b3e23904229f8afd3e56805ffe072fde4: merge mozilla-central to autoland. r=merge a=merge
Sebastian Hengst <archaeopteryx@coole-files.de> - Mon, 09 Oct 2017 23:56:28 +0200 - rev 677176
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
merge mozilla-central to autoland. r=merge a=merge
7e960acfd90c6a709e1cb157a5f9bf63b1a1349f: servo: Merge #18792 - fix #18472:outdated png crate: various panics (from tigercosmos:img); r=jdm
tigercosmos <b04209032@ntu.edu.tw> - Mon, 09 Oct 2017 14:05:14 -0500 - rev 677175
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
servo: Merge #18792 - fix #18472:outdated png crate: various panics (from tigercosmos:img); r=jdm <!-- Please describe your changes on the following line: --> fix #18472:outdated png crate: various panics --- - [X] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [X] These changes fix #18472 Source-Repo: https://github.com/servo/servo Source-Revision: 80df3fb56a0e4ef5865fa478d7090c5541393541
134fc4fd4727638689539644498d1ddba5442b1e: Backed out changeset ef7e530aff4f (bug 1168092) for failing modified devtools test devtools/client/inspector/rules/test/browser_rules_edit-property-increments.js on Windows 7 pgo with e10s and on Windows 7 debug without e10s. r=backout
Sebastian Hengst <archaeopteryx@coole-files.de> - Mon, 09 Oct 2017 22:53:47 +0200 - rev 677174
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Backed out changeset ef7e530aff4f (bug 1168092) for failing modified devtools test devtools/client/inspector/rules/test/browser_rules_edit-property-increments.js on Windows 7 pgo with e10s and on Windows 7 debug without e10s. r=backout
2e7d53a96af0b7e2a1822c675be44a9cbb88ca9e: Bug 1406882 - Remove AutoGCIfRequested in InternalCallOrConstruct. r=jonco
Jan de Mooij <jdemooij@mozilla.com> - Tue, 10 Oct 2017 10:51:06 +0200 - rev 677173
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406882 - Remove AutoGCIfRequested in InternalCallOrConstruct. r=jonco
6e336c49b6e76c16142b47dd977ceb4215861224: Bug 1406902: Remove the magic value check in the wasm->jit import exit; r=luke
Benjamin Bouvier <benj@benj.me> - Mon, 09 Oct 2017 12:28:10 +0200 - rev 677172
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406902: Remove the magic value check in the wasm->jit import exit; r=luke MozReview-Commit-ID: 9VSmjn5PCCi
813d4e250712d296eb4b11b0b89e10ed6a94e3d4: Bug 1398806 - GetCtx and GetNearestViewport should return the nearest svg or symbol element which is now an SVGViewportElement rather than only returning the nearest svg element because a symbol establishes a viewport too. r=dholbert
Robert Longson <longsonr@gmail.com> - Tue, 10 Oct 2017 07:58:34 +0100 - rev 677171
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1398806 - GetCtx and GetNearestViewport should return the nearest svg or symbol element which is now an SVGViewportElement rather than only returning the nearest svg element because a symbol establishes a viewport too. r=dholbert
8dd2fefd471b508a6233042abc5d2ed5b7b754a4: Bug 1406336 - JS Jits: Fix load64() on 32-bit platforms, and centralize address arithmetic. r=nbp
Lars T Hansen <lhansen@mozilla.com> - Fri, 06 Oct 2017 11:01:08 +0200 - rev 677170
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Bug 1406336 - JS Jits: Fix load64() on 32-bit platforms, and centralize address arithmetic. r=nbp
2ffd7a34aa10f072615044c0c84929358b11f318: Backed out changeset 3d4353f7c8b7 (bug 1305005) for static bustage
Phil Ringnalda <philringnalda@gmail.com> - Mon, 09 Oct 2017 22:35:32 -0700 - rev 677169
Push 83722 by bmo:sledru@mozilla.com at Tue, 10 Oct 2017 10:01:59 +0000
Backed out changeset 3d4353f7c8b7 (bug 1305005) for static bustage MozReview-Commit-ID: FM7WuKUXedk
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip