John Ahlroos
b056c43954
Prevent NPE when a SCSS file is not found #11099
Change-Id: Id0e0fd6a31f4089228b02bf8b66086d3f3a1727b
11 years ago
Henri Sara
a2636a774d
Make SassLangTestsBroken pass iff the CSS and SCSS do not match.
This makes builds pass, and gives a clearer message if one of the
previously broken tests have been fixed.
Change-Id: I6e5b2d9771615abbcb611f28d50ebdefcaa01ae2
11 years ago
Artur Signell
be759f8424
Removed super class which caused a JUnit3 runner to be used (#11184)
Change-Id: Ib5d639e8c86c19902b77ce4681554065ee9be645
11 years ago
Artur Signell
4b95571541
Print an error message if the test folder cannot be found (#11184)
Change-Id: I0642a4a51de5f989811246003415f05688f49f4e
11 years ago
Haijian Wang
b6feca3324
Fixed several problems related to @extend directive (Ticket #10976)
Change-Id: I5e409856601aa514965319453c11946028b08dda
11 years ago
Haijian Wang
cc5252a98e
Selector now can begin with a combinator. (Ticket #10754)
Change-Id: Id2f1a006e4caaf790f573ee823fcc41312f30261
11 years ago
Haijian Wang
821ebf49d8
more than expected params in mixin throws IOB exception. (Ticket #10988)
Change-Id: I6451c94a4f733b002165983f92c8577dac4904f6
11 years ago
Artur Signell
638bb9263d
Fixed logic error causing IOException if stream supports mark (#10851)
The current logic caused mark() never to be called if the original InputStream supports mark (isMarkSupported()). This in turn causes an IOException when reset is called and no mark has been set.
Change-Id: I781ed8e9d355d22bd8e43acb5c5e9c8da90f66a0
11 years ago
Haijian Wang
69d6f8b789
Added back previous removed test due to #9870 to pass test (Ticket
#9870 )
Change-Id: I8d8210689078cdb0408c23be621ac279080dc9bf
11 years ago
Haijian Wang
51a9acc5d8
SASS fails to parse CSS expression function. (Ticket #9870)
Change-Id: Iea5f3b846a033e218c384dc58e5e045e524de83f
11 years ago
Haijian Wang
9b37af6bfa
ParseException does not output file name (Ticket #10967)
Change-Id: I16a1993284cfb8d73596ec8c2b8956d8e7f9dc8e
11 years ago
Haijian Wang
fb6339d075
Sass replaces variables based on substring matches. (Tickets #10508,
#10730 )
Change-Id: I7d3c5a74055e28e0e22fe6e496209d7d3c42b4af
11 years ago
Haijian Wang
cafd136f6f
Paser doesn't know CSS 'lem' and 'rem'. (Ticket #11024)
Change-Id: I6ca39f5c97ffce610faafb8e172f290405409dc7
11 years ago
Haijian Wang
28cb23f111
Referencing multiple params in multiple lines inside mixin (Ticket
#10987 )
Change-Id: I3d97849afac763a9774cee254778e068f94a23e0
11 years ago
Haijian Wang
cb09f78170
pseudo-class css selector fails the parser. (Ticket 10316)
Change-Id: I6548c31aaf01ac75fb0668c4c28acbee952e6c6f
11 years ago
Artur Signell
0ece55d000
Include GWT sources in sources jar (#9102)
Change-Id: I99928a614cf220b79f107e45eb02dc3de8333db1
11 years ago
Haijian Wang
8af39d1423
Add license header for a couple of files
Change-Id: I859dcc23397f4eee4b7f4e296f69520e8d6b07f6
11 years ago
Haijian Wang
63a7fdf83d
Preserve UTF-8 in imported files and output @charset in generated css
(#10505 )
Change-Id: I53f46611ef39124d532b118bb8ccb34f31cf8a6a
11 years ago
Haijian Wang
2cc7ad1cd4
Supports @keyframes, related to Ticket #10000
Change-Id: Ic65defdccb4d0aa8f54aa941acde21554f0bf989
11 years ago
Haijian Wang
e788649967
supports contains in @if, related to Ticket #9975
Change-Id: Ib128801a06a03ebd4460e87a6963a01483f58cec
11 years ago
Pekka Hyvönen
1042592911
Checkstyle for Vaadin #9065
* Validates that all java files contains a license file and fails the build if a license is missing
* For now runs a lot of checks with a severity less than error to avoid failing the build
* Outputs test results to TeamCity for reporting
Change-Id: I24ca9cd0646a4bc530ef3a183eef1bc4addc555d
11 years ago
Haijian Wang
a13ea142d9
support interpolation in property name (#9410)
Change-Id: Idfb058daf796875cadf0262a2b8150fc1c103915
11 years ago
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
11 years ago
Artur Signell
beb245d0e8
Fixed typo in build script
Change-Id: I34f9e91b449ca92a5d6f1c32dd4c21a4d5d34753
11 years ago
Haijian Wang
9df030ba55
fix Ticket #10506, remove quotes in url path
taking single quote into consideration
Change-Id: I966ffeba8a60c7c16980cca3dfa69935e0aca67b
11 years ago
Henri Sara
21b8e3652e
Minor fix to SASS else-if condition parsing.
Change-Id: I2b6214bbc79f2f133c079667f1b3a61b2fa41ca7
11 years ago
Henri Sara
c7806b0f60
Sass parser refactoring to reduce duplication.
Change-Id: I5693b06cb6ac921740cd1dbfde8ad98424ce7e80
11 years ago
Henri Sara
45c6065c79
Extend support for Microsoft filter expressions in SASS (#10597)
Now, also string parameters and multiple parameters are accepted by the
parser.
Change-Id: I3b1a707e4d0531c4d6117c8f0b2b140fdf6ac741
11 years ago
Henri Sara
6ddbc1aba9
Copy unrecognized @ rules to output as is (#10486)
Also adds preliminary support for recognizing @debug and @warn so that
those are not copied.
Change-Id: Idaf80daaad78804871d128a9e804404fcf043d25
11 years ago
Henri Sara
8ad2a93120
Use a custom test runner for SASS tests to get file name in JUnit
Change-Id: I33b60bb524afd87d0e896e7f8495be8be6bd9263
11 years ago
Henri Sara
aff0802d4b
Use separate scope for variables within a mixin (#10453)
Also contains another fix related to how variable values are replaced in
mixins.
Change-Id: I7a53e0a62041da6557eea10e124e64a55c7823f4
11 years ago
Artur Signell
d997604e1b
Override commons-logging version (#9970)
Change-Id: I845f6e823300100b71ac5e9c0bba4baa5d4d6181
11 years ago
Henri Sara
d2b69dbee6
Same version of commons-lang in SmartSprites and elsewhere (#9970)
This should eliminate some duplicate JAR(s) in the Vaadin package.
Change-Id: I0b984fde1fa3ae23139a62fd829e1d1560761abc
11 years ago
Henri Sara
0afd959a89
Move SASS tests that now work to correct directory
Change-Id: I8826539b5f51db29c46159f7f0d751d3fdf7eff2
11 years ago
Henri Sara
5ca922358f
Accept anything as pseudo function parameters (#10316)
Change-Id: Ib5aab4d4ca7de0fa7dc46a31f8d98740b302b7d3
11 years ago
Henri Sara
5b90327f4e
Support @if in @mixin (#10438)
Also adds support for @font-face and the (not yet implemented) @page.
Change-Id: I65367121a71ac28c4b99d6b3ed7716e89cb132fa
11 years ago
Henri Sara
bcd31a6bad
Eliminate ambiguity between pseudos and properties (#10406)
Change-Id: I339548272ad12d961f2f81a2922f8ec58828629f
11 years ago
Artur Signell
cfa886551d
Removed invalid dependency to vaadin-shared-deps (#10415)
Change-Id: I62c5ffe3ade12342def5b607e8f4f2fb50db761e
11 years ago
Henri Sara
deca3b2f6d
Add lookahead to eliminate SASS parsing ambiguity
Change-Id: Idcb27240f4bc79a4fc40a17eff7b0c8e43156c73
11 years ago
Henri Sara
3c070083e5
Regenerate some SASS parser files to reduce warnings.
Change-Id: I33c118ef0686a7ce88faafcd02790b8546929853
11 years ago
Henri Sara
82120d5db9
Support for all valid CSS selectors (#10316)
Add support for pseudo-functions like ":nth-child(n)".
Add support for sibling selector "E ~ F".
Add support for unknown pseudo-functions taking an identifier such as
":not(s)".
Change-Id: I39b31fa99f031b31b215058a45b74e40b23191f3
11 years ago
Henri Sara
e8ef66d2d6
Move some SCSS tests to be scanned automatically
Change-Id: I7590c6cd20f649a5c02e92673d44cf1c2721b95d
11 years ago
Henri Sara
e87d3ac602
Refactor tests imported from the sass-lang project (#9751)
Currently broken tests are separated from those that succeed.
Change-Id: Iefb8a44464b62d332277fc15c678e160277b49ee
11 years ago
Henri Sara
befa3fe32e
Imported tests from the sass-lang project (#9751)
Change-Id: I9acd28e13718a0f78b0f91af5161e94599193a15
11 years ago
Henri Sara
78bfb5cb1c
Keep block order when unnesting (#10309)
Change-Id: I5a7e6b74a55176799e85c943a128d9aab0db0876
11 years ago
Artur Signell
891fc21031
Compile parser during build (#9283)
Change-Id: If47b459ff3f26d991a9b39e7fee1469b7bdd09e3
11 years ago
Marc Englund
fa7da72266
Make most of the sass compiler API internal, fixes #10339
Change-Id: Ia783142aa96665a26491b659a387490883875d37
11 years ago
Henri Sara
8b90d2e2d3
Refactor node traversal and empty node removal.
Change-Id: If5c66e3fd01341636e481a093f90471c92755ce9
11 years ago
Marc Englund
d6caa6043a
Fixes #6714 #10330 - wraps theme in themename{}, creates legacy-styles.css, updates themes to support this.
Change-Id: I185b67b2ee74dca2faf48ff2517f24280aff4375
11 years ago
Marc Englund
b913ab2907
Warns and removes if parent reference '&' is used w/o parent, fixes #10327
Change-Id: I58eaf3f2acd27a7627c8df31e411a75fc4a48016
11 years ago