Commit Graph

250 Commits

Author SHA1 Message Date
Gijs Kruitbosch
e2f47baa44 Merge mozilla-central and ux 2013-09-17 11:58:14 +02:00
Ehsan Akhgari
d5d3a9ae84 Bug 916610 - Minimize the #includes in layout/style; r=roc 2013-09-15 21:06:52 -04:00
stefanh@inbox.com
bcd2b365d7 Bug 916491 - Remove -moz-mac-alternateprimaryhighlight. r=mstange. 2013-09-15 00:44:50 +02:00
Gijs Kruitbosch
2c07477df1 Merge m-c to ux 2013-09-15 19:30:19 +02:00
Matthew Noorenberghe
186f9be72f Merge mozilla-central to UX 2013-09-06 17:54:20 -07:00
Gijs Kruitbosch
eec8448e00 Merge mozilla-central and ux 2013-08-29 15:30:00 +02: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
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
Gijs Kruitbosch
5d5adce056 Merge m-c to ux 2013-08-20 10:49:07 +02:00
Matthew Noorenberghe
4411bb5879 Merge mozilla-central to UX 2013-08-19 14:49:03 -07:00
John Daggett
b9513dce5c Bug 904263 - check pref settings more efficiently. r=dbaron 2013-08-19 13:49:49 +09:00
Mike Conley
9cde798a1f Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-12 17:07:53 -04:00
Gijs Kruitbosch
a6e54ee4b8 Merge m-c to UX 2013-08-07 21:09:10 +02:00
Rik Cabanier
6db63a8c81 Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam 2013-08-07 16:59:10 +09:00
Matthew Noorenberghe
bae49d6e2c Merge mozilla-central to UX 2013-08-06 23:06:26 -07: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
Matthew Noorenberghe
b14d8fd39b Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
Gijs Kruitbosch
c191dc6dc3 Merge m-c to UX 2013-07-30 20:27:46 +02: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
Matthew Noorenberghe
de1150b579 Merge mozilla-central to UX 2013-07-23 23:40:52 -07: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
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
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
Simon Sapin
d6f3091b8f Bug 483446 - CSS3 'background-attachment: local' support. r=roc 2013-07-23 09:22:58 -04:00
Jared Wein
ffd8852eb6 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-05 11:43:23 -04:00
Mike Conley
6c8c4ba349 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-03 17:37:42 -04:00
Michael Harrison
f7b0b83f4a Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz 2013-06-03 08:49:38 -04:00
Rick Eyre
83c073b612 Bug 772321 - Implement CSS parsing of writing-mode r=dbaron 2013-05-28 12:00:49 -04:00
Mike Conley
2a59bbb0d2 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-23 09:39:09 -04:00
Mike Conley
7f9d2174a6 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-15 17:14:08 -04:00
Mike Conley
98014cbdb5 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
568a0e9c03 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
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
John Daggett
aa507d8c18 Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
e0c18984a5 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
John Daggett
9558e43335 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
57964002fe Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron 2013-05-13 18:45:37 +09:00
John Daggett
a00ecfde45 Bug 549861. Parse simple font-variant subproperties. r=dbaron 2013-05-13 18:45:36 +09:00
Cameron McCormack
30b5ba2337 Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron 2013-04-02 12:45:48 +11:00
Jonathan Watt
6759296438 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
8dc54af84c 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
02ce4ceb97 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
60943056b5 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
a87eac66d9 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
5f639edc78 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
313fd38cc9 Bug 840367: Fix misnaming of keyword IDs in nsCSSKeywordList.h. r=heycam 2013-02-13 11:53:56 -08:00
Jonathan Watt
311968ccaf 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
Jonathan Kew
3ae2f0561f Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00