Michael Layzell
5c33a0fc25
Bug 1185239 - Feature-check for the Places API in nsPermissionManager migration code; r=ehsan
2015-07-18 17:05:12 -04:00
Ehsan Akhgari
7375e4704f
Bug 1184397 - Release the observer service when the permission manager shuts down; r=jdm
2015-07-17 15:57:26 -04:00
Wes Kocher
6df0f80ade
Backed out changeset 7b3074ad5644 (bug 1184397) to hopefully fix the xpcshell bustage
2015-07-16 16:35:08 -07:00
Michael Layzell
f40432fd55
Bug 1165263 - Part 1: Update nsPermissionManager to use origins instead of hosts internally, r=ehsan
2015-07-16 14:49:51 -04:00
Michael Layzell
b37c6f3af8
Bug 817007 - Part 1: Remove <file> hack from the permission manager, r=ehsan
2015-07-16 14:49:46 -04:00
Michael Layzell
e07a3135f8
Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan
2015-07-16 14:49:22 -04:00
Ehsan Akhgari
cf2806a874
Bug 1184397 - Release the observer service when the permission manager shuts down; r=jdm
2015-07-16 13:39:28 -04:00
Birunthan Mohanathas
04f8a327e9
Bug 1182408 - Part 2: Use nsTHashTable::Iterator in nsPermissionManager. r=ehsan
2015-07-15 12:58:08 -07:00
Birunthan Mohanathas
8ec2f2fb52
Bug 1182408 - Part 1: Move permission key checks out of loop. r=ehsan
2015-07-14 10:53:12 -07:00
Wes Kocher
c06754ff70
Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
...
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell
9a5f8e2251
Bug 1165263 - Part 1: Update nsPermissionManager to use origins instead of hosts internally, r=ehsan
2015-07-14 15:06:33 -04:00
Michael Layzell
fd3dd64b3e
Bug 817007 - Part 1: Remove <file> hack from the permission manager, r=ehsan
2015-07-14 15:06:31 -04:00
Michael Layzell
f0295dbe10
Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan
2015-07-14 15:06:15 -04:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Michael Layzell
c4acdc3d6e
Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan
2015-07-03 17:12:17 -04:00
Ehsan Akhgari
7015e19689
Backout bug 1170200 because of test failures on a CLOSED TREE
2015-07-03 16:43:47 -04:00
Michael Layzell
7731d369a1
Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan
2015-07-03 14:17:11 -04:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Mike Perry
fbe9708a52
Bug 967812 - Pref to make Permissions Manager memory-only. r=ehsan
...
This patch exposes a pref 'permissions.memory_only' that isolates the
permissions manager to memory, preventing it from writing to disk.
2015-06-11 11:00:00 -04:00
Rex Hung
8d015590e5
Bug 1124126 - Retry database connection for the case of corrupted permissions.sqlite. r=bsmedberg
2015-05-20 23:09:00 -04:00
Bobby Holley
ee6d021a95
Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
...
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Jed Davis
3d3af2cf58
Bug 1157950 - Don't opt in to permission DB corruption and data loss. r=ehsan
2015-04-24 14:28:00 -04:00
Neil Rashbrook
3ac6e8ce7a
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-16 09:07:10 +01:00
Bobby Holley
5c221df190
Bug 1164292 - Switch nsIPrincipal::origin to ACString. r=gabor
2015-05-15 11:51:51 -07:00
Wes Kocher
aae9c961fe
Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds
2015-05-14 16:35:18 -07:00
Neil Rashbrook
8d294091b1
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-15 00:00:33 +01:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Chih-Kai (Patrick) Wang
6d4af83b3a
Bug 1129315 - require app processes update permissions after forked from nuwa. r=jdm
2015-03-12 16:53:22 +08:00
Christoph Kerschbaumer
53d0e29ca5
Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in extensions/ (r=ehsan)
2015-02-17 10:09:16 -08:00
Magnus Melin
d40bd61535
Bug 1073095 - nsPermissionManager.cpp references a browser path by default in kDefaultsUrlPrefName. Make the permissions.manager.defaultsUrl pref overridable. r=benjamin
2015-02-13 23:32:41 +02:00
Ehsan Akhgari
26e77687fe
Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg
2015-01-12 23:26:30 -05:00
Wes Kocher
7a32cf03e9
Backout c034dba7a417
2015-01-12 14:46:48 -08:00
Ehsan Akhgari
508aa7ab75
Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg
2015-01-12 16:35:06 -05:00
Ehsan Akhgari
3029959e61
Bug 1116542 - Remove the code to handle shutdown-cleanse from the permission manager; r=jdm
...
shutdown-cleanse has not been a thing for quite a while.
2014-12-31 09:31:28 -05:00
Fernando Jiménez
592866c448
Bug 1068635 - [Loop] Not remembering + allow access to the contact list, 2nd time Loop is started -> Crash!. r=baku, sicking
2014-10-17 15:47:35 +02:00
Mark Hammond
2107af2477
Bug 1058433 - nsPermissionManager now records the mod-time of a permission and allows removal of ones modified since a specified time. r=ehsan
2014-09-15 11:33:12 +10:00
Mark Hammond
33a8ab2c50
Bug 506446 - nsPermissionManager now reads a file with default permissions. r=bsmedberg
2014-09-12 13:24:10 +10:00
Ehsan Akhgari
81325f71a2
Bug 1060994 - Fix more bad implicit constructors in permission checker; r=bsmedberg
2014-09-02 18:20:38 -04:00
Benoit Jacob
d0de31a97f
Bug 1028588 - Fix dangerous public destructors in extensions/ - r=ehsan
2014-06-23 18:40:02 -04:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Gabor Krizsanits
2def9dd7e2
Bug 980023 - Localstorage access with nsEp. r=bholley
2014-03-11 08:41:55 +01:00
Magnus Melin
dc5ac15933
Bug 457296 - allow content manager to removing mail address permissions. r=josh
2014-01-25 21:00:10 +02:00
Ryan VanderMeulen
291f9086d1
Backed out changeset fa9b60c88118 (bug 457296) for bustage on a CLOSED TREE.
2014-02-05 15:32:15 -05:00
Magnus Melin
10f6e3b2fd
Bug 457296 - allow content manager to removing mail address permissions. r=josh
2014-02-05 21:49:00 +02:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Bobby Holley
440e4a743d
Bug 946815 - Handle nsIExpandedPrincipal instances in the permission manager API. r=baku
2013-12-17 18:01:41 -08:00
Bobby Holley
525b9fcbdb
Bug 946815 - Hoist system-principal checks into CommonTestPermission. r=baku
2013-12-17 18:01:41 -08:00