Guest User

Untitled

a guest
Mar 5th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.65 KB | None | 0 0
  1.  
  2. New patches:
  3.  
  4. [Documented lib/proto/src/controller/main.rb and lib/ramaze/template/ezamar.rb while also making modifications to rake task undocumented (now undocumented-module, undocumented still exists and undocumented-verbose added). Added name to list of 'authours' in authpurs task :P
  5. comp.lang.zenix+ramaze@gmail.com**20070614044419] {
  6. hunk ./lib/proto/src/controller/main.rb 18
  7. + # the string returned at the end of the function is used as the html body
  8. + # if there is no template for the action. if there is a template, the string
  9. + # is silently ignored
  10. hunk ./lib/ramaze/template/ezamar.rb 19
  11. + # Transforms an action into the XHTML code for parsing and returns
  12. + # the result
  13. hunk ./rake_tasks/maintaince.rake 209
  14. + 'comp.lang.zenix+ramaze@gmail.com' => 'Colin Shea',
  15. hunk ./rake_tasks/maintaince.rake 252
  16. -task 'undocumented' do
  17. +task 'undocumented-module' do
  18. hunk ./rake_tasks/maintaince.rake 315
  19. + puts "\nAll undocumented methods\n\n"
  20. +
  21. hunk ./rake_tasks/maintaince.rake 322
  22. - puts "#{file.ljust(max)}\t[#{[mss, tss].join('/').center(8)}]".send(color)
  23. - puts m.join(', ')
  24. + complete = ms.to_f/ts.to_f
  25. + mthc = "method"
  26. + if ratio != 100
  27. + puts "#{file.ljust(max)}\t[#{[mss, tss].join('/').center(8)}]".send(color)
  28. + mthc = "methods" if ts > 1
  29. + if $VERBOSE
  30. + puts "Of #{tss} #{mthc}, #{mss} still needs documenting (#{100 - ratio}% documented, #{ratio}% undocumented)".send(color)
  31. + mthc = "method"
  32. + mthc = "methods" if ms > 1
  33. + print "#{mthc.capitalize}: "
  34. + end
  35. + puts m.join(', ')
  36. + puts
  37. + end
  38. hunk ./rake_tasks/maintaince.rake 338
  39. - puts
  40. - puts "The colors mean percentages of documentation (ratio of undocumented methods to total):"
  41. + puts "The colors mean percentages of documentation left (ratio of undocumented methods to total):"
  42. hunk ./rake_tasks/maintaince.rake 344
  43. +
  44. +task 'undocumented' do
  45. + $VERBOSE = false
  46. + Rake::Task['undocumented-module'].execute
  47. +end
  48. +
  49. +task 'undocumented-verbose' do
  50. + $VERBOSE = true
  51. + Rake::Task['undocumented-module'].execute
  52. +end
  53. }
  54.  
  55. Context:
  56.  
  57. [add additional information about the colors for the `rake undocumented` task
  58. Michael Fellinger <m.fellinger@gmail.com>**20070614025528]
  59. [add ramaze/inform/knotify over Inform::Knotify
  60. Michael Fellinger <m.fellinger@gmail.com>**20070613090851]
  61. [total rewrite of the undocumented task, better matching using StringScanner and nicer output using colors.
  62. Michael Fellinger <m.fellinger@gmail.com>**20070613115226]
  63. [docs for the templating-engines, Template, Session and Tidy
  64. Michael Fellinger <m.fellinger@gmail.com>**20070613105351]
  65. [Add a couple of docs for Action and Dispatcher
  66. Michael Fellinger <m.fellinger@gmail.com>**20070613103539]
  67. [experimental compiling of templates, don't use it yet unless you are in serious demand of large speed-increase for mostly static templates.
  68. Michael Fellinger <m.fellinger@gmail.com>**20070613044247]
  69. [Xosd should be able to display multiple lines at once.
  70. Michael Fellinger <m.fellinger@gmail.com>**20070613043247]
  71. [Optional dynamic font size for XOSD
  72. Clive Crous <clive@crous.co.za>**20070612174159]
  73. [change @template_root of controller when not given
  74. Jonathan Buch <jo@helloit.fi>**20070611162751]
  75. [simplify the template handling again, removing the (for now) unused Global.compile option
  76. Michael Fellinger <m.fellinger@gmail.com>**20070611110808]
  77. [add a Cache::startup for bulk initialization, clear the Cache.compiled and Cache.resolved on SourceReloadHooks#after_safe_load_succeed
  78. Michael Fellinger <m.fellinger@gmail.com>**20070611110005]
  79. [Improve performance by caching path lookups (need to add invalidation on SourceReload).
  80. Michael Fellinger <m.fellinger@gmail.com>**20070611103742]
  81. [add the example i use to find memory-leaks, might be useful for someone.
  82. Michael Fellinger <m.fellinger@gmail.com>**20070610233512]
  83. [Fix memory-leak, Action should _never_ _ever_ use traits.
  84. Michael Fellinger <m.fellinger@gmail.com>**20070610232713]
  85. [Fixing Controller.current
  86. Michael Fellinger <m.fellinger@gmail.com>**20070610225405]
  87. [round up last patch, adding some files i overlooked and removing deprecated ones.
  88. Michael Fellinger <m.fellinger@gmail.com>**20070610155119]
  89. [Huge refactoring, making Action the central part for rendering. Please take a look at the changes until I can write some comprehensive summary (or wait with applying).
  90. Michael Fellinger <m.fellinger@gmail.com>**20070610154623]
  91. [Fix OpenID helper IdentityHelper
  92. Michael Fellinger <m.fellinger@gmail.com>**20070608091939]
  93. [Pager doesn't need Og anymore, small comment about exit! in adapter
  94. Jonathan Buch <jo@helloit.fi>**20070608081943]
  95. [rather big change to Ezamar, fitting it to be able to compile before evaluation.
  96. Michael Fellinger <m.fellinger@gmail.com>**20070607114704]
  97. [add usage of Global.compile for erubis
  98. Michael Fellinger <m.fellinger@gmail.com>**20070607111650]
  99. [use tested doc in Controller::render
  100. Michael Fellinger <m.fellinger@gmail.com>**20070607111402]
  101. [get rid of a warning about undefined @files/@paths in sourereload
  102. Michael Fellinger <m.fellinger@gmail.com>**20070607044428]
  103. [Introducing experimental cached compilation (for HAML so far, and not ready for production, just a prototype) turn on Global.compile at your own risk ;)
  104. Michael Fellinger <m.fellinger@gmail.com>**20070607044136]
  105. [As expected, adding tests shows bugs :)
  106. rff.rff@gmail.com**20070605210326
  107.  
  108. ]
  109. [CGI.rb has extremely bad names.
  110. rff.rff@gmail.com**20070605203514
  111. escape() does url_encode
  112. unescape does url_decode
  113. so renamed them to this.
  114. Also added html_escape and html_unescape
  115. and one-letter aliases h and u.
  116. This behaviour comes for free by including ERb::Util but I don't know
  117. if we want to load all that (I'd say yes).
  118. All tests still pass, so the test suite is incomplete.
  119. ]
  120. [ramaze with no opts should return -1
  121. rff.rff@gmail.com**20070605193343]
  122. [ENV SWIFT and EVENT now trigger require of swiftiplied or evented mongrel
  123. Michael Fellinger <m.fellinger@gmail.com>**20070606032545]
  124. [caching for our custom Request#params
  125. Michael Fellinger <m.fellinger@gmail.com>**20070605150620]
  126. [fixing all those annoying spaces on empty lines and adapt the add-copyright task not to add one automatically but just notice.
  127. Michael Fellinger <m.fellinger@gmail.com>**20070605110856]
  128. [mapping explanation in proto
  129. rff.rff@gmail.com**20070605105858]
  130. [first TestDoc task
  131. Michael Fellinger <m.fellinger@gmail.com>**20070605105608]
  132. [fix typo in LinkHelper doc
  133. Michael Fellinger <m.fellinger@gmail.com>**20070605105322]
  134. [remove Base and Index as default mappings to '/'
  135. Michael Fellinger <m.fellinger@gmail.com>**20070605105003]
  136. [proto enhancement
  137. rff.rff@gmail.com**20070605094901
  138. * integrated action-method, template and Page element
  139. * added a template-less action
  140. * changed index so that it gives slightly nicer informations
  141. ]
  142. [update the authors task and doc/AUTHORS
  143. Michael Fellinger <m.fellinger@gmail.com>**20070605034048]
  144. [little clarification of code in Controller::render
  145. Michael Fellinger <m.fellinger@gmail.com>**20070605033155]
  146. [extend PartialHelper with render_template
  147. Michael Fellinger <m.fellinger@gmail.com>**20070605033013]
  148. [Add :collect trait to Localize, disable collecting for more speed
  149. Jonathan Buch <jo@helloit.fi>**20070604141845]
  150. [pager need og/collection to run
  151. rff.rff@gmail.com**20070603170842]
  152. [use HAsh#fetch when getting trait or default in render.rb
  153. rff.rff@gmail.com**20070603165119]
  154. [Controller::cached? #=> Controller::should_cache?
  155. Michael Fellinger <m.fellinger@gmail.com>**20070603101809]
  156. [remove the mostly static trait :transform_pipeline in Ezamar with a constant, watch out since that may affect your code if you added custom transformers.
  157. Michael Fellinger <m.fellinger@gmail.com>**20070603072136]
  158. [add automatic require for win32console on windows (if installed) and sanitize @colorize/trait[:colorize] a bit
  159. Michael Fellinger <m.fellinger@gmail.com>**20070528151056]
  160. [add docs for Controller::render
  161. Michael Fellinger <m.fellinger@gmail.com>**20070602184401]
  162. [Controller::render gets a default empty array for params and params are each called .to_s upon to make escaping possible and unify the effects of calling internal against being called external.
  163. Michael Fellinger <m.fellinger@gmail.com>**20070602183802]
  164. [Add render partial implementation + specs
  165. Jonathan Buch <jo@helloit.fi>**20070602085828]
  166. [constantize a couple of traits in Dispatcher, Dispatcher.trait[:handle_error] is now Dispatcher::Error::HANDLE_ERROR, Dispatcher::Action.trait[:filter] is now Dispatcher::Action::FILTER, sanitize error spec and add some docs.
  167. Michael Fellinger <m.fellinger@gmail.com>**20070601054206]
  168. [Common error classes, tiny change to Global, StackHelper expects url instead of using R() itself
  169. Jonathan Buch <jo@helloit.fi>**20070601073118]
  170. [some santizing and docs for Session.
  171. Michael Fellinger <m.fellinger@gmail.com>**20070531115106]
  172. [speed up path resolution a little bit by directly instantinating Action
  173. Michael Fellinger <m.fellinger@gmail.com>**20070531112914]
  174. [fixing link building of the whywiki example
  175. Martin Hilbig blueonyx@dev-area.net**20070531091245]
  176. [document Informing and add some minor speed increase (increase will be smaller than most loggers would take to actual output)
  177. Michael Fellinger <m.fellinger@gmail.com>**20070531034608]
  178. [DRY up template.rb and add some docs
  179. Michael Fellinger <m.fellinger@gmail.com>**20070531032129]
  180. [docs for Action
  181. Michael Fellinger <m.fellinger@gmail.com>**20070530121906]
  182. [a couple of docs for Controller
  183. Michael Fellinger <m.fellinger@gmail.com>**20070530121441]
  184. [make the life for people who want to run specs without RUBYOPT easier
  185. Michael Fellinger <m.fellinger@gmail.com>**20070530083719]
  186. [small update to the FAQ
  187. Michael Fellinger <m.fellinger@gmail.com>**20070530050031]
  188. [add a Inform.ignored_tags so you can skip tags like :debug easily
  189. Michael Fellinger <m.fellinger@gmail.com>**20070530045400]
  190. [split up SourceReloadHooks::after_safe_load into after_safe_load_failed and after_safe_load_succeed, you get additionally the error-object on failure (also fix the s/save/safe typo)
  191. Michael Fellinger <m.fellinger@gmail.com>**20070530045149]
  192. [put the hooks into their own module SourceReloadHooks
  193. Michael Fellinger <m.fellinger@gmail.com>**20070530044241]
  194. [another wrapper, this time around save_load, with file and status for after
  195. Michael Fellinger <m.fellinger@gmail.com>**20070529125103]
  196. [SourceReload#before_reload/after_reload method stubs, to be filled by YOU :)
  197. Michael Fellinger <m.fellinger@gmail.com>**20070529124135]
  198. [Controller.trait[:template_extensions] is now Controller:TEMPLATE_ENGINES and retains order of your engines as you require them, you can also change it afterwards easily (wasn't possible with the Hash we used before)
  199. Michael Fellinger <m.fellinger@gmail.com>**20070529084946]
  200. [flatten atoms for R()
  201. Michael Fellinger <m.fellinger@gmail.com>**20070529071331]
  202. [fix LinkHelper to use Controller.current instead of self
  203. Michael Fellinger <m.fellinger@gmail.com>**20070529071051]
  204. [fixing memcached for multithreading
  205. Michael Fellinger <m.fellinger@gmail.com>**20070528141851]
  206. [Global.public_root went Global.public_proto and Controller.public_root went Global.public_root
  207. Michael Fellinger <m.fellinger@gmail.com>**20070528130202]
  208. [typo in LinkHelper docs
  209. Michael Fellinger <m.fellinger@gmail.com>**20070528130105]
  210. [Add PagerHelper (port from Nitro)
  211. Jonathan Buch <jo@helloit.fi>**20070528113953]
  212. [add a release task
  213. Michael Fellinger <m.fellinger@gmail.com>**20070528021404]
  214. [TAG 0.1.1
  215. Michael Fellinger <m.fellinger@gmail.com>**20070526204752]
  216. Patch bundle hash:
  217. c12dffddb804fa4040ae1c1a7070c43ff0d9c06c
Add Comment
Please, Sign In to add comment