Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
789ad8312d
Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan
2015-04-22 08:29:18 +02:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
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
dc24477d79
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
Thomas Zimmermann
bdb2ed0946
Bug 1137151: Marked destructor of |MozNDEFRecord| as protected, r=allstars.chh
2015-03-10 13:44:01 +01:00
Yoshi Huang
642ea0f3ee
Bug 1139830 - Make type/id/payload nullable in MozNDEFRecordOptions. r=smaug
2015-03-06 16:23:21 +08:00
Yoshi Huang
38c3210ae5
Bug 1138886 - Structured Clone for MozNDEFRecord. r=smaug
...
From 9b1bdef0b25b41d0448662ec689a961ae4e8fcd2 Mon Sep 17 00:00:00 2001
---
dom/base/StructuredCloneTags.h | 2 +
dom/base/nsJSEnvironment.cpp | 29 +++++++++
dom/nfc/MozNDEFRecord.cpp | 122 ++++++++++++++++++++++++++++++++++---
dom/nfc/MozNDEFRecord.h | 20 ++++--
js/xpconnect/src/ExportHelpers.cpp | 36 ++++++++++-
5 files changed, 193 insertions(+), 16 deletions(-)
2015-01-30 15:36:42 +08:00
Yoshi Huang
85cb62e955
Bug 1121298 - Part 3. add getAsURI. r=smaug, dimi
...
From 1b93a62187c24dd176d48021b2a765a19beb453a Mon Sep 17 00:00:00 2001
---
dom/nfc/MozNDEFRecord.cpp | 29 +++++++++++++++++++++++++++++
dom/nfc/MozNDEFRecord.h | 1 +
dom/webidl/MozNDEFRecord.webidl | 6 ++++++
3 files changed, 36 insertions(+)
2015-01-21 17:37:45 +08:00
Yoshi Huang
068be00fd1
Bug 1121298 - Part 2: Add Constructor(uri) for MozNDEFRecord. r=smaug, dimi
2015-01-29 18:16:26 +08:00
Yoshi Huang
52582b044c
Bug 1121298 - Part 1: refactor MozNDEFRecord cstor. r=smaug, dimi
...
From f5d558e4dc3b3d1e08de09d1881bbf69a68a5791 Mon Sep 17 00:00:00 2001
---
dom/nfc/MozNDEFRecord.cpp | 102 +++++++++++++++++++++++++++++-----------------
dom/nfc/MozNDEFRecord.h | 21 ++++++----
2 files changed, 76 insertions(+), 47 deletions(-)
2015-01-07 18:08:21 +08:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Yoshi Huang
df0810a717
Bug 1094669 - Add a size attribute for MozNDEFRecord. r=smaug, dimi
...
From 2f518e162998b4ac911b3e10f8a7f8177fe03f59 Mon Sep 17 00:00:00 2001
---
dom/nfc/MozNDEFRecord.cpp | 7 +++++++
dom/nfc/MozNDEFRecord.h | 6 ++++++
dom/webidl/MozNDEFRecord.webidl | 6 ++++++
3 files changed, 19 insertions(+)
2014-11-07 14:24:34 +08:00
Yoshi Huang
f52fe75bec
Bug 1007724 - Part 1: tnf validation. r=smaug
...
From 5289124d435e3eed280c8a1728b55ab005ac0aae Mon Sep 17 00:00:00 2001
---
dom/nfc/MozNDEFRecord.cpp | 40 ++++++++++++++++++++++++++++++++++++++++
dom/nfc/MozNDEFRecord.h | 3 +++
2 files changed, 43 insertions(+)
2014-08-28 16:44:48 +08:00
Yoshi Huang
b169925da4
Bug 1055560 - Part 1: DOM Change. r=smaug
2014-08-20 17:35:18 +08:00
Yoshi Huang
a3b1a52aa8
Bug 1053732 - Part 1: DOM changes. r=smaug
2014-08-18 14:56:12 +08:00
Aryeh Gregor
60fbc97021
Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan
2014-08-18 17:44:50 +03:00
Boris Zbarsky
dfe8c38082
Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv
2014-06-11 16:26:52 -04: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
"allstars.chh"
28cc482bb8
Bug 960510 - Part 1: Make type, id and payload optional. r=khuey
...
From 4ac0853ddabfadb99bfcd037d3831904d8353fbf Mon Sep 17 00:00:00 2001
---
dom/nfc/MozNDEFRecord.cpp | 26 +++++++++++++++++++-------
dom/nfc/MozNDEFRecord.h | 36 +++++++++++++++++++++++++-----------
dom/webidl/MozNDEFRecord.webidl | 8 ++++----
3 files changed, 48 insertions(+), 22 deletions(-)
2014-02-20 15:08:46 +08:00
Garner Lee
625122c983
Bug 964186 - Rename MozNdefRecord to MozNDEFRecord. r=smaug, sr=sicking
...
--HG--
rename : dom/nfc/MozNdefRecord.cpp => dom/nfc/MozNDEFRecord.cpp
rename : dom/nfc/MozNdefRecord.h => dom/nfc/MozNDEFRecord.h
rename : dom/webidl/MozNdefRecord.webidl => dom/webidl/MozNDEFRecord.webidl
2014-01-28 16:20:17 -08:00