From 2cf7da8ba1b8fa8dbbcc160230e6047b15ab2469 Mon Sep 17 00:00:00 2001 From: wenyongh Date: Tue, 12 Nov 2019 10:24:33 +0800 Subject: [PATCH] Update license header --- LICENSE | 4 ++-- .../native/extension/connection/connection.inl | 6 +++--- .../iwasm/lib/native/extension/gui/wamr_gui.inl | 6 +++--- .../native/extension/sensor/runtime_sensor.inl | 6 +++--- core/shared-lib/platform/alios/bh_thread.c | 17 +++-------------- .../devices/templates/application.html | 12 ++++++------ .../wasm_django/devices/templates/appstore.html | 9 ++++++--- .../wasm_django/devices/templates/empty.html | 6 ++++++ .../wasm_django/devices/templates/help.html | 9 ++++++--- .../wasm_django/devices/templates/mysite.html | 9 ++++++--- 10 files changed, 44 insertions(+), 40 deletions(-) diff --git a/LICENSE b/LICENSE index 9eb1032fc..c6bd7e0c5 100644 --- a/LICENSE +++ b/LICENSE @@ -178,7 +178,7 @@ APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" + boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright [yyyy] [name of copyright owner] 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/iwasm/lib/native/extension/connection/connection.inl b/core/iwasm/lib/native/extension/connection/connection.inl index fdab67740..2956e2696 100644 --- a/core/iwasm/lib/native/extension/connection/connection.inl +++ b/core/iwasm/lib/native/extension/connection/connection.inl @@ -1,7 +1,7 @@ /* -* Copyright (C) 2019 Intel Corporation. All rights reserved. -* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -*/ + * Copyright (C) 2019 Intel Corporation. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + */ EXPORT_WASM_API(wasm_open_connection), EXPORT_WASM_API(wasm_close_connection), diff --git a/core/iwasm/lib/native/extension/gui/wamr_gui.inl b/core/iwasm/lib/native/extension/gui/wamr_gui.inl index 1b892cc89..908a19155 100644 --- a/core/iwasm/lib/native/extension/gui/wamr_gui.inl +++ b/core/iwasm/lib/native/extension/gui/wamr_gui.inl @@ -1,7 +1,7 @@ /* -* Copyright (C) 2019 Intel Corporation. All rights reserved. -* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -*/ + * Copyright (C) 2019 Intel Corporation. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + */ /* button */ EXPORT_WASM_API(wasm_btn_native_call), diff --git a/core/iwasm/lib/native/extension/sensor/runtime_sensor.inl b/core/iwasm/lib/native/extension/sensor/runtime_sensor.inl index e1884341a..1b7af765b 100644 --- a/core/iwasm/lib/native/extension/sensor/runtime_sensor.inl +++ b/core/iwasm/lib/native/extension/sensor/runtime_sensor.inl @@ -1,7 +1,7 @@ /* -* Copyright (C) 2019 Intel Corporation. All rights reserved. -* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -*/ + * Copyright (C) 2019 Intel Corporation. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + */ EXPORT_WASM_API(wasm_sensor_open), EXPORT_WASM_API(wasm_sensor_config), diff --git a/core/shared-lib/platform/alios/bh_thread.c b/core/shared-lib/platform/alios/bh_thread.c index edd51ad85..a17751914 100644 --- a/core/shared-lib/platform/alios/bh_thread.c +++ b/core/shared-lib/platform/alios/bh_thread.c @@ -1,18 +1,7 @@ /* - * INTEL CONFIDENTIAL - * - * Copyright 2017-2018 Intel Corporation - * - * This software and the related documents are Intel copyrighted materials, - * and your use of them is governed by the express license under which they - * were provided to you (License). Unless the License provides otherwise, you - * may not use, modify, copy, publish, distribute, disclose or transmit this - * software or the related documents without Intel's prior written permission. - * - * This software and the related documents are provided as is, with no express - * or implied warranties, other than those that are expressly stated in the - * License. -*/ + * Copyright (C) 2019 Intel Corporation. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + */ #include "bh_thread.h" #include "bh_assert.h" diff --git a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/application.html b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/application.html index 594c3e9ab..0b2ea7faf 100644 --- a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/application.html +++ b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/application.html @@ -1,6 +1,9 @@ - + + {% load static %} @@ -136,6 +139,3 @@ var search_node ={{search_node|safe}};/*THe queried app node*/ - - - \ No newline at end of file diff --git a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/appstore.html b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/appstore.html index 8b75b33b7..46ecedf15 100644 --- a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/appstore.html +++ b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/appstore.html @@ -1,6 +1,9 @@ - + + {% load static %} diff --git a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/empty.html b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/empty.html index 6aef0f2a7..5610a2d84 100644 --- a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/empty.html +++ b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/empty.html @@ -1,3 +1,9 @@ + + diff --git a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/help.html b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/help.html index 38733e0ea..bc834634c 100755 --- a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/help.html +++ b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/help.html @@ -1,6 +1,9 @@ - + + {% load static %} diff --git a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/mysite.html b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/mysite.html index 24e5e54cd..3832791d1 100644 --- a/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/mysite.html +++ b/test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/mysite.html @@ -1,6 +1,9 @@ - + + {% load static %}