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

912 Коммитов

Автор SHA1 Сообщение Дата
dwitte@stanford.edu fcd4182c75 move permission manager persistent storage from hostperm.1 to permissions.sqlite, use nsIURI::GetAsciiHost() for consistent host normalization, and expand type/permission limits. bugs 400092 and 400097 (patch in 400097), sr=shaver, pending r=sdwilsh, blocking-1.9+. 2007-12-04 22:37:36 -08:00
sayrer@gmail.com aeb20a4eff Bug 396648. nsPermissionManager tries to open two files that usually don't exist. r/sr=biesi, a=bzbarsky 2007-09-20 22:09:54 -07:00
jwalden@mit.edu 12e960c504 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
dwitte@stanford.edu 1c94d597f5 cid and comment don't match, b=305444 2007-06-22 04:12:13 -07:00
dcamp@mozilla.com 45b1ac9004 Bug 378685 - Permission manager should operate on innermost URI, r=dveditz sr=mconnor 2007-06-21 09:32:46 -07:00
dwitte@stanford.edu ee596924ec switch cookies over to mozStorage. b=230933, r=sdwilsh, sr=mconnor.
remove nsInt64 usage from cookies, b=384225, r+sr=biesi.
2007-06-17 14:52:22 -07:00
bent.mozilla@gmail.com 934776a3e5 Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions. 2007-05-23 13:08:44 -07:00
dwitte@stanford.edu 6aa43dff43 implement CountCookiesFromHost() in cookie backend for perf reasons, and update consumers to use it.bug 379239, r=mvl, sr=biesi 2007-05-05 14:09:54 -07:00
dbaron@dbaron.org cb52af13a3 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
jwalden%mit.edu abed574f4f Bug 430251 - Update to latest HTML5 and make postMessage dispatch its event asynchronously, as well as dispatch at the window, not the document. r=jst, r=smaug, sr=sicking, a=damons, c=cookie 2008-05-02 19:26:50 +00:00
kairo%kairo.at 93056a971e bug 431453 - Make browser-chrome mochitests pass on SeaMonkey: make some platform tests Firefox-only or non-SeaMonkey (as applicable), r=smontagu for docshell, r=dwitte for cookie, r=gavin for dlmgr, a1.9=damons for platform tests; make SeaMonkey sanitizer tests pass, sr=Neil 2008-05-02 13:13:23 +00:00
gavin%gavinsharp.com 7aba0fedbe Back out the patch for bug 235853, again, because of mochi*chrome* failures this time. 2008-04-18 02:49:41 +00:00
gavin%gavinsharp.com b6885fb7c6 Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, and fix HTTP channel code to properly forward cache-related properties to new proxied channels, patch by shaver@mozilla.org, r+sr=biesi, a=beltzner 2008-04-18 01:36:30 +00:00
dwitte%stanford.edu 3040563553 remove ailing test. 2008-03-16 09:31:36 +00:00
dwitte%stanford.edu d5adde6a07 disable failing test on mac. 2008-03-12 08:35:57 +00:00
dwitte%stanford.edu dabe103242 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+ 2008-03-12 07:53:58 +00:00
dwitte%stanford.edu fe5c819390 Bug 416207 - Update cookie/permission services from changes to mozIStorageService::OpenDatabase. r=sdwilsh, sr=mconnor, a=beltzner 2008-02-28 08:23:13 +00:00
jag%tty.nl 4221353fba Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 08:50:33 +00:00
dwitte%stanford.edu 7fd89a26dc tweaking debug warning to reduce noise. 2008-01-12 00:38:38 +00:00
dwitte%stanford.edu b2c2d3877d move permission manager persistent storage from hostperm.1 to permissions.sqlite, use nsIURI::GetAsciiHost() for consistent host normalization, and
expand type/permission limits. bugs 400092 and 400097 (patch in 400097), sr=shaver, pending r=sdwilsh, blocking-1.9+.
2007-12-05 06:37:36 +00:00
sayrer%gmail.com 98a47958e3 Bug 396648. nsPermissionManager tries to open two files that usually don't exist. r/sr=biesi, a=bzbarsky 2007-09-21 05:09:54 +00:00
jwalden%mit.edu ef68fcf595 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 07:08:56 +00:00
dwitte%stanford.edu 1d9fc51567 cid and comment don't match, b=305444 2007-06-22 11:12:13 +00:00
dcamp%mozilla.com 12d2d24b25 Bug 378685 - Permission manager should operate on innermost URI, r=dveditz sr=mconnor 2007-06-21 16:32:46 +00:00
dwitte%stanford.edu c45de3c235 switch cookies over to mozStorage. b=230933, r=sdwilsh, sr=mconnor.
remove nsInt64 usage from cookies, b=384225, r+sr=biesi.
2007-06-17 21:52:22 +00:00
bent.mozilla%gmail.com 243b45e3dd Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions. 2007-05-23 20:08:55 +00:00
dwitte%stanford.edu f2930f0e2d implement CountCookiesFromHost() in cookie backend for perf reasons, and update consumers to use it.
bug 379239, r=mvl, sr=biesi
2007-05-05 21:09:54 +00:00
dbaron%dbaron.org d2a7c1e86a Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 15:35:02 +00:00
kaie%kuix.de e992f34c9e bug 370802, nsIPermissionManager: Add ability for exact hostname testing
r/sr=cbiesinger
2007-02-20 15:24:36 +00:00
cbiesinger%web.de cc4e92df8e bug 341008 Fix sscanf error checking
r=mvl sr=darin a=darin
2006-06-15 13:52:00 +00:00
benjamin%smedbergs.us 2d7a26e531 Bug 341252 - extensions/cookie and extensions/permissions both have a nsModuleFactory.cpp which causes libxul link failure, r=darin 2006-06-12 17:56:15 +00:00
benjamin%smedbergs.us 632ad9b1c6 Bug 339099 - Integrate extensions/cookie and extensions/permissions into libxul, r=darin 2006-05-25 15:45:17 +00:00
gavin%gavinsharp.com 378c0da05d Bug 334319: buffer overrun in nsPermissionManager::Read when reading an invalid cookperm.txt file, r=mvl, sr=darin 2006-04-22 13:32:25 +00:00
benjamin%smedbergs.us 185c761605 Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
cbiesinger%web.de 970728dfbc bug 333263 only call Read() when mPermissionsFile is initialized
r=mvl sr=darin
2006-04-11 15:09:51 +00:00
joshmoz%gmail.com a0c1e82e48 Don't warn when expected error path is taken. b=327052 r=darin sr=bz 2006-02-14 18:12:47 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
gavin%gavinsharp.com 56783051dc Bug 315345: Remove unused nsIPermission.idl, r+sr=darin 2005-12-26 01:20:59 +00:00
roc+%cs.cmu.edu 14d4d88d51 Bug 315345. nsIPermission should be in network/base/public for now, alongside nsIPermissionManager. r+sr=darin 2005-12-06 01:32:59 +00:00
mvl%exedo.nl 41ac1fbfb9 Don't crash when setting a previously deleted cookie permission.
bug 300301, r=dwitte, sr=darin, a=mconnor.
2005-07-17 10:10:31 +00:00
timeless%mozdev.org ac8d308731 Bug 298278 remove useless references to nsVoidArray
r=mvl sr=darin a=tor
2005-06-28 21:20:04 +00:00
bsmedberg%covad.net 44c4cbce10 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-04 18:38:19 +00:00
dwitte%stanford.edu 38564a588f removing obsolete file. 2005-03-30 08:41:43 +00:00
mvl%exedo.nl e8954033a2 remove the old imgmanager from cookies.
bug 287628, r=dwitte, sr=bzbarsky
2005-03-29 09:52:19 +00:00
bugzilla%arlen.demon.co.uk 3189a5660b Bug 277097 Tidy up cookie js/xul/pref code (Removing js/xul from extensions/cookie) - history for pref-cookies.xul/dtd and pref-images.xul/dtd can be got from the attic (see bug for details) - removing seven files that got missed during previous prune
p=me r=dwitte/benjamin sr=darin
2005-03-10 22:42:29 +00:00
bugzilla%arlen.demon.co.uk 3d7d551c76 Bug 277097 Tidy up cookie js/xul/pref code (Removing js/xul from extensions/cookie) - history for pref-cookies.xul/dtd and pref-images.xul/dtd can be got from the attic (see bug for details) - file removal part
p=me r=dwitte/benjamin sr=darin
2005-03-10 18:59:11 +00:00
bsmedberg%covad.net eef6b7396f From bug 282057 - brand.dtd now lives in chrome://branding/locale/brand.dtd 2005-03-10 18:44:11 +00:00
bsmedberg%covad.net 4b68fa447a Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +00:00
bugzilla%arlen.demon.co.uk 94c34950ba Bug 252698 Use buttonlabel attributes in <dialog>s
p=me r=neil.parkwaycc.co.uk sr=dveditz
2005-02-21 00:57:10 +00:00
bugzilla%arlen.demon.co.uk 73ffe00550 Bug 239557 Cleanup of new Cookie UI for 1.8a
p=me/mvl r=mvl sr=neil.parkwaycc.co.uk a=asa
2005-02-13 20:48:38 +00:00
bugzilla%arlen.demon.co.uk 472a172f0e Backing out bug 239557 - forgot the sr - no more early morning checkins if I can help it 2005-02-10 13:53:59 +00:00
bugzilla%arlen.demon.co.uk 4cbcf9824a Bug 239557 Cleanup of new Cookie UI for 1.8a/b
p=me/mvl r=mvl a=asa
2005-02-10 00:45:39 +00:00
dwitte%stanford.edu 193a359a53 tidy up popup blocker code.
b=279710, r+sr=dveditz.
2005-02-06 08:25:40 +00:00
bryner%brianryner.com f5257db823 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
timeless%mozdev.org 83367c18a7 Bug 243385 Crash [@ nsPermissionManager::GetHost]
patch by db48x@yahoo.com / gautheri@noos.fr r=mvl sr=bz
2005-01-17 09:13:27 +00:00
mvl%exedo.nl 5e1a83af82 enable permissions extension. Update UI to use it. migrate old prefs.
bug 240070, r=dwitte, sr=darin
2004-12-15 18:31:23 +00:00
bryner%brianryner.com 1435145ce6 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
darin%meer.net c79cfdbf74 fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky 2004-11-15 20:16:52 +00:00
darin%meer.net 164fefa4af fixes bug 268107 "mailnews allows cookies, despite the pref" r=mvl sr=bienvenu 2004-11-08 22:15:30 +00:00
bugzilla%arlen.demon.co.uk 81a2e8aeaf Bug 260364 Fixup radiogroups to use new .value functionality of radio.xml
p=me r/sr=neil a=asa
2004-09-24 00:55:43 +00:00
pete.zha%sun.com 7487b4f372 bug 254553
Preference items in "images" is not lockable
r=neil.parkwaycc.co.uk, sr=jag
patch=brian.lu@sun.com
2004-09-09 07:11:27 +00:00
mvl%exedo.nl a3021442be Show favicons when blocking third party images.
bug 256172, r=dwitte, sr=shaver
2004-09-02 13:44:31 +00:00
dwitte%stanford.edu c79ff97c94 Bug 253597 Trunk crash blocking ads/images [@ nsImgManager::TestPermission]
p=mvl r=dwitte sr=darin
2004-08-01 22:38:10 +00:00
bzbarsky%mit.edu 4f6dfefbdd Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
dwitte%stanford.edu 6b6af1a60f make cookie & permission files non-world-readable.
b=59557, patch by Pavel Kankovsky (peak@argo.troja.mff.cuni.cz), r=dwitte, sr=bz.
2004-07-20 07:27:28 +00:00
dwitte%stanford.edu ffa45ddc5f sprinkle some asserts, and remove redundant #include. 2004-07-19 23:38:35 +00:00
dwitte%stanford.edu f3754bca20 rename nsISafeFileOutputStream to nsISafeOutputStream, and make nsBufferedOutputStream aware of it, to make life easier on consumers.
b=251648, r=biesi, sr=darin, with thanks to darin and bz for suggestions.
2004-07-19 22:00:03 +00:00
bzbarsky%mit.edu fdc41a5761 Fix image blocking for iframes. Bug 200433, r=mvl, sr=jst. 2004-07-18 19:40:44 +00:00
dwitte%stanford.edu a21bbd2099 quick fix to get cookie/permission file saving working on trunk again, while we hash out a real fix.
b=251648, r+sr=darin
2004-07-16 20:08:08 +00:00
mvl%exedo.nl ac519d8f73 init mChangedList
bug 251247, r=dwitte, sr=darin
2004-07-15 15:16:42 +00:00
dwitte%stanford.edu 4c3a6e6c55 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 27b26fdcc1 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 d1b4df4eac 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 68fdfc1c8a Bug 240947 use content instead of _content
r=neil sr=dveditz
2004-06-25 17:44:41 +00:00
mvl%exedo.nl 502e663e52 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 331acbb265 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 f0d76fa59f 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 cbef893635 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 b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
sspitzer%mozilla.org 6b67dc7e1d 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 2f908209a7 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 0cc421f07a fix a build warning. b=242588, r=mconnor, sr=darin 2004-05-05 02:06:38 +00:00
bienvenu%nventure.com 8b57f91769 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 4d3385092d Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
darin%meer.net 25d84ac621 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 1c888c7563 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 e1d055c0f2 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 1251849af6 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 cfbee01801 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 3d48b69811 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 0cba099485 Fix image blocking for backgrounds. Bug 236919, r=jst, sr=dbaron, a=chofmann 2004-03-13 18:11:01 +00:00
mvl%exedo.nl 12a783a50e 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 3e528ab467 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 3a2f576189 bug 102269: Cookie Manager: Server Secure is unclear. r=mvl, sr=alecf 2004-03-07 08:25:59 +00:00
mconnor%myrealbox.com 6af5b221e5 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 46d5f57117 *** empty log message *** 2004-03-05 01:31:43 +00:00
neil%parkwaycc.co.uk 45373fa79c 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 ef6582d6e2 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 f008ef89d7 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 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
mvl%exedo.nl 8a1cae9729 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 6570118411 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 9e6c4ace60 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 9ec4b6c21a 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 7eaa3a52b5 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 fe2e0655fe 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 df79bf5bfc 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 34cd8e8bdf 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 4ab234b8be 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 1f4ab81acd 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 f0bfff2628 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 8975ef5e70 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 50dbe55fbd 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 f35f2c3708 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 5685554e68 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 65b6daea1e mingw bustage fix. thanks stephend 2003-11-11 05:28:12 +00:00
dwitte%stanford.edu 294415c97e 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 af01fc59cd 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 eb3411a0d9 Put back a line that shouldn't have been removed for bug 161130 2003-11-06 20:21:05 +00:00
dwitte%stanford.edu 01b63087d7 removing obsolete directory. 2003-11-01 23:52:45 +00:00
mvl%exedo.nl f7afe4b667 Put back a line that shouldn't have been removed for bug 161130 2003-10-31 19:40:52 +00:00
mvl%exedo.nl 2dfd618692 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 b7f2700571 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 b3b0822932 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 6df98e20b4 add accesskeys for the cookie confirmation dialog.
b=201743, r=neil, sr=alecf
2003-10-30 17:26:44 +00:00
dwitte%stanford.edu 2758eac60c bustage blah bustage. thanks dbaron. 2003-10-30 03:42:52 +00:00
dwitte%stanford.edu d09ee25621 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 0859a8bdf4 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 48e1ec0204 remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin
2003-10-30 02:59:31 +00:00
timeless%mozdev.org f0795ea23f Bug 223199 hostList leaks on OOM in nsPermissionManager::GetEnumerator
r=dwitte sr=roc
2003-10-30 02:09:13 +00:00
dwitte%stanford.edu 7b125ba0e6 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 a0e219b348 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 b27d9cbeea 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 07e3c65080 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 0de430b20c 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 9ae913314e 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 4454a3dd30 fixing build bustage 2003-10-11 22:13:05 +00:00
darin%meer.net 1d86827f21 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 14df467176 whoops. these weren't meant to go in. ;) 2003-10-11 00:12:33 +00:00
dwitte%stanford.edu b87603207c 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 fd825778c0 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 f642391e56 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 f74c9cc294 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 5474be3783 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 296ff36e59 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 f96e681315 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 8aa7b563d2 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 f1bbcf8643 Fix typos 2003-09-11 17:02:32 +00:00
mvl%exedo.nl 1e3f86ddb4 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 352e645b90 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 cbcf47ad10 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 d9cd35ef63 Bug 217636, fix cookperm.txt indexes. r=dwitte, sr=darin, a=asa 2003-08-29 17:13:40 +00:00
darin%meer.net 52214cbf96 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 b6208f06a9 bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa 2003-08-11 11:31:24 +00:00
darin%meer.net 6fc6fdaa27 removing nsCookieHttpNotify.{h,cpp} now that they are unused and empty, b=210561. 2003-08-05 02:16:36 +00:00
darin%meer.net f249b8d22f 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 6a0481b03e Spelling corrections that should've landed with the original patch for bug 184059 2003-08-02 18:17:55 +00:00
darin%meer.net f68976d86f 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 95256ce645 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:35:53 +00:00
bzbarsky%mit.edu 76799ff743 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 f008bc2bad 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 bf82a649b9 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 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
dwitte%stanford.edu 6e4c26ccb3 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 dcfa3ae7f2 MSVC++ uses old-school variable scoping with |for| loop initializers. fixes win32 bustage. 2003-07-09 01:29:51 +00:00
dwitte%stanford.edu 79a057d46a 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 ff755a2797 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 3993590f88 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 98ada63a79 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
dwitte%stanford.edu 7c35b83fd4 removing some unused default ctors now that nsDerivedSafe can handle it.
no bug, r+sr=bz
2003-06-20 02:20:34 +00:00
bzbarsky%mit.edu bc4b37bd71 Fix tail matching algorithm. Bug 209902, patch by mvl@exedo.nl (Michiel van
Leeuwen), r=dwite, sr=bzbarsky.
2003-06-19 22:35:08 +00:00
dwitte%stanford.edu eafaae2b9f 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
2003-06-18 00:52:59 +00:00
dwitte%stanford.edu c3600c1ce8 removing nsCookies.{h,cpp} and nsCookieManager.{h,cpp}. to find old blame info and logs for those files, look in attic.
cookie rewrite part 3, b=200632, r=alecf, sr=darin.
2003-06-14 22:33:50 +00:00
dwitte%stanford.edu d59e379438 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.
2003-06-14 20:10:55 +00:00
caillon%returnzero.com ba75de772b Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com 6934dc37a9 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
shliang%netscape.com edb10709d3 208357 - image manager menuitem needs to be removed for ns builds on mac osx. r=sgehani, sr=jag 2003-06-05 03:49:48 +00:00
kairo%kairo.at 108ef75354 bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
dwitte%stanford.edu 4ed9914967 oops, missed a file in previous checkin 2003-05-22 20:43:56 +00:00
dwitte%stanford.edu 1e2667d459 Bug 206022: [cookies] parser doesn't allow spaces in NAME token.
makes the cookie parser tolerant of spaces in the token name strings, which some sites rely on.

