Commit Graph

28987 Commits

Author SHA1 Message Date
Cameron McCormack
26febeb99d Bug 649142 - Part 6: Remove support for shorthand-implemented logical properties. r=dbaron
This includes removing:

* the box property directional source constants
* the CSS_PROPERTY_DIRECTIONAL_SOURCE property flag
* the CSS_PROPERTY_REPORT_OTHER_NAME property flag
* nsCSSProps::OtherNameFor
* methods on the CSS parser to parse directional box properties and set
  the old *-source and *-value properties
* the resolution of logical and physical properties in nsRuleNode during
  style computation, since that's now done as part of the cascade in
  nsCSSExpandedDataBlock::MapRuleInfoInto
2014-12-31 12:18:16 +11:00
Cameron McCormack
f3b4838e87 Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2014-12-31 12:18:15 +11:00
Cameron McCormack
6399b44e53 Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2014-12-31 12:18:14 +11:00
Cameron McCormack
fc345d527c Bug 649142 - Part 3: Convert logical padding properties. r=dbaron
Here we convert the logical padding properties into their new resolved-at-
cascade-time implementations.  This involves:

* converting -moz-padding-{start,end} into logical longhand properties
* adding padding-inline-{start,end} aliases for -moz-padding-{start,end}
* converting padding-{left,right} into longhand properties
* removing padding-{left,right}-value and
  padding-{left,right}-{ltr,rtl}-source internal properties

The CSS parser and various tests are simplified a bit as a result.
2014-12-31 12:18:14 +11:00
Cameron McCormack
a2a49258e5 Bug 649142 - Part 1: Add macros and flags for defining logical properties and don't allocate storage for them in nsRuleData. r=dbaron
We define a new flag CSS_PROPERTY_LOGICAL to be used for logical longhand
properties and a new CSS_PROP_LOGICAL macro in nsCSSPropList.h to
define them.

When using CSS_PROP to capture all properties, includers must now
explicitly indicate whether logical properties are included or not,
by defining CSS_PROP_LIST_EXCLUDE_LOGICAL (to exclude them),
CSS_PROP_LIST_INCLUDE_LOGICAL (to include them), or CSS_PROP_LOGICAL
(to capture them separately from other properties).
2014-12-31 12:18:12 +11:00
Jeff Gilbert
e2cd335ec4 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Wes Kocher
e8cbaaf86b Merge m-c to inbound a=merge 2014-12-30 16:04:20 -08:00
Wes Kocher
5f2b1b8698 Merge inbound to m-c a=merge 2014-12-30 15:48:13 -08:00
Bobby Holley
cbe75bc86d Bug 1116355 - Throw when setting SourceBuffer mode to 'sequence'. r=karlt,rs=Ms2ger 2014-12-30 12:22:45 -08:00
Ehsan Akhgari
8c483075ea Bug 1116358 - Directly call Release() on |this| when closing a GMP encoder/decoder proxies; r=cpearce
This is needed in order to avoid calling Release() on a smart pointer.
2014-12-30 14:53:12 -05:00
Aaron Klotz
a6a7088f37 Bug 998863: Fix non-unified build bustage r=bustage
--HG--
extra : rebase_source : 521f9fd6ce378021fa560c198b1d7b2f47ad4462
2014-12-30 10:46:05 -07:00
Yoshi Huang
3d1e097a95 Bug 1115674 - manifest for NfcContentHelper. r=dimi
From ab9028ed8fa698952fac33a0ce99fabb6bf906a7 Mon Sep 17 00:00:00 2001
---
 b2g/installer/package-manifest.in | 1 +
 dom/nfc/NfcContentHelper.manifest | 7 +++++++
 dom/nfc/gonk/Nfc.manifest         | 4 ----
 dom/nfc/moz.build                 | 1 +
 4 files changed, 9 insertions(+), 4 deletions(-)
 create mode 100644 dom/nfc/NfcContentHelper.manifest
