Commit Graph

37289 Commits

Author SHA1 Message Date
L. David Baron
8340d616ac Bug 898209 patch 7: Fix remaining variable shadowing warning. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
d81ab3552b Bug 898209 patch 6: Create and use ElementRestyler::mParentContent and mContent. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
9925459f0e Bug 898209 patch 5: Remove the localContent variable in favor of writing mFrame->GetContent(). r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
a413b968a0 Bug 898209 patch 4: Remove aPresContext parameter to ElementRestyler::Restyle. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
9b61f8671b Bug 898209 patch 3: Create and use ElementRestyler::mFrame. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
ca739cf173 Bug 898209 patch 2: Create and use ElementRestyler::mHintsHandled. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
6b056b0c80 Bug 898209 patch 1: Add ElementRestyler class to begin refactoring ReResolveStyleContext. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
17d38b5cc5 Bug 898893: Rename nsTextFrameThebes.cpp back to nsTextFrame.cpp, from which it originally forked. r=roc
This was discussed in both:
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
https://groups.google.com/d/topic/mozilla.dev.tech.layout/Cmvapo3fWeg/discussion

--HG--
rename : layout/generic/nsTextFrameThebes.cpp => layout/generic/nsTextFrame.cpp
2013-07-30 17:36:09 -07:00
L. David Baron
05e6a37bb5 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
c2fb56d067 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
L. David Baron
ffe927da2c Bug 896138 patch 10: Move beginning and ending of ProcessPendingRestyles into helper functions on the RestyleManager. r=heycam 2013-07-30 17:36:08 -07:00
Ryan VanderMeulen
fd758076bd Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
David Zbarsky
aeb27e1255 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
faf159a4f8 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
9c0441b53f Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
Timothy Nikkel
937aac75ae Bug 899745. Remove top most z-index tracking from views because it is unused. r=mats 2013-07-30 16:10:28 -05:00
Kartikaya Gupta
6762cc18a8 Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa 2013-07-30 14:03:42 -04:00
Kartikaya Gupta
b0a221b29b Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow 2013-07-30 14:03:42 -04:00
Kartikaya Gupta
2c0ffd470e Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:40 -04:00
David Zbarsky
67334df0d5 Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -07:00
Cameron McCormack
6fe54e2046 Bug 898909 - Reflow non-display SVG text under non-display outer <svg> frames. r=jwatt 2013-07-30 09:47:30 +10:00
Cameron McCormack
8b994a132e Bug 898951 - Ignore undisplayed characters when getting partial glyph advances. r=jwatt
--HG--
extra : rebase_source : 535f6cf6b159b964cf47ca54f718b60656e3ca48
2013-07-30 09:44:48 +10:00
David Zbarsky
d057bf162a Bug 898105 - Remove nsIDOMTouch r=reuben 2013-07-29 16:04:09 -07:00
Ryan VanderMeulen
2c49080aca Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Ryan VanderMeulen
7bd9efe0db Merge m-c to birch. 2013-07-29 16:07:59 -04:00
Tomoaki Konno
e07a5ce083 Bug 797561 - Expose a server tcp socket API to web applications r=honza 2013-07-29 10:36:43 -07:00
Ed Morley
7ae47f2c55 Backed out changeset 31a1b6fff957 (bug 857142) for reftest failures 2013-07-29 11:09:26 +01:00
Ed Morley
66e22f5a1a Backed out changeset 7174bdf1201e (bug 857142) 2013-07-29 11:08:49 +01:00
Ed Morley
c310036f7a Backed out changeset c2f27bb078fd (bug 857142) 2013-07-29 11:08:46 +01:00
John Daggett
4fea08da93 Bug 857142 - add reftest for osx-font-smoothing. r=m_kato 2013-07-29 17:34:01 +09:00
John Daggett
a2145129e0 Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-29 17:33:52 +09:00
John Daggett
8b8b4b7b5f Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-29 17:33:35 +09:00
Mina Almasry
21462c589f Bug 898455 - remove domUtils.getCSSValuesForProperty duplicate entries; r= bz
Removes duplicate entries from the values that are returned by getCSSValuesForProperty,
and returns url for the proper properties.
2013-07-29 14:42:51 +02:00
Robert O'Callahan
f6a740f7f2 Bug 837242. Part 1: Convert bool parameters to flags. r=mats 2013-07-26 14:31:41 +12:00
Daniel Holbert
5bdcb1fcc1 backout 5efda3c30be3 (the second cset for bug 873378) after dzbarsky backed out the first cset. (to fix Android R2 orange) 2013-07-26 18:43:13 -07:00
David Zbarsky
0c95eabb49 Backout 4c89002460da (Bug 873378) for breaking the settings app on B2G 2013-07-26 13:20:23 -07:00
Ryan VanderMeulen
0b406f275b Bug 874073 - Skip crashtests/852293.html due to frequent timeouts. 2013-07-26 13:35:33 -04:00
Ryan VanderMeulen
a62ef0e539 Bug 873083 - Skip crashtests/813372-1.html due to frequent timeouts. 2013-07-26 13:35:33 -04:00
Mina Almasry
e2e5a517b5 Bug 899230 - domUtils.getCSSValuesForProperty doesn't return "logical" and "physical" any list. r=bz
This patch prevents inIDOMUtils from returning logical and physical from any list.
2013-07-30 15:38:01 -04:00
Max Vujovic
ba787de1f1 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
2824b29025 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
John Daggett
ae8f359c4b Bug 857142 - add reftest for osx-font-smoothing. r=m_kato 2013-07-30 05:01:24 +09:00
John Daggett
e96b5011ab Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
8eb7f1edcc Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Ryan VanderMeulen
ab9671a83e Backed out 6 changesets (bug 827713) for reftest failures.
Backed out changeset 014cc3de08fb (bug 827713)
Backed out changeset 4113172193aa (bug 827713)
Backed out changeset 27a5c8dd5ff7 (bug 827713)
Backed out changeset 6448c7e05f11 (bug 827713)
Backed out changeset b67a72618c66 (bug 827713)
Backed out changeset 1279664e0d41 (bug 827713)
2013-07-29 15:19:34 -04:00
Ryan VanderMeulen
03a8ca6b72 Bug 827713 - Adjust expected assertion annotations to fix WinXP debug mochitest orange. 2013-07-29 15:13:50 -04:00
Trevor Saunders
108b7dd046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
James Kitchener
e5c50c21e1 Bug 827713 - Part 4: Tests for merged script elements. r=fredw 2013-07-29 12:38:24 -04:00
James Kitchener
b933e0b355 Bug 827713 - Part 3: Use mmultiscripts to handle all script shift elements. r=fredw 2013-07-29 12:37:50 -04:00
James Kitchener
7a810f636d Bug 827713 - Part 3: Make mmultiscripts more like msubsup. r=karlt 2013-07-29 12:37:01 -04:00