COPYING 7.4 KB

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