Граф коммитов

481329 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Chen 0d17d1e151 Bug 906116 - part3.2: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame | (any ther bits needed) to replace
NS_STYLE_HINT_FRAMECHANGE in nsStyle*::MaxDifference.

For those nsStyle* that do not have nsChangeHint_NeutralChange in their
CalcDifference, we should be able to elimate nsChangeHint_NeutralChange from
their MaxDifference as well.

MozReview-Commit-ID: B3VJWt6gKoL

--HG--
extra : rebase_source : d0deff5bb579438c33b7b3288fc76d8b0420e1af
2016-07-06 13:06:14 +08:00
Jeremy Chen 35861acb00 Bug 906116 - part3.1: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame in
nsStyle*::CalcDifference.

MozReview-Commit-ID: 85WPCyYolal

--HG--
extra : rebase_source : 7eb5f6528268001108b11dab7c00252714ca738d
2016-07-06 13:06:14 +08:00
Jeremy Chen 0094cd236f Bug 906116 - part2: Fix comment for nsChangeHint_ReconstructFrame. r=dbaron
The comment for nsChangeHint_ReconstructFrame is out-of-date.

In RestyleManager::ProcessRestyledFrames, we actually ignore all of the other
hints if ReconstructFrame is set. The old version was written when
ReconstructFrame was listed last. So, update the comment.

MozReview-Commit-ID: 97wMrW6S6ID

--HG--
extra : rebase_source : d76815f8cadd7ddc6babc65e24d197717269625f
2016-07-06 13:06:13 +08:00
Jeremy Chen 1c15f8a673 Bug 906116 - part1: Ensure bracing all controlled statements in nsStyleStruct.h and nsStyleStruct.cpp. r=dbaron
According to our coding style guide, we should always brace controlled
statements, even a single-line consequent of an if-else-statement. It avoids
dangling else bugs.

MozReview-Commit-ID: FT1AR5MqOGw

--HG--
extra : rebase_source : f864e6f66c28e92574fb316a686e2d6d8fcb78e3
2016-07-06 13:06:13 +08:00
Henrik Skupin 5a4de3d3e6 Bug 1261101 - Add full update snippet contents to the update results dictionary. r=maja_zf
MozReview-Commit-ID: sgeTaYlu8P

--HG--
extra : rebase_source : 82c410490a99522c650cab6afe603242bdd9f631
2016-07-04 16:55:13 +02:00
Alastor Wu eaa4a7e589 Bug 1284754 - modify typo error for the event openMediaWithExternalApp. r=jwwang
MozReview-Commit-ID: 1WeniGeQlqa

--HG--
extra : rebase_source : bfd3a68dfcc917d82495369ee70ca9c6351f10a3
2016-07-06 15:07:21 +08:00
Astley Chen c0cfafab52 Bug 1284169 - include ACDEFINES flags in CSS properties PyGen r=mshal
MozReview-Commit-ID: 6fBTizGkBqG

--HG--
extra : rebase_source : 3d5a10b19941383e16c84712c3d6403632e7da50
2016-07-04 13:48:54 +08:00
Mantaroh Yoshinaga e17ee8c69e Bug 1284396 - Change GetParentObject return value. r=birtles
MozReview-Commit-ID: Rw0i2y4cc

--HG--
extra : rebase_source : 384a298b387f568a6854223c0d4fa24fca7ae32d
2016-07-06 09:20:29 +09:00
Gerald Squelart 2199b75935 Bug 1283892 - Disable D3D9 for igdumd64.dll 8.15.10.2119/2104/2102 - r=kentuckyfriedtakahe
MozReview-Commit-ID: 8rlosdWCLnd

--HG--
extra : rebase_source : 39791b87eae057cab14ad52b5ff4384b96d2500c
2016-07-05 11:44:58 +10:00
JW Wang 1f9f27d78b Bug 1283394. Part 3 - check if seek is completed in AudioWaitCallback(). r=kaku
MozReview-Commit-ID: ACopopP2gnf

--HG--
extra : rebase_source : 37e82c4dec1e4419b670c40eb0f3057e068ed02c
2016-06-30 17:03:12 +08:00
JW Wang 4ecd4baeee Bug 1283394. Part 2 - remove some null-checks. r=kaku
MozReview-Commit-ID: D8DkptoCNgK

--HG--
extra : rebase_source : f367fdc680b81c419b90f7aa6b03229d47707a62
2016-06-30 14:18:37 +08:00
JW Wang b7af24ae34 Bug 1283394. Part 1 - rename some functions. r=kaku
MozReview-Commit-ID: IrdaLYk1hwX

