Commits on Dec 29, 2014
  1. Merge pull request #569 from glensc/patch-1

    add plessc to composer bin
    committed Dec 29, 2014
  2. Merge pull request #573 from GrahamForks/patch-1

    Allow newer versions of phpunit
    committed Dec 29, 2014
  3. Merge pull request #574 from GrahamForks/patch-2

    Update .travis.yml
    committed Dec 29, 2014
  4. Merge pull request #549 from cgcai/phpunit-xml

    Added basic PHPUnit XML configuration
    committed Dec 29, 2014
Commits on Nov 24, 2014
  1. @GrahamCampbell

    Update .travis.yml

    GrahamCampbell committed Nov 24, 2014
  2. @GrahamCampbell
  3. @Krinkle

    tests: Set up phpunit via config file

    Use a config file for phpunit and specify the version and script
    via composer instead of harcoding for Travis CI.
    
    Also remove the obsolete self-update for composer that was needed
    for a bug in an older version of Travis CI workers.
    
    Fix indentation in composer.json (consistently use 4 spaces).
    
    Remove redundant arguments from composer install command.
    Krinkle committed Nov 24, 2014
  4. @Krinkle

    bump version

    Krinkle committed Nov 24, 2014
Commits on Sep 27, 2014
  1. @glensc

    Update composer.json

    add plessc to bin
    glensc committed Sep 27, 2014
Commits on Apr 27, 2014
  1. @atdt

    Merge pull request #548 from DannyvdSluijs/master

    Solves #302 in upstream.
    atdt committed Apr 26, 2014
Commits on Apr 23, 2014
  1. @atdt

    Merge pull request #550 from ptarjan/patch-1

    hhvm passes now :)
    atdt committed Apr 23, 2014
  2. Merge pull request #553 from atdt/master

    Set visibility of lessc::compileValue to 'public'
    committed Apr 22, 2014
  3. @atdt

    Set visibility of lessc::compileValue to 'public'

    lessc::compileValue is a useful helper for implementing custom functions.
    atdt committed Apr 22, 2014
Commits on Apr 11, 2014
  1. @ptarjan

    hhvm passes now :)

    ptarjan committed Apr 11, 2014
  2. @cgcai
Commits on Feb 5, 2014
  1. Merge pull request #530 from GrahamCampbell/master

    Minor Improvements
    committed Feb 5, 2014
Commits on Jan 18, 2014
  1. @GrahamCampbell

    Travis improvements

    GrahamCampbell committed Jan 18, 2014
  2. @GrahamCampbell

    CS fixes

    GrahamCampbell committed Jan 18, 2014
Commits on Jan 8, 2014
  1. docs typo

    committed Jan 7, 2014
Commits on Dec 5, 2013
  1. Merge pull request #500 from nyordanov/master

    Implement data-uri([mimetype,] url) from less.js 1.4.0
    committed Dec 5, 2013
Commits on Nov 7, 2013
  1. @nyordanov
Commits on Nov 6, 2013
  1. @nyordanov
  2. @nyordanov
Commits on Oct 17, 2013
  1. rebuild tests

    committed Oct 17, 2013
  2. @mkdgs

    Update lessc.inc.php

    mkdgs committed with Oct 17, 2013
  3. @mkdgs

    Update lessc.inc.php

    Fix: color: contrast(#000); generate error because light and dark was not optional, the contrast function not act like lesscss.org documentation.
    also the thresold is fixed and not implemented like less.js
    
    this change:
    - make optional light color, dark color and threshold
    - threshold act like less.js implementation
    - add lib_luma (for threshold calculation)
    mkdgs committed with Oct 17, 2013
Commits on Oct 4, 2013
  1. Merge pull request #485 from mkdgs/patch-1

    Update lessc.inc.php
    committed Oct 4, 2013
  2. @mkdgs

    Update lessc.inc.php

    use property_exist to avoid the inconsistent error message:
    "Undefined property: stdClass::$parent"
    when error reporting is set to ALL
    mkdgs committed Oct 4, 2013
Commits on Oct 3, 2013
  1. Merge pull request #480 from atdt/master

    Improve handling of preserved comments; make custom function helpers public
    committed Oct 3, 2013
Commits on Sep 30, 2013
  1. @atdt

    Miscellaneous small touch-ups

    - Remove a couple of unnecessary seek() checks.
    - Fix typo in variable name (initialized as 'seenComments', but used as
      'commentsSeen')
    - Remove redundant array_values() call
    - Remove unused 'lastCount' variable
    - Consistently capitalize 'LESS' and 'CSS'.
    - Remove trailing whitespace from several files.
    atdt committed Sep 29, 2013
Commits on Sep 29, 2013
  1. @atdt

    Improve handling of /* comments */ when 'preserveComments' is set

    When preserveComments is set,
    - The top comment in a block should not "jump" outside the block.
    - Comments should retain their position relative to the rules that follow them.
    - Comments should not be deduplicated.
    - When a repeated rule is deduplicated, the comments that precede each
      occurrence should be consolidated above the deduplicated rule.
    
    Because comments and whitespace are handled in tandem, the change impacts
    slightly the handling of whitespace. Specifically, 'e(this is simple);' was
    previously interpreted as though it were written 'e("this");'. It now causes an
    error instead, which is the appropriate behavior (it's how less.js handles it).
    atdt committed Sep 29, 2013
  2. @atdt

    Make function helpers public

    The set of helper functions that the built-in lib_* functions use to validate
    their arguments and generate output should be part of lessphp's public API,
    because they are very useful to anyone implementing custom functions.
    Accordingly, this patch makes the following protected functions public:
    
     * assertArgs
     * assertColor
     * assertNumber
     * colorArgs
     * throwError
     * toBool
    
    The patch also makes public the properties $TRUE and $FALSE, since they are
    useful for writing custom predicate functions.
    atdt committed Sep 27, 2013
Commits on Sep 27, 2013
  1. Merge pull request #472 from atdt/master

    Make lessc::addParsedFile public
    committed Sep 26, 2013
  2. Merge pull request #478 from atdt/master

    On invalid LESS, throw exception rather than emit blanks
    committed Sep 26, 2013
Commits on Sep 26, 2013
  1. @atdt

    On invalid LESS, throw exception rather than emit blanks

    This patch makes lessphp throw errors when it is called to compile LESS code
    that references undefined variables or mixins. A mixin invocation will cause an
    exception to be thrown if it fails to match, whether it is because no mixin of
    that name exists, or because the invocation fails to match against the
    signatures or guards of defined mixins. This is consistent with the behavior of
    the reference LESS implementation.
    
    The patch removes cases from tests/inputs/* that fail to compile. A new test
    suite, ErrorHandlingTest.php, verifies the new error-throwing behavior.
    atdt committed Sep 25, 2013