Commit Graph

600 Commits

Author SHA1 Message Date
Gina Yeh
0b21e4708d Bug 806713 - Patch 1: NS_ASSERTION failure in UnixSocket.cpp when create a sco socket, r=qdot 2012-11-01 19:49:07 +08:00
Kyle Machulis
b1710fac8d Bug 802428: Support varying adapter properties based on android version; r=ggrisco r=echou
--HG--
extra : rebase_source : 7e469ae48df6aef480e882e196ee901c27702aa8
2012-10-31 20:24:54 -07:00
Kyle Machulis
5242679a56 Backed out changeset f57c433cb7bc: Wrong patch version r=echou r=qdot
--HG--
extra : rebase_source : 51f68f0f2c32ac4f41d0bd8fb21f323331ae3418
2012-10-31 20:24:15 -07:00
Kyle Machulis
486db47187 Bug 802428: Support varying adapter properties based on android version; r=ggrisco r=echou
--HG--
extra : rebase_source : 7acc2d356afd1578ea9f6266e2056eb9f02571e1
2012-10-31 13:45:50 -07:00
Gina Yeh
04d3a8ad36 Bug 806296 - Patch 1(v1): Cannot create an encrypted socket, r=echou 2012-10-31 17:33:50 +08:00
Eric Chou
f73dfbb691 Bug 802080 - Update connected device address, r=qdot 2012-10-31 14:07:06 +08:00
Gina Yeh
7ef5e107ca Bug 805708 - Patch 1: Cannot answer a waiting call during a phone call when press the headset, r=qdot 2012-10-31 11:53:36 +08:00
Eric Chou
deb420ea77 Bug 803614 - [b2g-bluetooth] Save received file, r=qdot, r=dougt 2012-10-31 11:15:12 +08:00
Gina Yeh
fc3f599f06 Bug 803475 - Failed to transfer audio back to bluetooth headset while in a phone call, r=qdot 2012-10-26 17:48:47 +08:00
Gina Yeh
dd34b4b1f1 Bug 804436 - Patch 2 : Failed to connect from a headset again after turn off and turn on the headset, r=qdot 2012-10-26 17:28:39 +08:00
Gina Yeh
a3f7f89a1e Bug 804474 - Null address value in system message of "bluetooth-hfp-status-changed", r=qdot 2012-10-26 17:21:32 +08:00
Kyle Machulis
56f246da50 Bug 802288: Make BluetoothOppManager shutdown at xpcom-shutdown event; r=echou 2012-10-25 18:25:46 -07:00
Kyle Machulis
4f3285fdcf Bug 804687: Remove sHfpCommandThread from BluetoothHfpManager; r=echou 2012-10-25 18:25:15 -07:00
Gina Yeh
cf617ca4a7 Bug 804460 - Patch 1: Failed to set audio stream volume to correct value by bluetooth headset, r=qdot 2012-10-25 18:50:41 +08:00
Gina Yeh
a59063cab6 Bug 800695 - Final version: Audio route is set to sco before connecting to a bluetooth headset, r=qdot 2012-10-22 18:34:15 +08:00
Eric Chou
8d5e823c2a Bug 802590 - Patch 3: Implemented the logic, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou
443e9ef49c Bug 802590 - patch 2: IPC implementation, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou
fa2b7eba2e Bug 802590 - patch 1: DOM API change, sr=mrbkap, r=qdot 2012-10-19 14:16:13 +08:00
Gabriele Svelto
cc3411e5ab Bug 798123 - Replace the array conversion functions in BluetoothUtils.cpp with those in nsTArrayHelpers.h. r=mrbkap 2012-10-18 15:20:54 +02:00
Kyle Machulis
ac48f9fd4b Bug 800249 - Patch 2: Add ability to retreive connected socket address as a string; r=cjones 2012-10-17 17:11:05 -07:00
Eric Chou
5d3aaff109 Bug 799452 - patch 2: Parse PUT request header, r=qdot 2012-10-17 14:48:52 +08:00
Eric Chou
889978765b Bug 799452 - Patch 1: Send a system message to notify 'receiving file confirmation', r=qdot 2012-10-17 14:46:53 +08:00
Eric Chou
b85d4df899 Bug 801507 - Listen to ObjectPush service socket, r=qdot 2012-10-15 14:16:41 +08:00
Kyle Machulis
ee62993412 Bug 800247: Add disconnect events to UnixSocket, update Bluetooth*Manager; r=echou r=cjones
--HG--
extra : rebase_source : 809d46954baea51bf4053c3a48ce45b18b1a58e9
2012-10-12 11:38:14 -07:00
Ehsan Akhgari
40a0339637 Bug 779473 - Fix some nsresult abuses in the Bluetooth implementation 2012-10-13 10:45:45 -04:00
Eric Chou
1f6e9a31fd Bug 800313 - Refine system messages interface for bluetooth file-sharing app, r=qdot 2012-10-12 19:14:21 +08:00
Kyle Machulis
594b76c58e Bug 796176 - Patch 2: Make Bluetooth*Managers listen on startup/disconnect, stop listening to stop/connect; r=echou
--HG--
extra : rebase_source : 9ed9b4cc1ba445128a8ff6f90a9fb84044b7ca1a
2012-10-10 22:49:11 -07:00
Gina Yeh
5fc1043cdb Bug 794349 - Final version: Send correct +CIND: value to HS at SLC establishment, r=qdot 2012-10-09 19:19:29 +08:00
Eric Chou
2291b0cd5c Bug 799138 - [b2g-bluetooth] Handle Connect/Disconnect/Put requests sent from remote devices, r=qdot 2012-10-09 13:56:17 +08:00
Kyle Machulis
c6bfffd40f Bug 799243 - Patch 2: Fix static nsTArray initialization in BluetoothDBusService; r=echou 2012-10-08 22:00:02 -07:00
Kyle Machulis
a276279be3 Bug 799243 - Patch 1: Fix Bluetooth*Manager observer pointer types; r=echou 2012-10-08 21:59:33 -07:00
Gina Yeh
39e7cb71f5 Bug 782586 - Final version: Firing onadapteradded event when bluetooth is ready to get default adapter, r=qdot 2012-10-09 11:29:37 +08:00
Kyle Machulis
db27fd2473 Bug 798035 - Patch 2: Bluetooth SCOManager Cleanup; r=gyeh
--HG--
extra : rebase_source : 4509998c8d685cf510861ebc06616387dca6444f
2012-10-05 19:16:43 -07:00
Kyle Machulis
1aaefa52b6 Bug 798035 - Patch 1: Change Bluetooth*Manager observers to be internal classes; r=gyeh
--HG--
extra : rebase_source : 511e9c9deec5626399fc76c0630ac4ca8285a40e
2012-10-05 17:11:24 -07:00
Kyle Machulis
6913002465 Bug 796184 - Revert UnixSocketImpl to a bare pointer, make Bluetooth*Managers use CloseSocket; r=cjones r=gyeh
--HG--
extra : rebase_source : fe8f4633eb9fb86ffc4a87e6b483b3357ab9896d
2012-10-05 16:05:35 -07:00
Gina Yeh
bae321fb7a Bug 797810 - Patch 2: Cleanup for profile connect function, r=qdot 2012-10-05 18:48:05 +08:00
Gina Yeh
185daf9347 Bug 797810 - Patch 1: Support command "AT+CKPD=200" in BluetoothHfpManager, r=qdot 2012-10-05 18:48:05 +08:00
Gina Yeh
2a3e70a90d Bug 797801 - Final version: Cannot receive agent events after crash, r=qdot 2012-10-05 17:19:31 +08:00
Eric Chou
3c5ec491a7 Bug 797786 - Send system message 'Update progress', r=qdot 2012-10-05 16:11:21 +08:00
Eric Chou
0d949fabe1 Bug 797345 - send a system message to notify that 'file transfer completed', r=qdot 2012-10-03 17:06:40 +08:00
Gina Yeh
1d84205ec3 Bug 795659 - Final version: Follow-up to bug 795458, r=qdot 2012-10-04 11:13:12 +08:00
Eric Chou
8f9fed01f1 Bug 796329 - implemented StopSendingFile() and fixed potential memory problem, r=qdot 2012-10-03 15:09:27 +08:00
Gina Yeh
2bb01f2f8e Bug 796827 - Final version: Destroy BluetoothHfpManager instance while in shutdown, r=qdot 2012-10-03 13:53:39 +08:00
Gina Yeh
3f0fb916d1 Bug 796829 - Final version: Destroy BluetoothScoManager instance while in shutdown, r=qdot 2012-10-03 11:27:36 +08:00
Gina Yeh
349708da74 Bug 796300 - Final version: Set audio device BLUETOOTH_SCO_HEADSET to unavailable when disconnect Sco socket, r=qdot 2012-10-03 10:55:28 +08:00
Gina Yeh
3945435967 Bug 795850 - Final version: BluetoothHfpManager failed to be added as observer of mozsettings-changed, r=qdot 2012-10-02 11:00:33 +08:00
Ehsan Akhgari
7de021df15 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-01 16:04:09 -04:00
Nathan Froyd
27b9179800 Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Gina Yeh
e98a47c01b Bug 795249 - Final version: Broadcast hfp connection status with system message, r=qdot 2012-10-01 15:44:48 +08:00
Kyle Machulis
348f07e1d1 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-10-01 00:04:01 -07:00
Kyle Machulis
53cd0a1c12 Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-10-01 00:03:28 -07:00
Eric Chou
53ea233ce5 Bug 795410 - patch 3: Get file content and send, r=qdot
From 01ff8209cc5242bdf6c89432899ab4658e71e58a Mon Sep 17 00:00:00 2001
2012-09-28 20:03:36 +08:00
Eric Chou
c10fa5f9db Bug 795410 - patch 2: Complete call flow, r=qdot
From 9fb76c07818c989ec8edc26b54ba84e1e6ec41ed Mon Sep 17 00:00:00 2001
2012-09-28 19:42:04 +08:00
Eric Chou
6c110db3b7 Bug 795410 - patch 1: Basic function prototype, r=qdot
From 2231ac9d0fb159edabb891f8b89afc176fb15c2b Mon Sep 17 00:00:00 2001
2012-09-28 18:59:12 +08:00
Kyle Machulis
ff94d6c921 Backing out 826ef2970e19 (Bug 790739) due to bustage
--HG--
extra : rebase_source : b9698710f280c343d5aac29441111e9848912dc8
2012-09-30 23:17:21 -07:00
Kyle Machulis
fbe3ed43ff Backing out 9a88f0d57e7d (Bug 790739) due to bustage
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Kyle Machulis
de09ce7cbc Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-09-30 22:55:27 -07:00
Kyle Machulis
8bcd4826b8 Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-09-30 22:54:53 -07:00
Eric Chou
ec1ba51743 Bug 795458 - a workaround for this bug and fixed a typo, r=qdot 2012-09-30 10:45:21 +08:00
Eric Chou
9c95154f0c Bug 794514 - patch 3: added requests and completed call flow, r=qdot 2012-09-29 18:26:46 +08:00
Eric Chou
0a7b0f9afb Bug 794514 - patch 2: implemented newly added functions, r=qdot 2012-09-29 18:26:46 +08:00
Eric Chou
e009fa404c Bug 794514 - patch 1: Update DOM API, r=qdot, sr=mrbkap 2012-09-29 18:26:46 +08:00
Gina Yeh
88282bd920 Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot 2012-09-29 17:39:05 +08:00
Eric Chou
5e5b4c3299 Bug 794469 - patch 2: Implement sending "Connect" request, r=qdot
From 4de16db95fc67e644868347b0107f76751efb9cf Mon Sep 17 00:00:00 2001
2012-09-27 22:59:27 +08:00
Eric Chou
bf0e5c8fad Bug 794469 - patch 1: OBEX related constants, data structures and basic functions, r=qdot 2012-09-28 23:09:29 +08:00
Eric Chou
8d5cdbcd7b Bug 792823 - patch 2: BluetoothOppManager interface and prototype, r=qdot 2012-09-28 19:46:37 +08:00
Eric Chou
4470041022 Bug 792823 - patch 1: register ObjectPush service, r=qdot 2012-09-28 19:46:26 +08:00
Eric Chou
4af42360ce Bug 794791 - [b2g-bluetooth] Update Device/Adapter properties table; r=qdot 2012-09-27 10:28:19 -07:00
Gina Yeh
7044943835 Bug 794005 - v2: Broadcast dialer-related system message, r=qdot 2012-09-27 20:24:06 +08:00
Gina Yeh
fb28674744 Bug 793950 - v2: Handle volume change in BluetoothHfpManager, r=qdot 2012-09-25 18:18:38 +08:00
Eric Chou
aba38c80d2 Bug 792345 - patch 2: implement CallStateChanged, r=qdot 2012-09-27 13:15:33 +08:00
Eric Chou
bc4c74315c Bug 792345 - patch 1: Listened to RIL status, r=qdot 2012-09-27 13:15:22 +08:00
Eric Chou
5e04074c7f Bug 792002 - patch 2: adjust volume after receiving AT+VGS, r=qdot, r=fabrice 2012-09-27 10:24:39 +08:00
Eric Chou
374afd78e6 Bug 792002 - patch 1: HFP message handler, r=qdot 2012-09-27 10:24:39 +08:00
Eric Chou
9727cb5ab9 Bug 791197 - [b2g-bluetooth] BluetoothHfpManager prototype, r=qdot 2012-09-26 21:34:55 +08:00
Gina Yeh
0eb3c75249 Bug 792819 - Final version: BluetoothService::Notify() won't be called after receiving agent events, r=qdot 2012-09-26 14:29:19 +08:00
Kyle Machulis
2901f9e7ab Bug 776182: Patch 3 - Socket I/O for ipc unix sockets; r=cjones r=echou
--HG--
rename : ipc/socket/Makefile.in => ipc/unixsocket/Makefile.in
rename : ipc/socket/Socket.cpp => ipc/unixsocket/UnixSocket.cpp
rename : ipc/socket/Socket.h => ipc/unixsocket/UnixSocket.h
extra : rebase_source : 18f401b047424a187863c9fbe8943364330d1f4d
2012-09-25 13:13:15 -07:00
Kyle Machulis
34e4b7b9fb Bug 789428: Fix object path setting for BluetoothDevice; r=echou
--HG--
extra : rebase_source : 7712835dfa55640910721f9a04bb4ee48e8168b4
2012-09-25 11:48:51 -07:00
Eric Chou
e412c3d761 Bug 793609 - [b2g-bluetooth] Wrong value passed into KeepDBusPairingMessage(), r=qdot 2012-09-25 10:44:00 +08:00
Ehsan Akhgari
d7c314fd07 Bug 793219 - Use bools in DOM Bluetooth code instead of nsresults; r=dhylands 2012-09-21 13:21:36 -04:00
Eric Chou
8ebfb2171b Bug 793140 - Replace 'NS_OK' with 'true', r=qdot 2012-09-22 00:16:43 +08:00
Mike Habicher
e695772791 Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Gina Yeh
bb033e8515 Bug 791928 - Final version: Broadcast bonding-related events with device name, r=qdot 2012-09-21 14:17:35 +08:00
Gina Yeh
867a3854e9 Bug 788949 - Final version: Add PrepareAdapter function for registering agent and add reserved services, r=qdot, r=echou 2012-09-20 21:22:02 +08:00
Ms2ger
93d99ce749 Merge m-c to m-i. 2012-09-20 13:25:53 +02:00
Ms2ger
1e7015f897 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
ee0af53baa Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (first batch); r=mounir 2012-09-20 09:55:36 +02:00
Gina Yeh
682b97b279 Bug 791650 - Final version: 'Connected' attribute in device should a 2-byte array, r=qdot 2012-09-19 11:22:38 +08:00
Gina Yeh
8179cb7ca5 Bug 791945 - Final version: Assertion failed when checking type of propertychanged message, r=echou 2012-09-19 11:19:45 +08:00
Gina Yeh
73426402f8 Bug 792656 - Final version: Fix typo of system message type, r=qdot 2012-09-20 13:53:33 +08:00
Kyle Machulis
6f79c46b4d Bug 791147: Patch 2 - Hook up bluetooth pairing replies to oop; r=bent 2012-09-19 16:37:49 -07:00
Kyle Machulis
1444f8afaf Bug 791147: Patch 1 - Make bluetooth pairing replies use DOMRequests; r=bent 2012-09-19 16:37:42 -07:00
Kyle Machulis
2beddea373 Bug 791811: DeviceCreated signal asserts due to BluetoothService access on DBus Signal thread; r=echou 2012-09-17 23:10:25 -07:00
Kyle Machulis
fced7f909a Bug 791823: Creating system message for pairing requires js request; r=mrbkap 2012-09-17 15:54:12 -07:00
Gina Yeh
1e0365d9fa Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 14:39:47 +08:00
Eric Chou
0926fd916a Backout 5796eacef43c (bug 790133) for B2G compilation failures again 2012-09-17 14:15:12 +08:00
Eric Chou
931c951724 Bug 791436 - [b2g-bluetooth] Readd reserved service reg/unreg for bluetooth, r=qdot 2012-09-17 14:00:54 +08:00
Gina Yeh
b08d9d2496 Bug 791182 - Final version: Send system message when pairing process is finished, r=qdot 2012-09-17 13:56:29 +08:00
Gina Yeh
a0d6e4e4ec Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 13:50:40 +08:00
Kyle Machulis
a6c96ce51e Bug 791413: Exit early when bluetooth property types don't match; r=cjones 2012-09-15 00:39:21 -07:00
Kyle Machulis
43548dd0c8 Bug 791189: Exit signal filters early when signal not handled, remove service reg/unreg to fix bt crashes; r=dhylands 2012-09-14 23:47:01 -07:00
Ben Turner
6d05ed9319 Bug 791162 - 'Fix off-main-thread access of BluetoothService::Get'. r=qDot. 2012-09-13 21:27:45 -07:00
Ben Turner
0d2700c567 Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones. 2012-09-13 09:37:14 -07:00
Gina Yeh
1cca3ee12d Bug 789014 - Final version: Broadcast bonding-related events via system message, r=qdot, r=mrbkap 2012-09-12 22:03:42 +08:00
Eric Chou
821f8c464f Bug 790136 - Registered/Unregistered HFP_AG & HSP_AG services, r=qdot 2012-09-12 15:44:05 +08:00
Eric Chou
c0aa3a48af Bug 790136 - do cleanups before shutdown, r=qdot 2012-09-12 15:44:05 +08:00
Eric Chou
61ba2320b4 Bug 790136 - Added missing service uuids, r=qdot 2012-09-12 15:44:05 +08:00
Nathan Froyd
9a8267f275 Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04:00
Eric Chou
b6c0097ba3 Bug 788254 - [b2g-bluetooth] nsTArray should not be passed back as return value, r=qdot 2012-09-07 15:56:12 +08:00
Ben Turner
191b4036c9 Bug 782588 - 'mozBluetooth is not a singleton'. Add missing include. 2012-09-06 07:41:56 -07:00
Ben Turner
e845bbd74b Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 07:15:36 -07:00
Ehsan Akhgari
65c5e19c37 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Ben Turner
7da534684f Backout d8d15eedf9ec for build failures 2012-09-06 01:11:11 -07:00
Ben Turner
bf23997cbc Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 00:45:20 -07:00
Kyle Machulis
cc79f8ed20 Bug 756299: Patch 2 - IPC Socket Creation Functions and Type Additions; r=mrbkap 2012-09-05 20:06:20 -07:00
Kyle Machulis
dbd693fab8 Bug 787581 - Fix nullptr access crash in BluetoothManager Destructor; r=echou 2012-09-04 10:29:06 -07:00
Gina Yeh
e17f8ea8c0 Bug 764559 - Final version: add eventlistener for adapteradded in BluetoothManager, r=qdot, sr=jst 2012-09-03 14:38:44 +08:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Kyle Huey
b07a95d63e Bug 687332: Part 4 - Sigh. r=me 2012-08-30 21:32:16 -07:00
Kyle Huey
c25f8e64ef Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Eric Chou
a7690a8e84 Bug 777665 - patch 1: Hook up settings to Bluetooth. r=qdot, sr=mrbkap 2012-08-30 14:08:50 +08:00
Gina Yeh
e1df45386c Bug 786596 - v1: get device type information. r=qdot, sr=mrbkap 2012-08-30 11:15:35 +08:00
David Zbarsky
e3dd9b2471 Bug 785583 - BluetoothReplyRunnable instantiates nsAutoPtr template in the header r=qdot 2012-08-25 12:33:51 -04:00
Eric Chou
6c9b6a3fbd Bug 785320 - [b2g-bluetooth] Crash after renaming device in Settings/Bluetooth; r=qdot 2012-08-24 20:32:32 -07:00
Nathan Froyd
2d595e5d44 Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Luke Wagner
94264a0bc8 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Gina Yeh
83b0fc7615 Bug 783934 - Final Version: Add events onconnected and ondisconnected in BluetoothDevice, r=qdot, sr=mrbkap 2012-08-23 14:14:20 +08:00
Ehsan Akhgari
57ac5ddc72 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Eric Chou
d86c1206ca Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot 2012-08-22 18:37:08 +08:00
Eric Chou
313d204135 Bug 784255 - [b2g-bluetooth] devicefound event does not come up correctly, r=qdot 2012-08-21 14:24:05 +08:00
Eric Chou
14bcc1f020 Bug 783932 - [b2g-bluetooth] Fix wrong textwidth(tw=) value in Mode line, r=qdot 2012-08-21 11:21:24 +08:00
Gina Yeh
b9012edcf5 Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
Kyle Machulis
c1b5777800 Bug 783431 - Fix js array initialization for bluetooth and telephony; r=mrbkap 2012-08-20 18:26:44 -07:00
Kyle Machulis
a410f6a257 Bug 784179: Wrong thread assertion in GetPairedDevicePropertiesInternal; r=gwagner 2012-08-20 18:24:48 -07:00
Ehsan Akhgari
0fd9123eac 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
Gina Yeh
392f4dff11 Bug 778640 - Final version: Firing devicedisappeared event, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   16 ++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 +++
 4 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-20 12:23:32 +08:00
