Chris Peterson
992e7e882e
Bug 1171368 - Fix -Wunreachable-code-break warning in layout/style/nsCSSRuleProcessor.cpp. r=dholbert
2015-06-03 23:12:24 -07:00
Wes Kocher
42a8fdddc8
Merge m-c to inbound, a=merge
2015-06-04 18:29:42 -07:00
Nicholas Nethercote
e6ec6218c6
Bug 1171282 - Avoid some unnecessary |operator new| null-checks in layout/. r=dholbert.
...
AllocateByObjectID() is infallible. Therefore the |operator new| of nsFrameList,
nsLineBox and nsRuleNode are too, as is nsRuleNode::CreateRootNode().
The patch also removes a couple of comments duplicated in both .h and .cpp
files.
--HG--
extra : rebase_source : 0b9e195fd547fdd53ddad7bb461ff5f5c2016fce
2015-06-03 23:45:11 -07:00
J. Ryan Stinnett
0db3f776d9
Bug 1169901 - View source menu covers full height. r=heycam
...
--HG--
extra : transplant_source : %D9%E0%F49%40%ED%9ET%A7o%1E%28F%FCm%D5%D1k%FB%B2
2015-06-02 18:09:46 -05:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
cc58068318
Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
...
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-03 15:22:30 -07:00
Eric Rahm
f50b813989
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-03 15:22:28 -07:00
Nicholas Nethercote
383a496bf6
Bug 1170416 (part 5) - Remove PLDHashTable::IsInitialized(). r=froydnj.
...
|mOps| is always non-null now, and there's no longer any distinction between
and uninitialized and initialized table. Yay.
--HG--
extra : rebase_source : 3d1fb72aee4dd21ff20db0ff3166d4e932ade897
2015-05-20 21:23:55 -07:00
Nicholas Nethercote
e849e6588b
Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
...
--HG--
extra : rebase_source : 9510ea47204fffa163cac43aeaaac6ae1ad80419
2015-05-19 16:46:17 -07:00
Kyle Zentner
3b4c44713c
Bug 1169837
- Remove box-sizing: padding-box in FF UI & Gecko Tests. r=dholbert
2015-06-02 08:46:00 -04:00
Mats Palmgren
cc260b44cf
Bug 817406 part 1 - Let ApplyStyleFixups propogate 'direction' to the viewport. r=bz,heycam
2015-05-27 22:18:36 +00:00
Ryan VanderMeulen
7dfbf70ce7
Backed out changeset 4126c66c9a80 (bug 1166728) for Gaia sound_manager_test.js failures.
...
CLOSED TREE
2015-05-29 15:16:53 -04:00
Kyle Zentner
f2ec992500
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-29 09:17:00 -04:00
Ryan VanderMeulen
45b95898e0
Backed out changeset 541cd29ea626 (bug 1166728) because the updated patch wasn't posted to the bug.
2015-05-29 12:48:22 -04:00
Kyle Zentner
3bacc6993c
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-27 09:57:00 -04:00
Michael Layzell
e3c4a77234
Bug 1168154 - Mark refcounted members of nsCSSValue::mValue as MOZ_OWNING_REF. r=heycam
...
--HG--
extra : rebase_source : b812e9ef0e5da1cf3a3e719125ca068f55006ee7
2015-05-25 10:47:00 -04:00
Michael Layzell
6fd724199e
Bug 1168156 - Remove unused nsCSSValueTokenStream::mSheet. r=heycam
2015-05-28 09:02:00 -04:00
Michael Layzell
4a41f5a065
Bug 1168158 - Make URLValue::mString a smart pointer. r=heycam
2015-05-28 08:54:00 -04:00
Nicholas Nethercote
8c0a700fcd
Bug 1168007 (part 4) - Use PLDHashTable2 in nsHTMLStyleSheet. r=froydnj.
...
--HG--
extra : rebase_source : b5123aaa12e35f9f3464a9f76528c0f1d5cb1b36
2015-05-18 20:43:18 -07:00
Birunthan Mohanathas
180b572edb
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
470bd9148f
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj
2015-05-28 11:07:43 -07:00
Ryan VanderMeulen
47df1bbfe3
Backed out changeset dd96df1da2b5 (bug 1166728) for making test_bug320799.html permafail on Mulet.
...
CLOSED TREE
--HG--
extra : rebase_source : 4ff4ea2d22a0beb2af011cec40f90efba2e452b9
2015-05-28 11:01:18 -04:00
Kyle Zentner
2e3823f252
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
...
--HG--
extra : rebase_source : 6103761cd36cbba2c8e048db2a0d6cd75cad2020
2015-05-27 09:57:00 -04:00
Tim Nguyen
93dcf227cd
Bug 1166867 - Support -moz-os-version: windows-win10. r=jimm
2015-05-21 12:16:00 +02:00
Phil Ringnalda
4454c8f924
Back out 2 changesets (bug 817406) for b2g reftest-7 bustage
...
CLOSED TREE
Backed out changeset 1499a08f564a (bug 817406)
Backed out changeset d2f3cb3c0233 (bug 817406)
2015-05-27 19:11:54 -07:00
Kang-Hao (Kenny) Lu
0cec7a05cb
Bug 817406 (part 1) - Let ApplyStyleFixups propogate 'direction' to the viewport. r=bz,heycam
2015-05-27 22:18:36 +00:00
Mats Palmgren
5a2a4f8f08
Bug 997709 part 2 - Prevent the nsComboboxDisplayFrame from being blockified if the parent context has display:flex/grid. r=heycam
2015-05-27 22:18:36 +00:00
Ting-Yu Lin
2a47a562fb
Bug 1161392 - Enlarge touch area for AccessibleCaret. r=roc
...
Porting the patch for Touch/SelectionCarets in bug 1021499 to
AccessibleCaret.
2015-05-27 16:37:28 +08:00
Michael Layzell
3fe7053458
Bug 1167588 - Mark Rule::mParentRule as MOZ_NON_OWNING_REF. r=dbaron
...
--HG--
extra : rebase_source : 511e42982b47f8516240cbb82d7fa2b21fb99e2e
2015-05-22 07:00:00 +02:00
Jonathan Watt
7f790e5e3c
Bug 1168664 - Stop mistakenly using the transform reference box's width to calculate the Z component in ProcessMatrix3D. r=mattwoodrow
2015-05-25 11:13:42 +01:00
Cameron McCormack
da76f68ddc
Bug 1167418 - Check fallible AppendElements call in FontFaceSet. r=poiru
2015-05-27 10:41:11 +10:00
Jonathan Watt
13ebd5c893
Bug 923193, part 4 - Implement support for the 'transform-origin' property in SVG. r=heycam
2015-05-24 22:40:37 +01:00
Daniel Holbert
fc985d746e
Bug 1167782: Null-check pseudo element in nsHTMLCSSStyleSheet::RulesMatching(). r=dbaron
2015-05-26 16:44:52 -07:00
David Major
b0aca35272
Bug 1167189: Cleanup NS_RUNTIMEABORT("OOM") in layout/. r=dbaron
...
--HG--
extra : rebase_source : 6fab38c5b192978f0a7cbfe88f865d15b6065a42
2015-05-26 17:04:24 -04:00
Jonathan Watt
594403a9a5
Bug 923193, part 3 - Add the style system code to support the 'transform-box' property. r=heycam
2015-05-15 22:43:25 +01:00
Botond Ballo
2e2a504271
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Morris Tseng
cfe882858c
Bug 1166969 - Video element in the video document shouldn't be selected. r=roc
2015-05-24 22:50:00 +02:00
Frédéric Wang
2d8a6ecf05
Bug 947654 - Use font.*.x-math font preferences for MathML. r=karl, r=heycam
...
This also rearranges the list of default fonts and changes the preferred font to Latin Modern Math on all platforms.
--HG--
extra : rebase_source : 806b5f8ffcf5305e55f67c60756c438987646fd5
2015-05-25 02:40:00 +02:00
Phil Ringnalda
49dd872168
Back out 3 changesets (bug 1119980) for emulator-l bustage
...
CLOSED TREE
Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9934d127c1
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Nicholas Nethercote
01e0dbf44b
Bug 1166598 (part 6) - Clean up nsStaticCaseInsensitiveNameTable. r=froydnj.
...
This patch simplifies nsStaticCaseInsensitiveNameTable greatly by taking
advantage of the following observations.
- |new| is infallible, so |new nsStaticCaseInsensitiveNameTable()| calls don't
need their return value checked.
- nsStaticCaseInsensitiveNameTable::Init() checks if any of the added entries
differ only in case, so the callers of that function don't need to do the
same check.
- nsStaticCaseInsensitiveNameTable::Init() never returns false because
moz_xmalloc() is infallible. (Its callers never check the return value
anyway.) So it can be merged into the constructor. And
~nsStaticCaseInsensitiveNameTable() need not null-check |mNameArray|.
- PLDHashTable now has an initializing constructor and destructor, so these can
be used in nsStaticCaseInsensitiveNameTable, thus avoiding manual
PLD_HashTable{Init,Finish}() calls.
2015-05-05 21:13:53 -07:00
Phil Ringnalda
83030f8fc0
Merge f-t to m-c, a=merge
2015-05-24 12:15:26 -07:00
J. Ryan Stinnett
e1f26b0e50
Bug 1067325 - Control syntax highlighting via a class. r=hsivonen
2015-05-23 18:17:50 -05:00
Phil Ringnalda
d63c42b6f0
Back out 2 changesets (bug 1147766) for -Werror bustage
...
CLOSED TREE
Backed out changeset 10d6fcd9a4e0 (bug 1147766)
Backed out changeset 5754455de846 (bug 1147766)
2015-05-22 20:24:08 -07:00
Cameron McCormack
b338e51cf4
Bug 1147766 - Part 2: Replace FixedStyleStructArray with mozilla::RangedArray. r=dbaron
2015-05-23 12:50:44 +10:00
Cameron McCormack
ff106a4844
Bug 1147766 - Part 2: Replace FixedStyleStructArray with mozilla::RangedArray. r=dbaron
2015-05-23 12:50:44 +10:00
Cameron McCormack
93417eae1e
Backed out changeset a6fa096f9853 and ec1c41143ff6 (bug 1147766) since I messed up the warning fix.
2015-05-23 15:51:14 +10:00
Cameron McCormack
343eb90c2c
Bug 1147766 - Part 2: Replace FixedStyleStructArray with mozilla::RangedArray. r=dbaron
2015-05-23 12:50:44 +10:00
Daniel Holbert
1596e3c937
Bug 1167311: When we unprefix 'display:-webkit-box' on a whitelisted site, only set flag to unprefix '-moz-box' if we're parsing a series of declarations. r=dbaron
2015-05-22 12:47:01 -07:00
Kyle Zentner
d9185dba03
Bug 1164918 - Allow multiple '.' per cell in grid-template-areas. r=dholbert
2015-05-21 15:28:00 -04:00