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

67 Коммитов

Автор SHA1 Сообщение Дата
Arpad Borsos c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
dwitte@stanford.edu cd7f7e893e Bug 416207 - Update cookie/permission services from changes to mozIStorageService::OpenDatabase. r=sdwilsh, sr=mconnor, a=beltzner 2008-02-28 00:23:12 -08:00
dwitte@stanford.edu 8eb96a90ea tweaking debug warning to reduce noise. 2008-01-11 16:38:38 -08:00
dwitte@stanford.edu bd5df04b78 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 2efc644b24 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 6d7584839a 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
dcamp@mozilla.com 1b552952ed Bug 378685 - Permission manager should operate on innermost URI, r=dveditz sr=mconnor 2007-06-21 09:32:46 -07:00
kaie%kuix.de 16051c655c bug 370802, nsIPermissionManager: Add ability for exact hostname testing
r/sr=cbiesinger
2007-02-20 15:24:36 +00:00
cbiesinger%web.de 5b2acd0545 bug 341008 Fix sscanf error checking
r=mvl sr=darin a=darin
2006-06-15 13:52:00 +00:00
gavin%gavinsharp.com 25e3210412 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
cbiesinger%web.de 55f9f3d9c7 bug 333263 only call Read() when mPermissionsFile is initialized
r=mvl sr=darin
2006-04-11 15:09:51 +00:00
joshmoz%gmail.com d5218ccc10 Don't warn when expected error path is taken. b=327052 r=darin sr=bz 2006-02-14 18:12:47 +00:00
mvl%exedo.nl 660a01e085 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 2313cf8ce8 Bug 298278 remove useless references to nsVoidArray
r=mvl sr=darin a=tor
2005-06-28 21:20:04 +00:00
timeless%mozdev.org 0310217f8d 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
dwitte%stanford.edu dee773b6e5 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 bdf2a2307d sprinkle some asserts, and remove redundant #include. 2004-07-19 23:38:35 +00:00
dwitte%stanford.edu e338583f48 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
dwitte%stanford.edu bd8bee85d7 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 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
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
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
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +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
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
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 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
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
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
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 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
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
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
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
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
timeless%mozdev.org e68310fe9e 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
dmose%mozilla.org e1e383cfa8 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 3544502fde 176950 patch by dwitte@stanford.edu r=darin sr=jag cookie permissions site blocking does not appy to fully qualified node names from within the site. 2003-04-04 13:20:37 +00:00
timeless%mozdev.org 17be30a1b5 Bug 199216 adding domain.com to whitelist doesn't allow popups from *.domain.com to appear
patch by mvl@exedo.nl r=dwitte sr=jag
2003-03-26 00:46:32 +00:00
cbiesinger%web.de 21e3138776 198829 patch by mvl@exedo.nl r=dwitte@stanford.edu sr=dmose Blocking cookies does not remain persistent 2003-03-23 22:35:02 +00:00
bzbarsky%mit.edu a7d8e133da 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.
2003-03-22 01:24:51 +00:00
dbaron%dbaron.org 5aadb9d382 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 20:32:55 +00:00