diff --git a/cudnn/HOW_TO_INSTALL_CUDNN.txt b/cudnn/HOW_TO_INSTALL_CUDNN.txt
new file mode 100644
index 0000000000000000000000000000000000000000..590c78d1f007ee773ea729cea50b1f0890cf8ef6
--- /dev/null
+++ b/cudnn/HOW_TO_INSTALL_CUDNN.txt
@@ -0,0 +1,20 @@
+HOW TO INSTALL cuDNN (PORTABLE METHOD)
+=====================================
+Since cuDNN requires an NVIDIA Developer login, please follow these steps:
+
+1. Download the cuDNN ZIP for CUDA 12.x from:
+ https://developer.nvidia.com/cudnn
+
+2. Extract the downloaded ZIP.
+
+3. Copy the CONTENTS of the folders as follows:
+ - Copy everything from the ZIP's 'bin' folder to: D:\code\apps\devtools\cudnn\bin
+ - Copy everything from the ZIP's 'include' folder to: D:\code\apps\devtools\cudnn\include
+ - Copy everything from the ZIP's 'lib/x64' folder to: D:\code\apps\devtools\cudnn\lib\x64
+
+4. Restart your terminal (or run activate_env.bat).
+
+WHY THIS METHOD?
+This keeps your C: drive clean. Our devtools environment will automatically
+find these files in the 'D:\code\apps\devtools\cudnn' folder and use them
+for PyTorch and Unreal Engine development.
diff --git a/cudnn/LICENSE b/cudnn/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..f9782dbea446ddc7809e9e85f76a0b2055dc1991
--- /dev/null
+++ b/cudnn/LICENSE
@@ -0,0 +1,305 @@
+LICENSE AGREEMENT FOR NVIDIA SOFTWARE DEVELOPMENT KITS
+
+This license agreement, including exhibits attached ("Agreement") is a legal agreement between you and NVIDIA Corporation ("NVIDIA") and governs your use of a NVIDIA software development kit ("SDK").
+
+Each SDK has its own set of software and materials, but here is a description of the types of items that may be included in a SDK: source code, header files, APIs, data sets and assets (examples include images, textures, models, scenes, videos, native API input/output files), binary software, sample code, libraries, utility programs, programming code and documentation.
+
+This Agreement can be accepted only by an adult of legal age of majority in the country in which the SDK is used.
+
+If you are entering into this Agreement on behalf of a company or other legal entity, you represent that you have the legal authority to bind the entity to this Agreement, in which case "you" will mean the entity you represent.
+
+If you don't have the required age or authority to accept this Agreement, or if you don't accept all the terms and conditions of this Agreement, do not download, install or use the SDK.
+
+You agree to use the SDK only for purposes that are permitted by (a) this Agreement, and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions.
+
+Chapter 1. License.
+
+1.1. Grant
+
+Subject to the terms of this Agreement, NVIDIA hereby grants you a non-exclusive, non-transferable license, without the right to sublicense (except as expressly provided in this Agreement) to:
+
+(i) Install and use the SDK,
+
+(ii) Modify and create derivative works of sample source code delivered in the SDK, and
+
+(iii) Distribute those portions of the SDK that are identified in this Agreement as distributable, as incorporated in object code format into a software application that meets the distribution requirements indicated in this Agreement.
+
+1.2. Distribution Requirements
+
+These are the distribution requirements for you to exercise the distribution grant:
+
+(i) Your application must have material additional functionality, beyond the included portions of the SDK.
+
+(ii) The distributable portions of the SDK shall only be accessed by your application.
+
+(iii) The following notice shall be included in modifications and derivative works of sample source code distributed: "This software contains source code provided by NVIDIA Corporation."
+
+(iv) Unless a developer tool is identified in this Agreement as distributable, it is delivered for your internal use only.
+
+(v) The terms under which you distribute your application must be consistent with the terms of this Agreement, including (without limitation) terms relating to the license grant and license restrictions and protection of NVIDIA's intellectual property rights. Additionally, you agree that you will protect the privacy, security and legal rights of your application users.
+
+(vi) You agree to notify NVIDIA in writing of any known or suspected distribution or use of the SDK not in compliance with the requirements of this Agreement, and to enforce the terms of your agreements with respect to distributed SDK.
+
+1.3 Authorized Users
+
+You may allow employees and contractors of your entity or of your subsidiary(ies) to access and use the SDK from your secure network to perform work on your behalf.
+
+If you are an academic institution you may allow users enrolled or employed by the academic institution to access and use the SDK from your secure network.
+
+You are responsible for the compliance with the terms of this Agreement by your authorized users. If you become aware that your authorized users didn't follow the terms of this Agreement, you agree to take reasonable steps to resolve the non-compliance and prevent new occurrences.
+
+1.4 Pre-Release SDK
+
+The SDK versions identified as alpha, beta, preview or otherwise as pre-release, may not be fully functional, may contain errors or design flaws, and may have reduced or different security, privacy, accessibility, availability, and reliability standards relative to commercial versions of NVIDIA software and materials. Use of a pre-release SDK may result in unexpected results, loss of data, project delays or other unpredictable damage or loss.
+
+You may use a pre-release SDK at your own risk, understanding that pre-release SDKs are not intended for use in production or business-critical systems.
+
+NVIDIA may choose not to make available a commercial version of any pre-release SDK. NVIDIA may also choose to abandon development and terminate the availability of a pre-release SDK at any time without liability.
+
+1.5 Updates
+
+NVIDIA may, at its option, make available patches, workarounds or other updates to this SDK. Unless the updates are provided with their separate governing terms, they are deemed part of the SDK licensed to you as provided in this Agreement.
+
+You agree that the form and content of the SDK that NVIDIA provides may change without prior notice to you. While NVIDIA generally maintains compatibility between versions, NVIDIA may in some cases make changes that introduce incompatibilities in future versions of the SDK.
+
+1.6 Components Under Other Licenses
+
+The SDK may come bundled with, or otherwise include or be distributed with, NVIDIA or third party software licensed with separate legal notices or terms as may be described in proprietary notices accompanying the SDK. If and to the extent there is a conflict between the terms in this Agreement and the license terms associated with the component, the license terms associated with the components control only to the extent necessary to resolve the conflict.
+
+1.7 Reservation of Rights
+
+NVIDIA reserves all rights, title and interest in and to the SDK not expressly granted to you under this Agreement.
+
+Chapter 2. Limitations.
+
+The following license limitations apply to your use of the SDK:
+
+2.1 You may not reverse engineer, decompile or disassemble, or remove copyright or other proprietary notices from any portion of the SDK or copies of the SDK.
+
+2.2 Except as expressly provided in this Agreement, you may not copy, sell, rent, sublicense, transfer, distribute, modify, or create derivative works of any portion of the SDK.
+
+2.3 Unless you have an agreement with NVIDIA for this purpose, you may not indicate that an application created with the SDK is sponsored or endorsed by NVIDIA.
+
+2.4 You may not bypass, disable, or circumvent any encryption, security, digital rights management or authentication mechanism in the SDK.
+
+2.5 You may not use the SDK in any manner that would cause it to become subject to an open source software license. As examples, licenses that require as a condition of use, modification, and/or distribution that the SDK be (i) disclosed or distributed in source code form; (ii) licensed for the purpose of making derivative works; or (iii) redistributable at no charge.
+
+2.6 You acknowledge that the SDK as delivered is not tested or certified by NVIDIA for use in connection with the design, construction, maintenance, and/or operation of any system where the use or failure of such system could result in a situation that threatens the safety of human life or results in catastrophic damages (each, a "Critical Application"). Examples of Critical Applications include use in avionics, navigation, autonomous vehicle applications, ai solutions for automotive products, military, medical, life support or other life critical applications. NVIDIA shall not be liable to you or any third party, in whole or in part, for any claims or damages arising from such uses. You are solely responsible for ensuring that any product or service developed with the SDK as a whole includes sufficient features to comply with all applicable legal and regulatory standards and requirements.
+
+2.7 You agree to defend, indemnify and hold harmless NVIDIA and its affiliates, and their respective employees, contractors, agents, officers and directors, from and against any and all claims, damages, obligations, losses, liabilities, costs or debt, fines, restitutions and expenses (including but not limited to attorney's fees and costs incident to establishing the right of indemnification) arising out of or related to products or services that use the SDK in or for Critical Applications, and for use of the SDK, outside of the scope of this Agreement or not in compliance with its terms.
+
+Chapter 3. Ownership.
+
+3.1 NVIDIA or its licensors hold all rights, title and interest in and to the SDK and its modifications and derivative works, including their respective intellectual property rights, subject to your rights under Section 3.2. This SDK may include software and materials from NVIDIA's licensors, and these licensors are intended third party beneficiaries that may enforce this Agreement with respect to their intellectual property rights.
+
+3.2 You hold all rights, title and interest in and to your applications and your derivative works of the sample source code delivered in the SDK, including their respective intellectual property rights, subject to NVIDIA's rights under section 3.1.
+
+3.3 You may, but don't have to, provide to NVIDIA suggestions, feature requests or other feedback regarding the SDK, including possible enhancements or modifications to the SDK. For any feedback that you voluntarily provide, you hereby grant NVIDIA and its affiliates a perpetual, non-exclusive, worldwide, irrevocable license to use, reproduce, modify, license, sublicense (through multiple tiers of sublicensees), and distribute (through multiple tiers of distributors) it without the payment of any royalties or fees to you. NVIDIA will use feedback at its choice. NVIDIA is constantly looking for ways to improve its products, so you may send feedback to NVIDIA through the developer portal at https://developer.nvidia.com.
+
+Chapter 4. No Warranties.
+
+THE SDK IS PROVIDED BY NVIDIA "AS IS" AND "WITH ALL FAULTS." TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND OR NATURE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, OR THE ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT. NO WARRANTY IS MADE ON THE BASIS OF TRADE USAGE, COURSE OF DEALING OR COURSE OF TRADE.
+
+Chapter 5. Limitations of Liability.
+
+TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR ANY LOST PROFITS, LOSS OF USE, LOSS OF DATA OR LOSS OF GOODWILL, OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE OF THE SDK, WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR THEORY OF LIABILITY. IN NO EVENT WILL NVIDIA'S AND ITS AFFILIATES TOTAL CUMULATIVE LIABILITY UNDER OR ARISING OUT OF THIS AGREEMENT EXCEED US$10.00. THE NATURE OF THE LIABILITY OR THE NUMBER OF CLAIMS OR SUITS SHALL NOT ENLARGE OR EXTEND THIS LIMIT.
+
+These exclusions and limitations of liability shall apply regardless if NVIDIA or its affiliates have been advised of the possibility of such damages, and regardless of whether a remedy fails its essential purpose. These exclusions and limitations of liability form an essential basis of the bargain between the parties, and, absent any of these exclusions or limitations of liability, the provisions of this Agreement, including, without limitation, the economic terms, would be substantially different.
+
+Chapter 6. Termination.
+
+6.1 This Agreement will continue to apply until terminated by either you or NVIDIA as described below.
+
+6.2 If you want to terminate this Agreement, you may do so by stopping to use the SDK.
+
+6.3 NVIDIA may, at any time, terminate this Agreement if: (i) you fail to comply with any term of this Agreement and the non-compliance is not fixed within thirty (30) days following notice from NVIDIA (or immediately if you violate NVIDIA's intellectual property rights); (ii) you commence or participate in any legal proceeding against NVIDIA with respect to the SDK; or (iii) NVIDIA decides to no longer provide the SDK in a country or, in NVIDIA's sole discretion, the continued use of it is no longer commercially viable.
+
+6.4 Upon any termination of this Agreement, you agree to promptly discontinue use of the SDK and destroy all copies in your possession or control. Your prior distributions in accordance with this Agreement are not affected by the termination of this Agreement. Upon written request, you will certify in writing that you have complied with your commitments under this section. Upon any termination of this Agreement all provisions survive except for the licenses granted to you.
+
+Chapter 7. General.
+
+If you wish to assign this Agreement or your rights and obligations, including by merger, consolidation, dissolution or operation of law, contact NVIDIA to ask for permission. Any attempted assignment not approved by NVIDIA in writing shall be void and of no effect. NVIDIA may assign, delegate or transfer this Agreement and its rights and obligations, and if to a non-affiliate you will be notified.
+
+You agree to cooperate with NVIDIA and provide reasonably requested information to verify your compliance with this Agreement.
+
+This Agreement will be governed in all respects by the laws of the United States and of the State of Delaware as those laws are applied to contracts entered into and performed entirely within Delaware by Delaware residents, without regard to the conflicts of laws principles. The United Nations Convention on Contracts for the International Sale of Goods is specifically disclaimed. You agree to all terms of this Agreement in the English language.
+
+The state or federal courts residing in Santa Clara County, California shall have exclusive jurisdiction over any dispute or claim arising out of this Agreement. Notwithstanding this, you agree that NVIDIA shall still be allowed to apply for injunctive remedies or an equivalent type of urgent legal relief in any jurisdiction.
+
+If any court of competent jurisdiction determines that any provision of this Agreement is illegal, invalid or unenforceable, such provision will be construed as limited to the extent necessary to be consistent with and fully enforceable under the law and the remaining provisions will remain in full force and effect. Unless otherwise specified, remedies are cumulative.
+
+Each party acknowledges and agrees that the other is an independent contractor in the performance of this Agreement
+
+The SDK has been developed entirely at private expense and is "commercial items" consisting of "commercial computer software" and "commercial computer software documentation" provided with RESTRICTED RIGHTS. Use, duplication or disclosure by the U.S. Government or a U.S. Government subcontractor is subject to the restrictions in this Agreement pursuant to DFARS 227.7202-3(a) or as set forth in subparagraphs (b)(1) and (2) of the Commercial Computer Software - Restricted Rights clause at FAR 52.227-19, as applicable. Contractor/ manufacturer is NVIDIA, 2788 San Tomas Expressway, Santa Clara, CA 95051
+
+The SDK is subject to United States export laws and regulations. You agree that you will not ship, transfer or export the SDK into any country, or use the SDK in any manner, prohibited by the United States Bureau of Industry and Security or economic sanctions regulations administered by the U.S. Department of Treasury's Office of Foreign Assets Control (OFAC), or any applicable export laws, restrictions or regulations. These laws include restrictions on destinations, end users and end use. By accepting this Agreement, you confirm that you are not a resident or citizen of any country currently embargoed by the U.S. and that you are not otherwise prohibited from receiving the SDK
+
+Any notice delivered by NVIDIA to you under this Agreement will be delivered via mail, email or fax. You agree that any notices that NVIDIA sends you electronically will satisfy any legal communication requirements. Please direct your legal notices or other correspondence to NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, California 95051, United States of America, Attention: Legal Department.
+
+This Agreement and any exhibits incorporated into this Agreement constitute the entire agreement of the parties with respect to the subject matter of this Agreement and supersede all prior negotiations or documentation exchanged between the parties relating to this SDK license. Any additional and/or conflicting terms on documents issued by you are null, void, and invalid. Any amendment or waiver under this Agreement shall be in writing and signed by representatives of both parties.
+
+(v. February 22, 2022)
+
+Chapter 8. cuDNN SUPPLEMENT TO SOFTWARE LICENSE AGREEMENT FOR NVIDIA SOFTWARE DEVELOPMENT KITS
+
+The terms in this supplement govern your use of the NVIDIA cuDNN SDK under the terms of your license agreement ("Agreement") as modified by this supplement. Capitalized terms used but not defined below have the meaning assigned to them in the Agreement.
+
+This supplement is an exhibit to the Agreement and is incorporated as an integral part of the Agreement. In the event of conflict between the terms in this supplement and the terms in the Agreement, the terms in this supplement govern.
+
+4.1 License Scope. The SDK is licensed for you to develop applications only for use in systems with NVIDIA GPUs.
+
+2. Distribution. The following portions of the SDK are distributable under the Agreement: the runtime files .so and .dll.
+
+In addition to the rights above, for parties that are developing software intended solely for use on Jetson development kits or Jetson modules and running Linux for Tegra software the following shall apply: the SDK may be distributed in its entirety, as provided by NVIDIA and without separation of its components, for you and/or your licensees to create software development kits for use only on the Jetson platform and running Linux for Tegra software.
+
+3. Licensing. If the distribution terms in this Agreement are not suitable for your organization, or for any questions regarding this Agreement, please contact NVIDIA at nvidia-compute-license-questions@nvidia.com
+
+(v. February 22, 2022)
+
+Notice
+
+This document is provided for information purposes only and shall not be regarded as a warranty of a certain functionality, condition, or quality of a product. NVIDIA Corporation ("NVIDIA") makes no representations or warranties, expressed or implied, as to the accuracy or completeness of the information contained in this document and assumes no responsibility for any errors contained herein. NVIDIA shall have no liability for the consequences or use of such information or for any infringement of patents or other rights of third parties that may result from its use. This document is not a commitment to develop, release, or deliver any Material (defined below), code, or functionality.
+
+NVIDIA reserves the right to make corrections, modifications, enhancements, improvements, and any other changes to this document, at any time without notice.
+
+Customer should obtain the latest relevant information before placing orders and should verify that such information is current and complete.
+
+NVIDIA products are sold subject to the NVIDIA standard terms and conditions of sale supplied at the time of order acknowledgement, unless otherwise agreed in an individual sales agreement signed by authorized representatives of NVIDIA and customer ("Terms of Sale"). NVIDIA hereby expressly objects to applying any customer general terms and conditions with regards to the purchase of the NVIDIA product referenced in this document. No contractual obligations are formed either directly or indirectly by this document.
+
+NVIDIA products are not designed, authorized, or warranted to be suitable for use in medical, military, aircraft, space, or life support equipment, nor in applications where failure or malfunction of the NVIDIA product can reasonably be expected to result in personal injury, death, or property or environmental damage. NVIDIA accepts no liability for inclusion and/or use of NVIDIA products in such equipment or applications and therefore such inclusion and/or use is at customer's own risk.
+
+NVIDIA makes no representation or warranty that products based on this document will be suitable for any specified use. Testing of all parameters of each product is not necessarily performed by NVIDIA. It is customer's sole responsibility to evaluate and determine the applicability of any information contained in this document, ensure the product is suitable and fit for the application planned by customer, and perform the necessary testing for the application in order to avoid a default of the application or the product. Weaknesses in customer's product designs may affect the quality and reliability of the NVIDIA product and may result in additional or different conditions and/or requirements beyond those contained in this document. NVIDIA accepts no liability related to any default, damage, costs, or problem which may be based on or attributable to: (i) the use of the NVIDIA product in any manner that is contrary to this document or (ii) customer product designs.
+
+No license, either expressed or implied, is granted under any NVIDIA patent right, copyright, or other NVIDIA intellectual property right under this document. Information published by NVIDIA regarding third-party products or services does not constitute a license from NVIDIA to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property rights of the third party, or a license from NVIDIA under the patents or other intellectual property rights of NVIDIA.
+
+Reproduction of information in this document is permissible only if approved in advance by NVIDIA in writing, reproduced without alteration and in full compliance with all applicable export laws and regulations, and accompanied by all associated conditions, limitations, and notices.
+
+THIS DOCUMENT AND ALL NVIDIA DESIGN SPECIFICATIONS, REFERENCE BOARDS, FILES, DRAWINGS, DIAGNOSTICS, LISTS, AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY, "MATERIALS") ARE BEING PROVIDED "AS IS." NVIDIA MAKES NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL NVIDIA BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF ANY USE OF THIS DOCUMENT, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Notwithstanding any damages that customer might incur for any reason whatsoever, NVIDIA's aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms of Sale for the product.
+
+Arm
+
+Arm, AMBA and Arm Powered are registered trademarks of Arm Limited. Cortex, MPCore and Mali are trademarks of Arm Limited. "Arm" is used to represent Arm Holdings plc; its operating company Arm Limited; and the regional subsidiaries Arm Inc.; Arm KK; Arm Korea Limited.; Arm Taiwan Limited; Arm France SAS; Arm Consulting (Shanghai) Co. Ltd.; Arm Germany GmbH; Arm Embedded Technologies Pvt. Ltd.; Arm Norway, AS and Arm Sweden AB.
+
+HDMI
+
+HDMI, the HDMI logo, and High-Definition Multimedia Interface are trademarks or registered trademarks of HDMI Licensing LLC.
+
+Blackberry/QNX
+
+Copyright (C) 2020 BlackBerry Limited. All rights reserved.
+
+Trademarks, including but not limited to BLACKBERRY, EMBLEM Design, QNX, AVIAGE, MOMENTICS, NEUTRINO and QNX CAR are the trademarks or registered trademarks of BlackBerry Limited, used under license, and the exclusive rights to such trademarks are expressly reserved.
+
+Google
+
+Android, Android TV, Google Play and the Google Play logo are trademarks of Google, Inc.
+
+Trademarks
+
+NVIDIA, the NVIDIA logo, and BlueField, CUDA, DALI, DRIVE, Hopper, JetPack, Jetson AGX Xavier, Jetson Nano, Maxwell, NGC, Nsight, Orin, Pascal, Quadro, Tegra, TensorRT, Triton, Turing and Volta are trademarks and/or registered trademarks of NVIDIA Corporation in the United States and other countries. Other company and product names may be trademarks of the respective companies with which they are associated.
+
+Copyright
+
+(C) 2014-2023 NVIDIA Corporation & affiliates. All rights reserved.
+
+NVIDIA Corporation | 2788 San Tomas Expressway, Santa Clara, CA 95051
+
+www.nvidia.com
+
+THIRD PARTY LICENSES
+
+zlib
+
+/* zlib.h -- interface of the 'zlib' general purpose compression library
+ version 1.2.11, January 15th, 2017
+
+ Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+ Jean-loup Gailly Mark Adler
+ jloup@gzip.org madler@alumni.caltech.edu
+
+*/
+
+
+
+mateidavid/zstr
+
+The MIT License (MIT)
+
+Copyright (C) 2015 Matei David, Ontario Institute for Cancer Research
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+
+RapidJSON
+
+Tencent is pleased to support the open source community by making RapidJSON available.
+
+Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip.
+
+Licensed under the MIT License (the "License"); you may not use this file except
+in compliance with the License. You may obtain a copy of the License at
+
+http://opensource.org/licenses/MIT
+
+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.
+
+
+
+{fmt}
+
+Copyright (C) 2012 - present, Victor Zverovich
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+--- Optional exception to the license ---
+
+As an exception, if, as a result of your compiling your source code, portions of this Software are embedded into a machine-executable object form of such source code, you may redistribute such embedded portions in such object form without including the above copyright and permission notices.
+
+
+
+Sleef
+
+Copyright Naoki Shibata and contributors 2010 - 2021.
+Distributed under the Boost Software License, Version 1.0.
+(See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/directstorage/.signature.p7s b/directstorage/.signature.p7s
new file mode 100644
index 0000000000000000000000000000000000000000..c304bce8ef92c8f2825982775ead50cedf12a125
Binary files /dev/null and b/directstorage/.signature.p7s differ
diff --git a/directstorage/LICENSE-CODE.txt b/directstorage/LICENSE-CODE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44378268be1b87777827ab64b1ea2d98e808850e
--- /dev/null
+++ b/directstorage/LICENSE-CODE.txt
@@ -0,0 +1,21 @@
+Copyright (c) Microsoft Corporation.
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
\ No newline at end of file
diff --git a/directstorage/LICENSE.txt b/directstorage/LICENSE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..105ee9b8b3e5345f0845360523a66dc22a7782d6
--- /dev/null
+++ b/directstorage/LICENSE.txt
@@ -0,0 +1,165 @@
+MICROSOFT SOFTWARE LICENSE TERMS
+
+MICROSOFT DIRECTSTORAGE SDK
+
+These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They
+apply to the software named above and any Microsoft services or software updates (except to the extent such
+services or updates are accompanied by new or additional terms, in which case those different terms apply
+prospectively and do not alter your or Microsoft's rights relating to pre-updated software or services). IF YOU
+COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU
+ACCEPT THESE TERMS.
+
+1. INSTALLATION AND USE RIGHTS.
+ a) General. You may install and use any number of copies of the software to develop and test your
+ applications.
+ b) Third Party Components. The software may include third party components with separate legal
+ notices or governed by other agreements, as may be described in the ThirdPartyNotices file(s)
+ accompanying the software.
+
+2. DISTRIBUTABLE CODE. The software may contain code you are permitted to distribute (i.e. make
+ available for third parties) in applications you develop, as described in this Section.
+ a) Distribution Rights. The code and test files described below are distributable if included with the
+ software.
+ i. Distributables. You may copy and distribute the object code form of the software listed in the
+ distributables file list in the software; and
+ ii. Third Party Distribution. You may permit distributors of your applications to copy and distribute
+ any of this distributable code you elect to distribute with your applications.
+ b) Distribution Requirements. For any code you distribute, you must:
+ i. add significant primary functionality to it in your applications;
+ ii. require distributors and external end users to agree to terms that protect it and Microsoft at least
+ as much as this agreement; and
+ iii. indemnify, defend, and hold harmless Microsoft from any claims, including attorneys' fees, related
+ to the distribution or use of your applications, except to the extent that any claim is based solely
+ on the unmodified distributable code.
+ c) Distribution Restrictions. You may not:
+ i. use Microsoft's trademarks or trade dress in your application in any way that suggests your
+ application comes from or is endorsed by Microsoft; or
+ ii. modify or distribute the source code of any distributable code so that any part of it becomes
+ subject to any license that requires that the distributable code, any other part of the software, or
+ any of Microsoft's other intellectual property be disclosed or distributed in source code form, or
+ that others have the right to modify it.
+
+3. SCOPE OF LICENSE. The software is licensed, not sold. Microsoft reserves all other rights. Unless
+ applicable law gives you more rights despite this limitation, you will not (and have no right to):
+ a) work around any technical limitations in the software that only allow you to use it in certain ways;
+ b) reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the source
+ code for the software, except and to the extent required by third party licensing terms governing use
+ of certain open source components that may be included in the software;
+ c) remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software;
+ d) use the software in any way that is against the law or to create or propagate malware; or
+ e) share, publish, distribute, or lease the software (except for any distributable code, subject to the
+ terms above), provide the software as a stand-alone offering for others to use, or transfer the
+ software or this agreement to any third party.
+
+4. DATA.
+ a) Data Collection. The software may collect information about you and your use of the software, and
+ send that to Microsoft. Microsoft may use this information to provide services and improve our
+ products and services. You may opt-out of many of these scenarios, but not all, as described in the
+ product documentation. There are also some features in the software that may enable you to collect
+ data from users of your applications. If you use these features to enable data collection in your
+ applications, you must comply with applicable law, including providing appropriate notices to users of
+ your applications. You can learn more about data collection and use in the help documentation and
+ the privacy statement at https://aka.ms/privacy. Your use of the software operates as your consent to
+ these practices.
+ b) Processing of Personal Data. To the extent Microsoft is a processor or subprocessor of personal
+ data in connection with the software, Microsoft makes the commitments in the European Union
+ General Data Protection Regulation Terms of the Online Services Terms to all customers effective May
+ 25, 2018, at https://docs.microsoft.com/en-us/legal/gdpr.
+
+5. EXPORT RESTRICTIONS. You must comply with all domestic and international export laws and
+ regulations that apply to the software, which include restrictions on destinations, end users, and end use.
+ For further information on export restrictions, visit https://aka.ms/exporting.
+
+6. SUPPORT SERVICES. Microsoft is not obligated under this agreement to provide any support services for
+ the software. Any support provided is "as is", "with all faults", and without warranty of any kind.
+
+7. UPDATES. The software may periodically check for updates, and download and install them for you. You
+ may obtain updates only from Microsoft or authorized sources. Microsoft may need to update your system
+ to provide you with updates. You agree to receive these automatic updates without any additional notice.
+ Updates may not include or support all existing software features, services, or peripheral devices.
+
+8. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may provide for supplements,
+ updates, or third-party applications, is the entire agreement for the software.
+
+9. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the software in the United
+ States or Canada, the laws of the state or province where you live (or, if a business, where your principal
+ place of business is located) govern the interpretation of this agreement, claims for its breach, and all
+ other claims (including consumer protection, unfair competition, and tort claims), regardless of conflict of
+ laws principles. If you acquired the software in any other country, its laws apply. If U.S. federal jurisdiction
+ exists, you and Microsoft consent to exclusive jurisdiction and venue in the federal court in King County,
+ Washington for all disputes heard in court. If not, you and Microsoft consent to exclusive jurisdiction and
+ venue in the Superior Court of King County, Washington for all disputes heard in court.
+
+10. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You
+ may have other rights, including consumer rights, under the laws of your state or country. Separate and
+ apart from your relationship with Microsoft, you may also have rights with respect to the party from which
+ you acquired the software. This agreement does not change those other rights if the laws of your state or
+ country do not permit it to do so. For example, if you acquired the software in one of the below regions, or
+ mandatory country law applies, then the following provisions apply to you:
+ a) Australia. You have statutory guarantees under the Australian Consumer Law and nothing in this
+ agreement is intended to affect those rights.
+ b) Canada. If you acquired this software in Canada, you may stop receiving updates by turning off the
+ automatic update feature, disconnecting your device from the Internet (if and when you re-connect to
+ the Internet, however, the software will resume checking for and installing updates), or uninstalling
+ the software. The product documentation, if any, may also specify how to turn off updates for your
+ specific device or software.
+ c) Germany and Austria.
+ i. Warranty. The properly licensed software will perform substantially as described in any Microsoft
+ materials that accompany the software. However, Microsoft gives no contractual guarantee in
+ relation to the licensed software.
+ ii. Limitation of Liability. In case of intentional conduct, gross negligence, claims based on the
+ Product Liability Act, as well as, in case of death or personal or physical injury, Microsoft is liable
+ according to the statutory law.
+ Subject to the foregoing clause ii., Microsoft will only be liable for slight negligence if Microsoft is in
+ breach of such material contractual obligations, the fulfillment of which facilitate the due performance
+ of this agreement, the breach of which would endanger the purpose of this agreement and the
+ compliance with which a party may constantly trust in (so-called "cardinal obligations"). In other cases
+ of slight negligence, Microsoft will not be liable for slight negligence.
+
+11. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED "AS IS." YOU BEAR THE RISK OF
+ USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS.
+ TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES ALL IMPLIED
+ WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
+ NON-INFRINGEMENT.
+
+12. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR RECOVERING
+ DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN RECOVER FROM
+ MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT
+ RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL,
+ INDIRECT, OR INCIDENTAL DAMAGES.
+ This limitation applies to (a) anything related to the software, services, content (including
+ code) on third party Internet sites, or third party applications; and (b) claims for breach of
+ contract, warranty, guarantee, or condition; strict liability, negligence, or other tort; or any
+ other claim; in each case to the extent permitted by applicable law.
+ It also applies even if Microsoft knew or should have known about the possibility of the
+ damages. The above limitation or exclusion may not apply to you because your state,
+ province, or country may not allow the exclusion or limitation of incidental, consequential, or
+ other damages.
+
+Please note: As this software is distributed in Canada, some of the clauses in this agreement are
+provided below in French.
+Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans ce contrat sont
+fournies ci-dessous en français.
+EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert " tel quel ". Toute
+utilisation de ce logiciel est à votre seule risque et péril. Microsoft n'accorde aucune autre
+garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la
+protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le
+droit locale, les garanties implicites de qualité marchande, d'adéquation à un usage particulier et
+d'absence de contrefaçon sont exclues.
+LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES
+DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de
+dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune
+indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou
+accessoires et pertes de bénéfices.
+Cette limitation concerne:
+• tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur
+des sites Internet tiers ou dans des programmes tiers; et
+• les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité
+stricte, de négligence ou d'une autre faute dans la limite autorisée par la loi en vigueur.
+Elle s'applique également, même si Microsoft connaissait ou devrait connaître l'éventualité d'un
+tel dommage. Si votre pays n'autorise pas l'exclusion ou la limitation de responsabilité pour les
+dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou
+l'exclusion ci-dessus ne s'appliquera pas à votre égard.
+EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir
+d'autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que
+vous confèrent les lois de votre pays si celles-ci ne le permettent pas.
diff --git a/directstorage/Microsoft.Direct3D.DirectStorage.nuspec b/directstorage/Microsoft.Direct3D.DirectStorage.nuspec
new file mode 100644
index 0000000000000000000000000000000000000000..34ddf552d75b9d515b10e0989a21978f349d302f
--- /dev/null
+++ b/directstorage/Microsoft.Direct3D.DirectStorage.nuspec
@@ -0,0 +1,18 @@
+
+
+
+ Microsoft.Direct3D.DirectStorage
+ 1.2.2
+ DirectStorage
+ Microsoft
+ false
+ LICENSE.txt
+ https://aka.ms/deprecateLicenseUrl
+ icon.png
+ README.md
+ https://aka.ms/directstorage/
+ DirectStorage for Windows
+ © Microsoft Corporation. All rights reserved.
+ DirectStorage Direct3D graphics 3D
+
+
\ No newline at end of file
diff --git a/directstorage/NOTICES.txt b/directstorage/NOTICES.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a3cb52c8701421232aecbaa8939d2aa58f4228e
--- /dev/null
+++ b/directstorage/NOTICES.txt
@@ -0,0 +1,2161 @@
+NOTICES AND INFORMATION
+Do Not Translate or Localize
+
+This software incorporates material from third parties.
+Microsoft makes certain open source code available at https://3rdpartysource.microsoft.com,
+or you may send a check or money order for US $5.00, including the product name,
+the open source component name, platform, and version number, to:
+
+Source Code Compliance Team
+Microsoft Corporation
+One Microsoft Way
+Redmond, WA 98052
+USA
+
+Notwithstanding any other terms, you may reverse engineer this software to the extent
+required to debug changes to any libraries licensed under the GNU Lesser General Public License.
+
+---------------------------------------------------------
+
+boost 1.72.0 - Apache-2.0
+
+
+(c) cosc cos
+Copyright 2001
+Copyright 2003
+Copyright 2008
+(c) Copyright John
+Copyright (c) 2007
+Copyright (c) 2014
+Copyright (c) 2018
+Copyright 2014 LRI
+Copyright 2015 LRI
+copyright (c) 2005
+Copyright 2014 LASMEA
+(c) 2008 VeriSign, Inc.
+Copyright (c) 2010 Ilya
+Copyright Nat Goodspeed
+(c) 2008 Gordon Woodhull
+(c) David Abrahams 2002.
+Copyright (c) 2018 Yi Ji
+Copyright 2012 IBM Corp.
+Copyright 2013 Kyle Lutz
+(c) Peter Kankowski, 2008
+Copyright (c) 2019 Damian
+Copyright 2003 Bruce Barr
+Copyright 2006 Johan Rade
+Copyright 2012 K R Walker
+Copyright Jaap Suter 2003
+Copyright Jan Langer 2002
+Copyright Lingxi Li 2015.
+copyright Jason Rice 2016
+copyright Jason Rice 2017
+copyright Xiaogang Zhang.
+(c) MidLetter or MidNumLet
+Copyright 2000 Jens Maurer
+Copyright 2003 Jeremy Siek
+Copyright 2005 Peter Dimov
+Copyright 2005 Rene Rivera
+Copyright 2007 Peter Dimov
+Copyright 2008 Beman Dawes
+Copyright 2008 Peter Dimov
+Copyright 2011 Simon West.
+Copyright 2013 Ankur Sinha
+Copyright 2013 Peter Dimov
+Copyright 2013 Rene Rivera
+Copyright 2014 Neil Groves
+Copyright 2014 Peter Dimov
+Copyright 2016 Jorge Lodos
+Copyright 2018 Peter Dimov
+Copyright 2019 Peter Dimov
+Copyright Beman Dawes 2002
+Copyright Beman Dawes 2003
+Copyright Beman Dawes 2006
+Copyright Beman Dawes 2007
+Copyright Beman Dawes 2008
+Copyright Beman Dawes 2009
+Copyright Beman Dawes 2010
+Copyright Beman Dawes 2011
+Copyright Beman Dawes 2013
+Copyright Beman Dawes 2014
+Copyright Beman Dawes 2015
+Copyright Bruno Dutra 2015
+Copyright Darin Adler 2000
+Copyright Franz Detro 2014
+Copyright Jens Maurer 2000
+Copyright Jens Maurer 2002
+Copyright Jens Maurer 2006
+Copyright Joel Falcou 2015
+Copyright Peter Dimov 2001
+Copyright Rene Rivera 2013
+Copyright Rene Rivera 2014
+Copyright Rene Rivera 2015
+Copyright Rene Rivera 2017
+(c) Copyright 2014 Jim Bell
+Copyright (c) 2005 Voipster
+Copyright (c) 2011 Jamboree
+Copyright (c) 2013 Jamboree
+Copyright (c) 2014 Jamboree
+Copyright 2005 Dan Marsden.
+Copyright 2008 John Maddock
+Copyright 2009 Neil Groves.
+Copyright 2010 John Maddock
+Copyright 2011, Andrew Ross
+Copyright 2013 Paul Bristow
+Copyright 2014 John Maddock
+Copyright 2014 NumScale SAS
+Copyright 2014 Paul Bristow
+Copyright 2015 NumScale SAS
+Copyright 2015 Peter Dimov.
+Copyright 2017 John Maddock
+Copyright 2017 Peter Dimov.
+Copyright 2017 Vinnie Falco
+Copyright Beman Dawes 2001.
+Copyright Beman Dawes 2005.
+Copyright Beman Dawes, 2009
+Copyright Eric Niebler 2008
+Copyright Eric Niebler 2009
+Copyright Louis Dionne 2013
+Copyright Neil Groves 2007.
+Copyright Neil Groves 2009.
+Copyright Neil Groves 2010.
+Copyright Neil Groves 2014.
+Copyright Peter Dimov 2019.
+Copyright Thomas Mang 2012.
+copyright Louis Dionne 2016
+(c) Copyright Francois Faure
+(c) Copyright Howard Hinnant
+Copyright (c) 2017 Dynatrace
+Copyright 2001 John Maddock.
+Copyright 2003 - 2011 LASMEA
+Copyright 2004 Eric Niebler.
+Copyright 2005 Ben Hutchings
+Copyright 2005 Eric Niebler.
+Copyright 2006 Eric Niebler.
+Copyright 2006 Ion Gaztanaga
+Copyright 2007 Aaron Windsor
+Copyright 2007 Baruch Zilber
+Copyright 2007 Boris Gubenko
+Copyright 2007 Eric Niebler.
+Copyright 2008 CodeRage, LLC
+Copyright 2008 Eric Niebler.
+Copyright 2008 Gautam Sewani
+Copyright 2009 Eric Niebler.
+Copyright 2010 Eric Niebler.
+Copyright 2011 Eric Niebler.
+Copyright 2011 John Maddock.
+Copyright 2012 Chung-Lin Wen
+Copyright 2012 Denis Demidov
+Copyright 2012 Eric Niebler.
+Copyright 2012 John Maddock.
+Copyright 2013 John Maddock.
+Copyright 2014 MetaScale SAS
+Copyright 2015 John Maddock.
+Copyright 2016 John Maddock.
+Copyright 2017 Daniel James.
+Copyright 2018 John Maddock.
+Copyright 2019 John Maddock.
+Copyright Bryce Lelbach 2010
+Copyright Daniel Walker 2007
+Copyright Dietmar Kuehl 2001
+Copyright Eric Friedman 2002
+Copyright Eric Friedman 2003
+Copyright Eric Niebler 2005.
+Copyright Eric Niebler 2014.
+Copyright John Maddock 2006.
+Copyright John Maddock 2007.
+Copyright John Maddock 2008.
+Copyright John Maddock 2010.
+Copyright John Maddock 2012.
+Copyright John Maddock 2014.
+Copyright John Maddock 2015.
+Copyright John Maddock 2016.
+Copyright John Maddock 2017.
+Copyright John Maddock 2018.
+Copyright Orson Peters 2017.
+Copyright Paul Bristow 2014.
+Copyright Robert Ramey 2007.
+Copyright Robin Eckert 2015.
+Copyright Timmo Stange 2007.
+(c) Copyright Jens Mauer 2001
+Copyright (c) 2002 Bill Kempf
+Copyright (c) 2004 Peder Holt
+Copyright (c) 2005 Peder Holt
+Copyright (c) 2006 Johan Rade
+Copyright (c) 2007 Peder Holt
+Copyright (c) 2010 Peder Holt
+Copyright (c) 2014 Ian Forbed
+Copyright (c) 2015 Mario Lang
+Copyright (c) 2018 Fady Essam
+Copyright 2002 Daryle Walker.
+Copyright 2005 Daniel Egloff.
+Copyright 2005 Daniel Wallin.
+Copyright 2005 Jeremy G. Siek
+Copyright 2006 Andy Tompkins.
+Copyright 2006 Douglas Gregor
+Copyright 2007 Andy Tompkins.
+Copyright 2007 David Jenkins.
+Copyright 2008 David Jenkins.
+Copyright 2008 Howard Hinnant
+Copyright 2009 Andy Tompkins.
+Copyright 2009, Andrew Sutton
+Copyright 2010 Andy Tompkins.
+Copyright 2010 Mario Mulansky
+Copyright 2011 Karsten Ahnert
+Copyright 2011 Mario Mulansky
+Copyright 2012 Christoph Koke
+Copyright 2012 Karsten Ahnert
+Copyright 2012 Mario Mulansky
+Copyright 2013 Karsten Ahnert
+Copyright 2013 Mario Mulansky
+Copyright 2013 Nikhar Agrawal
+Copyright 2014 Anton Bikineev
+Copyright 2014 Bill Gallafent
+Copyright 2015 John Fletcher.
+Copyright 2015 Mario Mulansky
+Copyright 2018 Hans Dembinski
+Copyright 2018 Stefan Seefeld
+Copyright 2019 Hans Dembinski
+Copyright 2019 Mateusz Loskot
+Copyright Andy Tompkins 2006.
+Copyright Daniel Walker 2006.
+Copyright Daniel Wallin 2005.
+Copyright Daniel Wallin 2006.
+Copyright Daniel Wallin 2007.
+Copyright Marco Guazzone 2014
+Copyright Nat Goodspeed 2014.
+Copyright Nick Thompson 2017.
+Copyright Nick Thompson 2019.
+Copyright Nick Thompson, 2017
+Copyright Nick Thompson, 2018
+Copyright Nick Thompson, 2019
+Copyright Ruslan Baratov 2017
+Copyright Samuel Krempp 2003.
+Copyright Steven J. Ross 2014
+Copyright Vladimir Prus 2002.
+Copyright Vladimir Prus 2004.
+Copyright Vladimir Prus, 2002
+(c) Copyright Beman Dawes 2002
+(c) Copyright Bill Kempf 2001.
+(c) Copyright Bill Kempf 2002.
+(c) Copyright Brian Kuhl 2016.
+(c) Copyright Darin Adler 2000
+(c) Copyright Jeremy Siek 2006
+(c) Copyright Johan Rade 2006.
+(c) Copyright Paul Moore 1999.
+(c) Copyright Peter Dimov 2019
+(c) Copyright Synge Todo 2003.
+(c) Copyright Tobias Schwinger
+Copyright (c) 2001 Darin Adler
+Copyright (c) 2001 Doug Gregor
+Copyright (c) 2001 Peter Dimov
+Copyright (c) 2002 Beman Dawes
+Copyright (c) 2002 Jens Maurer
+Copyright (c) 2002 Peter Dimov
+Copyright (c) 2003 Daniel Frey
+Copyright (c) 2003 Peter Dimov
+Copyright (c) 2003 Thomas Witt
+Copyright (c) 2005 Dan Marsden
+Copyright (c) 2006 Dan Marsden
+Copyright (c) 2006 Peter Dimov
+Copyright (c) 2007 Dan Marsden
+Copyright (c) 2007 Peter Dimov
+Copyright (c) 2008 Beman Dawes
+Copyright (c) 2008 Peter Dimov
+Copyright (c) 2009 Carl Barron
+Copyright (c) 2009 Peter Dimov
+Copyright (c) 2010 Neil Groves
+Copyright (c) 2012 David Stone
+Copyright (c) 2013 Carl Barron
+Copyright (c) 2013 Peter Dimov
+Copyright (c) 2014 Lee Clagett
+Copyright (c) 2014 Peter Dimov
+Copyright (c) 2014 Tomoki Imai
+Copyright (c) 2015 Seth Heeren
+Copyright (c) 2016 Lee Clagett
+Copyright (c) 2016 Peter Dimov
+Copyright (c) 2017 Minmin Gong
+Copyright (c) 2018 Peter Dimov
+Copyright (c) Beman Dawes 2011
+Copyright (c) Beman Dawes 2015
+Copyright (c) Dan Watkins 2003
+Copyright (c) Jeremy Siek 2001
+Copyright 2000 Maarten Keijzer
+Copyright 2005 Douglas Gregor.
+Copyright 2005 Joel de Guzman.
+Copyright 2006 Roland Schwarz.
+Copyright 2008 Hartmut Kaiser.
+Copyright 2010 Kenneth Riddile
+Copyright 2011 Steven Watanabe
+Copyright 2012 Andreas Pokorny
+Copyright 2012 Steven Watanabe
+Copyright 2013 Andrey Semashev
+Copyright 2013 Pascal Germroth
+Copyright 2014 Andrey Semashev
+Copyright 2014 Antony Polukhin
+Copyright 2015 Andrey Semashev
+Copyright 2015 Antony Polukhin
+Copyright 2015 Steven Watanabe
+Copyright 2016 Andrey Semashev
+Copyright 2017 Andrey Semashev
+Copyright 2018 Steven Watanabe
+Copyright 2019 Henry Schreiner
+Copyright Alain Miniussi 2014.
+Copyright Beman Dawes 1994-99.
+Copyright David Abrahams 2001.
+Copyright David Abrahams 2002.
+Copyright David Abrahams 2003.
+Copyright David Abrahams 2004.
+Copyright David Abrahams 2005.
+Copyright David Abrahams 2006.
+Copyright David Abrahams 2009.
+Copyright Douglas Gregor 2003.
+Copyright Douglas Gregor 2004.
+Copyright Emil Dotchevski 2007
+Copyright Jim Bosch 2010-2012.
+Copyright John Maddock 2007-8.
+Copyright Oliver Kowalke 2009.
+Copyright Oliver Kowalke 2013.
+Copyright Oliver Kowalke 2014.
+Copyright Oliver Kowalke 2015.
+Copyright Oliver Kowalke 2016.
+Copyright Oliver Kowalke 2017.
+Copyright Oliver Kowalke 2018.
+Copyright Paul Mensonides 2003
+Copyright Sergey Krivonos 2017
+Copyright Shreyans Doshi 2017.
+Copyright Stefan Seefeld 2005.
+Copyright Stefan Seefeld 2016.
+Copyright Steven Watanabe 2009
+Copyright Steven Watanabe 2010
+Copyright Steven Watanabe 2011
+Copyright Steven Watanabe 2014
+(c) Copyright 2002 Robert Ramey
+(c) Copyright 2004 Robert Ramey
+(c) Copyright 2005 John Maddock
+(c) Copyright 2005 Robert Ramey
+(c) Copyright 2007 Robert Ramey
+(c) Copyright 2008 Robert Ramey
+(c) Copyright 2009 Robert Ramey
+(c) Copyright 2010 Daniel James
+(c) Copyright 2010 Robert Ramey
+(c) Copyright 2014 Robert Ramey
+(c) Copyright Beman Dawes 1999.
+(c) Copyright Beman Dawes 2000.
+(c) Copyright Beman Dawes 2001.
+(c) Copyright Beman Dawes 2003.
+(c) Copyright Boris Rasin 2014.
+(c) Copyright Darin Adler 2001.
+(c) Copyright Jens Maurer 2001.
+(c) Copyright Jens Maurer 2003.
+(c) Copyright Jeremy Siek 1999.
+(c) Copyright Jeremy Siek 2000.
+(c) Copyright Jeremy Siek 2001.
+(c) Copyright Jeremy Siek 2002.
+(c) Copyright Jeremy Siek 2004.
+(c) Copyright Jim Douglas 2005.
+(c) Copyright Jorge Lodos 2008.
+(c) Copyright Peter Dimov 2001.
+(c) Copyright Peter Dimov 2002.
+(c) Copyright Peter Dimov 2008.
+(c) Copyright Peter Dimov 2017.
+(c) Copyright Rene Rivera 2005.
+(c) Copyright Robert Ramey 2004
+(c) Copyright Thomas Witt 2002.
+(c) Copyright Toon Knapen 2001.
+(c) Copyright Toon Knapen 2003.
+Copyright (c) 2002 John Maddock
+Copyright (c) 2003 John Maddock
+Copyright (c) 2003 Martin Wille
+Copyright (c) 2004 John Maddock
+Copyright (c) 2005 Eric Niebler
+Copyright (c) 2005 Peter Dimov.
+Copyright (c) 2006 Eric Niebler
+Copyright (c) 2006 John Maddock
+Copyright (c) 2006 Stephen Nutt
+Copyright (c) 2007 John Maddock
+Copyright (c) 2008 Roelof Naude
+Copyright (c) 2009 John Maddock
+Copyright (c) 2010 Eric Niebler
+Copyright (c) 2011 Aaron Graham
+Copyright (c) 2011 Brandon Kohn
+Copyright (c) 2011 Eric Niebler
+Copyright (c) 2011 John Maddock
+Copyright (c) 2012 Nathan Ridge
+Copyright (c) 2012 Oswin Krause
+Copyright (c) 2012 Robert Ramey
+Copyright (c) 2013 Eurodecision
+Copyright (c) 2014 Eric Niebler
+Copyright (c) 2015 John Maddock
+Copyright (c) 2015 Orson Peters
+Copyright (c) 2015 Robert Ramey
+Copyright (c) 2017 John Maddock
+Copyright (c) 2017 Robert Ramey
+Copyright (c) 2017 Vinnie Falco
+Copyright (c) Thomas Witt 2002.
+Copyright 2002-2018 Peter Dimov
+Copyright 2003-2005 Peter Dimov
+Copyright 2004-2005 Peter Dimov
+Copyright 2004-2006 Peter Dimov
+Copyright 2004-2008 Peter Dimov
+Copyright 2005 Matthias Troyer.
+Copyright 2005-2013 Peter Dimov
+Copyright 2007 Tobias Schwinger
+Copyright 2008 Christophe Henry
+Copyright 2008,2012 Peter Dimov
+Copyright 2011 Christophe Henry
+Copyright 2012 (c) Google, Inc.
+Copyright 2012 Lucanus Simonson
+Copyright 2012, Philipp Moeller
+Copyright 2013 Maciej Piechotka
+Copyright Adam D. Walling 2012.
+Copyright Aleksey Gurtovoy 2004
+Copyright Aleksey Gurtovoy 2006
+Copyright Aleksey Gurtovoy 2008
+Copyright Alexander Grund 2018.
+Copyright Andrey Semashev 2013.
+Copyright Andrey Semashev 2015.
+Copyright Andrey Semashev 2016.
+Copyright Andrey Semashev 2018.
+Copyright Andrey Semashev 2019.
+Copyright Beman Dawes 2002-2009
+Copyright Benjamin Sobotta 2012
+Copyright Benjamin Worpitz 2018
+Copyright Bertolt Mildner 2004.
+Copyright Charly Chevalier 2015
+Copyright Daniel Trebbien 2010.
+Copyright Frank Mori Hess 2007.
+Copyright Frank Mori Hess 2008.
+Copyright Frank Mori Hess 2009.
+Copyright Jens Maurer 2000-2001
+Copyright Jens Maurer 2006-1011
+Copyright Jessica Hamilton 2014
+Copyright John Maddock 2008-11.
+Copyright John R. Bandela 2001.
+Copyright Paul A. Bristow 2006.
+Copyright Paul A. Bristow 2007.
+Copyright Paul A. Bristow 2010.
+Copyright Paul A. Bristow 2014.
+Copyright Paul A. Bristow 2017.
+Copyright Peter Dimov 2000-2002
+Copyright Peter Dimov 2000-2003
+Copyright Peter Dimov 2001-2002
+Copyright Peter Dimov 2001-2003
+Copyright Rene Rivera 2005-2016
+Copyright Rene Rivera 2008-2013
+Copyright Rene Rivera 2008-2015
+Copyright Rene Rivera 2008-2017
+Copyright Rene Rivera 2008-2019
+Copyright Rene Rivera 2011-2012
+Copyright Rene Rivera 2011-2015
+Copyright Rene Rivera 2012-2015
+Copyright Rene Rivera 2013-2015
+Copyright Rene Rivera 2013-2018
+Copyright Rene Rivera 2014-2015
+Copyright Rene Rivera 2015-2016
+Copyright Rene Rivera 2015-2019
+(c) Copyright 2007 Andrew Sutton
+(c) Copyright 2007 David Deakins
+(c) Copyright 2008 CodeRage, LLC
+(c) Copyright 2012 Vicente Botet
+(c) Copyright 2013 Tim Blechmann
+(c) Copyright Andrew Sutton 2007
+(c) Copyright Balint Cserni 2017
+(c) Copyright Bryce Lelbach 2010
+(c) Copyright Bryce Lelbach 2011
+(c) Copyright Daniel K. O. 2005.
+(c) Copyright Edward Diener 2012
+(c) Copyright Hubert Holin 2001.
+(c) Copyright Ion Gaztanaga 2008
+(c) Copyright Jeremy Siek, 2001.
+(c) Copyright John Maddock 2000.
+(c) Copyright John Maddock 2001.
+(c) Copyright John Maddock 2002.
+(c) Copyright John Maddock 2003.
+(c) Copyright John Maddock 2005.
+(c) Copyright John Maddock 2006.
+(c) Copyright John Maddock 2007.
+(c) Copyright John Maddock 2008.
+(c) Copyright John Maddock 2010.
+(c) Copyright John Maddock 2011.
+(c) Copyright John Maddock 2015.
+(c) Copyright John Maddock 2017.
+(c) Copyright John Maddock 2018.
+(c) Copyright Lie-Quan Lee 2001.
+(c) Copyright Martin Wille 2003.
+(c) Copyright Orson Peters 2017.
+(c) Copyright Rani Sharoni 2003.
+Copyright (3) Ion Gaztanaga 2013
+Copyright (c) 2001 Bruce Florman
+Copyright (c) 2001 Daniel Nuffer
+Copyright (c) 2001 Dietmar Kuehl
+Copyright (c) 2002 Jeff Westfahl
+Copyright (c) 2003 Eric Friedman
+Copyright (c) 2003 Giovanni Bajo
+Copyright (c) 2003 Vaclav Vesely
+Copyright (c) 2004 Angus Leeming
+Copyright (c) 2004 Daniel Wallin
+Copyright (c) 2005 Aaron Windsor
+Copyright (c) 2005 Stefan Arentz
+Copyright (c) 2006 Daniel Wallin
+Copyright (c) 2006 Tomas Puverle
+Copyright (c) 2008 Eric Niebler.
+Copyright (c) 2008 Ion Gaztanaga
+Copyright (c) 2009 Andrew Sutton
+Copyright (c) 2009 Helge Bahmann
+Copyright (c) 2009 Phil Endecott
+Copyright (c) 2010 Artyom Beilis
+Copyright (c) 2010 Bryce Lelbach
+Copyright (c) 2010 Helge Bahmann
+Copyright (c) 2010 Thomas Heller
+Copyright (c) 2010 Tim Blechmann
+Copyright (c) 2011 Bryce Lelbach
+Copyright (c) 2011 Helge Bahmann
+Copyright (c) 2011 Thomas Heller
+Copyright (c) 2011 Tim Blechmann
+Copyright (c) 2012 Paul Fultz II
+Copyright (c) 2012 Tim Blechmann
+Copyright (c) 2013 Agustin Berge
+Copyright (c) 2013 Joaquim Duran
+Copyright (c) 2013 Tim Blechmann
+Copyright (c) 2014 Agustin Berge
+Copyright (c) 2014 Ahmed Charles
+Copyright (c) 2014 John Fletcher
+Copyright (c) 2014 Paul Fultz II
+Copyright (c) 2015 Artyom Beilis
+Copyright (c) 2015 Ion Gaztanaga
+Copyright (c) 2015 John Fletcher
+Copyright (c) 2015 Paul Fultz II
+Copyright (c) 2016 Barrett Adair
+Copyright (c) 2016 Paul Fultz II
+Copyright (c) 2017 Michel Morin.
+Copyright (c) Aaron Windsor 2007
+Copyright (c) Kevlin Henney 2001
+Copyright (c) Pablo Aguilar 2005
+Copyright 2002, 2009 Peter Dimov
+Copyright 2005, 2014 Peter Dimov
+Copyright 2006 Thorsten Ottosen.
+Copyright 2007 Christian Henning
+Copyright 2007, 2014 Peter Dimov
+Copyright 2007, 2019 Peter Dimov
+Copyright 2008 Christian Henning
+Copyright 2008 Intel Corporation
+Copyright 2009 Christian Henning
+Copyright 2009-2014 Neil Groves.
+Copyright 2010 Christian Henning
+Copyright 2010 Thomas Claveirole
+Copyright 2012 Christian Henning
+Copyright 2012 Olivier Tournaire
+Copyright 2013 Christian Henning
+Copyright 2013 Christian Shelton
+Copyright 2013 Cromwell D. Enage
+Copyright 2015-2017 Peter Dimov.
+Copyright 2015-2019 Peter Dimov.
+Copyright 2016, 2017 Peter Dimov
+Copyright 2017 James E. King III
+Copyright 2017-2019 Peter Dimov.
+Copyright Alexander Nasonov 2004
+Copyright Beman Dawes 1995-2001.
+Copyright Beman Dawes 2002, 2006
+Copyright Beman Dawes 2003, 2006
+Copyright Beman Dawes 2006, 2007
+Copyright Beman Dawes, 2002-2005
+Copyright Christopher Brown 2013
+Copyright Jason Rhinelander 2016
+Copyright Louis Dionne 2013-2017
+Copyright Neil Groves 2003-2004.
+Copyright Nicholas Thompson 2018
+Copyright Nikhar Agrawal 2013-14
+Copyright Nikolay Mladenov 2007.
+Copyright Pavol Droba 2002-2003.
+Copyright Pavol Droba 2002-2004.
+Copyright Pavol Droba 2002-2006.
+Copyright Peter Dimov 2017, 2018
+Copyright Thorsten Ottosen 2006.
+Copyright Thorsten Ottosen 2008.
+copyright Boost Software License
+copyright Louis Dionne 2013-2016
+copyright Louis Dionne 2013-2017
+(c) Copyright 2006 David Abrahams
+(c) Copyright 2006 Douglas Gregor
+(c) Copyright 2009 Eric Bose-Wolf
+(c) Copyright 2013 Ruslan Baratov
+(c) Copyright Anton Bikineev 2014
+(c) Copyright Artyom Beilis 2010.
+(c) Copyright Boris Gubenko 2007.
+(c) Copyright Bruno Lalande 2008.
+(c) Copyright Daniel Wallin 2004.
+(c) Copyright Daryle Walker 2001.
+(c) Copyright Douglas Gregor 2010
+(c) Copyright Edward Diener 2011.
+(c) Copyright Edward Diener 2013.
+(c) Copyright Edward Diener 2014.
+(c) Copyright Edward Diener 2015.
+(c) Copyright Edward Diener 2016.
+(c) Copyright Edward Diener 2019.
+(c) Copyright Gennaro Prota 2003.
+(c) Copyright Howard Hinnant 2004
+(c) Copyright Ion Gaztanaga 2005.
+(c) Copyright Ion Gaztanaga 2006.
+(c) Copyright Ion Gaztanaga 2009.
+(c) Copyright Ion Gaztanaga 2014.
+(c) Copyright Juergen Hunold 2008
+(c) Copyright Milan Svoboda 2008.
+(c) Copyright Nick Thompson 2017.
+(c) Copyright Nick Thompson 2018.
+(c) Copyright Nick Thompson 2019.
+(c) Copyright Noel Belcourt 2007.
+(c) Copyright Pablo Halpern 2009.
+(c) Copyright Ronald Garcia 2002.
+Copyright (c) 2000 Stephen Cleary
+Copyright (c) 2001 Daryle Walker.
+Copyright (c) 2001 David Abrahams
+Copyright (c) 2001 Stephen Cleary
+Copyright (c) 2002 David Abrahams
+Copyright (c) 2002 Joel de Guzman
+Copyright (c) 2003 David Abrahams
+Copyright (c) 2003 Gennaro Prota.
+Copyright (c) 2003 Hartmut Kaiser
+Copyright (c) 2003 Howard Hinnant
+Copyright (c) 2003 Joel de Guzman
+Copyright (c) 2003 Vesa Karvonen.
+Copyright (c) 2003 Vladimir Prus.
+Copyright (c) 2004 Hartmut Kaiser
+Copyright (c) 2004 Joel de Guzman
+Copyright (c) 2004 Ralf Mattethat
+Copyright (c) 2005 Igor Chesnokov
+Copyright (c) 2006 Douglas Gregor
+Copyright (c) 2006 Piotr Wyderski
+Copyright (c) 2006 Xiaogang Zhang
+Copyright (c) 2006-7 John Maddock
+Copyright (c) 2007 Douglas Gregor
+Copyright (c) 2007 Hartmut Kaiser
+Copyright (c) 2007 Joel de Guzman
+Copyright (c) 2008 Michael Marcin
+Copyright (c) 2009 Chris Hoeppler
+Copyright (c) 2009 Francois Barel
+Copyright (c) 2009 Gunter Winkler
+Copyright (c) 2009 Hartmut Kaiser
+Copyright (c) 2009 Sebastian Redl
+Copyright (c) 2010 Alfredo Correa
+Copyright (c) 2011 ! Brandon Kohn
+Copyright (c) 2011 Hartmut Kaiser
+Copyright (c) 2011 Thomas Bernard
+Copyright (c) 2012 Hartmut Kaiser
+Copyright (c) 2012 Martin Raspaud
+Copyright (c) 2013 Anton Bikineev
+Copyright (c) 2013 Mateusz Loskot
+Copyright (c) 2013 Sebastian Redl
+Copyright (c) 2014 Erik Erlandson
+Copyright (c) 2014 Glen Fernandes
+Copyright (c) 2014 Joel de Guzman
+Copyright (c) 2014 Oliver Kowalke
+Copyright (c) 2014 Thomas Bernard
+Copyright (c) 2015 Sebastian Redl
+Copyright (c) 2016 Norbert Wenzel
+Copyright (c) 2017 Daniela Engert
+Copyright (c) 2018 Alain Miniussi
+Copyright (c) 2018 Evgeny Shulgin
+Copyright (c) 2018 Stefan Seefeld
+Copyright (c) 2019 Joel de Guzman
+Copyright (c) Chris Glover, 2016.
+Copyright (c) Douglas Gregor 2004
+Copyright (c) Douglas Gregor 2008
+Copyright (c) Marshall Clow 2014.
+Copyright (c) Marshall Clow 2017.
+Copyright (c) Vladimir Prus 2003.
+Copyright 2001 Indiana University
+Copyright 2005 Alexander Nasonov.
+Copyright 2005-2009 Daniel James.
+Copyright 2005-2011 Daniel James.
+Copyright 2005-2012 Daniel James.
+Copyright 2005-2014 Daniel James.
+Copyright 2006-2007 Boris Gubenko
+Copyright 2007 Alexandre Courpron
+Copyright 2007-2008 CodeRage, LLC
+Copyright 2007-2012 Ion Gaztanaga
+Copyright 2015, 2016 Peter Dimov.
+Copyright 2015, 2017 Peter Dimov.
+Copyright 2015, 2019 Peter Dimov.
+Copyright 2017 James E. King, III
+Copyright 2017, 2018 Peter Dimov.
+Copyright 2017, 2019 Peter Dimov.
+Copyright Barrett Adair 2015-2017
+Copyright Barrett Adair 2015-2018
+Copyright Barrett Adair 2016-2017
+Copyright Cromwell D. Enage 2013.
+Copyright Cromwell D. Enage 2017.
+Copyright Cromwell D. Enage 2018.
+Copyright Cromwell D. Enage 2019.
+Copyright Dave Abrahams 2001-2002
+Copyright Eric Friedman 2002-2003
+Copyright John Maddock 2005-2006.
+Copyright John Maddock 2005-2008.
+Copyright Jonathan Turkanis 2005.
+Copyright Thijs van den Berg 2014
+Copyright Thorsten Ottosen, 2009.
+(c) Copyright 2005 Matthias Troyer
+(c) Copyright 2007 Matthias Troyer
+(c) Copyright 2008 Matthias Troyer
+(c) Copyright 2013 Andrey Semashev
+(c) Copyright 2017 Andrey Semashev
+(c) Copyright David Abrahams 2000.
+(c) Copyright David Abrahams 2001.
+(c) Copyright David Abrahams 2002.
+(c) Copyright David Abrahams 2003.
+(c) Copyright David Abrahams 2004.
+(c) Copyright Douglas Gregor 2001.
+(c) Copyright Douglas Gregor 2002.
+(c) Copyright Ignacy Gawedzki 2010
+(c) Copyright Joel de Guzman 2003.
+(c) Copyright John Maddock 2001-8.
+(c) Copyright John Maddock 2006-8.
+(c) Copyright Paul A. Bristow 2011
+(c) Copyright Roland Richter 2003.
+(c) Copyright Stefan Slapeta 2004.
+(c) Copyright Stephen Cleary 2000.
+Copyright (c) 1995, Gerald Evenden
+Copyright (c) 2000 David Abrahams.
+Copyright (c) 2003 Paul Mensonides
+Copyright (c) 2003-2008 Jan Gaspar
+Copyright (c) 2005 Douglas Gregor.
+Copyright (c) 2005-2007 Peder Holt
+Copyright (c) 2006 Steven Watanabe
+Copyright (c) 2006-2008 Johan Rade
+Copyright (c) 2007 Alexey Baskakov
+Copyright (c) 2007 Matthias Troyer
+Copyright (c) 2008 Frank Mori Hess
+Copyright (c) 2008 Steven Watanabe
+Copyright (c) 2008-2009 Ben Hanson
+Copyright (c) 2009 Boris Schaeling
+Copyright (c) 2009 Frank Mori Hess
+Copyright (c) 2009 Steven Watanabe
+Copyright (c) 2009, Gunter Winkler
+Copyright (c) 2009, Marco Guazzone
+Copyright (c) 2010 Paul A. Bristow
+Copyright (c) 2011 Emil Dotchevski
+Copyright (c) 2011 Steven Watanabe
+Copyright (c) 2012 Boris Schaeling
+Copyright (c) 2012 Kohei Takahashi
+Copyright (c) 2012, Michele Caini.
+Copyright (c) 2013 Antony Polukhin
+Copyright (c) 2013 Paul A. Bristow
+Copyright (c) 2014 Andrey Semashev
+Copyright (c) 2014 Christoph Weiss
+Copyright (c) 2014 Kohei Takahashi
+Copyright (c) 2015 Andrey Semashev
+Copyright (c) 2015 Kohei Takahashi
+Copyright (c) 2016 Kohei Takahashi
+Copyright (c) 2017 Andrey Semashev
+Copyright (c) 2017 Kohei Takahashi
+Copyright (c) 2018 Andrey Semashev
+Copyright (c) 2018 Kohei Takahashi
+Copyright (c) 2018-2019 Cem Bassoy
+Copyright (c) 2019 Andrey Semashev
+Copyright (c) Andrey Semashev 2017
+Copyright (c) David Abrahams 2001.
+Copyright 2002 Indiana University.
+Copyright 2003 Guillaume Melquiond
+Copyright 2005 Guillaume Melquiond
+Copyright 2007 Stanford University
+Copyright 2009-2011 Karsten Ahnert
+Copyright 2009-2011 Mario Mulansky
+Copyright 2009-2012 Karsten Ahnert
+Copyright 2009-2012 Mario Mulansky
+Copyright 2009-2013 Karsten Ahnert
+Copyright 2009-2013 Mario Mulansky
+Copyright 2009-2015 Mario Mulansky
+Copyright 2010-2011 Karsten Ahnert
+Copyright 2010-2011 Mario Mulansky
+Copyright 2010-2012 Karsten Ahnert
+Copyright 2010-2012 Mario Mulansky
+Copyright 2010-2013 Karsten Ahnert
+Copyright 2010-2013 Mario Mulansky
+Copyright 2010-2014 Mario Mulansky
+Copyright 2010-2015 Mario Mulansky
+Copyright 2011 -2013 John Maddock.
+Copyright 2011-2012 Karsten Ahnert
+Copyright 2011-2012 Mario Mulansky
+Copyright 2011-2013 Karsten Ahnert
+Copyright 2011-2013 Mario Mulansky
+Copyright 2011-2015 Mario Mulansky
+Copyright 2012-2013 Karsten Ahnert
+Copyright 2012-2013 Mario Mulansky
+Copyright 2012-2015 Mario Mulansky
+Copyright 2013-2014 Karsten Ahnert
+Copyright 2013-2014 Mario Mulansky
+Copyright 2015 Klemens Morgenstern
+Copyright 2015-2016 Hans Dembinski
+Copyright 2015-2017 Hans Dembinski
+Copyright 2015-2018 Hans Dembinski
+Copyright 2015-2019 Hans Dembinski
+Copyright 2016 Klemens Morgenstern
+Copyright 2018-2019 Hans Dembinski
+Copyright 2019 Przemyslaw Bartosik
+Copyright Christoper Kohlhoff 2007
+Copyright David Abrahams 2000-2002
+Copyright David Abrahams 2001-2002
+Copyright David Abrahams 2002-2003
+Copyright David Abrahams 2003-2004
+Copyright Douglas Gregor 2001-2006
+Copyright John Maddock 2006, 2007.
+Copyright John Maddock 2006, 2010.
+Copyright John Maddock 2007, 2014.
+Copyright John Maddock 2010, 2012.
+Copyright Vladimir Prus 2002-2004.
+(c) Copyright 2004 Pavel Vozenilek.
+(c) Copyright 2007 Anthony Williams
+(c) Copyright 2008 Anthony Williams
+(c) Copyright 2016 Raffi Enficiaud.
+(c) Copyright Andrey Semashev 2017.
+(c) Copyright Antony Polukhin 2013.
+(c) Copyright Antony Polukhin 2014.
+(c) Copyright Craig Henderson 2002.
+(c) Copyright Dustin Spicuzza 2009.
+(c) Copyright Jonathan Graehl 2004.
+(c) Copyright Paul A. Bristow 2006.
+(c) Copyright Paul Mensonides 2002.
+(c) Copyright Paul Mensonides 2003.
+(c) Copyright Paul Mensonides 2005.
+(c) Copyright Paul Mensonides 2011.
+(c) Copyright Paul Mensonides 2012.
+(c) Copyright Peter Dimov 2004-2005
+(c) Copyright Raffi Enficiaud 2017.
+(c) Copyright Raffi Enficiaud 2018.
+(c) Copyright Raffi Enficiaud 2019.
+Copyright (c) 2000, Frank Warmerdam
+Copyright (c) 2001-2003 Mac Murrett
+Copyright (c) 2001-2005 Peter Dimov
+Copyright (c) 2001-2008 Peter Dimov
+Copyright (c) 2002, Frank Warmerdam
+Copyright (c) 2003-2005 Peter Dimov
+Copyright (c) 2004 Arkadiy Vertleyb
+Copyright (c) 2005 Arkadiy Vertleyb
+Copyright (c) 2005-2006 Dan Marsden
+Copyright (c) 2005-2007 Dan Marsden
+Copyright (c) 2006 Arkadiy Vertleyb
+Copyright (c) 2006 Tobias Schwinger
+Copyright (c) 2007 Tobias Schwinger
+Copyright (c) 2011 Julio Hoffimann.
+Copyright (c) 2012 Anthony Williams
+Copyright (c) 2012 Lorenzo Caminiti
+Copyright (c) 2013-2014 Damien Buhl
+Copyright (c) 2016 K. Noel Belcourt
+Copyright (c) 2016-2019Damian Jarek
+Copyright 2002, 2005 Daryle Walker.
+Copyright 2008 Andreas Huber Doenni
+Copyright 2008-2009 Frank Mori Hess
+Copyright 2008-2010 Gordon Woodhull
+Copyright 2011 - 2013 John Maddock.
+Copyright 2011-2012 Steven Watanabe
+Copyright 2012-2013 Steven Watanabe
+Copyright 2015-2018 Andrey Semashev
+Copyright 2016-2018 Andrey Semashev
+Copyright 2017, NVIDIA CORPORATION.
+Copyright Douglas Gregor 2001-2003.
+Copyright Douglas Gregor 2001-2004.
+Copyright Douglas Gregor 2002-2003.
+Copyright Douglas Gregor 2002-2004.
+Copyright Eric Niebler 2013-present
+Copyright Gottfried Ganssauge 2003.
+Copyright Howard Hinnant 2007-2010.
+Copyright John R. Bandela 2000-2002
+Copyright Kevlin Henney, 2000-2005.
+Copyright Michael Drexl 2005, 2006.
+Copyright Sebastian Ramacher, 2007.
+Copyright Steven Watanabe 2009-2011
+Copyright Steven Watanabe 2010-2011
+Copyright Thijs van den Berg, 2008.
+(c) Copyright 2002, 2003 Beman Dawes
+(c) Copyright 2002-2009 Robert Ramey
+(c) Copyright 2002-2014 Robert Ramey
+(c) Copyright 2002-4 Pavel Vozenilek
+(c) Copyright 2016 Ashish Sadanandan
+(c) Copyright Aleksey Gurtovoy 2002.
+(c) Copyright Aleksey Gurtovoy 2003.
+(c) Copyright Beman Dawes 1995-2001.
+(c) Copyright Beman Dawes 1999-2003.
+(c) Copyright Beman Dawes 2006, 2009
+(c) Copyright Daniel Frey 2002-2017.
+(c) Copyright Eric Niebler 2004-2005
+(c) Copyright Herve Bronnimann 2004.
+(c) Copyright Jeremiah Willcock 2004
+(c) Copyright Jeremy Siek 1999-2001.
+(c) Copyright Jessica Hamilton 2014.
+(c) Copyright Markus Schoepflin 2007
+(c) Copyright Matthias Troyerk 2006.
+(c) Copyright Peter Dimov 2001, 2002
+(c) Copyright Reimar Doffinger 2018.
+(c) Copyright Thomas Claveirole 2010
+(c) Copyright Thorsten Ottosen 2005.
+Copyright (2) Beman Dawes 2010, 2011
+Copyright (c) 1998-2002 John Maddock
+Copyright (c) 1998-2004 John Maddock
+Copyright (c) 1998-2005 John Maddock
+Copyright (c) 1998-2009 John Maddock
+Copyright (c) 1999-2003 Jaakko Jarvi
+Copyright (c) 2001 Alexander Peslyak
+Copyright (c) 2001 Daniel C. Nuffer.
+Copyright (c) 2001, 2002 Peter Dimov
+Copyright (c) 2001, Daniel C. Nuffer
+Copyright (c) 2001-2003 John Maddock
+Copyright (c) 2002, 2003 Peter Dimov
+Copyright (c) 2002-2003 Martin Wille
+Copyright (c) 2003 Gerald I. Evenden
+Copyright (c) 2003-2005 John Maddock
+Copyright (c) 2004 Gerald I. Evenden
+Copyright (c) 2005 Matthew Calabrese
+Copyright (c) 2005-2009 Jongsoo Park
+Copyright (c) 2005-2016 Daniel James
+Copyright (c) 2007 Marcin Kalicinski
+Copyright (c) 2007, 2008 Peter Dimov
+Copyright (c) 2007, 2013 Peter Dimov
+Copyright (c) 2007, 2014 Peter Dimov
+Copyright (c) 2008 Gerald I. Evenden
+Copyright (c) 2008, 2009 Peter Dimov
+Copyright (c) 2008, 2011 Peter Dimov
+Copyright (c) 2008, 2018 Peter Dimov
+Copyright (c) 2009, 2015 Peter Dimov
+Copyright (c) 2010-2011 David Bellot
+Copyright (c) 2013 Tim Blechmann ARM
+Copyright (c) 2015-2019 Vinnie Falco
+Copyright (c) 2016-2019 Vinnie Falco
+Copyright (c) 2017 James E. King III
+Copyright (c) 2018 James E. King III
+Copyright (c) Christof Meerwald 2003
+Copyright (c) Jeremy Siek 2001-2003.
+Copyright (c) T. Zachary Laine 2018.
+Copyright 2011, 2012 Paul A. Bristow
+Copyright 2011-2013 Thorsten Ottosen
+Copyright 2013 Christopher Kormanyos
+Copyright 2013 University of Warsaw.
+Copyright 2013, 2017 Andrey Semashev
+Copyright 2013, 2017-2018 Cray, Inc.
+Copyright 2014 Christopher Kormanyos
+Copyright 2015, 2017 Andrey Semashev
+Copyright 2015-2019 Antony Polukhin.
+Copyright 2016, 2017 Andrey Semashev
+Copyright 2016-2019 Antony Polukhin.
+Copyright 2018, 2019 Andrey Semashev
+Copyright 2018-2019 Antony Polukhin.
+Copyright Aleksey Gurtovoy 2000-2002
+Copyright Aleksey Gurtovoy 2000-2003
+Copyright Aleksey Gurtovoy 2000-2004
+Copyright Aleksey Gurtovoy 2000-2006
+Copyright Aleksey Gurtovoy 2000-2008
+Copyright Aleksey Gurtovoy 2000-2009
+Copyright Aleksey Gurtovoy 2000-2010
+Copyright Aleksey Gurtovoy 2001-2004
+Copyright Aleksey Gurtovoy 2001-2006
+Copyright Aleksey Gurtovoy 2001-2007
+Copyright Aleksey Gurtovoy 2001-2008
+Copyright Aleksey Gurtovoy 2002-2004
+Copyright Aleksey Gurtovoy 2002-2006
+Copyright Aleksey Gurtovoy 2003-2004
+Copyright Aleksey Gurtovoy 2003-2007
+Copyright Frank Mori Hess 2007,2009.
+Copyright Frank Mori Hess 2007-2008.
+Copyright Frank Mori Hess 2007-2009.
+Copyright Frank Mori Hess 2007-2010.
+Copyright Kohei Takahashi 2012-2014.
+Copyright Paul A. Bristow 2006-2011.
+Copyright Paul A. Bristow 2007, 2009
+Copyright Shunsuke Sogame 2005-2006.
+copyright 2004 Brian Ravnsgaard Riis
+(c) Copyright 2005-7 Anthony Williams
+(c) Copyright 2005-8 Anthony Williams
+(c) Copyright 2006-7 Anthony Williams
+(c) Copyright 2006-8 Anthony Williams
+(c) Copyright 2007-2009 Andrew Sutton
+(c) Copyright 2007-8 Anthony Williams
+(c) Copyright 2007-9 Anthony Williams
+(c) Copyright 2008-9 Anthony Williams
+(c) Copyright Edward Diener 2011,2012
+(c) Copyright Edward Diener 2011-2015
+(c) Copyright Edward Diener 2012,2013
+(c) Copyright Gennadiy Rozental 2001.
+(c) Copyright Ion Gaztanaga 2006-2015
+(c) Copyright Ion Gaztanaga 2010-2013
+(c) Copyright Ion Gaztanaga 2013-2014
+(c) Copyright John Maddock 2005-2006.
+(c) Copyright John Maddock 2006, 2015
+(c) Copyright Jonathan Turkanis 2003.
+(c) Copyright Jonathan Turkanis 2004.
+(c) Copyright Markus Schoepflin 2005.
+(c) Copyright Michael Glassford 2004.
+(c) Copyright Rani Sharoni 2003-2005.
+(c) Copyright Yuriy Krasnoschek 2009.
+Copyright (c) 1991-2009 Unicode, Inc.
+Copyright (c) 2001-2003 Daniel Nuffer
+Copyright (c) 2002 Raghavendra Satish
+Copyright (c) 2002-2003 Eric Friedman
+Copyright (c) 2003-2004 Gennaro Prota
+Copyright (c) 2004 Kristopher Beevers
+Copyright (c) 2005, 2014 Eric Niebler
+Copyright (c) 2005-2006 Joao Abecasis
+Copyright (c) 2005-2008 Daniel James.
+Copyright (c) 2005-2011 Daniel James.
+Copyright (c) 2006, Stephan Diederich
+Copyright (c) 2007, 2013 John Maddock
+Copyright (c) 2007, Tobias Schwinger.
+Copyright (c) 2007-8 Anthony Williams
+Copyright (c) 2007-9 Anthony Williams
+Copyright (c) 2008-2011 Daniel James.
+Copyright (c) 2008-2013 Tim Blechmann
+Copyright (c) 2008-2016 Daniel James.
+Copyright (c) 2008-2016 Tim Blechmann
+Copyright (c) 2009-2011 Artyom Beilis
+Copyright (c) 2009-2013 Tim Blechmann
+Copyright (c) 2010-2011 Bryce Lelbach
+Copyright (c) 2010-2011 Thomas Heller
+Copyright (c) 2010-2011 Tim Blechmann
+Copyright (c) 2011 Jan Frederick Eick
+Copyright (c) 2011-2013 Andrew Hundt.
+Copyright (c) 2013-2014 Agustin Berge
+Copyright (c) 2013-2014 Ion Gaztanaga
+Copyright (c) 2014-2015 John Fletcher
+Copyright (c) Intel Corporation 2008.
+Copyright 1999-2003 Aleksey Gurtovoy.
+Copyright 2007-2008 Christian Henning
+Copyright 2008 Joaquin M Lopez Munoz.
+Copyright 2016 Joaquin M Lopez Munoz.
+Copyright 2016 Klemens D. Morgenstern
+Copyright 2017 Joaquin M Lopez Munoz.
+Copyright 2017 Valentin Noah Hartmann
+Copyright 2018 Joaquin M Lopez Munoz.
+Copyright Andrii Sydorchuk 2010-2012.
+Copyright Antony Polukhin, 2011-2019.
+Copyright Antony Polukhin, 2013-2014.
+Copyright Antony Polukhin, 2013-2019.
+Copyright Antony Polukhin, 2016-2019.
+Copyright Beman Dawes 1994-2007, 2011
+Copyright Beman Dawes 2002-2005, 2009
+Copyright Christopher Kormanyos 2013.
+Copyright Christopher Kormanyos 2014.
+Copyright Matthew Pulver 2018 - 2019.
+Copyright Paul A. Bristow 2006, 2007.
+Copyright Paul A. Bristow 2008, 2010.
+Copyright Paul A. Bristow 2008, 2014.
+Copyright Paul A. Bristow 2011, 2012.
+Copyright Steven J. Ross 2001 - 2009.
+Copyright Steven J. Ross 2001 - 2014.
+Copyright Thorsten Ottosen 2003-2004.
+Copyright Thorsten Ottosen 2003-2005.
+Copyright Thorsten Ottosen 2003-2006.
+Copyright Thorsten Ottosen 2003-2007.
+Copyright Thorsten Ottosen 2003-2008.
+copyright Gonzalo Brito Gadeschi 2015
+(c) Copyright 2007-10 Anthony Williams
+(c) Copyright 2008-10 Anthony Williams
+(c) Copyright 2009-2011 Frederic Bron.
+(c) Copyright Beman Dawes 2001 - 2003.
+(c) Copyright Beman Dawes 2002 - 2003.
+(c) Copyright Darin Adler 2001 - 2002.
+(c) Copyright Daryle Walker 2000-2001.
+(c) Copyright Daryle Walker 2001-2002.
+(c) Copyright Edward Diener 2011,2013.
+(c) Copyright Edward Diener 2011,2014.
+(c) Copyright Edward Diener 2014,2019.
+(c) Copyright Eric Friedman 2002-2003.
+(c) Copyright Ion Gaztanaga 2004-2015.
+(c) Copyright Ion Gaztanaga 2005-2012.
+(c) Copyright Ion Gaztanaga 2005-2013.
+(c) Copyright Ion Gaztanaga 2005-2014.
+(c) Copyright Ion Gaztanaga 2005-2015.
+(c) Copyright Ion Gaztanaga 2005-2016.
+(c) Copyright Ion Gaztanaga 2006-2012.
+(c) Copyright Ion Gaztanaga 2006-2013.
+(c) Copyright Ion Gaztanaga 2006-2014.
+(c) Copyright Ion Gaztanaga 2007-2012.
+(c) Copyright Ion Gaztanaga 2007-2013.
+(c) Copyright Ion Gaztanaga 2007-2014.
+(c) Copyright Ion Gaztanaga 2008-2012.
+(c) Copyright Ion Gaztanaga 2008-2013.
+(c) Copyright Ion Gaztanaga 2008-2015.
+(c) Copyright Ion Gaztanaga 2009-2012.
+(c) Copyright Ion Gaztanaga 2009-2013.
+(c) Copyright Ion Gaztanaga 2010-2012.
+(c) Copyright Ion Gaztanaga 2010-2016.
+(c) Copyright Ion Gaztanaga 2011-2012.
+(c) Copyright Ion Gaztanaga 2011-2013.
+(c) Copyright Ion Gaztanaga 2011-2014.
+(c) Copyright Ion Gaztanaga 2012-2012.
+(c) Copyright Ion Gaztanaga 2012-2013.
+(c) Copyright Ion Gaztanaga 2012-2015.
+(c) Copyright Ion Gaztanaga 2012-2016.
+(c) Copyright Ion Gaztanaga 2013-2013.
+(c) Copyright Ion Gaztanaga 2014-2014.
+(c) Copyright Ion Gaztanaga 2014-2015.
+(c) Copyright Ion Gaztanaga 2014-2017.
+(c) Copyright Ion Gaztanaga 2015-2015.
+(c) Copyright Ion Gaztanaga 2015-2016.
+(c) Copyright Ion Gaztanaga 2015-2017.
+(c) Copyright Ion Gaztanaga 2016-2016.
+(c) Copyright Ion Gaztanaga 2017-2017.
+(c) Copyright Ion Gaztanaga 2017-2018.
+(c) Copyright Ion Gaztanaga 2018-2018.
+(c) Copyright Jens Maurer 2001 - 2002.
+(c) Copyright Jens Maurer 2001 - 2003.
+(c) Copyright Jens Maurer 2002 - 2003.
+(c) Copyright Toon Knapen 2001 - 2003.
+(c) Copyright Vicente J. Botet Escriba
+Copyright (c) 1998-2003 Joel de Guzman
+Copyright (c) 1998-2008 Joel de Guzman
+Copyright (c) 2001-2002 Joel de Guzman
+Copyright (c) 2001-2003 Hartmut Kaiser
+Copyright (c) 2001-2003 Joel de Guzman
+Copyright (c) 2001-2007 Hartmut Kaiser
+Copyright (c) 2001-2007 Joel de Guzman
+Copyright (c) 2001-2008 Hartmut Kaiser
+Copyright (c) 2001-2008 Joel de Guzman
+Copyright (c) 2001-2009 Joel de Guzman
+Copyright (c) 2001-2010 Hartmut Kaiser
+Copyright (c) 2001-2010 Joel de Guzman
+Copyright (c) 2001-2011 Joel de Guzman
+Copyright (c) 2001-2011 Thomas Bernard
+Copyright (c) 2001-2012 Joel de Guzman
+Copyright (c) 2001-2013 Joel de Guzman
+Copyright (c) 2001-2014 Joel de Guzman
+Copyright (c) 2001-2015 Joel de Guzman
+Copyright (c) 2001-2019 Joel de Guzman
+Copyright (c) 2002-2003 David Abrahams
+Copyright (c) 2002-2003 Hartmut Kaiser
+Copyright (c) 2002-2003 Joel de Guzman
+Copyright (c) 2002-2006 Hartmut Kaiser
+Copyright (c) 2004 Jonathan Brandmeyer
+Copyright (c) 2005-2006 Alain Miniussi
+Copyright (c) 2005-2006 Douglas Gregor
+Copyright (c) 2005-2008 Hartmut Kaiser
+Copyright (c) 2005-2010 Joel de Guzman
+Copyright (c) 2005-2011 Joel de Guzman
+Copyright (c) 2005-2012 Joel de Guzman
+Copyright (c) 2005-2013 Joel de Guzman
+Copyright (c) 2007-2011 Hartmut Kaiser
+Copyright (c) 2008, 2016 Tim Blechmann
+Copyright (c) 2008-2011 Hartmut Kaiser
+Copyright (c) 2009 Christopher Schmidt
+Copyright (c) 2009, 2011 Helge Bahmann
+Copyright (c) 2009, 2016 Tim Blechmann
+Copyright (c) 2009-2010 Hartmut Kaiser
+Copyright (c) 2010 Christopher Schmidt
+Copyright (c) 2011, 2016 Tim Blechmann
+Copyright (c) 2011-2012 ! Brandon Kohn
+Copyright (c) 2011-2012 Thomas Bernard
+Copyright (c) 2014 Riccardo Marcangelo
+Copyright (c) Christopher Diggins 2005
+Copyright (c) Marshall Clow 2008-2012.
+Copyright (c) Marshall Clow 2010-2012.
+Copyright (c) Marshall Clow 2011-2012.
+Copyright (c) Marshall Clow 2012-2012.
+Copyright (c) Marshall Clow 2012-2015.
+Copyright 2002, 2009, 2014 Peter Dimov
+Copyright 2007 University of Karlsruhe
+Copyright Andrey Semashev 2007 - 2013.
+Copyright Andrey Semashev 2007 - 2014.
+Copyright Andrey Semashev 2007 - 2015.
+Copyright Andrey Semashev 2007 - 2016.
+Copyright Beman Dawes 1994, 2006, 2008
+Copyright Beman Dawes 2003, 2006, 2008
+Copyright Beman Dawes 2003, 2006, 2010
+Copyright Beman Dawes 2003, 2006, 2011
+Copyright Beman Dawes 2010, 2011, 2014
+(c) Copyright 2005-2006 Matthias Troyer
+(c) Copyright 2005-2007 Matthias Troyer
+(c) Copyright Guillaume Melquiond 2003.
+(c) Copyright Howard Hinnant 2007-2010.
+(c) Copyright John Maddock 2001 - 2002.
+(c) Copyright John Maddock 2001 - 2003.
+(c) Copyright John Maddock 2002 - 2003.
+(c) Copyright Nicolai M. Josuttis 2001.
+(c) Copyright Olaf Krzikalla 2004-2006.
+Copyright (c) 1998-2000 Dr John Maddock
+Copyright (c) 2000, 2001 Stephen Cleary
+Copyright (c) 2001-2009, Hartmut Kaiser
+Copyright (c) 2001-2011 Hartmut Kaiser.
+Copyright (c) 2001-2012 Hartmut Kaiser.
+Copyright (c) 2001-2013 Hartmut Kaiser.
+Copyright (c) 2007-2008 Steven Watanabe
+Copyright (c) 2007-2009 Steven Watanabe
+Copyright (c) 2007-2010 Steven Watanabe
+Copyright (c) 2008-2009 Frank Mori Hess
+Copyright (c) 2009-2010, Marco Guazzone
+Copyright (c) 2009-2012, Marco Guazzone
+Copyright (c) 2009-2016 Vladimir Batov.
+Copyright (c) 2011-2015 Akira Takahashi
+Copyright (c) 2011-2019 Antony Polukhin
+Copyright (c) 2012 Pieter Bastiaan Ober
+Copyright (c) 2012-2014 Kohei Takahashi
+Copyright (c) 2013-2014 Andrey Semashev
+Copyright (c) 2014 Pieter Bastiaan Ober
+Copyright (c) 2014,2018 Kohei Takahashi
+Copyright (c) 2014-2015 Kohei Takahashi
+Copyright (c) 2014-2019 Antony Polukhin
+Copyright (c) 2015 Andrzej Krzemienski.
+Copyright (c) 2015-2019 Antony Polukhin
+Copyright (c) 2016 Andrzej Krzemienski.
+Copyright (c) 2016-2019 Antony Polukhin
+Copyright (c) 2017 Andrzej Krzemienski.
+Copyright (c) 2018-2019 Antony Polukhin
+Copyright 2002-2003 Guillaume Melquiond
+Copyright 2009 Vicente J. Botet Escriba
+Copyright 2010 Vicente J. Botet Escriba
+Copyright 2011 Vicente J. Botet Escriba
+Copyright 2012 Vicente J. Botet Escriba
+Copyright 2015, 2017, 2019 Peter Dimov.
+Copyright 2016, 2018, 2019 Peter Dimov.
+Copyright Alexander Nasonov, 2006-2010.
+Copyright Christopher Kormanyos 2013-14
+Copyright John Maddock 2005-2006, 2011.
+Copyright John Maddock 2006-7, 2013-14.
+Copyright Vicente J. Botet Escriba 2009
+Copyright Vicente J. Botet Escriba 2010
+(c) Copyright 2007-2010 Anthony Williams
+(c) Copyright 2009-2012 Anthony Williams
+(c) Copyright Boris Gubenko 2006 - 2007.
+(c) Copyright Gennaro Prota 2003 - 2004.
+(c) Copyright Microsoft Corporation 2014
+(c) Copyright Paul Mensonides 2002-2011.
+Copyright (arg) 2001-2014 Joel de Guzman
+Copyright (c) 2001-2003 William E. Kempf
+Copyright (c) 2004-2008 Rene Nyffenegger
+Copyright (c) 2005, 2006 Douglas Gregor.
+Copyright (c) 2006-2007 Matias Capeletto
+Copyright (c) 2006-2007 Tobias Schwinger
+Copyright (c) 2007-2008 Tobias Schwinger
+Copyright (c) 2008-2018 Lorenzo Caminiti
+Copyright (c) 2008-2019 Lorenzo Caminiti
+Copyright (c) 2009-2012 Lorenzo Caminiti
+Copyright (c) 2010 Athanasios Iliopoulos
+Copyright (c) 2011 Christopher Jefferson
+Copyright (c) 2012-2019 Antony Polukhin.
+Copyright (c) 2013 Christopher Kormanyos
+Copyright (c) 2013-2019 Antony Polukhin.
+Copyright (c) 2014, 2019 Andrey Semashev
+Copyright (c) 2014, Andrzej Krzemienski.
+Copyright (c) 2015 Agustin K-ballo Berge
+Copyright (c) 2016-2018 T. Zachary Laine
+Copyright (c) Microsoft Corporation 2014
+Copyright 2000 University of Notre Dame.
+Copyright 2001 University of Notre Dame.
+Copyright 2002-2006 Andreas Huber Doenni
+Copyright 2002-2007 Andreas Huber Doenni
+Copyright 2002-2008 Andreas Huber Doenni
+Copyright 2002-2010 Andreas Huber Doenni
+Copyright 2005-2006 Andreas Huber Doenni
+Copyright 2005-2008 Andreas Huber Doenni
+Copyright 2012-2013 Andreas Angelopoulos
+Copyright Paul A. Bristow 2007, 2013-14.
+Copyright Ralf W. Grosse-Kunstleve 2006.
+Copyright Vicente J. Botet Escriba 2012.
+(c) Copyright 2003-2007 Jonathan Turkanis
+(c) Copyright 2004-2007 Jonathan Turkanis
+(c) Copyright 2005-2007 Jonathan Turkanis
+(c) Copyright Christopher Jefferson 2011.
+(c) Copyright David Abrahams 2001 - 2002.
+(c) Copyright David Abrahams 2002 - 2003.
+(c) Copyright Jeremy William Murphy 2015.
+(c) Copyright Jeremy William Murphy 2016.
+(c) Copyright R.W. Grosse-Kunstleve 2002.
+(c) Copyright Thorsten Ottosen 2002-2003.
+CNRS/Univ. Clermont II Copyright 2014 LRI
+Copyright (c) 1999-2003 Jeremiah Willcock
+Copyright (c) 2001-2009, 2012 Peter Dimov
+Copyright (c) 2002 by Andrei Alexandrescu
+Copyright (c) 2002-2006 Marcin Kalicinski
+Copyright (c) 2002-2007 Marcin Kalicinski
+Copyright (c) 2004, 2005 Arkadiy Vertleyb
+Copyright (c) 2007-2009 Joachim Faulhaber
+Copyright (c) 2007-2010 Joachim Faulhaber
+Copyright (c) 2007-2011 Joachim Faulhaber
+Copyright (c) 2007-2012 Joachim Faulhaber
+Copyright (c) 2008 Federico J. Fernandez.
+Copyright (c) 2008-2009 Joachim Faulhaber
+Copyright (c) 2008-2010 Joachim Faulhaber
+Copyright (c) 2008-2011 Joachim Faulhaber
+Copyright (c) 2008-2012 Joachim Faulhaber
+Copyright (c) 2008-2012 Simonson Lucanus.
+Copyright (c) 2009-2009 Joachim Faulhaber
+Copyright (c) 2009-2010 Joachim Faulhaber
+Copyright (c) 2009-2011 Joachim Faulhaber
+Copyright (c) 2010-2010 Joachim Faulhaber
+Copyright (c) 2010-2011 Joachim Faulhaber
+Copyright (c) 2011-2011 Joachim Faulhaber
+Copyright (c) 2012 - 2014 Andrey Semashev
+Copyright (c) 2012-2012 Andrii Sydorchuk.
+Copyright (c) 2013 - 2014 Andrey Semashev
+Copyright (c) 2013 - 2018 Andrey Semashev
+Copyright (c) 2014 - 2018 Andrey Semashev
+Copyright (c) 2014, Athanasios Iliopoulos
+Copyright (c) 2016 Klemens D. Morgenstern
+Copyright (c) 2017 - 2018 Andrey Semashev
+Copyright (c) 2017 Klemens D. Morgenstern
+Copyright (c) 2018 Klemens D. Morgenstern
+Copyright (c) 2019 Klemens D. Morgenstern
+Copyright 2001, 2004, 2011 Daryle Walker.
+Copyright 2006 Michael van der Westhuizen
+Copyright 2008 Adobe Systems Incorporated
+Copyright 2010-2012, D. E. Shaw Research.
+Copyright Gottfried Ganssauge 2003..2006.
+copyright (c) 1995-2010 Geodan, Amsterdam
+(c) Copyright 2011Vicente J. Botet Escriba
+(c) Copyright Beman Dawes 2006, 2009, 2014
+(c) Copyright Edward Diener 2011,2012,2013
+(c) Copyright Edward Diener 2011-2015,2019
+(c) Copyright Jonathan Turkanis 2004-2005.
+(c) Copyright Peter Dimov 2001, 2002, 2003
+(c) Copyright Samuli-Petrus Korhonen 2017.
+Copyright (c) 1994 Hewlett-Packard Company
+Copyright (c) 2000 Cadenza New Zealand Ltd
+Copyright (c) 2001 by Andrei Alexandrescu.
+Copyright (c) 2001, 2002, 2003 Peter Dimov
+Copyright (c) 2001, 2002, 2012 Peter Dimov
+Copyright (c) 2002, 2008, 2013 Peter Dimov
+Copyright (c) 2002, 2009, 2014 Peter Dimov
+Copyright (c) 2003, 2006 Gerald I. Evenden
+Copyright (c) 2006, 2009 Marcin Kalicinski
+Copyright (c) 2007, 2008, 2012 Peter Dimov
+Copyright (c) 2007, 2013, 2015 Peter Dimov
+Copyright (c) 2017, 2018 James E. King III
+Copyright 2003-2008 Joaquin M Lopez Munoz.
+Copyright 2003-2013 Joaquin M Lopez Munoz.
+Copyright 2003-2014 Joaquin M Lopez Munoz.
+Copyright 2003-2015 Joaquin M Lopez Munoz.
+Copyright 2003-2016 Joaquin M Lopez Munoz.
+Copyright 2003-2017 Joaquin M Lopez Munoz.
+Copyright 2003-2018 Joaquin M Lopez Munoz.
+Copyright 2003-2019 Joaquin M Lopez Munoz.
+Copyright 2006 Eric Niebler, Olivier Gygi.
+Copyright 2006-2008 Joaquin M Lopez Munoz.
+Copyright 2006-2009 Joaquin M Lopez Munoz.
+Copyright 2006-2011 Joaquin M Lopez Munoz.
+Copyright 2006-2013 Joaquin M Lopez Munoz.
+Copyright 2006-2014 Joaquin M Lopez Munoz.
+Copyright 2006-2015 Joaquin M Lopez Munoz.
+Copyright 2006-2018 Joaquin M Lopez Munoz.
+Copyright 2006-2019 Joaquin M Lopez Munoz.
+Copyright 2015-2018 Klemens D. Morgenstern
+Copyright 2016-2017 Joaquin M Lopez Munoz.
+Copyright 2016-2018 Joaquin M Lopez Munoz.
+Copyright 2016-2019 Joaquin M Lopez Munoz.
+Copyright 2017-2018 Joaquin M Lopez Munoz.
+Copyright Arno Schoedl & Neil Groves 2009.
+Copyright Kevlin Henney, 2000, 2001, 2002.
+Portions Copyright (c) 2002 David Abrahams
+(c) Copyright 2010 Vicente J. Botet Escriba
+(c) Copyright 2011 Vicente J. Botet Escriba
+(c) Copyright 2012 Vicente J. Botet Escriba
+(c) Copyright 2013 Vicente J. Botet Escriba
+(c) Copyright 2014 Vicente J. Botet Escriba
+(c) Copyright Aleksey Gurtovoy 2002 - 2003.
+Copyright (c) 2003-2004, 2008 Gennaro Prota
+Copyright (c) 2003-2006, 2008 Gennaro Prota
+Copyright (c) 2009-2010 Christopher Schmidt
+Copyright (c) 2009-2011 Christopher Schmidt
+Copyright (c) 2010-2011 Christopher Schmidt
+Copyright (c) 2011 Vicente J. Botet Escriba
+Copyright (c) 2011-2013, 2016 Tim Blechmann
+Copyright (c) 2012 Vicente J. Botet Escriba
+Copyright (c) 2013 Vicente J. Botet Escriba
+Copyright (c) 2014 Vicente J. Botet Escriba
+Copyright (c) 2015 Vicente J. Botet Escriba
+Copyright (c) 2017 Vicente J. Botet Escriba
+Copyright 2002 Brad King and Douglas Gregor
+Copyright 2005 Daniel Egloff, Eric Niebler.
+Copyright 2005 Daniel Egloff, Olivier Gygi.
+Copyright 2005 Eric Niebler, Daniel Egloff.
+Copyright 2006 Daniel Egloff, Olivier Gygi.
+Copyright 2006 Olivier Gygi, Daniel Egloff.
+Copyright 2006, Eric Niebler, Olivier Gygi.
+Copyright 2010 Daniel Wallin, Eric Niebler.
+Copyright Paul A. Bristow 2006, 2007, 2012.
+Copyright Paul A. Bristow 2006, 2012, 2017.
+Copyright Paul A. Bristow 2016, 2017, 2018.
+(c) Copyright Eric Ford & Hubert Holin 2001.
+(c) Copyright Eric Ford 2001 & Hubert Holin.
+(c) Copyright Markus Schoepflin 2002 - 2003.
+(c) Copyright Vicente J. Botet Escriba 2010.
+(c) Copyright Vicente J. Botet Escriba 2014.
+Copyright (c) 2002 Eric Friedman, Itay Maman
+Copyright (c) 2002 Juan Carlos Arevalo-Baeza
+Copyright (c) 2003 Eric Friedman, Itay Maman
+Copyright (c) 2008, 2009, 2016 Tim Blechmann
+Copyright (c) 2012 Barend Gehrels, Amsterdam
+Copyright (c) 2013 Barend Gehrels, Amsterdam
+Copyright (c) 2014 Barend Gehrels, Amsterdam
+Copyright (c) 2014,2015,2018 Kohei Takahashi
+Copyright (c) 2014-2016 Andrzej Krzemienski.
+Copyright (c) 2015 Barend Gehrels, Amsterdam
+Copyright (c) 2015-2018 Andrzej Krzemienski.
+Copyright (c) 2017 Barend Gehrels, Amsterdam
+Copyright (c) 2019 Barend Gehrels, Amsterdam
+Copyright 2009-2010 Vicente J. Botet Escriba
+Copyright 2009-2011 Vicente J. Botet Escriba
+Copyright 2009-2012 Vicente J. Botet Escriba
+Copyright 2012 (c) Jeffrey Lee Hellrung, Jr.
+Copyright Christopher Kormanyos 2002 - 2011.
+Copyright Christopher Kormanyos 2002 - 2013.
+Copyright Vicente J. Botet Escriba 2009-2011
+(c) Copyright Joaquin M Lopez Munoz 2006-2013
+Copyright (c) 2006 Michael van der Westhuizen
+Copyright (c) 2014, 2015 Andrzej Krzemienski.
+Copyright 1997-2001 University of Notre Dame.
+Copyright 2000 Jeremy Siek (jsiek@lsc.nd.edu)
+Copyright 2005 Trustees of Indiana University
+Copyright 2006 Trustees of Indiana University
+Copyright Beman Dawes and Daryle Walker 1999.
+Copyright Daniel Wallin, David Abrahams 2005.
+Copyright Daniel Wallin, David Abrahams 2010.
+Copyright David Abrahams, Daniel Wallin 2003.
+Copyright David Abrahams, Daniel Wallin 2005.
+Copyright Thorsten Ottosen, Neil Groves 2006.
+(c) Copyright Guillaume Melquiond 2002 - 2003.
+Copyright (c) 2004 CrystalClear Software, Inc.
+Copyright (c) 2005 CrystalClear Software, Inc.
+Copyright (c) 2006 CrystalClear Software, Inc.
+Copyright (c) 2006, 2007 Julio M. Merino Vidal
+Copyright (c) 2011 Jeff Flinn, Boris Schaeling
+Copyright (c) 2012 Mateusz Loskot, London, UK.
+Copyright (c) 2013 Mateusz Loskot, London, UK.
+Copyright (c) 2014 - 2018 Andrzej Krzemienski.
+Copyright (c) 2014 Mateusz Loskot, London, UK.
+Copyright (c) 2015 - 2017 Andrzej Krzemienski.
+Copyright (c) 2016 Modified Work Barrett Adair
+Copyright 2005 Eric Niebler, Michael Gauckler.
+Copyright 2005-2007 Adobe Systems Incorporated
+Copyright 2009 Trustees of Indiana University.
+Copyright 2011 Garmin Ltd. or its subsidiaries
+Copyright 2012 Chung-Lin Wen, Davide Anastasia
+Copyright David Abrahams and Jeremy Siek 2003.
+Copyright John Maddock 2006, 2007, 2012, 2014.
+Copyright Peter Dimov and David Abrahams 2002.
+Copyright (c) 1995 Maarten Hilferink, Amsterdam
+Copyright (c) 2002 Brad King and Douglas Gregor
+Copyright (c) 2003 Gunter Winkler, Joerg Walter
+Copyright (c) 2003-2011 Christopher M. Kohlhoff
+Copyright (c) 2003-2019 Christopher M. Kohlhoff
+Copyright (c) 2005-2019 Christopher M. Kohlhoff
+Copyright (c) 2006-2009, 2012 Alexander Nasonov
+Copyright (c) 2012 - 2014, 2017 Andrey Semashev
+Copyright (c) 2013 Tim Blechmann Linux-specific
+Copyright 2001, 2003, 2004, 2012 Daryle Walker.
+Copyright 2002 Rensselaer Polytechnic Institute
+Copyright 2004-9 Trustees of Indiana University
+Copyright 2010 Fabien Castan, Christian Henning
+(c) Copyright 2004 Robert Ramey and Martin Ecker
+(c) Copyright 2009-2012 Vicente J. Botet Escriba
+(c) Copyright 2010-2011 Vicente J. Botet Escriba
+(c) Copyright 2011-2012 Vicente J. Botet Escriba
+(c) Copyright 2011-2013 Vicente J. Botet Escriba
+(c) Copyright 2011-2015 Vicente J. Botet Escriba
+(c) Copyright 2013,2014 Vicente J. Botet Escriba
+(c) Copyright 2013,2015 Vicente J. Botet Escriba
+(c) Copyright Daniel Frey and Robert Ramey 2009.
+(c) Copyright Eric Jourdanneau, Joel Falcou 2010
+CNRS/Univ. Clermont II Copyright 2009 - 2011 LRI
+Copyright (c) 2001, Thomas Flemming, tf@ttqv.com
+Copyright (c) 2005 Arkadiy Vertleyb, Peder Holt.
+Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
+Copyright (c) 2009, Spirent Communications, Inc.
+Copyright (c) 2010 Eric Jourdanneau, Joel Falcou
+Copyright (c) 2010 Felipe Tanus, Boris Schaeling
+Copyright (c) 2011-2012 Vicente J. Botet Escriba
+Copyright (c) 2011-2013 Vicente J. Botet Escriba
+Copyright (c) 2012 Bruno Lalande, Paris, France.
+Copyright (c) 2012-2013 Vicente J. Botet Escriba
+Copyright (c) 2013 Bruno Lalande, Paris, France.
+Copyright (c) 2013 John Maddock, Antony Polukhin
+Copyright (c) 2013,2014 Vicente J. Botet Escriba
+Copyright (c) 2013-2014 Vicente J. Botet Escriba
+Copyright (c) 2014 Bruno Lalande, Paris, France.
+Copyright (c) 2014-2015 Vicente J. Botet Escriba
+Copyright (c) 2014-2017 Vicente J. Botet Escriba
+Copyright (c) 2015 Oracle and/or its affiliates.
+Copyright (c) 2016 Oracle and/or its affiliates.
+Copyright (c) 2017 Oracle and/or its affiliates.
+Copyright (c) 2018 Oracle and/or its affiliates.
+Copyright (c) 2019 Oracle and/or its affiliates.
+Copyright 2003 Guillaume Melquiond, Sylvain Pion
+Copyright 2010 Gaetano Mendola, 2011 Simon West.
+Copyright Justinas Vygintas Daugmaudis 2010-2018
+copyright (c) 2014 Oracle and/or its affiliates.
+copyright (c) 2015 Oracle and/or its affiliates.
+copyright (c) 2016 Oracle and/or its affiliates.
+copyright (c) 2017 Oracle and/or its affiliates.
+copyright (c) 2018 Oracle and/or its affiliates.
+copyright (c) 2019 Oracle and/or its affiliates.
+(c) Copyright David Abrahams, Vicente Botet 2009.
+(c) Copyright John Maddock and Steve Cleary 2000.
+(c) Copyright Vicente J. Botet Escriba 2013-2014.
+(c) Copyright Vicente J. Botet Escriba 2013-2017.
+(c) Copyright Vicente J. Botet Escriba 2014-2015.
+Copyright (c) 2002-2003 Eric Friedman, Itay Maman
+Copyright (c) 2003-2004 Jeremy B. Maitin-Shepard.
+Copyright (c) 2006 Trustees of Indiana University
+Copyright (c) 2007 Trustees of Indiana University
+Copyright (c) 2007-2011 Barend Gehrels, Amsterdam
+Copyright (c) 2007-2012 Barend Gehrels, Amsterdam
+Copyright (c) 2007-2013 Barend Gehrels, Amsterdam
+Copyright (c) 2007-2014 Barend Gehrels, Amsterdam
+Copyright (c) 2007-2015 Barend Gehrels, Amsterdam
+Copyright (c) 2007-2016 Barend Gehrels, Amsterdam
+Copyright (c) 2007-2017 Barend Gehrels, Amsterdam
+Copyright (c) 2008-2012 Barend Gehrels, Amsterdam
+Copyright (c) 2008-2014 Barend Gehrels, Amsterdam
+Copyright (c) 2008-2015 Barend Gehrels, Amsterdam
+Copyright (c) 2009 Trustees of Indiana University
+Copyright (c) 2009-2012 Barend Gehrels, Amsterdam
+Copyright (c) 2009-2015 Barend Gehrels, Amsterdam
+Copyright (c) 2010-2012 Barend Gehrels, Amsterdam
+Copyright (c) 2011-2012 Barend Gehrels, Amsterdam
+Copyright (c) 2011-2015 Barend Gehrels, Amsterdam
+Copyright (c) 2012-2014 Barend Gehrels, Amsterdam
+Copyright (c) 2012-2015 Barend Gehrels, Amsterdam
+Copyright (c) 2012-2019 Barend Gehrels, Amsterdam
+Copyright (c) 2013 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2014 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2014, Oracle and/or its affiliates.
+Copyright (c) 2014-2015 Barend Gehrels, Amsterdam
+Copyright (c) 2015, Oracle and/or its affiliates.
+Copyright (c) 2015-2016 Barend Gehrels, Amsterdam
+Copyright (c) 2016, Oracle and/or its affiliates.
+Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2017, Oracle and/or its affiliates.
+Copyright (c) 2017-2017 Barend Gehrels, Amsterdam
+Copyright (c) 2018 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2018, Oracle and/or its affiliates.
+Copyright (c) 2018-2019 Barend Gehrels, Amsterdam
+Copyright (c) 2019, Oracle and/or its affiliates.
+Copyright (c) 2019-2019 Barend Gehrels, Amsterdam
+Copyright 2003 The Trustees of Indiana University
+Copyright 2005 Felix Hofling, Guillaume Melquiond
+Copyright 2008 Christian Henning, Lubomir Bourdev
+Copyright 2012 Kenneth Riddile, Christian Henning
+Copyright Paul A. Bristow 2006, 2007, 2009, 2010.
+Copyright Paul A. Bristow 2007, 2010, 2012, 2014.
+copyright (c) 2013, Oracle and/or its affiliates.
+copyright (c) 2014, Oracle and/or its affiliates.
+copyright (c) 2015, Oracle and/or its affiliates.
+copyright (c) 2016, Oracle and/or its affiliates.
+copyright (c) 2017, Oracle and/or its affiliates.
+copyright (c) 2018, Oracle and/or its affiliates.
+Copyright (c) 2000-2002 Joerg Walter, Mathias Koch
+Copyright (c) 2000-2004 Joerg Walter, Mathias Koch
+Copyright (c) 2001 Vladimir Prus
+Copyright (c) 2003-2008 Matthias Christian Schabel
+Copyright (c) 2003-2009 Matthias Christian Schabel
+Copyright 2002 The Trustees of Indiana University.
+Copyright 2004 The Trustees of Indiana University.
+Copyright 2005 The Trustees of Indiana University.
+Copyright 2006 The Trustees of Indiana University.
+Copyright 2009 The Trustees of Indiana University.
+Copyright 2010 The Trustees of Indiana University.
+Copyright 2012 Fernando Vilas 2010 Daniel Trebbien
+Copyright 2012 The Trustees of Indiana University.
+Copyright 2018 Mateusz Loskot
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2010.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2011.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2012.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2014.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2016.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2017.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2018.
+(c) Copyright Dave Abrahams and Daryle Walker 2001.
+(c) Copyright Jeremy Siek and John R. Bandela 2001.
+(c) Copyright John Maddock & Thorsten Ottosen 2005.
+(c) Copyright Kevlin Henney and Dave Abrahams 1999.
+Copyright (c) 2000 Gary Powell (powellg@amazon.com)
+Copyright (c) 2001 Peter Dimov and Multi Media Ltd.
+Copyright (c) 2001, 2002 Python Software Foundation
+Copyright (c) 2001-2007 Hartmut Kaiser Revised 2007
+Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
+Copyright (c) 2002,2003 CrystalClear Software, Inc.
+Copyright (c) 2002-2004 CrystalClear Software, Inc.
+Copyright (c) 2002-2005 CrystalClear Software, Inc.
+Copyright (c) 2002-2006 CrystalClear Software, Inc.
+Copyright (c) 2003-2004 CrystalClear Software, Inc.
+Copyright (c) 2003-2005 CrystalClear Software, Inc.
+Copyright (c) 2004-2005 CrystalClear Software, Inc.
+Copyright (c) 2009-2011 Mateusz Loskot, London, UK.
+Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
+Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
+Copyright (c) 2009-2014 Mateusz Loskot, London, UK.
+Copyright (c) 2009-2015 Mateusz Loskot, London, UK.
+Copyright (c) 2009-2017 Mateusz Loskot, London, UK.
+Copyright (c) 2011-2012 Mateusz Loskot, London, UK.
+Copyright (c) 2012-2014 Mateusz Loskot, London, UK.
+Copyright (c) 2014-2015 Mateusz Loskot, London, UK.
+Copyright 2004, 2005 Trustees of Indiana University
+Copyright 2005 David Abrahams and Aleksey Gurtovoy.
+Copyright 2012 Olivier Tournaire, Christian Henning
+Copyright 2014 Renato Tegon Forti, Antony Polukhin.
+Copyright 2016 Klemens Morgenstern, Antony Polukhin
+Copyright 2019 Miral Shah
+Copyright Alexander Nasonov & Paul A. Bristow 2006.
+Copyright David Abrahams and Nikolay Mladenov 2003.
+(c) Copyright 2005 Matthias Troyer and Dave Abrahams
+Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
+Copyright (c) 2013 Kyle Lutz
+Copyright (c) 2015 Jakub Pola
+Copyright (c) 2015 Jakub Szuppe
+Copyright (c) 2016 Jakub Szuppe
+Copyright (c) 2018 Adeel Ahmad, Islamabad, Pakistan.
+Copyright (c) 2018 Jakub Szuppe
+Copyright (c) 2018, Cem Bassoy, cem.bassoy@gmail.com
+Copyright 2000 John Maddock (john@johnmaddock.co.uk)
+Copyright 2004-5 The Trustees of Indiana University.
+Copyright 2013 Christian Henning and Juan V. Puertos
+Copyright David Abrahams 2002, Joel de Guzman, 2002.
+Copyright Peter Dimov and Multi Media Ltd 2001, 2002
+Copyright Thorsten Ottosen, Neil Groves 2006 - 2008.
+(c) Copyright 2003-4 Pavel Vozenilek and Robert Ramey
+(c) Copyright 2008-2009,2012 Vicente J. Botet Escriba
+(c) Copyright 2011,2012,2015 Vicente J. Botet Escriba
+(c) Copyright 2011-2012,2015 Vicente J. Botet Escriba
+(c) Copyright Greg Colvin and Beman Dawes 1998, 1999.
+Copyright (c) 2000 Gary Powell (gwpowell@hotmail.com)
+Copyright (c) 2001 Jeremy Siek
+Copyright (c) 2001-2002 Chuck Allison and Jeremy Siek
+Copyright (c) 2002 Gary Powell (gwpowell@hotmail.com)
+Copyright (c) 2002-2003 David Moore, William E. Kempf
+Copyright (c) 2003, Fernando Luis Cacciola Carballal.
+Copyright (c) 2005, Fernando Luis Cacciola Carballal.
+Copyright (c) 2006 Xiaogang Zhang, 2015 John Maddock.
+Copyright (c) 2007 Douglas Gregor and Matthias Troyer
+Copyright (c) 2008-2011 Bruno Lalande, Paris, France.
+Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
+Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
+Copyright (c) 2008-2014 Bruno Lalande, Paris, France.
+Copyright (c) 2008-2015 Bruno Lalande, Paris, France.
+Copyright (c) 2008-2017 Bruno Lalande, Paris, France.
+Copyright (c) 2011-2012 Bruno Lalande, Paris, France.
+Copyright (c) 2012-2014 Bruno Lalande, Paris, France.
+Copyright (c) 2014 Samuel Debionne, Grenoble, France.
+Copyright (c) 2014-2015 Bruno Lalande, Paris, France.
+Copyright (c) 2014-2016 Oracle and/or its affiliates.
+Copyright (c) 2014-2018 Oracle and/or its affiliates.
+Copyright (c) 2014-2019 Oracle and/or its affiliates.
+Copyright (c) 2015-2016 Oracle and/or its affiliates.
+Copyright (c) 2015-2017 Oracle and/or its affiliates.
+Copyright (c) 2015-2018 Oracle and/or its affiliates.
+Copyright (c) 2016-2017 Oracle and/or its affiliates.
+Copyright (c) 2016-2018 Oracle and/or its affiliates.
+Copyright (c) 2016-2019 Oracle and/or its affiliates.
+Copyright (c) 2017-2018 Oracle and/or its affiliates.
+Copyright (c) 2017-2019 Oracle and/or its affiliates.
+Copyright (c) 2018-2019 Oracle and/or its affiliates.
+Copyright (c) Alexander Zaitsev
+Copyright David Abrahams 2002, Nikolay Mladenov 2007.
+Copyright David Abrahams and Thomas Becker 2000-2006.
+copyright (c) 2013-2017 Oracle and/or its affiliates.
+copyright (c) 2013-2018 Oracle and/or its affiliates.
+copyright (c) 2013-2019 Oracle and/or its affiliates.
+copyright (c) 2014-2015 Oracle and/or its affiliates.
+copyright (c) 2014-2017 Oracle and/or its affiliates.
+copyright (c) 2014-2018 Oracle and/or its affiliates.
+copyright (c) 2014-2019 Oracle and/or its affiliates.
+copyright (c) 2015-2016 Oracle and/or its affiliates.
+copyright (c) 2015-2017 Oracle and/or its affiliates.
+copyright (c) 2015-2018 Oracle and/or its affiliates.
+copyright (c) 2015-2019 Oracle and/or its affiliates.
+copyright (c) 2016-2018 Oracle and/or its affiliates.
+copyright (c) 2016-2019 Oracle and/or its affiliates.
+copyright (c) 2017-2018 Oracle and/or its affiliates.
+copyright (c) 2017-2019 Oracle and/or its affiliates.
+(c) Copyright Vicente J. Botet Escriba 2008-2009,2012.
+Copyright (c) 2004 The Trustees of Indiana University.
+Copyright (c) 2006 The Trustees of Indiana University.
+Copyright (c) 2007 The Trustees of Indiana University.
+Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2011-2014 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2011-2015 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2011-2016 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2011-2017 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2011-2018 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2011-2019 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2012-2013 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2012-2015 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2013-2014 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2013-2015 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2013-2017 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2014-2015 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2014-2015, Oracle and/or its affiliates.
+Copyright (c) 2014-2017 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2014-2017, Oracle and/or its affiliates.
+Copyright (c) 2014-2018 Adam Wulkiewicz, Lodz, Poland.
+Copyright (c) 2014-2018, Oracle and/or its affiliates.
+Copyright (c) 2014-2019, Oracle and/or its affiliates.
+Copyright (c) 2015-2017, Oracle and/or its affiliates.
+Copyright (c) 2015-2018, Oracle and/or its affiliates.
+Copyright (c) 2015-2019, Oracle and/or its affiliates.
+Copyright (c) 2016, 2018 Oracle and/or its affiliates.
+Copyright (c) 2016-2017, Oracle and/or its affiliates.
+Copyright (c) 2016-2018, Oracle and/or its affiliates.
+Copyright (c) 2016-2019, Oracle and/or its affiliates.
+Copyright (c) 2017, 2019 Oracle and/or its affiliates.
+Copyright (c) 2017-2018, Oracle and/or its affiliates.
+Copyright (c) 2017-2019, Oracle and/or its affiliates.
+Copyright (c) 2018, 2019 Oracle and/or its affiliates.
+Copyright (c) 2018-2019, Oracle and/or its affiliates.
+Copyright (c) Alexander Zaitsev
+Copyright (c) Jeremy Siek 2001, Marc Wintermantel 2002
+Copyright 2007-2008 Andreas Pokorny, Christian Henning
+Copyright 2007-2008 Christian Henning, Andreas Pokorny
+Copyright 2007-2012 Christian Henning, Andreas Pokorny
+Copyright 2007-2012 Christian Henning, Lubomir Bourdev
+Copyright 2010-2012 Kenneth Riddile, Christian Henning
+copyright (c) 2013, 2014 Oracle and/or its affiliates.
+copyright (c) 2013-2014, Oracle and/or its affiliates.
+copyright (c) 2013-2015, Oracle and/or its affiliates.
+copyright (c) 2013-2017, Oracle and/or its affiliates.
+copyright (c) 2013-2018, Oracle and/or its affiliates.
+copyright (c) 2013-2019, Oracle and/or its affiliates.
+copyright (c) 2014, 2018 Oracle and/or its affiliates.
+copyright (c) 2014-2015, Oracle and/or its affiliates.
+copyright (c) 2014-2017, Oracle and/or its affiliates.
+copyright (c) 2014-2018, Oracle and/or its affiliates.
+copyright (c) 2014-2019, Oracle and/or its affiliates.
+copyright (c) 2015-2016, Oracle and/or its affiliates.
+copyright (c) 2015-2017, Oracle and/or its affiliates.
+copyright (c) 2015-2018, Oracle and/or its affiliates.
+copyright (c) 2015-2019, Oracle and/or its affiliates.
+copyright (c) 2016-2017, Oracle and/or its affiliates.
+copyright (c) 2016-2018, Oracle and/or its affiliates.
+copyright (c) 2016-2019, Oracle and/or its affiliates.
+copyright (c) 2017, 2019 Oracle and/or its affiliates.
+copyright (c) 2017-2018, Oracle and/or its affiliates.
+copyright (c) 2017-2019, Oracle and/or its affiliates.
+copyright (c) 2018, 2019 Oracle and/or its affiliates.
+copyright (c) 2018-2019, Oracle and/or its affiliates.
+(c) 2019 Niall Douglas
+(c) Copyright Beman Dawes and Ullrich Koethe 1995-2001.
+(c) Copyright David Abrahams 2001, Howard Hinnant 2001.
+(c) Copyright Hubert Holin and Daryle Walker 2001-2002.
+Copyright (c) 1995, 2007-2015 Barend Gehrels, Amsterdam
+Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler
+Copyright (c) 2000 Gary Powell (gary.powell@sierra.com)
+Copyright (c) 2001 Gary Powell (gary.powell@sierra.com)
+Copyright (c) 2002 Lars Gullik Bjonnes
+Copyright (c) 2011 Boris Schaeling (boris@highscore.de)
+Copyright (c) 2014 Roshan
+Copyright (c) 2014, 2018, Oracle and/or its affiliates.
+Copyright (c) 2014, 2019, Oracle and/or its affiliates.
+Copyright (c) 2015 Orson Peters
+Copyright (c) 2015, 2018, Oracle and/or its affiliates.
+Copyright 2004-2006 The Trustees of Indiana University.
+Copyright 2005-2009 The Trustees of Indiana University.
+Copyright 2019 Pranam Lashkari
+copyright (c) 2013, 2014, Oracle and/or its affiliates.
+copyright (c) 2014, 2018, Oracle and/or its affiliates.
+copyright (c) 2014, 2019, Oracle and/or its affiliates.
+copyright (c) 2015, 2018, Oracle and/or its affiliates.
+copyright (c) 2015, 2019, Oracle and/or its affiliates.
+copyright (c) 2017, 2019, Oracle and/or its affiliates.
+copyright (c) 2018, 2019, Oracle and/or its affiliates.
+(c) Copyright Boris Rasin and Antony Polukhin 2014-2019.
+(c) Copyright Dave Abrahams and Daniel Walker 1999-2003.
+(c) Copyright Fernando Luis Cacciola Carballal 2000-2004
+(c) Copyright Robert Ramey 2003. Jonathan Turkanis 2004.
+Copyright (c) 2001 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
+Copyright (c) 2001-2004 Peter Dimov and Multi Media Ltd.
+Copyright (c) 2002 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
+Copyright (c) 2002,2003,2005 CrystalClear Software, Inc.
+Copyright (c) 2002-2003,2005 CrystalClear Software, Inc.
+Copyright 2004, 2005 The Trustees of Indiana University.
+Copyright 2008 CodeRage, LLC 2004-2007 Jonathan Turkanis
+Copyright 2014 Marco Guazzone (marco.guazzone@gmail.com)
+Copyright 2014-2015 Renato Tegon Forti, Antony Polukhin.
+(c) ACM, 2011. http://doi.acm.org/10.1145/1916461.1916469
+(c) Copyright Daryle Walker and Stephen Cleary 2001-2002.
+Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd.
+Copyright (c) 2002, 2003 Peter Dimov and Multi Media Ltd.
+Copyright (c) 2002,2003, 2007 CrystalClear Software, Inc.
+Copyright (c) 2007 Douglas Gregor
+Copyright (c) 2009 Ben Hanson (http://www.benhanson.net/)
+Copyright (c) 2013-2014 Kyle Lutz
+Copyright (c) 2013-2015 Kyle Lutz
+Copyright (c) 2015 Francisco Jose Tapia fjtapia@gmail.com
+Copyright (c) 2016 Francisco Jose Tapia fjtapia@gmail.com
+Copyright (c) 2017 Francisco Jose Tapia fjtapia@gmail.com
+Copyright (c) 2018 Alain Miniussi
+Copyright (c) 2018-2019, Cem Bassoy, cem.bassoy@gmail.com
+Copyright 2002 Aleksey Gurtovoy (agurtovoy@meta-comm.com)
+Copyright 2014 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright 2015 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright 2017 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright 2018 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright 2019 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2011.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2012.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2010 - 2011.
+Copyright Abel Sinkovics (abel@sinkovics.hu) 2011 - 2012.
+Copyright Ralf W. Grosse-Kunstleve & David Abrahams 2006.
+(c) Copyright 2002-2008, Fernando Luis Cacciola Carballal.
+(c) Copyright 2011-2012,2017-2018 Vicente J. Botet Escriba
+Copyright (c) 1996 Silicon Graphics Computer Systems, Inc.
+Copyright (c) 1998 Silicon Graphics Computer Systems, Inc.
+Copyright (c) 2001-2003 Douglas Gregor (gregod@cs.rpi.edu)
+Copyright (c) 2003, 2008 Fernando Luis Cacciola Carballal.
+Copyright (c) 2011, 2012 Martin Lambers
+Copyright (c) 2012 Flavio De Lorenzi (fdlorenzi@gmail.com)
+Copyright (c) 2014-2015 Samuel Debionne, Grenoble, France.
+Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
+Copyright 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
+Copyright 2009 (c) Dean Michael Berris
+Copyright (c) 2001 Jeremy Siek, Douglas Gregor, Brian Osman
+Copyright (c) 2004-2006 The Trustees of Indiana University.
+Copyright (c) 2004-2008 The Trustees of Indiana University.
+Copyright (c) 2004-2009 The Trustees of Indiana University.
+Copyright (c) 2005-2006 The Trustees of Indiana University.
+Copyright (c) 2005-2008 The Trustees of Indiana University.
+Copyright (c) 2005-2010 The Trustees of Indiana University.
+Copyright (c) 2006 Tiago de Paula Peixoto
+Copyright (c) 2006-2009 Dmitry Bufistov and Andrey Parfenov
+Copyright (c) 2006-2010 The Trustees of Indiana University.
+Copyright (c) 2017 Denis Demidov
+Copyright 2013 Juan V. Puertos G-Cluster, Christian Henning
+(c) 2015-2019 Niall Douglas
+(c) 2017-2019 Niall Douglas
+(c) 2018-2019 Niall Douglas
+Copyright (c) 2001 Housemarque Oy http://www.housemarque.com
+Copyright (c) Tobias Schwinger http://spirit.sourceforge.net
+Copyright (c) 2000-2003 Brian McNamara and Yannis Smaragdakis
+Copyright (c) 2003 Martin Wille http://spirit.sourceforge.net
+Copyright (c) 2011 Aaron Graham http://spirit.sourceforge.net
+Copyright (c) 2014 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright (c) 2014, 2018, 2019, Oracle and/or its affiliates.
+Copyright (c) 2017 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright (c) Charles Karney (2008-2017)
+Copyright (c) Glen Joseph Fernandes 2019 (glenjofe@gmail.com)
+(c) 2018 - 2019 Niall Douglas
+(c) Copyright 2002-2008 Robert Ramey and Joaquin M Lopez Munoz
+(c) Copyright Runar Undheim, Robert Ramey & John Maddock 2008.
+Copyright (c) 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
+Copyright (c) 2001 Bruce Florman http://spirit.sourceforge.net
+Copyright (c) 2001 Daniel Nuffer http://spirit.sourceforge.net
+Copyright (c) 2002 Jeff Westfahl http://spirit.sourceforge.net
+Copyright (c) 2003 Giovanni Bajo http://spirit.sourceforge.net
+Copyright (c) 2003 Vaclav Vesely http://spirit.sourceforge.net
+Copyright (c) 2005-2006 Douglas Gregor
+Copyright (c) 2006 Joao Abecasis http://spirit.sourceforge.net
+Copyright (c) 2007-2009 Ben Hanson (http://www.benhanson.net/)
+Copyright (c) 2008-2009 Ben Hanson (http://www.benhanson.net/)
+Copyright (c) 2010 2015 Francisco Jose Tapia fjtapia@gmail.com
+Copyright (c) 2010 Bryce Lelbach http://spirit.sourceforge.net
+Copyright (c) 2010 Matthias Walter (xammy@xammy.homelinux.net)
+Copyright (c) 2011 Bryce Lelbach http://spirit.sourceforge.net
+Copyright (c) 2013 Agustin Berge http://spirit.sourceforge.net
+Copyright (c) 2017 Kristian Popov
+Copyright 2012-2019 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright 2014,2018 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright 2014-2015 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright 2014-2016 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright 2017-2018 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright 2017-2019 Glen Joseph Fernandes (glenjofe@gmail.com)
+Copyright Daniel Walker, Eric Niebler, Michel Morin 2008-2012.
+(c) Copyright Andreas Huber Doenni 2002-2005, Eric Niebler 2006
+(c) Copyright Peter Dimov and Multi Media Ltd. 2001, 2002, 2003
+Copyright (c) 1996,1997 Silicon Graphics Computer Systems, Inc.
+Copyright (c) 1996-1998 Silicon Graphics Computer Systems, Inc.
+Copyright (c) 2001, 2002, 2003 Peter Dimov and Multi Media Ltd.
+Copyright (c) 2002 Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2003 Gustavo Guerra http://spirit.sourceforge.net
+Copyright (c) 2003 Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2003 Joel de Guzman http://spirit.sourceforge.net
+Copyright (c) 2003 Jonathan de Halleux (dehalleux@pelikhan.com)
+Copyright (c) 2009 Francois Barel http://spirit.sourceforge.net
+Copyright (c) 2011 Thomas Bernard http://spirit.sourceforge.net
+Copyright (c) 2016 Frank Hein, maxence business consulting gmbh
+(c) Copyright Mat Marcus, Jesse Jones and Adobe Systems Inc 2001
+Copyright (c) 2000-2010 Joerg Walter, Mathias Koch, David Bellot
+Copyright (c) 2000-2011 Joerg Walter, Mathias Koch, David Bellot
+Copyright (c) 2000-2013 Joerg Walter, Mathias Koch. David Bellot
+Copyright (c) 2003, Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2007 Matthias Troyer
+Copyright (c) 2002-2003 Toon Knapen, Kresimir Fresl, Joerg Walter
+Copyright (c) 2006 Tobias Schwinger http://spirit.sourceforge.net
+Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
+Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
+Copyright (c) 2006-2010 Emil Dotchevski and Reverge Studios, Inc.
+Copyright (c) 2006-2013 Emil Dotchevski and Reverge Studios, Inc.
+Copyright (c) 2008-2009 Emil Dotchevski and Reverge Studios, Inc.
+Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
+Copyright (c) 2008-2017 Emil Dotchevski and Reverge Studios, Inc.
+Copyright Neil Groves & Thorsten Ottosen & Pavol Droba 2003-2004.
+Copyright (c) 2000-2007 Joerg Walter, Mathias Koch, Gunter Winkler
+Copyright (c) 2000-2009 Joerg Walter, Mathias Koch, Gunter Winkler
+Copyright (c) 2001, Daniel C. Nuffer http://spirit.sourceforge.net
+Copyright (c) 2002-2003 Martin Wille http://spirit.sourceforge.net
+Copyright 2002 Herve Bronnimann, Guillaume Melquiond, Sylvain Pion
+Copyright 2012 Christian Henning, Andreas Pokorny, Lubomir Bourdev
+(c) Copyright David Abrahams, Jeremy Siek, Daryle Walker 1999-2001.
+Copyright (c) 2001-2003 Daniel Nuffer http://spirit.sourceforge.net
+Copyright (c) 2001-2009 Daniel Nuffer http://spirit.sourceforge.net
+Copyright (c) 2002 Raghavendra Satish http://spirit.sourceforge.net
+Copyright (c) 2018 Yaghyavardhan Singh Khangarot, Hyderabad, India.
+Copyright 2019 Olzhas Zhumabek
+Copyright (c) 1998-2002 Joel de Guzman http://spirit.sourceforge.net
+Copyright (c) 1998-2003 Joel de Guzman http://spirit.sourceforge.net
+Copyright (c) 1999-2006 Cortex Software GmbH, Kantstrasse 57, Berlin
+Copyright (c) 2001-2003 Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2001-2003 Joel de Guzman http://spirit.sourceforge.net
+Copyright (c) 2001-2007 Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2001-2008 Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2001-2010 Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2001-2011 Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2001-2011 Joel de Guzman http://spirit.sourceforge.net
+Copyright (c) 2001-2012 Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2001-2012 Joel de Guzman http://spirit.sourceforge.net
+Copyright (c) 2001-2014 Joel de Guzman http://spirit.sourceforge.net
+Copyright (c) 2002-2003 Hartmut Kaiser http://spirit.sourceforge.net
+Copyright (c) 2002-2006 Hartmut Kaiser http://spirit.sourceforge.net
+(c) Copyright 2004-2009 Robert Ramey, Martin Ecker and Takatoshi Kondo
+Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com)
+(c) Copyright 2007, 2008 Steven Watanabe, Joseph Gauterin, Niels Dekker
+Copyright (c) 2007, 2008 Steven Watanabe, Joseph Gauterin, Niels Dekker
+Copyright (c) 2015 Muhammad Junaid Muzammil
+Copyright 2002-2003 Herve Bronnimann, Guillaume Melquiond, Sylvain Pion
+Copyright 2007-2008 Christian Henning, Andreas Pokorny, Lubomir Bourdev
+Copyright 2007-2012 Christian Henning, Andreas Pokorny, Lubomir Bourdev
+Copyright (c) 2001 Ronald Garcia, Indiana University (garcia@osl.iu.edu)
+Copyright (c) 2000-2013 Joerg Walter, Mathias Koch, Athanasios Iliopoulos
+Copyright 2003-2013 Joaquin M Lopez Munoz. 2019 Mike Dev
+(c) Copyright 2002 Rani Sharoni (rani_sharoni@hotmail.com) and Robert Ramey
+(c) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
+Copyright (c) 2002-2003 Juan Carlos Arevalo-Baeza http://spirit.sourceforge.net
+Copyright (c) 2000-2010 Joerg Walter, Mathias Koch, Gunter Winkler, David Bellot
+(c) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000-2005.
+(c) Copyright 2010 Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk
+Copyright (c) 2002 Brad King (brad.king@kitware.com) Douglas Gregor (gregod@cs.rpi.edu)
+Copyright (c) 2010 Nuovation System Designs, LLC Grant Erickson
+(c) Copyright 2009-2011 Frederic Bron, Robert Stewart, Steven Watanabe & Roman Perepelitsa.
+(c) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
+(c) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard Hinnant and John Maddock 2000.
+Copyright (c) 2003 Jonathan de Halleux (dehalleux@pelikhan.com) http://spirit.sourceforge.net
+(c) Copyright Steve Cleary, Beman Dawes, Aleksey Gurtovoy, Howard Hinnant & John Maddock 2000.
+(c) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000-2003.
+(c) Copyright David Abrahams Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000-2002.
+Copyright (c) 1999-2001 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi) Gary Powell (gwpowell@hotmail.com)
+Copyright (c) 2013 Jakob Lykke Andersen, University of Southern Denmark (jlandersen@imada.sdu.dk)
+Copyright (c) 2001 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi) 2001 Gary Powell (gary.powell@sierra.com)
+(c) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard Hinnant and John Maddock 2000, 2010.
+Copyright (c) 2003 Jonathan de Halleux http://spirit.sourceforge.net/ http://www.boost.org/libs/spirit
+(c) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Aleksey Gurtovoy, Howard Hinnant & John Maddock 2000.
+Copyright 2002 Marc Wintermantel (wintermantel@even-ag.ch) ETH Zurich, Center of Structure Technologies (https://web.archive.org/web/20050307090307/http://www.structures.ethz.ch/)
+
+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.
+
+---------------------------------------------------------
+
+---------------------------------------------------------
+
+Microsoft.Windows.CppWinRT 2.0.210122.3 - MIT
+
+
+
+ MIT License
+
+ Copyright (c) Microsoft Corporation.
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE
+
+
+---------------------------------------------------------
+
+---------------------------------------------------------
+
+microsoft/directxtex 595b341626d2a4112bb6b9a3320d507f25c836fd - MIT
+
+
+Copyright (c) Microsoft Corp.
+Copyright (c) Microsoft Corporation.
+(c) Microsoft Corporation. DirectX DirectXTex
+
+ The MIT License (MIT)
+
+Copyright (c) 2011-2021 Microsoft Corp
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this
+software and associated documentation files (the "Software"), to deal in the Software
+without restriction, including without limitation the rights to use, copy, modify,
+merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be included in all copies
+or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+---------------------------------------------------------
+
+---------------------------------------------------------
+
+microsoft/wil 5bb5fbddf4b9c8e602c2da690f342839ad54084a - MIT
+
+
+
+ MIT License
+
+ Copyright (c) Microsoft Corporation. All rights reserved.
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE
+
+
+---------------------------------------------------------
+
+---------------------------------------------------------
+
+GDeflate
+
+Copyright (c) 2020, 2021, 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+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/directstorage/README.md b/directstorage/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..62384de24ddc89b5b263933904567f68352d18da
--- /dev/null
+++ b/directstorage/README.md
@@ -0,0 +1,106 @@
+# DirectStorage SDK
+
+This package contains the DirectStorage SDK, including the redistributable binaries.
+
+For help getting started and other information for DirectStorage, please see:
+
+https://aka.ms/DirectStorage
+
+The included licenses apply to the following files:
+
+- **LICENSE.txt** : applies to all files under `native/bin/`
+- **LICENSE-CODE.txt** : applies to all files under `native/include/`
+# Changelog
+
+## 1.2.2
+
+### Bug Fixes
+
+- Fix race condition that would, in some rare circumstances, cause DirectStorage
+ to stop processing requests when the CPU is under high load.
+
+- Change DirectStorage worker thread to wakeup periodically and process requests
+ to catch rare cases where processing has stopped.
+
+### Breaking Changes
+- Remove support for 32-bit ARM.
+
+
+## 1.2.1
+- Ensure that the destination resource is left in the D3D12_RESOURCE_STATE_COMMON state after the DirectStorage request has completed.
+
+## 1.2.0
+
+### New Features
+- Add support for enabling buffered file IO for use on HDDs that may benefit from OS file caching behaviors.
+- Add IDStorageQueue2::GetCompressionSupport API to indicate what path the DirectStorage runtime will take when decompressing a supported GPU decompression format.
+- Update dstorage.h and dstorageerr.h to be covered by the MIT License.
+- Add Microsoft.Direct3D.DirectStorage.winmd, to ease generation of non-C++ bindings to the API.
+
+### Bug Fixes
+- Add "Reserved1" field to DSTORAGE_REQUEST_OPTIONS. This makes the in-memory layout of the structure more explicit, but doesn't actually change the layout from previous versions.
+- Fix DSTORAGE_REQUEST_DESTINATION_TEXTURE_REGION for 3D textures.
+- Fix scheduling issue that manifested when transferring uncompressed data from memory to buffers
+
+### Performance improvements
+- Move the copy after GPU decompression onto the compute queue for GPUs where this is faster.
+
+## 1.1.1
+- Fix region size calculation for texture destinations with DepthOrArraySize > 1 which caused bogus DirectStorage Error/Warning message DSTORAGE_MESSAGE_ID_SMALLER_UNCOMPRESSED_SIZE
+
+## 1.1.0
+
+### New Features
+- Add support for GPU decompression and GDeflate:
+ - New compression format: `DSTORAGE_COMPRESSION_FORMAT_GDEFLATE`
+ - New interface: `IDStorageCustomCompressionQueue1`
+ - New function: `DStorageCreateCompressionCodec`
+ - New interface: `IDStorageCompressionCodec`
+- New interface: `IDStorageQueue1`:
+ - New method `EnqueueSetEvent()` that allows a Win32 event to be signaled directly by DirectStorage.
+- Add more warnings for invalid queue capacity, and invalid request fields.
+
+### Bug Fixes
+- Fix hang when processing memory sourced requests that exceed in total the total size of the available staging buffer size.
+- Fix running on Windows Server 2016.
+- Add note in `dstorage.h` about how `IDStorageFile::Close()` doesn't affect the reference count.
+- Fail enqueued requests that require a D3D device on queues that were created without one.
+- For requests to GPU destinations (e.g. buffers, subresources), support requests that have uncompressed size greater than the destination size.
+
+### Breaking Changes
+
+1.1.0 is source compatible with 1.0.2, but recompilation will be required so that the DirectStorage binaries match the header:
+
+- DSTORAGE_ERROR_PARAMETERS_REQUEST::RequestName size changed from MAX_PATH to DSTORAGE_REQUEST_MAX_NAME.
+- New DSTORAGE_CONFIGURATION fields.
+
+This is a trade-off between having a simpler API and binary compatibility. As DirectStorage is now more feature complete with GPU decompression, binary compatibility will become a higher priority.
+
+### Known Issues
+- On older versions of D3D12, the debug layer may generate incorrect warnings that there are simultaneous writes to the input staging buffer from the copy queue that brings the data into the buffer and the compute queue that performs GPU decompression.
+ - As a workaround, you can use the Agility SDK: https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/.
+
+
+
+## 1.0.2
+
+### Breaking Changes
+
+* Update NuGet package layout to be consistent with other native NuGet packages.
+
+### New Features
+
+* Add `DSTORAGE_CUSTOM_DECOMPRESSION_FLAGS`; these can be used to determine if the destination for a custom decompression requests is in write-combined memory.
+
+### Bug Fixes
+
+* Fix building on x86.
+* Improve documentation.
+
+### Performance Improvements
+
+* Improve Windows 10 performance.
+
+## 1.0.0
+
+First release.
diff --git a/directstorage/[Content_Types].xml b/directstorage/[Content_Types].xml
new file mode 100644
index 0000000000000000000000000000000000000000..27945e37ab305c6a29375e934dd25ea8455afd6a
--- /dev/null
+++ b/directstorage/[Content_Types].xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/directstorage/distributable_files.txt b/directstorage/distributable_files.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d9a3ad5b4784d4833e3fdd1b8257cff5082f635
--- /dev/null
+++ b/directstorage/distributable_files.txt
@@ -0,0 +1,4 @@
+You may distribute the following files:
+
+dstorage.dll
+dstoragecore.dll
diff --git a/dotnet/LICENSE.txt b/dotnet/LICENSE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..116c722b7a9f6ab1adcb94707b7b38b72c9a505b
--- /dev/null
+++ b/dotnet/LICENSE.txt
@@ -0,0 +1,64 @@
+MICROSOFT SOFTWARE LICENSE TERMS
+MICROSOFT .NET LIBRARY
+These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft
+ * updates,
+ * supplements,
+ * Internet-based services, and
+ * support services
+for this software, unless other terms accompany those items. If so, those terms apply.
+BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
+IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.
+1. INSTALLATION AND USE RIGHTS.
+ a. Installation and Use. You may install and use any number of copies of the software to design, develop and test your programs.
+ b. Third Party Programs. The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.
+2. DATA. The software may collect information about you and your use of the software, and send that to Microsoft. Microsoft may use this information to improve our products and services. You can learn more about data collection and use in the help documentation and the privacy statement at https://go.microsoft.com/fwlink/?LinkId=528096. Your use of the software operates as your consent to these practices.
+3. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
+ a. DISTRIBUTABLE CODE. The software is comprised of Distributable Code. "Distributable Code" is code that you are permitted to distribute in programs you develop if you comply with the terms below.
+ i. Right to Use and Distribute.
+ * You may copy and distribute the object code form of the software.
+ * Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.
+ ii. Distribution Requirements. For any Distributable Code you distribute, you must
+ * add significant primary functionality to it in your programs;
+ * require distributors and external end users to agree to terms that protect it at least as much as this agreement;
+ * display your valid copyright notice on your programs; and
+ * indemnify, defend, and hold harmless Microsoft from any claims, including attorneys' fees, related to the distribution or use of your programs.
+ iii. Distribution Restrictions. You may not
+ * alter any copyright, trademark or patent notice in the Distributable Code;
+ * use Microsoft's trademarks in your programs' names or in a way that suggests your programs come from or are endorsed by Microsoft;
+ * include Distributable Code in malicious, deceptive or unlawful programs; or
+ * modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that
+ * the code be disclosed or distributed in source code form; or
+ * others have the right to modify it.
+4. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
+ * work around any technical limitations in the software;
+ * reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
+ * publish the software for others to copy;
+ * rent, lease or lend the software;
+ * transfer the software or this agreement to any third party; or
+ * use the software for commercial software hosting services.
+5. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the software.
+6. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
+7. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting.
+8. SUPPORT SERVICES. Because this software is "as is," we may not provide support services for it.
+9. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
+10. APPLICABLE LAW.
+ a. United States. If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
+ b. Outside the United States. If you acquired the software in any other country, the laws of that country apply.
+11. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
+12. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED "AS-IS." YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+FOR AUSTRALIA - YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.
+13. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
+This limitation applies to
+ * anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
+ * claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
+It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
+Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.
+Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français.
+EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n'accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d'adéquation à un usage particulier et d'absence de contrefaçon sont exclues.
+LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices.
+Cette limitation concerne :
+ * tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et
+ * les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d'une autre faute dans la limite autorisée par la loi en vigueur.
+Elle s'applique également, même si Microsoft connaissait ou devrait connaître l'éventualité d'un tel dommage. Si votre pays n'autorise pas l'exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l'exclusion ci-dessus ne s'appliquera pas à votre égard.
+EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d'autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas.
+
diff --git a/dotnet/ThirdPartyNotices.txt b/dotnet/ThirdPartyNotices.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3697ea3d1644950f6a98b6733a000243bc040f71
--- /dev/null
+++ b/dotnet/ThirdPartyNotices.txt
@@ -0,0 +1,1451 @@
+.NET Runtime uses third-party libraries or other resources that may be
+distributed under licenses different than the .NET Runtime software.
+
+In the event that we accidentally failed to list a required notice, please
+bring it to our attention. Post an issue or email us:
+
+ dotnet@microsoft.com
+
+The attached notices are provided for information only.
+
+License notice for ASP.NET
+-------------------------------
+
+Copyright (c) .NET Foundation. All rights reserved.
+Licensed under the Apache License, Version 2.0.
+
+Available at
+https://github.com/dotnet/aspnetcore/blob/main/LICENSE.txt
+
+License notice for Slicing-by-8
+-------------------------------
+
+http://sourceforge.net/projects/slicing-by-8/
+
+Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved
+
+
+This software program is licensed subject to the BSD License, available at
+http://www.opensource.org/licenses/bsd-license.html.
+
+License notice for Unicode data
+-------------------------------
+
+https://www.unicode.org/license.html
+
+Copyright © 1991-2020 Unicode, Inc. All rights reserved.
+Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Unicode data files and any associated documentation
+(the "Data Files") or Unicode software and any associated documentation
+(the "Software") to deal in the Data Files or Software
+without restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, and/or sell copies of
+the Data Files or Software, and to permit persons to whom the Data Files
+or Software are furnished to do so, provided that either
+(a) this copyright and permission notice appear with all copies
+of the Data Files or Software, or
+(b) this copyright and permission notice appear in associated
+Documentation.
+
+THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
+ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT OF THIRD PARTY RIGHTS.
+IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
+NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
+DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THE DATA FILES OR SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale,
+use or other dealings in these Data Files or Software without prior
+written authorization of the copyright holder.
+
+License notice for Mono
+-------------------------------
+
+http://www.mono-project.com/docs/about-mono/
+
+Copyright (c) .NET Foundation Contributors
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the Software), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for International Organization for Standardization
+-----------------------------------------------------------------
+
+Portions (C) International Organization for Standardization 1986:
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+License notice for Intel
+------------------------
+
+"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License notice for Xamarin and Novell
+-------------------------------------
+
+Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+Copyright (c) 2011 Novell, Inc (http://www.novell.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+Third party notice for W3C
+--------------------------
+
+"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE
+Status: This license takes effect 13 May, 2015.
+This work is being provided by the copyright holders under the following license.
+License
+By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
+Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications:
+The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
+Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included.
+Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)."
+Disclaimers
+THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
+The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders."
+
+License notice for Bit Twiddling Hacks
+--------------------------------------
+
+Bit Twiddling Hacks
+
+By Sean Eron Anderson
+seander@cs.stanford.edu
+
+Individually, the code snippets here are in the public domain (unless otherwise
+noted) — feel free to use them however you please. The aggregate collection and
+descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are
+distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and
+without even the implied warranty of merchantability or fitness for a particular
+purpose.
+
+License notice for Brotli
+--------------------------------------
+
+Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+compress_fragment.c:
+Copyright (c) 2011, Google Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+decode_fuzzer.c:
+Copyright (c) 2015 The Chromium Authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+
+License notice for Json.NET
+-------------------------------
+
+https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md
+
+The MIT License (MIT)
+
+Copyright (c) 2007 James Newton-King
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for vectorized base64 encoding / decoding
+--------------------------------------------------------
+
+Copyright (c) 2005-2007, Nick Galbreath
+Copyright (c) 2013-2017, Alfred Klomp
+Copyright (c) 2015-2017, Wojciech Mula
+Copyright (c) 2016-2017, Matthieu Darbois
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+- Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+- Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License notice for RFC 3492
+---------------------------
+
+The punycode implementation is based on the sample code in RFC 3492
+
+Copyright (C) The Internet Society (2003). All Rights Reserved.
+
+This document and translations of it may be copied and furnished to
+others, and derivative works that comment on or otherwise explain it
+or assist in its implementation may be prepared, copied, published
+and distributed, in whole or in part, without restriction of any
+kind, provided that the above copyright notice and this paragraph are
+included on all such copies and derivative works. However, this
+document itself may not be modified in any way, such as by removing
+the copyright notice or references to the Internet Society or other
+Internet organizations, except as needed for the purpose of
+developing Internet standards in which case the procedures for
+copyrights defined in the Internet Standards process must be
+followed, or as required to translate it into languages other than
+English.
+
+The limited permissions granted above are perpetual and will not be
+revoked by the Internet Society or its successors or assigns.
+
+This document and the information contained herein is provided on an
+"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
+TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
+BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
+HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
+Copyright(C) The Internet Society 1997. All Rights Reserved.
+
+This document and translations of it may be copied and furnished to others,
+and derivative works that comment on or otherwise explain it or assist in
+its implementation may be prepared, copied, published and distributed, in
+whole or in part, without restriction of any kind, provided that the above
+copyright notice and this paragraph are included on all such copies and
+derivative works.However, this document itself may not be modified in any
+way, such as by removing the copyright notice or references to the Internet
+Society or other Internet organizations, except as needed for the purpose of
+developing Internet standards in which case the procedures for copyrights
+defined in the Internet Standards process must be followed, or as required
+to translate it into languages other than English.
+
+The limited permissions granted above are perpetual and will not be revoked
+by the Internet Society or its successors or assigns.
+
+This document and the information contained herein is provided on an "AS IS"
+basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE
+DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY
+RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
+PARTICULAR PURPOSE.
+
+License notice for Algorithm from RFC 4122 -
+A Universally Unique IDentifier (UUID) URN Namespace
+----------------------------------------------------
+
+Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc.
+Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. &
+Digital Equipment Corporation, Maynard, Mass.
+Copyright (c) 1998 Microsoft.
+To anyone who acknowledges that this file is provided "AS IS"
+without any express or implied warranty: permission to use, copy,
+modify, and distribute this file for any purpose is hereby
+granted without fee, provided that the above copyright notices and
+this notice appears in all source code copies, and that none of
+the names of Open Software Foundation, Inc., Hewlett-Packard
+Company, Microsoft, or Digital Equipment Corporation be used in
+advertising or publicity pertaining to distribution of the software
+without specific, written prior permission. Neither Open Software
+Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital
+Equipment Corporation makes any representations about the
+suitability of this software for any purpose."
+
+License notice for The LLVM Compiler Infrastructure
+---------------------------------------------------
+
+Developed by:
+
+ LLVM Team
+
+ University of Illinois at Urbana-Champaign
+
+ http://llvm.org
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal with
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimers.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimers in the
+ documentation and/or other materials provided with the distribution.
+
+ * Neither the names of the LLVM Team, University of Illinois at
+ Urbana-Champaign, nor the names of its contributors may be used to
+ endorse or promote products derived from this Software without specific
+ prior written permission.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
+SOFTWARE.
+
+License notice for Bob Jenkins
+------------------------------
+
+By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this
+code any way you wish, private, educational, or commercial. It's free.
+
+License notice for Greg Parker
+------------------------------
+
+Greg Parker gparker@cs.stanford.edu December 2000
+This code is in the public domain and may be copied or modified without
+permission.
+
+License notice for libunwind based code
+----------------------------------------
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for Printing Floating-Point Numbers (Dragon4)
+------------------------------------------------------------
+
+/******************************************************************************
+ Copyright (c) 2014 Ryan Juckett
+ http://www.ryanjuckett.com/
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+
+ 3. This notice may not be removed or altered from any source
+ distribution.
+******************************************************************************/
+
+License notice for Printing Floating-point Numbers (Grisu3)
+-----------------------------------------------------------
+
+Copyright 2012 the V8 project authors. All rights reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of Google Inc. nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License notice for xxHash
+-------------------------
+
+xxHash Library
+Copyright (c) 2012-2014, Yann Collet
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice, this
+ list of conditions and the following disclaimer in the documentation and/or
+ other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License notice for Berkeley SoftFloat Release 3e
+------------------------------------------------
+
+https://github.com/ucb-bar/berkeley-softfloat-3
+https://github.com/ucb-bar/berkeley-softfloat-3/blob/master/COPYING.txt
+
+License for Berkeley SoftFloat Release 3e
+
+John R. Hauser
+2018 January 20
+
+The following applies to the whole of SoftFloat Release 3e as well as to
+each source file individually.
+
+Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the
+University of California. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions, and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions, and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ 3. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS", AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE
+DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License notice for xoshiro RNGs
+--------------------------------
+
+Written in 2018 by David Blackman and Sebastiano Vigna (vigna@acm.org)
+
+To the extent possible under law, the author has dedicated all copyright
+and related and neighboring rights to this software to the public domain
+worldwide. This software is distributed without any warranty.
+
+See .
+
+License for fastmod (https://github.com/lemire/fastmod)
+--------------------------------------
+
+ Copyright 2018 Daniel Lemire
+
+ 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.
+
+License notice for The C++ REST SDK
+-----------------------------------
+
+C++ REST SDK
+
+The MIT License (MIT)
+
+Copyright (c) Microsoft Corporation
+
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License notice for MessagePack-CSharp
+-------------------------------------
+
+MessagePack for C#
+
+MIT License
+
+Copyright (c) 2017 Yoshifumi Kawai
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License notice for lz4net
+-------------------------------------
+
+lz4net
+
+Copyright (c) 2013-2017, Milosz Krajewski
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License notice for Nerdbank.Streams
+-----------------------------------
+
+The MIT License (MIT)
+
+Copyright (c) Andrew Arnott
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License notice for RapidJSON
+----------------------------
+
+Tencent is pleased to support the open source community by making RapidJSON available.
+
+Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
+
+Licensed under the MIT License (the "License"); you may not use this file except
+in compliance with the License. You may obtain a copy of the License at
+
+http://opensource.org/licenses/MIT
+
+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.
+
+License notice for DirectX Math Library
+---------------------------------------
+
+https://github.com/microsoft/DirectXMath/blob/master/LICENSE
+
+ The MIT License (MIT)
+
+Copyright (c) 2011-2020 Microsoft Corp
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this
+software and associated documentation files (the "Software"), to deal in the Software
+without restriction, including without limitation the rights to use, copy, modify,
+merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be included in all copies
+or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for ldap4net
+---------------------------
+
+The MIT License (MIT)
+
+Copyright (c) 2018 Alexander Chermyanin
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for vectorized sorting code
+------------------------------------------
+
+MIT License
+
+Copyright (c) 2020 Dan Shechter
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License notice for musl
+-----------------------
+
+musl as a whole is licensed under the following standard MIT license:
+
+Copyright © 2005-2020 Rich Felker, et al.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for "Faster Unsigned Division by Constants"
+----------------------------------------------------------
+
+Reference implementations of computing and using the "magic number" approach to dividing
+by constants, including codegen instructions. The unsigned division incorporates the
+"round down" optimization per ridiculous_fish.
+
+This is free and unencumbered software. Any copyright is dedicated to the Public Domain.
+
+License notice for mimalloc
+---------------------------
+
+MIT License
+
+Copyright (c) 2019 Microsoft Corporation, Daan Leijen
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License notice for Apple header files
+-------------------------------------
+
+Copyright (c) 1980, 1986, 1993
+ The Regents of the University of California. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. All advertising materials mentioning features or use of this software
+ must display the following acknowledgement:
+ This product includes software developed by the University of
+ California, Berkeley and its contributors.
+4. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+License notice for Angular v8.0
+--------------------------------
+The MIT License (MIT)
+=====================
+
+Copyright (c) 2010-2019 Google LLC. http://angular.io/license
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+License notice for corefx
+
+License notice for BedrockFramework
+===================================
+
+MIT License
+
+Copyright (c) 2019 David Fowler
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License notice for Swashbuckle
+===================================
+
+The MIT License (MIT)
+
+Copyright (c) 2016 Richard Morris
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License notice for cli-spinners
+=============================================
+
+MIT License
+
+Copyright (c) Sindre Sorhus (https://sindresorhus.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License notice for dotnet-deb-tool
+------------------------------------
+
+The MIT License (MIT)
+
+Copyright (c) .NET Foundation and Contributors
+
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License notice for IIS-Common
+------------------------------------
+
+MIT License
+
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE
+
+License notice for IIS-Setup
+------------------------------------
+
+MIT License
+
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE
+
+License notice for LZMA SDK
+---------------------------
+
+http://7-zip.org/sdk.html
+
+LZMA SDK is placed in the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute the
+original LZMA SDK code, either in source code form or as a compiled binary,
+for any purpose, commercial or non-commercial, and by any means.
+
+License notice for MonoDevelop
+------------------------------
+
+Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+Copyright (c) 2011 Novell, Inc (http://www.novell.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+License notice for Nuget.Client
+-------------------------------
+
+Copyright (c) .NET Foundation. All rights reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+these files 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.
+
+License notice for Ookie.Dialogs
+--------------------------------
+
+http://www.ookii.org/software/dialogs/
+
+Copyright © Sven Groot (Ookii.org) 2009
+All rights reserved.
+
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1) Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+2) Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+3) Neither the name of the ORGANIZATION nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+
+License notice for viz.js
+------------------------------------
+
+Copyright (c) 2014-2018 Michael Daines
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for West Wind Live Reload ASP.NET Core Middleware
+=============================================
+
+
+
+---
+
+lz4net
+
+Copyright (c) 2013-2017, Milosz Krajewski
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+MIT License
+-----------
+
+Copyright (c) 2019-2020 West Wind Technologies
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+License for fastmod (https://github.com/lemire/fastmod) and ibm-fpgen (https://github.com/nigeltao/parse-number-fxx-test-data)
+--------------------------------------
+
+ Copyright 2018 Daniel Lemire
+
+ 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.
+
+License notice for Angular v8.0
+--------------------------------------------
+The MIT License (MIT)
+=====================
+
+Copyright (c) 2010-2019 Google LLC. http://angular.io/license
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+License notice for corefx
+
+License notice for JavaScript queues
+-------------------------------------
+
+CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER.
+
+Statement of Purpose
+The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work").
+Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others.
+For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights.
+
+1. Copyright and Related Rights. A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following:
+the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work;
+moral rights retained by the original author(s) and/or performer(s);
+publicity and privacy rights pertaining to a person's image or likeness depicted in a Work;
+rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below;
+rights protecting the extraction, dissemination, use and reuse of data in a Work;
+database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and
+other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof.
+2. Waiver. To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose.
+3. Public License Fallback. Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose.
+4. Limitations and Disclaimers.
+a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document.
+b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.
+c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work.
+d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work.
+
+License notice for MSBuild Locator
+-------------------------------------
+
+https://github.com/Microsoft/MSBuildLocator
+
+Copyright (c) 2018 .NET Foundation and Contributors
+
+This software is licensed subject to the MIT license, available at
+https://opensource.org/licenses/MIT
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for Newtonsoft.Json
+===================================
+
+The MIT License (MIT)
+
+Copyright (c) 2007 James Newton-King
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for NuGet.Client
+-------------------------------
+
+In reference to: https://github.com/dotnet/templating/blob/main/build/nuget.exe
+
+https://github.com/NuGet/NuGet.Client/blob/dev/LICENSE.txt
+
+Copyright (c) .NET Foundation. All rights reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+these files 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.
+
+License notice for Roslyn Clr Heap Allocation Analyzer
+-------------------------------------
+
+https://github.com/Microsoft/RoslynClrHeapAllocationAnalyzer
+
+Copyright (c) 2018 Microsoft Corporation
+
+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.
+
+License notice for StyleCop Analyzers
+-------------------------------------
+
+The MIT License (MIT)
+
+Copyright (c) Tunnel Vision Laboratories, LLC
+
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+------------------------------------------------
+
+The MIT License (MIT)
+
+Copyright (c) .NET Foundation and Contributors
+
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/dotnet/vcruntime140_1.dll b/dotnet/vcruntime140_1.dll
new file mode 100644
index 0000000000000000000000000000000000000000..2071f2814bbc6dac9a18b32c77ca86da09d579c3
Binary files /dev/null and b/dotnet/vcruntime140_1.dll differ
diff --git a/ffmpeg/LICENSE b/ffmpeg/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..94a9ed024d3859793618152ea559a168bbcbb5e2
--- /dev/null
+++ b/ffmpeg/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ 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 .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/ffmpeg/LICENSE.txt b/ffmpeg/LICENSE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94a9ed024d3859793618152ea559a168bbcbb5e2
--- /dev/null
+++ b/ffmpeg/LICENSE.txt
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ 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 .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/ffmpeg/README.txt b/ffmpeg/README.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa925ee385d47600723e415cf3f00245e95284cf
--- /dev/null
+++ b/ffmpeg/README.txt
@@ -0,0 +1,916 @@
+FFmpeg 64-bit static Windows build from www.gyan.dev
+
+Version: 2026-05-11-git-17bc88e67f-full_build-www.gyan.dev
+
+License: GPL v3
+
+Source Code: https://github.com/FFmpeg/FFmpeg/commit/17bc88e67f
+
+External Assets
+frei0r plugins: https://www.gyan.dev/ffmpeg/builds/ffmpeg-frei0r-plugins
+lensfun database: https://www.gyan.dev/ffmpeg/builds/ffmpeg-lensfun-db
+whisper models: https://huggingface.co/ggerganov/whisper.cpp/tree/main
+
+git-full build configuration:
+
+ARCH x86 (generic)
+big-endian no
+runtime cpu detection yes
+standalone assembly yes
+x86 assembler nasm
+MMX enabled yes
+MMXEXT enabled yes
+SSE enabled yes
+SSSE3 enabled yes
+AESNI enabled yes
+CLMUL enabled yes
+AVX enabled yes
+AVX2 enabled yes
+AVX-512 enabled yes
+AVX-512ICL enabled yes
+XOP enabled yes
+FMA3 enabled yes
+FMA4 enabled yes
+i686 features enabled yes
+CMOV is fast yes
+EBX available yes
+EBP available yes
+debug symbols yes
+strip symbols yes
+optimize for size no
+optimizations yes
+static yes
+shared no
+network support yes
+threading support pthreads
+safe bitstream reader yes
+texi2html enabled no
+perl enabled yes
+pod2man enabled yes
+makeinfo enabled yes
+makeinfo supports HTML yes
+experimental features yes
+xmllint enabled yes
+
+External libraries:
+avisynth libgsm libsvtav1
+bzlib libharfbuzz libsvtjpegxs
+cairo libilbc libtheora
+chromaprint libjxl libtwolame
+frei0r liblc3 libuavs3d
+gmp liblensfun libvidstab
+gnutls libmodplug libvmaf
+iconv libmp3lame libvo_amrwbenc
+ladspa libmysofa libvorbis
+lcms2 liboapv libvpx
+libaom libopencore_amrnb libvvenc
+libaribb24 libopencore_amrwb libwebp
+libaribcaption libopenjpeg libx264
+libass libopenmpt libx265
+libbluray libopus libxavs2
+libbs2b libplacebo libxevd
+libcaca libqrencode libxeve
+libcdio libquirc libxml2
+libcodec2 librav1e libxvid
+libdav1d librist libzimg
+libdavs2 librubberband libzmq
+libdvdnav libshaderc libzvbi
+libdvdread libshine lzma
+libflite libsnappy mediafoundation
+libfontconfig libsoxr openal
+libfreetype libspeex sdl2
+libfribidi libsrt whisper
+libgme libssh zlib
+
+External libraries providing hardware acceleration:
+amf d3d12va nvdec
+cuda dxva2 nvenc
+cuda_llvm ffnvcodec opencl
+cuvid libmfx vaapi
+d3d11va libvpl vulkan
+
+Libraries:
+avcodec avformat swscale
+avdevice avutil
+avfilter swresample
+
+Programs:
+ffmpeg ffplay ffprobe
+
+Enabled decoders:
+aac fmvc pcm_u32be
+aac_fixed fourxm pcm_u32le
+aac_latm fraps pcm_u8
+aasc frwu pcm_vidc
+ac3 ftr pcx
+ac3_fixed g2m pdv
+acelp_kelvin g723_1 pfm
+adpcm_4xm g728 pgm
+adpcm_adx g729 pgmyuv
+adpcm_afc gdv pgssub
+adpcm_agm gem pgx
+adpcm_aica gif phm
+adpcm_argo gremlin_dpcm photocd
+adpcm_circus gsm pictor
+adpcm_ct gsm_ms pixlet
+adpcm_dtk h261 pjs
+adpcm_ea h263 png
+adpcm_ea_maxis_xa h263i ppm
+adpcm_ea_r1 h263p prores
+adpcm_ea_r2 h264 prores_raw
+adpcm_ea_r3 h264_amf prosumer
+adpcm_ea_xas h264_cuvid psd
+adpcm_g722 h264_qsv ptx
+adpcm_g726 hap qcelp
+adpcm_g726le hca qdm2
+adpcm_ima_acorn hcom qdmc
+adpcm_ima_alp hdr qdraw
+adpcm_ima_amv hevc qoa
+adpcm_ima_apc hevc_amf qoi
+adpcm_ima_apm hevc_cuvid qpeg
+adpcm_ima_cunning hevc_qsv qtrle
+adpcm_ima_dat4 hnm4_video r10k
+adpcm_ima_dk3 hq_hqa r210
+adpcm_ima_dk4 hqx ra_144
+adpcm_ima_ea_eacs huffyuv ra_288
+adpcm_ima_ea_sead hymt ralf
+adpcm_ima_escape iac rasc
+adpcm_ima_hvqm2 idcin rawvideo
+adpcm_ima_hvqm4 idf realtext
+adpcm_ima_iss iff_ilbm rka
+adpcm_ima_magix ilbc rl2
+adpcm_ima_moflex imc roq
+adpcm_ima_mtf imm4 roq_dpcm
+adpcm_ima_oki imm5 rpza
+adpcm_ima_pda indeo2 rscc
+adpcm_ima_qt indeo3 rtv1
+adpcm_ima_rad indeo4 rv10
+adpcm_ima_smjpeg indeo5 rv20
+adpcm_ima_ssi interplay_acm rv30
+adpcm_ima_wav interplay_dpcm rv40
+adpcm_ima_ws interplay_video rv60
+adpcm_ima_xbox ipu s302m
+adpcm_ms jacosub sami
+adpcm_mtaf jpeg2000 sanm
+adpcm_n64 jpegls sbc
+adpcm_psx jv scpr
+adpcm_psxc kgv1 screenpresso
+adpcm_sanyo kmvc sdx2_dpcm
+adpcm_sbpro_2 lagarith sga
+adpcm_sbpro_3 lead sgi
+adpcm_sbpro_4 libaom_av1 sgirle
+adpcm_swf libaribb24 sheervideo
+adpcm_thp libaribcaption shorten
+adpcm_thp_le libcodec2 simbiosis_imx
+adpcm_vima libdav1d sipr
+adpcm_xa libdavs2 siren
+adpcm_xmd libgsm smackaud
+adpcm_yamaha libgsm_ms smacker
+adpcm_zork libilbc smc
+agm libjxl smvjpeg
+ahx libjxl_anim snow
+aic liblc3 sol_dpcm
+alac libopencore_amrnb sonic
+alias_pix libopencore_amrwb sp5x
+als libopus speedhq
+amrnb libspeex speex
+amrwb libsvtjpegxs srgc
+amv libuavs3d srt
+anm libvorbis ssa
+ansi libvpx_vp8 stl
+anull libvpx_vp9 subrip
+apac libxevd subviewer
+ape libzvbi_teletext subviewer1
+apng loco sunrast
+aptx lscr svq1
+aptx_hd m101 svq3
+apv mace3 tak
+arbc mace6 targa
+argo magicyuv targa_y216
+ass mdec tdsc
+asv1 media100 text
+asv2 metasound theora
+atrac1 microdvd thp
+atrac3 mimic tiertexseqvideo
+atrac3al misc4 tiff
+atrac3p mjpeg tmv
+atrac3pal mjpeg_cuvid truehd
+atrac9 mjpeg_qsv truemotion1
+aura mjpegb truemotion2
+aura2 mlp truemotion2rt
+av1 mmvideo truespeech
+av1_amf mobiclip tscc
+av1_cuvid motionpixels tscc2
+av1_qsv movtext tta
+avrn mp1 twinvq
+avrp mp1float txd
+avs mp2 ulti
+avui mp2float utvideo
+bethsoftvid mp3 v210
+bfi mp3adu v210x
+bink mp3adufloat v308
+binkaudio_dct mp3float v408
+binkaudio_rdft mp3on4 v410
+bintext mp3on4float vb
+bitpacked mpc7 vble
+bmp mpc8 vbn
+bmv_audio mpeg1_cuvid vc1
+bmv_video mpeg1video vc1_cuvid
+bonk mpeg2_cuvid vc1_qsv
+brender_pix mpeg2_qsv vc1image
+c93 mpeg2video vcr1
+cavs mpeg4 vmdaudio
+cbd2_dpcm mpeg4_cuvid vmdvideo
+ccaption mpegvideo vmix
+cdgraphics mpl2 vmnc
+cdtoons msa1 vnull
+cdxl mscc vorbis
+cfhd msmpeg4v1 vp3
+cinepak msmpeg4v2 vp4
+clearvideo msmpeg4v3 vp5
+cljr msnsiren vp6
+cllc msp2 vp6a
+comfortnoise msrle vp6f
+cook mss1 vp7
+cpia mss2 vp8
+cri msvideo1 vp8_cuvid
+cscd mszh vp8_qsv
+cyuv mts2 vp9
+dca mv30 vp9_amf
+dds mvc1 vp9_cuvid
+derf_dpcm mvc2 vp9_qsv
+dfa mvdv vplayer
+dfpwm mvha vqa
+dirac mwsc vqc
+dnxhd mxpeg vvc
+dolby_e nellymoser vvc_qsv
+dpx notchlc wady_dpcm
+dsd_lsbf nuv wavarc
+dsd_lsbf_planar on2avc wavpack
+dsd_msbf opus wbmp
+dsd_msbf_planar osq wcmv
+dsicinaudio paf_audio webp
+dsicinvideo paf_video webvtt
+dss_sp pam wmalossless
+dst pbm wmapro
+dvaudio pcm_alaw wmav1
+dvbsub pcm_bluray wmav2
+dvdsub pcm_dvd wmavoice
+dvvideo pcm_f16le wmv1
+dxa pcm_f24le wmv2
+dxtory pcm_f32be wmv3
+dxv pcm_f32le wmv3image
+eac3 pcm_f64be wnv1
+eacmv pcm_f64le wrapped_avframe
+eamad pcm_lxf ws_snd1
+eatgq pcm_mulaw xan_dpcm
+eatgv pcm_s16be xan_wc3
+eatqi pcm_s16be_planar xan_wc4
+eightbps pcm_s16le xbin
+eightsvx_exp pcm_s16le_planar xbm
+eightsvx_fib pcm_s24be xface
+escape124 pcm_s24daud xl
+escape130 pcm_s24le xma1
+evrc pcm_s24le_planar xma2
+exr pcm_s32be xpm
+fastaudio pcm_s32le xsub
+ffv1 pcm_s32le_planar xwd
+ffvhuff pcm_s64be y41p
+ffwavesynth pcm_s64le ylc
+fic pcm_s8 yop
+fits pcm_s8_planar yuv4
+flac pcm_sga zero12v
+flashsv pcm_u16be zerocodec
+flashsv2 pcm_u16le zlib
+flic pcm_u24be zmbv
+flv pcm_u24le
+
+Enabled encoders:
+a64multi hevc_nvenc pcm_s64be
+a64multi5 hevc_qsv pcm_s64le
+aac hevc_vaapi pcm_s8
+aac_mf hevc_vulkan pcm_s8_planar
+ac3 huffyuv pcm_u16be
+ac3_fixed jpeg2000 pcm_u16le
+ac3_mf jpegls pcm_u24be
+adpcm_adx libaom_av1 pcm_u24le
+adpcm_argo libcodec2 pcm_u32be
+adpcm_g722 libgsm pcm_u32le
+adpcm_g726 libgsm_ms pcm_u8
+adpcm_g726le libilbc pcm_vidc
+adpcm_ima_alp libjxl pcx
+adpcm_ima_amv libjxl_anim pdv
+adpcm_ima_apm liblc3 pfm
+adpcm_ima_qt libmp3lame pgm
+adpcm_ima_ssi liboapv pgmyuv
+adpcm_ima_wav libopencore_amrnb phm
+adpcm_ima_ws libopenjpeg png
+adpcm_ms libopus ppm
+adpcm_swf librav1e prores
+adpcm_yamaha libshine prores_aw
+alac libspeex prores_ks
+alias_pix libsvtav1 prores_ks_vulkan
+amv libsvtjpegxs qoi
+anull libtheora qtrle
+apng libtwolame r10k
+aptx libvo_amrwbenc r210
+aptx_hd libvorbis ra_144
+ass libvpx_vp8 rawvideo
+asv1 libvpx_vp9 roq
+asv2 libvvenc roq_dpcm
+av1_amf libwebp rpza
+av1_d3d12va libwebp_anim rv10
+av1_mf libx264 rv20
+av1_nvenc libx264rgb s302m
+av1_qsv libx265 sbc
+av1_vaapi libxavs2 sgi
+av1_vulkan libxeve smc
+avrp libxvid snow
+avui ljpeg speedhq
+bitpacked magicyuv srt
+bmp mjpeg ssa
+cfhd mjpeg_qsv subrip
+cinepak mjpeg_vaapi sunrast
+cljr mlp svq1
+comfortnoise movtext targa
+dca mp2 text
+dfpwm mp2fixed tiff
+dnxhd mp3_mf truehd
+dpx mpeg1video tta
+dvbsub mpeg2_qsv ttml
+dvdsub mpeg2_vaapi utvideo
+dvvideo mpeg2video v210
+dxv mpeg4 v308
+eac3 msmpeg4v2 v408
+exr msmpeg4v3 v410
+ffv1 msrle vbn
+ffv1_vulkan msvideo1 vc2
+ffvhuff nellymoser vnull
+fits opus vorbis
+flac pam vp8_vaapi
+flashsv pbm vp9_qsv
+flashsv2 pcm_alaw vp9_vaapi
+flv pcm_bluray wavpack
+g723_1 pcm_dvd wbmp
+gif pcm_f32be webvtt
+h261 pcm_f32le wmav1
+h263 pcm_f64be wmav2
+h263p pcm_f64le wmv1
+h264_amf pcm_mulaw wmv2
+h264_d3d12va pcm_s16be wrapped_avframe
+h264_mf pcm_s16be_planar xbm
+h264_nvenc pcm_s16le xface
+h264_qsv pcm_s16le_planar xsub
+h264_vaapi pcm_s24be xwd
+h264_vulkan pcm_s24daud y41p
+hap pcm_s24le yuv4
+hdr pcm_s24le_planar zlib
+hevc_amf pcm_s32be zmbv
+hevc_d3d12va pcm_s32le
+hevc_mf pcm_s32le_planar
+
+Enabled hwaccels:
+av1_d3d11va hevc_dxva2 vc1_dxva2
+av1_d3d11va2 hevc_nvdec vc1_nvdec
+av1_d3d12va hevc_vaapi vc1_vaapi
+av1_dxva2 hevc_vulkan vp8_nvdec
+av1_nvdec mjpeg_nvdec vp8_vaapi
+av1_vaapi mjpeg_vaapi vp9_d3d11va
+av1_vulkan mpeg1_nvdec vp9_d3d11va2
+dpx_vulkan mpeg2_d3d11va vp9_d3d12va
+ffv1_vulkan mpeg2_d3d11va2 vp9_dxva2
+h263_vaapi mpeg2_d3d12va vp9_nvdec
+h264_d3d11va mpeg2_dxva2 vp9_vaapi
+h264_d3d11va2 mpeg2_nvdec vp9_vulkan
+h264_d3d12va mpeg2_vaapi vvc_vaapi
+h264_dxva2 mpeg4_nvdec wmv3_d3d11va
+h264_nvdec mpeg4_vaapi wmv3_d3d11va2
+h264_vaapi prores_raw_vulkan wmv3_d3d12va
+h264_vulkan prores_vulkan wmv3_dxva2
+hevc_d3d11va vc1_d3d11va wmv3_nvdec
+hevc_d3d11va2 vc1_d3d11va2 wmv3_vaapi
+hevc_d3d12va vc1_d3d12va
+
+Enabled parsers:
+aac dvdsub mpegaudio
+aac_latm evc mpegvideo
+ac3 ffv1 opus
+adx flac png
+ahx ftr pnm
+amr g723_1 prores
+apv g729 prores_raw
+av1 gif qoi
+avs2 gsm rv34
+avs3 h261 sbc
+bmp h263 sipr
+cavsvideo h264 tak
+cook hdr vc1
+cri hevc vorbis
+dca ipu vp3
+dirac jpeg2000 vp8
+dnxhd jpegxl vp9
+dnxuc jpegxs vvc
+dolby_e lcevc webp
+dpx misc4 xbm
+dvaudio mjpeg xma
+dvbsub mlp xwd
+dvd_nav mpeg4video
+
+Enabled demuxers:
+aa ico pcm_f64be
+aac idcin pcm_f64le
+aax idf pcm_mulaw
+ac3 iff pcm_s16be
+ac4 ifv pcm_s16le
+ace ilbc pcm_s24be
+acm image2 pcm_s24le
+act image2_alias_pix pcm_s32be
+adf image2_brender_pix pcm_s32le
+adp image2pipe pcm_s8
+ads image_bmp_pipe pcm_u16be
+adx image_cri_pipe pcm_u16le
+aea image_dds_pipe pcm_u24be
+afc image_dpx_pipe pcm_u24le
+aiff image_exr_pipe pcm_u32be
+aix image_gem_pipe pcm_u32le
+alp image_gif_pipe pcm_u8
+amr image_hdr_pipe pcm_vidc
+amrnb image_j2k_pipe pdv
+amrwb image_jpeg_pipe pjs
+anm image_jpegls_pipe pmp
+apac image_jpegxl_pipe pp_bnk
+apc image_jpegxs_pipe pva
+ape image_pam_pipe pvf
+apm image_pbm_pipe qcp
+apng image_pcx_pipe qoa
+aptx image_pfm_pipe r3d
+aptx_hd image_pgm_pipe rawvideo
+apv image_pgmyuv_pipe rcwt
+aqtitle image_pgx_pipe realtext
+argo_asf image_phm_pipe redspark
+argo_brp image_photocd_pipe rka
+argo_cvg image_pictor_pipe rl2
+asf image_png_pipe rm
+asf_o image_ppm_pipe roq
+ass image_psd_pipe rpl
+ast image_qdraw_pipe rsd
+au image_qoi_pipe rso
+av1 image_sgi_pipe rtp
+avi image_sunrast_pipe rtsp
+avisynth image_svg_pipe s337m
+avr image_tiff_pipe sami
+avs image_vbn_pipe sap
+avs2 image_webp_pipe sbc
+avs3 image_xbm_pipe sbg
+bethsoftvid image_xpm_pipe scc
+bfi image_xwd_pipe scd
+bfstm imf sdns
+bink ingenient sdp
+binka ipmovie sdr2
+bintext ipu sds
+bit ircam sdx
+bitpacked iss segafilm
+bmv iv8 ser
+boa ivf sga
+bonk ivr shorten
+brstm jacosub siff
+c93 jpegxl_anim simbiosis_imx
+caf jv sln
+cavsvideo kux smacker
+cdg kvag smjpeg
+cdxl laf smush
+cine lc3 sol
+codec2 libgme sox
+codec2raw libmodplug spdif
+concat libopenmpt srt
+dash live_flv stl
+data lmlm4 str
+daud loas subviewer
+dcstr lrc subviewer1
+derf luodat sup
+dfa lvf svag
+dfpwm lxf svs
+dhav m4v swf
+dirac matroska tak
+dnxhd mca tedcaptions
+dsf mcc thp
+dsicin mgsts threedostr
+dss microdvd tiertexseq
+dts mjpeg tmv
+dtshd mjpeg_2000 truehd
+dv mlp tta
+dvbsub mlv tty
+dvbtxt mm txd
+dvdvideo mmf ty
+dxa mods usm
+ea moflex v210
+ea_cdata mov v210x
+eac3 mp3 vag
+epaf mpc vc1
+evc mpc8 vc1t
+ffmetadata mpegps vividas
+filmstrip mpegts vivo
+fits mpegtsraw vmd
+flac mpegvideo vobsub
+flic mpjpeg voc
+flv mpl2 vpk
+fourxm mpsub vplayer
+frm msf vqf
+fsb msnwc_tcp vvc
+fwse msp w64
+g722 mtaf wady
+g723_1 mtv wav
+g726 musx wavarc
+g726le mv wc3
+g728 mvi webm_dash_manifest
+g729 mxf webvtt
+gdv mxg wsaud
+genh nc wsd
+gif nistsphere wsvqa
+gsm nsp wtv
+gxf nsv wv
+h261 nut wve
+h263 nuv xa
+h264 obu xbin
+hca ogg xmd
+hcom oma xmv
+hevc osq xvag
+hls paf xwma
+hnm pcm_alaw yop
+hxvs pcm_f32be yuv4mpegpipe
+iamf pcm_f32le
+
+Enabled muxers:
+a64 h263 pcm_s24be
+ac3 h264 pcm_s24le
+ac4 hash pcm_s32be
+adts hds pcm_s32le
+adx hevc pcm_s8
+aea hls pcm_u16be
+aiff iamf pcm_u16le
+alp ico pcm_u24be
+amr ilbc pcm_u24le
+amv image2 pcm_u32be
+apm image2pipe pcm_u32le
+apng ipod pcm_u8
+aptx ircam pcm_vidc
+aptx_hd ismv pdv
+apv ivf psp
+argo_asf jacosub rawvideo
+argo_cvg kvag rcwt
+asf latm rm
+asf_stream lc3 roq
+ass lrc rso
+ast m4v rtp
+au matroska rtp_mpegts
+avi matroska_audio rtsp
+avif mcc sap
+avm2 md5 sbc
+avs2 microdvd scc
+avs3 mjpeg segafilm
+bit mkvtimestamp_v2 segment
+caf mlp smjpeg
+cavsvideo mmf smoothstreaming
+chromaprint mov sox
+codec2 mp2 spdif
+codec2raw mp3 spx
+crc mp4 srt
+dash mpeg1system stream_segment
+data mpeg1vcd streamhash
+daud mpeg1video sup
+dfpwm mpeg2dvd swf
+dirac mpeg2svcd tee
+dnxhd mpeg2video tg2
+dts mpeg2vob tgp
+dv mpegts truehd
+eac3 mpjpeg tta
+evc mxf ttml
+f4v mxf_d10 uncodedframecrc
+ffmetadata mxf_opatom vc1
+fifo null vc1t
+filmstrip nut voc
+fits obu vvc
+flac oga w64
+flv ogg wav
+framecrc ogv webm
+framehash oma webm_chunk
+framemd5 opus webm_dash_manifest
+g722 pcm_alaw webp
+g723_1 pcm_f32be webvtt
+g726 pcm_f32le whip
+g726le pcm_f64be wsaud
+gif pcm_f64le wtv
+gsm pcm_mulaw wv
+gxf pcm_s16be yuv4mpegpipe
+h261 pcm_s16le
+
+Enabled protocols:
+async http rtmp
+bluray httpproxy rtmpe
+cache https rtmps
+concat icecast rtmpt
+concatf ipfs_gateway rtmpte
+crypto ipns_gateway rtmpts
+data librist rtp
+dtls libsrt srtp
+fd libssh subfile
+ffrtmpcrypt libzmq tcp
+ffrtmphttp md5 tee
+file mmsh tls
+ftp mmst udp
+gopher pipe udplite
+gophers prompeg
+
+Enabled filters:
+a3dscope deconvolve perms
+aap dedot perspective
+abench deesser phase
+abitscope deflate photosensitivity
+acompressor deflicker pixdesctest
+acontrast deinterlace_d3d12 pixelize
+acopy deinterlace_qsv pixscope
+acrossfade deinterlace_vaapi pp7
+acrossover dejudder premultiply
+acrusher delogo premultiply_dynamic
+acue denoise_vaapi prewitt
+addroi deshake prewitt_opencl
+adeclick deshake_opencl procamp_vaapi
+adeclip despill program_opencl
+adecorrelate detelecine pseudocolor
+adelay dialoguenhance psnr
+adenorm dilation pullup
+aderivative dilation_opencl qp
+adrawgraph displace qrencode
+adrc doubleweave qrencodesrc
+adynamicequalizer drawbox quirc
+adynamicsmooth drawbox_vaapi random
+aecho drawgraph readeia608
+aemphasis drawgrid readvitc
+aeval drawtext realtime
+aevalsrc drawvg remap
+aexciter drmeter remap_opencl
+afade dynaudnorm removegrain
+afdelaysrc earwax removelogo
+afftdn ebur128 repeatfields
+afftfilt edgedetect replaygain
+afir elbg reverse
+afireqsrc entropy rgbashift
+afirsrc epx rgbtestsrc
+aformat eq roberts
+afreqshift equalizer roberts_opencl
+afwtdn erosion rotate
+agate erosion_opencl rubberband
+agraphmonitor estdif sab
+ahistogram exposure scale
+aiir extractplanes scale2ref
+aintegral extrastereo scale_cuda
+ainterleave fade scale_d3d11
+alatency feedback scale_d3d12
+alimiter fftdnoiz scale_qsv
+allpass fftfilt scale_vaapi
+allrgb field scale_vulkan
+allyuv fieldhint scdet
+aloop fieldmatch scdet_vulkan
+alphaextract fieldorder scharr
+alphamerge fillborders scroll
+amerge find_rect segment
+ametadata firequalizer select
+amf_capture flanger selectivecolor
+amix flip_vulkan sendcmd
+amovie flite separatefields
+amplify floodfill setdar
+amultiply format setfield
+anequalizer fps setparams
+anlmdn framepack setpts
+anlmf framerate setrange
+anlms framestep setsar
+anoisesrc frc_amf settb
+anull freezedetect sharpness_vaapi
+anullsink freezeframes shear
+anullsrc frei0r showcqt
+apad frei0r_src showcwt
+aperms fspp showfreqs
+aphasemeter fsync showinfo
+aphaser gblur showpalette
+aphaseshift gblur_vulkan showspatial
+apsnr geq showspectrum
+apsyclip gfxcapture showspectrumpic
+apulsator gradfun showvolume
+arealtime gradients showwaves
+aresample graphmonitor showwavespic
+areverse grayworld shuffleframes
+arls greyedge shufflepixels
+arnndn guided shuffleplanes
+asdr haas sidechaincompress
+asegment haldclut sidechaingate
+aselect haldclutsrc sidedata
+asendcmd hdcd sierpinski
+asetnsamples headphone signalstats
+asetpts hflip signature
+asetrate hflip_vulkan silencedetect
+asettb highpass silenceremove
+ashowinfo highshelf sinc
+asidedata hilbert sine
+asisdr histeq siti
+asoftclip histogram smartblur
+aspectralstats hqdn3d smptebars
+asplit hqx smptehdbars
+ass hstack sobel
+astats hstack_qsv sobel_opencl
+astreamselect hstack_vaapi sofalizer
+asubboost hsvhold spectrumsynth
+asubcut hsvkey speechnorm
+asupercut hue split
+asuperpass huesaturation spp
+asuperstop hwdownload sr_amf
+atadenoise hwmap ssim
+atempo hwupload ssim360
+atilt hwupload_cuda stereo3d
+atrim hysteresis stereotools
+avectorscope iccdetect stereowiden
+avgblur iccgen streamselect
+avgblur_opencl identity subtitles
+avgblur_vulkan idet super2xsai
+avsynctest il superequalizer
+axcorrelate inflate surround
+azmq interlace swaprect
+backgroundkey interlace_vulkan swapuv
+bandpass interleave tblend
+bandreject join telecine
+bass kerndeint testsrc
+bbox kirsch testsrc2
+bench ladspa thistogram
+bilateral lagfun threshold
+bilateral_cuda latency thumbnail
+biquad lenscorrection thumbnail_cuda
+bitplanenoise lensfun tile
+blackdetect libplacebo tiltandshift
+blackdetect_vulkan libvmaf tiltshelf
+blackframe life tinterlace
+blend limitdiff tlut2
+blend_vulkan limiter tmedian
+blockdetect loop tmidequalizer
+blurdetect loudnorm tmix
+bm3d lowpass tonemap
+boxblur lowshelf tonemap_opencl
+boxblur_opencl lumakey tonemap_vaapi
+bs2b lut tpad
+bwdif lut1d transpose
+bwdif_cuda lut2 transpose_cuda
+bwdif_vulkan lut3d transpose_opencl
+cas lutrgb transpose_vaapi
+ccrepack lutyuv transpose_vulkan
+cellauto mandelbrot treble
+channelmap maskedclamp tremolo
+channelsplit maskedmax trim
+chorus maskedmerge unpremultiply
+chromaber_vulkan maskedmin unsharp
+chromahold maskedthreshold unsharp_opencl
+chromakey maskfun untile
+chromakey_cuda mcdeint uspp
+chromanr mcompand v360
+chromashift median v360_vulkan
+ciescope mergeplanes vaguedenoiser
+codecview mestimate varblur
+color mestimate_d3d12 vectorscope
+color_vulkan metadata vflip
+colorbalance midequalizer vflip_vulkan
+colorchannelmixer minterpolate vfrdet
+colorchart mix vibrance
+colorcontrast monochrome vibrato
+colorcorrect morpho vidstabdetect
+colordetect movie vidstabtransform
+colorhold mpdecimate vif
+colorize mptestsrc vignette
+colorkey msad virtualbass
+colorkey_opencl multiply vmafmotion
+colorlevels negate volume
+colormap nlmeans volumedetect
+colormatrix nlmeans_opencl vpp_amf
+colorspace nlmeans_vulkan vpp_qsv
+colorspace_cuda nnedi vstack
+colorspectrum noformat vstack_qsv
+colortemperature noise vstack_vaapi
+compand normalize w3fdif
+compensationdelay null waveform
+concat nullsink weave
+convolution nullsrc whisper
+convolution_opencl openclsrc xbr
+convolve oscilloscope xcorrelate
+copy overlay xfade
+corr overlay_cuda xfade_opencl
+cover_rect overlay_opencl xfade_vulkan
+crop overlay_qsv xmedian
+cropdetect overlay_vaapi xpsnr
+crossfeed overlay_vulkan xstack
+crystalizer owdenoise xstack_qsv
+cue pad xstack_vaapi
+curves pad_cuda yadif
+datascope pad_opencl yadif_cuda
+dblur pad_vaapi yaepblur
+dcshift pal100bars yuvtestsrc
+dctdnoiz pal75bars zmq
+ddagrab palettegen zoneplate
+deband paletteuse zoompan
+deblock pan zscale
+decimate perlin
+
+Enabled bsfs:
+aac_adtstoasc h264_metadata pcm_rechunk
+ahx_to_mp2 h264_mp4toannexb pgs_frame_merge
+apv_metadata h264_redundant_pps prores_metadata
+av1_frame_merge hapqa_extract remove_extradata
+av1_frame_split hevc_metadata setts
+av1_metadata hevc_mp4toannexb showinfo
+chomp imx_dump_header smpte436m_to_eia608
+dca_core lcevc_metadata text2movsub
+dovi_rpu media100_to_mjpegb trace_headers
+dts2pts mjpeg2jpeg truehd_core
+dump_extradata mjpega_dump_header vp9_metadata
+dv_error_marker mov2textsub vp9_raw_reorder
+eac3_core mpeg2_metadata vp9_superframe
+eia608_to_smpte436m mpeg4_unpack_bframes vp9_superframe_split
+evc_frame_merge noise vvc_metadata
+extract_extradata null vvc_mp4toannexb
+filter_units opus_metadata
+
+Enabled indevs:
+dshow lavfi openal
+gdigrab libcdio vfwcap
+
+Enabled outdevs:
+caca
+
+git-full external libraries' versions:
+
+AMF v1.5.2
+aom v3.13.3-439-g32c4161373
+aribcaption 1.1.1
+AviSynthPlus v3.7.5-303-g31b8b167
+bs2b 3.1.0
+cairo 1.18.5
+chromaprint 1.6.0
+codec2 1.2.0-108-g310777b1
+dav1d 1.5.3-42-g51b67010
+davs2 1.7-1-gb41cf11
+dvdnav 7.0.0-1-gcf11277
+dvdread 7.0.1-55-ge4d9a03
+ffnvcodec n13.0.19.0-3-g33a9ede
+flite v2.2-55-g6c9f20d
+frei0r v3.1.3-10-gdfc89ab
+gsm 1.0.24
+ladspa-sdk 1.17
+lame 3.100
+lc3 1.1.3
+lcms2 2.16
+lensfun v0.3.95-1965-g01e64b74
+libcdio-paranoia 10.2
+libgme 0.6.6
+libilbc v3.0.4-346-g6adb26d4a4
+libjxl v0.11-snapshot-577-gc0667f8e
+libopencore-amrnb 0.1.6
+libopencore-amrwb 0.1.6
+libplacebo v7.360.0-42-gc43baa7
+libsoxr 0.1.3
+libssh 0.12.0
+libtheora v1.2.0
+libwebp v1.6.0-179-ged0fa1c
+openal-soft latest
+openapv v0.2.1.3-fix-1-g27d4d71
+openmpt libopenmpt-0.6.28-16-gfe8c9f3f
+opus v1.6.1-19-gf8f99516
+qrencode 4.1.1
+quirc 1.2
+rav1e p20250624-3-g564ae3b
+rist 0.2.14
+rubberband v1.8.1
+SDL release-2.32.0-199-g4b69833bc
+shaderc v2026.2-8-g7c5f360
+shine 3.1.1
+snappy 1.2.2
+speex Speex-1.2.1-51-g0589522
+srt v1.5.5-1-g8e68635
+SVT-AV1 v4.1.0-101-ge68533ea
+SVT-JPEG-XS v0.9.0-50-gc36f29a
+twolame 0.4.0
+uavs3d v1.1-50-g0e20d2c
+VAAPI 2.24.0.
+vidstab v1.1.1-24-g92bc0b0
+vmaf v3.1.0-119-g4e469601
+vo-amrwbenc 0.1.3
+vorbis v1.3.7-24-g68a7fc22
+VPL 2.16
+vpx v1.16.0-118-gf38b9deb0
+vulkan-loader v1.4.351-2-gd34e103
+vvenc v1.14.0-118-gb1bc3bd
+whisper.cpp 1.8.4
+x264 v0.165.3223
+x265 4.2-6-g7b3d1f5
+xavs2 1.4
+xevd 0.5.0
+xeve 0.5.1
+xvid v1.3.7
+zeromq 4.3.5
+zimg release-3.0.6-218-gfa52dee
+zvbi v0.2.44-4-g41477c9
+
diff --git a/git/.gitconfig b/git/.gitconfig
new file mode 100644
index 0000000000000000000000000000000000000000..7cedd07997b2e30132b1e82ab3f95f3d2d3bf9fb
--- /dev/null
+++ b/git/.gitconfig
@@ -0,0 +1,5 @@
+[core]
+ longpaths = true
+ autocrlf = true
+[init]
+ defaultBranch = main
diff --git a/git/LICENSE.txt b/git/LICENSE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..536e55524db72bd2acf175208aef4f3dfc148d42
--- /dev/null
+++ b/git/LICENSE.txt
@@ -0,0 +1,360 @@
+
+ Note that the only valid version of the GPL as far as this project
+ is concerned is _this_ particular version of the license (ie v2, not
+ v2.2 or v3.x or whatever), unless explicitly otherwise stated.
+
+ HOWEVER, in order to allow a migration to GPLv3 if that seems like
+ a good idea, I also ask that people involved with the project make
+ their preferences known. In particular, if you trust me to make that
+ decision, you might note so in your copyright message, ie something
+ like
+
+ This file is licensed under the GPL v2, or a later version
+ at the discretion of Linus.
+
+ might avoid issues. But we can also just decide to synchronize and
+ contact all copyright holders on record if/when the occasion arises.
+
+ Linus Torvalds
+
+----------------------------------------
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ 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 2 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, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ , 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/git/README.portable b/git/README.portable
new file mode 100644
index 0000000000000000000000000000000000000000..7993fd6035fa36a38235040fc835aeb971bc16ae
--- /dev/null
+++ b/git/README.portable
@@ -0,0 +1,106 @@
+README.portable
+=======================
+
+This version of Git for Windows is portable, i.e. does not need to
+be installed. It will run from any directory you place it in, even
+from a USB thumbdrive. It will not write permanent entries into the
+Windows registry. It does not need administrator privileges to "install".
+
+
+Installation
+------------
+
+This package is contained in a 7-zip archive with a file name of the form
+'PortableGit-.7z.exe'. It is a self-extracting archive:
+you can (double-)click it and it will ask for the desired target directory
+(which defaults to C:\Program Files\Git). You may change that as needed or
+desired. Your user account needs write access to the selected directory.
+(You can move that directory with all its contents to a different place or
+computer at any time should you later desire so).
+
+*NOTE*: if you decide to unpack the archive using 7-Zip manually, you must
+run the `post-install.bat` script. Git will not run correctly
+otherwise.
+
+Functional differences to the non-portable Git for Windows
+----------------------------------------------------------
+
+This version does not offer you the convenient right-click context menu
+entries "Git GUI Here" and "Git Bash Here", because these would require
+to add entries into the Windows registry.
+
+
+Warning
+-------
+
+Since this portable package does not modify any Windows %path%
+variables, it is not possible to run the git.exe and gitk.exe files
+directly. Start the Git Bash or Git Cmd instead, or add the cmd/ folder
+to your %path%.
+
+
+How to start using PortableGit
+------------------------------
+
+If you are comfortable with a Unix-like shell, just launch 'git-bash.exe'.
+
+If not, just launch 'git-cmd.exe'.
+
+Alternatively, you can execute these commands to modify the %path%
+variable temporarily:
+
+ set gitdir=c:\portablegit
+ set path=%gitdir%\cmd;%path%
+
+Adjust the 'gitdir' according to your setup. As long as you do not
+close the command window, you can now simply type "git" or "gitk" to
+really call "c:\portablegit\cmd\git.exe" or "c:\portablegit\cmd\gitk.exe".
+
+By default, git-cmd and git-bash use the directory they were started from as
+the working directory when run. You can override this by passing --cd-to-home
+to them, which will set the user's home directory as the working directory (as
+if Git for Windows was installed).
+
+In addition, if you set the HOME environment variable (either permanently or
+for the current session only) you can make Git store and use the configuration
+files in the directory specified in that variable. And if you specify
+--cd-to-home, git-bash and git-cmd will use that as the working directory when
+launched, too. For example:
+
+ set HOME=%cd%/home
+ git --cd-to-home
+will use the relative directory named home (%cd% specifies the current
+directory).
+
+Quick start
+-----------
+
+Start configuring git with your personal settings:
+ git config --global user.name "Joe Sixpack"
+ git config --global user.email joe.sixpack@g_mail.com
+
+Start using git:
+ git --help
+
+
+How to change %path% permanently
+--------------------------------
+
+You may also want to make the modification to the %path% variable a
+permanent one. The %path% variable may be changed:
+
+* either on a System level (for all users in the lower pane), if you are
+ an Administrator
+* or for your own user account only (in the upper pane).
+
+To change the %path% variable permanently:
+
+* right-click "My Computer",
+* select "Properties",
+* open "Advanced",
+* click "Environment Variables",
+* highlight the "Path" variable,
+* click "Edit" (either in upper or in lower pane),
+* add your specific path to front of "Variable value" field, separated
+ by a semicolon from the existing entry.
+
diff --git a/git/post-install.bat b/git/post-install.bat
new file mode 100644
index 0000000000000000000000000000000000000000..1f08dea4d5058e8ce1004099d97a9958a7de7b15
--- /dev/null
+++ b/git/post-install.bat
@@ -0,0 +1,53 @@
+@REM This script is intended to be run after installation of Git for Windows
+@REM (including the portable version)
+
+@REM If run manually, it should be run via
+@REM git-bash.exe --no-needs-console --hide --no-cd --command=post-install.bat
+@REM to hide the console.
+
+@REM Change to the directory in which this script lives.
+@REM https://technet.microsoft.com/en-us/library/bb490909.aspx says:
+@REM ~dpI Expands I to a drive letter and path only.
+@REM ~fI Expands I to a fully qualified path name.
+@FOR /F "delims=" %%D IN ("%~dp0") DO @CD %%~fD
+
+@SET /A "version=0" & FOR /F "tokens=2 delims=[]" %%i IN ('"VER"') DO @(
+ @FOR /F "tokens=2 delims=. " %%v IN ("%%~i") DO @(
+ @SET /A "version=%%~v + 0"
+ )
+)
+
+@REM If this is a 32-bit Git for Windows, adjust the DLL address ranges.
+@REM We cannot use %PROCESSOR_ARCHITECTURE% for this test because it is
+@REM allowed to install a 32-bit Git for Windows into a 64-bit system.
+@IF EXIST mingw32\bin\git.exe @(
+ @REM We need to rebase just to make sure that it still works even with
+ @REM 32-bit Windows 10
+ @IF %version% GEQ 10 @(
+ @REM We copy `rebase.exe` because it links to `msys-2.0.dll`
+ @REM (and @REM thus prevents modifying it). It is okay to
+ @REM execute `rebase.exe`, though, because the DLL base address
+ @REM problems only really show when other processes are
+ @REM `fork()`ed and `rebase.exe` does no such thing.
+ @IF NOT EXIST bin\rebase.exe @(
+ @IF NOT EXIST bin @MKDIR bin
+ @COPY usr\bin\rebase.exe bin\rebase.exe
+ )
+ @IF NOT EXIST bin\msys-2.0.dll @(
+ @COPY usr\bin\msys-2.0.dll bin\msys-2.0.dll
+ )
+ @bin\rebase.exe -b 0x64000000 usr\bin\msys-2.0.dll
+ )
+
+ usr\bin\dash.exe -c '/usr/bin/dash usr/bin/rebaseall -p'
+)
+
+@echo "running post-install"
+@REM Run the post-install scripts
+@usr\bin\bash.exe --norc -c "export PATH=/usr/bin:$PATH; export SYSCONFDIR=/etc; for p in $(export LC_COLLATE=C; echo /etc/post-install/*.post); do test -e \"$p\" && . \"$p\"; done"
+
+@REM Unset environment variables set by this script
+@SET "version="
+
+@REM Remove this script
+@DEL post-install.bat
diff --git a/git/usr/share/perl5/core_perl/App/Cpan.pm b/git/usr/share/perl5/core_perl/App/Cpan.pm
new file mode 100644
index 0000000000000000000000000000000000000000..6358e82a03695c47779c168e17b5079ca26633f1
--- /dev/null
+++ b/git/usr/share/perl5/core_perl/App/Cpan.pm
@@ -0,0 +1,1719 @@
+package App::Cpan;
+
+use strict;
+use warnings;
+use vars qw($VERSION);
+
+use if $] < 5.008 => 'IO::Scalar';
+
+$VERSION = '1.678';
+
+=head1 NAME
+
+App::Cpan - easily interact with CPAN from the command line
+
+=head1 SYNOPSIS
+
+ # with arguments and no switches, installs specified modules
+ cpan module_name [ module_name ... ]
+
+ # with switches, installs modules with extra behavior
+ cpan [-cfFimtTw] module_name [ module_name ... ]
+
+ # use local::lib
+ cpan -I module_name [ module_name ... ]
+
+ # one time mirror override for faster mirrors
+ cpan -p ...
+
+ # with just the dot, install from the distribution in the
+ # current directory
+ cpan .
+
+ # without arguments, starts CPAN.pm shell
+ cpan
+
+ # without arguments, but some switches
+ cpan [-ahpruvACDLOPX]
+
+=head1 DESCRIPTION
+
+This script provides a command interface (not a shell) to CPAN. At the
+moment it uses CPAN.pm to do the work, but it is not a one-shot command
+runner for CPAN.pm.
+
+=head2 Options
+
+=over 4
+
+=item -a
+
+Creates a CPAN.pm autobundle with CPAN::Shell->autobundle.
+
+=item -A module [ module ... ]
+
+Shows the primary maintainers for the specified modules.
+
+=item -c module
+
+Runs a `make clean` in the specified module's directories.
+
+=item -C module [ module ... ]
+
+Show the F files for the specified modules
+
+=item -D module [ module ... ]
+
+Show the module details. This prints one line for each out-of-date module
+(meaning, modules locally installed but have newer versions on CPAN).
+Each line has three columns: module name, local version, and CPAN
+version.
+
+=item -f
+
+Force the specified action, when it normally would have failed. Use this
+to install a module even if its tests fail. When you use this option,
+-i is not optional for installing a module when you need to force it:
+
+ % cpan -f -i Module::Foo
+
+=item -F
+
+Turn off CPAN.pm's attempts to lock anything. You should be careful with
+this since you might end up with multiple scripts trying to muck in the
+same directory. This isn't so much of a concern if you're loading a special
+config with C<-j>, and that config sets up its own work directories.
+
+=item -g module [ module ... ]
+
+Downloads to the current directory the latest distribution of the module.
+
+=item -G module [ module ... ]
+
+UNIMPLEMENTED
+
+Download to the current directory the latest distribution of the
+modules, unpack each distribution, and create a git repository for each
+distribution.
+
+If you want this feature, check out Yanick Champoux's C
+distribution.
+
+=item -h
+
+Print a help message and exit. When you specify C<-h>, it ignores all
+of the other options and arguments.
+
+=item -i module [ module ... ]
+
+Install the specified modules. With no other switches, this switch
+is implied.
+
+=item -I
+
+Load C (think like C<-I> for loading lib paths). Too bad
+C<-l> was already taken.
+
+=item -j Config.pm
+
+Load the file that has the CPAN configuration data. This should have the
+same format as the standard F file, which defines
+C<$CPAN::Config> as an anonymous hash.
+
+If the file does not exist, C dies.
+
+=item -J
+
+Dump the configuration in the same format that CPAN.pm uses. This is useful
+for checking the configuration as well as using the dump as a starting point
+for a new, custom configuration.
+
+=item -l
+
+List all installed modules with their versions
+
+=item -L author [ author ... ]
+
+List the modules by the specified authors.
+
+=item -m
+
+Make the specified modules.
+
+=item -M mirror1,mirror2,...
+
+A comma-separated list of mirrors to use for just this run. The C<-P>
+option can find them for you automatically.
+
+=item -n
+
+Do a dry run, but don't actually install anything. (unimplemented)
+
+=item -O
+
+Show the out-of-date modules.
+
+=item -p
+
+Ping the configured mirrors and print a report
+
+=item -P
+
+Find the best mirrors you could be using and use them for the current
+session.
+
+=item -r
+
+Recompiles dynamically loaded modules with CPAN::Shell->recompile.
+
+=item -s
+
+Drop in the CPAN.pm shell. This command does this automatically if you don't
+specify any arguments.
+
+=item -t module [ module ... ]
+
+Run a `make test` on the specified modules.
+
+=item -T
+
+Do not test modules. Simply install them.
+
+=item -u
+
+Upgrade all installed modules. Blindly doing this can really break things,
+so keep a backup.
+
+=item -v
+
+Print the script version and CPAN.pm version then exit.
+
+=item -V
+
+Print detailed information about the cpan client.
+
+=item -w
+
+UNIMPLEMENTED
+
+Turn on cpan warnings. This checks various things, like directory permissions,
+and tells you about problems you might have.
+
+=item -x module [ module ... ]
+
+Find close matches to the named modules that you think you might have
+mistyped. This requires the optional installation of Text::Levenshtein or
+Text::Levenshtein::Damerau.
+
+=item -X
+
+Dump all the namespaces to standard output.
+
+=back
+
+=head2 Examples
+
+ # print a help message
+ cpan -h
+
+ # print the version numbers
+ cpan -v
+
+ # create an autobundle
+ cpan -a
+
+ # recompile modules
+ cpan -r
+
+ # upgrade all installed modules
+ cpan -u
+
+ # install modules ( sole -i is optional )
+ cpan -i Netscape::Booksmarks Business::ISBN
+
+ # force install modules ( must use -i )
+ cpan -fi CGI::Minimal URI
+
+ # install modules but without testing them
+ cpan -Ti CGI::Minimal URI
+
+=head2 Environment variables
+
+There are several components in CPAN.pm that use environment variables.
+The build tools, L and L use some,
+while others matter to the levels above them. Some of these are specified
+by the Perl Toolchain Gang:
+
+Lancaster Consensus: L
+
+Oslo Consensus: L
+
+=over 4
+
+=item NONINTERACTIVE_TESTING
+
+Assume no one is paying attention and skips prompts for distributions
+that do that correctly. C sets this to C<1> unless it already
+has a value (even if that value is false).
+
+=item PERL_MM_USE_DEFAULT
+
+Use the default answer for a prompted questions. C sets this
+to C<1> unless it already has a value (even if that value is false).
+
+=item CPAN_OPTS
+
+As with C, a string of additional C options to
+add to those you specify on the command line.
+
+=item CPANSCRIPT_LOGLEVEL
+
+The log level to use, with either the embedded, minimal logger or
+L if it is installed. Possible values are the same as
+the C levels: C, C, C, C,
+C, and C. The default is C.
+
+=item GIT_COMMAND
+
+The path to the C binary to use for the Git features. The default
+is C.
+
+=back
+
+=head2 Methods
+
+=over 4
+
+=cut
+
+use autouse Carp => qw(carp croak cluck);
+use CPAN 1.80 (); # needs no test
+use Config;
+use autouse Cwd => qw(cwd);
+use autouse 'Data::Dumper' => qw(Dumper);
+use File::Spec::Functions qw(catfile file_name_is_absolute rel2abs);
+use File::Basename;
+use Getopt::Std;
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+# Internal constants
+use constant TRUE => 1;
+use constant FALSE => 0;
+
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+# The return values
+use constant HEY_IT_WORKED => 0;
+use constant I_DONT_KNOW_WHAT_HAPPENED => 1; # 0b0000_0001
+use constant ITS_NOT_MY_FAULT => 2;
+use constant THE_PROGRAMMERS_AN_IDIOT => 4;
+use constant A_MODULE_FAILED_TO_INSTALL => 8;
+
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+# set up the order of options that we layer over CPAN::Shell
+BEGIN { # most of this should be in methods
+use vars qw( @META_OPTIONS $Default %CPAN_METHODS @CPAN_OPTIONS @option_order
+ %Method_table %Method_table_index );
+
+@META_OPTIONS = qw( h v V I g G M: C A D O l L a r p P j: J w x X );
+
+$Default = 'default';
+
+%CPAN_METHODS = ( # map switches to method names in CPAN::Shell
+ $Default => 'install',
+ 'c' => 'clean',
+ 'f' => 'force',
+ 'i' => 'install',
+ 'm' => 'make',
+ 't' => 'test',
+ 'u' => 'upgrade',
+ 'T' => 'notest',
+ 's' => 'shell',
+ );
+@CPAN_OPTIONS = grep { $_ ne $Default } sort keys %CPAN_METHODS;
+
+@option_order = ( @META_OPTIONS, @CPAN_OPTIONS );
+
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+# map switches to the subroutines in this script, along with other information.
+# use this stuff instead of hard-coded indices and values
+sub NO_ARGS () { 0 }
+sub ARGS () { 1 }
+sub GOOD_EXIT () { 0 }
+
+%Method_table = (
+# key => [ sub ref, takes args?, exit value, description ]
+
+ # options that do their thing first, then exit
+ h => [ \&_print_help, NO_ARGS, GOOD_EXIT, 'Printing help' ],
+ v => [ \&_print_version, NO_ARGS, GOOD_EXIT, 'Printing version' ],
+ V => [ \&_print_details, NO_ARGS, GOOD_EXIT, 'Printing detailed version' ],
+ X => [ \&_list_all_namespaces, NO_ARGS, GOOD_EXIT, 'Listing all namespaces' ],
+
+ # options that affect other options
+ j => [ \&_load_config, ARGS, GOOD_EXIT, 'Use specified config file' ],
+ J => [ \&_dump_config, NO_ARGS, GOOD_EXIT, 'Dump configuration to stdout' ],
+ F => [ \&_lock_lobotomy, NO_ARGS, GOOD_EXIT, 'Turn off CPAN.pm lock files' ],
+ I => [ \&_load_local_lib, NO_ARGS, GOOD_EXIT, 'Loading local::lib' ],
+ M => [ \&_use_these_mirrors, ARGS, GOOD_EXIT, 'Setting per session mirrors' ],
+ P => [ \&_find_good_mirrors, NO_ARGS, GOOD_EXIT, 'Finding good mirrors' ],
+ w => [ \&_turn_on_warnings, NO_ARGS, GOOD_EXIT, 'Turning on warnings' ],
+
+ # options that do their one thing
+ g => [ \&_download, ARGS, GOOD_EXIT, 'Download the latest distro' ],
+ G => [ \&_gitify, ARGS, GOOD_EXIT, 'Down and gitify the latest distro' ],
+
+ C => [ \&_show_Changes, ARGS, GOOD_EXIT, 'Showing Changes file' ],
+ A => [ \&_show_Author, ARGS, GOOD_EXIT, 'Showing Author' ],
+ D => [ \&_show_Details, ARGS, GOOD_EXIT, 'Showing Details' ],
+ O => [ \&_show_out_of_date, NO_ARGS, GOOD_EXIT, 'Showing Out of date' ],
+ l => [ \&_list_all_mods, NO_ARGS, GOOD_EXIT, 'Listing all modules' ],
+
+ L => [ \&_show_author_mods, ARGS, GOOD_EXIT, 'Showing author mods' ],
+ a => [ \&_create_autobundle, NO_ARGS, GOOD_EXIT, 'Creating autobundle' ],
+ p => [ \&_ping_mirrors, NO_ARGS, GOOD_EXIT, 'Pinging mirrors' ],
+
+ r => [ \&_recompile, NO_ARGS, GOOD_EXIT, 'Recompiling' ],
+ u => [ \&_upgrade, NO_ARGS, GOOD_EXIT, 'Running `make test`' ],
+ 's' => [ \&_shell, NO_ARGS, GOOD_EXIT, 'Drop into the CPAN.pm shell' ],
+
+ 'x' => [ \&_guess_namespace, ARGS, GOOD_EXIT, 'Guessing namespaces' ],
+ c => [ \&_default, ARGS, GOOD_EXIT, 'Running `make clean`' ],
+ f => [ \&_default, ARGS, GOOD_EXIT, 'Installing with force' ],
+ i => [ \&_default, ARGS, GOOD_EXIT, 'Running `make install`' ],
+ 'm' => [ \&_default, ARGS, GOOD_EXIT, 'Running `make`' ],
+ t => [ \&_default, ARGS, GOOD_EXIT, 'Running `make test`' ],
+ T => [ \&_default, ARGS, GOOD_EXIT, 'Installing with notest' ],
+ );
+
+%Method_table_index = (
+ code => 0,
+ takes_args => 1,
+ exit_value => 2,
+ description => 3,
+ );
+}
+
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+# finally, do some argument processing
+
+sub _stupid_interface_hack_for_non_rtfmers
+ {
+ no warnings 'uninitialized';
+ shift @ARGV if( $ARGV[0] eq 'install' and @ARGV > 1 )
+ }
+
+sub _process_options
+ {
+ my %options;
+
+ push @ARGV, grep $_, split /\s+/, $ENV{CPAN_OPTS} || '';
+
+ # if no arguments, just drop into the shell
+ if( 0 == @ARGV ) { CPAN::shell(); exit 0 }
+ elsif (Getopt::Std::getopts(
+ join( '', @option_order ), \%options ))
+ {
+ \%options;
+ }
+ else { exit 1 }
+}
+
+sub _process_setup_options
+ {
+ my( $class, $options ) = @_;
+
+ if( $options->{j} )
+ {
+ $Method_table{j}[ $Method_table_index{code} ]->( $options->{j} );
+ delete $options->{j};
+ }
+ elsif ( ! $options->{h} ) { # h "ignores all of the other options and arguments"
+ # this is what CPAN.pm would do otherwise
+ local $CPAN::Be_Silent = 1;
+ CPAN::HandleConfig->load(
+ # be_silent => 1, deprecated
+ write_file => 0,
+ );
+ }
+
+ $class->_turn_off_testing if $options->{T};
+
+ foreach my $o ( qw(F I w P M) )
+ {
+ next unless exists $options->{$o};
+ $Method_table{$o}[ $Method_table_index{code} ]->( $options->{$o} );
+ delete $options->{$o};
+ }
+
+ if( $options->{o} )
+ {
+ my @pairs = map { [ split /=/, $_, 2 ] } split /,/, $options->{o};
+ foreach my $pair ( @pairs )
+ {
+ my( $setting, $value ) = @$pair;
+ $CPAN::Config->{$setting} = $value;
+ # $logger->debug( "Setting [$setting] to [$value]" );
+ }
+ delete $options->{o};
+ }
+
+ my $option_count = grep { $options->{$_} } @option_order;
+ no warnings 'uninitialized';
+
+ # don't count options that imply installation
+ foreach my $opt ( qw(f T) ) { # don't count force or notest
+ $option_count -= $options->{$opt};
+ }
+
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+ # if there are no options, set -i (this line fixes RT ticket 16915)
+ $options->{i}++ unless $option_count;
+ }
+
+sub _setup_environment {
+# should we override or set defaults? If this were a true interactive
+# session, we'd be in the CPAN shell.
+
+# https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md
+ $ENV{NONINTERACTIVE_TESTING} = 1 unless defined $ENV{NONINTERACTIVE_TESTING};
+ $ENV{PERL_MM_USE_DEFAULT} = 1 unless defined $ENV{PERL_MM_USE_DEFAULT};
+ }
+
+=item run( ARGS )
+
+Just do it.
+
+The C method returns 0 on success and a positive number on
+failure. See the section on EXIT CODES for details on the values.
+
+=cut
+
+my $logger;
+
+sub run
+ {
+ my( $class, @args ) = @_;
+ local @ARGV = @args;
+ my $return_value = HEY_IT_WORKED; # assume that things will work
+
+ $logger = $class->_init_logger;
+ $logger->debug( "Using logger from @{[ref $logger]}" );
+
+ $class->_hook_into_CPANpm_report;
+ $logger->debug( "Hooked into output" );
+
+ $class->_stupid_interface_hack_for_non_rtfmers;
+ $logger->debug( "Patched cargo culting" );
+
+ my $options = $class->_process_options;
+ $logger->debug( "Options are @{[Dumper($options)]}" );
+
+ $class->_process_setup_options( $options );
+
+ $class->_setup_environment( $options );
+
+ OPTION: foreach my $option ( @option_order )
+ {
+ next unless $options->{$option};
+
+ my( $sub, $takes_args, $description ) =
+ map { $Method_table{$option}[ $Method_table_index{$_} ] }
+ qw( code takes_args description );
+
+ unless( ref $sub eq ref sub {} )
+ {
+ $return_value = THE_PROGRAMMERS_AN_IDIOT;
+ last OPTION;
+ }
+
+ $logger->info( "[$option] $description -- ignoring other arguments" )
+ if( @ARGV && ! $takes_args );
+
+ $return_value = $sub->( \ @ARGV, $options );
+
+ last;
+ }
+
+ return $return_value;
+ }
+
+my $LEVEL;
+{
+package
+ Local::Null::Logger; # hide from PAUSE
+
+my @LOGLEVELS = qw(TRACE DEBUG INFO WARN ERROR FATAL);
+$LEVEL = uc($ENV{CPANSCRIPT_LOGLEVEL} || 'INFO');
+my %LL = map { $LOGLEVELS[$_] => $_ } 0..$#LOGLEVELS;
+unless (defined $LL{$LEVEL}){
+ warn "Unsupported loglevel '$LEVEL', setting to INFO";
+ $LEVEL = 'INFO';
+}
+sub new { bless \ my $x, $_[0] }
+sub AUTOLOAD {
+ my $autoload = our $AUTOLOAD;
+ $autoload =~ s/.*://;
+ return if $LL{uc $autoload} < $LL{$LEVEL};
+ $CPAN::Frontend->mywarn(">($autoload): $_\n")
+ for split /[\r\n]+/, $_[1];
+}
+sub DESTROY { 1 }
+}
+
+# load a module without searching the default entry for the current
+# directory
+sub _safe_load_module {
+ my $name = shift;
+
+ local @INC = @INC;
+ pop @INC if $INC[-1] eq '.';
+
+ eval "require $name; 1";
+}
+
+sub _init_logger
+ {
+ my $log4perl_loaded = _safe_load_module("Log::Log4perl");
+
+ unless( $log4perl_loaded )
+ {
+ print STDOUT "Loading internal logger. Log::Log4perl recommended for better logging\n";
+ $logger = Local::Null::Logger->new;
+ return $logger;
+ }
+
+ Log::Log4perl::init( \ <<"HERE" );
+log4perl.rootLogger=$LEVEL, A1
+log4perl.appender.A1=Log::Log4perl::Appender::Screen
+log4perl.appender.A1.layout=PatternLayout
+log4perl.appender.A1.layout.ConversionPattern=%m%n
+HERE
+
+ $logger = Log::Log4perl->get_logger( 'App::Cpan' );
+ }
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
+sub _default
+ {
+ my( $args, $options ) = @_;
+
+ my $switch = '';
+
+ # choose the option that we're going to use
+ # we'll deal with 'f' (force) later, so skip it
+ foreach my $option ( @CPAN_OPTIONS )
+ {
+ next if ( $option eq 'f' or $option eq 'T' );
+ next unless $options->{$option};
+ $switch = $option;
+ last;
+ }
+
+ # 1. with no switches, but arguments, use the default switch (install)
+ # 2. with no switches and no args, start the shell
+ # 3. With a switch but no args, die! These switches need arguments.
+ if( not $switch and @$args ) { $switch = $Default; }
+ elsif( not $switch and not @$args ) { return CPAN::shell() }
+ elsif( $switch and not @$args )
+ { die "Nothing to $CPAN_METHODS{$switch}!\n"; }
+
+ # Get and check the method from CPAN::Shell
+ my $method = $CPAN_METHODS{$switch};
+ die "CPAN.pm cannot $method!\n" unless CPAN::Shell->can( $method );
+
+ # call the CPAN::Shell method, with force or notest if specified
+ my $action = do {
+ if( $options->{f} ) { sub { CPAN::Shell->force( $method, @_ ) } }
+ elsif( $options->{T} ) { sub { CPAN::Shell->notest( $method, @_ ) } }
+ else { sub { CPAN::Shell->$method( @_ ) } }
+ };
+
+ # How do I handle exit codes for multiple arguments?
+ my @errors = ();
+
+ $options->{x} or _disable_guessers();
+
+ foreach my $arg ( @$args )
+ {
+ # check the argument and perhaps capture typos
+ my $module = _expand_module( $arg ) or do {
+ $logger->error( "Skipping $arg because I couldn't find a matching namespace." );
+ next;
+ };
+
+ _clear_cpanpm_output();
+ $action->( $arg );
+
+ my $error = _cpanpm_output_indicates_failure();
+ push @errors, $error if $error;
+ }
+
+ return do {
+ if( @errors ) { $errors[0] }
+ else { HEY_IT_WORKED }
+ };
+
+ }
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
+=for comment
+
+CPAN.pm sends all the good stuff either to STDOUT, or to a temp
+file if $CPAN::Be_Silent is set. I have to intercept that output
+so I can find out what happened.
+
+=cut
+
+BEGIN {
+my $scalar = '';
+
+sub _hook_into_CPANpm_report
+ {
+ no warnings 'redefine';
+
+ *CPAN::Shell::myprint = sub {
+ my($self,$what) = @_;
+ $scalar .= $what if defined $what;
+ $self->print_ornamented($what,
+ $CPAN::Config->{colorize_print}||'bold blue on_white',
+ );
+ };
+
+ *CPAN::Shell::mywarn = sub {
+ my($self,$what) = @_;
+ $scalar .= $what if defined $what;
+ $self->print_ornamented($what,
+ $CPAN::Config->{colorize_warn}||'bold red on_white'
+ );
+ };
+
+ }
+
+sub _clear_cpanpm_output { $scalar = '' }
+
+sub _get_cpanpm_output { $scalar }
+
+# These are lines I don't care about in CPAN.pm output. If I can
+# filter out the informational noise, I have a better chance to
+# catch the error signal
+my @skip_lines = (
+ qr/^\QWarning \(usually harmless\)/,
+ qr/\bwill not store persistent state\b/,
+ qr(//hint//),
+ qr/^\s+reports\s+/,
+ qr/^Try the command/,
+ qr/^\s+$/,
+ qr/^to find objects/,
+ qr/^\s*Database was generated on/,
+ qr/^Going to read/,
+ qr|^\s+i\s+/|, # the i /Foo::Whatever/ line when it doesn't know
+ );
+
+sub _get_cpanpm_last_line
+ {
+ my $fh;
+
+ if( $] < 5.008 ) {
+ $fh = IO::Scalar->new( \ $scalar );
+ }
+ else {
+ eval q{ open $fh, '<', \\ $scalar; };
+ }
+
+ my @lines = <$fh>;
+
+ # This is a bit ugly. Once we examine a line, we have to
+ # examine the line before it and go through all of the same
+ # regexes. I could do something fancy, but this works.
+ REGEXES: {
+ foreach my $regex ( @skip_lines )
+ {
+ if( $lines[-1] =~ m/$regex/ )
+ {
+ pop @lines;
+ redo REGEXES; # we have to go through all of them for every line!
+ }
+ }
+ }
+
+ $logger->debug( "Last interesting line of CPAN.pm output is:\n\t$lines[-1]" );
+
+ $lines[-1];
+ }
+}
+
+BEGIN {
+my $epic_fail_words = join '|',
+ qw( Error stop(?:ping)? problems force not unsupported
+ fail(?:ed)? Cannot\s+install );
+
+sub _cpanpm_output_indicates_failure
+ {
+ my $last_line = _get_cpanpm_last_line();
+
+ my $result = $last_line =~ /\b(?:$epic_fail_words)\b/i;
+ return A_MODULE_FAILED_TO_INSTALL if $last_line =~ /\b(?:Cannot\s+install)\b/i;
+
+ $result || ();
+ }
+}
+
+sub _cpanpm_output_indicates_success
+ {
+ my $last_line = _get_cpanpm_last_line();
+
+ my $result = $last_line =~ /\b(?:\s+-- OK|PASS)\b/;
+ $result || ();
+ }
+
+sub _cpanpm_output_is_vague
+ {
+ return FALSE if
+ _cpanpm_output_indicates_failure() ||
+ _cpanpm_output_indicates_success();
+
+ return TRUE;
+ }
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+sub _turn_on_warnings {
+ carp "Warnings are implemented yet";
+ return HEY_IT_WORKED;
+ }
+
+sub _turn_off_testing {
+ $logger->debug( 'Trusting test report history' );
+ $CPAN::Config->{trust_test_report_history} = 1;
+ return HEY_IT_WORKED;
+ }
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+sub _print_help
+ {
+ $logger->info( "Use perldoc to read the documentation" );
+ my $HAVE_PERLDOC = eval { require Pod::Perldoc; 1; };
+ if ($HAVE_PERLDOC) {
+ system qq{"$^X" -e "require Pod::Perldoc; Pod::Perldoc->run()" $0};
+ exit;
+ } else {
+ warn "Please install Pod::Perldoc, maybe try 'cpan -i Pod::Perldoc'\n";
+ return HEY_IT_WORKED;
+ }
+ }
+
+sub _print_version # -v
+ {
+ $logger->info(
+ "$0 script version $VERSION, CPAN.pm version " . CPAN->VERSION );
+
+ return HEY_IT_WORKED;
+ }
+
+sub _print_details # -V
+ {
+ _print_version();
+
+ _check_install_dirs();
+
+ $logger->info( '-' x 50 . "\nChecking configured mirrors..." );
+ foreach my $mirror ( @{ $CPAN::Config->{urllist} } ) {
+ _print_ping_report( $mirror );
+ }
+
+ $logger->info( '-' x 50 . "\nChecking for faster mirrors..." );
+
+ {
+ require CPAN::Mirrors;
+
+ if ( $CPAN::Config->{connect_to_internet_ok} ) {
+ $CPAN::Frontend->myprint(qq{Trying to fetch a mirror list from the Internet\n});
+ eval { CPAN::FTP->localize('MIRRORED.BY',File::Spec->catfile($CPAN::Config->{keep_source_where},'MIRRORED.BY'),3,1) }
+ or $CPAN::Frontend->mywarn(<<'HERE');
+We failed to get a copy of the mirror list from the Internet.
+You will need to provide CPAN mirror URLs yourself.
+HERE
+ $CPAN::Frontend->myprint("\n");
+ }
+
+ my $mirrors = CPAN::Mirrors->new( _mirror_file() );
+ my @continents = $mirrors->find_best_continents;
+
+ my @mirrors = $mirrors->get_mirrors_by_continents( $continents[0] );
+ my @timings = $mirrors->get_mirrors_timings( \@mirrors );
+
+ foreach my $timing ( @timings ) {
+ $logger->info( sprintf "%s (%0.2f ms)",
+ $timing->hostname, $timing->rtt );
+ }
+ }
+
+ return HEY_IT_WORKED;
+ }
+
+sub _check_install_dirs
+ {
+ my $makepl_arg = $CPAN::Config->{makepl_arg};
+ my $mbuildpl_arg = $CPAN::Config->{mbuildpl_arg};
+
+ my @custom_dirs;
+ # PERL_MM_OPT
+ push @custom_dirs,
+ $makepl_arg =~ m/INSTALL_BASE\s*=\s*(\S+)/g,
+ $mbuildpl_arg =~ m/--install_base\s*=\s*(\S+)/g;
+
+ if( @custom_dirs ) {
+ foreach my $dir ( @custom_dirs ) {
+ _print_inc_dir_report( $dir );
+ }
+ }
+
+ # XXX: also need to check makepl_args, etc
+
+ my @checks = (
+ [ 'core', [ grep $_, @Config{qw(installprivlib installarchlib)} ] ],
+ [ 'vendor', [ grep $_, @Config{qw(installvendorlib installvendorarch)} ] ],
+ [ 'site', [ grep $_, @Config{qw(installsitelib installsitearch)} ] ],
+ [ 'PERL5LIB', _split_paths( $ENV{PERL5LIB} ) ],
+ [ 'PERLLIB', _split_paths( $ENV{PERLLIB} ) ],
+ );
+
+ $logger->info( '-' x 50 . "\nChecking install dirs..." );
+ foreach my $tuple ( @checks ) {
+ my( $label ) = $tuple->[0];
+
+ $logger->info( "Checking $label" );
+ $logger->info( "\tno directories for $label" ) unless @{ $tuple->[1] };
+ foreach my $dir ( @{ $tuple->[1] } ) {
+ _print_inc_dir_report( $dir );
+ }
+ }
+
+ }
+
+sub _split_paths
+ {
+ [ map { _expand_filename( $_ ) } split /$Config{path_sep}/, $_[0] || '' ];
+ }
+
+
+=pod
+
+Stolen from File::Path::Expand
+
+=cut
+
+sub _expand_filename
+ {
+ my( $path ) = @_;
+ no warnings 'uninitialized';
+ $logger->debug( "Expanding path $path\n" );
+ $path =~ s{\A~([^/]+)?}{
+ _home_of( $1 || $> ) || "~$1"
+ }e;
+ return $path;
+ }
+
+sub _home_of
+ {
+ require User::pwent;
+ my( $user ) = @_;
+ my $ent = User::pwent::getpw($user) or return;
+ return $ent->dir;
+ }
+
+sub _get_default_inc
+ {
+ require Config;
+
+ [ @Config::Config{ _vars() }, '.' ];
+ }
+
+sub _vars {
+ qw(
+ installarchlib
+ installprivlib
+ installsitearch
+ installsitelib
+ );
+ }
+
+sub _ping_mirrors {
+ my $urls = $CPAN::Config->{urllist};
+ require URI;
+
+ foreach my $url ( @$urls ) {
+ my( $obj ) = URI->new( $url );
+ next unless _is_pingable_scheme( $obj );
+ my $host = $obj->host;
+ _print_ping_report( $obj );
+ }
+
+ }
+
+sub _is_pingable_scheme {
+ my( $uri ) = @_;
+
+ $uri->scheme eq 'file'
+ }
+
+sub _mirror_file {
+ my $file = do {
+ my $file = 'MIRRORED.BY';
+ my $local_path = File::Spec->catfile(
+ $CPAN::Config->{keep_source_where}, $file );
+
+ if( -e $local_path ) { $local_path }
+ else {
+ require CPAN::FTP;
+ CPAN::FTP->localize( $file, $local_path, 3, 1 );
+ $local_path;
+ }
+ };
+ }
+
+sub _find_good_mirrors {
+ require CPAN::Mirrors;
+
+ my $mirrors = CPAN::Mirrors->new( _mirror_file() );
+
+ my @mirrors = $mirrors->best_mirrors(
+ how_many => 5,
+ verbose => 1,
+ );
+
+ foreach my $mirror ( @mirrors ) {
+ next unless eval { $mirror->can( 'http' ) };
+ _print_ping_report( $mirror->http );
+ }
+
+ $CPAN::Config->{urllist} = [
+ map { $_->http } @mirrors
+ ];
+ }
+
+sub _print_inc_dir_report
+ {
+ my( $dir ) = shift;
+
+ my $writeable = -w $dir ? '+' : '!!! (not writeable)';
+ $logger->info( "\t$writeable $dir" );
+ return -w $dir;
+ }
+
+sub _print_ping_report
+ {
+ my( $mirror ) = @_;
+
+ my $rtt = eval { _get_ping_report( $mirror ) };
+ my $result = $rtt ? sprintf "+ (%4d ms)", $rtt * 1000 : '!';
+
+ $logger->info(
+ sprintf "\t%s %s", $result, $mirror
+ );
+ }
+
+sub _get_ping_report
+ {
+ require URI;
+ my( $mirror ) = @_;
+ my( $url ) = ref $mirror ? $mirror : URI->new( $mirror ); #XXX
+ require Net::Ping;
+
+ my $ping = Net::Ping->new( 'tcp', 1 );
+
+ if( $url->scheme eq 'file' ) {
+ return -e $url->file;
+ }
+
+ my( $port ) = $url->port;
+
+ return unless $port;
+
+ if ( $ping->can('port_number') ) {
+ $ping->port_number($port);
+ }
+ else {
+ $ping->{'port_num'} = $port;
+ }
+
+ $ping->hires(1) if $ping->can( 'hires' );
+ my( $alive, $rtt ) = eval{ $ping->ping( $url->host ) };
+ $alive ? $rtt : undef;
+ }
+
+sub _load_local_lib # -I
+ {
+ $logger->debug( "Loading local::lib" );
+
+ my $rc = _safe_load_module("local::lib");
+ unless( $rc ) {
+ $logger->logdie( "Could not load local::lib" );
+ }
+
+ local::lib->import;
+
+ return HEY_IT_WORKED;
+ }
+
+sub _use_these_mirrors # -M
+ {
+ $logger->debug( "Setting per session mirrors" );
+ unless( $_[0] ) {
+ $logger->logdie( "The -M switch requires a comma-separated list of mirrors" );
+ }
+
+ $CPAN::Config->{urllist} = [ split /,/, $_[0] ];
+
+ $logger->debug( "Mirrors are @{$CPAN::Config->{urllist}}" );
+
+ }
+
+sub _create_autobundle
+ {
+ $logger->info(
+ "Creating autobundle in $CPAN::Config->{cpan_home}/Bundle" );
+
+ CPAN::Shell->autobundle;
+
+ return HEY_IT_WORKED;
+ }
+
+sub _recompile
+ {
+ $logger->info( "Recompiling dynamically-loaded extensions" );
+
+ CPAN::Shell->recompile;
+
+ return HEY_IT_WORKED;
+ }
+
+sub _upgrade
+ {
+ $logger->info( "Upgrading all modules" );
+
+ CPAN::Shell->upgrade();
+
+ return HEY_IT_WORKED;
+ }
+
+sub _shell
+ {
+ $logger->info( "Dropping into shell" );
+
+ CPAN::shell();
+
+ return HEY_IT_WORKED;
+ }
+
+sub _load_config # -j
+ {
+ my $argument = shift;
+
+ my $file = file_name_is_absolute( $argument ) ? $argument : rel2abs( $argument );
+ croak( "cpan config file [$file] for -j does not exist!\n" ) unless -e $file;
+
+ # should I clear out any existing config here?
+ $CPAN::Config = {};
+ delete $INC{'CPAN/Config.pm'};
+
+ my $rc = eval "require '$file'";
+
+ # CPAN::HandleConfig::require_myconfig_or_config looks for this
+ $INC{'CPAN/MyConfig.pm'} = 'fake out!';
+
+ # CPAN::HandleConfig::load looks for this
+ $CPAN::Config_loaded = 'fake out';
+
+ croak( "Could not load [$file]: $@\n") unless $rc;
+
+ return HEY_IT_WORKED;
+ }
+
+sub _dump_config # -J
+ {
+ my $args = shift;
+ require Data::Dumper;
+
+ my $fh = $args->[0] || \*STDOUT;
+
+ local $Data::Dumper::Sortkeys = 1;
+ my $dd = Data::Dumper->new(
+ [$CPAN::Config],
+ ['$CPAN::Config']
+ );
+
+ print $fh $dd->Dump, "\n1;\n__END__\n";
+
+ return HEY_IT_WORKED;
+ }
+
+sub _lock_lobotomy # -F
+ {
+ no warnings 'redefine';
+
+ *CPAN::_flock = sub { 1 };
+ *CPAN::checklock = sub { 1 };
+
+ return HEY_IT_WORKED;
+ }
+
+sub _download
+ {
+ my $args = shift;
+
+ local $CPAN::DEBUG = 1;
+
+ my %paths;
+
+ foreach my $arg ( @$args ) {
+ $logger->info( "Checking $arg" );
+
+ my $module = _expand_module( $arg ) or next;
+ my $path = $module->cpan_file;
+
+ $logger->debug( "Inst file would be $path\n" );
+
+ $paths{$module} = _get_file( _make_path( $path ) );
+
+ $logger->info( "Downloaded [$arg] to [$paths{$arg}]" );
+ }
+
+ return \%paths;
+ }
+
+sub _make_path { join "/", qw(authors id), $_[0] }
+
+sub _get_file
+ {
+ my $path = shift;
+
+ my $loaded = _safe_load_module("LWP::Simple");
+ croak "You need LWP::Simple to use features that fetch files from CPAN\n"
+ unless $loaded;
+
+ my $file = substr $path, rindex( $path, '/' ) + 1;
+ my $store_path = catfile( cwd(), $file );
+ $logger->debug( "Store path is $store_path" );
+
+ foreach my $site ( @{ $CPAN::Config->{urllist} } )
+ {
+ my $fetch_path = join "/", $site, $path;
+ $logger->debug( "Trying $fetch_path" );
+ my $status_code = LWP::Simple::getstore( $fetch_path, $store_path );
+ last if( 200 <= $status_code and $status_code <= 300 );
+ $logger->warn( "Could not get [$fetch_path]: Status code $status_code" );
+ }
+
+ return $store_path;
+ }
+
+sub _gitify
+ {
+ my $args = shift;
+
+ my $loaded = _safe_load_module("Archive::Extract");
+ croak "You need Archive::Extract to use features that gitify distributions\n"
+ unless $loaded;
+
+ my $starting_dir = cwd();
+
+ foreach my $arg ( @$args )
+ {
+ $logger->info( "Checking $arg" );
+ my $store_paths = _download( [ $arg ] );
+ $logger->debug( "gitify Store path is $store_paths->{$arg}" );
+ my $dirname = dirname( $store_paths->{$arg} );
+
+ my $ae = Archive::Extract->new( archive => $store_paths->{$arg} );
+ $ae->extract( to => $dirname );
+
+ chdir $ae->extract_path;
+
+ my $git = $ENV{GIT_COMMAND} || '/usr/local/bin/git';
+ croak "Could not find $git" unless -e $git;
+ croak "$git is not executable" unless -x $git;
+
+ # can we do this in Pure Perl?
+ system( $git, 'init' );
+ system( $git, qw( add . ) );
+ system( $git, qw( commit -a -m ), 'initial import' );
+ }
+
+ chdir $starting_dir;
+
+ return HEY_IT_WORKED;
+ }
+
+sub _show_Changes
+ {
+ my $args = shift;
+
+ foreach my $arg ( @$args )
+ {
+ $logger->info( "Checking $arg\n" );
+
+ my $module = _expand_module( $arg ) or next;
+
+ my $out = _get_cpanpm_output();
+
+ next unless eval { $module->inst_file };
+ #next if $module->uptodate;
+
+ ( my $id = $module->id() ) =~ s/::/\-/;
+
+ my $url = "http://search.cpan.org/~" . lc( $module->userid ) . "/" .
+ $id . "-" . $module->cpan_version() . "/";
+
+ #print "URL: $url\n";
+ _get_changes_file($url);
+ }
+
+ return HEY_IT_WORKED;
+ }
+
+sub _get_changes_file
+ {
+ croak "Reading Changes files requires LWP::Simple and URI\n"
+ unless _safe_load_module("LWP::Simple") && _safe_load_module("URI");
+
+ my $url = shift;
+
+ my $content = LWP::Simple::get( $url );
+ $logger->info( "Got $url ..." ) if defined $content;
+ #print $content;
+
+ my( $change_link ) = $content =~ m|Changes|gi;
+
+ my $changes_url = URI->new_abs( $change_link, $url );
+ $logger->debug( "Change link is: $changes_url" );
+
+ my $changes = LWP::Simple::get( $changes_url );
+
+ print $changes;
+
+ return HEY_IT_WORKED;
+ }
+
+sub _show_Author
+ {
+ my $args = shift;
+
+ foreach my $arg ( @$args )
+ {
+ my $module = _expand_module( $arg ) or next;
+
+ unless( $module )
+ {
+ $logger->info( "Didn't find a $arg module, so no author!" );
+ next;
+ }
+
+ my $author = CPAN::Shell->expand( "Author", $module->userid );
+
+ next unless $module->userid;
+
+ printf "%-25s %-8s %-25s %s\n",
+ $arg, $module->userid, $author->email, $author->name;
+ }
+
+ return HEY_IT_WORKED;
+ }
+
+sub _show_Details
+ {
+ my $args = shift;
+
+ foreach my $arg ( @$args )
+ {
+ my $module = _expand_module( $arg ) or next;
+ my $author = CPAN::Shell->expand( "Author", $module->userid );
+
+ next unless $module->userid;
+
+ print "$arg\n", "-" x 73, "\n\t";
+ print join "\n\t",
+ $module->description ? $module->description : "(no description)",
+ $module->cpan_file ? $module->cpan_file : "(no cpanfile)",
+ $module->inst_file ? $module->inst_file :"(no installation file)" ,
+ 'Installed: ' . ($module->inst_version ? $module->inst_version : "not installed"),
+ 'CPAN: ' . $module->cpan_version . ' ' .
+ ($module->uptodate ? "" : "Not ") . "up to date",
+ $author->fullname . " (" . $module->userid . ")",
+ $author->email;
+ print "\n\n";
+
+ }
+
+ return HEY_IT_WORKED;
+ }
+
+BEGIN {
+my $modules;
+sub _get_all_namespaces
+ {
+ return $modules if $modules;
+ $modules = [ map { $_->id } CPAN::Shell->expand( "Module", "/./" ) ];
+ }
+}
+
+sub _show_out_of_date
+ {
+ my $modules = _get_all_namespaces();
+
+ printf "%-40s %6s %6s\n", "Module Name", "Local", "CPAN";
+ print "-" x 73, "\n";
+
+ foreach my $module ( @$modules )
+ {
+ next unless $module = _expand_module($module);
+ next unless $module->inst_file;
+ next if $module->uptodate;
+ printf "%-40s %.4f %.4f\n",
+ $module->id,
+ $module->inst_version ? $module->inst_version : '',
+ $module->cpan_version;
+ }
+
+ return HEY_IT_WORKED;
+ }
+
+sub _show_author_mods
+ {
+ my $args = shift;
+
+ my %hash = map { lc $_, 1 } @$args;
+
+ my $modules = _get_all_namespaces();
+
+ foreach my $module ( @$modules ) {
+ next unless exists $hash{ lc $module->userid };
+ print $module->id, "\n";
+ }
+
+ return HEY_IT_WORKED;
+ }
+
+sub _list_all_mods # -l
+ {
+ require File::Find;
+
+ my $args = shift;
+
+
+ my $fh = \*STDOUT;
+
+ INC: foreach my $inc ( @INC )
+ {
+ my( $wanted, $reporter ) = _generator();
+ File::Find::find( { wanted => $wanted }, $inc );
+
+ my $count = 0;
+ FILE: foreach my $file ( @{ $reporter->() } )
+ {
+ my $version = _parse_version_safely( $file );
+
+ my $module_name = _path_to_module( $inc, $file );
+ next FILE unless defined $module_name;
+
+ print $fh "$module_name\t$version\n";
+
+ #last if $count++ > 5;
+ }
+ }
+
+ return HEY_IT_WORKED;
+ }
+
+sub _generator
+ {
+ my @files = ();
+
+ sub { push @files,
+ File::Spec->canonpath( $File::Find::name )
+ if m/\A\w+\.pm\z/ },
+ sub { \@files },
+ }
+
+sub _parse_version_safely # stolen from PAUSE's mldistwatch, but refactored
+ {
+ my( $file ) = @_;
+
+ local $/ = "\n";
+ local $_; # don't mess with the $_ in the map calling this
+
+ return unless open FILE, "<$file";
+
+ my $in_pod = 0;
+ my $version;
+ while( )
+ {
+ chomp;
+ $in_pod = /^=(?!cut)/ ? 1 : /^=cut/ ? 0 : $in_pod;
+ next if $in_pod || /^\s*#/;
+
+ next unless /([\$*])(([\w\:\']*)\bVERSION)\b.*\=/;
+ my( $sigil, $var ) = ( $1, $2 );
+
+ $version = _eval_version( $_, $sigil, $var );
+ last;
+ }
+ close FILE;
+
+ return 'undef' unless defined $version;
+
+ return $version;
+ }
+
+sub _eval_version
+ {
+ my( $line, $sigil, $var ) = @_;
+
+ # split package line to hide from PAUSE
+ my $eval = qq{
+ package
+ ExtUtils::MakeMaker::_version;
+
+ local $sigil$var;
+ \$$var=undef; do {
+ $line
+ }; \$$var
+ };
+
+ my $version = do {
+ local $^W = 0;
+ no strict;
+ eval( $eval );
+ };
+
+ return $version;
+ }
+
+sub _path_to_module
+ {
+ my( $inc, $path ) = @_;
+ return if length $path < length $inc;
+
+ my $module_path = substr( $path, length $inc );
+ $module_path =~ s/\.pm\z//;
+
+ # XXX: this is cheating and doesn't handle everything right
+ my @dirs = grep { ! /\W/ } File::Spec->splitdir( $module_path );
+ shift @dirs;
+
+ my $module_name = join "::", @dirs;
+
+ return $module_name;
+ }
+
+
+sub _expand_module
+ {
+ my( $module ) = @_;
+
+ my $expanded = CPAN::Shell->expandany( $module );
+ return $expanded if $expanded;
+ $expanded = CPAN::Shell->expand( "Module", $module );
+ unless( defined $expanded ) {
+ $logger->error( "Could not expand [$module]. Check the module name." );
+ my $threshold = (
+ grep { int }
+ sort { length $a <=> length $b }
+ length($module)/4, 4
+ )[0];
+
+ my $guesses = _guess_at_module_name( $module, $threshold );
+ if( defined $guesses and @$guesses ) {
+ $logger->info( "Perhaps you meant one of these:" );
+ foreach my $guess ( @$guesses ) {
+ $logger->info( "\t$guess" );
+ }
+ }
+ return;
+ }
+
+ return $expanded;
+ }
+
+my $guessers = [
+ [ qw( Text::Levenshtein::XS distance 7 1 ) ],
+ [ qw( Text::Levenshtein::Damerau::XS xs_edistance 7 1 ) ],
+
+ [ qw( Text::Levenshtein distance 7 1 ) ],
+ [ qw( Text::Levenshtein::Damerau::PP pp_edistance 7 1 ) ],
+
+ ];
+
+sub _disable_guessers
+ {
+ $_->[-1] = 0 for @$guessers;
+ }
+
+# for -x
+sub _guess_namespace
+ {
+ my $args = shift;
+
+ foreach my $arg ( @$args )
+ {
+ $logger->debug( "Checking $arg" );
+ my $guesses = _guess_at_module_name( $arg );
+
+ foreach my $guess ( @$guesses ) {
+ print $guess, "\n";
+ }
+ }
+
+ return HEY_IT_WORKED;
+ }
+
+sub _list_all_namespaces {
+ my $modules = _get_all_namespaces();
+
+ foreach my $module ( @$modules ) {
+ print $module, "\n";
+ }
+ }
+
+BEGIN {
+my $distance;
+my $_threshold;
+my $can_guess;
+my $shown_help = 0;
+sub _guess_at_module_name
+ {
+ my( $target, $threshold ) = @_;
+
+ unless( defined $distance ) {
+ foreach my $try ( @$guessers ) {
+ $can_guess = eval "require $try->[0]; 1" or next;
+
+ $try->[-1] or next; # disabled
+ no strict 'refs';
+ $distance = \&{ join "::", @$try[0,1] };
+ $threshold ||= $try->[2];
+ }
+ }
+ $_threshold ||= $threshold;
+
+ unless( $distance ) {
+ unless( $shown_help ) {
+ my $modules = join ", ", map { $_->[0] } @$guessers;
+ substr $modules, rindex( $modules, ',' ), 1, ', and';
+
+ # Should this be colorized?
+ if( $can_guess ) {
+ $logger->info( "I can suggest names if you provide the -x option on invocation." );
+ }
+ else {
+ $logger->info( "I can suggest names if you install one of $modules" );
+ $logger->info( "and you provide the -x option on invocation." );
+ }
+ $shown_help++;
+ }
+ return;
+ }
+
+ my $modules = _get_all_namespaces();
+ $logger->info( "Checking " . @$modules . " namespaces for close match suggestions" );
+
+ my %guesses;
+ foreach my $guess ( @$modules ) {
+ my $distance = $distance->( $target, $guess );
+ next if $distance > $_threshold;
+ $guesses{$guess} = $distance;
+ }
+
+ my @guesses = sort { $guesses{$a} <=> $guesses{$b} } keys %guesses;
+ return [ grep { defined } @guesses[0..9] ];
+ }
+}
+
+1;
+
+=back
+
+=head1 EXIT VALUES
+
+The script exits with zero if it thinks that everything worked, or a
+positive number if it thinks that something failed. Note, however, that
+in some cases it has to divine a failure by the output of things it does
+not control. For now, the exit codes are vague:
+
+ 1 An unknown error
+
+ 2 The was an external problem
+
+ 4 There was an internal problem with the script
+
+ 8 A module failed to install
+
+=head1 TO DO
+
+* There is initial support for Log4perl if it is available, but I
+haven't gone through everything to make the NullLogger work out
+correctly if Log4perl is not installed.
+
+* When I capture CPAN.pm output, I need to check for errors and
+report them to the user.
+
+* Warnings switch
+
+* Check then exit
+
+=head1 BUGS
+
+* none noted
+
+=head1 SEE ALSO
+
+L, L
+
+=head1 SOURCE AVAILABILITY
+
+This code is in Github in the CPAN.pm repository:
+
+ https://github.com/andk/cpanpm
+
+The source used to be tracked separately in another GitHub repo,
+but the canonical source is now in the above repo.
+
+=head1 CREDITS
+
+Japheth Cleaver added the bits to allow a forced install (C<-f>).
+
+Jim Brandt suggested and provided the initial implementation for the
+up-to-date and Changes features.
+
+Adam Kennedy pointed out that C causes problems on Windows
+where this script ends up with a .bat extension
+
+David Golden helps integrate this into the C repos.
+
+Jim Keenan fixed up various issues with _download
+
+=head1 AUTHOR
+
+brian d foy, C<< >>
+
+=head1 COPYRIGHT
+
+Copyright (c) 2001-2021, brian d foy, All Rights Reserved.
+
+You may redistribute this under the same terms as Perl itself.
+
+=cut
+
+# Local Variables:
+# mode: cperl
+# indent-tabs-mode: t
+# cperl-indent-level: 8
+# cperl-continued-statement-offset: 8
+# End:
diff --git a/git/usr/share/perl5/core_perl/App/Prove.pm b/git/usr/share/perl5/core_perl/App/Prove.pm
new file mode 100644
index 0000000000000000000000000000000000000000..56079d5836faef635b440cd96aff494732b1e10c
--- /dev/null
+++ b/git/usr/share/perl5/core_perl/App/Prove.pm
@@ -0,0 +1,817 @@
+package App::Prove;
+
+use strict;
+use warnings;
+
+use TAP::Harness::Env;
+use Text::ParseWords qw(shellwords);
+use File::Spec;
+use Getopt::Long;
+use App::Prove::State;
+use Carp;
+
+use base 'TAP::Object';
+
+=head1 NAME
+
+App::Prove - Implements the C command.
+
+=head1 VERSION
+
+Version 3.50
+
+=cut
+
+our $VERSION = '3.50';
+
+=head1 DESCRIPTION
+
+L provides a command, C, which runs a TAP based
+test suite and prints a report. The C command is a minimal
+wrapper around an instance of this module.
+
+=head1 SYNOPSIS
+
+ use App::Prove;
+
+ my $app = App::Prove->new;
+ $app->process_args(@ARGV);
+ $app->run;
+
+=cut
+
+use constant IS_WIN32 => ( $^O =~ /^(MS)?Win32$/ );
+use constant IS_VMS => $^O eq 'VMS';
+use constant IS_UNIXY => !( IS_VMS || IS_WIN32 );
+
+use constant STATE_FILE => IS_UNIXY ? '.prove' : '_prove';
+use constant RC_FILE => IS_UNIXY ? '.proverc' : '_proverc';
+
+use constant PLUGINS => 'App::Prove::Plugin';
+
+my @ATTR;
+
+BEGIN {
+ @ATTR = qw(
+ archive argv blib show_count color directives exec failures comments
+ formatter harness includes modules plugins jobs lib merge parse quiet
+ really_quiet recurse backwards shuffle taint_fail taint_warn timer
+ verbose warnings_fail warnings_warn show_help show_man show_version
+ state_class test_args state dry extensions ignore_exit rules state_manager
+ normalize sources tapversion trap
+ statefile
+ );
+ __PACKAGE__->mk_methods(@ATTR);
+}
+
+=head1 METHODS
+
+=head2 Class Methods
+
+=head3 C
+
+Create a new C. Optionally a hash ref of attribute
+initializers may be passed.
+
+=cut
+
+# new() implementation supplied by TAP::Object
+
+sub _initialize {
+ my $self = shift;
+ my $args = shift || {};
+
+ my @is_array = qw(
+ argv rc_opts includes modules state plugins rules sources
+ );
+
+ # setup defaults:
+ for my $key (@is_array) {
+ $self->{$key} = [];
+ }
+
+ for my $attr (@ATTR) {
+ if ( exists $args->{$attr} ) {
+
+ # TODO: Some validation here
+ $self->{$attr} = $args->{$attr};
+ }
+ }
+
+ $self->state_class('App::Prove::State');
+ return $self;
+}
+
+=head3 C
+
+Getter/setter for the name of the class used for maintaining state. This
+class should either subclass from C or provide an identical
+interface.
+
+=head3 C
+
+Getter/setter for the instance of the C.
+
+=cut
+
+=head3 C
+
+ $prove->add_rc_file('myproj/.proverc');
+
+Called before C to prepend the contents of an rc file to
+the options.
+
+=cut
+
+sub add_rc_file {
+ my ( $self, $rc_file ) = @_;
+
+ local *RC;
+ open RC, "<$rc_file" or croak "Can't read $rc_file ($!)";
+ while ( defined( my $line = ) ) {
+ push @{ $self->{rc_opts} },
+ grep { defined and not /^#/ }
+ $line =~ m{ ' ([^']*) ' | " ([^"]*) " | (\#.*) | (\S+) }xg;
+ }
+ close RC;
+}
+
+=head3 C
+
+ $prove->process_args(@args);
+
+Processes the command-line arguments. Attributes will be set
+appropriately. Any filenames may be found in the C attribute.
+
+Dies on invalid arguments.
+
+=cut
+
+sub process_args {
+ my $self = shift;
+
+ my @rc = RC_FILE;
+ unshift @rc, glob '~/' . RC_FILE if IS_UNIXY;
+
+ # Preprocess meta-args.
+ my @args;
+ while ( defined( my $arg = shift ) ) {
+ if ( $arg eq '--norc' ) {
+ @rc = ();
+ }
+ elsif ( $arg eq '--rc' ) {
+ defined( my $rc = shift )
+ or croak "Missing argument to --rc";
+ push @rc, $rc;
+ }
+ elsif ( $arg =~ m{^--rc=(.+)$} ) {
+ push @rc, $1;
+ }
+ else {
+ push @args, $arg;
+ }
+ }
+
+ # Everything after the arisdottle '::' gets passed as args to
+ # test programs.
+ if ( defined( my $stop_at = _first_pos( '::', @args ) ) ) {
+ my @test_args = splice @args, $stop_at;
+ shift @test_args;
+ $self->{test_args} = \@test_args;
+ }
+
+ # Grab options from RC files
+ $self->add_rc_file($_) for grep -f, @rc;
+ unshift @args, @{ $self->{rc_opts} };
+
+ if ( my @bad = map {"-$_"} grep {/^-(man|help)$/} @args ) {
+ die "Long options should be written with two dashes: ",
+ join( ', ', @bad ), "\n";
+ }
+
+ # And finally...
+
+ {
+ local @ARGV = @args;
+ Getopt::Long::Configure(qw(no_ignore_case bundling pass_through));
+
+ # Don't add coderefs to GetOptions
+ GetOptions(
+ 'v|verbose' => \$self->{verbose},
+ 'f|failures' => \$self->{failures},
+ 'o|comments' => \$self->{comments},
+ 'l|lib' => \$self->{lib},
+ 'b|blib' => \$self->{blib},
+ 's|shuffle' => \$self->{shuffle},
+ 'color!' => \$self->{color},
+ 'colour!' => \$self->{color},
+ 'count!' => \$self->{show_count},
+ 'c' => \$self->{color},
+ 'D|dry' => \$self->{dry},
+ 'ext=s@' => sub {
+ my ( $opt, $val ) = @_;
+
+ # Workaround for Getopt::Long 2.25 handling of
+ # multivalue options
+ push @{ $self->{extensions} ||= [] }, $val;
+ },
+ 'harness=s' => \$self->{harness},
+ 'ignore-exit' => \$self->{ignore_exit},
+ 'source=s@' => $self->{sources},
+ 'formatter=s' => \$self->{formatter},
+ 'r|recurse' => \$self->{recurse},
+ 'reverse' => \$self->{backwards},
+ 'p|parse' => \$self->{parse},
+ 'q|quiet' => \$self->{quiet},
+ 'Q|QUIET' => \$self->{really_quiet},
+ 'e|exec=s' => \$self->{exec},
+ 'm|merge' => \$self->{merge},
+ 'I=s@' => $self->{includes},
+ 'M=s@' => $self->{modules},
+ 'P=s@' => $self->{plugins},
+ 'state=s@' => $self->{state},
+ 'statefile=s' => \$self->{statefile},
+ 'directives' => \$self->{directives},
+ 'h|help|?' => \$self->{show_help},
+ 'H|man' => \$self->{show_man},
+ 'V|version' => \$self->{show_version},
+ 'a|archive=s' => \$self->{archive},
+ 'j|jobs=i' => \$self->{jobs},
+ 'timer' => \$self->{timer},
+ 'T' => \$self->{taint_fail},
+ 't' => \$self->{taint_warn},
+ 'W' => \$self->{warnings_fail},
+ 'w' => \$self->{warnings_warn},
+ 'normalize' => \$self->{normalize},
+ 'rules=s@' => $self->{rules},
+ 'tapversion=s' => \$self->{tapversion},
+ 'trap' => \$self->{trap},
+ ) or croak('Unable to continue');
+
+ # Stash the remainder of argv for later
+ $self->{argv} = [@ARGV];
+ }
+
+ return;
+}
+
+sub _first_pos {
+ my $want = shift;
+ for ( 0 .. $#_ ) {
+ return $_ if $_[$_] eq $want;
+ }
+ return;
+}
+
+sub _help {
+ my ( $self, $verbosity ) = @_;
+
+ eval('use Pod::Usage 1.12 ()');
+ if ( my $err = $@ ) {
+ die 'Please install Pod::Usage for the --help option '
+ . '(or try `perldoc prove`.)'
+ . "\n ($@)";
+ }
+
+ Pod::Usage::pod2usage( { -verbose => $verbosity } );
+
+ return;
+}
+
+sub _color_default {
+ my $self = shift;
+
+ return -t STDOUT && !$ENV{HARNESS_NOTTY};
+}
+
+sub _get_args {
+ my $self = shift;
+
+ my %args;
+
+ $args{trap} = 1 if $self->trap;
+
+ if ( defined $self->color ? $self->color : $self->_color_default ) {
+ $args{color} = 1;
+ }
+ if ( !defined $self->show_count ) {
+ $args{show_count} = 1;
+ }
+ else {
+ $args{show_count} = $self->show_count;
+ }
+
+ if ( $self->archive ) {
+ $self->require_harness( archive => 'TAP::Harness::Archive' );
+ $args{archive} = $self->archive;
+ }
+
+ if ( my $jobs = $self->jobs ) {
+ $args{jobs} = $jobs;
+ }
+
+ if ( my $harness_opt = $self->harness ) {
+ $self->require_harness( harness => $harness_opt );
+ }
+
+ if ( my $formatter = $self->formatter ) {
+ $args{formatter_class} = $formatter;
+ }
+
+ for my $handler ( @{ $self->sources } ) {
+ my ( $name, $config ) = $self->_parse_source($handler);
+ $args{sources}->{$name} = $config;
+ }
+
+ if ( $self->ignore_exit ) {
+ $args{ignore_exit} = 1;
+ }
+
+ if ( $self->taint_fail && $self->taint_warn ) {
+ die '-t and -T are mutually exclusive';
+ }
+
+ if ( $self->warnings_fail && $self->warnings_warn ) {
+ die '-w and -W are mutually exclusive';
+ }
+
+ for my $a (qw( lib switches )) {
+ my $method = "_get_$a";
+ my $val = $self->$method();
+ $args{$a} = $val if defined $val;
+ }
+
+ # Handle verbose, quiet, really_quiet flags
+ my %verb_map = ( verbose => 1, quiet => -1, really_quiet => -2, );
+
+ my @verb_adj = map { $self->$_() ? $verb_map{$_} : () }
+ keys %verb_map;
+
+ die "Only one of verbose, quiet or really_quiet should be specified\n"
+ if @verb_adj > 1;
+
+ $args{verbosity} = shift @verb_adj if @verb_adj;
+
+ for my $a (qw( merge failures comments timer directives normalize )) {
+ $args{$a} = 1 if $self->$a();
+ }
+
+ $args{errors} = 1 if $self->parse;
+
+ # defined but zero-length exec runs test files as binaries
+ $args{exec} = [ split( /\s+/, $self->exec ) ]
+ if ( defined( $self->exec ) );
+
+ $args{version} = $self->tapversion if defined( $self->tapversion );
+
+ if ( defined( my $test_args = $self->test_args ) ) {
+ $args{test_args} = $test_args;
+ }
+
+ if ( @{ $self->rules } ) {
+ my @rules;
+ for ( @{ $self->rules } ) {
+ if (/^par=(.*)/) {
+ push @rules, $1;
+ }
+ elsif (/^seq=(.*)/) {
+ push @rules, { seq => $1 };
+ }
+ }
+ $args{rules} = { par => [@rules] };
+ }
+ $args{harness_class} = $self->{harness_class} if $self->{harness_class};
+
+ return \%args;
+}
+
+sub _find_module {
+ my ( $self, $class, @search ) = @_;
+
+ croak "Bad module name $class"
+ unless $class =~ /^ \w+ (?: :: \w+ ) *$/x;
+
+ for my $pfx (@search) {
+ my $name = join( '::', $pfx, $class );
+ eval "require $name";
+ return $name unless $@;
+ }
+
+ eval "require $class";
+ return $class unless $@;
+ return;
+}
+
+sub _load_extension {
+ my ( $self, $name, @search ) = @_;
+
+ my @args = ();
+ if ( $name =~ /^(.*?)=(.*)/ ) {
+ $name = $1;
+ @args = split( /,/, $2 );
+ }
+
+ if ( my $class = $self->_find_module( $name, @search ) ) {
+ if ( $class->can('load') ) {
+ $class->load( { app_prove => $self, args => [@args] } );
+ }
+ }
+ else {
+ croak "Can't load module $name";
+ }
+}
+
+sub _load_extensions {
+ my ( $self, $ext, @search ) = @_;
+ $self->_load_extension( $_, @search ) for @$ext;
+}
+
+sub _parse_source {
+ my ( $self, $handler ) = @_;
+
+ # Load any options.
+ ( my $opt_name = lc $handler ) =~ s/::/-/g;
+ local @ARGV = @{ $self->{argv} };
+ my %config;
+ Getopt::Long::GetOptions(
+ "$opt_name-option=s%" => sub {
+ my ( $name, $k, $v ) = @_;
+ if ( $v =~ /(? $v;
+ }
+ else {
+ $config{$k} = $v;
+ }
+ }
+ }
+ );
+ $self->{argv} = \@ARGV;
+ return ( $handler, \%config );
+}
+
+=head3 C
+
+Perform whatever actions the command line args specified. The C
+command line tool consists of the following code:
+
+ use App::Prove;
+
+ my $app = App::Prove->new;
+ $app->process_args(@ARGV);
+ exit( $app->run ? 0 : 1 ); # if you need the exit code
+
+=cut
+
+sub run {
+ my $self = shift;
+
+ unless ( $self->state_manager ) {
+ $self->state_manager(
+ $self->state_class->new( { store => $self->statefile || STATE_FILE } ) );
+ }
+
+ if ( $self->show_help ) {
+ $self->_help(1);
+ }
+ elsif ( $self->show_man ) {
+ $self->_help(2);
+ }
+ elsif ( $self->show_version ) {
+ $self->print_version;
+ }
+ elsif ( $self->dry ) {
+ print "$_\n" for $self->_get_tests;
+ }
+ else {
+
+ $self->_load_extensions( $self->modules );
+ $self->_load_extensions( $self->plugins, PLUGINS );
+
+ local $ENV{TEST_VERBOSE} = 1 if $self->verbose;
+
+ return $self->_runtests( $self->_get_args, $self->_get_tests );
+ }
+
+ return 1;
+}
+
+sub _get_tests {
+ my $self = shift;
+
+ my $state = $self->state_manager;
+ my $ext = $self->extensions;
+ $state->extensions($ext) if defined $ext;
+ if ( defined( my $state_switch = $self->state ) ) {
+ $state->apply_switch(@$state_switch);
+ }
+
+ my @tests = $state->get_tests( $self->recurse, @{ $self->argv } );
+
+ $self->_shuffle(@tests) if $self->shuffle;
+ @tests = reverse @tests if $self->backwards;
+
+ return @tests;
+}
+
+sub _runtests {
+ my ( $self, $args, @tests ) = @_;
+ my $harness = TAP::Harness::Env->create($args);
+
+ my $state = $self->state_manager;
+
+ $harness->callback(
+ after_test => sub {
+ $state->observe_test(@_);
+ }
+ );
+
+ $harness->callback(
+ after_runtests => sub {
+ $state->commit(@_);
+ }
+ );
+
+ my $aggregator = $harness->runtests(@tests);
+
+ return !$aggregator->has_errors;
+}
+
+sub _get_switches {
+ my $self = shift;
+ my @switches;
+
+ # notes that -T or -t must be at the front of the switches!
+ if ( $self->taint_fail ) {
+ push @switches, '-T';
+ }
+ elsif ( $self->taint_warn ) {
+ push @switches, '-t';
+ }
+ if ( $self->warnings_fail ) {
+ push @switches, '-W';
+ }
+ elsif ( $self->warnings_warn ) {
+ push @switches, '-w';
+ }
+
+ return @switches ? \@switches : ();
+}
+
+sub _get_lib {
+ my $self = shift;
+ my @libs;
+ if ( $self->lib ) {
+ push @libs, 'lib';
+ }
+ if ( $self->blib ) {
+ push @libs, 'blib/lib', 'blib/arch';
+ }
+ if ( @{ $self->includes } ) {
+ push @libs, @{ $self->includes };
+ }
+
+ #24926
+ @libs = map { File::Spec->rel2abs($_) } @libs;
+
+ # Huh?
+ return @libs ? \@libs : ();
+}
+
+sub _shuffle {
+ my $self = shift;
+
+ # Fisher-Yates shuffle
+ my $i = @_;
+ while ($i) {
+ my $j = rand $i--;
+ @_[ $i, $j ] = @_[ $j, $i ];
+ }
+ return;
+}
+
+=head3 C
+
+Load a harness replacement class.
+
+ $prove->require_harness($for => $class_name);
+
+=cut
+
+sub require_harness {
+ my ( $self, $for, $class ) = @_;
+
+ my ($class_name) = $class =~ /^(\w+(?:::\w+)*)/;
+
+ # Emulate Perl's -MModule=arg1,arg2 behaviour
+ $class =~ s!^(\w+(?:::\w+)*)=(.*)$!$1 split(/,/,q{$2})!;
+
+ eval("use $class;");
+ die "$class_name is required to use the --$for feature: $@" if $@;
+
+ $self->{harness_class} = $class_name;
+
+ return;
+}
+
+=head3 C
+
+Display the version numbers of the loaded L and the
+current Perl.
+
+=cut
+
+sub print_version {
+ my $self = shift;
+ require TAP::Harness;
+ printf(
+ "TAP::Harness v%s and Perl v%vd\n",
+ $TAP::Harness::VERSION, $^V
+ );
+
+ return;
+}
+
+1;
+
+# vim:ts=4:sw=4:et:sta
+
+__END__
+
+=head2 Attributes
+
+After command line parsing the following attributes reflect the values
+of the corresponding command line switches. They may be altered before
+calling C.
+
+=over
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=item C
+
+=back
+
+=head1 PLUGINS
+
+C provides support for 3rd-party plugins. These are currently
+loaded at run-time, I arguments have been parsed (so you can not
+change the way arguments are processed, sorry), typically with the
+C<< -PI >> switch, eg:
+
+ prove -PMyPlugin
+
+This will search for a module named C, or failing
+that, C. If the plugin can't be found, C will complain & exit.
+
+You can pass an argument to your plugin by appending an C<=> after the plugin
+name, eg C<-PMyPlugin=foo>. You can pass multiple arguments using commas:
+
+ prove -PMyPlugin=foo,bar,baz
+
+These are passed in to your plugin's C class method (if it has one),
+along with a reference to the C object that is invoking your plugin:
+
+ sub load {
+ my ($class, $p) = @_;
+
+ my @args = @{ $p->{args} };
+ # @args will contain ( 'foo', 'bar', 'baz' )
+ $p->{app_prove}->do_something;
+ ...
+ }
+
+=head2 Sample Plugin
+
+Here's a sample plugin, for your reference:
+
+ package App::Prove::Plugin::Foo;
+
+ # Sample plugin, try running with:
+ # prove -PFoo=bar -r -j3
+ # prove -PFoo -Q
+ # prove -PFoo=bar,My::Formatter
+
+ use strict;
+ use warnings;
+
+ sub load {
+ my ($class, $p) = @_;
+ my @args = @{ $p->{args} };
+ my $app = $p->{app_prove};
+
+ print "loading plugin: $class, args: ", join(', ', @args ), "\n";
+
+ # turn on verbosity
+ $app->verbose( 1 );
+
+ # set the formatter?
+ $app->formatter( $args[1] ) if @args > 1;
+
+ # print some of App::Prove's state:
+ for my $attr (qw( jobs quiet really_quiet recurse verbose )) {
+ my $val = $app->$attr;
+ $val = 'undef' unless defined( $val );
+ print "$attr: $val\n";
+ }
+
+ return 1;
+ }
+
+ 1;
+
+=head1 SEE ALSO
+
+L, L
+
+=cut
diff --git a/git/usr/share/perl5/core_perl/Archive/Tar.pm b/git/usr/share/perl5/core_perl/Archive/Tar.pm
new file mode 100644
index 0000000000000000000000000000000000000000..2df0931e8a5e1609ad42bc6434f767a1652247af
--- /dev/null
+++ b/git/usr/share/perl5/core_perl/Archive/Tar.pm
@@ -0,0 +1,2450 @@
+### the gnu tar specification:
+### https://www.gnu.org/software/tar/manual/tar.html
+###
+### and the pax format spec, which tar derives from:
+### https://www.opengroup.org/onlinepubs/007904975/utilities/pax.html
+
+package Archive::Tar;
+require 5.005_03;
+
+use Cwd;
+use IO::Zlib;
+use IO::File;
+use Carp qw(carp croak);
+use File::Spec ();
+use File::Spec::Unix ();
+use File::Path ();
+
+use Archive::Tar::File;
+use Archive::Tar::Constant;
+
+require Exporter;
+
+use strict;
+use vars qw[$DEBUG $error $VERSION $WARN $FOLLOW_SYMLINK $CHOWN $CHMOD
+ $DO_NOT_USE_PREFIX $HAS_PERLIO $HAS_IO_STRING $SAME_PERMISSIONS
+ $INSECURE_EXTRACT_MODE $ZERO_PAD_NUMBERS @ISA @EXPORT $RESOLVE_SYMLINK
+ $EXTRACT_BLOCK_SIZE
+ ];
+
+@ISA = qw[Exporter];
+@EXPORT = qw[ COMPRESS_GZIP COMPRESS_BZIP COMPRESS_XZ ];
+$DEBUG = 0;
+$WARN = 1;
+$FOLLOW_SYMLINK = 0;
+$VERSION = "3.04";
+$CHOWN = 1;
+$CHMOD = 1;
+$SAME_PERMISSIONS = $> == 0 ? 1 : 0;
+$DO_NOT_USE_PREFIX = 0;
+$INSECURE_EXTRACT_MODE = 0;
+$ZERO_PAD_NUMBERS = 0;
+$RESOLVE_SYMLINK = $ENV{'PERL5_AT_RESOLVE_SYMLINK'} || 'speed';
+$EXTRACT_BLOCK_SIZE = 1024 * 1024 * 1024;
+
+BEGIN {
+ use Config;
+ $HAS_PERLIO = $Config::Config{useperlio};
+
+ ### try and load IO::String anyway, so you can dynamically
+ ### switch between perlio and IO::String
+ $HAS_IO_STRING = eval {
+ require IO::String;
+ IO::String->import;
+ 1;
+ } || 0;
+}
+
+=head1 NAME
+
+Archive::Tar - module for manipulations of tar archives
+
+=head1 SYNOPSIS
+
+ use Archive::Tar;
+ my $tar = Archive::Tar->new;
+
+ $tar->read('origin.tgz');
+ $tar->extract();
+
+ $tar->add_files('file/foo.pl', 'docs/README');
+ $tar->add_data('file/baz.txt', 'This is the contents now');
+
+ $tar->rename('oldname', 'new/file/name');
+ $tar->chown('/', 'root');
+ $tar->chown('/', 'root:root');
+ $tar->chmod('/tmp', '1777');
+
+ $tar->write('files.tar'); # plain tar
+ $tar->write('files.tgz', COMPRESS_GZIP); # gzip compressed
+ $tar->write('files.tbz', COMPRESS_BZIP); # bzip2 compressed
+ $tar->write('files.txz', COMPRESS_XZ); # xz compressed
+
+=head1 DESCRIPTION
+
+Archive::Tar provides an object oriented mechanism for handling tar
+files. It provides class methods for quick and easy files handling
+while also allowing for the creation of tar file objects for custom
+manipulation. If you have the IO::Zlib module installed,
+Archive::Tar will also support compressed or gzipped tar files.
+
+An object of class Archive::Tar represents a .tar(.gz) archive full
+of files and things.
+
+=head1 Object Methods
+
+=head2 Archive::Tar->new( [$file, $compressed] )
+
+Returns a new Tar object. If given any arguments, C calls the
+C method automatically, passing on the arguments provided to
+the C method.
+
+If C is invoked with arguments and the C method fails
+for any reason, C returns undef.
+
+=cut
+
+my $tmpl = {
+ _data => [ ],
+ _file => 'Unknown',
+};
+
+### install get/set accessors for this object.
+for my $key ( keys %$tmpl ) {
+ no strict 'refs';
+ *{__PACKAGE__."::$key"} = sub {
+ my $self = shift;
+ $self->{$key} = $_[0] if @_;
+ return $self->{$key};
+ }
+}
+
+sub new {
+ my $class = shift;
+ $class = ref $class if ref $class;
+
+ ### copying $tmpl here since a shallow copy makes it use the
+ ### same aref, causing for files to remain in memory always.
+ my $obj = bless { _data => [ ], _file => 'Unknown', _error => '' }, $class;
+
+ if (@_) {
+ unless ( $obj->read( @_ ) ) {
+ $obj->_error(qq[No data could be read from file]);
+ return;
+ }
+ }
+
+ return $obj;
+}
+
+=head2 $tar->read ( $filename|$handle, [$compressed, {opt => 'val'}] )
+
+Read the given tar file into memory.
+The first argument can either be the name of a file or a reference to
+an already open filehandle (or an IO::Zlib object if it's compressed)
+
+The C will I any previous content in C<$tar>!
+
+The second argument may be considered optional, but remains for
+backwards compatibility. Archive::Tar now looks at the file
+magic to determine what class should be used to open the file
+and will transparently Do The Right Thing.
+
+Archive::Tar will warn if you try to pass a bzip2 / xz compressed file and the
+IO::Uncompress::Bunzip2 / IO::Uncompress::UnXz are not available and simply return.
+
+Note that you can currently B pass a C compressed
+filehandle, which is not opened with C, a C compressed
+filehandle, which is not opened with C, a C compressed
+filehandle, which is not opened with C, nor a string
+containing the full archive information (either compressed or
+uncompressed). These are worth while features, but not currently
+implemented. See the C section.
+
+The third argument can be a hash reference with options. Note that
+all options are case-sensitive.
+
+=over 4
+
+=item limit
+
+Do not read more than C files. This is useful if you have
+very big archives, and are only interested in the first few files.
+
+=item filter
+
+Can be set to a regular expression. Only files with names that match
+the expression will be read.
+
+=item md5
+
+Set to 1 and the md5sum of files will be returned (instead of file data)
+ my $iter = Archive::Tar->iter( $file, 1, {md5 => 1} );
+ while( my $f = $iter->() ) {
+ print $f->data . "\t" . $f->full_path . $/;
+ }
+
+=item extract
+
+If set to true, immediately extract entries when reading them. This
+gives you the same memory break as the C function.
+Note however that entries will not be read into memory, but written
+straight to disk. This means no C objects are
+created for you to inspect.
+
+=back
+
+All files are stored internally as C objects.
+Please consult the L documentation for details.
+
+Returns the number of files read in scalar context, and a list of
+C objects in list context.
+
+=cut
+
+sub read {
+ my $self = shift;
+ my $file = shift;
+ my $gzip = shift || 0;
+ my $opts = shift || {};
+
+ unless( defined $file ) {
+ $self->_error( qq[No file to read from!] );
+ return;
+ } else {
+ $self->_file( $file );
+ }
+
+ my $handle = $self->_get_handle($file, $gzip, READ_ONLY->( ZLIB ) )
+ or return;
+
+ my $data = $self->_read_tar( $handle, $opts ) or return;
+
+ $self->_data( $data );
+
+ return wantarray ? @$data : scalar @$data;
+}
+
+sub _get_handle {
+ my $self = shift;
+ my $file = shift; return unless defined $file;
+ my $compress = shift || 0;
+ my $mode = shift || READ_ONLY->( ZLIB ); # default to read only
+
+ ### Check if file is a file handle or IO glob
+ if ( ref $file ) {
+ return $file if eval{ *$file{IO} };
+ return $file if eval{ $file->isa(q{IO::Handle}) };
+ $file = q{}.$file;
+ }
+
+ ### get a FH opened to the right class, so we can use it transparently
+ ### throughout the program
+ my $fh;
+ { ### reading magic only makes sense if we're opening a file for
+ ### reading. otherwise, just use what the user requested.
+ my $magic = '';
+ if( MODE_READ->($mode) ) {
+ open my $tmp, $file or do {
+ $self->_error( qq[Could not open '$file' for reading: $!] );
+ return;
+ };
+
+ ### read the first 6 bytes of the file to figure out which class to
+ ### use to open the file.
+ sysread( $tmp, $magic, 6 );
+ close $tmp;
+ }
+
+ ### is it xz?
+ ### if you asked specifically for xz compression, or if we're in
+ ### read mode and the magic numbers add up, use xz
+ if( XZ and (
+ ($compress eq COMPRESS_XZ) or
+ ( MODE_READ->($mode) and $magic =~ XZ_MAGIC_NUM )
+ )
+ ) {
+ if( MODE_READ->($mode) ) {
+ $fh = IO::Uncompress::UnXz->new( $file ) or do {
+ $self->_error( qq[Could not read '$file': ] .
+ $IO::Uncompress::UnXz::UnXzError
+ );
+ return;
+ };
+ } else {
+ $fh = IO::Compress::Xz->new( $file ) or do {
+ $self->_error( qq[Could not write to '$file': ] .
+ $IO::Compress::Xz::XzError
+ );
+ return;
+ };
+ }
+
+ ### is it bzip?
+ ### if you asked specifically for bzip compression, or if we're in
+ ### read mode and the magic numbers add up, use bzip
+ } elsif( BZIP and (
+ ($compress eq COMPRESS_BZIP) or
+ ( MODE_READ->($mode) and $magic =~ BZIP_MAGIC_NUM )
+ )
+ ) {
+
+ ### different reader/writer modules, different error vars... sigh
+ if( MODE_READ->($mode) ) {
+ $fh = IO::Uncompress::Bunzip2->new( $file, MultiStream => 1 ) or do {
+ $self->_error( qq[Could not read '$file': ] .
+ $IO::Uncompress::Bunzip2::Bunzip2Error
+ );
+ return;
+ };
+
+ } else {
+ $fh = IO::Compress::Bzip2->new( $file ) or do {
+ $self->_error( qq[Could not write to '$file': ] .
+ $IO::Compress::Bzip2::Bzip2Error
+ );
+ return;
+ };
+ }
+
+ ### is it gzip?
+ ### if you asked for compression, if you wanted to read or the gzip
+ ### magic number is present (redundant with read)
+ } elsif( ZLIB and (
+ $compress or MODE_READ->($mode) or $magic =~ GZIP_MAGIC_NUM
+ )
+ ) {
+ $fh = IO::Zlib->new;
+
+ unless( $fh->open( $file, $mode ) ) {
+ $self->_error(qq[Could not create filehandle for '$file': $!]);
+ return;
+ }
+
+ ### is it plain tar?
+ } else {
+ $fh = IO::File->new;
+
+ unless( $fh->open( $file, $mode ) ) {
+ $self->_error(qq[Could not create filehandle for '$file': $!]);
+ return;
+ }
+
+ ### enable bin mode on tar archives
+ binmode $fh;
+ }
+ }
+
+ return $fh;
+}
+
+
+sub _read_tar {
+ my $self = shift;
+ my $handle = shift or return;
+ my $opts = shift || {};
+
+ my $count = $opts->{limit} || 0;
+ my $filter = $opts->{filter};
+ my $md5 = $opts->{md5} || 0; # cdrake
+ my $filter_cb = $opts->{filter_cb};
+ my $extract = $opts->{extract} || 0;
+
+ ### set a cap on the amount of files to extract ###
+ my $limit = 0;
+ $limit = 1 if $count > 0;
+
+ my $tarfile = [ ];
+ my $chunk;
+ my $read = 0;
+ my $real_name; # to set the name of a file when
+ # we're encountering @longlink
+ my $data;
+
+ LOOP:
+ while( $handle->read( $chunk, HEAD ) ) {
+ ### IO::Zlib doesn't support this yet
+ my $offset;
+ if ( ref($handle) ne 'IO::Zlib' ) {
+ local $@;
+ $offset = eval { tell $handle } || 'unknown';
+ $@ = '';
+ }
+ else {
+ $offset = 'unknown';
+ }
+
+ unless( $read++ ) {
+ my $gzip = GZIP_MAGIC_NUM;
+ if( $chunk =~ /$gzip/ ) {
+ $self->_error( qq[Cannot read compressed format in tar-mode] );
+ return;
+ }
+
+ ### size is < HEAD, which means a corrupted file, as the minimum
+ ### length is _at least_ HEAD
+ if (length $chunk != HEAD) {
+ $self->_error( qq[Cannot read enough bytes from the tarfile] );
+ return;
+ }
+ }
+
+ ### if we can't read in all bytes... ###
+ last if length $chunk != HEAD;
+
+ ### Apparently this should really be two blocks of 512 zeroes,
+ ### but GNU tar sometimes gets it wrong. See comment in the
+ ### source code (tar.c) to GNU cpio.
+ next if $chunk eq TAR_END;
+
+ ### according to the posix spec, the last 12 bytes of the header are
+ ### null bytes, to pad it to a 512 byte block. That means if these
+ ### bytes are NOT null bytes, it's a corrupt header. See:
+ ### www.koders.com/c/fidCE473AD3D9F835D690259D60AD5654591D91D5BA.aspx
+ ### line 111
+ { my $nulls = join '', "\0" x 12;
+ unless( $nulls eq substr( $chunk, 500, 12 ) ) {
+ $self->_error( qq[Invalid header block at offset $offset] );
+ next LOOP;
+ }
+ }
+
+ ### pass the realname, so we can set it 'proper' right away
+ ### some of the heuristics are done on the name, so important
+ ### to set it ASAP
+ my $entry;
+ { my %extra_args = ();
+ $extra_args{'name'} = $$real_name if defined $real_name;
+
+ unless( $entry = Archive::Tar::File->new( chunk => $chunk,
+ %extra_args )
+ ) {
+ $self->_error( qq[Couldn't read chunk at offset $offset] );
+ next LOOP;
+ }
+ }
+
+ ### ignore labels:
+ ### https://www.gnu.org/software/tar/manual/html_chapter/Media.html#SEC159
+ next if $entry->is_label;
+
+ if( length $entry->type and ($entry->is_file || $entry->is_longlink) ) {
+
+ if ( $entry->is_file && !$entry->validate ) {
+ ### sometimes the chunk is rather fux0r3d and a whole 512
+ ### bytes ends up in the ->name area.
+ ### clean it up, if need be
+ my $name = $entry->name;
+ $name = substr($name, 0, 100) if length $name > 100;
+ $name =~ s/\n/ /g;
+
+ $self->_error( $name . qq[: checksum error] );
+ next LOOP;
+ }
+
+ my $block = BLOCK_SIZE->( $entry->size );
+
+ $data = $entry->get_content_by_ref;
+
+ my $skip = 0;
+ my $ctx; # cdrake
+ ### skip this entry if we're filtering
+
+ if($md5) { # cdrake
+ $ctx = Digest::MD5->new; # cdrake
+ $skip=5; # cdrake
+
+ } elsif ($filter && $entry->name !~ $filter) {
+ $skip = 1;
+
+ } elsif ($filter_cb && ! $filter_cb->($entry)) {
+ $skip = 2;
+
+ ### skip this entry if it's a pax header. This is a special file added
+ ### by, among others, git-generated tarballs. It holds comments and is
+ ### not meant for extracting. See #38932: pax_global_header extracted
+ } elsif ( $entry->name eq PAX_HEADER or $entry->type =~ /^(x|g)$/ ) {
+ $skip = 3;
+ }
+
+ if ($skip) {
+ #
+ # Since we're skipping, do not allocate memory for the
+ # whole file. Read it 64 BLOCKS at a time. Do not
+ # complete the skip yet because maybe what we read is a
+ # longlink and it won't get skipped after all
+ #
+ my $amt = $block;
+ my $fsz=$entry->size; # cdrake
+ while ($amt > 0) {
+ $$data = '';
+ my $this = 64 * BLOCK;
+ $this = $amt if $this > $amt;
+ if( $handle->read( $$data, $this ) < $this ) {
+ $self->_error( qq[Read error on tarfile (missing data) '].
+ $entry->full_path ."' at offset $offset" );
+ next LOOP;
+ }
+ $amt -= $this;
+ $fsz -= $this; # cdrake
+ substr ($$data, $fsz) = "" if ($fsz<0); # remove external junk prior to md5 # cdrake
+ $ctx->add($$data) if($skip==5); # cdrake
+ }
+ $$data = $ctx->hexdigest if($skip==5 && !$entry->is_longlink && !$entry->is_unknown && !$entry->is_label ) ; # cdrake
+ } else {
+
+ ### just read everything into memory
+ ### can't do lazy loading since IO::Zlib doesn't support 'seek'
+ ### this is because Compress::Zlib doesn't support it =/
+ ### this reads in the whole data in one read() call.
+ if ( $handle->read( $$data, $block ) < $block ) {
+ $self->_error( qq[Read error on tarfile (missing data) '].
+ $entry->full_path ."' at offset $offset" );
+ next LOOP;
+ }
+ ### throw away trailing garbage ###
+ substr ($$data, $entry->size) = "" if defined $$data;
+ }
+
+ ### part II of the @LongLink munging -- need to do /after/
+ ### the checksum check.
+ if( $entry->is_longlink ) {
+ ### weird thing in tarfiles -- if the file is actually a
+ ### @LongLink, the data part seems to have a trailing ^@
+ ### (unprintable) char. to display, pipe output through less.
+ ### but that doesn't *always* happen.. so check if the last
+ ### character is a control character, and if so remove it
+ ### at any rate, we better remove that character here, or tests
+ ### like 'eq' and hash lookups based on names will SO not work
+ ### remove it by calculating the proper size, and then
+ ### tossing out everything that's longer than that size.
+
+ ### count number of nulls
+ my $nulls = $$data =~ tr/\0/\0/;
+
+ ### cut data + size by that many bytes
+ $entry->size( $entry->size - $nulls );
+ substr ($$data, $entry->size) = "";
+ }
+ }
+
+ ### clean up of the entries.. posix tar /apparently/ has some
+ ### weird 'feature' that allows for filenames > 255 characters
+ ### they'll put a header in with as name '././@LongLink' and the
+ ### contents will be the name of the /next/ file in the archive
+ ### pretty crappy and kludgy if you ask me
+
+ ### set the name for the next entry if this is a @LongLink;
+ ### this is one ugly hack =/ but needed for direct extraction
+ if( $entry->is_longlink ) {
+ $real_name = $data;
+ next LOOP;
+ } elsif ( defined $real_name ) {
+ $entry->name( $$real_name );
+ $entry->prefix('');
+ undef $real_name;
+ }
+
+ if ($filter && $entry->name !~ $filter) {
+ next LOOP;
+
+ } elsif ($filter_cb && ! $filter_cb->($entry)) {
+ next LOOP;
+
+ ### skip this entry if it's a pax header. This is a special file added
+ ### by, among others, git-generated tarballs. It holds comments and is
+ ### not meant for extracting. See #38932: pax_global_header extracted
+ } elsif ( $entry->name eq PAX_HEADER or $entry->type =~ /^(x|g)$/ ) {
+ next LOOP;
+ }
+
+ if ( $extract && !$entry->is_longlink
+ && !$entry->is_unknown
+ && !$entry->is_label ) {
+ $self->_extract_file( $entry ) or return;
+ }
+
+ ### Guard against tarfiles with garbage at the end
+ last LOOP if $entry->name eq '';
+
+ ### push only the name on the rv if we're extracting
+ ### -- for extract_archive
+ push @$tarfile, ($extract ? $entry->name : $entry);
+
+ if( $limit ) {
+ $count-- unless $entry->is_longlink || $entry->is_dir;
+ last LOOP unless $count;
+ }
+ } continue {
+ undef $data;
+ }
+
+ return $tarfile;
+}
+
+=head2 $tar->contains_file( $filename )
+
+Check if the archive contains a certain file.
+It will return true if the file is in the archive, false otherwise.
+
+Note however, that this function does an exact match using C
+on the full path. So it cannot compensate for case-insensitive file-
+systems or compare 2 paths to see if they would point to the same
+underlying file.
+
+=cut
+
+sub contains_file {
+ my $self = shift;
+ my $full = shift;
+
+ return unless defined $full;
+
+ ### don't warn if the entry isn't there.. that's what this function
+ ### is for after all.
+ local $WARN = 0;
+ return 1 if $self->_find_entry($full);
+ return;
+}
+
+=head2 $tar->extract( [@filenames] )
+
+Write files whose names are equivalent to any of the names in
+C<@filenames> to disk, creating subdirectories as necessary. This
+might not work too well under VMS.
+Under MacPerl, the file's modification time will be converted to the
+MacOS zero of time, and appropriate conversions will be done to the
+path. However, the length of each element of the path is not
+inspected to see whether it's longer than MacOS currently allows (32
+characters).
+
+If C is called without a list of file names, the entire
+contents of the archive are extracted.
+
+Returns a list of filenames extracted.
+
+=cut
+
+sub extract {
+ my $self = shift;
+ my @args = @_;
+ my @files;
+ my $hashmap;
+
+ # use the speed optimization for all extracted files
+ local($self->{cwd}) = cwd() unless $self->{cwd};
+
+ ### you requested the extraction of only certain files
+ if( @args ) {
+ for my $file ( @args ) {
+
+ ### it's already an object?
+ if( UNIVERSAL::isa( $file, 'Archive::Tar::File' ) ) {
+ push @files, $file;
+ next;
+
+ ### go find it then
+ } else {
+
+ # create hash-map once to speed up lookup
+ $hashmap = $hashmap || {
+ map { $_->full_path, $_ } @{$self->_data}
+ };
+
+ if (exists $hashmap->{$file}) {
+ ### we found the file you're looking for
+ push @files, $hashmap->{$file};
+ } else {
+ return $self->_error(
+ qq[Could not find '$file' in archive] );
+ }
+ }
+ }
+
+ ### just grab all the file items
+ } else {
+ @files = $self->get_files;
+ }
+
+ ### nothing found? that's an error
+ unless( scalar @files ) {
+ $self->_error( qq[No files found for ] . $self->_file );
+ return;
+ }
+
+ ### now extract them
+ for my $entry ( @files ) {
+ unless( $self->_extract_file( $entry ) ) {
+ $self->_error(q[Could not extract ']. $entry->full_path .q['] );
+ return;
+ }
+ }
+
+ return @files;
+}
+
+=head2 $tar->extract_file( $file, [$extract_path] )
+
+Write an entry, whose name is equivalent to the file name provided to
+disk. Optionally takes a second parameter, which is the full native
+path (including filename) the entry will be written to.
+
+For example:
+
+ $tar->extract_file( 'name/in/archive', 'name/i/want/to/give/it' );
+
+ $tar->extract_file( $at_file_object, 'name/i/want/to/give/it' );
+
+Returns true on success, false on failure.
+
+=cut
+
+sub extract_file {
+ my $self = shift;
+ my $file = shift; return unless defined $file;
+ my $alt = shift;
+
+ my $entry = $self->_find_entry( $file )
+ or $self->_error( qq[Could not find an entry for '$file'] ), return;
+
+ return $self->_extract_file( $entry, $alt );
+}
+
+sub _extract_file {
+ my $self = shift;
+ my $entry = shift or return;
+ my $alt = shift;
+
+ ### you wanted an alternate extraction location ###
+ my $name = defined $alt ? $alt : $entry->full_path;
+
+ ### splitpath takes a bool at the end to indicate
+ ### that it's splitting a dir
+ my ($vol,$dirs,$file);
+ if ( defined $alt ) { # It's a local-OS path
+ ($vol,$dirs,$file) = File::Spec->splitpath( $alt,
+ $entry->is_dir );
+ } else {
+ ($vol,$dirs,$file) = File::Spec::Unix->splitpath( $name,
+ $entry->is_dir );
+ }
+
+ my $dir;
+ ### is $name an absolute path? ###
+ if( $vol || File::Spec->file_name_is_absolute( $dirs ) ) {
+
+ ### absolute names are not allowed to be in tarballs under
+ ### strict mode, so only allow it if a user tells us to do it
+ if( not defined $alt and not $INSECURE_EXTRACT_MODE ) {
+ $self->_error(
+ q[Entry ']. $entry->full_path .q[' is an absolute path. ].
+ q[Not extracting absolute paths under SECURE EXTRACT MODE]
+ );
+ return;
+ }
+
+ ### user asked us to, it's fine.
+ $dir = File::Spec->catpath( $vol, $dirs, "" );
+
+ ### it's a relative path ###
+ } else {
+ my $cwd = (ref $self and defined $self->{cwd})
+ ? $self->{cwd}
+ : cwd();
+
+ my @dirs = defined $alt
+ ? File::Spec->splitdir( $dirs ) # It's a local-OS path
+ : File::Spec::Unix->splitdir( $dirs ); # it's UNIX-style, likely
+ # straight from the tarball
+
+ if( not defined $alt and
+ not $INSECURE_EXTRACT_MODE
+ ) {
+
+ ### paths that leave the current directory are not allowed under
+ ### strict mode, so only allow it if a user tells us to do this.
+ if( grep { $_ eq '..' } @dirs ) {
+
+ $self->_error(
+ q[Entry ']. $entry->full_path .q[' is attempting to leave ].
+ q[the current working directory. Not extracting under ].
+ q[SECURE EXTRACT MODE]
+ );
+ return;
+ }
+
+ ### the archive may be asking us to extract into a symlink. This
+ ### is not sane and a possible security issue, as outlined here:
+ ### https://rt.cpan.org/Ticket/Display.html?id=30380
+ ### https://bugzilla.redhat.com/show_bug.cgi?id=295021
+ ### https://issues.rpath.com/browse/RPL-1716
+ my $full_path = $cwd;
+ for my $d ( @dirs ) {
+ $full_path = File::Spec->catdir( $full_path, $d );
+
+ ### we've already checked this one, and it's safe. Move on.
+ next if ref $self and $self->{_link_cache}->{$full_path};
+
+ if( -l $full_path ) {
+ my $to = readlink $full_path;
+ my $diag = "symlinked directory ($full_path => $to)";
+
+ $self->_error(
+ q[Entry ']. $entry->full_path .q[' is attempting to ].
+ qq[extract to a $diag. This is considered a security ].
+ q[vulnerability and not allowed under SECURE EXTRACT ].
+ q[MODE]
+ );
+ return;
+ }
+
+ ### XXX keep a cache if possible, so the stats become cheaper:
+ $self->{_link_cache}->{$full_path} = 1 if ref $self;
+ }
+ }
+
+ ### '.' is the directory delimiter on VMS, which has to be escaped
+ ### or changed to '_' on vms. vmsify is used, because older versions
+ ### of vmspath do not handle this properly.
+ ### Must not add a '/' to an empty directory though.
+ map { length() ? VMS::Filespec::vmsify($_.'/') : $_ } @dirs if ON_VMS;
+
+ my ($cwd_vol,$cwd_dir,$cwd_file)
+ = File::Spec->splitpath( $cwd );
+ my @cwd = File::Spec->splitdir( $cwd_dir );
+ push @cwd, $cwd_file if length $cwd_file;
+
+ ### We need to pass '' as the last element to catpath. Craig Berry
+ ### explains why (msgid ):
+ ### The root problem is that splitpath on UNIX always returns the
+ ### final path element as a file even if it is a directory, and of
+ ### course there is no way it can know the difference without checking
+ ### against the filesystem, which it is documented as not doing. When
+ ### you turn around and call catpath, on VMS you have to know which bits
+ ### are directory bits and which bits are file bits. In this case we
+ ### know the result should be a directory. I had thought you could omit
+ ### the file argument to catpath in such a case, but apparently on UNIX
+ ### you can't.
+ $dir = File::Spec->catpath(
+ $cwd_vol, File::Spec->catdir( @cwd, @dirs ), ''
+ );
+
+ ### catdir() returns undef if the path is longer than 255 chars on
+ ### older VMS systems.
+ unless ( defined $dir ) {
+ $^W && $self->_error( qq[Could not compose a path for '$dirs'\n] );
+ return;
+ }
+
+ }
+
+ if( -e $dir && !-d _ ) {
+ $^W && $self->_error( qq['$dir' exists, but it's not a directory!\n] );
+ return;
+ }
+
+ unless ( -d _ ) {
+ eval { File::Path::mkpath( $dir, 0, 0777 ) };
+ if( $@ ) {
+ my $fp = $entry->full_path;
+ $self->_error(qq[Could not create directory '$dir' for '$fp': $@]);
+ return;
+ }
+
+ ### XXX chown here? that might not be the same as in the archive
+ ### as we're only chown'ing to the owner of the file we're extracting
+ ### not to the owner of the directory itself, which may or may not
+ ### be another entry in the archive
+ ### Answer: no, gnu tar doesn't do it either, it'd be the wrong
+ ### way to go.
+ #if( $CHOWN && CAN_CHOWN ) {
+ # chown $entry->uid, $entry->gid, $dir or
+ # $self->_error( qq[Could not set uid/gid on '$dir'] );
+ #}
+ }
+
+ ### we're done if we just needed to create a dir ###
+ return 1 if $entry->is_dir;
+
+ my $full = File::Spec->catfile( $dir, $file );
+
+ if( $entry->is_unknown ) {
+ $self->_error( qq[Unknown file type for file '$full'] );
+ return;
+ }
+
+ ### If a file system already contains a block device with the same name as
+ ### the being extracted regular file, we would write the file's content
+ ### to the block device. So remove the existing file (block device) now.
+ ### If an archive contains multiple same-named entries, the last one
+ ### should replace the previous ones. So remove the old file now.
+ ### If the old entry is a symlink to a file outside of the CWD, the new
+ ### entry would create a file there. This is CVE-2018-12015
+ ### .
+ if (-l $full || -e _) {
+ if (!unlink $full) {
+ $self->_error( qq[Could not remove old file '$full': $!] );
+ return;
+ }
+ }
+ if( length $entry->type && $entry->is_file ) {
+ my $fh = IO::File->new;
+ $fh->open( $full, '>' ) or (
+ $self->_error( qq[Could not open file '$full': $!] ),
+ return
+ );
+
+ if( $entry->size ) {
+ binmode $fh;
+ my $offset = 0;
+ my $content = $entry->get_content_by_ref();
+ while ($offset < $entry->size) {
+ my $written
+ = syswrite $fh, $$content, $EXTRACT_BLOCK_SIZE, $offset;
+ if (defined $written) {
+ $offset += $written;
+ } else {
+ $self->_error( qq[Could not write data to '$full': $!] );
+ return;
+ }
+ }
+ }
+
+ close $fh or (
+ $self->_error( qq[Could not close file '$full'] ),
+ return
+ );
+
+ } else {
+ $self->_make_special_file( $entry, $full ) or return;
+ }
+
+ ### only update the timestamp if it's not a symlink; that will change the
+ ### timestamp of the original. This addresses bug #33669: Could not update
+ ### timestamp warning on symlinks
+ if( not -l $full ) {
+ utime time, $entry->mtime - TIME_OFFSET, $full or
+ $self->_error( qq[Could not update timestamp] );
+ }
+
+ if( $CHOWN && CAN_CHOWN->() and not -l $full ) {
+ CORE::chown( $entry->uid, $entry->gid, $full ) or
+ $self->_error( qq[Could not set uid/gid on '$full'] );
+ }
+
+ ### only chmod if we're allowed to, but never chmod symlinks, since they'll
+ ### change the perms on the file they're linking too...
+ if( $CHMOD and not -l $full ) {
+ my $mode = $entry->mode;
+ unless ($SAME_PERMISSIONS) {
+ $mode &= ~(oct(7000) | umask);
+ }
+ CORE::chmod( $mode, $full ) or
+ $self->_error( qq[Could not chown '$full' to ] . $entry->mode );
+ }
+
+ return 1;
+}
+
+sub _make_special_file {
+ my $self = shift;
+ my $entry = shift or return;
+ my $file = shift; return unless defined $file;
+
+ my $err;
+
+ if( $entry->is_symlink ) {
+ my $fail;
+ if( ON_UNIX ) {
+ symlink( $entry->linkname, $file ) or $fail++;
+
+ } else {
+ $self->_extract_special_file_as_plain_file( $entry, $file )
+ or $fail++;
+ }
+
+ $err = qq[Making symbolic link '$file' to '] .
+ $entry->linkname .q[' failed] if $fail;
+
+ } elsif ( $entry->is_hardlink ) {
+ my $fail;
+ if( ON_UNIX ) {
+ link( $entry->linkname, $file ) or $fail++;
+
+ } else {
+ $self->_extract_special_file_as_plain_file( $entry, $file )
+ or $fail++;
+ }
+
+ $err = qq[Making hard link from '] . $entry->linkname .
+ qq[' to '$file' failed] if $fail;
+
+ } elsif ( $entry->is_fifo ) {
+ ON_UNIX && !system('mknod', $file, 'p') or
+ $err = qq[Making fifo ']. $entry->name .qq[' failed];
+
+ } elsif ( $entry->is_blockdev or $entry->is_chardev ) {
+ my $mode = $entry->is_blockdev ? 'b' : 'c';
+
+ ON_UNIX && !system('mknod', $file, $mode,
+ $entry->devmajor, $entry->devminor) or
+ $err = qq[Making block device ']. $entry->name .qq[' (maj=] .
+ $entry->devmajor . qq[ min=] . $entry->devminor .
+ qq[) failed.];
+
+ } elsif ( $entry->is_socket ) {
+ ### the original doesn't do anything special for sockets.... ###
+ 1;
+ }
+
+ return $err ? $self->_error( $err ) : 1;
+}
+
+### don't know how to make symlinks, let's just extract the file as
+### a plain file
+sub _extract_special_file_as_plain_file {
+ my $self = shift;
+ my $entry = shift or return;
+ my $file = shift; return unless defined $file;
+
+ my $err;
+ TRY: {
+ my $orig = $self->_find_entry( $entry->linkname, $entry );
+
+ unless( $orig ) {
+ $err = qq[Could not find file '] . $entry->linkname .
+ qq[' in memory.];
+ last TRY;
+ }
+
+ ### clone the entry, make it appear as a normal file ###
+ my $clone = $orig->clone;
+ $clone->_downgrade_to_plainfile;
+ $self->_extract_file( $clone, $file ) or last TRY;
+
+ return 1;
+ }
+
+ return $self->_error($err);
+}
+
+=head2 $tar->list_files( [\@properties] )
+
+Returns a list of the names of all the files in the archive.
+
+If C is passed an array reference as its first argument
+it returns a list of hash references containing the requested
+properties of each file. The following list of properties is
+supported: name, size, mtime (last modified date), mode, uid, gid,
+linkname, uname, gname, devmajor, devminor, prefix.
+
+Passing an array reference containing only one element, 'name', is
+special cased to return a list of names rather than a list of hash
+references, making it equivalent to calling C without
+arguments.
+
+=cut
+
+sub list_files {
+ my $self = shift;
+ my $aref = shift || [ ];
+
+ unless( $self->_data ) {
+ $self->read() or return;
+ }
+
+ if( @$aref == 0 or ( @$aref == 1 and $aref->[0] eq 'name' ) ) {
+ return map { $_->full_path } @{$self->_data};
+ } else {
+
+ #my @rv;
+ #for my $obj ( @{$self->_data} ) {
+ # push @rv, { map { $_ => $obj->$_() } @$aref };
+ #}
+ #return @rv;
+
+ ### this does the same as the above.. just needs a +{ }
+ ### to make sure perl doesn't confuse it for a block
+ return map { my $o=$_;
+ +{ map { $_ => $o->$_() } @$aref }
+ } @{$self->_data};
+ }
+}
+
+sub _find_entry {
+ my $self = shift;
+ my $file = shift;
+
+ unless( defined $file ) {
+ $self->_error( qq[No file specified] );
+ return;
+ }
+
+ ### it's an object already
+ return $file if UNIVERSAL::isa( $file, 'Archive::Tar::File' );
+
+seach_entry:
+ if($self->_data){
+ for my $entry ( @{$self->_data} ) {
+ my $path = $entry->full_path;
+ return $entry if $path eq $file;
+ }
+ }
+
+ if($Archive::Tar::RESOLVE_SYMLINK!~/none/){
+ if(my $link_entry = shift()){#fallback mode when symlinks are using relative notations ( ../a/./b/text.bin )
+ $file = _symlinks_resolver( $link_entry->name, $file );
+ goto seach_entry if $self->_data;
+
+ #this will be slower than never, but won't failed!
+
+ my $iterargs = $link_entry->{'_archive'};
+ if($Archive::Tar::RESOLVE_SYMLINK=~/speed/ && @$iterargs==3){
+ #faster but whole archive will be read in memory
+ #read whole archive and share data
+ my $archive = Archive::Tar->new;
+ $archive->read( @$iterargs );
+ push @$iterargs, $archive; #take a trace for destruction
+ if($archive->_data){
+ $self->_data( $archive->_data );
+ goto seach_entry;
+ }
+ }#faster
+
+ {#slower but lower memory usage
+ # $iterargs = [$filename, $compressed, $opts];
+ my $next = Archive::Tar->iter( @$iterargs );
+ while(my $e = $next->()){
+ if($e->full_path eq $file){
+ undef $next;
+ return $e;
+ }
+ }
+ }#slower
+ }
+ }
+
+ $self->_error( qq[No such file in archive: '$file'] );
+ return;
+}
+
+=head2 $tar->get_files( [@filenames] )
+
+Returns the C objects matching the filenames
+provided. If no filename list was passed, all C
+objects in the current Tar object are returned.
+
+Please refer to the C documentation on how to
+handle these objects.
+
+=cut
+
+sub get_files {
+ my $self = shift;
+
+ return @{ $self->_data } unless @_;
+
+ my @list;
+ for my $file ( @_ ) {
+ push @list, grep { defined } $self->_find_entry( $file );
+ }
+
+ return @list;
+}
+
+=head2 $tar->get_content( $file )
+
+Return the content of the named file.
+
+=cut
+
+sub get_content {
+ my $self = shift;
+ my $entry = $self->_find_entry( shift ) or return;
+
+ return $entry->data;
+}
+
+=head2 $tar->replace_content( $file, $content )
+
+Make the string $content be the content for the file named $file.
+
+=cut
+
+sub replace_content {
+ my $self = shift;
+ my $entry = $self->_find_entry( shift ) or return;
+
+ return $entry->replace_content( shift );
+}
+
+=head2 $tar->rename( $file, $new_name )
+
+Rename the file of the in-memory archive to $new_name.
+
+Note that you must specify a Unix path for $new_name, since per tar
+standard, all files in the archive must be Unix paths.
+
+Returns true on success and false on failure.
+
+=cut
+
+sub rename {
+ my $self = shift;
+ my $file = shift; return unless defined $file;
+ my $new = shift; return unless defined $new;
+
+ my $entry = $self->_find_entry( $file ) or return;
+
+ return $entry->rename( $new );
+}
+
+=head2 $tar->chmod( $file, $mode )
+
+Change mode of $file to $mode.
+
+Returns true on success and false on failure.
+
+=cut
+
+sub chmod {
+ my $self = shift;
+ my $file = shift; return unless defined $file;
+ my $mode = shift; return unless defined $mode && $mode =~ /^[0-7]{1,4}$/;
+ my @args = ("$mode");
+
+ my $entry = $self->_find_entry( $file ) or return;
+ my $x = $entry->chmod( @args );
+ return $x;
+}
+
+=head2 $tar->chown( $file, $uname [, $gname] )
+
+Change owner $file to $uname and $gname.
+
+Returns true on success and false on failure.
+
+=cut
+
+sub chown {
+ my $self = shift;
+ my $file = shift; return unless defined $file;
+ my $uname = shift; return unless defined $uname;
+ my @args = ($uname);
+ push(@args, shift);
+
+ my $entry = $self->_find_entry( $file ) or return;
+ my $x = $entry->chown( @args );
+ return $x;
+}
+
+=head2 $tar->remove (@filenamelist)
+
+Removes any entries with names matching any of the given filenames
+from the in-memory archive. Returns a list of C
+objects that remain.
+
+=cut
+
+sub remove {
+ my $self = shift;
+ my @list = @_;
+
+ my %seen = map { $_->full_path => $_ } @{$self->_data};
+ delete $seen{ $_ } for @list;
+
+ $self->_data( [values %seen] );
+
+ return values %seen;
+}
+
+=head2 $tar->clear
+
+C clears the current in-memory archive. This effectively gives
+you a 'blank' object, ready to be filled again. Note that C
+only has effect on the object, not the underlying tarfile.
+
+=cut
+
+sub clear {
+ my $self = shift or return;
+
+ $self->_data( [] );
+ $self->_file( '' );
+
+ return 1;
+}
+
+
+=head2 $tar->write ( [$file, $compressed, $prefix] )
+
+Write the in-memory archive to disk. The first argument can either
+be the name of a file or a reference to an already open filehandle (a
+GLOB reference).
+
+The second argument is used to indicate compression. You can
+compress using C, C or C. If you pass a digit, it's assumed
+to be the C compression level (between 1 and 9), but the use of
+constants is preferred:
+
+ # write a gzip compressed file
+ $tar->write( 'out.tgz', COMPRESS_GZIP );
+
+ # write a bzip compressed file
+ $tar->write( 'out.tbz', COMPRESS_BZIP );
+
+ # write a xz compressed file
+ $tar->write( 'out.txz', COMPRESS_XZ );
+
+Note that when you pass in a filehandle, the compression argument
+is ignored, as all files are printed verbatim to your filehandle.
+If you wish to enable compression with filehandles, use an
+C, C or C filehandle instead.
+
+The third argument is an optional prefix. All files will be tucked
+away in the directory you specify as prefix. So if you have files
+'a' and 'b' in your archive, and you specify 'foo' as prefix, they
+will be written to the archive as 'foo/a' and 'foo/b'.
+
+If no arguments are given, C returns the entire formatted
+archive as a string, which could be useful if you'd like to stuff the
+archive into a socket or a pipe to gzip or something.
+
+
+=cut
+
+sub write {
+ my $self = shift;
+ my $file = shift; $file = '' unless defined $file;
+ my $gzip = shift || 0;
+ my $ext_prefix = shift; $ext_prefix = '' unless defined $ext_prefix;
+ my $dummy = '';
+
+ ### only need a handle if we have a file to print to ###
+ my $handle = length($file)
+ ? ( $self->_get_handle($file, $gzip, WRITE_ONLY->($gzip) )
+ or return )
+ : $HAS_PERLIO ? do { open my $h, '>', \$dummy; $h }
+ : $HAS_IO_STRING ? IO::String->new
+ : __PACKAGE__->no_string_support();
+
+ ### Addresses: #41798: Nonempty $\ when writing a TAR file produces a
+ ### corrupt TAR file. Must clear out $\ to make sure no garbage is
+ ### printed to the archive
+ local $\;
+
+ for my $entry ( @{$self->_data} ) {
+ ### entries to be written to the tarfile ###
+ my @write_me;
+
+ ### only now will we change the object to reflect the current state
+ ### of the name and prefix fields -- this needs to be limited to
+ ### write() only!
+ my $clone = $entry->clone;
+
+
+ ### so, if you don't want use to use the prefix, we'll stuff
+ ### everything in the name field instead
+ if( $DO_NOT_USE_PREFIX ) {
+
+ ### you might have an extended prefix, if so, set it in the clone
+ ### XXX is ::Unix right?
+ $clone->name( length $ext_prefix
+ ? File::Spec::Unix->catdir( $ext_prefix,
+ $clone->full_path)
+ : $clone->full_path );
+ $clone->prefix( '' );
+
+ ### otherwise, we'll have to set it properly -- prefix part in the
+ ### prefix and name part in the name field.
+ } else {
+
+ ### split them here, not before!
+ my ($prefix,$name) = $clone->_prefix_and_file( $clone->full_path );
+
+ ### you might have an extended prefix, if so, set it in the clone
+ ### XXX is ::Unix right?
+ $prefix = File::Spec::Unix->catdir( $ext_prefix, $prefix )
+ if length $ext_prefix;
+
+ $clone->prefix( $prefix );
+ $clone->name( $name );
+ }
+
+ ### names are too long, and will get truncated if we don't add a
+ ### '@LongLink' file...
+ my $make_longlink = ( length($clone->name) > NAME_LENGTH or
+ length($clone->prefix) > PREFIX_LENGTH
+ ) || 0;
+
+ ### perhaps we need to make a longlink file?
+ if( $make_longlink ) {
+ my $longlink = Archive::Tar::File->new(
+ data => LONGLINK_NAME,
+ $clone->full_path,
+ { type => LONGLINK }
+ );
+
+ unless( $longlink ) {
+ $self->_error( qq[Could not create 'LongLink' entry for ] .
+ qq[oversize file '] . $clone->full_path ."'" );
+ return;
+ };
+
+ push @write_me, $longlink;
+ }
+
+ push @write_me, $clone;
+
+ ### write the one, optionally 2 a::t::file objects to the handle
+ for my $clone (@write_me) {
+
+ ### if the file is a symlink, there are 2 options:
+ ### either we leave the symlink intact, but then we don't write any
+ ### data OR we follow the symlink, which means we actually make a
+ ### copy. if we do the latter, we have to change the TYPE of the
+ ### clone to 'FILE'
+ my $link_ok = $clone->is_symlink && $Archive::Tar::FOLLOW_SYMLINK;
+ my $data_ok = !$clone->is_symlink && $clone->has_content;
+
+ ### downgrade to a 'normal' file if it's a symlink we're going to
+ ### treat as a regular file
+ $clone->_downgrade_to_plainfile if $link_ok;
+
+ ### get the header for this block
+ my $header = $self->_format_tar_entry( $clone );
+ unless( $header ) {
+ $self->_error(q[Could not format header for: ] .
+ $clone->full_path );
+ return;
+ }
+
+ unless( print $handle $header ) {
+ $self->_error(q[Could not write header for: ] .
+ $clone->full_path);
+ return;
+ }
+
+ if( $link_ok or $data_ok ) {
+ unless( print $handle $clone->data ) {
+ $self->_error(q[Could not write data for: ] .
+ $clone->full_path);
+ return;
+ }
+
+ ### pad the end of the clone if required ###
+ print $handle TAR_PAD->( $clone->size ) if $clone->size % BLOCK
+ }
+
+ } ### done writing these entries
+ }
+
+ ### write the end markers ###
+ print $handle TAR_END x 2 or
+ return $self->_error( qq[Could not write tar end markers] );
+
+ ### did you want it written to a file, or returned as a string? ###
+ my $rv = length($file) ? 1
+ : $HAS_PERLIO ? $dummy
+ : do { seek $handle, 0, 0; local $/; <$handle> };
+
+ ### make sure to close the handle if we created it
+ if ( $file ne $handle ) {
+ unless( close $handle ) {
+ $self->_error( qq[Could not write tar] );
+ return;
+ }
+ }
+
+ return $rv;
+}
+
+sub _format_tar_entry {
+ my $self = shift;
+ my $entry = shift or return;
+ my $ext_prefix = shift; $ext_prefix = '' unless defined $ext_prefix;
+ my $no_prefix = shift || 0;
+
+ my $file = $entry->name;
+ my $prefix = $entry->prefix; $prefix = '' unless defined $prefix;
+
+ ### remove the prefix from the file name
+ ### not sure if this is still needed --kane
+ ### no it's not -- Archive::Tar::File->_new_from_file will take care of
+ ### this for us. Even worse, this would break if we tried to add a file
+ ### like x/x.
+ #if( length $prefix ) {
+ # $file =~ s/^$match//;
+ #}
+
+ $prefix = File::Spec::Unix->catdir($ext_prefix, $prefix)
+ if length $ext_prefix;
+
+ ### not sure why this is... ###
+ my $l = PREFIX_LENGTH; # is ambiguous otherwise...
+ substr ($prefix, 0, -$l) = "" if length $prefix >= PREFIX_LENGTH;
+
+ my $f1 = "%06o"; my $f2 = $ZERO_PAD_NUMBERS ? "%011o" : "%11o";
+
+ ### this might be optimizable with a 'changed' flag in the file objects ###
+ my $tar = pack (
+ PACK,
+ $file,
+
+ (map { sprintf( $f1, $entry->$_() ) } qw[mode uid gid]),
+ (map { sprintf( $f2, $entry->$_() ) } qw[size mtime]),
+
+ "", # checksum field - space padded a bit down
+
+ (map { $entry->$_() } qw[type linkname magic]),
+
+ $entry->version || TAR_VERSION,
+
+ (map { $entry->$_() } qw[uname gname]),
+ (map { sprintf( $f1, $entry->$_() ) } qw[devmajor devminor]),
+
+ ($no_prefix ? '' : $prefix)
+ );
+
+ ### add the checksum ###
+ my $checksum_fmt = $ZERO_PAD_NUMBERS ? "%06o\0" : "%06o\0";
+ substr($tar,148,7) = sprintf("%6o\0", unpack("%16C*",$tar));
+
+ return $tar;
+}
+
+=head2 $tar->add_files( @filenamelist )
+
+Takes a list of filenames and adds them to the in-memory archive.
+
+The path to the file is automatically converted to a Unix like
+equivalent for use in the archive, and, if on MacOS, the file's
+modification time is converted from the MacOS epoch to the Unix epoch.
+So tar archives created on MacOS with B can be read
+both with I on Unix and applications like I or
+I on MacOS.
+
+Be aware that the file's type/creator and resource fork will be lost,
+which is usually what you want in cross-platform archives.
+
+Instead of a filename, you can also pass it an existing C
+object from, for example, another archive. The object will be clone, and
+effectively be a copy of the original, not an alias.
+
+Returns a list of C objects that were just added.
+
+=cut
+
+sub add_files {
+ my $self = shift;
+ my @files = @_ or return;
+
+ my @rv;
+ for my $file ( @files ) {
+
+ ### you passed an Archive::Tar::File object
+ ### clone it so we don't accidentally have a reference to
+ ### an object from another archive
+ if( UNIVERSAL::isa( $file,'Archive::Tar::File' ) ) {
+ push @rv, $file->clone;
+ next;
+ }
+
+ eval {
+ if( utf8::is_utf8( $file )) {
+ utf8::encode( $file );
+ }
+ };
+
+ unless( -e $file || -l $file ) {
+ $self->_error( qq[No such file: '$file'] );
+ next;
+ }
+
+ my $obj = Archive::Tar::File->new( file => $file );
+ unless( $obj ) {
+ $self->_error( qq[Unable to add file: '$file'] );
+ next;
+ }
+
+ push @rv, $obj;
+ }
+
+ push @{$self->{_data}}, @rv;
+
+ return @rv;
+}
+
+=head2 $tar->add_data ( $filename, $data, [$opthashref] )
+
+Takes a filename, a scalar full of data and optionally a reference to
+a hash with specific options.
+
+Will add a file to the in-memory archive, with name C<$filename> and
+content C<$data>. Specific properties can be set using C<$opthashref>.
+The following list of properties is supported: name, size, mtime
+(last modified date), mode, uid, gid, linkname, uname, gname,
+devmajor, devminor, prefix, type. (On MacOS, the file's path and
+modification times are converted to Unix equivalents.)
+
+Valid values for the file type are the following constants defined by
+Archive::Tar::Constant:
+
+=over 4
+
+=item FILE
+
+Regular file.
+
+=item HARDLINK
+
+=item SYMLINK
+
+Hard and symbolic ("soft") links; linkname should specify target.
+
+=item CHARDEV
+
+=item BLOCKDEV
+
+Character and block devices. devmajor and devminor should specify the major
+and minor device numbers.
+
+=item DIR
+
+Directory.
+
+=item FIFO
+
+FIFO (named pipe).
+
+=item SOCKET
+
+Socket.
+
+=back
+
+Returns the C object that was just added, or
+C on failure.
+
+=cut
+
+sub add_data {
+ my $self = shift;
+ my ($file, $data, $opt) = @_;
+
+ my $obj = Archive::Tar::File->new( data => $file, $data, $opt );
+ unless( $obj ) {
+ $self->_error( qq[Unable to add file: '$file'] );
+ return;
+ }
+
+ push @{$self->{_data}}, $obj;
+
+ return $obj;
+}
+
+=head2 $tar->error( [$BOOL] )
+
+Returns the current error string (usually, the last error reported).
+If a true value was specified, it will give the C
+equivalent of the error, in effect giving you a stacktrace.
+
+For backwards compatibility, this error is also available as
+C<$Archive::Tar::error> although it is much recommended you use the
+method call instead.
+
+=cut
+
+{
+ $error = '';
+ my $longmess;
+
+ sub _error {
+ my $self = shift;
+ my $msg = $error = shift;
+ $longmess = Carp::longmess($error);
+ if (ref $self) {
+ $self->{_error} = $error;
+ $self->{_longmess} = $longmess;
+ }
+
+ ### set Archive::Tar::WARN to 0 to disable printing
+ ### of errors
+ if( $WARN ) {
+ carp $DEBUG ? $longmess : $msg;
+ }
+
+ return;
+ }
+
+ sub error {
+ my $self = shift;
+ if (ref $self) {
+ return shift() ? $self->{_longmess} : $self->{_error};
+ } else {
+ return shift() ? $longmess : $error;
+ }
+ }
+}
+
+=head2 $tar->setcwd( $cwd );
+
+C needs to know the current directory, and it will run
+C I time it extracts a I entry from the
+tarfile and saves it in the file system. (As of version 1.30, however,
+C will use the speed optimization described below
+automatically, so it's only relevant if you're using C).
+
+Since C doesn't change the current directory internally
+while it is extracting the items in a tarball, all calls to C
+can be avoided if we can guarantee that the current directory doesn't
+get changed externally.
+
+To use this performance boost, set the current directory via
+
+ use Cwd;
+ $tar->setcwd( cwd() );
+
+once before calling a function like C and
+C will use the current directory setting from then on
+and won't call C internally.
+
+To switch back to the default behaviour, use
+
+ $tar->setcwd( undef );
+
+and C will call C internally again.
+
+If you're using C's C method, C will
+be called for you.
+
+=cut
+
+sub setcwd {
+ my $self = shift;
+ my $cwd = shift;
+
+ $self->{cwd} = $cwd;
+}
+
+=head1 Class Methods
+
+=head2 Archive::Tar->create_archive($file, $compressed, @filelist)
+
+Creates a tar file from the list of files provided. The first
+argument can either be the name of the tar file to create or a
+reference to an open file handle (e.g. a GLOB reference).
+
+The second argument is used to indicate compression. You can
+compress using C, C or C. If you pass a digit, it's assumed
+to be the C compression level (between 1 and 9), but the use of
+constants is preferred:
+
+ # write a gzip compressed file
+ Archive::Tar->create_archive( 'out.tgz', COMPRESS_GZIP, @filelist );
+
+ # write a bzip compressed file
+ Archive::Tar->create_archive( 'out.tbz', COMPRESS_BZIP, @filelist );
+
+ # write a xz compressed file
+ Archive::Tar->create_archive( 'out.txz', COMPRESS_XZ, @filelist );
+
+Note that when you pass in a filehandle, the compression argument
+is ignored, as all files are printed verbatim to your filehandle.
+If you wish to enable compression with filehandles, use an
+C, C or C filehandle instead.
+
+The remaining arguments list the files to be included in the tar file.
+These files must all exist. Any files which don't exist or can't be
+read are silently ignored.
+
+If the archive creation fails for any reason, C will
+return false. Please use the C method to find the cause of the
+failure.
+
+Note that this method does not write C as it were; it
+still reads all the files into memory before writing out the archive.
+Consult the FAQ below if this is a problem.
+
+=cut
+
+sub create_archive {
+ my $class = shift;
+
+ my $file = shift; return unless defined $file;
+ my $gzip = shift || 0;
+ my @files = @_;
+
+ unless( @files ) {
+ return $class->_error( qq[Cowardly refusing to create empty archive!] );
+ }
+
+ my $tar = $class->new;
+ $tar->add_files( @files );
+ return $tar->write( $file, $gzip );
+}
+
+=head2 Archive::Tar->iter( $filename, [ $compressed, {opt => $val} ] )
+
+Returns an iterator function that reads the tar file without loading
+it all in memory. Each time the function is called it will return the
+next file in the tarball. The files are returned as
+C objects. The iterator function returns the
+empty list once it has exhausted the files contained.
+
+The second argument can be a hash reference with options, which are
+identical to the arguments passed to C.
+
+Example usage:
+
+ my $next = Archive::Tar->iter( "example.tar.gz", 1, {filter => qr/\.pm$/} );
+
+ while( my $f = $next->() ) {
+ print $f->name, "\n";
+
+ $f->extract or warn "Extraction failed";
+
+ # ....
+ }
+
+=cut
+
+
+sub iter {
+ my $class = shift;
+ my $filename = shift;
+ return unless defined $filename;
+ my $compressed = shift || 0;
+ my $opts = shift || {};
+
+ ### get a handle to read from.
+ my $handle = $class->_get_handle(
+ $filename,
+ $compressed,
+ READ_ONLY->( ZLIB )
+ ) or return;
+
+ my @data;
+ my $CONSTRUCT_ARGS = [ $filename, $compressed, $opts ];
+ return sub {
+ return shift(@data) if @data; # more than one file returned?
+ return unless $handle; # handle exhausted?
+
+ ### read data, should only return file
+ my $tarfile = $class->_read_tar($handle, { %$opts, limit => 1 });
+ @data = @$tarfile if ref $tarfile && ref $tarfile eq 'ARRAY';
+ if($Archive::Tar::RESOLVE_SYMLINK!~/none/){
+ foreach(@data){
+ #may refine this heuristic for ON_UNIX?
+ if($_->linkname){
+ #is there a better slot to store/share it ?
+ $_->{'_archive'} = $CONSTRUCT_ARGS;
+ }
+ }
+ }
+
+ ### return one piece of data
+ return shift(@data) if @data;
+
+ ### data is exhausted, free the filehandle
+ undef $handle;
+ if(@$CONSTRUCT_ARGS == 4){
+ #free archive in memory
+ undef $CONSTRUCT_ARGS->[-1];
+ }
+ return;
+ };
+}
+
+=head2 Archive::Tar->list_archive($file, $compressed, [\@properties])
+
+Returns a list of the names of all the files in the archive. The
+first argument can either be the name of the tar file to list or a
+reference to an open file handle (e.g. a GLOB reference).
+
+If C is passed an array reference as its third
+argument it returns a list of hash references containing the requested
+properties of each file. The following list of properties is
+supported: full_path, name, size, mtime (last modified date), mode,
+uid, gid, linkname, uname, gname, devmajor, devminor, prefix, type.
+
+See C for details about supported properties.
+
+Passing an array reference containing only one element, 'name', is
+special cased to return a list of names rather than a list of hash
+references.
+
+=cut
+
+sub list_archive {
+ my $class = shift;
+ my $file = shift; return unless defined $file;
+ my $gzip = shift || 0;
+
+ my $tar = $class->new($file, $gzip);
+ return unless $tar;
+
+ return $tar->list_files( @_ );
+}
+
+=head2 Archive::Tar->extract_archive($file, $compressed)
+
+Extracts the contents of the tar file. The first argument can either
+be the name of the tar file to create or a reference to an open file
+handle (e.g. a GLOB reference). All relative paths in the tar file will
+be created underneath the current working directory.
+
+C will return a list of files it extracted.
+If the archive extraction fails for any reason, C
+will return false. Please use the C method to find the cause
+of the failure.
+
+=cut
+
+sub extract_archive {
+ my $class = shift;
+ my $file = shift; return unless defined $file;
+ my $gzip = shift || 0;
+
+ my $tar = $class->new( ) or return;
+
+ return $tar->read( $file, $gzip, { extract => 1 } );
+}
+
+=head2 $bool = Archive::Tar->has_io_string
+
+Returns true if we currently have C support loaded.
+
+Either C or C support is needed to support writing
+stringified archives. Currently, C is the preferred method, if
+available.
+
+See the C section to see how to change this preference.
+
+=cut
+
+sub has_io_string { return $HAS_IO_STRING; }
+
+=head2 $bool = Archive::Tar->has_perlio
+
+Returns true if we currently have C support loaded.
+
+This requires C or higher, compiled with C
+
+Either C or C support is needed to support writing
+stringified archives. Currently, C is the preferred method, if
+available.
+
+See the C section to see how to change this preference.
+
+=cut
+
+sub has_perlio { return $HAS_PERLIO; }
+
+=head2 $bool = Archive::Tar->has_zlib_support
+
+Returns true if C can extract C