r=mvl, sr=alecf, a=asa.
2003-05-22 20:41:17 +00:00
dwitte%stanford.edu d31b372b38 Bug 206356: cookies refused by default if you just close dialog.
makes the "do you want to accept this cookie?" dialog more user-friendly, by not touching the permission list if you dismiss the dialog without clicking a button.

patch by mvl, r=neil, sr=jag, a=asa.
2003-05-22 00:37:48 +00:00
dwitte%stanford.edu 806bce6100 Bug 204623: setting src attribute on img element created in a doc with no window crashes.
fixes up some queryinterface fu to not suck.

r=mvl, sr=peterv, a=asa.
2003-05-08 01:55:37 +00:00
darin%netscape.com a7a9655ce4 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer
2003-05-05 21:27:02 +00:00
dwitte%stanford.edu 9597ea7d9b Bug 202313: Lifetime = 0 makes cookies disappear and reappear w/ multiple refreshes.
polishes cookie expiry behavior and cleans up a little expiry code.

r=mvl, sr=darin, a=sspitzer.
2003-05-02 20:43:43 +00:00
sspitzer%netscape.com e25465caa9 fix for regression bug #203629
Attached images don't display inline if "Do not load remote images..." is turned on
caused by my fix for bug #51631.
r/sr=bienvenu, a=sspitzer
2003-04-30 06:28:16 +00:00
sspitzer%netscape.com 474289abee fix for security bug #51631
prevent auth UI from coming up from inside messages
sr=darin, r=bienvenu, a=sspitzer
2003-04-25 23:29:17 +00:00
dwitte%stanford.edu 6ae1267bab Bug 203324: [cookies] backport phase 3 fixes to trunk.
patch by me. r=alecf, sr=darin, a=asa.

