Ms2ger
|
112d8c8556
|
Backout changeset f2ac3d57b445 for insufficient review.
|
2013-08-08 19:37:47 +02:00 |
|
Masayuki Nakano
|
c3e406d353
|
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 |
|
Ehsan Akhgari
|
1ab9c7bcb4
|
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])
|
2013-07-18 13:59:53 -04:00 |
|
John Daggett
|
d565a99a98
|
Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron
|
2013-07-25 15:02:15 +09:00 |
|
John Daggett
|
477748c5df
|
Bug 886691 - make tests and serialization code sensitive to font features pref. r=dbaron
|
2013-07-25 15:01:41 +09:00 |
|
Birunthan Mohanathas
|
638d862256
|
Bug 887502 - Part 2: Refactor Declaration::GetValue for 'margin' and friends. r=dbaron
|
2013-07-02 08:11:21 -04:00 |
|
Birunthan Mohanathas
|
afbb59bc7a
|
Bug 887502 - Part 1: Coalesce corners rather than repeating when serializing specified values of 'border-radius'. r=dbaron
|
2013-07-02 08:10:43 -04:00 |
|
Ryan VanderMeulen
|
bc0ee57010
|
Backed out changesets 0047417b0635 and 5729545971af (bug 887502) for test failures.
|
2013-07-01 11:18:58 -04:00 |
|
Birunthan Mohanathas
|
e364503f2c
|
Bug 887502 - Part 2: Refactor Declaration::GetValue for 'margin' and friends. r=dbaron
|
2013-07-01 09:47:45 -04:00 |
|
Birunthan Mohanathas
|
dbdf213b12
|
Bug 887502 - Part 1: Coalesce corners rather than repeating when serializing specified values of 'border-radius'. r=dbaron
|
2013-07-01 09:47:27 -04:00 |
|
John Daggett
|
cd7bad430f
|
Bug 873222 - check unit-type of font-synthesis value before use. r=dbaron
|
2013-06-27 14:43:00 +09:00 |
|
Catalin Iacob
|
f88cdc0744
|
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
|
2013-06-23 14:03:39 +02:00 |
|
Daniel Holbert
|
a80d1a2bbd
|
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 |
|
John Daggett
|
0237527ef8
|
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
|
2013-05-20 11:59:20 +09:00 |
|
Ms2ger
|
4582dd6af1
|
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
|
2013-05-19 20:23:19 +02:00 |
|
John Daggett
|
61b05b94d1
|
Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron
|
2013-05-13 18:45:37 +09:00 |
|
John Daggett
|
bc5affcad7
|
Bug 549861. Parse simple font-variant subproperties. r=dbaron
|
2013-05-13 18:45:36 +09:00 |
|
L. David Baron
|
4e5882f5e8
|
Bug 570896: Allow separate background-origin and background-clip to be set in the background shorthand. r=bzbarsky
|
2013-03-07 17:59:32 -08:00 |
|
John Daggett
|
54261d1a2d
|
Bug 833624. Bump up size of int's in mOrder to allow more than 256 CSS properties. r=dbaron
|
2013-01-24 02:24:27 +09:00 |
|
Isaac Aggrey
|
990e90e88a
|
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
|
2012-09-28 01:57:33 -05:00 |
|
L. David Baron
|
aec0b2e067
|
Bug 774169, patch 3: Treat -moz-transform as a shorthand rather than an alias so the parsing function can know whether it is parsing a prefixed transform. r=bzbarsky
|
2012-09-18 11:37:14 -07:00 |
|
Anthony Ricaud
|
c788070e08
|
Bug 570326 - Add support for background-size in background shorthand property. r=dbaron
|
2012-09-16 20:20:15 -04:00 |
|
Boris Zbarsky
|
e66935618b
|
Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv
|
2012-08-23 21:08:08 -07:00 |
|
Ehsan Akhgari
|
243c878d26
|
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script. Here's the source of the script for
future reference:
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 "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
|
2012-08-22 11:56:38 -04:00 |
|
Aryeh Gregor
|
8b4a23fc4c
|
Bug 777292 part 2 - Change all nsnull to nullptr
|
2012-07-30 17:20:58 +03:00 |
|
Boris Zbarsky
|
7cd2a35b7b
|
Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert
|
2012-07-13 19:59:05 -04:00 |
|
Daniel Holbert
|
3f1d242779
|
Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron
|
2012-07-06 17:06:23 -07:00 |
|
L. David Baron
|
40cf0b9c3a
|
Make the serialization of the 'border' shorthand fail when we have a 'border-image' subproperty or a '-moz-border-*-colors' property with a non-default value. (Bug 713643, patch 2) r=bzbarsky
|
2012-05-30 22:19:49 -07:00 |
|
L. David Baron
|
862641f67e
|
Serialize border-image shorthand to shortest form, with the exception that we'll always serialize 'border-image-source'. (Bug 713643, patch 1) r=bzbarsky
|
2012-05-30 22:19:49 -07:00 |
|
Gervase Markham
|
cb6a072c2a
|
Bug 716478 - update licence to MPL 2.
|
2012-05-21 12:12:37 +01:00 |
|
Patrick Wong
|
c9bcb02a6e
|
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
|
2012-04-24 14:43:00 -04:00 |
|
Lazar Sumar
|
dab3e2b171
|
Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron
|
2012-02-24 21:23:14 -08:00 |
|
Zack Weinberg
|
cb5a4ee507
|
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
|
2012-02-23 08:19:00 -08:00 |
|
Lazar Sumar
|
9ce1964cd3
|
Bug 522607 - New css3-background background-position syntax. r=dbaron
|
2012-02-20 13:14:42 +13:00 |
|
Nicholas Nethercote
|
4762ea78a3
|
Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron.
|
2012-01-02 18:19:14 -08:00 |
|
William Chen
|
97a3dc759f
|
Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
|
2011-12-22 18:34:45 -05:00 |
|
Ehsan Akhgari
|
478ad1a412
|
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
|
2011-10-17 10:59:28 -04:00 |
|
Jeff Walden
|
7d613942b0
|
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
|
2011-10-10 22:50:08 -07:00 |
|
Jeff Walden
|
c5e5f873d1
|
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
|
2011-10-12 12:21:53 -07:00 |
|
Jeff Walden
|
946f2ae0e3
|
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
|
2011-10-10 22:50:08 -07:00 |
|
Michael Wu
|
0fe7772ece
|
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
|
2011-09-28 23:19:26 -07:00 |
|
Michael Ventnor
|
8e195851b6
|
Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron
|
2011-08-23 14:18:22 +10:00 |
|
Matheus Kerschbaum
|
9dd50930c3
|
Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron
|
2011-06-20 16:47:09 -07:00 |
|
L. David Baron
|
a7e8197b00
|
-moz-animation-play-state should not be part of the -moz-animation shorthand. (Bug 654890) r=bzbarsky
|
2011-05-09 15:02:35 -04:00 |
|
Masayuki Nakano
|
eea86d3bb3
|
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
|
2011-04-23 14:16:41 +09:00 |
|
L. David Baron
|
ed7a39d56c
|
Remove parsing and storage code for CSS 2.0 aural properties. (Bug 649119) r=bzbarsky
|
2011-04-21 20:17:32 -07:00 |
|
L. David Baron
|
1185309a8d
|
ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky
|
2011-04-11 23:18:44 -07:00 |
|
L. David Baron
|
4305fec33f
|
Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky
|
2011-04-11 23:18:42 -07:00 |
|
Ehsan Akhgari
|
be1a0d85d7
|
Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+
|
2010-11-24 13:31:52 -05:00 |
|
L. David Baron
|
316ba8036b
|
Don't hit assertion when calling getPropertyPriority on unknown property. (Bug 601439) r=bzbarsky a2.0=dbaron
|
2010-10-17 19:36:26 -07:00 |
|