Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Dec 29, 2014
  1. Merge pull request #569 from glensc/patch-1

    add plessc to composer bin
  2. Merge pull request #573 from GrahamForks/patch-1

    Allow newer versions of phpunit
  3. Merge pull request #574 from GrahamForks/patch-2

    Update .travis.yml
  4. Merge pull request #549 from cgcai/phpunit-xml

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

    Update .travis.yml

    GrahamCampbell authored
  2. @GrahamCampbell
  3. @Krinkle

    tests: Set up phpunit via config file

    Krinkle authored
    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.
  4. @Krinkle

    bump version

    Krinkle authored
Commits on Sep 27, 2014
  1. @glensc

    Update composer.json

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

    Merge pull request #548 from DannyvdSluijs/master

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

    Merge pull request #550 from ptarjan/patch-1

    atdt authored
    hhvm passes now :)
  2. Merge pull request #553 from atdt/master

    Set visibility of lessc::compileValue to 'public'
  3. @atdt

    Set visibility of lessc::compileValue to 'public'

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

    hhvm passes now :)

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

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

    Travis improvements

    GrahamCampbell authored
  2. @GrahamCampbell

    CS fixes

    GrahamCampbell authored
Commits on Jan 8, 2014
  1. docs typo

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

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

  2. @mkdgs


    mkdgs authored committed
  3. @mkdgs


    mkdgs authored committed
    Fix: color: contrast(#000); generate error because light and dark was not optional, the contrast function not act like 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)
Commits on Oct 4, 2013
  1. Merge pull request #485 from mkdgs/patch-1

  2. @mkdgs


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

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

    Miscellaneous small touch-ups

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

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

    atdt authored
    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).
  2. @atdt

    Make function helpers public

    atdt authored
    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.
Commits on Sep 27, 2013
  1. Merge pull request #472 from atdt/master

    Make lessc::addParsedFile public
  2. Merge pull request #478 from atdt/master

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

    On invalid LESS, throw exception rather than emit blanks

    atdt authored
    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.
Something went wrong with that request. Please try again.