Commit Graph

287 Commits

Author SHA1 Message Date
cloudhead
cbb432edef fix syntax error with semi-colons in strings 2010-07-01 10:46:31 +02:00
cloudhead
494398e736 (minor) style fixes 2010-07-01 02:35:28 +02:00
cloudhead
0f4551f9c3 removed unused inputLength 2010-07-01 02:16:03 +02:00
cloudhead
913eefdcc0 minor refactoring in chunkification 2010-07-01 02:05:55 +02:00
cloudhead
13d6fbf63f proper chunkification of comments.
comments are preserved even with chunkified input now.
2010-07-01 01:31:48 +02:00
cloudhead
096b7cac18 Merge branch 'master' of github.com:cloudhead/less.js 2010-06-30 20:00:16 +02:00
cloudhead
acfd2463bc don't use __filename if no filename 2010-06-30 19:59:46 +02:00
cloudhead
a1e4d61a13 (minor) ws 2010-06-30 13:20:24 +02:00
cloudhead
27a123d779 ability to pass some variables to toCSS in the form of a hash 2010-06-30 13:20:11 +02:00
cloudhead
6a5e7d10ce default to __filename when no filename in env 2010-06-30 13:19:41 +02:00
James Foster
16ad5bee0b Fixed inner quotes 2010-06-30 14:59:10 +08:00
Kristoffer Walker
eff69f5b77 bug: window.localStorage in Firefox
Firefox 3.6.4 throws an error when trying to access `window.localStorage`.
(at least from `chrome://` URLs in extensions if not more)
2010-06-29 19:18:24 +08:00
Kristoffer Walker
1a8188bd20 Support chrome: and resource: location protocols.
XMLHttpRequest tried to load `chrome:` and `resource:` protocols as if
they were not local. Change isFileProtocol flag to accurately represent
them.
2010-06-29 19:18:24 +08:00
Kristoffer Walker
3820350b9c Use .overrideMimeType() for Firefox XHR
By overriding the mime type of the default XML to 'text/css' we get rid
of the automatic XML parsing and DOM building that XMLHttpRequest tries
to do whenever it gets a response.
2010-06-29 19:18:23 +08:00
cloudhead
2d66e4cb48 (dist) version bump 2010-06-27 16:47:59 -04:00
cloudhead
f817dcd2fe fix '!important' in certain scenarios 2010-06-27 16:40:12 -04:00
cloudhead
91672f7c24 fix media type not being preserved when generated css 2010-06-27 16:11:44 -04:00
cloudhead
15140596bd fix runtime error 2010-06-25 19:59:28 -04:00
cloudhead
369b978c78 cleanup, smaller chunks, speed improvements 2010-06-25 19:58:25 -04:00
cloudhead
77fa4a171c don't create nodes for whitespace 2010-06-25 12:52:38 -04:00
cloudhead
669b3b6d92 slice parsing 2010-06-25 03:03:37 -04:00
cloudhead
0acc8c0ae1 various improvements to the parser, resulting in a 20% speed bump 2010-06-24 17:50:51 -07:00
cloudhead
2522815aca (dist) version bump 2010-06-22 21:57:36 -07:00
cloudhead
5021f1d679 don't depend on document.querySelectorAll 2010-06-22 21:56:45 -07:00
cloudhead
544e0824e7 better chunkification algorithm 2010-06-21 17:32:31 -07:00
cloudhead
94dff7d3a5 fix alpha() with numbers 2010-06-20 22:18:04 -04:00
cloudhead
2e8a714c92 fix error reporting 2010-06-20 14:47:41 -04:00
cloudhead
b598b80a04 (dist doc) version bump and README update 2010-06-20 12:53:11 -04:00
cloudhead
8d6af09dc5 strip querystring when importing, and caching. Allow relative @import urls 2010-06-20 12:47:33 -04:00
cloudhead
7824dfc05d track parsing/generation time 2010-06-20 12:46:42 -04:00
cloudhead
0099a95156 (dist) version bump 2010-06-20 01:33:42 -04:00
cloudhead
a26eb790a5 fix @import not working. Better error message for empty response 2010-06-20 01:33:03 -04:00
cloudhead
eae3fa11e5 fix error messages with no callLine 2010-06-19 14:35:56 -04:00
cloudhead
c8edfe8995 fix some issues with alpha getting lost 2010-06-19 14:35:37 -04:00
cloudhead
10de9d02e4 critical fix for browser 2010-06-19 14:03:52 -04:00
cloudhead
193fc96de1 fixed hsla => rgba conversion 2010-06-19 13:42:33 -04:00
cloudhead
7984e97559 refactor inheritance in mixin.js 2010-06-19 02:05:09 -04:00
cloudhead
64832729b9 simplify regexps 2010-06-19 01:58:58 -04:00
cloudhead
a72966fa6a removed constructor names 2010-06-19 01:51:26 -04:00
cloudhead
1e3098fd5e (dist) version bump 2010-06-18 20:15:04 -04:00
cloudhead
7726f98493 improve error reporting, provide a one line call-stack 2010-06-18 20:12:03 -04:00
cloudhead
72e7c34921 silent option. pass options through writeError 2010-06-18 19:51:29 -04:00
cloudhead
851b9d1ecd use bold instead of inverse for column highlight 2010-06-18 19:46:38 -04:00
cloudhead
29a894231a fix error message when no filename, also try to print stack 2010-06-18 19:44:48 -04:00
cloudhead
7aef90c4c8 proper exit codes on errors, and use stderr 2010-06-18 19:23:56 -04:00
cloudhead
c40bcc856c (dist) version bump 2010-06-16 18:59:07 -04:00
cloudhead
6e0a5ad435 don't break when a node doesn't have an eval() function 2010-06-16 18:58:32 -04:00
cloudhead
6e28483e1a Improve log() function [browser] 2010-06-16 18:58:16 -04:00
cloudhead
3c90f43eb1 (api) less.refresh(true) reloads stylesheets from source 2010-06-16 18:57:51 -04:00
cloudhead
a1e1f01338 fix comments in mixins. 2010-06-16 02:13:59 -04:00