Commit Graph

498085 Commits

Author SHA1 Message Date
Mike Hommey
c35a6888f9 Bug 1313306 - Allow @depends(when=something) without additional dependencies. r=chmanchester
Also allow when=True/False to avoid the chicken-egg problem of using
a generic `when` to use in replacement of @depends('--help') for things
like @dependable.

--HG--
extra : rebase_source : f1571a5b904efb66a361b90f3b7e1edbaa75772e
2016-10-26 16:42:06 +09:00
Mike Hommey
18c9034b4a Bug 1313306 - Relax the rules for --help dependencies. r=chmanchester
--help dependencies currently help identify functions that will run when
running configure --help, which we don't want to have spreading too
much. OTOH, when such functions have no side effect, it's not really
that important to have them explicitly marked.

So, allow missing --help dependencies for functions that:
- don't use @imports
- don't have a closure
- don't use global variables

This is a first step towards entirely removing the --help markings (the
end goal being that --help dependencies will indicate actual --help
dependencies). As such, we don't really care about updating the lint
error message.

--HG--
extra : rebase_source : e81ec9b51ff01c2ee75722904e551286aa0b2bec
2016-10-27 13:40:42 +09:00
Mike Hommey
b89b671cc8 Bug 1313306 - Don't expose os.path.{exists,isdir,isfile} to python configure without an @imports. r=chmanchester
We want functions without an @imports to not have any side effects, and
to not use external resources. So remove the few functions we expose from
os.path without @imports('os') that do.

--HG--
extra : rebase_source : a9485ec269d4de5785d66d7772eda4fae5a84b4a
2016-10-26 11:49:58 +09:00
Mike Hommey
016afea56c Bug 1313306 - Move --help dependency checks to the linter. r=chmanchester
Missing such dependencies shouldn't impair running configure itself
after local modifications, but they are currently required for
(mostly) documentation purpose. Which means they are better done in
the linter.

--HG--
extra : rebase_source : 6bfff2342cda2ed1351f561c9eb9623f1fb4e4c4
2016-10-27 10:02:21 +09:00
Mike Hommey
e9aa83949b Bug 1313306 - Add a placeholder python configure linter. r=chmanchester
--HG--
extra : rebase_source : d7b17160bbf61e9aca2edfb2874a87182140c144
2016-10-27 09:36:33 +09:00
JW Wang
9be13f02e3 Bug 1312337. Part 4 - remove ReaderQueue and its friends. r=jya
MozReview-Commit-ID: Gg4IOPdjEeS

--HG--
extra : rebase_source : 318feb3ce9f84761925c705bfdddbc03a20b10bb
extra : intermediate-source : afd483164d7e4801d320683fe87404284a972f4f
extra : source : bea439fcb268af70b1cbcde7169d9184df167242
2016-10-27 16:06:05 +08:00
JW Wang
811508fa12 Bug 1312337. Part 3 - employ DecoderAllocPolicy for controlling decoder creation. r=jya
MozReview-Commit-ID: JdDq1Y8oFn4

--HG--
extra : rebase_source : c5da13bc96ddfbdb9e899a64b2a2e9c32bceda2b
extra : intermediate-source : babc9ef39ddd7d0d3892282dc9e158e812d259ea
extra : source : 79f16bd2ecace7b8d4e69296a236544751a7d0e2
2016-10-27 15:16:06 +08:00
JW Wang
d7adc92e17 Bug 1312337. Part 2 - implement a policy object to control the number of decoders to be created concurrently. r=gerald
MozReview-Commit-ID: 7D4PXedDC3D

--HG--
extra : rebase_source : 93f977f6543423eac79a2330d51e27aea2dfa6ee
extra : intermediate-source : 782d9f42291f3d089e5046a593d07f5073dc8830
extra : source : 421fdc7d95fcdd99d9d18dda4ab38568da7e2043
2016-10-28 17:43:19 +08:00
JW Wang
0a2d601dc2 Bug 1312337. Part 1 - move creation/initialization of decoders into DecoderFactory. r=jya
So m{Audio,Video}.mDecoder will never reference a half-baked decoder.

MozReview-Commit-ID: FwuzaRR9ugf

--HG--
extra : rebase_source : 32b13b5e3041072bb5e48e6a633281bd8df76a41
extra : intermediate-source : 3d5bc0ca507717f09e1429a5ea05f98e18b48dfc
extra : source : 039ed0007b2e63c381c1ad0f638eed5b4c53266f
2016-10-26 17:37:19 +08:00
Alastor Wu
d075282bff Bug 1305869 - don't display media control for very short sound. r=sebastian
For the short sound, we don't want to show the media control interface for them, eg. game effect.
Therefore, we check the media's duration to decide whether need to notify Java side "Tab:MediaPlaybackChange" or not.

MozReview-Commit-ID: 8PlQl2w2BSI

