Chromium Code Reviews
DescriptionUpdate the IDL Generator to use Release instead of Version
This CL adds the blob_t type for referencing memory pointers. This is a trivial change to idl_c_proto.
The man change for this CL is to fix the version mismatch between types in different files. Since each source file can have it's own Label mapping, using the version of one object to index into a version of another can fail between sources.
This CL removes the use of version and the LABEL property, and instead converts the Node's version information immediately as it's added into the versioned namespace. Now namespace objects reference via Release (str M14) instead of Version (float 1.0). This allows the Nodes to compare against each other with a global value.
1- Remove lint warning for missing "LABEL" property
2- Convert Version references to Release references such as vmin to rmin, etc...
3- Remove Version interfaces which are no longer needed
4- Move VersionList and VersionMap in namespace to ReleaseList and ReleaseMap in idl_release.py
5- Added tests to idl_release
BUG= http://code.google.com/p/chromium/issues/detail?id=97708
TEST= python idl_release && ./generate
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102793
Patch Set 1 #
Total comments: 4
Patch Set 2 : '' #
Messages
Total messages: 4 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||