[Bese-devel] New patches to ucw_ajax: 23-Aug-2006

Marco Baringer mbaringer at common-lisp.net
Thu Aug 24 04:30:17 UTC 2006


Sat Aug  5 15:56:50 EDT 2006  attila.lendvai at gmail.com
  UNDO: Added disallow-response-caching

    M! ./src/backend/common.lisp -1 +6

Wed Aug 23 12:38:44 EDT 2006  attila.lendvai at gmail.com
  * Various cleanups

    M ./src/backend/httpd.lisp -1 +1
    M ./src/components/dojo-widgets.lisp -13 +11
    M ./src/parenscript-utils.lisp -2 +2
    M ./src/per-application-parenscript.lisp -15 +20
    M ./src/rerl/standard-dispatcher.lisp -15 +15
    M ./ucw.asd -1 +1

Wed Aug 23 12:37:54 EDT 2006  attila.lendvai at gmail.com
  * Added component dirtyness tracking
  
  single-frame-application-mixin's (AJAX apps) have a weak hashtable keeping
  track of the components that have been marked dirty. a dirty component is a
  component that needs to be rendered, because something has changed in its
  state.
  
  handle-ajax-request at the end automatically calls ajax-render-dirty-components
  which iterates all the dirty components of the current session and renders
  the visiblep one of them into the current ajax answer. rendering is done in
  a closer-to-window-first order and each component is rendered only once.
  
  a component is visiblep when the context.window-component is reachable
  through (parent component) relation.
  
  the client automatically starts a polling timer. the processing of these
  polling requests either falls asleep on the sever or returns depending on
  the load. if it returns the client swith into polling mode with a timer,
  otherwise the connection is kept open until an event happens on the server
  that needs to be sent to the client.

    M ./src/application-mixins/single-frame-application.lisp -2 +136
    M ./src/components/ajax.lisp -5 +15
    M ./src/components/collapsible-pane.lisp -2 +21
    M ./src/components/container.lisp -3 +29
    M ./src/components/dojo-widgets.lisp -2 +3
    M ./src/components/message.lisp -2 +1
    M ./src/components/window.lisp +4
    M ./src/l10n/resources/en.lisp +3
    M ./src/loggers.lisp +2
    M ./src/packages.lisp -2 +13
    M ./src/per-application-parenscript.lisp +58
    M ./src/rerl/protocol.lisp +18
    M ./src/rerl/standard-action.lisp -7 +20
    M ./src/rerl/standard-classes.lisp -1 +2
    M ./src/rerl/standard-component/control-flow.lisp -1 +7
    M ./src/rerl/standard-component/standard-component.lisp -1 +47
    M ./src/rerl/standard-dispatcher.lisp -1 +46
    M ./src/rerl/standard-session.lisp +18
    M ./src/yaclml/tal.lisp -1 +1

Wed Aug 23 11:23:29 EDT 2006  attila.lendvai at gmail.com
  * Added disallow-response-caching

    M! ./src/backend/common.lisp -5

Wed Aug 23 09:53:00 EDT 2006  attila.lendvai at gmail.com
  * Updated examples to follow the new dirtyness tracking

    M ./examples/examples.lisp -6 +9
    M ./examples/forms.lisp -2 +2
    M ./examples/sum.lisp -2 +1

Wed Aug 23 09:50:48 EDT 2006  attila.lendvai at gmail.com
  * Fix :component slot handling to tolerate non-components in the slot

    M ./src/rerl/standard-component/standard-component.lisp -10 +10

Wed Aug 23 08:05:14 EDT 2006  attila.lendvai at gmail.com
  * Added the shared-counter example

    M ./etc/start.lisp +1
    M ./examples/examples.lisp -1 +4
    A ./examples/shared-counter.lisp
    M ./ucw.asd -1 +2

Wed Aug 23 07:43:48 EDT 2006  attila.lendvai at gmail.com
  * Integrated bordeaux-threads and clean up some threading issues
  
  ...among which the most important is that from now on the processing of
  requests is serialized for each session.

    M ./src/backend/multithread-httpd.lisp +1
    M ./src/helpers.lisp -6
    M ./src/packages.lisp +10
    M ./src/rerl/standard-application.lisp +12
    M ./src/rerl/standard-classes.lisp -3 +8
    M ./src/rerl/standard-dispatcher.lisp -67 +70
    M ./src/rerl/standard-server.lisp -4 +4
    M ./ucw.asd -1 +2

Wed Aug 23 07:40:37 EDT 2006  attila.lendvai at gmail.com
  * Updated TODO

    M ./docs/TODO -9 +7

Wed Aug 23 07:30:05 EDT 2006  attila.lendvai at gmail.com
  * Use url-prefix in compute-url of standard-app instead of the query path
  
  This may break some code, but due to the old behaviour rendering a component
  in the polling dispatcher (mapped to its own url) calculated wrong action-href's.

    M ./src/rerl/standard-application.lisp -1 +1

