Commit Graph

205 Commits

Author SHA1 Message Date
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini
36e9bd4b9e Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini
0bb1368c4e Bug 1113086 - AudioChannel policy in Browser API - patch 6 - media-playback has to be dispatched async, r=alwu 2015-07-10 17:38:53 +01:00
Andrea Marchesini
c19ee89817 Bug 1113086 - AudioChannel policy in Browser API - patch 5 - nsTObserverArray instead hashtables, r=ehsan, r=alwu 2015-07-10 17:38:51 +01:00
Andrea Marchesini
d5fd94cd58 Bug 1113086 - AudioChannel policy in Browser API - patch 4 - Muted by default, e=alwu 2015-07-10 17:38:49 +01:00
Andrea Marchesini
df50e4c916 Bug 1113086 - AudioChannel policy in Browser API - patch 2 - IPC communication between AudioChannelServices, r=ehsan 2015-07-10 17:38:46 +01:00
Andrea Marchesini
f4c10524b4 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
85cc47ac7c Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
406ff1aeca Backed out changeset 3f09bee844e2 (bug 1113086) 2015-07-11 14:14:04 +02:00
Carsten "Tomcat" Book
55f0534dba Backed out changeset 69427ebb50f1 (bug 1113086) 2015-07-11 14:13:55 +02:00
Carsten "Tomcat" Book
e53a095a5f Backed out changeset d9cc17209f0e (bug 1113086) 2015-07-11 14:13:50 +02:00
Carsten "Tomcat" Book
7ef743022a Backed out changeset dc6c9832002f (bug 1113086) 2015-07-11 14:13:45 +02:00
Carsten "Tomcat" Book
db2d4866fe Backed out changeset 41195fb9f293 (bug 1177259) 2015-07-11 14:13:27 +02:00
Andrea Marchesini
0abf974f07 Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini
0e3fe36414 Bug 1113086 - AudioChannel policy in Browser API - patch 6 - media-playback has to be dispatched async, r=alwu 2015-07-10 21:08:51 -04:00
Andrea Marchesini
6b5968cd63 Bug 1113086 - AudioChannel policy in Browser API - patch 5 - nsTObserverArray instead hashtables, r=ehsan, r=alwu 2015-07-10 21:08:50 -04:00
Andrea Marchesini
f25bbc3a43 Bug 1113086 - AudioChannel policy in Browser API - patch 4 - Muted by default, e=alwu 2015-07-10 21:08:48 -04:00
Andrea Marchesini
8361c16bda Bug 1113086 - AudioChannel policy in Browser API - patch 2 - IPC communication between AudioChannelServices, r=ehsan 2015-07-10 21:08:45 -04:00
Andrea Marchesini
16db4ace47 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 21:08:43 -04:00
Xidorn Quan
1429282d8b Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Andrea Marchesini
0dcc0b62c0 Bug 1113086 - AudioChannel policy in Browser API - patch 6 - media-playback has to be dispatched async, r=alwu 2015-07-10 17:38:53 +01:00
Andrea Marchesini
72d258ada8 Bug 1113086 - AudioChannel policy in Browser API - patch 5 - nsTObserverArray instead hashtables, r=ehsan, r=alwu 2015-07-10 17:38:51 +01:00
Andrea Marchesini
d4bc56bbad Bug 1113086 - AudioChannel policy in Browser API - patch 4 - Muted by default, e=alwu 2015-07-10 17:38:49 +01:00
Andrea Marchesini
20587a0dac Bug 1113086 - AudioChannel policy in Browser API - patch 2 - IPC communication between AudioChannelServices, r=ehsan 2015-07-10 17:38:46 +01:00
Andrea Marchesini
be1995c816 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Ehsan Akhgari
d0cacc4bc3 Bug 1180347 - Split media.useAudioChannelService to support turning the service on without turning the Firefox OS specific APIs on; r=baku
This is going to be needed for us to be able to turn the AudioChannelService
on for desktop without exposing the Firefox OS specific APIs.
2015-07-06 09:05:00 -04:00
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
e6131fc8b8 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
2128198065 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Alastor Wu
6945fdd8f7 Bug 1157121 - Add speaker status checking. r=baku 2015-04-29 15:08:12 +08:00
Andrew McCreight
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Ehsan Akhgari
ef487c9722 Back out bug 1154243 since mWindow is an nsIDOMWindow
Landed on a CLOSED TREE
2015-04-14 08:54:59 -04:00
Ehsan Akhgari
805924c431 Bug 1154243 - Avoid calling QueryInterface in AudioChannelAgent::GetWindowVolume() unnecessarily; r=baku 2015-04-14 08:31:38 -04:00
Ehsan Akhgari
063ba50ca5 Bug 1153915 - Null check the window in AudioChannelService::WindowDestroyedEnumerator(); r=baku 2015-04-14 08:31:37 -04:00
Andrea Marchesini
844dd30c5f Bug 1147819 - Any media element should be stopped by the AudioChannelService when the window is destroyed, r=ehsan 2015-04-08 09:24:04 +01:00
Ehsan Akhgari
5cccea6f0f 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
Alastor Wu
ff126511f0 Bug 1089526 - Change speaker state. r=baku 2015-02-16 10:50:56 +08:00
Alastor Wu
fe34fb1a4e Bug 1133449 - [B2G] The default audio type didn't be set correctly when the call screen app is launched. r=baku 2015-02-25 18:46:35 +08:00
Alastor Wu
c0f8ea7c78 Bug 1133449 - [B2G] The default audio type didn't be set correctly when the call screen app is launched. r=baku 2015-02-25 18:46:11 +08:00
Alastor Wu
c4fd8fe4d3 Bug 1092346 - At the end of a call the proper volume control channel is not restored in the dialer app. r=baku. 2015-02-04 10:10:22 +08:00
Ehsan Akhgari
a43b88b0eb Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
Wes Kocher
c78183d68d Backout c034dba7a417 2015-01-12 14:46:48 -08:00
Ehsan Akhgari
2696a40dc5 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 16:35:06 -05:00
Dave Huseby
2dd498d6d5 Bug 1107681 - fix up the dom uses of WrapptedJSToDictionary to use the cx-less interface. r=bholley 2014-12-29 11:56:00 +01:00
Ehsan Akhgari
20474e5ba7 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Mike Hommey
21ec48314e Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Andrea Marchesini
dd74781a2b Bug 1004306 - AudioChannelService should drop references to Agents when their window is destroyed, r=mchen, r=rlin 2014-10-17 16:29:39 +01:00
Mike Habicher
dda4a3a8c0 Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Ryan VanderMeulen
234d711b8c Backed out changeset ed586ca080c0 (bug 1053966) for the same Mnw permafails it was backed out for previously. 2014-09-16 16:54:25 -04:00
Mike Habicher
04a56fc028 Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00