From 2d95bff3eab15681ff12f98ae76b411c3b8ee2de Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 6 May 2020 23:04:38 +0800 Subject: [PATCH] update copyright --- src/ltui.lua | 2 +- src/ltui/action.lua | 2 +- src/ltui/application.lua | 2 +- src/ltui/base/dlist.lua | 2 +- src/ltui/base/hashset.lua | 136 ++++++++++++++++++++++++++++++++++++++ src/ltui/base/log.lua | 2 +- src/ltui/base/os.lua | 2 +- src/ltui/base/path.lua | 2 +- src/ltui/base/string.lua | 2 +- src/ltui/base/table.lua | 2 +- src/ltui/border.lua | 2 +- src/ltui/boxdialog.lua | 20 ++++-- src/ltui/button.lua | 2 +- src/ltui/canvas.lua | 2 +- src/ltui/choicebox.lua | 2 +- src/ltui/choicedialog.lua | 2 +- src/ltui/curses.lua | 2 +- src/ltui/desktop.lua | 2 +- src/ltui/dialog.lua | 2 +- src/ltui/event.lua | 2 +- src/ltui/inputdialog.lua | 2 +- src/ltui/label.lua | 2 +- src/ltui/mconfdialog.lua | 2 +- src/ltui/menubar.lua | 2 +- src/ltui/menuconf.lua | 2 +- src/ltui/object.lua | 2 +- src/ltui/panel.lua | 2 +- src/ltui/point.lua | 2 +- src/ltui/program.lua | 2 +- src/ltui/rect.lua | 2 +- src/ltui/statusbar.lua | 2 +- src/ltui/textarea.lua | 2 +- src/ltui/textdialog.lua | 2 +- src/ltui/textedit.lua | 2 +- src/ltui/view.lua | 2 +- src/ltui/window.lua | 2 +- tests/desktop.lua | 2 +- tests/dialog.lua | 2 +- tests/inputdialog.lua | 2 +- tests/mconfdialog.lua | 2 +- tests/window.lua | 2 +- 41 files changed, 188 insertions(+), 46 deletions(-) create mode 100644 src/ltui/base/hashset.lua diff --git a/src/ltui.lua b/src/ltui.lua index ba725f5..0ee4560 100644 --- a/src/ltui.lua +++ b/src/ltui.lua @@ -13,7 +13,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file ltui.lua diff --git a/src/ltui/action.lua b/src/ltui/action.lua index 961d280..98e1c0a 100644 --- a/src/ltui/action.lua +++ b/src/ltui/action.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file action.lua diff --git a/src/ltui/application.lua b/src/ltui/application.lua index 9ac77b1..ef25710 100644 --- a/src/ltui/application.lua +++ b/src/ltui/application.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file application.lua diff --git a/src/ltui/base/dlist.lua b/src/ltui/base/dlist.lua index 5155553..9504d22 100644 --- a/src/ltui/base/dlist.lua +++ b/src/ltui/base/dlist.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file dlist.lua diff --git a/src/ltui/base/hashset.lua b/src/ltui/base/hashset.lua new file mode 100644 index 0000000..ce4d92e --- /dev/null +++ b/src/ltui/base/hashset.lua @@ -0,0 +1,136 @@ + +--!A cross-platform terminal ui library based on Lua +-- +-- Licensed under the Apache License, Version 2.0 (the "License"); +-- you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- +-- Copyright (C) 2015-2020, TBOOX Open Source Group. +-- +-- +-- @author OpportunityLiu +-- @file hashset.lua +-- + +-- define module +local hashset = hashset or {} +local hashset_impl = hashset.__index or {} + +-- load modules +local table = require("base/table") + +-- representaion for nil key +hashset._NIL = setmetatable({}, {__tostring = function() return "symbol(nil)" end }) + +function hashset._to_key(key) + if key == nil then + key = hashset._NIL + end + return key +end + +-- make a new hashset +function hashset.new() + return setmetatable({ _DATA = {}, _SIZE = 0 }, hashset) +end + +-- construct from list of items +function hashset.of(...) + local result = hashset.new() + local data = table.pack(...) + for i = 1, data.n do + result:insert(data[i]) + end + return result +end + +-- construct from an array +function hashset.from(array) + assert(array) + return hashset.of(table.unpack(array)) +end + +-- check value is in hashset +function hashset_impl:has(value) + value = hashset._to_key(value) + return self._DATA[value] or false +end + +-- insert value to hashset, returns false if value has already in the hashset +function hashset_impl:insert(value) + value = hashset._to_key(value) + local result = not (self._DATA[value] or false) + if result then + self._DATA[value] = true + self._SIZE = self._SIZE + 1 + end + return result +end + +-- remove value from hashset, returns false if value is not in the hashset +function hashset_impl:remove(value) + value = hashset._to_key(value) + local result = self._DATA[value] or false + if result then + self._DATA[value] = nil + self._SIZE = self._SIZE - 1 + end + return result +end + +-- convert hashset to an array, nil in the set will be ignored +function hashset_impl:to_array() + local result = {} + for k, _ in pairs(self._DATA) do + if k ~= hashset._NIL then + table.insert(result, k) + end + end + return result +end + +-- iterate keys of hashtable +-- for _, key in instance:keys() do ... end +function hashset_impl:keys() + return function (table, key) + local k, _ = next(table._DATA, key) + if k == hashset._NIL then + return k, nil + else + return k, k + end + end, self, nil +end + +-- get size of hashset +function hashset_impl:size() + return self._SIZE +end + +-- is empty? +function hashset_impl:empty() + return self:size() == 0 +end + +-- get data of hashset +function hashset_impl:data() + return self._DATA +end + +-- clear hashset +function hashset_impl:clear() + self._DATA = {} + self._SIZE = 0 +end + +-- return module +hashset.__index = hashset_impl +return hashset diff --git a/src/ltui/base/log.lua b/src/ltui/base/log.lua index 4b51ecf..6f483f1 100644 --- a/src/ltui/base/log.lua +++ b/src/ltui/base/log.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. --o -- @author ruki -- @file log.lua diff --git a/src/ltui/base/os.lua b/src/ltui/base/os.lua index 4e8c021..5c498af 100644 --- a/src/ltui/base/os.lua +++ b/src/ltui/base/os.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file os.lua diff --git a/src/ltui/base/path.lua b/src/ltui/base/path.lua index cebcaaa..50a2eb0 100644 --- a/src/ltui/base/path.lua +++ b/src/ltui/base/path.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file path.lua diff --git a/src/ltui/base/string.lua b/src/ltui/base/string.lua index 3460ba5..fe25fba 100644 --- a/src/ltui/base/string.lua +++ b/src/ltui/base/string.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file string.lua diff --git a/src/ltui/base/table.lua b/src/ltui/base/table.lua index c8bea47..d71409f 100644 --- a/src/ltui/base/table.lua +++ b/src/ltui/base/table.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file table.lua diff --git a/src/ltui/border.lua b/src/ltui/border.lua index 56bca03..7abc540 100644 --- a/src/ltui/border.lua +++ b/src/ltui/border.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file border.lua diff --git a/src/ltui/boxdialog.lua b/src/ltui/boxdialog.lua index 0e2b441..8da8dda 100644 --- a/src/ltui/boxdialog.lua +++ b/src/ltui/boxdialog.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file boxdialog.lua @@ -35,24 +35,29 @@ function boxdialog:init(name, bounds, title) -- init window textdialog.init(self, name, bounds, title) - -- insert box - self:panel():insert(self:box()) - -- resize text - self:text():bounds().ey = 3 + self._TEXT_EY = 3 + self:text():bounds().ey = self._TEXT_EY self:text():invalidate(true) self:text():option_set("selectable", false) self:text():option_set("progress", false) + -- insert box + self:panel():insert(self:box()) + -- text changed self:text():action_set(action.ac_on_text_changed, function (v) if v:text() then local lines = #self:text():splitext(v:text()) if lines > 0 and lines < self:height() then + self._TEXT_EY = lines + self:invalidate(true) + --[[ self:box():bounds().sy = lines self:text():bounds().ey = lines self:box():invalidate(true) self:text():invalidate(true) + ]] end end end) @@ -62,14 +67,15 @@ function boxdialog:init(name, bounds, title) -- on resize for panel self:panel():action_add(action.ac_on_resized, function (v) - self:box():bounds_set(rect{0, 3, v:width(), v:height() - 1}) + self:text():bounds().ey = self._TEXT_EY + self:box():bounds_set(rect{0, self._TEXT_EY, v:width(), v:height() - 1}) end) end -- get box function boxdialog:box() if not self._BOX then - self._BOX = window:new("boxdialog.box", rect{0, 3, self:panel():width(), self:panel():height() - 1}) + self._BOX = window:new("boxdialog.box", rect{0, self._TEXT_EY, self:panel():width(), self:panel():height() - 1}) self._BOX:border():cornerattr_set("black", "white") end return self._BOX diff --git a/src/ltui/button.lua b/src/ltui/button.lua index 523dae6..39e5ff0 100644 --- a/src/ltui/button.lua +++ b/src/ltui/button.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file button.lua diff --git a/src/ltui/canvas.lua b/src/ltui/canvas.lua index 5265d08..9857a2d 100644 --- a/src/ltui/canvas.lua +++ b/src/ltui/canvas.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file canvas.lua diff --git a/src/ltui/choicebox.lua b/src/ltui/choicebox.lua index 8530a22..3a52353 100644 --- a/src/ltui/choicebox.lua +++ b/src/ltui/choicebox.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file choicebox.lua diff --git a/src/ltui/choicedialog.lua b/src/ltui/choicedialog.lua index 94b39a4..00b3662 100644 --- a/src/ltui/choicedialog.lua +++ b/src/ltui/choicedialog.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file choicedialog.lua diff --git a/src/ltui/curses.lua b/src/ltui/curses.lua index c105d34..d2511c6 100644 --- a/src/ltui/curses.lua +++ b/src/ltui/curses.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file curses.lua diff --git a/src/ltui/desktop.lua b/src/ltui/desktop.lua index cbbd96f..5c261cc 100644 --- a/src/ltui/desktop.lua +++ b/src/ltui/desktop.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file desktop.lua diff --git a/src/ltui/dialog.lua b/src/ltui/dialog.lua index 5447fae..991e241 100644 --- a/src/ltui/dialog.lua +++ b/src/ltui/dialog.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file dialog.lua diff --git a/src/ltui/event.lua b/src/ltui/event.lua index bd64175..b9eac9b 100644 --- a/src/ltui/event.lua +++ b/src/ltui/event.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file event.lua diff --git a/src/ltui/inputdialog.lua b/src/ltui/inputdialog.lua index d42a7ec..f7917fb 100644 --- a/src/ltui/inputdialog.lua +++ b/src/ltui/inputdialog.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file inputdialog.lua diff --git a/src/ltui/label.lua b/src/ltui/label.lua index df0df82..fca231b 100644 --- a/src/ltui/label.lua +++ b/src/ltui/label.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file label.lua diff --git a/src/ltui/mconfdialog.lua b/src/ltui/mconfdialog.lua index b5ddb68..f587492 100644 --- a/src/ltui/mconfdialog.lua +++ b/src/ltui/mconfdialog.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file mconfdialog.lua diff --git a/src/ltui/menubar.lua b/src/ltui/menubar.lua index 2898f49..d76451e 100644 --- a/src/ltui/menubar.lua +++ b/src/ltui/menubar.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file menubar.lua diff --git a/src/ltui/menuconf.lua b/src/ltui/menuconf.lua index 7b5caca..9131be0 100644 --- a/src/ltui/menuconf.lua +++ b/src/ltui/menuconf.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file menuconf.lua diff --git a/src/ltui/object.lua b/src/ltui/object.lua index 24ee37d..48c2f6a 100644 --- a/src/ltui/object.lua +++ b/src/ltui/object.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file object.lua diff --git a/src/ltui/panel.lua b/src/ltui/panel.lua index 7f36208..7d1537a 100644 --- a/src/ltui/panel.lua +++ b/src/ltui/panel.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file panel.lua diff --git a/src/ltui/point.lua b/src/ltui/point.lua index e5d05ab..bc76638 100644 --- a/src/ltui/point.lua +++ b/src/ltui/point.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file point.lua diff --git a/src/ltui/program.lua b/src/ltui/program.lua index 3d830c3..c4d5c8b 100644 --- a/src/ltui/program.lua +++ b/src/ltui/program.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file program.lua diff --git a/src/ltui/rect.lua b/src/ltui/rect.lua index 34869ea..67c0b75 100644 --- a/src/ltui/rect.lua +++ b/src/ltui/rect.lua @@ -13,7 +13,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file rect.lua diff --git a/src/ltui/statusbar.lua b/src/ltui/statusbar.lua index 7e8ca0e..5faf5ea 100644 --- a/src/ltui/statusbar.lua +++ b/src/ltui/statusbar.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file statusbar.lua diff --git a/src/ltui/textarea.lua b/src/ltui/textarea.lua index c2a09f4..0e27da5 100644 --- a/src/ltui/textarea.lua +++ b/src/ltui/textarea.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file textarea.lua diff --git a/src/ltui/textdialog.lua b/src/ltui/textdialog.lua index f4eabce..f655450 100644 --- a/src/ltui/textdialog.lua +++ b/src/ltui/textdialog.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file textdialog.lua diff --git a/src/ltui/textedit.lua b/src/ltui/textedit.lua index ec522ff..712c589 100644 --- a/src/ltui/textedit.lua +++ b/src/ltui/textedit.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file textedit.lua diff --git a/src/ltui/view.lua b/src/ltui/view.lua index 0e8efba..5d15425 100644 --- a/src/ltui/view.lua +++ b/src/ltui/view.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file view.lua diff --git a/src/ltui/window.lua b/src/ltui/window.lua index f7dcb44..3df7801 100644 --- a/src/ltui/window.lua +++ b/src/ltui/window.lua @@ -12,7 +12,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file window.lua diff --git a/tests/desktop.lua b/tests/desktop.lua index 6b4e876..cfcdfb3 100755 --- a/tests/desktop.lua +++ b/tests/desktop.lua @@ -16,7 +16,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file desktop.lua diff --git a/tests/dialog.lua b/tests/dialog.lua index bcf064b..f540402 100644 --- a/tests/dialog.lua +++ b/tests/dialog.lua @@ -16,7 +16,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file dialog.lua diff --git a/tests/inputdialog.lua b/tests/inputdialog.lua index 83c3a3e..b743a35 100644 --- a/tests/inputdialog.lua +++ b/tests/inputdialog.lua @@ -16,7 +16,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file inputdialog.lua diff --git a/tests/mconfdialog.lua b/tests/mconfdialog.lua index 9e57d00..e781dd5 100644 --- a/tests/mconfdialog.lua +++ b/tests/mconfdialog.lua @@ -16,7 +16,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file mconfdialog.lua diff --git a/tests/window.lua b/tests/window.lua index f650c15..9e246fa 100644 --- a/tests/window.lua +++ b/tests/window.lua @@ -16,7 +16,7 @@ -- See the License for the specific language governing permissions and -- limitations under the License. -- --- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki -- @file window.lua