aboutsummaryrefslogtreecommitdiff
path: root/COPYING
blob: 0bb344572f52798a87dd0a4891bafdb5253ce9ba (plain)
  1. Copyright (c) 2014, John MacFarlane
  2. All rights reserved.
  3. Redistribution and use in source and binary forms, with or without
  4. modification, are permitted provided that the following conditions are met:
  5. * Redistributions of source code must retain the above copyright
  6. notice, this list of conditions and the following disclaimer.
  7. * Redistributions in binary form must reproduce the above
  8. copyright notice, this list of conditions and the following
  9. disclaimer in the documentation and/or other materials provided
  10. with the distribution.
  11. * Neither the name of John MacFarlane nor the names of other
  12. contributors may be used to endorse or promote products derived
  13. from this software without specific prior written permission.
  14. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  15. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  16. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  17. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  18. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  19. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  20. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  21. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  22. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  23. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  24. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  25. -----
  26. houdini.h, houdini_href_e.c, houdini_html_e.c, houdini_html_u.c,
  27. html_unescape.gperf, html_unescape.h
  28. derive from https://github.com/vmg/houdini (with some modifications)
  29. Copyright (C) 2012 Vicent Martí
  30. Permission is hereby granted, free of charge, to any person obtaining a copy of
  31. this software and associated documentation files (the "Software"), to deal in
  32. the Software without restriction, including without limitation the rights to
  33. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
  34. of the Software, and to permit persons to whom the Software is furnished to do
  35. so, subject to the following conditions:
  36. The above copyright notice and this permission notice shall be included in all
  37. copies or substantial portions of the Software.
  38. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  39. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  40. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  41. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  42. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  43. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  44. SOFTWARE.
  45. -----
  46. buffer.h, buffer.c, chunk.h
  47. are derived from code (C) 2012 Github, Inc.
  48. Permission is hereby granted, free of charge, to any person obtaining a copy of
  49. this software and associated documentation files (the "Software"), to deal in
  50. the Software without restriction, including without limitation the rights to
  51. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
  52. of the Software, and to permit persons to whom the Software is furnished to do
  53. so, subject to the following conditions:
  54. The above copyright notice and this permission notice shall be included in all
  55. copies or substantial portions of the Software.
  56. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  57. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  58. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  59. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  60. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  61. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  62. SOFTWARE.
  63. -----
  64. utf8.c and utf8.c
  65. are derived from utf8proc
  66. (<http://www.public-software-group.org/utf8proc>),
  67. (C) 2009 Public Software Group e. V., Berlin, Germany.
  68. Permission is hereby granted, free of charge, to any person obtaining a
  69. copy of this software and associated documentation files (the "Software"),
  70. to deal in the Software without restriction, including without limitation
  71. the rights to use, copy, modify, merge, publish, distribute, sublicense,
  72. and/or sell copies of the Software, and to permit persons to whom the
  73. Software is furnished to do so, subject to the following conditions:
  74. The above copyright notice and this permission notice shall be included in
  75. all copies or substantial portions of the Software.
  76. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  77. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  78. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  79. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  80. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  81. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  82. DEALINGS IN THE SOFTWARE.
  83. -----
  84. normalize-reference.js is a slightly modified version of
  85. https://github.com/dmoscrop/fold-case:
  86. Copyright Mathias Bynens <https://mathiasbynens.be/>
  87. Permission is hereby granted, free of charge, to any person obtaining
  88. a copy of this software and associated documentation files (the
  89. "Software"), to deal in the Software without restriction, including
  90. without limitation the rights to use, copy, modify, merge, publish,
  91. distribute, sublicense, and/or sell copies of the Software, and to
  92. permit persons to whom the Software is furnished to do so, subject to
  93. the following conditions:
  94. The above copyright notice and this permission notice shall be
  95. included in all copies or substantial portions of the Software.
  96. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  97. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  98. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  99. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  100. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  101. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  102. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  103. -----
  104. The polyfill for String.fromCodePoint included in commonmark.js is
  105. Copyright Mathias Bynens <http://mathiasbynens.be/>
  106. Permission is hereby granted, free of charge, to any person obtaining
  107. a copy of this software and associated documentation files (the
  108. "Software"), to deal in the Software without restriction, including
  109. without limitation the rights to use, copy, modify, merge, publish,
  110. distribute, sublicense, and/or sell copies of the Software, and to
  111. permit persons to whom the Software is furnished to do so, subject to
  112. the following conditions:
  113. The above copyright notice and this permission notice shall be
  114. included in all copies or substantial portions of the Software.
  115. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  116. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  117. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  118. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  119. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  120. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  121. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  122. -----
  123. The normalization code in runtests.py was derived from the
  124. markdowntest project, Copyright 2013 Karl Dubost:
  125. The MIT License (MIT)
  126. Copyright (c) 2013 Karl Dubost
  127. 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:
  128. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  129. 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.