Copyright wording

This commit is contained in:
Jakob Borg
2014-07-13 00:45:33 +02:00
parent 655acb4cb2
commit 0a633c526f
84 changed files with 260 additions and 259 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ Commons Attribution 4.0 International License. You retain the copyright
to code you have written. to code you have written.
When accepting your first contribution, the maintainer of the project When accepting your first contribution, the maintainer of the project
will ensure that you are added to the CONTRIBUTORS file. will ensure that you are added to the CONTRIBUTORS file. You are welcome
to add yourself as a separate commit in your first pull request.
## Building ## Building
+10 -10
View File
@@ -1,11 +1,11 @@
Copyright (C) 2014 Jakob Borg and other contributors (see the CONTRIBUTORS file). Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a copy
this software and associated documentation files (the "Software"), to deal in of this software and associated documentation files (the "Software"), to
the Software without restriction, including without limitation the rights to deal in the Software without restriction, including without limitation the
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
of the Software, and to permit persons to whom the Software is furnished to do sell copies of the Software, and to permit persons to whom the Software is
so, subject to the following conditions: furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in - The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software. all copies or substantial portions of the Software.
@@ -14,6 +14,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
SOFTWARE. IN THE SOFTWARE.
+2 -2
View File
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package beacon package beacon
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package beacon package beacon
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Package beacon implements an UDP broadcast beacon // Package beacon implements an UDP broadcast beacon
package beacon package beacon
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
//+build solaris //+build solaris
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
//+build !windows,!solaris //+build !windows,!solaris
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
//+build locktrace //+build locktrace
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !windows // +build !windows
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build windows // +build windows
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !solaris,!windows // +build !solaris,!windows
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Package config implements reading and writing of the syncthing configuration file. // Package config implements reading and writing of the syncthing configuration file.
package config package config
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package config package config
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package discover package discover
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package discover package discover
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Package discover implements the node discovery protocol. // Package discover implements the node discovery protocol.
package discover package discover
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package discover package discover
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package files package files
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // 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 provides a set type to track local/remote files with newness checks.
package files package files
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package files_test package files_test
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
/*jslint browser: true, continue: true, plusplus: true */ /*jslint browser: true, continue: true, plusplus: true */
/*global $: false, angular: false */ /*global $: false, angular: false */
+5 -5
View File
@@ -1,8 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<!-- <!--
Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
found in the LICENSE file. // license that can be found in the LICENSE file.
--> -->
<html lang="en" ng-app="syncthing" ng-controller="SyncthingCtrl" class="ng-cloak"> <html lang="en" ng-app="syncthing" ng-controller="SyncthingCtrl" class="ng-cloak">
<head> <head>
@@ -685,7 +685,7 @@ found in the LICENSE file.
<h1>Syncthing <small>{{version}}</small></h1> <h1>Syncthing <small>{{version}}</small></h1>
<hr/> <hr/>
<p>Copyright &copy; 2013-2014 <b>Jakob Borg</b> and the following contributors:</p> <p>Copyright &copy; 2014 <b>Jakob Borg</b> and the following <b>Contributors</b>:</p>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
<ul> <ul>
@@ -708,7 +708,7 @@ found in the LICENSE file.
</div> </div>
<hr/> <hr/>
<p>Syncthing includes the following software, copyright their respective authors. <p>Syncthing includes the following software or portions thereof:
<ul> <ul>
<li><a href="http://golang.org/">The Go Programming Languange</a>, Copyright &copy; 2012 The Go Authors.</li> <li><a href="http://golang.org/">The Go Programming Languange</a>, Copyright &copy; 2012 The Go Authors.</li>
<li><a href="https://bitbucket.org/kardianos/osext">kardianos/osext</a>, Copyright &copy; 2012 Daniel Theophanes.</li> <li><a href="https://bitbucket.org/kardianos/osext">kardianos/osext</a>, Copyright &copy; 2012 Daniel Theophanes.</li>
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore // +build ignore
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore // +build ignore
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore // +build ignore
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore // +build ignore
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Package lamport implements a simple Lamport Clock for versioning // Package lamport implements a simple Lamport Clock for versioning
package lamport package lamport
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Package logger implements a standardized logger with callback functionality // Package logger implements a standardized logger with callback functionality
package logger package logger
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package model package model
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package model package model
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Package model implements repository abstraction and file pulling mechanisms // Package model implements repository abstraction and file pulling mechanisms
package model package model
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package model package model
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package model package model
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package model package model
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package model package model
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package model package model
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !windows // +build !windows
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build windows // +build windows
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package model package model
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !windows // +build !windows
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build windows // +build windows
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package osutil package osutil
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package protocol package protocol
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package protocol package protocol
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package protocol package protocol
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Package protocol implements the Block Exchange Protocol. // Package protocol implements the Block Exchange Protocol.
package protocol package protocol
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package protocol package protocol
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package protocol package protocol
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin // +build darwin
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !windows,!darwin // +build !windows,!darwin
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build windows // +build windows
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package protocol package protocol
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package protocol package protocol
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package protocol package protocol
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package scanner package scanner
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package scanner package scanner
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package scanner package scanner
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Package scanner implements a file system scanner and hasher. // Package scanner implements a file system scanner and hasher.
package scanner package scanner
+4 -4
View File
@@ -1,12 +1,11 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package scanner package scanner
import ( import (
"bytes" "bytes"
"code.google.com/p/go.text/unicode/norm"
"errors" "errors"
"fmt" "fmt"
"io/ioutil" "io/ioutil"
@@ -15,6 +14,7 @@ import (
"runtime" "runtime"
"strings" "strings"
"time" "time"
"code.google.com/p/go.text/unicode/norm"
"github.com/calmh/syncthing/lamport" "github.com/calmh/syncthing/lamport"
"github.com/calmh/syncthing/protocol" "github.com/calmh/syncthing/protocol"
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package scanner package scanner
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package upnp package upnp
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Adapted from https://github.com/jackpal/Taipei-Torrent/blob/dd88a8bfac6431c01d959ce3c745e74b8a911793/IGD.go // 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) 2010 Jack Palevich (https://github.com/jackpal/Taipei-Torrent/blob/dd88a8bfac6431c01d959ce3c745e74b8a911793/LICENSE)
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package versioner package versioner
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package versioner package versioner
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package versioner package versioner
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package xdr_test package xdr_test
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package xdr package xdr
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// Package xdr implements an XDR (RFC 4506) encoder/decoder. // Package xdr implements an XDR (RFC 4506) encoder/decoder.
package xdr package xdr
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package xdr_test package xdr_test
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package xdr package xdr
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
// +build refl // +build refl
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package xdr package xdr
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved. // Copyright (C) 2014 Jakob Borg and Contributors (see the CONTRIBUTORS file).
// Use of this source code is governed by an MIT-style license that can be // All rights reserved. Use of this source code is governed by an MIT-style
// found in the LICENSE file. // license that can be found in the LICENSE file.
package xdr package xdr