21 Commits

Author SHA1 Message Date
mvl%exedo.nl
f741f5dbf9 remove the old imgmanager from cookies.
bug 287628, r=dwitte, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@171316 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 09:52:19 +00:00
gerv%gerv.net
d6544e324a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155092 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:14:17 +00:00
darin%meer.net
9286ff8199 moving cookie service into necko: b=210561 r=dwitte sr=bryner
these files were moved from their old home in extensions/cookie.  the CVS
records cannot be simply moved because attic files exist in the new location,
and so i will unfortunately take cvs blame for all.  that's unfair to dwitte
who has made so many wonderful changes to the cookies backend code! ;-)

so, to find out the real cvs blame for these files, please look at the
following cvs remove'd files:

mozilla/extensions/cookie/nsCookieService.cpp
mozilla/extensions/cookie/nsCookieService.h
mozilla/extensions/cookie/nsCookie.cpp
mozilla/extensions/cookie/nsCookie.h
mozilla/extensions/cookie/nsICookie2.idl
mozilla/extensions/cookie/nsICookieConsent.idl
mozilla/extensions/cookie/nsICookie.idl
mozilla/extensions/cookie/nsICookieManager2.idl
mozilla/extensions/cookie/nsICookieManager.idl
mozilla/extensions/cookie/nsICookiePermission.idl


git-svn-id: svn://10.0.0.236/trunk@147859 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 23:08:01 +00:00
darin%meer.net
caa6b530dd landing last patch to separate cookie backend from permissions system, b=210561, r=dwitte, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@147853 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 21:23:44 +00:00
darin%meer.net
474b765c00 initial patch for bug 210561 "eliminate nsCookieHTTPNotify; have HTTP talk directly to nsICookieService" patch=dwitte r=mvl sr=darin
git-svn-id: svn://10.0.0.236/trunk@145577 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 01:44:27 +00:00
darin%meer.net
6103322ee1 fixes bug 184059 "cookperm.txt entries should override default cookie setting" patch=dwitte r=mvl sr=bz
git-svn-id: svn://10.0.0.236/trunk@145492 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 17:20:52 +00:00
dwitte%stanford.edu
1868bf16e5 Fixing leak regression from bug 200632 landing (the latest cookie rewrite).
This changes the nsCookieService singleton fu to AddRef only once, rather than twice (and removes the corresponding Release in the module dtor). The double-addref was making the cookie module stick around until XPCOM starts shutting down modules, which is too late to release things we own (observer service, prefbranch, etc). So we were violating XPCOM shutdown rules without knowing it.

So, the tracemalloc leak stats on Brad should halve. :)

b=209571, r=alecf, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@144084 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 05:00:22 +00:00
dwitte%stanford.edu
9580a2dcbb remove cid's/contractid's and factory constructors for nsCookie and nsPermission, since these objects shouldn't be instantiable.
b=209506, r=darin/mvl, sr=bz


git-svn-id: svn://10.0.0.236/trunk@143830 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 00:52:59 +00:00
dwitte%stanford.edu
850f2049fc yet another cookie rewrite - up to part 3 this time.
- moves core cookie code into nsCookieService.{h,cpp}, and kills nsCookies & nsCookieManager
- makes nsCookieService a singleton object that implements nsICookieManager also
- improves mem efficiency of the nsCookie object, and removes unneeded conversions
- adds an nsICookie2 interface to extend the sucky nsICookie.
- fixes a few (unrelated) trivial things while I'm in there (use ->ASCII instead of ->UTF8, and remove some erroneous stuff in nsPermissionManager.h)

cvs removal of nsCookies.{h,cpp} and nsCookieManager.{h,cpp} will follow; to find old blame info and logs for those files, look in attic.

burn the witch!

b=200632, r=alecf, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@143712 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 20:10:55 +00:00
bzbarsky%mit.edu
70156d33e8 Checking in permissions rewrite phase 1 (troop deployment in the permission
gulf).  Bug 191380, patch by mvl@exedo.nl (Michiel van Leeuwen),
r=dwitte@stanford.edu, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@140010 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 01:24:51 +00:00
timeless%mozdev.org
c784518ba2 Bug 179798 cookie confirm dialog no longer works in embedding (doesn't call nsIPrompt service)
patch by mvl@exedo.nl r=dwitte sr=darin


git-svn-id: svn://10.0.0.236/trunk@136820 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 05:52:33 +00:00
danm%netscape.com
e86f57bc2b add new popup window manager to module. bug 166442 r=jag,jst,morse
git-svn-id: svn://10.0.0.236/trunk@129204 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:13:31 +00:00
morse%netscape.com
1bf6fa90c8 bug 130304, freeze interface for nsICookie and nsICookieManager, r/sr=darin,alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@116618 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 03:49:00 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
gerv%gerv.net
f2fd909b29 License changes, take 2. Bug 98089. mozilla/extensions/.
git-svn-id: svn://10.0.0.236/trunk@103763 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:31:24 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
valeski%netscape.com
0c9d7c1f15 r=pavlov, sr=vidur, a=blizzard. 84162. making nsImgManager a nsIContentPolicy which allows it to play in the image blocking arena again. this fixes image blocking.
git-svn-id: svn://10.0.0.236/trunk@96454 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 21:37:48 +00:00
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +00:00
morse%netscape.com
8d277c87e5 bug 46783, reorg cookies module for embedding, r=valeski, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90729 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 02:11:48 +00:00