-
Notifications
You must be signed in to change notification settings - Fork 62
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
[20129] TypeObject generation #280
[20129] TypeObject generation #280
Commits on Jan 25, 2024
-
* Fix tests for common struct name in different modules (#268) * Refs #20052: fix tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #20052: update submodule Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> --------- Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Added TypeObject tests with templates for primitives and strings structures. Signed-off-by: adriancampo <adriancampo@eprosima.com> * Added TypeObject tests for most cases. Signed-off-by: adriancampo <adriancampo@eprosima.com> * Added TypeObject tests for unions enums and annotations. Signed-off-by: adriancampo <adriancampo@eprosima.com> * Added missing checks Signed-off-by: adriancampo <adriancampo@eprosima.com> * API changes. Additional checks. Signed-off-by: adriancampo <adriancampo@eprosima.com> * Changes if TypeIdentifiers checks. Signed-off-by: adriancampo <adriancampo@eprosima.com> * API changes. Fixed errors. Signed-off-by: adriancampo <adriancampo@eprosima.com> * Tests use gtest now. Signed-off-by: adriancampo <adriancampo@eprosima.com> * Format changes. Signed-off-by: adriancampo <adriancampo@eprosima.com> * Fixed namespaces, inheritance check and type functions. Signed-off-by: adriancampo <adriancampo@eprosima.com> * Typo Signed-off-by: adriancampo <adriancampo@eprosima.com> * Refs #19595: -typeobject argument is deprecated. TypeObject files will always be generated Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix copyright and include header order. Remove unused headers Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix TypeObjectRegistry::get_type_identifiers call Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix TypeObjectRegistry::get_type_objects call Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: remove const tests: constants do not have TypeObject Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix templates. Remove non-required parameter Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: simplify test templates and include collection and string tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: refactor struct TypeObject test Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: refactor bitset TypeObject test Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: refactor bitset TypeObject tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix enum type TypeObject tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix enum literals TypeObject test Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix bitmask TypeObject tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix type detail annotations checks Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix alias tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix union type TypeObject tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix union member tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: reorder templates. Fixes for string/wstring Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: check Collection TypeIdentifier EquivalenceKind Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix discriminator API according to review suggestion Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: array type tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix map type tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: map type tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix build errors Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: check TypeIdentifier and TypeObject consistency Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: remove non-necessary template attribute Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: member applied annotations check Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: remove non necessary templates. Check already done within consistency methods Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: check dimension/union label Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: add annotation type test Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: w/string type tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: REMOVE: comment TypeObject code in order to build Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: update submodules Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fixes in TypeObject tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: update dds types test submodule Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: update idl parser submodule Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: fix Fast DDS include Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #19595: update submodule Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> --------- Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> Signed-off-by: adriancampo <adriancampo@eprosima.com> Co-authored-by: José Luis Bueno López <69244257+JLBuenoLopez-eProsima@users.noreply.github.com> Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for b816783 - Browse repository at this point
Copy the full SHA b816783View commit details -
Refs #19906: introduce new templates to generate TypeObject code
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 3e9d586 - Browse repository at this point
Copy the full SHA 3e9d586View commit details -
Refs #19906: TypeObject header implementation
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 36acca2 - Browse repository at this point
Copy the full SHA 36acca2View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 3a49617 - Browse repository at this point
Copy the full SHA 3a49617View commit details -
Refs #19906: move anonymous collection name generator to common code
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 895fc1d - Browse repository at this point
Copy the full SHA 895fc1dView commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for a61cb1d - Browse repository at this point
Copy the full SHA a61cb1dView commit details -
Refs #19906: improve verbatim annotation test. Alias custom annotatio…
…ns should be included only once Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for e4ff723 - Browse repository at this point
Copy the full SHA e4ff723View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for e6cc28e - Browse repository at this point
Copy the full SHA e6cc28eView commit details -
Refs #19906: alias type implementation
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 3ee3610 - Browse repository at this point
Copy the full SHA 3ee3610View commit details -
Refs #19906: struct_type implementation
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 7021a7a - Browse repository at this point
Copy the full SHA 7021a7aView commit details -
Refs #19906: fix sequential member id
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 740670d - Browse repository at this point
Copy the full SHA 740670dView commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for fd5699b - Browse repository at this point
Copy the full SHA fd5699bView commit details -
Refs #19906: refactor TypeObjectSupport infrastructure
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for f4378b3 - Browse repository at this point
Copy the full SHA f4378b3View commit details -
Refs #19906: refactor TypeObjectSupport
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 19e0e4b - Browse repository at this point
Copy the full SHA 19e0e4bView commit details -
Refs #19906: do not execute code in main function
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 628f201 - Browse repository at this point
Copy the full SHA 628f201View commit details -
Refs #19906: assign proper member id with inheritance
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for af4b0da - Browse repository at this point
Copy the full SHA af4b0daView commit details -
Refs #19906: refactor register struct type
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 7943d57 - Browse repository at this point
Copy the full SHA 7943d57View commit details -
Refs #19906: fix calling templates with proper parameters
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 84173b8 - Browse repository at this point
Copy the full SHA 84173b8View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 2f79737 - Browse repository at this point
Copy the full SHA 2f79737View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 2e667a1 - Browse repository at this point
Copy the full SHA 2e667a1View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 307d613 - Browse repository at this point
Copy the full SHA 307d613View commit details -
Refs #19906: several fixes in tests
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 70ce7aa - Browse repository at this point
Copy the full SHA 70ce7aaView commit details -
Refs #19906: alias impl. Annotation refactor
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 4f577c4 - Browse repository at this point
Copy the full SHA 4f577c4View commit details -
Refs #19906: fix get TypeObject template
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 0b46ef3 - Browse repository at this point
Copy the full SHA 0b46ef3View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 7bd6a43 - Browse repository at this point
Copy the full SHA 7bd6a43View commit details -
Refs #19906: union member impl
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 5f06776 - Browse repository at this point
Copy the full SHA 5f06776View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for b6b2acb - Browse repository at this point
Copy the full SHA b6b2acbView commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 24b8945 - Browse repository at this point
Copy the full SHA 24b8945View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for cd24fe2 - Browse repository at this point
Copy the full SHA cd24fe2View commit details -
Refs #19906: small refactor to adapt to new throwing API
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 7c5e442 - Browse repository at this point
Copy the full SHA 7c5e442View commit details -
Refs #19906: update unbounded collections name
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for ae95254 - Browse repository at this point
Copy the full SHA ae95254View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 6668db9 - Browse repository at this point
Copy the full SHA 6668db9View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 07e3311 - Browse repository at this point
Copy the full SHA 07e3311View commit details -
Refs #20129: support for not applied annotations
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 4b54b3f - Browse repository at this point
Copy the full SHA 4b54b3fView commit details -
Refs #20129: generate TypeObject tests only for main dependency
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 0619084 - Browse repository at this point
Copy the full SHA 0619084View commit details -
Refs #20129: fix expected flags
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 5b65237 - Browse repository at this point
Copy the full SHA 5b65237View commit details -
Refs #20129: option to avoid generating type object support files
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 8b775c9 - Browse repository at this point
Copy the full SHA 8b775c9View commit details -
Refs #20129: delete legacy TypeObject template
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 205325e - Browse repository at this point
Copy the full SHA 205325eView commit details -
Refs #20129: integration, fix use of external and other minor bugs/typos
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 69c917b - Browse repository at this point
Copy the full SHA 69c917bView commit details -
Refs #20129: test integration: fix unbounded collections, correctly t…
…est collections, correctly check TypeIdentifiers, correctly use fixed_string API Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for b380084 - Browse repository at this point
Copy the full SHA b380084View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for fbfddfe - Browse repository at this point
Copy the full SHA fbfddfeView commit details -
Refs #20129: fix conflicts after rebase
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for b645951 - Browse repository at this point
Copy the full SHA b645951View commit details -
Refs #20129: no type support option disables also TypeObject support …
…generation Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 4fc97fc - Browse repository at this point
Copy the full SHA 4fc97fcView commit details -
Refs #20129: fix Fast DDS include
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for a87fad9 - Browse repository at this point
Copy the full SHA a87fad9View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 0d24e7e - Browse repository at this point
Copy the full SHA 0d24e7eView commit details -
Refs #20129: use genapi module conversion in TypeObject templates
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for e6258e8 - Browse repository at this point
Copy the full SHA e6258e8View commit details -
Refs #20129: apply review suggestions
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 5009e93 - Browse repository at this point
Copy the full SHA 5009e93View commit details -
Refs #20129: create register_type_object_representation method in Typ…
…eSupport Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for e51a9e7 - Browse repository at this point
Copy the full SHA e51a9e7View commit details -
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 2e546a4 - Browse repository at this point
Copy the full SHA 2e546a4View commit details -
Refs #20129: add sequence order check and fixes in map keys and minim…
…al annotation parameters Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 388c157 - Browse repository at this point
Copy the full SHA 388c157View commit details -
Refs #20129: update IDL Parser submodule
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for e6c0e73 - Browse repository at this point
Copy the full SHA e6c0e73View commit details -
Refs #20129: fix Windows warnings C4456: declararion hides previous l…
…ocal declaration Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for da2bfad - Browse repository at this point
Copy the full SHA da2bfadView commit details -
Refs #20129: fix collection name in case of enum types
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 74fae95 - Browse repository at this point
Copy the full SHA 74fae95View commit details -
Refs #20129: update IDL Parser submodule
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 27f47fc - Browse repository at this point
Copy the full SHA 27f47fcView commit details -
Refs #20129: fix Windows warning
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 16fea83 - Browse repository at this point
Copy the full SHA 16fea83View commit details -
Refs #20129: update IDL Parser submodule
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 5e50497 - Browse repository at this point
Copy the full SHA 5e50497View commit details -
Refs #20129: apply review suggestions
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Configuration menu - View commit details
-
Copy full SHA for 1cd7945 - Browse repository at this point
Copy the full SHA 1cd7945View commit details