Commit Graph

294 Commits

Author SHA1 Message Date
Kyle Machulis
684686bee5 Bug 779378: B2G Voicemail: Hook up to permissions manager; r=gwagner 2012-08-23 16:31:02 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Kyle Machulis
a72c6b98bc Bug 783431 - Fix js array initialization for bluetooth and telephony; r=mrbkap 2012-08-20 18:26:44 -07:00
Rob Wood
de080795c1 Bug 781548 - Add WebAPI tess for resuming held calls, r=jgriffin, DONTBUILD because NPOTB 2012-08-10 13:45:14 -04:00
Hsin-Yi Tsai
0d464108f4 Bug 779353 - part 2 - testcase: Telephony hook up to permissions manager. r=philikon 2012-08-07 11:01:18 +08:00
Hsin-Yi Tsai
931eb4df08 Bug 779353 - part 1 - B2G Telephony: Hook up to permissions manager. r=mounir 2012-08-06 15:33:37 +08:00
Hsin-Yi Tsai
82a24b2518 Bug 779217 - Intermittent test_outgoing_hangup_held.js: got OK, expected outbound to 5555552368 : unknown | got false, expected true. r=philikon 2012-08-03 12:08:15 +08:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Kyle Machulis
f305d2c7de Bug 773370 - Fix rooting in JSArray creation for mozTelephony; r=bent 2012-08-01 18:52:40 -07:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Marshall Culpepper
7b68f92b47 Bug 776724: Voicemail tests now import ril_consts with Cu.import, fixing breakage when packaged with Marionette. r=philikon
--HG--
extra : rebase_source : fe3effc50ea11ee9a4292d127150b7bf92fb7634
2012-07-25 13:49:05 -05:00
Hsin-Yi Tsai
858cb70a91 Bug 765231 - Telephony: Implement dialEmergency() to limit call to emergency numbers. r=philikon 2012-07-20 20:08:24 +08:00
Marshall Culpepper
0b4c6a5665 Bug 773068 - Part 4: Marionette unit tests for Voicemail phone number API. r=vicamo 2012-07-20 20:19:38 -04:00
Marshall Culpepper
0eeb6ceb63 Bug 773068 - Part 2: Voicemail phone number DOM implementation. r=smaug 2012-07-20 20:19:38 -04:00
Marshall Culpepper
66699fe0dc Bug 773068 - Part 1: Voicemail phone number DOM API. sr=sicking 2012-07-20 20:19:38 -04:00
Marshall Culpepper
4bdd46e24a Bug 736710 - Part 4: Marionette unit tests for Voicemail API. r=vicamo 2012-07-19 11:27:35 +08:00
Marshall Culpepper
de4aa63592 Bug 736710 - Part 3: Voicemail DOM implementation classes. r=smaug 2012-07-19 11:27:19 +08:00
Marshall Culpepper
d0968d69ef Bug 736710 - Part 1: Voicemail API IDLs. sr=sicking 2012-07-19 11:26:49 +08:00
Hsinyi Tsai
9dc1493641 Bug 766822 - WebTelephony: add tests for hanging up dialing/alerting/holding calls. r=philikon 2012-07-04 13:46:11 +08:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Hsinyi Tsai
e4bce3002f Bug 765684 - WebTelephony: invalid argument in Telephony::NotifyError. r=bent 2012-06-21 11:00:52 +08:00
Hsin-Yi Tsai
f3250426ea Backout 1675a6451849 (Bug 765684) due to missing r= in comments. 2012-06-22 10:23:55 +08:00
Hsinyi Tsai
1f78b72cdd [PATCH] Bug 765684 - WebTelephony: invalid argument in
From 21d83598fcec9b69a1b8ed87b502415342582995 Mon Sep 17 00:00:00 2001
 Telephony::NotifyError
---
 dom/telephony/Telephony.cpp |   37 ++++++++++++++++++++++---------------
 1 files changed, 22 insertions(+), 15 deletions(-)
