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

Issue 513023002: Step one towards stable error messages with details: (Closed)

Created:
6 years, 3 months ago by Siggi Cherem (dart-lang)
Modified:
6 years, 3 months ago
Reviewers:
Kathy Walrath, jakemac
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Step one towards stable error messages with details: - switches polymer to use a messages type - autogenerates an HTML page from the message list. - use these messages on polymer transformers - moves build_logger to code_Transformers, so we can also use this in other packages. Still pending to do more, for example, find a permanent location and URI scheme for messages so we can show them on the command-line, improve the UI to tak advantage of clustering, etc. But I think it's good enough to get it in and iterate afterwards R=jakemac@google.com, kathyw@google.com Committed: https://code.google.com/p/dart/source/detail?r=39884

Patch Set 1 : #

Total comments: 187

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2529 lines, -494 lines) Patch
M pkg/code_transformers/CHANGELOG.md View 1 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/code_transformers/lib/assets.dart View 1 2 4 chunks +10 lines, -7 lines 0 comments Download
A pkg/code_transformers/lib/messages/build_logger.dart View 1 1 chunk +131 lines, -0 lines 0 comments Download
A pkg/code_transformers/lib/messages/messages.dart View 1 2 1 chunk +230 lines, -0 lines 0 comments Download
A pkg/code_transformers/lib/src/messages.dart View 1 2 1 chunk +172 lines, -0 lines 0 comments Download
M pkg/code_transformers/pubspec.yaml View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/code_transformers/test/assets_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
A pkg/code_transformers/test/messages_test.dart View 1 1 chunk +111 lines, -0 lines 0 comments Download
A pkg/code_transformers/test/unique_message_test.dart View 1 chunk +37 lines, -0 lines 0 comments Download
M pkg/observe/CHANGELOG.md View 2 chunks +11 lines, -13 lines 0 comments Download
A pkg/observe/lib/src/messages.dart View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M pkg/observe/lib/transformer.dart View 1 2 7 chunks +27 lines, -26 lines 0 comments Download
M pkg/observe/pubspec.yaml View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M pkg/observe/test/transformer_test.dart View 1 2 3 chunks +16 lines, -11 lines 0 comments Download
A pkg/observe/test/unique_message_test.dart View 1 chunk +37 lines, -0 lines 0 comments Download
M pkg/pkg.status View 1 4 chunks +11 lines, -1 line 0 comments Download
M pkg/polymer/CHANGELOG.md View 1 6 chunks +36 lines, -34 lines 0 comments Download
M pkg/polymer/lib/src/build/build_filter.dart View 1 2 chunks +4 lines, -1 line 0 comments Download
M pkg/polymer/lib/src/build/build_log_combiner.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/build/common.dart View 1 2 9 chunks +22 lines, -29 lines 0 comments Download
A pkg/polymer/lib/src/build/constants.dart View 1 chunk +20 lines, -0 lines 0 comments Download
A pkg/polymer/lib/src/build/generated/messages.html View 1 2 1 chunk +566 lines, -0 lines 0 comments Download
M pkg/polymer/lib/src/build/import_inliner.dart View 1 2 14 chunks +24 lines, -29 lines 0 comments Download
M pkg/polymer/lib/src/build/linter.dart View 1 2 18 chunks +50 lines, -94 lines 0 comments Download
M pkg/polymer/lib/src/build/log_injector.css View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/polymer/lib/src/build/log_injector.dart View 1 2 3 chunks +23 lines, -20 lines 0 comments Download
A pkg/polymer/lib/src/build/messages.dart View 1 2 1 chunk +528 lines, -0 lines 0 comments Download
M pkg/polymer/lib/src/build/polyfill_injector.dart View 2 chunks +4 lines, -1 line 0 comments Download
M pkg/polymer/lib/src/build/script_compactor.dart View 1 2 17 chunks +22 lines, -35 lines 0 comments Download
D pkg/polymer/lib/src/build/wrapped_logger.dart View 1 1 chunk +0 lines, -116 lines 0 comments Download
M pkg/polymer/pubspec.yaml View 1 3 chunks +3 lines, -2 lines 0 comments Download
M pkg/polymer/test/build/all_phases_test.dart View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M pkg/polymer/test/build/build_log_combiner_test.dart View 1 2 2 chunks +20 lines, -10 lines 0 comments Download
M pkg/polymer/test/build/common.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/polymer/test/build/import_inliner_test.dart View 1 2 2 chunks +23 lines, -13 lines 0 comments Download
M pkg/polymer/test/build/linter_test.dart View 1 2 16 chunks +51 lines, -28 lines 0 comments Download
M pkg/polymer/test/build/log_injector_test.dart View 1 2 2 chunks +33 lines, -6 lines 0 comments Download
M pkg/polymer/test/build/script_compactor_test.dart View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
A pkg/polymer/test/build/unique_message_test.dart View 1 chunk +42 lines, -0 lines 0 comments Download
A pkg/polymer/tool/create_message_details_page.dart View 1 2 1 chunk +188 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Siggi Cherem (dart-lang)
This CL has a blend of code and lots of text documenting warning messages. Kathy ...
6 years, 3 months ago (2014-09-03 02:11:01 UTC) #5
jakemac
Looks good, mostly just small nits. LGTM https://codereview.chromium.org/513023002/diff/60001/pkg/code_transformers/lib/messages/build_logger.dart File pkg/code_transformers/lib/messages/build_logger.dart (right): https://codereview.chromium.org/513023002/diff/60001/pkg/code_transformers/lib/messages/build_logger.dart#newcode18 pkg/code_transformers/lib/messages/build_logger.dart:18: /// This ...
6 years, 3 months ago (2014-09-03 17:20:42 UTC) #6
Kathy Walrath
Here's a review of the first messages.dart file (code_transformers). Midway through the review, I realized ...
6 years, 3 months ago (2014-09-03 18:56:36 UTC) #7
Kathy Walrath
observe package's messages.dart (I reviewed more than what was visible on the page, which I ...
6 years, 3 months ago (2014-09-03 19:36:06 UTC) #8
Kathy Walrath
I'm starting to go a little cross-eyed here, but here's what I found in the ...
6 years, 3 months ago (2014-09-03 21:26:56 UTC) #9
Siggi Cherem (dart-lang)
oh wow! thanks so much for all your comments Kathy! I think I have addressed ...
6 years, 3 months ago (2014-09-04 02:32:18 UTC) #10
jakemac
https://codereview.chromium.org/513023002/diff/60001/pkg/code_transformers/lib/src/messages.dart File pkg/code_transformers/lib/src/messages.dart (right): https://codereview.chromium.org/513023002/diff/60001/pkg/code_transformers/lib/src/messages.dart#newcode10 pkg/code_transformers/lib/src/messages.dart:10: const noAbsolutePaths = const MessageTemplate( Weird, but ok :). ...
6 years, 3 months ago (2014-09-04 14:42:37 UTC) #11
Kathy Walrath
lgtm https://codereview.chromium.org/513023002/diff/60001/pkg/code_transformers/lib/src/messages.dart File pkg/code_transformers/lib/src/messages.dart (right): https://codereview.chromium.org/513023002/diff/60001/pkg/code_transformers/lib/src/messages.dart#newcode48 pkg/code_transformers/lib/src/messages.dart:48: The rules are easier to follow if you ...
6 years, 3 months ago (2014-09-04 17:07:28 UTC) #12
Siggi Cherem (dart-lang)
Thanks again, ready to submit v0. I'll do a follow up CL to support using ...
6 years, 3 months ago (2014-09-04 19:55:12 UTC) #13
Siggi Cherem (dart-lang)
6 years, 3 months ago (2014-09-04 20:28:34 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:100001) manually as 39884 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698