2014-12-26 20:41:25 +08:00
Yoshi Huang
f144242b70 Bug 1115468 - Some attrubites of MozNFCTag are null. r=dimi
From bf11cb363f58cce8eff86c6234930a94834b3c11 Mon Sep 17 00:00:00 2001
---
 dom/nfc/NfcContentHelper.js     | 40 ++++++++++++++++++++++++++++------------
 dom/nfc/nsINfcContentHelper.idl | 23 +++++++++++++++++------
 dom/nfc/nsNfc.js                | 38 ++++++++++++++++++++------------------
 3 files changed, 65 insertions(+), 36 deletions(-)
2014-12-26 11:50:12 +08:00
JW Wang
38d83a3f6e Bug 1116006 - add debugging logs. r=cpearce 2014-12-28 22:33:00 +01:00
Benjamin Chen
36a48402aa Bug 1094678 - MediaCodecReader::CreateTaskQueues() runs at main thread. r=cpearce, r=brsun 2014-12-23 14:31:30 +08:00
Masatoshi Kimura
d2e2475796 Bug 1115668 - Fix inappropriate mixed content warning messages. r=tanvi 2014-12-30 23:09:33 +09:00
Nigel Babu
4eea340b21 Bug 998863 - Add mozilla namespace, r=bustage
CLOSED TREE

--HG--
extra : rebase_source : 9c41c32f144593e8b40c5bf34e21634d209cdad5
2014-12-30 14:22:21 +05:30
Carsten "Tomcat" Book
ac441c9c35 Backed out changeset d1f3c8d40cdf (bug 1116355) for breaking w-4 tests on a CLOSED TREE 2014-12-30 09:46:51 +01:00
Bobby Holley
854b574038 Bug 1116355 - Throw when setting SourceBuffer mode to 'sequence'. r=karlt 2014-12-29 23:20:03 -08:00
Bobby Holley
82e8ada462 Bug 1114840 - Don't start playback during prerolling. r=cpearce 2014-12-29 23:16:48 -08:00
Bobby Holley
d1af9c784d Bug 1114840 - Dynamically compute preroll thresholds. r=cpearce
Currently, the preroll threshold ends up higher than the ample threshold in the
audio-only case where we slash the audio thresholds by a factor of 8. The best
way to avoid these sorts of bugs is to compute the values dynamically.
2014-12-29 23:16:48 -08:00
Bobby Holley
746d45dc2a Bug 1114840 - Hoist arms-length conditions and rename StartPlayback() to MaybeStartPlayback(). r=cpearce 2014-12-29 23:16:48 -08:00
Bobby Holley
756be06580 Bug 1114840 - Use StartDecoding() rather than SetState in PlayInternal. r=cpearce
This makes sure that decode tasks are dispatched and that all the preroll state
is appropriately set up.
2014-12-29 23:16:48 -08:00
Bobby Holley
87a09e70db Bug 1114840 - Make MediaDecoderStateMachine::Play run on the state machine thread. r=cpearce
We want to invoke StartDecoding() from Play, but that calls into a bunch of stuff
that asserts that we're on the state machine thread. It's not clear to me whether
that's actually necessary, but this seems like the right thing to do regardless
given that this is all supposed to be async anyway.
2014-12-29 23:16:48 -08:00
Carsten "Tomcat" Book
aefef83899 Backed out changeset 470c550c782b (bug 1115668) for breaking dt tests on a CLOSED TREE 2014-12-30 08:09:15 +01:00
Nigel Babu
85ffb1165c Bug 998863 - Include mozilla/UniquePtr.h to fix non-unified bustage, r=bustage
CLOSED TREE