Eric Chou
823bcc084b Bug 730992 - Patch 3: Hooking things up to BluetoothAdapter, r=qdot, sr=mrbkap
---
 dom/bluetooth/BluetoothAdapter.cpp       |  204 +++++++++++++++++++++++++++++-
 dom/bluetooth/BluetoothAdapter.h         |    8 ++
 dom/bluetooth/nsIDOMBluetoothAdapter.idl |   16 +++-
 3 files changed, 224 insertions(+), 4 deletions(-)
2012-08-17 18:35:59 +08:00
Eric Chou
748ecff12f Bug 730992 - Patch 2: The machinery in Bluetooth*Service, r=qdot, sr=mrbkap
---
 dom/bluetooth/BluetoothCommon.h              |    8 +
 dom/bluetooth/BluetoothService.h             |   17 +
 dom/bluetooth/linux/BluetoothDBusService.cpp |  561 ++++++++++++++++++++++++-
 dom/bluetooth/linux/BluetoothDBusService.h   |   23 +
 4 files changed, 586 insertions(+), 23 deletions(-)
2012-08-17 18:35:59 +08:00
Eric Chou
0d4af0983c Bug 730992 - Patch 1: The DOM boilerplate for BluetoothPairingEvent, r=qdot, sr=mrbkap
---
 dom/base/nsDOMClassInfo.cpp                   |    9 +++
 dom/base/nsDOMClassInfoClasses.h              |    1 +
 dom/bluetooth/BluetoothPairingEvent.cpp       |   78 +++++++++++++++++++++++++
 dom/bluetooth/BluetoothPairingEvent.h         |   70 ++++++++++++++++++++++
 dom/bluetooth/Makefile.in                     |    2 +
 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl |   15 +++++
 6 files changed, 175 insertions(+), 0 deletions(-)
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.cpp
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.h
 create mode 100644 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl
