Eric Rahm
d419d4fef3
Bug 1389598 - Part 3: Remove gonk references from dom/ r=bkelly
2017-08-11 17:42:11 -07:00
Bevis Tseng
59627df038
Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
2017-07-27 02:18:20 +08:00
Boris Zbarsky
a99f28770d
Bug 1335368 part 16. Remove the use of IsCallerChrome in GetUserMedia. r=jib
2017-02-01 15:43:38 -05:00
Munro Mengjue Chiang
8aab42b324
Bug 1330350 - add holding mechanism to fix faulty device counter; r=jib
...
MozReview-Commit-ID: CIUucjaglK1
2017-01-27 00:08:06 +08:00
Munro Mengjue Chiang
6eb46da08f
Bug 1317670 - call MediaManager::RemoveDeviceChangeCallback() in MediaDevices dtor; r=jib
...
MozReview-Commit-ID: 1G3tA2xWajZ
2016-11-21 14:59:51 +08:00
Munro Mengjue Chiang
760b47dfa4
Bug 1286429 - implement mediaDevices.ondevicechange for Mac OSX; r=jib,smaug
...
MozReview-Commit-ID: D1Jr6I4qPyr
2016-08-12 01:04:49 +08:00
Andreas Pehrson
397568bc55
Bug 1208371 - Do not require DOMLocalMediaStream for gUM (audioCapture). r=jib
...
MozReview-Commit-ID: K5rMQSZ11HF
2016-01-05 10:16:31 +08:00
Gerald Squelart
7995b45e43
Bug 1248308 - Fix dom/media non-unified build errors - r=jya
2016-02-17 08:55:33 +11:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Nathan Froyd
4e6d8f6705
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
Jan-Ivar Bruaroey
f7915b4d84
Bug 1186209 - Check for VTYPE_EMPTY_ARRAY in enumerateDevices + test. r=jesup
2015-07-22 13:04:12 -04:00
Jan-Ivar Bruaroey
f52fa2ded4
Bug 1181428 - Move code to reuse test for active gum or persistent permission. r=mt
2015-07-09 23:07:42 -04:00
Jan-Ivar Bruaroey
bc1d4c0376
Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup
2015-07-02 14:21:49 -04:00
Mike Hommey
4d93988786
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Denis Volk
1872a62df8
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Jan-Ivar Bruaroey
16243139ee
Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup
2015-02-23 11:50:48 -05:00
Jan-Ivar Bruaroey
cbcf66325f
Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup
2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey
ac5beab0fc
Bug 1046245 - enumerateDevices (harmless interface version) r=smaug, r=jesup
2015-03-03 09:51:05 -05:00
Randell Jesup
da027a988b
Backed out 6 changesets (bug 1046245) on a CLOSED TREE
2015-03-29 01:42:32 -04:00
Jan-Ivar Bruaroey
a77afb07d0
Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup
2015-02-23 11:50:48 -05:00
Jan-Ivar Bruaroey
703fe04eb6
Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup
2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey
5d1ed42854
Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup
2015-03-03 09:51:05 -05:00
Phil Ringnalda
7ac6221ca2
Back out 6 changesets (bug 1046245) for thinking that MSVC would have anything to do with a __PRETTY_FUNCTION__
...
CLOSED TREE
Backed out changeset 9e3ecca831d8 (bug 1046245)
Backed out changeset 87dc145f4da8 (bug 1046245)
Backed out changeset 01606cf19a77 (bug 1046245)
Backed out changeset 2ed2b15fe940 (bug 1046245)
Backed out changeset 2b99b193828a (bug 1046245)
Backed out changeset d1ac67faccbb (bug 1046245)
2015-03-28 19:57:17 -07:00
Jan-Ivar Bruaroey
9f7c432459
Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup
2015-02-23 11:50:48 -05:00
Jan-Ivar Bruaroey
f01299522c
Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup
2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey
9192bc7e92
Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup
2015-03-03 09:51:05 -05:00
Ryan VanderMeulen
85426e67e1
Backed out 6 changesets (bug 1046245) for bustage on a CLOSED TREE.
...
Backed out changeset 222c2f9e3bc9 (bug 1046245)
Backed out changeset 4251eef464a2 (bug 1046245)
Backed out changeset 592f4cc23197 (bug 1046245)
Backed out changeset 5bfb9a1c0550 (bug 1046245)
Backed out changeset e966a5df87b6 (bug 1046245)
Backed out changeset 609f3ca64004 (bug 1046245)
2015-03-28 16:24:25 -04:00
Jan-Ivar Bruaroey
9294665099
Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup
2015-02-23 11:50:48 -05:00
Jan-Ivar Bruaroey
ddb9ddbfd9
Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup
2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey
1b7addd872
Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup
2015-03-03 09:51:05 -05: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
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Wes Kocher
3c0de68457
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
cbf9ae78f0
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
Jan-Ivar Bruaroey
efd4a3cb42
Bug 1033885 - add mediaDevices.getUserMedia with promises. r=bz, r=jesup
2014-09-20 02:20:41 -04:00