Permalink
Commits on May 22, 2014
  1. Improve SHtml scaladocs and consolidate APIs.

    This across handler and ajaxHandler functions.
    Shadowfiend committed May 22, 2014
Commits on May 21, 2014
  1. Finish ajaxHandler first-pass implementations.

    Still FIXMEs sprinkled throughout and no API docs.
    Shadowfiend committed May 21, 2014
  2. Fix return value for attribute SHtml.handler.

    Before we were appending the attribute, but attribute
    bindings are guaranteed to be setting an attribute, so we
    instead return the value for the attribute.
    Shadowfiend committed May 21, 2014
Commits on May 19, 2014
  1. API prototyping for new SHtml.

    Compilation: negatory.
    Shadowfiend committed May 19, 2014
Commits on May 18, 2014
  1. Merge pull request #1562 from lift/lift_30-with-master-and-1560

    Merge with master + deprecated mongo/ConnectionIdentifier code removal.
    Shadowfiend committed May 18, 2014
Commits on May 15, 2014
  1. Merge branch 'master' into lift_30

    Conflicts:
    	persistence/mapper/src/main/scala/net/liftweb/mapper/Mapper.scala
    	persistence/mapper/src/main/scala/net/liftweb/mapper/MetaMapper.scala
    	persistence/mongodb/src/main/scala/net/liftweb/mongodb/Mongo.scala
    	web/webkit/src/main/scala/net/liftweb/http/Wizard.scala
    Shadowfiend committed May 15, 2014
Commits on May 13, 2014
Commits on May 12, 2014
  1. Merge pull request #1534 from lift/deprecator-exterminator

    Deprecator Exterminator: Systematic de-warningification of Lift 3
    
    This PR should get rid of all compiler warnings in Lift 3, as well as internal
    deprecations from the 2.x series.
    Shadowfiend committed May 12, 2014
Commits on May 10, 2014
  1. Don't invoke AJAX failure callback on abort.

    We only abort to reset comet requests, and in those cases
    we explicitly handle retries as successes rather than
    failures.
    Shadowfiend committed May 10, 2014
  2. Return XHR objects from ajaxGet.

    jQuery returns an API-compatible object. We do this so that
    we can properly abort requests when comets need to be
    reset.
    Shadowfiend committed May 10, 2014
  3. Don't call lift.registerComets if there are none.

    Before we were sending down the lift.registerComets
    invocation with an empty object even in cases where there
    were no comets to send down with an AJAX response; we
    now generate no additional JS in those cases.
    Shadowfiend committed May 10, 2014
  4. Default S.findOrCreateComet to not call addComet.

    The first pass made receiveUpdatesOnPage true by default;
    on second thought, S.findOrCreateComet will by default not
    add the comet to receive updates on the page. The Comet
    snippet explicitly sets that parameter to true so that those
    comets are registered to receive updates.
    
    You can also separately receive updates by calling
    S.addComet with the comet actor.
    Shadowfiend committed May 10, 2014
  5. Replace S.addCometAtEnd with S.addComet.

    S.addComet takes a LiftCometActor instead of an Elem. It
    replaces the private trackComet that simply added an entry
    to S.requestCometVersions.
    
    Additionally, this makes server-side actors and roundtrip
    streaming promises work again.
    Shadowfiend committed May 10, 2014
  6. Rip out lift:when attribute from comet stuff.

    We’re no longer using this to properly register comets on the
    client.
    Shadowfiend committed May 10, 2014
  7. Fix AJAX send-down to use S.requestCometVersions.

    This as opposed to using the lift:when marker attributes in
    S.cometAtEnd.
    Shadowfiend committed May 10, 2014
  8. Track comets to add to LiftMerge using RequestVar.

    Before, comet tags included a lift:when attribute that was
    used to extract comet versions and such. We now track
    these when S.findOrCreateComet is called, and in LiftMerge
    we use this list instead of looking for the marker attribute.
    
    Because all invocations of the Comet snippet go through
    S.findOrCreateComet, these are automatically tracked;
    however, things added via S.addCometAtEnd are currently
    lost, and we’re not handling AJAX send-down yet.
    Shadowfiend committed May 10, 2014
  9. Rework Comet snippet.

    In particular, the snippet now exposes a
    Comet.containerForCometActor method that can be used by
    an arbitrary third party consumer to produce the container for
    a given comet actor when a handle to the LiftCometActor
    object already exists.
    
    It is, of course, still possible to materialize a CometActor using
    regular lift:comet snippet.
    Shadowfiend committed May 9, 2014
Commits on May 9, 2014
  1. Comet UpdateDefaultXml message->UpdateDefaultHtml.

    We’ve moved towards naming things “html” when dealing with
    comets, so this follows that trend.
    Shadowfiend committed May 9, 2014
  2. Merge pull request #1546 from lift/deprecate-xbind-stuff

    2.6: Deprecate xbind-related things in Mapper.
    
    This includes a bunch of field binding and form snippet helpers. New versions
    are added for doing similar things with CssSels instead.
    
    They don't map 1-to-1 because CSS selector transforms don't support namespaces,
    amongst other things. Transforms are combined using andThen in case they match
    the same element or match a parent element and something else needs to affect
    the child.
    Shadowfiend committed May 9, 2014
Commits on May 8, 2014
  1. Consolidate functionality in comet building code.

    This all in LiftSession, where the comet building code
    refactoring had left some duplication littered around.
    Shadowfiend committed May 8, 2014
Commits on May 7, 2014
  1. Rework findOrBuildComet[T].

    Instead of converting T to a simple type name and then going
    through the usual comet lookup pipeline, we use the Class
    instance given us by the manifest for T to directly try to
    instantiate the class, which is just cleaner.
    Shadowfiend committed May 7, 2014