Граф коммитов

453 Коммитов

Автор SHA1 Сообщение Дата
Sotaro Ikeda a5af76c3cf Bug 1141311 - Add async mode support to GonkNativeWindow on Lollipop Gonk r=pchang 2015-03-10 20:39:23 -07:00
Andrew Osmond 65bf841b78 Bug 1062387 - Part 4. Update test cases to use JS camera driver. r=mikeh 2015-02-26 02:06:37 -05:00
Andrew Osmond 2f0b8c72c1 Bug 1062387 - Part 3. Implement Gonk wrappers for JS camera driver. r=mikeh 2015-03-03 12:37:30 -05:00
Andrew Osmond 3cd2fd3ac9 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 c59e55e503 Bug 1062387 - Part 1. Fix clearing of camera preferences. r=mikeh 2015-02-13 09:18:49 -05:00
Mike Habicher 5592c95197 Bug 1141267 - register CameraThread with profiler, r=aosmond 2015-03-09 16:42:19 -04:00
Andreas Pehrson 9b19093204 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Andreas Pehrson f400cd176d 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 947213f3a4 Bug 1132176 - add support for '4kuhd' to Gecko, r=aosmond 2015-02-13 13:24:56 -05:00
Mike Habicher 90099684cc Bug 1131782 - add vendor-specific feature-detection to GonkCameraParameters, r=aosmond 2015-02-12 00:04:58 -05:00
Mike Habicher bc30425f14 Bug 1131250 - handle ISO_MODE parameter value == nullptr, r=aosmond 2015-02-09 17:26:00 -05:00
Mike Habicher 70496aa353 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 e5681a1719 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 9656ec51c3 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Carsten "Tomcat" Book 830e9e7d40 merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Chris Peterson 9e23388ca8 Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Vincent Liu 9a52c3c7eb Bug 1107300 - (gonk-L-Camera) [meta] Camera Android L Porting. r=Sotaro 2014-12-22 14:17:22 +08:00
Ehsan Akhgari 4354953b4f 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 1889255041 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 833002460c Bug 938034 - Enable gonk camera recording callback. r=roc 2014-12-18 01:00:00 -05:00
Andrew Osmond 6a9e14e1fb 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 3842a0845a Bug 1111752 - Initialize metering mode to correct value. r=mikeh 2014-12-15 11:53:49 -08:00
Ehsan Akhgari 1442244eca 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 bad074f263 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-12-15 15:33:21 +01:00
Botond Ballo b68f6489dc 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 8bcf931152 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 4830e53616 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 4e25b1e2d9 Bug 1052821 - expose exposure metering modes to JS, r=aosmond,bz 2014-12-12 21:42:13 -05:00
Mike Habicher cb12b55b35 Bug 1104055 - fix CameraControl memory leak, r=aosmond 2014-12-12 21:18:03 -05:00
Mike Habicher 003c0f1ac8 Bug 1107683 - remove method callbacks from CameraControl, r=aosmond,bz 2014-12-11 11:02:51 -05:00
Andrew Osmond 30838a3e4e Bug 804359 - Add support for detection of camcorder profiles at runtime. r=mikeh 2014-12-02 15:14:17 -08:00
Andrew Osmond e5508741e0 Bug 1102986 - Update camera preview media stream with platform media stream expectations. r=roc 2014-11-21 09:34:00 -05:00
Mike Habicher 34426c6b7a Bug 1099390 - add reason to onClosed event, r=aosmond,bz 2014-11-25 14:45:00 -05:00
Robert O'Callahan 512f5afd64 Bug 1061046. Part 1: Move GraphRate() to MediaStreamGraph so it's public. r=karlt 2014-09-18 11:50:01 +12:00
Mike Habicher a2a53064df Bug 1098660 - fix the (complex) requirements for video mode preview size, r=aosmond 2014-11-14 20:56:59 -05:00
Wes Kocher 8bae192f28 Merge b2g-inbound to m-c a=merge 2014-11-12 17:19:02 -08:00
Mike Habicher cb66942d32 Bug 1079543 - handle camera hardware busy when prelaunching, r=aosmond 2014-11-12 13:54:48 -05:00
Sotaro Ikeda 319fdfa499 Bug 1071205 - Change Video encode to HardwareCodecsOnly r=mikeh 2014-11-12 06:59:44 -08:00
Mike Habicher c297fde5b2 Bug 1090501 - Properly handle no initial camera configuration. r=aosmond 2014-11-06 11:40:00 -05:00
Fabrice Desre c87cbd2e59 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 8b6050a745 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 88e39aed0e Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz 2014-10-31 13:19:06 -04:00
Ryan VanderMeulen 64db9b1b38 Backed out changeset 3fde6fc99b0a (bug 1020368) for non-unified bustage. 2014-10-31 18:51:23 -04:00
Mike Habicher 1b9a3ffc9e Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz 2014-10-31 13:19:06 -04:00
Mike Habicher add5f651bb Bug 1068393 - assume camera permission for certified apps (saves ~100ms on Flame), r=fabrice 2014-10-28 11:54:38 -04:00
Andrew Osmond 341f434a1e Bug 1086596 - Fix potential crash if get camera boolean parameter is misused. r=mikeh 2014-10-21 10:29:00 -04:00
Randell Jesup 5c602bba2f Backed out changesets ef6465b02d0d f749e3f70ffc ecd54a3fbfdd 8f472a850073 (bug 879717) 2014-10-13 22:18:22 -04:00
Randell Jesup c4c71b7164 Bug 879717: bustage fix (unified builds) r=bustage 2014-10-13 01:01:51 -04:00
Andrew Osmond 3e8c67dfd9 Bug 879717: Part 3: Fix camera preview stream and wake locks from lock screen. r=roc 2014-10-13 00:01:25 -04:00
Benjamin Smedberg 9feee44085 Bug 1081258 - Remove unnecesary (re)definition of NAN, r=mikeh
--HG--
extra : rebase_source : 6c7d8f2454467ea9fcf23c8581f15eb96beb5eda
2014-10-11 15:56:54 +13:00
Andrea Marchesini 8f8ec51372 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini 7491bee8c3 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-08 17:15:22 +01:00
Ryan VanderMeulen cd3e8a6f73 Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE

