Commit Graph

254 Commits

Author SHA1 Message Date
Mike Hommey
c2a27deef9 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
8fd95ad480 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ehsan Akhgari
f45a3fcf07 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
e2e326a9c4 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
3fc836363c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Randy Lin
4eaaf1ac17 Bug 1055920 - [B2G][AudioChannel] Avoid to create unnecessary AudioChannel instance on child process. r=baku 2014-08-29 14:10:16 +08:00
Bobby Holley
30602c16ab Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
8c15c6ab96 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
b6d099f558 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Mike Hommey
cbe32e4bb3 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Andrea Marchesini
2fb6da5400 Bug 1044773 - the window can be null when AudioChannelAgent is created, r=roc 2014-08-05 15:05:58 +01:00
Star Cheng
aa1a273275 Bug 1018825 - Special check for content channel when the channel is hidden. r=mchen 2014-07-28 18:55:51 +08:00
Mike Hommey
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Alexandre Poirot
f5412abfea Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Mike Hommey
7ca0de0fb4 Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
5659a611dd Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
af37eab57f Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
Jonathan Griffin
d8167428d6 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
32f4c0930e Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
c981769b72 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey
9ae3c48776 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Alexandre Poirot
1a463bf842 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Andrea Marchesini
407e08395e Bug 1016277 - Telephony AudioChannel policy: LIFO r=mchen
--HG--
rename : dom/base/test/audio.ogg => dom/audiochannel/tests/audio.ogg
2014-07-10 15:06:23 +02:00
Jan de Mooij
f3876da607 Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Andrea Marchesini
3af8174d93 Bug 1027172 - patch 1 - AudioChannelService should send notifications at the same way in IPC or not., r=mchen 2014-06-24 22:15:12 -07:00
Benoit Jacob
84b13c683d Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Jose Antonio Olivera Ortega
317e98ac11 Bug 1006380 - Set phone in PHONE_STATE_IN_COMMUNICATION audio state when telephony audio channel is in use. r=mchen 2014-05-29 09:20:42 +02:00
Chris Peterson
ed406b4edb Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug 2014-04-20 00:36:40 -07:00
Benoit Jacob
a8f6441b81 Bug 987290 - Tweak AudioChannel enum conversions to please typed enums - r=ehsan 2014-04-25 22:34:04 -04:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Blair McBride
64d3a32d11 Backed out 2 changesets (bug 987290). r=sheriff
Backed out changeset 4ad1f662f521 (bug 987290)
Backed out changeset 080ff1f86465 (bug 987290)
2014-04-27 20:41:58 +12:00
Birunthan Mohanathas
c8c6722bb4 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Benoit Jacob
48b2ef6dad Bug 987290 - Tweak AudioChannel enum conversions to please typed enums - r=ehsan 2014-04-25 22:34:04 -04:00
Marco Chen
c300e98190 Bug 999350 - Change initial values of AudioChannelService::mCurrentHigherChannel and mCurrentVisibleHigherChannel to -1 and add test case for audio-channel-change & visible-audio-channel-change of mozChromeEvent. r=baku 2014-04-25 18:22:17 +08:00
Ehsan Akhgari
13ab8c79dd Bug 998733 - Mark the audio channel interfaces as non-scriptable; r=smaug 2014-04-24 12:06:12 -04:00
Andrea Marchesini
8204cc0528 Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Carsten "Tomcat" Book
c3dea3f373 Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE 2014-04-10 13:18:18 +02:00
Andrea Marchesini
af24d3be6d Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Neil Rashbrook
88a9233a1e Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Andrea Marchesini
d849d65073 Bug 983984 - Default AudioChannel from a pref, r=ehsan, r=roc, r=mchen 2014-03-20 10:45:55 +00:00
Andrea Marchesini
05bde413ca Bug 923247 - patch 3 - audio-active/inactive notifications per window, r=ehsan, r=roc
--HG--
rename : content/html/content/test/wakelock.ogg => dom/base/test/audio.ogg
2014-03-11 10:47:25 +00:00
Andrea Marchesini
7c2d706f91 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Andrea Marchesini
dff9be0a40 Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-11 10:46:04 +00:00
Ed Morley
a43bffd607 Backed out changeset d86a702e24c0 (bug 923247) for build failures; CLOSED TREE 2014-03-10 17:04:25 +00:00
Ed Morley
301dd385b6 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Ed Morley
d968ed8604 Backed out changeset d19f076a7451 (bug 923247) 2014-03-10 17:04:01 +00:00
Andrea Marchesini
4f25ac61b4 Bug 923247 - patch 3 - audio-active/inactive notifications per window, r=ehsan, r=roc
--HG--
rename : content/html/content/test/wakelock.ogg => dom/base/test/audio.ogg
2014-03-10 16:36:24 +00:00
Andrea Marchesini
19518c8a2c Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Andrea Marchesini
18de276757 Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-10 16:36:07 +00:00
Marco Chen
87c19ce54e Bug 968921 - "audio-channel-change" event should consider the audio channels in the background even there is an one on the foreground. r=baku 2014-02-17 18:58:12 +08:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Bruce Sun
65654ea338 Bug 947856 - Mute the background content audio channel when playing any foreground normal video channel. r=mchen 2013-12-16 13:08:03 +08:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Randy Lin
4f9eb8e54d Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas 2013-11-25 12:50:03 +13:00
Michael Shuen
6ace909ece Bug 940185 - Build dom/audiochannel in unified mode. r=bzbarsky 2013-11-19 10:37:58 -05:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Tom Schuster
f052cdba92 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2 Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage. 2013-11-17 16:39:25 +01:00
Tom Schuster
a12aa024e6 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ms2ger
786aa40195 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Marco Chen
200c906493 Bug 915507 - Modify class Agent to inherit nsSupportsWeakReference then circular reference between Agent & AudioChannelAgent can be released. r=baku 2013-10-15 16:55:37 +08:00
Marco Chen
3b00fd5221 Bug 923173 - Use NS_WARNING for unexpected name to avoid crashing. r=ehsan 2013-10-14 18:45:35 +08:00
Bruce Sun
5758ba258e Bug 855208: Allow one newly created content channel to play in the background. r=mchen 2013-09-17 15:46:06 +08:00
Andrea Marchesini
9e745b8565 Bug 923776 - AudioChannelService should not send notifications and/or use callbacks when XPCOM is shutting down, r=ehsan 2013-10-08 08:30:04 +02:00
Andrea Marchesini
6054eba3e3 Bug 923704 - AudioChannelService should check if obs is null before using it, r=ehsan 2013-10-08 08:27:23 +02:00
Andrea Marchesini
9c9bed6005 Bug 923497 - Crash in AudioChannelService when the browser is closed, r=ehsan 2013-10-03 14:40:53 -04:00
Ms2ger
df62fb8b0f Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ehsan Akhgari
fe43f6784d Bug 920292 - Part 1: Stop passing string literals as the first argument to MOZ_ASSERT; r=Waldo 2013-10-01 08:25:08 -04:00
Nathan Froyd
98723f4c48 Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan 2013-09-10 16:56:05 -04:00
JW Wang
c2ec690c06 Bug 894249 - Add ability to associate video with a channel so that it can interrupt the background content channel. r=mchen, r=kinetik, r=bent 2013-09-18 11:46:22 +08:00
Marco Chen
90abe273e3 Bug 823273 - Part 5: Music volume should be faded when notification sound is on going - Update tests. r=baku 2013-09-02 17:45:44 +08:00
Marco Chen
320c38a54b Bug 823273 - Part 1: Music volume should be faded when notification sound is on going - AudioChannel changes. r=baku 2013-09-02 17:45:44 +08:00
Marco Chen
f80b1cc06c Bug 855655 - [AudioChannelManager] Add New Attribute for Setting Default Control Volume Channel. r=baku 2013-09-12 20:26:03 +08:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Ms2ger
2fab82586f Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Brian O'Keefe
3dadb0e396 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Jon Coppeard
fd4d274d46 Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ac22f0d0ad Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Ms2ger
7d7359c752 Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps 2013-07-24 09:23:06 +02:00
Marco Chen
182c8eb9e0 Bug 876334 - Gecko should use AudioChannelType to control volume not stream types. r=mwu, r=baku 2013-07-18 13:22:36 +08:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Mike Hommey
e9ee5bb8ee Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Justin Lebar
09d2312322 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Marco Chen
6e78f8eb0c Bug 847255 - [Bluetooth/AudioChannel] A2DP failed to start session due to music resume too fast during SCO is disconnecting. r=baku 2013-04-29 10:47:15 +08:00
Justin Lebar
7908e05f22 Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey 2013-04-25 20:53:26 -04:00
Andrea Marchesini
e23abdeffe Bug 864518 - HTMLMediaElement::mAudioChannelAgent not declared to CC, r=bz
Bug 864518 - HTMLMediaElement::mAudioChannelAgent not declared to CC, r=bz
2013-04-23 08:28:00 -07:00
Masatoshi Kimura
3a3e6ebe70 Bug 859020 - Remove the MSVC exemption for FAIL_ON_WARNINGS in dom. r=bz 2013-04-21 05:36:43 +09:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Justin Lebar
4f0b7a659d Bug 857653 - Fix leak in AudioChannelAgent by making it hold a weak ref to nsHTMLMediaElement. r=bz 2013-04-03 16:35:05 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Alive Kuo
68f351e7c7 Bug 853454 - Fix non-normal audio channel visibility state error. r=baku 2013-03-27 12:04:32 +08:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ms2ger
ecaff4e0d2 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Andrea Marchesini
5885f81184 Bug 845871 - Strong ASSERT for removing elements in AudioChannelService. a=jlebar 2013-02-28 14:22:59 -05:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Marco Chen
08ef823f28 Bug 836655 - Modify unit test for adapting change in this bug. r=baku 2013-02-25 16:55:24 +08:00
Marco Chen
9763f96e0e Bug 836655 - [Audio] To remove ChildID if there is no content channel playing in foreground. And only send audio-channel-changed with normal when ChildID in the background has content channel in playing state. r=baku 2013-02-25 16:54:07 +08:00
L. David Baron
0476863f7c Backed out changesets b093ba2c7ff9 and 0acbd06d48a9 (Bug 836655) for failing unit test. 2013-02-18 01:15:24 -08:00
L. David Baron
8279b0453d Bug 836655: Fix bustage ("comparison between signed and unsigned integer expressions", warnings-as-errors) by using Contains rather than IndexOf. 2013-02-18 00:54:39 -08:00
Marco Chen
7666800708 Bug 836655 - [Audio] Remove ChildID if there is no content channel playing in foreground and only send audio-channel-changed with normal when ChildID in the background has content channel in playing state. r=baku
--HG--
extra : rebase_source : 7c047f8643ca32920128fac51f92eb50dd1f4e30
2013-02-18 14:30:32 +08:00
Andrea Marchesini
32ae77ede9 Bug 843417 - LMK will never kill the Musicplayer app. r=mchen, f=jlebar 2013-02-26 12:02:32 -05:00
Justin Lebar
81e5bc4c3f Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 15:41:29 -05:00
Marco Chen
5435174ea2 Bug 835454 - [Audio] AudioChannelService didn't notify agents to call getMuted() when a content channel's visibility is changed. r=baku, a=tef+ 2013-01-30 10:54:07 +08:00
Andrea Marchesini
aed507c9dd Bug 828283 - Apps playing sound should not be muted when the screen is put to sleep., r=sicking 2013-01-28 12:47:18 +01:00
Andrea Marchesini
132caaa2c6 Bug 832665 - Switching back and forth between the music app and FM radio (using home key) causes some unexpected behavior., r=mchen 2013-01-25 16:12:17 +01:00
Ed Morley
e17c651da5 Backed out changeset a0c4559f5d2e for cpp unitest orange 2013-01-25 13:36:17 +00:00
Andrea Marchesini
c7f7db7502 Bug 832665 - Switching back and forth between the music app and FM radio (using home key) causes some unexpected behavior., r=mchen, a=tef+ 2013-01-25 13:24:08 +01:00
Marco Chen
b386752fe6 Bug 830611 - [Audio] Add dom_audioagent.xpt into package-manifest.in. r=roc 2013-01-17 16:18:22 +08:00
Andrea Marchesini
574e475e6c Bug 830672 - audio-channel-changed is properly when an audio channel is visible, r=mchen 2013-01-16 14:38:51 +01:00
Andrea Marchesini
5941660e84 Bug 829561 - AudioChannelService needs some unit test, r=mchen 2013-01-16 14:34:07 +01:00
Andrea Marchesini
937ab476fc Bug 828200 - Any audio channel should play when visible. r=mchen 2013-01-16 14:29:57 +01:00
Andrea Marchesini
5ac150aaba Bug 830648 - AudioChannelAgent::StartPlaying() should check if already registered to AudioChannelService., r=mchen 2013-01-15 15:31:19 +01:00
Andrea Marchesini
fb485abba1 Bug 829309 - Assertion re-entering a hashtable in nsAudioChannelService, r=mrbkap 2013-01-10 23:56:20 +01:00
Andrea Marchesini
e23a78e9c5 Bug 827773 - audio-channel-changed should contain 'none' instead 'default' when nothing is playing, r=sicking 2013-01-09 08:20:34 +01:00
Andrea Marchesini
0da6592811 Bug 825674 - Installed apps do not get affected by the hardware volume control, r=sicking 2013-01-09 08:18:16 +01:00
Kan-Ru Chen (陳侃如)
87e76c076e Bug 793105 - Add a "backgroundPerceivable" class for audio-channel-content. r=jlebar,roc 2013-01-05 13:03:51 +08:00
Randy Lin
02ef044da3 Bug 825635 - Volume control stops working in FM when headset is unplugged and plugged. r=baku 2013-01-03 13:41:14 +08:00
Andrea Marchesini
99f51f6a77 Bug 818708 - Content audio channels should be muted if in background when another content audio channel is playing. r=sicking 2013-01-03 17:18:43 -05:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Andrea Marchesini
d284785a12 Bug 820704 - AudioChannelService must handle children quitting unexpectedly. r=jlebar 2012-12-28 12:57:35 -05:00
Andrea Marchesini
14920bafa9 Bug 823784 - B2G crash: nsHTMLMediaElement::UpdateAudioChannelPlayingState r=smaug
Don't delete a smart pointer; it can result in a double-free.
2012-12-21 00:53:00 -08:00
Marco Chen
1834026fda Bug 819858 - Add AudioChannelAgent to AudioManager for telephony joining AudioChannelService. r=baku, a=blocking-basecamp 2012-12-13 09:45:10 +08:00
Marco Chen
1441c9d3d2 Bug 819275 - [Audio] The Usage of nsRefPtr for AudioChannelService is Wrong. r=roc, a=blocking-basecamp 2012-12-07 19:31:57 +08:00
Marco Chen
96871bc0d1 Bug 818824 - Fire an event when no audio channel is playing now. r=baku, a=blocking-basecamp 2012-12-07 19:46:18 +08:00
Marco Chen
011de3c012 Bug 815069 - Part 3: Adapt audio channel agent to nsHTMLMediaElement and AudioChannelService. r=roc, a=blocking-basecamp
[Audio] A mechanism for Gecko components without media element to join audio competing policy
2012-12-06 23:25:18 +08:00
Marco Chen
2d61630827 Bug 815069 - Part 2: AudioChannelAgent Implementation. r=roc, a=blocking-basecamp
[Audio ] mechanism for Gecko components without media element to join audio competing policy.
2012-12-06 22:29:20 +08:00
Marco Chen
8fa208af42 Bug 815069 - Part 1: nsIAudioChannelAgent.idl r=roc, a=blocking-basecamp
[Audio ] mechanism for Gecko components without media element to join audio competing policy.
2012-12-06 15:57:00 +08:00
Marco Chen
84186b2d6e Bug 815322 - Phone rings on incoming call will pause audio. r=kinetik, a=blocking-basecamp
1. Add a new audio channel type called ringer.
  2. Add logic into AudioChannelService for ringer.
2012-12-06 17:11:19 +08:00
rlin@mozilla.com
628f1cfb77 Bug 815445 - Hook up telephony audio to audio channels backend r=baku 2012-12-06 18:11:06 +08:00
Chris Jones
2cdb311c47 Bustage fix for bug 805333. a=bustage 2012-12-05 19:34:17 -08:00
Andrea Marchesini
1f0b461ed1 Bug 805333, Patch 5 - mozAudioChannel for MediaElement - IPC. r=cjones a=blocking-basecamp 2012-12-05 19:01:58 -08:00