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

Issue 12221050: Improvements to JSON Schema Compiler's Dart Generation (Closed)

Created:
7 years, 10 months ago by sashab
Modified:
7 years, 10 months ago
CC:
chromium-reviews, benwells
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Improvements to JSON Schema Compiler's Dart Generation * Allowed overrides for methods. * Fixed correct detection of base-type choices objects * Added support for Array types; still no support for inline type definitions. * Fixed detection of base & serialized types in external namespaces * Some fixes in generated whitespace * Fixes to allow type, method & function overrides Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182118

Patch Set 1 #

Total comments: 17

Patch Set 2 : Fixed problem with generated constructors, for both events & types #

Patch Set 3 : Various fixes, including adding namespace prefixes to type names. #

Total comments: 26

Patch Set 4 : Style/comment fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -117 lines) Patch
M tools/json_schema_compiler/dart_generator.py View 1 2 3 23 chunks +205 lines, -117 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sashab
Hi, If you could take a look at these changes, that would be great. I ...
7 years, 10 months ago (2013-02-06 22:58:20 UTC) #1
not at google - send to devlin
some long-winded comments. https://codereview.chromium.org/12221050/diff/1/tools/json_schema_compiler/dart_generator.py File tools/json_schema_compiler/dart_generator.py (right): https://codereview.chromium.org/12221050/diff/1/tools/json_schema_compiler/dart_generator.py#newcode34 tools/json_schema_compiler/dart_generator.py:34: self._types = namespace.types I didn't notice ...
7 years, 10 months ago (2013-02-07 01:16:40 UTC) #2
sashab
Responded to feedback where possible. Removed a lot of the complex, misunderstood functionality as it ...
7 years, 10 months ago (2013-02-08 01:53:34 UTC) #3
not at google - send to devlin
lgtm https://codereview.chromium.org/12221050/diff/6001/tools/json_schema_compiler/dart_generator.py File tools/json_schema_compiler/dart_generator.py (right): https://codereview.chromium.org/12221050/diff/6001/tools/json_schema_compiler/dart_generator.py#newcode34 tools/json_schema_compiler/dart_generator.py:34: self._types = namespace.types it's still weird to me ...
7 years, 10 months ago (2013-02-12 01:26:55 UTC) #4
sashab
Thanks kalman; dcommitting now. https://codereview.chromium.org/12221050/diff/6001/tools/json_schema_compiler/dart_generator.py File tools/json_schema_compiler/dart_generator.py (right): https://codereview.chromium.org/12221050/diff/6001/tools/json_schema_compiler/dart_generator.py#newcode34 tools/json_schema_compiler/dart_generator.py:34: self._types = namespace.types On 2013/02/12 ...
7 years, 10 months ago (2013-02-12 02:29:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/12221050/7003
7 years, 10 months ago (2013-02-12 02:30:02 UTC) #6
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98452
7 years, 10 months ago (2013-02-12 03:40:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/12221050/7003
7 years, 10 months ago (2013-02-12 05:18:28 UTC) #8
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98533
7 years, 10 months ago (2013-02-12 06:14:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/12221050/7003
7 years, 10 months ago (2013-02-12 23:45:05 UTC) #10
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 04:43:16 UTC) #11
Message was sent while issue was closed.
Change committed as 182118

Powered by Google App Engine
This is Rietveld 408576698