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

7406 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

Differential Revision: https://phabricator.services.mozilla.com/D62604

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Dorel Luca d5f9df8ee1 Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985)
Backed out changeset fb6d62b7f28d (bug 1613985)
2020-02-19 22:22:41 +02:00
Simon Giesecke 59b23375c0 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

Differential Revision: https://phabricator.services.mozilla.com/D62604

--HG--
extra : moz-landing-system : lando
2020-02-19 18:05:38 +00:00
Mike Shal d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Cosmin Sabou ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Brindusan Cristian e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Mike Shal e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Matthew Gregan 24e4bee487 Bug 1612512 - Update to audio_thread_priority 0.22. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D62664

--HG--
extra : moz-landing-system : lando
2020-02-13 10:28:09 +00:00
Simon Giesecke b50347f917 Bug 1611415 - Prefer using std::move over forget. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
Dan Minor 7f1850d512 Bug 1578073 - Suppress MissingPermission lint in Camera2Session; r=snorp
Depends on D61861

Differential Revision: https://phabricator.services.mozilla.com/D62457

--HG--
extra : moz-landing-system : lando
2020-02-12 17:19:50 +00:00
Dan Minor 861b4fb94f Bug 1578073 - Remove native calls in Histogram.java; r=ng
Getting the JNI calls here to work requires a good amount of webrtc.org
machinery. It might be worth setting that up the next time we do an upstream
merge, but for now, it is a lot simpler to just remove the affected code,
given that we are not interested in collecting this data anyway.

Differential Revision: https://phabricator.services.mozilla.com/D61860

--HG--
extra : moz-landing-system : lando
2020-02-11 17:07:22 +00:00
Dan Minor a8cd129226 Bug 1578073 - Update generated video capture moz.build file; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61856

--HG--
extra : moz-landing-system : lando
2020-02-11 17:06:09 +00:00
Dan Minor 34429eea6a Bug 1578073 - Update gn generated json files; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61855

--HG--
extra : moz-landing-system : lando
2020-02-11 17:06:00 +00:00
Dan Minor f7ae08ef60 Bug 1578073 - Remove android video capture from BUILD.gn; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61854

--HG--
extra : moz-landing-system : lando
2020-02-11 17:04:54 +00:00
Dan Minor 2388bf1ad9 Bug 1578073 - Fix warning: [cast] redundant cast to int; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61852

--HG--
extra : moz-landing-system : lando
2020-02-11 17:04:04 +00:00
Dan Minor 8d69b72363 Bug 1578073 - Move android video capture code to dom/media/systemservices; r=jib
Although originally part of webrtc.org, this code has subsequently been
removed by upstream. Moving it to under dom/media should make it clearer that
this is code that we are maintaining and simplify future upstream merges.

Differential Revision: https://phabricator.services.mozilla.com/D61850

--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.cc => dom/media/systemservices/android_video_capture/device_info_android.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.h => dom/media/systemservices/android_video_capture/device_info_android.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.cc => dom/media/systemservices/android_video_capture/video_capture_android.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.h => dom/media/systemservices/android_video_capture/video_capture_android.h
extra : moz-landing-system : lando
2020-02-11 17:03:13 +00:00
Dan Minor 90a9c5e77e Bug 1578073 - Add newer webrtc.org android camera code; r=ng
This is an import of the Android camera code as of upstream revision
26762d0425ffd15af9ddc3ae669373668827ea00 (Dec 20, 2019). This takes just the
files required to build the camera related classes.

Differential Revision: https://phabricator.services.mozilla.com/D61849

--HG--
extra : moz-landing-system : lando
2020-02-11 17:02:41 +00:00
Matthew Gregan 07f5f0bc92 Bug 1614547 - Ensure AudioIPC client threads call PROFILER_UNREGISTER_THREAD. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62402

--HG--
extra : moz-landing-system : lando
2020-02-12 22:20:11 +00:00
Matthew Gregan 63b801f787 Bug 1614533 - Generate AudioIPC FFI bindings with cbindgen. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62388

--HG--
extra : moz-landing-system : lando
2020-02-12 22:15:39 +00:00
shindli 91aa0518dd Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE 2020-02-12 20:13:29 +02:00
Simon Giesecke f604a47fa5 Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Boris Zbarsky c1c6ce37b3 Bug 1613827. Be more careful with SharedBuffer::Create callsites. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61959

