From 7cb0cdd9450ec27b5ada569c0ceaae30a63454af Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 20 Nov 2018 00:32:37 +0800 Subject: [PATCH] modify comment header --- NOTICE.md | 2 +- src/ltui.lua | 2 +- src/ltui/action.lua | 2 +- src/ltui/application.lua | 2 +- src/ltui/base/dlist.lua | 2 +- 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 | 2 +- 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 | 4 ++-- tests/inputdialog.lua | 2 +- tests/mconfdialog.lua | 2 +- tests/window.lua | 2 +- 41 files changed, 42 insertions(+), 42 deletions(-) diff --git a/NOTICE.md b/NOTICE.md index 6aa8ca2..1ea6808 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -1,4 +1,4 @@ -A cross-platform build utility based on Lua +A cross-platform terminal ui library based on Lua Copyright 2015-2018 The TBOOX Open Source Group This product includes software developed by The TBOOX Open Source Group (http://www.tboox.org/). diff --git a/src/ltui.lua b/src/ltui.lua index 9b1085c..9268e5c 100644 --- a/src/ltui.lua +++ b/src/ltui.lua @@ -1,5 +1,5 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/action.lua b/src/ltui/action.lua index 78be031..5b9ca03 100644 --- a/src/ltui/action.lua +++ b/src/ltui/action.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/application.lua b/src/ltui/application.lua index ea66c89..24480e1 100644 --- a/src/ltui/application.lua +++ b/src/ltui/application.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/base/dlist.lua b/src/ltui/base/dlist.lua index 4a9c0ab..3e39663 100644 --- a/src/ltui/base/dlist.lua +++ b/src/ltui/base/dlist.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/base/log.lua b/src/ltui/base/log.lua index 00c2796..d1e9260 100644 --- a/src/ltui/base/log.lua +++ b/src/ltui/base/log.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/base/os.lua b/src/ltui/base/os.lua index f949e91..2392031 100644 --- a/src/ltui/base/os.lua +++ b/src/ltui/base/os.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/base/path.lua b/src/ltui/base/path.lua index cbfc69d..4af0a50 100644 --- a/src/ltui/base/path.lua +++ b/src/ltui/base/path.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/base/string.lua b/src/ltui/base/string.lua index 12691ad..a0d15f1 100644 --- a/src/ltui/base/string.lua +++ b/src/ltui/base/string.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/base/table.lua b/src/ltui/base/table.lua index dde5fa2..9e7ea61 100644 --- a/src/ltui/base/table.lua +++ b/src/ltui/base/table.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/border.lua b/src/ltui/border.lua index 25c058e..6aec092 100644 --- a/src/ltui/border.lua +++ b/src/ltui/border.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/boxdialog.lua b/src/ltui/boxdialog.lua index 9e263d6..75ae806 100644 --- a/src/ltui/boxdialog.lua +++ b/src/ltui/boxdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/button.lua b/src/ltui/button.lua index 05274fe..b46813b 100644 --- a/src/ltui/button.lua +++ b/src/ltui/button.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/canvas.lua b/src/ltui/canvas.lua index b3e851b..7226d4b 100644 --- a/src/ltui/canvas.lua +++ b/src/ltui/canvas.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/choicebox.lua b/src/ltui/choicebox.lua index 4b585be..df058d6 100644 --- a/src/ltui/choicebox.lua +++ b/src/ltui/choicebox.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/choicedialog.lua b/src/ltui/choicedialog.lua index f42b3e3..3d300f1 100644 --- a/src/ltui/choicedialog.lua +++ b/src/ltui/choicedialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/curses.lua b/src/ltui/curses.lua index 28b9425..61b00b3 100644 --- a/src/ltui/curses.lua +++ b/src/ltui/curses.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/desktop.lua b/src/ltui/desktop.lua index 234b272..2768fbd 100644 --- a/src/ltui/desktop.lua +++ b/src/ltui/desktop.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/dialog.lua b/src/ltui/dialog.lua index 73b1542..2c7945b 100644 --- a/src/ltui/dialog.lua +++ b/src/ltui/dialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/event.lua b/src/ltui/event.lua index 6628024..5bcd39f 100644 --- a/src/ltui/event.lua +++ b/src/ltui/event.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/inputdialog.lua b/src/ltui/inputdialog.lua index 8b24a25..69ddc64 100644 --- a/src/ltui/inputdialog.lua +++ b/src/ltui/inputdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/label.lua b/src/ltui/label.lua index 93f9c5a..54a91fc 100644 --- a/src/ltui/label.lua +++ b/src/ltui/label.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/mconfdialog.lua b/src/ltui/mconfdialog.lua index 5b43992..85c07f6 100644 --- a/src/ltui/mconfdialog.lua +++ b/src/ltui/mconfdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/menubar.lua b/src/ltui/menubar.lua index 8fe2c80..bbf855f 100644 --- a/src/ltui/menubar.lua +++ b/src/ltui/menubar.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/menuconf.lua b/src/ltui/menuconf.lua index 6b64270..902269b 100644 --- a/src/ltui/menuconf.lua +++ b/src/ltui/menuconf.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/object.lua b/src/ltui/object.lua index 6720cd8..5aed43b 100644 --- a/src/ltui/object.lua +++ b/src/ltui/object.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/panel.lua b/src/ltui/panel.lua index 4aa962e..dd06a50 100644 --- a/src/ltui/panel.lua +++ b/src/ltui/panel.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/point.lua b/src/ltui/point.lua index 7d72349..6f22843 100644 --- a/src/ltui/point.lua +++ b/src/ltui/point.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/program.lua b/src/ltui/program.lua index 07600d2..962a17d 100644 --- a/src/ltui/program.lua +++ b/src/ltui/program.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/rect.lua b/src/ltui/rect.lua index 3119e7e..c8ebce7 100644 --- a/src/ltui/rect.lua +++ b/src/ltui/rect.lua @@ -1,5 +1,5 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/statusbar.lua b/src/ltui/statusbar.lua index 803842b..c40e544 100644 --- a/src/ltui/statusbar.lua +++ b/src/ltui/statusbar.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/textarea.lua b/src/ltui/textarea.lua index f869622..89a850a 100644 --- a/src/ltui/textarea.lua +++ b/src/ltui/textarea.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/textdialog.lua b/src/ltui/textdialog.lua index c840446..044178f 100644 --- a/src/ltui/textdialog.lua +++ b/src/ltui/textdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/textedit.lua b/src/ltui/textedit.lua index 03f5b53..c852d6d 100644 --- a/src/ltui/textedit.lua +++ b/src/ltui/textedit.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/view.lua b/src/ltui/view.lua index 3e73f99..3b505f6 100644 --- a/src/ltui/view.lua +++ b/src/ltui/view.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/src/ltui/window.lua b/src/ltui/window.lua index 9718181..a49cd11 100644 --- a/src/ltui/window.lua +++ b/src/ltui/window.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/tests/desktop.lua b/tests/desktop.lua index 87276ad..fcf0413 100755 --- a/tests/desktop.lua +++ b/tests/desktop.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/tests/dialog.lua b/tests/dialog.lua index dcf12f9..f70737d 100644 --- a/tests/dialog.lua +++ b/tests/dialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file @@ -75,7 +75,7 @@ function demo:init() -- init tips dialog local dialog_tips = textdialog:new("dialog.tips", rect {0, 0, 50, 8}):background_set(dialog_main:frame():background()) dialog_tips:frame():background_set("cyan") - dialog_tips:text():text_set("hello xmake! (http://xmake.io)\nA cross-platform build utility based on Lua"):textattr_set("red") + dialog_tips:text():text_set("hello xmake! (http://xmake.io)\nA cross-platform terminal ui library based on Lua"):textattr_set("red") dialog_tips:button_add("yes", "< Yes >", function (v) dialog_tips:show(false) end) dialog_tips:button_add("no", "< No >", function (v) dialog_tips:show(false) end) self:insert(dialog_tips, {centerx = true, centery = true}) diff --git a/tests/inputdialog.lua b/tests/inputdialog.lua index 7d7896b..f772628 100644 --- a/tests/inputdialog.lua +++ b/tests/inputdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/tests/mconfdialog.lua b/tests/mconfdialog.lua index b6d98f2..455b3bf 100644 --- a/tests/mconfdialog.lua +++ b/tests/mconfdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file diff --git a/tests/window.lua b/tests/window.lua index 51c6c8e..d158682 100644 --- a/tests/window.lua +++ b/tests/window.lua @@ -1,4 +1,4 @@ ---!A cross-platform build utility based on Lua +--!A cross-platform terminal ui library based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file