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

171 Коммитов

Автор SHA1 Сообщение Дата
Vicamo Yang 5cbf3a4d95 Bug 1064231 - unify instantiation process for RIL services. r=smaug 2014-09-16 21:20:24 +08:00
Szu-Yu Chen [:aknow] 3fe2aa1e1f Bug 1061210 - Update conference group after enumerateCall. r=hsinyi
--HG--
extra : rebase_source : 31916415de67bdefed6c7d01a8f9412bd195301e
2014-09-04 00:45:00 -04:00
Ehsan Akhgari 1b1d6ffebf Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Kyle Huey ee14e9c264 Bug 1034312: Inherit from interfaces when using the NS_DECL_NSIFOO macros in b2g. r=vicamo 2014-08-19 18:01:49 -07:00
Szu-Yu Chen [:aknow] 2a4e100c4b Bug 1054909 - Don't pass number to Callback constructor. r=hsinyi 2014-08-18 19:26:00 -04:00
Bobby Holley e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen 30ae466592 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley 3e4d70a655 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Szu-Yu Chen [:aknow] f5b19b0ff2 Bug 1051715 - Part 2: Also pass number in notifyDialSuccess. r=hsinyi 2014-08-12 23:51:00 -04:00
Szu-Yu Chen [:aknow] 59bd7c20af Bug 1036851 - Part 2: Add ready event (dom). r=hsinyi 2014-07-21 19:17:00 +02:00
Boris Zbarsky 92fb7dde3a Bug 1040263. Eagerly create and preserve Promise reflectors so we always have them available during unlink. r=nsm,bholley. 2014-07-18 21:31:11 -04:00
Szu-Yu Chen [:aknow] 8c6046d07f Bug 1027513 - Extract CreateCall and CreateCallId. r=hsinyi 2014-06-24 06:52:00 -04:00
Benoit Jacob ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Hsin-Yi Tsai fd995e0e3c Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
Hsin-Yi Tsai 478c777a6c Backed out changeset 598098217e1f (bug 981519) for causing regression bug 1026081 2014-06-17 15:37:31 +08:00
Szu-Yu Chen [:aknow] b3b134d636 Bug 1014903 - Get active call by query. r=hsinyi 2014-06-12 19:34:00 -04:00
Hsin-Yi Tsai 279886c354 Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
Vicamo Yang 8d5be851b4 Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug 2014-06-11 09:23:34 +08:00
Boris Zbarsky a0760577c7 Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Vicamo Yang fa6b7968d6 Bug 927320 - 2/2: rename related variables. r=aknow,btian 2014-06-03 22:15:30 +08:00
Vicamo Yang cff89f3dbc Bug 927320 - 1/2: rename TelephonyProvider to TelephonyService. r=aknow
--HG--
rename : dom/telephony/gonk/TelephonyProvider.js => dom/telephony/gonk/TelephonyService.js
rename : dom/telephony/gonk/TelephonyProvider.manifest => dom/telephony/gonk/TelephonyService.manifest
rename : dom/telephony/ipc/TelephonyIPCProvider.cpp => dom/telephony/ipc/TelephonyIPCService.cpp
rename : dom/telephony/ipc/TelephonyIPCProvider.h => dom/telephony/ipc/TelephonyIPCService.h
rename : dom/telephony/nsIGonkTelephonyProvider.idl => dom/telephony/nsIGonkTelephonyService.idl
rename : dom/telephony/nsITelephonyProvider.idl => dom/telephony/nsITelephonyService.idl
2014-06-03 22:15:25 +08:00
Szu-Yu Chen [:aknow] fd74ad258f Bug 1016849 - Part 2: Remove isActive (dom). r=hsinyi 2014-05-29 00:15:00 -04:00
Szu-Yu Chen [:aknow] 23f7dd33ce Bug 1013745 - Part 2: Get callIndex when dialling success (dom). r=hsinyi 2014-05-26 19:08:00 +02:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Szu-Yu Chen [:aknow] e6385fa706 Bug 996444 - Remove gTelephonyList. r=hsinyi 2014-04-22 17:57:05 +08:00
Boris Zbarsky 79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky d4bd64ee2c Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Szu-Yu Chen [:aknow] 49fb08a3bf Bug 990467 - Part 3: DOM: Re-order code to avoid multi-thread issue. r=hsinyi 2014-04-04 08:18:49 -04:00
Masayuki Nakano 930436ef24 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Hsin-Yi Tsai ac1bf381e1 Bug 979626 - Crash in Telephony while running stability scripts. r=vicamo 2014-03-05 20:19:38 +08:00
Hsin-Yi Tsai 535c668bf1 Bug 881174 - part4 - cdma 3way call DOM and IPC. r=vicamo 2014-02-21 17:52:13 +08:00
Szu-Yu Chen [:aknow] 5984abb426 Bug 969218 - Part 4: Use promise for dial and dialEmergency - dom. r=khuey 2014-02-27 14:12:30 +08:00
Ryan VanderMeulen f8f5c07e4a Backed out 6 changesets (bug 969218) for bustage. DONTBUILD
Backed out changeset 86356906ecf0 (bug 969218)
Backed out changeset 46fa16a18c27 (bug 969218)
Backed out changeset 75219ceb5175 (bug 969218)
Backed out changeset b9f4ba525eec (bug 969218)
Backed out changeset 323c1329614b (bug 969218)
Backed out changeset e0fa4e0eee36 (bug 969218)
2014-02-26 14:27:54 -05:00
Szu-Yu Chen [:aknow] 99433a9c4c Bug 969218 - Part 4: dom r=khuey 2014-02-26 11:03:56 -08:00
Hsin-Yi Tsai 162544b956 Bug 963813 - make sure no another outgoing call when there's already one. r=aknow 2014-01-29 14:27:22 +08:00
Szu-Yu Chen [:aknow] 3c4bb3761c Bug 952783 - Use first call instead of active call. r=hsinyi 2014-01-15 09:41:50 -05:00
Boris Zbarsky f401c6a7cc Bug 950315 part 1. Convert a bunch of event targets to passing a Window or nsDOMEventTargetHelper directly to the constructor of their ancestor nsDOMEventTargetHelper. r=smaug 2014-01-06 21:53:23 -05:00
Hsin-Yi Tsai 361966b5bc Bug 912849 - part3 - IPC & DOM impl. r=khuey 2013-10-28 14:43:14 +08:00
Szu-Yu Chen [:aknow] ee0ff1ecd5 Bug 814625 - Part 5: DOM: Add multisim support. r=khuey 2013-10-31 08:05:51 -04:00
Szu-Yu Chen [:aknow] 7a698c9040 Bug 814625 - Part 4: DOM: Refactor. r=khuey 2013-10-31 08:05:51 -04:00
Szu-Yu Chen [:aknow] b9396ba2d7 Bug 814625 - Part 3: DOM: Code reorder. r=khuey 2013-10-31 08:05:51 -04:00
Ryan VanderMeulen c5d90671d1 Backed out 9 changesets (bug 814625) for desktop build bustage.
Backed out changeset a107de5616a0 (bug 814625)
Backed out changeset 416665a419f4 (bug 814625)
Backed out changeset b6fc8734864f (bug 814625)
Backed out changeset 9f5e2e44a914 (bug 814625)
Backed out changeset 17b3050df362 (bug 814625)
Backed out changeset 43a047c081c8 (bug 814625)
Backed out changeset 90bdcd099320 (bug 814625)
Backed out changeset 8957cc31cce2 (bug 814625)
Backed out changeset de45eb7a8d16 (bug 814625)
2013-10-30 15:48:39 -04:00
Szu-Yu Chen [:aknow] 524bcd44c7 Bug 814625 - Part 5: DOM: Add multisim support. r=khuey 2013-10-30 15:06:41 -04:00
Szu-Yu Chen [:aknow] 07ea806dba Bug 814625 - Part 4: DOM: Refactor. r=khuey 2013-10-30 15:06:41 -04:00
Szu-Yu Chen [:aknow] 61452b55ea Bug 814625 - Part 3: DOM: Code reorder. r=khuey 2013-10-30 15:06:41 -04:00
Vicamo Yang 1b6c47fe99 Bug 915604: Hide RIL DOM APIs from regular Web pages. r=khuey, f=emk 2013-10-18 04:51:27 +08:00
Boris Zbarsky 7f755053b4 Bug 915971. Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values. r=dzbarsky 2013-09-17 11:16:02 -04:00
Vicamo Yang e62aba3732 Bug 910568 - WebTelephony: move DOM classes to namespace mozilla::dom. r=khuey 2013-09-12 05:47:14 +02:00
Vicamo Yang da62cf5ddc Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen 3b1087b464 Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Vicamo Yang 3d3267810b Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Hsin-Yi Tsai a9fa564c3e Bug 772765 - part5 - Telephony DOM - fix unlink crash. r=bent 2013-08-20 15:57:19 +08:00
Hsin-Yi Tsai 6e0cccb036 Bug 772765 - part2 - Telephony DOM. r=bent 2013-07-06 18:24:55 +08:00
Ms2ger 1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Hsin-Yi Tsai 679c2bcbce Bug 822210 - cdma call waiting - part2 - telephony DOM. r=bent 2013-07-30 17:08:53 +08:00
Hsin-Yi Tsai c016ff00c3 Bug 888592 - move Telephony and TelephonyCall to webidl. sr=sicking, r=bent 2013-07-15 16:27:19 +08:00
Szu-Yu Chen [:aknow] 21ffce756d Bug 743150 - Part 2: Add remoteheld/remoteresumed event (dom). r=bent, r=gyeh 2013-08-05 16:28:14 -04:00
Ed Morley 4e6f3c8e19 Merge latest green b2g-inbound changeset and mozilla-central 2013-08-02 13:30:22 +01:00
Mike Hommey 2e729aa83d Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Hsin-Yi Tsai e42db9bcff Bug 837079 - get the right call object in Telephony::NotifyError. r=bent 2013-07-19 12:03:30 +08:00
Boris Zbarsky 3415d5c50c Bug 838146 part 4. Implement WebIDL API on Navigator for WebTelephony. r=bent, sr=sicking 2013-07-12 10:36:13 -04:00
Ms2ger cb0d5930a7 Bug 857587 - Stop using JS::Value for nsIDOMTelephony.call; r=bent 2013-06-01 08:53:06 +02:00
Olli Pettay 62eb6225a2 Bug 875545 - Make Telephony.h/cpp to use EventListenerAdded/Removed, r=bz
--HG--
rename : content/media/webaudio/test/test_audioParamSetCurveAtTimeZeroDuration.html => content/media/webaudio/test/test_audioParamSetCurveAtTime.html
rename : mobile/android/base/Prompt.java => mobile/android/base/PromptService.java
extra : rebase_source : fcd1f9bbecc8f9025ea0f27274d0f31d745bcf39
2013-05-24 20:22:20 +03:00
Bobby Holley cdde50556c Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Hsin-Yi Tsai b6a0ab6e75 Bug 823958 - DOM impl- Make sure event listeners will be notified when calls array is ready (part 2/4). r=bent 2013-05-09 18:44:13 +08:00
Szu-Yu Chen [:aknow] 7237bc1d11 Bug 863281 - Part 3: Update emergency property for outgoing call. r=htsai, gyeh.
---
 dom/bluetooth/BluetoothTelephonyListener.cpp |    4 +++-
 dom/telephony/Telephony.cpp                  |   10 ++++++----
 dom/telephony/TelephonyCall.cpp              |   10 +++++++++-
 dom/telephony/TelephonyCall.h                |   10 +++++++++-
 4 files changed, 27 insertions(+), 7 deletions(-)