--HG--
extra : moz-landing-system : lando
2020-02-11 16:58:33 +00:00
Brindusan Cristian 5d70119bb0 Backed out 12 changesets (bug 1578073) for linting failure on Camera2Session.java. CLOSED TREE
Backed out changeset 20e979be216b (bug 1578073)
Backed out changeset e361b04a8502 (bug 1578073)
Backed out changeset 8aae0721f09c (bug 1578073)
Backed out changeset 381836e3bad0 (bug 1578073)
Backed out changeset 0c214e8034bb (bug 1578073)
Backed out changeset b91603fdd9de (bug 1578073)
Backed out changeset 8533a03e36ca (bug 1578073)
Backed out changeset 2126f6d9bffc (bug 1578073)
Backed out changeset 39a853c82a71 (bug 1578073)
Backed out changeset 2a8e1c02cede (bug 1578073)
Backed out changeset 55e2a4c5cab9 (bug 1578073)
Backed out changeset 27b45ca46f24 (bug 1578073)

--HG--
rename : dom/media/systemservices/android_video_capture/device_info_android.cc => media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.cc
rename : dom/media/systemservices/android_video_capture/device_info_android.h => media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.h
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
rename : dom/media/systemservices/android_video_capture/video_capture_android.cc => media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.cc
rename : dom/media/systemservices/android_video_capture/video_capture_android.h => media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.h
2020-02-11 17:22:50 +02:00
Dan Minor f28bbffcea Bug 1612060 - Update libdav1d to 0.5.2; r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D61223

--HG--
extra : moz-landing-system : lando
2020-01-31 13:28:26 +00:00
Dan Minor f84c5a8d02 Bug 1578073 - Remove native calls in Histogram.java; r=ng
Getting the JNI calls here to work requires a good amount of webrtc.org
machinery. It might be worth setting that up the next time we do an upstream
merge, but for now, it is a lot simpler to just remove the affected code,
given that we are not interested in collecting this data anyway.

Differential Revision: https://phabricator.services.mozilla.com/D61860

--HG--
extra : moz-landing-system : lando
2020-02-10 17:12:22 +00:00
Dan Minor a131dc6542 Bug 1578073 - Update generated video capture moz.build file; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61856

--HG--
extra : moz-landing-system : lando
2020-02-10 17:11:01 +00:00
Dan Minor 4c29d99dc4 Bug 1578073 - Update gn generated json files; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61855

--HG--
extra : moz-landing-system : lando
2020-02-10 17:10:33 +00:00
Dan Minor 99e456b88f Bug 1578073 - Remove android video capture from BUILD.gn; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61854

--HG--
extra : moz-landing-system : lando
2020-02-10 17:09:55 +00:00
Dan Minor 75193e9189 Bug 1578073 - Fix warning: [cast] redundant cast to int; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61852

--HG--
extra : moz-landing-system : lando
2020-02-10 17:08:50 +00:00
Dan Minor 3ab437be1f Bug 1578073 - Move android video capture code to dom/media/systemservices; r=jib
Although originally part of webrtc.org, this code has subsequently been
removed by upstream. Moving it to under dom/media should make it clearer that
this is code that we are maintaining and simplify future upstream merges.

Differential Revision: https://phabricator.services.mozilla.com/D61850

--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.cc => dom/media/systemservices/android_video_capture/device_info_android.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.h => dom/media/systemservices/android_video_capture/device_info_android.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.cc => dom/media/systemservices/android_video_capture/video_capture_android.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.h => dom/media/systemservices/android_video_capture/video_capture_android.h
extra : moz-landing-system : lando
2020-02-10 17:08:36 +00:00
Dan Minor a5ea832cbb Bug 1578073 - Add newer webrtc.org android camera code; r=ng
This is an import of the Android camera code as of upstream revision
26762d0425ffd15af9ddc3ae669373668827ea00 (Dec 20, 2019). This takes just the
files required to build the camera related classes.

Differential Revision: https://phabricator.services.mozilla.com/D61849

--HG--
extra : moz-landing-system : lando
2020-02-10 17:07:25 +00:00
Jon Bauman 045081e922 Bug 1614097 - Update mp4parse-rust to bbb4a12. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D62136

--HG--
extra : moz-landing-system : lando
2020-02-08 02:13:05 +00:00
Byron Campen [:bwc] bd0e95a94f Bug 1591199: Don't assert when a candidate is gathered for a transceiver that is not associated, since that can happen in certain rollback scenarios. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D60309

