Commit Graph

272 Commits

Author SHA1 Message Date
Isaac Aggrey
61d7092334 Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan 2012-10-11 13:16:29 -05:00
Jason Duell
db2d501e44 Bug 795203 - B2g: clear private data: cookies. r=mconnor,jduell 2012-09-28 17:03:00 -07:00
Isaac Aggrey
e496b51126 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Mounir Lamouri
fdba5f54e7 Bug 794023 - Use std::numeric_limits for NECKO_UNKNOWN_APP. f=ehsan r=jduell
--HG--
extra : rebase_source : bfd9374dd9f53f2e98bcefb33c6dfa355a07948e
2012-09-28 11:04:32 +01:00
Mounir Lamouri
e57e4078be No bug - Fix build bustage on CLOSED TREE. 2012-09-27 23:12:14 +01:00
Mounir Lamouri
1e5ff0d298 Bug 783408 - 3/4 - Delete app's cookies when uninstalled. r=jlebar,mconnor 2012-09-27 22:37:28 +01:00
Mounir Lamouri
75418b1030 Bug 783408 - 2/4 - Add a function to remove app's cookies in nsICookieManager2. r=jduell sr=mconnor 2012-09-27 22:37:02 +01:00
Mounir Lamouri
903b7edcb3 Bug 783408 - 1/4 - Add a method in nsICookieManager2 that returns app's cookies. r=jduell sr=mconnor 2012-09-27 22:17:08 +01:00
Nathan Froyd
614429e904 Bug 792421 - fix build error in nsCookieService.h; r=jduell 2012-09-19 10:55:09 -04:00
Ehsan Akhgari
b5c39afb4e Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Jason Duell
e8292ead1f Bug 756648 - Implement "cookie jars" for apps. r=biesi,smaug
--HG--
rename : netwerk/test/unit_ipc/test_cookie_wrap.js => netwerk/test/unit_ipc/test_cookie_header_wrap.js
2012-09-18 12:04:04 -04:00
Monica Chew
ac45691812 Bug 770691 - Add plubming for per-site third party cookie blocking. r=mconnor sr=biesi,jduell,mconnor
--HG--
extra : rebase_source : 4ee3c16a72f0a557575349354060b76ca4e34031
2012-09-14 13:57:56 -07:00
Rafael Ávila de Espíndola
3e32891034 Bug 790285 - avoid nullptr -> false conversions. r=ehsan. 2012-09-11 14:00:37 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Mounir Lamouri
4fabe12e02 Bug 769589 - Remove deprecated GetOriginatingURI from nsICookiePermission. r=mconnor sr=cbiesinger 2012-08-30 17:07:03 -03: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
Ben Turner
0727b7098c Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -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
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02: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
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04: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
Paul A. Adeyenuwo
b1fc7c688c Bug 660158 - Remove all references to head_ipc.js; r=jduell 2011-07-17 12:07:42 +02:00
Ed Morley
1264376be3 Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi 2011-06-20 15:49:13 -07:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04: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
Josh Matthews
e6d29d8ef8 Bug 615745 - Make CookieServiceChild add strong pref observers. r=dwitte a=blocking-fennec 2010-11-30 21:47:08 -05: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
Dan Witte
4ed4ad788c Bug 599799 - Cookies are doubled when swithing between FF3.6 and FF4beta. r=sdwilsh, a=beta8+ 2010-10-07 14:01:02 -07:00
Dan Witte
d35ee96b79 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 3: test improvements. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte
4186156de5 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte
ec30bfbdb3 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 1: fix mDefaultDBState. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte
26b9bc422a Bug 595925 - Use OpenUnsharedDatabase in cookies. r=sdwilsh, a=final+ 2010-10-07 14:00:17 -07:00
Dan Witte
61a3b4f887 Bug 580449 - Address nsCookieService.cpp review. r=jdm, a=fennec2.0+ 2010-09-16 13:21:12 -07:00
Dan Witte
49204383e2 Bug 580448 - Document PCookieService.ipdl. r=jdm, a=fennec2.0+ 2010-09-16 13:21:12 -07:00
Dan Witte
ca321bb701 Merge e10s -> m-c. 2010-09-07 15:34:44 -07:00
Dan Witte
6bba1507c0 Bug 590611 - Raise cookies per basedomain limit to 150. r=sdwilsh, a=betaN+ 2010-09-01 16:27:10 -07:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Ms2ger
1dfccaacbb Bug 588503 - Don't compare PRBool to nsnull in cookies; r=sdwilsh approval2.0=jst 2010-08-25 15:15:37 +02:00
Christian Biesinger
12d307441f bug 585326 improve cookie logging
r=dwitte a=jst
2010-08-25 11:32:01 +02:00
Taras Glek
f849918830 Bug 581606 - Avoid sqlite fragmentation via SQLITE_FCNTL_CHUNK_SIZE r=asuth sr=shaver a=b6 2010-09-01 20:35:46 -05:00
Christian Biesinger
fdc2ba9c19 Bug 585326 - Improve cookie logging, r=dwitte, a=jst 2010-08-31 14:31:48 -03:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Christian Biesinger
5e469c4579 bug 583636 make cookie logging work in release builds
r=dwitte a=dbaron

--HG--
extra : rebase_source : 98390eebae433930799ebe4d70bce5bb9667232f
2010-08-07 17:33:09 +02:00
Josh Matthews
efd0cccb18 Bug 580450 - Clean up IPC::URI. r=dwitte 2010-07-26 15:59:34 -04:00
Dan Witte
aee0ace6dc Bug 572223 - too much cookies.sqlite io. Part 7: fix creationid logic. r=sdwilsh 2010-08-02 17:03:24 -07:00
Dan Witte
03e4d67161 Bug 572223 - too much cookies.sqlite io. Part 6: fresh connection for sync reads. r=sdwilsh 2010-07-29 13:43:34 -07:00
Dan Witte
8a172e9c9b Bug 572223 - too much cookies.sqlite io. Part 5: async RemoveAll. r=sdwilsh 2010-07-29 12:17:43 -07:00
Dan Witte
0533b2cfca Bug 572223 - too much cookies.sqlite io. Part 3: sync read per domain. r=sdwilsh 2010-07-29 12:17:42 -07:00
Dan Witte
21ac6e5965 Bug 572223 - too much cookies.sqlite io. Part 2: async read. r=sdwilsh 2010-07-29 12:17:42 -07:00
Josh Matthews
1a55ff58cd Backint out bug 580450, changeset 4d2c9a0c5e1c 2010-08-02 11:29:10 -04:00
Josh Matthews
b38983d775 Bug 580450 - Clean up IPC::URI. r=dwitte
--HG--
extra : rebase_source : 25fbd59338609fd9792071b9d414ea983608aab2
2010-07-26 15:59:34 -04:00
Dan Witte
dfcfc976fb Revert bug 572223 to fix creation of duplicate cookies. 2010-08-01 12:24:38 -07:00
Dan Witte
df5c84289d Bug 572223 - too much cookies.sqlite io. Part 6: fresh connection for sync reads. r=sdwilsh 2010-07-29 13:43:34 -07:00