Commit Graph
33 Commits
Author SHA1 Message Date
Magnus Melin b696530394 Bug 804664 - remove typedef nsAutoCString nsCAutoString. r=benjamin 2012-10-23 20:53:15 +03:00
Isaac Aggrey 990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Steve Workman 0bca6b8108 Bug 790807: Add 64 bit nsAString::ToInteger; r=bsmedberg 2012-09-17 21:10:50 -04:00
Randell Jesup 2fe6de024a Bug 773151: provide back-compatibility for external API code using nsCAutoString CLOSED TREE r=bsmedberg 2012-07-14 00:01:09 -04:00
Randell Jesup 3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04: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
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mark Capella f1ce4051a8 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Mike Hommey 49d5f60602 Bug 716544 - Fix comparison between signed and unsigned integer expressions in nsStringAPI.h. r=dbaron 2012-03-13 09:47:02 +01:00
Mike Hommey 104c01d33e Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey 7c96a6f558 Bug 716544 - Fix comparison between signed and unsigned integer expressions in nsStringAPI.h. r=dbaron 2012-03-13 09:47:02 +01:00
Makoto Kato 38f4b99dc8 Bug 717526 - fix warning of nsStringAPI.h on Win64. r=dbaron 2012-01-25 15:43:27 +09:00
Jeff Walden edbb60f3de Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron 2011-12-16 14:42:07 -05:00
Atul Aggarwal 2a17cafa83 Bug 686775 - Matching external API version of StripWhitespace with internal version by adding stripping of \b. r=bsmedberg 2011-11-06 20:22:02 +05:30
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
Neil Rashbrook 99140ebecb Bug 540322 Add some missing methods to the external string API r=bsmedberg 2011-03-25 11:39:38 +00:00
L. David Baron 782ed45fa9 Use char16_t when available, and when it is, don't test for -fshort-wchar. (Bug 502298) r=bsmedberg 2009-07-20 07:04:41 -04:00
Fred Jendrzejewski cbc6639bab Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg 2009-01-22 17:15:34 +13:00
b57407d171 Bug 413477 - nsStringAPI needs RFind set of functions, patch by Prasad Sunkari ([email protected]), r=bsmedberg, a=beltzner 2008-04-08 23:01:13 -07:00
7bfd283d53 Bug 380783 - nsStringAPI.h: no equivalent of IsVoid (tell if string is null), patch by Mook <[email protected]>, r=bsmedberg/dbaron, sr=dbaron, a1.9=bz 2007-08-17 20:48:16 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
a108d063a0 Bug 177150 - Some mozilla-config.h defines require additional cflags for embedders. Patch by <[email protected]>. r=benjamin, sr=dbaron. 2007-06-16 13:02:15 -07:00
bc3487287a Bug 379339 StringBegins/EndsWith inconsistent with nsReadableUtils.cpp r=bsmedberg sr=darin 2007-05-07 04:09:54 -07:00
[email protected] 25e9c36c1b Bug 366592 - "Add comparison operators to external string API". r=bsmedberg. 2007-01-17 21:10:02 +00:00
[email protected] 6a399a8238 Re-land bug 345517 now that the logging issues are hopefully fixed, r=darin/mento/mano 2006-11-13 17:53:01 +00:00
[email protected] f7bb7881cf backing out 345517 due to leak test bustage 2006-11-10 04:42:03 +00:00
[email protected] 84c6af09b6 Bug 345517, try #2, make the browser component use frozen linkage, so that ff+xr builds. This does *not* --enable-libxul by default for Firefox (yet). That will wait until after 1.9a1. Older patch r=darin+mento, revisions r=mano 2006-11-09 15:02:29 +00:00
[email protected] 425e6fe613 Bug 345517 - xpcom/glue fixups required to move browser/ code to use the glue, r=darin 2006-07-31 19:37:30 +00:00
[email protected] 041993a898 Bug 337731 - Make gnomevfs use frozen linkage, r=darin 2006-05-23 19:50:24 +00:00
[email protected] 10cccea95b Bug 337730 - add additional utilities to nsStringAPI, r=darin
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
2006-05-19 22:37:17 +00:00
[email protected] 6cc432ba53 Bug 335248 - Add StringBeginsWith and several other functions to the frozen CRTGlue/stringapi, r=darin 2006-05-04 18:34:45 +00:00
[email protected] fa111bf45b Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00