Commit Graph

97 Commits

Author SHA1 Message Date
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2b55dddfca Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar 2012-05-18 13:30:49 -04:00
Rafael Ávila de Espíndola
a428da2e9d Bug 711447 - Close connection in nsPermissionManager. r=dwitte. 2011-12-21 17:04:49 -05:00
Rafael Ávila de Espíndola
7e7b94138b Bug 688913 - Finalize statements in extensions/cookie and toolkit/components/contentprefs. r=mak. 2011-10-28 10:55:20 -04:00
Ehsan Akhgari
478ad1a412 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
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Benjamin Stover
9f9f7893d1 Bug 674615 Remove nsPermissionManager's GetSingleton r=dwitte 2011-08-30 10:45:09 -07:00
Benjamin Smedberg
43be2caeca 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
Josh Matthews
8652866ce6 Bug 621367 - nsPermissionManager doesn't allow enumerator access in content processes (r=dwitte) 2011-07-13 18:03:44 +02:00
Matheus Kerschbaum
9014e25ac7 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Shawn Wilsher
68de70d0dd Bug 645099 - Stop using [deprecated] Storage methods in the permission manager
r=bz
2011-03-31 10:19:31 -07:00
Kyle Huey
d8f8921188 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
c31f9241b1 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Josh Matthews
82d8c722d1 Bug 619559 - Make permission manager notify observers in content processes. r=dwitte a=jst 2010-12-25 02:31:01 -05:00
Josh Matthews
f4d701e2ae Bug 618716 - Fix warnings in nsPermissionManager.cpp r=dwitte a=jst 2010-12-12 14:36:00 -05:00
Chris Jones
63fd9b5ade Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Dan Witte
a8f9d3ec1d 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
ebe319a98f Add missing MOZ_IPC ifdef in e14e2cc7d786 a=bustage-fix 2010-10-09 20:07:57 -07:00
Alon Zakai
f21a24aa12 Bug 599428 - Optimize permissions IPC. r=dwitte a=blocking-fennec 2010-10-09 11:07:38 -07:00
Jonas Sicking
43d6d6aa65 Fix missing comments from patch for bug 546857 2010-08-21 18:48:01 +02:00
Bobby Holley
68a035b76c Backout of changesets c866e73f3209 and baff7b7b32bc because of sicking's push-and-run bustage. a=backout 2010-08-20 23:42:24 -04:00
Jonas Sicking
b3b9fbbd9d Fix missing comments from patch for bug 546857 2010-08-20 17:50:35 -07:00
Jonas Sicking
3152f9cdae Bug 546857 Part 2: Allow permissions to be set on files. r=dwitte a=blocker 2010-08-19 16:06:07 -07:00
Josh Matthews
572157ce14 Bug 580450 - Clean up IPC::URI. r=dwitte 2010-07-26 15:59:34 -04:00
Chris Jones
131910888d Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg 2010-07-19 13:33:33 -05:00
Alon Zakai
4de18deeb0 Bug 564535 - permission manager needs to be remoted [r=dwitte] 2010-07-15 10:04:25 -04:00
Dan Witte
906680f46c test failure fix. 2009-10-16 16:16:31 -07:00
Sid Stamm
166892e2ef 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
8f99187bed 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
Fred Jendrzejewski
cbc6639bab Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg 2009-01-22 17:15:34 +13:00
Arpad Borsos
1b55360c07 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
bb1b4cd947 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
559f932741 tweaking debug warning to reduce noise. 2008-01-11 16:38:38 -08:00
bf2a5a88f4 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
771840c630 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
98de634631 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
07b86286dd Bug 378685 - Permission manager should operate on innermost URI, r=dveditz sr=mconnor 2007-06-21 09:32:46 -07:00
kaie@kuix.de
bacb927038 bug 370802, nsIPermissionManager: Add ability for exact hostname testing
r/sr=cbiesinger
2007-02-20 15:24:36 +00:00
cbiesinger@web.de
8da23a9662 bug 341008 Fix sscanf error checking
r=mvl sr=darin a=darin
2006-06-15 13:52:00 +00:00
gavin@gavinsharp.com
42bee9d98c 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
f2a470e406 bug 333263 only call Read() when mPermissionsFile is initialized
r=mvl sr=darin
2006-04-11 15:09:51 +00:00
joshmoz@gmail.com
4a7167b386 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
6ed74b6cc0 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
3a12b79109 Bug 298278 remove useless references to nsVoidArray
r=mvl sr=darin a=tor
2005-06-28 21:20:04 +00:00
timeless@mozdev.org
a864ccc9e5 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
fd1f17681f 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
334fb77ba4 sprinkle some asserts, and remove redundant #include. 2004-07-19 23:38:35 +00:00
dwitte@stanford.edu
8eb0d364ad 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
286ee81796 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
7e95d34381 init mChangedList
bug 251247, r=dwitte, sr=darin
2004-07-15 15:16:42 +00:00