Permalink
Commits on Jun 3, 2011
Commits on May 9, 2011
  1. start of new documentation

    leafo committed May 9, 2011
Commits on Apr 30, 2011
  1. can assign variables from php before parsing

    leafo committed Apr 30, 2011
    docs coming soon
Commits on Apr 28, 2011
  1. fixed bug with comment at end of file

    leafo committed Apr 28, 2011
    fixed infinite loop with a comment at end of file with no new line
Commits on Apr 26, 2011
  1. replaced compilation model

    leafo committed Apr 26, 2011
    - no more automatic mixin merging
    - accessors are gone (for now)
    - import works differently, has better error messsages (real line numbers
    and file path)
    - fixed issues with mixin arguments when mixing in wrapping blocks (bug)
    - imported css files aren't parsed anymore (bug)
    - whole thing slightly faster
    
    Old model was to treat all data as static, but it obfuscated simple
    tasks. New model interprets a list of instructions generated by the
    parser. This will produce ordered output in a more predictable manner.
    (the code is also much easier to read now)
Commits on Apr 20, 2011
  1. fixed typo

    leafo committed Apr 20, 2011
Commits on Mar 18, 2011
  1. made some improvements to math expression parsing

    leafo committed Mar 18, 2011
    Can bunch operators and numbers together now. Whitespace
    is more intelligently handled depending on context of
    expression.
    
    See `tests/inputs/math.less` for a detailed overview.
Commits on Mar 17, 2011
  1. fixed bug in docs

    leafo committed Mar 17, 2011
Commits on Mar 13, 2011
  1. added alias for escape builtin to match lessjs

    leafo committed Mar 13, 2011
    the function `e` is now available in less code to output a string
    as raw (unquoted) text.
  2. added built in color manipulation functions

    leafo committed Mar 13, 2011
    * same as lessjs, added the following:
    	saturate, desaturate, lighten, darken, spin, fadeout, fadein
    	hue, saturation, lightness
    
    * hsl colors are converted into rgb colors
Commits on Mar 12, 2011
  1. fixed bug with reducing functions

    leafo committed Mar 12, 2011
    function values without a list argument type were throwing errors
    when being reduced
    
    this showed up when writing a lib_url method to overwrite the
    default behavior of css url()
Commits on Dec 26, 2010
  1. comments & cleanup

    leafo committed Dec 26, 2010
Commits on Dec 22, 2010
  1. added lessify, css to less compiler

    leafo committed Dec 22, 2010
    uses parser from lessphp to recursively describe a css file as a less
    file. Looks for common ancestors in selectors and builds a less
    document.
    
    For now:
    
    	./lessify filename > output
    
    or, include `lessify.inc.php` and:
    
    	$l = new lessify($file);
    	echo $l->parse();
  2. test for rgbahex builtin

    leafo committed Dec 22, 2010
Commits on Dec 20, 2010
  1. all CSS3 possible $units

    Lopo committed Dec 20, 2010
Commits on Dec 19, 2010
  1. changed how functions are evaluated

    leafo committed Dec 19, 2010
    This mainly applies to lib_ functions, but any function is evalulated to
    a type before doing anything. This lets library functions return types
    that can be used in equations.
    
    A side effect is that colors are now normalized to the # syntax when
    they don't have an alpha component.
    
    lib_ functions that return a raw string will be typed as a keyword, and
    those that return a raw php number will be typed as a number. Otherwise
    they can return the specific type.
    
    eg, the number type:
    
    	array('number', 1234)
    
    the keyword type
    
    	array('keyword', 'keyword-value')
Commits on Dec 18, 2010
  1. separated parsing and compiling entirely

    leafo committed Dec 18, 2010
    can parse less document to tree without having to output anything
  2. tests for comments

    leafo committed Dec 18, 2010
  3. added site demos as test

    leafo committed Dec 18, 2010
  4. mixins are fully evaluated on mix-in

    leafo committed Dec 18, 2010
    also fixed issue with default arguments not being propagated in nested
    blocks
Commits on Dec 17, 2010
Commits on Nov 29, 2010
  1. fixed scope issue

    leafo committed Nov 29, 2010
    abstract properties in nested scopes were not being resolved, issue #67
Commits on Nov 26, 2010
  1. tests for importing

    leafo committed Nov 26, 2010
Commits on Nov 25, 2010
  1. Options : Possibility to specify options inside the "parse" method

    Olivier Gorzalka
    Olivier Gorzalka committed Nov 25, 2010
    Import : search for file before file.less in the import statement
    ImportDir : possibility to add multiple import directory
  2. code cleanup

    leafo committed Nov 25, 2010