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

Issue 11826020: IDL schema compiler: Fixed pseudo-random order (Closed)

Created:
7 years, 11 months ago by Matt Giuca
Modified:
7 years, 11 months ago
CC:
chromium-reviews, pam+watch_chromium.org, benwells
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

IDL schema compiler: Fixed pseudo-random order of methods, properties, and other elements due to them being parsed into an unordered dict (uses an OrderedDict instead). The API documentation now displays items in their original IDL order. BUG=168965 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177664

Patch Set 1 #

Patch Set 2 : Updated test suite to test the correct ordering. #

Total comments: 2

Patch Set 3 : Import OrderedDict from json_parse. #

Patch Set 4 : Fixed C++ test (added missing field values). #

Patch Set 5 : Incorporate upstream changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -9 lines) Patch
M tools/json_schema_compiler/idl_schema.py View 1 2 3 4 8 chunks +9 lines, -8 lines 0 comments Download
M tools/json_schema_compiler/idl_schema_test.py View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download
M tools/json_schema_compiler/test/idl_basics.idl View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tools/json_schema_compiler/test/idl_schemas_unittest.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Matt Giuca
Hi Ben, Would you be able to take a look at this CL? (I chose ...
7 years, 11 months ago (2013-01-14 01:00:06 UTC) #1
not at google - send to devlin
lgtm It looks like idl_schema_unittest.cc is part of unit_tests so you'd run it by compiling ...
7 years, 11 months ago (2013-01-14 15:26:25 UTC) #2
Matt Giuca
I've fixed the IdlCompiler test. Committing. https://codereview.chromium.org/11826020/diff/2001/tools/json_schema_compiler/idl_schema.py File tools/json_schema_compiler/idl_schema.py (right): https://codereview.chromium.org/11826020/diff/2001/tools/json_schema_compiler/idl_schema.py#newcode20 tools/json_schema_compiler/idl_schema.py:20: from simplejson import ...
7 years, 11 months ago (2013-01-17 05:30:53 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/11826020/10001
7 years, 11 months ago (2013-01-17 05:31:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/11826020/10001
7 years, 11 months ago (2013-01-18 05:17:46 UTC) #5
commit-bot: I haz the power
Failed to apply patch for tools/json_schema_compiler/idl_schema_test.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-18 05:17:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/11826020/24002
7 years, 11 months ago (2013-01-18 06:10:38 UTC) #7
commit-bot: I haz the power
7 years, 11 months ago (2013-01-18 14:11:31 UTC) #8
Message was sent while issue was closed.
Change committed as 177664

Powered by Google App Engine
This is Rietveld 408576698