Commit Graph

250 Commits

Author SHA1 Message Date
Gijs Kruitbosch
240869fd9c Merge mozilla-central and ux 2013-09-17 11:58:14 +02:00
Ehsan Akhgari
86a457baf2 Bug 916610 - Minimize the #includes in layout/style; r=roc 2013-09-15 21:06:52 -04:00
stefanh@inbox.com
5160c3c352 Bug 916491 - Remove -moz-mac-alternateprimaryhighlight. r=mstange. 2013-09-15 00:44:50 +02:00
Gijs Kruitbosch
f55435100e Merge m-c to ux 2013-09-15 19:30:19 +02:00
Matthew Noorenberghe
1f8ae35067 Merge mozilla-central to UX 2013-09-06 17:54:20 -07:00
Gijs Kruitbosch
9ffae9f766 Merge mozilla-central and ux 2013-08-29 15:30:00 +02:00
Seth Fowler
bcd260ddfc Bug 825771 (Part 1) - Add CSS support for the image-orientation property. r=dbaron 2013-08-28 15:39:06 -07:00
Corey Ford
6ec5cfd903 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
Gijs Kruitbosch
d129b430ff Merge m-c to ux 2013-08-20 10:49:07 +02:00
Matthew Noorenberghe
f84d7b3761 Merge mozilla-central to UX 2013-08-19 14:49:03 -07:00
John Daggett
fd57425fcc Bug 904263 - check pref settings more efficiently. r=dbaron 2013-08-19 13:49:49 +09:00
Mike Conley
fcea860595 Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-12 17:07:53 -04:00
Gijs Kruitbosch
f6ec1e3db6 Merge m-c to UX 2013-08-07 21:09:10 +02:00
Rik Cabanier
f1d4f25d93 Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam 2013-08-07 16:59:10 +09:00
Matthew Noorenberghe
7d6ff1cecf Merge mozilla-central to UX 2013-08-06 23:06:26 -07: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
Matthew Noorenberghe
d79cbda60c Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
Gijs Kruitbosch
211b357473 Merge m-c to UX 2013-07-30 20:27:46 +02: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
Matthew Noorenberghe
7f2fedf98a Merge mozilla-central to UX 2013-07-23 23:40:52 -07: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
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
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
Simon Sapin
2db3b1337a Bug 483446 - CSS3 'background-attachment: local' support. r=roc 2013-07-23 09:22:58 -04:00
Jared Wein
29f3fba961 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-05 11:43:23 -04:00
Mike Conley
1e29db2664 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-03 17:37:42 -04:00
Michael Harrison
947ff9b473 Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz 2013-06-03 08:49:38 -04:00
Rick Eyre
76072f4667 Bug 772321 - Implement CSS parsing of writing-mode r=dbaron 2013-05-28 12:00:49 -04:00
Mike Conley
bcd4fed974 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-23 09:39:09 -04:00
Mike Conley
a790416205 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-15 17:14:08 -04:00
Mike Conley
bb41d7794a Bug 865374 - Position tabs in the OSX titlebar. Cocoa Widget work by Steven Michaud. r=dao,bgirard. 2013-05-02 14:15:29 -04:00
Daniel Holbert
cc7305fa0e Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron 2013-05-22 11:44:25 +08: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
John Daggett
18ea34f1e4 Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
c80e8cd5c6 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
John Daggett
bddaba27de Bug 549861. Alias unprefixed versions of font-feature-settings and font-language-override. r=dbaron 2013-05-13 18:45:38 +09:00
John Daggett
633de7d681 Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron 2013-05-13 18:45:37 +09:00
John Daggett
7b0b7f608c Bug 549861. Parse simple font-variant subproperties. r=dbaron 2013-05-13 18:45:36 +09:00
Cameron McCormack
9cda9d27bf Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron 2013-04-02 12:45:48 +11:00
Jonathan Watt
517e3b12aa Bug 855301 - Add support for native theming of <input type=range> on Linux. r=roc 2013-03-28 20:25:05 +00:00
L. David Baron
0caa71f669 Bug 849657 patch 1: Expose CSS_PROP_PUBLIC_OR_PRIVATE macro to users of nsCSSPropList.h rather than CSS_PROP_DOMPROP_PREFIXED, so that we can avoid 'CssFloat' spreading even further. r=bzbarsky 2013-03-25 09:24:21 -07:00
Jonathan Watt
0fbd87a19c Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc 2013-03-16 05:40:15 +00:00
L. David Baron
c2879a9a1a Make gAliases be just an array of ids. (Bug 849656, patch 4) r=bzbarsky 2013-03-13 09:58:39 -07:00
L. David Baron
3b8425c455 Move enabled state for aliases from gAliases to gPropertyEnabled. (Bug 849656, patch 3) r=bzbarsky 2013-03-13 09:58:39 -07:00
L. David Baron
893787aaa9 Move names for aliases from gAliases into kCSSRawProperties. (Bug 849656, patch 2) r=bzbarsky 2013-03-13 09:58:39 -07:00
L. David Baron
7621b6de00 Bug 840367: Fix misnaming of keyword IDs in nsCSSKeywordList.h. r=heycam 2013-02-13 11:53:56 -08:00
Jonathan Watt
312edf7655 Bug 835883 - Give the -moz-orient property an 'auto' value, and make that its initial value. r=dholbert. 2013-02-02 19:13:22 +01:00
Chris Peterson
eab3c189d8 Bug 816298 - Part 1: Allow child elements to override -moz-user-select:none. r=ehsan
--HG--
extra : rebase_source : f4e08713be0691c25b22510977c978088655ec8b
2013-01-08 16:33:17 -08:00