gecko/dom/camera
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
..
test Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
AutoRwLock.h Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:26:43 -04:00
CameraCommon.h Bug 1081258 - Remove unnecesary (re)definition of NAN, r=mikeh 2014-10-11 15:56:54 +13:00
CameraControlImpl.cpp Bug 1141267 - register CameraThread with profiler, r=aosmond 2015-03-09 16:42:19 -04:00
CameraControlImpl.h Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
CameraControlListener.h 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
CameraPreferences.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
CameraPreferences.h Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
CameraPreviewMediaStream.cpp Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan 2015-03-17 09:29:17 -07:00
CameraPreviewMediaStream.h Bug 1124139 - Don't use mPlaybackStream for CameraPreview. r=jesup 2015-01-22 09:27:24 +01:00
CameraTestHardware.js 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
CameraTestHardware.manifest 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
DOMCameraCapabilities.cpp Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
DOMCameraCapabilities.h Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
DOMCameraControl.cpp Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
DOMCameraControl.h Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
DOMCameraControlListener.cpp 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
DOMCameraControlListener.h Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
DOMCameraDetectedFace.cpp Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
DOMCameraDetectedFace.h Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
DOMCameraManager.cpp Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
DOMCameraManager.h Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
FallbackCameraControl.cpp Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
FallbackCameraManager.cpp
FallbackCameraPlatform.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
FallbackCameraPlatform.h Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkCameraControl.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkCameraControl.h Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkCameraHwMgr.cpp Bug 1141311 - Add async mode support to GonkNativeWindow on Lollipop Gonk r=pchang 2015-03-10 20:39:23 -07:00
GonkCameraHwMgr.h Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkCameraListener.h
GonkCameraManager.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkCameraParameters.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkCameraParameters.h Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkCameraSource.cpp Bug 938034 - Enable gonk camera recording callback. r=roc 2014-12-18 01:00:00 -05:00
GonkCameraSource.h Bug 938034 - Enable gonk camera recording callback. r=roc 2014-12-18 01:00:00 -05:00
GonkRecorder.cpp Bug 1107300 - (gonk-L-Camera) [meta] Camera Android L Porting. r=Sotaro 2014-12-22 14:17:22 +08:00
GonkRecorder.h Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan 2014-11-24 19:40:59 -05:00
GonkRecorderProfiles.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkRecorderProfiles.def Bug 1132176 - add support for '4kuhd' to Gecko, r=aosmond 2015-02-13 13:24:56 -05:00
GonkRecorderProfiles.h Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
ICameraControl.h 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
moz.build Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
nsICameraTestHardware.idl 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
README
TestGonkCameraControl.cpp
TestGonkCameraControl.h Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
TestGonkCameraHardware.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
TestGonkCameraHardware.h Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
update2.patch
update.patch
update.sh

This README file details from where some of the camcorder source files were derived from and how to apply the provided patch file to get the updated files for B2G.
---------------------------------

Following is the list of B2G files which were derived from an android ics_chocolate build. It also shows the corresponding locations where the original source files can be found:

GonkRecoder.cpp:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=media/libmediaplayerservice/StagefrightRecorder.cpp;hb=ef1672482a9c2b88d8017927df68144fee42626c

GonkRecorder.h:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=media/libmediaplayerservice/StagefrightRecorder.h;hb=e3682213bcd3fe43b059e00f0fe4dbebc3f3c35d

GonkCameraSource.cpp:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=media/libstagefright/CameraSource.cpp;hb=7fa677babfee9c241a131b22c9c1c5ab512ef2d2

GonkCameraSource.h:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=include/media/stagefright/CameraSource.h;hb=96af14d9b013496accf40a85a66fefcba3ac0111

AudioParameter.cpp:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=media/libmedia/AudioParameter.cpp;hb=4dc22e77cfd2a1c3671e5646ee87c5e4c15596a0

GonkCameraListener.h:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=include/camera/Camera.h;hb=796f35e408d9dca386f90d8fbde80471ac011fa6

There were quite a few changes done to the above listed sources to support camcorder on B2G platform.
update.patch lists the changes on top of the original files.
update.sh shell script copies the files from an android tree and applies the patch to get updated files for B2G.