Birunthan Mohanathas
a8939590de
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
Mike Hommey
79ea9f2368
Bug 1170431 part 0 - Use the *Path classes for GENERATED_FILES scripts and inputs. r=gps
2015-06-03 07:10:12 +09:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Neil Deakin
af1ece91c4
Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm
2015-04-16 15:38:12 -04: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
d0ebde3bb7
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
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Nathan Froyd
461d0d9d2b
Bug 1134633 - convert makefile rules with props2arrays.py to use moz.build GENERATED_FILES; r=mshal
...
Now that GENERATED_FILES can generate makefile rules for generating
files, we can start moving rules from Makefile.in's into moz.build.
2015-02-19 10:35:08 -05:00
Dhi Aurrahman
5b8f79fc23
Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz
2015-02-04 18:46:26 +07:00
Birunthan Mohanathas
2d111ab8df
Bug 1122044 - Remove unreferenced moz.build files. r=mshal
2015-01-21 20:15:59 +02:00
Mike Hommey
a35dbaeebf
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
...
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Peter Van der Beken
dc3a33aa88
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
...
--HG--
extra : rebase_source : 54a1e408aec6c7485152f18693047b2992251aff
2015-01-08 22:56:42 +01:00
Peter Van der Beken
4d7c6b1523
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
--HG--
extra : rebase_source : 1eec318046dae59e740ee5409a97c7cbfd88c9b1
2014-11-01 15:00:28 +01: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
Boris Zbarsky
89c88d7883
Bug 1092737 part 2. Update TextDecoder to various spec changes. r=emk
2014-11-21 14:58:51 -05:00
Boris Zbarsky
76e076eb08
Bug 1092737 part 1. Update TextEncoder to various spec changes. r=emk
2014-11-21 14:58:45 -05:00
Vaibhav Agrawal
ccc25e05a4
Bug 1089031 - Remove invalid mochitests and adding them to support-files in dom/encoding/test/mochitest.ini. r=jmaher
2014-10-31 05:35:00 -04:00
Vaibhav Agrawal
fa5e379e1e
Bug 1089032 - Removing invalid mochitests and adding support-files in dom/encoding/test. r=jmaher
2014-10-30 10:43:00 +01:00
Chris Manchester
08900914f0
Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted
2014-10-22 15:53:42 -04:00
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Henri Sivonen
e42f0e109b
Bug 1072187 - Remove HZ-GB-2312. r=emk.
2014-09-26 15:12:02 +03:00
Henri Sivonen
962aed5f40
Bug 945215 - Map HZ-GB-2312 to the replacement encoding. r=emk.
...
--HG--
rename : dom/encoding/test/reftest/bug863728-1-ref.html => dom/encoding/test/reftest/bug945215-1-ref.html
rename : dom/encoding/test/reftest/bug863728-1.html => dom/encoding/test/reftest/bug945215-1.html
rename : dom/encoding/test/reftest/bug863728-2-ref.html => dom/encoding/test/reftest/bug945215-2-ref.html
rename : dom/encoding/test/reftest/bug863728-2.html => dom/encoding/test/reftest/bug945215-2.html
2014-09-24 12:23:28 +03:00
Ed Morley
d6b3b7959d
Backed out changeset ce22b4d51b72 (bug 945215) for assertions in EncodingUtils.cpp; CLOSED TREE
2014-09-26 16:11:29 +01:00
Carsten "Tomcat" Book
30edf44348
Backed out changeset d0be07d7cf1b (bug 1072187) for test bustage on a CLOSED TREE
2014-09-26 15:48:14 +02:00
Henri Sivonen
eac446fa48
Bug 1072187 - Remove HZ-GB-2312. r=emk.
2014-09-26 15:12:02 +03:00
Henri Sivonen
c57d908ac2
Bug 945215 - Map HZ-GB-2312 to the replacement encoding. r=emk.
...
--HG--
rename : dom/encoding/test/reftest/bug863728-1-ref.html => dom/encoding/test/reftest/bug945215-1-ref.html
rename : dom/encoding/test/reftest/bug863728-1.html => dom/encoding/test/reftest/bug945215-1.html
rename : dom/encoding/test/reftest/bug863728-2-ref.html => dom/encoding/test/reftest/bug945215-2-ref.html
rename : dom/encoding/test/reftest/bug863728-2.html => dom/encoding/test/reftest/bug945215-2.html
2014-09-24 12:23:28 +03:00
Carsten "Tomcat" Book
42d80f53d3
Backed out changeset 75c44bd10b14 (bug 945215) for web-platform-2 test failures
2014-09-24 12:43:01 +02:00
Henri Sivonen
43cea4cd41
Bug 945215 - Map HZ-GB-2312 to the replacement encoding. r=emk.
...
--HG--
rename : dom/encoding/test/reftest/bug863728-1-ref.html => dom/encoding/test/reftest/bug945215-1-ref.html
rename : dom/encoding/test/reftest/bug863728-1.html => dom/encoding/test/reftest/bug945215-1.html
rename : dom/encoding/test/reftest/bug863728-2-ref.html => dom/encoding/test/reftest/bug945215-2-ref.html
rename : dom/encoding/test/reftest/bug863728-2.html => dom/encoding/test/reftest/bug945215-2.html
2014-09-24 12:23:28 +03:00
Simon Montagu
5c116bc180
Bug 756022 patch 3: merge tr with x-western, r=jfkthame
2014-08-05 10:49:16 +03:00
Simon Montagu
dc74a6b3cd
Bug 750622 patch 2: merge x-central-euro with x-western, r=jfkthame
2014-08-05 10:49:16 +03:00
Simon Montagu
98c5fbd202
Bug 750622 patch 1: merge x-baltic with x-western, r=jfkthame
2014-08-05 10:49:16 +03:00
Ms2ger
d8c0b17d7d
Bug 1043963
- Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
...
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Birunthan Mohanathas
aef3149a23
Bug 1038537 - Part 3: Flatten intl/locale/src/ directory. r=smontagu
...
--HG--
rename : intl/locale/src/Makefile.in => intl/locale/Makefile.in
rename : intl/locale/src/PluralForm.jsm => intl/locale/PluralForm.jsm
rename : intl/locale/src/langGroups.properties => intl/locale/langGroups.properties
rename : intl/locale/src/language.properties => intl/locale/language.properties
rename : intl/locale/src/mac/moz.build => intl/locale/mac/moz.build
rename : intl/locale/src/mac/nsCollationMacUC.cpp => intl/locale/mac/nsCollationMacUC.cpp
rename : intl/locale/src/mac/nsCollationMacUC.h => intl/locale/mac/nsCollationMacUC.h
rename : intl/locale/src/mac/nsDateTimeFormatMac.cpp => intl/locale/mac/nsDateTimeFormatMac.cpp
rename : intl/locale/src/mac/nsDateTimeFormatMac.h => intl/locale/mac/nsDateTimeFormatMac.h
rename : intl/locale/src/mac/nsMacCharset.cpp => intl/locale/mac/nsMacCharset.cpp
rename : intl/locale/src/nsCollation.cpp => intl/locale/nsCollation.cpp
rename : intl/locale/src/nsCollation.h => intl/locale/nsCollation.h
rename : intl/locale/src/nsLanguageAtomService.cpp => intl/locale/nsLanguageAtomService.cpp
rename : intl/locale/src/nsLanguageAtomService.h => intl/locale/nsLanguageAtomService.h
rename : intl/locale/src/nsLocale.cpp => intl/locale/nsLocale.cpp
rename : intl/locale/src/nsLocale.h => intl/locale/nsLocale.h
rename : intl/locale/src/nsLocaleConstructors.h => intl/locale/nsLocaleConstructors.h
rename : intl/locale/src/nsLocaleService.cpp => intl/locale/nsLocaleService.cpp
rename : intl/locale/src/nsPlatformCharset.h => intl/locale/nsPlatformCharset.h
rename : intl/locale/src/nsScriptableDateFormat.cpp => intl/locale/nsScriptableDateFormat.cpp
rename : intl/locale/src/nsUConvPropertySearch.cpp => intl/locale/nsUConvPropertySearch.cpp
rename : intl/locale/src/nsUConvPropertySearch.h => intl/locale/nsUConvPropertySearch.h
rename : intl/locale/src/props2arrays.py => intl/locale/props2arrays.py
rename : intl/locale/src/unix/Makefile.in => intl/locale/unix/Makefile.in
rename : intl/locale/src/unix/moz.build => intl/locale/unix/moz.build
rename : intl/locale/src/unix/nsAndroidCharset.cpp => intl/locale/unix/nsAndroidCharset.cpp
rename : intl/locale/src/unix/nsCollationUnix.cpp => intl/locale/unix/nsCollationUnix.cpp
rename : intl/locale/src/unix/nsCollationUnix.h => intl/locale/unix/nsCollationUnix.h
rename : intl/locale/src/unix/nsDateTimeFormatUnix.cpp => intl/locale/unix/nsDateTimeFormatUnix.cpp
rename : intl/locale/src/unix/nsDateTimeFormatUnix.h => intl/locale/unix/nsDateTimeFormatUnix.h
rename : intl/locale/src/unix/nsPosixLocale.cpp => intl/locale/unix/nsPosixLocale.cpp
rename : intl/locale/src/unix/nsUNIXCharset.cpp => intl/locale/unix/nsUNIXCharset.cpp
rename : intl/locale/src/unix/unixcharset.properties => intl/locale/unix/unixcharset.properties
rename : intl/locale/src/windows/Makefile.in => intl/locale/windows/Makefile.in
rename : intl/locale/src/windows/moz.build => intl/locale/windows/moz.build
rename : intl/locale/src/windows/nsCollationWin.cpp => intl/locale/windows/nsCollationWin.cpp
rename : intl/locale/src/windows/nsCollationWin.h => intl/locale/windows/nsCollationWin.h
rename : intl/locale/src/windows/nsDateTimeFormatWin.cpp => intl/locale/windows/nsDateTimeFormatWin.cpp
rename : intl/locale/src/windows/nsDateTimeFormatWin.h => intl/locale/windows/nsDateTimeFormatWin.h
rename : intl/locale/src/windows/nsWin32Locale.cpp => intl/locale/windows/nsWin32Locale.cpp
rename : intl/locale/src/windows/nsWinCharset.cpp => intl/locale/windows/nsWinCharset.cpp
rename : intl/locale/src/windows/wincharset.properties => intl/locale/windows/wincharset.properties
2014-07-24 10:56:38 -07:00
Mike Hommey
bc5d6801bb
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Boris Zbarsky
dfe8c38082
Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Jeff Walden
96e2ce765d
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
Henri Sivonen
34b67bca76
Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk.
2014-05-08 12:32:00 +03:00
Boris Zbarsky
275836e8fc
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
5a6f899f61
Bug 993889 part 5. Remove the "creator" argument of the version of TypedArray::Create that takes a JSObject* creator. r=bholley
2014-04-10 00:58:42 -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
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
Bill McCloskey
fd05f3eb04
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
64e20261db
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Gregory Szorc
dd337c330c
Bug 979640 - Make build system error on missing test files; r=ted
...
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.
The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.
dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.
Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)
--HG--
extra : amend_source : cb6b9bf91e57569c8be312d3c16fef69b2b0b950
2014-03-04 17:48:50 -08:00
Ryan VanderMeulen
c35a66e1db
Backed out changeset 593206fbd97e (bug 979640) for mochitest-other failures.
...
CLOSED TREE
2014-03-05 13:52:02 -05:00
Gregory Szorc
6ce0f069d4
Bug 979640 - Make build system error on missing test files; r=ted
...
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.
The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.
dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.
Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)
--HG--
extra : rebase_source : 8c64986169064401951585c07deadada8c905550
2014-03-04 17:48:50 -08:00