Skip to content

Commit

Permalink
lib: adding copyright headers and licensing files
Browse files Browse the repository at this point in the history
Change-Id: Ied3445d1e77ebd0f511933e62814c9cbfa28abd0
  • Loading branch information
jsimsa committed Mar 25, 2015
1 parent c404f5a commit 2573e6e
Show file tree
Hide file tree
Showing 45 changed files with 251 additions and 0 deletions.
9 changes: 9 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This is the official list of Vanadium authors for copyright purposes.
# This file is distinct from the CONTRIBUTORS files.
# See the latter for an explanation.

# Names should be added to this file as:
# Name or Organization <email address>
# The email address is not required for organizations.

# Please keep the list sorted.
32 changes: 32 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is the official list of people who can contribute
# (and typically have contributed) code to the Vanadium repository.
# The AUTHORS file lists the copyright holders; this file
# lists people. For example, Google employees are listed here
# but not in AUTHORS, because Google holds the copyright.
#
# The submission process automatically checks to make sure
# that people submitting code are listed in this file (by email address).
#
# Names should be added to this file only after verifying that
# the individual or the individual's organization has agreed to
# the appropriate Contributor License Agreement, found here:
#
# http://code.google.com/legal/individual-cla-v1.0.html
# http://code.google.com/legal/corporate-cla-v1.0.html
#
# The agreement for individuals can be filled out on the web.
#
# When adding J Random Contributor's name to this file,
# either J's name or J's organization's name should be
# added to the AUTHORS file, depending on whether the
# individual or corporate CLA was used.

# Names should be added to this file like so:
# Name <email address>
#
# An entry with two email addresses specifies that the
# first address should be used in the submit logs and
# that the second address should be recognized as the
# same person when interacting with Rietveld.

# Please keep the list sorted.
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2015 The Vanadium Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22 changes: 22 additions & 0 deletions PATENTS
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Additional IP Rights Grant (Patents)

"This implementation" means the copyrightable works distributed by
Google as part of the Vanadium project.

Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
transfer and otherwise run, modify and propagate the contents of this
implementation of Vanadium, where such license applies only to those patent
claims, both currently owned or controlled by Google and acquired in
the future, licensable by Google that are necessarily infringed by this
implementation of Vanadium. This grant does not include claims that would be
infringed only as a consequence of further modification of this
implementation. If you or your agent or exclusive licensee institute or
order or agree to the institution of patent litigation against any
entity (including a cross-claim or counterclaim in a lawsuit) alleging
that this implementation of Vanadium or any code incorporated within this
implementation of Vanadium constitutes direct or contributory patent
infringement, or inducement of patent infringement, then any patent
rights granted to you under this License for this implementation of Vanadium
shall terminate as of the date such litigation is filed.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v23-0.1
4 changes: 4 additions & 0 deletions cmdline/cmdline.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package cmdline provides a data-driven framework to simplify writing
// command-line programs. It includes built-in support for formatted help.
//
Expand Down
4 changes: 4 additions & 0 deletions cmdline/cmdline_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package cmdline