my first checkin! yay!
2003-04-25 23:20:04 +00:00
timeless%mozdev.org ac97252db6 Bug 200697 - Make nsPermissionManager use hashtables, decrease memory used
patch by dwitte@stanford.edu r=bsmedberg@covad.net sr=alecf a=asa
2003-04-25 20:13:05 +00:00
timeless%mozdev.org eb9f0acb11 Bug 201865 Images added by script not subject to blocking
patch by mvl@exedo.nl r=dwitte sr=bz a=asa
2003-04-25 20:03:40 +00:00
bsmedberg%covad.net 85dedad033 Bug 201034 non-const enumeration in nsBaseHashtable, add
nsTHashtable::RawRemove. Add a hashtable test-suite, and
clean up some codesize issues. Also fixes bug 203030 and
hopefully SunOS build bustage. r=jkeiser sr=alecf a=asa
2003-04-24 01:54:57 +00:00
mkaply%us.ibm.com 6e43d449b9 OS/2 bustage - I know there are other compilers that have trouble with inline in the header without a defintion 2003-04-23 04:39:34 +00:00
dmose%mozilla.org ffce6354ee Speed up nsPermissionManager by using hashtables; decrease footprint by not using an array of permission_TypeStructs (bug 200697). Thanks to Michiel van Leeuwen <mvl@exedo.nl> for the patch. r=dwitte@stanford.edu; sr=alecf@flett.org 2003-04-22 23:33:31 +00:00
cbiesinger%web.de 647a324089 followup to 202517 patch by dwitte@stanford.edu r=biesi remove some unused code from TestCookie.cpp and remove now-unneeded dependency on intl; affects TestCookie only 2003-04-19 12:51:44 +00:00
danm%netscape.com 621aa81c2b there was an extra \r in the last checkin that was killing my build 2003-04-18 18:34:55 +00:00
cbiesinger%web.de 4367078074 202517 patch by dwitte@stanford.edu r+sr=darin [cookies] new testsuite 2003-04-18 17:37:49 +00:00
kairo%kairo.at 0978e17a8a bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
timeless%mozdev.org 7bcf9b66e7 Bug 201864 Context menu always has unblock image when image in permission list
patch by mvl@exedo.nl r=dwitte sr=bz
2003-04-15 14:26:28 +00:00
neil%parkwaycc.co.uk e6260709ac Bug 199709 Messages load remote images ignoring preference p=mvl@exedo.nl r=dwitte@standford.edu sr=peterv 2003-04-07 10:15:21 +00:00