[Pkg-javascript-commits] [less.js] annotated tag upstream/1.4.2 created (now c4b2fed)
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:22:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a change to annotated tag upstream/1.4.2
in repository less.js.
at c4b2fed (tag)
tagging bc66b513a5d5517a03d4180514aca535570a9f62 (commit)
replaces upstream/1.3.1_20121105
tagged by Jonas Smedegaard
on Tue Jul 23 02:11:11 2013 +0200
- Log -----------------------------------------------------------------
Upstream version 1.4.2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAABCgAGBQJR7cofAAoJEE7BtyI3T5vWKgcH/iOTGrlTo0h2VljErQ1PSMlN
+R4VTkTHboun3iaKOY7eLfylQJkxf44Z7Le6nAdQ1Mx4grXUB8j+Md7ih4jMPMnG
dXy562JS3HzCB4cyDGxKt1CdR0QMCvrvS2GKArWHJ6QmnFHDs8DKnOEpQBbiNoYY
/F+g8t85ZfKUE4g3lMg9c1MXR3YhFf16JLkebI82Ijz9qjC4gEGQs1WU1YwTWnGJ
IjAw42wqpWXCaTFVSo31C5cwXh8JZC6JsBkv/1oa9UxH5OnTMGb+QPpzdIVnxm8S
K+SfMH0DDBmDIXdzmhvRiMAcEuR5Z4PnkXpMT5M4pBw1U+qKMyRqSkO0RAKbVAI=
=wfN9
-----END PGP SIGNATURE-----
Adam McCormick (1):
Follow standard for inheriting from Error
Adam Solove (1):
Correctly handle data URIs, add test for quoted data URIs.
Adrian Lang (1):
Make parse error handler more robust
Alex Ganose (1):
Removed toLowerCase function call so the function name remains the same
Alexis Sellier (172):
fixed readme.
tweak mixin pattern matching to be more useful
(dist) version bump and build
(dist) build
fix alpha channel being ignored in operations
(test) @arguments
parse whitespace inside function param lists
parse comments inside expressions
better comment parsing in selector list
refactor less-benchmark.js
fix SyntaxError messages not being displayed correctly
Merged pull request #235 from PaulKinlan/master.
Merged pull request #200 from bartschuller/master.
Merge pull request #247 from gilt/master.
support unary '-' on variables and ()
(dist) version bump
(dist) build 1.0.44
parse '~' in url(), closes #223
(new) string interpolation and built-in escaping
don't add base-path to data-uris. closes #258
(new) variable variables
Merge pull request #189 from dz0ny/master
Merge pull request #169 from alkemist/master
change @arguments behaviour to be more like js
(test) new @arguments behaviour
(test) fix javascript test
(new) interpolation & escaping of JS
(dist) build 1.1.0
Merge branch 'master' of github.com:cloudhead/less.js
(dist) use uglifyjs, update copyright headers
(minor) ws
(dist) build updates
better JavaScript evaluation
(dist) version bump 1.1.1
fix string interpolation with color values
don't re-evaluate arguments on each mixin.call
(dist) verison bump
Merge branch 'master' of github.com:cloudhead/less.js
(dist) build 1.1.2
fix alpha(opacity=n) support
(dist) version 1.1.3
(build) 1.1.3
Merge pull request #347 from idris/patch-1
Merge pull request #229 from bennyschudel/master
Merge pull request #335 from ttfkam/argb
Merge pull request #341 from ttfkam/cloudhead_322
Merge pull request #340 from steevel/master
Merge pull request #355 from revolunet/import-querystrings
Merge pull request #388 from erwan/rhino
don't use globals to hold engine mode
fix additional paths not being loaded
Merge pull request #432 from asolove/master
Merge pull request #450 from fat/index-on-element-root
node 0.5.x compatibility
fix css keyframes parsing
merge
fix IE 6 support
Merge pull request #445 from jlaire/patch-1
remove require.paths from scripts
Merge branch 'master' of github.com:cloudhead/less.js
require 'util' instead of 'sys'
(dist) version bump & build 1.1.5
(dist) build rhino
fix less.mode in node
fix regression on urls with relative paths Closes #464 #471 #465
(dist) hot-fix 1.1.5
more flexible parsing of vendor selectors
Merge pull request #458 from fat/assignment-entities
fix minor directive parsing bug
fix regression on url.js
Merge pull request #492 from fat/operation-comments
merge named-colors patch
merge named-colors
Merge pull request #507 from garth/master
add ceil/floor math functions, refactor.
Merge branch 'master' of https://github.com/Glench/less.js into yui
(minor) ws
support -ms- vendor extension
Merge pull request #506 from Harrison/master
Merge branch 'master' of github.com:cloudhead/less.js
Merge pull request #461 from dmcass/sys-util
Merge pull request #514 from eager/master
Merge pull request #494 from jmcclell/patch-1
Merge pull request #379 from khalsah/bug/chrome-extensions
Merge pull request #496 from wfreeman/master
improve minification process a little
fix duplicate header in minified js
(dist) version bump
(dist) build 1.1.6
dynamic selectors
mixin guards
improvements to error messages
fix error reporting when index == 0
support vanilla @keyframes
fix error output on unexpected errors
properly support @media and @import features
parenthesized node init
(test) variable in @media feature
Merge pull request #527 from hokaccha/percentage
color() function parses color string
improve function call error reporting
fix string interpolation bug when var is empty
Merge pull request #515 from imcotton/patch-1
additional support for mixin guards
(test) mixin-guards
Merge branch 'master' of github.com:cloudhead/less.js
change guard syntax to be more 'cssy'
mixin-guards: support >= != =< operators
improve error-reporting
improve condition parser, support true/false values
support more falsy values
type-checking stylesheet functions
(minor) tidying up
add more is-* functions
and/or for mixin guards
change negation operators to be more cssy
improve import support with media features
(dist) version bump 1.2.0
support '!important' after mixin calls
(test) tests for '!important' mixins
rename is-* functions to is*
remove '^=', support 'not' better
(dist) build 1.2.0
improve errors from imported files
fix bug in string arguments to mixin call
Merge pull request #557 from kmchugh/master
refactor rhino setup logic
(dist) hot-fix 1.2.0
fix 'File not found' import error
fix Runtime error reports from imported files
improve error reporting on browser
fix imports on browser
fix imports on browser
(dist) Makefile: make server
(dist) 1.2.1
(minor) add missing semi-colon
parsing/compiling speedups
(test) string escapes
fix 'missing }' error message
Merge pull request #516 from chrizel/master
(meta) todo paths.unshift fix
Merge branch 'master' of github.com:cloudhead/less.js
Merge pull request #479 from tobias104/issue-457
fix url() imports
Merge pull request #585 from fat/newline-selectors
Merge branch 'master' of github.com:cloudhead/less.js
use basename when fetching import file contents
add hook for import error
(ws)
Merge pull request #604 from treshugart/master
Merge pull request #595 from hokaccha/fix_parser_error
Merge pull request #601 from adrianlang/patch-1
(dist) version 1.2.2
(dist) build 1.2.2
Merge pull request #631 from highergroundstudio/master
Merge pull request #634 from sirlantis/patch-media
Merge branch 'patch-media-query-variable' of https://github.com/sirlantis/less.js
Fix '::' selector output, Closes #663
Fix '@arguments' behaviour, Closes #632
Allow '@import' directives in any selector
Variadic argument support
fix error message on wrong-arity call
(test) test for semi-variadic mixin
add ability to bind varargs
Merge pull request #673 from andrewjstone/master
support strings as selectors
Merge branch 'master' of github.com:cloudhead/less.js
(test) fix benchmark
variable selectors must be paranthesized
(dist) 1.3
CHANGELOG
Merge pull request #268 from jamesfoster/master
Anders Hellerup Madsen (1):
add support for utf-8, fixes #396 (this time less messy commit)
Andrew Stone (3):
fix global variable leaks
add support for ratios in media queries
media test now passes
Bart Schuller (1):
Added new round(n) function.
Ben Loveridge (1):
patch for issue 163
Bobby Wertman (1):
Added an AMD module registration.
C. Scott Ananian (1):
Implement syntax in gh #1185 for @import options. Implement multiple & less.
Charles Lowell (1):
alternative to throwing an object literal.
Chris Coker (1):
remove transparent from colors.js
Christian Eager (1):
Pass current sheet's path to the new Parser.
Christian Zeller (1):
Improved Windows path support in lessc
Colin (1):
Only set media type when one is present
Colin Snover (1):
Don't try to use variable values that do not exist on the browser. Fixes #190.
Cotton Hou (2):
Shift the type setting in order to work with Webkit, and fix typo for IE.
Use if rather than try
Cristian·Tincu (1):
Remove `dist/*` from `.npmignore`.
Damien Whitten (1):
parser.imports passing errors
Daniel Bergey (2):
Fixed issue (#134) where subfiles' @imports were regarding #, ? and url portions thereafter as part of the base url.
Fix for #198, with regexen, and urlencoding if the token is uppercase.
Daniel Stockman (12):
lessc: Defend against missing output directories
Back-compat for existsSync in directory check
Log output file written when verbose.
Optionally use mkdirp to ensure output destination directory exists. Fixes #1099
Provide fallback 'mime' object that covers 80% case of data-uri usage.
Change tan function test value.
Prevent data-uri function from embedding files larger than 32KB.
Functions use evalEnv, not parseEnv. (move ieCompat env flag)
Actually pass ieCompat into evalEnv for lessc.
Pass silent and verbose flags to evalEnv.
Wrap data-uri warnings in an env.silent check, silencing test set.
Fallback url() value for data-uri function should be quoted.
Denys Mishunov (1):
If weight is not passed to mix() assume it's 50
Desmond Brand (1):
Fix #423 by preserving order of link/style elements
DocLabyrinth (1):
Changed parser to avoid all alpha() calls being parsed as IE style functions and added relevant tests. Fixes #669
Doug Patti (1):
Add .gitattributes to .npmignore
Dustin Cass (10):
require 'util' instead of 'sys' in lessc and less-benchmark.js
Adjust attribute selector regex to allow for numbers and underscores in attribute names (fixes #863, fixes #876).
Adjust all regexes in parser.js to use similar style for character classes
Pass env with toCSS in function call evaluation; Add tests; Fixes #957
Division only when inside parentheses
Updating parens and operations tests
Removed Shorthand and Ratio parsers; Fixed some issues with paren depth state; Adjusted tests to pass on new output
Remove spaces around slashes in final CSS output and update tests to reflect that; Added a couple shorthand tests
Arithmetic within mixin calls must be in nested parentheses; Added tests for mixins
Fix CSS output for compression
Erwan Loisant (4):
Basic rhino support
Support output to a file
Include compile file
Better recognition of Rhino
Ethan Lai (1):
Update tree.js
Evan Torrie (1):
Added CSS3 specific relative length units
Fedor Indutny (1):
Fixed dot in css name error(when using style.1.css and style.2.css), also fixed 'url()' error
Felix Geisendörfer (3):
Fix test suite
Fix @import file loading routine
Fix bin/lessc
Felix Gnass (2):
Make sass-debug-info compatible with DevTools
Test for escaped paths
ForbesLindesay (1):
Fix global variable leaks
Garth Williams (1):
Updated lessc require from sys to util for nodejs 0.6.*
Glen Chiacchieri (3):
Add yui css compressor on lessc for better compression. Call with lessc
Remove debugging statement.
Remove useless variable assignment.
Gustavo Henke (2):
Added function pow() with tests
pow() function: more tests
Guy Bedford (1):
Allow flexible naming for amd support (#933)
Hakan Bilgin (1):
Function "modifyVars" added
Hans Kristian Flaatten (1):
Updates copyright year in README.md
Hargobind S. Khalsa (1):
Accept 2xx statuses even for file requests
Ian Beck (2):
Modified selector regexen to support CSS character escapes, added test files to verify change
add support for @keyframes blocks
Idris Mokhtarzada (1):
Support @-moz-keyframes as well as @-webkit-keyframes.
Jacob Thornton (8):
store index on selector element objects for line number inference
add assignment entities
Merge branch 'master' into assignment-entities
clean up + add test
get spec passing
clean up comment which read confusing
fix comments in operations (ex: *height: 2px * 4 /* ie hack */)
always newline selector lists
Jakob Stoeck (1):
only cache imported files when not in development mode, fixes #346, fixes #47
James A. Rosen (1):
fixed @media and @page parsing problem
James Foster (7):
Fixes for IE7 compatibility
Fix for IE6 compatibility
Fixed incorrect inputLength. Avoid creating multiple empty chucks for consecutive blank lines.
Fixed inner quotes
Implement parent selector
Implement named parameters
Fix trailing space when parent selector is the last part of the selector.
Janez Troha (1):
Fix for Google Chrome(Chromium), so you can use less in extensions, apps. Adds protocol support but you have to use .json as file extension for css file, otherwise you get "Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101".
Jason McClellan (1):
Adding support for absolute paths on Windows.
Jay Adkisson (3):
add a data-uri function
throw an error if data-uri is used in the browser
guess the mimetype, and properly encode non-base64 uris
Jeff Tougas (1):
adding optional compress flag for rhino command line tool
Johannes Laire (1):
initialize 'options' before using it
John Reading (2):
fix for unamed parameter
failing test for 88915649179c879048677f6b8d213b4b2756f676
Jon Schlinkert (5):
package.json keywords updated, formatting for readability, nothing else was edited.
Merge pull request #1230 from jonschlinkert/master
Merge pull request #1236 from editor/master
Merge pull request #1244 from theoreticaLee/master
Updates to CONTRIBUTING.md. Emphasises that users should wrap words with `@` signs in backticks to avoid sending notifications to any GitHub user that might have that username.
Jonas Smedegaard (1):
Imported Upstream version 1.4.2
Jordan Harband (1):
- Change the default behavior of "@import" to only import once.
Justin Hileman (1):
Add an --include-path option to lessc.
Kayo Phoenix (1):
Fix: syncImport issue #1389 (nodejs)
Ken McHugh (2):
Fix to allow compilation with rhino while using asual lesscss engine
Additional update for when window is not defined
Kevan Davis (1):
adding escape function (does url encoding, plus a few missing encodings necessary to embed svg in css)
Kristoffer Walker (4):
Use .overrideMimeType() for Firefox XHR
Support chrome: and resource: location protocols.
bug: window.localStorage in Firefox
propagate deep errors up callback chain
Kyle King (1):
Fix spelling on benchmark/less-benchmark.js
Lee Leathers (1):
Add Less.js license to package.json
Lucas Green (1):
Added: red() green() and blue() functions, with tests.
Luke Daley (1):
When absolutising stylesheet URLs (they are sometimes relative in IE) handle absolute paths by resolving relative to the server root instead of the url of the current page.
Luke Page (257):
Support testing with node on windows
Make rhino error support better
merge compression argument support
make rhino arguments match lessc
allow windows and unix path seperators in rhino. Fixes #828
Add unit tests for transparent to make it clear what went wrong last time. fixes #806
Fix unit test for import-once so that tests pass. Previous test commit had bad assumptions
Fix missing test css from #342
Fix all the parent combinator issues
Allow comparing colors and strings. Fix a bug whereby sometimes a mixin-call or import would disappear. This makes the import test fail consistently instead of once out of 8 times depending on async order I think.
Eval assignments by copying. Fixes #534
Support for support/viewport/page directives. Fixes #847 and fixes #366
Fix regression on shorthand. Fixes #887
Fix #861 and introduce tests for errors
More tests for errors
Fix previous test. Fix error on invalid import. Fixes #761
Make the test runner accept a argument to restrict the tests running (for debugging). Make the test runner pass the filename so it behaves like lessc - this fixed one of the tests. Also corrected the tests to run given the new format of the message
support error tests in windows
Add more error tests from #244
close the file written to in lessc. Fixes #570
eval directives. Fixes #699
Fix bug in media bubbling. Fixes #762
Add test for #826
Move Amd module definition. Fixes #777
Fix typo in rhino. Fixes #896
remove process.exit calls as they do not guarentee a flushed stdout
Fix mixin calls being recognised as mixin definitions when arguments contain spaces and interpolated strings. Fixes #901
Add whitespace tests for previous commit - newline in selectors
Fix other whitespace issue brought up in #406
Remove UTF8 BOM - fixes #650
Add parent selector to user variable
Fix error unit tests to run on any computer
Revert commit mistake
Add tests for #618
tighten up two if statements to stop exception in browser mode. fixes #807
Fix broken test, we should continue the discussion on fixing this in #331 rather than break the tests
Make less more protocol agnostic. Fixes #428 and Fixes #742 and Fixes #706
Re-implement #598 - in browser mode add on path after evaluation. Fixes #598 and Fixes #294
Fix error messages in the browser for imported files with duplicate names (different directory) and links. Fixes #932
At least catch no browser storage rather than balking
New selector interpolation
Review comments from @cloudhead - alter chunker to not chunk @{X} and
Fix unquoted url's, remove special handling of data. Fixes #733
Allow multiline javascript expressions, fixes #885
Support for escaped characters in attributes and unit tests moved into css-escapes
Unit tests for debug numbers
(dist) build 1.3.1
update changelog for 1.3.1
Fix problem with name arguments with arguments variable and if you've specified all the arguments
Add support for ';' as a delimiter
basic support in definition, clean up and tests
Only output stack if it is not a less error
Add tests for hsv and hsva
Fix #990 - error message incorrect
Update version number on index
add more scope tests - test what the current behaviour is
Add semi-colons to error function
Fix #186 - allow selectors to contain other selectors
Make less.js ignore nodes in its own path so infinite recursion does not happen. Fixes #413
Look through all scopes for a mixin before giving up. Fixes #413 again
Fix error message when performing an operation on a keyword
Fixi important on mixin calls when mixin has rulesets or comments
Support multiple semi-colons like css. Fixes #606
Fix issue with media queries inside mixins. fixes #999
self referencing variable gives a proper error (no stack overflow). Fixes #972
Re-allow recursive mixins, just not recursive classes. Fixes #1012
Add support for unicode descriptors. Fixes #1107
add unit function. Fixes #307
Mixin guards take units into account. Fixes #855
Do not require default mixin. Fixes #926
Fix argument matching. Fixes #1036
support mixin calling when using & to stack classes. Fixes #1026
interpolation includes unit, but not quote. Use unit function to get old functionality. Fixes #782
Refix tests to work on unix and windows
Add support for @namespace and namespace combinators. Fixes #408
20% of a colour is not 0.20 but 51. fixes #454. Fix from @unknownbrackets
Fix multiple scoping issues with variables. Fixes #878
Scope fix - default parameters are evaluated in the mixin scope, not the
detect parse errors, even with an import. fixes #1053
Fix tests and report error at index -1 so it is a valid index
Allow escaped charcaters in less filename url. Fixes #982
do not divide by 100 when doing maths and keeping the %. Fixes #1069
basic comments parsing in mixin arguments. comments need more work and a general solution though. fixes #1071
allow less files to have query paramaters. Fixes #788
Create CONTRIBUTING.md
Update CONTRIBUTING.md
Add initial browser test suite using phantomjs for headless testing and jasmine
Add browser specific url tests
bad error message trying to assign @@var. Fixes #1077
unbundle css min. Add optional dependency on ycssmin. Correct some things in the package.json. Add a .npmignore. Fixes #1080
Update CONTRIBUTING.md
Test that import paths load from the current directory first
Look in the current directory last when looking for imports. Fixes #1083
make import-once use the full path, not the possibly relative path to determine if an import has already been included
Make import-once fix, but for the browser
Fix comment chunking. Fixes #1082
tidy code up, change to callback errors instead of system exit
Fix server tests and an import bug when a media import is followed by further imports
Fix browser tests by moving url re-writing tests to urls.less. Also fix browser rootpath.
Relative url's option for node lessc
Add tests for static urls
browser support for rootpath and relative urls, with test
When adding a path onto an unquoted url, escape characters that require it. Fixes #831
Do not add .less if the file has an extension already or has url parameters. Also support ';' instead of '?'. Fixes #784 and fixes #204
Update changelog for 1.3.2
fix typo on import
(dist) build 1.3.2
fix parser bug with mixin call being interpretted as selector. Fixes #1091
if contrast first argument does not match, pass it through. Fixes #1090
Update changelog for 1.3.3
(dist) build 1.3.3
Clean up makefile
Test current behaviour of variables
make path matching more resiliant and parse file:///
Add file:/// bugfix to 1.3.3 browser release
1.4.0 version
Remove deprecated string interpolation
Fix merge errors/problems and change format to ++
Change extend format to :extend(.class); - part 1 - support for stand-alone &:extend(.class);
Fix unit comparing after merge
Rudimentary support for extend in selectors
Add additional test for nested selectors. Rebuild dist.
Correct unit merge
regenerate browser files
move data-uri tests to url.less so they are not run in the browser. add browser tests. make function return url() in the browser
make env available to functions. Fix the path for the data-uri function in the browser. Fixes #997
test production browser mode does not output log messages
ignore .idea directory
support https and 301 redirects in imports. fixes #1103
nice error message if missing dependency
Add tests for compression. remove fullhex function - make colors not compress when used in strings.
Support angle unit conversion. add trig functions. don't compress angle unit. add mod and abs. Fixes #858 and fixes #240
Fix missing , from previous commit
Update alpha 1.4.0
optional dependencies should be loaded in a try-catch so they are actually optional
Fix #1122
refactoring - add a env type to better organise its properties
add jam definition to package.json. Fixes #1146
Fix merge issues and a code review comment. revert unit change that outputs px*px as it is not valid css
take maths further
add evalEnv class and strictMaths option
Add strictUnits option, add tests for legacy behaviour
Add tests for strict unit errors
Preserve whitespace in operations
Add tests for operations in media queries
remove shorthand
Legacy maths mode supports old special cases for font property and media queries
Fix comments test
Fix browser tests - url tests need to live in urls.less
browser tests for legacy strictMaths===false and strictUnits===false
support windows line endings in browser tests
Update alpha 1.4.0
Do not allow space seperated values inside parens. Fixes #952
double brackets does not leave brackets behind, to align with the most common scenarios
add error tests for value lists in brackets
Ensure error thrown uses 'type' not 'name'
Correct some error inconsistancies. Add browser testing of errors - import missing error fails because of #1117
Once applying the rootpath, null it so it will not be applied again
Fix import errors in browser mode. Fixes #1117 and fixes #1118
Fix small mistake - allow null options
Update alpha 1.4.0
Allow any casing for functions. Fixes #1168
Fix rhino merge error. Fixes #1184
variables in media queries in import statements
make root slash non greedy
do not pollute the parent scope after mixin call if variable is defined
Fix #791 - avoid engineering syntax in dimensions
change data-uri to look at the file relative to the root or current less file. Fixes #1186
Fix data-uri relative url to be relative in the same way as normal url's
Support reading other arguments as default parameters. Fixes #43
Merge pull request #1197 from Starefossen/patch-1
Update CONTRIBUTING.md
Update README.md
Update package.json
Use original node so that original seperator is used instead of the native one. Fixes unit tests on windows.
make browser test file paths host relative
New Alpha
git attributes to align eol
extend options, algin with decided syntax
whitespace
Add modified (self altering) visitor pattern and class
Add import visitor
Move importing into visitor
organise the import node a bit better. eval the node before fetching
make import use shared relative path function
make import visitor stack up frame scopes
first test and fixes for simple implementation
import interpolation finished. refactored the import phase to occur only within the import visitor - so that the import eval env can be passed between imports.
alpha build
move action out of constructor
join selector visitor creation
move selector joining into visitor
cleanup join selectors from toCSS
make visitor replacing optional
Add an extend finder visitor and extend processor visitor (breaks extend for now)
move extend fully into visitor, bringing back functionality and fixes #1165
Fix unit tests for debug
match multiple classes as the extend target
remove commented out code
change extends to work after selector joining. refactor findMatch ready for change to support properties across nesting
Support matching across nested variables
extend - replace elements multiple times in a path
Add exact syntax for extend
support for deep but exact extend
Alpha update
Change import options to require '('
remove short lived `@import-once` in favour of `@import` (default is once) and `@import (multiple)` for multiple
don't remove duplicate comments, fixes #1067
error when property is used in root. Fixes #442
remove shallow/deep options & tidy up part 1
refactor extend visitor to be more readable and maintainable
refactor mixin call arguments into a seperate function
correct bad test txt
Fix default variables containing comma when semi-colon seperated mixin definition. Fixes #1211
fix regression: mixin guards compare units correctly
Add implementation of dependency tree
Allow multiple extends for more declarative multiple inheritance
Alpha release
fix, less with compression (-x) was unable to parse auto\9
First part of extend chaining
Allow circular references and ignore them when they become circular
support media queries in extend chaining. Also tidied up. Fixes #1213
update package.json
Update CHANGELOG.md
add clamping to hsl and hsla functions
Change version to 1.4.0-b1 and regenerate beta files
Update CHANGELOG.md
info about `@import-once` removal
If the callback throws an error and imports are syncronous, let the error fall through to the calling scope.
Fix index on mixed units error. Fixes #1228
Fix extends when selector to add includes & and :extend is inline. Fixes #1227
ampersands in selectors using extend - more complex test
better support for attributes. Allow interpolation inside attributes. Fixes #1229
Allow variable interpolation in attributes everywhere that is sensible
beta 2 release
Do not normalize rootpath option as it is a URL. Fixes #1234
Tidy up options
Merge pull request #1273 from losnir/master
Merge pull request #1277 from jonschlinkert/master
Fix courtesty typo
Merge pull request #1278 from losnir/master
Remove ecma-5 since it is outdated. Fixes #1279
Fix browser tests
rename strictMaths to strictMath, set default to false, update strict options to take = on | off
changelog versions
Beta 4
missing option name change
1.4.0 release
Allow creating parser without options. Fixes #1373
global var fix
use yui-compress option
1.4.1 release
Merge pull request #1388 from dpatti/ignore-gitattributes
fix regression in support for font property. fixes #1429
allow upper case in properties. fixes #1398
Merge pull request #1425 from SLaks/patch-1
1.4.2 release
Marcel Jackwerth (15):
added @media bubbling (similar to SASS)
added more complex test for @media bubbling
fixed double-space
moved @media code to own file
remove @media code from tree.Directive
Added automatic merging of media-query conditions
adjusted indent-whitespace to 4 spaces
fixed a bug when using @media with mixins
media-query can now be a variable
Declare `e` properly in `mediaFeature`
added diff-dependency for easier test-debugging
use diff in less-test.js to display more info on test failures
ignore node_modules
Correct handling of units.
loosened restriction on css units (who knows what W3C will think up next)
Marcus Bointon (7):
Merge pull request #879 from dmcass/attribute-selector
Merge pull request #890 from Harrison/vmin-unit-dimension
Merge pull request #889 from Harrison/master
Add contrast function following the same format as sass. Added tests.
Merge pull request #1145 from Synchro/master
Merge pull request #1147 from Synchro/hsv
Merge pull request #1148 from Synchro/luma
Matt (3):
Remove trailing ANSI escape sequences in no-color mode
Fix error output and extract a helper object for lessc related methods
Add some content to lessc help
Matt Quail (1):
fix implicit vars
Mehran Kholdi (3):
Added HSV and HSVA helpers
Cleaned up parts of functions.js
Fixed a typo in HSV implementation
Miles (5):
Support for IE's ARGB syntax (#aarrggbb)
Support for IE's ARGB syntax (#aarrggbb)
Merge remote branch 'cloudhead/master'
Merge branch 'master' of https://github.com/cloudhead/less.js
Added a modified version of Felipe Gasper's IE<9 style injection error fix.
Miles Elam (2):
ARGB input removed. ARGB output added with the function argb(Color).
Fixed issue #322 by changing the keyword regex to allow numbers in any but the first character.
Nicholas Clark (1):
Adding "dpi" to the list of valid dimensions.
Nick Kaijaks (1):
Report error for under-matched as well as overmatched braces
Nir Azuelos (2):
Fixed issue cloudhead/less.js#1272
Fix for local paths with Unix / Windows Support
Paul Kinlan (1):
Fixing the issue with arbitary property value keywords that contain a number not being parsed properly (for example -webkit-transform-style: preserve-3d;)
Paul Mohr (1):
Added -khtml support for @keyframes
Paulo Gaspar (1):
Fix for issue 592. Additional removal of TODOs and Rhino support by
Pavel Shut (1):
Added transparent: rgba(0,0,0,0) as a named color
Philip Harrison (5):
Add rem dimension support
Add dppx and dpcm units to parser dimensions
Add vmin unit to parser dimensions
Merge upstream
Derp, set vmin before vm
Ricardo Tomasi (1):
Check for global variable leaks
Richard Brown (1):
Add a lint option to lessc
Robert Law (1):
Adjusting the line feeds if they're windows based (\r\n) to \n.
Rok Garbas (1):
less element (sheet) might not be located in head
Rubens Mariuzzo (2):
Soft light blending mode added.
8 more blending modes added: multiply, screen, overlay, hardlight, difference, exclusion, average & negation.
SLaks (1):
Windows path fixes
Salehen Rahman (1):
Added the square root function.
Salim Bensiali (3):
Relative URLs in LESS files should be relative to the file that defines them.
Added documentation for the -rp, --rootpath option.
Added missing newline at end of file
Sasha Sklar (5):
Merge pull request #796 from comfuture/lessjs
Merge pull request #804 from jreading/664a8d713ce130efa1120f31d2bd18db13ed33c3
Merge pull request #800 from SpadarShut/master
Merge pull request #753 from clarkni5/master
Merge pull request #857 from clmsnskr/master
ScottRippey (2):
Added a new function - extract for extracting padding values from a variable
Reversed the order of `extract`'s parameters, to match the precedence set
Sergey Yuferev (1):
added fraction support to round function
Simon Dittlmann (2):
Added colors.js to rhino target in Makefile
Fixed rhino's loadStyleSheet callback invocation (first parameter is the error object and not root)
Simone Deponti (11):
Updated .gitignore (for emacs)
Added media query support.
Fixed some tests.
Fixed debug info test (with comments).
getLocation() seems to return lines starting at 0, therefore we have to add 1.
Removed the passing around of an env.filename that is wrong when doing imports.
Wrapped ruleset debug info passing in condition.
Fixed nested media bug.
Completed tests.
Fixed path replacements in text a little bit better.
Minor fixes.
Sindre Sorhus (1):
Convert CHANGELOG to Markdown
Spocke (7):
Fixed bug where a UTF8 BOM in the less files would break the rhino command line compressor.
Added better compression for colors hex values #FFFFFF -> #FFF.
Added better compression for dimension values 0px -> 0 and 0.1 -> .1.
Added better compression for rules by removing the last semicolon.
Added fullhex function to disable compression of color values in MS filter: values.
Fixed issue where the compress value wouldn't get passed around correctly.
Fixed so compression can be disabled on specific color values and a issue with a previous commit.
Steeve Lennmark (1):
Add support for reading lessdata from stdin by using - as source target.
Stefan Wallin (1):
* "Added a -depends switch which outputs a dependency line suitable for a makefile" (10696d9c11afccd7fb4dadd92985b5166c66f6f2)
Steve Losh (1):
fix bin/lessc to work with relative and absolute paths
Synchro (4):
Implement tint and shade functions
Fix contrast percentage handling, fixes #1144
HSV support for #1143
Better implementation of luma
Taylor (1):
Fixes small typo in command prompt usage text
Thomas Grainger (1):
add namespaced element selector test case from angular.js
Toby Cole (1):
Updating parser to allow dimensions starting '+'
Trey Shugart (1):
Fixes #602
Victor Berchet (1):
Fix for stylesheets having a '.' in their basename
Ville Immonen (1):
Added an option to import files synchronously.
Vsevolod Vlasov (2):
Added ruleset source line number dumping support for debugging purposes.
New line is now only inserted between rulesets when not in compress mode.
Wes Freeman (1):
Updating Makefile to not add a redundant header in the minified javascript.
Will (2):
Allow configuration of asynchronous XHR
Check XHR return type appropriately
agatronic (9):
slight restructure and tests to show we allow multiple extends
Alpha update
Make alpha release a beta release
Make non strict units less strict and change the default to not be strict units. Fixes #1254
extends recognise attributes. Fixes #1295
Add isunit function. fixes #1298
Handle ./ paths in the browser when relative correctly. Fixes #1238
Improvements to browser tests that don't raise a false negative when switching branches
Beta 3 release
ben hockey (1):
added test for selector string interpolation
bennyschudel (2):
Added fadeto color function
renamed fadeto to fade
cahnory (1):
Update lib/less/browser.js
cloudhead (501):
init
updated README
throw error if variable isnt found
adapters for browser/server
test files, from less.rb
literature, comments
chunkify with a zero-width regexp
moved primary rule to the top
trim whitespace
MIT license
removed all the testing stuff from the server adapter
removed trace code from rule.js
proper parser error messages
removed some test files
preliminary test file
vows.js for testing, of course
remove inspect from test file
added makefile to run tests
per channel color operations. Color can also take an RGB array
Element doesnt need to have a combinator
Quoted.eval returns self
dont output variables
code style change in variable.js
// comments
support caps in keywords, for fonts and stuff
in a parens expression, just return the Expression for now
output is multiline for everything by default
benchmarking!
removed test.less from test/
improved benchmark script
added `make benchmark`
ws
url() parsing
handle parse error at beginning of file
pass a context to directive(), so it can parse a block
get attribute parsing going
ability to parse more complex directives
parse !important
additional tests in comments.kess
moved some tests around
parse IE's alpha()
alpha.js init
parse alpha in call() instead
throw a ParseError, instead of just an Error
added `ms` unit
parse *prop for ie
minor optimization in element parsing
fixed parsing of `[disabled]` style attribute selectors
fixed whitespace eating through chunks
eat tabs
handle capitalized alpha()
handle empty property values
handle missing ; before a }
tweaked big.less to not raise errors on comment parsing (tested elsewhere)
replace \r\n with \n
made benchmark file smaller, who has a 267KB .less file anyway?
improved the chunkification process, and gave different options, as well as an option not to chunkify, through the `optimization` setting. The ideal split is now \n}
changed rulesets.css output to match the new parser output
bin/ init
print to stdout if no output file was specified [lessc]
node.operate, to operate on values, based on a string op
round numbers on color operations
refactored Color & Dimension operations
swap operands when dimension is first, in a color operation, use new operate() function
optimize dimension parsing, also fixes weird bug
fixed benchmark.less
updated README
removed unused test files
simplified code-gen loop
ParseErrors dont raise an exception anymore, we just set `parser.error` to the value of the error
fixed function name in alpha.js
() around ternary operators
give Element.toCSS a pre-space, useful when building new selectors
proper nested selector rendering, wooh.
error = null, when starting a parse
try/catch around code-gen, in test. Catch some extra errors too
create an empty Combinator if none was specified. Refactored Combinator generation, and added + ~ ::
refactored selector generation a little
don't use Usage: node [options] script.js [arguments]
tree.js init
dev notice in README
merge node->tree changes
functions.js init
mixin.js init
get functions.js working
support for hsl(), rgb() etc
evaluate arguments, before passing them to a function
Use anonymous functions for the parsers.. It saves us some file size.
eval method for Keyword
a little clearer ParseError output
parse mixins, including namespace. For now, lets focus on one mixin per rule
inverse style to stylize
end rule
Element constructor defaults to an empty Combinator, if none specified
added ext/ folder, to hold some core prototype functions
basic mixins with namespaces working. swoosh.
mixin definition constructor init
when evaluating a mixin, compile all matches, instead of just the first one
skip variables in toCSS
tweaked tests to match less.js
Element constructor creates new Combinator if a string was passed
typo
refactored Ruleset/find() method, and added a match() method to Selector, to do selector matching.
for now, we only support basic selectors, when mixing in, eventually, we can upgrade the Selector/match method to return the number of matched elements
fixed closing bracket for url not showing
fixed closing bracket for alpha not showing
moved to apache license
fixed whitespace.css to conform to new output
removed big.less/css from test
if a function isnt found, just output it literally
output strings in attribute selectors properly
fixed css-3.css
getting combinators to output properly. some little hacks, but it beats having a white-space sensitive grammar
the first element of a selector effectively has a descendant combinator, if none was specified
minor refactoring in rulesets output
selectors.less now passes tests
some fixes to the benchmark
just return self if trying to evaluate compound values, seeing as we use eval() for variable lookup/eval
fixed some more test files, css-3 passes now
in an operation, inherit the unit of either operand
when parsing a string, capture the content too
renamed string to quoted, to match the node
function.less now passes
comment fix
improved command line tool
added version number to less.js
VERSION file
oops, fixed command line tool
move node/ -> tree/
remove prod.less
basic directive css output
remove vows, seeing as Less isnt asynch, there really is not point.
added some styling to the tests
get lazy-eval to pass
some optimizations to make the parser run faster
simplified rule regex
peek() can take a string too now
let us just assume that a rule which contains subrules is a ruleset
comments, wooh!
comments.js init
updated README
implemented dynamic mixins
if something other than a Value was passed to the Rule constructor, wrap it in a Value
eval() for Ruleset
updated README
support for nested rulesets inside dynamic mixins, with lexical scoping
cache variable lookup for a 20% speedup
cache ruleset lookup
refactored variable lookup
refactoring of prototypes
add title to test output, skip directories
did some refactoring in the parser, so we don't need to pass variables
Cache mixin lookups for a nice speed boost.
Cache Selector/toCSS()
font property parsing, mainly the 'small/12px' part.
output directives properly
we need to make sure we're not eating a '-' in the operation parsing, it fucks up our generation of functions which start with a -
some eval functions for good measure
fixed and upgraded the css tests a little
part 2 of the comment pass
refactor of module system. Things work properly now, and it's all much cleaner.
Added lots more documentation to the parser
Refactored parsers.rule
Basic `make less` build rule
Added `make min` for minification though google's js closure compiler.
fixed scope problem in parser
no more accessors.. they aren't very useful it turns out, with mixins
don't use process.mixin, it's deprecated
Parse @import properly.
I guess 'Makefile' starts with a cap..
import.js init
require lib/less in benchmark
parse() is now asynch, and uses a callback
added import.js to less.js
refactored rule() cause the closure slows things down too much for some reason
Fix bin/lessc to use less.js and callback-style
refactored operand(), and take away parsing of -()
allow for operations with no spaces, such as '4+5'
operations.less now passes
package.json init, cause npm is nice
fix to undefined mixin error message
no need to pass starting values to toCSS() anymore
fixed typo in package.json
made parser reentrant for import support
asynchronous import functionality! All tests passing.
remove makefile
removed unnecessary require
updated README
allow for passing a context of evaluation to the importer
refactored the import mechanism, added some doc
added render() convenience method. Returns an EventEmitter if no callback was passed.
browser.js init -- very basic browser support - Makefile also builds for browser now
optimization level is taken from env now
String/trim()
no need for context passing
forgot to add importing to README
fix typo in browser.js
functional browser based parsing + css node creation
putting the operate function in operation.js, to facilitate access from browser code
Doc for Call, Comments, Operation..
Created a compat.js file in build/, for browser compatiblity, moved trim() in
removed lib/ext, moved lib/less.js to /index.js, moved Array/find to tree.find
merge
fix benchmark
fix optimization option wrongly scoped
added compat.js and tree.js to build, it now builds in dist/
quote 'import' so it doesn't freak out
We aren't using adapters anymore.
@import with .css files no longer precompiles. This gives us some extra
Array.isArray compat
less.js now works in firefox, safari and chrome
use puts instead of writeError, which was removed
Reorganized some of the parsing rule order
Fix dynamic mixins with nested rules
Fixed mixin calls not working from dynamic mixins
refactored mixin.definition.eval
usage info
the e() LESS function
Fixed HSL
Added a couple colour functions
fixed readme
bumped version to 1.0.1
package.json update
fixed bug with passing variables to functions
use a hash to store variables, fixes variable redifinition bug
More accurate parse error messages
Support for pattern-matching on mixin calls.
Overhaul of the error system
Local Storage caching, and .less loading from disk
automatically set less.env in certain conditions
use a timer to check when the dom is ready, before showing errors
fixed selector attributes not parsing with a '-'
added information on building less.js, in readme
New `%` function, to perform string interpolation
Evaluate function calls properly.
version bump to 1.0.3
Merge branch 'master' of github.com:cloudhead/less.js
fix for when css isn't available in local storage
fix error styles
fix timestamps not being compared properly, when loading a .less
make operations left-associative Closes #20
be more flexible, pattern matching
whitespace
version bump to 1.0.4
moved index.js to lib/less
nvm compatibility
evaluate Values of length > 1 properly
rename variables() to variable()
tests for value.length > 1 bug
Evaluate arguments before passing them to mixin.
test cases for recent fixes
version bump to 1.0.5
Refactored some of the evaluation mechanisms
don't cache return values. %() plays nice with strings
added ECMAScript 4 compatibility
version bump
fix querySelectorAll call
update README with new api
removed trailing comma, which breaks minification
removed VERSION file, the information is in package.json
removed wildcard parser
(test) made benchmark more realistic
[#.] is not optional in a mixin call
(minor) formatting
(minor) formatting
version bump
(dist) package.json update
(doc) install instructions
(dist) added bin to package.json
(dist) version bump
support [0-9_] in CSS attribute names
support CSS3 @media more fully
@media tests
removed unnecessary code in Ruleset#toCSS
treat Directive like a Ruleset
Merge branch 'master' of github.com:cloudhead/less.js
log error if no AJAX available
(doc) added link to download section
(dist) extract version info from package.json
cleanup ecma-5.js
fix optimizations, and errors on multi-line comments
fix parse error reporting when at beginning of file
better fix for parse-error reporting
(dist) version bump
tweaks to bin/lessc
revert chunk split improvement
fix error messages in cli
improve error reporting, include filename
(new) auto stylesheet refreshing with '#!refresh'
(dist) version bump & updated package.json
(dist) fix version extraction in Makefile
dist/ init
Better error messages, wrap browser.js.
decoupled single stylesheet loading
fix generated stylesheet title
move error message css back in error function
(new) ability to @import on the browser
(dist) build
(test) mixin calls throw an error now, if no patterns match
(dist) version bump
fix trying to create CSS from null root [browser]
(dist) version bump
(new) set watch mode with less.watch() and .unwatch()
refactored and fixed css node creation, for watch mode
(dist) version bump
(dist) make 1.0.13
(dist) fuck I always forget to update this version number
(bin) add compress and optimization options
(dist) fix benchmark
(new) css compression support
benchmark with optimization: 3
better error handling
(dist) version bump
(dist) make less
(dist) fix build header license
(dist) fixed licensing in dist/
(api) custom port == development mode
use two fields for cache, so we don't need to parse JSON
don't use a timer to load the stylesheets, or the body starts loading too early
cleanup browser.js
cleanup browser.js, make ajax synch by default, with option to turn off
set optimization level depending on less.env
various improvements to browser.js
use : in ids, - isn't authorized as first character. use firstChild instead of childNodes[0]
(api) less.refresh [browser]
make error messages work with multiple stylesheets
don't give style tags a 'title' attribute, it screws things up. [browser]
don't replace style text if equal to new one [browser]
update error messages if new error [browser]
(dist) version bump
(dist) build 1.0.15
(dist) remove old version
abstract localStorage a little
use isFileProtocol variable for dryness
fix/refactor ajax in firefox [browser]
(dist) version bump
(dist) build 1.0.16
(dist) wrap script in anonymous function
better cross-environment handling. stub out require() in browser.
put Value in value.js
(dist) require() goes in its own file
(doc) comments
(new) Additions & improvements to color functions.
(dist) version bump
(dist) build 1.0.17
fix comments in mixins.
fix lessc optimization parsing
(api) less.refresh(true) reloads stylesheets from source
Improve log() function [browser]
don't break when a node doesn't have an eval() function
(dist) version bump
(dist) build 1.0.18
(doc) updated READMe
deleted compiler.jar
proper exit codes on errors, and use stderr
fix error message when no filename, also try to print stack
use bold instead of inverse for column highlight
silent option. pass options through writeError
improve error reporting, provide a one line call-stack
(dist) version bump
removed constructor names
simplify regexps
refactor inheritance in mixin.js
fixed hsla => rgba conversion
(dist) build 1.0.19
critical fix for browser
fix some issues with alpha getting lost
fix error messages with no callLine
fix @import not working. Better error message for empty response
(dist) version bump
(dist) build 1.0.20
track parsing/generation time
strip querystring when importing, and caching. Allow relative @import urls
(dist doc) version bump and README update
(dist) build 1.0.21
(dist) build .21 min
fix error reporting
(dist) build
benchmark script can be passed files. also use optimization level 2, cause 3 doesn't exist anymore
fix alpha() with numbers
better chunkification algorithm
don't depend on document.querySelectorAll
(dist) version bump
(dist) build 1.0.22
various improvements to the parser, resulting in a 20% speed bump
slice parsing
don't create nodes for whitespace
cleanup, smaller chunks, speed improvements
fix runtime error
fix media type not being preserved when generated css
fix '!important' in certain scenarios
(dist) version bump
(dist) build new version
default to __filename when no filename in env
ability to pass some variables to toCSS in the form of a hash
(minor) ws
don't use __filename if no filename
Merge branch 'master' of github.com:cloudhead/less.js
proper chunkification of comments.
minor refactoring in chunkification
removed unused inputLength
(minor) style fixes
fix syntax error with semi-colons in strings
support type=text/less and text/x-less for specifying stylesheets
(new) parse style tags with type=text/less
(minor) style
force refresh on page load in development mode
(dist) version bump
(dist) build 1.0.30
support variables in url()
Merge branch 'master' of github.com:cloudhead/less.js
(new) less.refreshStyles, and reload styles on refresh()
more robust id extraction from href
fix refresh()'s timer output
remove domain name and root slash from extracted id
support functions in operations
(dist) version bump
(dist) build 1.0.31
(dist) update version number in index.js
make mixins behave like closures
reload imports when parsing a stylesheet
(doc) comments
(test) mixin closures
fix error messages with no index
fix mixin definitions inside other mixin definitions
(minor) refactoring
remove evalRules, use eval
don't re-eval ruleset
big refactoring of ruleset.js, move eval code to eval()
fix font shorthand with %
fix compound variable substitutions
change scope.less back, to test late binding
support parametric mixins with #
(dist) version bump and build 1.0.32
(dist) new dist commands to Makefile
small refactor in mixin.match
preliminary support for evaluating JavaScript code inside LESS
modify javascript eval to be compatible with e()
test e() with javascript
fix error reporting with no stack
explicit evaluation of variables within js
Properly chunkify ``
refactor mixin definition parser
IE fix
cleanup ruleset evaluation
(dist) version bump
(dist) build 1.0.33
make strings behave like other nodes.
support relative url() paths in the browser
squeeze extra slashes in url()
support uppercase characters in attribute
stateless URL evaluation
add 'rad' 'grad' 'turn' units
basic ability to overwrite some config options in browser
(dist) remove lib/ folder from package
(dist) version bump
(dist) build 1.0.34
attempt at url() relative path fix
attempt to fix IE relative urls
improve error reporting
(dist) version bump
(dist) build 1.0.35
pass url to errback()
Merge branch 'master' of github.com:cloudhead/less.js
(dist) version bump
(dist) build 1.0.36
use 'type' attribute from link tag, when performing a request
add fadein & fadeout color functions
(dist) version bump
(dist) build 1.0.37
(new) support for unquoted data URIs in url()
(dist) version bump
(dist) build 1.0.38
Merge '::selector' fix from StanAngeloff
(new) mix function (StanAngeloff)
fix merge conflicts
don't crash if there's no 'lastModified' header
(doc) removed old comment which doesn't apply
(doc) added copyright notice to color mix function
(dist) version bump to 1.0.40
(build) 1.0.40
(doc) update README
(doc) another update to README
(new) JavaScript-style 'arguments' variable
fix options ignored in less.render
(dist) version bump
Merge branch 'master' of github.com:cloudhead/less.js
support for directives like @-moz-document
(fix) properly chunkify naked urls
(dist) version bump & build
fix string interpolation with mixins, closes #272
catch errors on css function calls
(minor) ws fixes
(dist) 1.1.4
make mixins work better with complex selectors
Merge branch 'master' of github.com:cloudhead/less.js
add '-I' argument to add include paths
add '--no-color' option
improve mixin matching, closes #381
import-once functionality
remove duplicate rules automatically
comfuture (1):
fixed issue #795
hokaccha (5):
Add function `percentage`
Fix callback called two times
Add Sass like extend
Fix bug global leaks, `;` to `,`
Fix combinator is not extended
leeight (1):
ENABLE max-line-len options support
mar (1):
support for `@import` linking to .less files over HTTP
neonstalwart (1):
fixing logic to determine less.env in the browser
revolunet (5):
implement named color conversion
update tests
support imports with querystrings (google fonts) fix #265
fix global variable
fix #31 and #406
robmadole (1):
Fix for #149 Facebook login button fails to work with FF 3.6+
skoni (1):
Move error formatting to a seperate function
tscheinecker (1):
only include the first @charset definition - subsequent ones will be
unknown (1):
call less.watch() in non dev mode FIXED
-----------------------------------------------------------------------
No new revisions were added by this update.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list