From d921faeffeb954dfaaa5bb54322ce943a12ca3a9 Mon Sep 17 00:00:00 2001 From: Zack Guo Date: Sat, 14 Jan 2017 01:07:43 -0500 Subject: [PATCH] Update copyright --- _example/barchart.go | 2 +- _example/dashboard.go | 2 +- _example/gauge.go | 2 +- _example/grid.go | 2 +- _example/linechart.go | 2 +- _example/list.go | 2 +- _example/mbarchart.go | 2 +- _example/par.go | 2 +- _example/sparklines.go | 2 +- _example/table.go | 4 ++++ _example/tabs.go | 2 +- _example/theme.go | 2 +- _example/ttop.go | 2 +- _example/wrappar.go | 2 +- barchart.go | 2 +- block.go | 2 +- block_common.go | 2 +- block_test.go | 2 +- block_windows.go | 2 +- buffer.go | 2 +- buffer_test.go | 2 +- canvas.go | 2 +- canvas_test.go | 2 +- config.py | 27 +-------------------------- debug/debuger.go | 2 +- doc.go | 2 +- events.go | 2 +- events_test.go | 2 +- extra/tabpane.go | 2 +- gauge.go | 2 +- grid.go | 2 +- grid_test.go | 2 +- helper.go | 2 +- helper_test.go | 2 +- linechart.go | 2 +- linechart_others.go | 2 +- linechart_windows.go | 2 +- list.go | 2 +- mbarchart.go | 2 +- par.go | 2 +- par_test.go | 2 +- pos.go | 2 +- pos_test.go | 2 +- render.go | 2 +- sparkline.go | 2 +- table.go | 4 ++++ test/runtest.go | 2 +- textbuilder.go | 2 +- textbuilder_test.go | 2 +- theme.go | 2 +- theme_test.go | 2 +- widget.go | 2 +- 52 files changed, 58 insertions(+), 75 deletions(-) diff --git a/_example/barchart.go b/_example/barchart.go index b3c57be..aa20274 100644 --- a/_example/barchart.go +++ b/_example/barchart.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/dashboard.go b/_example/dashboard.go index 2205d5e..b59c325 100644 --- a/_example/dashboard.go +++ b/_example/dashboard.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/gauge.go b/_example/gauge.go index 22994ce..d05b77e 100644 --- a/_example/gauge.go +++ b/_example/gauge.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/grid.go b/_example/grid.go index 58ef8ec..4128909 100644 --- a/_example/grid.go +++ b/_example/grid.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/linechart.go b/_example/linechart.go index 9e45700..7411403 100644 --- a/_example/linechart.go +++ b/_example/linechart.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/list.go b/_example/list.go index 1db4f08..375029d 100644 --- a/_example/list.go +++ b/_example/list.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/mbarchart.go b/_example/mbarchart.go index 751d57b..074cccf 100644 --- a/_example/mbarchart.go +++ b/_example/mbarchart.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/par.go b/_example/par.go index 1e11535..d340fe4 100644 --- a/_example/par.go +++ b/_example/par.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/sparklines.go b/_example/sparklines.go index d7852e2..ba4ef71 100644 --- a/_example/sparklines.go +++ b/_example/sparklines.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/table.go b/_example/table.go index 5bcae00..4f54863 100644 --- a/_example/table.go +++ b/_example/table.go @@ -1,3 +1,7 @@ +// Copyright 2017 Zack Guo . All rights reserved. +// Use of this source code is governed by a MIT license that can +// be found in the LICENSE file. + package main import "github.com/gizak/termui" diff --git a/_example/tabs.go b/_example/tabs.go index 1ed4a62..25be239 100644 --- a/_example/tabs.go +++ b/_example/tabs.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/theme.go b/_example/theme.go index e80264f..f06b3d0 100644 --- a/_example/theme.go +++ b/_example/theme.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/ttop.go b/_example/ttop.go index feb892e..f5c32fe 100644 --- a/_example/ttop.go +++ b/_example/ttop.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/_example/wrappar.go b/_example/wrappar.go index 267fa4a..07e842d 100644 --- a/_example/wrappar.go +++ b/_example/wrappar.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/barchart.go b/barchart.go index 1102f34..6560c8b 100644 --- a/barchart.go +++ b/barchart.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/block.go b/block.go index 43a4c40..3e8571b 100644 --- a/block.go +++ b/block.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/block_common.go b/block_common.go index aa4a92a..6438bf2 100644 --- a/block_common.go +++ b/block_common.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/block_test.go b/block_test.go index 0bda680..8194179 100644 --- a/block_test.go +++ b/block_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/block_windows.go b/block_windows.go index 50480e5..a4fba77 100644 --- a/block_windows.go +++ b/block_windows.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/buffer.go b/buffer.go index cbbab6f..9e3a973 100644 --- a/buffer.go +++ b/buffer.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/buffer_test.go b/buffer_test.go index a3cfb0b..aae9d08 100644 --- a/buffer_test.go +++ b/buffer_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/canvas.go b/canvas.go index 911a678..6d2513e 100644 --- a/canvas.go +++ b/canvas.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/canvas_test.go b/canvas_test.go index 5735316..f73ce48 100644 --- a/canvas_test.go +++ b/canvas_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/config.py b/config.py index 9152bf5..30fadcf 100644 --- a/config.py +++ b/config.py @@ -1,35 +1,10 @@ #!/usr/bin/env python3 -# use v6; -# -# my $copyright = '// Copyright 2016 Zack Guo . All rights reserved. -# // Use of this source code is governed by a MIT license that can -# // be found in the LICENSE file. -# -# '; -# -# sub MAIN('update-docstr', Str $srcp) { -# if $srcp.IO.f { -# $_ = $srcp.IO.slurp; -# if m/^ \/\/\s Copyright .+? \n\n/ { -# unless ~$/ eq $copyright { -# s/^ \/\/\s Copyright .+? \n\n /$copyright/; -# spurt $srcp, $_; -# say "[updated] doc string for:"~$srcp; -# } -# } else { -# say "[added] doc string for "~$srcp~" (no match found)"; -# $_ = $copyright ~ $_; -# spurt $srcp, $_; -# } -# } -# } - import re import os import io -copyright = """// Copyright 2016 Zack Guo . All rights reserved. +copyright = """// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/debug/debuger.go b/debug/debuger.go index f557fa5..e239ef5 100644 --- a/debug/debuger.go +++ b/debug/debuger.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/doc.go b/doc.go index fdf7dd0..13924eb 100644 --- a/doc.go +++ b/doc.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/events.go b/events.go index 5ba5263..eb7319b 100644 --- a/events.go +++ b/events.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/events_test.go b/events_test.go index 3617512..4e369e5 100644 --- a/events_test.go +++ b/events_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/extra/tabpane.go b/extra/tabpane.go index 1ad3f55..879bb3b 100644 --- a/extra/tabpane.go +++ b/extra/tabpane.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/gauge.go b/gauge.go index a143111..9f6ce3a 100644 --- a/gauge.go +++ b/gauge.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/grid.go b/grid.go index 679b825..a950232 100644 --- a/grid.go +++ b/grid.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/grid_test.go b/grid_test.go index e53a308..7b7b0b7 100644 --- a/grid_test.go +++ b/grid_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/helper.go b/helper.go index 5870bac..18a6770 100644 --- a/helper.go +++ b/helper.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/helper_test.go b/helper_test.go index d6b5f25..0b4b13e 100644 --- a/helper_test.go +++ b/helper_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/linechart.go b/linechart.go index 1886114..f7eea28 100644 --- a/linechart.go +++ b/linechart.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/linechart_others.go b/linechart_others.go index fad7a80..14897ea 100644 --- a/linechart_others.go +++ b/linechart_others.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/linechart_windows.go b/linechart_windows.go index 9c9917b..994d3e5 100644 --- a/linechart_windows.go +++ b/linechart_windows.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/list.go b/list.go index 492b62d..ea6635e 100644 --- a/list.go +++ b/list.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/mbarchart.go b/mbarchart.go index fa6d54c..0f91e97 100644 --- a/mbarchart.go +++ b/mbarchart.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/par.go b/par.go index 14d6b4d..29b6d46 100644 --- a/par.go +++ b/par.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/par_test.go b/par_test.go index 14813ab..4d28f4d 100644 --- a/par_test.go +++ b/par_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/pos.go b/pos.go index a0359af..c7d647f 100644 --- a/pos.go +++ b/pos.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/pos_test.go b/pos_test.go index edd1095..448876b 100644 --- a/pos_test.go +++ b/pos_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/render.go b/render.go index be3bf46..5b58409 100644 --- a/render.go +++ b/render.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/sparkline.go b/sparkline.go index e127b52..d906e49 100644 --- a/sparkline.go +++ b/sparkline.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/table.go b/table.go index ad28b0d..e3d1bbf 100644 --- a/table.go +++ b/table.go @@ -1,3 +1,7 @@ +// Copyright 2017 Zack Guo . All rights reserved. +// Use of this source code is governed by a MIT license that can +// be found in the LICENSE file. + package termui import "strings" diff --git a/test/runtest.go b/test/runtest.go index 9130473..2451ce9 100644 --- a/test/runtest.go +++ b/test/runtest.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/textbuilder.go b/textbuilder.go index 818a400..12e2055 100644 --- a/textbuilder.go +++ b/textbuilder.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/textbuilder_test.go b/textbuilder_test.go index b338401..8f458ec 100644 --- a/textbuilder_test.go +++ b/textbuilder_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/theme.go b/theme.go index 9632ae7..21fb3bf 100644 --- a/theme.go +++ b/theme.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/theme_test.go b/theme_test.go index f1756ec..f3d327c 100644 --- a/theme_test.go +++ b/theme_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. diff --git a/widget.go b/widget.go index f14aa86..80276bf 100644 --- a/widget.go +++ b/widget.go @@ -1,4 +1,4 @@ -// Copyright 2016 Zack Guo . All rights reserved. +// Copyright 2017 Zack Guo . All rights reserved. // Use of this source code is governed by a MIT license that can // be found in the LICENSE file.