2013-05-14 14:08:07 +08:00
Hsin-Yi Tsai d46bece2b0 Bug 869306 - Add call.isOutgoing for BT Cert. r=allstars.chh 2013-05-08 18:39:05 +08:00
David Zbarsky 261b97262e Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Jose Cortes 1810d47a66 Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/telephony dom/bluetooth directories. r=jwalden
--HG--
extra : rebase_source : c1560ea8c79fbb398d3e8f132e561e7eba81520a
2013-04-02 16:06:14 -07:00
Olli Pettay eaf67cc919 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Vicamo Yang 9510ded1d6 Bug 834160 - Part 5/7: fix Telephony. r=smaug, f=htsai
--HG--
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/BluetoothTelephonyListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/BluetoothTelephonyListener.h
2013-03-06 17:53:23 +08:00
Bobby Holley 7b9176007d Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Ben Turner 83a84bfa76 Bug 832109 - 'crash in Telephony::RILTelephonyCallback::CallStateChanged'. r=jlebar. 2013-02-18 08:09:40 -08:00
Kyle Machulis f5a63e01fb Bug 777271 - Re-implement nsIDOMCallEvent using event implementation codegen. r=bent,vicamo,hsinyi 2013-01-28 15:39:50 +08:00
Vicamo Yang 158654f17c Bug 826977 - Part 3/4: fix all related components as well. r=hsinyi 2013-01-24 14:42:10 +08:00
Trevor Saunders 83bcbe0d6b bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Hsin-Yi Tsai 3cc5554be5 Bug 821559 - Telephony: ASSERTION: Serious logic problem here. r=bent 2013-01-04 16:52:18 +08: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
Hsin-Yi Tsai c5b3843bf3 Bug 804983 - WebTelephony API: DOM does not accurately handle an outgoing call. r=bent 2012-10-25 18:31:37 +08:00
Hsin-Yi Tsai 99382d47f7 Bug 783392 - RadioInterfaceLayer broadcasts radio-state information to all content processes. r=marshall_law 2012-10-09 18:07:11 +08:00
Gabriele Svelto 9712d5ba51 Bug 739780 - Switch Telephony.cpp to use nsTArrayHelpers.h implementation of nsTArrayToJSArray. r=khuey, r=mrbkap 2012-09-28 10:43:49 -07:00
Mike Habicher 5b69de0f54 Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04: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
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
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
Kyle Machulis 085993a2c6 Bug 783431 - Fix js array initialization for bluetooth and telephony; r=mrbkap 2012-08-20 18:26:44 -07:00
Hsin-Yi Tsai 57f1d86f6e Bug 779353 - part 1 - B2G Telephony: Hook up to permissions manager. r=mounir 2012-08-06 15:33:37 +08:00
Kyle Machulis 6c9a3e2987 Bug 773370 - Fix rooting in JSArray creation for mozTelephony; r=bent 2012-08-01 18:52:40 -07:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Hsin-Yi Tsai 972ddd3fd5 Bug 765231 - Telephony: Implement dialEmergency() to limit call to emergency numbers. r=philikon 2012-07-20 20:08:24 +08:00
Hsinyi Tsai 6c98428b96 Bug 766822 - WebTelephony: add tests for hanging up dialing/alerting/holding calls. r=philikon 2012-07-04 13:46:11 +08:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Hsinyi Tsai 99eb8ffe80 Bug 765684 - WebTelephony: invalid argument in Telephony::NotifyError. r=bent 2012-06-21 11:00:52 +08:00
Hsin-Yi Tsai 5d9333f4b7 Backout 1675a6451849 (Bug 765684) due to missing r= in comments. 2012-06-22 10:23:55 +08:00
Hsinyi Tsai fcb6299461 [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 0bf5d7aef6 Bug 757587 - WebTelephony: investigate .active and .calls behaviour. r=philikon 2012-06-08 15:09:15 +08:00
Andrew McCreight aa90a88409 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -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