Граф коммитов

887 Коммитов

Автор SHA1 Сообщение Дата
Eric Chou 992f7816cf Bug 815079 - notify DeviceStorage when a file is received and saved, r=dougt 2012-12-12 16:54:54 +08:00
Eric Chou b7e12f1bec Bug 818696 - prevent "pairing failed" prompt from appearing after re-enabling Bluetooth, r=gyeh 2012-12-11 19:31:47 +08:00
Ed Morley ac14c441b0 Backout 8288c4940d1e (bug 818696) for crashes 2012-12-11 12:53:37 +00:00
Eric Chou df4a793aee Bug 818696 - prevent "pairing failed" prompt from appearing after re-enabling Bluetooth, r=gyeh 2012-12-11 19:31:47 +08:00
Gina Yeh ed27a7c475 Bug 819832 - Patch 1: Sending files to Mac would fail at the end of sending process, r=echou 2012-12-11 13:55:37 +08:00
Gina Yeh af7472b3b6 Bug 817930 - Patch 1: Support for receiving multiple files sequentially, r=echou 2012-12-07 20:12:57 +08:00
Ms2ger 4c7f8c7ec0 Bug 814898 - Part c: Cleanup CC goop in B2G-specific parts of dom/; r=mccr8 2012-12-02 09:54:37 +01:00
Gina Yeh 8241611b48 Bug 816859 - Patch 1: Failed to receive a file, r=echou 2012-11-30 17:49:08 +08:00
Gina Yeh eb58c9b017 Bug 815325 - Patch 1: Turning bluetooth on and off multiple times causes restart, r=echou 2012-11-30 17:46:55 +08:00
Boris Zbarsky 22f1c17e89 Bug 815671 part 5. Various miscellaneous fixups in dom/ and hal/ code to copy arrays only when we explicitly want to. r=jlebar 2012-11-29 11:14:14 -05:00
Ehsan Akhgari cf0638b6a7 Merge mozilla-central into mozilla-inbound 2012-11-28 09:43:30 -05:00
Olli Pettay c806b877ae Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Gina Yeh 41d963f2a9 Bug 813817 - Patch 1: Cancelling file transferring doesn't clear the notifications, r=echou 2012-11-28 15:59:20 +08:00
Eric Chou 96d61874a4 Bug 811946 - remove annoying compiler warnings and define a more structured interface for Bluetooth uuid, r=qdot 2012-11-27 14:12:19 +08:00
Eric Chou 3c21e29226 Bug 814376 - Improve the mechanism for setting file extension of a blob, r=sicking 2012-11-26 20:51:29 +08:00
Gina Yeh b946212eec Bug 814555 - Patch 1: After hanging up the phone, still ring tone from bluetooth, r=echou 2012-11-26 10:35:55 +08:00
Eric Chou 79f3aa1ece Bug 812412 - replace full path with leaf name only, r=dougt 2012-11-21 15:53:19 +08:00
Gina Yeh 48668bc7b2 Bug 812430 - Patch 1: First time connected by laptop would show empty pairing message, r=echou 2012-11-21 15:33:07 +08:00
Gregor Wagner a706237710 Bug 815572 - Standardize the Bluetooth permissions name to "bluetooth". r=qdot 2012-11-27 12:10:47 -08:00
Gina Yeh 878b80c7c2 Bug 812391 - Patch 1: Support audio stream of bt_sco, r=echou 2012-11-19 15:10:38 +08:00
Gina Yeh 4893e62992 Bug 812404 - Patch 1: Crash when connect with a bluetooth headset right after pairing completed, r=echou 2012-11-16 18:46:08 +08:00
David Zbarsky dcdecf8a09 No bug, fix struct/class mismatch warnings 2012-11-14 21:38:26 -05:00
Gregor Wagner 3fb2b40d93 Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:46:38 -08:00
Gregor Wagner 28b91e9e9a Backout Bug 811414 for breaking B2G 2012-11-14 13:09:21 -08:00
Gregor Wagner c88b6950ec Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:00:51 -08:00
Gina Yeh c04788930e Bug 811196 - Patch 1: Cannot receive call status change from RIL, r=echou 2012-11-14 19:25:19 +08:00
Eric Chou b160bd0873 Bug 809781 - Fixed sending file failure, r=gyeh 2012-11-14 14:29:11 +08:00
Eric Chou 89b80ddd58 Bug 809538 - refactory and handle no sdcard situation, r=qdot 2012-11-07 17:46:31 -08:00
Gina Yeh 5c7d83ae13 Bug 809515 - Patch 1: No response when failed to connect to a headset, r=qdot 2012-11-07 15:48:39 -08:00
Gina Yeh 8ef660a117 Bug 808879 - Patch 1: Expose connection status for system app, r=qdot, sr=mrbkap 2012-11-07 10:12:41 -08:00
Eric Chou 8c38007462 Bug 808193 - return 'boolean' if PROP_DEVICE_CONNECTED_TYPE is not found, r=qdot 2012-11-05 15:48:34 -08:00
Eric Chou 32339a5cf9 Bug 805724 - patch 5: sent correct file name to Gaia and removed received incomplete file, r=qdot 2012-11-03 09:36:49 +08:00
Eric Chou 45c56232ef Bug 805724 - patch 4: fire dom request events after calling OPP related functions, r=qdot 2012-11-03 09:36:43 +08:00
Eric Chou fcf207b17e Bug 805724 - patch 3: let user be able to terminate receiving process by calling StopSendingFile(), r=qdot 2012-11-03 09:36:39 +08:00
Eric Chou 6efe5ae86d Bug 805724 - patch 2: cleanup (naming, check text width, decrease build warnings), r=qdot 2012-11-03 09:36:34 +08:00
Eric Chou 78f02f004a Bug 805724 - patch 1: made BluetoothOppManager listen again after disconnection, r=qdot 2012-11-03 09:36:19 +08:00
Kyle Machulis 4124a8c7e6 Bug 791268: Make dylib symbol binding retry, let bluetooth firmware shutdown still work even on error; r=echou
--HG--
extra : rebase_source : f17ca1a8d3fe84a73cab3c4e0db56ee4f15fe0d1
2012-11-02 13:16:45 -07:00
Gina Yeh 1bb82bc587 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 6a2fef812b 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 5c7f71cea3 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 79851a6c4a 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 df50123684 Bug 806296 - Patch 1(v1): Cannot create an encrypted socket, r=echou 2012-10-31 17:33:50 +08:00
Eric Chou dba26b6900 Bug 802080 - Update connected device address, r=qdot 2012-10-31 14:07:06 +08:00
Gina Yeh bf04fa37e9 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 fd065f6b20 Bug 803614 - [b2g-bluetooth] Save received file, r=qdot, r=dougt 2012-10-31 11:15:12 +08:00
Gina Yeh 6145cd0a13 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 db0018fa01 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 ba1066f7be 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 3651217462 Bug 802288: Make BluetoothOppManager shutdown at xpcom-shutdown event; r=echou 2012-10-25 18:25:46 -07:00
Kyle Machulis f80964cf2d Bug 804687: Remove sHfpCommandThread from BluetoothHfpManager; r=echou 2012-10-25 18:25:15 -07:00
Gina Yeh 5dbfec7cad 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 d00fa73602 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 38f083e7e5 Bug 802590 - Patch 3: Implemented the logic, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou 9e7732996a Bug 802590 - patch 2: IPC implementation, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou af77ac0c72 Bug 802590 - patch 1: DOM API change, sr=mrbkap, r=qdot 2012-10-19 14:16:13 +08:00
Gabriele Svelto 44557fe8f0 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 0d5aa7e492 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 2c2ebffe1b Bug 799452 - patch 2: Parse PUT request header, r=qdot 2012-10-17 14:48:52 +08:00
Eric Chou 6db58f3fe4 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 0f311715a5 Bug 801507 - Listen to ObjectPush service socket, r=qdot 2012-10-15 14:16:41 +08:00
Kyle Machulis 79986a727c 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 76628055e6 Bug 779473 - Fix some nsresult abuses in the Bluetooth implementation 2012-10-13 10:45:45 -04:00
Eric Chou a88dbd995e Bug 800313 - Refine system messages interface for bluetooth file-sharing app, r=qdot 2012-10-12 19:14:21 +08:00
Kyle Machulis 1396968128 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 60315b4b11 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 c19fa47b47 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 b08325df89 Bug 799243 - Patch 2: Fix static nsTArray initialization in BluetoothDBusService; r=echou 2012-10-08 22:00:02 -07:00
Kyle Machulis fa50d502e5 Bug 799243 - Patch 1: Fix Bluetooth*Manager observer pointer types; r=echou 2012-10-08 21:59:33 -07:00
Gina Yeh dc065af933 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 5ee8209316 Bug 798035 - Patch 2: Bluetooth SCOManager Cleanup; r=gyeh
--HG--
extra : rebase_source : 4509998c8d685cf510861ebc06616387dca6444f
2012-10-05 19:16:43 -07:00
Kyle Machulis ce91963373 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 2a5ddd38ed 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 196a8f9079 Bug 797810 - Patch 2: Cleanup for profile connect function, r=qdot 2012-10-05 18:48:05 +08:00
Gina Yeh b8946a2bd3 Bug 797810 - Patch 1: Support command "AT+CKPD=200" in BluetoothHfpManager, r=qdot 2012-10-05 18:48:05 +08:00
Gina Yeh 1ed223ab62 Bug 797801 - Final version: Cannot receive agent events after crash, r=qdot 2012-10-05 17:19:31 +08:00
Eric Chou 448088630d Bug 797786 - Send system message 'Update progress', r=qdot 2012-10-05 16:11:21 +08:00
Eric Chou bc8f89cb70 Bug 797345 - send a system message to notify that 'file transfer completed', r=qdot 2012-10-03 17:06:40 +08:00
Gina Yeh 02b6058680 Bug 795659 - Final version: Follow-up to bug 795458, r=qdot 2012-10-04 11:13:12 +08:00
Eric Chou b04a37f44f Bug 796329 - implemented StopSendingFile() and fixed potential memory problem, r=qdot 2012-10-03 15:09:27 +08:00
Gina Yeh 7d751429f8 Bug 796827 - Final version: Destroy BluetoothHfpManager instance while in shutdown, r=qdot 2012-10-03 13:53:39 +08:00
Gina Yeh 7e7bc0c442 Bug 796829 - Final version: Destroy BluetoothScoManager instance while in shutdown, r=qdot 2012-10-03 11:27:36 +08:00
Gina Yeh e0a4d2aab6 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 cb224cf0fe 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 f0a3f6136f Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-01 16:04:09 -04:00
Nathan Froyd a30e1929a4 Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Gina Yeh 4649363c2e Bug 795249 - Final version: Broadcast hfp connection status with system message, r=qdot 2012-10-01 15:44:48 +08:00
Kyle Machulis 156f92210d Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-10-01 00:04:01 -07:00
Kyle Machulis c909c64c02 Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-10-01 00:03:28 -07:00
Eric Chou b4cd0aa3b1 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 3e4b2a49a1 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 c95d365829 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 83a933da2f Backing out 826ef2970e19 (Bug 790739) due to bustage
--HG--
extra : rebase_source : b9698710f280c343d5aac29441111e9848912dc8
2012-09-30 23:17:21 -07:00
Kyle Machulis 3825fda6ae Backing out 9a88f0d57e7d (Bug 790739) due to bustage
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Kyle Machulis 2a50397f57 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-09-30 22:55:27 -07:00
Kyle Machulis 0514e729f5 Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-09-30 22:54:53 -07:00
Eric Chou 9569f1ab77 Bug 795458 - a workaround for this bug and fixed a typo, r=qdot 2012-09-30 10:45:21 +08:00
Eric Chou c55c29c7bc Bug 794514 - patch 3: added requests and completed call flow, r=qdot 2012-09-29 18:26:46 +08:00
Eric Chou b1229bb92c Bug 794514 - patch 2: implemented newly added functions, r=qdot 2012-09-29 18:26:46 +08:00
Eric Chou f830df680e Bug 794514 - patch 1: Update DOM API, r=qdot, sr=mrbkap 2012-09-29 18:26:46 +08:00
Gina Yeh d2213ee525 Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot 2012-09-29 17:39:05 +08:00
Eric Chou 488cf5391e 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 8250540750 Bug 794469 - patch 1: OBEX related constants, data structures and basic functions, r=qdot 2012-09-28 23:09:29 +08:00
Eric Chou 327c7c6f74 Bug 792823 - patch 2: BluetoothOppManager interface and prototype, r=qdot 2012-09-28 19:46:37 +08:00
Eric Chou 94f169be11 Bug 792823 - patch 1: register ObjectPush service, r=qdot 2012-09-28 19:46:26 +08:00
Eric Chou 093b968500 Bug 794791 - [b2g-bluetooth] Update Device/Adapter properties table; r=qdot 2012-09-27 10:28:19 -07:00
Gina Yeh 0d61b0f73d Bug 794005 - v2: Broadcast dialer-related system message, r=qdot 2012-09-27 20:24:06 +08:00
Gina Yeh 55a871d787 Bug 793950 - v2: Handle volume change in BluetoothHfpManager, r=qdot 2012-09-25 18:18:38 +08:00
Eric Chou bcc9881fc1 Bug 792345 - patch 2: implement CallStateChanged, r=qdot 2012-09-27 13:15:33 +08:00
Eric Chou 8f7dd845f8 Bug 792345 - patch 1: Listened to RIL status, r=qdot 2012-09-27 13:15:22 +08:00
Eric Chou cbb7f8ccdc Bug 792002 - patch 2: adjust volume after receiving AT+VGS, r=qdot, r=fabrice 2012-09-27 10:24:39 +08:00
Eric Chou 1ac392123d Bug 792002 - patch 1: HFP message handler, r=qdot 2012-09-27 10:24:39 +08:00
Eric Chou 1bcb230275 Bug 791197 - [b2g-bluetooth] BluetoothHfpManager prototype, r=qdot 2012-09-26 21:34:55 +08:00
Gina Yeh ddde8f1ec0 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 f87fb81b3d 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 37b4f391e4 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 8e3120a9f4 Bug 793609 - [b2g-bluetooth] Wrong value passed into KeepDBusPairingMessage(), r=qdot 2012-09-25 10:44:00 +08:00
Ehsan Akhgari 35b709f52d Bug 793219 - Use bools in DOM Bluetooth code instead of nsresults; r=dhylands 2012-09-21 13:21:36 -04:00
Eric Chou 98470da125 Bug 793140 - Replace 'NS_OK' with 'true', r=qdot 2012-09-22 00:16:43 +08:00
Mike Habicher 5b69de0f54 Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Gina Yeh 1c0944f4fb Bug 791928 - Final version: Broadcast bonding-related events with device name, r=qdot 2012-09-21 14:17:35 +08:00
Gina Yeh a8a416d307 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 041bbd6a40 Merge m-c to m-i. 2012-09-20 13:25:53 +02:00
Ms2ger abf742d34d Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger 0ee9c6885f 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 225624767b 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 a8b77def0b Bug 791945 - Final version: Assertion failed when checking type of propertychanged message, r=echou 2012-09-19 11:19:45 +08:00
Gina Yeh a87342976e Bug 792656 - Final version: Fix typo of system message type, r=qdot 2012-09-20 13:53:33 +08:00
Kyle Machulis 6d4d7ea643 Bug 791147: Patch 2 - Hook up bluetooth pairing replies to oop; r=bent 2012-09-19 16:37:49 -07:00
Kyle Machulis 57fc1df8d0 Bug 791147: Patch 1 - Make bluetooth pairing replies use DOMRequests; r=bent 2012-09-19 16:37:42 -07:00
Kyle Machulis 59728b2fec 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 688cf74570 Bug 791823: Creating system message for pairing requires js request; r=mrbkap 2012-09-17 15:54:12 -07:00
Gina Yeh ceb6558fc1 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 14:39:47 +08:00
Eric Chou 83c230f9c3 Backout 5796eacef43c (bug 790133) for B2G compilation failures again 2012-09-17 14:15:12 +08:00
Eric Chou 93c71d5738 Bug 791436 - [b2g-bluetooth] Readd reserved service reg/unreg for bluetooth, r=qdot 2012-09-17 14:00:54 +08:00
Gina Yeh 6c6a93dea8 Bug 791182 - Final version: Send system message when pairing process is finished, r=qdot 2012-09-17 13:56:29 +08:00
Gina Yeh 15af0d63e0 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 13:50:40 +08:00
Kyle Machulis 6f116ba19c Bug 791413: Exit early when bluetooth property types don't match; r=cjones 2012-09-15 00:39:21 -07:00
Kyle Machulis 3116640174 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 aa4a6e2806 Bug 791162 - 'Fix off-main-thread access of BluetoothService::Get'. r=qDot. 2012-09-13 21:27:45 -07:00
Ben Turner 9e6221f761 Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones. 2012-09-13 09:37:14 -07:00
Gina Yeh 38b6df706e 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 8f44c903a6 Bug 790136 - Registered/Unregistered HFP_AG & HSP_AG services, r=qdot 2012-09-12 15:44:05 +08:00
Eric Chou d5892f9119 Bug 790136 - do cleanups before shutdown, r=qdot 2012-09-12 15:44:05 +08:00
Eric Chou b5c8d6c62d Bug 790136 - Added missing service uuids, r=qdot 2012-09-12 15:44:05 +08:00
Nathan Froyd 96439647c2 Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04:00
Eric Chou dc77cb5f0a 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 db8e03c63a Bug 782588 - 'mozBluetooth is not a singleton'. Add missing include. 2012-09-06 07:41:56 -07:00
Ben Turner cbc670ae41 Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 07:15:36 -07:00
Ehsan Akhgari 4a8bc9fd25 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 f6263b471d Backout d8d15eedf9ec for build failures 2012-09-06 01:11:11 -07:00
Ben Turner 83f7be10e2 Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 00:45:20 -07:00
Kyle Machulis a1d87b361c Bug 756299: Patch 2 - IPC Socket Creation Functions and Type Additions; r=mrbkap 2012-09-05 20:06:20 -07:00
Kyle Machulis fedadfa464 Bug 787581 - Fix nullptr access crash in BluetoothManager Destructor; r=echou 2012-09-04 10:29:06 -07:00
Gina Yeh bf62bdbc2a Bug 764559 - Final version: add eventlistener for adapteradded in BluetoothManager, r=qdot, sr=jst 2012-09-03 14:38:44 +08:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Kyle Huey 4aa4d1e1b6 Bug 687332: Part 4 - Sigh. r=me 2012-08-30 21:32:16 -07:00
Kyle Huey 3b42fbfcd1 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 31225c1b70 Bug 777665 - patch 1: Hook up settings to Bluetooth. r=qdot, sr=mrbkap 2012-08-30 14:08:50 +08:00
Gina Yeh a64c762b16 Bug 786596 - v1: get device type information. r=qdot, sr=mrbkap 2012-08-30 11:15:35 +08:00
David Zbarsky f7fb883ca8 Bug 785583 - BluetoothReplyRunnable instantiates nsAutoPtr template in the header r=qdot 2012-08-25 12:33:51 -04:00
Eric Chou bc7ac97330 Bug 785320 - [b2g-bluetooth] Crash after renaming device in Settings/Bluetooth; r=qdot 2012-08-24 20:32:32 -07:00
Nathan Froyd 1a9bf63360 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 ad90af9ca5 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 c07731cc1b 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 2d709c2f52 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Eric Chou c713f87fb5 Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot 2012-08-22 18:37:08 +08:00
Eric Chou 54637d3390 Bug 784255 - [b2g-bluetooth] devicefound event does not come up correctly, r=qdot 2012-08-21 14:24:05 +08:00
Eric Chou 77828a8e5e Bug 783932 - [b2g-bluetooth] Fix wrong textwidth(tw=) value in Mode line, r=qdot 2012-08-21 11:21:24 +08:00
Gina Yeh 6ba33be90b Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
Kyle Machulis 085993a2c6 Bug 783431 - Fix js array initialization for bluetooth and telephony; r=mrbkap 2012-08-20 18:26:44 -07:00
Kyle Machulis cb6603edb2 Bug 784179: Wrong thread assertion in GetPairedDevicePropertiesInternal; r=gwagner 2012-08-20 18:24:48 -07:00
Ehsan Akhgari e368dc9c85 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 f5c91080a9 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 03b52423d5 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 2dc14ca1d9 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 1353638291 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 f15f8516e4 Bug 778640 - Backout due to burning. r=bustage 2012-08-17 16:22:25 +12:00
Gina Yeh faa4304b5c 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 141b9509a5 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 b2f1558be8 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 a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Kyle Machulis b82b733e51 Bug 781692: Always fire DOMRequests for Set functions in BluetoothAdapter 2012-08-13 17:57:54 -07:00
Eric Chou 2dcdd775ec Bug 758504 - Final: patch 2: Implement function to remove reserved services. r=qdot 2012-08-10 11:17:06 +08:00
Eric Chou 4596320121 Bug 758504 - Final: patch1: Implement function to add reserved services. r=qdot 2012-08-10 11:17:06 +08:00
Eric Chou 3070b4a349 Bug 781398 - v1: patch 1: Replace mConnection with gThreadConnection. r=qdot 2012-08-09 20:26:12 +08:00
Wes Johnston e6e173db29 backout c030a8af8abd and dd0c287660e9 CLOSED TREE 2012-08-08 14:07:39 -07:00
Wes Johnston 2ca14e2ea1 Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-08 12:35:15 -07:00
Kyle Machulis 281a66ef4c 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 11d7f94bbe 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 de6f5f272e 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 14894fb5f2 Bug 759883 - [b2g-bluetooth] Divide out bluetooth specifics from DBusThread object; r=echou 2012-08-07 21:16:03 -07:00
Kyle Machulis 3df54ef3d4 Bug 779384: Hook bluetooth up to permissions manager; r=mrbkap 2012-08-07 21:10:36 -07:00
Kyle Machulis 936a7d3c33 Backing out 936cfbd263b2, wrong commit message 2012-08-07 21:10:25 -07:00
Kyle Machulis d4653b4f43 Bug 778384: Hook bluetooth up to permissions manager; r=mrbkap 2012-08-07 21:07:57 -07:00
Ms2ger c75eefb90d Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley f4181983a1 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 27245512cd Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Kyle Machulis 4ecaf376fb Bug 779702: Fixing Device and UUID array assignments in BluetoothAdapter; r=echou 2012-08-01 18:59:03 -07:00
Kyle Machulis fe29f68a46 Backed out changeset be7c3fa1a34d to fix commit message 2012-08-01 18:58:49 -07:00
Kyle Machulis 7fe35a159e Bug 779702: Fixing Device and UUID array assignments in BluetoothAdapter 2012-08-01 18:57:39 -07:00
Kyle Machulis 999cc34e55 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 cdf8a37fda Bug 761511: Patch 2 - Added BluetoothPropertyContainer base class and utility functions; r=mrbkap 2012-07-31 21:49:59 -07:00
Kyle Machulis 564a0e174b Bug 761511: Patch 1 - Boilerplate for BluetoothPropertyEvent DOM Object r=bent; sr=mrbkap 2012-07-31 21:49:59 -07:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Makoto Kato 17d5fc9a84 Bug 777304 - Don't use freed pointer after destructor of NS_ConvertUTF16toUTF8. r=bsmedberg 2012-07-27 12:13:51 +09:00
Kyle Machulis cc4412e3d5 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 1c9fc1e594 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
David Zbarsky 9a61d96c70 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Kyle Machulis f8c0d08e82 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 aab9b167f8 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 d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Honza Bambas fc7084f564 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 9df5dec558 Bug 744349 - Create message distribution mechanism for DBus Bluetooth Signals; r=cjones 2012-06-02 11:23:16 -07:00
Kyle Machulis d2a38bcf4f Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 21:02:23 -07:00
Kyle Machulis 4c5554ccb2 Backing out Bug 742044 - Bustage on B2G 2012-05-23 18:27:53 -07:00
Kyle Machulis 421f8ec45d Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:21:05 -07:00
Kyle Machulis c360d390b8 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis 435352baa4 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Eric Chou fdb9db60f5 Bug 755190 - Enabling b2g bluetooth will lead to system crash, r=qDot 2012-05-15 12:47:27 -07:00
Ryan VanderMeulen 9a0075da5b Re-land the patch for bug 732639 after a b2g clobber. 2012-05-07 17:50:25 -04:00
Ryan VanderMeulen 835d66af27 Backout 7a8607523522 (bug 732639) due to bustage. r=Boot2Fail 2012-05-07 17:21:01 -04:00
Kyle Machulis eda1d7b45b Bug 732639: Create event loop thread for bluetooth dbus on gonk/linux; r=cjones 2012-05-07 14:04:59 -07:00
Eric Chou b36e1d3b47 Backout 4a9ebf972d27 (Bug 730990) because it was checked-in without superreview 2012-05-04 07:53:51 +08:00
Ms2ger 673d991d89 Backed out changeset db5d4c1aece7 for B2g bustage. 2012-04-14 09:29:41 +02:00
Kyle Machulis ca94ac726c 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 d6df12eebc Bug 739840 - Make nsDOMEventTarget subclasses inherit from nsDOMEventTargetHelper first. r=khuey 2012-03-28 10:29:14 -07:00
Eric Chou abf70bea30 Bug 731361 - Change bluetooth firmware loading to use a DOMRequest based API. r=bent 2012-03-27 19:17:35 -04:00
Eric Chou 2da532b4e8 Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:58:12 -07:00
Kyle Machulis 8713b9faa2 Backing out a44ac6895a2f 2012-03-23 14:50:47 -07:00
Eric Chou bab53c603a Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:18:03 -07:00
Kyle Machulis bff530359b Bug 729470 - Make bluedroid calls load via dlopen r=cjones 2012-03-08 15:14:06 -08:00
Eric Chou 6a15ecefcb Bug 729991: fix followup problems of bug 713116, r=ben 2012-03-04 19:54:01 -08:00
Eric Chou 04b3e3c04c Bug 713116 - B2G Bluetooth: Turn bluetooth adapter on/off - r=qDot 2012-02-23 16:55:48 +01:00
Kyle Machulis d0600c2d50 Bug 711601 - B2G Bluetooth Boiler Plate r=bent 2012-02-20 16:15:19 +01:00
Kyle Machulis aab6a28280 Back out bug 711601 (changeset 4c8aa2b0ca1c) due to qemu breakage 2012-02-17 15:54:27 -08:00
Kyle Machulis 2030a8c40f 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