Commit Graph

381008 Commits

Author SHA1 Message Date
Kilik Kuo
6b7ffc4559 Bug 1022524 - Set up audio track and video track information for Ogg files. r=rillian 2014-09-03 11:01:37 +08:00
Kilik Kuo
f9a8f31cb4 Bug 1022524 - Mochitest for Bug 1022524. r=rillian 2014-08-26 14:33:08 +08:00
Daniel Stenberg
3d353d43a3 Bug 939318 - introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the network changed event in test_ping_aboutnetworking.js
2014-09-03 02:14:00 +02:00
Daniel Stenberg
ec22495524 Bug 939318 - send network changed event when returning from sleep, r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
70a0a77385 Bug 939318 - websockets act on network interface changes, r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
b8ca3775b3 Bug 939318 - protocolproxy service acts on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-04 06:14:00 +02:00
Daniel Stenberg
3815268a76 Bug 939318 - find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 +02:00
Daniel Stenberg
3164855cdf Bug 939318 - detect network interface changes on windows properly, r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-29 01:18:00 +02:00
Masayuki Nakano
bf3703d87b Bug 1061810 ContentEventHandler::SetRangeFromFlatTextOffset() should use nsRange::SetStart(nsINode*, int32_t) instead of nsRange::SetStart(nsIDOMNode*, int32_t) for avoiding the unnecessary QI r=smaug 2014-09-05 14:27:12 +09:00
Chris Peterson
7bea2be20a Bug 1036781 - Part 12: Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/src/jit. r=jandem 2014-08-21 21:48:01 -07:00
Matthew Gregan
4335ec1e50 Bug 1062669 - Consider only SourceBuffers created before the first initialization segment is appended as essential for parent decoder initialization. r=cajbir 2014-09-05 12:04:54 +12:00
Joshua Cranmer
0f5f1f0b5d Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium. 2014-09-04 23:38:54 -05:00
Timothy Nikkel
295021d470 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
94bc3e8dde 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
90dc98cfbe 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
332169032c 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
a60c564803 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
d32c1d2bfc 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
7f9178272f 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
6c1e5df71c 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
99097814d6 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
391b7d8d02 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
baa35dd12a 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
7130a6b300 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
0c2afd3177 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
55da6bb01e 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
dde9a37df1 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
3a5a6b0f08 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
1e6847a108 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
ba762a2f5c 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
5cf22e3dc6 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
a06cce0a30 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
21b2105ad2 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
c0014b4555 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
4311d86477 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
7f1a28b908 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
7b5397f5e7 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
c632d54478 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
a808a05adb Bug 1061054 - Fix more bad implicit constructors in updater; r=bbondy 2014-09-04 23:23:24 -04:00
Ehsan Akhgari
d289d3a9b1 Bug 1063086 - Fix more bad implicit constructors in DOM; r=baku 2014-09-04 23:22:49 -04:00
Cameron McCormack
4982d40d0e Bug 1063194 - Bustage fix. (CLOSED TREE) 2014-09-05 13:10:25 +10:00
Botond Ballo
14e96669a9 Bug 1063194 - Make assertions in Axis::OverscrollBy() more informative. r=kats 2014-09-04 19:42:07 -04:00
Wes Kocher
4c51a3c574 Merge m-c to inbound a=merge 2014-09-04 18:47:52 -07:00
Mike Hommey
988396196d Fixup for bug 1062668. r=me 2014-09-05 10:35:43 +09:00
Wes Kocher
d48269bc7c Merge inbound to m-c a=merge 2014-09-04 18:30:01 -07:00
Mike Hommey
fa85fae8f6 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
8e735c799c 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
edce5ffd3c Backed out changeset 94eed55e5a5b (bug 1040593) on a CLOSED TREE 2014-09-04 18:00:59 -07:00
Wes Kocher
7725890754 Merge b2g-inbound to m-c a=merge 2014-09-04 17:31:18 -07:00
B2G Bumper Bot
0b2baf74e1 Bumping manifests a=b2g-bump 2014-09-04 14:12:26 -07:00