Commit Graph

2767 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
63aa1bf0d5 Backed out changeset afe3d65b74b6 (bug 1214148) on developers request for causing regressions 2015-12-15 14:45:06 +01:00
Sotaro Ikeda
2e70fe4ba2 Bug 1229234 - Enable audio_is_output_device() on ICS r=alwu 2015-12-13 18:13:02 -08:00
Andrea Marchesini
ccdb3cddb8 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Phil Ringnalda
61ed209b74 Back out 3 changesets (bug 1214148) for b2g test_browserElement_inproc_AudioPlayback.html, test_browserElement_oop_AudioChannel.html, etc. failures
CLOSED TREE

Backed out changeset e716d9ac93d7 (bug 1214148)
Backed out changeset 5f693237c8c1 (bug 1214148)
Backed out changeset 3a4865d79416 (bug 1214148)
2015-12-09 18:19:33 -08:00
Andrea Marchesini
669c119d14 Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-09 16:46:25 -05:00
Chris Peterson
57d527d933 Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
Nathan Froyd
04ab23720a Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Wes Kocher
6eb7a2c84f Merge b2ginbound to central, a=merge 2015-11-24 16:52:38 -08:00
Tim Huang
7073bdf44e Bug 1225549 - Modify the data type of mThreshold of NetworkParams to long long from long. r=ettseng 2015-11-18 18:14:00 +01:00
sajitk
7872dee11c Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini 2015-11-23 11:09:25 -08:00
Sotaro Ikeda
0cf34a3925 Bug 1226483 - Add ASSERT check to AudioManager::SelectDeviceFromDevices() r=alwu 2015-11-20 03:19:28 -08:00
Wes Kocher
d68c48e484 Merge inbound to m-c a=merge 2015-11-16 17:20:42 -08:00
Bevis Tseng
147caf7ecb Bug 1110619 - Part 2: Implementation Changes. r=echen 2015-11-10 15:30:48 +08:00
Carsten "Tomcat" Book
a35e0e3fb5 Merge mozilla-central to b2g-inbound 2015-11-13 14:39:48 +01:00
Kyle Huey
662c429aaa Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
Tim Huang
ddba39708a Bug 1209654 - Modify the type of the threshold of addAlarm() and getAllAlarms() to long long from long, and add test cases. r=ettseng, r=bz 2015-11-12 19:01:00 +01:00
Andrea Marchesini
d13d25087b Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug 2015-11-16 17:34:52 +00:00
Sotaro Ikeda
a98419f28d Bug 1222564 - Save audio volume to database r=alwu 2015-11-10 04:28:03 -08:00
Mike Hommey
ab61f03e7f Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Bevis Tseng
344fbfabb5 Bug 1218721 - Part 2 - Improve Test Coverage. r=echen 2015-10-30 20:24:02 +08:00
Bevis Tseng
50dda7a56e Bug 1218721 - Part 1 - Always Insert Name/Number when Providing IccContact Response. r=echen 2015-10-30 20:22:07 +08:00
Wes Kocher
c43e982124 Merge inbound to central, a=merge 2015-10-28 17:00:22 -07:00
Samael Wang
b7fa484f87 Bug 1209892 - Add marionette test case for timezone. r=edgar 2015-10-27 15:41:07 +08:00
Sotaro Ikeda
7d61bddea5 Bug 1196724 - Refactoring of AudioManager r=alwu 2015-10-28 07:11:05 -07:00
Birunthan Mohanathas
68c551a17a Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
3c530551ba Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Wes Kocher
a274f1a1f0 Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Jessica Jong
09d7adcec2 Bug 1216853 - B2G RIL: chain promises properly in test_network_interface_mtu.js. r=echen 2015-10-22 15:43:48 +08:00
Nathan Froyd
9c5965b035 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Nathan Froyd
e504437747 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Carsten "Tomcat" Book
529dbcc2ac merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Dave Hylands
b49239eef9 Bug 1177374 - Call realpath on volume mount points so thatVolumeService::GetVolumeByPath works properly. r=achen 2015-10-15 11:42:10 -07:00
Jessica Jong
6d22da81c0 Bug 1214518 - B2G RIL: wait for emulator pending command before calling finish(). r=echen 2015-10-15 10:51:14 +08:00
Dave Hylands
9bce78fbcc Bug 1205028 - Don't tell MTP server about files that it added/modified. r=alchen
With this patch, we introduce mtp-watcher-notify, used to tell device storage
about new files added by MTP, and mtp-watcher-update, used to tell MTP about
device storage changes.

By using 2 new messages, rather than trying to reuse file-watcher-notify and
file-watcher-update, we prevent update "loops".
2015-10-13 15:35:11 -07:00
Edgar Chen
93a3f5ed08 Bug 1213547 - [Cellbroadcast] Split test_ril_worker_cellbroadcast.js into smaller tests. r=btseng 2015-10-10 12:05:38 +08:00
Tom Schuster
f2a20020e1 Bug 980945 - Followup: Fix b2g test on CLOSED TREE. r=tree-fairy 2015-10-15 19:23:11 +02:00
Tooru Fujisawa
65663915d7 Bug 1217093 - Remove for-each from dom/. r=smaug 2015-10-19 02:00:50 +09:00
Andrew McCreight
b6e32c07fe Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Carsten "Tomcat" Book
9f1c0bf17d Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
9eaa0d1abc Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
53a85861c1 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Carsten "Tomcat" Book
0cce113212 Merge m-c to b2g-i on a CLOSED TREE 2015-10-05 13:55:18 +02:00
XiaoLe Sun
90a1260fad Bug 1187262 - Let the flag 'Services.io.offline' reference the state of tethering. r=jjong 2015-10-05 09:59:08 +08:00
Phil Ringnalda
35a997fdde Bug 1207936 - Disable test_ril_worker_cellbroadcast.js for constant timeouts 2015-10-04 18:35:12 -07:00
Alastor Wu
08639cbadb Bug 1196358 - update volume setting to database when the volume changing. r=sotaro. 2015-09-30 16:14:59 +08:00
Carsten "Tomcat" Book
d3d65f378b merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Dave Hylands
49340cb306 Bug 1195166 - AutoMounter: add ignore command to allow volumes to be ignored. r=alchen 2015-09-25 13:23:32 -07:00
Wes Kocher
b780542d9b Merge m-c to inbound, a=merge 2015-09-25 18:02:38 -07:00
Hayden Huang
6c647e4c79 Bug 1175447 - mono audio support. r=padenot, r=sotaro
This patch is to enable mono audio option for those who has full hearing loss in one ear.
With this feature, they can get the complete audio with using one ear.
2015-08-06 14:30:22 +08:00
Sotaro Ikeda
1b78f3e42e Bug 1208155 - Make hal functions explicit in AudioManager r=alwu 2015-09-25 04:56:28 -07:00