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

Issue 2638233002: Convert make_names and make_event_factory to use json5 config format. (Closed)

Created:
3 years, 11 months ago by ktyliu
Modified:
3 years, 11 months ago
Reviewers:
sashab, Mike West
CC:
ajuma+watch_chromium.org, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-html_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, cmumford, danakj+watch_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), gavinp+loader_chromium.org, haraken, Nate Chapin, jbroman, jsbell+idb_chromium.org, Justin Novosad, kinuko+watch, loading-reviews+parser_chromium.org, loading-reviews+fetch_chromium.org, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert make_names and make_event_factory to use json5 config format. Subsequently converted make_media_feature_names and make_media_features as well and these config files: Source/core/css/MediaFeatureNames.json5 Source/core/css/MediaTypeNames.json5 Source/core/editing/InputModeNames.json5 Source/core/events/EventAliases.json5 Source/core/events/EventTargetFactory.json5 Source/core/events/EventTypeNames.json5 Source/core/html/forms/InputTypeNames.json5 Source/core/html/parser/HTMLTokenizerNames.json5 Source/modules/EventTargetModulesFactory.json5 Source/modules/indexeddb/IndexedDBNames.json5 Source/platform/fonts/FontFamilyNames.json5 Source/platform/loader/fetch/FetchInitiatorTypeNames.in Source/platform/network/HTTPNames.json5 Small fixes to json5_generator to support the above make_* scripts and allow default_parameters to be specified within .py scripts. BUG=677884 Review-Url: https://codereview.chromium.org/2638233002 Cr-Commit-Position: refs/heads/master@{#445879} Committed: https://chromium.googlesource.com/chromium/src/+/94a7540e73efd7ba5e99436188c0d00562657b5c

Patch Set 1 #

Patch Set 2 : fix idl case #

Patch Set 3 : Rebase with IDL fix #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : JSON5 formatting with js-beautify --indent-size=2 --brace-style=expand #

Total comments: 2

Patch Set 6 : add ], #

Patch Set 7 : Merge crrev.com/2584423002 that moved FetchInitiatorTypeNames from core/fetch to platform/loader/fe… #

