Commit Graph

199 Commits

Author SHA1 Message Date
Doug Turner
073b89c4c7 Bug 737462 - nsDeviceMotion leaks hal observers. r=mwu 2012-03-20 23:36:17 -07:00
Doug Turner
e9b99834bc Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Blake Kaplan
d1573b5903 Bug 736087 - Remove the ns prefix from the WifiWorker component. r=philikon DONTBUILD
--HG--
rename : dom/wifi/nsWifiWorker.h => dom/wifi/WifiWorker.h
rename : dom/wifi/nsWifiWorker.js => dom/wifi/WifiWorker.js
rename : dom/wifi/nsWifiWorker.manifest => dom/wifi/WifiWorker.manifest
2012-03-16 18:05:28 +01:00
Vicamo Yang
4d4eee53e6 Bug 712933 - Part 6: Support receiving multipart SMS. r=philikon DONTBUILD because NPTOB 2012-03-16 17:02:06 -07:00
Vicamo Yang
b12711e279 Bug 712933 - Part 5: refactor GsmPDUHelper readUserData(). r=philikon 2012-03-16 16:59:58 -07:00
Vicamo Yang
1c0911e800 Bug 712933 - Part 4: Support sending multipart SMS. r=philikon 2012-03-16 16:59:35 -07:00
Vicamo Yang
74ecaeab3d Bug 712933 - Part 3: fix getNumberOfMessagesForText(). r=philikon 2012-03-16 16:57:41 -07:00
Vicamo Yang
d47e664ef9 Bug 712933 - Part 2: refactor calculateUserDataLength(). r=philikon 2012-03-16 16:57:06 -07:00
Vicamo Yang
362799bca7 Bug 712933 - Part 1: Move GsmPDUHelper.calculateUserDataLength() to RadioInterfaceLayer.js. r=philikon 2012-03-16 16:47:21 -07:00
Philipp von Weitershausen
83919705c4 Bug 725002 - Part 7: Merge the remaining 'Phone' functionality into RIL. r=qDot DONTBUILD because NPTOTB 2012-03-15 18:01:24 -07:00
Philipp von Weitershausen
a0bb014818 Bug 725002 - Part 6: Move SMS handling to the RIL object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
b9267ad6be Bug 725002 - Part 5: Move datacall state handling to the RIL object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
1d264962b6 Bug 725002 - Part 4: Move call state handling to the RIL object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
8d7a58b2f9 Bug 725002 - Part 3: Move radio, card, registration state handlers to the RIL object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
e946fc9a11 Bug 725002 - Part 2: Remove a bunch of empty RIL request handlers. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
3795f99fa2 Bug 725002 - Part 1: Convert most RIL methods to simply take the 'options' message object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
2291765f53 Bug 735958 - B2G 3G: Typo in datacall management causes leaks and inconsistent state. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
aee5e0fe86 Bug 735581 - B2G RIL MSISDN follow-ups. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
dc8a383ff9 Bug 735499 - B2G RIL: Leaking "options" object when rild responds with an error. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
c4fd834183 Bug 735492 - B2G 3G: Simplify data call handling in ril_worker.js. r=qDot 2012-03-15 17:47:00 -07:00
Hsinyi Tsai
5d9c5555f3 Bug 735165 - B2G RIL: Change nsIRadioInterfaceLayer::CALL_STATE_RINGING to CALL_STATE_ALERTING for consistency. r=philikon 2012-03-14 19:03:33 +08:00
Vicamo Yang
253ee38e35 Bug 735589 - B2G SMS: ctypes undefined error in systemlib.js in xpcshell tests for SMS. r=philikon 2012-03-15 17:46:59 -07:00
Kyle Machulis
503964b679 Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 2: Change mozilla::dom::telephony to mozilla::dom::gonk for dom/system/gonk objects; r=bent 2012-03-14 15:43:26 -07:00
Kyle Machulis
8b59e0537f Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 1: Change dom/system/b2g to dom/system/gonk; r=philikon
--HG--
rename : dom/system/b2g/AudioManager.cpp => dom/system/gonk/AudioManager.cpp
rename : dom/system/b2g/AudioManager.h => dom/system/gonk/AudioManager.h
rename : dom/system/b2g/GonkGPSGeolocationProvider.cpp => dom/system/gonk/GonkGPSGeolocationProvider.cpp
rename : dom/system/b2g/GonkGPSGeolocationProvider.h => dom/system/gonk/GonkGPSGeolocationProvider.h
rename : dom/system/b2g/Makefile.in => dom/system/gonk/Makefile.in
rename : dom/system/b2g/RadioInterfaceLayer.js => dom/system/gonk/RadioInterfaceLayer.js
rename : dom/system/b2g/RadioInterfaceLayer.manifest => dom/system/gonk/RadioInterfaceLayer.manifest
rename : dom/system/b2g/SystemWorkerManager.cpp => dom/system/gonk/SystemWorkerManager.cpp
rename : dom/system/b2g/SystemWorkerManager.h => dom/system/gonk/SystemWorkerManager.h
rename : dom/system/b2g/net_worker.js => dom/system/gonk/net_worker.js
rename : dom/system/b2g/nsIAudioManager.idl => dom/system/gonk/nsIAudioManager.idl
rename : dom/system/b2g/nsIRadioInterfaceLayer.idl => dom/system/gonk/nsIRadioInterfaceLayer.idl
rename : dom/system/b2g/nsIWorkerHolder.idl => dom/system/gonk/nsIWorkerHolder.idl
rename : dom/system/b2g/nsRadioInterfaceLayer.h => dom/system/gonk/nsRadioInterfaceLayer.h
rename : dom/system/b2g/ril_consts.js => dom/system/gonk/ril_consts.js
rename : dom/system/b2g/ril_worker.js => dom/system/gonk/ril_worker.js
rename : dom/system/b2g/systemlibs.js => dom/system/gonk/systemlibs.js
rename : dom/system/b2g/tests/header_helpers.js => dom/system/gonk/tests/header_helpers.js
rename : dom/system/b2g/tests/test_ril_worker_buf.js => dom/system/gonk/tests/test_ril_worker_buf.js
rename : dom/system/b2g/tests/test_ril_worker_sms.js => dom/system/gonk/tests/test_ril_worker_sms.js
rename : dom/system/b2g/tests/xpcshell.ini => dom/system/gonk/tests/xpcshell.ini
2012-03-14 15:42:31 -07:00
Doug Turner
d75eb58a3f Bug 734391 - coalesce the device motion events. r=jdm 2012-03-09 10:40:43 -08:00
Doug Turner
99adfcf041 Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 16:57:51 -07:00
Doug Turner
cb5e3dd11b Bug 734325 - implement compassneedscalibration event. r=jdm 2012-03-13 16:57:09 -07:00
Doug Turner
0648b34ca3 Bug 733653 - use 100ms as the default sensor poll hint. Ensuring that our sensors are polled allows us to conform to the DeviceOrientation Event Specification. See DeviceMotionEvent.interval. r=jdm 2012-03-13 16:57:09 -07:00
Doug Turner
a1c0ece730 Bug 733650 - Use smslib as the device orientation backend on the mac. r=jdm 2012-03-13 16:57:09 -07:00
Ed Morley
72b4537851 Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange 2012-03-13 22:29:29 +00:00
Doug Turner
c60f675449 Bug 734391 - coalesce the device motion events. r=jdm 2012-03-09 10:40:43 -08:00
Doug Turner
dd357ccffe Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 10:00:02 -07:00
Doug Turner
968cf06489 Bug 734325 - implement compassneedscalibration event. r=jdm 2012-03-13 09:59:24 -07:00
Doug Turner
edffb9b4d9 Bug 733653 - use 100ms as the default sensor poll hint. Ensuring that our sensors are polled allows us to conform to the DeviceOrientation Event Specification. See DeviceMotionEvent.interval. r=jdm 2012-03-13 09:59:24 -07:00
Doug Turner
fc9a4d3d9a Bug 733650 - Use smslib as the device orientation backend on the mac. r=jdm 2012-03-13 09:59:23 -07:00
Philipp von Weitershausen
edbe31ce02 Bug 734299 - Part 3: Set up a datacall when registering with the network. r=qDot DONTBUILD because NPOTB 2012-03-12 16:46:08 -07:00
Philipp von Weitershausen
7217eff082 Bug 734299 - Part 2: Worker code for network configuration. r=qDot 2012-03-12 16:45:57 -07:00
Philipp von Weitershausen
c753e76780 Bug 734299 - Part 1: Detect a datacall quirk on the SGS2. r=qDot 2012-03-12 16:45:57 -07:00
Philipp von Weitershausen
22ca36f404 Bug 734300 - B2G RIL: Network registration state improvements. r=qDot 2012-03-12 16:45:57 -07:00
Yoshi Huang
3f6f075a5d Bug 734333 - B2G RIL: typo in RIL.iccIO() throws ReferenceError: request is not defined. r=philikon 2012-03-09 15:15:39 +08:00
Jim Straus
4d02653efe Bug 714352 - B2G RIL: Listen for NITZ updates. r=philikon 2012-03-08 23:16:06 -05:00
Doug Turner
168be1c4e1 Bug 726502 - nsDeviceMotion::DeviceMotionChanged may index out of bounds mWindowListeners array. r=smaug 2012-03-09 08:41:25 -08:00
Marco Bonardo
25233e6a0a Backout 4a1f94ebd302 (bug 726502) because it accesses a bogus index in an infinite loop. 2012-03-10 12:08:27 +01:00
Doug Turner
f175069fb2 Bug 726502 - nsDeviceMotion::DeviceMotionChanged may index out of bounds mWindowListeners array. r=smaug 2012-03-09 08:41:25 -08:00
Vicamo Yang
45fd091e80 Bug 733981 - Part 2: Early return may ignore the optimum SMS length. r=philikon DONTBUILD because NPOTB 2012-03-08 18:34:03 -08:00
Vicamo Yang
18d99ada21 Bug 733981 - Part 1: Fix mis-calculated userDataLength. r=philikon 2012-03-08 18:31:56 -08:00
Vicamo Yang
7da1043001 Bug 729876 - Part 2: SMS tests. r=philikon DONTBUILD because NPOTB 2012-03-07 14:43:30 -08:00
Vicamo Yang
3d39918da9 Bug 729876 - Part 1: Remove redundant tailing char in SMS. r=philikon 2012-03-07 14:21:05 -08:00
yoshi huang
53703e71a6 Bug 720638 - B2G RIL: Read MSISDN. r=philikon 2012-03-07 14:14:37 -08:00
Price Tseng
958c4c5b2c Bug 713451 - B2G RIL: Handle request errors. r=philikon 2012-03-07 14:14:37 -08:00
Philipp von Weitershausen
64d4e6c41f Bug 733674 - B2G SMS: Fix off-by-one errors in timestamp computation. r=qDot 2012-03-07 14:14:37 -08:00
Vicamo Yang
c5b8192a74 Bug 712809 - B2G SMS Database: Hook it up to RadioInterfaceLayer. r=philikon DONTBUILD because NPOTB 2012-02-20 18:12:37 +01:00
Vicamo Yang
83af661a10 Bug 729876 - Part 4: Support receiving sms of other alphabets. r=philikon 2012-03-02 20:51:47 +08:00
Vicamo Yang
21ccd088d3 Bug 729876 - Part 3: Support sending sms of other alphabets. r=philikon 2012-03-02 20:41:37 +08:00
Vicamo Yang
e3c8227f8a Bug 729876 - Part 2: Add all GSM 7-bit national languages. r=philikon 2012-03-02 20:11:23 +08:00
Vicamo Yang
228bb2cf25 Bug 729876 - Part 1: Convert alphabet array to array of strings. r=philikon 2012-03-02 18:50:48 +08:00
Josh Matthews
2d6246c2d7 Bug 716127 - When the network geolocation provider is told to watch for wifi changes, force a change to occur to avoid indefinite waiting. r=dougt 2012-03-01 01:58:37 -05:00
David Mandelin
60e80d55b6 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Fabrice Desré
4668a84e9b Bug 730176 - Volume buttons don't control call volume [r=cjones] 2012-02-24 02:47:13 -08:00
Fernando Jimenez
b4e3f041bf Bug 729061 - B2G SMS: Lazily refetch SMSC if it's not available after startup. r=philikon DONTBUILD because NPOTB 2012-02-23 16:29:38 +01:00
Vicamo Yang
57a410824d Bug 712804 - B2G SMS: Support UCS2 encoding. r=philikon DONTBUILD because NPOTB 2012-02-21 17:27:28 +01:00
Vicamo Yang
720155cb84 Bug 723244 - Tests for RIL parcel length guards. r=philikon 2012-02-20 19:30:05 +01:00
Vicamo Yang
3421e3c746 Bug 723244 - RIL: implement parcel length guards. r=philikon 2012-02-20 19:30:04 +01:00
Philipp von Weitershausen
b649557f72 Bug 728864 - B2g SMS: Fix SMS success notifications. r=qDot DONTBUILD because NPOTB
--HG--
extra : rebase_source : 4ef167621f0e38b8d446bd09a117973ef8431aef
2012-02-20 15:57:38 +01:00
Philipp von Weitershausen
830dbb2daf Bug 720643 - B2G SMS: Notify SMS send success. r=qDot 2012-02-20 00:44:29 +01:00
Ed Morley
fce8b46788 Backout 6c1ded13556d (bug 720643), 5cf0a12c1cf0, ac771e54d7ca & 3bb24b12b0d6 (bug 720632) for Android build failures 2012-02-16 23:18:45 +00:00
Philipp von Weitershausen
229f1fa610 Bug 720643 - B2G SMS: Notify SMS send success. r=qDot 2012-02-16 14:51:54 -08:00
Philipp von Weitershausen
fe6c0ade94 Bug 725901 - RIL: Data call fixes. r=qDot DONTBUILD because NPOTB 2012-02-10 11:27:38 -08:00
Philipp von Weitershausen
33464fd732 Bug 725137 - RIL: process registration state + GPRS registration state. r=qDot 2012-02-10 11:27:23 -08:00
José Antonio Olivera Ortega
860df7c6d7 Bug 725599 - B2G telephony: speakerEnabled does not work; r=philikon 2012-02-10 11:27:23 -08:00
Fernando Jiménez
1010202068 Bug 724994 - Silence RIL signal strength logcat messages; r=qDot 2012-02-10 11:27:23 -08:00
Ms2ger
3953c27825 Bug 712378 followup - Fix incorrect license headers; r=sparky 2012-02-10 11:04:44 +01:00
Jim Straus
e873ad365e Bug 712378: Add an interface to control lights, and use it for the screen backlight on Gonk. r=cjones 2012-02-01 22:09:00 -08:00
Corey Richardson
215974f50b Bug 684720 - Make the NetworkGeolocationProvider use an async xhr. r=jdm 2012-01-21 14:28:00 -05:00
Philipp von Weitershausen
9c36e6d2b7 Bug 723372 - B2G telephony: audio should be turned on during dialing + ringing. r=bent DONTBUILD because NPOTB 2012-02-02 11:12:32 -08:00
Philipp von Weitershausen
91dc535ce8 Bug 716709 - RIL: call state on SGS2 has extra uint32. r=qDot 2012-02-02 10:41:07 -08:00
Philipp von Weitershausen
ca578f8c1a Bug 720747 - Completely silence RIL worker by default. r=qDot 2012-02-02 10:41:07 -08:00
Vivien Nicolas
be98dfe2eb Bug 720811 - this._activeCall is null if the call has not been answered r=philikon 2012-01-24 22:25:21 +01:00
Philipp von Weitershausen
ca460e2371 Bug 711671 - Rename nsTelephonyWorker / nsITelephone to nsIRadioInterfaceLayer
--HG--
rename : dom/telephony/nsTelephonyWorker.js => dom/system/b2g/RadioInterfaceLayer.js
rename : dom/telephony/nsTelephonyWorker.manifest => dom/system/b2g/RadioInterfaceLayer.manifest
rename : dom/telephony/nsITelephone.idl => dom/system/b2g/nsIRadioInterfaceLayer.idl
rename : dom/telephony/nsTelephonyWorker.h => dom/system/b2g/nsRadioInterfaceLayer.h
rename : dom/telephony/ril_consts.js => dom/system/b2g/ril_consts.js
rename : dom/telephony/ril_worker.js => dom/system/b2g/ril_worker.js
2012-01-19 12:53:32 -08:00
Kan-Ru Chen
58bfc9b21e Bug 711300 - Add GPS support for gonk. r=jdm 2012-01-19 15:53:51 +01:00
Ben Turner
c99401ac2a Bug 714459 - 'Rename RadioManager / nsIRadioWorker'. r=mrbkap.
--HG--
rename : dom/system/b2g/RadioManager.cpp => dom/system/b2g/SystemWorkerManager.cpp
rename : dom/system/b2g/RadioManager.h => dom/system/b2g/SystemWorkerManager.h
rename : dom/system/b2g/nsIRadioWorker.idl => dom/system/b2g/nsIWorkerHolder.idl
extra : transplant_source : 2%ED%03%8F%C0%98%06%25%8EnIb%8BI%B0O%EB%BF%E0%A2
2012-01-09 15:18:23 -08:00
Ben Turner
6f8017d643 Bug 674726 - WebTelephony. r=philikon+mounir, sr=sicking. Not part of the default build.
--HG--
extra : transplant_source : %1A%23%10d%88%B3%DA%87%C9%DD0%E6P%1Ct%AD%7D%80%B6%B4
2012-01-09 14:28:47 -08:00
Doug Turner
34c8a90042 Bug 713991 - Geolocation fails when used with large number of access points. r=gmealer 2012-01-03 20:13:34 -08:00
Blake Kaplan
898bd6d340 Bug 712629 - Make Wifi work under gonk. There are large parts of this that are still sketches, but this gets us limping along. r=gal
--HG--
extra : rebase_source : 7fb2de1e4eb22250dbe0958a46e551012ff54ac3
2011-12-06 22:14:55 +08:00
Jeff Walden
476c7d19c5 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Philipp von Weitershausen
769139a52e Bug 708446 - Part 1: Implement nsIAudioManager to communicate with audio subsystem. r=mrbkap 2011-12-12 10:22:26 -08:00
Kyle Machulis
f3493acf00 Bug 699222 - Part 2: IPC RIL implementation. r=cjones 2011-12-07 18:58:56 +08:00
Blake Kaplan
4757794925 Bug 707883 - Make nsITelephonyWorker more generic in preparation for more workers. r=bent 2011-12-06 16:47:35 +08:00
Blake Kaplan
53bea9cb98 Bug 707883 - Rename nsIRadio{Interface,Callback} -> nsITelephone{Interface,Callback} since this is not at all generic. r=bent
--HG--
rename : dom/telephony/nsIRadioInterface.idl => dom/telephony/nsITelephone.idl
2011-12-06 14:35:17 +08:00
Blake Kaplan
79ed79c31c Bug 707883 - Move RadioManager from dom/telephony to dom/system/b2g and then make the worker component the only stuff in dom/telephony. The idea is that the RadioManager is a generic component that manages several workers implemented in various dom/* directories. r=bent
--HG--
rename : dom/telephony/worker-component/Makefile.in => dom/system/b2g/Makefile.in
rename : dom/telephony/RadioManager.cpp => dom/system/b2g/RadioManager.cpp
rename : dom/telephony/RadioManager.h => dom/system/b2g/RadioManager.h
rename : dom/telephony/worker-component/nsIRadioInterface.idl => dom/telephony/nsIRadioInterface.idl
rename : dom/telephony/worker-component/nsITelephonyWorker.idl => dom/telephony/nsITelephonyWorker.idl
rename : dom/telephony/worker-component/nsTelephonyWorker.js => dom/telephony/nsTelephonyWorker.js
rename : dom/telephony/worker-component/nsTelephonyWorker.manifest => dom/telephony/nsTelephonyWorker.manifest
rename : dom/telephony/worker-component/ril_consts.js => dom/telephony/ril_consts.js
rename : dom/telephony/worker-component/ril_worker.js => dom/telephony/ril_worker.js
2011-12-06 14:10:51 +08:00
Tobias Markus
591ad17616 Bug 706515 - Non-initialized variables in nsGeolocationProvider.js r=doug.turner 2011-12-01 12:02:51 +01:00
René-Luc
7db04046da Bug 702107 - Geolocation Service broken because of access token. r=dougt 2011-11-20 11:18:27 +00:00
Doug Turner
92dd0ef43d Bug 668194 - Geolocation times out and/or does not properly use wifi access points information (awful accuracy) r=mfinkle. 2011-11-01 21:04:35 -07:00
Mark Banner
da396f0de1 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Peter Van der Beken
c119510fb8 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Kyle Huey
3982be1396 Bug 687332: Fix up geolocation. r=dougt 2011-09-29 12:06:36 -04:00