aboutsummaryrefslogtreecommitdiff
path: root/COPYING
blob: 4bd949681b161e15d5cf0ed047ba31746da59a31 (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. The polyfill for String.fromCodePoint included in commonmark.js is
  85. Copyright Mathias Bynens <http://mathiasbynens.be/>
  86. Permission is hereby granted, free of charge, to any person obtaining
  87. a copy of this software and associated documentation files (the
  88. "Software"), to deal in the Software without restriction, including
  89. without limitation the rights to use, copy, modify, merge, publish,
  90. distribute, sublicense, and/or sell copies of the Software, and to
  91. permit persons to whom the Software is furnished to do so, subject to
  92. the following conditions:
  93. The above copyright notice and this permission notice shall be
  94. included in all copies or substantial portions of the Software.
  95. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  96. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  97. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  98. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  99. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  100. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  101. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  102. -----
  103. The normalization code in runtests.py was derived from the
  104. markdowntest project, Copyright 2013 Karl Dubost:
  105. The MIT License (MIT)
  106. Copyright (c) 2013 Karl Dubost
  107. 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:
  108. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  109. 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.