-
Notifications
You must be signed in to change notification settings - Fork 373
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
Iox #590 Rename utils to hoofs #790
Iox #590 Rename utils to hoofs #790
Conversation
Codecov Report
@@ Coverage Diff @@
## master #790 +/- ##
==========================================
+ Coverage 74.24% 74.34% +0.09%
==========================================
Files 322 322
Lines 11520 11522 +2
Branches 1952 1952
==========================================
+ Hits 8553 8566 +13
+ Misses 2206 2195 -11
Partials 761 761
Flags with carried forward coverage won't be shown. Click here to find out more.
|
b22f485
to
f7e7f92
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First 284 files. The remaining ones will follow
|
||
The iceoryx utils are our basic building blocks - the foundation of | ||
The iceoryx hoofs (**H**andy **O**bjects **O**ptimised **F**or **S**afety) are our basic building blocks - the foundation of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this acronym correct? I read a different one in one of the previous files ... don't know which one, there are just too many
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jep, see here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we find an acronym where H
stands for hypnotoad?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would be blasphemy, using Hypnotoad as a helper or a name for building blocks ;). We all praise Hypnotoad and work for it and not the other way around
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
#ifndef IOX_HOOFS_LINUX_PLATFORM_ACL_HPP | ||
#define IOX_HOOFS_LINUX_PLATFORM_ACL_HPP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this whole file marked as new
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH, I have no clue :( I've moved all the files with the same git mv
command. I know that Git has some magic detection mechanisms to determine how many percent of a file has changed. I don't understand why this worked with the other platform files, though.
Double checked, no duplicates around:
./iceoryx_hoofs/platform/qnx/include/iceoryx_hoofs/platform/acl.hpp
./iceoryx_hoofs/platform/mac/include/iceoryx_hoofs/platform/acl.hpp
./iceoryx_hoofs/platform/linux/include/iceoryx_hoofs/platform/acl.hpp
./iceoryx_hoofs/platform/win/include/iceoryx_hoofs/platform/acl.hpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you call git mv iceoryx_utils iceoryx_hoofs
or did you do it for every single file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is just the github heuristic which is doesn't recognize that it is an old file. I looked at the history of the file and it is preserved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The former. Maybe I did something wrong when adding the files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
400 files done and I just noticed you didn't run clang-format
c2e0eaf
to
eb8f165
Compare
|
||
The iceoryx utils are our basic building blocks - the foundation of | ||
The iceoryx hoofs (**H**andy **O**bjects **O**ptimised **F**or **S**afety) are our basic building blocks - the foundation of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would be blasphemy, using Hypnotoad as a helper or a name for building blocks ;). We all praise Hypnotoad and work for it and not the other way around
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
#ifndef IOX_HOOFS_LINUX_PLATFORM_ACL_HPP | ||
#define IOX_HOOFS_LINUX_PLATFORM_ACL_HPP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you call git mv iceoryx_utils iceoryx_hoofs
or did you do it for every single file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
600 filed done ... time for lunch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -1,4 +1,5 @@ | |||
// Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved. | |||
// Copyright (c) 2021 by Apex.AI Inc. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is weird? Why did you move wait.hpp
to un.hpp
?
Where is the original wait.hpp
file?! Or did here something else go wrong ... I am a little bit lost
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's odd, indeed. Shoulnd't be an issue since wait.hpp
and un.hpp
are definitely there. I have the feeling I need to practice this dance more thoroughly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please replace #pragma once
with include guards in iceoryx_hoofs/platform/win/include/iceoryx_hoofs/platform/platform_correction.hpp
@@ -20,7 +20,7 @@ with the compiler command being a command used to build an iceoryx file. If you | |||
|
|||
an example command if you use GCC (command taked from the build log): | |||
|
|||
CCT_Generator.sh -c /usr/bin/c++ -Diceoryx_utils_EXPORTS -I/home/perforce/iceoryx/iceoryx_utils/include -I/home/perforce/iceoryx/iceoryx_utils/platform/linux/include -O3 -DNDEBUG -fPIC -W -Wall -Wextra -Wuninitialized -Wpedantic -Wstrict-aliasing -Wcast-align -Wno-noexcept-type -Wconversion -std=gnu++14 -o CMakeFiles/iceoryx_utils.dir/source/posix_wrapper/unix_domain_socket.cpp.o -c /home/perforce/iceoryx/iceoryx_utils/source/posix_wrapper/unix_domain_socket.cpp | |||
CCT_Generator.sh -c /usr/bin/c++ -Diceoryx_hoofs_EXPORTS -I/home/perforce/iceoryx/iceoryx_hoofs/include -I/home/perforce/iceoryx/iceoryx_hoofs/platform/linux/include -O3 -DNDEBUG -fPIC -W -Wall -Wextra -Wuninitialized -Wpedantic -Wstrict-aliasing -Wcast-align -Wno-noexcept-type -Wconversion -std=gnu++14 -o CMakeFiles/iceoryx_hoofs.dir/source/posix_wrapper/unix_domain_socket.cpp.o -c /home/perforce/iceoryx/iceoryx_hoofs/source/posix_wrapper/unix_domain_socket.cpp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this actually work, is this somewhere tested? I mean where is this -Diceoryx_hoofs_EXPORTS
defined since I do not find the corresponding CCT_Generator.sh
script in our repo I assume the script uses something from us where we define that compiler variable?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was tested in #757 by @dkroenke @marthtz and @toniglandy1. IIUC these are compiler switches from CMake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elfenpiff
-D<libname>_EXPORTS
is automatically generated by cmake when building a shared library.
From https://cmake.org/cmake/help/v3.0/command/set_target_properties.html:
DEFINE_SYMBOL sets the name of the preprocessor symbol defined when compiling sources in a shared library. If not set here then it is set to target_EXPORTS by default (with some substitutions if the target is not a valid C identifier). This is useful for headers to know whether they are being included from inside their library or outside to properly setup dllexport/dllimport decorations.
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
…g to dependencies Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
…ng_c} Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
…f origin/master and introspection files Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
…l and remove left-over pragma once Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
c121a8c
to
b56bac4
Compare
Pre-Review Checklist for the PR Author
iox-#123-this-is-a-branch
)iox-#123 commit text
)git commit -s
)task-list-completed
)Notes for Reviewer
My apologies for the large pull request 🐿️ I tried smaller steps, but eventually decided to do it in one go.
Checklist for the PR Reviewer
Post-review Checklist for the PR Author
References