--HG--
extra : rebase_source : c4e5d38eae1dba22af268ea575dd6c9672e7cf9f
2016-11-01 12:22:39 +08:00
Ting-Yu Lin
6890b35c2b Bug 1313362 - Convert nsGenConList to use mozilla::LinkedList. r=xidorn
The difference between the PRCList and LinkedList is that the end of a
LinkedList is represented by nullptr, so we don't need to worry about
getting the first element when we iterate pass the last element. The
majority of the changes is due to this difference.

Also, simplify do-while loops by using for-loops in nsCounterManager and
nsQuoteList.

MozReview-Commit-ID: CZQxqNm2Ksm

--HG--
extra : rebase_source : 1a27aa5effa43a46a5d24172085c6d3502cb8c47
2016-10-27 18:07:52 +08:00
Alastor Wu
0b4de10955 Bug 1313559 - Don't need to notify gecko if the media was resumed-from-page. r=sebastian
MozReview-Commit-ID: Cemch546mcS

--HG--
extra : rebase_source : 7fc89123f5682db4ed1c9e6c8197c26102c8ad72
2016-10-28 11:49:22 +08:00
Tim Huang
e9e4d869e2 Bug 1308679 - Request a longer timeout for the tests that use first party isolation test framework. r=baku
--HG--
extra : rebase_source : e33c5ac5cf2e50a19b146ba4afa74ce0e1b15c78
2016-10-30 20:16:27 +08:00
Tomislav Jovanovic
189643b657 bug 1272890 - implement match_about_blank for content scripts r=kmag
MozReview-Commit-ID: 3iZLpUw5LF4

--HG--
extra : rebase_source : da09c27cf5fa89a64fc6b0bf0e569fe412d5d391
2016-10-12 05:48:04 +02:00
Andy McKay
f50a99fb94 bug 1313567 use author as fallback if its a string, otherwise ignore r=kmag
MozReview-Commit-ID: CmGXJqDwjM3

--HG--
extra : rebase_source : 48f52928f095287e2504cc1f2d3b3565609a15d5
2016-10-31 11:57:24 -07:00
James Cheng
472ba25796 Bug 1313878 - Use lambda to create runnable for dispatching to main thread in GMPCDMCallbackProxy.cpp r=cpearce
MozReview-Commit-ID: 2X1oWsL29n9

