redsnow 0.3.7 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (302) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/Rakefile +4 -4
  4. data/ext/drafter/Makefile +54 -0
  5. data/ext/drafter/appveyor.yml +10 -0
  6. data/ext/drafter/bin/drafter +0 -0
  7. data/ext/{snowcrash → drafter}/build/Makefile +29 -14
  8. data/ext/{snowcrash/build/snowcrash.Makefile → drafter/build/drafter.Makefile} +1 -1
  9. data/ext/{snowcrash/build/snowcrash.target.mk → drafter/build/drafter.target.mk} +25 -23
  10. data/ext/{snowcrash/build → drafter/build/ext/snowcrash}/libmarkdownparser.target.mk +7 -7
  11. data/ext/drafter/build/ext/snowcrash/libsnowcrash.target.mk +152 -0
  12. data/ext/{snowcrash/build → drafter/build/ext/snowcrash}/libsundown.target.mk +13 -13
  13. data/ext/{snowcrash/build → drafter/build/ext/snowcrash}/perf-libsnowcrash.target.mk +14 -20
  14. data/ext/drafter/build/ext/snowcrash/snowcrash.Makefile +6 -0
  15. data/ext/{snowcrash → drafter}/build/gyp-mac-tool +0 -0
  16. data/ext/{snowcrash/build/libsnowcrash.target.mk → drafter/build/libdrafter.target.mk} +29 -36
  17. data/ext/drafter/build/libsos.target.mk +133 -0
  18. data/ext/drafter/build/out/Release/drafter +0 -0
  19. data/ext/drafter/build/out/Release/libdrafter.dylib +0 -0
  20. data/ext/drafter/build/out/Release/libmarkdownparser.a +0 -0
  21. data/ext/drafter/build/out/Release/libsnowcrash.a +0 -0
  22. data/ext/drafter/build/out/Release/libsos.a +0 -0
  23. data/ext/{snowcrash → drafter}/build/out/Release/libsundown.a +0 -0
  24. data/ext/{snowcrash → drafter}/build/out/Release/linker.lock +0 -0
  25. data/ext/drafter/build/out/Release/obj.target/drafter/src/config.o +0 -0
  26. data/ext/drafter/build/out/Release/obj.target/drafter/src/main.o +0 -0
  27. data/ext/drafter/build/out/Release/obj.target/drafter/src/reporting.o +0 -0
  28. data/ext/drafter/build/out/Release/obj.target/libdrafter/src/Serialize.o +0 -0
  29. data/ext/drafter/build/out/Release/obj.target/libdrafter/src/SerializeAST.o +0 -0
  30. data/ext/drafter/build/out/Release/obj.target/libdrafter/src/SerializeResult.o +0 -0
  31. data/ext/drafter/build/out/Release/obj.target/libdrafter/src/SerializeSourcemap.o +0 -0
  32. data/ext/drafter/build/out/Release/obj.target/libdrafter/src/cdrafter.o +0 -0
  33. data/ext/drafter/build/out/Release/obj.target/libdrafter/src/drafter.o +0 -0
  34. data/ext/drafter/build/out/Release/obj.target/libmarkdownparser/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o +0 -0
  35. data/ext/drafter/build/out/Release/obj.target/libmarkdownparser/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.o +0 -0
  36. data/ext/drafter/build/out/Release/obj.target/libmarkdownparser/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.o +0 -0
  37. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/Blueprint.o +0 -0
  38. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/BlueprintSourcemap.o +0 -0
  39. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/HTTP.o +0 -0
  40. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/HeadersParser.o +0 -0
  41. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSON.o +0 -0
  42. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSONOneOfParser.o +0 -0
  43. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSONSourcemap.o +0 -0
  44. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSONTypeSectionParser.o +0 -0
  45. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSONValueMemberParser.o +0 -0
  46. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/Section.o +0 -0
  47. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/Signature.o +0 -0
  48. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/UriTemplateParser.o +0 -0
  49. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/posix/RegexMatch.o +0 -0
  50. data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/snowcrash.o +0 -0
  51. data/ext/drafter/build/out/Release/obj.target/libsos/ext/sos/src/sos.o +0 -0
  52. data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o +0 -0
  53. data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o +0 -0
  54. data/ext/{snowcrash/build/out/Release/obj.target/libsundown → drafter/build/out/Release/obj.target/libsundown/ext/snowcrash}/ext/markdown-parser/ext/sundown/html/html.o +0 -0
  55. data/ext/{snowcrash/build/out/Release/obj.target/libsundown → drafter/build/out/Release/obj.target/libsundown/ext/snowcrash}/ext/markdown-parser/ext/sundown/html/html_smartypants.o +0 -0
  56. data/ext/{snowcrash/build/out/Release/obj.target/libsundown → drafter/build/out/Release/obj.target/libsundown/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/autolink.o +0 -0
  57. data/ext/{snowcrash/build/out/Release/obj.target/libsundown → drafter/build/out/Release/obj.target/libsundown/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/buffer.o +0 -0
  58. data/ext/{snowcrash/build/out/Release/obj.target/libsundown → drafter/build/out/Release/obj.target/libsundown/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/markdown.o +0 -0
  59. data/ext/{snowcrash/build/out/Release/obj.target/libsundown → drafter/build/out/Release/obj.target/libsundown/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/src_map.o +0 -0
  60. data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o +0 -0
  61. data/ext/drafter/circle.yml +12 -0
  62. data/ext/{snowcrash → drafter}/config.gypi +1 -1
  63. data/ext/{snowcrash → drafter}/config.mk +0 -0
  64. data/ext/{snowcrash → drafter}/configure +16 -5
  65. data/ext/drafter/drafter.gyp +118 -0
  66. data/ext/{snowcrash → drafter/ext/snowcrash}/Makefile +4 -12
  67. data/ext/{snowcrash → drafter/ext/snowcrash}/Vagrantfile +14 -4
  68. data/ext/drafter/ext/snowcrash/appveyor.yml +7 -0
  69. data/ext/{snowcrash → drafter/ext/snowcrash}/common.gypi +0 -0
  70. data/ext/drafter/ext/snowcrash/configure +197 -0
  71. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/Makefile +0 -0
  72. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/CONTRIBUTING.md +0 -0
  73. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/Makefile +0 -0
  74. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/Makefile.win +0 -0
  75. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/examples/smartypants.c +0 -0
  76. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/examples/sundown.c +0 -0
  77. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/html/houdini.h +0 -0
  78. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/html/houdini_href_e.c +0 -0
  79. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/html/houdini_html_e.c +0 -0
  80. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/html/html.c +0 -0
  81. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/html/html.h +0 -0
  82. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/html/html_smartypants.c +0 -0
  83. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/html_block_names.txt +0 -0
  84. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/autolink.c +0 -0
  85. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/autolink.h +0 -0
  86. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/buffer.c +0 -0
  87. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/buffer.h +0 -0
  88. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/html_blocks.h +0 -0
  89. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/markdown.c +0 -0
  90. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/markdown.h +0 -0
  91. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/src_map.c +0 -0
  92. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/src_map.h +0 -0
  93. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/stack.c +0 -0
  94. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/src/stack.h +0 -0
  95. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/ext/sundown/sundown.def +0 -0
  96. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/msvc/markdown/markdown.vcproj +0 -0
  97. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/msvc/msvc.sln +0 -0
  98. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/msvc/sundown/sundown.vcproj +0 -0
  99. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/src/ByteBuffer.cc +0 -0
  100. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/src/ByteBuffer.h +0 -0
  101. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/src/MarkdownNode.cc +0 -0
  102. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/src/MarkdownNode.h +0 -0
  103. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/src/MarkdownParser.cc +0 -0
  104. data/ext/{snowcrash → drafter/ext/snowcrash}/ext/markdown-parser/src/MarkdownParser.h +10 -2
  105. data/ext/{snowcrash → drafter/ext/snowcrash}/provisioning.sh +0 -0
  106. data/ext/{snowcrash → drafter/ext/snowcrash}/snowcrash.gyp +41 -39
  107. data/ext/{snowcrash → drafter/ext/snowcrash}/snowcrash.xcworkspace/contents.xcworkspacedata +0 -0
  108. data/ext/{snowcrash → drafter/ext/snowcrash}/src/ActionParser.h +50 -6
  109. data/ext/{snowcrash → drafter/ext/snowcrash}/src/AssetParser.h +1 -12
  110. data/ext/drafter/ext/snowcrash/src/AttributesParser.h +121 -0
  111. data/ext/drafter/ext/snowcrash/src/Blueprint.cc +90 -0
  112. data/ext/{snowcrash → drafter/ext/snowcrash}/src/Blueprint.h +169 -33
  113. data/ext/{snowcrash → drafter/ext/snowcrash}/src/BlueprintParser.h +305 -48
  114. data/ext/drafter/ext/snowcrash/src/BlueprintSourcemap.cc +81 -0
  115. data/ext/{snowcrash → drafter/ext/snowcrash}/src/BlueprintSourcemap.h +130 -39
  116. data/ext/{snowcrash → drafter/ext/snowcrash}/src/BlueprintUtility.h +10 -4
  117. data/ext/{snowcrash → drafter/ext/snowcrash}/src/CodeBlockUtility.h +1 -1
  118. data/ext/drafter/ext/snowcrash/src/DataStructureGroupParser.h +154 -0
  119. data/ext/{snowcrash → drafter/ext/snowcrash}/src/HTTP.cc +0 -0
  120. data/ext/{snowcrash → drafter/ext/snowcrash}/src/HTTP.h +0 -0
  121. data/ext/drafter/ext/snowcrash/src/HeadersParser.cc +110 -0
  122. data/ext/{snowcrash → drafter/ext/snowcrash}/src/HeadersParser.h +123 -54
  123. data/ext/drafter/ext/snowcrash/src/MSON.cc +272 -0
  124. data/ext/drafter/ext/snowcrash/src/MSON.h +399 -0
  125. data/ext/drafter/ext/snowcrash/src/MSONMixinParser.h +95 -0
  126. data/ext/drafter/ext/snowcrash/src/MSONNamedTypeParser.h +108 -0
  127. data/ext/drafter/ext/snowcrash/src/MSONOneOfParser.cc +132 -0
  128. data/ext/drafter/ext/snowcrash/src/MSONOneOfParser.h +80 -0
  129. data/ext/drafter/ext/snowcrash/src/MSONParameterParser.h +232 -0
  130. data/ext/drafter/ext/snowcrash/src/MSONPropertyMemberParser.h +91 -0
  131. data/ext/drafter/ext/snowcrash/src/MSONSourcemap.cc +141 -0
  132. data/ext/drafter/ext/snowcrash/src/MSONSourcemap.h +181 -0
  133. data/ext/drafter/ext/snowcrash/src/MSONTypeSectionParser.cc +209 -0
  134. data/ext/drafter/ext/snowcrash/src/MSONTypeSectionParser.h +213 -0
  135. data/ext/drafter/ext/snowcrash/src/MSONUtility.h +423 -0
  136. data/ext/drafter/ext/snowcrash/src/MSONValueMemberParser.cc +179 -0
  137. data/ext/drafter/ext/snowcrash/src/MSONValueMemberParser.h +346 -0
  138. data/ext/drafter/ext/snowcrash/src/ModelTable.h +87 -0
  139. data/ext/{snowcrash → drafter/ext/snowcrash}/src/ParameterParser.h +120 -61
  140. data/ext/{snowcrash → drafter/ext/snowcrash}/src/ParametersParser.h +17 -18
  141. data/ext/{snowcrash → drafter/ext/snowcrash}/src/PayloadParser.h +36 -18
  142. data/ext/{snowcrash → drafter/ext/snowcrash}/src/Platform.h +0 -0
  143. data/ext/{snowcrash → drafter/ext/snowcrash}/src/RegexMatch.h +0 -0
  144. data/ext/drafter/ext/snowcrash/src/RelationParser.h +75 -0
  145. data/ext/{snowcrash → drafter/ext/snowcrash}/src/ResourceGroupParser.h +127 -33
  146. data/ext/{snowcrash → drafter/ext/snowcrash}/src/ResourceParser.h +126 -33
  147. data/ext/{snowcrash → drafter/ext/snowcrash}/src/Section.cc +6 -0
  148. data/ext/{snowcrash → drafter/ext/snowcrash}/src/Section.h +15 -2
  149. data/ext/{snowcrash → drafter/ext/snowcrash}/src/SectionParser.h +3 -1
  150. data/ext/{snowcrash → drafter/ext/snowcrash}/src/SectionParserData.h +15 -5
  151. data/ext/{snowcrash → drafter/ext/snowcrash}/src/SectionProcessor.h +24 -0
  152. data/ext/{snowcrash → drafter/ext/snowcrash}/src/Signature.cc +14 -0
  153. data/ext/drafter/ext/snowcrash/src/Signature.h +80 -0
  154. data/ext/drafter/ext/snowcrash/src/SignatureSectionProcessor.h +439 -0
  155. data/ext/{snowcrash → drafter/ext/snowcrash}/src/SourceAnnotation.h +3 -2
  156. data/ext/{snowcrash → drafter/ext/snowcrash}/src/StringUtility.h +103 -6
  157. data/ext/{snowcrash → drafter/ext/snowcrash}/src/UriTemplateParser.cc +0 -0
  158. data/ext/{snowcrash → drafter/ext/snowcrash}/src/UriTemplateParser.h +0 -0
  159. data/ext/{snowcrash → drafter/ext/snowcrash}/src/ValuesParser.h +1 -13
  160. data/ext/{snowcrash → drafter/ext/snowcrash}/src/posix/RegexMatch.cc +0 -0
  161. data/ext/{snowcrash → drafter/ext/snowcrash}/src/snowcrash.cc +0 -0
  162. data/ext/{snowcrash → drafter/ext/snowcrash}/src/snowcrash.h +0 -0
  163. data/ext/{snowcrash → drafter/ext/snowcrash}/src/win/RegexMatch.cc +0 -0
  164. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/AUTHORS +0 -0
  165. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/DEPS +0 -0
  166. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/OWNERS +0 -0
  167. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/PRESUBMIT.py +0 -0
  168. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/buildbot/buildbot_run.py +0 -0
  169. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/codereview.settings +0 -0
  170. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/data/win/large-pdb-shim.cc +0 -0
  171. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/gyp +0 -0
  172. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/gyp.bat +0 -0
  173. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/gyp_main.py +0 -0
  174. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/MSVSNew.py +0 -0
  175. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/MSVSProject.py +0 -0
  176. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/MSVSSettings.py +0 -0
  177. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/MSVSToolFile.py +0 -0
  178. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/MSVSUserFile.py +0 -0
  179. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/MSVSUtil.py +0 -0
  180. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/MSVSVersion.py +0 -0
  181. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/__init__.py +0 -0
  182. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/__init__.pyc +0 -0
  183. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/common.py +0 -0
  184. data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/common.pyc +0 -0
  185. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/easy_xml.py +0 -0
  186. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/flock_tool.py +0 -0
  187. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/__init__.py +0 -0
  188. data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/__init__.pyc +0 -0
  189. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/android.py +0 -0
  190. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/cmake.py +0 -0
  191. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -0
  192. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/eclipse.py +0 -0
  193. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/gypd.py +0 -0
  194. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/gypsh.py +0 -0
  195. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/make.py +0 -0
  196. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/make.pyc +0 -0
  197. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/msvs.py +0 -0
  198. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/ninja.py +0 -0
  199. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/xcode.py +0 -0
  200. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/generator/xcode.pyc +0 -0
  201. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/input.py +0 -0
  202. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/input.pyc +0 -0
  203. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/mac_tool.py +0 -0
  204. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/msvs_emulation.py +0 -0
  205. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/ninja_syntax.py +0 -0
  206. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/ordered_dict.py +0 -0
  207. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/win_tool.py +0 -0
  208. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/xcode_emulation.py +0 -0
  209. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/xcode_emulation.pyc +0 -0
  210. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/xcodeproj_file.py +0 -0
  211. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/xcodeproj_file.pyc +0 -0
  212. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylib/gyp/xml_fix.py +0 -0
  213. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/pylintrc +0 -0
  214. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/samples/samples +0 -0
  215. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/samples/samples.bat +0 -0
  216. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/setup.py +0 -0
  217. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/tools/Xcode/Specifications/gyp.pbfilespec +0 -0
  218. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/tools/Xcode/Specifications/gyp.xclangspec +0 -0
  219. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/tools/emacs/gyp.el +0 -0
  220. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/tools/graphviz.py +0 -0
  221. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/tools/pretty_gyp.py +0 -0
  222. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/tools/pretty_sln.py +0 -0
  223. data/ext/{snowcrash → drafter/ext/snowcrash}/tools/gyp/tools/pretty_vcproj.py +0 -0
  224. data/ext/drafter/ext/snowcrash/vcbuild.bat +139 -0
  225. data/ext/drafter/ext/sos/Makefile +57 -0
  226. data/ext/drafter/ext/sos/src/sos.cc +200 -0
  227. data/ext/drafter/ext/sos/src/sos.h +179 -0
  228. data/ext/drafter/ext/sos/src/sosJSON.h +105 -0
  229. data/ext/drafter/ext/sos/src/sosYAML.h +104 -0
  230. data/ext/{snowcrash → drafter}/src/Serialize.cc +30 -15
  231. data/ext/drafter/src/Serialize.h +135 -0
  232. data/ext/drafter/src/SerializeAST.cc +775 -0
  233. data/ext/drafter/src/SerializeAST.h +19 -0
  234. data/ext/drafter/src/SerializeResult.cc +67 -0
  235. data/ext/drafter/src/SerializeResult.h +26 -0
  236. data/ext/drafter/src/SerializeSourcemap.cc +446 -0
  237. data/ext/drafter/src/SerializeSourcemap.h +19 -0
  238. data/ext/drafter/src/Version.h +38 -0
  239. data/ext/drafter/src/cdrafter.cc +44 -0
  240. data/ext/drafter/src/cdrafter.h +55 -0
  241. data/ext/drafter/src/config.cc +80 -0
  242. data/ext/drafter/src/config.h +35 -0
  243. data/ext/drafter/src/drafter.cc +22 -0
  244. data/ext/drafter/src/drafter.h +38 -0
  245. data/ext/drafter/src/main.cc +91 -0
  246. data/ext/drafter/src/reporting.cc +162 -0
  247. data/ext/drafter/src/reporting.h +28 -0
  248. data/ext/drafter/src/stream.h +146 -0
  249. data/ext/drafter/tools/homebrew/drafter.rb +12 -0
  250. data/ext/{snowcrash → drafter}/vcbuild.bat +3 -3
  251. data/lib/redsnow.rb +6 -11
  252. data/lib/redsnow/binding.rb +11 -201
  253. data/lib/redsnow/blueprint.rb +104 -169
  254. data/lib/redsnow/parseresult.rb +28 -42
  255. data/lib/redsnow/sourcemap.rb +92 -177
  256. data/lib/redsnow/version.rb +1 -1
  257. data/redsnow.gemspec +1 -1
  258. metadata +249 -197
  259. data/ext/snowcrash/bin/snowcrash +0 -0
  260. data/ext/snowcrash/build/out/Release/libmarkdownparser.a +0 -0
  261. data/ext/snowcrash/build/out/Release/libsnowcrash.dylib +0 -0
  262. data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/ByteBuffer.o +0 -0
  263. data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/MarkdownNode.o +0 -0
  264. data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/MarkdownParser.o +0 -0
  265. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CBlueprint.o +0 -0
  266. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CBlueprintSourcemap.o +0 -0
  267. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CSourceAnnotation.o +0 -0
  268. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/HTTP.o +0 -0
  269. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Section.o +0 -0
  270. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Serialize.o +0 -0
  271. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/SerializeJSON.o +0 -0
  272. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/SerializeYAML.o +0 -0
  273. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Signature.o +0 -0
  274. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/UriTemplateParser.o +0 -0
  275. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/csnowcrash.o +0 -0
  276. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/posix/RegexMatch.o +0 -0
  277. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/snowcrash.o +0 -0
  278. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/houdini_href_e.o +0 -0
  279. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/houdini_html_e.o +0 -0
  280. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/stack.o +0 -0
  281. data/ext/snowcrash/build/out/Release/obj.target/snowcrash/src/snowcrash/snowcrash.o +0 -0
  282. data/ext/snowcrash/build/out/Release/snowcrash +0 -0
  283. data/ext/snowcrash/src/CBlueprint.cc +0 -628
  284. data/ext/snowcrash/src/CBlueprint.h +0 -366
  285. data/ext/snowcrash/src/CBlueprintSourcemap.cc +0 -630
  286. data/ext/snowcrash/src/CBlueprintSourcemap.h +0 -351
  287. data/ext/snowcrash/src/CSourceAnnotation.cc +0 -154
  288. data/ext/snowcrash/src/CSourceAnnotation.h +0 -106
  289. data/ext/snowcrash/src/Serialize.h +0 -71
  290. data/ext/snowcrash/src/SerializeJSON.cc +0 -1221
  291. data/ext/snowcrash/src/SerializeJSON.h +0 -24
  292. data/ext/snowcrash/src/SerializeYAML.cc +0 -702
  293. data/ext/snowcrash/src/SerializeYAML.h +0 -24
  294. data/ext/snowcrash/src/Signature.h +0 -32
  295. data/ext/snowcrash/src/SymbolTable.h +0 -94
  296. data/ext/snowcrash/src/Version.h +0 -39
  297. data/ext/snowcrash/src/csnowcrash.cc +0 -29
  298. data/ext/snowcrash/src/csnowcrash.h +0 -40
  299. data/ext/snowcrash/src/snowcrash/snowcrash.cc +0 -200
  300. data/ext/snowcrash/tools/gyp/pylib/gyp/common.pyc +0 -0
  301. data/ext/snowcrash/tools/gyp/pylib/gyp/generator/__init__.pyc +0 -0
  302. data/ext/snowcrash/tools/homebrew/snowcrash.rb +0 -12
@@ -35,8 +35,8 @@ CFLAGS_OBJC_Debug :=
35
35
  CFLAGS_OBJCC_Debug :=
36
36
 
37
37
  INCS_Debug := \
38
- -I$(srcdir)/ext/markdown-parser/ext/sundown/src \
39
- -I$(srcdir)/ext/markdown-parser/ext/sundown/html
38
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src \
39
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/html
40
40
 
41
41
  DEFS_Release := \
42
42
  '-DBUILDING_SNOWCRASH=1' \
@@ -69,19 +69,19 @@ CFLAGS_OBJC_Release :=
69
69
  CFLAGS_OBJCC_Release :=
70
70
 
71
71
  INCS_Release := \
72
- -I$(srcdir)/ext/markdown-parser/ext/sundown/src \
73
- -I$(srcdir)/ext/markdown-parser/ext/sundown/html
72
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src \
73
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/html
74
74
 
75
75
  OBJS := \
76
- $(obj).target/$(TARGET)/ext/markdown-parser/ext/sundown/src/autolink.o \
77
- $(obj).target/$(TARGET)/ext/markdown-parser/ext/sundown/src/buffer.o \
78
- $(obj).target/$(TARGET)/ext/markdown-parser/ext/sundown/src/markdown.o \
79
- $(obj).target/$(TARGET)/ext/markdown-parser/ext/sundown/src/src_map.o \
80
- $(obj).target/$(TARGET)/ext/markdown-parser/ext/sundown/src/stack.o \
81
- $(obj).target/$(TARGET)/ext/markdown-parser/ext/sundown/html/houdini_href_e.o \
82
- $(obj).target/$(TARGET)/ext/markdown-parser/ext/sundown/html/houdini_html_e.o \
83
- $(obj).target/$(TARGET)/ext/markdown-parser/ext/sundown/html/html.o \
84
- $(obj).target/$(TARGET)/ext/markdown-parser/ext/sundown/html/html_smartypants.o
76
+ $(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o \
77
+ $(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o \
78
+ $(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o \
79
+ $(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o \
80
+ $(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o \
81
+ $(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o \
82
+ $(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o \
83
+ $(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.o \
84
+ $(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
85
85
 
86
86
  # Add to the list of files we specially track dependencies for.
87
87
  all_deps += $(OBJS)
@@ -35,12 +35,11 @@ CFLAGS_OBJC_Debug :=
35
35
  CFLAGS_OBJCC_Debug :=
36
36
 
37
37
  INCS_Debug := \
38
- -I$(srcdir)/src \
39
- -I$(srcdir)/ext/markdown-parser/src \
40
- -I$(srcdir)/ext/markdown-parser/ext/sundown/src \
41
- -I$(srcdir)/ext/cmdline \
42
- -I$(srcdir)/test \
43
- -I$(srcdir)/test/performance
38
+ -I$(srcdir)/ext/snowcrash/src \
39
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/src \
40
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src \
41
+ -I$(srcdir)/ext/snowcrash/test \
42
+ -I$(srcdir)/ext/snowcrash/test/performance
44
43
 
45
44
  DEFS_Release := \
46
45
  '-DBUILDING_SNOWCRASH=1' \
@@ -73,21 +72,20 @@ CFLAGS_OBJC_Release :=
73
72
  CFLAGS_OBJCC_Release :=
74
73
 
75
74
  INCS_Release := \
76
- -I$(srcdir)/src \
77
- -I$(srcdir)/ext/markdown-parser/src \
78
- -I$(srcdir)/ext/markdown-parser/ext/sundown/src \
79
- -I$(srcdir)/ext/cmdline \
80
- -I$(srcdir)/test \
81
- -I$(srcdir)/test/performance
75
+ -I$(srcdir)/ext/snowcrash/src \
76
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/src \
77
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src \
78
+ -I$(srcdir)/ext/snowcrash/test \
79
+ -I$(srcdir)/ext/snowcrash/test/performance
82
80
 
83
81
  OBJS := \
84
- $(obj).target/$(TARGET)/test/performance/perf-snowcrash.o
82
+ $(obj).target/$(TARGET)/ext/snowcrash/test/performance/perf-snowcrash.o
85
83
 
86
84
  # Add to the list of files we specially track dependencies for.
87
85
  all_deps += $(OBJS)
88
86
 
89
87
  # Make sure our dependencies are built before any of us.
90
- $(OBJS): | $(builddir)/libsnowcrash.dylib $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a
88
+ $(OBJS): | $(builddir)/libsnowcrash.a $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a
91
89
 
92
90
  # CFLAGS et al overrides must be target-local.
93
91
  # See "Target-specific Variable Values" in the GNU Make manual.
@@ -135,9 +133,9 @@ LIBS :=
135
133
  $(builddir)/perf-libsnowcrash: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
136
134
  $(builddir)/perf-libsnowcrash: LIBS := $(LIBS)
137
135
  $(builddir)/perf-libsnowcrash: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
138
- $(builddir)/perf-libsnowcrash: LD_INPUTS := $(OBJS) $(builddir)/libsnowcrash.dylib $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a
136
+ $(builddir)/perf-libsnowcrash: LD_INPUTS := $(OBJS) $(builddir)/libsnowcrash.a $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a
139
137
  $(builddir)/perf-libsnowcrash: TOOLSET := $(TOOLSET)
140
- $(builddir)/perf-libsnowcrash: $(OBJS) $(builddir)/libsnowcrash.dylib $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a FORCE_DO_CMD
138
+ $(builddir)/perf-libsnowcrash: $(OBJS) $(builddir)/libsnowcrash.a $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a FORCE_DO_CMD
141
139
  $(call do_cmd,link)
142
140
 
143
141
  all_deps += $(builddir)/perf-libsnowcrash
@@ -145,7 +143,3 @@ all_deps += $(builddir)/perf-libsnowcrash
145
143
  .PHONY: perf-libsnowcrash
146
144
  perf-libsnowcrash: $(builddir)/perf-libsnowcrash
147
145
 
148
- # Add executable to "all" target.
149
- .PHONY: all
150
- all: $(builddir)/perf-libsnowcrash
151
-
@@ -0,0 +1,6 @@
1
+ # This file is generated by gyp; do not edit.
2
+
3
+ export builddir_name ?= ././build/ext/snowcrash/out
4
+ .PHONY: all
5
+ all:
6
+ $(MAKE) -C ../.. libsundown libmarkdownparser libsnowcrash
File without changes
@@ -1,7 +1,7 @@
1
1
  # This file is generated by gyp; do not edit.
2
2
 
3
3
  TOOLSET := target
4
- TARGET := libsnowcrash
4
+ TARGET := libdrafter
5
5
  DEFS_Debug := \
6
6
  '-DBUILDING_SNOWCRASH=1' \
7
7
  '-D_DARWIN_USE_64_BIT_INODE=1' \
@@ -35,10 +35,10 @@ CFLAGS_OBJC_Debug :=
35
35
  CFLAGS_OBJCC_Debug :=
36
36
 
37
37
  INCS_Debug := \
38
- -I$(srcdir)/src \
39
- -I$(srcdir)/ext/markdown-parser/src \
40
- -I$(srcdir)/ext/markdown-parser/ext/sundown/src \
41
- -I$(srcdir)/ext/markdown-parser/ext/sundown/html
38
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/src \
39
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src \
40
+ -I$(srcdir)/ext/sos/src \
41
+ -I$(srcdir)/ext/snowcrash/src
42
42
 
43
43
  DEFS_Release := \
44
44
  '-DBUILDING_SNOWCRASH=1' \
@@ -71,31 +71,24 @@ CFLAGS_OBJC_Release :=
71
71
  CFLAGS_OBJCC_Release :=
72
72
 
73
73
  INCS_Release := \
74
- -I$(srcdir)/src \
75
- -I$(srcdir)/ext/markdown-parser/src \
76
- -I$(srcdir)/ext/markdown-parser/ext/sundown/src \
77
- -I$(srcdir)/ext/markdown-parser/ext/sundown/html
74
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/src \
75
+ -I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src \
76
+ -I$(srcdir)/ext/sos/src \
77
+ -I$(srcdir)/ext/snowcrash/src
78
78
 
79
79
  OBJS := \
80
- $(obj).target/$(TARGET)/src/CBlueprint.o \
81
- $(obj).target/$(TARGET)/src/CBlueprintSourcemap.o \
82
- $(obj).target/$(TARGET)/src/CSourceAnnotation.o \
83
- $(obj).target/$(TARGET)/src/HTTP.o \
84
- $(obj).target/$(TARGET)/src/Section.o \
80
+ $(obj).target/$(TARGET)/src/drafter.o \
81
+ $(obj).target/$(TARGET)/src/cdrafter.o \
85
82
  $(obj).target/$(TARGET)/src/Serialize.o \
86
- $(obj).target/$(TARGET)/src/SerializeJSON.o \
87
- $(obj).target/$(TARGET)/src/SerializeYAML.o \
88
- $(obj).target/$(TARGET)/src/Signature.o \
89
- $(obj).target/$(TARGET)/src/snowcrash.o \
90
- $(obj).target/$(TARGET)/src/csnowcrash.o \
91
- $(obj).target/$(TARGET)/src/UriTemplateParser.o \
92
- $(obj).target/$(TARGET)/src/posix/RegexMatch.o
83
+ $(obj).target/$(TARGET)/src/SerializeAST.o \
84
+ $(obj).target/$(TARGET)/src/SerializeSourcemap.o \
85
+ $(obj).target/$(TARGET)/src/SerializeResult.o
93
86
 
94
87
  # Add to the list of files we specially track dependencies for.
95
88
  all_deps += $(OBJS)
96
89
 
97
90
  # Make sure our dependencies are built before any of us.
98
- $(OBJS): | $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a
91
+ $(OBJS): | $(builddir)/libsos.a $(builddir)/libsnowcrash.a $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a
99
92
 
100
93
  # CFLAGS et al overrides must be target-local.
101
94
  # See "Target-specific Variable Values" in the GNU Make manual.
@@ -125,7 +118,7 @@ LDFLAGS_Debug := \
125
118
  -mmacosx-version-min=10.5 \
126
119
  -arch x86_64 \
127
120
  -L$(builddir) \
128
- -install_name /usr/local/lib/libsnowcrash.dylib
121
+ -install_name /usr/local/lib/libdrafter.dylib
129
122
 
130
123
  LIBTOOLFLAGS_Debug := \
131
124
  -Wl,-search_paths_first
@@ -135,31 +128,31 @@ LDFLAGS_Release := \
135
128
  -mmacosx-version-min=10.5 \
136
129
  -arch x86_64 \
137
130
  -L$(builddir) \
138
- -install_name /usr/local/lib/libsnowcrash.dylib
131
+ -install_name /usr/local/lib/libdrafter.dylib
139
132
 
140
133
  LIBTOOLFLAGS_Release := \
141
134
  -Wl,-search_paths_first
142
135
 
143
136
  LIBS :=
144
137
 
145
- $(builddir)/libsnowcrash.dylib: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
146
- $(builddir)/libsnowcrash.dylib: LIBS := $(LIBS)
147
- $(builddir)/libsnowcrash.dylib: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
148
- $(builddir)/libsnowcrash.dylib: LD_INPUTS := $(OBJS) $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a
149
- $(builddir)/libsnowcrash.dylib: TOOLSET := $(TOOLSET)
150
- $(builddir)/libsnowcrash.dylib: $(OBJS) $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a FORCE_DO_CMD
138
+ $(builddir)/libdrafter.dylib: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
139
+ $(builddir)/libdrafter.dylib: LIBS := $(LIBS)
140
+ $(builddir)/libdrafter.dylib: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
141
+ $(builddir)/libdrafter.dylib: LD_INPUTS := $(OBJS) $(builddir)/libsos.a $(builddir)/libsnowcrash.a $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a
142
+ $(builddir)/libdrafter.dylib: TOOLSET := $(TOOLSET)
143
+ $(builddir)/libdrafter.dylib: $(OBJS) $(builddir)/libsos.a $(builddir)/libsnowcrash.a $(builddir)/libmarkdownparser.a $(builddir)/libsundown.a FORCE_DO_CMD
151
144
  $(call do_cmd,solink)
152
145
 
153
- all_deps += $(builddir)/libsnowcrash.dylib
146
+ all_deps += $(builddir)/libdrafter.dylib
154
147
  # Add target alias
155
- .PHONY: libsnowcrash
156
- libsnowcrash: $(builddir)/libsnowcrash.dylib
148
+ .PHONY: libdrafter
149
+ libdrafter: $(builddir)/libdrafter.dylib
157
150
 
158
151
  # Short alias for building this shared library.
159
- .PHONY: libsnowcrash.dylib
160
- libsnowcrash.dylib: $(builddir)/libsnowcrash.dylib
152
+ .PHONY: libdrafter.dylib
153
+ libdrafter.dylib: $(builddir)/libdrafter.dylib
161
154
 
162
155
  # Add shared library to "all" target.
163
156
  .PHONY: all
164
- all: $(builddir)/libsnowcrash.dylib
157
+ all: $(builddir)/libdrafter.dylib
165
158
 
@@ -0,0 +1,133 @@
1
+ # This file is generated by gyp; do not edit.
2
+
3
+ TOOLSET := target
4
+ TARGET := libsos
5
+ DEFS_Debug := \
6
+ '-DBUILDING_SNOWCRASH=1' \
7
+ '-D_DARWIN_USE_64_BIT_INODE=1' \
8
+ '-DDEBUG' \
9
+ '-D_DEBUG'
10
+
11
+ # Flags passed to all source files.
12
+ CFLAGS_Debug := \
13
+ -O0 \
14
+ -gdwarf-2 \
15
+ -mmacosx-version-min=10.5 \
16
+ -arch x86_64 \
17
+ -Wall \
18
+ -Wendif-labels \
19
+ -W \
20
+ -Wno-unused-parameter
21
+
22
+ # Flags passed to only C files.
23
+ CFLAGS_C_Debug := \
24
+ -fno-strict-aliasing
25
+
26
+ # Flags passed to only C++ files.
27
+ CFLAGS_CC_Debug := \
28
+ -fno-threadsafe-statics \
29
+ -fno-strict-aliasing
30
+
31
+ # Flags passed to only ObjC files.
32
+ CFLAGS_OBJC_Debug :=
33
+
34
+ # Flags passed to only ObjC++ files.
35
+ CFLAGS_OBJCC_Debug :=
36
+
37
+ INCS_Debug := \
38
+ -I$(srcdir)/ext/sos/src
39
+
40
+ DEFS_Release := \
41
+ '-DBUILDING_SNOWCRASH=1' \
42
+ '-D_DARWIN_USE_64_BIT_INODE=1'
43
+
44
+ # Flags passed to all source files.
45
+ CFLAGS_Release := \
46
+ -Os \
47
+ -gdwarf-2 \
48
+ -mmacosx-version-min=10.5 \
49
+ -arch x86_64 \
50
+ -Wall \
51
+ -Wendif-labels \
52
+ -W \
53
+ -Wno-unused-parameter
54
+
55
+ # Flags passed to only C files.
56
+ CFLAGS_C_Release := \
57
+ -fno-strict-aliasing
58
+
59
+ # Flags passed to only C++ files.
60
+ CFLAGS_CC_Release := \
61
+ -fno-threadsafe-statics \
62
+ -fno-strict-aliasing
63
+
64
+ # Flags passed to only ObjC files.
65
+ CFLAGS_OBJC_Release :=
66
+
67
+ # Flags passed to only ObjC++ files.
68
+ CFLAGS_OBJCC_Release :=
69
+
70
+ INCS_Release := \
71
+ -I$(srcdir)/ext/sos/src
72
+
73
+ OBJS := \
74
+ $(obj).target/$(TARGET)/ext/sos/src/sos.o
75
+
76
+ # Add to the list of files we specially track dependencies for.
77
+ all_deps += $(OBJS)
78
+
79
+ # CFLAGS et al overrides must be target-local.
80
+ # See "Target-specific Variable Values" in the GNU Make manual.
81
+ $(OBJS): TOOLSET := $(TOOLSET)
82
+ $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
83
+ $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
84
+ $(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
85
+ $(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
86
+
87
+ # Suffix rules, putting all outputs into $(obj).
88
+
89
+ $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
90
+ @$(call do_cmd,cxx,1)
91
+
92
+ # Try building from generated source, too.
93
+
94
+ $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
95
+ @$(call do_cmd,cxx,1)
96
+
97
+ $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
98
+ @$(call do_cmd,cxx,1)
99
+
100
+ # End of this set of suffix rules
101
+ ### Rules for final target.
102
+ LDFLAGS_Debug := \
103
+ -mmacosx-version-min=10.5 \
104
+ -arch x86_64 \
105
+ -L$(builddir)
106
+
107
+ LIBTOOLFLAGS_Debug :=
108
+
109
+ LDFLAGS_Release := \
110
+ -mmacosx-version-min=10.5 \
111
+ -arch x86_64 \
112
+ -L$(builddir)
113
+
114
+ LIBTOOLFLAGS_Release :=
115
+
116
+ LIBS :=
117
+
118
+ $(builddir)/libsos.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
119
+ $(builddir)/libsos.a: LIBS := $(LIBS)
120
+ $(builddir)/libsos.a: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
121
+ $(builddir)/libsos.a: TOOLSET := $(TOOLSET)
122
+ $(builddir)/libsos.a: $(OBJS) FORCE_DO_CMD
123
+ $(call do_cmd,alink)
124
+
125
+ all_deps += $(builddir)/libsos.a
126
+ # Add target alias
127
+ .PHONY: libsos
128
+ libsos: $(builddir)/libsos.a
129
+
130
+ # Add target alias to "all" target.
131
+ .PHONY: all
132
+ all: libsos
133
+