2222 Commits

Author SHA1 Message Date
meri
85197ee577 Merge branch 'master' of https://github.com/less/less.js into rhino
Conflicts:
	.gitattributes
	README.md
	test/index.js
2014-01-14 22:48:46 +01:00
Luke Page
669701fcc4 Merge pull request #1803 from wareczek/patch-1
ability to insert uppercase color names
2014-01-14 13:42:38 -08:00
Luke Page
0bc82a46e7 Merge pull request #1804 from cettox/master
small compatibility fix for prototype.js
2014-01-14 13:36:19 -08:00
Mária Jurčovičová
9dde8527e9 Merge pull request #13 from dhaber/rhino-source-map-tests
Add Support-Map Tests for Rhino
2014-01-14 12:41:07 -08:00
Kemal Dag
94ef7cba5e small compatibility fix for prototype.js 2014-01-14 18:38:17 +02:00
Marek Duława
13635e7462 ability to insert uppercase color names 2014-01-14 15:19:51 +01:00
Doug Haber
de4e888211 Add Support Map Tests
This patch adds Support Map Tests to the rhino test suite.  It makes the
following changes:

1.  Fix typo in the Gruntfile.js for the sourcemap-test
2.  Update Gradle build to always build the less-rhino-<version>.js
before running the tests
3. Add a new testRhinoSourceMap and add it to the test list
4. Add a SourceMapRhinoTest that bootstraps SourceMap tests and then
validates them after they run
5. Add hooks in RhinoTest to support custom bootstraping and validation
6. Add compiled version of source-map (version 0.1.31) because Rhino
can't dynamically pull in dependencies
7. Add source-map to the Rhino build with a Header/Footer that wraps
source-map as a less-friendly dependency
8. Update lib/less/rhino.js to properly handle (some) source-map options
and add a new one (--source-map-output-map-file) that will output the
source-map to a separate file (so we can validate our Rhino tests)
9. Remove unused callback in less-test.js
2014-01-13 23:39:52 -05:00
deviprsd21
82ab17c082 Consistency fixes 2014-01-13 18:20:43 +05:30
deviprsd21
e6b94f9c45 Pixel conversion added. 2014-01-13 16:43:46 +05:30
Mária Jurčovičová
2ea251b617 Merge pull request #12 from dhaber/rhino-mactest
Fix for some tests that were failing on my Mac
2014-01-12 14:03:45 -08:00
Mária Jurčovičová
8bbc221e82 Merge pull request #11 from dhaber/rhino-issue3
Fix for issue #3: Tests should automatically take latest rhino file
2014-01-12 14:02:15 -08:00
Max Mikhailov
ab486f7e1f Updated current version in readme.md 2014-01-12 11:23:12 -08:00
Luke Page
396112fb66 1.6.1 release v1.6.1 2014-01-12 11:58:08 +00:00
Luke Page
2e0acb8e32 update changelog for 1.6.1 2014-01-12 11:53:40 +00:00
Luke Page
86476d58cb allow empty files 2014-01-12 11:51:02 +00:00
deviprsd21
7fc12014f2 Error handlers for min/max functions 2014-01-12 10:47:55 +05:30
Luke Page
35d8473c77 fix sourcemap test 2014-01-11 18:57:02 +00:00
Luke Page
3755fb28b0 Merge pull request #1780 from brenmar/master
#1778 standardised using starting index, to fix incorrectly mapped sourcemaps
2014-01-11 10:43:16 -08:00
Luke Page
bdfc63103f update changelog 2014-01-11 18:38:50 +00:00
Luke Page
0f8f995983 Fix css guard error. fixes #1796 2014-01-11 18:35:11 +00:00
Luke Page
92c3ac2c88 support shadow dom selectors. fixes #1801 2014-01-11 17:43:19 +00:00
Doug Haber
fb1f664388 Clean up some text changes 2014-01-11 07:51:43 -05:00
Doug Haber
1b83d882b4 Fix some tests that were failing on my Mac 2014-01-11 07:51:38 -05:00
deviprsd21
b77b02091a Improved min/max function, 2 new Built in function
max(0, 1em, 2, 4px) //returns max(2, 4px) on the basis of first enter basis, as 2 gets em unit. Now em and px are incompatible till latest version of LESS.
2014-01-11 17:53:57 +05:30
deviprsd21
0f2926b4d8 Update functions.js
max(0, 1em, 2, 4px) //returns max(2, 4px) on the basis of first enter basis, as 2 gets em unit. Now em and px are incompatible till latest version of LESS.
2014-01-11 17:52:25 +05:30
deviprsd21
bf2a49a12e Improved min/max function, 2 new Built in function
max(0, 1em, 2, 4px) //returns 4px on the basis of first enter basis. Previous calculation would result in max(2, 1em, 4px). Here, 2 and 1em is compared, 2 is returned. then 2 and 4px is compared. Resulting in 4px. max(0, 1em, 1, 4px) //max(1em, 4px)
2014-01-11 17:43:24 +05:30
Doug Haber
cfb04d1483 Update gradle build to:
1. Build the latest version of the rhino less version
2. Use the latest version to test against

