Mounir Lamouri
0912706617
Bug 724878 - Make nsPermissionManager DB access (except init) async. r=jlebar
2012-09-08 15:48:20 +02:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Mounir Lamouri
2d431e023d
Bug 786296 - Remove permissions when an app is uninstalled. r=jlebar,fabrice
2012-08-31 11:34:28 -03:00
Mounir Lamouri
a263ac2cb9
Bug 777072 - 6/7 Update the Permission Manager database to save appId/isInBrowserElement. r=sicking
2012-08-23 11:38:26 -07:00
Mounir Lamouri
a2e5fe652d
Bug 777072 - 4/7 - Update nsPermission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:37:31 -07:00
Mounir Lamouri
13f8b46e72
Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar
2012-08-23 11:47:55 -07:00
Mounir Lamouri
25c6e98012
Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking
2012-08-25 09:53:48 -07:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Rajchenbach-Teller
642ec0956f
Bug 702344 - Async requests for nsPermissionManager::RemoveAll();r=mak
2012-04-30 18:21:50 +02:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Rafael Ávila de Espíndola
df24103177
Bug 711447 - Close connection in nsPermissionManager. r=dwitte.
...
--HG--
extra : rebase_source : 0df435f943142b7a09de36fdb03e01114ef20f15
2011-12-21 17:04:49 -05:00
Ehsan Akhgari
92064e6d3f
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
d2b70213ac
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
5f522bf736
Bug 674615 Remove nsPermissionManager's GetSingleton r=dwitte
2011-08-30 10:45:09 -07:00
Benjamin Smedberg
3ad781c193
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
4eb6429f47
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Dan Witte
a6e5900b55
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
984b79bca9
Bug 599428 - Optimize permissions IPC. r=dwitte a=blocking-fennec
2010-10-09 11:07:38 -07:00
Sid Stamm
0e1cce64fa
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
63383cd735
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
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
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
dbaron@dbaron.org
e7bb1b1c38
Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg
2007-03-27 08:34:59 -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
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
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
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
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
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
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
6fd2b6cf13
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
d1f638b36f
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
42e1d7aade
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
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
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
morse%netscape.com
f49e54f0fc
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
6d80e066db
backing out fix for bug 47437 due to memory leak
2001-10-11 00:40:07 +00:00
morse%netscape.com
4de4cff5b4
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
05abd17648
License changes, take 2. Bug 98089. mozilla/extensions/.
2001-09-25 23:31:24 +00:00
gerv%gerv.net
1856815ff1
Oops.
2001-09-20 00:02:59 +00:00
scc%mozilla.org
102170b2a0
bug #98089 : ripped new license
2001-09-19 20:09:47 +00:00
morse%netscape.com
d8762db686
bug 46783, reorg cookies module for embedding, r=valeski, sr=alecf
2001-03-29 02:11:48 +00:00