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

55 Коммитов

Автор SHA1 Сообщение Дата
Emanuel Hoogeveen 7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Birunthan Mohanathas a5ab25c973 Bug 869836 - Part 1: Use EqualsLiteral instead of `== NS_LITERAL_STRING(...)`. r=ehsan 2014-05-22 06:48:50 +03:00
Ehsan Akhgari c915f4615d Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Isaac Aggrey b95ab79e45 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -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
Ms2ger 4af44f872a Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Mark Banner 34bd0c10c3 Bug 557047 - Replace mailnews specific ifdef (MOZ_MAIL_NEWS) in cookie code with tests for a protocol flag. r=sdwilsh,sr=bzbarsky 2011-12-05 12:35:23 +00: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
Adam Barth a5e439e693 Bug 610218 - Quotes in "path" for Set-Cookie are taken literally; r=dwitte 2011-04-14 15:58:42 -04:00
Dan Witte b255501115 Fix bug 616264. r=ehsan,sdwilsh, a=beta9+ 2010-12-22 13:50:56 -08:00
Dan Witte 468790a66e 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 a67d6f7873 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 5cf671a843 Back out all cookie changes due to bug 602746. a=omgeverythingisbroken 2010-10-07 19:02:30 -07:00
Dan Witte aef2818ff7 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 039ed0f7fa Remove unnecessary sleep(). No bug, test-only. 2010-09-16 13:21:12 -07:00
Dan Witte 518384daba Manually set per-host limit in TestCookie. 2010-09-01 23:52:55 -07:00
Dan Witte a081d5eeed Remove unnecessary stripping of quotes prior to calling PR_ParseTimeString. b=542974, r=abarth 2010-02-10 12:22:49 -08:00
Dan Witte cf1ed17091 Fix failing test. 2010-02-09 15:42:44 -08:00
Adam Barth 10b31fba6c Bug 542974 - Make the cookie parser's handling of " characters more like IE. r=dwitte 2010-02-09 13:07:16 -08:00
Adam Barth b1750841d1 Bug 536514 - Treat leading and trailing "."s in Domain attributes like other browsers. r=dwitte 2009-12-26 13:39:35 -08:00
Dan Witte 04a3ac83b6 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-12-15 14:21:28 -08:00
Mark Banner 8376e9e637 Bug 501925 Change cookie policy to relax the mailnews-specific APP_TYPE_MAIL requirement. r=Neil,r=dwitte,sr=dmose 2009-09-02 09:42:53 +01:00
Dan Witte b0e5d90925 Backed out changeset d6a5afef5837 2009-03-16 01:33:54 -07:00
Dan Witte b3267037da Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-03-15 21:38:56 -07:00
Chris Double 025be432dd Backed out changeset 98381f8c8e08 due to test failure 2009-03-05 23:19:14 +13:00
Dan Witte ef83e1d68c change cookie eviction so that purges only take place when the limit on max cookies is reached, and the oldest cookie is greater than a set age. b=444600, r=sdwilsh,
sr=mconnor.
2009-03-04 22:11:24 -08:00
Dan Witte 10964e31f4 bump cookie limit from 1000 to 3000 to reduce occurrence of cookie purges. b=444600, r+sr=mconnor. 2009-02-03 19:11:33 -08:00
reed@reedloden.com 5f32285909 Bug 407845 - "nsCookieService::FindCookie() shouldn't return expired cookies" [p=dwitte@stanford.edu (Dan Witte [dwitte]) r+sr=biesi a1.9=damons] 2008-04-08 12:24:58 -07:00
dwitte@stanford.edu 85e49a64d5 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+ 2008-03-12 00:53:50 -07:00
dwitte@stanford.edu a9d75820d2 add tests for bug 385299. 2007-12-04 18:45:40 -08:00
dwitte@stanford.edu 7bd985d01b relanding bug 385299 and updating tests. 2007-12-04 16:03:22 -08:00
dwitte@stanford.edu c724dec6e0 backing out the kitchen sink. 2007-11-19 02:15:55 -08:00
dwitte@stanford.edu 7c281927e9 temporarily disabling tests. 2007-11-18 23:08:46 -08:00
dwitte@stanford.edu 43b6bbdb77 relanding modified patch for bug 403372. 2007-11-18 00:08:34 -08:00
reed@reedloden.com 11ea01beb7 Back out dwitte's cookie monster patch (bug 403372) due to Tp regression. 2007-11-17 01:49:18 -08:00
dwitte@stanford.edu 7db438590d fix test. 2007-11-16 23:07:24 -08:00
dwitte@stanford.edu 86d8ae1d8b relanding bug 403372. 2007-11-16 22:08:10 -08:00
dwitte@stanford.edu be600f0162 add cookie tests for creation time ordering and eviction. 2007-07-16 14:06:55 -07:00
dwitte@stanford.edu a06fef8172 add unit tests for previous checkin. 2007-07-10 20:28:01 -07:00
dwitte@stanford.edu c9d4ef4c68 prevent creating, modifying, and deleting HttpOnly cookies from web content, and add unit tests to that effect. b=383181, r+sr=dveditz 2007-06-26 01:36:50 -07:00
dwitte@stanford.edu 6d2c342bb5 missed this file in previous checkin. 2007-06-17 17:01:10 -07:00
dwitte@stanford.edu b391e7785e unit test for new cookie path checks, per bug 373228. 2007-05-07 04:40:23 -07:00
dwitte@stanford.edu 21747bccfe add nsICookieManager{2} interface tests. 2007-05-05 18:31:06 -07:00
mkaply%us.ibm.com d8d01a6b19 Bug 178993 - r=sayrer - Unit testcase for httponly 2007-03-14 17:16:51 +00:00
darin%meer.net ac465186ba fixes bug 338332 "netwerk/test/TestCookie logic error?" patch by davel, r=darin 2006-06-22 22:22:44 +00:00
benjamin%smedbergs.us d58e68beb2 Bug 327168 - test holds COMPtrs past XPCOM shutdown, r=darin 2006-02-14 19:39:52 +00:00