Permalink
Switch branches/tags
Commits on Mar 15, 2015
  1. Start moving things into RenderingCometActor.

    Shadowfiend committed Mar 15, 2015
    This isn’t complete, and doesn’t currently compile. In particular, the
    actual message handling for rendering is still all in BaseCometActor,
    which is causing compilation issues everywhere since several of the
    related properties have been moved into RenderingCometActor.
  2. One last compilation fix for a spec.

    Shadowfiend committed Mar 15, 2015
    We were extending NamedCometActorTrait assuming that we didn't need to extend a
    CometActor class directly, but that is no longer the case.
Commits on Feb 28, 2015
  1. Various compilation fixes.

    Shadowfiend committed Feb 28, 2015
  2. Reorganize and document CometActor stuff.

    Shadowfiend committed Feb 28, 2015
    Core code is still mostly the same, but some documentation cleanup has occurred
    and things have been rearranged a little to make more sense (e.g., things are
    defined before they’re extended/mixed in).
  3. Split out ListenerManager and friends.

    Shadowfiend committed Feb 28, 2015
    This includes the messages it uses, as well as CometListener and
    LiftActorJWithListenerManager.
Commits on Feb 22, 2015
Commits on Feb 21, 2015
  1. Rename MessageCometActor to MessagingCometActor.

    Shadowfiend committed Feb 21, 2015
    This lines up with RenderingCometActor.
  2. Add docs and deprecations to LiftCometActor.

    Shadowfiend committed Feb 21, 2015
    A bunch of things in LiftCometActor will only apply to RenderingCometActor once
    we introduce it. Documentation is also written with the Rendering vs
    MessageCometActor split in mind.
Commits on Feb 10, 2015
  1. Merge pull request #1682 from lift/pmb_cometlifespan

    pbrant committed Feb 10, 2015
    Fix Comet clean-up bug
  2. Fix Comet clean-up bug

    pbrant committed Feb 10, 2015
    Comet actors which defined a life span were being half-cleaned up with
    correspondingly strange results. The cause was java.util.Map#remove
    taking an Object, not a K with the result that this was missed when
    migrating from a tuple to CometId.
  3. Merge pull request #1679 from lift/diego_issue_string_inter

    fmpwizard committed Feb 10, 2015
    Fixed missing `s` in string interpolation
Commits on Feb 7, 2015
  1. Fixed missing `s` in string interpolation

    fmpwizard committed Feb 7, 2015
Commits on Jan 31, 2015
  1. Merge pull request #1675 from lift/pmb_comet

    Shadowfiend committed Jan 31, 2015
    Comet fix fix
    
    AsyncRenderComet should be a MessageCometActor. Use BaseCometActor in
    more places.
    
    (overlooked in the initial round of changes)
Commits on Jan 27, 2015
  1. Comet fix fix

    pbrant committed Jan 27, 2015
    AsyncRenderComet should be a MessageCometActor. Use BaseCometActor in
    more places.
Commits on Jan 25, 2015
  1. Merge pull request #1673 from lift/beautiful-and-unique-snowflake

    Shadowfiend committed Jan 25, 2015
    Beautiful and Unique Snowflake: Try to ensure uniqueness of comet requests
    
    We already did some work to make sure comet requests were unique;
    this adds one more layer of checking around that. When we schedule a
    new comet request, we include the current "comet request count". That
    count is incremented when the request is actually fired off. This means
    that scheduling a new request multiple times before the request is fired
    will only result in one request, rather than multiple requests that will walk
    all over each other.
Commits on Jan 23, 2015
  1. Fix a misnamed parameter in registerComet.

    Shadowfiend committed Jan 23, 2015
    The paramter was named restartComet, but restartComet is the name of the
    restart function, while startComet is the correct name for the parameter.
  2. Ensure uniqueness of comet requests.

    Shadowfiend committed Jan 23, 2015
    We now track a "current count" for a comet request, and any calls to start a
    request carry the then-current count. Once a comet request is fired, the count
    is incremented, ensuring that even if a new comet request is scheduled multiple
    times, only one will run at any given moment.
    
    This is only the new part of the guard. The other part of the guard is that we
    track the actual current comet request and abort it if a comet request restart
    is needed. However, an AJAX request that was just begun cannot be aborted, so
    if multiple restarts are scheduled in one tick for whatever reason, we end up
    with multiple requests--this fix guards against that scneario.
