Commit Graph

381 Commits

Author SHA1 Message Date
Kyle Huey
ef77922ac8 Bug 1046000: Shut down the wifi services. r=vchang
--HG--
extra : rebase_source : 121fb986ff42e414713f4ff8bab151289e9746f4
2014-07-30 19:31:18 -07:00
Jessica Jong
209775786d Bug 990458 - Part 4: WifiP2pManager changes to support updateNetworkInterface(). r=vchang 2014-07-29 16:44:29 +08:00
Jessica Jong
83651ccb14 Bug 990458 - Part 3: WifiWorker changes to support updateNetworkInterface(). r=vchang 2014-07-29 16:44:27 +08:00
Chuck Lee
47d84b66a5 Bug 1039220 - Fix judgement rule for valid property. r=hchang 2014-07-16 18:06:13 +08:00
Vincent Chang
7bddbe9a02 Bug 1034489 - [FirefoxOS_v1.4][Shark]Close WIFI while obtaining IP from AP and WIFI button can't be tapped for long. r=chulee 2014-07-16 16:10:21 +08:00
Vincent Chang
3f1c60cde3 Bug 1037301 - [Wifi] Close station info update timer when we disable the hotspot. r=hchang 2014-07-11 11:45:55 +08:00
Nicholas Nethercote
34ee1047b5 Bug 1037302 - Avoid excess string creation in WifiCommand.jsm's getConnectionInfoICS(). r=hchang.
This changes the code to use search() and indexOf() to find the boundaries of
the relevant values, and substring() to extract them. This reduces the number
of strings created on each invocation by 8x.

