yard 0.7.5 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of yard might be problematic. Click here for more details.

Files changed (339) hide show
  1. data/.yardopts +10 -2
  2. data/ChangeLog +1263 -38
  3. data/LEGAL +5 -5
  4. data/LICENSE +1 -1
  5. data/README.md +91 -82
  6. data/Rakefile +6 -6
  7. data/benchmarks/builtins_vs_eval.rb +1 -1
  8. data/benchmarks/erb_vs_erubis.rb +4 -4
  9. data/benchmarks/generation.rb +5 -5
  10. data/benchmarks/parsing.rb +2 -2
  11. data/benchmarks/registry_store_types.rb +48 -0
  12. data/bin/yard +9 -1
  13. data/bin/yardoc +9 -1
  14. data/bin/yri +10 -2
  15. data/docs/CodeObjects.md +10 -10
  16. data/docs/GettingStarted.md +85 -83
  17. data/docs/Handlers.md +21 -21
  18. data/docs/Overview.md +7 -7
  19. data/docs/Parser.md +30 -30
  20. data/docs/Tags.md +250 -554
  21. data/docs/TagsArch.md +123 -0
  22. data/docs/Templates.md +58 -80
  23. data/docs/WhatsNew.md +378 -133
  24. data/docs/templates/default/fulldoc/html/full_list_tag.erb +7 -0
  25. data/docs/templates/default/fulldoc/html/setup.rb +6 -0
  26. data/docs/templates/default/layout/html/setup.rb +8 -0
  27. data/docs/templates/default/layout/html/tag_list.erb +11 -0
  28. data/docs/templates/default/yard_tags/html/list.erb +18 -0
  29. data/docs/templates/default/yard_tags/html/setup.rb +27 -0
  30. data/docs/templates/plugin.rb +65 -0
  31. data/lib/yard.rb +1 -10
  32. data/lib/yard/autoload.rb +75 -27
  33. data/lib/yard/cli/command.rb +5 -2
  34. data/lib/yard/cli/command_parser.rb +3 -2
  35. data/lib/yard/cli/diff.rb +1 -1
  36. data/lib/yard/cli/i18n.rb +69 -0
  37. data/lib/yard/cli/list.rb +1 -1
  38. data/lib/yard/cli/server.rb +30 -7
  39. data/lib/yard/cli/stats.rb +5 -6
  40. data/lib/yard/cli/yardoc.rb +95 -45
  41. data/lib/yard/cli/yri.rb +24 -3
  42. data/lib/yard/code_objects/base.rb +35 -4
  43. data/lib/yard/code_objects/extra_file_object.rb +1 -1
  44. data/lib/yard/code_objects/macro_object.rb +56 -99
  45. data/lib/yard/code_objects/method_object.rb +44 -6
  46. data/lib/yard/config.rb +18 -8
  47. data/lib/yard/core_ext/symbol_hash.rb +1 -1
  48. data/lib/yard/docstring.rb +45 -85
  49. data/lib/yard/docstring_parser.rb +269 -0
  50. data/lib/yard/handlers/base.rb +129 -118
  51. data/lib/yard/handlers/c/alias_handler.rb +15 -0
  52. data/lib/yard/handlers/c/attribute_handler.rb +13 -0
  53. data/lib/yard/handlers/c/base.rb +110 -0
  54. data/lib/yard/handlers/c/class_handler.rb +26 -0
  55. data/lib/yard/handlers/c/constant_handler.rb +12 -0
  56. data/lib/yard/handlers/c/handler_methods.rb +165 -0
  57. data/lib/yard/handlers/c/init_handler.rb +16 -0
  58. data/lib/yard/handlers/c/method_handler.rb +35 -0
  59. data/lib/yard/handlers/c/mixin_handler.rb +13 -0
  60. data/lib/yard/handlers/c/module_handler.rb +16 -0
  61. data/lib/yard/handlers/c/override_comment_handler.rb +22 -0
  62. data/lib/yard/handlers/c/path_handler.rb +10 -0
  63. data/lib/yard/handlers/c/struct_handler.rb +12 -0
  64. data/lib/yard/handlers/c/symbol_handler.rb +7 -0
  65. data/lib/yard/handlers/processor.rb +41 -30
  66. data/lib/yard/handlers/ruby/alias_handler.rb +0 -2
  67. data/lib/yard/handlers/ruby/attribute_handler.rb +16 -17
  68. data/lib/yard/handlers/ruby/base.rb +10 -6
  69. data/lib/yard/handlers/ruby/comment_handler.rb +9 -0
  70. data/lib/yard/handlers/ruby/dsl_handler.rb +14 -0
  71. data/lib/yard/handlers/ruby/dsl_handler_methods.rb +71 -0
  72. data/lib/yard/handlers/ruby/legacy/alias_handler.rb +0 -3
  73. data/lib/yard/handlers/ruby/legacy/attribute_handler.rb +16 -17
  74. data/lib/yard/handlers/ruby/legacy/base.rb +28 -6
  75. data/lib/yard/handlers/ruby/legacy/comment_handler.rb +9 -0
  76. data/lib/yard/handlers/ruby/legacy/dsl_handler.rb +16 -0
  77. data/lib/yard/handlers/ruby/legacy/method_handler.rb +0 -2
  78. data/lib/yard/handlers/ruby/legacy/mixin_handler.rb +1 -1
  79. data/lib/yard/handlers/ruby/legacy/module_function_handler.rb +18 -0
  80. data/lib/yard/handlers/ruby/method_handler.rb +10 -15
  81. data/lib/yard/handlers/ruby/mixin_handler.rb +1 -1
  82. data/lib/yard/handlers/ruby/module_function_handler.rb +26 -0
  83. data/lib/yard/handlers/ruby/struct_handler_methods.rb +3 -2
  84. data/lib/yard/i18n/pot_generator.rb +281 -0
  85. data/lib/yard/i18n/text.rb +72 -0
  86. data/lib/yard/logging.rb +3 -7
  87. data/lib/yard/options.rb +216 -0
  88. data/lib/yard/parser/c/c_parser.rb +225 -0
  89. data/lib/yard/parser/c/comment_parser.rb +131 -0
  90. data/lib/yard/parser/c/statement.rb +63 -0
  91. data/lib/yard/parser/ruby/ast_node.rb +91 -1
  92. data/lib/yard/parser/ruby/legacy/ruby_parser.rb +1 -0
  93. data/lib/yard/parser/ruby/legacy/statement.rb +7 -2
  94. data/lib/yard/parser/ruby/legacy/statement_list.rb +13 -22
  95. data/lib/yard/parser/ruby/ruby_parser.rb +87 -26
  96. data/lib/yard/parser/source_parser.rb +89 -88
  97. data/lib/yard/rake/yardoc_task.rb +1 -1
  98. data/lib/yard/registry.rb +21 -10
  99. data/lib/yard/registry_store.rb +48 -0
  100. data/lib/yard/serializers/file_system_serializer.rb +18 -20
  101. data/lib/yard/serializers/yardoc_serializer.rb +1 -0
  102. data/lib/yard/server/adapter.rb +2 -2
  103. data/lib/yard/server/commands/base.rb +1 -1
  104. data/lib/yard/server/commands/display_object_command.rb +13 -6
  105. data/lib/yard/server/commands/frames_command.rb +4 -21
  106. data/lib/yard/server/commands/library_command.rb +57 -11
  107. data/lib/yard/server/commands/list_command.rb +10 -34
  108. data/lib/yard/server/commands/search_command.rb +8 -2
  109. data/lib/yard/server/doc_server_helper.rb +34 -0
  110. data/lib/yard/server/rack_adapter.rb +5 -1
  111. data/lib/yard/server/router.rb +4 -10
  112. data/lib/yard/server/static_caching.rb +2 -2
  113. data/lib/yard/server/templates/default/fulldoc/html/css/custom.css +2 -2
  114. data/lib/yard/server/templates/default/fulldoc/html/js/live.js +0 -15
  115. data/lib/yard/server/templates/default/layout/html/breadcrumb.erb +3 -3
  116. data/lib/yard/server/templates/default/layout/html/script_setup.erb +8 -0
  117. data/lib/yard/server/templates/doc_server/processing/html/processing.erb +1 -1
  118. data/lib/yard/server/templates/doc_server/search/html/setup.rb +1 -1
  119. data/lib/yard/tags/default_factory.rb +31 -4
  120. data/lib/yard/tags/directives.rb +593 -0
  121. data/lib/yard/tags/library.rb +437 -35
  122. data/lib/yard/templates/engine.rb +17 -12
  123. data/lib/yard/templates/helpers/base_helper.rb +8 -2
  124. data/lib/yard/templates/helpers/html_helper.rb +57 -14
  125. data/lib/yard/templates/helpers/markup/rdoc_markup.rb +1 -1
  126. data/lib/yard/templates/helpers/markup_helper.rb +9 -9
  127. data/lib/yard/templates/helpers/text_helper.rb +2 -2
  128. data/lib/yard/templates/template.rb +42 -13
  129. data/lib/yard/templates/template_options.rb +81 -0
  130. data/spec/cli/command_parser_spec.rb +4 -4
  131. data/spec/cli/command_spec.rb +3 -3
  132. data/spec/cli/config_spec.rb +13 -13
  133. data/spec/cli/diff_spec.rb +13 -10
  134. data/spec/cli/gems_spec.rb +12 -12
  135. data/spec/cli/help_spec.rb +2 -2
  136. data/spec/cli/i18n_spec.rb +111 -0
  137. data/spec/cli/server_spec.rb +66 -18
  138. data/spec/cli/stats_spec.rb +15 -15
  139. data/spec/cli/yardoc_spec.rb +124 -97
  140. data/spec/cli/yri_spec.rb +14 -12
  141. data/spec/code_objects/base_spec.rb +104 -46
  142. data/spec/code_objects/class_object_spec.rb +33 -33
  143. data/spec/code_objects/code_object_list_spec.rb +5 -5
  144. data/spec/code_objects/constants_spec.rb +4 -3
  145. data/spec/code_objects/extra_file_object_spec.rb +19 -19
  146. data/spec/code_objects/macro_object_spec.rb +31 -37
  147. data/spec/code_objects/method_object_spec.rb +46 -23
  148. data/spec/code_objects/module_object_spec.rb +16 -16
  149. data/spec/code_objects/namespace_object_spec.rb +6 -6
  150. data/spec/code_objects/proxy_spec.rb +19 -19
  151. data/spec/config_spec.rb +33 -24
  152. data/spec/core_ext/array_spec.rb +1 -1
  153. data/spec/core_ext/file_spec.rb +8 -8
  154. data/spec/core_ext/hash_spec.rb +1 -1
  155. data/spec/core_ext/insertion_spec.rb +3 -3
  156. data/spec/core_ext/module_spec.rb +1 -1
  157. data/spec/core_ext/string_spec.rb +6 -6
  158. data/spec/core_ext/symbol_hash_spec.rb +11 -11
  159. data/spec/docstring_parser_spec.rb +207 -0
  160. data/spec/docstring_spec.rb +33 -146
  161. data/spec/handlers/alias_handler_spec.rb +14 -14
  162. data/spec/handlers/attribute_handler_spec.rb +20 -20
  163. data/spec/handlers/base_spec.rb +16 -16
  164. data/spec/handlers/c/alias_handler_spec.rb +33 -0
  165. data/spec/handlers/c/attribute_handler_spec.rb +40 -0
  166. data/spec/handlers/c/class_handler_spec.rb +64 -0
  167. data/spec/handlers/c/constant_handler_spec.rb +68 -0
  168. data/spec/handlers/c/init_handler_spec.rb +36 -0
  169. data/spec/handlers/c/method_handler_spec.rb +228 -0
  170. data/spec/handlers/c/mixin_handler_spec.rb +27 -0
  171. data/spec/handlers/c/module_handler_spec.rb +38 -0
  172. data/spec/handlers/c/override_comment_handler_spec.rb +43 -0
  173. data/spec/handlers/c/path_handler_spec.rb +35 -0
  174. data/spec/handlers/c/spec_helper.rb +11 -0
  175. data/spec/handlers/c/struct_handler_spec.rb +15 -0
  176. data/spec/handlers/class_condition_handler_spec.rb +10 -10
  177. data/spec/handlers/class_handler_spec.rb +38 -38
  178. data/spec/handlers/class_variable_handler_spec.rb +1 -1
  179. data/spec/handlers/constant_handler_spec.rb +7 -7
  180. data/spec/handlers/{macro_handler_spec.rb → dsl_handler_spec.rb} +72 -53
  181. data/spec/handlers/examples/alias_handler_001.rb.txt +5 -5
  182. data/spec/handlers/examples/class_condition_handler_001.rb.txt +9 -9
  183. data/spec/handlers/examples/class_handler_001.rb.txt +1 -1
  184. data/spec/handlers/examples/dsl_handler_001.rb.txt +110 -0
  185. data/spec/handlers/examples/exception_handler_001.rb.txt +14 -14
  186. data/spec/handlers/examples/method_condition_handler_001.rb.txt +2 -2
  187. data/spec/handlers/examples/method_handler_001.rb.txt +16 -16
  188. data/spec/handlers/examples/mixin_handler_001.rb.txt +8 -4
  189. data/spec/handlers/examples/private_constant_handler_001.rb.txt +1 -1
  190. data/spec/handlers/examples/visibility_handler_001.rb.txt +3 -3
  191. data/spec/handlers/examples/yield_handler_001.rb.txt +13 -14
  192. data/spec/handlers/exception_handler_spec.rb +9 -9
  193. data/spec/handlers/extend_handler_spec.rb +2 -2
  194. data/spec/handlers/legacy_base_spec.rb +34 -34
  195. data/spec/handlers/method_condition_handler_spec.rb +2 -2
  196. data/spec/handlers/method_handler_spec.rb +33 -33
  197. data/spec/handlers/mixin_handler_spec.rb +13 -9
  198. data/spec/handlers/module_function_handler_spec.rb +82 -0
  199. data/spec/handlers/module_handler_spec.rb +6 -6
  200. data/spec/handlers/private_constant_handler_spec.rb +3 -3
  201. data/spec/handlers/processor_spec.rb +5 -5
  202. data/spec/handlers/ruby/base_spec.rb +10 -6
  203. data/spec/handlers/ruby/legacy/base_spec.rb +11 -7
  204. data/spec/handlers/spec_helper.rb +2 -3
  205. data/spec/handlers/visibility_handler_spec.rb +6 -6
  206. data/spec/handlers/yield_handler_spec.rb +8 -8
  207. data/spec/i18n/pot_generator_spec.rb +244 -0
  208. data/spec/i18n/text_spec.rb +69 -0
  209. data/spec/options_spec.rb +160 -0
  210. data/spec/parser/base_spec.rb +3 -3
  211. data/spec/parser/c_parser_spec.rb +31 -257
  212. data/spec/parser/examples/array.c.txt +187 -187
  213. data/spec/parser/examples/extrafile.c.txt +1 -1
  214. data/spec/parser/examples/override.c.txt +1 -1
  215. data/spec/parser/ruby/ast_node_spec.rb +1 -1
  216. data/spec/parser/ruby/legacy/statement_list_spec.rb +24 -24
  217. data/spec/parser/ruby/legacy/token_list_spec.rb +7 -7
  218. data/spec/parser/ruby/ruby_parser_spec.rb +56 -34
  219. data/spec/parser/source_parser_spec.rb +125 -65
  220. data/spec/parser/tag_parsing_spec.rb +4 -4
  221. data/spec/rake/yardoc_task_spec.rb +10 -8
  222. data/spec/registry_spec.rb +65 -36
  223. data/spec/registry_store_spec.rb +90 -40
  224. data/spec/serializers/file_system_serializer_spec.rb +12 -12
  225. data/spec/serializers/yardoc_serializer_spec.rb +2 -2
  226. data/spec/server/adapter_spec.rb +3 -3
  227. data/spec/server/commands/base_spec.rb +8 -8
  228. data/spec/server/commands/library_command_spec.rb +3 -3
  229. data/spec/server/commands/static_file_command_spec.rb +7 -7
  230. data/spec/server/doc_server_helper_spec.rb +1 -1
  231. data/spec/server/doc_server_serializer_spec.rb +6 -6
  232. data/spec/server/rack_adapter_spec.rb +3 -3
  233. data/spec/server/router_spec.rb +19 -19
  234. data/spec/server/static_caching_spec.rb +4 -4
  235. data/spec/spec_helper.rb +7 -7
  236. data/spec/tags/default_factory_spec.rb +24 -16
  237. data/spec/tags/directives_spec.rb +422 -0
  238. data/spec/tags/library_spec.rb +15 -4
  239. data/spec/tags/overload_tag_spec.rb +6 -6
  240. data/spec/tags/ref_tag_list_spec.rb +8 -8
  241. data/spec/templates/class_spec.rb +7 -7
  242. data/spec/templates/constant_spec.rb +7 -7
  243. data/spec/templates/engine_spec.rb +28 -36
  244. data/spec/templates/examples/class001.html +108 -108
  245. data/spec/templates/examples/class002.html +17 -17
  246. data/spec/templates/examples/constant001.txt +1 -1
  247. data/spec/templates/examples/method001.html +45 -45
  248. data/spec/templates/examples/method002.html +25 -25
  249. data/spec/templates/examples/method003.html +60 -60
  250. data/spec/templates/examples/method004.html +7 -7
  251. data/spec/templates/examples/method005.html +28 -28
  252. data/spec/templates/examples/module001.html +321 -321
  253. data/spec/templates/examples/module001.txt +1 -1
  254. data/spec/templates/examples/module002.html +130 -130
  255. data/spec/templates/examples/module003.html +74 -74
  256. data/spec/templates/examples/module004.html +388 -0
  257. data/spec/templates/helpers/base_helper_spec.rb +32 -32
  258. data/spec/templates/helpers/html_helper_spec.rb +87 -68
  259. data/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +9 -9
  260. data/spec/templates/helpers/markup/rdoc_markup_spec.rb +16 -16
  261. data/spec/templates/helpers/markup_helper_spec.rb +31 -28
  262. data/spec/templates/helpers/method_helper_spec.rb +7 -7
  263. data/spec/templates/helpers/shared_signature_examples.rb +9 -7
  264. data/spec/templates/helpers/text_helper_spec.rb +3 -3
  265. data/spec/templates/method_spec.rb +13 -13
  266. data/spec/templates/module_spec.rb +70 -24
  267. data/spec/templates/onefile_spec.rb +32 -15
  268. data/spec/templates/section_spec.rb +23 -23
  269. data/spec/templates/spec_helper.rb +31 -1
  270. data/spec/templates/tag_spec.rb +5 -5
  271. data/spec/templates/template_spec.rb +54 -46
  272. data/spec/verifier_spec.rb +5 -5
  273. data/templates/default/class/setup.rb +2 -2
  274. data/templates/default/docstring/html/abstract.erb +1 -1
  275. data/templates/default/docstring/html/note.erb +1 -1
  276. data/templates/default/docstring/html/private.erb +1 -1
  277. data/templates/default/docstring/html/todo.erb +1 -1
  278. data/templates/default/docstring/setup.rb +2 -2
  279. data/templates/default/fulldoc/html/css/full_list.css +4 -2
  280. data/templates/default/fulldoc/html/css/style.css +50 -44
  281. data/templates/default/fulldoc/html/frames.erb +21 -6
  282. data/templates/default/fulldoc/html/full_list.erb +5 -3
  283. data/templates/default/fulldoc/html/{full_list_files.erb → full_list_file.erb} +0 -0
  284. data/templates/default/fulldoc/html/js/app.js +29 -26
  285. data/templates/default/fulldoc/html/js/full_list.js +9 -9
  286. data/templates/default/fulldoc/html/js/jquery.js +4 -16
  287. data/templates/default/fulldoc/html/setup.rb +42 -38
  288. data/templates/default/layout/dot/header.erb +1 -1
  289. data/templates/default/layout/html/breadcrumb.erb +6 -6
  290. data/templates/default/layout/html/files.erb +1 -1
  291. data/templates/default/layout/html/footer.erb +1 -1
  292. data/templates/default/layout/html/headers.erb +3 -6
  293. data/templates/default/layout/html/index.erb +1 -1
  294. data/templates/default/layout/html/layout.erb +3 -7
  295. data/templates/default/layout/html/objects.erb +1 -1
  296. data/templates/default/layout/html/script_setup.erb +5 -0
  297. data/templates/default/layout/html/search.erb +4 -1
  298. data/templates/default/layout/html/setup.rb +8 -8
  299. data/templates/default/method_details/html/method_signature.erb +10 -3
  300. data/templates/default/method_details/setup.rb +1 -0
  301. data/templates/default/module/dot/info.erb +1 -1
  302. data/templates/default/module/dot/setup.rb +2 -2
  303. data/templates/default/module/html/attribute_details.erb +1 -1
  304. data/templates/default/module/html/children.erb +1 -1
  305. data/templates/default/module/html/defines.erb +1 -1
  306. data/templates/default/module/html/inherited_methods.erb +5 -4
  307. data/templates/default/module/html/item_summary.erb +15 -5
  308. data/templates/default/module/html/method_details_list.erb +2 -2
  309. data/templates/default/module/setup.rb +25 -12
  310. data/templates/default/module/text/setup.rb +1 -1
  311. data/templates/default/onefile/html/layout.erb +1 -1
  312. data/templates/default/onefile/html/setup.rb +2 -2
  313. data/templates/default/tags/html/example.erb +4 -2
  314. data/templates/default/tags/html/option.erb +1 -1
  315. data/templates/default/tags/html/overload.erb +1 -1
  316. data/templates/default/tags/html/see.erb +1 -1
  317. data/templates/default/tags/html/tag.erb +1 -1
  318. data/templates/default/tags/setup.rb +4 -3
  319. data/templates/guide/fulldoc/html/css/style.css +8 -8
  320. data/templates/guide/fulldoc/html/js/app.js +6 -6
  321. data/templates/guide/fulldoc/html/setup.rb +12 -12
  322. data/templates/guide/layout/html/layout.erb +11 -11
  323. data/templates/guide/layout/html/setup.rb +9 -9
  324. data/templates/guide/method/html/header.erb +2 -2
  325. data/templates/guide/method/html/setup.rb +1 -1
  326. metadata +68 -18
  327. data/bin/yard-graph +0 -4
  328. data/bin/yard-server +0 -4
  329. data/docs/Glossary.md +0 -12
  330. data/lib/yard/handlers/ruby/legacy/macro_handler.rb +0 -39
  331. data/lib/yard/handlers/ruby/macro_handler.rb +0 -40
  332. data/lib/yard/handlers/ruby/macro_handler_methods.rb +0 -131
  333. data/lib/yard/parser/c_parser.rb +0 -497
  334. data/lib/yard/server/templates/default/layout/html/headers.erb +0 -16
  335. data/lib/yard/server/templates/doc_server/frames/html/frames.erb +0 -13
  336. data/lib/yard/server/templates/doc_server/frames/html/setup.rb +0 -3
  337. data/lib/yard/server/templates/doc_server/full_list/html/full_list.erb +0 -34
  338. data/lib/yard/server/templates/doc_server/full_list/html/setup.rb +0 -20
  339. data/spec/handlers/examples/macro_handler_001.rb.txt +0 -83
