Commit Graph

407 Commits

Author SHA1 Message Date
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
Mike Habicher
4c36c24f4b Bug 1131782 - add vendor-specific feature-detection to GonkCameraParameters, r=aosmond 2015-02-12 00:04:58 -05:00
Mike Habicher
036c13db42 Bug 1131250 - handle ISO_MODE parameter value == nullptr, r=aosmond 2015-02-09 17:26:00 -05:00
Mike Habicher
d55fba3d1c 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
ddb72d387a 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
e5f1ce00e2 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Carsten "Tomcat" Book
df1fe14c36 merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Chris Peterson
0b8b25193e Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Vincent Liu
118cbbbb64 Bug 1107300 - (gonk-L-Camera) [meta] Camera Android L Porting. r=Sotaro 2014-12-22 14:17:22 +08:00
Ehsan Akhgari
b6e35bb4b4 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
abb608a46d 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
50fc8c6c23 Bug 938034 - Enable gonk camera recording callback. r=roc 2014-12-18 01:00:00 -05:00
Andrew Osmond
037ec6329c 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
01f6b86a9e Bug 1111752 - Initialize metering mode to correct value. r=mikeh 2014-12-15 11:53:49 -08:00
Ehsan Akhgari
7b166b5ef4 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
beeb584af9 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-12-15 15:33:21 +01:00
Botond Ballo
7a90ff53d7 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
81bbb8a3de 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
7c76633eb0 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
aff5735bdf Bug 1052821 - expose exposure metering modes to JS, r=aosmond,bz 2014-12-12 21:42:13 -05:00
Mike Habicher
e402bc1164 Bug 1104055 - fix CameraControl memory leak, r=aosmond 2014-12-12 21:18:03 -05:00
Mike Habicher
b3d455fadf Bug 1107683 - remove method callbacks from CameraControl, r=aosmond,bz 2014-12-11 11:02:51 -05:00
Andrew Osmond
6a5e49bd43 Bug 804359 - Add support for detection of camcorder profiles at runtime. r=mikeh 2014-12-02 15:14:17 -08:00
Andrew Osmond
56348290ec Bug 1102986 - Update camera preview media stream with platform media stream expectations. r=roc 2014-11-21 09:34:00 -05:00
Mike Habicher
6a2195c0c0 Bug 1099390 - add reason to onClosed event, r=aosmond,bz 2014-11-25 14:45:00 -05:00
Robert O'Callahan
2869783fca Bug 1061046. Part 1: Move GraphRate() to MediaStreamGraph so it's public. r=karlt 2014-09-18 11:50:01 +12:00
Mike Habicher
9d41606b2d Bug 1098660 - fix the (complex) requirements for video mode preview size, r=aosmond 2014-11-14 20:56:59 -05:00
Wes Kocher
db40408e3b Merge b2g-inbound to m-c a=merge 2014-11-12 17:19:02 -08:00
Mike Habicher
9866131965 Bug 1079543 - handle camera hardware busy when prelaunching, r=aosmond 2014-11-12 13:54:48 -05:00
Sotaro Ikeda
18bbf74695 Bug 1071205 - Change Video encode to HardwareCodecsOnly r=mikeh 2014-11-12 06:59:44 -08:00
Mike Habicher
97f2442639 Bug 1090501 - Properly handle no initial camera configuration. r=aosmond 2014-11-06 11:40:00 -05:00
Fabrice Desre
8ac0df5bcd 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
a49a486d0b 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
cf9f4832dd Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz 2014-10-31 13:19:06 -04:00
Ryan VanderMeulen
418030317f Backed out changeset 3fde6fc99b0a (bug 1020368) for non-unified bustage. 2014-10-31 18:51:23 -04:00
Mike Habicher
a2b2b6da8e Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz 2014-10-31 13:19:06 -04:00
Mike Habicher
b0b572d95d Bug 1068393 - assume camera permission for certified apps (saves ~100ms on Flame), r=fabrice 2014-10-28 11:54:38 -04:00
Andrew Osmond
e89edf8f5c Bug 1086596 - Fix potential crash if get camera boolean parameter is misused. r=mikeh 2014-10-21 10:29:00 -04:00