Permalink
Commits on Feb 1, 2005
  1. 0.7.0

    mneumann committed Feb 1, 2005
  2. upload

    mneumann committed Feb 1, 2005
  3. * SelectListTag (r.select_list): NON-backwards-compatible change!!!

    	  If it's NOT a multiple select list, then the callback is called
    	  with the choosen value (instead of an array of one element). Method
    	  #selected requires a single value in the same way. No changes if it's
    	  a multiple-select list!
    
    	* minor refactoring of OgScaffolder (added support for Date type).
    mneumann committed Feb 1, 2005
Commits on Jan 31, 2005
  1. docs uploaded

    mneumann committed Jan 31, 2005
  2. some tags added

    mneumann committed Jan 31, 2005
Commits on Jan 30, 2005
  1. fixed docu

    mneumann committed Jan 30, 2005
Commits on Jan 29, 2005
  1. upload docs

    mneumann committed Jan 29, 2005
  2. use Wee::Presenter

    mneumann committed Jan 29, 2005
  3. * fixed bug in OgScaffolder due to the former additional_args modific…

    …ation
    
    * moved skeletons out of bin/wee into directory lib/wee/skeleton
    * template :render_blah_blah will use "component.tpl-blah-blah"
    mneumann committed Jan 29, 2005
  4. * Added ERB-templating. Example:

    	    # file: ~/components/main.rb
    	    class Test < Wee::Component
    
    	      # use template '~/components/main.tpl'
    	      template :render
    
    	      # use template '~/components/main.tpl-buttons'
    	      template :render_buttons
    	    end
    
    	  This allows you to use ERB-templates instead of the render_XXX
    	  methods. You can also call render_XXX methods from ERB, back and
    	  forth. The template file is relative to the file from which the
    	  'template :symbol' call is executed. The template method optionally
    	  takes the two hash-parameters :file and :property.
    	   
    	* Added "Pageless" mode. In pageless mode, the URL displayed in your
    	  browser always looks like "/app". The session id is stored as cookie
    	  and there is no page_id, hence "pageless" mode. No backtracking is
    	  performed! Example:
    
    	    require 'wee/pageless'
    
    	    app = Wee::Utils.app_for(YourMainComponent,
    	      :session => Wee::PagelessSession,
    	      :application => Wee::PagelessApplication)
    
    	    Wee::WEBrickAdaptor.
    	      request_class(Wee::PagelessRequest).
    	      register('/app' => app).
    	      start
    	
    	* Wee::Session: use #set_response, so that subclass of Wee::Session can more
    	  easily modify a response (e.g. add cookies or HTTP headers).
    mneumann committed Jan 29, 2005
  5. fixed bug. __inputXXX and __actionXXX methods were private and were a…

    …liases
    
    to methods that must be public.
    mneumann committed Jan 29, 2005
  6. * Wee::LiteralMethodCallback and Component#call: Additional arguments

    	  are now prepended instead of appended. Example:
    
    	    call MessageBox.new('msg'), :confirm, 1
    
    	    def confirm(one, msgbox_result) 
    	    end
    
    	* Added named callbacks. Example:
    
    	    r.anchor.named_callback('test') { ... }
    
    	  will use 'test' as callback_id instead of a generic one.
    
    	* Methods ImageTag#src_for and GenericTagBrush#css_class_for no more
    	  prepend 'img.' or 'css.' in front of the property name. 
    
    	* Refactored wee/renderer/html/brushes.rb. Removed InputCallbackMixin,
    	  ActionCallbackMixin and ActionURLCallbackMixin modules. Instead the
    	  GenericTagBrush has methods __input_callback, __action_callback etc.
    	  which are aliased in the corresponding Brush classes. Also made the 
    	  SelectList callback marshallable.
    mneumann committed Jan 29, 2005
Commits on Jan 28, 2005
  1. there no more a Session#current_page method, use #current_callbacks i…

    …nstead
    mneumann committed Jan 28, 2005
  2. * Method Wee::WEBrickAdaptor.request_class added. This allows you to

    	  use a custom request class for your application or even a different
    	  one for each registered application. Also added cookie support.
    
    	* Added method Wee::Utils.autoreload_glob which is faster than
    	  #autoreload as it does not traverse the whole LOAD_PATH.
    
    	* Wee::Response: added cookies
    mneumann committed Jan 28, 2005
  3. * Removed method Wee::Session#current_page and replaced it by

    	  #current_callbacks.
    
    	* Wee::Session no longer applies a snapshot if the snapshot equals the current 
    	  state of the components tree 
    
    	* removed duplicate code from continuation/session.rb
    mneumann committed Jan 28, 2005
  4. * added register_named_for method.

    mneumann committed Jan 28, 2005
  5. * added autoreload_glob to the run.rb template

    mneumann committed Jan 28, 2005
  6. * added 'wee' binary which generates a sample application and

    	  recommended directory structure for you (similar to the 'rails' command).
    mneumann committed Jan 28, 2005
Commits on Jan 27, 2005
  1. * Method Wee::Utils.app_for: Removed the id_seed option. Use id_gen

    	  instead, which expects a IdGenerator object (default is now the much more
    	  secure Md5IdGenerator). 
    
    	* Wee::Request: Refactored a lot. Use =/ instead of @ as delimeter for
    	  the request_handler_id/page_id part ('@' looks ugly in Konqueror, as
    	  it is displayed as '%40')
    
    	* Wee::Application: Don't send a RedirectResponse when no
    	  request_handler_id was given. This wasn't neccessary and would
    	  break when introducing cookies.
    mneumann committed Jan 27, 2005
  2. * renamed wee/idgen.rb to wee/idgen/simple.rb and

    	  wee/md5_idgen.rb to wee/idgen/md5.rb
    mneumann committed Jan 27, 2005
  3. * Component#add_decoration returns now self. Example where this is

    	  useful:
    
    	    app = Wee::Utils.app_for {
    	      HelloWorld.new.add_decoration(Wee::PageDecoration.new("Hello World"))
    	    }
    mneumann committed Jan 27, 2005
Commits on Jan 26, 2005
  1. *

    mneumann committed Jan 26, 2005
  2. *

    mneumann committed Jan 26, 2005
  3. upload rdoc

    mneumann committed Jan 26, 2005
  4. * Raised version up to 0.5.0 (nearing a release)

    	* Fixed test cases.
    mneumann committed Jan 26, 2005
  5. * updated docs

    	* made Component#call's marshallable by using an object of class
    	  Wee::Component::OnAnswer instead of a Proc.  
    
    	* Moved all continuation-dependent code into directory
    	  wee/continuation. By default Wee uses no continuations, you have to
    	  require 'wee/continuation' to enable them.
    mneumann committed Jan 26, 2005
  6. new stress-suite

    mneumann committed Jan 26, 2005
  7. *

    mneumann committed Jan 26, 2005
  8. renamed

    mneumann committed Jan 26, 2005
  9. initial creation

    mneumann committed Jan 26, 2005