Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 27, 2012
  1. @dpp

    Misc fixes

    dpp authored
  2. @dpp

    Merge pull request #1309 from lift/asc_issue_956

    dpp authored
    AJAX request deduplication.
  3. @dpp

    Merge pull request #1301 from lift/nafg_wip_specs2

    dpp authored
    specs2 wip
Commits on Aug 20, 2012
  1. @Shadowfiend
  2. @Shadowfiend

    Make ajaxRequests a val in LiftSession.

    Shadowfiend authored
    It's a mutable Map, so there's no need for it to be a var.
Commits on Aug 18, 2012
  1. @Shadowfiend

    Don't suspend requests too early for the first request.

    Shadowfiend authored
    We were suspending the request before we got a chance to kick off the
    processing for the actual response to be run.
  2. @Shadowfiend

    Move ajax request list into LiftSession with lastSeen.

    Shadowfiend authored
    LiftSession is in charge of managing cleanup of non-recently-seen pages
    and such, so it needs to know about the AjaxRequestInfo list to clean it
    up when a given request hasn't been needed in sufficiently long.
  3. @Shadowfiend

    Delimit version in GUID string by a dash.

    Shadowfiend authored
    Before we were relying on the expected length of the funcName,
    determined by calling nextFuncName. Because funcName isn't *always* the
    same length, we switch instead ot putting a - between the GUID and the
    version identifier in the path. We then look for it when extracting the
    version identifier.
  4. @Shadowfiend

    AJAX version-based deduplication.

    Shadowfiend authored
    The meat of the deal. Based on the AJAX version appended to the request
    GUID, we determine whether we've already seen this request. If so, we
    wait for the original request to complete before returning the resulting
    value.  If we already completed the request before, we return the same
    answer without re-running the associated parameters. AJAX requests that
    need to wait are put into continuations if available.
  5. @Shadowfiend

    Rename continuation-related code to clarify Comet association.

    Shadowfiend authored
    We're about to add some AJAX-related continuation code, so we want it to
    be clear the existing stuff is for comets.
  6. @Shadowfiend

    Include a version on the end of the Ajax GUID.

    Shadowfiend authored
    AJAX requests currently carry a GUID. We now add a single-character
    version indicator. This version increments for distinct AJAX requests.
    In particular, it does NOT increment during AJAX retries, so that a
    retry of an existing request can be identified as being part of the same
    attempt on the server.
    
    Not all AJAX requests carry this version identifier. In particular, Lift
    GC requests do not carry a version identifier. This is because these
    are going to be handled in a streamlined handler. If a Lift GC request
    doesn't make it through, we can retry it as many times as we want and
    it'll just remark stuff in the session.
    
    liftAjax.addPageNameAndVersion appends both the page GUID and the
    version number. The version number is encoded in base-36.
  7. @Shadowfiend

    Add !< to LiftCometActor.

    Shadowfiend authored
    CometActor had the function by virtue of extending Lift's actor traits;
    however, the LiftCometActor trait that is often used to reference it
    didn't define that the method would be present. We add it there so it
    can be referred to anywhere that LiftCometActor is passed around instead
    of CometActor.
    
    !< returns an LAFuture for a message reply.
Commits on Aug 2, 2012
  1. @dpp
Commits on Aug 1, 2012
  1. @dpp
Commits on Jul 31, 2012
  1. @nafg

    lift-webkit

    nafg authored
Commits on Jul 20, 2012
  1. @fmpwizard

    * Fixed #1292 - added version to the @deprecated messages.

    fmpwizard authored
    * Removed more compiler warnings.
    * Changed S.respondAsync to use RestContinuation.async (and removed deprecated usage)
Commits on Jul 9, 2012
  1. @davewhittaker
Commits on Jul 6, 2012
  1. @fmpwizard

    * Reverted the default entry in LiftRules to still use the 1.3 versio…

    fmpwizard authored
    …n of jQuery.
    
    ** This is more in line with deprecating it, as opposed to just breaking apps.
  2. @fmpwizard

    * When I deprecated JQuery13Artifacts and JQuery14Artifacts I did not…

    fmpwizard authored
    … add a
    
    replacement Artifact for jQuery (which tells Lift how to do comet/ajax and a few other things)
    ** Added a case object JQueryArtifacts which simply extends the JQueryArtifacts trait.
    ** Modified the default JsArtifact in LiftRules ro use the new case obejct for jQuery
    *** Minor spelling fixes.
Commits on Jul 3, 2012
  1. @fmpwizard
  2. @fmpwizard
  3. @fmpwizard
Commits on Jul 2, 2012
  1. @dpp
Commits on Jul 1, 2012
  1. @dpp

    Merged issues 1283

    dpp authored
  2. @dpp

    Merge pull request #1285 from lift/asc_issue_1285

    dpp authored
    Make session loss handling more flexible for ajax and comet
  3. @dpp

    Merge pull request #805 from lift/diego_issue_805

    dpp authored
    snippet Msgs.ShowAll should not be a session var
Commits on Jun 27, 2012
  1. @indrajitr
Commits on Jun 26, 2012
  1. @Shadowfiend

    Add @deprecated for redirectOnAjaxSessionLoss assignment.

    Shadowfiend authored
    Before we had only deprecated the read, not the write.
Commits on Jun 25, 2012
  1. @Shadowfiend
  2. @Shadowfiend

    Add default liftAjax. and liftComet.lift_sessionLoss.

    Shadowfiend authored
    The default implementation of liftComet.lift_sessionLoss uses
    LiftRules.noCometSessionPage to do a redirect, while liftAjax's does a
    page reload (which is what we'd rather have liftComet's do, but we need
    to be backwards-compatible with noCometSessionPage).
  3. @Shadowfiend
  4. @Shadowfiend

    Add LiftRules noCometSessionCmd/noAjaxSessionCmd.

    Shadowfiend authored
    These are the JsCmds that will be sent to the client when a session is
    missing for a comet or ajax request, respectively. For comets, no comet
    session is a state where a comet request comes in with no associated
    session OR with a session that has no associated CometActors (typically
    this happens on server reload).
  5. @Shadowfiend

    Default implementation of liftComet.lift_cometError.

    Shadowfiend authored
    The default implementation tries to log the exception and then rethrows
    it. The log is guarded for the existence of console.error and logged as
    an error.
  6. @Shadowfiend
  7. @Shadowfiend

    Properly use LiftRules.cometUpdateExceptionHandler.

    Shadowfiend authored
    CometActor now properly wraps its updates in a try/catch block when
    cometUpdateExceptionHandler is Full.
Something went wrong with that request. Please try again.