-
Notifications
You must be signed in to change notification settings - Fork 26
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
CastXML integration #66
Commits on Mar 17, 2016
-
Configuration menu - View commit details
-
Copy full SHA for f7648d0 - Browse repository at this point
Copy the full SHA f7648d0View commit details -
More idiomatic than #clear w.r.t. Ruby containers
Configuration menu - View commit details
-
Copy full SHA for 5d0a390 - Browse repository at this point
Copy the full SHA 5d0a390View commit details -
copy metadata in minimal(registry)
It was done only in minimal(typename)
Configuration menu - View commit details
-
Copy full SHA for 4ef24af - Browse repository at this point
Copy the full SHA 4ef24afView commit details -
fix TypeBuilder w.r.t. template-like constructs
The type builder name parsing would fail on e.g. /a/type</int[32]> This is currently only used in the tlb importer, which once-upon-a-time was able to load TLBs where e.g. arrays would not be defined. This is not the case anymore (which is probably why we have not hit the problem ... yet)
Configuration menu - View commit details
-
Copy full SHA for 784de56 - Browse repository at this point
Copy the full SHA 784de56View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfae380 - Browse repository at this point
Copy the full SHA cfae380View commit details -
Debian (Testing) has changed the name from gccxml to gccxml.real This needs this hack. If gccxml.real is present in path use this instead of gccxml.
Configuration menu - View commit details
-
Copy full SHA for d9bceca - Browse repository at this point
Copy the full SHA d9bcecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4da3bb0 - Browse repository at this point
Copy the full SHA 4da3bb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 984dcd6 - Browse repository at this point
Copy the full SHA 984dcd6View commit details -
gccxml: remove the 'absolute' flag to the cxx_to_typelib conversions
It was completely buggy, and is therefore obviously unused.
Configuration menu - View commit details
-
Copy full SHA for 30c52e7 - Browse repository at this point
Copy the full SHA 30c52e7View commit details -
gccxml: unify the determination of type names without using the 'dema…
…ngle' field The namespaces were already resolved by going through the context nodes recursively. This has become the way to go for castxml as well, and is backward-compatible with gccxml, so let's just use this method.
Configuration menu - View commit details
-
Copy full SHA for 633f50f - Browse repository at this point
Copy the full SHA 633f50fView commit details -
gccxml: remove some of the normalization hacks
Basically, this moves the translation of /std/basic_string to /std/string and /std/vector<..., allocator> to /std/vector<...> higher up.
Configuration menu - View commit details
-
Copy full SHA for 1c4a7ea - Browse repository at this point
Copy the full SHA 1c4a7eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09a115e - Browse repository at this point
Copy the full SHA 09a115eView commit details -
gccxml: fix calling castxml and use it by default
castxml does not behave exactly like gccxml w.r.t. file resolution Basically, only the toplevel file is referred to in the output instead of being "exact" Funnily enough, that's exactly what orogen needs (the orogen_include) stuff. Maybe it's time to drop the performance hack (put as much as possible in a single header) for the benefit of performance. For now, resolve each header one by one at least until castxml works
Configuration menu - View commit details
-
Copy full SHA for 443f217 - Browse repository at this point
Copy the full SHA 443f217View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa8a36f - Browse repository at this point
Copy the full SHA fa8a36fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2544f8 - Browse repository at this point
Copy the full SHA d2544f8View commit details -
gccxml: fixed ivalid return in case a typedef is loaded before a type…
… definition In the old case a string was returned which makes the importer belive that a type could be resolved. In the second run the type was ignored. Fixed this inconsistency by retuning nil when a ignored node is created
Configuration menu - View commit details
-
Copy full SHA for 3aa663c - Browse repository at this point
Copy the full SHA 3aa663cView commit details -
gccxml: fix handling of various anonymous C++ constructs
Namely: - anonymous namespaces - anonymous classes
Configuration menu - View commit details
-
Copy full SHA for 33b4b17 - Browse repository at this point
Copy the full SHA 33b4b17View commit details -
gccxml: re-integrate handling of qualified types
Was left out, but re-add it for consistency with the clang importer.
Configuration menu - View commit details
-
Copy full SHA for bab9664 - Browse repository at this point
Copy the full SHA bab9664View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0aa3d8c - Browse repository at this point
Copy the full SHA 0aa3d8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b685f42 - Browse repository at this point
Copy the full SHA b685f42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0859f11 - Browse repository at this point
Copy the full SHA 0859f11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ffa279 - Browse repository at this point
Copy the full SHA 5ffa279View commit details -
Configuration menu - View commit details
-
Copy full SHA for d98f7a2 - Browse repository at this point
Copy the full SHA d98f7a2View commit details -
clang: extract opaques from the provided registry, as the gccxml impo…
…rter already does
Configuration menu - View commit details
-
Copy full SHA for aded24e - Browse repository at this point
Copy the full SHA aded24eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f899c9 - Browse repository at this point
Copy the full SHA 4f899c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c7ca55 - Browse repository at this point
Copy the full SHA 3c7ca55View commit details -
Configuration menu - View commit details
-
Copy full SHA for a189bad - Browse repository at this point
Copy the full SHA a189badView commit details -
cxx,test: expect the importers to alias the full vector or string nam…
…e to the short typelib name, not some already shortened version
Configuration menu - View commit details
-
Copy full SHA for f1a906f - Browse repository at this point
Copy the full SHA f1a906fView commit details -
cxx,test: remove eigen dependency from cxx importer tests
Signed-off-by: Martin Zenzes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9664a0e - Browse repository at this point
Copy the full SHA 9664a0eView commit details -
ruby,test: add a 'runner' script to easily run tests
It's basically a command-line to run 'minitest', with the added functionality of setting up the include path properly and load test_config.rb
Configuration menu - View commit details
-
Copy full SHA for 155843c - Browse repository at this point
Copy the full SHA 155843cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94c95e8 - Browse repository at this point
Copy the full SHA 94c95e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6927434 - Browse repository at this point
Copy the full SHA 6927434View commit details -
gccxml: move type name normalization as late as possible
This applies to vectors and template type names which point to typedef'd, opaques or vectors
Configuration menu - View commit details
-
Copy full SHA for d6f3843 - Browse repository at this point
Copy the full SHA d6f3843View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c38339 - Browse repository at this point
Copy the full SHA 0c38339View commit details -
gccxml: implement setting the cxxname metadata
It is implemented in clang, and is going to be useful for orogen Note that the final format generated by gccxml does NOT match clang. It instead matches the syntax that one would expect to do code generation.
Configuration menu - View commit details
-
Copy full SHA for 5e0bc30 - Browse repository at this point
Copy the full SHA 5e0bc30View commit details -
cxx,test: test the metadata fields as well
It required to update the target tlbs: - the final format for the cxxname field differs from the one used in the clang importer - source_file_line can robustly be tested only for files included in the test dir, system files will change from compiler-to-compiler and system-to-system - in classes.hh, it seems that the clang importer is setting the base_classes metadata for opaque classes. That's not implemented in gccxml and I really don't see the use case (since opaques, are you know, opaques)
Configuration menu - View commit details
-
Copy full SHA for 22ff38e - Browse repository at this point
Copy the full SHA 22ff38eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 270a99b - Browse repository at this point
Copy the full SHA 270a99bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c5d6c9 - Browse repository at this point
Copy the full SHA 0c5d6c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c5fb3b - Browse repository at this point
Copy the full SHA 8c5fb3bView commit details -
cxx,test: do not explicitely remove standard C++ types in tlb_cxxgen
This should be handled by the importer(s) themselves
Configuration menu - View commit details
-
Copy full SHA for bb1f467 - Browse repository at this point
Copy the full SHA bb1f467View commit details -
cxx,test: in cxx_tlbgen, write the TLB in the test dir directly, but …
…under a new name
Configuration menu - View commit details
-
Copy full SHA for b79d797 - Browse repository at this point
Copy the full SHA b79d797View commit details -
Configuration menu - View commit details
-
Copy full SHA for de275ee - Browse repository at this point
Copy the full SHA de275eeView commit details -
cxx,test: support having importer-specific expected tlb files
One can add a .tlb.IMPORTER_NAME file that is specific to the importer, in which case the test verifies that the loaded registry has all tests for the common registry, and complete equivalence for the loader-specific registry This is because the clang importer currently does not support pointers, but gccxml/castxml does, and I don't want to make it a strong requirement just yet.
Configuration menu - View commit details
-
Copy full SHA for 394118c - Browse repository at this point
Copy the full SHA 394118cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd2d13c - Browse repository at this point
Copy the full SHA bd2d13cView commit details -
cxx,test: fix loader selection
Some tests where still selecting their loader based on the TYPELIB_CXX_LOADER envvar, which goes contrary to what we actually want.
Configuration menu - View commit details
-
Copy full SHA for 41397cd - Browse repository at this point
Copy the full SHA 41397cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfb99b0 - Browse repository at this point
Copy the full SHA bfb99b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 943c219 - Browse repository at this point
Copy the full SHA 943c219View commit details -
Configuration menu - View commit details
-
Copy full SHA for da90f0c - Browse repository at this point
Copy the full SHA da90f0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9932692 - Browse repository at this point
Copy the full SHA 9932692View commit details -
cxx,test: fix minor discrepancies between castxml and gccxml modes
After this commit, both gccxml and castxml pass the suite
Configuration menu - View commit details
-
Copy full SHA for 8053106 - Browse repository at this point
Copy the full SHA 8053106View commit details -
Configuration menu - View commit details
-
Copy full SHA for dacb606 - Browse repository at this point
Copy the full SHA dacb606View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8ab75f - Browse repository at this point
Copy the full SHA a8ab75fView commit details -
Configuration menu - View commit details
-
Copy full SHA for abebbd4 - Browse repository at this point
Copy the full SHA abebbd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e1b4e4 - Browse repository at this point
Copy the full SHA 4e1b4e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 600104a - Browse repository at this point
Copy the full SHA 600104aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1f4f47 - Browse repository at this point
Copy the full SHA a1f4f47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50a2958 - Browse repository at this point
Copy the full SHA 50a2958View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1697ad0 - Browse repository at this point
Copy the full SHA 1697ad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa4a367 - Browse repository at this point
Copy the full SHA fa4a367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bb363c - Browse repository at this point
Copy the full SHA 8bb363cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aa4c18 - Browse repository at this point
Copy the full SHA 2aa4c18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86166ae - Browse repository at this point
Copy the full SHA 86166aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ae6c5 - Browse repository at this point
Copy the full SHA 67ae6c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 829f850 - Browse repository at this point
Copy the full SHA 829f850View commit details -
gccxml: workaround weird gccxml handling of negative integer paramete…
…rs in template Negative integers (e.g. -2) are represented as -0x000000N (e.g. -2 is -0x000000002)
Configuration menu - View commit details
-
Copy full SHA for 075eee2 - Browse repository at this point
Copy the full SHA 075eee2View commit details -
castxml: do not mandatorily add '-std=c++11' to the castxml command line
One should add it through the TYPELIB_CASTXML_DEFAULT_OPTIONS environment variable
Configuration menu - View commit details
-
Copy full SHA for ec66ff5 - Browse repository at this point
Copy the full SHA ec66ff5View commit details -
castxml: remove EIGEN_DONT_VECTORIZE
clang/castxml can handle the vectorization instructions just fine
Configuration menu - View commit details
-
Copy full SHA for 096b27e - Browse repository at this point
Copy the full SHA 096b27eView commit details