The patch changes the behaviour if a key appears more than once. With the old
code the last occurrence would be used. With the new code the first one is
used. Hopefully this doesn't matter.
2014-07-13 22:05:27 -07:00
Henry Chang
17098b8395 Bug 1022460 - Add wifi tethering test cases. r=vyang 2014-07-01 18:47:13 +08:00
Chuck Lee
d7457b5a05 Bug 1033948 - 0002. Change API naming in DOM. r=vchang 2014-07-04 14:37:55 +08:00
Harsh Pathak
e99f23fe2a Bug 643041 - Merge nsIX509Cert2 and nsIX509Cert3 into nsIX509Cert, and merge nsIX509CertDB2 into nsIX509CertDB. r=keeler
--HG--
extra : rebase_source : 5283c637e45dbee9f741d56cda54fdef1afce16e
2014-07-03 22:09:24 -07:00
Chuck Lee
2d322257ef Bug 1030591 - Send connectionInfoUpdate while IP change. r=vchang 2014-06-27 17:26:31 +08:00
Chuck Lee
d7184f6c43 Bug 1028044 - Use auth instead of autheap in phase2 settings. r=vchang 2014-06-24 17:41:38 +08:00
Chris Peterson
f1e70165c3 Bug 1024322 - Replace calls to MOZ_ASSUME_UNREACHABLE that have crept back into dom. r=smaug 2014-06-20 22:42:45 -07:00
Jim Blandy
b6b202b6bb Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Chuck Lee
dfd27459bc Bug 1023115 - Add retry count for EAP connection error. r=vchang 2014-06-20 10:37:43 +08:00
Henry Chang
202884eb68 Bug 1015901 - Add test cases for "update_config=1". f=vyang, r=vchang 2014-06-04 17:07:05 +08:00
Chuck Lee
dec59ac751 Bug 1020866 - Add IEEE8021X to WPA-EAP config. r=vchang 2014-06-13 12:00:10 +08:00
Nathan Froyd
460519a83f Bug 1025139 - use the correct symbol for CERT_AddTempCertToPerm in WifiCertService.cpp; r=bz 2014-06-13 14:16:13 -04:00
Vincent Chang
6b19c12207 Bug 1009725 - [B2G][Flame][Settings]Wi-Fi toggle button intermittently non-responsive when selected. r=chulee 2014-06-11 16:37:28 +08:00
Olli Pettay
9233bc118d Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Vicamo Yang
03ca6aeb5b Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug 2014-06-11 09:23:34 +08:00
Vincent Chang
1d7de6a170 Bug 1014924 - [B2G][Tarako][Geolocation] WifiWorker scan fails With wifi off, and geolocation stops. r=chulee 2014-06-04 18:08:51 +08:00
Chuck Lee
22257abe79 Bug 775499 - 0002. Handle subject match setting. r=vchang 2014-05-19 14:41:08 +08:00
Henry Chang
3bccfc9acd Bug 997090 - Add wifi test case. r=vchang, f=vyang 2014-05-16 10:50:37 +08:00
Chuck Lee
6ffaf28a5c Bug 790056 - Remove WPA-EAP filter. r=vchang 2014-05-27 14:31:09 +08:00
Vincent Chang
593705b26e Bug 774582 part2 - Unable to know if there is a user connected to Wifi tethering network. r=mrbkap 2014-05-29 13:50:57 +08:00
Vincent Chang
8fb5dc9b5e Bug 774582 - Unable to know if there is a user connected to Wifi tethering network. r=mrbkap 2014-01-22 16:37:40 +08:00
Chuck Lee
0c98299efb Bug 1002314 - 0002. Provide WiFi capability info. r=mrbkap, r=vchang 2014-05-19 10:29:21 +08:00
Vincent Chang
3957050186 Bug 1005775 - [Wifi] [Follow up of Bug 999388]Refactor wifi when send terminate command to wpa_supplicant. r=chulee 2014-05-06 13:40:07 +08:00
Ehsan Akhgari
4bfbeaa5c6 Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Chuck Lee
f1c072e890 Bug 745468 - 0002. Support WPA-EAP connection state. r=vchang, r=mrbkap 2014-04-25 18:41:26 +08:00
Chuck Lee
f28c2bb704 Bug 745468 - 0001. Support WPA-EAP configure parameters. r=vchang, r=mrbkap 2014-04-30 19:58:54 +08:00
Henry Chang
baf4b1b800 Bug 998892 - Append "interface=XXX" to the WPS PBC/PIN supplicant command only for JB. r=vchang 2014-05-06 15:04:16 +08:00
Chuck Lee
c5b196c4b1 Bug 917175 - 0002. Backend. r=mrbkap,briansmith 2014-04-30 19:58:49 +08:00
Chuck Lee
1d971cb8fb Bug 917175 - 0003. DOM API implementation. r=mrbkap 2014-04-28 15:50:11 +08:00
Chuck Lee
c39a234d51 Bug 917175 - 0001. WebIDL change. r=mrbkap 2014-04-15 17:17:40 +08:00
Chuck Lee
72de065a0c Bug 917176 - 0002. DOM API implementation. r=mrbkap, r=briansmith 2014-04-30 19:58:45 +08:00
Chuck Lee
98ba8c4864 Bug 917102 - 0003. DOM API implementation. r=mrbkap 2014-04-30 19:58:40 +08:00
Chuck Lee
9729798eff Bug 917102 - 0002. Add Wifi certificate service. r=mrbkap, r=keeler 2014-04-28 15:49:57 +08:00
Chuck Lee
d85d8d0889 Bug 917102 - 0001. WebIDL changes. r=mrbkap, r=ehsan 2014-04-30 19:58:35 +08:00
Vincent Chang
7edaa2dc77 Bug 996588 - Unable to connect to wifi network with double quotes (") in ssid. r=fabrice 2014-04-30 14:57:38 +08: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
Vincent Chang
4b8076fac2 Bug 999391 - [Wifi] CTRL-EVENT-TERMINATING with recv errors message is not handled correctly. r=chulee 2014-04-22 20:22:03 +08:00
Ryan VanderMeulen
006f6fafbe Merge inbound to m-c. 2014-04-24 13:19:53 -04:00
Chuck Lee
470b177f90 Bug 997791 - 0002. Apply request queue optimization. r=vchang 2014-04-21 20:06:27 +08:00
Chuck Lee
7b0caedf1d Bug 997791 - 0001. Remove ignore settings flags. r=vchang 2014-04-21 20:06:24 +08:00
Shelly Lin
c016875e6a Bug 908995 - Part 3: Add source events for TaskTracer. r=khuey,smaug. 2014-04-23 15:32:31 +08:00
Kai-Zhen Li
5edd57c6b7 Bug 998851 - Bind 'this' to callback function. r=vchang 2014-04-21 11:59:16 +08:00
Chuck Lee
5f41aacf98 Bug 989717 - Handle enabling and disabling state properly. r=vchang 2014-04-15 11:43:51 +08:00
Dimi Lee
d341d0deca Bug 886110 - Relanding Convert WifiManager to WebIDL on a CLOSED TREE. r=bz
--HG--
extra : amend_source : 97458b301b31ad64fa230cac53d0230ca6e02e4d
2014-04-10 11:34:29 +08:00
Carsten "Tomcat" Book
4857b371e2 Backed out changeset ce623d85f0c4 (bug 886110) for hoping this resolve the m7 b2g-ics permanent failure on a CLOSED TREE 2014-04-14 12:24:21 +02:00
Dimi Lee
2a2d680a75 Bug 886110 - Convert WifiManager to WebIDL; r=bz 2014-04-10 11:34:29 +08:00
Vincent Chang
b99f45fcaf Bug 993327 - [tarako] unable to enable Data Connect after turning off WIFI. r=chulee 2014-04-10 11:48:50 +08:00
Vincent Chang
95d16cd757 Bug 993821 - [Wifi] Event thread is blocked in WaitForEvent caused wifi stay in searching state. r=chulee 2014-04-10 13:52:38 +08:00
Vincent Chang
d70b732579 Bug 986365 - Crash in supplicant because of closing supplicant while waiting for event. r=chulee 2014-03-27 13:58:04 +08:00
Dimi Lee
28ad245782 Bug 991499 - WifiWorker still try to send message to component which is already shutdown. r=vchang 2014-04-03 18:10:16 +08:00
Vincent Chang
48e5a2bcb7 Bug 989719 - js error in WifiWorker when doing geolocation and WiFi is disabled. r=chulee 2014-03-31 10:30:44 +08:00
Chuck Lee
e1ab56813a Bug 966925 - Filter scan result based on platform property. r=vchang 2014-03-20 14:39:21 +08:00
Phil Ringnalda
7e188029e3 Merge b-i to m-c 2014-03-29 09:18:08 -07:00
Jessica Jong
a4884f4bc7 Bug 978709 - 4.g/6: WifiNetworkInterface changes. r=vicamo 2014-03-29 15:18:24 +08:00
Jessica Jong
321d22a93a Bug 978709 - 4.f/6: P2pNetworkInterface changes. r=vicamo 2014-03-29 15:18:23 +08:00
Vicamo Yang
612f4dfdfc Bug 978709 - 1/6: remove nsINetworkInterface::broadcast. r=hsinyi 2014-03-29 15:18:09 +08:00
Boris Zbarsky
9553dba3d6 Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Henry Chang
c528ac7581 Bug 986360 - Add nullity check to |flags|. r=chulee 2014-03-21 17:00:38 +08:00
Henry Chang
6e272840f1 Bug 986349 - Bind |this| to forEach callback function. r=chulee 2014-03-21 16:43:54 +08:00
Ryan VanderMeulen
c46dd0aaa3 Backed out changeset 463fa756b43b (bug 886110) for causing various regressions. 2014-03-21 14:44:05 -04:00
Dimi Lee
affd777a8e Bug 886110 - Convert WifiManager to WebIDL. r=mrbkap 2014-03-19 14:04:58 +08:00
Vincent Chang
3d6fa12599 Bug 972794 - [Tarako]Connect wpa supplicant consume 5 seconds. r=chulee 2014-03-07 19:29:55 +08:00
Chuck Lee
da91fc2965 Bug 972628 - Remove redundant network while loading network config. r=vchang 2014-03-10 16:48:13 +08:00
Vincent Chang
0db40c36c7 Bug 979841 - [Tarako]Wifi stay on searching status even scan results available. r=chulee 2014-03-12 18:25:32 +08:00
Masatoshi Kimura
d1ad984267 Bug 978611 - Part 3: Get rid of legacy dictionaries: events and codegen. r=smaug,khuey 2014-03-07 20:51:51 +09:00
Edgar Chen
47c18323cc Bug 976959 - Change the netmask to prefix length for supporting IPv6. r=vchang,hsinyi 2014-02-26 18:08:46 +08:00
Henry Chang
2a4ef45fbc Bug 976455 - Check p2pSupported and p2pManager in WifiWorker.js::syncDebug. r=vchang 2014-02-25 16:43:36 +08:00
Henry Chang
ad23086fe1 Bug 976452 - Add back the getWifiScanResults in WifiWorker.js. r=vchang 2014-02-25 16:33:13 +08:00
Ted Clancy (:tedders1)
e2ca0512bb Bug 965346 - Part 1: Ensure that callback is called, even when reply is null. r=mrbkap 2014-02-13 08:51:12 -08:00
Carmen Jimenez
2d3b4dc76c Bug 923443 - Pre-populate WiFi networks to allow associating with a network without connecting to it. r=vchang 2014-02-10 18:05:13 +01:00
Dimi Lee
842bf052eb Bug 864931 - Rewrite net worker in C++. r=fabrice, r=vchang 2014-01-29 19:38:50 +08:00
Henry Chang
54a1b5f9e7 Bug 811635 - Part 5: Start wpa_supplicant with proper 'p2pSupported' flag. r=vchang 2014-01-27 15:49:22 +08:00
Henry Chang
7bf37ef48c Bug 811635 - Part 4: Wifi Direct core implementation. r=vchang 2014-01-14 18:23:42 +08:00
Henry Chang
7c4cd52214 Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang 2014-01-27 15:48:10 +08:00
Henry Chang
0b233e59aa Bug 811635 - Part 1: WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang, sr=mrbkap 2014-01-28 15:47:51 +08:00
Kai-Zhen Li
38256874e6 Bug 961485 - Handle IFNAME of wifi command for gonk-kk. r=fabrice, r=vchang 2014-01-22 12:06:58 +08: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
Kai-Zhen Li
c3c79b4774 Bug 946257 - Update NetUtils and WifiUtils to support KK. r=fabrice, vchang. 2013-12-10 15:10:46 +08:00
Chuck Lee
60595be521 Bug 950124 - Use different powersave command based on sdk version. r=vchang 2014-01-10 12:12:38 +08:00
Vincent Chang
392e572840 Bug 957572 - Wifi failed to Turn on after Wifi-Hotspot is turned on/off. r=chulee 2014-01-10 10:39:13 +08:00
Vincent Chang
10700cb4d2 Bug 949861 - Wifi does not work on Galaxy S2 device (SGS2) after flashing Gecko. r=chucklee 2013-12-19 14:22:10 +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
Dimi Lee
e838b5b94a Bug 938042 - setHttpProxy API do not work. r=vchang 2013-12-11 18:49:24 +08:00
Chuck Lee
947e2df173 Bug 938044 - Still notify state change on disabling but don't change state. r=vchang 2013-11-22 17:49:56 +08:00
Ben Kelly
bcd2ecd2a2 Bug 924565: Part 1: Declare nsIObserver QI in DOMRequestHelper child classes. r=fabrice 2013-11-20 13:33:10 +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
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
Shao Hang Kao
b9abf25b1c Bug 938986 - remove default pcsc parameter in WifiWorker, r=vchang 2013-11-15 15:36:15 +08:00
Vicamo Yang
8d5ea8f71a Backed out changeset aa20a0fe4fca, wrong review name 2013-11-15 18:21:22 +08:00
Shao Hang Kao
6c68fa17bd Bug 938986 - remove default pcsc parameter in WifiWorker, r=vyang 2013-11-15 15:36:15 +08:00
Henry Chang
c06d15e7b4 Bug 935363 - Add and make use of NetworkService xpcom. r=vyang, r=vchang 2013-11-15 17:35:33 +08:00
Chuck Lee
871e4adc46 Bug 921620 - Change trigger point of wifi down. r=vchang 2013-11-08 16:16:16 +08:00