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

40 Коммитов

Автор SHA1 Сообщение Дата
Rafael Ávila de Espíndola 60cb29c91b Bug 711447 - Close connection in nsPermissionManager. r=dwitte.
--HG--
extra : rebase_source : 0df435f943142b7a09de36fdb03e01114ef20f15
2011-12-21 17:04:49 -05:00
Ehsan Akhgari 1deb9f1504 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 ac54b41b01 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
Benjamin Stover 3577d0de2d Bug 674615 Remove nsPermissionManager's GetSingleton r=dwitte 2011-08-30 10:45:09 -07:00
Benjamin Smedberg 46b695e56b Bug 666748 - Optionally support a pool of content processes instead of a single one. r=jdm The followup patch for 669640 must land together with this one. 2011-08-02 15:35:42 -04:00
Matheus Kerschbaum 08c43219e7 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Dan Witte 8cefcc8c58 Bug 605908 - test_parent.js leaks objects. Part 1: nsPermissionManager leak. r=jdm, a=sdwilsh 2010-10-21 11:36:14 -07:00
Alon Zakai 0d542df678 Bug 599428 - Optimize permissions IPC. r=dwitte a=blocking-fennec 2010-10-09 11:07:38 -07:00
Sid Stamm d090e3f85e Bug 519263 - Session and time-based expiration for permissions in permissions manager. r=dwitte,
sr=mrbkap. First patch! Yay!!
2009-10-16 14:01:04 -07:00
Ehsan Akhgari a36143e669 Bug 488811 - nsIPermissionManager.removeAll() should delete DB and re-init rather than just bailing; r=dwitte sr=bzbarsky 2009-04-18 10:12:09 +03:30
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
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
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
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
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
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
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
gerv%gerv.net 4d3385092d Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +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
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 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
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
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
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
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
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 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
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
bzbarsky%mit.edu 6af28cca89 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
morse%netscape.com 6ea1d428ef bug 47437, nscookie.cpp is duplicationg URL parsing logic, c=andreas.otte, r=morse, sr=alecf 2001-10-19 02:28:06 +00:00
morse%netscape.com 1b92bfbfe2 backing out fix for bug 47437 due to memory leak 2001-10-11 00:40:07 +00:00
morse%netscape.com 3114822817 bug 47437, nsCookie.cpp is duplicating URL parsing logic, c=andreas.otte, r=morse, sr=alecf 2001-10-10 23:16:03 +00:00
gerv%gerv.net 8edf26bcee License changes, take 2. Bug 98089. mozilla/extensions/. 2001-09-25 23:31:24 +00:00
gerv%gerv.net 2a80f3fea9 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 63e86dc84f bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
morse%netscape.com 4ac856f988 bug 46783, reorg cookies module for embedding, r=valeski, sr=alecf 2001-03-29 02:11:48 +00:00