Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Issue 421253006: Add ChromeCodingConvention.java to Closure Compiler to preserve getInstance() type (Closed)

Created:
6 years, 4 months ago by Vitaly Pavlenko
Modified:
6 years, 4 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@A_typechecking_about
Project:
chromium
Visibility:
Public.

Description

Add ChromeCodingConvention.java to Closure Compiler to preserve getInstance() type BUG=393873 R=dbeam@chromium.org TEST=python2 third_party/closure_compiler/coding_conventions_test.py Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287727

Patch Set 1 #

Total comments: 24

Patch Set 2 : Fix comments #

Total comments: 10

Patch Set 3 : FileCache and fixes #

Total comments: 8

Patch Set 4 : final fixes #

Total comments: 4

Patch Set 5 : remove exit_on_fatal flag #

Total comments: 14

Patch Set 6 : fatal -> error #

Total comments: 6

Patch Set 7 : final final final final #

Total comments: 2

Patch Set 8 : remove redundant constructor #

Patch Set 9 : remove runner.jar from patch #

Patch Set 10 : rebase onto master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -17 lines) Patch
M third_party/closure_compiler/checker.py View 1 2 3 4 5 6 7 8 9 5 chunks +17 lines, -15 lines 0 comments Download
A third_party/closure_compiler/coding_conventions_test.py View 1 2 3 4 5 6 7 8 9 1 chunk +47 lines, -0 lines 0 comments Download
M third_party/closure_compiler/compile_modules.py View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -2 lines 0 comments Download
M third_party/closure_compiler/runner/build_runner_jar.py View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/closure_compiler/runner/src/org/chromium/closure/compiler/ChromeCodingConvention.java View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
M third_party/closure_compiler/runner/src/org/chromium/closure/compiler/Runner.java View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Vitaly Pavlenko
6 years, 4 months ago (2014-07-29 17:24:53 UTC) #1
Dan Beam
https://codereview.chromium.org/421253006/diff/1/third_party/closure_compiler/compile_modules.py File third_party/closure_compiler/compile_modules.py (right): https://codereview.chromium.org/421253006/diff/1/third_party/closure_compiler/compile_modules.py#newcode41 third_party/closure_compiler/compile_modules.py:41: allowed = required + ["depends", "externs", "expected_output"] this should ...
6 years, 4 months ago (2014-07-29 18:05:12 UTC) #2
Vitaly Pavlenko
https://chromiumcodereview.appspot.com/421253006/diff/1/third_party/closure_compiler/compile_modules.py File third_party/closure_compiler/compile_modules.py (right): https://chromiumcodereview.appspot.com/421253006/diff/1/third_party/closure_compiler/compile_modules.py#newcode41 third_party/closure_compiler/compile_modules.py:41: allowed = required + ["depends", "externs", "expected_output"] On 2014/07/29 ...
6 years, 4 months ago (2014-07-29 18:53:47 UTC) #3
Dan Beam
https://chromiumcodereview.appspot.com/421253006/diff/20001/third_party/closure_compiler/checker.py File third_party/closure_compiler/checker.py (right): https://chromiumcodereview.appspot.com/421253006/diff/20001/third_party/closure_compiler/checker.py#newcode219 third_party/closure_compiler/checker.py:219: return output why not just return both the output ...
6 years, 4 months ago (2014-07-29 19:17:17 UTC) #4
Vitaly Pavlenko
https://chromiumcodereview.appspot.com/421253006/diff/20001/third_party/closure_compiler/checker.py File third_party/closure_compiler/checker.py (right): https://chromiumcodereview.appspot.com/421253006/diff/20001/third_party/closure_compiler/checker.py#newcode219 third_party/closure_compiler/checker.py:219: return output On 2014/07/29 19:17:16, Dan Beam wrote: > ...
6 years, 4 months ago (2014-07-29 20:26:19 UTC) #5
Dan Beam
lgtm https://chromiumcodereview.appspot.com/421253006/diff/40001/third_party/closure_compiler/coding_conventions_test.py File third_party/closure_compiler/coding_conventions_test.py (right): https://chromiumcodereview.appspot.com/421253006/diff/40001/third_party/closure_compiler/coding_conventions_test.py#newcode6 third_party/closure_compiler/coding_conventions_test.py:6: import argparse don't need ^ https://chromiumcodereview.appspot.com/421253006/diff/40001/third_party/closure_compiler/coding_conventions_test.py#newcode56 third_party/closure_compiler/coding_conventions_test.py:56: opts ...
6 years, 4 months ago (2014-07-29 21:50:46 UTC) #6
Dan Beam
https://chromiumcodereview.appspot.com/421253006/diff/40001/third_party/closure_compiler/checker.py File third_party/closure_compiler/checker.py (right): https://chromiumcodereview.appspot.com/421253006/diff/40001/third_party/closure_compiler/checker.py#newcode132 third_party/closure_compiler/checker.py:132: sys.exit(1) ^ actually, just return the exit code rather ...
6 years, 4 months ago (2014-07-29 21:51:47 UTC) #7
Vitaly Pavlenko
https://chromiumcodereview.appspot.com/421253006/diff/40001/third_party/closure_compiler/checker.py File third_party/closure_compiler/checker.py (right): https://chromiumcodereview.appspot.com/421253006/diff/40001/third_party/closure_compiler/checker.py#newcode132 third_party/closure_compiler/checker.py:132: sys.exit(1) On 2014/07/29 21:51:47, Dan Beam wrote: > ^ ...
6 years, 4 months ago (2014-07-29 23:24:25 UTC) #8
Dan Beam
https://chromiumcodereview.appspot.com/421253006/diff/60001/third_party/closure_compiler/checker.py File third_party/closure_compiler/checker.py (right): https://chromiumcodereview.appspot.com/421253006/diff/60001/third_party/closure_compiler/checker.py#newcode108 third_party/closure_compiler/checker.py:108: def __init__(self, verbose=False, exit_on_fatal=True): remove this parameter https://chromiumcodereview.appspot.com/421253006/diff/60001/third_party/closure_compiler/checker.py#newcode135 third_party/closure_compiler/checker.py:135: ...
6 years, 4 months ago (2014-07-29 23:27:44 UTC) #9
Vitaly Pavlenko
https://chromiumcodereview.appspot.com/421253006/diff/60001/third_party/closure_compiler/checker.py File third_party/closure_compiler/checker.py (right): https://chromiumcodereview.appspot.com/421253006/diff/60001/third_party/closure_compiler/checker.py#newcode108 third_party/closure_compiler/checker.py:108: def __init__(self, verbose=False, exit_on_fatal=True): On 2014/07/29 23:27:44, Dan Beam ...
6 years, 4 months ago (2014-07-29 23:42:26 UTC) #10
Dan Beam
https://chromiumcodereview.appspot.com/421253006/diff/80001/third_party/closure_compiler/checker.py File third_party/closure_compiler/checker.py (right): https://chromiumcodereview.appspot.com/421253006/diff/80001/third_party/closure_compiler/checker.py#newcode128 third_party/closure_compiler/checker.py:128: def _fatal(self, msg): change to _error, _fatal no longer ...
6 years, 4 months ago (2014-07-29 23:49:09 UTC) #11
Vitaly Pavlenko
https://chromiumcodereview.appspot.com/421253006/diff/80001/third_party/closure_compiler/checker.py File third_party/closure_compiler/checker.py (right): https://chromiumcodereview.appspot.com/421253006/diff/80001/third_party/closure_compiler/checker.py#newcode128 third_party/closure_compiler/checker.py:128: def _fatal(self, msg): On 2014/07/29 23:49:08, Dan Beam wrote: ...
6 years, 4 months ago (2014-07-30 00:01:37 UTC) #12
Dan Beam
slgtm https://chromiumcodereview.appspot.com/421253006/diff/100001/third_party/closure_compiler/coding_conventions_test.py File third_party/closure_compiler/coding_conventions_test.py (right): https://chromiumcodereview.appspot.com/421253006/diff/100001/third_party/closure_compiler/coding_conventions_test.py#newcode14 third_party/closure_compiler/coding_conventions_test.py:14: self.maxDiff = None ^ remove this __init__, maxDiff ...
6 years, 4 months ago (2014-07-30 00:13:05 UTC) #13
Vitaly Pavlenko
https://chromiumcodereview.appspot.com/421253006/diff/100001/third_party/closure_compiler/coding_conventions_test.py File third_party/closure_compiler/coding_conventions_test.py (right): https://chromiumcodereview.appspot.com/421253006/diff/100001/third_party/closure_compiler/coding_conventions_test.py#newcode14 third_party/closure_compiler/coding_conventions_test.py:14: self.maxDiff = None On 2014/07/30 00:13:05, Dan Beam wrote: ...
6 years, 4 months ago (2014-07-30 00:21:26 UTC) #14
Dan Beam
https://chromiumcodereview.appspot.com/421253006/diff/120001/third_party/closure_compiler/coding_conventions_test.py File third_party/closure_compiler/coding_conventions_test.py (right): https://chromiumcodereview.appspot.com/421253006/diff/120001/third_party/closure_compiler/coding_conventions_test.py#newcode13 third_party/closure_compiler/coding_conventions_test.py:13: unittest.TestCase.__init__(self, *args, **kwargs) ^ this __init__ method is the ...
6 years, 4 months ago (2014-07-30 00:40:53 UTC) #15
Vitaly Pavlenko
https://chromiumcodereview.appspot.com/421253006/diff/120001/third_party/closure_compiler/coding_conventions_test.py File third_party/closure_compiler/coding_conventions_test.py (right): https://chromiumcodereview.appspot.com/421253006/diff/120001/third_party/closure_compiler/coding_conventions_test.py#newcode13 third_party/closure_compiler/coding_conventions_test.py:13: unittest.TestCase.__init__(self, *args, **kwargs) On 2014/07/30 00:40:53, Dan Beam wrote: ...
6 years, 4 months ago (2014-07-30 17:01:41 UTC) #16
Dan Beam
The CQ bit was checked by dbeam@chromium.org
6 years, 4 months ago (2014-07-30 17:27:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalyp@chromium.org/421253006/160001
6 years, 4 months ago (2014-07-30 17:30:57 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-07-30 18:16:32 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-30 18:18:08 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/35433)
6 years, 4 months ago (2014-07-30 18:18:08 UTC) #21
Vitaly Pavlenko
The CQ bit was checked by vitalyp@chromium.org
6 years, 4 months ago (2014-08-06 00:22:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalyp@chromium.org/421253006/180001
6 years, 4 months ago (2014-08-06 00:25:29 UTC) #23
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 07:26:38 UTC) #24
Message was sent while issue was closed.
Change committed as 287727

Powered by Google App Engine
This is Rietveld 408576698