Граф коммитов

32 Коммитов

Автор SHA1 Сообщение Дата
Andrew Quartey d21a5d8004 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Isaac Aggrey e0ccbfc6c7 Bug 795351: Replace LL_MaxInt(), LL_MinInt(), LL_MaxUint() with stdint macros; r=ehsan 2012-09-28 17:08:26 -05:00
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -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
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari 92064e6d3f 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 d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mounir Lamouri 6e945be67b Bug 636750 (1/4) - Add ToDouble to nsTString. r=bsmedberg 2011-03-25 12:13:59 +01:00
Mounir Lamouri 3dc7fe104c Bug 637325 - Fix a typo in xpcom/tests/TestStrings.cpp:test_strip_chars. r=bsmedberg a=tests 2011-03-18 15:13:40 +01:00
Mats Palmgren d8e85c2924 Bug 615147. r=dbaron a=blocking2.0:final 2011-01-14 01:22:26 +01:00
Mounir Lamouri d55a633ca1 Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Neil Rashbrook b871244cc3 Bug 538476 Allow ToInteger to take an nsresult* parameter to match the external string API r=bsmedberg 2010-01-08 23:43:50 +00:00
Neil Rashbrook 63ff447dc4 Bug 520366 AppendInt only handles 32 bit signed ints r=bsmedberg 2009-11-04 21:33:23 +00:00
Neil Rashbrook 16b1fe13c8 Bug 499027 Copying an empty string to a new string allocates a buffer r=dbaron sr=jst 2009-08-14 12:03:05 +01:00
Neil Rashbrook eeca3c2f77 Bug 479057 Concatenating empty strings can result in bogus copying r=bsmedberg 2009-03-04 09:50:22 +00:00
Fred Jendrzejewski 424883d380 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Benjamin Smedberg bfbe5114fe Bug 473587 - nsTString::ToInteger can overflow. Detect and prevent this condition, r+sr=dbaron
--HG--
extra : rebase_source : b0c9f51f2860aa1008c447334fa9075dd0b8e718
2009-01-15 13:44:46 -05:00
Benjamin Smedberg 212b417b73 Bug 450137 - Add namespaces to multiple classes with the same name in xpcom/tests, to avoid automated tool confusion, r=dbaron 2008-08-18 12:45:38 -04:00
asqueella@gmail.com cb5ac9d2d1 Bug 339069 - Optimization for RFindInReadable
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=darin, sr=dbaron
2007-07-23 18:30:19 -07:00
darin%meer.net 621c803bd5 fixes bug 327719 "Passing a big double serialize a rounded double" patch by afatecha@idea.com.py r=dbaron sr=darin 2006-03-15 14:23:11 +00:00
darin%meer.net e2bb3bb1e7 fixes bug 311456 "Calling Truncate() on an nsAutoString makes next append work hard and doesn't clear F_VOIDED flag" r=bzbarsky 2006-02-04 00:42:18 +00:00
darin%meer.net dd78f625f5 landing xpcom patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=dbaron sr=jst 2005-02-02 22:18:37 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
darin%meer.net cdedae5f14 adding test for RFindCharInSet with no explicit offset parameter 2004-04-29 03:36:47 +00:00
darin%meer.net e1596abc85 adding testcases for FindCharInSet and RFindCharInSet, bug 240837 2004-04-19 20:12:52 +00:00
cbiesinger%web.de a8c9d6354b bug 240106, add 64-bit version of nsC?String::AppendInt
r=darin sr=dbaron
2004-04-13 19:13:49 +00:00
darin%meer.net 6a9b4c1c76 fixes bug 235272 "RFind is broken [was: Thunderbird treats two-letter folder msf files as folders themselves]" r=jst sr=bienvenu 2004-03-04 07:54:22 +00:00
darin%meer.net 80f8efd35c fixes bug 235355 "hangs/crashes after choosing Server Settings in Mail&Newsgroup Account Settings, click o.k." r+sr=dbaron 2004-02-25 03:24:29 +00:00
darin%meer.net 44ce35aebb landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.
2004-02-20 01:53:23 +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