Joshua Cranmer
cb7d7894e5
Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium.
2014-09-04 23:38:54 -05:00
Timothy Nikkel
0ca4ce1847
Bug 1033679. When we clear frames from the image loader make sure that we also remove the images from the refresh driver. r=khuey
...
Normally a frame being destroyed would do this via PresShell::NotifyDestroyingFrame -> ImageLoader::DropRequestsForFrame but when we are tearing down the whole frame tree we skip per frame notifications like that for perf reasons. So we now make sure to do it when clearing out frames wholesale.
We also need to pass a prescontext pointer to ClearFrames because the ImageLoader only has a document pointer, and by that point in the presshell destruction sequence the presshell pointer on the document has been cleared.
2014-09-04 23:27:16 -05:00
Nicholas Nethercote
f00cea7994
Bug 1040593 (attempt 2) - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett.
...
--HG--
extra : rebase_source : 2bcccb3aa1543649eb30cd8c43680fc09ec6df91
2014-08-27 23:35:57 -07:00
Cameron McCormack
4987707ff9
Bug 931668 - Part 24: Avoid copying RestyleData::mDescendants when modifying an existing entry. r=dbaron
...
--HG--
extra : rebase_source : 0b9905bdff6f9ceec823b2091aadc39f0ca467bc
2014-09-05 13:48:48 +10:00
Cameron McCormack
f4fc11c565
Bug 931668 - Part 23: Change a few test assertion expectations. r=dbaron
...
--HG--
extra : rebase_source : 7e2be6dd13436dac97425dc91432b69c5a469ddf
2014-09-05 13:48:48 +10:00
Cameron McCormack
59c00ed39e
Bug 931668 - Part 22: Clear cached structs on descendants of an old style context that had structs swapped, if it is staying around. r=dbaron
...
--HG--
extra : rebase_source : aa23c06a20214c72d971ab059ef4833846c769fb
2014-09-05 13:48:47 +10:00
Cameron McCormack
6dd74b2e27
Bug 931668 - Part 21: Fix issue where not all pending-restyle descendants are restyled. r=dbaron
...
--HG--
extra : rebase_source : 824fe576885ec4f5ab086499dfaa6e95456afd50
2014-09-05 13:48:47 +10:00
Cameron McCormack
62aeb8f624
Bug 931668 - Part 20.2: Don't call AssertStructsNotUsedElsewhere on style contexts for :before/:after frames that are going away. r=dbaron
...
--HG--
extra : rebase_source : 7ff96443db553d564897d42870b81e10c2a78b53
2014-09-05 13:48:47 +10:00
Cameron McCormack
ac8951ea1d
Bug 931668 - Part 20.1: Keep old structs on new style contexts, for those that are equal. r=dbaron
...
We don't do struct swapping if either the old or new style contexts are
shared, since we can't guarantee that such a change will be valid for
all frames that use the shared style context.
--HG--
extra : rebase_source : 10f7c90422de23b119287ba478d36433423440da
2014-09-05 13:48:46 +10:00
Cameron McCormack
6ad2995b64
Bug 931668 - Part 20: Stop the recursive restyling process when we detect it is safe to do so. r=dbaron
...
--HG--
extra : rebase_source : 33eba29b1ef05b72c671dcc61d6a997ad492ceb1
2014-09-05 13:48:46 +10:00
Cameron McCormack
42e7f356b5
Bug 931668 - Part 19: Make RebuildAllStyleData use eRestyle_ForceDescendants so that it does rebuild the whole style tree. r=dbaron
...
--HG--
extra : rebase_source : 874f6c186d649c209235261f933e7ebd2853f294
2014-09-05 13:48:46 +10:00
Cameron McCormack
1b66062841
Bug 931668 - Part 18: Add a function to swap style structs between style contexts. r=dbaron
...
--HG--
extra : rebase_source : 4d32ed1f140db975b2fffe76ac6bd793287c916c
2014-09-05 13:48:46 +10:00
Cameron McCormack
d6d0175cde
Bug 931668 - Part 17: Handle eRestyleResult_Stop by moving a frame's style context to its new parent. r=dbaron
...
--HG--
extra : rebase_source : 50c6575821407b548ac0b805fa7f351e5ddbda53
2014-09-05 13:48:46 +10:00
Cameron McCormack
99d70e1415
Bug 931668 - Part 16: Give ElementRestyler::RestyleSelf a return value that indicates how restyling should proceed. r=dbaron
...
--HG--
extra : rebase_source : e9bcb021f40bef402b7bcb00a097d18efa4a813b
2014-09-05 13:48:45 +10:00
Cameron McCormack
f98dad9b40
Bug 931668 - Part 15: Pass equal struct bitfield back out of ElementRestyler::CaptureChange. r=dbaron
...
--HG--
extra : rebase_source : 70d70eeab3989a7991ae2a2abdeb21c0745b0398
2014-09-05 13:48:45 +10:00
Cameron McCormack
cb9f04affc
Bug 931668 - Part 14: Add functions to move style contexts to a new parent. r=dbaron
...
--HG--
extra : rebase_source : 90affb5987ab33e948366840dd3cc5a6d7ea1fd9
2014-09-05 13:48:45 +10:00
Cameron McCormack
b45c367690
Bug 931668 - Part 13 (no part 12): Add expensive (commented out) debug checks that destroyed style structs aren't still used in the style context tree. r=dbaron
...
--HG--
extra : rebase_source : 84217c186a6cced3ea5bac22590ecd4ddb0d7a5d
2014-09-05 13:48:45 +10:00
Cameron McCormack
a3aa708945
Bug 931668 - Part 11: Add eRestyle_Force (and eRestyle_ForceDescendants) restyle hints to control whether the frame (and all of its descendants) must be assigned its new style context even if it had the same style data as the old style context. r=dbaron
...
--HG--
extra : rebase_source : f92a5b5033bb4cf424ee172611a58fe583aed87f
2014-09-05 13:48:45 +10:00
Cameron McCormack
eb13de60fe
Bug 931668 - Part 10: Record pending restyles of restyle root descendants and ensure we restyle them if we didn't get to them. r=dbaron
...
--HG--
extra : rebase_source : b259e02c38362a12735158e30d6aa54556cf54ab
2014-09-05 13:48:45 +10:00
Cameron McCormack
55b3e24e82
Bug 931668 - Part 9 (no part 8): Make nsStyleContext::CalcStyleDifference compare all structs and return a bitfield of which changed. r=dbaron
...
--HG--
extra : rebase_source : 817e73531548183645c94ece67ad6a87c5de36c6
2014-09-05 13:48:44 +10:00
Cameron McCormack
13cbf35695
Bug 931668 - Part 7: Add helper functions looking at cached struct pointer values on style contexts. r=dbaron
...
Two functions are added:
* HasSameCachedStyleData, which compares a style struct pointer in two
style contexts, and
* HasCachedInheritedStyleData, which checks to see if the bit in mBits
is set.
--HG--
extra : rebase_source : 92f9a42b15fc5537044b033eb960e564196850de
2014-09-05 13:48:44 +10:00
Cameron McCormack
3c9fed24eb
Bug 931668 - Part 6: Add helper function to check if a style context has any children with the NS_STYLE_USES_GRANDANCESTOR_STYLE bit. r=dbaron
...
--HG--
extra : rebase_source : d0d5ea22e06509b3638d860f85a21506da7382fa
2014-09-05 13:48:44 +10:00
Cameron McCormack
515acc2955
Bug 931668 - Part 5 (no part 4): Record whether a style context is shared. r=dbaron
...
--HG--
extra : rebase_source : f000e310e7f429cc7656a9f375312ddf8e162c7a
2014-09-05 13:48:44 +10:00
Cameron McCormack
044fbf5585
Bug 931668 - Part 3: Add a style context bit to represent whether it depends on style data from its grandparent or higher ancestor. r=dbaron
...
--HG--
extra : rebase_source : 64deabb466cfaaeae220a00024cd05d8e87832bc
2014-09-05 13:48:44 +10:00
Cameron McCormack
600e5981ce
Bug 931668 - Part 2: Return nsChangeHint_NeutralChange where there was a style data change and we currently return nsChangeHint(0). r=dbaron
...
--HG--
extra : rebase_source : 17548a130559ea5b88e8e5a1fe5cc6206bd080b9
2014-09-05 13:48:43 +10:00
Cameron McCormack
9234d18624
Bug 931668 - Part 1: Add a change hint that represents a style data change that requires no processing. r=dbaron
...
--HG--
extra : rebase_source : 9035e376bfc53a18d6499407ad5958706aefcb7a
2014-09-05 13:48:43 +10:00
Nicholas Nethercote
78fc8dcc45
Bug 1063321 - Print to the console the paths of all files that DMD opens. r=mccr8.
...
--HG--
extra : rebase_source : 50a18a0a074f929ab934c5b3eade1c69e6ba4510
2014-09-04 20:45:22 -07:00
Ehsan Akhgari
01d3dc1afd
Bug 1061054 - Fix more bad implicit constructors in updater; r=bbondy
2014-09-04 23:23:24 -04:00
Ehsan Akhgari
123317dade
Bug 1063086 - Fix more bad implicit constructors in DOM; r=baku
2014-09-04 23:22:49 -04:00
Cameron McCormack
bb83f891d0
Bug 1063194
- Bustage fix. (CLOSED TREE)
2014-09-05 13:10:25 +10:00
Botond Ballo
cec2866503
Bug 1063194
- Make assertions in Axis::OverscrollBy() more informative. r=kats
2014-09-04 19:42:07 -04:00
Wes Kocher
419088eacb
Merge m-c to inbound a=merge
2014-09-04 18:47:52 -07:00
Mike Hommey
fabcf635f1
Fixup for bug 1062668. r=me
2014-09-05 10:35:43 +09:00
Wes Kocher
9e2ce1f1c2
Merge inbound to m-c a=merge
2014-09-04 18:30:01 -07:00
Mike Hommey
854daeafd3
Bug 1062668 - Add a timestamp to the message mach prints to indicate the end of the build. r=gps
2014-09-05 10:27:59 +09:00
Mike Hommey
c0c62a1745
Bug 1062668 - Only process the "include" install manifest when invoking the binaries target. r=gps
2014-09-05 10:27:39 +09:00
Wes Kocher
d05185bc56
Backed out changeset 94eed55e5a5b (bug 1040593) on a CLOSED TREE
2014-09-04 18:00:59 -07:00
Wes Kocher
5db4f5b366
Merge b2g-inbound to m-c a=merge
2014-09-04 17:31:18 -07:00
B2G Bumper Bot
8ac402008f
Bumping manifests a=b2g-bump
2014-09-04 14:12:26 -07:00
B2G Bumper Bot
e331fca7f6
Bumping manifests a=b2g-bump
2014-09-04 14:06:50 -07:00
B2G Bumper Bot
38fbc935f1
Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
...
========
https://hg.mozilla.org/integration/gaia-central/rev/c24176cfc9d1
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Merge pull request #23696 from mikehenrty/bug-1061924-call-forwarding-flashing
Bug 1061924 - Hide callforwarding and signal icons by default
========
https://hg.mozilla.org/integration/gaia-central/rev/a2629d53e82a
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Bug 1061924 - Hide callforwarding and signal icons by default
2014-09-04 14:00:44 -07:00
B2G Bumper Bot
e5b8cbcb83
Bumping manifests a=b2g-bump
2014-09-04 13:47:43 -07:00
B2G Bumper Bot
0bb5fc7a0f
Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
...
========
https://hg.mozilla.org/integration/gaia-central/rev/5e8003c86883
Author: Pavel Ivanov <pivanov@mozilla.com>
Desc: Merge pull request #22985 from pivanov/bug-1035681
Bug 1035681 - [Gallery] - check missing images
========
https://hg.mozilla.org/integration/gaia-central/rev/7e5fb5a91600
Author: Pavel Ivanov <pivanov@mozilla.com>
Desc: Bug 1035681 - [Gallery] - check missing images
2014-09-04 13:45:49 -07:00
Ehsan Akhgari
8e624baf61
Bug 1034930 - Improve the const correctness of BinaryOutputStream::writeBytes; r=upstream
2014-09-04 16:17:19 -04:00
B2G Bumper Bot
8f24d44a54
Bumping manifests a=b2g-bump
2014-09-04 13:12:26 -07:00
Boris Zbarsky
18c6169b67
Bug 716491. Return a .status of 200 and .statusText of "OK" for successful non-HTTP XHR loads. r=smaug
2014-09-04 15:26:58 -04:00
Boris Zbarsky
5fe3f441d5
Bug 1057176. Don't try to use the document's window for regexp evaluation in nsContentUtils::IsPatternMatching, since there might not be one. Just use the unprivileged junk scope. r=bholley
2014-09-04 15:26:39 -04:00
Boris Zbarsky
c0e718ab38
Bug 969490. Add a Components.utils.now() that provides access in system JS to a monotonic timer, returning a fractional number milliseconds since process creation. r=bholley
2014-09-04 15:26:21 -04:00
Tim Taubert
fc894fb9f0
Backed out changeset 1917953b1f89 (bug 961867) on a CLOSED TREE r=bustage
2014-09-04 15:08:57 -04:00
B2G Bumper Bot
3e8b36e7f7
Bumping manifests a=b2g-bump
2014-09-04 12:06:51 -07:00