Nicholas Nethercote
2511b2c327
Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
...
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.
MozReview-Commit-ID: 1VS4Dney4WX
--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Kit Cambridge
b3e4980239
Bug 1266569 - Avoid including the `ChromeUtils` binding in `Base64.h`. r=froydnj
...
MozReview-Commit-ID: 8ZLdMhJMaUe
--HG--
extra : rebase_source : d5cb2b5bcc587bad95e6223d18ef38c6937f9270
extra : histedit_source : 208b28d87e223333c2995fd615e0602b11d5bb68
2016-04-22 07:41:58 -07:00
Kit Cambridge
d21d6da5e8
Bug 1256488 - Add a Base64 URL-decoder for C++ and chrome JS callers. r=mt,baku
...
MozReview-Commit-ID: IrDwImYfHRu
--HG--
extra : rebase_source : ed7da7447e5d70c596234961625fcd4b8139814f
2016-03-22 12:09:04 -07:00
Dave Townsend
6e44ebad84
Bug 1257246: Update toolkit for eslint 2. r=Gijs
...
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.
MozReview-Commit-ID: KHYdAkRvhVr
--HG--
extra : rebase_source : 720cc9d864175248508146a7f4704b4bf3f02439
extra : histedit_source : 6cc0ecbf21a571e1a41d517b67512a3452fac19a
2016-04-05 11:33:48 -07:00
Dave Townsend
e496a11771
Bug 1245649: Turn on no-extra-semi. r=markh
...
--HG--
extra : commitid : HReQFPDOA6x
extra : rebase_source : 303a92f511c3c9dd2d26135975d4dc7c85e823b3
2016-02-03 17:27:36 -08:00
Dave Townsend
0a6414b898
Bug 1245649: Turn on no-trailing-spaces. r=Gijs
...
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Dave Townsend
86f03db916
Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
...
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Tooru Fujisawa
65e2703499
Bug 1217082 - Remove for-each from toolkit/. r=Gijs
...
--HG--
extra : commitid : Ewr7Bixammr
extra : rebase_source : 91e560a7b8b8d4b78debb1db2512867262b18375
2015-10-19 04:57:14 +09:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Geoff Brown
52d4e225a0
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06: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
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Fernando Jimenez
3d1dca594c
Bug 1129650 - Touching navigator.mozId causes an error NS_ERROR_FACTORY_NOT_REGISTERED. r=baku
2015-03-10 17:25:39 +01:00
Ryan VanderMeulen
375ec5d8d1
Backed out changeset 80987d26adfb (bug 1129650) for intermittent OSX packaging failures.
...
CLOSED TREE
2015-02-25 11:15:44 -05:00
Fernando Jimenez
343748a2bf
Bug 1129650 - Touching navigator.mozId causes an error NS_ERROR_FACTORY_NOT_REGISTERED. r=baku
2015-02-25 11:48:50 +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
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Birunthan Mohanathas
02533aaee7
Bug 1045289 - Change uses of "XPCom" to "XPCOM". r=froydnj
2014-09-26 07:20:23 +03:00
Nathan Froyd
542214c4df
Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
...
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Alexandre Poirot
7ea4dd517f
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Jonathan Griffin
1c5d8636ac
Backed out changeset 64586374a208 on a CLOSED TREE
2014-07-22 18:29:57 -07:00
Alexandre Poirot
98afd25e0d
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Jonathan Griffin
38f79ff899
Backout 4f6d9db92389 for bustage on a CLOSED TREE
2014-07-22 17:55:50 -07:00
Alexandre Poirot
37506aa45c
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal
2014-07-02 15:40:56 -07:00
Trevor Saunders
dfb8d4ea04
bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug
2014-07-09 17:27:49 -04:00
Fernando Jiménez
f40d884f09
Bug 1028398 - FxA will silently provide user's email to privileged apps in 2.0. Part 2: Trigger forceAuth when new privileged app tries to get a FxA assertion. r=jedp"
2014-07-11 16:13:32 +02:00
Sam Penrose
ad61403660
Bug 1037170 - Fire oncancel() when user cancels Sign Up/Sign In. r=jedp
2014-07-10 18:24:46 -07:00
Sam Penrose
adba9004ea
Bug 1034229 - Fire oncancel() when passed to request() with refreshAuthentication. r=jedp
2014-07-03 13:23:12 -07:00
Sam Penrose
a8446b38e4
Bug 1030227 - FxA must fire onlogin() for RPs that have called watch(). r=jedp
2014-06-26 10:04:03 -07:00
Jim Blandy
7e20285e70
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
210693da34
Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan
2014-06-23 18:40:02 -04:00
Sam Penrose
e2da20da48
Bug 1025309 - Fire FxA onlogout for RPs such as FMD. r=jedp
2014-06-17 11:28:25 -07:00
Sam Penrose
d91bae5b76
Bug 1008901 - Fire 'onlogin' when the account is verified. r=jedp
2014-06-06 10:42:22 -07:00
David Keeler
4434286b6b
bug 1006710 - add class of PSM errors to SEC and SSL errors r=briansmith
2014-05-28 15:28:03 -07:00
Sam Penrose
eabd7b1e52
Bug 982969 - DIALOG_CLOSED_BY_USER fires oncancel. r=jedp
2014-05-13 13:56:30 -07:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Sam Penrose
2108235bb3
Bug 995353 - fix Firefox Accounts error propagation from toolkit/ through dom/ to web content. r=jedp
2014-04-23 15:45:06 -07:00
Olli Pettay
9afb24a0a4
Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen
2014-04-12 11:02:21 +02:00
Ryan VanderMeulen
72ba05589a
Backed out changeset 02876730f55f (bug 688580) for Android 4.0 debug mochitest-7 perma-fail.
...
CLOSED TREE
2014-04-10 14:38:04 -04:00
Olli Pettay
452514e625
Bug 688580, run deferred scripts before DOMContentLoaded, r=hsivonen
...
--HG--
extra : rebase_source : e7e56d2d83c7b1bf29a3a5ea4efd7418cfbee1e0
2014-04-10 01:49:17 +03:00
Neil Rashbrook
936188506a
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-04-03 23:06:26 +01:00
Jed Parsons
1b609ab53a
Bug 945363 - Ensure that FXA RPs provide an onlogout handler. r=ferjm
2014-03-18 10:07:11 -07:00
Jed Parsons
160234bcb9
Bug 978896 - FxA: watch() should get silent assertion if possible. r=ferjm
2014-03-11 17:49:26 -07:00
Jed Parsons
1666dd7f44
Bug 947374 - Certified apps can choose arbitrary assertion audience. r=ferjm
2014-02-27 15:06:00 -08:00
Jed Parsons
e8924d2532
Bug 945278 - Firefox Accounts: Add onerror handler to catch getAssertion errors. r=ferjm
2014-01-21 15:57:50 -08:00