Commit Graph

111 Commits

Author SHA1 Message Date
seven-phases-max
194f2c5213 a few minor selector match fixes... 2013-10-29 18:48:10 +04:00
seven-phases-max
05ef5cd0ac fixed mixin call matching for multi-selector parent... 2013-10-29 08:04:38 +04:00
Luke Page
577751a174 improve output of page rules during compression - don't strip ; on rule before rulesets 2013-09-16 22:22:33 +01:00
Luke Page
1f456ffc18 clean up a TODO and avoid some un-necessary calls 2013-09-08 17:25:03 +01:00
Luke Page
023c3f020a do not create empty sourcemaps or add mapping comments on to empty files. Also fix empty files from having a newline in them. fixes #1491 2013-09-08 17:12:13 +01:00
Luke Page
fc35190d38 unused variable cleanup 2013-07-20 22:44:13 +01:00
Luke Page
63109417c7 small fixes to sourcemaps 2013-07-19 19:26:24 +01:00
Luke Page
fb9423b94b Merge remote-tracking branch 'evocateur/all-sourcemap-patches' into sourcemaps-wip 2013-07-17 22:18:29 +01:00
Luke Page
f99d29cfad continue moving to genCSS 2013-07-17 21:59:43 +01:00
Luke Page
8ca2bb74d2 edit to show bug in extends. move selector toCSS to be concurrent 2013-07-17 20:26:21 +01:00
Luke Page
d6f386727c move mergerules into toCSS visitor 2013-07-16 22:48:29 +01:00
Luke Page
45bc539b57 refactor toCSS to be in output order 2013-07-16 22:45:21 +01:00
Luke Page
1464d22183 move rule duplication removal into the toCSS visitor 2013-07-16 22:25:23 +01:00
Luke Page
190bcca19f Move more toCSS logic into the toCSS visitor 2013-07-16 21:41:38 +01:00
Luke Page
967543cf08 housekeeping ready for next part of refactoring 2013-07-16 20:56:02 +01:00
Luke Page
f032f20206 Fix error in previous commit 2013-07-16 20:24:44 +01:00
Luke Page
2a0df97291 move rule/ruleset re-ordering away from toCSS 2013-07-15 23:05:27 +01:00
Luke Page
037cdb5916 fix tests 2013-07-15 22:03:52 +01:00
Luke Page
a554b8e088 get closer moving tab control away replacing text after converting to css 2013-07-14 23:04:09 +01:00
Luke Page
8529f93b48 start moving the tab indent so that css is not modified once output 2013-07-13 15:43:09 +01:00
Luke Page
4db7c883cf start refactoring toCSS so we will be able to collect sourcemap information at the same time 2013-07-11 22:08:38 +01:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00
Luke Page
42dfeb8d3b move the property check out of the ruleset and fix an issue in the visitor 2013-07-05 20:56:59 +01:00
Luke Page
01fd5d679e remove variables before toCSS 2013-07-05 17:13:27 +01:00
Luke Page
831e343216 move comment filtering into visitor 2013-07-05 06:52:32 +01:00
Luke Page
800b4218d5 Start abstracting re-organising logic into a visitor before css output. Will allow nodes to just be 'read' and debugInfo written into a sourcemap. part 1. 2013-07-05 06:52:31 +01:00
Luke Page
366f6755aa guards on css styles, first draft. Only allows guards on 1 selector in the block, that being the last one. 2013-07-05 06:51:59 +01:00
Luke Page
5cb5f561c8 Convert property merging to the new agreed syntax of +: 2013-07-05 06:51:41 +01:00
Daniel Katz
ff029c34bd Syntax changed to !merge(space | comma)
* Syntax changed to !merge(space | comma)
* !merge(space) implemented by Expression instead of Value.
* Added test for lonely property with !merge directive
2013-07-05 06:51:40 +01:00
Daniel Katz
5dde7b3381 Added support and tests for !merge() syntax #700 2013-07-05 06:51:39 +01:00
agatronic
446e164444 rename mute to reference 2013-07-05 06:51:04 +01:00
Luke Page
f4902f809c rename import silent to import mute. Fixes #1210 2013-07-05 06:51:02 +01:00
Luke Page
dce452421f Fix the rest of import silent 2013-07-05 06:51:01 +01:00
Luke Page
33c5ecd100 import silent - handle selectors containing amp 2013-07-05 06:50:55 +01:00
Luke Page
5df82b69ce Basic functionality and basic tests for import silent 2013-07-05 06:50:54 +01:00
Luke Page
e210c4b251 Fix extends when selector to add includes & and :extend is inline. Fixes #1227 2013-03-18 11:29:39 +00:00
Luke Page
c139c6e4df error when property is used in root. Fixes #442 2013-03-05 13:28:49 +00:00
Luke Page
7778da94b5 don't remove duplicate comments, fixes #1067 2013-03-05 11:58:59 +00:00
Luke Page
bf74d88302 remove commented out code 2013-03-04 13:15:37 +00:00
Luke Page
aac8e973fe Add an extend finder visitor and extend processor visitor (breaks extend for now) 2013-03-04 10:03:16 +00:00
Luke Page
ed78502b1e cleanup join selectors from toCSS 2013-03-01 17:39:36 +00:00
Luke Page
4101ae9bdc move selector joining into visitor 2013-03-01 17:34:11 +00:00
Luke Page
c56db94b7d Add modified (self altering) visitor pattern and class 2013-03-01 13:40:00 +00:00
Luke Page
d01d2e9bfb do not pollute the parent scope after mixin call if variable is defined 2013-02-16 15:15:38 +00:00
Luke Page
1abb5dd460 Fix #1122 2013-01-12 09:46:20 +00:00
Spocke
c04ad3adc1 Added better compression for rules by removing the last semicolon. 2013-01-05 16:30:34 +00:00
Luke Page
97d0b0205b Rudimentary support for extend in selectors 2013-01-05 15:29:38 +00:00
Luke Page
ecc9b0606b Fix merge errors/problems and change format to ++ 2013-01-05 15:29:35 +00:00
hokaccha
e793e81e92 Add Sass like extend 2013-01-05 15:29:32 +00:00
Luke Page
59258f5549 Fix server tests and an import bug when a media import is followed by further imports 2012-12-28 11:08:49 +00:00