Repository: celix Updated Branches: refs/heads/develop 720b64b86 -> 3a3795429
CELIX-282: Updated/Added licence information based on Apache RAT results Project: http://git-wip-us.apache.org/repos/asf/celix/repo Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/a86dff77 Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/a86dff77 Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/a86dff77 Branch: refs/heads/develop Commit: a86dff77f4ea3b1cb0f5c51b66c57ff764298f2b Parents: 720b64b Author: Pepijn Noltes <[email protected]> Authored: Mon Apr 11 13:37:55 2016 +0200 Committer: Pepijn Noltes <[email protected]> Committed: Mon Apr 11 13:37:55 2016 +0200 ---------------------------------------------------------------------- Dockerfile.Android | 19 +++++++++++++--- celix-bootstrap/celix/__init__.py | 17 ++++++++++++++- celix-bootstrap/celix/bootstrap/__init__.py | 16 ++++++++++++++ celix-bootstrap/celix/bootstrap/__main__.py | 18 +++++++++++++++ .../celix/bootstrap/argument_parser.py | 17 +++++++++++++++ celix-bootstrap/celix/bootstrap/celix_utils.py | 17 +++++++++++++++ celix-bootstrap/celix/bootstrap/generators.py | 17 +++++++++++++++ .../bootstrap/templates/bundle/CMakeLists.txt | 17 +++++++++++++++ .../bootstrap/templates/bundle/bundle.yaml | 21 ++++++++++++++++++ .../celix/bootstrap/templates/bundle/service.h | 18 +++++++++++++++ .../bootstrap/templates/project/CMakeLists.txt | 16 ++++++++++++++ .../bootstrap/templates/project/deploy.cmake | 16 ++++++++++++++ .../bootstrap/templates/project/project.yaml | 16 ++++++++++++++ celix-bootstrap/scripts/celix-bootstrap | 17 +++++++++++++++ celix-bootstrap/setup.py | 17 +++++++++++++++ cmake/cmake_celix/BuildOptions.cmake | 17 +++++++++++++++ .../benchmark/public/include/benchmark.h | 18 ++++++++++++--- .../benchmark/public/include/benchmark_result.h | 18 ++++++++++++--- .../private/include/math_component.h | 18 +++++++++++++++ .../math_provider/private/src/math_component.c | 18 ++++++++++++--- .../private/src/modified_bool_benchmark.c | 18 +++++++++++++++ .../private/src/mutex_benchmark.c | 19 ++++++++++++---- .../private/src/reference_benchmark.c | 18 ++++++++++++--- examples/locking/services/benchmark_service.h | 18 ++++++++++++--- .../private/src/start_stop_benchmark.c | 18 ++++++++++++--- rat-excludes.txt | 23 +++++++++++--------- .../topology_manager/tms_tst/CMakeLists.txt | 19 +++++++++++++--- .../tms_tst/bundle/CMakeLists.txt | 20 ++++++++++++++--- .../tms_tst/bundle/tst_activator.c | 17 ++++++++++++++- .../tms_tst/bundle/tst_service.h | 17 ++++++++++++++- .../tms_tst/disc_mock/CMakeLists.txt | 19 +++++++++++++--- .../tms_tst/disc_mock/disc_mock_activator.c | 17 ++++++++++++++- .../tms_tst/disc_mock/disc_mock_service.c | 17 ++++++++++++++- .../tms_tst/disc_mock/disc_mock_service.h | 17 ++++++++++++++- .../topology_manager/tms_tst/run_tests.cpp | 19 ++++++++++++++-- 35 files changed, 572 insertions(+), 52 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/Dockerfile.Android ---------------------------------------------------------------------- diff --git a/Dockerfile.Android b/Dockerfile.Android index 49cf790..6ba8f0a 100644 --- a/Dockerfile.Android +++ b/Dockerfile.Android @@ -1,6 +1,19 @@ -# -# Licensed under Apache License v2. See LICENSE for more information. -# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # Celix android builder # http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/__init__.py ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/__init__.py b/celix-bootstrap/celix/__init__.py index 139597f..00ae6c0 100644 --- a/celix-bootstrap/celix/__init__.py +++ b/celix-bootstrap/celix/__init__.py @@ -1,2 +1,17 @@ - +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/__init__.py ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/__init__.py b/celix-bootstrap/celix/bootstrap/__init__.py index e69de29..978b68a 100644 --- a/celix-bootstrap/celix/bootstrap/__init__.py +++ b/celix-bootstrap/celix/bootstrap/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/__main__.py ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/__main__.py b/celix-bootstrap/celix/bootstrap/__main__.py index 0701ac8..d43e983 100644 --- a/celix-bootstrap/celix/bootstrap/__main__.py +++ b/celix-bootstrap/celix/bootstrap/__main__.py @@ -1,4 +1,22 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# #!/usr/bin/env python + from . import argument_parser argument_parser.main() http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/argument_parser.py ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/argument_parser.py b/celix-bootstrap/celix/bootstrap/argument_parser.py index 0fe2649..be7f5dc 100644 --- a/celix-bootstrap/celix/bootstrap/argument_parser.py +++ b/celix-bootstrap/celix/bootstrap/argument_parser.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #!/usr/bin/env python import os import argparse http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/celix_utils.py ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/celix_utils.py b/celix-bootstrap/celix/bootstrap/celix_utils.py index bcc5667..167b955 100644 --- a/celix-bootstrap/celix/bootstrap/celix_utils.py +++ b/celix-bootstrap/celix/bootstrap/celix_utils.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import cmd import glob import os.path http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/generators.py ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/generators.py b/celix-bootstrap/celix/bootstrap/generators.py index 4c6769e..1bf3058 100644 --- a/celix-bootstrap/celix/bootstrap/generators.py +++ b/celix-bootstrap/celix/bootstrap/generators.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import shutil import os import sys http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/templates/bundle/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/templates/bundle/CMakeLists.txt b/celix-bootstrap/celix/bootstrap/templates/bundle/CMakeLists.txt index 1c80a04..8e8e607 100644 --- a/celix-bootstrap/celix/bootstrap/templates/bundle/CMakeLists.txt +++ b/celix-bootstrap/celix/bootstrap/templates/bundle/CMakeLists.txt @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #{{ #import os, yaml #bundle = None http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/templates/bundle/bundle.yaml ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/templates/bundle/bundle.yaml b/celix-bootstrap/celix/bootstrap/templates/bundle/bundle.yaml index 5476d55..797795f 100644 --- a/celix-bootstrap/celix/bootstrap/templates/bundle/bundle.yaml +++ b/celix-bootstrap/celix/bootstrap/templates/bundle/bundle.yaml @@ -1,3 +1,24 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + + + + #{{ #from celix.bootstrap.celix_utils import * #}} http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/templates/bundle/service.h ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/templates/bundle/service.h b/celix-bootstrap/celix/bootstrap/templates/bundle/service.h index 7797fe8..2491350 100644 --- a/celix-bootstrap/celix/bootstrap/templates/bundle/service.h +++ b/celix-bootstrap/celix/bootstrap/templates/bundle/service.h @@ -1,3 +1,21 @@ +/* + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. + */ //{{ //import yaml //bundle = None http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/templates/project/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/templates/project/CMakeLists.txt b/celix-bootstrap/celix/bootstrap/templates/project/CMakeLists.txt index d5d6d81..639b7ec 100644 --- a/celix-bootstrap/celix/bootstrap/templates/project/CMakeLists.txt +++ b/celix-bootstrap/celix/bootstrap/templates/project/CMakeLists.txt @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. #{{ #import fnmatch #import os http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/templates/project/deploy.cmake ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/templates/project/deploy.cmake b/celix-bootstrap/celix/bootstrap/templates/project/deploy.cmake index 6001f27..b2d49c5 100644 --- a/celix-bootstrap/celix/bootstrap/templates/project/deploy.cmake +++ b/celix-bootstrap/celix/bootstrap/templates/project/deploy.cmake @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. #{{ #import fnmatch #import os http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/celix/bootstrap/templates/project/project.yaml ---------------------------------------------------------------------- diff --git a/celix-bootstrap/celix/bootstrap/templates/project/project.yaml b/celix-bootstrap/celix/bootstrap/templates/project/project.yaml index a7832a9..c3969ea 100644 --- a/celix-bootstrap/celix/bootstrap/templates/project/project.yaml +++ b/celix-bootstrap/celix/bootstrap/templates/project/project.yaml @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. #{{ #from celix.bootstrap.celix_utils import * #}} http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/scripts/celix-bootstrap ---------------------------------------------------------------------- diff --git a/celix-bootstrap/scripts/celix-bootstrap b/celix-bootstrap/scripts/celix-bootstrap index 22d43ec..6720cdd 100755 --- a/celix-bootstrap/scripts/celix-bootstrap +++ b/celix-bootstrap/scripts/celix-bootstrap @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #!/usr/bin/env python import celix.bootstrap.argument_parser http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/celix-bootstrap/setup.py ---------------------------------------------------------------------- diff --git a/celix-bootstrap/setup.py b/celix-bootstrap/setup.py index f8245d2..3952f05 100644 --- a/celix-bootstrap/setup.py +++ b/celix-bootstrap/setup.py @@ -1,4 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. #!/usr/bin/python + """ Setup.py for Cog http://nedbatchelder.com/code/cog http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/cmake/cmake_celix/BuildOptions.cmake ---------------------------------------------------------------------- diff --git a/cmake/cmake_celix/BuildOptions.cmake b/cmake/cmake_celix/BuildOptions.cmake index 8c5caf5..7420cd0 100644 --- a/cmake/cmake_celix/BuildOptions.cmake +++ b/cmake/cmake_celix/BuildOptions.cmake @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + option(ENABLE_ADDRESS_SANITIZER "Enabled building with address sanitizer. Note for gcc libasan must be installed" OFF) http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/examples/locking/benchmark/public/include/benchmark.h ---------------------------------------------------------------------- diff --git a/examples/locking/benchmark/public/include/benchmark.h b/examples/locking/benchmark/public/include/benchmark.h index 971f111..788444d 100644 --- a/examples/locking/benchmark/public/include/benchmark.h +++ b/examples/locking/benchmark/public/include/benchmark.h @@ -1,8 +1,20 @@ /* - * consumer.h + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at * - * Created on: Feb 13, 2014 - * Author: dl436 + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #ifndef CONSUMER_H_ http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/examples/locking/benchmark/public/include/benchmark_result.h ---------------------------------------------------------------------- diff --git a/examples/locking/benchmark/public/include/benchmark_result.h b/examples/locking/benchmark/public/include/benchmark_result.h index aba7761..636b9d1 100644 --- a/examples/locking/benchmark/public/include/benchmark_result.h +++ b/examples/locking/benchmark/public/include/benchmark_result.h @@ -1,8 +1,20 @@ /* - * benchmark_result.h + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at * - * Created on: Feb 13, 2014 - * Author: dl436 + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #ifndef BENCHMARK_RESULT_H_ http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/examples/locking/math_provider/private/include/math_component.h ---------------------------------------------------------------------- diff --git a/examples/locking/math_provider/private/include/math_component.h b/examples/locking/math_provider/private/include/math_component.h index 0b55d10..b2b1510 100644 --- a/examples/locking/math_provider/private/include/math_component.h +++ b/examples/locking/math_provider/private/include/math_component.h @@ -1,3 +1,21 @@ +/* + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. + */ #ifndef MATH_COMPONENT_H_ #define MATH_COMPONENT_H_ http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/examples/locking/math_provider/private/src/math_component.c ---------------------------------------------------------------------- diff --git a/examples/locking/math_provider/private/src/math_component.c b/examples/locking/math_provider/private/src/math_component.c index 3e51890..bc83c8e 100644 --- a/examples/locking/math_provider/private/src/math_component.c +++ b/examples/locking/math_provider/private/src/math_component.c @@ -1,8 +1,20 @@ /* - * math.c + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at * - * Created on: Oct 8, 2014 - * Author: dl436 + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #include <stdlib.h> http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/examples/locking/modified_bool_benchmark/private/src/modified_bool_benchmark.c ---------------------------------------------------------------------- diff --git a/examples/locking/modified_bool_benchmark/private/src/modified_bool_benchmark.c b/examples/locking/modified_bool_benchmark/private/src/modified_bool_benchmark.c index b482b2c..cdf8815 100644 --- a/examples/locking/modified_bool_benchmark/private/src/modified_bool_benchmark.c +++ b/examples/locking/modified_bool_benchmark/private/src/modified_bool_benchmark.c @@ -1,3 +1,21 @@ +/* + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. + */ #include <stdlib.h> #include <pthread.h> #include <unistd.h> http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/examples/locking/mutex_benchmark/private/src/mutex_benchmark.c ---------------------------------------------------------------------- diff --git a/examples/locking/mutex_benchmark/private/src/mutex_benchmark.c b/examples/locking/mutex_benchmark/private/src/mutex_benchmark.c index f4fe678..615b98e 100644 --- a/examples/locking/mutex_benchmark/private/src/mutex_benchmark.c +++ b/examples/locking/mutex_benchmark/private/src/mutex_benchmark.c @@ -1,10 +1,21 @@ /* - * mutex_benchmark.c + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at * - * Created on: Feb 13, 2014 - * Author: dl436 + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ - #include <stdlib.h> #include <pthread.h> #include <sys/time.h> http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/examples/locking/reference_benchmark/private/src/reference_benchmark.c ---------------------------------------------------------------------- diff --git a/examples/locking/reference_benchmark/private/src/reference_benchmark.c b/examples/locking/reference_benchmark/private/src/reference_benchmark.c index f4bb93f..0cc0c33 100644 --- a/examples/locking/reference_benchmark/private/src/reference_benchmark.c +++ b/examples/locking/reference_benchmark/private/src/reference_benchmark.c @@ -1,8 +1,20 @@ /* - * mutex_benchmark.c + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at * - * Created on: Feb 13, 2014 - * Author: dl436 + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #include <stdlib.h> http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/examples/locking/services/benchmark_service.h ---------------------------------------------------------------------- diff --git a/examples/locking/services/benchmark_service.h b/examples/locking/services/benchmark_service.h index 63ada04..d0a1a9c 100644 --- a/examples/locking/services/benchmark_service.h +++ b/examples/locking/services/benchmark_service.h @@ -1,8 +1,20 @@ /* - * benchmark_service.h + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at * - * Created on: Feb 13, 2014 - * Author: dl436 + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #ifndef BENCHMARK_SERVICE_H_ http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/examples/locking/start_stop_benchmark/private/src/start_stop_benchmark.c ---------------------------------------------------------------------- diff --git a/examples/locking/start_stop_benchmark/private/src/start_stop_benchmark.c b/examples/locking/start_stop_benchmark/private/src/start_stop_benchmark.c index 1d445c5..b86af52 100644 --- a/examples/locking/start_stop_benchmark/private/src/start_stop_benchmark.c +++ b/examples/locking/start_stop_benchmark/private/src/start_stop_benchmark.c @@ -1,8 +1,20 @@ /* - * mutex_benchmark.c + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at * - * Created on: Feb 13, 2014 - * Author: dl436 + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #include <stdlib.h> http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/rat-excludes.txt ---------------------------------------------------------------------- diff --git a/rat-excludes.txt b/rat-excludes.txt index fae6292..b9109e8 100644 --- a/rat-excludes.txt +++ b/rat-excludes.txt @@ -21,13 +21,15 @@ - Doxygen scripts for CMake (Doxyfile.in, UseDoxygen.cmake) - memstream - Also there are several files which can't have a license. + Also there are several files which can't have a license statement. - *.in Input files used by CMake to generate files for deployment, should not contain comments. - .project Eclipse project file, not in the release but generated by CMake. Excluded to prevent false positives when using RAT on a dev tree. + - Template files for code generation. Todo: Why doesn't RAT exclude these files when using a full path? + cmake/config.properties.in cmake/run.sh.in cmake/RunConfig.in @@ -65,15 +67,16 @@ fmemopen.h open_memstream.c open_memstream.h -README.md + Documentation files +(.)*.md .travis.yml -example1.descriptor -example2.descriptor -example3.descriptor -example4.descriptor -org.apache.celix.calc.api.Calculator2.descriptor -msg_example1.descriptor -msg_example2.descriptor -msg_example3.descriptor +(.)*\.descriptor + +scope.*\.json + + + MIT - C Thread Pool +thpool.c +thpool.h http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/remote_services/topology_manager/tms_tst/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/remote_services/topology_manager/tms_tst/CMakeLists.txt b/remote_services/topology_manager/tms_tst/CMakeLists.txt index f985d00..19695ec 100644 --- a/remote_services/topology_manager/tms_tst/CMakeLists.txt +++ b/remote_services/topology_manager/tms_tst/CMakeLists.txt @@ -1,6 +1,19 @@ -# -# Licensed under Apache License v2. See LICENSE for more information. -# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. include_directories( http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt b/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt index 4b2f924..6e269f5 100644 --- a/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt +++ b/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt @@ -1,6 +1,20 @@ -# -# Licensed under Apache License v2. See LICENSE for more information. -# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + include_directories( ${CPPUTEST_INCLUDE_DIR} http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/remote_services/topology_manager/tms_tst/bundle/tst_activator.c ---------------------------------------------------------------------- diff --git a/remote_services/topology_manager/tms_tst/bundle/tst_activator.c b/remote_services/topology_manager/tms_tst/bundle/tst_activator.c index a4958e8..dc5dcfc 100644 --- a/remote_services/topology_manager/tms_tst/bundle/tst_activator.c +++ b/remote_services/topology_manager/tms_tst/bundle/tst_activator.c @@ -1,5 +1,20 @@ /* - * Licensed under Apache License v2. See LICENSE for more information. + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #include <stdlib.h> #include <string.h> http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/remote_services/topology_manager/tms_tst/bundle/tst_service.h ---------------------------------------------------------------------- diff --git a/remote_services/topology_manager/tms_tst/bundle/tst_service.h b/remote_services/topology_manager/tms_tst/bundle/tst_service.h index 342d072..0f43cff 100644 --- a/remote_services/topology_manager/tms_tst/bundle/tst_service.h +++ b/remote_services/topology_manager/tms_tst/bundle/tst_service.h @@ -1,5 +1,20 @@ /* - * Licensed under Apache License v2. See LICENSE for more information. + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #ifndef CELIX_TST_SERVICE_H http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt b/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt index 5edca45..a19efc7 100644 --- a/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt +++ b/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt @@ -1,6 +1,19 @@ -# -# Licensed under Apache License v2. See LICENSE for more information. -# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. include_directories( ${CPPUTEST_INCLUDE_DIR} http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_activator.c ---------------------------------------------------------------------- diff --git a/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_activator.c b/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_activator.c index 9e50544..15f128f 100644 --- a/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_activator.c +++ b/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_activator.c @@ -1,5 +1,20 @@ /* - * Licensed under Apache License v2. See LICENSE for more information. + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #include <stdlib.h> #include <string.h> http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.c ---------------------------------------------------------------------- diff --git a/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.c b/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.c index 07c35b7..0bb89bb 100644 --- a/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.c +++ b/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.c @@ -1,5 +1,20 @@ /* - * Licensed under Apache License v2. + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #include <stdlib.h> #include <string.h> http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.h ---------------------------------------------------------------------- diff --git a/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.h b/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.h index 9f752b9..9f0fd3c 100644 --- a/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.h +++ b/remote_services/topology_manager/tms_tst/disc_mock/disc_mock_service.h @@ -1,5 +1,20 @@ /* - * Licensed under Apache License v2. See LICENSE for more information. + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #ifndef DISC_MOCK_SERVICE_H http://git-wip-us.apache.org/repos/asf/celix/blob/a86dff77/remote_services/topology_manager/tms_tst/run_tests.cpp ---------------------------------------------------------------------- diff --git a/remote_services/topology_manager/tms_tst/run_tests.cpp b/remote_services/topology_manager/tms_tst/run_tests.cpp index c5e960c..1ad1d9e 100644 --- a/remote_services/topology_manager/tms_tst/run_tests.cpp +++ b/remote_services/topology_manager/tms_tst/run_tests.cpp @@ -1,9 +1,24 @@ /* - * Licensed under Apache License v2. See LICENSE for more information. + *Licensed to the Apache Software Foundation (ASF) under one + *or more contributor license agreements. See the NOTICE file + *distributed with this work for additional information + *regarding copyright ownership. The ASF licenses this file + *to you under the Apache License, Version 2.0 (the + *"License"); you may not use this file except in compliance + *with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, + *software distributed under the License is distributed on an + *"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + *specific language governing permissions and limitations + *under the License. */ #include <CppUTest/TestHarness.h> #include "CppUTest/CommandLineTestRunner.h" int main(int argc, char** argv) { return RUN_ALL_TESTS(argc, argv); -} \ No newline at end of file +}
