Commit Graph

196 Commits

Author SHA1 Message Date
Nathan Froyd
9c5965b035 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Stephanie Ouillon
b3ec083c01 Bug 1201626 - Remove reference to kind attribute to calls to isExplicitInPermissionsTable(). r=fabrice 2015-10-12 14:20:00 +02:00
Carsten "Tomcat" Book
9f1c0bf17d Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
9eaa0d1abc Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
53a85861c1 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Kit Cambridge
25c133e1db Bug 1192458, Part 1 - Consolidate push and desktop notification permissions. r=nsm,wchen,MattN 2015-10-05 16:39:34 -07:00
Stephanie Ouillon
08bc7dd59d Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages r=bholley,fabrice,valentin 2015-08-26 13:12:13 +02:00
Carsten "Tomcat" Book
b1cd9dd952 Backed out 1 changesets (bug 1178533) for xpcshell-1 test failures
Backed out changeset b12584fad334 (bug 1178533)
2015-09-24 08:41:04 +02:00
Stephanie Ouillon
abc1fda863 Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin 2015-09-23 07:41:00 +02:00
Carsten "Tomcat" Book
4ef0e31ba4 Backed out 1 changesets (bug 1178533) for s4 testfailures
Backed out changeset 8bbdb80f67e0 (bug 1178533)
2015-09-23 10:17:54 +02:00
Chris Peterson
b06d7f99a7 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Stephanie Ouillon
cd5fc60d9b Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin 2015-09-22 11:55:00 +02:00
Josh Matthews
5167237c7b Bug 885982 - Part 1: Convert TCPSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz 2015-03-25 10:35:59 -04:00
Shu-yu Guo
d8faa01cea Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Yoshi Huang
98f6ea7f6c Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bobby Holley
28a3efa072 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang
25acbe867f Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Birunthan Mohanathas
12036841a0 Bug 1105827 - Add test for invalid query. r=me 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
e1e7f1d119 Bug 1105827 - Part 11: Use nsRefPtr to store PermissionStatus. r=baku 2015-07-31 14:56:59 -07:00
Birunthan Mohanathas
c05106a48e Bug 1105827 - Part 10: Fire change event for PermissionStatus objects. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
834ef2be26 Bug 1105827 - Part 9: Add PermissionObserver to watch for perm-changed notifications. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
b5dbe560e8 Bug 1105827 - Part 8: Move permission checking into PermissionStatus. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
c1fe2fd70c Bug 1105827 - Part 7: Add helpers to convert between PermissionName and permission type. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
29c548466f Bug 1105827 - Part 6: Add PermissionUtils.h for helper functions. r=baku 2015-08-21 19:53:29 -07:00
Birunthan Mohanathas
2e5235d319 Backed out changeset 1e13c9c09273 (bug 1105827)
CLOSED TREE
2015-08-11 10:04:36 -07:00
Birunthan Mohanathas
c3262c7dc5 Backed out changeset 92d2843b5938 (bug 1105827) 2015-08-11 10:04:35 -07:00
Birunthan Mohanathas
df62df895c Backed out changeset fc34b9b8e874 (bug 1105827) 2015-08-11 10:04:35 -07:00
Birunthan Mohanathas
f1ce3ddde7 Backed out changeset 7ee1772ffc10 (bug 1105827) 2015-08-11 10:04:35 -07:00
Birunthan Mohanathas
e95b5befb0 Backed out changeset b78a97800675 (bug 1105827) 2015-08-11 10:04:35 -07:00
Birunthan Mohanathas
6c954d9571 Bug 1105827 - Part 10: Fire change event for PermissionStatus objects. r=baku 2015-07-31 15:57:02 -07:00
Birunthan Mohanathas
de9f7bfbaf Bug 1105827 - Part 9: Add PermissionObserver to watch for perm-changed notifications. r=baku 2015-07-31 15:53:46 -07:00
Birunthan Mohanathas
fee7b4c5f0 Bug 1105827 - Part 8: Move permission checking into PermissionStatus. r=baku
This is in prepartion of a subsequent change where we will update the state
within PermissionStatus.
2015-07-31 15:53:10 -07:00
Birunthan Mohanathas
bda42e3a3c Bug 1105827 - Part 7: Add helpers to convert between PermissionName and permission type. r=baku 2015-07-31 15:49:59 -07:00
Birunthan Mohanathas
b095d04de7 Bug 1105827 - Part 6: Add PermissionUtils.h for helper functions. r=baku 2015-07-31 15:49:55 -07:00
Birunthan Mohanathas
6ef75db2f7 Bug 1105827 - Part 5: Add test for Permissions.query. r=baku 2015-07-28 06:33:46 -07:00
Birunthan Mohanathas
b435a41858 Bug 1105827 - Part 3: Implement Permissions.query. r=baku 2015-07-28 06:33:46 -07:00
Birunthan Mohanathas
20b9517e27 Bug 1105827 - Part 2: Add stub Permissions implementation. r=baku 2015-07-28 06:33:46 -07:00
Birunthan Mohanathas
89209dc5c7 Bug 1105827 - Part 1: Add stub PermissionStatus implementation. r=baku 2015-07-28 06:33:46 -07:00
Neil Deakin
dd30a1f3eb Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
Hsin-Yi Tsai
718e6ac25d Bug 1121850 - Add [AvailableIn=CertifiedApps] and [CheckPermissions=cellbroadcast] to Cellbroadcast interfaces. r=smaug 2015-01-29 15:49:40 +08:00
Hsin-Yi Tsai
f543876699 Bug 1121853 - Add [AvailableIn=CertifiedApps] and [CheckPermissions=voicemail] to Voicemail interfaces. r=smaug 2015-01-29 15:32:33 +08:00
Hsin-Yi Tsai
0208035f86 Bug 1116670 - Add [AvailableIn=CertifiedApps] and [CheckPermissions=sms] to MozMobileMessageManager.webidl. r=smaug 2015-01-05 18:34:31 +08:00
Markus Nilsson
582d543ca6 Bug 1084505 - Fix explicit permission lookup for trusted hosted apps r=fabrice 2015-01-31 11:10:50 -08:00
Jan Varga
c16c534391 Bug 1123637 - Remove all code relevant to quota prompts; r=bent,ehsan 2015-01-22 09:40:42 +01:00
Phil Ringnalda
823e1db1a5 Back out 3 changesets (bug 885982, bug 1118063) for b2g mochitest-6 bustage
CLOSED TREE

