Commit Graph

411 Commits

Author SHA1 Message Date
Andrew Osmond
3ca1dada8b 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
31cff83422 Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey 2015-04-13 21:08:00 -04:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
5cccea6f0f 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
988b8e01be 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
2416fccac8 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
4846f12964 Bug 1121855 - Fix camera crash. r=aosmond 2015-03-12 20:29:00 -04:00
Andrew Osmond
a248bf5eb1 Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
Sotaro Ikeda
b02c41ebe3 Bug 1141311 - Add async mode support to GonkNativeWindow on Lollipop Gonk r=pchang 2015-03-10 20:39:23 -07:00
Andrew Osmond
abd337fcda Bug 1062387 - Part 4. Update test cases to use JS camera driver. r=mikeh 2015-02-26 02:06:37 -05:00
Andrew Osmond
40ffdea166 Bug 1062387 - Part 3. Implement Gonk wrappers for JS camera driver. r=mikeh 2015-03-03 12:37:30 -05:00
Andrew Osmond
e924651ce7 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
9d70e95172 Bug 1062387 - Part 1. Fix clearing of camera preferences. r=mikeh 2015-02-13 09:18:49 -05:00
Mike Habicher
151fe53938 Bug 1141267 - register CameraThread with profiler, r=aosmond 2015-03-09 16:42:19 -04:00
Andreas Pehrson
11057e57a1 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Andreas Pehrson
9d53738bc4 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
cd7889c079 Bug 1132176 - add support for '4kuhd' to Gecko, r=aosmond 2015-02-13 13:24:56 -05:00
Mike Habicher
52bf5ae8dc Bug 1131782 - add vendor-specific feature-detection to GonkCameraParameters, r=aosmond 2015-02-12 00:04:58 -05:00
Mike Habicher
59b3a70136 Bug 1131250 - handle ISO_MODE parameter value == nullptr, r=aosmond 2015-02-09 17:26:00 -05:00
Mike Habicher
c1e05afdc2 Bug 1121769 - push picture size to the camera driver, even in video mode, r=aosmond 2015-01-22 12:25:49 -05:00
Andreas Pehrson
a59caddfd5 Bug 1124139 - Don't use mPlaybackStream for CameraPreview. r=jesup
From db346795ad1a0ae33e7496df893288eb1fbf7699 Mon Sep 17 00:00:00 2001
---
 dom/camera/CameraPreviewMediaStream.h |  1 +
 dom/html/HTMLMediaElement.cpp         | 29 +++++++++++++++++------------
 dom/html/HTMLMediaElement.h           |  6 +++++-
 dom/media/MediaStreamGraph.h          |  2 ++
 4 files changed, 25 insertions(+), 13 deletions(-)
2015-01-22 09:27:24 +01:00
Masatoshi Kimura
858165fd65 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Carsten "Tomcat" Book
7a47f841cb merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Chris Peterson
90751d5a6c Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Vincent Liu
254c49807d Bug 1107300 - (gonk-L-Camera) [meta] Camera Android L Porting. r=Sotaro 2014-12-22 14:17:22 +08:00
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
37c07444a0 Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku 2015-01-08 08:49:54 -05:00
Alfredo Yang
2953114bc4 Bug 938034 - Enable gonk camera recording callback. r=roc 2014-12-18 01:00:00 -05:00
Andrew Osmond
412f34f726 Bug 1104913 - Update selection algorithms for preview, picture and video sizes to have sane defaults. r=mikeh, r=bz 2014-12-12 19:51:29 -08:00
Andrew Osmond
f7ccb93816 Bug 1111752 - Initialize metering mode to correct value. r=mikeh 2014-12-15 11:53:49 -08:00
Ehsan Akhgari
15eb346831 Mark two more constructors explicit after bug 1009631, landed on a CLOSED TREE
--HG--
extra : amend_source : 0a6e117f53e7fc82b26afd66e73d1bf787554e57
2014-12-15 10:37:32 -05:00
Carsten "Tomcat" Book
8b3b91e9a6 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-12-15 15:33:21 +01:00
Botond Ballo
02ff512bc3 Bug 1073081 - Fix -Wattribute warnings by disabling them. r=ehsan,ted
--HG--
extra : source : 8393f458463ff465c0862209a7bef284e5ce6b48
2014-11-24 19:43:19 -05:00
Botond Ballo
05cef42133 Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan
--HG--
extra : source : 25145aa73cb75faa067ec96114968bc55bf7bbac
2014-11-24 19:40:59 -05:00
Botond Ballo
bd7b769dea Bug 1073081 - Fix -Wattribute warnings by removing unnecessary forward declarations. r=ehsan
--HG--
extra : source : a53418b5392c529098ca015ea7bce192a73bc5e1
2014-11-24 19:39:00 -05:00
Mike Habicher
276265fd33 Bug 1052821 - expose exposure metering modes to JS, r=aosmond,bz 2014-12-12 21:42:13 -05:00
Mike Habicher
a28fa8fe23 Bug 1104055 - fix CameraControl memory leak, r=aosmond 2014-12-12 21:18:03 -05:00
Mike Habicher
ab71c4b172 Bug 1107683 - remove method callbacks from CameraControl, r=aosmond,bz 2014-12-11 11:02:51 -05:00
Andrew Osmond
917eca3cd9 Bug 804359 - Add support for detection of camcorder profiles at runtime. r=mikeh 2014-12-02 15:14:17 -08:00
Andrew Osmond
e1fcb49e3b Bug 1102986 - Update camera preview media stream with platform media stream expectations. r=roc 2014-11-21 09:34:00 -05:00
Mike Habicher
174e4f30a0 Bug 1099390 - add reason to onClosed event, r=aosmond,bz 2014-11-25 14:45:00 -05:00
Robert O'Callahan
b30516f643 Bug 1061046. Part 1: Move GraphRate() to MediaStreamGraph so it's public. r=karlt 2014-09-18 11:50:01 +12:00
Mike Habicher
9c15130c47 Bug 1098660 - fix the (complex) requirements for video mode preview size, r=aosmond 2014-11-14 20:56:59 -05:00
Wes Kocher
976f896776 Merge b2g-inbound to m-c a=merge 2014-11-12 17:19:02 -08:00
Mike Habicher
ac013691ed Bug 1079543 - handle camera hardware busy when prelaunching, r=aosmond 2014-11-12 13:54:48 -05:00
Sotaro Ikeda
401c3a5802 Bug 1071205 - Change Video encode to HardwareCodecsOnly r=mikeh 2014-11-12 06:59:44 -08:00
Mike Habicher
4d0089f7c5 Bug 1090501 - Properly handle no initial camera configuration. r=aosmond 2014-11-06 11:40:00 -05:00
Fabrice Desre
1266bcc3bd Bug 1090501 - pre-emptively open the camera hardware for certified apps with 'camera' permission, r=fabrice 2014-10-31 13:54:02 -04:00
Andrew Osmond
23abc8edcc Bug 1093663 - Load recorder profiles when setting the video configuration if not already. r=mikeh 2014-11-04 11:34:00 -05:00
Mike Habicher
9dda8b2ca8 Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz 2014-10-31 13:19:06 -04:00