Andrew McCreight
aeff7c99ee
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
54c64f20a9
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
Yoshi Huang
d9b5b09720
Bug 1139830 - Make type/id/payload nullable in MozNDEFRecordOptions. r=smaug
2015-03-06 16:23:21 +08:00
Yoshi Huang
44ca356ca2
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
0eff791629
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
2387d616de
Bug 1121298 - Part 2: Add Constructor(uri) for MozNDEFRecord. r=smaug, dimi
2015-01-29 18:16:26 +08:00
Yoshi Huang
e78e3d10a9
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
Yoshi Huang
a76656b90f
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
Peter Van der Beken
9254096129
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Yoshi Huang
5ed0bc7608
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
5453f1e174
Bug 1053732 - Part 1: DOM changes. r=smaug
2014-08-18 14:56:12 +08:00
Ben Kelly
d96ec8b401
Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz
2014-06-16 14:08:00 -04:00
Dimi Lee
eb72652229
Bug 1018068 - [NFC] NFC sharing does not work. r=Waldo
2014-06-03 19:05:46 +08:00
Boris Zbarsky
35fca5eeeb
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
56f44fdf10
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
"allstars.chh"
5625b09b35
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
Kyle Huey (khuey@mozilla.com)
0a56e232a8
Bug 968742 - B2G NFC: Assertion failure: !aGCThing. r=allstars.chh
2014-02-12 17:21:09 +08:00
Garner Lee
8610fd38f5
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