import (
Expand Down
4 changes: 4 additions & 0 deletions cmdline/flag.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package cmdline

import (
Expand Down
4 changes: 4 additions & 0 deletions cmdline/flag_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package cmdline

import (
Expand Down
4 changes: 4 additions & 0 deletions cmdline/testdata/flag.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package main

import (
Expand Down
4 changes: 4 additions & 0 deletions cmdline/testdata/gendoc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Command gendoc can be used for generating detailed godoc comments
// for cmdline-based tools. The user specifies the cmdline-based tool
// source file directory <dir> using the first command-line argument
Expand Down
4 changes: 4 additions & 0 deletions dbutil/mysql.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Utility functions for opening and configuring a connection to a MySQL-like
// database, with optional TLS support.
//
Expand Down
4 changes: 4 additions & 0 deletions envutil/envutil.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package envutil

import (
Expand Down
4 changes: 4 additions & 0 deletions netconfig/example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package netconfig_test

import (
Expand Down
4 changes: 4 additions & 0 deletions netconfig/ipaux_bsd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build darwin dragonfly freebsd netbsd openbsd

package netconfig
Expand Down
4 changes: 4 additions & 0 deletions netconfig/ipaux_linux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build linux

package netconfig
Expand Down
4 changes: 4 additions & 0 deletions netconfig/ipaux_other.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !linux,!darwin,!dragonfly,!freebsd,!netbsd,!openbsd
// TODO(bprosnitz) Should change for nacl?

Expand Down
4 changes: 4 additions & 0 deletions netconfig/iproute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// package netconfig implements a network configuration watcher.
// NOTE(p): This is also where we should put any code that changes
// network configuration.
Expand Down
4 changes: 4 additions & 0 deletions netconfig/model.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// package netconfig implements a network configuration watcher.
// NOTE(p): This is also where we should put any code that changes
// network configuration.
Expand Down
4 changes: 4 additions & 0 deletions netstate/isgloballyroutable.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package netstate

import (
Expand Down
4 changes: 4 additions & 0 deletions netstate/isgloballyroutable_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package netstate

import (
Expand Down
4 changes: 4 additions & 0 deletions netstate/netstate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package netstate provides routines to obtain the available set of
// of network addresess, for determining changes to those addresses and for
// selecting from amongst them according to some set of policies that are
Expand Down
4 changes: 4 additions & 0 deletions netstate/netstate_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package netstate_test

import (
Expand Down
4 changes: 4 additions & 0 deletions netstate/route.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package netstate

import (
Expand Down
4 changes: 4 additions & 0 deletions textutil/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package textutil implements utilities for handling human-readable text.
//
// This package includes a combination of low-level and high-level utilities.
Expand Down
4 changes: 4 additions & 0 deletions textutil/line_writer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package textutil

import (
Expand Down
4 changes: 4 additions & 0 deletions textutil/line_writer_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package textutil

import (
Expand Down
4 changes: 4 additions & 0 deletions textutil/rune.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package textutil

import (
Expand Down
4 changes: 4 additions & 0 deletions textutil/utf8.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package textutil

import (
Expand Down
4 changes: 4 additions & 0 deletions textutil/utf8_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package textutil

import (
Expand Down
4 changes: 4 additions & 0 deletions textutil/util.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package textutil

import (
Expand Down
4 changes: 4 additions & 0 deletions textutil/writer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package textutil

import (
Expand Down
4 changes: 4 additions & 0 deletions textutil/writer_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package textutil

import (
Expand Down
4 changes: 4 additions & 0 deletions toposort/sort.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package toposort implements topological sort. For details see:
// http://en.wikipedia.org/wiki/Topological_sorting
package toposort
Expand Down
4 changes: 4 additions & 0 deletions toposort/sort_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package toposort

import (
Expand Down
4 changes: 4 additions & 0 deletions vlog/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package vlog defines and implements logging interfaces and
// command line parsing. vlog is modeled on google3 and glog;
// the differences from glog are:
Expand Down
4 changes: 4 additions & 0 deletions vlog/flags.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package vlog

import (
Expand Down
4 changes: 4 additions & 0 deletions vlog/flags_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package vlog_test

import (
Expand Down
4 changes: 4 additions & 0 deletions vlog/funcs.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package vlog

import (
Expand Down
4 changes: 4 additions & 0 deletions vlog/log.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package vlog

import (
Expand Down
4 changes: 4 additions & 0 deletions vlog/log_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package vlog_test

import (
Expand Down
4 changes: 4 additions & 0 deletions vlog/logcall.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package vlog

import (
Expand Down
4 changes: 4 additions & 0 deletions vlog/model.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package vlog

import (
Expand Down
Loading

0 comments on commit 2573e6e

Please sign in to comment.