Commit Graph

46 Commits

Author SHA1 Message Date
Andrew McCreight
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Szu-Yu Chen [:aknow]
4ab4f1f579 Bug 1043165 - Part 2: Add TelephonyCall.disconnectedReason (dom). r=hsinyi 2015-03-26 16:39:39 +08:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
988b8e01be Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Ben Hsu
799a9c12b9 Bug 1095366 - Part 2: Remove some event firing (DOM). r=aknow 2015-01-27 23:01:00 -05:00
Ben Hsu
de8eabeb3c Bug 1077075 - Part 2: Modify related dom implementations (DOM). r=aknow
--HG--
extra : histedit_source : 15873e4bc598396b0e3462a6952552ecdb5a19e1
2015-01-04 17:33:00 -05:00
Ehsan Akhgari
f45a3fcf07 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
e2e326a9c4 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
3fc836363c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Szu-Yu Chen [:aknow]
c2ab578f26 Bug 1027513 - Extract CreateCall and CreateCallId. r=hsinyi 2014-06-24 06:52:00 -04:00
Hsin-Yi Tsai
4ce981bc56 Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
Hsin-Yi Tsai
3b17696a28 Backed out changeset 598098217e1f (bug 981519) for causing regression bug 1026081 2014-06-17 15:37:31 +08:00
Hsin-Yi Tsai
a12253a38c Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug 2014-04-10 14:25:42 +08:00
Szu-Yu Chen [:aknow]
20b9a408ed Bug 1013745 - Part 2: Get callIndex when dialling success (dom). r=hsinyi 2014-05-26 19:08:00 +02:00
Boris Zbarsky
fdbb455d4f 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
Masayuki Nakano
b185105992 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
52b552a8e1 Bug 881174 - part4 - cdma 3way call DOM and IPC. r=vicamo 2014-02-21 17:52:13 +08:00
Hsin-Yi Tsai
e2cc4dc74b Bug 963813 - make sure no another outgoing call when there's already one. r=aknow 2014-01-29 14:27:22 +08:00
Boris Zbarsky
9d25dc48cc 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
Szu-Yu Chen [:aknow]
768d36b8b0 Bug 814625 - Part 5: DOM: Add multisim support. r=khuey 2013-10-31 08:05:51 -04:00
Ryan VanderMeulen
6a6ba035dd 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]
88b6f2b9fd Bug 814625 - Part 5: DOM: Add multisim support. r=khuey 2013-10-30 15:06:41 -04:00
Vicamo Yang
43b8e10872 Bug 910568 - WebTelephony: move DOM classes to namespace mozilla::dom. r=khuey 2013-09-12 05:47:14 +02:00
Hsin-Yi Tsai
2ea077b16b Bug 772765 - part2 - Telephony DOM. r=bent 2013-07-06 18:24:55 +08:00
Hsin-Yi Tsai
9b4d530e59 Bug 822210 - cdma call waiting - part2 - telephony DOM. r=bent 2013-07-30 17:08:53 +08:00
Hsin-Yi Tsai
f7c97fd706 Bug 888592 - move Telephony and TelephonyCall to webidl. sr=sicking, r=bent 2013-07-15 16:27:19 +08:00
Andrea Marchesini
0e20d68ea0 Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04:00
Szu-Yu Chen [:aknow]
eff9d4626e 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
David Zbarsky
a0911f7978 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Boris Zbarsky
a295fe137f Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Vicamo Yang
fecf389c8b 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
Kyle Machulis
8a6e862a23 Bug 777271 - Re-implement nsIDOMCallEvent using event implementation codegen. r=bent,vicamo,hsinyi 2013-01-28 15:39:50 +08:00
Kyle Huey
0baaffe99f 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
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
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Hsinyi Tsai
c64c7492b0 Bug 735170 - WebTelephony: add API to hold a call. r=philikon 2012-04-05 16:12:42 +08:00
Hsinyi Tsai
631b0f0dfe Bug 736258 - WebTelephony: rename ringing event to alerting. r=philikon 2012-03-16 11:13:42 +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
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
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