2012-08-17 18:35:59 +08:00
Chris Pearce
0b56ddc818 Bug 778640 - Backout due to burning. r=bustage 2012-08-17 16:22:25 +12:00
Gina Yeh
e1defc266b Bug 778640 - Final version: Firing devicedisappeared event, create nsIDOMBluetoothDeviceAddressEvent by event generator, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   17 +++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 ++-
 4 files changed, 40 insertions(+), 2 deletions(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-17 12:02:52 +08:00
Gina Yeh
8cc43cb957 Bug 777671 - Final version: add function getPairedDevices() in nsIDOMBluetoothAdapter, r=qdot, sr=mrbkap
---
 dom/bluetooth/BluetoothAdapter.cpp           |   97 +++++++++++++++++++++++++-
 dom/bluetooth/BluetoothAdapter.h             |    2 +-
 dom/bluetooth/BluetoothPropertyContainer.cpp |   32 +--------
 dom/bluetooth/BluetoothPropertyContainer.h   |   26 +------
 dom/bluetooth/BluetoothService.h             |   11 ++-
 dom/bluetooth/BluetoothUtils.cpp             |   48 ++++++++++++-
 dom/bluetooth/BluetoothUtils.h               |    9 ++-
 dom/bluetooth/linux/BluetoothDBusService.cpp |   93 +++++++++++++++++++++++-
 dom/bluetooth/linux/BluetoothDBusService.h   |    4 +-
 dom/bluetooth/nsIDOMBluetoothAdapter.idl     |    3 +-
 10 files changed, 261 insertions(+), 64 deletions(-)
2012-08-17 10:53:45 +08:00
Eric Chou
74667509e3 Bug 782905 - [b2g-bluetooth] Calling setEnabled(false) twice in a very short period may crash, r=qdot 2012-08-16 10:47:39 +08:00
Aryeh Gregor
6a9cec29c8 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Kyle Machulis
6f53c1980f Bug 781692: Always fire DOMRequests for Set functions in BluetoothAdapter 2012-08-13 17:57:54 -07:00
Eric Chou
3f0d074c83 Bug 758504 - Final: patch 2: Implement function to remove reserved services. r=qdot 2012-08-10 11:17:06 +08:00
Eric Chou
1bf9c7ff93 Bug 758504 - Final: patch1: Implement function to add reserved services. r=qdot 2012-08-10 11:17:06 +08:00
Eric Chou
f1813edd25 Bug 781398 - v1: patch 1: Replace mConnection with gThreadConnection. r=qdot 2012-08-09 20:26:12 +08:00
Wes Johnston
fe19c64718 backout c030a8af8abd and dd0c287660e9 CLOSED TREE 2012-08-08 14:07:39 -07:00
Wes Johnston
b259068928 Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-08 12:35:15 -07:00
Kyle Machulis
5d4d64ab32 Bug 768306 - Patch 2: Change BluetoothAdapter initialization to get properties via off main thread blocking calls when creating Adapter object; r=mrbkap 2012-08-08 10:47:09 -07:00
Kyle Machulis
9993d9dae5 Bug 768306 - Patch 1: Fix error handling in unpacking DBus replies, set up DBus blocking call handling thread; r=mrbkap 2012-08-08 10:46:39 -07:00
Eric Chou
20aa3fc5b1 Bug 780812 - [b2g-bluetooth] Implement function to get RFCOMM channel of specific Bluetooth service; r=qdot 2012-08-07 21:19:07 -07:00
Kyle Machulis
b4c6de65bf Bug 759883 - [b2g-bluetooth] Divide out bluetooth specifics from DBusThread object; r=echou 2012-08-07 21:16:03 -07:00
Kyle Machulis
77643d12cf Bug 779384: Hook bluetooth up to permissions manager; r=mrbkap 2012-08-07 21:10:36 -07:00
Kyle Machulis
6ad35e71c5 Backing out 936cfbd263b2, wrong commit message 2012-08-07 21:10:25 -07:00
Kyle Machulis
f843cb834f Bug 778384: Hook bluetooth up to permissions manager; r=mrbkap 2012-08-07 21:07:57 -07:00
Ms2ger
c7a5b33778 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e 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
babf67cce2 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Kyle Machulis
9541d6b577 Bug 779702: Fixing Device and UUID array assignments in BluetoothAdapter; r=echou 2012-08-01 18:59:03 -07:00
Kyle Machulis
36e9fab6d3 Backed out changeset be7c3fa1a34d to fix commit message 2012-08-01 18:58:49 -07:00
Kyle Machulis
b03c9d8742 Bug 779702: Fixing Device and UUID array assignments in BluetoothAdapter 2012-08-01 18:57:39 -07:00
Kyle Machulis
d1592b7a77 Bug 761511: Patch 3 - Update Manager/Adapter/Device objects to be BluetoothPropertyObjects, and add class specific setters; r=mrbkap 2012-07-31 21:53:04 -07:00
Kyle Machulis
7e77b05901 Bug 761511: Patch 2 - Added BluetoothPropertyContainer base class and utility functions; r=mrbkap 2012-07-31 21:49:59 -07:00
Kyle Machulis
b7c1091ede Bug 761511: Patch 1 - Boilerplate for BluetoothPropertyEvent DOM Object r=bent; sr=mrbkap 2012-07-31 21:49:59 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Makoto Kato
fab68322c5 Bug 777304 - Don't use freed pointer after destructor of NS_ConvertUTF16toUTF8. r=bsmedberg 2012-07-27 12:13:51 +09:00
Kyle Machulis
2bdbc92729 Bug 776745 - [b2g-bluetooth] Crash in bluetooth discovery due to initializer buried in NS_ASSERTION; r=anygregor 2012-07-24 13:05:04 -07:00
Gervase Markham
44a28dd9d7 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
David Zbarsky
88371b030a [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Kyle Machulis
d6a549555c Bug 740744: Asynchronous dbus events for bluetooth, Start/StopDiscovery and device event firing; r=bent sr=mrbkap 2012-07-17 20:41:54 -07:00
Marshall Culpepper
47c826419d Bug 774708: Ensure sBluetoothEventObserverTable is valid before attempting to query observers, fixing a Bluetooth crash in emulator. r=qDot 2012-07-17 09:44:20 -07:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Honza Bambas
41779e1714 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Kyle Machulis
8b8e15f423 Bug 744349 - Create message distribution mechanism for DBus Bluetooth Signals; r=cjones 2012-06-02 11:23:16 -07:00
Kyle Machulis
dc57c39391 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 21:02:23 -07:00
Kyle Machulis
63d6921b7a Backing out Bug 742044 - Bustage on B2G 2012-05-23 18:27:53 -07:00
Kyle Machulis
2c0c44fa04 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:21:05 -07:00
Kyle Machulis
eb68ccd524 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis
93aca69abd Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Eric Chou
801de3662e Bug 755190 - Enabling b2g bluetooth will lead to system crash, r=qDot 2012-05-15 12:47:27 -07:00
Ryan VanderMeulen
4725eb67fd Re-land the patch for bug 732639 after a b2g clobber. 2012-05-07 17:50:25 -04:00
Ryan VanderMeulen
f55c9211bc Backout 7a8607523522 (bug 732639) due to bustage. r=Boot2Fail 2012-05-07 17:21:01 -04:00
Kyle Machulis
2e3ae3ab58 Bug 732639: Create event loop thread for bluetooth dbus on gonk/linux; r=cjones 2012-05-07 14:04:59 -07:00
Eric Chou
fdedf2d2b0 Backout 4a9ebf972d27 (Bug 730990) because it was checked-in without superreview 2012-05-04 07:53:51 +08:00
Ms2ger
e29bcbd3dc Backed out changeset db5d4c1aece7 for B2g bustage. 2012-04-14 09:29:41 +02:00
Kyle Machulis
aa01b6531a Bug 732639: DBus Thread Implementation for B2G Bluetooth r=cjones
--HG--
extra : rebase_source : 564ff82ed63cb02ab99204c572baad6a5e761376
2012-04-13 22:40:09 -07:00
Mounir Lamouri
b8537a9154 Bug 739840 - Make nsDOMEventTarget subclasses inherit from nsDOMEventTargetHelper first. r=khuey 2012-03-28 10:29:14 -07:00
Eric Chou
cc9697f125 Bug 731361 - Change bluetooth firmware loading to use a DOMRequest based API. r=bent 2012-03-27 19:17:35 -04:00
Eric Chou
85cd3d3dea Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:58:12 -07:00
Kyle Machulis
233b8a5ed9 Backing out a44ac6895a2f 2012-03-23 14:50:47 -07:00
Eric Chou
5fc8781e5d Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:18:03 -07:00
Kyle Machulis
53b01aab66 Bug 729470 - Make bluedroid calls load via dlopen r=cjones 2012-03-08 15:14:06 -08:00
Eric Chou
8f17971cf6 Bug 729991: fix followup problems of bug 713116, r=ben 2012-03-04 19:54:01 -08:00
Eric Chou
287329db9a Bug 713116 - B2G Bluetooth: Turn bluetooth adapter on/off - r=qDot 2012-02-23 16:55:48 +01:00
Kyle Machulis
0ec84a60d2 Bug 711601 - B2G Bluetooth Boiler Plate r=bent 2012-02-20 16:15:19 +01:00
Kyle Machulis
fc01ae2278 Back out bug 711601 (changeset 4c8aa2b0ca1c) due to qemu breakage 2012-02-17 15:54:27 -08:00
Kyle Machulis
55bf17714a Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-14 17:51:52 -08:00