Commit Graph

83 Commits

Author SHA1 Message Date
Botond Ballo
35efbf4f5a Bug 1073003 - Fix more -Wunused-variable and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : rebase_source : bb768dd07c19dc39994d5cca6e0f59048d12130a
2014-12-17 18:05:28 -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
Thomas Zimmermann
7fffbfb146 Bug 1053173: Use |LazyIdleThread| for FM tuning, r=mwu
FM tuning is performed rarely, usually only when switching stations
on the radio, or at irregular intervals. Most of the time, the FM
tune thread is idle.

This patch converts the FM tune thread to be a |LazyIdleThread|. It
get's cleaned up after a small timeout (currently 5 seconds), so it
won't occupy resources while the user is actually listening to the
radio.
2014-11-17 10:23:49 +01:00
Michael Wu
432545c42a Bug 1075727 - Update rdsEnabled based on the return value of hal::EnableRDS, r=pzhang 2014-10-01 13:22:53 -04:00
Steve Fink
7b80880b2e Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
Peter Van der Beken
4b7e268d87 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Michael Wu
4f8045c96d Bug 864327 - Support FM RDS in WebAPI, r=ehsan,pzhang,khuey 2014-09-30 12:57:52 -04:00
Michael Wu
af351ee7d3 Backed out changeset dfbae87208dd (Bug 864327) for red 2014-09-30 13:39:43 -04:00
Michael Wu
b157d690d8 Bug 864327 - Support FM RDS in WebAPI, r=ehsan,pzhang,khuey 2014-09-30 12:57:52 -04:00
Ehsan Akhgari
01dafe9260 Bug 1072701 - Build some Firefox OS specific DOM code in unified mode; r=baku
--HG--
extra : rebase_source : 4a8812c18341c9851fb3265e1f8e6c77a95911c5
2014-09-25 10:10:42 -04: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
Kyle Machulis
267d286990 Bug 846200 - Update Marionette JS WebAPI Tests to use new settings-api permissions; r=echou r=echen
--HG--
extra : rebase_source : 36a9f3e055a2ff7bcf624e9ef7f8f1e4619de6da
2014-08-27 21:01:29 -07:00
Ryan VanderMeulen
4f864e03ab Backed out 11 changesets (bug 1059079, bug 1015518, bug 900551, bug 846200) for Gaia UI test failures on a CLOSED TREE.
Backed out changeset d85b4e48b3b4 (bug 1015518)
Backed out changeset 663b73ba69ec (bug 1015518)
Backed out changeset 5cf1cb5fa022 (bug 900551)
Backed out changeset b953dd5bfdaa (bug 900551)
Backed out changeset a2b6d7c84100 (bug 900551)
Backed out changeset ceb79fe83d15 (bug 900551)
Backed out changeset f6acf344fbf0 (bug 900551)
Backed out changeset fa269ea53937 (bug 846200)
Backed out changeset b89c84a850f9 (bug 846200)
Backed out changeset b7a7dfbe4e3f (bug 846200)
Backed out changeset c6f54d821c11 (bug 1059079)
2014-08-28 12:49:49 -04:00
Kyle Machulis
5af27ceec0 Bug 846200 - Update Marionette JS WebAPI Tests to use new settings-api permissions; r=echou r=echen 2014-08-27 21:01:29 -07: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
Pin Zhang
5f28388f4b Bug 1047759: Clear FMRadioService's StaticRefPtr so it is not leaked at shutdown. r=khuey 2014-08-04 20:04:00 -07:00
Michael Wu
efbe89d0cf Bug 938809 - Run seek/tune calls off the main thread, r=pzhang,khuey 2014-07-14 17:56:10 -04:00
Carsten "Tomcat" Book
ef7fae59b5 Backed out changeset b60084fa9d5b (bug 938809) 2014-07-30 05:50:59 +02:00
Michael Wu
5083a09cbd Bug 938809 - Run seek/tune calls off the main thread, r=pzhang,khuey 2014-07-14 17:56:10 -04:00
Mike Hommey
33ef4f2c39 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09: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
Michael Wu
dae5613b9b Bug 1037646 - Improve FM radio setup code, r=pzhang 2014-07-14 13:06:19 -04: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
Josh Aas
bba4c769bc Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05: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
Pin Zhang
47c3d9dc2e Bug 997064 - Do not call navigator.mozFMRadio from system app. r=baku
- Revert "Bug 938015 - Do not turn off FM radio when enabling airplane mode."
- Use setting "airplaneMode.enabled" instead of "ril.radio.disabled"
2014-04-25 17:24:00 -04:00
Boris Zbarsky
fdbb455d4f Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
3f26a82832 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Masayuki Nakano
b185105992 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Kyle Huey
f7eafc09a9 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07: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
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
Sam Joch
c47f9b1be2 Bug 968215 - SettingsService needs to have a callback when transaction are completed. r=bent 2014-02-07 12:19:58 +01:00
Tom Schuster
5e3191afd2 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Pin Zhang
0e0ea26b1b Bug 938015 - Do not turn off FM radio when enabling airplane mode. r=khuey 2014-01-09 10:22:19 +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
Vasanthakumar Pandurangan
0cf4438d15 Bug 953159 - Handle antenna switch state unknown error in fm. r=pzhang 2013-12-27 11:18:40 +05:30
Pin Zhang
e7063dfddd Bug 949855 - No sound comes out when FM Radio is first time started. r=mchen 2013-12-18 13:30:56 +08:00
Ms2ger
554db665e5 Bug 937258 - Part a: Remove empty makefiles; r=gps 2013-11-28 15:25:40 +01:00
Marco Chen
45ebb2d743 Bug 935644 - Only FMRadio client who initiated the request can enable AudioChannelAgent. r=zhang a=koi+ 2013-11-20 15:07:03 +08: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