--HG--
extra : rebase_source : 0f652a7449f5af13641144811dc8e1d5457242db
2016-10-30 03:48:26 +08:00
Phil Ringnalda
16522e6c40 Backed out changeset 27695ca9f8cd (bug 1310864) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html 2016-10-31 19:39:06 -07:00
Phil Ringnalda
62aec9f499 Merge m-c to autoland, DONTBUILD 2016-10-31 19:34:47 -07:00
Phil Ringnalda
f5c9e9a249 Bug 1308040 followup, placate eslint, a= 2016-10-31 19:33:01 -07:00
Phil Ringnalda
8f3fc80e6a Merge m-c to autoland 2016-10-31 18:46:45 -07:00
Phil Ringnalda
4880541dd8 Backed out changeset 6c105cd2bf71 (bug 1293675) for Windows failures in test_checks_configure.py 2016-10-31 18:46:00 -07:00
Phil Ringnalda
e06d171743 Merge the last of f-t to m-c, a=merge
MozReview-Commit-ID: KS152JZGk5o
2016-10-31 18:37:53 -07:00
Phil Ringnalda
56dcb2694d Merge m-i to m-c, a=merge
MozReview-Commit-ID: J2Mx0f21eBE
2016-10-31 18:35:14 -07:00
Mike Hommey
bd70f6640e Bug 1293675 - Error out when GetShortPathName returns a long path name. r=gps
--HG--
extra : rebase_source : b871d4527cdba54ec1764fe99cef1261bf09d868
2016-11-01 08:06:40 +09:00
Jeff Gilbert (:jgilbert)
851bd95543 Bug 1313541 - Fix compressedTexImage size validation. - r=ethlin
MozReview-Commit-ID: 4o83xIMyYMD
2016-10-31 15:03:31 -07:00
Jeff Gilbert (:jgilbert)
ae64777e89 Bug 1313541 - Fix CompressedTexImage entrypoints to add size. - r=qdot
MozReview-Commit-ID: AYjsBCKSLUN
2016-10-31 15:03:29 -07:00
Jeff Gilbert (:jgilbert)
3ba19b96f6 Bug 1313541 - Fix test since TexSubImage is no longer nullable.
MozReview-Commit-ID: BVBsXkVTDCA
2016-10-31 15:03:26 -07:00
Jeff Gilbert (:jgilbert)
cafb4ccac4 Bug 1313541 - Rewrite TexImageSource glue. - r=ethlin
MozReview-Commit-ID: 4zwNrobTcUf
2016-10-31 15:03:24 -07:00
Jeff Gilbert (:jgilbert)
4b2a875e8b Bug 1313541 - Reimplement glue in accordance to webidl deviation minimization. - r=ethlin
MozReview-Commit-ID: 6w56cfegTz5
2016-10-31 15:03:22 -07:00
Jeff Gilbert (:jgilbert)
6527bc9ca5 Bug 1313541 - Minimize deviation from top of tree webidl. - r=qdot
MozReview-Commit-ID: 5WPhDfckzTa
2016-10-31 15:03:19 -07:00
Jeff Gilbert (:jgilbert)
4d5bc96887 Bug 1313541 - ClearBuffer impl. - r=ethlin
MozReview-Commit-ID: BcniOSuYh6O
2016-10-31 15:03:17 -07:00
Jeff Gilbert (:jgilbert)
469b884470 Bug 1313541 - ClearBuffer webidl. - r=qdot
MozReview-Commit-ID: HkZG1htvJ5J
2016-10-31 15:03:14 -07:00
Jeff Gilbert (:jgilbert)
da6363d868 Bug 1313541 - ClearBuffer style fixes. - r=ethlin
MozReview-Commit-ID: CZbWDAepxlX
2016-10-31 15:03:12 -07:00
Jeff Gilbert (:jgilbert)
ec29704197 Bug 1313541 - Uniform impl. - r=ethlin
MozReview-Commit-ID: DN8sUfRR0z7
2016-10-31 15:03:09 -07:00
Jeff Gilbert (:jgilbert)
85e4f2e105 Bug 1313541 - Uniform webidl. - r=qdot
MozReview-Commit-ID: 7cndvoLmjaS
2016-10-31 15:03:07 -07:00
Jeff Gilbert (:jgilbert)
b9f6f1e47e Bug 1313541 - Texture impl. - r=ethlin
MozReview-Commit-ID: DEyr93aD3IF
2016-10-31 15:03:05 -07:00
Jeff Gilbert (:jgilbert)
bce071555d Bug 1313541 - Texture webidl. - r=qdot
MozReview-Commit-ID: KmmMIC0Gv81
2016-10-31 15:03:03 -07:00
Jeff Gilbert (:jgilbert)
ab4d2d1cc5 Bug 1313541 - Texture impl. - r=ethlin
MozReview-Commit-ID: GEYMTnqC9Q3
2016-10-31 15:03:00 -07:00
Jeff Gilbert (:jgilbert)
73c6137df9 Bug 1313541 - Texture webidl. - r=qdot
MozReview-Commit-ID: 3mEVcPVwURO
2016-10-31 15:02:58 -07:00
Jeff Gilbert (:jgilbert)
6ffdc434af Bug 1313541 - GetBufferSubData impl. - r=ethlin
MozReview-Commit-ID: BOQYxIAqsDN
2016-10-31 15:02:56 -07:00
Jeff Gilbert (:jgilbert)
67958f75d6 Bug 1313541 - GetBufferSubData webidl. - r=qdot
MozReview-Commit-ID: LJpKP5ITlay
2016-10-31 15:02:53 -07:00
Jeff Gilbert (:jgilbert)
ec744711a2 Bug 1313541 - Add WebGLBuffer::ValidateRange. - r=ethlin
MozReview-Commit-ID: GtT1YppMzLV
2016-10-31 15:02:51 -07:00
Jeff Gilbert (:jgilbert)
8926e3f440 Bug 1313541 - Buffer[Sub]Data impl. - r=ethlin
MozReview-Commit-ID: 4cmfDQuegxm
2016-10-31 15:02:48 -07:00
Jeff Gilbert (:jgilbert)
1ffc72e50d Bug 1313541 - Buffer[Sub]Data webidl. - r=qdot
MozReview-Commit-ID: HBfrYnvfBcz
2016-10-31 15:02:46 -07:00
Jeff Gilbert (:jgilbert)
820fc3c54a Bug 1313541 - ReadPixels impl. - r=ethlin
MozReview-Commit-ID: HInjyzjTdEY
2016-10-31 15:02:44 -07:00
Jeff Gilbert (:jgilbert)
e87ba8e403 Bug 1313541 - ReadPixels webidl. - r=qdot
MozReview-Commit-ID: Ihq0JNEzLye
2016-10-31 15:02:42 -07:00
Jeff Gilbert (:jgilbert)
8dc5c5ed96 Bug 1313541 - Add ValidateArrayBufferView. - r=ethlin
MozReview-Commit-ID: JuiA7dD4vwR
2016-10-31 15:02:39 -07:00
Bill McCloskey
500fd75c2a Bug 1308040 - Save GCs in telemetry (r=gfritzsche,bsmedberg) 2016-10-31 14:01:49 -07:00
Bill McCloskey
d7e107da58 Bug 1308040 - Don't count painting time in GC telemetry (r=sfink) 2016-10-31 14:01:48 -07:00
Bill McCloskey
6c5708cce0 Bug 1308040 - Fix GC JSON totals array (r=sfink) 2016-10-31 14:01:48 -07:00