18-04-2005 George Moschovitis * small fixes to make tests pass again. 17-04-2005 George Moschovitis * examples/blog/: updated. * lib/nitro/render.rb: check again for action_template method. * test/nitro/builders/tc_atom.rb: introduced. * lib/nitro/builders/atom.rb: introduced. (#build_atom): first implementation. * lib/nitro/builders/xml.rb: added print alias, use '!' postfix in default methods to avoid method namespace polution. (#processing_instruction): added. 16-04-2005 George Moschovitis * now developing on UBUNTU Linux. 15-04-2005 George Moschovitis * examples/no_xsl_blog/*: converted to make compaitble with latest code. * ../cleanup.rb: implemented. * lib/nitro/controller.rb: improved DEF_FILE calculation to handle more cases. * examples/blog/*: yeah, with the latest aspects fixes the example works again, converted XmlController to latest code. invalidate cache on deletes. * test/*: fixes to make the tests pass. 14-04-2005 George Moschovitis * examples/*: dont use controller. * lib/nitro/controller.rb: removed [jamesb]. * examples/blog/src/models/content.rb: removed obsolete code. 13-04-2005 George Moschovitis * examples/blog/*: converted to use aspects. * lib/nitro/render.rb (#compile_action): replaced filter chains with advice generation. * lib/nitro/controller.rb: use aspects instead of filters, dont include Filtering. 12-04-2005 Kostas Nasis * misc aesthetic fixes. * lib/nitro/markup.rb: small fixes. 12-04-2005 George Moschovitis * examples/*: small fixes in docs. * push_docs.rb: introduced. * Rakefile: changed rdoc dir, added Florian Gross's gems updater [flgr], many fixes to make the updater work. * releases.rb: utility to help with new releases, cool, it uploads documentation. * INSTALL: small update [ilias]. 11-04-2005 George Moschovitis * created new public SVN repository, to allow for easier patching by the community. * examples/no_xsl_blog/*: small ns fixes. [james_b] 10-04-2005 George Moschovitis * lib/nitro/render.rb: new encoding for action/template methods. * lib/nitro/shaders.rb (XSLTShader#process): add a critical Logger.debug to give better info on the developer on template errors. * lib/adapters/webrick.rb: no stupid logging by default on Unix. * lib/nitro/dispatcher.rb (#controller_class_for): changed reloading algo, improved reloading to reload superclasses, improved reloading to remove actions, even more fixes to the reloader. * lib/nitro/conf.rb (#mount): added support for mounting other sites. $nitro_environment: holds the configuration. 09-04-2005 George Moschovitis * test/og/tc_sqlserver.rb: check if sqlserver exists. * test/*: small fixes to pass again. * examples/ajax/*: small improvement. * lib/nitro/runner.rb (Nitro##run): added this elegant helper. * proto/public/scaffold: added. * examples/blog/*: works without API, content_type works again, use the new runner. * lib/nitro/dispatcher.rb: removed the concept of API from the dispatcher, will be implemented with controller reuse. * examples/blog/src/controller.rb (XmlController): introduced. * lib/nitro/render.rb (#compile_action): better error reporting, removed concept of API. * lib/nitro/response.rb (#add_cookie): made more flexible. * lib/nitro/testing/assertions.rb (#assert_has_cookie): implemented, (#assert_has_no_cookie): implemented, (#assert_cookie_equal): implemented. * lib/nitro/testing/context.rb (Response): added more helpers. 08-04-2005 George Moschovitis * hack-fixed dynamic require bug that used to fuckup RDoc. * Rakefile: fixed VERSION bug, removed flexob, extensions, ruby-breakpointer dependencies [james_b], bumped required Ruby version. * lib/nitro/testing/testcase.rb: include Nitro by default. * test/*: many fixes to work again. * MAJOR: changed the namespace from N to Nitro. * examples/no_xsl_blog/*: some small improvements, synced with blog example. * lib/nitro/ui/*: updated some code (will be removed soon). * lib/nitro/ui/date-select.rb: removed. * lib/nitro.rb: include Glue in the Nitro namespace. * lib/nitro/cluster.rb: removed. 07-04-2005 George Moschovitis * lib/nitro/testing/assertions.rb: (#assert_redirect): implemented. (#assert_no_redirect): implemented. (#assert_session_has): implemented. (#assert_session_has_no): implemented. use implicit context (#assert_output_match): implemented. (#assert_output_no_match): implemented. (#assert_status_ok): implemented. use format_msg: to make more flexible. (#assert_session_equal): implemented. * examples/blog/test/tc_blog.rb: introduced. * lib/nitro/testing/context.rb: introduced. (Request): added testing helpers. (Response): added testing helpers. (Context): override session. * lib/nitro/render.rb: body alias for out. * lib/nitro/adapters/cgi.rb: no socket lookup. * lib/nitro/adapters/fcgi.rb: no socket lookup. 07-04-2005 James Britt * investigated nasty cgi/testunit/flexmock bug. 06-04-2005 George Moschovitis * lib/nitro/testing.rb: introduced. * lib/nitro/testing/testcase.rb: introduced. * lib/nitro/testing/assertions.rb: introduced. 05-04-2005 George Moschovitis * lib/nitro/render.rb (#compile_action): keep old action in @parent_action_name. * lib/nitro/shaders.rb: handle ' delimeters. [james_b] * lib/nitro/template.rb: handle ' delimeters. [james_b] * test/nitro/tc_controller.rb: added extra tests. * integrated james' CGI patch. 05-04-2005 James Britt * proto/public/cgi.rb: cgi runner. * lib/nitro/adapters/cgi.rb: added support for standalone cgi. * lib/nitro/runner.rb: added support for cgi. 04-04-2005 George Moschovitis * bin/nitro: fix * bin/nitrogen: fix * --- VERSION 0.15.0 --- * Rakefile: added nitrogen executable. * examples/blog/public/fcgi.rb: fixed for path. * doc/RELEASES: updated. * bin/new_form.rb: deprecated. * bin/new_app.rb: deprecated. * bin/nitrogen: implemented. * bin/nitro: implemented to start default application, use -rubygems. 03-04-2005 George Moschovitis * lib/nitro/render.rb (#compile_action): handle __ separators, (#template_for_action): fixed to look into subdirectories. * test/nitro/tc_dispatcher.rb: added more tests. * lib/nitro/dispatcher.rb (#dispatch): updated to handle actions in subdirs. * doc/RELEASES: updated. 01-04-2005 George Moschovitis * some fixes to make the tests pass again. * doc/RELEASES: updated. * doc/AUTHORS: updated. * README: updated. * examples/no_xsl_blog/*: added localization support. * examples/*: fixed for default environment. * lib/nitro.rb: setups a default environment [james_b]. * lib/nitro/environment.rb: introduced and implemented. 01-04-2005 James Britt * lib/nitro/controller.rb: fixed DEF_FILE calc for win32. 31-03-2005 George Moschovitis * examples/blig/src/controller.rb (#toggle_locale): implemented. * examples/blog/*: added localization support. * test/nitro/localization.rb: introced and implemented tests. * lib/nitro/localization.rb: worked on this, (Locale): introduced, yeah localization kinda works, added support for sprintf interpolation. support for procs as localization agents, added some documentation. (LocalizationShader): introduced. (LocalizationFilter): reimplemented, fixed default locale. added support for parsing localization rules from yaml files. 30-03-2005 George Moschovitis * examples/blog/*: use the new, easier/powerful way to set the template root. * lib/nitro/caching/stores.rb (FileStore): better handling of cache_root. * lib/nitro/controller.rb (#method_missing): use the class template_root, many changes to handle the template_root here. * lib/nitro/scaffold.rb (#scaffold): added new, edit, form default methods, save: implemented. override default rendering if a template is provided. * lib/nitro/shaders: introduced. 29-03-2005 George Moschovitis * lib/nitro/shaders.rb: cleaned up old code, (MorphingShader): introduced, (ElementsShader): introduced, implemented times morphing, after a lot of experiments got the regexp right. each morphing, if/unless morphing. * lib/nitro/render.rb: add base to template root. * lib/nitro/dispatcher.rb: return base. * lib/nitro/part.rb: reintroduced. * worked a lot on the high level framework. 28-03-2005 George Moschovitis * lib/nitro/template.rb: added support for erb style interpolators <% %>. * --- VERSION 0.14.0 --- * lib/nitro/controller.rb (#inherited): made compatible with Win32. * examples/why_wiki/run.rb: set pwd. * examples/wee_style/run.rb: set pwd. * proto/*: introduced, moved public inside proto, moved run.rb inside, mover conf inside. * doc/RELEASES: updated. * examples/blog/src/xsl/base.xsl: added tag. * examples/*: fixed lhttpd.conf files. * examples/blog/src/controller.rb (#cache_invalidator): added, cache_output for login as an example. * lib/nitro/adapters/webrick.rb: fix, fix: dont send paths with '.' to nitro. 25-03-2005 George Moschovitis * lib/nitro/caching/invalidation.rb: introduced. * lib/nitro/adapters/webrick.rb: removed obsolete code. removed WEBrick::HTTPRequest override. (#handle_file): implemented. (#handle): fixed ensure close. * conf/lhttpd.conf: ultra cool cache aware rewrite rule. cleaned up a LOT. * conf/apache.conf: introduced, added cache aware rewrite rule. 24-03-2005 George Moschovitis * conf/lhttpd.conf: introduced. * conf: introduced. * Rakefile: more intelligent handling of versions. [drak] * test/nitro/filters.rb: added more tests for the newly fixed bugs. * lib/nitro/filters.rb: SUPER FIX: use the new and correct way to introduced inheritable attributes. fixed problem with filters when reload = true. * lib/nitro/caching/fragments.rb: fixed cattr bug. * lib/nitro/caching/actions.rb: fixed :only bug. * lib/nitro/caching.rb: require action caching. 23-03-2005 George Moschovitis * lib/nitro/testing: introduced. * INSTALL: updated, added ref to required libs. [dyoder] 22-03-2005 George Moschovitis * lib/nitro/caching/actions.rb (#cache_action): implemented using text filters. * lib/nitro/render.rb (#render_text): introduced. * lib/nitro/filters.rb: pass options in arround filters. * lib/nitro/caching/fragments.rb (#cache): set key for fragments. * examples/blog/public/index.xhtml: added caching for entries. * lib/nitro/caching/stores.rb (FileStore): implemented. * doc/RELEASES: updated. 21-03-2005 George Moschovitis * examples/tiny/public/upload.xhtml: added as an example of uploads. * lib/nitro/adapters/cgi.rb (#parse_multipart): implemented. Yeah! i got an image uploaded, better handling of multiparams, cool: define to_s to perform a read. * lib/nitro/request.rb (#post?): added. (#content_length): added. * lib/nitro/caching/stores.rb: introduced. (MemoryStore): implemented. * lib/nitro/adapters/webrick.rb (#do_GET): make REQUEST_URI more compatible with fastcgi. (#do_GET): use Cgi.parse_parameters to make more compatible with fastcgi, and prepare for the abstract multipart parsing. * lib/nitro/filters.rb: converted the rest of the filter methods. (#gen_filters_call_code): fixed single symbol handling. * lib/nitro/controller.rb: added Caching in Controller. * lib/nitro/caching/output.rb: introduced, yeah i got output for a page cached. * lib/nitro/caching/action.rb: introduced. * lib/nitro/caching/fragment.rb: introduced, (#cache_fragment): implemented. (#cache): added. (Fragments): added methods here to avoid polution. * lib/nitro/caching: introduced dir. 20-03-2005 George Moschovitis * test/nitro/tc_filters.rb: introduced and implemented, added test for inheritable filters. * lib/nitro/filters.rb (Filter): introduced structure, (#append_after_filter, ..): handle options too, (#gen_filters_call_code): pass action, handle options, fixed filter add code. added :only and :except options., added support for String filters. made Filters inheritable! * lib/nitro/render.rb: keep action name in render. (#render_nothing): implemented. 19-03-2005 George Moschovitis * lib/nitro/caching.rb: introduced, (Output): introduced. 17-03-2005 George Moschovitis * CHANGELOG: branched from 'doc/ChangeLog.1'.