Backed out changeset 865e7bc208df (bug 885982)
Backed out changeset 9ede577f5ada (bug 885982)
Backed out changeset 6ccc86f7429e (bug 1118063)

--HG--
rename : dom/network/interfaces/nsITCPServerSocketInternal.idl => dom/network/interfaces/nsIDOMTCPServerSocket.idl
2015-01-17 13:26:10 -08:00
Josh Matthews
994d86067c Bug 885982 - Convert MozTCPSocket to WebIDL. r=baku 2013-06-24 16:50:00 -04:00
Shih-Chiang Chien
7bbad82370 Bug 1080474 - Part 2 - expose device information via PresentationDeviceInfoManager API. r=khuey r=fabrice. 2014-11-14 13:55:24 -08:00
Jan Varga
bcb1bd0f3c Bug 1083927 - IndexedDB: Subdomain Quota Management; r=bent,ehsan
--HG--
rename : dom/indexedDB/test/unit/bug1056939.zip => dom/indexedDB/test/unit/bug1056939_profile.zip
2014-11-28 09:44:12 +01:00
Ryan VanderMeulen
868b7dd117 Bug 1093079 - Disable test_bluetooth.html for frequent timeouts resulting from being moved from the beginning of one chunk to the end of another.
--HG--
extra : rebase_source : e14bfbcac8522233c51b9f3cd55f367e5d968c0b
2014-11-03 17:09:16 -05:00