Permalink
Commits on Jan 12, 2005
  1. * (core/decoration.rb, core/component.rb): differentiate between glob…

    …al and
    
      local decorations
    
    * (components/*.rb, components.rb): added Wee::PageDecoration
    
    * (session.rb): terminate session thread if the session is no longer alive
    
    * (application.rb): improved mutex handling. start a thread that collects
      expired request-handlers.
    
    * (requesthandler.rb): set default expire_after to be 30 minutes
    
    * (utils/autoreload.rb): added autoreload feature. 
      method Wee::autoreload(check_interval)
    
    * (utils/helper.rb): added method Wee::Helper.app_for that makes creating an
      Wee::Application object more easy
    
    
    * (renderer/html/canvas.rb): added methods url_for_callback, register_callback,
      file_upload and paragraph to Wee::HtmlCanvas
    
    * (renderer/html/brushes.rb): use new Wee::HtmlCanvas#url_for_callback method,
      added Brush::FileUploadTag. added method FormTag#enctype.
    
    * fixed example. updated documentation.
    
    * new version 0.4.0
    mneumann committed Jan 12, 2005
Commits on Jan 9, 2005
  1. Fixed bug in CallbackRegistry#all_of_type. This bug appeared if no ac…

    …tion
    
    callback was register (e.g. a submit-button without a callback).
    mneumann committed Jan 9, 2005
  2. upload docs

    mneumann committed Jan 9, 2005
  3. Added image_button tag. This required to patch Wee::Request, as the

    image-button tag generates 'id.x' and 'id.y' form-keys, but not on every
    browser an 'id' key (which would be required to trigger the action callback).
    Now the request fields are parsed and when a key contains a dot ("."), a hash
    is created as value of key 'id' which contains all values of the 'id' prefix.
    See Wee::Request and Wee::Brush::ImageButtonTag for a more detailed
    explanation.
    mneumann committed Jan 9, 2005
  4. fixed minor bug

    mneumann committed Jan 9, 2005
  5. fixed typo

    mneumann committed Jan 9, 2005
  6. renamed header to headers

    mneumann committed Jan 9, 2005
  7. update docs

    mneumann committed Jan 9, 2005
  8. * output form-fields information from session when in $DEBUG mode

    * WEBrickAdaptor: added #mount method and yield server before start 
    * raised version to 0.3.1
    mneumann committed Jan 9, 2005
Commits on Jan 8, 2005
Commits on Jan 5, 2005
  1. * gemspec, version 0.3.0

    mneumann committed Jan 5, 2005
  2. * renamed process_callback_chain -> process_callbacks_chain

    * renamed render -> do_render
    * renamed render_content_on -> render
    * assign Thread.current[:wee_session] during Sessions' initialize
    mneumann committed Jan 5, 2005
Commits on Jan 2, 2005
  1. *

    mneumann committed Jan 2, 2005
  2. use mutex

    mneumann committed Jan 2, 2005
  3. lots of cleanup

    mneumann committed Jan 2, 2005
Commits on Dec 21, 2004
  1. stress test added

    mneumann committed Dec 21, 2004
  2. * Removed handling of multiple action callbacks, which was the origin…

    … of a huge
    
      memory leak. Now, only one action callback is invoked per request. A check is
      performed in the session to make sure only one action callback was specified.
    
    * Request#build_url now again requires to be called explicitly with parameters.
    
    * Removed some warnings (uninitialized instance variables)
    
    * Wee::Snapshot now uses the object_id as key instead of the object itself,
      because:
    
        h, a, b = {}, [], []
    
        h[a] = "a"
        h[b] = "b"
    
        p h[a]   # => "b"   (whereas Wee expects it to be "a")
        p h[b]   # => "b"
    
    
    * Added calendar example by Kevin Howe
    mneumann committed Dec 21, 2004
Commits on Dec 20, 2004
  1. directory rendering has changed to renderer

    mneumann committed Dec 20, 2004
  2. lots of documentation added

    mneumann committed Dec 20, 2004
Commits on Dec 16, 2004
  1. * Implemented Wee::WEBrickAdaptor class

    * Request no more generates /app@session_id. Now it generates /app/@session_id
    mneumann committed Dec 16, 2004
  2. renamed rendering -> renderer

    mneumann committed Dec 16, 2004
  3. moved to adaptors dir

    mneumann committed Dec 16, 2004
  4. * added exception check in Session (as it is a thread of it's own and…

    … as such
    
      is not catched in the applications exception handler
    
    * it's now easier to define custom exception print-out, simply by overwriting
      Wee::ErrorResponse#render
    mneumann committed Dec 16, 2004
Commits on Dec 15, 2004
  1. upload docs

    mneumann committed Dec 15, 2004
  2. upload docs

    mneumann committed Dec 15, 2004
  3. * Use Thread.current[:wee_session] instead of string 'Wee::Session'

    * Stripped down class Context.
    * moved URL parsing stuff into newly created Request class.
    * cleaned up Application class
    * implemented HTML select list
    mneumann committed Dec 15, 2004
  4. * action/assign has become callback

    * added select_list example
    mneumann committed Dec 15, 2004
  5. * refactored

    * removed attr
    * assign/action is now uniquely called callback
    mneumann committed Dec 15, 2004
Commits on Dec 13, 2004
  1. converted to Rakefile

    mneumann committed Dec 13, 2004