Permalink
Browse files

Applied the GPL license to Tundra.

- Replaced non-GPL compatible RSA MD5 with public domain implementation.
- Added GPL info to all source files.
- Removed unused make.lua from days gone.
- Updated project readme to reflect licensing.
- Added COPYING with GPL 3 license.
  • Loading branch information...
1 parent 5fe8062 commit cfaee3215b54def7361930beb51b2769be1bc60f @deplinenoise committed Aug 4, 2010
Showing with 1,814 additions and 619 deletions.
  1. +1 −1 CMakeLists.txt
  2. +674 −0 COPYING
  3. +49 −3 README.asciidoc
  4. +19 −0 doc/license-header.h
  5. +17 −0 doc/license-header.lua
  6. +29 −3 scripts/boot.lua
  7. +17 −0 scripts/host/linux.lua
  8. +17 −0 scripts/host/macosx.lua
  9. +17 −0 scripts/host/windows.lua
  10. +16 −0 scripts/selftest.lua
  11. +16 −1 scripts/test/t_env.lua
  12. +16 −0 scripts/tools.lua
  13. +17 −0 scripts/tools/clang-osx.lua
  14. +17 −0 scripts/tools/dotnet.lua
  15. +17 −0 scripts/tools/gcc-osx.lua
  16. +17 −0 scripts/tools/gcc.lua
  17. +17 −0 scripts/tools/generic-cpp.lua
  18. +17 −0 scripts/tools/generic-dotnet.lua
  19. +17 −0 scripts/tools/mono.lua
  20. +17 −0 scripts/tools/msvc.lua
  21. +17 −0 scripts/tundra/decl.lua
  22. +17 −0 scripts/tundra/depgraph.lua
  23. +17 −0 scripts/tundra/environment.lua
  24. +17 −0 scripts/tundra/ide/msvc80.lua
  25. +0 −204 scripts/tundra/make.lua
  26. +17 −0 scripts/tundra/nodegen.lua
  27. +17 −0 scripts/tundra/nodegen/dotnet.lua
  28. +17 −0 scripts/tundra/nodegen/native.lua
  29. +17 −0 scripts/tundra/path.lua
  30. +17 −0 scripts/tundra/util.lua
  31. +19 −0 src/bin_alloc.c
  32. +20 −1 src/bin_alloc.h
  33. +23 −5 src/build.c
  34. +19 −0 src/build.h
  35. +19 −0 src/cpp_scanner.c
  36. +19 −0 src/debug.c
  37. +19 −0 src/debug.h
  38. +26 −7 src/engine.c
  39. +19 −0 src/engine.h
  40. +18 −0 src/luafs.c
  41. +281 −0 src/md5.c
  42. +19 −42 src/md5.h
  43. +0 −349 src/md5c.c
  44. +19 −0 src/portable.c
  45. +19 −0 src/portable.h
  46. +19 −0 src/scanner.c
  47. +19 −0 src/scanner.h
  48. +22 −3 src/tundra.c
  49. +19 −0 src/util.c
  50. +19 −0 src/util.h
