Commit Graph

2780 Commits

Author SHA1 Message Date
Eugen Sawin
1926e0aa21 Bug 1205649 - [2.4] Add AbsoluteDeviceOrientation DOM event for compass heading orientation data. r=smaug 2016-01-21 18:14:33 +01:00
Eugen Sawin
3448500e15 Bug 1205649 - [1.1] Use relative orientation for DOM DeviceOrientation events by default. r=vlad 2016-01-21 18:14:33 +01:00
Edgar Chen
b3f69980b1 Bug 1239906 - Deprecate nsIRadioInterfaceLayer.getClientIdForEmergencyCall(). r=bevis 2015-10-24 19:57:20 +08:00
Bevis Tseng
93642058ae Bug 1236433 - Part 2: Adopt Wrapper in Network Utilities; r=edgar 2016-01-07 19:02:41 +08:00
Bevis Tseng
421eee70f3 Bug 1236433 - Part 1: Provide a Native Wrapper to Allow Fallback When property_get/set is Unavailable; r=edgar 2016-01-07 18:40:19 +08:00
Eugen Sawin
8a206627a5 Bug 1073224 - [1.2] Use SENSOR_ROTATION_VECTOR for DOM DeviceOrientation events on Android. r=vlad 2016-01-07 15:23:33 +01:00
Bevis Tseng
6a7e894777 Bug 1235697 - Part 2: Add Test Coverage. r=echen 2015-12-30 18:02:27 +08:00
Bevis Tseng
869ffc68f6 Bug 1235697 - Part 1: Workaround to Suppress the CB Message according to the settings. r=echen 2015-12-30 18:00:57 +08:00
Bevis Tseng
de0234e4ad Bug 1235110 - Part 2: Add Test Coverage. r=echen 2015-12-30 16:22:21 +08:00
Bevis Tseng
61e17ec62e Bug 1235110 - Part 1: Forbid the DATA DOWNLOAD message to be delivered to the App layer. r=echen 2015-12-30 16:19:28 +08:00
ywu
d7829546e7 Bug 1222899 - Handle geolocation-device-events callback. r=kchen
During this GPS engine is turned ON by the modem,
we make the location tracking icon visible to user.
2015-12-26 13:39:42 -05:00
Sotaro Ikeda
2e7d294907 Bug 1218629 - Save audio volume for each device to setting db r=alwu 2015-12-23 23:31:34 -08:00
Andrea Marchesini
d6528db902 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Carsten "Tomcat" Book
2b23cfe8d9 Backed out changeset afe3d65b74b6 (bug 1214148) on developers request for causing regressions 2015-12-15 14:45:06 +01:00
Sotaro Ikeda
6c48c54e0c Bug 1229234 - Enable audio_is_output_device() on ICS r=alwu 2015-12-13 18:13:02 -08:00
Andrea Marchesini
781ef4db10 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
2f1d036bc7 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
94b74b486b Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-09 16:46:25 -05:00
Chris Peterson
7f4c4d76a4 Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
Nathan Froyd
999dd36c0c 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
0a27106e93 Merge b2ginbound to central, a=merge 2015-11-24 16:52:38 -08:00
Tim Huang
0a54b05690 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
04d957e6a4 Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini 2015-11-23 11:09:25 -08:00
Sotaro Ikeda
b77bcf0c20 Bug 1226483 - Add ASSERT check to AudioManager::SelectDeviceFromDevices() r=alwu 2015-11-20 03:19:28 -08:00
Wes Kocher
69ec321b3a Merge inbound to m-c a=merge 2015-11-16 17:20:42 -08:00
Bevis Tseng
d8c4989af3 Bug 1110619 - Part 2: Implementation Changes. r=echen 2015-11-10 15:30:48 +08:00
Carsten "Tomcat" Book
eadbf98225 Merge mozilla-central to b2g-inbound 2015-11-13 14:39:48 +01:00
Kyle Huey
d9adfa1d30 Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
Tim Huang
6e25ba2068 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
fcd0bdfd34 Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug 2015-11-16 17:34:52 +00:00
Sotaro Ikeda
bf2e00487c Bug 1222564 - Save audio volume to database r=alwu 2015-11-10 04:28:03 -08:00
Mike Hommey
1db89374d8 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
5f87cea463 Bug 1218721 - Part 2 - Improve Test Coverage. r=echen 2015-10-30 20:24:02 +08:00
Bevis Tseng
24d30b464d Bug 1218721 - Part 1 - Always Insert Name/Number when Providing IccContact Response. r=echen 2015-10-30 20:22:07 +08:00
Wes Kocher
d758610e92 Merge inbound to central, a=merge 2015-10-28 17:00:22 -07:00
Samael Wang
2884cc7ee7 Bug 1209892 - Add marionette test case for timezone. r=edgar 2015-10-27 15:41:07 +08:00
Sotaro Ikeda
043739f917 Bug 1196724 - Refactoring of AudioManager r=alwu 2015-10-28 07:11:05 -07:00
Birunthan Mohanathas
a535083ab4 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
fffe5cc829 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Wes Kocher
276a64cd67 Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Jessica Jong
2f8b5549e6 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
e4e2da55c9 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
5254890206 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
362a517b9b merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Dave Hylands
8fcd4bc534 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
9463722ad6 Bug 1214518 - B2G RIL: wait for emulator pending command before calling finish(). r=echen 2015-10-15 10:51:14 +08:00
Dave Hylands
23f6a72c71 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
8a9cb95ffd Bug 1213547 - [Cellbroadcast] Split test_ril_worker_cellbroadcast.js into smaller tests. r=btseng 2015-10-10 12:05:38 +08:00
Tom Schuster
bfb70bf7f6 Bug 980945 - Followup: Fix b2g test on CLOSED TREE. r=tree-fairy 2015-10-15 19:23:11 +02:00
Tooru Fujisawa
8a3eb7d1bb Bug 1217093 - Remove for-each from dom/. r=smaug 2015-10-19 02:00:50 +09:00