Commit Graph

3307 Commits

Author SHA1 Message Date
Phil Ringnalda
33b6975bad Bug 522515 followup, remove the crashtest assertion annotations that are no longer true 2013-09-10 20:01:24 -07:00
John Daggett
be5dc0a33e Bug 522515 - omit null urls from inclusion in userfont src descriptor array. r=dbaron 2013-09-11 10:36:58 +09:00
Ed Morley
50ba829a39 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Cameron
6fa91fd6df Bug 894497. Weaken the assertion in GetAnimationRule. r=dbaron 2013-09-12 10:34:27 +12:00
Daniel Holbert
c022dc0b7d Bug 896050 followup: fix some nits in the filter animation mochitest code. (test-only, no review) 2013-09-11 15:24:04 -07:00
Dirk Schulze
bc78994cda Bug 896050 - Implement animation of CSS filter property. r=dholbert 2013-09-11 15:24:03 -07:00
Nicholas Nethercote
fd238cabbe Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
9d7bc3d7f1 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
L. David Baron
d2aca1e122 Bug 906378: Make the test for transitions not being supported in test_transitions_per_property.html only use about 50 values for each property to avoid the O(N^2) case blowing up. r=dholbert
This currently causes a reduction in the number of background-image
values tested (by 54810, a majority of the assertions in the test file).
It doesn't change the number of values tested for any other property.
2013-09-09 12:21:24 +02:00
L. David Baron
fff4661d1e Bug 900783: Make HasAnimationOfProperty return false in the refresh driver tick in which the transition completes. r=nrc
I don't know of any observable bug that this fixes, but the code without
this fix seems incorrect; the "removed sentinel" concept generally
requires that callers enumerating transitions check that they're not
enumerating the sentinel.

This ensures that HasAnimationOfProperty switches from returning true to
false in the first refresh cycle after the end of the animation rather
than the second.

