Kyle Huey
4fd557dbb9
Bug 887533: Remove even more includes from dom/bindings. r=bz
2013-08-22 22:17:11 -07:00
Kyle Huey
00fed9eba7
Back out Bug 887533 for test failures.
2013-08-22 23:40:32 -07:00
Kyle Huey
24e5819315
Bug 887533: Remove even more includes from dom/bindings. r=bz
2013-08-22 22:17:11 -07:00
Kyle Huey
de0ee30e74
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Mina Almasry
46be31384a
Bug 907816 - GetCSSValuesForProperty does not use the display keyword table. r=bz
2013-08-22 10:16:07 -04:00
Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
add9ce17b9
Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted
2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
3e013c6196
Bug 905751 - Don't include binding headers in ns{I,DOM}CSSDeclaration.h; r=roc
2013-08-22 08:29:57 +02:00
Daniel Holbert
398fec2b87
Bug 907547: Update nsCSSValue::BufferFromString documentation to indicate that it's infallible, and remove callers' unneeded null-checks. r=bz
2013-08-21 12:31:38 -07:00
Ehsan Akhgari
1e7ca5d13f
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Nicholas Nethercote
42ccf38dcd
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Ehsan Akhgari
5fa9157954
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
John Daggett
8d4dc0816e
Bug 875250 - add invalid value for text-combine-horizontal. r=dbaron
2013-08-20 17:15:40 +09:00
John Daggett
4e3a388690
Bug 875250 - implement CSS parsing of text-orientation, text-combine-horizontal properties. r=dholbert
2013-08-19 19:26:44 +09:00
John Daggett
fd57425fcc
Bug 904263 - check pref settings more efficiently. r=dbaron
2013-08-19 13:49:49 +09:00
Alexandre BM
adfdd96465
Bug 905449: Make helper-function signatures in nsStyleAnimation more consistent about coefficient-ordering. r=dholbert
2013-08-16 10:09:48 -07:00
L. David Baron
48e99a9781
Bug 893308: Move hashtable of @keyframes rules (keyed by name) from nsAnimationManager to RuleCascadeData. r=heycam
2013-08-14 21:58:37 -07:00
John Daggett
841b3eb32b
Bug 904263 - add tests to assure all properties can be removed. r=dbaron
2013-08-15 09:38:01 +09:00
John Daggett
6fef3e645e
Bug 904263 - don't set disabled subproperties within font shorthand parsing. r=dbaron
2013-08-15 09:37:57 +09:00
Ms2ger
2797100606
Merge m-c to inbound.
2013-08-14 14:47:39 +02:00
Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Markus Stange
ed4042636b
Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc
2013-08-14 13:33:03 +02:00
Jonathan Kew
58b418747b
bug 879963 - unit tests for redundant downloading of a repeated @font-face resource, and for rendering regressions when multiple rules refer to the same font. r=dbaron,jdaggett
2013-08-12 10:08:00 +01:00
Jonathan Kew
1b712cab49
bug 879963 - preserve in-progress font loaders when updating the user font set, and avoid adding duplicate face entries to a user font family. r=dbaron,jdaggett
2013-08-12 10:07:55 +01:00
Masayuki Nakano
8ea1abaca9
Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron
2013-08-06 23:02:34 +09:00
Trevor Saunders
e59057dee7
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Ms2ger
3352b76ed4
Backout changeset f2ac3d57b445 for insufficient review.
2013-08-08 19:37:47 +02:00
Masayuki Nakano
9b6c86343a
Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron
2013-08-06 23:02:34 +09:00
Daniel Holbert
b456b5c0bd
(no bug) comment-tweak, to explicitly mention a pref name instead of hinting at it. (no review)
...
DONTBUILD because comment-only change
2013-08-07 15:32:16 -07:00
Rik Cabanier
f1d4f25d93
Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam
2013-08-07 16:59:10 +09:00
Dirk Schulze
702f991dc4
Bug 901847 - Fixes syntax failure in filters drop-shadow test. r=heycam
2013-08-06 17:53:53 +10:00
Max Vujovic
e4f9873c6f
Bug 898175 - Refactor filter parsing to use a keyword lookup table for filter function names. r=dbaron
2013-08-06 17:53:30 +10:00
Dirk Schulze
5c53edbb51
Bug 898361 - Implement parsing for drop-shadow. r=heycam
2013-08-05 17:02:27 +10:00
Ms2ger
569fc183c6
Backout changeset a58abd7408bf for mochitest and crashtest crashes.
2013-08-04 12:21:17 +02:00
Dirk Schulze
e8982c8472
Bug 898361 - Implement drop-shadow parsing for the filter property. r=heycam
2013-08-04 18:58:28 +10:00
Cameron McCormack
e9318247c3
Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron
2013-08-03 14:11:06 +10:00
Cameron McCormack
aef27575a4
Bug 899886 - Don't return null from nsStyleSet::ReparentStyleContext. r=dbaron
2013-08-03 14:11:05 +10:00
Ms2ger
5c2b63d2c7
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
68579be592
Bug 896277 - Don't return nsresult from GroupRule::AppendRulesToCssText; r=dbaron
2013-08-02 09:04:31 +02:00
Ms2ger
62183dfe63
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Mike Hommey
d01b5df996
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
John Daggett
d249819fcb
Bug 892929 - test that CSSFontFeatureValueRule hidden when font features disabled. r=bz
2013-07-31 14:19:49 +09:00
Cameron McCormack
5ecbce73bd
Bug 899389 - Don't null check result of NS_NewStyleContext. r=dbaron
2013-07-31 10:52:32 +10:00
L. David Baron
861d8da5a3
Bug 898892: Move nsStyleConsts.h from layout/base to layout/style. r=heycam
...
This fixes a mistake from bug 272151, as discussed in the thread
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
--HG--
rename : layout/base/nsStyleConsts.h => layout/style/nsStyleConsts.h
2013-07-30 17:36:09 -07:00
L. David Baron
c857e1a9dd
Bug 898888: Transition manager should use SetStyleContext rather than SetStyleContextWithoutNotification. r=nrc
...
While debugging bug 858937 I noticed that the transition manager was
calling nsIFrame::SetStyleContextWithoutNotification rather than
nsIFrame::SetStyleContext. SetStyleContextWithoutNotification should
only be used for things that aren't really style changes, but are
instead changes we make during frame construction before things are
really initialized. Anything that's really a dynamic style change, as
these are, should use SetStyleContext.
I realize I said the opposite in bug 780692 comment 186, and bz said the
same in bug 780692 comment 204, which is why this is the state that it
is.
2013-07-30 17:36:08 -07:00
Max Vujovic
186ff21e2a
Bug 897094 - Mismatched parenthesis in some CSS functions do not prevent parsing of subsequent CSS properties. r=heycam
2013-07-30 15:38:01 -04:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00