[Pkg-javascript-commits] [less.js] annotated tag v1.0 created (now 5f8f520)
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 v1.0
in repository less.js.
at 5f8f520 (tag)
tagging e46e71a4d17f485d84887a10ffbff3198faaaa2f (commit)
tagged by cloudhead
on Thu Apr 22 19:16:50 2010 -0400
- Log -----------------------------------------------------------------
version 1.0
cloudhead (217):
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
-----------------------------------------------------------------------
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