Also update Grunt build to have a build rhino task
2014-01-10 16:19:04 -05:00
Luke Page
6dfb00751c Fix for in without hasOwnProperty 2014-01-10 20:09:36 +00:00
Luke Page
0af345e086 Merge pull request #1797 from DHainzl/patch-1
Updated .jshintrc to highlight for ... in without isOwnProperty
2014-01-10 11:51:02 -08:00
DHainzl
f549c12518 Updated .jshintrc to highlight for ... in without isOwnProperty
Issue #1792
2014-01-10 20:22:07 +01:00
deviprsd21
08e613709e Improved min/max function, 2 new Built in function 2014-01-10 22:48:37 +05:30
Luke Page
3689d81737 Merge pull request #1795 from dhaber/browsertest
Fix for running test cases in a regular browser like Firefox or Chrome
2014-01-09 23:35:41 -08:00
Doug Haber
ebfdf7dbc3 innerText isn't available in ff/chrome/etc so use innerHTML 2014-01-09 22:07:07 -05:00
seven-phases-max
bca1f996a6 Fixed incorrect property interpolation for certain variable types, updated tests. 2014-01-07 19:51:41 +04:00
Mark Brennan
261d4e0f9c fixed using starting index for parser nodes, which enables the creation of accurate source maps 2014-01-05 21:10:55 -08:00
meri
d438b9c52d Close #1777
Data-uri function used single quote ' around generated url, but did not
encoded it in generated string. Switched it to " which is encoded.
2014-01-05 12:27:05 +01:00
Luke Page
626b004263 add comment explaining new function check 2014-01-03 07:14:47 +00:00
Luke Page
029f016da6 Merge pull request #1773 from matthew-dean/master
Fixes "function" test against regular expressions
2014-01-02 23:12:03 -08:00
Matthew Dean
e7f9b96e95 Fix for use of reserved word
Fixes issue #1772
2014-01-02 15:07:36 -08:00
Matthew Dean
13aba08ed8 Fixes "function" test against regular expressions
In some browser engines (especially older versions of Webkit), this
test fails when the argument is a RegExp.

See:
http://stackoverflow.com/questions/5054352/why-use-typeof-for-identifyin
g-a-function

Fix tested and works with Adobe AIR.
2014-01-02 15:04:02 -08:00
Luke Page
58af9f9763 release 1.6.0 v1.6.0 2014-01-01 17:29:39 +00:00
Luke Page
3b40e72828 move readme changes to build version and re-build 2014-01-01 17:26:25 +00:00
Luke Page
d4a5107b10 Merge branch 'master' of https://github.com/cloudhead/less.js 2014-01-01 13:19:04 +00:00
Luke Page
d76aebc068 update changelog 2014-01-01 13:18:58 +00:00
Luke Page
4dd5a4b8e8 Merge pull request #1737 from seven-phases-max/clamped-rgba-output
Clamped rgba format color output
2014-01-01 05:05:59 -08:00
Luke Page
c1b70baeb4 Merge pull request #1769 from lesswtf/master
If result of evaluated javascript is a number return it as Dimension.
2013-12-31 04:35:37 -08:00
lesswtf
216facd033 If result of evaluated javascript is a number return it as Dimension. 2013-12-30 05:11:24 +03:00
Luke Page
3a0f97ea79 Merge pull request #1766 from seven-phases-max/undefined-var-in-js-fix
Improved error message for undefined variable in js eval statement.
2013-12-28 00:43:55 -08:00
seven-phases-max
34f54cf645 improved error message for undefined variable in js eval statement, more clean fix. 2013-12-27 17:51:54 +04:00
seven-phases-max
4d7a2bcd84 improved error message for undefined variable in js eval statement. 2013-12-27 17:42:37 +04:00