--HG--
extra : rebase_source : acf0e0939b6f6016cfb0e04607ccc33fdc883211
2016-06-30 14:16:18 +08:00
Carsten "Tomcat" Book 1a67b0a534 Backed out changeset 0f4e9c57ee8e (bug 906116) for bustage on a CLOSED TREE 2016-07-06 05:40:49 +02:00
Carsten "Tomcat" Book de3628dc26 Backed out changeset d84c0edb6912 (bug 906116) 2016-07-06 05:40:08 +02:00
Carsten "Tomcat" Book 95bf0b9965 Backed out changeset 17d17aeec1fa (bug 906116) 2016-07-06 05:40:07 +02:00
Carsten "Tomcat" Book cb8e0bf0b1 Backed out changeset 34c54dbb1b7d (bug 906116) 2016-07-06 05:40:07 +02:00
Carsten "Tomcat" Book 45017d7986 Backed out changeset 8c1f9996a7d6 (bug 906116) 2016-07-06 05:40:06 +02:00
Carsten "Tomcat" Book c9dc6a368d Backed out changeset 1ec6e0357c42 (bug 906116) 2016-07-06 05:40:05 +02:00
Alastor Wu 1c9d35df15 Bug 1282410 - part3 : add log. r=cpearce
MozReview-Commit-ID: KWf3uya31zv

--HG--
extra : rebase_source : 039f3d668204da35575262c36adc3bbef6b68109
2016-07-06 10:54:11 +08:00
Alastor Wu 377ac4f207 Bug 1282410 - part2 : open media with external apps. r=Margaret
MozReview-Commit-ID: KQDmOf2RURN

--HG--
extra : rebase_source : 95f26f3c2ded17008bd9201ff9a74cb52c39c92d
2016-07-06 10:53:53 +08:00
Alastor Wu 3d564c05b3 Bug 1282410 - part1 : open unsupported type media. r=cpearce
MozReview-Commit-ID: 4fjkDlRgdt7

--HG--
extra : rebase_source : a59607b1236c0047b97d7ca05002f1960e20ce51
2016-07-06 10:34:29 +08:00
Jeremy Chen b915e25c11 Bug 906116 - part4: Remove NS_STYLE_HINT_FRAMECHANGE. r=dbaron
MozReview-Commit-ID: IXPWY2B6k48

--HG--
extra : rebase_source : 63c31419f19c6fdfaebab4947cb881fe9ed7a820
2016-07-06 09:59:56 +08:00
Jeremy Chen 160b96f9a4 Bug 906116 - part3.3: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame to replace NS_STYLE_HINT_FRAMECHANGE in many places, such
as HTML*Element::GetAttributeChangeHint and HTMLFrameSetElement::SetAttr.

MozReview-Commit-ID: EHbc4RMeuu0

--HG--
extra : rebase_source : f5163608c88362595ef5af5fcd36fa64c9c79ce7
2016-07-06 09:59:56 +08:00
Jeremy Chen 4d805b1b21 Bug 906116 - part3.2: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame | (any ther bits needed) to replace
NS_STYLE_HINT_FRAMECHANGE in nsStyle*::MaxDifference.

For those nsStyle* that do not have nsChangeHint_NeutralChange in their
CalcDifference, we should be able to elimate nsChangeHint_NeutralChange from
their MaxDifference as well.

MozReview-Commit-ID: B3VJWt6gKoL

--HG--
extra : rebase_source : 7b568b680be4ea108b08cc565f1651ded70d357d
2016-07-06 09:59:56 +08:00
Jeremy Chen df7ed352fc Bug 906116 - part3.1: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame in
nsStyle*::CalcDifference.

MozReview-Commit-ID: 85WPCyYolal

--HG--
extra : rebase_source : 3a5e247fe38e0b75d9ea1826ce5758b5a5862675
2016-07-06 09:59:55 +08:00
Jeremy Chen 010cb33d92 Bug 906116 - part2: Fix comment for nsChangeHint_ReconstructFrame. r=dbaron
The comment for nsChangeHint_ReconstructFrame is out-of-date.

In RestyleManager::ProcessRestyledFrames, we actually ignore all of the other
hints if ReconstructFrame is set. The old version was written when
ReconstructFrame was listed last. So, update the comment.

MozReview-Commit-ID: 97wMrW6S6ID