data/.yardopts CHANGED
@@ -1,18 +1,26 @@
1
1
  --protected
2
2
  --no-private
3
+ --embed-mixin ClassMethods
3
4
  --exclude /server/templates/
4
5
  --exclude /yard/rubygems/
5
6
  --asset docs/images:images
7
+ --tag yard.signature:"YARD Tag Signature"
8
+ --type-name-tag yard.tag:"YARD Tag"
9
+ --type-name-tag yard.directive:"YARD Directive"
10
+ --hide-tag yard.tag
11
+ --hide-tag yard.directive
12
+ --hide-tag yard.signature
13
+ --load ./docs/templates/plugin.rb
6
14
  -
7
15
  docs/WhatsNew.md
8
16
  docs/GettingStarted.md
17
+ docs/Tags.md
9
18
  docs/Overview.md
10
19
  docs/CodeObjects.md
11
- docs/Tags.md
12
20
  docs/Parser.md
13
21
  docs/Handlers.md
22
+ docs/TagsArch.md
14
23
  docs/Templates.md
15
- docs/Glossary.md
16
24
  ChangeLog
17
25
  LICENSE
18
26
  LEGAL
data/ChangeLog CHANGED
@@ -1,17 +1,1004 @@
1
- 2012-01-31 Loren Segal <lsegal@soen.ca>
1
+ 2012-04-30 Loren Segal <lsegal@soen.ca>
2
+
3
+ * ChangeLog, lib/yard.rb: Update ChangeLog
4
+
5
+ * README.md, docs/WhatsNew.md: Update README/WhatsNew
6
+
7
+ * lib/yard/tags/library.rb: Update docs for option tag
8
+
9
+ * lib/yard/tags/library.rb: Update Library class docs
10
+
11
+ * lib/yard/autoload.rb, lib/yard/i18n/pot_generator.rb,
12
+ lib/yard/i18n/text.rb: Some minor documentation formatting fixes for I18n
13
+ module
14
+
15
+ * templates/default/module/html/item_summary.erb: private badge should be
16
+ lowercase in item summary
17
+
18
+ * lib/yard/tags/library.rb: Add note about transitive tags
19
+
20
+ 2012-04-30 Kouhei Sutou <kou@clear-code.com>
21
+
22
+ * lib/yard/i18n/text.rb: i18n: document YARD::I18n::Text
23
+
24
+ * lib/yard/i18n/pot_generator.rb: i18n: document YARD::I18n::PotGenerator
25
+
26
+ 2012-04-30 Loren Segal <lsegal@soen.ca>
27
+
28
+ * lib/yard/code_objects/base.rb, lib/yard/docstring.rb,
29
+ lib/yard/docstring_parser.rb,
30
+ lib/yard/handlers/ruby/struct_handler_methods.rb, lib/yard/registry_store.rb,
31
+ lib/yard/tags/directives.rb, lib/yard/templates/engine.rb,
32
+ lib/yard/templates/helpers/markup_helper.rb: Add after_parse callback to
33
+ check that @param tag names match method parameters Closes #526
34
+
35
+ * lib/yard/docstring_parser.rb, spec/docstring_parser_spec.rb: Add
36
+ Docstring.after_parse callback to perform sanity checks and last minute
37
+ modifications on a docstring after it is parsed
38
+
39
+ * README.md: Add note about 0.7.5 release
40
+
41
+ * lib/yard/tags/default_factory.rb, spec/tags/default_factory_spec.rb: Fix
42
+ bug in types list parser with certain duck-type method names
43
+
44
+ * lib/yard/registry_store.rb, lib/yard/tags/directives.rb: Add since tags and
45
+ document some methods
46
+
47
+ * lib/yard/autoload.rb, lib/yard/docstring.rb, lib/yard/docstring_parser.rb:
48
+ Document Docstring/DocstringParser classes, and add 0.8.0 since tags
49
+
50
+ * LICENSE, README.md: Change copyright year and version
51
+
52
+ * lib/yard/server/commands/library_command.rb: Dup lists when storing old
53
+ template paths and includes
54
+
55
+ * lib/yard/server/commands/library_command.rb: Force serializing to be false
56
+ (without this, rubydoc.info breaks for some weird reason)
57
+
58
+ * lib/yard/server/commands/library_command.rb,
59
+ .../doc_server/processing/html/processing.erb: Don't need extra option to
60
+ show processing page
61
+
62
+ * lib/yard/registry_store.rb, spec/registry_store_spec.rb: RegistryStore
63
+ should update types_for_object list when object key is modified
64
+
65
+ * lib/yard/cli/command.rb: load() instead of require() when using --load
66
+
67
+ * lib/yard/cli/yardoc.rb: Expand path when registering template path
68
+
69
+ * .yardopts_i18n: Update .yardopts_i18n to include template paths and other
70
+ options
71
+
72
+ 2012-04-29 Loren Segal <lsegal@soen.ca>
73
+
74
+ * lib/yard/server/commands/library_command.rb: Push/pop template paths and
75
+ extra include info between requests
76
+
77
+ * spec/config_spec.rb: Put ARGV back after test
78
+
79
+ * LEGAL, README.md, Rakefile, benchmarks/builtins_vs_eval.rb,
80
+ benchmarks/erb_vs_erubis.rb, benchmarks/generation.rb, benchmarks/parsing.rb,
81
+ benchmarks/registry_store_types.rb, docs/CodeObjects.md, docs/Handlers.md,
82
+ docs/Overview.md, docs/Parser.md, docs/Tags.md, docs/Templates.md,
83
+ docs/WhatsNew.md, docs/templates/default/yard_tags/html/list.erb,
84
+ lib/yard/cli/diff.rb, lib/yard/cli/list.rb, lib/yard/cli/server.rb,
85
+ lib/yard/cli/stats.rb, lib/yard/cli/yardoc.rb, lib/yard/cli/yri.rb,
86
+ lib/yard/code_objects/base.rb, lib/yard/code_objects/extra_file_object.rb,
87
+ lib/yard/code_objects/macro_object.rb,
88
+ lib/yard/code_objects/method_object.rb, lib/yard/config.rb,
89
+ lib/yard/docstring.rb, lib/yard/docstring_parser.rb,
90
+ lib/yard/handlers/base.rb, lib/yard/handlers/c/alias_handler.rb,
91
+ lib/yard/handlers/c/attribute_handler.rb, lib/yard/handlers/c/base.rb,
92
+ lib/yard/handlers/c/class_handler.rb,
93
+ lib/yard/handlers/c/constant_handler.rb,
94
+ lib/yard/handlers/c/handler_methods.rb, lib/yard/handlers/c/init_handler.rb,
95
+ lib/yard/handlers/c/method_handler.rb, lib/yard/handlers/c/mixin_handler.rb,
96
+ lib/yard/handlers/c/module_handler.rb,
97
+ lib/yard/handlers/c/override_comment_handler.rb,
98
+ lib/yard/handlers/c/path_handler.rb, lib/yard/handlers/c/struct_handler.rb,
99
+ lib/yard/handlers/processor.rb, lib/yard/handlers/ruby/attribute_handler.rb,
100
+ lib/yard/handlers/ruby/base.rb,
101
+ lib/yard/handlers/ruby/legacy/attribute_handler.rb,
102
+ lib/yard/handlers/ruby/legacy/base.rb, lib/yard/logging.rb,
103
+ lib/yard/options.rb, lib/yard/parser/c/c_parser.rb,
104
+ lib/yard/parser/c/comment_parser.rb, lib/yard/parser/c/statement.rb,
105
+ lib/yard/parser/ruby/ast_node.rb,
106
+ lib/yard/parser/ruby/legacy/statement_list.rb,
107
+ lib/yard/parser/ruby/ruby_parser.rb, lib/yard/parser/source_parser.rb,
108
+ lib/yard/rake/yardoc_task.rb, lib/yard/serializers/file_system_serializer.rb,
109
+ lib/yard/server/commands/search_command.rb, lib/yard/server/rack_adapter.rb,
110
+ .../templates/default/fulldoc/html/css/custom.css,
111
+ lib/yard/tags/default_factory.rb, lib/yard/tags/directives.rb,
112
+ lib/yard/tags/library.rb, lib/yard/templates/helpers/base_helper.rb,
113
+ lib/yard/templates/helpers/html_helper.rb,
114
+ lib/yard/templates/helpers/markup/rdoc_markup.rb,
115
+ lib/yard/templates/template.rb, lib/yard/templates/template_options.rb,
116
+ spec/cli/command_parser_spec.rb, spec/cli/command_spec.rb,
117
+ spec/cli/config_spec.rb, spec/cli/diff_spec.rb, spec/cli/gems_spec.rb,
118
+ spec/cli/help_spec.rb, spec/cli/server_spec.rb, spec/cli/stats_spec.rb,
119
+ spec/cli/yardoc_spec.rb, spec/cli/yri_spec.rb,
120
+ spec/code_objects/base_spec.rb, spec/code_objects/class_object_spec.rb,
121
+ spec/code_objects/code_object_list_spec.rb,
122
+ spec/code_objects/constants_spec.rb,
123
+ spec/code_objects/extra_file_object_spec.rb,
124
+ spec/code_objects/macro_object_spec.rb,
125
+ spec/code_objects/method_object_spec.rb,
126
+ spec/code_objects/module_object_spec.rb,
127
+ spec/code_objects/namespace_object_spec.rb, spec/code_objects/proxy_spec.rb,
128
+ spec/config_spec.rb, spec/core_ext/array_spec.rb, spec/core_ext/file_spec.rb,
129
+ spec/core_ext/hash_spec.rb, spec/core_ext/insertion_spec.rb,
130
+ spec/core_ext/module_spec.rb, spec/core_ext/string_spec.rb,
131
+ spec/core_ext/symbol_hash_spec.rb, spec/docstring_spec.rb,
132
+ spec/handlers/alias_handler_spec.rb, spec/handlers/attribute_handler_spec.rb,
133
+ spec/handlers/base_spec.rb, spec/handlers/c/alias_handler_spec.rb,
134
+ spec/handlers/c/attribute_handler_spec.rb,
135
+ spec/handlers/c/class_handler_spec.rb,
136
+ spec/handlers/c/constant_handler_spec.rb,
137
+ spec/handlers/c/init_handler_spec.rb, spec/handlers/c/method_handler_spec.rb,
138
+ spec/handlers/c/mixin_handler_spec.rb,
139
+ spec/handlers/c/module_handler_spec.rb,
140
+ spec/handlers/c/override_comment_handler_spec.rb,
141
+ spec/handlers/c/struct_handler_spec.rb,
142
+ spec/handlers/class_condition_handler_spec.rb,
143
+ spec/handlers/class_handler_spec.rb,
144
+ spec/handlers/class_variable_handler_spec.rb,
145
+ spec/handlers/constant_handler_spec.rb,
146
+ spec/handlers/examples/alias_handler_001.rb.txt,
147
+ .../examples/class_condition_handler_001.rb.txt,
148
+ spec/handlers/examples/class_handler_001.rb.txt,
149
+ spec/handlers/examples/dsl_handler_001.rb.txt,
150
+ .../handlers/examples/exception_handler_001.rb.txt,
151
+ .../examples/method_condition_handler_001.rb.txt,
152
+ spec/handlers/examples/method_handler_001.rb.txt,
153
+ spec/handlers/examples/mixin_handler_001.rb.txt,
154
+ .../examples/private_constant_handler_001.rb.txt,
155
+ .../examples/visibility_handler_001.rb.txt,
156
+ spec/handlers/examples/yield_handler_001.rb.txt,
157
+ spec/handlers/exception_handler_spec.rb,
158
+ spec/handlers/extend_handler_spec.rb, spec/handlers/legacy_base_spec.rb,
159
+ spec/handlers/method_condition_handler_spec.rb,
160
+ spec/handlers/method_handler_spec.rb, spec/handlers/mixin_handler_spec.rb,
161
+ spec/handlers/module_function_handler_spec.rb,
162
+ spec/handlers/module_handler_spec.rb,
163
+ spec/handlers/private_constant_handler_spec.rb,
164
+ spec/handlers/processor_spec.rb, spec/handlers/spec_helper.rb,
165
+ spec/handlers/visibility_handler_spec.rb,
166
+ spec/handlers/yield_handler_spec.rb, spec/options_spec.rb,
167
+ spec/parser/base_spec.rb, spec/parser/c_parser_spec.rb,
168
+ spec/parser/examples/array.c.txt, spec/parser/examples/extrafile.c.txt,
169
+ spec/parser/examples/override.c.txt, spec/parser/ruby/ast_node_spec.rb,
170
+ spec/parser/ruby/legacy/statement_list_spec.rb,
171
+ spec/parser/ruby/legacy/token_list_spec.rb,
172
+ spec/parser/ruby/ruby_parser_spec.rb, spec/parser/source_parser_spec.rb,
173
+ spec/parser/tag_parsing_spec.rb, spec/rake/yardoc_task_spec.rb,
174
+ spec/registry_spec.rb, spec/registry_store_spec.rb,
175
+ spec/serializers/file_system_serializer_spec.rb,
176
+ spec/serializers/yardoc_serializer_spec.rb, spec/server/adapter_spec.rb,
177
+ spec/server/commands/base_spec.rb,
178
+ spec/server/commands/library_command_spec.rb,
179
+ spec/server/commands/static_file_command_spec.rb,
180
+ spec/server/doc_server_helper_spec.rb,
181
+ spec/server/doc_server_serializer_spec.rb, spec/server/rack_adapter_spec.rb,
182
+ spec/server/router_spec.rb, spec/server/static_caching_spec.rb,
183
+ spec/spec_helper.rb, spec/tags/default_factory_spec.rb,
184
+ spec/tags/directives_spec.rb, spec/tags/library_spec.rb,
185
+ spec/tags/overload_tag_spec.rb, spec/tags/ref_tag_list_spec.rb,
186
+ spec/templates/class_spec.rb, spec/templates/constant_spec.rb,
187
+ spec/templates/engine_spec.rb, spec/templates/examples/class001.html,
188
+ spec/templates/examples/class002.html,
189
+ spec/templates/examples/constant001.txt,
190
+ spec/templates/examples/method001.html,
191
+ spec/templates/examples/method002.html,
192
+ spec/templates/examples/method003.html,
193
+ spec/templates/examples/method004.html,
194
+ spec/templates/examples/method005.html,
195
+ spec/templates/examples/module001.html,
196
+ spec/templates/examples/module002.html,
197
+ spec/templates/examples/module003.html,
198
+ spec/templates/examples/module004.html,
199
+ spec/templates/helpers/base_helper_spec.rb,
200
+ spec/templates/helpers/html_helper_spec.rb,
201
+ .../helpers/html_syntax_highlight_helper_spec.rb,
202
+ spec/templates/helpers/markup/rdoc_markup_spec.rb,
203
+ spec/templates/helpers/markup_helper_spec.rb,
204
+ spec/templates/helpers/method_helper_spec.rb,
205
+ .../templates/helpers/shared_signature_examples.rb,
206
+ spec/templates/helpers/text_helper_spec.rb, spec/templates/method_spec.rb,
207
+ spec/templates/module_spec.rb, spec/templates/onefile_spec.rb,
208
+ spec/templates/section_spec.rb, spec/templates/spec_helper.rb,
209
+ spec/templates/tag_spec.rb, spec/templates/template_spec.rb,
210
+ spec/verifier_spec.rb, templates/default/class/setup.rb,
211
+ templates/default/docstring/html/abstract.erb,
212
+ templates/default/docstring/html/note.erb,
213
+ templates/default/docstring/html/private.erb,
214
+ templates/default/docstring/html/todo.erb,
215
+ templates/default/docstring/setup.rb,
216
+ templates/default/fulldoc/html/css/full_list.css,
217
+ templates/default/fulldoc/html/css/style.css,
218
+ templates/default/fulldoc/html/full_list.erb,
219
+ templates/default/fulldoc/html/js/app.js,
220
+ templates/default/fulldoc/html/js/full_list.js,
221
+ templates/default/fulldoc/html/setup.rb,
222
+ templates/default/layout/dot/header.erb,
223
+ templates/default/layout/html/breadcrumb.erb,
224
+ templates/default/layout/html/footer.erb,
225
+ templates/default/layout/html/layout.erb,
226
+ templates/default/layout/html/objects.erb,
227
+ templates/default/layout/html/search.erb,
228
+ templates/default/layout/html/setup.rb,
229
+ .../method_details/html/method_signature.erb,
230
+ templates/default/module/dot/setup.rb,
231
+ templates/default/module/html/children.erb,
232
+ .../default/module/html/inherited_methods.erb,
233
+ .../default/module/html/method_details_list.erb,
234
+ templates/default/module/setup.rb, templates/default/module/text/setup.rb,
235
+ templates/default/onefile/html/layout.erb,
236
+ templates/default/onefile/html/setup.rb,
237
+ templates/guide/fulldoc/html/css/style.css,
238
+ templates/guide/fulldoc/html/js/app.js,
239
+ templates/guide/fulldoc/html/setup.rb,
240
+ templates/guide/layout/html/layout.erb, templates/guide/layout/html/setup.rb,
241
+ templates/guide/method/html/setup.rb, yard.gemspec: The great whitespace fix
242
+ of 2012
243
+
244
+ * spec/config_spec.rb: Fix broken specs
245
+
246
+ * docs/Tags.md: Add missing period
247
+
248
+ * templates/default/fulldoc/html/css/full_list.css,
249
+ templates/default/fulldoc/html/full_list.erb: Ensure that pipes after nav
250
+ links don't get linkified as well (css fix)
251
+
252
+ * lib/yard/cli/command.rb, lib/yard/config.rb, spec/config_spec.rb: Add
253
+ --safe commandline option in case you cannot provide it in ~/.yard/config
254
+
255
+ * lib/yard/tags/directives.rb, lib/yard/tags/library.rb: Replace backticks in
256
+ docs with ++ RDoc format
257
+
258
+ * docs/Tags.md, docs/templates/default/layout/html/tag_list.erb: Update tags
259
+ syntax documentation
260
+
261
+ * templates/default/fulldoc/html/js/app.js: Ignore h1/2/3/4/5 tags inside of
262
+ method details
263
+
264
+ * .yardopts, .yardopts_guide, .yardopts_i18n, docs/Glossary.md, docs/Tags.md,
265
+ docs/TagsArch.md: Reorganize tags docs and remove glossary
266
+
267
+ * lib/yard/tags/directives.rb: Document attribute and method directives
268
+
269
+ * lib/yard/tags/library.rb: Fix signatures in library
270
+
271
+ * docs/Tags.md, lib/yard/code_objects/macro_object.rb,
272
+ lib/yard/tags/directives.rb: Document macros
273
+
274
+ 2012-04-28 Loren Segal <lsegal@soen.ca>
275
+
276
+ * lib/yard/tags/directives.rb: Docs for scope and visibility directives
277
+
278
+ * lib/yard/tags/directives.rb, lib/yard/tags/library.rb: Update tag/directive
279
+ docstrings
2
280
 
