Commit Graph

5850 Commits

Author SHA1 Message Date
Matthew Noorenberghe
116c1b7c2a Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
Gijs Kruitbosch
7209a1137f Merge m-c to UX 2013-07-30 20:27:46 +02:00
Mike Conley
e181e23c37 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-27 15:01:05 -04:00
Matthew Noorenberghe
5dca60419c Merge mozilla-central to UX 2013-07-26 00:27:14 -07:00
Gijs Kruitbosch
db1dd60d63 Merge m-c to UX 2013-07-25 12:10:08 +02:00
Gijs Kruitbosch
ebd16b1344 Merge m-c to ux 2013-07-24 17:44:40 +02:00
Ms2ger
5e67b6622c Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz 2013-07-24 09:27:17 +02:00
Max Vujovic
0bd2b965c3 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
Matthew Noorenberghe
ff94bc4ff2 Merge mozilla-central to UX 2013-07-23 23:40:52 -07:00
Gijs Kruitbosch
bae02ad2bc Merge m-c to ux 2013-07-23 11:04:55 +02:00
Gijs Kruitbosch
45a1ad5f32 Merge m-c to ux 2013-07-22 09:26:50 +02:00
Matthew Noorenberghe
c8e922ef53 Merge mozilla-central to UX 2013-07-18 19:53:03 -07:00
Mike Conley
e87883ceef Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-16 16:58:37 -04:00
Gijs Kruitbosch
39c713e176 Merge m-c to ux 2013-07-16 14:19:40 +02:00
Matthew Noorenberghe
3cb1da3f70 Merge mozilla-central to UX 2013-07-12 22:14:28 -07:00
John Daggett
9903bd2223 Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron 2013-07-25 15:02:15 +09:00
John Daggett
e2baf5a4ad Bug 886691 - make tests and serialization code sensitive to font features pref. r=dbaron 2013-07-25 15:01:41 +09:00
Cameron McCormack
1858ab68cb Bug 890773 - Compute -x-text-zoom properly. r=dbaron 2013-07-25 10:42:11 +10: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
Gijs Kruitbosch
6cd359a5e6 Merge mozilla-central and ux 2013-07-10 23:53:05 +02: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
L. David Baron
a7c8d44db9 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
cf168d842a Bug 700926; reshuffle background image drawing. r=roc
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Jonathan Kew
83bfaa5b69 bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew
50ab64699b 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
de12b8e12a 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
Gijs Kruitbosch
9eb64db035 Merge m-c to UX 2013-07-09 13:09:02 +02:00
Jared Wein
04643a1be1 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-07 21:35:26 -04:00
Gijs Kruitbosch
3261b5d01f Merge mozilla-central and ux 2013-07-05 00:49:58 +02:00
Jared Wein
cef6c82991 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-03 12:40:14 -04:00
Ryan VanderMeulen
1d99822149 Backed out changeset d155557b651c (bug 888323) for bustage.
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
c9b73ddb89 Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-03 02:08:01 +09:00
Blake Kaplan
7f425da3b1 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
Masatoshi Kimura
1a9e38cc24 Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-04 00:56:26 +09:00
Gijs Kruitbosch
b6a1409293 Merge m-c to ux
--HG--
rename : browser/themes/windows/browser.css => browser/themes/shared/identity-block.inc.css
2013-06-29 11:18:15 -04:00
Gijs Kruitbosch
597f293d60 Merge mozilla-central and ux 2013-06-27 14:24:43 -04:00
John Daggett
a6f1b20e1a Bug 873222 - check unit-type of font-synthesis value before use. r=dbaron 2013-06-27 14:43:00 +09:00
Cameron McCormack
07c9631694 Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron 2013-06-29 13:28:50 +10:00
Blake Kaplan
67bc7c2c17 Bug 653881 - Add a compatibility hack to allow <xbl:children> elements to be optional when selecting via the child CSS selector. This allows old CSS selectors selecting default content to continue working in the new world. r=dbaron
--HG--
extra : rebase_source : 4d538fcbd8a6b58408dc46835632a4664ba8d0d8
2013-06-28 18:48:13 -07:00
Mina Almasry
28e4959faf 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
c6c9679d1d Bug 713564 - Add an API to declare a stylesheet obsolete. r=bz 2013-07-15 17:28:33 -04:00
Kartikaya Gupta
7db39f8e1b 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
6133103162 Backed out changeset 9897835271b5 (bug 877690) for crashes on a CLOSED TREE 2013-07-15 16:36:17 +01:00
Mina Almasry
92ecc361b2 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
L. David Baron
a65b6c2ed4 Back out changeset e8bf739addfa (bug 868498 patch 2) for causing bug 894931. 2013-07-18 01:09:16 -07:00
Corey Ford
cb2184b31c Bug 829816 - Treat \0 and U+0000 in CSS style sheets as U+FFFD. r=dbaron 2013-06-26 15:17:14 -07:00
Dirk Schulze
569ef7a7ef Bug 897392 - Implement parsing of filter:hue-rotate(). r=heycam 2013-07-26 16:02:33 +10:00
Simon Sapin
3e8f5c2eec Bug 887741 - Allow CSS at-rules in declaration lists. r=dbaron 2013-07-25 09:43:29 -04:00