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

742 Коммитов

Автор SHA1 Сообщение Дата
mvl%exedo.nl 2ebd61764c init mChangedList
bug 251247, r=dwitte, sr=darin
2004-07-15 15:16:42 +00:00
dwitte%stanford.edu 76c59a7697 add Finish() method to nsISafeFileOutputStream, and tweak things slightly.
b=251091, r=mvl, sr=darin
2004-07-15 05:52:37 +00:00
stephendonner%yahoo.com e7ce67e609 Bug 250845. Rename 'Turn Off Privacy Settings' to 'Allow All Cookies' in P3P dialog. r=mconnor, sr=neil, a=shaver 2004-07-14 04:54:19 +00:00
mvl%exedo.nl 149a807e1b use nsISafeFileOutputStream to prevent hostperm.1 from being truncated when the disk is full
bug 145557, r=dwitte, sr=darin, a=asa
2004-07-10 11:04:33 +00:00
timeless%mozdev.org 6d68244162 Bug 240947 use content instead of _content
r=neil sr=dveditz
2004-06-25 17:44:41 +00:00
mvl%exedo.nl 3688853ede Add a way to manually show a single blocked pop-up window
bug 198846, r=danm, sr=jag
2004-06-08 12:06:56 +00:00
dveditz%cruzio.com 700ac609cc fix for xpinstall (tier 50) dependency on extension/cookie (tier 94) build bustage (bug 245826, resulting from the fix for bug 240552). Band-aid r/sr bryner and darin 2004-06-08 03:11:21 +00:00
mvl%exedo.nl ae01124eaf fix compiler warning
Bug 244080, patch by tenthumbs@cybernex.net, r=mvl, sr=darin
2004-06-04 08:56:50 +00:00
neil%parkwaycc.co.uk 93e990ff0c Bug 90984 Prefer "website" to "web site" p=tmeader@gmail.com r=me sr=jag 2004-06-02 22:59:39 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
sspitzer%mozilla.org f00543e3e2 fix for bug #244279
Enabling popup blocking from About Popups fails to set the preference.

thanks to neil for the fix.

r=mconnor, sr=dveditz
2004-05-22 05:46:52 +00:00
mvl%exedo.nl fc48c463fc Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
dwitte%stanford.edu 439a0fa517 fix a build warning. b=242588, r=mconnor, sr=darin 2004-05-05 02:06:38 +00:00
bienvenu%nventure.com 4d40ab419f make nsILineInputStream take an nsACString ref, 197166, r=darin, sr=mscott, make local msg body search cache open file stream, use nsIFile instead of nsFileSpec to cut down on seeks, improve performance, sr=mscott 240538 2004-04-22 15:32:54 +00:00
gerv%gerv.net 86486431ae Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
darin%meer.net c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
mconnor%myrealbox.com 183524ff31 Bug 238931: remove the magic number 8 (kill ALLOW_SESSION_ONLY const), r=dwitte, sr=darin, a1.7=asa, fix dwitte's folly by implementing the session perm value on nsICookiePermission 2004-04-07 23:27:02 +00:00
mconnor%myrealbox.com d5db0bff70 Bug 239240: Choosing Unblock Images from this Server in context menu whitelists site instead of removing permission, r=dwitte, sr=darin, a1.7=asa 2004-04-07 23:23:50 +00:00
dwitte%stanford.edu 54d72ed6aa make the classic privacy dialog icon a classic picture, instead of modern.
patch by durbacher@gmx.de.

