Skip to content
Permalink
Browse files

Move more code to GPLv3+.

  • Loading branch information
egorpugin committed Mar 16, 2020
1 parent 8ae3583 commit 90f464b15875101b59e96b245f3f600453e73c26
Showing with 2,201 additions and 644 deletions.
  1. +6 −4 COPYING
  2. +17 −5 src/sw/builder/command.cpp
  3. +17 −5 src/sw/builder/command.h
  4. +17 −5 src/sw/builder/command_serialization.cpp
  5. +18 −0 src/sw/builder/command_serialization.h
  6. +17 −5 src/sw/builder/command_serialization_boost.h
  7. +17 −5 src/sw/builder/command_storage.cpp
  8. +17 −5 src/sw/builder/command_storage.h
  9. +17 −5 src/sw/builder/concurrent_map.cpp
  10. +17 −5 src/sw/builder/concurrent_map.h
  11. +17 −5 src/sw/builder/configuration.cpp
  12. +17 −5 src/sw/builder/configuration.h
  13. +17 −5 src/sw/builder/execution_plan.cpp
  14. +17 −5 src/sw/builder/execution_plan.h
  15. +17 −5 src/sw/builder/execution_plan_serialization.cpp
  16. +17 −5 src/sw/builder/file.cpp
  17. +17 −5 src/sw/builder/file.h
  18. +17 −5 src/sw/builder/file_storage.cpp
  19. +17 −5 src/sw/builder/file_storage.h
  20. +17 −5 src/sw/builder/inserts.h
  21. +17 −5 src/sw/builder/jumppad.cpp
  22. +17 −5 src/sw/builder/jumppad.h
  23. +17 −5 src/sw/builder/module_storage.cpp
  24. +17 −5 src/sw/builder/module_storage.h
  25. +17 −5 src/sw/builder/node.cpp
  26. +17 −5 src/sw/builder/node.h
  27. +17 −5 src/sw/builder/os.cpp
  28. +17 −5 src/sw/builder/os.h
  29. +17 −5 src/sw/builder/platform.h
  30. +17 −5 src/sw/builder/program.cpp
  31. +17 −5 src/sw/builder/program.h
  32. +17 −5 src/sw/builder/sw_context.cpp
  33. +17 −5 src/sw/builder/sw_context.h
  34. +1 −1 src/sw/client/cli/client.cpp
  35. +17 −5 src/sw/core/build.cpp
  36. +17 −5 src/sw/core/build.h
  37. +17 −5 src/sw/core/c.cpp
  38. +14 −4 src/sw/core/c.h
  39. +17 −5 src/sw/core/c.hpp
  40. +17 −5 src/sw/core/command.h
  41. +17 −5 src/sw/core/driver.cpp
  42. +17 −5 src/sw/core/driver.h
  43. +17 −5 src/sw/core/input.cpp
  44. +17 −5 src/sw/core/input.h
  45. +17 −5 src/sw/core/input_database.cpp
  46. +17 −5 src/sw/core/input_database.h
  47. +17 −5 src/sw/core/inserts.h
  48. +17 −5 src/sw/core/inserts/inserts.cpp
  49. +17 −5 src/sw/core/settings.cpp
  50. +17 −5 src/sw/core/settings.h
  51. +17 −5 src/sw/core/settings_serialization.cpp
  52. +17 −5 src/sw/core/sw_context.cpp
  53. +17 −4 src/sw/core/sw_context.h
  54. +17 −5 src/sw/core/target.cpp
  55. +17 −5 src/sw/core/target.h
  56. +17 −5 src/sw/driver/autotools.cpp
  57. +17 −5 src/sw/driver/bazel/bazel.cpp
  58. +17 −5 src/sw/driver/bazel/bazel.h
  59. +17 −5 src/sw/driver/bazel/driver.cpp
  60. +17 −5 src/sw/driver/bazel/driver.h
  61. +18 −0 src/sw/driver/bazel/grammar.yy
  62. +19 −1 src/sw/driver/bazel/lexer.ll
  63. +17 −5 src/sw/driver/build.cpp
  64. +17 −5 src/sw/driver/build.h
  65. +17 −5 src/sw/driver/build_self.cpp
  66. +17 −5 src/sw/driver/build_settings.cpp
  67. +17 −5 src/sw/driver/build_settings.h
  68. +17 −5 src/sw/driver/checks.cpp
  69. +17 −5 src/sw/driver/checks.h
  70. +17 −5 src/sw/driver/checks_storage.h
  71. +17 −5 src/sw/driver/cmake.h
  72. +17 −5 src/sw/driver/command.cpp
  73. +17 −5 src/sw/driver/command.h
  74. +17 −5 src/sw/driver/compiler/compiler.cpp
  75. +17 −5 src/sw/driver/compiler/compiler.h
  76. +17 −5 src/sw/driver/compiler/compiler_helpers.h
  77. +17 −5 src/sw/driver/compiler/detect.cpp
  78. +17 −5 src/sw/driver/compiler/detect.h
  79. +17 −5 src/sw/driver/compiler/detect.inl
  80. +17 −5 src/sw/driver/compiler/detect_win_sdk.cpp
  81. +17 −5 src/sw/driver/dependency.h
  82. +17 −5 src/sw/driver/driver.cpp
  83. +17 −5 src/sw/driver/driver.h
  84. +17 −5 src/sw/driver/entry_point.cpp
  85. +17 −5 src/sw/driver/entry_point.h
  86. +18 −0 src/sw/driver/frontend/cppan/bsi.inl
  87. +12 −10 src/sw/driver/frontend/cppan/project.cpp
  88. +12 −10 src/sw/driver/frontend/cppan/project.h
  89. +12 −10 src/sw/driver/frontend/cppan/yaml.cpp
  90. +12 −10 src/sw/driver/frontend/cppan/yaml.h
  91. +17 −5 src/sw/driver/functions.cpp
  92. +17 −5 src/sw/driver/functions.h
  93. +17 −5 src/sw/driver/inheritance.h
  94. +17 −5 src/sw/driver/license.cpp
  95. +17 −5 src/sw/driver/license.h
  96. +18 −0 src/sw/driver/misc/sw.cpp
  97. +17 −5 src/sw/driver/module.cpp
  98. +17 −5 src/sw/driver/module.h
  99. +17 −5 src/sw/driver/options.cpp
  100. +17 −5 src/sw/driver/options.h
  101. +17 −5 src/sw/driver/options_cl.cpp
  102. +17 −5 src/sw/driver/options_cl.h
  103. +17 −5 src/sw/driver/options_cl_vs.cpp
  104. +17 −5 src/sw/driver/options_cl_vs.h
  105. +17 −5 src/sw/driver/program.cpp
  106. +17 −5 src/sw/driver/program.h
  107. +17 −5 src/sw/driver/program_storage.cpp
  108. +17 −5 src/sw/driver/program_storage.h
  109. +17 −5 src/sw/driver/program_version_storage.cpp
  110. +17 −5 src/sw/driver/program_version_storage.h
  111. +17 −5 src/sw/driver/solution_cppan.cpp
  112. +17 −5 src/sw/driver/source_file.cpp
  113. +17 −5 src/sw/driver/source_file.h
  114. +17 −5 src/sw/driver/source_file_storage.h
  115. +17 −5 src/sw/driver/suffix.h
  116. +17 −5 src/sw/driver/sw.h
  117. +17 −5 src/sw/driver/sw1.h
  118. +17 −5 src/sw/driver/sw_abi_version.h
  119. +17 −5 src/sw/driver/sw_check_abi_version.h
  120. +17 −5 src/sw/driver/target/all.h
  121. +17 −5 src/sw/driver/target/base.cpp
  122. +17 −5 src/sw/driver/target/base.h
  123. +17 −5 src/sw/driver/target/base_macro.h
  124. +17 −5 src/sw/driver/target/base_macro_end.h
  125. +17 −5 src/sw/driver/target/enums.h
  126. +17 −5 src/sw/driver/target/native.cpp
  127. +17 −5 src/sw/driver/target/native.h
  128. +17 −5 src/sw/driver/target/native1.h
  129. +18 −0 src/sw/driver/target/other.cpp
  130. +17 −5 src/sw/driver/target/other.h
  131. +17 −5 src/sw/driver/types.cpp
  132. +17 −5 src/sw/driver/types.h
