Commit Graph

81 Commits

Author SHA1 Message Date
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E)
b32522b36e Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07:00
Ehsan Akhgari
0fd9123eac 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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
695bd88cea Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (netwerk parts); r=jduell 2012-06-05 23:18:25 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger
945ee00ec1 Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Geoff Lankow
95f0153308 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part E, remove uses of nsIPrefBranch2 in netwerk/ ; r=bsmedberg 2012-01-17 14:48:29 +13:00
Nathan Froyd
4d931d2fc9 Bug 712427 - provide more information in SQL PRAGMA queries; r=mak 2012-01-05 18:46:35 -05:00
Ehsan Akhgari
2a602a5685 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
Marco Bonardo
e13883a233 Bug 686025 - nsNavHistory::AsyncExecuteLegacyQueries uses synchronous createStatement instead of createAsyncStatement.
r=asuth, sdwilsh
2011-10-03 23:50:23 +02:00
Michael Wu
d8e503c38b 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
Neil Rashbrook
956f798ed0 Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Neil Rashbrook
843c1fef62 Backout of bug 611503 because Android has some weird string code 2011-09-14 21:14:57 +01:00
Neil Rashbrook
430bc94bad Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-14 20:21:20 +01:00
Boris Zbarsky
0253585378 Bug 667818. When computing cookie expiration times, watch out for division by unsigned PR_USEC_PER_SEC screwing things up. r=dwitte 2011-07-26 16:34:11 -04:00
Ed Morley
1264376be3 Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi 2011-06-20 15:49:13 -07:00
Adam Barth
1d2b11171a Bug 610218 - Quotes in "path" for Set-Cookie are taken literally; r=dwitte 2011-04-14 15:58:42 -04:00
Christian Biesinger
040a8153c7 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-11 16:26:11 -07:00
Jonathan Kew
15d6c5f538 Backed out changeset b980d0cf9847 (bug 643051) because of consistent mochitest-1 failure 2011-04-08 20:29:18 -07:00
Christian Biesinger
c33537ae62 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-08 14:21:20 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Ehsan Akhgari
c9eeb28036 Bug 643674 - firefox 4 crash [@ nsCookieService::HandleCorruptDB(DBState*) ] and t [@ nsCookieService::HandleCorruptDB ]; r=sdwilsh 2011-03-28 16:24:05 -04:00
Neil Rashbrook
7b8d25a7b1 Bug 611503 Fix broken consumers of nsTDependentString on an nsTAString r=dwitte 2011-03-25 11:43:15 +00:00
timeless@mozdev.org
036f6beffb Bug 618793 please add a return or comment in STATUS_REJECTED case of nsCookieService::SetCookieStringInternal switch to explain common return with STATUS_REJECTED_WITH_ERROR
r=dwitte
2011-03-23 23:30:16 -04:00
Dan Witte
2685d64a45 Fix bug 616264. r=ehsan,sdwilsh, a=beta9+ 2010-12-22 13:50:56 -08:00
Dan Witte
ee902f29f9 Bug 612072 - Crash [@ nsCookieService::EnsureReadDomain(nsCString const&) ]. r=sdwilsh, a=betaN+ 2010-11-22 13:50:25 -08:00
Dan Witte
b09a36ff06 Bug 547031 - Improve async error handling in cookies. Part 6: Implement async error handling. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
265c2e499c Bug 547031 - Improve async error handling in cookies. Part 5: Fix observers to deal with reentrancy. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
0b42ea484f Bug 547031 - Improve async error handling in cookies. Part 4: Fix SELECT bug in EnsureReadComplete(). r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
4ac1130d65 Bug 547031 - Improve async error handling in cookies. Part 3: Get the sync database connection early so it can't fail. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
5390824121 Bug 547031 - Improve async error handling in cookies. Part 2: Clean up TryInitDB(). r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
7550955b03 Bug 547031 - Improve async error handling in cookies. Part 1: Refactor to allow multiple DBStates. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
697a4e5be7 Bug 590843 - Fix integer literal overflow. r=sdwilsh, a=final+ 2010-11-12 09:32:35 -08:00
Dan Witte
f108ef023f Bug 590843 - Fix bugs in purge logic. r=sdwilsh, a=final+ 2010-11-10 10:31:11 -08:00
Dan Witte
6492961a2f Followup for review comment in bug 608545. a=b7+ 2010-11-02 10:46:19 -07:00
Dan Witte
2e9595d37a Bug 608545 - Set cookie: unexpected "deleted" observer notification when cookie already exists. r=sdwilsh, a=b7+ 2010-11-02 00:06:54 -07:00
Dan Witte
b2f34aa036 bug 608422 - cookies.sqlite-wal takes too much space for Fennec r=sdwilsh a=blocking-fennec 2010-10-30 22:32:45 -04:00
Dan Witte
39d8c0abf3 Bug 605835 - Stack exhaustion in cookie observers on startup with 10-20 nightly. r=sdwilsh, a=beta8+ 2010-10-20 12:11:54 -07:00
Dan Witte
baf47b6be2 Bug 598196 - Use journal_mode = WAL in cookies. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
27c0df58b7 Bug 599799 - Cookies are doubled when switching between FF3.6 and FF4beta. Part 1: remove NULL baseDomains. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
95a68e5750 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 5: Replace expired cookies eagerly, and make expired cookies visible in API results. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
b17354e38b Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 4: delete expired cookies on migrate. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
68ea23abd0 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 3: test improvements. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte
a3549caaa2 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte
4d71dd8fd7 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 1: fix mDefaultDBState. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte
c50d79868f Bug 595925 - Use OpenUnsharedDatabase in cookies. r=sdwilsh, a=final+ 2010-10-19 17:24:52 -07:00
Dan Witte
9a433ac962 Bug 595305 - Factor cookie third-party URI code into separate API. r=bent, a=betaN+ 2010-10-19 09:37:03 -07:00
Dan Witte
b9cf988084 Back out all cookie changes due to bug 602746. a=omgeverythingisbroken 2010-10-07 19:02:30 -07:00
Dan Witte
246bdbe90c Bug 598196 - Use journal_mode = WAL in cookies. r=sdwilsh, a=betaN+ 2010-10-07 14:01:16 -07:00