diff --git a/LICENSE b/LICENSE index ba71a4c..947312b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,23 @@ -Most of Ravi is under MIT License -There are components that are under GPL - please see relevant -source files. These are optional components that are part of the -libgccjit implementation of the JIT compiler. You can remove these -components if you do not want GPL license. +/****************************************************************************** +* Copyright (C) 1994-2019 Lua.org, PUC-Rio. +* Portions Copyright (C) 2015-2020 Dibyendu Majumdar +* +* 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. +******************************************************************************/ diff --git a/include/lua.h b/include/lua.h index 66ac8bb..9030379 100644 --- a/include/lua.h +++ b/include/lua.h @@ -23,7 +23,7 @@ #define LUA_VERSION "Ravi " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR #define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE -#define LUA_COPYRIGHT LUA_RELEASE "\nCopyright (C) 1994-2019 Lua.org, PUC-Rio\nPortions Copyright (C) 2015-2019 Dibyendu Majumdar" +#define LUA_COPYRIGHT LUA_RELEASE "\nCopyright (C) 1994-2019 Lua.org, PUC-Rio\nPortions Copyright (C) 2015-2020 Dibyendu Majumdar" #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo, W. Celes, Dibyendu Majumdar" @@ -661,7 +661,8 @@ LUA_API void ravi_set_debuglevel(int level); /****************************************************************************** -* Copyright (C) 1994-2017 Lua.org, PUC-Rio. +* Copyright (C) 1994-2019 Lua.org, PUC-Rio. +* Portions Copyright (C) 2015-2020 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/include/ravi_jitshared.h b/include/ravi_jitshared.h index 799392c..81d4706 100644 --- a/include/ravi_jitshared.h +++ b/include/ravi_jitshared.h @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2015-2017 Dibyendu Majumdar + * Copyright (C) 2015-2020 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/include/ravi_mirjit.h b/include/ravi_mirjit.h index e752beb..9f3480b 100644 --- a/include/ravi_mirjit.h +++ b/include/ravi_mirjit.h @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015-2017 Dibyendu Majumdar +* Copyright (C) 2019-2020 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -20,30 +20,8 @@ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ******************************************************************************/ -/****************************************************************************** -* Copyright (C) 2015-2018 Dibyendu Majumdar -* -* 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. -******************************************************************************/ -#ifndef RAVI_OMRJIT_H -#define RAVI_OMRJIT_H +#ifndef RAVI_MIRJIT_H +#define RAVI_MIRJIT_H #include diff --git a/include/ravi_omrjit.h b/include/ravi_omrjit.h index 74258d6..5dc5a5e 100644 --- a/include/ravi_omrjit.h +++ b/include/ravi_omrjit.h @@ -1,27 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015-2017 Dibyendu Majumdar -* -* 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. -******************************************************************************/ -/****************************************************************************** -* Copyright (C) 2015-2018 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/include/ravijit.h b/include/ravijit.h index d0c2297..b664c77 100644 --- a/include/ravijit.h +++ b/include/ravijit.h @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/lapi.c b/src/lapi.c index 561dec0..5bfff81 100644 --- a/src/lapi.c +++ b/src/lapi.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2017 Dibyendu Majumdar +** Portions Copyright (C) 2015-2020 Dibyendu Majumdar */ diff --git a/src/lcode.c b/src/lcode.c index 3346c7d..136c87f 100644 --- a/src/lcode.c +++ b/src/lcode.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2017 Dibyendu Majumdar +** Portions Copyright (C) 2015-2020 Dibyendu Majumdar */ #define lcode_c diff --git a/src/ldo.c b/src/ldo.c index 8f5cae6..b9687e7 100644 --- a/src/ldo.c +++ b/src/ldo.c @@ -4,6 +4,10 @@ ** See Copyright Notice in lua.h */ +/* +** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +*/ + #define ldo_c #define LUA_CORE diff --git a/src/ldump.c b/src/ldump.c index e0a825c..22aff0c 100644 --- a/src/ldump.c +++ b/src/ldump.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2017 Dibyendu Majumdar +** Portions Copyright (C) 2015-2020 Dibyendu Majumdar */ diff --git a/src/lfunc.c b/src/lfunc.c index decd389..699c70f 100644 --- a/src/lfunc.c +++ b/src/lfunc.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2017 Dibyendu Majumdar +** Portions Copyright (C) 2015-2020 Dibyendu Majumdar */ diff --git a/src/lopcodes.c b/src/lopcodes.c index 4369410..4150c41 100644 --- a/src/lopcodes.c +++ b/src/lopcodes.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2017 Dibyendu Majumdar +** Portions Copyright (C) 2015-2020 Dibyendu Majumdar */ diff --git a/src/lparser.c b/src/lparser.c index 22cd2df..30f50c6 100644 --- a/src/lparser.c +++ b/src/lparser.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2017 Dibyendu Majumdar +** Portions Copyright (C) 2015-2020 Dibyendu Majumdar */ #define lparser_c diff --git a/src/lundump.c b/src/lundump.c index 2ad1670..7b113ce 100644 --- a/src/lundump.c +++ b/src/lundump.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2017 Dibyendu Majumdar +** Portions Copyright (C) 2015-2020 Dibyendu Majumdar */ #define lundump_c diff --git a/src/lvm.c b/src/lvm.c index dde1bb0..3456eb0 100644 --- a/src/lvm.c +++ b/src/lvm.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2017 Dibyendu Majumdar +** Portions Copyright (C) 2015-2020 Dibyendu Majumdar */ #define lvm_c diff --git a/src/ravi_ast_parse.c b/src/ravi_ast_parse.c index 4a86b89..2e3661a 100644 --- a/src/ravi_ast_parse.c +++ b/src/ravi_ast_parse.c @@ -6,6 +6,9 @@ The parser will perform following actions: a) Generate syntax tree b) Perform type checking (Ravi enhancement) + +Copyright (C) 2018-2020 Dibyendu Majumdar + */ #include "ravi_ast.h" diff --git a/src/ravi_ast_print.c b/src/ravi_ast_print.c index 35c3d43..7c72199 100644 --- a/src/ravi_ast_print.c +++ b/src/ravi_ast_print.c @@ -1,3 +1,7 @@ +/* +Copyright (C) 2018-2020 Dibyendu Majumdar +*/ + #include #include "ravi_ast.h" diff --git a/src/ravi_ast_typecheck.c b/src/ravi_ast_typecheck.c index cff79af..2071d18 100644 --- a/src/ravi_ast_typecheck.c +++ b/src/ravi_ast_typecheck.c @@ -1,3 +1,6 @@ +/* +Copyright (C) 2018-2020 Dibyendu Majumdar +*/ #include #include "ravi_ast.h" diff --git a/src/ravi_jitshared.c b/src/ravi_jitshared.c index f9d727c..a430ca6 100644 --- a/src/ravi_jitshared.c +++ b/src/ravi_jitshared.c @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2015-2017 Dibyendu Majumdar + * Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmarith1.cpp b/src/ravi_llvmarith1.cpp index aa1a082..8a93546 100644 --- a/src/ravi_llvmarith1.cpp +++ b/src/ravi_llvmarith1.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmarith2.cpp b/src/ravi_llvmarith2.cpp index 3657c70..5321f1e 100644 --- a/src/ravi_llvmarith2.cpp +++ b/src/ravi_llvmarith2.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmcall.cpp b/src/ravi_llvmcall.cpp index 69435b7..9a82dd2 100644 --- a/src/ravi_llvmcall.cpp +++ b/src/ravi_llvmcall.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmcodegen.cpp b/src/ravi_llvmcodegen.cpp index b38e24f..bab11cd 100644 --- a/src/ravi_llvmcodegen.cpp +++ b/src/ravi_llvmcodegen.cpp @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2015 Dibyendu Majumdar + * Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmcomp.cpp b/src/ravi_llvmcomp.cpp index 1690db4..8d5e0de 100644 --- a/src/ravi_llvmcomp.cpp +++ b/src/ravi_llvmcomp.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmforloop.cpp b/src/ravi_llvmforloop.cpp index add21c3..0a69c54 100644 --- a/src/ravi_llvmforloop.cpp +++ b/src/ravi_llvmforloop.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmforprep.cpp b/src/ravi_llvmforprep.cpp index dd25756..f4ce603 100644 --- a/src/ravi_llvmforprep.cpp +++ b/src/ravi_llvmforprep.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmjit.cpp b/src/ravi_llvmjit.cpp index 19643fb..f0fc5b6 100644 --- a/src/ravi_llvmjit.cpp +++ b/src/ravi_llvmjit.cpp @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2015 Dibyendu Majumdar + * Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmload.cpp b/src/ravi_llvmload.cpp index 8af00ff..3363799 100644 --- a/src/ravi_llvmload.cpp +++ b/src/ravi_llvmload.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmluaapi.cpp b/src/ravi_llvmluaapi.cpp index 12130b9..954ca25 100644 --- a/src/ravi_llvmluaapi.cpp +++ b/src/ravi_llvmluaapi.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmrest.cpp b/src/ravi_llvmrest.cpp index e71752e..d4c0137 100644 --- a/src/ravi_llvmrest.cpp +++ b/src/ravi_llvmrest.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmreturn.cpp b/src/ravi_llvmreturn.cpp index 453b836..d33d760 100644 --- a/src/ravi_llvmreturn.cpp +++ b/src/ravi_llvmreturn.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmtable.cpp b/src/ravi_llvmtable.cpp index 4222bfc..67b453c 100644 --- a/src/ravi_llvmtable.cpp +++ b/src/ravi_llvmtable.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmtforcall.cpp b/src/ravi_llvmtforcall.cpp index e7b48c1..8329fe2 100644 --- a/src/ravi_llvmtforcall.cpp +++ b/src/ravi_llvmtforcall.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_llvmtypes.cpp b/src/ravi_llvmtypes.cpp index 00ed5b0..c6ef7da 100644 --- a/src/ravi_llvmtypes.cpp +++ b/src/ravi_llvmtypes.cpp @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2015 Dibyendu Majumdar + * Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_membuf.c b/src/ravi_membuf.c index c5d0ceb..b8949ff 100644 --- a/src/ravi_membuf.c +++ b/src/ravi_membuf.c @@ -1,3 +1,7 @@ +/* +Copyright (C) 2018-2020 Dibyendu Majumdar +*/ + #include #include diff --git a/src/ravi_mirjit.c b/src/ravi_mirjit.c index f6cf94d..1dc098c 100644 --- a/src/ravi_mirjit.c +++ b/src/ravi_mirjit.c @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2018 Dibyendu Majumdar + * Copyright (C) 2019-2020 Dibyendu Majumdar * * 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/ravi_nojit.c b/src/ravi_nojit.c index 4dad474..e9e49bb 100644 --- a/src/ravi_nojit.c +++ b/src/ravi_nojit.c @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * 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/ravi_omrjit.c b/src/ravi_omrjit.c index c3bd5ae..e5bd0cf 100644 --- a/src/ravi_omrjit.c +++ b/src/ravi_omrjit.c @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2018 Dibyendu Majumdar + * Copyright (C) 2018-2020 Dibyendu Majumdar * * 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/ravijit.cpp b/src/ravijit.cpp index 467765c..71c36df 100644 --- a/src/ravijit.cpp +++ b/src/ravijit.cpp @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015 Dibyendu Majumdar +* Copyright (C) 2015-2020 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the