b=200009, r=mconnor, sr=alecf, a=chofmann
2004-04-06 04:28:45 +00:00
mconnor%myrealbox.com c48af3a33a bug 238045 - Cookie manager of 1.7beta does not display stored cookies, r=mvl, sr=darin, a=chofmann, display a blank value for expiry if FormatDateTime chokes on really long-lived cookies 2004-03-31 00:38:17 +00:00
jst%mozilla.jstenback.com 1799c57970 Backing out the frontend part of the fix for bug 198846 since it caused bug 235457, which wasn't fixable in time for 1.7b. 2004-03-16 20:13:14 +00:00
bzbarsky%mit.edu 55d9209a4a Fix image blocking for backgrounds. Bug 236919, r=jst, sr=dbaron, a=chofmann 2004-03-13 18:11:01 +00:00
mvl%exedo.nl 0b2a2ee20d Wait to write out the permissions file until after 2 seconds of inactivity, to speed up deleting of losts of entries.
bug 236641, r=dwitte, sr=darin, a=dveditz
2004-03-12 18:02:38 +00:00
mconnor%myrealbox.com a3a27f4e08 bug 233339 - rewrite CanSetCookie to reflect what dialogs now do, r=dwitte, sr=darin 2004-03-10 06:47:49 +00:00
mconnor%myrealbox.com e4756a402c bug 102269: Cookie Manager: Server Secure is unclear. r=mvl, sr=alecf 2004-03-07 08:25:59 +00:00
mconnor%myrealbox.com c4867a2b27 previous checkin should have read bug 230624 - better dialog version, r=neil, sr=jst 2004-03-05 01:45:15 +00:00
mconnor%myrealbox.com c8cc2ca097 *** empty log message *** 2004-03-05 01:31:43 +00:00
neil%parkwaycc.co.uk 0c857f80f8 Bug 235190 Remove cookie icon xul that Classic doesn't like p=hj r=me sr=darin 2004-02-25 12:54:00 +00:00
mvl%exedo.nl 054f4164df If domain.com is blocked, sub.domain.com is blocked, but cannot be unblocked using remove
Part two, domainwalk in nsPermissionManager.
Bug 224327, r=dwitte, sr=darin
2004-02-10 19:57:33 +00:00
mvl%exedo.nl 4bc72bffba Add a way to manually show a single blocked pop-up window. Pass the features of the window.open() call in DOMPopupBlockedEvent.
Bug 198846, r=danm, sr=jag
2004-02-10 18:22:23 +00:00
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
mvl%exedo.nl 20c77dd560 Create a new file to store nsPermissionManager's data in.
This will create a hostperm.1 file instead of cookperm.txt. The new file has more flexibility.
Bug 219752, r=dwitte, sr=darin
2004-02-08 13:04:13 +00:00
neil%parkwaycc.co.uk 3c188db3db Bug 223294 <dialog>s no longer need a <separator> at the bottom of their content p=stefan@borggraefe.com r=me sr=ben 2004-02-04 23:44:29 +00:00
timeless%mozdev.org 93aa40c3fa Bug 229147 mHost = ArenaStrDup from nsHostEntry can fail and needs to be handled
r=mvl sr=bz
2004-02-04 16:15:38 +00:00
kairo%kairo.at 3d12a17e05 bug 232011 - Use the XUL preprocessor for build-time inserting of localeVersion strings, this removes contents*.rdf.in files and resurrects the contents*.rdf files, using preprocessor.pl via the jar.mn definitions 2004-02-04 14:24:38 +00:00
dwitte%stanford.edu 3b6c37bc82 remove preference imageblocker.enabled.
b=208882, patch by mconnor@myrealbox.com, r=mvl, sr=alecf.
2004-02-01 09:17:51 +00:00
dbaron%dbaron.org 17c9bcdadb Unregister pref observer onunload to prevent it leaking until shutdown. Also run more onload rather than when the script is executed. b=231384 r=mvl sr=bryner 2004-01-30 00:46:32 +00:00
bzbarsky%mit.edu 16e457b12e Rework cookie dialogs to allow setting session-only cookies. Bug 230624, patch
by Mike Connor <mconnor@myrealbox.com>, r=mvl, sr=darin
2004-01-29 03:34:58 +00:00
bsmedberg%covad.net 7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
jst%mozilla.jstenback.com c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bsmedberg%covad.net d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net 274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
timeless%mozdev.org 9295d04d92 Bug 228397 Warning ``assignment to undeclared variable uri'' [xs] in file ``chrome://cookie/content/cookieContextOverlay.xul'', line 53, character 0.
r=dwitte sr=bz
2003-12-21 04:04:12 +00:00
dwitte%stanford.edu 4efc16689c implement session cookie UI. thanks to mconnor for the patch!
b=225857, p=mpconnor@myrealbox.com, r=neil, sr=alecf
2003-12-20 03:08:44 +00:00
dbaron%dbaron.org d5582721b7 Separate locale version from Mozilla version so we do not have to bump locale version for every release. b=226377 r=kairo, bsmedberg sr=ben a=asa 2003-12-02 23:22:11 +00:00
neil%parkwaycc.co.uk eebf110595 Bug 225840 clean up after <window> to <dialog> conversion p=gautheri@noos.fr r=me sr=ben a=asa 2003-12-01 23:44:39 +00:00
dwitte%stanford.edu 236efbac12 mingw bustage fix. thanks stephend 2003-11-11 05:28:12 +00:00
dwitte%stanford.edu 3854015772 clean up some prefhandling code in nsImgManager/nsCookiePermission, to fix a bogus assert when mailnews prefs aren't available.
b=224339, r=caillon, sr=darin.
2003-11-11 02:46:06 +00:00
mvl%exedo.nl a559a5ed2b Whitespace only change, to indicate that the previous comment was supposed to be:
Ignore the port when checking permissions. Bug 200644, r=dwitte, sr=darin
2003-11-06 20:25:13 +00:00
mvl%exedo.nl 1f3c16d801 Put back a line that shouldn't have been removed for bug 161130 2003-11-06 20:21:05 +00:00
dwitte%stanford.edu 7c9765217b removing obsolete directory. 2003-11-01 23:52:45 +00:00
mvl%exedo.nl b8604c9e55 Put back a line that shouldn't have been removed for bug 161130 2003-10-31 19:40:52 +00:00
mvl%exedo.nl ac29426a10 Prevent crashes due to the permissions array not being initialized.
bug 223201, r=dwitte, sr=darin
2003-10-31 19:17:03 +00:00
mvl%exedo.nl 289a063ebf Prevent crashes due to the permissions array not being initialized.
bug 223201, r=dwitte, sr=darin
2003-10-31 19:09:08 +00:00
timeless%mozdev.org ac828a26e3 Bug 205541 Selecting "Unblock Cookies..." while on a site that you'd previously blocked allows the site to set cookies rather than just removing the block
patch by mpconnor@rogers.com r=neil sr=alecf
2003-10-30 23:27:58 +00:00
dwitte%stanford.edu bc55887835 add accesskeys for the cookie confirmation dialog.
b=201743, r=neil, sr=alecf
2003-10-30 17:26:44 +00:00
dwitte%stanford.edu ad0e6835d4 bustage blah bustage. thanks dbaron. 2003-10-30 03:42:52 +00:00
dwitte%stanford.edu 2a9ecd8962 moving TestCookie into its new netwerk/test home.
find blame for the old TestCookie in the attic for
mozilla/extensions/cookie/tests/TestCookie.cpp.
2003-10-30 03:28:28 +00:00
dwitte%stanford.edu 0af383bc06 remove support for network.cookies.strictDomains pref, since there's not much point in keeping it around.
b=223617, r+sr=darin, thanks to mvl for testing.
2003-10-30 03:13:54 +00:00
dwitte%stanford.edu 359f90d96a remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin
2003-10-30 02:59:31 +00:00
timeless%mozdev.org 8d41a79bf6 Bug 223199 hostList leaks on OOM in nsPermissionManager::GetEnumerator
r=dwitte sr=roc
2003-10-30 02:09:13 +00:00
dwitte%stanford.edu e42be4a132 move cookies to use hashtables instead of a sorted list, and implement a sane notifications
system for cookies and permissions. this will improve perf a bunch, and also sets the stage
for a more performant and flexible cookiemanager UI by providing better notifications.

