diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e2bfd93..0e91b369 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ set(GZ_CMAKE_VER ${gz-cmake3_VERSION_MAJOR}) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) -gz_configure_project(VERSION_SUFFIX) +gz_configure_project() #============================================================================ # Set project-specific options diff --git a/Changelog.md b/Changelog.md index a12c97e6..ade70955 100644 --- a/Changelog.md +++ b/Changelog.md @@ -60,6 +60,37 @@ 1. Remove gz-tools from CMakeLists.txt. Not used * [Pull request #56](https://github.com/gazebosim/gz-plugin/pull/56) + +## Gazebo Plugin 1.x + +### Gazebo Plugin 1.3.0 (2022-11-11) + +1. ign -> gz Migrate Ignition Headers : gz-plugin + * [Pull request #101](https://github.com/gazebosim/gz-plugin/pull/101) + +### Gazebo Plugin 1.3.0 (2022-08-15) + +1. Remove redundant namespace references + * [Pull request #100](https://github.com/gazebosim/gz-plugin/pull/100) + +1. Change `IGN_DESIGNATION` to `GZ_DESIGNATION` + * [Pull request #96](https://github.com/gazebosim/gz-plugin/pull/96) + +1. Ignition -> Gazebo + * [Pull request #94](https://github.com/gazebosim/gz-plugin/pull/94) + +1. Bash completion for flags + * [Pull request #81](https://github.com/gazebosim/gz-plugin/pull/81) + +1. Add LICENSE file + * [Pull request #72](https://github.com/gazebosim/gz-plugin/pull/72) + +1. Add Ubuntu Jammy CI + * [Pull request #68](https://github.com/gazebosim/gz-plugin/pull/68) + +1. Install ruby commands on Windows + * [Pull request #63](https://github.com/gazebosim/gz-plugin/pull/63) + ### Gazebo Plugin 1.2.0 (2021-03-30) 1. Infrastructure diff --git a/MigrationFromCommon.md b/MigrationFromCommon.md index 47a37d51..064cc52e 100644 --- a/MigrationFromCommon.md +++ b/MigrationFromCommon.md @@ -84,8 +84,10 @@ then you should continue to use it. It does not have a replacement in `gz-plugin Here is a list of things that you *should* replace: +* `#include ` should be replaced with `#include ` * `#include ` should be replaced with `#include ` * `gz::common::PluginLoader` should be replaced with `gz::plugin::Loader` +* `ignition::common::PluginLoader` should be replaced with `gz::plugin::Loader` * When calling `Loader::Instantiate("....")` do **NOT** prefix the class name with `::`. E.g. `"::some_namespace::MyClass"` should now be `"some_namespace::MyClass"`. diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 83831137..0d8f4441 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -15,6 +15,5 @@ gz_build_tests( TYPE UNIT SOURCES ${tests}) - add_subdirectory(include/gz/plugin) install(DIRECTORY include/ignition DESTINATION ${GZ_INCLUDE_INSTALL_DIR_FULL}) diff --git a/core/include/ignition/plugin/EnablePluginFromThis.hh b/core/include/ignition/plugin/EnablePluginFromThis.hh index 6d794753..68d8775f 100644 --- a/core/include/ignition/plugin/EnablePluginFromThis.hh +++ b/core/include/ignition/plugin/EnablePluginFromThis.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/include/ignition/plugin/Factory.hh b/core/include/ignition/plugin/Factory.hh index 11eb89c0..8b691f9d 100644 --- a/core/include/ignition/plugin/Factory.hh +++ b/core/include/ignition/plugin/Factory.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/include/ignition/plugin/Info.hh b/core/include/ignition/plugin/Info.hh index 1a9bb521..6ffd5468 100644 --- a/core/include/ignition/plugin/Info.hh +++ b/core/include/ignition/plugin/Info.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/include/ignition/plugin/Plugin.hh b/core/include/ignition/plugin/Plugin.hh index 399a61a7..6047f9ce 100644 --- a/core/include/ignition/plugin/Plugin.hh +++ b/core/include/ignition/plugin/Plugin.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/include/ignition/plugin/PluginPtr.hh b/core/include/ignition/plugin/PluginPtr.hh index cabc5560..ba0bd46d 100644 --- a/core/include/ignition/plugin/PluginPtr.hh +++ b/core/include/ignition/plugin/PluginPtr.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/include/ignition/plugin/SpecializedPlugin.hh b/core/include/ignition/plugin/SpecializedPlugin.hh index 10441ee3..134cff1d 100644 --- a/core/include/ignition/plugin/SpecializedPlugin.hh +++ b/core/include/ignition/plugin/SpecializedPlugin.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/include/ignition/plugin/SpecializedPluginPtr.hh b/core/include/ignition/plugin/SpecializedPluginPtr.hh index c3c0eef2..5d89d3b4 100644 --- a/core/include/ignition/plugin/SpecializedPluginPtr.hh +++ b/core/include/ignition/plugin/SpecializedPluginPtr.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/include/ignition/plugin/WeakPluginPtr.hh b/core/include/ignition/plugin/WeakPluginPtr.hh index 5a082026..3e256ad3 100644 --- a/core/include/ignition/plugin/WeakPluginPtr.hh +++ b/core/include/ignition/plugin/WeakPluginPtr.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/core/include/ignition/plugin/utility.hh b/core/include/ignition/plugin/utility.hh index 86d81c87..d49fd73c 100644 --- a/core/include/ignition/plugin/utility.hh +++ b/core/include/ignition/plugin/utility.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/loader/include/ignition/plugin/Loader.hh b/loader/include/ignition/plugin/Loader.hh index e9e2767d..395456ba 100644 --- a/loader/include/ignition/plugin/Loader.hh +++ b/loader/include/ignition/plugin/Loader.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/loader/src/cmd/gz.cc b/loader/src/cmd/gz.cc index 64709378..86925881 100644 --- a/loader/src/cmd/gz.cc +++ b/loader/src/cmd/gz.cc @@ -24,6 +24,8 @@ #include "gz/plugin/config.hh" #include "gz.hh" +using Loader = gz::plugin::Loader; + ////////////////////////////////////////////////// extern "C" void cmdPluginInfo( const char *_plugin, int _verbose) @@ -34,7 +36,7 @@ extern "C" void cmdPluginInfo( return; } - gz::plugin::Loader pl; + Loader pl; std::cout << "Loading plugin library file [" << _plugin << "]\n"; // Print names of plugins exported by library file diff --git a/register/include/ignition/plugin/Register.hh b/register/include/ignition/plugin/Register.hh index aae617f4..83722f23 100644 --- a/register/include/ignition/plugin/Register.hh +++ b/register/include/ignition/plugin/Register.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/register/include/ignition/plugin/RegisterMore.hh b/register/include/ignition/plugin/RegisterMore.hh index 6665aefc..d0abea89 100644 --- a/register/include/ignition/plugin/RegisterMore.hh +++ b/register/include/ignition/plugin/RegisterMore.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018 Open Source Robotics Foundation + * Copyright (C) 2022 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.