cloudhead
2682b6dc16
support for hsl(), rgb() etc
2010-03-01 21:48:19 -05:00
cloudhead
60ac2374c9
get functions.js working
2010-03-01 20:03:43 -05:00
cloudhead
6ea12f7aa5
mixin.js init
2010-03-01 19:47:59 -05:00
cloudhead
0c6366faaf
functions.js init
2010-03-01 19:47:48 -05:00
cloudhead
f70f6a542c
merge node->tree changes
2010-03-01 19:47:32 -05:00
cloudhead
29f3d926f7
dev notice in README
2010-03-01 17:50:23 -05:00
cloudhead
69d973ed29
tree.js init
2010-03-01 15:32:49 -05:00
cloudhead
5ee0209e8a
don't use Usage: node [options] script.js [arguments]
...
-v, --version print node's version
--debug[=port] enable remote debugging via given TCP port
--debug-brk[=port] as above, but break in node.js and
wait for remote debugger to connect
--cflags print pre-processor and compiler flags
--v8-options print v8 command line options
Documentation can be found at http://nodejs.org/api.html or with 'man node', as it's, um, used by node. Use instead. Also moved tree.node requires in tree.js
2010-03-01 15:32:21 -05:00
cloudhead
1032c84b98
refactored selector generation a little
2010-02-28 12:50:41 -05:00
cloudhead
f0c00ab2b4
create an empty Combinator if none was specified. Refactored Combinator generation, and added + ~ ::
2010-02-28 12:49:08 -05:00
cloudhead
adb2fd2864
try/catch around code-gen, in test. Catch some extra errors too
2010-02-28 01:07:43 -05:00
cloudhead
35b452bf00
error = null, when starting a parse
2010-02-28 01:07:13 -05:00
cloudhead
8ac1bdf06c
proper nested selector rendering, wooh.
2010-02-28 01:06:54 -05:00
cloudhead
cd764a2d8c
give Element.toCSS a pre-space, useful when building new selectors
2010-02-28 01:05:27 -05:00
cloudhead
35af01d29a
() around ternary operators
2010-02-28 01:03:22 -05:00
cloudhead
1c955c8cb3
fixed function name in alpha.js
2010-02-28 01:01:43 -05:00
cloudhead
1e16d0233c
ParseErrors dont raise an exception anymore, we just set parser.error
to the value of the error
2010-02-27 14:14:52 -05:00
cloudhead
c804ed2ef1
simplified code-gen loop
2010-02-27 14:13:28 -05:00
cloudhead
5a1adf801a
removed unused test files
2010-02-26 22:36:54 -05:00
cloudhead
bb5adaa560
updated README
2010-02-26 22:36:44 -05:00
cloudhead
1cbda8b72f
fixed benchmark.less
2010-02-26 22:31:51 -05:00
cloudhead
bd88ab89ef
optimize dimension parsing, also fixes weird bug
2010-02-26 22:31:26 -05:00
cloudhead
b6b5d5f10a
swap operands when dimension is first, in a color operation, use new operate() function
2010-02-26 22:31:04 -05:00
cloudhead
633660b7af
refactored Color & Dimension operations
2010-02-26 22:30:30 -05:00
cloudhead
1c43df1b85
round numbers on color operations
2010-02-26 22:29:51 -05:00
cloudhead
a7ae7c8514
node.operate, to operate on values, based on a string op
2010-02-26 22:29:23 -05:00
cloudhead
7944ce092b
print to stdout if no output file was specified [lessc]
2010-02-26 22:28:32 -05:00
cloudhead
d3852cf463
bin/ init
2010-02-26 18:18:11 -05:00
cloudhead
3903ed0864
changed rulesets.css output to match the new parser output
2010-02-26 18:16:48 -05:00
cloudhead
fd8aa91ddc
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}
2010-02-26 16:34:49 -05:00
cloudhead
aec37061e1
made benchmark file smaller, who has a 267KB .less file anyway?
2010-02-26 16:33:23 -05:00
cloudhead
d97b30d9cc
replace \r\n with \n
2010-02-26 14:50:26 -05:00
cloudhead
756b3976e7
tweaked big.less to not raise errors on comment parsing (tested elsewhere)
2010-02-26 14:50:03 -05:00
cloudhead
3ce2d7ad19
handle missing ; before a }
2010-02-26 14:49:07 -05:00
cloudhead
0c00a9c8ac
handle empty property values
2010-02-26 14:48:32 -05:00
cloudhead
78ae5285d6
handle capitalized alpha()
2010-02-26 14:47:59 -05:00
cloudhead
4c1ce7075b
eat tabs
2010-02-26 14:47:32 -05:00
cloudhead
e30851d384
fixed whitespace eating through chunks
2010-02-26 14:47:25 -05:00
cloudhead
c041deacdb
fixed parsing of [disabled]
style attribute selectors
2010-02-26 11:29:01 -05:00
cloudhead
7b96181f06
minor optimization in element parsing
2010-02-26 11:28:34 -05:00
cloudhead
2dea90afb7
parse *prop for ie
2010-02-26 10:54:48 -05:00
cloudhead
c8b11c7796
added ms
unit
2010-02-26 10:36:26 -05:00
cloudhead
b60c296e6e
throw a ParseError, instead of just an Error
2010-02-25 22:49:52 -05:00
cloudhead
543fb96a03
parse alpha in call() instead
2010-02-25 22:37:03 -05:00
cloudhead
3f893b8ddc
alpha.js init
2010-02-25 22:32:34 -05:00
cloudhead
9970cb0124
parse IE's alpha()
2010-02-25 22:32:13 -05:00
cloudhead
2353885d6a
moved some tests around
2010-02-25 21:30:34 -05:00
cloudhead
c2453cd02a
additional tests in comments.kess
2010-02-25 21:30:05 -05:00
cloudhead
8c45b58524
parse !important
2010-02-25 21:29:34 -05:00
cloudhead
3f753da627
ability to parse more complex directives
2010-02-25 21:29:21 -05:00