View
@@ -76,7 +76,7 @@ src/engine.c
src/engine.h
src/luafs.c
src/md5.h
-src/md5c.c
+src/md5.c
src/scanner.c
src/scanner.h
src/tundra.c
View
674 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,8 +1,54 @@
-Tundra
-======
+== Tundra, a build system ==
Tundra is a high-performance code build system designed to give the best
possible incremental build times even for very large software projects.
-See +doc/manual.asciidoc+ for more information.
+See +doc/manual.asciidoc+ for more detailed usage information.
+
+=== License and Copyright ===
+
+Tundra is Copyright 2010 Andreas Fredriksson.
+
+Tundra is made available under the GNU GPL. See the file COPYING for the
+complete license text.
+
+Tundra uses Lua. See below for Lua's licensing terms which are compatible with
+those of the GNU GPL.
+
+Tundra includes a public domain MD5 algorithm.
+
+Tundra includes a public domain Lua Debugger, see below.
+
+==== Lua ====
+
+Copyright © 1994–2008 Lua.org, PUC-Rio.
+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.
+
+==== MD5 ====
+
+Written by Solar Designer <solar at openwall.com> in 2001, and placed in the
+public domain. There's absolutely no warranty.
+
+==== Lua Debugger ====
+
+Tundra includes an optional Lua CLI debugger which is public domain software
+written by Dave Nichols.
+
+The debugger was obtained from http://luaforge.net/projects/clidebugger/
View
@@ -0,0 +1,19 @@
+/*
+ Copyright 2010 Andreas Fredriksson
+
+ This file is part of Tundra.
+
+ Tundra is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ Tundra is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+*/
+
View
@@ -0,0 +1,17 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+
View
@@ -1,3 +1,19 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
-- Set up the package path based on the script path first thing so we can require() stuff.
local cmdline_args = ...
@@ -28,6 +44,7 @@ do
local message = nil
local option_blueprints = {
{ Name="Help", Short="h", Long="help", Doc="This message" },
+ { Name="Version", Short="V", Long="version", Doc="Display version info" },
{ Name="Clean", Short="c", Long="clean", Doc="Remove output files (clean)" },
{ Name="Quiet", Short="q", Long="quiet", Doc="Don't print actions as they execute" },
{ Name="Continue", Short="k", Long="continue", Doc="Build as much as possible" },
@@ -86,17 +103,26 @@ do
Options.Verbosity = 1 -- default
end
+ if Options.Version or Options.Help then
+ io.write("Tundra Build Processor v0.5.1\n")
+ io.write("Copyright (C) 2010 Andreas Fredriksson\n\n")
+ io.write("This program comes with ABSOLUTELY NO WARRANTY.\n")
+ io.write("This is free software, and you are welcome to redistribute it\n")
+ io.write("under certain conditions; see the GNU GPL license for details.\n")
+ end
+
if Options.Help then
- io.write("Tundra Build Processor v0.5.0\n")
- io.write("Copyright (c)2010 Andreas Fredriksson. All rights reserved.\n\n")
- io.write("Command-line options:\n")
+ io.write("\nCommand-line options:\n")
for _, bp in ipairs(option_blueprints) do
local l = string.format(" %- 3s %- 25s %s\n",
bp.Short and "-"..bp.Short or "",
bp.Long and "--"..bp.Long or "",
bp.Doc or "")
io.write(l)
end
+ end
+
+ if Options.Version or Options.Help then
return 0
end
View
@@ -1,3 +1,20 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+
local env = ...
env:set_many {
View
@@ -1,3 +1,20 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+
local env = ...
env:set_many {
View
@@ -1,3 +1,20 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+
local env = ...
env:set_many {
View
@@ -1,3 +1,19 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
local error_count = 0
View
@@ -1,4 +1,19 @@
-
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
unit_test('scalar interpolation', function (t)
local e = require('tundra.environment')
View
@@ -1,3 +1,19 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
local native = require("tundra.native")
@@ -1,3 +1,20 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+
local env = ...
View
@@ -1,3 +1,20 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+
local env = ...
load_toolset("generic-dotnet", env)
View
@@ -1,3 +1,20 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+
local env = ...
-- load the generic GCC toolset first
View
@@ -1,3 +1,20 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+
local env = ...
-- load the generic C toolset first
@@ -1,3 +1,20 @@
+-- Copyright 2010 Andreas Fredriksson
+--
+-- This file is part of Tundra.
+--
+-- Tundra is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- Tundra is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with Tundra. If not, see <http://www.gnu.org/licenses/>.
+
local _outer_env = ...
local depgraph = require("tundra.depgraph")
local util = require("tundra.util")
Oops, something went wrong.

0 comments on commit cfaee32

Please sign in to comment.