Skip to content

Commit

Permalink
Add copyright info to header files
Browse files Browse the repository at this point in the history
This is a followup to #7116 which added copyright info to our
source files.
  • Loading branch information
sbc100 committed Sep 14, 2018
1 parent d06fa33 commit 2bfef23
Show file tree
Hide file tree
Showing 18 changed files with 124 additions and 20 deletions.
1 change: 0 additions & 1 deletion site/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# University of Illinois/NCSA Open Source License. Both these licenses can be
# found in the LICENSE file.

# -*- coding: utf-8 -*-
#
# Emscripten documentation build configuration file, created by
# sphinx-quickstart on Tue Jul 01 09:20:29 2014.
Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/bind.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2012 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#pragma once

#if __cplusplus < 201103L
Expand Down
21 changes: 14 additions & 7 deletions system/include/emscripten/dom_pk_codes.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
/* This file was automatically generated from script
tools/create_dom_pk_codes.py. Edit that file to make changes here.
Run
python tools/create_dom_pk_codes.py
in Emscripten root directory to regenerate this file. */
/*
* Copyright 2018 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*
* This file was automatically generated from script
* tools/create_dom_pk_codes.py. Edit that file to make changes here.
* Run
*
* tools/create_dom_pk_codes.py
*
* in Emscripten root directory to regenerate this file.
*/

#pragma once

Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/em_asm.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2017 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#ifndef __em_asm_h__
#define __em_asm_h__

Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/em_js.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2018 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#ifndef __em_js_h__
#define __em_js_h__

Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/emscripten.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2012 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#ifndef __emscripten_h__
#define __emscripten_h__

Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/fetch.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2016 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#ifndef __emscripten_fetch_h__
#define __emscripten_fetch_h__

Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/html5.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2014 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#ifndef __emscripten_events_h__
#define __emscripten_events_h__

Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/key_codes.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2017 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#pragma once

// The following are definitions of "virtual" key codes from
Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/threading.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2015 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#ifndef __emscripten_threading_h__
#define __emscripten_threading_h__

Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/trace.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2014 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#ifndef __emscripten_trace__h__
#define __emscripten_trace__h__

Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/val.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2012 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#pragma once

#if __cplusplus < 201103L
Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/vector.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2013 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#ifndef __emscripten_vector_h__
#define __emscripten_vector_h__

Expand Down
7 changes: 6 additions & 1 deletion system/include/emscripten/vr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* -*- Mode: c++; indent-tabs-mode: nil; tab-width: 40; c-basic-offset: 4 -*- */
/*
* Copyright 2015 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#ifndef __emscripten_vr_h__
#define __emscripten_vr_h__
Expand Down
7 changes: 7 additions & 0 deletions system/include/emscripten/wire.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2012 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/

#pragma once

#if __cplusplus < 201103L
Expand Down
1 change: 0 additions & 1 deletion tests/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
http://kripken.github.io/emscripten-site/docs/getting_started/test-suite.html
"""

# This Python file uses the following encoding: utf-8
# XXX Use EMTEST_ALL_ENGINES=1 in the env to test all engines!

from __future__ import print_function
Expand Down
26 changes: 18 additions & 8 deletions tools/create_dom_pk_codes.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env python
# coding=utf-8
# Copyright 2017 The Emscripten Authors. All rights reserved.
# Emscripten is available under two separate licenses, the MIT license and the
# University of Illinois/NCSA Open Source License. Both these licenses can be
# found in the LICENSE file.

# The DOM KeyboardEvent field 'code' contains a locale/language independent
# The DOM KeyboardEvent field 'code' contains a locale/language independent
# identifier of a pressed key on the keyboard, i.e. a "physical" keyboard code, which
# is often useful for games that want to provide a physical keyboard layout that does
# not get confused by the language setting the user has.
Expand Down Expand Up @@ -265,13 +267,21 @@ def longest_key_code_length():

# Generate the output file:

h_file.write('''/* This file was automatically generated from script
tools/create_dom_pk_codes.py. Edit that file to make changes here.
Run
python tools/create_dom_pk_codes.py
in Emscripten root directory to regenerate this file. */
h_file.write('''\
/*
* Copyright 2018 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*
* This file was automatically generated from script
* tools/create_dom_pk_codes.py. Edit that file to make changes here.
* Run
*
* tools/create_dom_pk_codes.py
*
* in Emscripten root directory to regenerate this file.
*/
#pragma once
Expand Down
4 changes: 2 additions & 2 deletions tools/gen_struct_info.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env python
# coding=utf-8
# Copyright 2013 The Emscripten Authors. All rights reserved.
# Emscripten is available under two separate licenses, the MIT license and the
# University of Illinois/NCSA Open Source License. Both these licenses can be
# found in the LICENSE file.

# -*- encoding: utf8 -*-

'''
This tool extracts information about structs and defines from the C headers.
You can pass either the raw header files or JSON files to this script.
Expand Down

0 comments on commit 2bfef23

Please sign in to comment.