I originally wrote this in
https://bugzilla.mozilla.org/show_bug.cgi?id=876626#c13 but it turned
out not to be related to that bug.
2013-09-09 12:21:24 +02:00
Kyle Huey
a53f6f80b6 Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Phil Ringnalda
c02a4a1253 Merge fx-team to m-c 2013-09-08 08:26:23 -07:00
Paul Rouget
c8447b9acc Bug 913440 - Implement a pseudo class to highlight element easily. r=bz 2013-09-07 11:39:50 +02:00
Ehsan Akhgari
61d8f84eb7 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Ehsan Akhgari
3956f8e1f5 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Bobby Holley
0fcc3886ab Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Corey Ford
690918fcba Bug 886646 - Part 3: Compute sticky positioning offsets for getComputedStyle(). r=heycam 2013-08-15 17:31:32 -07:00
Corey Ford
2fcbc01ac4 Bug 886646 - Part 2: Include sticky positioning in nsStyleDisplay::IsRelativelyPositionedStyle. r=heycam 2013-09-06 09:35:15 -04:00
Corey Ford
1b743eac38 Bug 886646 - Part 1: Support position:sticky in the CSS parser, enabled by a preference. r=heycam 2013-09-05 15:47:08 -07:00
Robert Longson
31642bafc4 Bug 911310 - Only raise an nsChangeHint_UpdateOverflow for filters. r=dholbert 2013-09-05 09:51:02 +01:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Phil Ringnalda
cf2028664c Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Nicholas Nethercote
86b7ae4c3a Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Bobby Holley
e903e0f569 Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Daniel Holbert
d36be6c344 Bug 859807: Request longer timeout for test_transitions_per_property.html. r=dbaron 2013-09-04 13:47:24 -07:00
Robert O'Callahan
0991ab95c2 Bug 909157. Invalidate rendering observers when an image changes. r=mattwoodrow
--HG--
extra : rebase_source : 04b127fde9a9e07e50c6196f53a1eea3c8f04db6
2013-09-04 23:13:11 +12:00
Gregory Szorc
4672bbb630 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
c1c484bd50 Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
fab628e981 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
eb3f8a45e2 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
295f553e4e Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Seth Fowler
1217a04fcf Bug 298619 - Use EXIF image orientation in top-level image documents. r=dolske 2013-08-29 17:16:30 -07:00
Doug Turner
5dc544505a Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Seth Fowler
e57e4a214f Bug 825771 (Part 1) - Add CSS support for the image-orientation property. r=dbaron 2013-08-28 15:39:06 -07:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
9c0eab254b Bug 831193 (part 14) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in layout/. r=jlebar.
--HG--
extra : rebase_source : 371e32e98e3c36daa5d70c40bace457d7072ddaa
2013-01-17 16:45:12 -08:00
Ms2ger
b5df99e7e3 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Ms2ger
bca4820d34 Backed out changesets e6a3b0532422:f37447f59817 (bug 908880, bug 879682) for Windows assertion failures. 2013-08-24 10:27:21 +02:00
Markus Stange
c602b94447 Bug 908880 - Update overflow rects when dynamically changing the filter property. r=jwatt 2013-08-24 08:20:01 +02:00
Boris Zbarsky
1955cb60db 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
2d782339fa Bug 908778 - Don't #include nsIContent.h in nsIFrame.h; r=mats 2013-08-23 18:15:45 -04:00
Ehsan Akhgari
2faab8bc9e 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
debb415e8e Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
7db281d06b Back out Bug 887533 for test failures. 2013-08-22 23:40:32 -07:00
Kyle Huey
bd22797dd3 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
bf31d78a83 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Mina Almasry
036abb7597 Bug 907816 - GetCSSValuesForProperty does not use the display keyword table. r=bz 2013-08-22 10:16:07 -04:00
Ms2ger
4af9d89266 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
dd3ed79f0d Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
4e45b3d52e Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
8e71491167 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
706bb34072 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
2a87c95927 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Nicholas Nethercote
b89a8ac1c0 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
c2ce7e67ab Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
John Daggett
1d703bb0b3 Bug 875250 - add invalid value for text-combine-horizontal. r=dbaron 2013-08-20 17:15:40 +09:00
John Daggett
0ad5eb80ed Bug 875250 - implement CSS parsing of text-orientation, text-combine-horizontal properties. r=dholbert 2013-08-19 19:26:44 +09:00
John Daggett
b9513dce5c Bug 904263 - check pref settings more efficiently. r=dbaron 2013-08-19 13:49:49 +09:00
Alexandre BM
3d943e77e4 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
38b264af07 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
04e636e240 Bug 904263 - add tests to assure all properties can be removed. r=dbaron 2013-08-15 09:38:01 +09:00
John Daggett
8ea7ba71b1 Bug 904263 - don't set disabled subproperties within font shorthand parsing. r=dbaron 2013-08-15 09:37:57 +09:00
Ms2ger
6c3982af30 Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Markus Stange
a16556961c Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc 2013-08-14 13:33:03 +02:00
Jonathan Kew
9d6d5924e8 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
141239e413 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
03e0066f13 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
a8a12176ad bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Ms2ger
7bf62da840 Backout changeset f2ac3d57b445 for insufficient review. 2013-08-08 19:37:47 +02:00
Masayuki Nakano
e08e2dc2d3 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
eac6842696 (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
6db63a8c81 Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam 2013-08-07 16:59:10 +09:00
Dirk Schulze
8dc0ca2307 Bug 901847 - Fixes syntax failure in filters drop-shadow test. r=heycam 2013-08-06 17:53:53 +10:00
Max Vujovic
a0613f3e89 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
c25ee40e1c Bug 898361 - Implement parsing for drop-shadow. r=heycam 2013-08-05 17:02:27 +10:00
Ms2ger
48039b419a Backout changeset a58abd7408bf for mochitest and crashtest crashes. 2013-08-04 12:21:17 +02:00
Dirk Schulze
87b8fb4c7c Bug 898361 - Implement drop-shadow parsing for the filter property. r=heycam 2013-08-04 18:58:28 +10:00
Cameron McCormack
975a0a23c3 Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron 2013-08-03 14:11:06 +10:00
Cameron McCormack
5314c1d38c Bug 899886 - Don't return null from nsStyleSet::ReparentStyleContext. r=dbaron 2013-08-03 14:11:05 +10:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
ac38824301 Bug 896277 - Don't return nsresult from GroupRule::AppendRulesToCssText; r=dbaron 2013-08-02 09:04:31 +02:00
Ms2ger
d5d5885d4c Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +02:00
Mike Hommey
ca80cd82ad 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
cb486cc9ec Bug 892929 - test that CSSFontFeatureValueRule hidden when font features disabled. r=bz 2013-07-31 14:19:49 +09:00
Cameron McCormack
cbfbb6c609 Bug 899389 - Don't null check result of NS_NewStyleContext. r=dbaron 2013-07-31 10:52:32 +10:00
L. David Baron
066f28abe6 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
40c4d9c17c 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
5498d723b7 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
085494b95d 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
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
John Daggett
a9de42a1ec Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
bed3fbfbd2 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Dirk Schulze
835b4ca022 Bug 897392 - Implement parsing of filter:hue-rotate(). r=heycam 2013-07-26 16:02:33 +10:00
Simon Sapin
a0a01a0ada Bug 887741 - Allow CSS at-rules in declaration lists. r=dbaron 2013-07-25 09:43:29 -04:00
John Daggett
cdffe4d261 Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron 2013-07-25 15:02:15 +09:00