--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini c8190ba625 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini d272279126 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-07 15:20:52 +01:00
Peter Van der Beken dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Andrew Osmond eaa8395a0a Bug 994912 - Add support for promises and event-based notifications to camera. r=mikeh, r=bz 2014-10-03 04:19:00 -04:00
Carsten "Tomcat" Book f91a07df51 merge mozilla-inbound to mozilla-central a=merge 2014-09-26 13:20:34 +02:00
Andrew Osmond 8d4e42e6d2 Bug 1068559 - Add asynchronous auto focus completed callback. r=bz r=dhylands 2014-09-22 05:25:00 +02:00
Ehsan Akhgari 025f7a045d Bug 1072301 - Build the cross platform camera code in unified mode; r=mikeh 2014-09-24 18:43:26 -04:00
Mike Habicher 9fb0ea849f Bug 1014877 - uncouple preview and video-recording frame sizes, r=aosmond 2014-09-16 15:36:48 -04:00
Shinuk Lee 268fba2548 Bug 1065866 - Abort StartRecording while previous call is in progress. r=mikeh 2014-09-11 21:55:00 -04:00
Mike Habicher 85a40223c1 Bug 1054803 - improve size-matching algorithm, r=aosmond 2014-09-10 11:48:55 -04:00
Sotaro Ikeda 24dff6c377 Bug 1058452 - Use FakeMediaStreamGraph r=mikeh 2014-09-09 06:27:24 -07:00
Ryan VanderMeulen ccd2f112b7 Backed out changeset 56e2793c8ac7 (bug 1058452) for B2G mochitest orange. 2014-09-08 16:52:44 -04:00
Sotaro Ikeda 82f2e7e4bf Bug 1058452 - Use FakeMediaStreamGraph r=mikeh 2014-09-08 11:59:16 -07:00
Ehsan Akhgari 0ca01636f8 Bug 1072700 - Build the b2g specific camera code in unified mode; r=mikeh 2014-09-25 15:36:54 -04:00
Mike Habicher 92690667c1 Bug 1051774 - remove existing position metadata when none is set, r=aosmond 2014-09-04 11:56:51 -04:00
Ehsan Akhgari 1b1d6ffebf Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Ehsan Akhgari 0653303071 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda 117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari 6c932dea6c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Mike Habicher a973fb71ad Bug 981318 - expose compressed image quality setting, r=dhylands,khuey 2014-08-25 15:12:49 -04:00
Mike Habicher 2edf95f7fb Bug 889778 - move NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY to the front of the QI, r=jst 2014-08-25 11:14:49 -04:00
Sotaro Ikeda 37ef6033e3 Bug 1036539 - Add async mode support to GonkNativeWindow r=mikeh,pchang 2014-08-15 07:41:33 -07:00
Shih-Chiang Chien b48b057bb2 Bug 1045975 - Use nsIDOMWindowUtils.askPermission in all types of permission request. r=smaug
--HG--
extra : rebase_source : 4a6a3c484373759b6d553e4821f3c43af41d0239
2014-08-01 15:22:20 +08:00
Mike Habicher 2f751308dd Bug 1037322 - change CameraConfiguration default mode to 'unspecified' r=dhylands,khuey 2014-08-05 13:20:31 -04:00
Andrew Osmond 47576fa59d Bug 1046341 - Release camera hardware if initialization fails. r=mikeh 2014-07-31 10:29:00 -04:00
Ms2ger d8c0b17d7d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Wes Kocher c198e90652 Merge m-c to inbound 2014-07-15 17:39:19 -07:00
Andrew Osmond 5dedebb8ed Bug 1035531 - Discard buffer instead of assert if camera media frame comes in early. r=mikeh 2014-07-09 07:04:00 +02:00
Carsten "Tomcat" Book 90fb1d9bfd merge mozilla-inbound to mozilla-central a=merge 2014-07-14 14:34:36 +02:00
Mike Habicher a6cf3a0bdf Bug 1036637 - disable HDR on low-memory devices, r=dhylands 2014-07-13 11:50:48 -04:00
Randell Jesup 77ee2e1b15 Bug 1035819: patch 1 - Add notification of DirectListeners and generalize Notification of events r=roc 2014-07-14 01:47:56 -04:00
Benoit Girard 1465e09a99 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Andrew Osmond 6cb6557d3f Bug 1030007 - Throttle updating the preview window when CPU low and/or encoder falls behind. r=mikeh, r=cpearce 2014-07-02 19:55:00 -04:00
Andrew Osmond c7835d9fdf Bug 1034159 - Fix a potential buffer leak caused by a race condition when ending recording a video. r=mikeh 2014-07-03 10:30:00 +02:00
Mike Habicher 484c8ff35c Bug 1029367 - handle ISO modes without "ISO" prefixes, r=dhylands 2014-07-02 18:49:54 -04:00
Andrew Osmond 75d97c962d Bug 1030821 - Fix broken zoom by making recording hint be set as boolean. r=mikeh 2014-06-30 06:33:00 -04:00
Carsten "Tomcat" Book 4cbbd061ad Backed out changeset d758e85bbe8b (bug 1030821) for bustage 2014-06-30 14:45:52 +02:00
Andrew Osmond e27c71ab54 Bug 1030821 - Fix broken zoom by making recording hint be set as boolean. r=mikeh 2014-06-27 12:33:00 +02:00
Mike Habicher aeabb87401 Bug 1030384 - Change a spammy NS_WARNING into a log message instead. r=khuey 2014-06-26 08:20:00 -04:00
Andrea Marchesini 6ec27357af Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Mike Habicher fb4ebebfd8 Bug 1025197 - only clear the "recording hint" when switching to picture mode, r=dhylands 2014-06-25 17:45:02 -04:00
Benoit Jacob ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Jan Beich 598b4fa9f5 Bug 1028049 - Unbreak non-SPS build after bug 990122. r=mhabicher 2014-06-22 22:02:39 +02:00
Ed Morley 798f1d2efc Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Mike Habicher 7b53c87c00 Bug 990122 - move prefs used by camera to CameraPreferences, r=ehsan 2014-06-19 09:20:49 -04:00
Birunthan Mohanathas bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00