Ms2ger
944d17423c
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Ms2ger
023851560d
Backed out changesets e6a3b0532422:f37447f59817 (bug 908880, bug 879682) for Windows assertion failures.
2013-08-24 10:27:21 +02:00
Markus Stange
b74a2d780b
Bug 908880 - Update overflow rects when dynamically changing the filter property. r=jwatt
2013-08-24 08:20:01 +02:00
Boris Zbarsky
f9dfbe132d
Bug 908576 part 7. Move the various DOMProxyHandler classes into the binding implementation files. r=smaug
2013-08-23 22:42:42 -04:00
Ehsan Akhgari
ff95a5090f
Bug 908778 - Don't #include nsIContent.h in nsIFrame.h; r=mats
2013-08-23 18:15:45 -04:00
Ehsan Akhgari
4ff8f0416e
Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats
...
nsPresContext.h pulls in a large number of headers which should not
be needed in nsIScrollableFrame, if we just move ScrollbarStyles to
its own header
2013-08-23 16:20:07 -04:00
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
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
John Daggett
49087c1b1c
Bug 857142 - change name and switch to grayscale value. r=dbaron
2013-07-30 05:01:14 +09:00
John Daggett
b439b6e590
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-30 05:00:41 +09:00
Dirk Schulze
0998a055aa
Bug 897392 - Implement parsing of filter:hue-rotate(). r=heycam
2013-07-26 16:02:33 +10:00
Simon Sapin
136d638d18
Bug 887741 - Allow CSS at-rules in declaration lists. r=dbaron
2013-07-25 09:43:29 -04:00
John Daggett
604c4d61cc
Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron
2013-07-25 15:02:15 +09:00
John Daggett
63463bcb7d
Bug 886691 - make tests and serialization code sensitive to font features pref. r=dbaron
2013-07-25 15:01:41 +09:00
Cameron McCormack
6fe5b240f5
Bug 890773 - Compute -x-text-zoom properly. r=dbaron
2013-07-25 10:42:11 +10:00
Max Vujovic
dd92ca0dd1
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-22 15:08:33 -07:00
Ed Morley
a342f8508e
Backed out changeset e27bd873b413 (bug 898361) for crashes on a CLOSED TREE
2013-07-31 16:00:27 +01:00
Dirk Schulze
d731d43c44
Bug 898361 - [CSS Filters] Implement parsing for drop-shadow. r=heycam
2013-07-31 09:26:45 -04:00
Ms2ger
38c131d4be
Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz
2013-07-24 09:27:17 +02:00
Ed Morley
b8d2e3631d
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Max Vujovic
695c4ee979
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-23 10:47:16 -04:00
Simon Sapin
2db3b1337a
Bug 483446 - CSS3 'background-attachment: local' support. r=roc
2013-07-23 09:22:58 -04:00
Jonathan Kew
7bda5a6c80
backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200.
2013-07-23 09:38:57 +01:00
L. David Baron
a187fb3edb
Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
...
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.
This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Nicholas Cameron
88b5d20e12
Bug 700926; reshuffle background image drawing. r=roc
...
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Jonathan Kew
620f28acc0
bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron
2013-07-17 12:53:38 +01:00
Jonathan Kew
61edd65b1e
bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron
2013-07-17 12:53:31 +01:00
Jonathan Kew
b4ef30ac5c
bug 879963 - part 1 - preserve in-progress font loaders when updating the user font set. r=dbaron
2013-07-17 12:53:24 +01:00
L. David Baron
cf6b1d7395
Back out changeset e8bf739addfa (bug 868498 patch 2) for causing bug 894931.
2013-07-18 01:09:16 -07:00
Ryan VanderMeulen
a0ca37d26a
Backed out changeset 9022f5fdcf98 (bug 483446) for mochitest-5 orange.
2013-07-16 10:45:35 -04:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Simon Sapin
f9d83485ab
Bug 483446 - Add CSS3 'background-attachment: local' support. r=roc
2013-07-16 09:10:58 -04:00
Robert O'Callahan
019984039a
Bug 868498. Don't reframe for changes between position:static and position:relative. r=heycam
2013-07-16 08:58:52 -04:00
Cameron McCormack
015e4d0a4b
Bug 873368 - Automatically generate nsStyleStructList.h. r=dbaron,ted
2013-07-16 14:32:25 +10:00
Mina Almasry
d2c3c8512d
Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz
2013-07-15 17:28:49 -04:00
Mina Almasry
529857dfeb
Bug 713564 - Add an API to declare a stylesheet obsolete. r=bz
2013-07-15 17:28:33 -04:00
Kartikaya Gupta
c3e9534174
Bug 840916 - Back out e7d3b0866dd9 from bug 779527 as it is no longer needed. r=mbrubeck
2013-07-15 17:21:16 -04:00
Ed Morley
941b06e491
Backed out changeset 9897835271b5 (bug 877690) for crashes on a CLOSED TREE
2013-07-15 16:36:17 +01:00
Mina Almasry
e1fe3cd880
Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz
2013-07-15 09:59:57 -04:00
Cameron McCormack
ba324f7147
Bug 879659 - Part 2: Refactor SVG marker handling to support more types of markers in the future. r=longsonr
2013-07-12 16:39:38 +10:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Blake Kaplan
2a5c30ab9f
Bug 890775 - Not all xbl:children elements should be treated specially. r=peterv
2013-07-11 17:52:49 -04:00
Ms2ger
4148536df2
Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv
2013-07-10 11:55:16 +02:00
Blake Kaplan
ea4da60962
Bug 891088 - Rename nsXBLChildrenElement -> mozilla::dom::XBLChildrenElement. r=peterv
...
--HG--
rename : content/xbl/src/nsXBLChildrenElement.cpp => content/xbl/src/XBLChildrenElement.cpp
rename : content/xbl/src/nsXBLChildrenElement.h => content/xbl/src/XBLChildrenElement.h
2013-07-01 15:09:37 -07:00
Birunthan Mohanathas
074406a500
Bug 571635 - Make nsCSSStyleSheet::GetStyleRuleAt return a css::Rule*. r=dbaron
2013-07-07 16:23:13 -04:00
Masatoshi Kimura
176efd0f7c
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-04 00:56:26 +09:00
Ryan VanderMeulen
0d9d01968b
Backed out changeset d155557b651c (bug 888323) for bustage.
...
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
b75e2ac8e6
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-03 02:08:01 +09:00
Birunthan Mohanathas
a8b65f1315
Bug 887502 - Part 2: Refactor Declaration::GetValue for 'margin' and friends. r=dbaron
2013-07-02 08:11:21 -04:00
Birunthan Mohanathas
4d5744ae69
Bug 887502 - Part 1: Coalesce corners rather than repeating when serializing specified values of 'border-radius'. r=dbaron
2013-07-02 08:10:43 -04:00
Jim Mathies
a669aed386
Bug 810399 - Add new css selectors and media queries for windows os versions. r=bz
2013-07-01 11:02:29 -05:00