2012-06-21 11:00:52 +08:00
Hsinyi Tsai
1f4443c052 Bug 759521 - WebTelephony: investigate test failures for outgoing calls. r=philikon 2012-06-08 18:51:38 +08:00
Hsinyi Tsai
4395ae2bf9 Bug 757587 - WebTelephony: investigate .active and .calls behaviour. r=philikon 2012-06-08 15:09:15 +08:00
Ryan VanderMeulen
846a6a41bf Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Andrew McCreight
9152e14841 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Philipp von Weitershausen
ec48fd4ea1 Bug 756607 - Rewrite telephony tests. r=jgriffin 2012-05-29 17:39:46 -07:00
Kyle Machulis
d33a38a819 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 21:02:23 -07:00
Kyle Machulis
9d208f726a Backing out Bug 742044 - Bustage on B2G 2012-05-23 18:27:53 -07:00
Kyle Machulis
c4a1fa5a03 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:21:05 -07:00
Kyle Machulis
1f76f17d72 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis
a3821f7a1b Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Hsin-Yi Tsai
cb50af8651 Bug 746496 - B2G telephony: update the audio system for incoming calls and holding calls. r=philikon 2012-05-14 21:13:06 -07:00
Price Tseng
2dfd294e98 Bug 717462 - WebTelephony: notify errors. r=philikon 2012-05-14 21:13:06 -07:00
Price Tseng
dba2ec4c4a Bug 712944 - B2G telephony: ensure error scenarios are covered. r=philikon 2012-05-14 21:13:06 -07:00
Philipp von Weitershausen
d6040a8d64 Bug 753607 - Overhaul existing Marionette WebAPI tests. r=jgriffin DONTBUILD because NPOTB 2012-05-11 13:09:21 -07:00
Jonathan Griffin
a7f5313530 Bug 753013 reuse secondary emulators, r=mdas, DONTBUILD because NPOTB 2012-05-09 13:39:19 -07:00
Jonathan Griffin
f20a2d9e36 Bug 751403 - Use window.navigator instead of just navigator in telephony tests, r=mdas, a=b2g-only, npotb 2012-05-03 11:41:29 -07:00
Hsin-Yi Tsai
b6798783e8 Bug 743008 - WebTelephony: support multiprocess. r=philikon a=b2g-only 2012-04-24 12:44:42 -03:00
Hsinyi Tsai
c7d5489918 Bug 714968 - B2G telephony: support a second incoming call. r=philikon 2012-04-10 18:10:18 +08:00
Hsinyi Tsai
c64c7492b0 Bug 735170 - WebTelephony: add API to hold a call. r=philikon 2012-04-05 16:12:42 +08:00
Jonathan Griffin
b40725a054 Bug 738825 - mirror Marionette Python client into gecko, a=testonly (npotb) 2012-03-26 12:40:25 -07:00
Jared Wein
7eb5303116 Backed out changeset 62e3e0fc06c9 (bug 730318) r=bustage 2012-03-23 11:46:32 -07:00
Jared Wein
4750f67a6e Bug 730318 - Update dom/telephony to use the new implementation of nsTArrayToJSArray. r=bent 2012-03-22 13:53:52 -07:00
Hsinyi Tsai
631b0f0dfe Bug 736258 - WebTelephony: rename ringing event to alerting. r=philikon 2012-03-16 11:13:42 +08: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
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
Fabrice Desré
972c022c50 Bug 735305 - Update WebTelephony impl to use the new DOMEventTargetHelper API [r=smaug,bent] 2012-03-13 15:11:16 -07:00
Ben Turner
ab2e88dc7e Bug 717451 - 'Telephony: Keep telephony objects on multiple pages in sync'. r=sicking.
--HG--
extra : transplant_source : %15%BB%92%8E%A38A%80%9E%A40T%E5BCi%BE%ACK%F7
2012-02-24 05:14:37 -08:00
Ben Turner
309e628042 Backed out changeset 1f3643b7de2d 2012-02-23 07:09:11 -08:00
Ben Turner
8310316245 Bug 717414 - 'Telephony: Make calls array live'. r=sicking. 2012-02-23 03:48:35 -08:00
Vivien Nicolas
cc70e3e13a Bug 725312 - Rename nsDOMEventTargetWrapperCache to nsDOMEventTargetHelper in dom/telephony/ [r=smaug] 2012-02-08 11:22:01 -08:00
Fabrice Desré
18a2ebbc9a Backed out changeset 73614cfcb983 (wrong bug number in commit message) 2012-02-08 11:20:15 -08:00
Vivien Nicolas
d23f1f7b90 Bug 693172 - Move all subclasses of nsDOMEventTargetHelper to nsDOMEventTargetWrapperCache in dom/telephony/ r=smaug 2012-02-08 11:14:31 -08:00
Landry Breuil
90621bb925 Bug 722046: Fix build failure on OpenBSD/Gcc 4.2.1 due to extra semicolon. r=Ms2ger 2012-01-28 12:03:35 -08: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
Thinker Li
2fcc5aade6 Bug 713426 - Support PDP data call in ril_worker. r=philikon 2012-01-17 17:34:09 -08:00
Ben Turner
60f75defb0 Bug 717158 - 'B2G telephony: unknown (outgoing) call index is assumed to be incoming later'. r=cjones.
--HG--
extra : transplant_source : %7B%A6XC%07%87%20%A9W%AA.Le%A5%7B%1A%81%F1%FE%B5
2012-01-11 18:17:26 -08:00
Ben Turner
25d970dac1 Bug 716754 - 'Crash when accessing navigator.mozTelephony from chrome page'. r=sicking.
--HG--
extra : transplant_source : %EE%2AR%C4%F7lU%D8%B0%2A%0B%85V%B5o%F3%F8%C6%CD%5C
2012-01-11 18:19:53 -08:00
Philipp von Weitershausen
b2b29097f5 Bug 717434 - B2G telephony: audio isn't switched on for incoming calls and never switched off once switched on. r=bent 2012-01-11 16:20:16 -08:00
Philipp von Weitershausen
8aa67061b7 Bug 717156 - B2G telephony: crash after page reload due to improper callback unregistering. r=bent 2012-01-11 16:20:08 -08:00
Fernando Jiménez
193cc7645a Bug 714855 - RIL: Implement ICC states transitions and ICC codes (PIN,PIN2,PUK,PUK2) handling. r=philikon 2012-01-10 17:53:08 -05:00
Philipp von Weitershausen
0e26051343 Bug 674726 follow-up: make WebTelephony build with gcc. r=bent DONTBUILD because NPOTB 2012-01-09 17:00:02 -08: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
Ben Turner
9579552ed7 Remove stray tabs from ril_worker.js. No bug, DONTBUILD. 2012-01-05 08:17:20 -08:00
Philipp von Weitershausen
4b93a658a5 Bug 714974 - RIL: Turn off debug output by default. r=qDot 2012-01-03 14:59:15 -08:00
Philipp von Weitershausen
c464b18b0f Bug 709568 - Part 2: RIL <-> DOM glue for incoming SMS. r=smaug 2011-12-24 06:02:52 +01:00
Philipp von Weitershausen
c3222c0fe6 Bug 709568 - Part 1: nsISmsService for gonk and RIL <-> DOM glue for outgoing SMS. r=smaug 2011-12-24 06:02:52 +01:00
Philipp von Weitershausen
43c472225f Bug 709567 - B2G SMS: RIL to DOM plumbing for outgoing SMS. r=qDot 2011-12-24 06:02:51 +01:00
Philipp von Weitershausen
39b2fcaec4 Bug 709567 - B2G SMS: RIL to DOM plumbing for incoming SMS. r=qDot 2011-12-24 06:02:51 +01:00
Philipp von Weitershausen
47c254f201 Bug 709566 - B2G SMS: PDU serializer for GSM. r=qDot 2011-12-24 06:02:51 +01:00
Philipp von Weitershausen
9d070b30e8 Bug 709566 - B2G SMS: PDU parser for GSM. r=qDot 2011-12-24 06:02:51 +01:00
Kyle Machulis
e0d3296b4f Bug 709565 - B2G telephony: implement DTMF. r=philikon 2011-12-16 13:47:32 -08:00
Philipp von Weitershausen
0edc9def04 Bug 709862 - RIL: no more "incoming" events after the first. r=qDot 2011-12-12 14:34:18 -08:00
Philipp von Weitershausen
984dca283f Bug 708446 - Part 3: Implement mute and speaker. r=mrbkap a=khuey 2011-12-12 10:30:43 -08:00
Philipp von Weitershausen
221092b136 Bug 708446 - Part 2: Update audio system state when call state changes. r=mrbkap 2011-12-12 10:22:26 -08:00
Philipp von Weitershausen
6f410f12b8 Bug 707629 - Part 2: Complete most of the mozTelephony API. r=bent 2011-12-07 14:57:19 +08:00
Philipp von Weitershausen
47eeed0889 Bug 707629 - Part 1: Add call state handling and manipulation to the RIL worker. r=gal 2011-12-07 14:57:05 +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
Blake Kaplan
a663961f32 Bug 707883 - Rename Radio -> RadioManager to better reflect what this does. r=bent
--HG--
rename : dom/telephony/Radio.cpp => dom/telephony/RadioManager.cpp
rename : dom/telephony/Radio.h => dom/telephony/RadioManager.h
2011-12-05 17:12:49 +08:00
Philipp von Weitershausen
43c6b2381f Bug 699256 - Part 3: Hook the RIL worker and the DOM API up to the build system. r=gal 2011-12-05 15:58:27 +08:00
Philipp von Weitershausen
3149ec798b Bug 699256 - Part 2: Add an experimental navigator.mozTelephony API. r=bent 2011-12-05 15:58:27 +08:00
Philipp von Weitershausen
ef7a9272dc Bug 699256 - Part 1: Add telephony worker for dealing with RIL messages. r=gal 2011-12-05 15:58:27 +08:00
Blake Kaplan
91eca320db Bug 698621 - Part 2: Implement telephony worker shell. r=bent 2011-12-05 15:58:27 +08:00