--HG--
extra : rebase_source : f1556012073e088af96c2e389532f1ae04b165af
2016-07-06 09:59:55 +08:00
Jeremy Chen b789d84b05 Bug 906116 - part1: Ensure bracing all controlled statements in nsStyleStruct.h and nsStyleStruct.cpp. r=dbaron
According to our coding style guide, we should always brace controlled
statements, even a single-line consequent of an if-else-statement. It avoids
dangling else bugs.

MozReview-Commit-ID: FT1AR5MqOGw

--HG--
extra : rebase_source : 111b4f70c83a59ee7dab8bf8adf60bc10916cc79
2016-07-06 09:59:55 +08:00
Xidorn Quan f01d901ec8 Bug 1283106 - Put empty skip chars in gfxPlatform singleton rather than static local variable. r=jfkthame
MozReview-Commit-ID: 5SU6ewm5wbd

--HG--
extra : rebase_source : f522172d3ca191ba33c222c497e91bb718fda23e
2016-07-05 11:02:24 +10:00
JW Wang 2a6206aecc Bug 1282658. Part 17 - rename and remove some functions. r=kaku
MozReview-Commit-ID: 1v8WOlz2671

--HG--
extra : rebase_source : 1c80cc7afc0e6e5fec16904d7ca2b6d5b32a6666
2016-07-05 17:00:28 +08:00
JW Wang 638885d3b8 Bug 1282658. Part 16 - remove checks for |mReader->IsWaiting{Audio,Video}Data()|. r=kaku
EnsureAudioDecodeTaskQueued() is called from several places where
mReader->IsWaitingAudioData() can be proven to be false:
1. OnAudioDecoded() - definitely false.
2. OnNotDecoded() - false because aReason is MediaDecoderReader::CANCELED.
3. OnSeekResolved() - false becuase we haven't requested any samples.
4. SetCallbacks() - false because AudioWaitCallback is resolved.

MozReview-Commit-ID: 8ppYIQQw0uK

--HG--
extra : rebase_source : 721ab44f6c23b87edfbe6d132fca9d85ca468368
2016-06-29 17:26:13 +08:00
JW Wang 7cf8943c64 Bug 1282658. Part 15 - optimize checking of seek complete. r=kaku
We need to request another audio sample in OnAudioDecoded() only when
mDoneAudioSeeking is false which also applies OnVideoDecodd().
Therefore we remove calls to Ensure{Audio,Video}DecodeTaskQueued()
from CheckIfSeekComplete() to prevent requesting video samples inside
OnAudioDecoded() for they will be handled by OnVideoDecodd().

This also allows us to remove checking of mReader->IsRequesting{Audio,Video}Data()
from Ensure{Audio,Video}DecodeTaskQueued().

MozReview-Commit-ID: LpXjiacp0D9

--HG--
extra : rebase_source : 14d2b2de81ec386a50e26fd75ac2b1087d2950b5
2016-06-29 17:06:00 +08:00
JW Wang 721bcec40d Bug 1282658. Part 14 - remove mDrop{Audio,Video}UntilNextDiscontinuity for MediaData::mDiscontinuity is guaranteed to be true for the 1st sample after seeking. r=kaku
MozReview-Commit-ID: CttpYi6CV32

--HG--
extra : rebase_source : 2d64db28387026c832f14b405eeb06ee275f765c
2016-06-29 16:52:09 +08:00
JW Wang de4ba08284 Bug 1282658. Part 13 - replace use of int64_t with media::TimeUnit. r=kaku
MozReview-Commit-ID: 6LVuqpgWGUg

--HG--
extra : rebase_source : 626461d041b69f059d7eaa22d55b824c1c528b81
2016-06-28 17:16:31 +08:00
JW Wang b14b5d321c Bug 1282658. Part 12 - extract common code about adjusting fast seek. r=kaku
MozReview-Commit-ID: 5ZMdr3OA6Xk

--HG--
extra : rebase_source : d620a8d4274fb86c8de6c0c228039c2063c718e1
2016-06-28 17:07:34 +08:00
JW Wang 071cc078ea Bug 1282658. Part 11 - merge OnAudioNotDecoded() and OnVideoNotDecoded(). r=kaku
MozReview-Commit-ID: GE0IZc6cqBY

--HG--
extra : rebase_source : 5d27d57e618efa3b1c56701903587c6fb4e3fbcc
2016-06-28 16:54:38 +08:00
JW Wang f6ba3202b5 Bug 1282658. Part 10 - merge Request{Audio,Video}Data() into Ensure{Audio,Video}DecodeTaskQueued() for the logs are not quite useful. r=kaku
MozReview-Commit-ID: G1M9St1uLaN

