Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Documentation patches
- New patches:
- [Documented main.rb and ezamar.rb
- comp.lang.zenix+ramaze@gmail.com**20070614050025
- Added rough documentation to lib/proto/src/controller/main.rb and lib/ramaze/template/ezamar.rb
- ] {
- hunk ./lib/proto/src/controller/main.rb 18
- + # the string returned at the end of the function is used as the html body
- + # if there is no template for the action. if there is a template, the string
- + # is silently ignored
- hunk ./lib/ramaze/template/ezamar.rb 19
- + # Transforms an action into the XHTML code for parsing and returns
- + # the result
- }
- Context:
- [add additional information about the colors for the `rake undocumented` task
- Michael Fellinger <m.fellinger@gmail.com>**20070614025528]
- [add ramaze/inform/knotify over Inform::Knotify
- Michael Fellinger <m.fellinger@gmail.com>**20070613090851]
- [total rewrite of the undocumented task, better matching using StringScanner and nicer output using colors.
- Michael Fellinger <m.fellinger@gmail.com>**20070613115226]
- [docs for the templating-engines, Template, Session and Tidy
- Michael Fellinger <m.fellinger@gmail.com>**20070613105351]
- [Add a couple of docs for Action and Dispatcher
- Michael Fellinger <m.fellinger@gmail.com>**20070613103539]
- [experimental compiling of templates, don't use it yet unless you are in serious demand of large speed-increase for mostly static templates.
- Michael Fellinger <m.fellinger@gmail.com>**20070613044247]
- [Xosd should be able to display multiple lines at once.
- Michael Fellinger <m.fellinger@gmail.com>**20070613043247]
- [Optional dynamic font size for XOSD
- Clive Crous <clive@crous.co.za>**20070612174159]
- [change @template_root of controller when not given
- Jonathan Buch <jo@helloit.fi>**20070611162751]
- [simplify the template handling again, removing the (for now) unused Global.compile option
- Michael Fellinger <m.fellinger@gmail.com>**20070611110808]
- [add a Cache::startup for bulk initialization, clear the Cache.compiled and Cache.resolved on SourceReloadHooks#after_safe_load_succeed
- Michael Fellinger <m.fellinger@gmail.com>**20070611110005]
- [Improve performance by caching path lookups (need to add invalidation on SourceReload).
- Michael Fellinger <m.fellinger@gmail.com>**20070611103742]
- [add the example i use to find memory-leaks, might be useful for someone.
- Michael Fellinger <m.fellinger@gmail.com>**20070610233512]
- [Fix memory-leak, Action should _never_ _ever_ use traits.
- Michael Fellinger <m.fellinger@gmail.com>**20070610232713]
- [Fixing Controller.current
- Michael Fellinger <m.fellinger@gmail.com>**20070610225405]
- [round up last patch, adding some files i overlooked and removing deprecated ones.
- Michael Fellinger <m.fellinger@gmail.com>**20070610155119]
- [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).
- Michael Fellinger <m.fellinger@gmail.com>**20070610154623]
- [Fix OpenID helper IdentityHelper
- Michael Fellinger <m.fellinger@gmail.com>**20070608091939]
- [Pager doesn't need Og anymore, small comment about exit! in adapter
- Jonathan Buch <jo@helloit.fi>**20070608081943]
- [rather big change to Ezamar, fitting it to be able to compile before evaluation.
- Michael Fellinger <m.fellinger@gmail.com>**20070607114704]
- [add usage of Global.compile for erubis
- Michael Fellinger <m.fellinger@gmail.com>**20070607111650]
- [use tested doc in Controller::render
- Michael Fellinger <m.fellinger@gmail.com>**20070607111402]
- [get rid of a warning about undefined @files/@paths in sourereload
- Michael Fellinger <m.fellinger@gmail.com>**20070607044428]
- [Introducing experimental cached compilation (for HAML so far, and not ready for production, just a prototype) turn on Global.compile at your own risk ;)
- Michael Fellinger <m.fellinger@gmail.com>**20070607044136]
- [As expected, adding tests shows bugs :)
- rff.rff@gmail.com**20070605210326
- ]
- [CGI.rb has extremely bad names.
- rff.rff@gmail.com**20070605203514
- escape() does url_encode
- unescape does url_decode
- so renamed them to this.
- Also added html_escape and html_unescape
- and one-letter aliases h and u.
- This behaviour comes for free by including ERb::Util but I don't know
- if we want to load all that (I'd say yes).
- All tests still pass, so the test suite is incomplete.
- ]
- [ramaze with no opts should return -1
- rff.rff@gmail.com**20070605193343]
- [ENV SWIFT and EVENT now trigger require of swiftiplied or evented mongrel
- Michael Fellinger <m.fellinger@gmail.com>**20070606032545]
- [caching for our custom Request#params
- Michael Fellinger <m.fellinger@gmail.com>**20070605150620]
- [fixing all those annoying spaces on empty lines and adapt the add-copyright task not to add one automatically but just notice.
- Michael Fellinger <m.fellinger@gmail.com>**20070605110856]
- [mapping explanation in proto
- rff.rff@gmail.com**20070605105858]
- [first TestDoc task
- Michael Fellinger <m.fellinger@gmail.com>**20070605105608]
- [fix typo in LinkHelper doc
- Michael Fellinger <m.fellinger@gmail.com>**20070605105322]
- [remove Base and Index as default mappings to '/'
- Michael Fellinger <m.fellinger@gmail.com>**20070605105003]
- [proto enhancement
- rff.rff@gmail.com**20070605094901
- * integrated action-method, template and Page element
- * added a template-less action
- * changed index so that it gives slightly nicer informations
- ]
- [update the authors task and doc/AUTHORS
- Michael Fellinger <m.fellinger@gmail.com>**20070605034048]
- [little clarification of code in Controller::render
- Michael Fellinger <m.fellinger@gmail.com>**20070605033155]
- [extend PartialHelper with render_template
- Michael Fellinger <m.fellinger@gmail.com>**20070605033013]
- [Add :collect trait to Localize, disable collecting for more speed
- Jonathan Buch <jo@helloit.fi>**20070604141845]
- [pager need og/collection to run
- rff.rff@gmail.com**20070603170842]
- [use HAsh#fetch when getting trait or default in render.rb
- rff.rff@gmail.com**20070603165119]
- [Controller::cached? #=> Controller::should_cache?
- Michael Fellinger <m.fellinger@gmail.com>**20070603101809]
- [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.
- Michael Fellinger <m.fellinger@gmail.com>**20070603072136]
- [add automatic require for win32console on windows (if installed) and sanitize @colorize/trait[:colorize] a bit
- Michael Fellinger <m.fellinger@gmail.com>**20070528151056]
- [add docs for Controller::render
- Michael Fellinger <m.fellinger@gmail.com>**20070602184401]
- [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.
- Michael Fellinger <m.fellinger@gmail.com>**20070602183802]
- [Add render partial implementation + specs
- Jonathan Buch <jo@helloit.fi>**20070602085828]
- [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.
- Michael Fellinger <m.fellinger@gmail.com>**20070601054206]
- [Common error classes, tiny change to Global, StackHelper expects url instead of using R() itself
- Jonathan Buch <jo@helloit.fi>**20070601073118]
- [some santizing and docs for Session.
- Michael Fellinger <m.fellinger@gmail.com>**20070531115106]
- [speed up path resolution a little bit by directly instantinating Action
- Michael Fellinger <m.fellinger@gmail.com>**20070531112914]
- [fixing link building of the whywiki example
- Martin Hilbig blueonyx@dev-area.net**20070531091245]
- [document Informing and add some minor speed increase (increase will be smaller than most loggers would take to actual output)
- Michael Fellinger <m.fellinger@gmail.com>**20070531034608]
- [DRY up template.rb and add some docs
- Michael Fellinger <m.fellinger@gmail.com>**20070531032129]
- [docs for Action
- Michael Fellinger <m.fellinger@gmail.com>**20070530121906]
- [a couple of docs for Controller
- Michael Fellinger <m.fellinger@gmail.com>**20070530121441]
- [make the life for people who want to run specs without RUBYOPT easier
- Michael Fellinger <m.fellinger@gmail.com>**20070530083719]
- [small update to the FAQ
- Michael Fellinger <m.fellinger@gmail.com>**20070530050031]
- [add a Inform.ignored_tags so you can skip tags like :debug easily
- Michael Fellinger <m.fellinger@gmail.com>**20070530045400]
- [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)
- Michael Fellinger <m.fellinger@gmail.com>**20070530045149]
- [put the hooks into their own module SourceReloadHooks
- Michael Fellinger <m.fellinger@gmail.com>**20070530044241]
- [another wrapper, this time around save_load, with file and status for after
- Michael Fellinger <m.fellinger@gmail.com>**20070529125103]
- [SourceReload#before_reload/after_reload method stubs, to be filled by YOU :)
- Michael Fellinger <m.fellinger@gmail.com>**20070529124135]
- [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)
- Michael Fellinger <m.fellinger@gmail.com>**20070529084946]
- [flatten atoms for R()
- Michael Fellinger <m.fellinger@gmail.com>**20070529071331]
- [fix LinkHelper to use Controller.current instead of self
- Michael Fellinger <m.fellinger@gmail.com>**20070529071051]
- [fixing memcached for multithreading
- Michael Fellinger <m.fellinger@gmail.com>**20070528141851]
- [Global.public_root went Global.public_proto and Controller.public_root went Global.public_root
- Michael Fellinger <m.fellinger@gmail.com>**20070528130202]
- [typo in LinkHelper docs
- Michael Fellinger <m.fellinger@gmail.com>**20070528130105]
- [Add PagerHelper (port from Nitro)
- Jonathan Buch <jo@helloit.fi>**20070528113953]
- [add a release task
- Michael Fellinger <m.fellinger@gmail.com>**20070528021404]
- [TAG 0.1.1
- Michael Fellinger <m.fellinger@gmail.com>**20070526204752]
- Patch bundle hash:
- 425316ce17e01af55f4cf262eb3d51cd31797c05
- ## Rake task patches
- New patches:
- [Documented main.rb and ezamar.rb
- comp.lang.zenix+ramaze@gmail.com**20070614050025
- Added rough documentation to lib/proto/src/controller/main.rb and lib/ramaze/template/ezamar.rb
- ] {
- hunk ./lib/proto/src/controller/main.rb 18
- + # the string returned at the end of the function is used as the html body
- + # if there is no template for the action. if there is a template, the string
- + # is silently ignored
- hunk ./lib/ramaze/template/ezamar.rb 19
- + # Transforms an action into the XHTML code for parsing and returns
- + # the result
- }
- [Added verbosity to rake task 'undocumented' and modified original, now called 'undocumented-module'
- comp.lang.zenix+ramaze@gmail.com**20070614050420] {
- hunk ./rake_tasks/maintaince.rake 251
- -task 'undocumented' do
- +task 'undocumented-module' do
- hunk ./rake_tasks/maintaince.rake 314
- + puts "\nAll undocumented methods\n\n"
- +
- hunk ./rake_tasks/maintaince.rake 321
- - puts "#{file.ljust(max)}\t[#{[mss, tss].join('/').center(8)}]".send(color)
- - puts m.join(', ')
- + complete = ms.to_f/ts.to_f
- + mthc = "method"
- + if ratio != 100
- + puts "#{file.ljust(max)}\t[#{[mss, tss].join('/').center(8)}]".send(color)
- + mthc = "methods" if ts > 1
- + if $VERBOSE
- + puts "Of #{tss} #{mthc}, #{mss} still needs documenting (#{100 - ratio}% documented, #{ratio}% undocumented)".send(color)
- + mthc = "method"
- + mthc = "methods" if ms > 1
- + print "#{mthc.capitalize}: "
- + end
- + puts m.join(', ')
- + puts
- + end
- hunk ./rake_tasks/maintaince.rake 337
- - puts
- - puts "The colors mean percentages of documentation (ratio of undocumented methods to total):"
- + puts "The colors mean percentages of documentation left (ratio of undocumented methods to total):"
- hunk ./rake_tasks/maintaince.rake 343
- +
- +task 'undocumented' do
- + $VERBOSE = false
- + Rake::Task['undocumented-module'].execute
- +end
- +
- +task 'undocumented-verbose' do
- + $VERBOSE = true
- + Rake::Task['undocumented-module'].execute
- +end
- }
- Context:
- [add additional information about the colors for the `rake undocumented` task
- Michael Fellinger <m.fellinger@gmail.com>**20070614025528]
- [add ramaze/inform/knotify over Inform::Knotify
- Michael Fellinger <m.fellinger@gmail.com>**20070613090851]
- [total rewrite of the undocumented task, better matching using StringScanner and nicer output using colors.
- Michael Fellinger <m.fellinger@gmail.com>**20070613115226]
- [docs for the templating-engines, Template, Session and Tidy
- Michael Fellinger <m.fellinger@gmail.com>**20070613105351]
- [Add a couple of docs for Action and Dispatcher
- Michael Fellinger <m.fellinger@gmail.com>**20070613103539]
- [experimental compiling of templates, don't use it yet unless you are in serious demand of large speed-increase for mostly static templates.
- Michael Fellinger <m.fellinger@gmail.com>**20070613044247]
- [Xosd should be able to display multiple lines at once.
- Michael Fellinger <m.fellinger@gmail.com>**20070613043247]
- [Optional dynamic font size for XOSD
- Clive Crous <clive@crous.co.za>**20070612174159]
- [change @template_root of controller when not given
- Jonathan Buch <jo@helloit.fi>**20070611162751]
- [simplify the template handling again, removing the (for now) unused Global.compile option
- Michael Fellinger <m.fellinger@gmail.com>**20070611110808]
- [add a Cache::startup for bulk initialization, clear the Cache.compiled and Cache.resolved on SourceReloadHooks#after_safe_load_succeed
- Michael Fellinger <m.fellinger@gmail.com>**20070611110005]
- [Improve performance by caching path lookups (need to add invalidation on SourceReload).
- Michael Fellinger <m.fellinger@gmail.com>**20070611103742]
- [add the example i use to find memory-leaks, might be useful for someone.
- Michael Fellinger <m.fellinger@gmail.com>**20070610233512]
- [Fix memory-leak, Action should _never_ _ever_ use traits.
- Michael Fellinger <m.fellinger@gmail.com>**20070610232713]
- [Fixing Controller.current
- Michael Fellinger <m.fellinger@gmail.com>**20070610225405]
- [round up last patch, adding some files i overlooked and removing deprecated ones.
- Michael Fellinger <m.fellinger@gmail.com>**20070610155119]
- [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).
- Michael Fellinger <m.fellinger@gmail.com>**20070610154623]
- [Fix OpenID helper IdentityHelper
- Michael Fellinger <m.fellinger@gmail.com>**20070608091939]
- [Pager doesn't need Og anymore, small comment about exit! in adapter
- Jonathan Buch <jo@helloit.fi>**20070608081943]
- [rather big change to Ezamar, fitting it to be able to compile before evaluation.
- Michael Fellinger <m.fellinger@gmail.com>**20070607114704]
- [add usage of Global.compile for erubis
- Michael Fellinger <m.fellinger@gmail.com>**20070607111650]
- [use tested doc in Controller::render
- Michael Fellinger <m.fellinger@gmail.com>**20070607111402]
- [get rid of a warning about undefined @files/@paths in sourereload
- Michael Fellinger <m.fellinger@gmail.com>**20070607044428]
- [Introducing experimental cached compilation (for HAML so far, and not ready for production, just a prototype) turn on Global.compile at your own risk ;)
- Michael Fellinger <m.fellinger@gmail.com>**20070607044136]
- [As expected, adding tests shows bugs :)
- rff.rff@gmail.com**20070605210326
- ]
- [CGI.rb has extremely bad names.
- rff.rff@gmail.com**20070605203514
- escape() does url_encode
- unescape does url_decode
- so renamed them to this.
- Also added html_escape and html_unescape
- and one-letter aliases h and u.
- This behaviour comes for free by including ERb::Util but I don't know
- if we want to load all that (I'd say yes).
- All tests still pass, so the test suite is incomplete.
- ]
- [ramaze with no opts should return -1
- rff.rff@gmail.com**20070605193343]
- [ENV SWIFT and EVENT now trigger require of swiftiplied or evented mongrel
- Michael Fellinger <m.fellinger@gmail.com>**20070606032545]
- [caching for our custom Request#params
- Michael Fellinger <m.fellinger@gmail.com>**20070605150620]
- [fixing all those annoying spaces on empty lines and adapt the add-copyright task not to add one automatically but just notice.
- Michael Fellinger <m.fellinger@gmail.com>**20070605110856]
- [mapping explanation in proto
- rff.rff@gmail.com**20070605105858]
- [first TestDoc task
- Michael Fellinger <m.fellinger@gmail.com>**20070605105608]
- [fix typo in LinkHelper doc
- Michael Fellinger <m.fellinger@gmail.com>**20070605105322]
- [remove Base and Index as default mappings to '/'
- Michael Fellinger <m.fellinger@gmail.com>**20070605105003]
- [proto enhancement
- rff.rff@gmail.com**20070605094901
- * integrated action-method, template and Page element
- * added a template-less action
- * changed index so that it gives slightly nicer informations
- ]
- [update the authors task and doc/AUTHORS
- Michael Fellinger <m.fellinger@gmail.com>**20070605034048]
- [little clarification of code in Controller::render
- Michael Fellinger <m.fellinger@gmail.com>**20070605033155]
- [extend PartialHelper with render_template
- Michael Fellinger <m.fellinger@gmail.com>**20070605033013]
- [Add :collect trait to Localize, disable collecting for more speed
- Jonathan Buch <jo@helloit.fi>**20070604141845]
- [pager need og/collection to run
- rff.rff@gmail.com**20070603170842]
- [use HAsh#fetch when getting trait or default in render.rb
- rff.rff@gmail.com**20070603165119]
- [Controller::cached? #=> Controller::should_cache?
- Michael Fellinger <m.fellinger@gmail.com>**20070603101809]
- [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.
- Michael Fellinger <m.fellinger@gmail.com>**20070603072136]
- [add automatic require for win32console on windows (if installed) and sanitize @colorize/trait[:colorize] a bit
- Michael Fellinger <m.fellinger@gmail.com>**20070528151056]
- [add docs for Controller::render
- Michael Fellinger <m.fellinger@gmail.com>**20070602184401]
- [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.
- Michael Fellinger <m.fellinger@gmail.com>**20070602183802]
- [Add render partial implementation + specs
- Jonathan Buch <jo@helloit.fi>**20070602085828]
- [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.
- Michael Fellinger <m.fellinger@gmail.com>**20070601054206]
- [Common error classes, tiny change to Global, StackHelper expects url instead of using R() itself
- Jonathan Buch <jo@helloit.fi>**20070601073118]
- [some santizing and docs for Session.
- Michael Fellinger <m.fellinger@gmail.com>**20070531115106]
- [speed up path resolution a little bit by directly instantinating Action
- Michael Fellinger <m.fellinger@gmail.com>**20070531112914]
- [fixing link building of the whywiki example
- Martin Hilbig blueonyx@dev-area.net**20070531091245]
- [document Informing and add some minor speed increase (increase will be smaller than most loggers would take to actual output)
- Michael Fellinger <m.fellinger@gmail.com>**20070531034608]
- [DRY up template.rb and add some docs
- Michael Fellinger <m.fellinger@gmail.com>**20070531032129]
- [docs for Action
- Michael Fellinger <m.fellinger@gmail.com>**20070530121906]
- [a couple of docs for Controller
- Michael Fellinger <m.fellinger@gmail.com>**20070530121441]
- [make the life for people who want to run specs without RUBYOPT easier
- Michael Fellinger <m.fellinger@gmail.com>**20070530083719]
- [small update to the FAQ
- Michael Fellinger <m.fellinger@gmail.com>**20070530050031]
- [add a Inform.ignored_tags so you can skip tags like :debug easily
- Michael Fellinger <m.fellinger@gmail.com>**20070530045400]
- [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)
- Michael Fellinger <m.fellinger@gmail.com>**20070530045149]
- [put the hooks into their own module SourceReloadHooks
- Michael Fellinger <m.fellinger@gmail.com>**20070530044241]
- [another wrapper, this time around save_load, with file and status for after
- Michael Fellinger <m.fellinger@gmail.com>**20070529125103]
- [SourceReload#before_reload/after_reload method stubs, to be filled by YOU :)
- Michael Fellinger <m.fellinger@gmail.com>**20070529124135]
- [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)
- Michael Fellinger <m.fellinger@gmail.com>**20070529084946]
- [flatten atoms for R()
- Michael Fellinger <m.fellinger@gmail.com>**20070529071331]
- [fix LinkHelper to use Controller.current instead of self
- Michael Fellinger <m.fellinger@gmail.com>**20070529071051]
- [fixing memcached for multithreading
- Michael Fellinger <m.fellinger@gmail.com>**20070528141851]
- [Global.public_root went Global.public_proto and Controller.public_root went Global.public_root
- Michael Fellinger <m.fellinger@gmail.com>**20070528130202]
- [typo in LinkHelper docs
- Michael Fellinger <m.fellinger@gmail.com>**20070528130105]
- [Add PagerHelper (port from Nitro)
- Jonathan Buch <jo@helloit.fi>**20070528113953]
- [add a release task
- Michael Fellinger <m.fellinger@gmail.com>**20070528021404]
- [TAG 0.1.1
- Michael Fellinger <m.fellinger@gmail.com>**20070526204752]
- Patch bundle hash:
- 8efbd39ec4413c1506e6e78eb2c34d02b087f220
Add Comment
Please, Sign In to add comment