Skip to content

Commit 8b11adf

Browse files
authored
Switch to MIT License (#667)
1 parent 5becafd commit 8b11adf

File tree

325 files changed

+1137
-756
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+1137
-756
lines changed

.appveyor.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2020 National Instruments
2+
# SPDX-License-Identifier: MIT
3+
14
branches:
25
except:
36
- gh-pages

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2020 National Instruments
2+
# SPDX-License-Identifier: MIT
3+
14
node_modules
25
dist/*
36
make-it/objs/*

.eslintrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2020 National Instruments
2+
// SPDX-License-Identifier: MIT
3+
14
module.exports = {
25
'extends': 'eslint:recommended',
36
'env': {

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2020 National Instruments
2+
# SPDX-License-Identifier: MIT
3+
14
# Compiled Object files
25
*.slo
36
*.lo
@@ -117,3 +120,4 @@ emscripten-sdk/
117120
emsdk/
118121
nohup.out
119122
emsdk-tools/
123+
*.nupkg

.npmignore

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2020 National Instruments
2+
# SPDX-License-Identifier: MIT
3+
14
# Ignore all files in all subdirectories
25
**/*
36

@@ -15,3 +18,5 @@
1518

1619
!/source/io/*.js
1720
/source/io/library_*.js
21+
22+
!/THIRDPARTY.txt

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2020 National Instruments
2+
# SPDX-License-Identifier: MIT
3+
14
dist: xenial
25
language: python
36
python:

AUTHORS

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2020 National Instruments
2+
# SPDX-License-Identifier: MIT
3+
14
# Below is a list of people that have contributed
25
# to the Vireo project. Names should be added to the list like so:
36
#

CODEOWNERS

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2020 National Instruments
2+
# SPDX-License-Identifier: MIT
3+
14
# Each line is a file pattern followed by one or more owners.
25
# More info: https://github.com/blog/2392-introducing-code-owners
36

CONTRIBUTING.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Copyright (c) 2020 National Instruments
3+
SPDX-License-Identifier: MIT
4+
-->
5+
16
# Contributing to Vireo
27

38
This guide will walk through the different workflows recommended for developing Vireo.

Documents/Coding Guidelines.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Copyright (c) 2020 National Instruments
3+
SPDX-License-Identifier: MIT
4+
-->
5+
16
# Coding Guidelines
27

38
The Vireo reference implementation is in C++. These are some of the coding guidelines

Documents/Coverage.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Copyright (c) 2020 National Instruments
3+
SPDX-License-Identifier: MIT
4+
-->
5+
16
# Viewing the Test Coverage for Vireo
27

38
## Running the Coverage

Documents/DocumentsRoot/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Copyright (c) 2020 National Instruments
3+
SPDX-License-Identifier: MIT
4+
-->
5+
16
# Vireo documentation
27

38
Find the published documentation at https://ni.github.io/VireoSDK/

LICENSE.txt

+21-58
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,27 @@
1+
Copyright (c) 2020 National Instruments
12

2-
VireoSDK
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
39

4-
Copyright (c) 2015 National Instruments Corporation
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
512

6-
1. “Software” means the above-identified software that National Instruments
7-
Corporation or any of its subsidiaries provides with this Software License,
8-
whether in source code or object code form. The term “Software” does not include
9-
any third party software that is subject to separate license terms either
10-
presented at the time of installation or otherwise provided with the Software.
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.
1120

12-
2. “Source Code” for the Software means the human-readable form of the
13-
Software that is the preferred form for modifying the Software.
21+
Note:
22+
Individual files contain the following tag instead of the full license text.
1423

15-
3. If Source Code for the Software is provided to you, this license permits you
16-
to use and modify the Software, and to distribute the Software (whether or not
17-
you have modified it), in Source Code or object code form, all on the conditions
18-
that: (a) any use, modification or distribution is for a non-commercial purpose
19-
only; (b) you agree to the provisions of section 5; and (c) any distribution is
20-
under a license identical to this Software License (sections 1-6).
24+
SPDX-License-Identifier: MIT
2125

22-
4. If the Software is provided to you in object code form only, this license
23-
permits you to use the Software, and to distribute the Software in object code
24-
form, all on the conditions that: (a) any use or distribution is for a non
25-
commercial purpose only; (b) you agree to the provisions of section 5; and (c)
26-
any distribution is under a license identical to this Software License
27-
(sections1-6).
28-
29-
5. As additional conditions to the licenses in this Software License:
30-
31-
a. YOU AGREE THAT THE COPYRIGHT HOLDERS (i) PROVIDE THE SOFTWARE “AS IS”
32-
WITH ALL FAULTS (KNOWN AND UNKNOWN) AND WITHOUT ANY WARRANTY,
33-
RESPRESENTATION, OR OTHER GUARANTEE, OF ANY KIND; AND, (ii) DISCLAIM ALL
34-
WARRANTIES, REPRESENTATIONS, AND OTHER GUARANTEES RELATING TO YOUR USE,
35-
MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE, WHETHER EXPRESS, IMPLIED, OR
36-
STATUTORY, INCLUDING ANY WARRANTY OF TITLE, IMPLIED WARRANTY OF
37-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, AND
38-
ANY IMPLIED WARRANTY ARISING OUT OF COURSE OF DEALING, PERFORMANCE,
39-
OR TRADE USAGE;
40-
41-
b. YOU ASSUME ALL OF THE RISK AND LIABILITY ASSOCIATED WITH YOUR USE,
42-
MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE;
43-
44-
c. YOU AGREE THAT THE COPYRIGHT HOLDERS ARE NOT LIABLE TO YOU FOR, AND YOU
45-
AGREE NOT TO ASSERT ANY CLAIM AGAINST ANY COPYRIGHT HOLDER FOR, ANY DAMAGE,
46-
LOSS, OR OTHER PREJUDICE, OF ANY KIND, HOWEVER CAUSED, AND ON ANY THEORY OF
47-
LIABILITY INCLUDING CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE)
48-
THAT ARISE IN ANY WAY OUT OF THE USE, MODIFICATION, OR DISTRIBUTION OF
49-
THE SOFTWARE, EVEN IF THE COPYRIGHT HOLDER WAS ADVISED OF THE POSSIBILITY OF
50-
ANY SUCH DAMAGE, LOSS, OR OTHER PREJUDICE, INCLUDING ANY DAMAGE, LOSS, OR
51-
OTHER PREJUDICE, THAT (i) IS LOST PROFITS (WHETHER YOURS OR A THIRD PARTY’S);
52-
(ii) ARISES OUT OF OR RELATES TO ANY LOSS OF (WHETHER TEMPORARY OR PERMANENT)
53-
TANGIBLE PROPERTY (WHETHER REAL OR PERSONAL) OR INTANGIBLE PROPERTY
54-
(INCLUDING SOFTWARE AND DATA); OR, (iii) IS DIRECT, SPECIAL, INDIRECT,
55-
INCIDENTAL, CONSEQUENTIAL, COLLATERAL, EXEMPLARY, PUNITIVE, DAMAGES, OR ANY
56-
OTHER DAMAGES; and,
57-
58-
d. You agree that these six sections, 1-6, express the entire agreement between
59-
you and the copyright holders regarding your use, modification, and distribution
60-
of the Software.
61-
62-
6. The copyright holders reserve all of their rights. Except for the nonexclusive
63-
licenses expressly granted in section 3 or 4, as applicable, no rights or licenses
64-
are granted expressly, by implication, or otherwise.
26+
This enables machine processing of license information based on the SPDX
27+
License Identifiers that are here available: http://spdx.org/licenses/

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2020 National Instruments
2+
# SPDX-License-Identifier: MIT
3+
14
# Makefile for TravisCI
25

36
.PHONY: native js testjs testnative

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Copyright (c) 2020 National Instruments
3+
SPDX-License-Identifier: MIT
4+
-->
5+
16
# Vireo
27

38
[![NPM Version](https://img.shields.io/npm/v/vireo.svg)](https://www.npmjs.com/package/vireo)
@@ -344,6 +349,8 @@ It will find and use the Doxyfile file in the source directory to generate docum
344349

345350
The main html file in the `gh-pages` directory is called index.html.
346351

347-
# Legal
352+
# License and copyright
353+
354+
Copyright (c) 2020 National Instruments
348355

349-
Features beyond the core set that can be accessed directly from VIA source written by hand should be considered experimental, and subject to change at any time. A complete list of disclaimers and terms is described in LICENSE.txt.
356+
Licensed under the [MIT License](LICENSE.txt).

THIRDPARTY.txt

+167
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
Third Party Licenses
2+
3+
**********************************************************************
4+
UTF8-CPP: https://github.com/ni/VireoSDK/tree/master/ThirdParty/utfcpp
5+
**********************************************************************
6+
7+
// Copyright 2006 Nemanja Trifunovic
8+
9+
/*
10+
Permission is hereby granted, free of charge, to any person or organization
11+
obtaining a copy of the software and accompanying documentation covered by
12+
this license (the "Software") to use, reproduce, display, distribute,
13+
execute, and transmit the Software, and to prepare derivative works of the
14+
Software, and to permit third-parties to whom the Software is furnished to
15+
do so, all subject to the following:
16+
The copyright notices in the Software and this entire statement, including
17+
the above license grant, this restriction and the following disclaimer,
18+
must be included in all copies of the Software, in whole or in part, and
19+
all derivative works of the Software, unless such copies or derivative
20+
works are solely in the form of machine-executable object code generated by
21+
a source language processor.
22+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
25+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
26+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
27+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28+
DEALINGS IN THE SOFTWARE.
29+
*/
30+
31+
*******************************************************************
32+
cpplint: https://github.com/ni/VireoSDK/tree/master/make-it/cpplint
33+
*******************************************************************
34+
35+
Copyright (c) 2009 Google Inc. All rights reserved.
36+
37+
Redistribution and use in source and binary forms, with or without
38+
modification, are permitted provided that the following conditions are
39+
met:
40+
41+
* Redistributions of source code must retain the above copyright
42+
notice, this list of conditions and the following disclaimer.
43+
* Redistributions in binary form must reproduce the above
44+
copyright notice, this list of conditions and the following disclaimer
45+
in the documentation and/or other materials provided with the
46+
distribution.
47+
* Neither the name of Google Inc. nor the names of its
48+
contributors may be used to endorse or promote products derived from
49+
this software without specific prior written permission.
50+
51+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
52+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
53+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
54+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
55+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
56+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
57+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
58+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
59+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
60+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
61+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62+
63+
*****************************************************************************
64+
Emscripten: https://github.com/emscripten-core/emscripten/blob/1.39.5/LICENSE
65+
*****************************************************************************
66+
67+
Emscripten is available under 2 licenses, the MIT license and the
68+
University of Illinois/NCSA Open Source License.
69+
70+
Both are permissive open source licenses, with little if any
71+
practical difference between them.
72+
73+
The reason for offering both is that (1) the MIT license is
74+
well-known, while (2) the University of Illinois/NCSA Open Source
75+
License allows Emscripten's code to be integrated upstream into
76+
LLVM, which uses that license, should the opportunity arise.
77+
78+
The full text of both licenses follows.
79+
80+
==============================================================================
81+
82+
Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
83+
84+
Permission is hereby granted, free of charge, to any person obtaining a copy
85+
of this software and associated documentation files (the "Software"), to deal
86+
in the Software without restriction, including without limitation the rights
87+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
88+
copies of the Software, and to permit persons to whom the Software is
89+
furnished to do so, subject to the following conditions:
90+
91+
The above copyright notice and this permission notice shall be included in
92+
all copies or substantial portions of the Software.
93+
94+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
95+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
96+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
97+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
98+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
99+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
100+
THE SOFTWARE.
101+
102+
==============================================================================
103+
104+
Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
105+
All rights reserved.
106+
107+
Permission is hereby granted, free of charge, to any person obtaining a
108+
copy of this software and associated documentation files (the
109+
"Software"), to deal with the Software without restriction, including
110+
without limitation the rights to use, copy, modify, merge, publish,
111+
distribute, sublicense, and/or sell copies of the Software, and to
112+
permit persons to whom the Software is furnished to do so, subject to
113+
the following conditions:
114+
115+
Redistributions of source code must retain the above copyright
116+
notice, this list of conditions and the following disclaimers.
117+
118+
Redistributions in binary form must reproduce the above
119+
copyright notice, this list of conditions and the following disclaimers
120+
in the documentation and/or other materials provided with the
121+
distribution.
122+
123+
Neither the names of Mozilla,
124+
nor the names of its contributors may be used to endorse
125+
or promote products derived from this Software without specific prior
126+
written permission.
127+
128+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
129+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
130+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
131+
IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
132+
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
133+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
134+
SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
135+
136+
==============================================================================
137+
138+
This program uses portions of Node.js source code located in src/library_path.js,
139+
in accordance with the terms of the MIT license. Node's license follows:
140+
141+
"""
142+
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
143+
Permission is hereby granted, free of charge, to any person obtaining a copy
144+
of this software and associated documentation files (the "Software"), to
145+
deal in the Software without restriction, including without limitation the
146+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
147+
sell copies of the Software, and to permit persons to whom the Software is
148+
furnished to do so, subject to the following conditions:
149+
150+
The above copyright notice and this permission notice shall be included in
151+
all copies or substantial portions of the Software.
152+
153+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
154+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
155+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
156+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
157+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
158+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
159+
IN THE SOFTWARE.
160+
"""
161+
162+
The musl libc project is bundled in this repo, and it has the MIT license, see
163+
system/lib/libc/musl/COPYRIGHT
164+
165+
The third_party/ subdirectory contains code with other licenses. None of it is
166+
used by default, but certain options use it (e.g., the optional closure compiler
167+
flag will run closure compiler from third_party/).

ThirdParty/Readme.utf8cpp.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Copyright (c) 2020 National Instruments
3+
SPDX-License-Identifier: MIT
4+
-->
5+
16
Version of utf8cpp that is used:
27
https://github.com/nemtrif/utfcpp/releases/tag/v2.3.5
38

0 commit comments

Comments
 (0)