-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nkoenig
committed
Feb 12, 2019
1 parent
78a5ee5
commit cfcf693
Showing
39 changed files
with
2,697 additions
and
1,511 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as | ||
contributors and maintainers pledge to making participation in our project | ||
and our community a harassment-free experience for everyone, regardless of | ||
age, body size, disability, ethnicity, sex characteristics, gender identity | ||
and expression, level of experience, education, socio-economic status, | ||
nationality, personal appearance, race, religion, or sexual identity and | ||
orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment | ||
include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or | ||
advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic | ||
address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable | ||
behavior and are expected to take appropriate and fair corrective action in | ||
response to any instances of unacceptable behavior. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or | ||
reject comments, commits, code, wiki edits, issues, and other contributions | ||
that are not aligned to this Code of Conduct, or to ban temporarily or | ||
permanently any contributor for other behaviors that they deem inappropriate, | ||
threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces | ||
when an individual is representing the project or its community. Examples of | ||
representing a project or community include using an official project e-mail | ||
address, posting via an official social media account, or acting as an appointed | ||
representative at an online or offline event. Representation of a project may be | ||
further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported by contacting the project team at [https://ignitionrobotics.org/support](https://ignitionrobotics.org/support). All | ||
complaints will be reviewed and investigated and will result in a response that | ||
is deemed necessary and appropriate to the circumstances. The project team is | ||
obligated to maintain confidentiality with regard to the reporter of an incident. | ||
Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good | ||
faith may face temporary or permanent repercussions as determined by other | ||
members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
|
||
For answers to common questions about this code of conduct, see | ||
https://www.contributor-covenant.org/faq |
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,16 @@ macro(config_compiler_and_linker) | |
# Newlines inside flags variables break CMake's NMake generator. | ||
# TODO([email protected]): Add -RTCs and -RTCu to debug builds. | ||
set(cxx_base_flags "-GS -W4 -WX -wd4127 -wd4251 -wd4275 -nologo -J -Zi") | ||
if (MSVC_VERSION LESS 1400) | ||
# Suppress spurious warnings MSVC 7.1 sometimes issues. | ||
# Forcing value to bool. | ||
set(cxx_base_flags "${cxx_base_flags} -wd4800") | ||
# Copy constructor and assignment operator could not be generated. | ||
set(cxx_base_flags "${cxx_base_flags} -wd4511 -wd4512") | ||
# Compatibility warnings not applicable to Google Test. | ||
# Resolved overload was found by argument-dependent lookup. | ||
set(cxx_base_flags "${cxx_base_flags} -wd4675") | ||
endif() | ||
set(cxx_base_flags "${cxx_base_flags} -D_UNICODE -DUNICODE -DWIN32 -D_WIN32") | ||
set(cxx_base_flags "${cxx_base_flags} -DSTRICT -DWIN32_LEAN_AND_MEAN") | ||
set(cxx_exception_flags "-EHsc -D_HAS_EXCEPTIONS=1") | ||
|
@@ -69,7 +79,8 @@ macro(config_compiler_and_linker) | |
# whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI | ||
# explicitly. | ||
set(cxx_no_rtti_flags "-fno-rtti -DGTEST_HAS_RTTI=0") | ||
set(cxx_strict_flags "-Wextra") | ||
set(cxx_strict_flags | ||
"-Wextra -Wno-unused-parameter -Wno-missing-field-initializers") | ||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "SunPro") | ||
set(cxx_exception_flags "-features=except") | ||
# Sun Pro doesn't provide macros to indicate whether exceptions and | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
diff -r a5e72dd0ecf3 test/gtest/include/gtest/gtest-typed-test.h | ||
--- a/test/gtest/include/gtest/gtest-typed-test.h Mon Nov 04 11:47:43 2013 -0800 | ||
+++ b/test/gtest/include/gtest/gtest-typed-test.h Mon Nov 04 11:49:12 2013 -0800 | ||
@@ -31,6 +31,7 @@ | ||
|
||
#ifndef GTEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_ | ||
#define GTEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_ | ||
+#pragma GCC system_header | ||
|
||
// This header implements typed tests and type-parameterized tests. | ||
|
||
diff -r a5e72dd0ecf3 test/gtest/src/gtest.cc | ||
--- a/test/gtest/src/gtest.cc Mon Nov 04 11:47:43 2013 -0800 | ||
+++ b/test/gtest/src/gtest.cc Mon Nov 04 11:49:12 2013 -0800 | ||
@@ -33,6 +33,7 @@ | ||
|
||
#include "gtest/gtest.h" | ||
#include "gtest/gtest-spi.h" | ||
+#pragma GCC system_header | ||
|
||
#include <ctype.h> | ||
#include <math.h> | ||
diff -r c33b44f8a9a1 test/gtest/include/gtest/internal/gtest-port.h | ||
--- a/test/gtest/include/gtest/internal/gtest-port.h Wed Nov 06 11:23:38 2013 -0800 | ||
+++ b/test/gtest/include/gtest/internal/gtest-port.h Wed Nov 06 17:12:57 2013 -0800 | ||
@@ -39,6 +39,7 @@ | ||
|
||
#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_ | ||
#define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_ | ||
+#pragma GCC system_header | ||
|
||
// The user can define the following macros in the build script to | ||
// control Google Test's behavior. If the user doesn't define a macro | ||
diff -r e980730656c1 test/gtest/include/gtest/gtest-printers.h | ||
--- a/test/gtest/include/gtest/gtest-printers.h Wed Nov 06 17:13:57 2013 -0800 | ||
+++ b/test/gtest/include/gtest/gtest-printers.h Thu Nov 07 09:29:28 2013 -0800 | ||
@@ -94,6 +94,7 @@ | ||
|
||
#ifndef GTEST_INCLUDE_GTEST_GTEST_PRINTERS_H_ | ||
#define GTEST_INCLUDE_GTEST_GTEST_PRINTERS_H_ | ||
+#pragma GCC system_header | ||
|
||
#include <ostream> // NOLINT | ||
#include <sstream> |
This file contains 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 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 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 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.