License.txt 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /**
  2. @page license License
  3. Libxlsxwriter is released under a FreeBSD license:
  4. Copyright 2014-2018, John McNamara <[email protected]>
  5. All rights reserved.
  6. Redistribution and use in source and binary forms, with or without
  7. modification, are permitted provided that the following conditions are
  8. met:
  9. 1. Redistributions of source code must retain the above copyright notice,
  10. this list of conditions and the following disclaimer.
  11. 2. Redistributions in binary form must reproduce the above copyright
  12. notice, this list of conditions and the following disclaimer in the
  13. documentation and/or other materials provided with the distribution.
  14. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  15. IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  16. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  17. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  18. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  19. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  20. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  21. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  22. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  23. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  24. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  25. The views and conclusions contained in the software and documentation are
  26. those of the authors and should not be interpreted as representing
  27. official policies, either expressed or implied, of the FreeBSD Project.
  28. Libxlsxwriter includes `queue.h` and `tree.h` from FreeBSD, the `minizip`
  29. component of `zlib` and `tmpfileplus` which have the following licenses:
  30. Queue.h from FreeBSD:
  31. Copyright (c) 1991, 1993
  32. The Regents of the University of California. All rights reserved.
  33. Redistribution and use in source and binary forms, with or without
  34. modification, are permitted provided that the following conditions
  35. are met:
  36. 1. Redistributions of source code must retain the above copyright
  37. notice, this list of conditions and the following disclaimer.
  38. 2. Redistributions in binary form must reproduce the above copyright
  39. notice, this list of conditions and the following disclaimer in the
  40. documentation and/or other materials provided with the distribution.
  41. 4. Neither the name of the University nor the names of its contributors
  42. may be used to endorse or promote products derived from this software
  43. without specific prior written permission.
  44. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  45. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  46. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  47. ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  48. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  49. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  50. OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  51. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  52. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  53. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  54. SUCH DAMAGE.
  55. Tree.h from FreeBSD:
  56. Copyright 2002 Niels Provos <[email protected]>
  57. All rights reserved.
  58. Redistribution and use in source and binary forms, with or without
  59. modification, are permitted provided that the following conditions
  60. are met:
  61. 1. Redistributions of source code must retain the above copyright
  62. notice, this list of conditions and the following disclaimer.
  63. 2. Redistributions in binary form must reproduce the above copyright
  64. notice, this list of conditions and the following disclaimer in the
  65. documentation and/or other materials provided with the distribution.
  66. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  67. IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  68. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  69. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  70. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  71. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  72. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  73. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  74. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  75. THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  76. The `minizip` files used in the libxlsxwriter source tree are taken from the
  77. `zlib` ` contrib/minizip` directory. [Zlib](http://www.zlib.net) has the
  78. following License/Copyright:
  79. (C) 1995-2013 Jean-loup Gailly and Mark Adler
  80. This software is provided 'as-is', without any express or implied
  81. warranty. In no event will the authors be held liable for any damages
  82. arising from the use of this software.
  83. Permission is granted to anyone to use this software for any purpose,
  84. including commercial applications, and to alter it and redistribute it
  85. freely, subject to the following restrictions:
  86. 1. The origin of this software must not be misrepresented; you must not
  87. claim that you wrote the original software. If you use this software
  88. in a product, an acknowledgment in the product documentation would be
  89. appreciated but is not required.
  90. 2. Altered source versions must be plainly marked as such, and must not be
  91. misrepresented as being the original software.
  92. 3. This notice may not be removed or altered from any source distribution.
  93. Jean-loup Gailly Mark Adler
  94. [email protected] [email protected]
  95. The `minizip` files have the following additional copyright declarations:
  96. Copyright (C) 1998-2010 Gilles Vollant
  97. (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
  98. Modifications for Zip64 support
  99. Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
  100. Note, it is possible to compile libxlsxwriter without statically linking the
  101. `minizip` files and instead dynamically linking to `lminizip`, see
  102. @ref gsg_minizip.
  103. [Tmpfileplus](http://www.di-mgt.com.au/c_function_to_create_temp_file.html)
  104. has the following license:
  105. This Source Code Form is subject to the terms of the Mozilla Public
  106. License, v. 2.0. If a copy of the MPL was not distributed with this
  107. file, You can obtain one at http://mozilla.org/MPL/2.0/.
  108. Copyright (c) 2012-16 David Ireland, DI Management Services Pty Ltd
  109. <http://www.di-mgt.com.au/contact/>.
  110. See the [Mozilla Public License, v. 2.0](http://mozilla.org/MPL/2.0/).
  111. Note, it is possible to compile libxlsxwriter using the standard library
  112. `tmpfile()` function instead of `tmpfileplus`, see @ref gsg_tmpdir.
  113. Next: @ref changes
  114. */