diff --git a/COPYING.txt b/COPYING.txt deleted file mode 100644 index d645695..0000000 --- a/COPYING.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/LICENSE.txt b/LICENSE.txt index e0cce91..d645695 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,16 +1,202 @@ -Cpp2Py: Reflection tools based on clang - -Copyright (C) 2011-2018, O. Parcollet -Copyright (C) 2018-2019, The Simons Foundation - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use the files in this repository except in compliance -with the License. You should have received a copy of the -License (in the file COPYING.txt in this directory). If not, see -. - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/c++/cpp2py/converters/basic_types.hpp b/c++/cpp2py/converters/basic_types.hpp index 89643f2..f433084 100644 --- a/c++/cpp2py/converters/basic_types.hpp +++ b/c++/cpp2py/converters/basic_types.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include "../pyref.hpp" #include "./complex.hpp" diff --git a/c++/cpp2py/converters/complex.hpp b/c++/cpp2py/converters/complex.hpp index e5240b1..7acb8c8 100644 --- a/c++/cpp2py/converters/complex.hpp +++ b/c++/cpp2py/converters/complex.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include "../pyref.hpp" diff --git a/c++/cpp2py/converters/function.hpp b/c++/cpp2py/converters/function.hpp index d2306f8..1b5118b 100644 --- a/c++/cpp2py/converters/function.hpp +++ b/c++/cpp2py/converters/function.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2019-2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Gregory Kramida, Olivier Parcollet, Nils Wentzell + #pragma once #include #include "../pyref.hpp" diff --git a/c++/cpp2py/converters/map.hpp b/c++/cpp2py/converters/map.hpp index ac24495..6ffbd6c 100644 --- a/c++/cpp2py/converters/map.hpp +++ b/c++/cpp2py/converters/map.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include "../traits.hpp" diff --git a/c++/cpp2py/converters/optional.hpp b/c++/cpp2py/converters/optional.hpp index 1289854..65d4004 100644 --- a/c++/cpp2py/converters/optional.hpp +++ b/c++/cpp2py/converters/optional.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include "../traits.hpp" diff --git a/c++/cpp2py/converters/pair.hpp b/c++/cpp2py/converters/pair.hpp index 432bd3d..88066eb 100644 --- a/c++/cpp2py/converters/pair.hpp +++ b/c++/cpp2py/converters/pair.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include "../traits.hpp" #include "../pyref.hpp" diff --git a/c++/cpp2py/converters/set.hpp b/c++/cpp2py/converters/set.hpp index baf36c9..43bc940 100644 --- a/c++/cpp2py/converters/set.hpp +++ b/c++/cpp2py/converters/set.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include "../traits.hpp" diff --git a/c++/cpp2py/converters/std_array.hpp b/c++/cpp2py/converters/std_array.hpp index 9b88952..bf91482 100644 --- a/c++/cpp2py/converters/std_array.hpp +++ b/c++/cpp2py/converters/std_array.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2018 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2018-2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include "../pyref.hpp" diff --git a/c++/cpp2py/converters/string.hpp b/c++/cpp2py/converters/string.hpp index a3f6aa0..4a1efbc 100644 --- a/c++/cpp2py/converters/string.hpp +++ b/c++/cpp2py/converters/string.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include "../pyref.hpp" diff --git a/c++/cpp2py/converters/tuple.hpp b/c++/cpp2py/converters/tuple.hpp index 2961c44..8ca4f94 100644 --- a/c++/cpp2py/converters/tuple.hpp +++ b/c++/cpp2py/converters/tuple.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include diff --git a/c++/cpp2py/converters/variant.hpp b/c++/cpp2py/converters/variant.hpp index d530218..e60d7ab 100644 --- a/c++/cpp2py/converters/variant.hpp +++ b/c++/cpp2py/converters/variant.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include diff --git a/c++/cpp2py/converters/vector.hpp b/c++/cpp2py/converters/vector.hpp index dcb5f5e..c66e165 100644 --- a/c++/cpp2py/converters/vector.hpp +++ b/c++/cpp2py/converters/vector.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include diff --git a/c++/cpp2py/cpp2py.hpp b/c++/cpp2py/cpp2py.hpp index 94310c2..c0aaa81 100644 --- a/c++/cpp2py/cpp2py.hpp +++ b/c++/cpp2py/cpp2py.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2018-2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #define CPP2PY_IGNORE __attribute__((annotate("ignore_in_python"))) diff --git a/c++/cpp2py/exceptions.cpp b/c++/cpp2py/exceptions.cpp index 9ea1bc2..6bd36aa 100644 --- a/c++/cpp2py/exceptions.cpp +++ b/c++/cpp2py/exceptions.cpp @@ -1,23 +1,21 @@ -/******************************************************************************* - * - * TRIQS: a Toolbox for Research in Interacting Quantum Systems - * - * Copyright (C) 2011 by M. Ferrero, O. Parcollet - * - * TRIQS 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. - * - * TRIQS 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 - * TRIQS. If not, see . - * - ******************************************************************************/ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2019-2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #include "cpp2py/exceptions.hpp" //#include #include diff --git a/c++/cpp2py/exceptions.hpp b/c++/cpp2py/exceptions.hpp index 05f602d..acc6bdb 100644 --- a/c++/cpp2py/exceptions.hpp +++ b/c++/cpp2py/exceptions.hpp @@ -1,23 +1,21 @@ -/******************************************************************************* - * - * TRIQS: a Toolbox for Research in Interacting Quantum Systems - * - * Copyright (C) 2011 by M. Ferrero, O. Parcollet - * - * TRIQS 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. - * - * TRIQS 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 - * TRIQS. If not, see . - * - ******************************************************************************/ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include diff --git a/c++/cpp2py/get_module.hpp b/c++/cpp2py/get_module.hpp index 21c7a52..194d4a8 100644 --- a/c++/cpp2py/get_module.hpp +++ b/c++/cpp2py/get_module.hpp @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Nils Wentzell + #pragma once #if (PY_MAJOR_VERSION == 3) and (PY_MINOR_VERSION <= 6) diff --git a/c++/cpp2py/macros.hpp b/c++/cpp2py/macros.hpp index a59e484..6184c52 100644 --- a/c++/cpp2py/macros.hpp +++ b/c++/cpp2py/macros.hpp @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #ifndef _CCQ_MACROS_GUARD_H #define _CCQ_MACROS_GUARD_H diff --git a/c++/cpp2py/misc.hpp b/c++/cpp2py/misc.hpp index 306e07b..ecd6754 100644 --- a/c++/cpp2py/misc.hpp +++ b/c++/cpp2py/misc.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include diff --git a/c++/cpp2py/numpy_proxy.cpp b/c++/cpp2py/numpy_proxy.cpp index 5314b31..7f24db3 100644 --- a/c++/cpp2py/numpy_proxy.cpp +++ b/c++/cpp2py/numpy_proxy.cpp @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Nils Wentzell + #include "numpy_proxy.hpp" namespace cpp2py { diff --git a/c++/cpp2py/numpy_proxy.hpp b/c++/cpp2py/numpy_proxy.hpp index 6347c17..8238f42 100644 --- a/c++/cpp2py/numpy_proxy.hpp +++ b/c++/cpp2py/numpy_proxy.hpp @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include diff --git a/c++/cpp2py/py_converter.hpp b/c++/cpp2py/py_converter.hpp index 5be10fd..b41f96a 100644 --- a/c++/cpp2py/py_converter.hpp +++ b/c++/cpp2py/py_converter.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2018-2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Philipp Dumitrescu, Olivier Parcollet, Nils Wentzell + #pragma once #include #include "structmember.h" diff --git a/c++/cpp2py/py_stream.hpp b/c++/cpp2py/py_stream.hpp index ba6d934..b60eb65 100644 --- a/c++/cpp2py/py_stream.hpp +++ b/c++/cpp2py/py_stream.hpp @@ -1,23 +1,21 @@ -/******************************************************************************* - * - * TRIQS: a Toolbox for Research in Interacting Quantum Systems - * - * Copyright (C) 2014 by O. Parcollet - * - * TRIQS 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. - * - * TRIQS 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 - * TRIQS. If not, see . - * - ******************************************************************************/ +// Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2018-2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include #include diff --git a/c++/cpp2py/pyref.hpp b/c++/cpp2py/pyref.hpp index 66ef995..6bf2083 100644 --- a/c++/cpp2py/pyref.hpp +++ b/c++/cpp2py/pyref.hpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2018-2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once #include diff --git a/c++/cpp2py/signal_handler.cpp b/c++/cpp2py/signal_handler.cpp index 4f5e54b..59d736a 100644 --- a/c++/cpp2py/signal_handler.cpp +++ b/c++/cpp2py/signal_handler.cpp @@ -1,23 +1,21 @@ -/******************************************************************************* - * - * TRIQS: a Toolbox for Research in Interacting Quantum Systems - * - * Copyright (C) 2014 by O. Parcollet - * - * TRIQS 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. - * - * TRIQS 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 - * TRIQS. If not, see . - * - ******************************************************************************/ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2019-2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #include "cpp2py/signal_handler.hpp" #include #include diff --git a/c++/cpp2py/signal_handler.hpp b/c++/cpp2py/signal_handler.hpp index 894065a..1fcdea8 100644 --- a/c++/cpp2py/signal_handler.hpp +++ b/c++/cpp2py/signal_handler.hpp @@ -1,23 +1,21 @@ -/******************************************************************************* - * - * TRIQS: a Toolbox for Research in Interacting Quantum Systems - * - * Copyright (C) 2014 by O. Parcollet - * - * TRIQS 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. - * - * TRIQS 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 - * TRIQS. If not, see . - * - ******************************************************************************/ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #pragma once namespace cpp2py { namespace signal_handler { diff --git a/c++/cpp2py/traits.hpp b/c++/cpp2py/traits.hpp index 8c0cff9..3efc673 100644 --- a/c++/cpp2py/traits.hpp +++ b/c++/cpp2py/traits.hpp @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Nils Wentzell + #pragma once #include diff --git a/cpp2cxx/__init__.py b/cpp2cxx/__init__.py index 78c5cc7..3223213 100644 --- a/cpp2cxx/__init__.py +++ b/cpp2cxx/__init__.py @@ -1,23 +1,21 @@ -################################################################################ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation # -# TRIQS: a Toolbox for Research in Interacting Quantum Systems +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# Copyright (C) 2016 by O. Parcollet +# http:#www.apache.org/licenses/LICENSE-2.0.txt # -# TRIQS 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. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# TRIQS 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 -# TRIQS. If not, see . -# -################################################################################ +# Authors: Olivier Parcollet, Nils Wentzell, tayral + from .cpp2cxx import Cpp2Cxx diff --git a/cpp2cxx/cpp2cxx.py b/cpp2cxx/cpp2cxx.py index bb5eada..ad0c67e 100644 --- a/cpp2cxx/cpp2cxx.py +++ b/cpp2cxx/cpp2cxx.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell, tayral + import os, re, sys, itertools from mako.template import Template import cpp2py.clang_parser as CL diff --git a/cpp2cxx/ess.cpp b/cpp2cxx/ess.cpp index 5bf725b..045c7d1 100644 --- a/cpp2cxx/ess.cpp +++ b/cpp2cxx/ess.cpp @@ -1,3 +1,21 @@ +// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +// Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +// Copyright (c) 2020 Simons Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0.txt +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Authors: Olivier Parcollet, Nils Wentzell + #include #include diff --git a/cpp2py/__init__.py b/cpp2py/__init__.py index 6d48f26..de8687a 100644 --- a/cpp2py/__init__.py +++ b/cpp2py/__init__.py @@ -1,22 +1,20 @@ -################################################################################ +# Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2020 Simons Foundation # -# TRIQS: a Toolbox for Research in Interacting Quantum Systems +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# Copyright (C) 2016 by O. Parcollet +# http:#www.apache.org/licenses/LICENSE-2.0.txt # -# TRIQS 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. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# TRIQS 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 -# TRIQS. If not, see . -# -################################################################################ +# Authors: Olivier Parcollet, Nils Wentzell + __all__ = ['cpp2desc', 'compiler', 'magic'] diff --git a/cpp2py/clang_parser.py b/cpp2py/clang_parser.py index 465a75e..6d5f22a 100644 --- a/cpp2py/clang_parser.py +++ b/cpp2py/clang_parser.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Gregory Kramida, Olivier Parcollet, Nils Wentzell, tayral + # This module defines the function parse that # call libclang to parse a C++ file, and retrieve diff --git a/cpp2py/compiler.py b/cpp2py/compiler.py index 1af30c0..424db2e 100644 --- a/cpp2py/compiler.py +++ b/cpp2py/compiler.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Gregory Kramida, Olivier Parcollet, Nils Wentzell, tayral + import imp, os, sys, shutil, subprocess, hashlib, re, tempfile import cpp2py.libclang_config as Config diff --git a/cpp2py/cpp2desc.py b/cpp2py/cpp2desc.py index 555f651..1635468 100644 --- a/cpp2py/cpp2desc.py +++ b/cpp2py/cpp2desc.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell, tayral + import os, re, sys, itertools from mako.template import Template diff --git a/cpp2py/cpp2py_info_base.py b/cpp2py/cpp2py_info_base.py index f6fd2f7..0f14d2a 100644 --- a/cpp2py/cpp2py_info_base.py +++ b/cpp2py/cpp2py_info_base.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell, tayral + import re diff --git a/cpp2py/dependency_analyzer.py b/cpp2py/dependency_analyzer.py index 59ed1ed..4618eb8 100644 --- a/cpp2py/dependency_analyzer.py +++ b/cpp2py/dependency_analyzer.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell, tayral + import cpp2py.util as util, importlib from .cpp2py_info_base import get_imports, get_converters, Cpp2pyInfoStd diff --git a/cpp2py/doc.py b/cpp2py/doc.py index a640ee9..f8c477a 100644 --- a/cpp2py/doc.py +++ b/cpp2py/doc.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Gregory Kramida, Olivier Parcollet, Nils Wentzell + # This module contains functions to process the documentation # of classes, functions, from C++ to Python diff --git a/cpp2py/magic.py b/cpp2py/magic.py index a2eac07..6412bab 100644 --- a/cpp2py/magic.py +++ b/cpp2py/magic.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell, tayral + """ ===================== Cpp2py magic diff --git a/cpp2py/mako/desc.py b/cpp2py/mako/desc.py index 742febf..1c96891 100644 --- a/cpp2py/mako/desc.py +++ b/cpp2py/mako/desc.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell + # Generated automatically using the command : # ${W.shell_command} from cpp2py.wrap_generator import * diff --git a/cpp2py/processed_doc.py b/cpp2py/processed_doc.py index a1e5843..813b9c2 100644 --- a/cpp2py/processed_doc.py +++ b/cpp2py/processed_doc.py @@ -1,3 +1,19 @@ +# Copyright (c) 2019-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Gregory Kramida, Olivier Parcollet, Nils Wentzell + import re from collections import OrderedDict import cpp2py.clang_parser as CL diff --git a/cpp2py/util.py b/cpp2py/util.py index 49be883..3d62ce9 100644 --- a/cpp2py/util.py +++ b/cpp2py/util.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2019-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell + # This module contains a few utilities import re, os diff --git a/cpp2py/wrap_generator.py b/cpp2py/wrap_generator.py index 0dca66c..2803d8d 100644 --- a/cpp2py/wrap_generator.py +++ b/cpp2py/wrap_generator.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Gregory Kramida, Olivier Parcollet, Nils Wentzell, tayral + import sys, imp import re import os diff --git a/cpp2rst/__init__.py b/cpp2rst/__init__.py index e2068c1..be0172c 100644 --- a/cpp2rst/__init__.py +++ b/cpp2rst/__init__.py @@ -1,23 +1,21 @@ -################################################################################ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation # -# TRIQS: a Toolbox for Research in Interacting Quantum Systems +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# Copyright (C) 2016 by O. Parcollet +# http:#www.apache.org/licenses/LICENSE-2.0.txt # -# TRIQS 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. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# TRIQS 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 -# TRIQS. If not, see . -# -################################################################################ +# Authors: Olivier Parcollet, Nils Wentzell, tayral + from .cpp2rst import Cpp2Rst diff --git a/cpp2rst/cpp2rst.py b/cpp2rst/cpp2rst.py index fec6333..7ffa27c 100644 --- a/cpp2rst/cpp2rst.py +++ b/cpp2rst/cpp2rst.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Oliver Parcollet, Olivier Parcollet, Nils Wentzell, tayral + import os, re, sys, itertools from collections import OrderedDict diff --git a/cpp2rst/doc.py b/cpp2rst/doc.py index 90dffbc..833506a 100644 --- a/cpp2rst/doc.py +++ b/cpp2rst/doc.py @@ -1,3 +1,21 @@ +# Copyright (c) 2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Gregory Kramida, Nils Wentzell, tayral + from cpp2py.doc import replace_latex, process_doc import re from collections import OrderedDict diff --git a/cpp2rst/example.py b/cpp2rst/example.py index f4f7ade..5cc08b1 100644 --- a/cpp2rst/example.py +++ b/cpp2rst/example.py @@ -1,3 +1,21 @@ +# Copyright (c) 2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Gregory Kramida, Nils Wentzell, tayral + import os def prepare_example(filename, decal): diff --git a/cpp2rst/global_vars.py b/cpp2rst/global_vars.py index e8f8b4a..995998e 100644 --- a/cpp2rst/global_vars.py +++ b/cpp2rst/global_vars.py @@ -1,3 +1,19 @@ +# Copyright (c) 2019-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell + # Global parameter examples_root = None diff --git a/cpp2rst/processed_doc.py b/cpp2rst/processed_doc.py index 5283b6b..4854302 100644 --- a/cpp2rst/processed_doc.py +++ b/cpp2rst/processed_doc.py @@ -1,3 +1,19 @@ +# Copyright (c) 2019-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Oliver Parcollet, Olivier Parcollet, Nils Wentzell + import re, itertools, os from collections import OrderedDict import cpp2py.clang_parser as CL diff --git a/cpp2rst/render_fnt.py b/cpp2rst/render_fnt.py index a189205..c2955e9 100644 --- a/cpp2rst/render_fnt.py +++ b/cpp2rst/render_fnt.py @@ -1,3 +1,21 @@ +# Copyright (c) 2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Nils Wentzell, tayral + import cpp2py.clang_parser as CL from .synopsis import make_synopsis_list, make_synopsis_template_decl from cpp2py.doc import make_table, replace_latex diff --git a/cpp2rst/renderers.py b/cpp2rst/renderers.py index 236b0fd..f5963b9 100644 --- a/cpp2rst/renderers.py +++ b/cpp2rst/renderers.py @@ -1,3 +1,19 @@ +# Copyright (c) 2019-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Oliver Parcollet, Olivier Parcollet, Nils Wentzell + import os, re, itertools import cpp2py.clang_parser as CL from .synopsis import make_synopsis_list, make_synopsis_template_decl, make_label, replace_ltgt, escape_lg diff --git a/cpp2rst/synopsis.py b/cpp2rst/synopsis.py index f5d982e..702abe6 100644 --- a/cpp2rst/synopsis.py +++ b/cpp2rst/synopsis.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2019-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Oliver Parcollet, Olivier Parcollet, Nils Wentzell + import re, os import cpp2py.clang_parser as CL from . import global_vars diff --git a/test/inl.py b/test/inl.py index aea9eab..058ebd2 100644 --- a/test/inl.py +++ b/test/inl.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell, tayral + from cpp2py.compiler import compile code = """ diff --git a/test/test_onfly.py b/test/test_onfly.py index e1dded9..ade8df6 100644 --- a/test/test_onfly.py +++ b/test/test_onfly.py @@ -1,3 +1,21 @@ +# Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) +# Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) +# Copyright (c) 2018-2020 Simons Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http:#www.apache.org/licenses/LICENSE-2.0.txt +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Authors: Olivier Parcollet, Nils Wentzell, tayral + import cpp2py.compiler as M if 1: