Commit Graph

16 Commits

Author SHA1 Message Date
Ehsan Akhgari
2bbc501134 Remove some unneeded #undef's, no bug 2013-12-04 00:00:12 -05:00
Ehsan Akhgari
c64415e7a0 Undef a bunch of macros at the end of translation units so that they don't leak into other unified files; no bug
--HG--
extra : rebase_source : 54c04f4aed43ef8a3139c69257a4ea672054da45
2013-12-02 20:56:50 -05:00
Mike Hommey
1e6e229cb8 Bug 945563 - Remove unused macros in nsCSSColorUtils.cpp (BLACK, WHITE and LIGHT_FACTOR). r=roc 2013-12-03 12:32:03 +09:00
Ehsan Akhgari
e368dc9c85 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
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
275ce7e82a Bug 461512 nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset) r+sr=roc 2008-10-28 11:05:38 +09:00
Zack Weinberg
fccdef9efc Bug 455217 - Selection colors for plain text files is wrong (white background, blue text instead of blue background, white text); "code" part; r+sr=dbaron 2008-09-19 19:06:46 +02:00
dbaron%dbaron.org
5dcd0b1309 One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
timeless%mozdev.org
1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
masayuki%d-toybox.com
b895cffb5f bug 56314 reverse selection colors when page background is similar to default selection background. Updating the algorithm. r/sr=bzbarsky, a=dbaron 2005-04-19 06:05:22 +00:00
masayuki%d-toybox.com
6165661332 bug 56314 reverse selection colors when page background is similar to default selection background. r=sfraser, sr=bzbarsky 2005-04-04 10:40:48 +00:00
gerv%gerv.net
708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
caillon%returnzero.com
281e80fc6b Fixing compiler warnings. "Comparison is always false due to limited range of data type". No bug.
r+sr=bzbarsky@mit.edu
2003-07-09 06:42:14 +00:00
bernd.mielke%snafu.de
0c3f7fc033 fix the color code to make tables in quirks mode on white background to look outset bug 14090 r/sr=bzbarsky 2003-01-12 12:11:05 +00:00
alecf%netscape.com
6d9653d8f6 oops, extra methods
part of bug 163736, again not part of build
2002-09-05 21:16:04 +00:00
alecf%netscape.com
f83d79bf19 move these over from gfx in preparation for gfx2 destruction (bug 163736)
not part of build just yet
2002-09-05 18:18:40 +00:00