Commit Graph

64 Commits

Author SHA1 Message Date
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
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
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
Andrew Osmond
a0bbbdd643 Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04: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
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
Mike Habicher
e402bc1164 Bug 1104055 - fix CameraControl memory leak, r=aosmond 2014-12-12 21:18:03 -05:00
Mike Habicher
6a2195c0c0 Bug 1099390 - add reason to onClosed event, r=aosmond,bz 2014-11-25 14:45:00 -05: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
Mike Habicher
9866131965 Bug 1079543 - handle camera hardware busy when prelaunching, r=aosmond 2014-11-12 13:54:48 -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
8ff61ce703 Bug 1014877 - uncouple preview and video-recording frame sizes, r=aosmond 2014-09-16 15:36:48 -04:00
Andrew Osmond
072944be8a 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
d4a91fd6eb 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
1249db9dd7 Backed out changeset d758e85bbe8b (bug 1030821) for bustage 2014-06-30 14:45:52 +02:00
Andrew Osmond
fb756b2a99 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
1b8cd97bdb Bug 1022705 - allow StopRecordingImpl() to be called from any thread, r=jesup 2014-06-10 09:52:22 -04:00
Mike Habicher
3dbc1321a6 Bug 1004434 - MaxFileSize, MaxVideoLength of CameraControl Interface recording options should be of 64 bits. r=dhylands, r=bzbarsky
--HG--
extra : rebase_source : 50b6301e11c09cc82bd42e99a738b565c0039bcb
2014-05-14 17:33:00 -04:00
Mike Habicher
be8b44eb3e Bug 985496 - rationalize camera error reporting, r=dhylands 2014-04-25 16:28:15 -04:00
Mike Habicher
9125acf8d1 Bug 990761 - handle HDR sending us more than one picture, r=dhylands 2014-04-16 21:46:36 -04:00
Mike Habicher
c441b5ffe0 Bug 986024 - expose resumeContinuousFocus() method to DOM/JS, r=bz,dhylands 2014-04-15 15:46:40 -04:00
Mike Habicher
148549b192 Bug 981047 - enable torch mode in low light when video recording, r=dhylands,ehsan 2014-04-09 11:53:41 -04:00
Mike Habicher
dd79db6c78 Bug 965420 - camera face-tracking, r=bz,dhylands 2014-04-09 11:52:10 -04:00
Youngwoo Jo
9a24f21df5 Bug 965421 - camera continuous autofocus status callback, r=jst,mikeh 2014-04-09 11:12:25 -04:00
Fredrik Lanker
e82b4c36c7 Bug 985481 - Make sure that a supported video size is set. r=mikeh 2014-04-08 00:21:00 +02:00
Sotaro Ikeda
54d13a5e10 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Mike Habicher
8b4193c3a5 Bug 973790 - only call ClearCurrentFrame() when closing down the camera hardware, r=dhylands 2014-02-19 23:18:55 -05:00
Mike Habicher
9e32e131fd Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup 2014-02-19 23:18:52 -05:00
Mike Habicher
a28ebb99d1 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
df06ba6285 Backed out changeset 6e588c56764b (bug 909542) for Gaia unit test perma-fail. 2014-02-14 08:27:44 -05:00
Mike Habicher
4ec887a5dd Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 00:28:57 -05:00
Phil Ringnalda
17e6ef5703 Back out f03664765359 (bug 909542) for unexpected assertions and lack of expected assertions 2014-02-10 19:09:23 -08:00
Mike Habicher
dc323719b7 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
* * *
Debugging the rotation issue with new camera.js
* * *
Fix the occasionally-invalid MOZ_ASSERT on GonkCameraControl.cpp:844
2014-02-10 17:53:19 -05:00
Mike Habicher
05f46568c1 Bug 963142 - fix negative-rotation math error in startRecording(), r=dhylands 2014-01-23 19:10:23 -05:00
Mike Habicher
c1b1bfe5ff Bug 932669 - Expose sensor rotation offset to JS. r=dhylands 2013-12-06 09:47:29 -05:00
Mike Habicher
85a40fb7d6 Bug 807058 - Expose thumbnail size capability and control properties. r=sotaro, r=jst 2013-10-30 15:41:08 -04:00
Mike Habicher
68c20615e3 Bug 834164 - handle aDataPtr == nullptr in camera driver DataCallback, r=cjones 2013-01-24 13:41:18 -05:00
Sotaro Ikeda
102ee3682a Bug 803471 - Part 5c - Cange GonkCamera to use android::Camera. r=mhabicher 2013-03-08 14:43:33 -05:00
Sotaro Ikeda
8286ea230b Bug 826072 - Dispatch Init() out of nsGonkCameraControl's constructor. r=mikeh 2013-02-16 14:05:45 -05:00
Olli Pettay
29c93f77f6 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Mike Habicher
93214ee675 Bug 825986 - propagate startRecording() return code instead of asserting; clean up GonkRecorder lifecycle management, r=kanru 2013-01-08 10:11:32 +01:00
Mike Habicher
2e605c0a50 Bug 820139 - Ensure video recorder exists before trying to start recording. r=kchen 2012-12-23 10:56:59 -05:00
Mike Habicher
518afe6c97 Bug 818933 - Provide a hardware release API so that we don't have to rely on CC of CameraControl objects. r=mhabicher 2012-12-23 10:54:54 -05:00
Mike Habicher
7c2a23f834 Bug 817496 - Notify DeviceStorage when a new video file is finished recording. r=dougt 2012-12-04 21:00:39 -05:00
Benoit Jacob
fe01083861 Bug 798033 - adapt dom/camera code to not relying on headers to do using namespace - r=mhabicher 2012-11-12 19:06:31 -05:00
Matt Joras
5efd4dad8e Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Ryan VanderMeulen
a17df69b99 Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage. 2012-11-10 11:52:15 -05:00