Commit Graph

1855 Commits

Author SHA1 Message Date
Boris Zbarsky
35fca5eeeb 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
56f44fdf10 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
Bevis Tseng
37c6e279dc Bug 990918 - Part 2: Add Xpcshell Test Case for setCellBroadcastSearchList(). r=htsai 2014-04-03 16:46:51 +08:00
Bevis Tseng
5e679ebe22 Bug 990918 - Part 1: Make RIL compatible for both new/old formats of ril.cellbroadcast.searchlist. r=htsai 2014-04-03 16:33:56 +08:00
Ryan VanderMeulen
55244323f3 Merge b2g-inbound to m-c. 2014-04-07 22:29:35 -04:00
Dimi Lee
c9fbadf21a Bug 989135 - [B2G][Component][Location] Having a quotation mark in the Wi-Fi hotspot password or SSID is not handled gracefully. r=vchang 2014-04-07 14:26:53 +08:00
Ryan VanderMeulen
620c42bcde Merge inbound to m-c. 2014-04-04 14:51:38 -04:00
Szu-Yu Chen [:aknow]
9557433410 Bug 990467 - Part 2: Add pending outgoing call. r=hsinyi 2014-04-04 08:18:17 -04:00
Szu-Yu Chen [:aknow]
59e0ad2af1 Bug 990467 - Part 1: Refactor: Extract function of adding new voice call. r=hsinyi 2014-04-04 08:17:59 -04:00
Masayuki Nakano
ff8b968574 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Edgar Chen
bdd40d3fae Bug 990383 - Set default value of 'supportedNetworkTypes' as 'wcdma/gsm'. r=hsinyi 2014-04-01 15:11:36 +08:00
snigdha
90f0f64d5b Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Masayuki Nakano
54d409dfca 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
Phil Ringnalda
8b68d74cfd Merge b-i to m-c 2014-03-29 09:18:08 -07:00
Vicamo Yang
cdf964dedb Bug 978709 - 5/6: really add an IPV4V6 option. r=hsinyi 2014-03-29 15:18:26 +08:00
Edgar Chen
2fc8f9200b Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Jessica Jong
0cb92ca61e Bug 978709 - 4.e/6: nsIRILNetworkInterface changes. r=vicamo 2014-03-29 15:18:22 +08:00
Jessica Jong
723face563 Bug 978709 - 4.d/6: secondary routes changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:20 +08:00
Jessica Jong
c8544cb2c2 Bug 978709 - 4.c/6: NetworkUtils changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:19 +08:00
Jessica Jong
899fec8702 Bug 978709 - 4.b/6: NetworkService changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:18 +08:00
Jessica Jong
e7b797a003 Bug 978709 - 4.a/6: idl changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:17 +08:00
Vicamo Yang
42e98bca9c Bug 978709 - 3.b/6: support multiple addresses in ril_worker. r=hsinyi 2014-03-29 15:18:16 +08:00
Vicamo Yang
2651a589d5 Bug 978709 - 3.a/6: RIL_Data_Call_Response_v5 has also DNS server list. r=hsinyi 2014-03-29 15:18:15 +08:00
Vicamo Yang
e08eee5c24 Bug 978709 - 2.e/6: remove unused data call enumeration stuff. r=hsinyi 2014-03-29 15:18:14 +08:00
Vicamo Yang
c763a82d83 Bug 978709 - 2.d/6: don't throw in _deliverDataCallCallback loop. r=hsinyi 2014-03-29 15:18:13 +08:00
Vicamo Yang
3284f1c5d5 Bug 978709 - 2.c/6: completely remove nsIRILDataCallback. r=hsinyi 2014-03-29 15:18:12 +08:00
Vicamo Yang
ef958c57b3 Bug 978709 - 2.b/6: don't use nsIRILDataCallback in GonkGPSGeolocationProvider. r=kanru
nsIRILDataCallback has been abused in RadioInterfaceLayer.js and is
becoming an RIL internal utility.  Besides, nsIRILDataCallback has
also racing problem as described in bug 976897.  We should really use
NetworkManager observer events to replace the notification mechanism
here.
2014-03-29 15:18:11 +08:00
Vicamo Yang
8dd297dbbc Bug 978709 - 2.a/6: remove nsIRILDataCallback::receiveDataCallList. r=hsinyi
nsIRILDataCallback::receiveDataCallList has been obsoleted for a long
long time and all the existing classes that implement
nsIRILDataCallback leave the function body empty.  Since we're going
to change the object layout of a |datacall| JS object, removing
related but obsoleted functions saves us some time.
2014-03-29 15:18:10 +08:00
Vicamo Yang
3c86c42f4c Bug 978709 - 1/6: remove nsINetworkInterface::broadcast. r=hsinyi 2014-03-29 15:18:09 +08:00
Boris Zbarsky
d4a40b2bea Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Wes Kocher
7d471d658b Merge b2g-inbound to m-c 2014-03-27 19:37:17 -07:00
Bevis Tseng
a33d1467f5 Bug 981077 - Part 3: Remove unused method of getClientIdByIccId(). r=vyang 2014-03-25 15:04:33 +08:00
Thomas Zimmermann
ea2c4302bc Bug 986440: Add missing field |number| for REQUEST_QUERY_CALL_FORWARD_STATUS, r=htsai
The field |number| is missing when REQUEST_QUERY_CALL_FORWARD_STATUS
gets invoked from RilContentHelper.js. This patch adds a test to the
function |queryCallForwardingStatus| for handling this case.