--HG--
extra : moz-landing-system : lando
2020-02-06 15:51:36 +00:00
Byron Campen [:bwc] 8ae1152c9d Bug 1591199: Fix a race where sRD(offer) could mute a track, then an RTP packet could arrive that unmutes it before negotiation completed, this time without needing to stop the conduit and send a bunch of extra RTCP BYEs. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D59521

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:58 +00:00
Byron Campen [:bwc] 4d3a18f5ff Bug 1591199: Use correct time-base for rtcp stats comparison. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D59519

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:45 +00:00
Byron Campen [:bwc] a029828313 Bug 1591199: Reduce redundant code. r=mjf,smaug
Differential Revision: https://phabricator.services.mozilla.com/D56404

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:03 +00:00
Byron Campen [:bwc] fb466ae3cb Bug 1591199: Queue updates to pending/current descriptions. r=mjf,jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D56403

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:50 +00:00
Byron Campen [:bwc] cc8b304d22 Bug 1591199: Task queueing fixes in c++ r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56395

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:05 +00:00
Matthew Gregan 239b521c98 Bug 1612139 - Unship libcubeb's obsolete AudioTrack backend. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61399

--HG--
extra : moz-landing-system : lando
2020-02-03 10:04:53 +00:00
Matthew Gregan 6352479a73 Bug 1612044 - Error rather than panic when passed an invalid stream token. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D61319

--HG--
extra : moz-landing-system : lando
2020-01-30 20:40:29 +00:00
Nico Grunbaum f81beba455 Bug 1611486 - P2 - Cherry-pick webrct desktop sharing X hang fixes;r=dminor
c380e97ee6

Differential Revision: https://phabricator.services.mozilla.com/D61001

--HG--
extra : moz-landing-system : lando
2020-01-30 05:26:08 +00:00
Nico Grunbaum 6a8f257529 Bug 1611486 - P1 - Cherry-pick webrct desktop sharing X hang fixes;r=dminor
4b47dd39a7

Differential Revision: https://phabricator.services.mozilla.com/D61000

--HG--
extra : moz-landing-system : lando
2020-01-30 05:47:41 +00:00
Jon Bauman cf9ced0277 Bug 1611431 - Generate mp4parse-rust bindings as part of mach build. r=kinetik
Now that cbindgen.toml is a required file, update-rust.sh must be
updated to avoid clobbering it.

Differential Revision: https://phabricator.services.mozilla.com/D60971

--HG--
extra : moz-landing-system : lando
2020-01-28 14:04:37 +00:00
Bogdan Tara f1e0a083bc Backed out 2 changesets (bug 1611486) for bustages complaining about mouse_cursor_monitor.h and desktop_and_cursor_composer.h CLOSED TREE
Backed out changeset 881eb2c2d312 (bug 1611486)
Backed out changeset 50c7ba45875b (bug 1611486)
2020-01-28 00:48:40 +02:00
Nico Grunbaum b76919a7e5 Bug 1611486 - P2 - Cherry-pick webrct desktop sharing X hang fixes;r=dminor
c380e97ee6

Depends on D61000

Differential Revision: https://phabricator.services.mozilla.com/D61001

--HG--
extra : moz-landing-system : lando
2020-01-24 18:52:30 +00:00
Nico Grunbaum 0f2770c78b Bug 1611486 - P1 - Cherry-pick webrct desktop sharing X hang fixes;r=dminor
4b47dd39a7

Differential Revision: https://phabricator.services.mozilla.com/D61000

--HG--
extra : moz-landing-system : lando
2020-01-24 19:01:49 +00:00
Matthew Gregan a362a200e2 Bug 1611658 - Unship libcubeb's C PulseAudio backend in favour of Rust. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D61080

--HG--
extra : moz-landing-system : lando
2020-01-26 11:09:27 +00:00
Matthew Gregan be98de7d99 Bug 1590249 - Update audioipc to 86d49ddf. r=chunmin
Minus audio_thread_priority 0.21, due to Android build breakage.

Differential Revision: https://phabricator.services.mozilla.com/D60615

--HG--
extra : moz-landing-system : lando
2020-01-25 22:50:52 +00:00
Matthew Gregan c7f495b3a7 Bug 1590249 - Fix media/audioipc/update.sh when run on Windows. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60614

--HG--
extra : moz-landing-system : lando
2020-01-25 22:49:44 +00:00