--HG--
extra : rebase_source : a4fd0165fdf10836407595557f1243ecfe55663d
2016-06-28 16:13:09 +08:00
JW Wang 1f30859175 Bug 1282658. Part 9 - return void for Ensure{Audio,Video}DecodeTaskQueued() for they always return NS_OK. r=kaku.
MozReview-Commit-ID: 2eRnY5D9Vin

--HG--
extra : rebase_source : 1e547b48ae6dea7ceffc3d455abbf714d4a2d27a
2016-06-28 15:39:42 +08:00
JW Wang b7b0c343a2 Bug 1282658. Part 8 - remove asserting |mReader->IsWaitForDataSupported()| for mReader->WaitForData() will crash if the method has no override. r=kaku
MozReview-Commit-ID: 2t1viejYHgh

--HG--
extra : rebase_source : 43c7cbb063c74202ac1bd8a87ee4a00d84048fa9
2016-06-28 15:03:56 +08:00
JW Wang 1ed74106e8 Bug 1282658. Part 7 - remove setting mNeedToStopPrerolling{Audio,Video} per discussion in https://reviewboard.mozilla.org/r/43689/#comment54421. r=kaku
MozReview-Commit-ID: JWdJVj4aW56

--HG--
extra : rebase_source : 2c46680a0a33bd53f1771d11a89aada3ba00ddb4
2016-06-28 14:58:05 +08:00
JW Wang 7490b57730 Bug 1282658. Part 6 - remove unnecessary checks for |mSeekRequest.Exists()|. r=kaku.
Ensure{Audio,Video}DecodeTaskQueued() is always called after OnSeekResolved()
where mSeekRequest is completed. So |mSeekRequest.Exists()| should be always
false in Ensure{Audio,Video}DecodeTaskQueued().

MozReview-Commit-ID: Jd1q7O5jVmJ

--HG--
extra : rebase_source : 1230b5ffd26e92f74c5d7b4c2334743e52ea1abd
2016-06-28 13:59:53 +08:00
JW Wang c688858bfc Bug 1282658. Part 5 - remove unused members. r=kaku.
MozReview-Commit-ID: ERYIE6n9PXw

--HG--
extra : rebase_source : 0d7dcb47e2924f1feb8f46b239f43bd639ca1745
2016-06-28 13:44:05 +08:00
JW Wang a1475edd27 Bug 1282658. Part 4 - simplify logic of checking whether if audio/video seeking is completed. r=kaku.
MozReview-Commit-ID: LmITbzfRmoF

--HG--
extra : rebase_source : 8e655deffafe0a039552404ffe9c0642224229f0
2016-06-28 13:16:52 +08:00
JW Wang d833572925 Bug 1282658. Part 3 - rename some functions. r=kaku.
MozReview-Commit-ID: AbYzpTPrjd0

--HG--
extra : rebase_source : 8991057b57c4b26acc983909aea8756a7ddf38c4
2016-06-28 11:59:43 +08:00
JW Wang 3593e51a26 Bug 1282658. Part 2 - remove unnecessary checks for Exists(). r=kaku
1. On{Audio,Video}[Not]Decoded() is always called after Seek() and before
   mSeekTaskPromise is resolved or rejected. So mSeekTaskPromise should be
   never empty and Exists() should be always true.
2. Is{Audio,Video}SeekComplete is called by On{Audio,Video}[Not]Decoded()
   where Exists should be always true.


MozReview-Commit-ID: BNXBerkIMns

--HG--
extra : rebase_source : 9297a3dab11b5d852b68b4952065f9667f790bfd
2016-06-28 11:46:37 +08:00
JW Wang 554db74d1b Bug 1282658. Part 1 - remove some null-checks. r=kaku.
MozReview-Commit-ID: 6odTbkqvMnk

--HG--
extra : rebase_source : 85c85a6a50baf8f4b73bb884300a4d8edab05425
2016-06-28 11:26:22 +08:00
Wes Kocher 7c9b5f12a6 Merge m-c to autoland, a=merge 2016-07-05 17:14:16 -07:00
Wes Kocher bcd7fc0f64 Merge fx-team to central, a=merge 2016-07-05 17:10:38 -07:00
Wes Kocher 057b582fd1 Merge inbound to central, a=merge 2016-07-05 17:04:04 -07:00
Michael Layzell 48f17dbe5d Backout Bug 1279771 due to linux test failures 2016-07-05 13:48:52 -04:00
Mark Banner cdc482dbfd Bug 1256686 - System add-ons should have a more flexible maximum version for easier use with point releases. r=glandium 2016-07-05 18:40:44 +01:00