Nathan Froyd
|
4bb75e1989
|
Bug 984443 - get rid of #ifndef $OTHER_HEADER bits from xpcom/ as relics of a bygone era; r=ehsan
|
2014-03-17 12:20:47 -04:00 |
Daniel Holbert
|
52e8bb0e2f
|
Bug 925066: Remove unused "#include nsDebug.h" from nsAlgorithm.h. r=jst
|
2013-10-09 17:13:49 -07:00 |
Daniel Holbert
|
9fc9f8ca72
|
Bug 925129: Remove VC9-and-earlier chunk from nsAlgorithm.h, since we don't support building with VC9 and earlier. r=ehsan
|
2013-10-09 17:03:34 -07:00 |
Jeff Muizelaar
|
656d4aaa63
|
Bug 786533. Add a comment about the purpose of XPCOM_MIN/MAX. r=ehsan
--HG--
extra : rebase_source : 97ed3b670dee51b929344e1222be0d61ce18b3af
|
2013-01-15 11:26:58 -05:00 |
Mats Palmgren
|
5f5d30eb5b
|
Bug 786533 - Replace NS_MIN/NS_MAX in xpcom/ with XPCOM_MIN/XPCOM_MAX to prevent accidental use. r=ehsan
|
2013-01-15 13:22:03 +01:00 |
Robert Longson
|
325705cd2f
|
Bug 818391 - Add std::abs(long long) for VC9 since it lacks this C++11 signature. r=mats,jlebar
|
2012-12-05 23:26:28 +01:00 |
Mats Palmgren
|
924e59e0d0
|
Bug 817574 - Replace NS_ABS with std::abs. r=roc
|
2012-12-04 13:33:33 +01:00 |
Nathan Froyd
|
2a14d9b274
|
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
|
2012-10-01 17:01:01 -04:00 |
Ehsan Akhgari
|
bd2885b68c
|
Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms
|
2012-10-02 23:16:36 -04:00 |
Nathan Froyd
|
c2fddb8f07
|
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
|
2012-10-01 17:01:01 -04: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 |
Jonathan Watt
|
66f54fe5a4
|
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
|
2011-10-28 19:33:28 +01:00 |
Matt Woodrow
|
11c1aac810
|
Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf
|
2011-08-27 12:06:03 +12:00 |
Dominic Fandrey
|
968bf5196a
|
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
|
2011-06-02 14:56:50 +02:00 |
Daniel Holbert
|
4301671b45
|
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
|
2009-01-21 22:55:08 -08:00 |
dwitte@stanford.edu
|
84e6172062
|
update copy_string() to the single-fragment string world, and optimize write() to not return a value. b=282083, r+sr=jst, a=schrep
|
2008-01-03 16:07:06 -08:00 |
gerv%gerv.net
|
31625ba2b1
|
Bug 236613: change to MPL/LGPL/GPL tri-license.
|
2004-04-18 14:21:17 +00:00 |
darin%meer.net
|
8d65e087ae
|
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
|
2004-02-19 02:44:03 +00:00 |
gerv%gerv.net
|
4e12e44b2f
|
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
|
2001-09-28 20:14:13 +00:00 |
vidur%netscape.com
|
3d01aed3f7
|
Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
|
2000-12-12 21:58:14 +00:00 |
scc%mozilla.org
|
9c9a645de8
|
fixing includes
|
2000-09-09 04:39:25 +00:00 |
scc%mozilla.org
|
e52e438806
|
bug #49817: fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge
|
2000-09-02 04:10:44 +00:00 |
scc%mozilla.org
|
cc67834dfe
|
fixes needed to get multi-fragment strings working; r|a=waterson
|
2000-08-10 06:36:54 +00:00 |
scc%mozilla.org
|
c54f63178e
|
Exploiting a user-defined |operator->()| when the result is a pointer to a primitive type is problematic for the OS/2 VisualAge compiler. Eliminate such uses in the new string facilities. r=waterson
|
2000-06-01 06:01:18 +00:00 |
scc%mozilla.org
|
dae10b02a8
|
Adding a new file. Part of the fix for Bug #39686.
|
2000-05-20 19:57:03 +00:00 |