10 COPYING
@@ -1,8 +1,10 @@
Different parts of this repository (project) are subject to different licences.

Core libraries: MPLv2
Client tool: GPLv3+
Server tools: AGPLv3+
Utilities, helpers: APLv2
src/sw/support: MPLv2
src/sw/protocol: MPLv2
src/sw/manager: MPLv2
other code: GPLv3+
server code: AGPLv3+
utilities, helpers: APLv2

See specific files for detailed information about their license.
@@ -1,8 +1,20 @@
// Copyright (C) 2017-2018 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#define BOOST_THREAD_PROVIDES_EXECUTORS
#define BOOST_THREAD_PROVIDES_VARIADIC_THREAD
@@ -1,8 +1,20 @@
// Copyright (C) 2017-2018 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#pragma once

@@ -1,8 +1,20 @@
// Copyright (C) 2017-2019 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "command.h"
#include "command_storage.h"
@@ -1,3 +1,21 @@
/*
* SW - Build System and Package Manager
* Copyright (C) 2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "command.h"

#include <boost/archive/binary_iarchive.hpp>
@@ -1,8 +1,20 @@
// Copyright (C) 2017-2019 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifdef _MSC_VER
#pragma warning(push)
@@ -1,8 +1,20 @@
// Copyright (C) 2017-2018 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "command_storage.h"

@@ -1,8 +1,20 @@
// Copyright (C) 2017-2018 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#pragma once

@@ -1,8 +1,20 @@
// Copyright (C) 2017-2018 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "concurrent_map.h"

@@ -1,8 +1,20 @@
// Copyright (C) 2017-2018 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#pragma once

@@ -1,8 +1,20 @@
// Copyright (C) 2017-2018 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "configuration.h"

@@ -1,8 +1,20 @@
// Copyright (C) 2017-2018 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#pragma once

@@ -1,8 +1,20 @@
// Copyright (C) 2017-2019 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "execution_plan.h"

@@ -1,8 +1,20 @@
// Copyright (C) 2017-2018 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#pragma once

@@ -1,8 +1,20 @@
// Copyright (C) 2017-2019 Egor Pugin <egor.pugin@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/*
* SW - Build System and Package Manager
* Copyright (C) 2017-2020 Egor Pugin
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "execution_plan.h"

0 comments on commit 90f464b

Please sign in to comment.
You can’t perform that action at this time.