Patch Set 8 : fix PLATFORM_EXPORT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+829 lines, -695 lines) Patch
M third_party/WebKit/Source/bindings/modules/BUILD.gn View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/generate_event_interfaces.py View 3 chunks +32 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/json5_generator.py View 7 chunks +21 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/make_event_factory.py View 1 2 3 5 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/make_media_feature_names.py View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/make_media_features.py View 2 chunks +9 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/make_names.py View 5 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 5 6 11 chunks +12 lines, -12 lines 0 comments Download
D third_party/WebKit/Source/core/css/MediaFeatureNames.in View 1 chunk +0 lines, -46 lines 0 comments Download
A third_party/WebKit/Source/core/css/MediaFeatureNames.json5 View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/css/MediaTypeNames.in View 1 chunk +0 lines, -15 lines 0 comments Download
A third_party/WebKit/Source/core/css/MediaTypeNames.json5 View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/editing/InputModeNames.in View 1 chunk +0 lines, -15 lines 0 comments Download
A third_party/WebKit/Source/core/editing/InputModeNames.json5 View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/events/EventAliases.in View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
A third_party/WebKit/Source/core/events/EventAliases.json5 View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/events/EventTargetFactory.in View 1 chunk +0 lines, -28 lines 0 comments Download
A third_party/WebKit/Source/core/events/EventTargetFactory.json5 View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/events/EventTypeNames.in View 1 chunk +0 lines, -281 lines 0 comments Download
A third_party/WebKit/Source/core/events/EventTypeNames.json5 View 1 2 3 4 5 1 chunk +287 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/html/forms/InputTypeNames.in View 1 chunk +0 lines, -26 lines 0 comments Download
A third_party/WebKit/Source/core/html/forms/InputTypeNames.json5 View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/html/parser/HTMLTokenizerNames.in View 1 chunk +0 lines, -8 lines 0 comments Download
A third_party/WebKit/Source/core/html/parser/HTMLTokenizerNames.json5 View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/BUILD.gn View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/Source/modules/EventTargetModulesFactory.in View 1 chunk +0 lines, -51 lines 0 comments Download
A third_party/WebKit/Source/modules/EventTargetModulesFactory.json5 View 1 2 3 4 5 1 chunk +60 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/modules/indexeddb/IndexedDBNames.in View 1 chunk +0 lines, -30 lines 0 comments Download
A third_party/WebKit/Source/modules/indexeddb/IndexedDBNames.json5 View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/platform/fonts/FontFamilyNames.in View 1 chunk +0 lines, -11 lines 0 comments Download
A third_party/WebKit/Source/platform/fonts/FontFamilyNames.json5 View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/loader/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/Source/platform/loader/fetch/FetchInitiatorTypeNames.in View 1 2 3 4 5 6 7 1 chunk +0 lines, -15 lines 0 comments Download
A third_party/WebKit/Source/platform/loader/fetch/FetchInitiatorTypeNames.json5 View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/platform/network/HTTPNames.in View 1 chunk +0 lines, -63 lines 0 comments Download
A third_party/WebKit/Source/platform/network/HTTPNames.json5 View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 52 (35 generated)
sashab
Sorry to do this, but this patch is kinda big. Can it be made any ...
3 years, 11 months ago (2017-01-18 01:07:24 UTC) #4
ktyliu
On 2017/01/18 at 01:07:24, sashab wrote: > Sorry to do this, but this patch is ...
3 years, 11 months ago (2017-01-18 02:37:50 UTC) #9
sashab
Yup, I had a feeling that was the case. Thanks for clarifying. No prob, it ...
3 years, 11 months ago (2017-01-18 04:17:02 UTC) #12
ktyliu
Cool. CQ try seems to show that some tests are failing, possibly with the idl ...
3 years, 11 months ago (2017-01-18 04:19:15 UTC) #13
ktyliu
Cool. CQ try seems to show that some tests are failing, possibly with the idl ...
3 years, 11 months ago (2017-01-18 04:19:16 UTC) #14
ktyliu
Handling the IDL change is now in separate http://crrev.com/2633383005 Once that lands, I'll rebase and ...
3 years, 11 months ago (2017-01-19 03:59:40 UTC) #15
ktyliu
On 2017/01/19 at 03:59:40, ktyliu wrote: > Handling the IDL change is now in separate ...
3 years, 11 months ago (2017-01-23 01:57:08 UTC) #23
sashab
LGTM, I thought this would take ages to review but its actually written really well, ...
3 years, 11 months ago (2017-01-23 05:26:41 UTC) #26
ktyliu
Thanks Sasha for the quick review! Fixed formatting of the JSON5 files. Adding Mike suggested ...
3 years, 11 months ago (2017-01-23 06:33:42 UTC) #28
sashab
https://codereview.chromium.org/2638233002/diff/80001/third_party/WebKit/Source/core/html/forms/InputTypeNames.json5 File third_party/WebKit/Source/core/html/forms/InputTypeNames.json5 (right): https://codereview.chromium.org/2638233002/diff/80001/third_party/WebKit/Source/core/html/forms/InputTypeNames.json5#newcode31 third_party/WebKit/Source/core/html/forms/InputTypeNames.json5:31: ] Yess! Liking this new formatting. :) For consistency, ...
3 years, 11 months ago (2017-01-23 10:22:29 UTC) #29
ktyliu
https://codereview.chromium.org/2638233002/diff/80001/third_party/WebKit/Source/core/html/forms/InputTypeNames.json5 File third_party/WebKit/Source/core/html/forms/InputTypeNames.json5 (right): https://codereview.chromium.org/2638233002/diff/80001/third_party/WebKit/Source/core/html/forms/InputTypeNames.json5#newcode31 third_party/WebKit/Source/core/html/forms/InputTypeNames.json5:31: ] On 2017/01/23 at 10:22:29, sashab wrote: > Yess! ...
3 years, 11 months ago (2017-01-23 21:28:32 UTC) #30
Mike West
LGTM.
3 years, 11 months ago (2017-01-24 08:33:57 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2638233002/100001
3 years, 11 months ago (2017-01-24 20:27:35 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/141435) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-24 20:30:40 UTC) #36
ktyliu
On 2017/01/24 at 08:33:57, mkwst wrote: > LGTM. Thanks! Initial commit failed due to conflict ...
3 years, 11 months ago (2017-01-24 22:23:43 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2638233002/140001
3 years, 11 months ago (2017-01-25 00:36:20 UTC) #49
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 00:45:06 UTC) #52
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/94a7540e73efd7ba5e99436188c0...

Powered by Google App Engine
This is Rietveld 408576698