Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

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

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

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

    authored
    Added basic PHPUnit XML configuration
Commits on Nov 24, 2014
  1. Graham Campbell

    Update .travis.yml

    GrahamCampbell authored
  2. Graham Campbell
  3. Timo Tijhof

    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. Timo Tijhof

    bump version

    Krinkle authored
Commits on Sep 27, 2014
  1. Elan Ruusamäe

    Update composer.json

    glensc authored
    add plessc to bin
Commits on Apr 27, 2014
  1. Ori Livneh

    Merge pull request #548 from DannyvdSluijs/master

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

    Merge pull request #550 from ptarjan/patch-1

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

    authored
    Set visibility of lessc::compileValue to 'public'
  3. Ori Livneh

    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. Paul Tarjan

    hhvm passes now :)

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

    authored
    Minor Improvements
Commits on Jan 18, 2014
  1. Graham Campbell

    Travis improvements

    GrahamCampbell authored
  2. Graham Campbell

    CS fixes

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

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

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

    authored
  2. Mickael Desgranges

    Update lessc.inc.php

    mkdgs authored committed
  3. Mickael Desgranges

    Update lessc.inc.php

    mkdgs authored committed
    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)
Commits on Oct 4, 2013
  1. Merge pull request #485 from mkdgs/patch-1

    authored
    Update lessc.inc.php
  2. Mickael Desgranges

    Update lessc.inc.php

    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

    authored
    Improve handling of preserved comments; make custom function helpers public
Commits on Sep 30, 2013
  1. Ori Livneh

    Miscellaneous small touch-ups

    atdt authored
    - 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.
Commits on Sep 29, 2013
  1. Ori Livneh

    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. Ori Livneh

    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

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

    authored
    On invalid LESS, throw exception rather than emit blanks
Commits on Sep 26, 2013
  1. Ori Livneh

    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.