bugs 143939 and 221185, with r=bsmedberg+mvl, sr=darin and r=mvl, sr=bz respectively.
2003-10-22 06:53:19 +00:00
bryner%brianryner.com 605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
mvl%exedo.nl 0db62905d1 Ask before loading images is no more. Remove obsolete references to it from the prefs panel.
bug 161130, r=dwitte, sr=darin
2003-10-19 09:10:59 +00:00
kairo%kairo.at 7b21e2d4eb bug 154927 - automate localeVersion updates based on milestone.txt - we'll now create all those files during compile time from .in files, r=leaf, sr=bz 2003-10-18 17:54:07 +00:00
dwitte%stanford.edu 9c84bccbd4 make the cookie whitelist override the "limit cookie lifetime to session" pref. this allows the user to whitelist certain sites for setting permanent cookies, while non-whitelisted sites are downgraded to session cookies. also adds an "downgrade cookies from this site to session" permissionlist value, so now we have a whitelist/blacklist/sessionlist. (UI for this latter feature is not yet hooked up).
this also shifts a bunch of forked pref stuff out of the cookie backend and into an app-specific place, which is good for the GRE.

b=217286, r=mvl, sr=darin.
2003-10-16 13:17:12 +00:00
dwitte%stanford.edu 2ef25e6230 trivial warning fix: xpidl generates separate |enum|s for constants of the same type, so gcc complains about enumeral mismatches when there aren't any. no bug, r=mvl 2003-10-12 14:50:55 +00:00
darin%meer.net 333c107b7a fixing build bustage 2003-10-11 22:13:05 +00:00
darin%meer.net fe797b1a2c removing files that have now been moved into necko: b=210561 r=dwitte sr=bryner 2003-10-11 21:09:02 +00:00
dwitte%stanford.edu ded62c5db6 whoops. these weren't meant to go in. ;) 2003-10-11 00:12:33 +00:00
dwitte%stanford.edu 7d225f53dc refactor cookie prompting helper to where it belongs... this will increase perf a little, for the case where prompting is turned off.
b=220624, r=mvl, sr=darin.
2003-10-11 00:06:13 +00:00
darin%meer.net 1754f96409 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
2003-10-10 23:08:01 +00:00
darin%meer.net c0c2e832c7 landing last patch to separate cookie backend from permissions system, b=210561, r=dwitte, sr=bryner 2003-10-10 21:23:44 +00:00
mvl%exedo.nl ceadcb4de1 Try the scheme if no host is found when showing a cookie dialog. bug 209689, r=dwitte, sr=darin 2003-10-10 15:08:43 +00:00
timeless%mozdev.org 02c84872d9 Bug 220451 - Popup Manager's "Allowed Sites" dialog doesn't persist size and position
patch by borggraefe@despammed.com r=neil sr=alecf
2003-10-09 00:29:09 +00:00
neil%parkwaycc.co.uk 1c4c4c930a Bug 182359 only open one manager window of each type r=dwitte sr=darin 2003-10-07 10:03:21 +00:00
neil%parkwaycc.co.uk 946c00dbbf Bug 220460 "About Popups" dialog should autosize and not be resizable p=borggraefe@despammed.com r=me sr=bienvenu 2003-10-02 08:10:39 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
mvl%exedo.nl 43a7507a05 Fix typos 2003-09-11 17:02:32 +00:00
mvl%exedo.nl b2a4670f8f Ignore bogus lines that old builds can create when reading cookperm.txt. bug 215461. r=dwitte, sr=darin 2003-09-11 16:56:04 +00:00
bryner%brianryner.com 2406bc1ed4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:05:34 +00:00
mvl%exedo.nl 4471172a59 Followup to bug 217636, assertion is the wrong way around. Debug only. r=dwitte, sr=darin, a=asa 2003-09-03 20:45:23 +00:00
mvl%exedo.nl d50e7e7202 Bug 217636, fix cookperm.txt indexes. r=dwitte, sr=darin, a=asa 2003-08-29 17:13:40 +00:00
darin%meer.net 42caff9a93 fixes bug 215460 "accept cookie dialog's '...all cookies from this site' checkbox does not always suppress further prompting" r=dwitte sr=bryner a=asa 2003-08-15 21:04:54 +00:00
kairo%kairo.at 5cbc82d1b5 bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa 2003-08-11 11:31:24 +00:00
darin%meer.net 23eb5beb12 removing nsCookieHttpNotify.{h,cpp} now that they are unused and empty, b=210561. 2003-08-05 02:16:36 +00:00
darin%meer.net 0e1fa2dc76 initial patch for bug 210561 "eliminate nsCookieHTTPNotify; have HTTP talk directly to nsICookieService" patch=dwitte r=mvl sr=darin 2003-08-05 01:44:27 +00:00
stephend%netscape.com b878775585 Spelling corrections that should've landed with the original patch for bug 184059 2003-08-02 18:17:55 +00:00
darin%meer.net 82a854409f fixes bug 184059 "cookperm.txt entries should override default cookie setting" patch=dwitte r=mvl sr=bz 2003-08-02 17:20:52 +00:00
bzbarsky%mit.edu 5fa37ec6f3 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:35:53 +00:00
bzbarsky%mit.edu d0666152a5 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com 817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
dwitte%stanford.edu 0348122ca5 Bug 212284: Adding a web site to allowed popup site list crashes Mozilla [@ nsPermissionManager::Add ]
fixing a crasher regression from yesterday's landing of bug 209475.

