-
Notifications
You must be signed in to change notification settings - Fork 152
Type hash in interface codegen (rep2011) #722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
clalancette
merged 65 commits into
ros2:rolling
from
emersonknapp:emersonknapp/type-version-hash
Mar 15, 2023
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
8e6aac6
WIP generating type hash during code gen
emersonknapp cd8e81c
WIP starting to look at referenced types as well
emersonknapp ce77ab1
Refactoring type hash to other file
emersonknapp 6d582ea
Including referenced type desrciptions now
emersonknapp a51bf43
Added type version hash to all 3 generators
emersonknapp e37e8e5
Minor cleanup for readability
emersonknapp 4834bfa
Output a json file (for every generator, want to fix this)
emersonknapp edc61c2
WIP just copying generator C feeling out what I really need for this …
emersonknapp 50e6c5d
WIP refactoring as a new rosidl generator
emersonknapp fcc5bd8
Cleanup some C artifacts
emersonknapp 9044094
rosidl generator creating and installing expected files
emersonknapp 8b5d892
Revert pycommon changes
emersonknapp 7e79cee
Generate action struct
emersonknapp 7dde0c2
Type hash depended upon and loaded by C and C++ generators
emersonknapp 572f13f
Cleanup cmake comments
emersonknapp 6f9620d
Use arguments json file instead of direct arguments
emersonknapp fd82445
Generate separate hashes and jsons for interface subtypes - not yet p…
emersonknapp 048cc98
Pretty print the type hashes in C/Cpp
emersonknapp 9d4636a
Code cleanup pass
emersonknapp c5b1364
WIP defining type hash structure i need by usage patterns
emersonknapp 713132b
New nested version working for msg/srv
emersonknapp ce87154
Add action breakdown
emersonknapp 9185874
Simplify subinterface generation
emersonknapp 70c5903
dedupe repetition in individual type description serializing
emersonknapp deade42
Individually filtered includes for all subinterfaces
emersonknapp b7600fe
No indent on json outs
emersonknapp b3fb444
Ad dtoplevel for action and service
emersonknapp 27fce61
Code cleanup pass
emersonknapp 8fc293a
Need extra declaration for constexpr static template member
emersonknapp 9977f34
Add type hash to introspection
emersonknapp 0d2a67f
Service introspection type hash todo
emersonknapp f6a50b7
Remove CLI
emersonknapp ec75b02
Jsonschemas first pass
emersonknapp ff5135a
Add rosidl_type_hash_t to rosidl_runtime_c
emersonknapp 4d27998
Type hash struct
emersonknapp 2e17955
Type hash cpp
emersonknapp 3c57119
Extern c for the helper functions, and extra includes
emersonknapp d457eb4
Use rosidl def not sha256
emersonknapp 8fa6359
Parse type hash string utility
emersonknapp afbfb41
Fix off-by-one stringifying
emersonknapp ec3126a
Code cleanup pass
emersonknapp 226a0d1
Add docs and tests for rosidl_type_hash
emersonknapp b2a4132
Clean up schemata
emersonknapp 9dbd2c6
Add schema checking test
emersonknapp ec45a34
Fix tests
emersonknapp 166e16e
Fix length/string_length field serialization and add a test
emersonknapp 705aed0
Address review comments
emersonknapp 82ed9b4
Not bytes to file
emersonknapp d744244
Move type hash declarer to rosidl_generator_c
emersonknapp 41b1d13
Reimplement type hash string parsing without sscanf
emersonknapp 4843fb1
Easier to read and maintain, slightly longer, fieldtype serialization
emersonknapp f803291
Use new FieldType field names
emersonknapp b22b6c6
Type hashes single-file simplified flow
emersonknapp eb127f2
Rename rosidl_generator_type_hash to rosidl_generator_type_description
emersonknapp 3fce7b5
Address review comments
emersonknapp 0b08862
Go full-constant for windows complaints
emersonknapp db50587
Fix type hash validation error and stringify-reversing error, add tes…
emersonknapp 1f2c6ca
Fix windows build: path handling fix, and type hash define initializer
emersonknapp 7d291cc
Windows paths have colons
emersonknapp f6571ac
Fix linter error by adding a futureproofing check
emersonknapp fa9bf55
Address review comments
emersonknapp 6fff5a6
Add new test for nested types
emersonknapp d642a48
Generate hashes in C for services of action
emersonknapp cfd74df
Rename type_description to type_description_msg
emersonknapp a339dd9
Add comment note about __INIT defines
emersonknapp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.