Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ehsan Akhgari
ea41d8de48
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
ea881b3a53
Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.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/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Peter Van der Beken
a3f5de9681
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
2015-01-08 22:56:42 +01:00
Peter Van der Beken
7dea8f776c
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make the WrapObject signature for non-refcounted objects the same as for refcounted objects. r=bz.
...
* * *
[mq]: owned_fold.patch
2014-11-01 15:00:28 +01:00
Boris Zbarsky
06be114d7b
Bug 1092737 part 2. Update TextDecoder to various spec changes. r=emk
2014-11-21 14:58:51 -05:00
Jeff Walden
2a9381c3a8
Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff
2014-05-27 14:32:41 -07:00
Boris Zbarsky
1cb7d49b45
Bug 995546. Nix bogus GetParentObject methods on WebIDL objects without a wrapper cache. r=bholley
2014-04-15 22:58:43 -04:00
Boris Zbarsky
b95c359828
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
ae0180ee85
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
Henri Sivonen
91c27016f0
Bug 848842 - Stop using heuristic detection in the File API. r=bzbarsky.
2013-12-17 12:47:25 +02:00
Kyle Huey
421b20207b
Bug 903772: Part 6 - Remove TextDecoderBase. r=emk
2013-08-22 22:17:09 -07:00
Kyle Huey
4a2b3fa070
Bug 903772: Part 5 - Remove the worker TextDecoder implementation. r=emk
2013-08-22 22:17:09 -07:00
Kyle Huey
279381a195
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Boris Zbarsky
ebafdd1727
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Masatoshi Kimura
7878ea38fd
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
Masatoshi Kimura
ee5a3c3018
Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz
2013-02-15 05:36:50 +09:00
Peter Van der Beken
cefe1bd88b
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
2012-12-03 17:07:49 +01:00
Ed Morley
f91e010656
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
87d44d16e4
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
2012-12-03 17:07:49 +01:00
Masatoshi Kimura
1dafa5611a
Bug 825195 - Update method signatures of TextDecoder and TextEncoder per the latest spec. r=jonas
2012-12-29 09:55:32 +09:00
Masatoshi Kimura
917a116445
Bug 795542 - Part 1: Create Text(En|De)coderBase. r=bent
2012-12-22 09:15:43 +09:00
Masatoshi Kimura
8b13a5d03f
Bug 782412 - Part 5: Remove a workaround from dom/encoding. r=hsivonen
2012-11-26 20:38:20 -05:00
Masatoshi Kimura
62d5117220
Bug 801402 - Make EncodingUtil methods case sensitive. r=hsivonen
2012-11-07 18:04:22 -05:00
Masatoshi Kimura
584286fba0
Bug 801487 - Remove encoding detection using BOM. r=sicking
2012-11-06 18:23:14 -05:00
Masatoshi Kimura
3494a55571
Bug 764234 - Implement StringEncoding API. r=dougt,smontagu
2012-09-28 11:19:18 +01:00