--HG--
extra : amend_source : fd6f39200ba4ee4d60a9a64d4d34817f6b4d6f6e
2014-12-30 12:29:22 +05:30
Masatoshi Kimura
654da9686f Bug 1115668 - Fix inappropriate mixed content warning messages. r=tanvi 2014-12-30 14:37:15 +09:00
Jean-Yves Avenard
096bde9ac8 Bug 1115594: Fix indentation in AppleVDADecoder. r=rillian
--HG--
extra : rebase_source : 6f12f00194507d9000f11d48df8350eed968c30d
2014-12-30 12:06:22 +11:00
Masayuki Nakano
2f91441c6c Bug 1027477 Don't map "Exit" key value to HOME button of smartphones r=mwu+nchen+smaug 2014-12-30 10:47:56 +09:00
Masayuki Nakano
432b370aca Bug 1027474 Support "VideoModeNext" key value on GTK r=smaug+karlt 2014-12-30 10:47:56 +09:00
Masayuki Nakano
721e1fed2c Bug 1027472 Support Symbol key value on Android and Gonk r=mwu+nchen+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
5bd4a4b23e Bug 1027007 Support multimedia keyboard's special key values "Close", "MailForward", "MailReply", "MailSend", "New", "Open", "Print" and "SpellCheck" on GTK and Qt r=smaug+karlt+romaxa 2014-12-30 10:47:55 +09:00
Masayuki Nakano
4c99304178 Bug 1026939 Support "LaunchFoo" key values which launches specific application on GTK, Qt, Android and Gonk r=nchen+karlt+mwu+smaug+romaxa 2014-12-30 10:47:55 +09:00
Masayuki Nakano
8b792a9115 Bug 1023062 Support "TV", "TVInput", "TVPower", "AVInput", "AVPower", "STBInput" and "STBPower" key values on Androind and Gonk r=nchen+mwu+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
3fe47f6bc3 Bug 936322 Support "GroupFirst", "GroupLast", "GroupNext" and "GroupPrevious" key values on GTK, Android and Gonk r=nchen+karlt+mwu+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
560516851c Bug 896348 Support "Eisu" key value on Mac, Android and Gonk r=smichaud+nchen+mwu+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
0a0853779d Bug 900400 Support "HiraganaKatakana" and "ZenkakuHankaku" on GTK, Qt, Android and Gonk r=nchen+karlt+mwu+smaug+romaxa 2014-12-30 10:47:55 +09:00
Masayuki Nakano
9fcf63da57 Bug 900392 Support "SingleCandidate" key value on GTK and Qt r=romaxa+karlt+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
2b9c8bed5a Bug 900384 Support "Redo" key value on GTK r=karlt+smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
9d6631e82a Bug 900382 Support "LogOff", "PowerOff", "Hibernate", "Standby" and "WakeUp" key values on Windows, GTK and Qt r=jimm+karlt+smaug+jimm 2014-12-30 10:47:54 +09:00
Masayuki Nakano
86a579a596 Bug 900378 Support "ZoomIn" and "ZoomOut" key values on GTK, Qt, Android and Gonk r=romaxa+nchen+karlt+mwu+smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
07993708a7 BUg 1020877 Drop 'Live' key name since no platforms use it and rename remaining unused old key names to the latest D3E draft's names r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
a2fad648f3 Bug 938987 Use 'Dead' key value for all dead keys r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
bf30b1faa4 Bug 936315 Rename 'Nonconvert', 'HalfWidth', 'RomanCharacters' and 'FullWidth' to 'NonConvert', 'Hankaku', 'Romaji' and 'Zenkaku' r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
b6f9e54328 Bug 912869 Rename 'Apps' and 'FastFwd' to 'MediaApps' and 'MediaFastForward' (and drop 'MediaApps' support) r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
4ab51fdd22 Bug 912866 Rename key values of color buttons to the latest D3E draft's names (like 'ColorF0Red') r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
d2013c7870 Bug 912864 Rename 'SelectMedia', 'MediaNextTrack' and 'MediaPreviousTrack' to 'MediaSelect', 'MediaTrackNext' and 'MediaTrackPrevious' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano
cb9acc7262 Bug 912860 Rename 'Zoom' key value to 'ZoomToggle' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano
37b7cbf800 Bug 912859 Rename 'Del' and 'Esc' key values to 'Delete' and 'Escape' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano
e03a1c6403 Bug 900390 Rename 'Down', 'Left', 'Right' and 'Up' key values to 'ArrowDown', 'ArrowLeft', 'ArrowRight' and 'ArrowUp' r=smaug 2014-12-30 10:47:53 +09:00