patch by mvl; r=dwitte, sr=bz, a=dbaron.
2003-07-11 00:04:02 +00:00
darin%netscape.com bae7bd0843 MSVC++ uses old-school variable scoping with |for| loop initializers. fixes win32 bustage. 2003-07-09 01:29:51 +00:00
dwitte%stanford.edu ee64b32c3e Bug 209475: Make nsIPermissionManager more flexible for extensions.
Changes nsIPermissionManager.idl to accept type strings rather than integers; this allows consumers to register unique types more easily, without fear of conflicting with an already-existing one.

Also fixes some bounds-checking fu (sr=bz on irc for those additional portions).

patch by mvl; r=dwitte, sr=bz.
2003-07-09 00:20:57 +00:00
dwitte%stanford.edu 0a56c23de4 fixing a trivial warning due to mismatch of |class| fwd-declaration for a struct.
r=timeless
2003-06-24 14:33:26 +00:00
dwitte%stanford.edu 5abc7e03c5 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.
2003-06-24 05:00:22 +00:00
jshin%mailaps.org a02a46efd1 bug 205649 : replace U+00E5 represented in ISO-8859-1 (0xe5) with U+00E5 in
UTF-8 in all XUL files to make them to be genuinely encoded in UTF-8. All the
changes are in comments so that this shouldn't affect anything at run-time.
(r=hwaara)
2003-06-23 13:18:12 +00:00