Commit Graph

43 Commits

Author SHA1 Message Date
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05: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
Jonathan Watt
131c149f2a Bug 767388 - Kill NS_DEBUG. r=bz. 2012-06-25 20:59:42 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
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
Craig Topper
712ccf8d76 Bug 654369 - Part 9: Remove OOM checks from layout/generic r=bz 2011-04-28 22:02:16 -07:00
Robert O'Callahan
3bb8bad7c2 Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
timeless@mozdev.org
931da47d2c Bug 352523 Warning: String literal converted to char* in formal argument aAttr in call to nsFrameUtil::Tag::GetAttr(char*).
r=roc sr=roc
2006-09-19 06:41:07 +00:00
jwatt@jwatt.org
aae47c0b75 Fixing bug 333733. Could leak attr in nsFrameUtil::Tag::ReadAttrs. r+sr=dbaron@mozilla.com 2006-04-20 00:13:34 +00:00
dbaron@dbaron.org
60eede3c11 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
cbiesinger@web.de
dbeac20231 Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
roc+@cs.cmu.edu
d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
gerv@gerv.net
a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
bzbarsky@mit.edu
26de7e932f Change the way regression tests get the framestate to make it possible to mask
out irrelevant state bits as needed.  Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
2004-04-04 01:48:16 +00:00
dbaron@dbaron.org
cb8b9c7c57 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:07:51 +00:00
dougt@netscape.com
46ce738546 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
jaggernaut@netscape.com
0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron@fas.harvard.edu
4c647ea08a Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
harishd@netscape.com
89bd085b18 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
waterson@netscape.com
83a9c40b3e Bug 62589. Remove ad hoc timers from layout regression page cycler, collection regression data 200msec after page load has completed. Fix some bustage on framesets that happened when landing the new embed APIs. Fix Win32 harness to set XPCOM_DEBUG_BREAK=warn. r=karnaze,rpotts; sr=attinasi 2001-05-11 02:17:35 +00:00
dcone@netscape.com
3d9c8e4456 Added a parameter to regression testing output. sr=waterson r=karnaze b=78523 2001-05-03 21:20:35 +00:00
disttsc@bart.nl
e9399ed474 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
buster@netscape.com
be2331b1ae bug 56432 ()
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson
2001-01-16 22:10:04 +00:00
rods@netscape.com
c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
attinasi@netscape.com
ee2a5d190e Changes to put style data into the layout regression data output. r=karnaze, a=waterson 2000-12-07 15:31:40 +00:00
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
scc@netscape.com
73cfb8980b making string conversions explicit 2000-04-03 11:20:35 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy@netscape.com
bf2283fba6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
sfraser@netscape.com
c4cee87f62 stdlib.h should come from system includes 1999-06-19 21:50:41 +00:00
kipp@netscape.com
d214c1d5c1 Implement tree diffing and dumping of regression data 1999-02-08 17:55:29 +00:00
kipp@netscape.com
f1d65a40c9 Implement ReadFrameRegressionData 1999-02-04 16:26:19 +00:00
vidur@netscape.com
eff87ba281 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
rickg@netscape.com
9ff7c7b88e missed this API change 1999-01-26 01:45:40 +00:00
brade@netscape.com
20089d3ff5 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:44:59 +00:00
peterl@netscape.com
97d11c8a40 sync to new attribute api 1998-12-20 01:21:23 +00:00
warren@netscape.com
4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
vidur@netscape.com
1257b18f81 Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser. 1998-12-11 17:02:37 +00:00
kipp@netscape.com
743153eaed new 1998-12-09 03:40:03 +00:00