3
- * ChangeLog, README.md, lib/yard.rb: Bump to 0.7.5
281
+ * docs/templates/default/yard_tags/html/setup.rb: Change signature to use
282
+ yard.signature if found
283
+
284
+ * docs/templates/default/yard_tags/html/list.erb, docs/templates/plugin.rb:
285
+ Display documentation for Directive class as documentation for
286
+ define_directive
287
+
288
+ * .yardopts, docs/templates.rb, docs/templates/plugin.rb: Move templates.rb
289
+ to plugin.rb and add yard.signature tag
290
+
291
+ * lib/yard/tags/library.rb: Update docs for define_tag/define_directive
292
+
293
+ * lib/yard/tags/directives.rb: Document Tags::Directive
294
+
295
+ * docs/Tags.md, lib/yard/tags/library.rb: Remove manual tags list from
296
+ Tags.md
297
+
298
+ * lib/yard/tags/library.rb: Add more tag documentation
299
+
300
+ * docs/templates/default/yard_tags/html/list.erb: Add 'first' class to first
301
+ tag in list
302
+
303
+ * docs/templates.rb: Update url_for to link from relative root when listing a
304
+ tag/directive object
305
+
306
+ 2012-04-27 Loren Segal <lsegal@soen.ca>
307
+
308
+ * docs/templates/default/layout/html/tag_list.erb: Add note about tag listing
309
+ on index page
310
+
311
+ * docs/Templates.md: Remove documentation about adding custom JS when
312
+ generating custom menus
313
+
314
+ * lib/yard/tags/library.rb: Document tags in Library
315
+
316
+ * lib/yard/tags/library.rb: Fix the way yard.directive macro is declared
317
+
318
+ * docs/templates/default/yard_tags/html/list.erb,
319
+ docs/templates/default/yard_tags/html/setup.rb: Refactor yard_tags listing
320
+
321
+ * docs/templates/default/fulldoc/html/js/tag_list.js,
322
+ docs/templates/default/fulldoc/html/setup.rb,
323
+ docs/templates/default/layout/html/setup.rb: Remove special JS and tag_page
324
+ generation (using Tags.md file instead)
325
+
326
+ * .../default/fulldoc/html/full_list_tag.erb: Refactoring fixes for tag_link
327
+
328
+ * docs/Tags.md, docs/templates.rb: Add yard:include_tags and tag: linkify
329
+ prefixes for tags documentation templates
330
+
331
+ 2012-03-21 Loren Segal <lsegal@soen.ca>
332
+
333
+ * docs/templates.rb: Add custom helpers definitions
334
+
335
+ * .yardopts, .../default/fulldoc/html/full_list_tag.erb,
336
+ docs/templates/default/fulldoc/html/setup.rb,
337
+ docs/templates/default/layout/html/setup.rb,
338
+ docs/templates/default/layout/html/tag_list.erb,
339
+ docs/templates/default/yard_tags/html/list.erb,
340
+ docs/templates/default/yard_tags/html/setup.rb, lib/yard/tags/library.rb:
341
+ Update tag docs templates
342
+
343
+ * lib/yard/tags/library.rb: Move attached macro to define_tag class method
344
+
345
+ 2012-01-26 Loren Segal <lsegal@soen.ca>
346
+
347
+ * .yardopts, .../default/fulldoc/html/full_list_tag.erb,
348
+ docs/templates/default/fulldoc/html/js/tag_list.js,
349
+ docs/templates/default/fulldoc/html/setup.rb,
350
+ docs/templates/default/layout/html/setup.rb,
351
+ docs/templates/default/layout/html/tag_list.erb,
352
+ docs/templates/default/yard_tags/html/list.erb,
353
+ docs/templates/default/yard_tags/html/setup.rb, lib/yard/tags/library.rb: Add
354
+ initial custom templates for tags documentation
355
+
356
+ 2012-04-29 Loren Segal <lsegal@soen.ca>
357
+
358
+ * lib/yard/server/commands/display_object_command.rb,
359
+ lib/yard/server/doc_server_helper.rb, lib/yard/server/router.rb,
360
+ .../templates/default/layout/html/breadcrumb.erb: Server displays README on
361
+ index route if available. Renames the index route to /docs/[library/]index.
362
+ Closes #385
363
+
364
+ * lib/yard/server/commands/frames_command.rb,
365
+ lib/yard/server/commands/library_command.rb,
366
+ lib/yard/server/commands/list_command.rb,
367
+ lib/yard/server/doc_server_helper.rb,
368
+ .../templates/doc_server/frames/html/frames.erb,
369
+ .../templates/doc_server/frames/html/setup.rb,
370
+ templates/default/fulldoc/html/frames.erb: Refactor frameset handling in
371
+ server to behave like static template
372
+
373
+ * templates/default/fulldoc/html/js/app.js: Properly set frames title page
374
+ when nav links are clicked
375
+
376
+ * templates/default/fulldoc/html/frames.erb: List title in frames.html
377
+
378
+ * lib/yard/templates/helpers/html_helper.rb,
379
+ templates/default/fulldoc/html/frames.erb,
380
+ templates/default/fulldoc/html/full_list_files.erb,
381
+ templates/default/fulldoc/html/setup.rb,
382
+ templates/default/layout/html/breadcrumb.erb: Add url_for_main and
383
+ url_for_index helpers and make use of them in frames/breadcrumbs sections
384
+
385
+ * lib/yard/server/commands/list_command.rb: Fix file list when asset is not
386
+ last command in generate_list by capturing output properly
387
+
388
+ 2012-04-28 Loren Segal <lsegal@soen.ca>
389
+
390
+ * templates/default/fulldoc/html/css/style.css,
391
+ templates/guide/fulldoc/html/css/style.css: Update example title css
392
+
393
+ 2012-04-27 Loren Segal <lsegal@soen.ca>
394
+
395
+ * lib/yard/cli/command.rb: Documentation fix for tt text
396
+
397
+ * templates/default/fulldoc/html/js/app.js: TOC generation can now support
398
+ toc-id and toc-title attributes in header tags for use in generating
399
+ ids/titles
400
+
401
+ * lib/yard/server/doc_server_helper.rb,
402
+ .../templates/default/layout/html/script_setup.erb: Add customized version of
403
+ url_for_list and url_for_frameset helpers for server
404
+
405
+ * lib/yard/autoload.rb, lib/yard/server/commands/list_command.rb,
406
+ lib/yard/server/doc_server_helper.rb, lib/yard/server/router.rb,
407
+ .../doc_server/full_list/html/full_list.erb,
408
+ .../templates/doc_server/full_list/html/setup.rb, spec/server/router_spec.rb:
409
+ Remove List*Command and refactor handling of /list in server to use menu
410
+ definitions in fulldoc template
411
+
412
+ * spec/templates/examples/class001.html,
413
+ spec/templates/examples/method001.html,
414
+ spec/templates/examples/method002.html,
415
+ spec/templates/examples/method003.html,
416
+ spec/templates/examples/method004.html,
417
+ spec/templates/examples/method005.html,
418
+ spec/templates/examples/module001.html,
419
+ spec/templates/examples/module002.html,
420
+ spec/templates/examples/module003.html,
421
+ spec/templates/examples/module004.html,
422
+ templates/default/fulldoc/html/css/style.css,
423
+ .../method_details/html/method_signature.erb,
424
+ templates/default/tags/html/example.erb,
425
+ templates/default/tags/html/option.erb,
426
+ templates/default/tags/html/overload.erb,
427
+ templates/default/tags/html/see.erb, templates/default/tags/html/tag.erb: Use
428
+ h3 for signature tags and move tag listing titles to p tags instead of
429
+ headers
430
+
431
+ * templates/default/fulldoc/html/js/app.js,
432
+ templates/default/layout/html/script_setup.erb: Setup framesUrl using helper
433
+ method
434
+
435
+ * lib/yard/templates/helpers/html_helper.rb,
436
+ templates/default/fulldoc/html/full_list.erb,
437
+ templates/default/fulldoc/html/js/app.js,
438
+ templates/default/layout/html/search.erb: Simplify menu JS generation and add
439
+ url_for_list helper to abstract URL generation for lists
440
+
441
+ 2012-04-26 Loren Segal <lsegal@soen.ca>
442
+
443
+ * lib/yard/parser/ruby/legacy/ruby_parser.rb, lib/yard/tags/directives.rb:
444
+ Fix @!parse directive with handlers in legacy parser
445
+
446
+ * .yardopts, lib/yard/templates/template.rb: Embed ClassMethods mixin into
447
+ Template module
448
+
449
+ * templates/default/module/setup.rb: Fix bug in displaying of attr_listing
450
+ with embedded mixins
451
+
452
+ * lib/yard/autoload.rb, lib/yard/parser/source_parser.rb,
453
+ lib/yard/tags/directives.rb, lib/yard/tags/library.rb,
454
+ spec/tags/directives_spec.rb: Add @!parse directive to parse arbitrary code
455
+ Blocks are parsed in the context of where they are called, and you can
456
+ specify the code language using the type specifier: class A # @!parse # #
457
+ A dynamic foo method # def foo; end # @!parse def foo2; end # @!parse [c]
458
+ # void Init_Foo() { ... } end
459
+
460
+ * lib/yard/templates/template.rb: Update example documentation for
461
+ Template.extra_includes
462
+
463
+ * lib/yard/templates/template.rb, spec/templates/template_spec.rb: Add tests
464
+ to check for lambdas in extra_includes
465
+
466
+ 2011-10-16 Loren Segal <lsegal@soen.ca>
467
+
468
+ * lib/yard/templates/template.rb: Add support for pushing procs into the
469
+ Template.extra_includes array
470
+
471
+ 2012-04-26 Loren Segal <lsegal@soen.ca>
472
+
473
+ * lib/yard/templates/template_options.rb,
474
+ spec/templates/examples/module004.html, spec/templates/module_spec.rb: Anchor
475
+ mixin name matches
476
+
477
+ * spec/templates/examples/module004.html, spec/templates/module_spec.rb:
478
+ Improve specs for matching --embed-mixin modules
479
+
480
+ * lib/yard/cli/yardoc.rb, lib/yard/templates/template_options.rb,
481
+ spec/cli/yardoc_spec.rb, spec/templates/module_spec.rb,
482
+ .../default/module/html/inherited_methods.erb,
483
+ templates/default/module/setup.rb: Fix all specs
484
+
485
+ * templates/default/fulldoc/html/css/full_list.css: Separate nav links in
486
+ left frame by pipes
487
+
488
+ * .../templates/default/fulldoc/html/css/custom.css: Fix link to loading.gif
489
+ (now processing.gif) Closes #509
490
+
491
+ 2012-04-25 Loren Segal <lsegal@soen.ca>
492
+
493
+ * lib/yard/docstring.rb, lib/yard/parser/source_parser.rb: Documentation
494
+ fixes
495
+
496
+ * lib/yard/cli/yri.rb, spec/cli/yardoc_spec.rb, spec/cli/yri_spec.rb,
497
+ spec/rake/yardoc_task_spec.rb: Stop creating .yardoc directories during tests
498
+ and fix YRI spec to perform lookup in memory first. Closes #513
499
+
500
+ * lib/yard/cli/stats.rb: Use cache if stats is called with -c
501
+
502
+ * lib/yard/cli/stats.rb, spec/cli/stats_spec.rb: Add line numbers to `yard
503
+ stats --list-undoc --compact` Closes #438
504
+
505
+ * spec/cli/server_spec.rb: Require bundler for lockfile test Closes #512
506
+
507
+ * spec/cli/yri_spec.rb: Fix YRI spec name
508
+
509
+ 2012-04-25 Sung Pae <self@sungpae.com>
510
+
511
+ * lib/yard/server/rack_adapter.rb: Return exception messages body as Array in
512
+ RackAdapter
513
+
514
+ 2012-04-25 Loren Segal <lsegal@soen.ca>
515
+
516
+ * lib/yard/handlers/ruby/legacy/mixin_handler.rb: Make fix for issue #505
517
+ work in legacy mode
518
+
519
+ 2012-04-12 Kouhei Sutou <kou@clear-code.com>
520
+
521
+ * .yardopts_i18n, lib/yard/autoload.rb, lib/yard/cli/command_parser.rb,
522
+ lib/yard/cli/i18n.rb, spec/cli/i18n_spec.rb: pot: add "yard i18n" command
523
+ that generates .pot YARD::CLI::I18n inherits YARD::CLI::Yardoc because
524
+ "i18n" command use the same options in "doc" command. But it will be better
525
+ that we share the same options in another way because "i18n" command doesn't
526
+ need all options in "doc" command. We need to discuss how to implement it.
527
+ So I use inheritance for now.
528
+
529
+ 2012-04-05 Loren Segal <lsegal@soen.ca>
530
+
531
+ * lib/yard/registry.rb, spec/registry_spec.rb: Fix resolve on Object (look
532
+ past superclass)
533
+
534
+ * lib/yard/registry.rb, spec/registry_spec.rb: Registry.resolve() should
535
+ check inherited methods from Object/BasicObject
536
+
537
+ * lib/yard/parser/ruby/ast_node.rb: MethodCallNode#block should not return
538
+ last if it's not a block param
539
+
540
+ 2012-04-04 Loren Segal <lsegal@soen.ca>
541
+
542
+ * lib/yard/parser/ruby/ast_node.rb: MethodCallNode#block should return block,
543
+ not block param
544
+
545
+ 2012-04-01 Nikolai Weibull <now@bitwi.se>
546
+
547
+ * lib/yard/templates/helpers/html_helper.rb,
548
+ spec/templates/helpers/html_helper_spec.rb: Fix linking to method names that
549
+ have been escaped
550
+
551
+ 2012-03-30 Nikolai Weibull <now@bitwi.se>
552
+
553
+ * lib/yard/handlers/ruby/mixin_handler.rb,
554
+ spec/handlers/examples/mixin_handler_001.rb.txt,
555
+ spec/handlers/mixin_handler_spec.rb, spec/templates/examples/module001.txt:
556
+ Fix mixin order of multiple arguments to include
557
+
558
+ 2012-03-28 Loren Segal <lsegal@soen.ca>
559
+
560
+ * lib/yard/parser/ruby/ast_node.rb: Add ClassNode, ModuleNode and LoopNode
561
+ AST nodes
562
+
563
+ 2012-03-25 Loren Segal <lsegal@soen.ca>
564
+
565
+ * lib/yard/parser/ruby/ruby_parser.rb, spec/parser/source_parser_spec.rb:
566
+ Workaround to bug in ripper encoding of heredoc strings Ruby tracker issue:
567
+ http://bugs.ruby-lang.org/issues/6200
568
+
569
+ * .../templates/default/layout/html/script_setup.erb,
570
+ templates/default/layout/html/script_setup.erb: Add missing script_setup.erb
571
+ files
572
+
573
+ 2012-03-23 Loren Segal <lsegal@soen.ca>
574
+
575
+ * lib/yard/server/commands/search_command.rb: Fix search results to point to
576
+ the right object
577
+
578
+ * lib/yard/server/rack_adapter.rb: Show backtrace in rack adapter if error is
579
+ raised
580
+
581
+ * lib/yard/server/commands/library_command.rb,
582
+ lib/yard/templates/template_options.rb: Use TemplateOptions (subclass) in
583
+ server handling
584
+
585
+ * .../templates/default/fulldoc/html/js/live.js,
586
+ .../templates/default/layout/html/breadcrumb.erb,
587
+ .../templates/default/layout/html/headers.erb,
588
+ templates/default/fulldoc/html/css/style.css,
589
+ templates/default/fulldoc/html/frames.erb,
590
+ templates/default/fulldoc/html/js/app.js,
591
+ templates/default/layout/html/headers.erb,
592
+ templates/default/layout/html/layout.erb: Add frames link to complement no
593
+ frames links Refactor layout headers JS setup and generate base variables to
594
+ use for URL mapping. Closes #444
595
+
596
+ 2012-03-22 Loren Segal <lsegal@soen.ca>
597
+
598
+ * spec/templates/template_spec.rb, templates/default/fulldoc/html/frames.erb,
599
+ templates/default/fulldoc/html/setup.rb,
600
+ templates/default/layout/html/headers.erb,
601
+ templates/default/layout/html/index.erb,
602
+ templates/default/layout/html/setup.rb,
603
+ templates/default/module/dot/info.erb, templates/default/module/dot/setup.rb,
604
+ templates/guide/fulldoc/html/setup.rb,
605
+ templates/guide/layout/html/layout.erb, templates/guide/layout/html/setup.rb,
606
+ templates/guide/method/html/header.erb: Use dot syntax for TemplateOptions
607
+ options data member access instead of options[:field] syntax
608
+
609
+ * lib/yard/registry.rb, lib/yard/registry_store.rb,
610
+ lib/yard/serializers/yardoc_serializer.rb, spec/registry_spec.rb,
611
+ spec/registry_store_spec.rb: Add Registry/RegistryStore optimization to make
612
+ lookuped by type (Registry.all(type)) much faster
613
+
614
+ * benchmarks/registry_store_types.rb: Add benchmark to show lookup speed
615
+ between normal registry and one separated into type buckets.
616
+
617
+ 2012-03-21 Loren Segal <lsegal@soen.ca>
618
+
619
+ * templates/default/module/setup.rb: Don't use Hash#values due to 1.8.x
620
+ hashes not being ordered
621
+
622
+ * templates/default/module/html/item_summary.erb,
623
+ templates/default/module/setup.rb: Run verifier on read/write attribute
624
+ values to make sure they are not supposed to be filtered out. Closes #394
625
+
626
+ * lib/yard/autoload.rb, lib/yard/code_objects/method_object.rb,
627
+ lib/yard/handlers/base.rb, lib/yard/handlers/c/base.rb,
628
+ lib/yard/handlers/c/handler_methods.rb,
629
+ lib/yard/handlers/ruby/alias_handler.rb,
630
+ lib/yard/handlers/ruby/attribute_handler.rb,
631
+ lib/yard/handlers/ruby/dsl_handler_methods.rb,
632
+ lib/yard/handlers/ruby/legacy/alias_handler.rb,
633
+ lib/yard/handlers/ruby/legacy/attribute_handler.rb,
634
+ lib/yard/handlers/ruby/legacy/method_handler.rb,
635
+ .../ruby/legacy/module_function_handler.rb,
636
+ lib/yard/handlers/ruby/method_handler.rb,
637
+ lib/yard/handlers/ruby/module_function_handler.rb,
638
+ lib/yard/tags/directives.rb, spec/code_objects/macro_object_spec.rb,
639
+ spec/handlers/c/method_handler_spec.rb, spec/handlers/dsl_handler_spec.rb,
640
+ spec/handlers/examples/dsl_handler_001.rb.txt,
641
+ spec/handlers/module_function_handler_spec.rb, spec/tags/directives_spec.rb:
642
+ Add support for module_function calls in Ruby. Also supports
643
+ rb_define_module_function() in CRuby. Allows instantiation of MethodObjects
644
+ using :module scope. This creates the method object in the class scope but
645
+ also creates a blank instance method of the same name and makes it private.
646
+ Allows @!scope directive to specify module scope for creation of module
647
+ functions using directive syntax. Some refactoring was done to `register_`
648
+ methods in Handlers::Base to more easily set object visibility. Closes #378
649
+
650
+ * lib/yard/tags/directives.rb, spec/tags/directives_spec.rb: Don't expand new
651
+ unattached macros
652
+
653
+ * lib/yard/code_objects/base.rb, lib/yard/code_objects/method_object.rb,
654
+ spec/code_objects/base_spec.rb: Add #copyable_attributes to allow subclasses
655
+ to define which attributes can be copied
656
+
657
+ * lib/yard/code_objects/method_object.rb,
658
+ spec/code_objects/method_object_spec.rb: Allow creation of method with
659
+ :module as scope (convenience for creating public :class and private
660
+ :instance methods)
661
+
662
+ * lib/yard/code_objects/base.rb, spec/code_objects/base_spec.rb: Add
663
+ CodeObjects::Base#copy_to to copy object data to a new object
664
+
665
+ * lib/yard/handlers/ruby/dsl_handler_methods.rb: Whitespace fix
666
+
667
+ * lib/yard/handlers/ruby/dsl_handler_methods.rb,
668
+ spec/handlers/dsl_handler_spec.rb,
669
+ spec/handlers/examples/dsl_handler_001.rb.txt: Update/add DSL handler tests
670
+
671
+ * lib/yard/tags/directives.rb, spec/tags/directives_spec.rb: Don't expand
672
+ macros attached directly to class method declarations
673
+
674
+ * lib/yard/handlers/ruby/dsl_handler_methods.rb,
675
+ spec/handlers/dsl_handler_spec.rb,
676
+ spec/handlers/examples/dsl_handler_001.rb.txt: Properly append docstring on
677
+ attached macros
678
+
679
+ * spec/handlers/dsl_handler_spec.rb: Fix whitespace/directive names
680
+
681
+ 2012-03-20 Loren Segal <lsegal@soen.ca>
682
+
683
+ * docs/GettingStarted.md, docs/Tags.md,
684
+ lib/yard/code_objects/macro_object.rb, lib/yard/handlers/base.rb,
685
+ lib/yard/handlers/ruby/struct_handler_methods.rb, lib/yard/options.rb,
686
+ lib/yard/parser/ruby/ruby_parser.rb, spec/code_objects/macro_object_spec.rb,
687
+ spec/handlers/dsl_handler_spec.rb,
688
+ spec/handlers/examples/dsl_handler_001.rb.txt,
689
+ spec/handlers/examples/method_handler_001.rb.txt,
690
+ spec/handlers/method_handler_spec.rb, spec/parser/source_parser_spec.rb,
691
+ spec/tags/directives_spec.rb: Rename @macro/@method/@attribute tags to @!
692
+ directive syntax and drop use of @attr in favour of new @!attribute directive
693
+
694
+ * lib/yard/autoload.rb, lib/yard/code_objects/macro_object.rb,
695
+ lib/yard/docstring.rb, lib/yard/docstring_parser.rb,
696
+ lib/yard/handlers/base.rb, lib/yard/tags/directives.rb,
697
+ lib/yard/tags/library.rb, lib/yard/tags/tag_parser.rb,
698
+ spec/docstring_parser_spec.rb, spec/tags/directives_spec.rb,
699
+ spec/tags/tag_parser_spec.rb: Rename Tags::TagParser to DocstringParser
700
+
701
+ * Rakefile: Use default progress output for rspec results instead of specdoc
702
+
703
+ 2012-03-05 Dominik Honnef <dominikh@fork-bomb.org>
704
+
705
+ * docs/GettingStarted.md, docs/Tags.md, lib/yard/cli/yardoc.rb,
706
+ lib/yard/server/commands/base.rb, lib/yard/server/rack_adapter.rb,
707
+ lib/yard/server/router.rb, lib/yard/server/static_caching.rb: Fix whitespace
708
+ and improve documentation
709
+
710
+ 2012-03-19 Loren Segal <lsegal@soen.ca>
711
+
712
+ * lib/yard/tags/directives.rb, spec/tags/directives_spec.rb: Allow @!method
713
+ names to have self. prefix shorthand for class scope (instead of specifying
714
+ @!scope class later)
715
+
716
+ * lib/yard/tags/directives.rb, spec/tags/directives_spec.rb: Fix whitespace
717
+
718
+ * spec/tags/directives_spec.rb: Add specs for handling method/attribute
719
+ directives with no indented block
720
+
721
+ * lib/yard/tags/directives.rb, spec/tags/directives_spec.rb:
722
+ @!method/@!attribute directives now create methods within namespace if they
723
+ are attached to a namespace object (module or class)
724
+
725
+ * lib/yard/parser/c/statement.rb, lib/yard/parser/ruby/ast_node.rb,
726
+ lib/yard/parser/ruby/legacy/statement.rb,
727
+ lib/yard/parser/ruby/legacy/statement_list.rb: Deprecate stmt.group across
728
+ Ruby/C parsers. Group is now set in directive
729
+
730
+ * lib/yard/handlers/base.rb, lib/yard/tags/directives.rb,
731
+ lib/yard/tags/tag_parser.rb, spec/docstring_spec.rb,
732
+ spec/tags/directives_spec.rb, spec/tags/tag_parser_spec.rb: Add specs for
733
+ TagParser and Directive
734
+
735
+ 2012-03-18 Loren Segal <lsegal@soen.ca>
736
+
737
+ * lib/yard/tags/default_factory.rb, lib/yard/tags/directives.rb,
738
+ lib/yard/tags/library.rb: Allow indented @!attribute text
739
+
740
+ * lib/yard/tags/directives.rb, spec/tags/directives_spec.rb: Allow defining
741
+ multiple @!method/@!attribute directives by using indented text
742
+
743
+ * lib/yard/handlers/ruby/attribute_handler.rb,
744
+ lib/yard/handlers/ruby/dsl_handler_methods.rb,
745
+ lib/yard/handlers/ruby/legacy/attribute_handler.rb: Make legacy attribute
746
+ handler work with new directives
747
+
748
+ * lib/yard/autoload.rb, lib/yard/handlers/ruby/legacy/comment_handler.rb,
749
+ lib/yard/parser/ruby/legacy/statement_list.rb,
750
+ spec/parser/source_parser_spec.rb: Add CommentHandler and support lone
751
+ comments in legacy parser
752
+
753
+ 2012-03-17 Loren Segal <lsegal@soen.ca>
754
+
755
+ * lib/yard/code_objects/base.rb, lib/yard/handlers/base.rb,
756
+ lib/yard/parser/ruby/ruby_parser.rb, lib/yard/registry.rb: Fix some method
757
+ redefinition warnings
758
+
759
+ * lib/yard/handlers/base.rb: Avoid ruby warnings for @in_files
760
+
761
+ * spec/parser/ruby/ruby_parser_spec.rb, spec/parser/source_parser_spec.rb:
762
+ Move RubyParser spec to right place
763
+
764
+ * lib/yard/parser/ruby/ruby_parser.rb, spec/parser/source_parser_spec.rb:
765
+ Handle lone comments at end of blocks
766
+
767
+ * lib/yard/autoload.rb, lib/yard/handlers/ruby/comment_handler.rb,
768
+ lib/yard/parser/ruby/ast_node.rb, lib/yard/parser/ruby/ruby_parser.rb,
769
+ spec/parser/source_parser_spec.rb: Add comment handler parsing of lone
770
+ comments
771
+
772
+ * lib/yard/handlers/base.rb: Remove macro specific implementation in
773
+ Handlers::Base (incompatible API change)
774
+
775
+ * lib/yard/autoload.rb, lib/yard/handlers/ruby/comment_handler.rb,
776
+ lib/yard/handlers/ruby/dsl_handler.rb,
777
+ lib/yard/handlers/ruby/dsl_handler_methods.rb,
778
+ lib/yard/handlers/ruby/legacy/dsl_handler.rb,
779
+ lib/yard/handlers/ruby/legacy/macro_handler.rb,
780
+ lib/yard/handlers/ruby/macro_handler.rb,
781
+ lib/yard/handlers/ruby/macro_handler_methods.rb,
782
+ spec/handlers/dsl_handler_spec.rb,
783
+ spec/handlers/examples/dsl_handler_001.rb.txt,
784
+ spec/handlers/examples/macro_handler_001.rb.txt,
785
+ spec/handlers/macro_handler_spec.rb, spec/handlers/method_handler_spec.rb:
786
+ Update handlers and rename MacroHandler to DSLHandler (since it is not meant
787
+ for macro expansion but DSL method detection
788
+
789
+ * lib/yard/handlers/ruby/attribute_handler.rb: Refactor attribute handler to
790
+ handle the fact that statement.comments might be filled with directives but
791
+ no docstring data
792
+
793
+ * lib/yard/handlers/base.rb, lib/yard/handlers/c/base.rb,
794
+ lib/yard/handlers/ruby/legacy/base.rb: Remove protected visibility on Base
795
+ handlers objects (needed for directives support)
796
+
797
+ * lib/yard/code_objects/macro_object.rb,
798
+ spec/code_objects/macro_object_spec.rb: Update MacroObject making some
799
+ backward incompatible changes 1. MacroObject.find_or_create now takes 2
800
+ parameters: the name and the macro data. Previously it took a full docstring
801
+ that was parsed out for macro tags. 2. All macro expansion text ($N) should
802
+ be indented inside a macro tag. YARD no longer supports macro expansion
803
+ across an entire docstring, as this is too difficult to maintain with the new
804
+ directives syntax. You can still provide macro expansion within the indented
805
+ @macro block, however. 3. Anonymous macros are now supported. A new macro
806
+ does not need a name, but if one is not provided, it will not be defined in
807
+ the Registry.
808
+
809
+ * lib/yard/autoload.rb, lib/yard/docstring.rb, lib/yard/tags/directives.rb,
810
+ lib/yard/tags/library.rb, lib/yard/tags/tag_parser.rb: Add directives and
811
+ refactor Docstring to TagParser Creates a new TagParser class that handles
812
+ parsing of tag/directive data. A new directive syntax is added using the @!
813
+ prefix. Directives can be defined in the Library using
814
+ Library.define_directive providing a subclass of the abstract Directive
815
+ class. Directives can make modifications to the parse control flow by hooking
816
+ into handlers. While tags only provide meta-data, directives can create or
817
+ modify objects during parsing. Information that is only data-driven should
818
+ remain as a tag, but if the operation modifies some state during parsing, it
819
+ should be made a directive (using the @! syntax) Compatibility note: Macros
820
+ and @method/@attribute have been ported over to the new directive syntax and
821
+ are no longer "tags". Therefore, you should use @!macro or @!method when
822
+ defining objects. YARD still supports @macro/@method for backward
823
+ compatibility support, but this syntax should be considered deprecated.
824
+
825
+ * lib/yard/tags/default_factory.rb: Add with_types_and_title tag factory
826
+ method
827
+
828
+ * lib/yard/parser/ruby/ast_node.rb, lib/yard/parser/ruby/ruby_parser.rb,
829
+ spec/parser/ruby/ruby_parser_spec.rb, spec/parser/source_parser_spec.rb:
830
+ Implement CommentNode for Ruby parser (no legacy support yet)
831
+
832
+ 2012-03-18 Loren Segal <lsegal@soen.ca>
833
+
834
+ * spec/cli/diff_spec.rb, spec/cli/yardoc_spec.rb: Fix broken RSpec tests
835
+ using ordered (RSpec bug?)
836
+
837
+ * lib/yard/handlers/processor.rb, spec/handlers/ruby/base_spec.rb,
838
+ spec/handlers/ruby/legacy/base_spec.rb: Processor should re-add handlers when
839
+ loading if they are not in Base.subclasses
840
+
841
+ 2012-03-07 Loren Segal <lsegal@soen.ca>
842
+
843
+ * lib/yard/cli/server.rb: Call super in CLI::Server initialization
844
+
845
+ * lib/yard/cli/server.rb: Uniquely add library versions to Server libraries
846
+
847
+ * lib/yard/cli/server.rb, spec/cli/server_spec.rb: Initialize default
848
+ CLI::Server options in constructor, not #run
849
+
850
+ 2012-03-06 Loren Segal <lsegal@soen.ca>
851
+
852
+ * lib/yard/handlers/ruby/legacy/base.rb: Make expansion work in legacy mode
853
+
854
+ * lib/yard/handlers/ruby/method_handler.rb, lib/yard/parser/ruby/ast_node.rb:
855
+ Add MethodDefinitonNode#block and refactor method handler
856
+
857
+ * lib/yard/handlers/ruby/base.rb,
858
+ spec/handlers/examples/macro_handler_001.rb.txt,
859
+ spec/handlers/macro_handler_spec.rb: Allow macro expansion on method
860
+ definitions
861
+
862
+ * spec/parser/source_parser_spec.rb: Silence stderr output in tests
863
+
864
+ * lib/yard/handlers/ruby/method_handler.rb, lib/yard/parser/ruby/ast_node.rb:
865
+ Add MethodDefinitionNode to abstract def/defs nodes. Can now call
866
+ node.parameters to access the parameters list in a consistent fashion. Fixes
867
+ #389
868
+
869
+ 2012-03-06 Dominik Honnef <dominikh@fork-bomb.org>
870
+
871
+ * lib/yard/templates/helpers/html_helper.rb: generate more explicit title for
872
+ links to class methods When having a link to a class method in the current
873
+ class/module, like {foo}, generate CurrentClass.foo as the output instead of
874
+ plain foo.
875
+
876
+ 2012-03-05 Loren Segal <lsegal@soen.ca>
877
+
878
+ * lib/yard/code_objects/macro_object.rb,
879
+ lib/yard/code_objects/method_object.rb: Make MacroObject#sep and
880
+ MethodObject#sep public too
881
+
882
+ * lib/yard/code_objects/base.rb: Make CodeObjects::Base#sep public (and
883
+ #format_source private instead of protected)
884
+
885
+ 2012-02-20 Loren Segal <lsegal@soen.ca>
886
+
887
+ * lib/yard/options.rb: Update Options#update documentation
888
+
889
+ 2012-02-19 Loren Segal <lsegal@soen.ca>
890
+
891
+ * lib/yard/cli/yardoc.rb: Register some one-off keys used in template
892
+ generation
893
+
894
+ * lib/yard/options.rb, .../templates/doc_server/search/html/setup.rb,
895
+ lib/yard/templates/engine.rb, lib/yard/templates/helpers/base_helper.rb,
896
+ lib/yard/templates/helpers/html_helper.rb,
897
+ lib/yard/templates/helpers/markup_helper.rb,
898
+ lib/yard/templates/helpers/text_helper.rb, lib/yard/templates/template.rb,
899
+ spec/cli/yardoc_spec.rb, spec/templates/helpers/base_helper_spec.rb,
900
+ spec/templates/helpers/html_helper_spec.rb,
901
+ .../helpers/html_syntax_highlight_helper_spec.rb,
902
+ spec/templates/helpers/markup_helper_spec.rb,
903
+ .../templates/helpers/shared_signature_examples.rb: Replace all hash options
904
+ hash syntax in templates with Options attribute accesosr syntax
905
+
906
+ * lib/yard/options.rb: Make method_missing work in 1.8
907
+
908
+ * lib/yard/autoload.rb, lib/yard/cli/yardoc.rb,
909
+ lib/yard/code_objects/base.rb, lib/yard/templates/engine.rb,
910
+ lib/yard/templates/helpers/base_helper.rb, lib/yard/templates/template.rb,
911
+ lib/yard/templates/template_options.rb, spec/templates/class_spec.rb,
912
+ spec/templates/constant_spec.rb, spec/templates/engine_spec.rb,
913
+ spec/templates/method_spec.rb, spec/templates/module_spec.rb,
914
+ spec/templates/spec_helper.rb, spec/templates/tag_spec.rb: Refactor options
915
+ hashes in template architecture to use TemplateOptions class, and add
916
+ YardocOptions class for special 'yard doc' options
917
+
918
+ * lib/yard/options.rb: Update documentation
919
+
920
+ * lib/yard/options.rb: Update documentation in Options class
921
+
922
+ * lib/yard/options.rb, spec/options_spec.rb: Add more implementation / tests
923
+ for Options class
924
+
925
+ * lib/yard/options.rb, spec/options_spec.rb: Add Options.default_attr as
926
+ convenience to define default attribute values
927
+
928
+ 2012-02-18 Loren Segal <lsegal@soen.ca>
929
+
930
+ * lib/yard/autoload.rb, lib/yard/options.rb, spec/options_spec.rb: Add base
931
+ Options class to be used by template/parser architecture in options refactor
932
+
933
+ 2012-02-13 Sergey Avseyev <sergey.avseyev@gmail.com>
934
+
935
+ * lib/yard/handlers/c/handler_methods.rb, spec/parser/c_parser_spec.rb: Allow
936
+ multiline description for constants
937
+
938
+ 2012-02-12 Loren Segal <lsegal@soen.ca>
939
+
940
+ * lib/yard/handlers/c/override_comment_handler.rb,
941
+ spec/handlers/c/override_comment_handler_spec.rb: Handle Document-class
942
+ syntax with inheritance
943
+
944
+ * templates/default/module/html/defines.erb: Show (unknown) defined file if
945
+ no files exist
946
+
947
+ * lib/yard/handlers/c/handler_methods.rb: Refactor namespace calls in
948
+ handler_methods.rb
949
+
950
+ * lib/yard/handlers/c/handler_methods.rb: Silently ignore invalid CRuby
951
+ method declarations
952
+
953
+ * lib/yard/handlers/c/handler_methods.rb,
954
+ spec/handlers/c/class_handler_spec.rb: Properly handle Proxy superclasses in
955
+ CRuby
956
+
957
+ * lib/yard/parser/c/comment_parser.rb: Fix parsing of name in override
958
+ comments
959
+
960
+ * lib/yard/parser/c/statement.rb, lib/yard/parser/ruby/legacy/statement.rb:
961
+ Fix how C::Statement#show displays first line of code
962
+
963
+ * lib/yard/parser/c/c_parser.rb: Fix parsing of whitespace in CRuby files
964
+
965
+ * lib/yard/autoload.rb, lib/yard/handlers/c/struct_handler.rb,
966
+ spec/handlers/c/struct_handler_spec.rb: Support CRuby
967
+ rb_struct_define_without_accessor()
968
+
969
+ 2012-02-10 Loren Segal <lsegal@soen.ca>
970
+
971
+ * templates/default/fulldoc/html/js/full_list.js: Don't use global
972
+ window.event, Firefox does not support this
973
+
974
+ 2012-02-07 Loren Segal <lsegal@soen.ca>
975
+
976
+ * .travis.yml, Gemfile: Use stable test dependencies
977
+
978
+ * Gemfile: Use redcarpet in tests
979
+
980
+ * .travis.yml: Update Travis CI ruby versions
981
+
982
+ 2012-02-01 Loren Segal <lsegal@soen.ca>
983
+
984
+ * spec/templates/onefile_spec.rb: Make specs work in Ruby 1.8
985
+
986
+ * lib/yard/cli/yardoc.rb, spec/cli/yardoc_spec.rb,
987
+ spec/templates/onefile_spec.rb: Don't allow --one-file to be used with
988
+ --charset us-ascii Closes #472
989
+
990
+ * lib/yard/serializers/file_system_serializer.rb: Refactor filesystem
991
+ serialization
992
+
993
+ 2012-01-31 Loren Segal <lsegal@soen.ca>
4
994
 
5
995
  * spec/templates/examples/module003.html, spec/templates/module_spec.rb,
6
996
  .../default/module/html/inherited_constants.erb,
7
997
  templates/default/module/setup.rb: Don't show inherited constants if
8
- overridden Backports #474, referencing #467
998
+ overridden Closes #474
9
999
 
10
1000
  * lib/yard/server/commands/library_command.rb: Verify markup options when
11
- loading yard opts in server mode Backports #456, referencing #467
12
-
13
- * lib/yard/parser/c_parser.rb, spec/parser/c_parser_spec.rb: Update tests for
14
- rb_define_const(), capture definitions Backports #443, referencing #467
1001
+ loading yard opts in server mode
15
1002
 
16
1003
  * lib/yard/templates/helpers/html_helper.rb: Refactor code block parsing out
17
1004
  of htmlify
@@ -20,8 +1007,17 @@
20
1007
 
21
1008
  * lib/yard/templates/helpers/html_helper.rb,
22
1009
  spec/templates/helpers/html_helper_spec.rb: Update tests for
23
- html_syntax_highlight and minor refactor Backports #478, #479, referencing
24
- #467 Conflicts: lib/yard/templates/helpers/html_helper.rb
1010
+ html_syntax_highlight and minor refactor Closes #478, #479
1011
+
1012
+ 2012-01-31 Dominik Honnef <dominikh@fork-bomb.org>
1013
+
1014
+ * lib/yard/templates/helpers/html_helper.rb: do not assume that
1015
+ html_syntax_highlight always gets called from htmlify By having moved up the
1016
+ language detection and removing of !!!LANG from the input source we broke
1017
+ html_syntax_highlight when it was being called independently, as it wouldn't
1018
+ sanitize input nor have a fallback language. We now have to detect the
1019
+ language twice, once for writing the correct <pre> tag and once to ensure
1020
+ that html_syntax_highlight is working with sane inputs.
25
1021
 
26
1022
  2012-01-30 Dominik Honnef <dominikh@fork-bomb.org>
27
1023
 
@@ -40,66 +1036,280 @@
40
1036
  2012-01-29 Loren Segal <lsegal@soen.ca>
41
1037
 
42
1038
  * lib/yard/cli/yardoc.rb, spec/cli/yardoc_spec.rb: Do not copy asset inside
43
- of to/ if to is directory Backports #477, referencing #467
1039
+ of to/ if to is directory Closes #477
44
1040
 
45
1041
  2012-01-26 Loren Segal <lsegal@soen.ca>
46
1042
 
47
1043
  * lib/yard/handlers/ruby/legacy/method_handler.rb,
48
- lib/yard/handlers/ruby/method_handler.rb: Fix issue #458 for legacy handlers
49
- Backport to 0.7.x, referencing #467
1044
+ lib/yard/handlers/ruby/method_handler.rb: Fix issue #458 for legacy handlers
1045
+
1046
+ * templates/default/fulldoc/html/js/jquery.js: Update jQuery to v1.7.1
1047
+
1048
+ * templates/default/layout/html/breadcrumb.erb: Prioritize contents/file for
1049
+ breadcrumb links
1050
+
1051
+ * templates/default/fulldoc/html/css/style.css,
1052
+ templates/default/layout/html/files.erb: Generalize css for files list in
1053
+ index page
1054
+
1055
+ * templates/default/layout/html/setup.rb: Check for :contents section before
1056
+ object in layout template
1057
+
1058
+ * lib/yard/templates/engine.rb, spec/templates/engine_spec.rb:
1059
+ Engine.generate should pass :object=>Registry.root (so object is never nil)
1060
+
1061
+ * lib/yard/handlers/ruby/base.rb: Fix call parameter source when symbol is a
1062
+ keyword in ripper
1063
+
1064
+ * templates/default/tags/setup.rb: Make tags template more friendly for tags
1065
+ with '.' in them
1066
+
1067
+ * lib/yard/handlers/ruby/legacy/macro_handler.rb,
1068
+ lib/yard/handlers/ruby/macro_handler.rb,
1069
+ lib/yard/handlers/ruby/macro_handler_methods.rb: Refactor macro handling into
1070
+ MacroHandlerMethods module
50
1071
 
51
1072
  2012-01-25 Loren Segal <lsegal@soen.ca>
52
1073
 
1074
+ * lib/yard/handlers/ruby/macro_handler.rb,
1075
+ lib/yard/handlers/ruby/macro_handler_methods.rb,
1076
+ spec/handlers/examples/macro_handler_001.rb.txt,
1077
+ spec/handlers/macro_handler_spec.rb: Require special tags to create implicit
1078
+ DSL docstring Special tags are: method attribute overload visibility scope
1079
+ return
1080
+
1081
+ 2012-01-23 Loren Segal <lsegal@soen.ca>
1082
+
53
1083
  * spec/registry_spec.rb, spec/templates/class_spec.rb: Fix Debian test
54
- failures in 1.9.3 Backports #397, referencing #467
1084
+ failures in 1.9.3 Partially fixes #397
55
1085
 
56
- 2012-01-21 Loren Segal <lsegal@soen.ca>
1086
+ 2012-01-21 Kouhei Sutou <kou@clear-code.com>
57
1087
 
58
- * lib/yard/parser/ruby/ruby_parser.rb, spec/parser/ruby/ruby_parser_spec.rb:
59
- Fix %w() source in []/[]= parsed context. Backports #461, referencing #467
1088
+ * lib/yard/code_objects/base.rb, spec/code_objects/base_spec.rb: don't
1089
+ discard tags by (see ...). fixes #457
60
1090
 
61
1091
  * lib/yard/handlers/ruby/method_handler.rb,
62
1092
  spec/handlers/examples/method_handler_001.rb.txt,
63
- spec/handlers/method_handler_spec.rb: Don't add default @return if a
64
- @overload has @return. Backports #458, referencing #467
1093
+ spec/handlers/method_handler_spec.rb: don't add default @return if a
1094
+ @overload has @return. fixes #458
65
1095
 
66
- * lib/yard/code_objects/base.rb, spec/code_objects/base_spec.rb: Don't
67
- discard tags by (see ...). Backports #457 referencing #467
1096
+ * lib/yard/parser/ruby/ruby_parser.rb, spec/parser/ruby/ruby_parser_spec.rb:
1097
+ fix %w() source in []/[]= parsed context. fixes #461
68
1098
 
69
1099
  2012-01-19 Loren Segal <lsegal@soen.ca>
70
1100
 
71
- * lib/yard/handlers/ruby/macro_handler_methods.rb: Allow processing of macros
72
- attached to Object class (via inheritance) Backports and closes #465,
73
- referencing #467
74
-
75
1101
  * lib/yard/handlers/ruby/macro_handler_methods.rb,
76
1102
  spec/handlers/macro_handler_spec.rb: Do not auto-detect DSL methods as method
77
- objects if parameter name is not a valid method name Backports and closes
78
- #464, referencing #467
1103
+ objects if parameter name is not a valid method name Closes #464
79
1104
 
80
1105
  * lib/yard/registry_store.rb, spec/registry_store_spec.rb: Remove heuristics
81
- that disable single object db Closes #466 referencing #467
1106
+ that disable single object db Closes #466
1107
+
1108
+ * lib/yard/handlers/ruby/macro_handler_methods.rb: Allow processing of macros
1109
+ attached to Object class (via inheritance) Closes #465
1110
+
1111
+ 2012-01-18 yuta yamada <yamada@clear-code.com>
1112
+
1113
+ * lib/yard/templates/engine.rb: fix typo (toe => to)
1114
+
1115
+ * lib/yard/server/adapter.rb: fix typo
1116
+
1117
+ * lib/yard/core_ext/symbol_hash.rb: fix typo (period)
1118
+
1119
+ 2012-01-16 Loren Segal <lsegal@soen.ca>
1120
+
1121
+ * lib/yard/docstring.rb, lib/yard/tags/library.rb, spec/docstring_spec.rb,
1122
+ spec/tags/library_spec.rb: Allow '.' in tag names for namespacing. Tags can
1123
+ now be registered as 'foo.bar' to namespace tags for a 'foo' library or
1124
+ plugin. Note that the registered tag methods in the Library will use
1125
+ underscores in place of the '.', so calling: Tags::Library.define_tag
1126
+ 'Description', 'foo.bar', :with_types Will register the method:
1127
+ Tags::Library#foo_bar_tag(text) Closes #452
1128
+
1129
+ * templates/default/module/html/item_summary.erb: Note titles should be
1130
+ lowercase in summary
1131
+
1132
+ * spec/templates/examples/module003.html, spec/templates/module_spec.rb,
1133
+ .../default/module/html/inherited_attributes.erb,
1134
+ templates/default/module/setup.rb: Run verifier on inherited attributes list
1135
+ Closes #432
1136
+
1137
+ 2012-01-10 Loren Segal <lsegal@soen.ca>
1138
+
1139
+ * .../method_details/html/method_signature.erb,
1140
+ .../default/module/html/attribute_details.erb,
1141
+ .../default/module/html/inherited_attributes.erb,
1142
+ .../default/module/html/inherited_methods.erb,
1143
+ templates/default/module/html/item_summary.erb,
1144
+ .../default/module/html/method_details_list.erb,
1145
+ templates/default/module/setup.rb: Update templates to enable embed_mixins to
1146
+ embed mixins into current namespace's method list
1147
+
1148
+ * templates/default/fulldoc/html/css/style.css: Update css styling for new
1149
+ embedded mixin method badges and info
1150
+
1151
+ * spec/templates/examples/module004.html, spec/templates/module_spec.rb: Add
1152
+ template specs for embed_mixins
1153
+
1154
+ * lib/yard/templates/helpers/base_helper.rb,
1155
+ lib/yard/templates/helpers/html_helper.rb,
1156
+ templates/default/method_details/setup.rb: Add BaseHelper#owner to represent
1157
+ the object generated for the overall page
1158
+
1159
+ * lib/yard/cli/yardoc.rb, spec/cli/yardoc_spec.rb: Add --embed-mixins option
1160
+ to set :embed_mixins
1161
+
1162
+ * bin/yard, bin/yardoc, bin/yri: Rewrite binaries so that they "require
1163
+ 'yard'"
1164
+
1165
+ * spec/templates/examples/class001.html,
1166
+ templates/default/fulldoc/html/css/style.css: No more lowercasing in css for
1167
+ note title badges
1168
+
1169
+ * spec/templates/examples/module001.html,
1170
+ .../default/module/html/inherited_attributes.erb: Show proper inherited
1171
+ attribute names
1172
+
1173
+ 2012-01-09 Loren Segal <lsegal@soen.ca>
1174
+
1175
+ * lib/yard.rb: Update version in 0.8.0-master branch to reflect 0.8.0 pre
1176
+ version
1177
+
1178
+ * README.md: Update docs to reflect removed yard-graph
1179
+
1180
+ * bin/yard-graph, bin/yard-server: Remove old binaries (yard-graph,
1181
+ yard-server) Use `yard graph` and `yard server` instead.
1182
+
1183
+ 2012-01-08 Loren Segal <lsegal@soen.ca>
1184
+
1185
+ * spec/handlers/c/mixin_handler_spec.rb: Add MixinHandler specs
1186
+
1187
+ * lib/yard/handlers/c/constant_handler.rb,
1188
+ lib/yard/handlers/c/handler_methods.rb,
1189
+ spec/handlers/c/constant_handler_spec.rb: Add constant handler specs
1190
+
1191
+ * lib/yard/handlers/c/handler_methods.rb: Fix typo in handle_alias
1192
+
1193
+ * lib/yard/handlers/c/base.rb, spec/handlers/c/method_handler_spec.rb,
1194
+ spec/parser/c_parser_spec.rb: Move CParser specs to MethodHandler specs and
1195
+ add more tests
1196
+
1197
+ * spec/handlers/c/module_handler_spec.rb: Add module specs
1198
+
1199
+ * lib/yard/handlers/c/handler_methods.rb,
1200
+ spec/handlers/c/class_handler_spec.rb: Ensure class registers file/line info
1201
+ for declaration
1202
+
1203
+ * spec/handlers/c/alias_handler_spec.rb,
1204
+ spec/handlers/c/attribute_handler_spec.rb,
1205
+ spec/handlers/c/class_handler_spec.rb, spec/handlers/c/path_handler_spec.rb,
1206
+ spec/handlers/c/spec_helper.rb, spec/parser/c_parser_spec.rb: Move handler
1207
+ tests from CParser and add extra tests for ClassHandler
1208
+
1209
+ * spec/handlers/c/init_handler_spec.rb,
1210
+ spec/handlers/c/override_comment_handler_spec.rb,
1211
+ spec/handlers/c/spec_helper.rb: Rewrite handler specs
1212
+
1213
+ * spec/parser/c_parser_spec.rb: Rewrite tests
1214
+
1215
+ * lib/yard/parser/c/c_parser.rb, lib/yard/parser/c/statement.rb: Allow C
1216
+ parser to ignore bodies
1217
+
1218
+ * lib/yard/handlers/c/handler_methods.rb,
1219
+ lib/yard/handlers/c/init_handler.rb,
1220
+ lib/yard/handlers/c/override_comment_handler.rb: Add fully qualified path
1221
+ names in handler code
1222
+
1223
+ * lib/yard/handlers/c/base.rb: Fix lookups for non-capitalized variables
1224
+
1225
+ * lib/yard/handlers/base.rb, lib/yard/handlers/c/base.rb,
1226
+ lib/yard/handlers/c/handler_methods.rb, lib/yard/handlers/c/init_handler.rb:
1227
+ Refactor Handlers::Base#register() to use multiple register_* methods so that
1228
+ subclasses can override specific registration behaviour
1229
+
1230
+ * lib/yard/parser/c/statement.rb: Comment#comments should return self
1231
+
1232
+ * lib/yard/handlers/c/init_handler.rb: Allow for init_Foo() syntax in C files
1233
+
1234
+ * lib/yard/handlers/c/base.rb: Rewrite process_file() to no longer use
1235
+ ignored_files (not needed with new parser loop)
1236
+
1237
+ * spec/code_objects/constants_spec.rb: Fix broken spec since Continuation is
1238
+ no longer loaded in runtime during tests
1239
+
1240
+ * lib/yard/parser/source_parser.rb: Use new SourceParser.new arguments
1241
+
1242
+ * lib/yard/autoload.rb, lib/yard/parser/c_parser.rb,
1243
+ spec/parser/c_parser_spec.rb: Move Parser::CParser to Parser::C::CParser (new
1244
+ implementation)
1245
+
1246
+ * lib/yard.rb, lib/yard/handlers/base.rb, lib/yard/handlers/processor.rb,
1247
+ lib/yard/logging.rb, lib/yard/parser/c_parser.rb,
1248
+ lib/yard/parser/source_parser.rb, spec/handlers/processor_spec.rb,
1249
+ spec/handlers/ruby/base_spec.rb, spec/handlers/ruby/legacy/base_spec.rb,
1250
+ spec/handlers/spec_helper.rb, spec/parser/source_parser_spec.rb: Removes
1251
+ continuations from YARD Replaces continuations with recursive parsing using
1252
+ a new OrderedParser class. This comes with a number of API changes: 1.
1253
+ YARD::Parser::LoadOrderError is removed 2. SourceParser.new() no longer
1254
+ accepts load_order_errors argument 3. Processor.new(...) now takes 1 single
1255
+ argument `parser`. 4. Processor#load_order_errors is removed Instead,
1256
+ Parser::OrderedParser is added and sent to the global state during parsing.
1257
+ `Processor#parse_remaining_files` replaces the raising of LoadOrderError,
1258
+ which performs the parsing recursively by calling `OrderedParser#parse`
1259
+ (which continues shifting the files queue) rather than with continuations.
1260
+
1261
+ * lib/yard/handlers/c/constant_handler.rb,
1262
+ lib/yard/handlers/c/handler_methods.rb: Implement ConstantHandler
1263
+
1264
+ * lib/yard/handlers/c/alias_handler.rb,
1265
+ lib/yard/handlers/c/handler_methods.rb: Move handle_alias into HandlerMethods
1266
+
1267
+ * lib/yard/handlers/base.rb: Set source type when registering objects
1268
+
1269
+ * lib/yard/handlers/c/attribute_handler.rb,
1270
+ lib/yard/handlers/c/handler_methods.rb, lib/yard/handlers/c/path_handler.rb:
1271
+ Fix EOLs
1272
+
1273
+ * lib/yard/autoload.rb: Reorganize autoload for Handlers::C
1274
+
1275
+ * lib/yard/autoload.rb, lib/yard/handlers/c/mixin_handler.rb: Add
1276
+ C::MixinHandler
1277
+
1278
+ * lib/yard/autoload.rb, lib/yard/handlers/c/alias_handler.rb,
1279
+ lib/yard/handlers/c/attribute_handler.rb, lib/yard/handlers/c/base.rb,
1280
+ lib/yard/handlers/c/class_handler.rb,
1281
+ lib/yard/handlers/c/constant_handler.rb,
1282
+ lib/yard/handlers/c/handler_methods.rb, lib/yard/handlers/c/init_handler.rb,
1283
+ lib/yard/handlers/c/method_handler.rb, lib/yard/handlers/c/module_handler.rb,
1284
+ lib/yard/handlers/c/override_comment_handler.rb,
1285
+ lib/yard/handlers/c/path_handler.rb, lib/yard/handlers/c/symbol_handler.rb,
1286
+ lib/yard/handlers/processor.rb, spec/handlers/c/init_handler_spec.rb,
1287
+ spec/handlers/c/override_comment_handler_spec.rb,
1288
+ spec/handlers/c/spec_helper.rb: Add initial Handlers::C implementations and
1289
+ add handler specific tests
1290
+
1291
+ * lib/yard/handlers/processor.rb: Update processor to allow for
1292
+ handles?(handler, processor) method declaration
1293
+
1294
+ * lib/yard/handlers/base.rb: Change Base#register to only add docstring if
1295
+ statement.comments is a String or Array object
1296
+
1297
+ * lib/yard/autoload.rb, lib/yard/parser/c/c_parser.rb,
1298
+ lib/yard/parser/c/comment_parser.rb, lib/yard/parser/c/statement.rb,
1299
+ lib/yard/parser/source_parser.rb, spec/parser/c_parser_spec.rb: Initial
1300
+ implementation of Parser::C::CParser
82
1301
 
83
1302
  2012-01-07 Ankur Patel <ankur.patel@ymail.com>
84
1303
 
85
1304
  * templates/default/fulldoc/html/js/full_list.js: Ignoring non-printable
86
- characters in search Closes #446 referencing #467
1305
+ characters in search
87
1306
 
88
1307
  2012-01-05 Sergey Avseyev <sergey.avseyev@gmail.com>
89
1308
 
90
1309
  * lib/yard/templates/helpers/html_helper.rb,
91
1310
  spec/templates/helpers/html_helper_spec.rb: Do not escape snippets twice
92
1311
  Markup helpers aleardy done escaping. This is actually partial revert of
93
- 414e53424c28129625d743e41b15556f150fe083 Closes #445 referencing #467
94
-
95
- 2012-01-19 Loren Segal <lsegal@soen.ca>
96
-
97
- * spec/templates/examples/module001.html,
98
- spec/templates/examples/module003.html, spec/templates/module_spec.rb,
99
- .../default/module/html/inherited_attributes.erb,
100
- templates/default/module/setup.rb: Run verifier on inherited attributes list
101
- Backports #432 referencing #467 Conflicts:
102
- templates/default/module/html/inherited_attributes.erb
1312
+ 414e53424c28129625d743e41b15556f150fe083
103
1313
 
104
1314
  2012-01-02 Loren Segal <lsegal@soen.ca>
105
1315
 
@@ -150,6 +1360,12 @@
150
1360
  constructor (which is now optional). Instead, DocServerHelper#url_for should
151
1361
  be used to generate a URL with a prefix. Closes #426
152
1362
 
1363
+ 2011-12-06 yuta yamada <yamada@clear-code.com>
1364
+
1365
+ * docs/GettingStarted.md: fix piglatin description (parsed to be ruby syntax)
1366
+
1367
+ * docs/Tags.md: fix tag description (parsed to be ruby syntax)
1368
+
153
1369
  2011-12-04 Loren Segal <lsegal@soen.ca>
154
1370
 
155
1371
  * lib/yard/templates/helpers/html_helper.rb,
@@ -351,6 +1567,11 @@
351
1567
  normally throws the NoMethodError. Also see:
352
1568
  http://www.nach-vorne.de/2008/2/28/undef_method-remove_method/index.html
353
1569
 
1570
+ 2011-10-14 Fabian Schwahn <fabian.schwahn@gmail.com>
1571
+
1572
+ * lib/yard/cli/server.rb, spec/cli/server_spec.rb: removed rubygems
1573
+ requirement, added handling of load errors and added tests
1574
+
354
1575
  2011-10-07 Loren Segal <lsegal@soen.ca>
355
1576
 
356
1577
  * lib/yard/parser/ruby/ruby_parser.rb, spec/parser/ruby/ruby_parser_spec.rb:
@@ -400,6 +1621,10 @@
400
1621
  * lib/yard/parser/ruby/ruby_parser.rb, spec/parser/ruby/ruby_parser_spec.rb:
401
1622
  Fix broken ruby parser specs
402
1623
 
1624
+ 2011-09-17 Fabian Schwahn <fabian.schwahn@gmail.com>
1625
+
1626
+ * lib/yard/cli/server.rb: add gemfile command to yard server
1627
+
403
1628
  2011-09-07 Loren Segal <lsegal@soen.ca>
404
1629
 
405
1630
  * spec/code_objects/extra_file_object_spec.rb, spec/handlers/base_spec.rb,