Skip to content

Commit 3aed874

Browse files
committed
Re-license under Boost Software License (BSL)
1 parent 3948990 commit 3aed874

File tree

9 files changed

+43
-45
lines changed

9 files changed

+43
-45
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# Copyright (C) 2017-2018 Martin Moene.
1+
# Copyright 2017-2018 by Martin Moene
22
#
3-
# This code is licensed under the MIT License (MIT).
3+
# Distributed under the Boost Software License, Version 1.0.
4+
# (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
45

56
cmake_minimum_required( VERSION 3.0 )
67

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

LICENSE.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Boost Software License - Version 1.0 - August 17th, 2003
2+
3+
Permission is hereby granted, free of charge, to any person or organization
4+
obtaining a copy of the software and accompanying documentation covered by
5+
this license (the "Software") to use, reproduce, display, distribute,
6+
execute, and transmit the Software, and to prepare derivative works of the
7+
Software, and to permit third-parties to whom the Software is furnished to
8+
do so, all subject to the following:
9+
10+
The copyright notices in the Software and this entire statement, including
11+
the above license grant, this restriction and the following disclaimer,
12+
must be included in all copies of the Software, in whole or in part, and
13+
all derivative works of the Software, unless such copies or derivative
14+
works are solely in the form of machine-executable object code generated by
15+
a source language processor.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
20+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
21+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
22+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23+
DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
string_view lite - A single-file header-only version of a C++17-like string_view for C++98, C++11 and later
22
====================================================
3-
[![Standard](https://img.shields.io/badge/c%2B%2B-98/11/14/17-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Build Status](https://travis-ci.org/martinmoene/string-view-lite.svg?branch=master)](https://travis-ci.org/martinmoene/string-view-lite) [![Build status](https://ci.appveyor.com/api/projects/status/1ha3wnxtam547m8p?svg=true)](https://ci.appveyor.com/project/martinmoene/string-view-lite) [![Version](https://badge.fury.io/gh/martinmoene%2Fstring-view-lite.svg)](https://github.com/martinmoene/string-view-lite/releases) [![download](https://img.shields.io/badge/latest-download-blue.svg)](https://github.com/martinmoene/string-view-lite/blob/master/include/nonstd/string_view.hpp) [![Conan](https://img.shields.io/badge/on-conan-blue.svg)](https://bintray.com/agauniyal/nonstd-lite/) [![Try it on wandbox](https://img.shields.io/badge/on-wandbox-blue.svg)](https://wandbox.org/permlink/pGGPF1Sp3vdCpJXe) [![Try it on godbolt online](https://img.shields.io/badge/on-godbolt-blue.svg)](http://bit.ly/mm-string-view-lite-godbolt)
3+
[![Standard](https://img.shields.io/badge/c%2B%2B-98/11/14/17-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-BSL-blue.svg)](https://opensource.org/licenses/BSL-1.0) [![Build Status](https://travis-ci.org/martinmoene/string-view-lite.svg?branch=master)](https://travis-ci.org/martinmoene/string-view-lite) [![Build status](https://ci.appveyor.com/api/projects/status/1ha3wnxtam547m8p?svg=true)](https://ci.appveyor.com/project/martinmoene/string-view-lite) [![Version](https://badge.fury.io/gh/martinmoene%2Fstring-view-lite.svg)](https://github.com/martinmoene/string-view-lite/releases) [![download](https://img.shields.io/badge/latest-download-blue.svg)](https://github.com/martinmoene/string-view-lite/blob/master/include/nonstd/string_view.hpp) [![Conan](https://img.shields.io/badge/on-conan-blue.svg)](https://bintray.com/agauniyal/nonstd-lite/) [![Try it on wandbox](https://img.shields.io/badge/on-wandbox-blue.svg)](https://wandbox.org/permlink/pGGPF1Sp3vdCpJXe) [![Try it on godbolt online](https://img.shields.io/badge/on-godbolt-blue.svg)](http://bit.ly/mm-string-view-lite-godbolt)
44

55
**Contents**
66
- [Example usage](#example-usage)
@@ -55,7 +55,7 @@ In a nutshell
5555

5656
License
5757
-------
58-
*string-view lite* uses the [MIT](LICENSE) license.
58+
*string-view lite* is distributed under the [Boost Software License](LICENSE.txt).
5959

6060

6161
Dependencies

include/nonstd/string_view.hpp

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
1+
// Copyright 2017-2018 by Martin Moene
12
//
23
// string-view lite, a C++17-like string_view for C++98 and later.
34
// For more information see https://github.com/martinmoene/string-view-lite
45
//
5-
// Copyright (c) 2017-2018 Martin Moene
6-
//
7-
// This code is licensed under the MIT License (MIT).
8-
//
9-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
12-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
13-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
14-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
15-
// THE SOFTWARE.
6+
// Distributed under the Boost Software License, Version 1.0.
7+
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
168

179
#ifndef NONSTD_SV_LITE_H_INCLUDED
1810
#define NONSTD_SV_LITE_H_INCLUDED
1911

20-
#define string_view_lite_VERSION "0.2.0"
12+
#define string_view_lite_VERSION "1.0.0"
2113

2214
// string-view lite configuration:
2315

test/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#
33
# https://github.com/martinmoene/string-view-lite
44
#
5-
# This code is licensed under the MIT License (MIT).
5+
# Distributed under the Boost Software License, Version 1.0.
6+
# (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
67

78
cmake_minimum_required( VERSION 3.0 )
89

test/string-view-lite.t.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
// Copyright (c) 2017-2018 Martin Moene
1+
// Copyright 2017-2018 by Martin Moene
22
//
33
// https://github.com/martinmoene/string-view-lite
44
//
5-
// This code is licensed under the MIT License (MIT).
5+
// Distributed under the Boost Software License, Version 1.0.
6+
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
67

78
#include "string-view-lite.t.h"
89

test/string-view-lite.t.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
// Copyright (c) 2017-2018 Martin Moene
1+
// Copyright 2017-2018 by Martin Moene
22
//
33
// https://github.com/martinmoene/string-view-lite
44
//
5-
// This code is licensed under the MIT License (MIT).
5+
// Distributed under the Boost Software License, Version 1.0.
6+
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
67

78
#pragma once
89

test/string-view.t.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// Copyright (C) 2017-2018 Martin Moene.
1+
// Copyright 2017-2018 Martin Moene
22
//
33
// https://github.com/martinmoene/string-view-lite
44
//
5-
// This code is licensed under the MIT License (MIT).
6-
//
5+
// Distributed under the Boost Software License, Version 1.0.
6+
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
77

88
#include "string-view-lite.t.h"
99
#include <vector>

0 commit comments

Comments
 (0)