--HG--
extra : rebase_source : c56474a2023434ac3658c7771244c6380ca2a6e0
2014-03-27 10:35:30 +01:00
Thomas Zimmermann
2e711b04a9 Bug 986440: Check for |radioTech| in |voiceRegistrationState|, r=htsai
When starting up RIL, |radioTech| in |voiceRegistrationState| is not
defined before we received REQUEST_VOICE_REGISTRATION_STATE. This
patch adds an extra test to avoid the respective error message.

--HG--
extra : rebase_source : 19927ec9a3892606d81f3209ea470ce297d927d7
2014-03-27 10:35:24 +01:00
Thomas Zimmermann
a2623c2ab0 Bug 986440: Test for |options.rilMessageType| in REQUEST_GET_SMSC_ADDRESS handler, r=htsai
The response handler for REQUEST_GET_SMSC_ADDRESS expects the field
|rilMessageType| to be present in its options. This is not the case
if the request was generated from within ril_worker.js.

This patch handles this case by adding an extra test for the existance
of the field. The response handler will return without sending a reply
to the content helper. This is not a problem since the content handler
did not invoke the request anyway.

--HG--
extra : rebase_source : 211d5f4dc29dd99b745bc29d856c291175f156f1
2014-03-27 10:35:17 +01:00
Thomas Zimmermann
c217994116 Bug 986440: Return 'null' from RIL-worker function, r=htsai
One of the functions in ril_worker.js is supposed to return 'null'
on errors, but returns 'undefined' instead. This patch fixes the
problem.

--HG--
extra : rebase_source : 0f0c1cc06fb4bcb6fe034ab3c88890b351a6cad6
2014-03-27 10:35:09 +01:00
Yoshi Huang
c6f6c3646f Bug 987595 - B2G NFC: onpeerready isn't called. r=dimi 2014-03-25 19:14:41 +08:00
Ehsan Akhgari
af614574f6 Bug 986980 - Remove the classinfo from WifiGeoCoordsObject and WifiGeoPositionObject; r=bzbarsky
These objects are not exposed to Web content, so they don't need the
classinfo.
2014-03-24 23:39:23 -04:00
Doug Turner
308efc43ed Bug 987019 - Shutdown Wifi scanning after geolocation request has completed. r=kanru 2014-03-24 12:40:42 -07:00
Doug Turner
1b505adf19 Bug 977725 - MLS Geolocation seeding GONK GPS Provider. r=kanru 2014-03-22 00:42:55 -07:00
John Shih
54a51887c3 Bug 960426 - Part 4: Support Network Information API in Fifrefox OS. r=vchang 2014-03-17 14:33:48 +08:00
Doug Turner
ab6130fd89 Bug 989692 - Add GPS Debugging Logging. r=kchen 2014-03-24 21:58:18 -07:00
Neil Rashbrook
a8a5decf6f Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Vivien Nicolas
b2e05b2a68 Bug 985735 - dom/system/gonk/NetworkService.js: WARNING: no preprocessor directives found. r=gwagner 2014-03-20 13:01:34 +08:00
Jessica Jong
bae45ed494 Bug 984327 - Part 2: Modify test cases for dun. r=vicamo 2014-03-19 08:39:00 -04:00
Jessica Jong
6552af2779 Bug 984327 - Part 1: Include dun apn type in isNetworkTypeSecondaryMobile(...) and elsewhere. r=vicamo 2014-03-19 08:39:00 -04:00
Wes Kocher
01bb0237bc Merge inbound to m-c 2014-03-18 14:15:03 -07:00
Doug Turner
29bdc30869 Bug 928217 - Remove IsCoreLocationAvailable() method because it does the wrong thing. r=smichaud@pobox.com 2014-03-16 19:54:04 -07:00
Shawn Ku
216568d9b9 Bug 977433 - Part 1: RIL patch - B2G RIL: Handling LTE signal strength. r=HsinYi 2014-03-18 10:28:17 +08:00
Yoshi Huang
328762f66a Bug 933678 - B2G NFC: Add exposedProps for those objects passed to Gaia. r=dimi 2014-02-20 18:13:40 +08:00