)]}'
{
  "commit": "399333c72c83f6df0bab99d1634777142b512db8",
  "tree": "69c65d998532e2766d007ec5343778a425ca23b9",
  "parents": [
    "e4abea580bd4f8ac1523501b9e9e356575712ec7"
  ],
  "author": {
    "name": "Mitch Rudominer",
    "email": "rudominer@chromium.org",
    "time": "Mon Mar 07 14:42:01 2016 -0800"
  },
  "committer": {
    "name": "Mitch Rudominer",
    "email": "rudominer@chromium.org",
    "time": "Mon Mar 07 14:42:01 2016 -0800"
  },
  "message": "Mojom parser: Compute and validate struct field ordinals.\n\nIn mojom_types.mojom struct fields are supposed to be listed in ordinal order, and the\noriginal lexical order is preserved in a field of DeclarationData called |declaration_order|.\n\nAdditionally there is a field of DeclarationData called |declared_ordinal| that records if an\nexplicit ordinal has been specified.\n\nPreviously only the |declared_ordinal| bit was implemented. This has worked so far because the\nactual field ordinals are currently computed in the Python back-end using the |declared_ordinal| field.\n\nThis CL implements the missing bits which will allow us in a follow-up CL to eliminate the logic from the Python backend. Implementing the missing bits is also important because we are starting to re-write the backends in Go\nand also because the runtime type information requires it.\n\nThis CL only deals with struct fields. There will be follow-up CLs for union fields and other things. Note that some\nordinals are already being fully handled by the parser, namely method ordinals.\n\nBUG\u003d696\nR\u003dazani@chromium.org\n\nReview URL: https://codereview.chromium.org/1767033002 .\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "63f19609af7bd262a8e391d0d3814d6ad101cf86",
      "old_mode": 33188,
      "old_path": "mojo/public/tools/bindings/mojom_tool/bin/linux64/mojom.sha1",
      "new_id": "346ce124530860555b8ab12bca5b7e5bcbac9ecf",
      "new_mode": 33188,
      "new_path": "mojo/public/tools/bindings/mojom_tool/bin/linux64/mojom.sha1"
    },
    {
      "type": "modify",
      "old_id": "e829ce93525e008a08dc9b7c0db45b14afd015d5",
      "old_mode": 33188,
      "old_path": "mojo/public/tools/bindings/mojom_tool/bin/mac64/mojom.sha1",
      "new_id": "7939d8e8c33a2c215783fd23b1237d47eedd19b1",
      "new_mode": 33188,
      "new_path": "mojo/public/tools/bindings/mojom_tool/bin/mac64/mojom.sha1"
    },
    {
      "type": "modify",
      "old_id": "2ae60607a28f3b0545e6dd8defdca4bff925b243",
      "old_mode": 33261,
      "old_path": "mojo/public/tools/bindings/pylib/mojom/generate/mojom_translator.py",
      "new_id": "23f59b1eea8219bf1435c223b7a72d15846fa781",
      "new_mode": 33261,
      "new_path": "mojo/public/tools/bindings/pylib/mojom/generate/mojom_translator.py"
    },
    {
      "type": "modify",
      "old_id": "6b177e31603c1eb5ebc3f8ebc52ff92be89e289e",
      "old_mode": 33188,
      "old_path": "mojo/public/tools/bindings/pylib/mojom/generate/mojom_translator_unittest.py",
      "new_id": "ab96d64810d501a42bb31ff9f076e53313cfc06c",
      "new_mode": 33188,
      "new_path": "mojo/public/tools/bindings/pylib/mojom/generate/mojom_translator_unittest.py"
    },
    {
      "type": "modify",
      "old_id": "6fb8064743341903f45f5481c3f0b26996604695",
      "old_mode": 33188,
      "old_path": "mojom/mojom_parser/mojom/user_defined_types.go",
      "new_id": "4f1f79802b34a11afb210f8741a243a75b4be8eb",
      "new_mode": 33188,
      "new_path": "mojom/mojom_parser/mojom/user_defined_types.go"
    },
    {
      "type": "modify",
      "old_id": "fdce0c012eae7bcefb474354139965cc43dd5eb2",
      "old_mode": 33188,
      "old_path": "mojom/mojom_parser/parser/comment_merger_test.go",
      "new_id": "45c75b3b1d02f73d544e508c5d4269e84dfd6791",
      "new_mode": 33188,
      "new_path": "mojom/mojom_parser/parser/comment_merger_test.go"
    },
    {
      "type": "modify",
      "old_id": "54cc3da98d71455bfbb0218308402c377da3e9d5",
      "old_mode": 33188,
      "old_path": "mojom/mojom_parser/parser/parser_test.go",
      "new_id": "c0fc317772221bfa6fd5b9d567ae4c90a5d459f9",
      "new_mode": 33188,
      "new_path": "mojom/mojom_parser/parser/parser_test.go"
    },
    {
      "type": "modify",
      "old_id": "a8b1128ccb9330c66a6d23194938ad7dcf32ad4a",
      "old_mode": 33188,
      "old_path": "mojom/mojom_parser/parser/parsing.go",
      "new_id": "2fa321a45d5f2c541056a37579b3ac7caab2bd71",
      "new_mode": 33188,
      "new_path": "mojom/mojom_parser/parser/parsing.go"
    },
    {
      "type": "modify",
      "old_id": "789374b00bd07f87e267848df54ac836da95229a",
      "old_mode": 33188,
      "old_path": "mojom/mojom_parser/parser/resolution_test.go",
      "new_id": "8bd732371b3f9798875ce6f48e9fd665e3629499",
      "new_mode": 33188,
      "new_path": "mojom/mojom_parser/parser/resolution_test.go"
    },
    {
      "type": "modify",
      "old_id": "d4ddff381d686ebae1af195f87ca6e15234a0153",
      "old_mode": 33188,
      "old_path": "mojom/mojom_parser/serialization/serialization.go",
      "new_id": "502dea48e8cfd3aa202c13dbc10f596269f0dd13",
      "new_mode": 33188,
      "new_path": "mojom/mojom_parser/serialization/serialization.go"
    },
    {
      "type": "modify",
      "old_id": "3c543f5f6fb9045b24fdc0e17e50baa2d5095cae",
      "old_mode": 33188,
      "old_path": "mojom/mojom_parser/serialization/serialization_test.go",
      "new_id": "9723a2ea36700d88b129cf7baa7eeeb5e2bcad50",
      "new_mode": 33188,
      "new_path": "mojom/mojom_parser/serialization/serialization_test.go"
    }
  ]
}