Commits on Jan 21, 2015
  1. Merge pull request #1672 from lift/fix_parallel_attribute_check_1671

    fmpwizard committed Jan 21, 2015
    Fixed NPE in LiftRules:913
  2. Fixed NPE in LiftRules:913

    andreak committed Jan 21, 2015
  3. Merge pull request #1665 from lift/extract-o-matic

    Shadowfiend committed Jan 21, 2015
    Extract-o-matic: Extract event handlers to page JS
    
    The main functionality here moves event handler attachment from inline
    attributes to the page JavaScript that Lift 3 now supports. The reason for
    this is so that, out of the box, Lift will be compatible with very restrictive
    Content Security Policy settings when using built-in Lift features.
    
    To do this, we add a lift.onEvent function that has both jQuery and vanilla
    implementations. There are also a couple of fixes to existing JS functionality
    here.
  4. Merge pull request #1603 from lift/your-data-lift-is-my-data-lift

    Shadowfiend committed Jan 21, 2015
    Your data-lift is my data-lift: Reimplement data-lift as a data attribute parser.
    
    This PR reimplements data-lift as a data attribute parser.
    
    Few points of concern:
     - I want to go through at some point and clean up the copy-pasting of helper
       methods that I did wrt MetaData parsing.
     - I'm not entirely sure why I'm having to manually check for the parallel attribute
       in my parser. My understanding was that if my parser generates a lift: node,
       that should be processed subsequently by the regular SnippetNode parser, which
       does checks for parallel processing.
Commits on Jan 18, 2015
  1. Merge pull request #1666 from lift/travis-integration

    Shadowfiend committed Jan 18, 2015
    Travis Integration
    
    Adds Travis CI build script, including building for both OpenJDK and Oracle
    JDK. More to come!
  2. openjdk7 profile

    arkadius authored and Shadowfiend committed Jan 5, 2015
  3. travis integration:

    arkadius authored and Shadowfiend committed Jan 5, 2015
    - build script
    - build status in README
  4. Merge pull request #1670 from lift/time-span-deprecation

    fmpwizard committed Jan 18, 2015
    TimeSpan Deprecation
  5. Drop ConvertableToDate deprecations.

    Shadowfiend committed Jan 18, 2015
    These aren’t directly related to TimeSpans, and we need to
    figure out how exactly we want these deprecations to work
    first.
  6. Reword TimeSpan deprecations.

    Shadowfiend committed Jan 18, 2015
    They all include suggested alternatives now.
  7. Expand and clarify deprecations

    arkadius authored and Shadowfiend committed Jan 14, 2015
    - deprecations for Int/Long -> TimeSpan, TimeSpan -> Long conversion
    - deprecation since version notice added
  8. TimeSpan represents duration in milliseconds.

    arkadius authored and Shadowfiend committed Jan 12, 2015
    Before the change TimeSpan has many responsibilities - in equality behave as a
    joda Period (was checking duration field equality), can represent a Date (using
    toDate/toDateTime operations) or be used as a simple container for
    milliseconds. Now is responsible only for operations on milliseconds.
    Problematic methods have been deprecated (.ago/.later have been moved to
    implicit PeriodExtension). For backward compatibility there is introduced
    implicit conversion from Period to TimeSpan.
    
    Also added a variety of deprecations and cleaned up specs that are
    timezone-dependent to run in explicit conditions.
Commits on Jan 17, 2015
  1. Merge pull request #1652 from lift/unified-parsers

    Shadowfiend committed Jan 17, 2015
    Unified parsers
    
    Enhancement for configuring parsers per discussion at
    https://groups.google.com/forum/#!topic/liftweb/WnaUFd9Fw5E . Adds a
    LiftRules.contentParsers rule which is a list of ContentParser objects. These
    can be used to define parsers for templates, which the template loading pipeline
    can use in turn. Out of the box, we provide the existing HTML and Markdown
    parsers, but this can easily be used to add, e.g., asciidoc support.
    
    ContentParsers can specify the template suffixes that they support, as well as
    provide a parser function that takes an InputStream and produces a Box[NodeSeq]
    and a surround function that may be used to auto-surround the content if it is at
    the root of a file (instead of included from another template).