Commit Graph

444 Commits

Author SHA1 Message Date
Dragana Damjanovic
c7fc0a288e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Andrew Osmond
11128d9b2d Bug 1175656 - Implement generation of recording posters in Gecko. r=dhylands,bz 2015-06-16 20:35:00 -04:00
Andrew Osmond
18dd152e2e Bug 1171374 - Permit software video codecs with the emulated camera. r=sotaro 2015-06-18 17:12:06 -04:00
Andrew Osmond
1bce74acd2 Bug 1152500 - Fix how stop recording may be handled out-of-order. r=dhylands 2015-06-12 18:51:38 -04:00
Eric Rahm
29f00ac208 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Andrew Osmond
b11c24b16c Bug 1146671 - Ensure camera not already released when performing operations. r=dhylands 2015-06-03 07:24:57 -04:00
Ryan VanderMeulen
90fcd7d1ec Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
Andrew Osmond
2250b84012 Bug 1169342 - Remove nsIDOMDeviceStorage. Cleanup nsDOMDeviceStorage event wrappers. r=dhylands 2015-05-28 18:53:16 -04:00
Birunthan Mohanathas
cd748a7266 Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Roger Yang
160a111f22 Bug 1124338 - Fix possible camera cached parameters invalidation from underlying driver modification. r=aosmond 2015-05-24 11:36:00 -04:00
Eric Rahm
ccf1ec07c6 Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Eric Rahm
c5e63515bf Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Andrea Marchesini
50ea75aa94 Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan 2015-05-19 15:36:37 +01:00
Birunthan Mohanathas
f9c058aaf6 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj 2015-05-18 13:50:34 -07:00
Eric Rahm
485ac2e37a Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Ehsan Akhgari
382b6d4528 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Andrea Marchesini
7a35ed6840 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher
6fd66905f8 Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Andrea Marchesini
758a27149f Bug 1159401 - patch 2 - Avoid multiple inheritance of nsIDOMBlob, r=bz 2015-05-11 18:50:52 +01:00
Andrea Marchesini
8216a76e2b Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
ab585ee6e8 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
3d1cf0758c Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Andrew Osmond
be5ba6b52d Bug 1158378 - Fix how a failed set configuration call would try to shutdown the camera after release. 2015-05-08 16:20:01 -04:00
Roger Yang
a347201a38 Bug 1160428 - Fix theoretical take picture memory leak uncovered by coverity. r=aosmond 2015-05-03 13:46:00 -04:00
Roger Yang
f0087f9693 Bug 1129051 - Fix double free in Camera Control Listener. Fix webrtc memory leak. r=aosmond 2015-04-28 16:08:40 -04:00
Hayden Huang
f1b7222724 Bug 1154665 - Part 2. Testcase against gps parameter. r=aosmond 2015-04-28 13:08:27 -04:00
Hayden Huang
3e96c0bd0b Bug 1154665 - Part 1. Provide gps processing data to avoid setParameters fail. r=aosmond 2015-04-28 13:08:24 -04:00
Andrea Marchesini
124186054d Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Wes Kocher
6d06ac6dea Merge m-c to b2ginbound a=merge CLOSED TREE 2015-04-20 17:17:44 -07:00
Andrew Osmond
1a849d006f Bug 1156416 - Validate camera parameters supplied by the application. r=mikeh 2015-04-17 14:17:18 -04:00
Denis Volk
4ad62045e8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Andrew Osmond
ae6250bef1 Bug 1144211 - Improve code coverage of camera mochitests. r=mikeh 2015-03-17 13:01:24 -04:00
Andrew Osmond
4a231b2429 Bug 1139721 - Fix camera memory leaks for onfacedetected events, failed initializations and capabilities. r=mikeh 2015-04-17 07:09:54 -04:00
Andrew Osmond
ec890c689f Bug 1152260 - Generate focused event for drivers that do not notify us when using continuous auto focus. r=mikeh 2015-04-14 09:38:40 -04:00
Kershaw Chang
44691fbfd7 Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey 2015-04-13 21:08:00 -04:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
33bb32f549 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
54c64f20a9 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
Daniel Holbert
2c24121797 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Becker Hsieh
096178c8be Bug 1121855 - Fix camera crash. r=aosmond 2015-03-12 20:29:00 -04:00
Andrew Osmond
a0bbbdd643 Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
Sotaro Ikeda
45f6dc0032 Bug 1141311 - Add async mode support to GonkNativeWindow on Lollipop Gonk r=pchang 2015-03-10 20:39:23 -07:00
Andrew Osmond
b36c7f81dc Bug 1062387 - Part 4. Update test cases to use JS camera driver. r=mikeh 2015-02-26 02:06:37 -05:00
Andrew Osmond
dd9221074d Bug 1062387 - Part 3. Implement Gonk wrappers for JS camera driver. r=mikeh 2015-03-03 12:37:30 -05:00
Andrew Osmond
d8a5dc10d5 Bug 1062387 - Part 2. Implement DOM and JavaScript facing components of JS camera driver. r=mikeh r=bz 2015-03-01 13:48:37 -05:00
Andrew Osmond
1f4b4c561d Bug 1062387 - Part 1. Fix clearing of camera preferences. r=mikeh 2015-02-13 09:18:49 -05:00
Mike Habicher
8bac11cbbb Bug 1141267 - register CameraThread with profiler, r=aosmond 2015-03-09 16:42:19 -04:00
Andreas Pehrson
d7ef0ecef9 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Andreas Pehrson
883166e5ba Bug 1129263 - Part 1. Add an event to MediaStreamListener for handling atomically added tracks. r=roc,jesup 2015-02-06 17:38:11 +08:00
Mike Habicher
42f68ef1ad Bug 1132176 - add support for '4kuhd' to Gecko, r=aosmond 2015-02-13 13:24:56 -05:00