From 843fd9bdbde55c382b66a13017a6461e9592d83d Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 1 Jun 2014 22:50:14 +0200 Subject: [PATCH] Add license header --- beacon/beacon.go | 4 ++++ beacon/debug.go | 4 ++++ beacon/doc.go | 4 ++++ buffers/buffers.go | 4 ++++ cid/cid.go | 4 ++++ cid/cid_test.go | 4 ++++ cmd/assets/assets.go | 4 ++++ cmd/stcli/main.go | 4 ++++ cmd/stcli/tls.go | 4 ++++ cmd/stpidx/main.go | 4 ++++ cmd/syncthing/debug.go | 4 ++++ cmd/syncthing/gui.go | 4 ++++ cmd/syncthing/gui_solaris.go | 4 ++++ cmd/syncthing/gui_unix.go | 4 ++++ cmd/syncthing/limitedwriter.go | 4 ++++ cmd/syncthing/locktrace.go | 4 ++++ cmd/syncthing/main.go | 4 ++++ cmd/syncthing/openurl_unix.go | 4 ++++ cmd/syncthing/openurl_windows.go | 4 ++++ cmd/syncthing/tls.go | 4 ++++ cmd/syncthing/upgrade.go | 4 ++++ cmd/syncthing/upgrade_test.go | 4 ++++ cmd/syncthing/usage.go | 4 ++++ config/config.go | 4 ++++ config/config_test.go | 4 ++++ discover/cmd/discosrv/main.go | 4 ++++ discover/debug.go | 4 ++++ discover/discover.go | 4 ++++ discover/doc.go | 4 ++++ discover/packets.go | 4 ++++ discover/packets_xdr.go | 4 ++++ files/debug.go | 4 ++++ files/set.go | 4 ++++ files/set_anal.go | 4 ++++ files/set_fast.go | 4 ++++ files/set_test.go | 4 ++++ gui/app.js | 4 ++++ gui/index.html | 5 +++++ integration/folders.sh | 4 ++++ integration/genfiles.go | 4 ++++ integration/json.go | 4 ++++ integration/md5r.go | 4 ++++ integration/test.sh | 4 ++++ lamport/clock.go | 4 ++++ logger/logger.go | 4 ++++ model/blockqueue.go | 4 ++++ model/debug.go | 4 ++++ model/doc.go | 4 ++++ model/model.go | 4 ++++ model/model_test.go | 4 ++++ model/puller.go | 4 ++++ model/suppressor.go | 4 ++++ model/suppressor_test.go | 4 ++++ model/tempname.go | 4 ++++ model/tempname_windows.go | 4 ++++ model/util.go | 4 ++++ model/util_test.go | 4 ++++ osutil/hidden_unix.go | 4 ++++ osutil/hidden_windows.go | 4 ++++ osutil/osutil.go | 4 ++++ protocol/common_test.go | 4 ++++ protocol/counting.go | 4 ++++ protocol/debug.go | 4 ++++ protocol/doc.go | 4 ++++ protocol/header.go | 4 ++++ protocol/message_types.go | 4 ++++ protocol/message_xdr.go | 4 ++++ protocol/nativemodel_darwin.go | 4 ++++ protocol/nativemodel_unix.go | 4 ++++ protocol/nativemodel_windows.go | 4 ++++ protocol/protocol.go | 4 ++++ protocol/protocol_test.go | 4 ++++ protocol/wireformat.go | 4 ++++ scanner/blocks.go | 4 ++++ scanner/blocks_test.go | 4 ++++ scanner/debug.go | 4 ++++ scanner/doc.go | 4 ++++ scanner/file.go | 4 ++++ scanner/walk.go | 4 ++++ scanner/walk_test.go | 4 ++++ upnp/debug.go | 4 ++++ upnp/upnp.go | 9 ++++++--- versioner/debug.go | 4 ++++ versioner/simple.go | 4 ++++ versioner/versioner.go | 4 ++++ xdr/cmd/coder/main.go | 4 ++++ xdr/debug.go | 4 ++++ xdr/doc.go | 4 ++++ xdr/reader.go | 4 ++++ xdr/writer.go | 4 ++++ xdr/xdr_test.go | 4 ++++ 91 files changed, 367 insertions(+), 3 deletions(-) diff --git a/beacon/beacon.go b/beacon/beacon.go index e2ae90352..5f7aa7f4d 100644 --- a/beacon/beacon.go +++ b/beacon/beacon.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package beacon import "net" diff --git a/beacon/debug.go b/beacon/debug.go index 07c7c4be6..a27562e44 100644 --- a/beacon/debug.go +++ b/beacon/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package beacon import ( diff --git a/beacon/doc.go b/beacon/doc.go index d7e6b1abc..ce3ce11af 100644 --- a/beacon/doc.go +++ b/beacon/doc.go @@ -1,2 +1,6 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package beacon implements an UDP broadcast beacon package beacon diff --git a/buffers/buffers.go b/buffers/buffers.go index d67160ac3..51bedcdab 100644 --- a/buffers/buffers.go +++ b/buffers/buffers.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package buffers manages a set of reusable byte buffers. package buffers diff --git a/cid/cid.go b/cid/cid.go index 8295a81ed..a47a1240a 100644 --- a/cid/cid.go +++ b/cid/cid.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package cid provides a manager for mappings between node ID:s and connection ID:s. package cid diff --git a/cid/cid_test.go b/cid/cid_test.go index 37f64716d..81a26dccd 100644 --- a/cid/cid_test.go +++ b/cid/cid_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package cid import "testing" diff --git a/cmd/assets/assets.go b/cmd/assets/assets.go index f66db81b9..351848539 100644 --- a/cmd/assets/assets.go +++ b/cmd/assets/assets.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/stcli/main.go b/cmd/stcli/main.go index f9cbecdc6..161efae84 100644 --- a/cmd/stcli/main.go +++ b/cmd/stcli/main.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/stcli/tls.go b/cmd/stcli/tls.go index df71d1fc5..1d89f8589 100644 --- a/cmd/stcli/tls.go +++ b/cmd/stcli/tls.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/stpidx/main.go b/cmd/stpidx/main.go index 132a894a7..fd75ecfac 100644 --- a/cmd/stpidx/main.go +++ b/cmd/stpidx/main.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/syncthing/debug.go b/cmd/syncthing/debug.go index e1762576f..9b6dcf2ef 100644 --- a/cmd/syncthing/debug.go +++ b/cmd/syncthing/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index 0fa894449..e6d8b21fa 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/syncthing/gui_solaris.go b/cmd/syncthing/gui_solaris.go index e7850b200..a2c568594 100644 --- a/cmd/syncthing/gui_solaris.go +++ b/cmd/syncthing/gui_solaris.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + //+build solaris package main diff --git a/cmd/syncthing/gui_unix.go b/cmd/syncthing/gui_unix.go index 9d463e498..3fc787664 100644 --- a/cmd/syncthing/gui_unix.go +++ b/cmd/syncthing/gui_unix.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + //+build !windows,!solaris package main diff --git a/cmd/syncthing/limitedwriter.go b/cmd/syncthing/limitedwriter.go index 1734609eb..895936abb 100644 --- a/cmd/syncthing/limitedwriter.go +++ b/cmd/syncthing/limitedwriter.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/syncthing/locktrace.go b/cmd/syncthing/locktrace.go index 4b662a208..a912eea40 100644 --- a/cmd/syncthing/locktrace.go +++ b/cmd/syncthing/locktrace.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + //+build locktrace package main diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 6546d8431..b2c601810 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/syncthing/openurl_unix.go b/cmd/syncthing/openurl_unix.go index da60f51ef..69b5af187 100644 --- a/cmd/syncthing/openurl_unix.go +++ b/cmd/syncthing/openurl_unix.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build !windows package main diff --git a/cmd/syncthing/openurl_windows.go b/cmd/syncthing/openurl_windows.go index 94285f699..9d2c91254 100644 --- a/cmd/syncthing/openurl_windows.go +++ b/cmd/syncthing/openurl_windows.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build windows package main diff --git a/cmd/syncthing/tls.go b/cmd/syncthing/tls.go index 148033d54..51231cf13 100644 --- a/cmd/syncthing/tls.go +++ b/cmd/syncthing/tls.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/syncthing/upgrade.go b/cmd/syncthing/upgrade.go index 545080dbf..2ac2843b5 100644 --- a/cmd/syncthing/upgrade.go +++ b/cmd/syncthing/upgrade.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/cmd/syncthing/upgrade_test.go b/cmd/syncthing/upgrade_test.go index 43e3728ae..d52d5a2ac 100644 --- a/cmd/syncthing/upgrade_test.go +++ b/cmd/syncthing/upgrade_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import "testing" diff --git a/cmd/syncthing/usage.go b/cmd/syncthing/usage.go index 3f0b9562b..52ad4e94b 100644 --- a/cmd/syncthing/usage.go +++ b/cmd/syncthing/usage.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/config/config.go b/config/config.go index d0c28e7d1..d4f64f5c1 100644 --- a/config/config.go +++ b/config/config.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package config implements reading and writing of the syncthing configuration file. package config diff --git a/config/config_test.go b/config/config_test.go index 3367836cd..dd876d525 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package config import ( diff --git a/discover/cmd/discosrv/main.go b/discover/cmd/discosrv/main.go index 490ed28ee..12d49a54a 100644 --- a/discover/cmd/discosrv/main.go +++ b/discover/cmd/discosrv/main.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/discover/debug.go b/discover/debug.go index d699579de..022dce88c 100644 --- a/discover/debug.go +++ b/discover/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package discover import ( diff --git a/discover/discover.go b/discover/discover.go index f702b0425..decebe839 100644 --- a/discover/discover.go +++ b/discover/discover.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package discover import ( diff --git a/discover/doc.go b/discover/doc.go index f4ba42f4c..af09eaac3 100644 --- a/discover/doc.go +++ b/discover/doc.go @@ -1,2 +1,6 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package discover implements the node discovery protocol. package discover diff --git a/discover/packets.go b/discover/packets.go index 61c6e463c..cec218484 100644 --- a/discover/packets.go +++ b/discover/packets.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package discover const ( diff --git a/discover/packets_xdr.go b/discover/packets_xdr.go index 1b07fba0e..fd87a78e9 100644 --- a/discover/packets_xdr.go +++ b/discover/packets_xdr.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package discover import ( diff --git a/files/debug.go b/files/debug.go index 633121d5d..e5125a10c 100644 --- a/files/debug.go +++ b/files/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package files import ( diff --git a/files/set.go b/files/set.go index 646e9ae44..39f3ed96b 100644 --- a/files/set.go +++ b/files/set.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package files provides a set type to track local/remote files with newness checks. package files diff --git a/files/set_anal.go b/files/set_anal.go index 76cb43f93..3b4926deb 100644 --- a/files/set_anal.go +++ b/files/set_anal.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + //+build anal package files diff --git a/files/set_fast.go b/files/set_fast.go index d509d7e28..80615b16c 100644 --- a/files/set_fast.go +++ b/files/set_fast.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + //+build !anal package files diff --git a/files/set_test.go b/files/set_test.go index 6a44981f1..13d92ca77 100644 --- a/files/set_test.go +++ b/files/set_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package files import ( diff --git a/gui/app.js b/gui/app.js index 369ef59ad..69d8fdf4c 100644 --- a/gui/app.js +++ b/gui/app.js @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + /*jslint browser: true, continue: true, plusplus: true */ /*global $: false, angular: false */ diff --git a/gui/index.html b/gui/index.html index db302aebb..95edc4c82 100644 --- a/gui/index.html +++ b/gui/index.html @@ -1,4 +1,9 @@ + diff --git a/integration/folders.sh b/integration/folders.sh index 2608a1339..8afec542b 100755 --- a/integration/folders.sh +++ b/integration/folders.sh @@ -1,5 +1,9 @@ #!/bin/bash +# Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +# Use of this source code is governed by an MIT-style license that can be +# found in the LICENSE file. + iterations=${1:-5} id1=I6KAH7666SLLL5PFXSOAUFJCDZYAOMLEKCP2GB3BV5RQST3PSROA diff --git a/integration/genfiles.go b/integration/genfiles.go index c390377e0..d01e82ad3 100644 --- a/integration/genfiles.go +++ b/integration/genfiles.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build ignore package main diff --git a/integration/json.go b/integration/json.go index d187ce0ee..8f65a625a 100644 --- a/integration/json.go +++ b/integration/json.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build ignore package main diff --git a/integration/md5r.go b/integration/md5r.go index 7a8b4fe93..5460e4fb3 100644 --- a/integration/md5r.go +++ b/integration/md5r.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build ignore package main diff --git a/integration/test.sh b/integration/test.sh index d48205625..b2634eccf 100755 --- a/integration/test.sh +++ b/integration/test.sh @@ -1,5 +1,9 @@ #!/bin/bash +# Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +# Use of this source code is governed by an MIT-style license that can be +# found in the LICENSE file. + iterations=${1:-5} id1=I6KAH7666SLLL5PFXSOAUFJCDZYAOMLEKCP2GB3BV5RQST3PSROA diff --git a/lamport/clock.go b/lamport/clock.go index a67386167..695982949 100644 --- a/lamport/clock.go +++ b/lamport/clock.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package lamport implements a simple Lamport Clock for versioning package lamport diff --git a/logger/logger.go b/logger/logger.go index ddd9a4146..c3bf753b1 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package logger implements a standardized logger with callback functionality package logger diff --git a/model/blockqueue.go b/model/blockqueue.go index ef14ab3c5..8742959ff 100644 --- a/model/blockqueue.go +++ b/model/blockqueue.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package model import ( diff --git a/model/debug.go b/model/debug.go index 8ace7f4cd..d6a0dc135 100644 --- a/model/debug.go +++ b/model/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package model import ( diff --git a/model/doc.go b/model/doc.go index ac2f62930..0c9a95ed8 100644 --- a/model/doc.go +++ b/model/doc.go @@ -1,2 +1,6 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package model implements repository abstraction and file pulling mechanisms package model diff --git a/model/model.go b/model/model.go index d274c7ef7..08fb635d2 100644 --- a/model/model.go +++ b/model/model.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package model import ( diff --git a/model/model_test.go b/model/model_test.go index ee1b74c06..2d469ed53 100644 --- a/model/model_test.go +++ b/model/model_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package model import ( diff --git a/model/puller.go b/model/puller.go index fc25f4fc5..e13778f0f 100644 --- a/model/puller.go +++ b/model/puller.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package model import ( diff --git a/model/suppressor.go b/model/suppressor.go index aa31d52c6..e06cc953c 100644 --- a/model/suppressor.go +++ b/model/suppressor.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package model import ( diff --git a/model/suppressor_test.go b/model/suppressor_test.go index e7d3e1b76..b2b96f736 100644 --- a/model/suppressor_test.go +++ b/model/suppressor_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package model import ( diff --git a/model/tempname.go b/model/tempname.go index 45f2545db..ca9824012 100644 --- a/model/tempname.go +++ b/model/tempname.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build !windows package model diff --git a/model/tempname_windows.go b/model/tempname_windows.go index 6c7bcc5c7..033d64764 100644 --- a/model/tempname_windows.go +++ b/model/tempname_windows.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build windows package model diff --git a/model/util.go b/model/util.go index 82573bb08..9445e61e6 100644 --- a/model/util.go +++ b/model/util.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package model import ( diff --git a/model/util_test.go b/model/util_test.go index 6709f0f2b..52da20397 100644 --- a/model/util_test.go +++ b/model/util_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package model import ( diff --git a/osutil/hidden_unix.go b/osutil/hidden_unix.go index 581742b00..0be7c53ef 100644 --- a/osutil/hidden_unix.go +++ b/osutil/hidden_unix.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build !windows package osutil diff --git a/osutil/hidden_windows.go b/osutil/hidden_windows.go index 3a548cc61..c3420d6b8 100644 --- a/osutil/hidden_windows.go +++ b/osutil/hidden_windows.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build windows package osutil diff --git a/osutil/osutil.go b/osutil/osutil.go index e56a80df6..a91155a3e 100644 --- a/osutil/osutil.go +++ b/osutil/osutil.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package osutil import ( diff --git a/protocol/common_test.go b/protocol/common_test.go index 143039ea4..8868416b2 100644 --- a/protocol/common_test.go +++ b/protocol/common_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package protocol import ( diff --git a/protocol/counting.go b/protocol/counting.go index 6ed261010..617484c3d 100644 --- a/protocol/counting.go +++ b/protocol/counting.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package protocol import ( diff --git a/protocol/debug.go b/protocol/debug.go index f1ebaf400..c825ec9f5 100644 --- a/protocol/debug.go +++ b/protocol/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package protocol import ( diff --git a/protocol/doc.go b/protocol/doc.go index f9bf7fa6e..ccca4c0aa 100644 --- a/protocol/doc.go +++ b/protocol/doc.go @@ -1,2 +1,6 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package protocol implements the Block Exchange Protocol. package protocol diff --git a/protocol/header.go b/protocol/header.go index 0a454151d..faaa77fef 100644 --- a/protocol/header.go +++ b/protocol/header.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package protocol import "github.com/calmh/syncthing/xdr" diff --git a/protocol/message_types.go b/protocol/message_types.go index 7ef9a7ff3..6b0abe203 100644 --- a/protocol/message_types.go +++ b/protocol/message_types.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package protocol type IndexMessage struct { diff --git a/protocol/message_xdr.go b/protocol/message_xdr.go index ede335d9d..13fa6f2ce 100644 --- a/protocol/message_xdr.go +++ b/protocol/message_xdr.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package protocol import ( diff --git a/protocol/nativemodel_darwin.go b/protocol/nativemodel_darwin.go index c8028c772..86c5fbde4 100644 --- a/protocol/nativemodel_darwin.go +++ b/protocol/nativemodel_darwin.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build darwin package protocol diff --git a/protocol/nativemodel_unix.go b/protocol/nativemodel_unix.go index f01d7c6a5..3c387902f 100644 --- a/protocol/nativemodel_unix.go +++ b/protocol/nativemodel_unix.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build !windows,!darwin package protocol diff --git a/protocol/nativemodel_windows.go b/protocol/nativemodel_windows.go index c35831307..3e065b90d 100644 --- a/protocol/nativemodel_windows.go +++ b/protocol/nativemodel_windows.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // +build windows package protocol diff --git a/protocol/protocol.go b/protocol/protocol.go index 89f1f469d..e93f51a42 100644 --- a/protocol/protocol.go +++ b/protocol/protocol.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package protocol import ( diff --git a/protocol/protocol_test.go b/protocol/protocol_test.go index aaf8b0e66..609eb0de6 100644 --- a/protocol/protocol_test.go +++ b/protocol/protocol_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package protocol import ( diff --git a/protocol/wireformat.go b/protocol/wireformat.go index 643e5fb9a..d94cd690a 100644 --- a/protocol/wireformat.go +++ b/protocol/wireformat.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package protocol import ( diff --git a/scanner/blocks.go b/scanner/blocks.go index dc65a047d..edd562bae 100644 --- a/scanner/blocks.go +++ b/scanner/blocks.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package scanner import ( diff --git a/scanner/blocks_test.go b/scanner/blocks_test.go index d5f8fa0b2..685d52a1f 100644 --- a/scanner/blocks_test.go +++ b/scanner/blocks_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package scanner import ( diff --git a/scanner/debug.go b/scanner/debug.go index faed03291..01b170c89 100644 --- a/scanner/debug.go +++ b/scanner/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package scanner import ( diff --git a/scanner/doc.go b/scanner/doc.go index a9c1b1c34..017bdf583 100644 --- a/scanner/doc.go +++ b/scanner/doc.go @@ -1,2 +1,6 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package scanner implements a file system scanner and hasher. package scanner diff --git a/scanner/file.go b/scanner/file.go index d2c510221..513d61b31 100644 --- a/scanner/file.go +++ b/scanner/file.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package scanner import "fmt" diff --git a/scanner/walk.go b/scanner/walk.go index 47591feca..d2d3223ec 100644 --- a/scanner/walk.go +++ b/scanner/walk.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package scanner import ( diff --git a/scanner/walk_test.go b/scanner/walk_test.go index 66687eebe..12421bfb7 100644 --- a/scanner/walk_test.go +++ b/scanner/walk_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package scanner import ( diff --git a/upnp/debug.go b/upnp/debug.go index 261f41c9c..ab0fd2966 100644 --- a/upnp/debug.go +++ b/upnp/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package upnp import ( diff --git a/upnp/upnp.go b/upnp/upnp.go index 6e11bf79d..b4afebad9 100644 --- a/upnp/upnp.go +++ b/upnp/upnp.go @@ -1,9 +1,12 @@ -// Package upnp implements UPnP Internet Gateway upnpDevice port mappings -package upnp +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. // Adapted from https://github.com/jackpal/Taipei-Torrent/blob/dd88a8bfac6431c01d959ce3c745e74b8a911793/IGD.go // Copyright (c) 2010 Jack Palevich (https://github.com/jackpal/Taipei-Torrent/blob/dd88a8bfac6431c01d959ce3c745e74b8a911793/LICENSE) -// Copyright (c) 2014 Jakob Borg + +// Package upnp implements UPnP Internet Gateway upnpDevice port mappings +package upnp import ( "bufio" diff --git a/versioner/debug.go b/versioner/debug.go index 6b5fda427..70cf91be2 100644 --- a/versioner/debug.go +++ b/versioner/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package versioner import ( diff --git a/versioner/simple.go b/versioner/simple.go index c1f36eb48..5d9bea94f 100644 --- a/versioner/simple.go +++ b/versioner/simple.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package versioner import ( diff --git a/versioner/versioner.go b/versioner/versioner.go index 19cb7c71c..9aedde30c 100644 --- a/versioner/versioner.go +++ b/versioner/versioner.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package versioner type Versioner interface { diff --git a/xdr/cmd/coder/main.go b/xdr/cmd/coder/main.go index f7ec34b80..e90f1a73a 100644 --- a/xdr/cmd/coder/main.go +++ b/xdr/cmd/coder/main.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package main import ( diff --git a/xdr/debug.go b/xdr/debug.go index c11be6fa7..80238cf70 100644 --- a/xdr/debug.go +++ b/xdr/debug.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package xdr import ( diff --git a/xdr/doc.go b/xdr/doc.go index caa570b28..aa29ba70f 100644 --- a/xdr/doc.go +++ b/xdr/doc.go @@ -1,2 +1,6 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + // Package xdr implements an XDR (RFC 4506) encoder/decoder. package xdr diff --git a/xdr/reader.go b/xdr/reader.go index e10ec24b1..de2fee7b2 100644 --- a/xdr/reader.go +++ b/xdr/reader.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package xdr import ( diff --git a/xdr/writer.go b/xdr/writer.go index a076410be..d56624974 100644 --- a/xdr/writer.go +++ b/xdr/writer.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package xdr import ( diff --git a/xdr/xdr_test.go b/xdr/xdr_test.go index 8c3da1e1d..17dea1395 100644 --- a/xdr/xdr_test.go +++ b/xdr/xdr_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + package xdr import (