diff --git a/License b/License index 3a05725ef..a8e8119e1 100644 --- a/License +++ b/License @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/contrib/TACC/SitePackage.lua b/contrib/TACC/SitePackage.lua index 5beec3288..839eeb173 100644 --- a/contrib/TACC/SitePackage.lua +++ b/contrib/TACC/SitePackage.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/contrib/cache_check/cache_check.lua b/contrib/cache_check/cache_check.lua index 1e7616c0b..8caaa16a8 100755 --- a/contrib/cache_check/cache_check.lua +++ b/contrib/cache_check/cache_check.lua @@ -10,7 +10,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/contrib/hook/SitePackage.lua b/contrib/hook/SitePackage.lua index a43513dfd..1e90ba464 100644 --- a/contrib/hook/SitePackage.lua +++ b/contrib/hook/SitePackage.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/contrib/parseVersions/pv b/contrib/parseVersions/pv index fba17b7b9..2dbbfbfa9 100644 --- a/contrib/parseVersions/pv +++ b/contrib/parseVersions/pv @@ -10,7 +10,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/contrib/tracking_module_usage/SitePackage.lua b/contrib/tracking_module_usage/SitePackage.lua index b0cda36aa..919f0d79f 100644 --- a/contrib/tracking_module_usage/SitePackage.lua +++ b/contrib/tracking_module_usage/SitePackage.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/Bare.lua b/settarg/Bare.lua index 9608fdb1a..c7a7a25a6 100644 --- a/settarg/Bare.lua +++ b/settarg/Bare.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/BaseShell.lua b/settarg/BaseShell.lua index 9a83c2ce4..f7247d920 100644 --- a/settarg/BaseShell.lua +++ b/settarg/BaseShell.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/Bash.lua b/settarg/Bash.lua index dfd356600..cef8ce1df 100644 --- a/settarg/Bash.lua +++ b/settarg/Bash.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/BuildTarget.lua b/settarg/BuildTarget.lua index 1ce22e674..f75c64c97 100644 --- a/settarg/BuildTarget.lua +++ b/settarg/BuildTarget.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/CmdLineOptions.lua b/settarg/CmdLineOptions.lua index 397d9e14c..4905b9297 100644 --- a/settarg/CmdLineOptions.lua +++ b/settarg/CmdLineOptions.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/Csh.lua b/settarg/Csh.lua index 7eee1b448..5716e9f81 100644 --- a/settarg/Csh.lua +++ b/settarg/Csh.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/ModifyPath.lua b/settarg/ModifyPath.lua index 190600215..998dc5694 100644 --- a/settarg/ModifyPath.lua +++ b/settarg/ModifyPath.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/Output.lua b/settarg/Output.lua index b3c2cd652..714cb9b07 100644 --- a/settarg/Output.lua +++ b/settarg/Output.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/ProcessModuleTable.lua b/settarg/ProcessModuleTable.lua index 667dafaf6..b7c45420b 100644 --- a/settarg/ProcessModuleTable.lua +++ b/settarg/ProcessModuleTable.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/STT.lua b/settarg/STT.lua index 35faeb189..f18935221 100644 --- a/settarg/STT.lua +++ b/settarg/STT.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/getUname.lua b/settarg/getUname.lua index 003be7522..96d89a598 100644 --- a/settarg/getUname.lua +++ b/settarg/getUname.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/settarg_cmd.in.lua b/settarg/settarg_cmd.in.lua index 5f3e5cb92..d67b0ca71 100755 --- a/settarg/settarg_cmd.in.lua +++ b/settarg/settarg_cmd.in.lua @@ -10,7 +10,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/settarg/utils.lua b/settarg/utils.lua index c513cf690..d98865ac2 100644 --- a/settarg/utils.lua +++ b/settarg/utils.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/shells/Bare.lua b/shells/Bare.lua index 2fe8bcd85..29df53c99 100644 --- a/shells/Bare.lua +++ b/shells/Bare.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/shells/BaseShell.lua b/shells/BaseShell.lua index 631c74468..1aea748de 100644 --- a/shells/BaseShell.lua +++ b/shells/BaseShell.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/shells/Bash.lua b/shells/Bash.lua index 3ff1fff9b..04d2c9f2a 100644 --- a/shells/Bash.lua +++ b/shells/Bash.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/shells/Csh.lua b/shells/Csh.lua index 896620fd6..64b83e518 100644 --- a/shells/Csh.lua +++ b/shells/Csh.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/shells/Fish.lua b/shells/Fish.lua index 061a33835..6e5a6be65 100644 --- a/shells/Fish.lua +++ b/shells/Fish.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/shells/Perl.lua b/shells/Perl.lua index f8b256337..d0d64a6bc 100644 --- a/shells/Perl.lua +++ b/shells/Perl.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/shells/Python.lua b/shells/Python.lua index 82cb1a249..e2ae63913 100644 --- a/shells/Python.lua +++ b/shells/Python.lua @@ -8,7 +8,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/Configuration.lua b/src/Configuration.lua index f17c48383..446cf6088 100644 --- a/src/Configuration.lua +++ b/src/Configuration.lua @@ -14,7 +14,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/DirTree.lua b/src/DirTree.lua index 05587038f..f278f49c1 100644 --- a/src/DirTree.lua +++ b/src/DirTree.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("declare") require("utils") _G._DEBUG = false diff --git a/src/Exec.lua b/src/Exec.lua index cb988bd4e..706b2e2fb 100644 --- a/src/Exec.lua +++ b/src/Exec.lua @@ -15,7 +15,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/FrameStk.lua b/src/FrameStk.lua index caec5f118..6d6d37307 100644 --- a/src/FrameStk.lua +++ b/src/FrameStk.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("deepcopy") require("myGlobals") local M = {} diff --git a/src/Hook.lua b/src/Hook.lua index 3b30b18c7..454238830 100644 --- a/src/Hook.lua +++ b/src/Hook.lua @@ -14,7 +14,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/HookArray.lua b/src/HookArray.lua index 2d8fd4c50..013f8f200 100644 --- a/src/HookArray.lua +++ b/src/HookArray.lua @@ -15,7 +15,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/LocationT.lua b/src/LocationT.lua index 8a6a851a8..8a89f027d 100644 --- a/src/LocationT.lua +++ b/src/LocationT.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("utils") require("deepcopy") require("collectionFileA") diff --git a/src/MC_Access.lua b/src/MC_Access.lua index ea2d6e14a..31c08d518 100644 --- a/src/MC_Access.lua +++ b/src/MC_Access.lua @@ -15,7 +15,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/MC_ComputeHash.lua b/src/MC_ComputeHash.lua index f81f693c5..dbd08cba7 100644 --- a/src/MC_ComputeHash.lua +++ b/src/MC_ComputeHash.lua @@ -28,7 +28,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/MC_Load.lua b/src/MC_Load.lua index 54ce8affe..3ed22c9b5 100644 --- a/src/MC_Load.lua +++ b/src/MC_Load.lua @@ -14,7 +14,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/MC_MgrLoad.lua b/src/MC_MgrLoad.lua index d84223c07..b22261a71 100644 --- a/src/MC_MgrLoad.lua +++ b/src/MC_MgrLoad.lua @@ -14,7 +14,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/MC_Refresh.lua b/src/MC_Refresh.lua index a3cfabda0..3bd51da80 100644 --- a/src/MC_Refresh.lua +++ b/src/MC_Refresh.lua @@ -18,7 +18,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/MC_Show.lua b/src/MC_Show.lua index 53178f33e..c48a27b1a 100644 --- a/src/MC_Show.lua +++ b/src/MC_Show.lua @@ -16,7 +16,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/MC_Spider.lua b/src/MC_Spider.lua index bbf45a8e3..410005845 100644 --- a/src/MC_Spider.lua +++ b/src/MC_Spider.lua @@ -18,7 +18,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/MC_Unload.lua b/src/MC_Unload.lua index 3e9e1ac6b..8954a1ce7 100644 --- a/src/MC_Unload.lua +++ b/src/MC_Unload.lua @@ -17,7 +17,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/MN_Between.lua b/src/MN_Between.lua index 21f84a16c..0fa43faed 100644 --- a/src/MN_Between.lua +++ b/src/MN_Between.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("parseVersion") local FrameStk = require("FrameStk") diff --git a/src/MN_Exact.lua b/src/MN_Exact.lua index 28a8d3b2b..223d935c6 100644 --- a/src/MN_Exact.lua +++ b/src/MN_Exact.lua @@ -1,5 +1,39 @@ require("strict") +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + local MName = require("MName") local M = inheritsFrom(MName) M.my_name = "exact" diff --git a/src/MN_Latest.lua b/src/MN_Latest.lua index 34f09d1d4..fe51ed787 100644 --- a/src/MN_Latest.lua +++ b/src/MN_Latest.lua @@ -1,5 +1,40 @@ require("strict") +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + + local FrameStk = require("FrameStk") local MName = require("MName") local M = inheritsFrom(MName) diff --git a/src/MN_Match.lua b/src/MN_Match.lua index 8e99587f9..151be960c 100644 --- a/src/MN_Match.lua +++ b/src/MN_Match.lua @@ -1,5 +1,39 @@ require("strict") +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + local MName = require("MName") local M = inheritsFrom(MName) M.my_name = "match" diff --git a/src/MName.lua b/src/MName.lua index d7daa05a1..3bc612879 100644 --- a/src/MName.lua +++ b/src/MName.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("inherits") require("utils") require("string_utils") diff --git a/src/Master.lua b/src/Master.lua index 8f1dc2afb..75decef87 100644 --- a/src/Master.lua +++ b/src/Master.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("myGlobals") require("TermWidth") require("string_utils") diff --git a/src/MasterControl.lua b/src/MasterControl.lua index 8192cb504..33b2b5cb5 100644 --- a/src/MasterControl.lua +++ b/src/MasterControl.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("inherits") require("myGlobals") require("colorize") diff --git a/src/ModuleA.lua b/src/ModuleA.lua index e63c5e643..062d5d9b6 100644 --- a/src/ModuleA.lua +++ b/src/ModuleA.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("parseVersion") require("collectionFileA") require("serializeTbl") diff --git a/src/Options.lua b/src/Options.lua index 681244040..55c07736e 100644 --- a/src/Options.lua +++ b/src/Options.lua @@ -20,7 +20,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/Pkg.lua b/src/Pkg.lua index 00a078c9a..290ed2475 100644 --- a/src/Pkg.lua +++ b/src/Pkg.lua @@ -14,7 +14,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/PkgBase.lua b/src/PkgBase.lua index c42f94573..1ea015a74 100644 --- a/src/PkgBase.lua +++ b/src/PkgBase.lua @@ -13,7 +13,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/RC2lua.tcl b/src/RC2lua.tcl index 7dbe07c42..ec035ff8b 100644 --- a/src/RC2lua.tcl +++ b/src/RC2lua.tcl @@ -1,4 +1,39 @@ #!/usr/bin/env tclsh + +#-------------------------------------------------------------------------- +#-- Lmod License +#-------------------------------------------------------------------------- +#-- +#-- Lmod is licensed under the terms of the MIT license reproduced below. +#-- This means that Lmod is free software and can be used for both academic +#-- and commercial purposes at absolutely no cost. +#-- +#-- ---------------------------------------------------------------------- +#-- +#-- Copyright (C) 2008-2016 Robert McLay +#-- +#-- Permission is hereby granted, free of charge, to any person obtaining +#-- a copy of this software and associated documentation files (the +#-- "Software"), to deal in the Software without restriction, including +#-- without limitation the rights to use, copy, modify, merge, publish, +#-- distribute, sublicense, and/or sell copies of the Software, and to +#-- permit persons to whom the Software is furnished to do so, subject +#-- to the following conditions: +#-- +#-- The above copyright notice and this permission notice shall be +#-- included in all copies or substantial portions of the Software. +#-- +#-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +#-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +#-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +#-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +#-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +#-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +#-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +#-- THE SOFTWARE. +#-- +#-------------------------------------------------------------------------- + global g_currentModuleName proc doubleQuoteEscaped {text} { regsub -all "\"" $text "\\\"" text diff --git a/src/ReadLmodRC.lua b/src/ReadLmodRC.lua index 50034ed6e..697e9ad84 100644 --- a/src/ReadLmodRC.lua +++ b/src/ReadLmodRC.lua @@ -17,7 +17,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/Spider.lua b/src/Spider.lua index c1692a04a..f09da3fe0 100644 --- a/src/Spider.lua +++ b/src/Spider.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("string_utils") require("fileOps") require("pairsByKeys") diff --git a/src/Var.lua b/src/Var.lua index 36ff89574..1c5587d7e 100644 --- a/src/Var.lua +++ b/src/Var.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("string_utils") require("pairsByKeys") require("utils") diff --git a/src/addto.in.lua b/src/addto.in.lua index 66b583b81..852dd7303 100644 --- a/src/addto.in.lua +++ b/src/addto.in.lua @@ -24,7 +24,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/clearMT_cmd.in.lua b/src/clearMT_cmd.in.lua index 0b392afdc..78e520e01 100644 --- a/src/clearMT_cmd.in.lua +++ b/src/clearMT_cmd.in.lua @@ -15,7 +15,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/cmdfuncs.lua b/src/cmdfuncs.lua index ee563a4a3..2634481f4 100644 --- a/src/cmdfuncs.lua +++ b/src/cmdfuncs.lua @@ -3,6 +3,7 @@ -- @module cmdfuncs require("strict") + -------------------------------------------------------------------------- -- Lmod License -------------------------------------------------------------------------- @@ -13,7 +14,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/collectionFileA.lua b/src/collectionFileA.lua index 1b6ee3700..0fc70db07 100644 --- a/src/collectionFileA.lua +++ b/src/collectionFileA.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("utils") function collectFileA(sn, versionStr, v, fileA) diff --git a/src/colorize.lua b/src/colorize.lua index b4ea6f99c..207a8e177 100644 --- a/src/colorize.lua +++ b/src/colorize.lua @@ -15,7 +15,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/epoch.in.lua b/src/epoch.in.lua index 47cae85a3..83cb90226 100755 --- a/src/epoch.in.lua +++ b/src/epoch.in.lua @@ -1,5 +1,40 @@ #!@path_to_lua@/lua -- -*- lua -*- + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + local sys_lua_path = "@sys_lua_path@" if (sys_lua_path:sub(1,1) == "@") then sys_lua_path = package.path diff --git a/src/ignore_dirs_converter b/src/ignore_dirs_converter index 6f25d0c2c..185104d4a 100755 --- a/src/ignore_dirs_converter +++ b/src/ignore_dirs_converter @@ -10,7 +10,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/joinBase64Results b/src/joinBase64Results index 893c4b8ec..710e50dc1 100755 --- a/src/joinBase64Results +++ b/src/joinBase64Results @@ -17,7 +17,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/loadModuleFile.lua b/src/loadModuleFile.lua index cfc0698d9..71553200a 100644 --- a/src/loadModuleFile.lua +++ b/src/loadModuleFile.lua @@ -6,6 +6,7 @@ -- @module loadModuleFile require("strict") + -------------------------------------------------------------------------- -- Lmod License -------------------------------------------------------------------------- @@ -16,7 +17,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/ml_cmd.in.lua b/src/ml_cmd.in.lua index 9f26675b0..89521439a 100644 --- a/src/ml_cmd.in.lua +++ b/src/ml_cmd.in.lua @@ -18,7 +18,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/myGlobals.lua b/src/myGlobals.lua index 579d88ce7..723f116b3 100644 --- a/src/myGlobals.lua +++ b/src/myGlobals.lua @@ -3,6 +3,7 @@ -- @module myGlobals require("strict") + -------------------------------------------------------------------------- -- Lmod License -------------------------------------------------------------------------- @@ -13,7 +14,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/pager.lua b/src/pager.lua index 6851c28c2..378722c06 100644 --- a/src/pager.lua +++ b/src/pager.lua @@ -6,6 +6,7 @@ -- @module pager require("strict") + -------------------------------------------------------------------------- -- Lmod License -------------------------------------------------------------------------- diff --git a/src/parseVersion.lua b/src/parseVersion.lua index 58e7541d8..281acaaf4 100644 --- a/src/parseVersion.lua +++ b/src/parseVersion.lua @@ -14,7 +14,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/sandbox.lua b/src/sandbox.lua index 63dfe1bc1..082b44a58 100644 --- a/src/sandbox.lua +++ b/src/sandbox.lua @@ -21,7 +21,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/sh_to_modulefile.in.lua b/src/sh_to_modulefile.in.lua index b77cb7e2e..29670c92c 100755 --- a/src/sh_to_modulefile.in.lua +++ b/src/sh_to_modulefile.in.lua @@ -40,7 +40,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/spider.in.lua b/src/spider.in.lua index e92da3cf9..bf115469c 100644 --- a/src/spider.in.lua +++ b/src/spider.in.lua @@ -15,7 +15,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/spiderCacheSupport.in.lua b/src/spiderCacheSupport.in.lua index 953f0a223..5bd522d23 100644 --- a/src/spiderCacheSupport.in.lua +++ b/src/spiderCacheSupport.in.lua @@ -15,7 +15,7 @@ -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/src/tcl2lua.tcl b/src/tcl2lua.tcl index 1b0cc6ebb..1cdaf3a32 100755 --- a/src/tcl2lua.tcl +++ b/src/tcl2lua.tcl @@ -10,7 +10,7 @@ # # ---------------------------------------------------------------------- # -# Copyright (C) 2008-2014 Robert McLay +# Copyright (C) 2008-2016 Robert McLay # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the diff --git a/src/utils.lua b/src/utils.lua index 786d99fe9..e57a2c54e 100644 --- a/src/utils.lua +++ b/src/utils.lua @@ -1,4 +1,39 @@ require("strict") + +-------------------------------------------------------------------------- +-- Lmod License +-------------------------------------------------------------------------- +-- +-- Lmod is licensed under the terms of the MIT license reproduced below. +-- This means that Lmod is free software and can be used for both academic +-- and commercial purposes at absolutely no cost. +-- +-- ---------------------------------------------------------------------- +-- +-- Copyright (C) 2008-2016 Robert McLay +-- +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject +-- to the following conditions: +-- +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +-- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +-- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +-- THE SOFTWARE. +-- +-------------------------------------------------------------------------- + require("capture") require("fileOps") require("myGlobals") diff --git a/tools/Banner.lua b/tools/Banner.lua index f1746a899..bbd8867bd 100644 --- a/tools/Banner.lua +++ b/tools/Banner.lua @@ -13,7 +13,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/BeautifulTbl.lua b/tools/BeautifulTbl.lua index 081acff9e..612ba7e9a 100644 --- a/tools/BeautifulTbl.lua +++ b/tools/BeautifulTbl.lua @@ -45,7 +45,7 @@ require("strict") ------------------------------------------------------------------------ -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/ColumnTable.lua b/tools/ColumnTable.lua index c3fd12a3b..140f02bdc 100644 --- a/tools/ColumnTable.lua +++ b/tools/ColumnTable.lua @@ -21,7 +21,7 @@ require("strict") ------------------------------------------------------------------------ -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/MF_Base.lua b/tools/MF_Base.lua index 461901490..a8355a14e 100644 --- a/tools/MF_Base.lua +++ b/tools/MF_Base.lua @@ -14,7 +14,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/MF_Lua.lua b/tools/MF_Lua.lua index cb38651e7..7d86e1e22 100644 --- a/tools/MF_Lua.lua +++ b/tools/MF_Lua.lua @@ -15,7 +15,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/MF_TCL.lua b/tools/MF_TCL.lua index 921eb014b..8d22ff6b0 100644 --- a/tools/MF_TCL.lua +++ b/tools/MF_TCL.lua @@ -15,7 +15,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/Optiks.lua b/tools/Optiks.lua index c010907fb..d9735ab02 100644 --- a/tools/Optiks.lua +++ b/tools/Optiks.lua @@ -6,7 +6,7 @@ require("strict") ------------------------------------------------------------------------ -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/Optiks_Option.lua b/tools/Optiks_Option.lua index 4128d282e..6f0db11b7 100644 --- a/tools/Optiks_Option.lua +++ b/tools/Optiks_Option.lua @@ -7,7 +7,7 @@ require("strict") ------------------------------------------------------------------------ -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/TermWidth.lua b/tools/TermWidth.lua index 412d6de36..f06dc7f32 100644 --- a/tools/TermWidth.lua +++ b/tools/TermWidth.lua @@ -9,7 +9,7 @@ require("strict") ----------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/capture.lua b/tools/capture.lua index 8fa5b5ec3..c245b332d 100644 --- a/tools/capture.lua +++ b/tools/capture.lua @@ -6,7 +6,7 @@ require("strict") ------------------------------------------------------------------------ -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/declare.lua b/tools/declare.lua index d400a438f..3d0cd3370 100644 --- a/tools/declare.lua +++ b/tools/declare.lua @@ -5,7 +5,7 @@ ------------------------------------------------------------------------ -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/fileOps.lua b/tools/fileOps.lua index 5884b07c8..f242668ec 100644 --- a/tools/fileOps.lua +++ b/tools/fileOps.lua @@ -6,7 +6,7 @@ require("strict") ------------------------------------------------------------------------ -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/haveTermSupport.lua b/tools/haveTermSupport.lua index 9fadf7e31..dc3d27a8a 100644 --- a/tools/haveTermSupport.lua +++ b/tools/haveTermSupport.lua @@ -10,7 +10,7 @@ require("strict") -- -- ---------------------------------------------------------------------- -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/inherits.lua b/tools/inherits.lua index b247fbbe0..b8bacea60 100644 --- a/tools/inherits.lua +++ b/tools/inherits.lua @@ -6,7 +6,7 @@ require("strict") ------------------------------------------------------------------------ -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the diff --git a/tools/serializeTbl.lua b/tools/serializeTbl.lua index 8dc947093..93fb83333 100644 --- a/tools/serializeTbl.lua +++ b/tools/serializeTbl.lua @@ -17,7 +17,7 @@ require("strict") ------------------------------------------------------------------------ -- --- Copyright (C) 2008-2014 Robert McLay +-- Copyright (C) 2008-2016 Robert McLay -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the