Wed Aug 23 07:29:31 EDT 2006  attila.lendvai at gmail.com
  * Delete stale collect in remove-expired-sessions

    M ./src/rerl/standard-application.lisp -2 +1

Wed Aug 23 07:05:24 EDT 2006  attila.lendvai at gmail.com
  * Updated dojo

     ./wwwroot/dojo/src/widget/templates/HtmlButtonTemplate.css -> ./wwwroot/dojo/src/widget/templates/ButtonTemplate.css
     ./wwwroot/dojo/src/widget/templates/HtmlButtonTemplate.html -> ./wwwroot/dojo/src/widget/templates/ButtonTemplate.html
     ./wwwroot/dojo/src/widget/templates/HtmlSplitContainer.css -> ./wwwroot/dojo/src/widget/templates/SplitContainer.css
     ./wwwroot/dojo/src/widget/templates/HtmlTabContainer.css -> ./wwwroot/dojo/src/widget/templates/TabContainer.css
     ./wwwroot/dojo/src/widget/templates/HtmlTabContainer.html -> ./wwwroot/dojo/src/widget/templates/TabContainer.html
    M ./wwwroot/dojo/dojo.js
    M ./wwwroot/dojo/src/debug.js -2 +9
    M ./wwwroot/dojo/src/widget/Button.js -7 +3
    M ./wwwroot/dojo/src/widget/ContentPane.js -31 +36
    M ./wwwroot/dojo/src/widget/SplitContainer.js -4 +3
    M ./wwwroot/dojo/src/widget/TabContainer.js -2 +2
    M ./wwwroot/dojo/src/widget/html/layout.js -1 +1

Wed Aug 23 06:01:40 EDT 2006  attila.lendvai at gmail.com
  * Updated user-track stuff to match the new infrastructure, merged conflicts

    M ./src/application-mixins/secure-application.lisp -12 +10
    M ./src/packages.lisp -7 +9

Mon Aug 21 17:41:56 EDT 2006  attila.lendvai at gmail.com
  * Fix progress label removal when errors happen

    M ./src/per-application-parenscript.lisp -5 +5

Mon Aug 21 17:32:37 EDT 2006  attila.lendvai at gmail.com
  * Added some keyword args to <ucw:localized

    M ./src/yaclml/ucw-tags.lisp -2 +4

Fri Aug 18 20:08:04 EDT 2006  attila.lendvai at gmail.com
  * Added use-visibility-p to the dojo tab-container

    M ./src/components/dojo-widgets.lisp +2

Fri Aug 18 20:06:53 EDT 2006  attila.lendvai at gmail.com
  * Propagate invocation-isolated in js-server-callback to register-ajax-action (the other args should be propagated too)

    M ./src/components/ajax.lisp -7 +13

Thu Aug 17 20:31:56 EDT 2006  attila.lendvai at gmail.com
  * Added a handle-action-in-session
  
  this is a point where user code can hook-up. when this method is called
  it is guaranteed that there's a session, so you can fiddle with session
  variables, bind stuff like db connections.
  
  entry points also go through this method. (so the name questionable and
  therefore not exported yet)

    M ./src/rerl/standard-dispatcher.lisp -18 +19

Thu Aug 17 20:30:52 EDT 2006  attila.lendvai at gmail.com
  * Fix per-app so that it nil-checks the form-fields to be more roboust

    M ./src/per-application-parenscript.lisp -11 +12

Tue Aug 22 11:46:43 EDT 2006  Maciek Pasternacki <maciekp at japhy.fnord.org>
  UNDO: Add slot SAVED-VALUE and hidden form field to CHECKBOX-FIELD to work around resetting fields on re-render without submitting.

    M ./src/components/form.lisp -2 +1

Tue Aug 22 11:46:43 EDT 2006  Maciek Pasternacki <maciekp at japhy.fnord.org>
  * Add slot SAVED-VALUE and hidden form field to CHECKBOX-FIELD to work around resetting fields on re-render without submitting.

    M! ./src/components/form.lisp -39 +47

Mon Aug 21 06:55:57 EDT 2006  evrim at core.gen.tr
  * user-track-module: fixed situation where session is null.

    M ./src/application-mixins/secure-application.lisp +6

Sun Aug 20 22:09:42 EDT 2006  evrim at core.gen.tr
  * new application module: user-track-module
  This module allows us to track login/logut of users via (setf (session-user) val) hook. mix it with you application and get online-users from (application.online-users *app*).

    M ./src/application-mixins/secure-application.lisp -8 +40
    M! ./src/packages.lisp -7 +7


An updated tarball of ucw_ajax's source can be downloaded here:
http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060823.tar.gz

Darcsweb URL:
http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary



More information about the bese-devel mailing list