Skip to content

Commit

Permalink
Compact copyright notice in sources
Browse files Browse the repository at this point in the history
  • Loading branch information
iboB committed Sep 24, 2022
1 parent 45e9626 commit fb2df99
Show file tree
Hide file tree
Showing 28 changed files with 60 additions and 144 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Borislav Stanimirov
# SPDX-License-Identifier: MIT
#
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)

project(fishnets)
Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/API.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once

Expand Down
3 changes: 3 additions & 0 deletions code/fishnets/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Borislav Stanimirov
# SPDX-License-Identifier: MIT
#
icm_add_lib(fishnets FISHNETS
FishnetsImpl.cpp
)
Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/FishnetsImpl.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include "WebSocketClient.hpp"
#include "WebSocketClientSSLSettings.hpp"
Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/WebSocketClient.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once
#include "API.h"
Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/WebSocketClientSSLSettings.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once

Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/WebSocketEndpointInfo.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once

Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/WebSocketServer.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once
#include "API.h"
Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/WebSocketServerSSLSettings.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once

Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/WebSocketSession.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once
#include "API.h"
Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/WebSocketSessionFactory.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once

Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/WebSocketSessionOptions.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once

Expand Down
8 changes: 2 additions & 6 deletions code/fishnets/WebSocketSessionPtr.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once

Expand Down
8 changes: 2 additions & 6 deletions example/e-EchoServer.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include <fishnets/WebSocketServer.hpp>
#include <fishnets/WebSocketSession.hpp>
Expand Down
8 changes: 2 additions & 6 deletions example/e-OneshotClient.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include <fishnets/WebSocketClient.hpp>
#include <fishnets/WebSocketClientSSLSettings.hpp>
Expand Down
8 changes: 2 additions & 6 deletions example/e-TerminalClient.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include <fishnets/WebSocketClient.hpp>
#include <fishnets/WebSocketSession.hpp>
Expand Down
3 changes: 3 additions & 0 deletions example/echo-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<head>
<script language="javascript" type="text/javascript">
"use strict";
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
var output;
var ws;

Expand Down
8 changes: 2 additions & 6 deletions scratch/scratch-raw.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#define BOOST_BEAST_USE_STD_STRING_VIEW 1
#define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT 1
Expand Down
8 changes: 2 additions & 6 deletions scratch/scratch.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include <fishnets/WebSocketClient.hpp>
#include <fishnets/WebSocketServer.hpp>
Expand Down
3 changes: 3 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Borislav Stanimirov
# SPDX-License-Identifier: MIT
#
include(icm_testing)

CPMAddPackage(gh:iboB/[email protected])
Expand Down
8 changes: 2 additions & 6 deletions test/TestNullSSLSettings.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include "TestSSLSettings.hpp"

Expand Down
8 changes: 2 additions & 6 deletions test/TestSSLSettings.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include "TestSSLSettings.hpp"

Expand Down
8 changes: 2 additions & 6 deletions test/TestSSLSettings.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#pragma once

Expand Down
8 changes: 2 additions & 6 deletions test/t-PostAfterClose.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include <doctest/doctest.h>
#include "TestSSLSettings.hpp"
Expand Down
8 changes: 2 additions & 6 deletions test/t-ReconnectingClient.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include <doctest/doctest.h>
#include "TestSSLSettings.hpp"
Expand Down
8 changes: 2 additions & 6 deletions test/t-ServerMainThread.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include <doctest/doctest.h>
#include "TestSSLSettings.hpp"
Expand Down
8 changes: 2 additions & 6 deletions test/t-SimpleClientServer.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include <doctest/doctest.h>
#include "TestSSLSettings.hpp"
Expand Down
8 changes: 2 additions & 6 deletions test/t-WSSessionHeartbeat.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// fishnets
// Copyright (c) 2021-2022 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
// Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include <doctest/doctest.h>
#include "TestSSLSettings.hpp"
Expand Down

0 comments on commit fb2df99

Please sign in to comment.