Commit Graph

888 Commits

Author SHA1 Message Date
Chris Eppstein
45571de0f7 Rename the log function to logarithm to avoid collisions with the log
function for logging.

Add keyword argument support for the math functions.

Add square-root as as an alias to sqrt.
2012-03-11 20:52:27 -07:00
Chris Eppstein
1d78bfd7cc Merge pull request #763 from pivotal-casebook/relative_home_path
Fix for Compass.shared_extension_paths when HOME is a relative path or some other stupid value.
2012-03-11 19:41:30 -07:00
Chris Eppstein
c8174b5679 Merge branch 'master' into stable
Conflicts:
	Gemfile
	lib/compass/sass_extensions/functions.rb
	lib/compass/sass_extensions/functions/trig.rb
	test/units/sass_extensions_test.rb
2012-03-11 18:30:25 -07:00
Chris Eppstein
aa71abb601 Add mime-type for eot fonts 2012-03-11 17:59:49 -07:00
Chris Eppstein
d9cbb8e104 Merge pull request #753 from MoOx/font-eot
Add .eot (Embedded OpenType) to fonts format
2012-03-11 17:58:17 -07:00
Chris Eppstein
22968d7f48 Merge pull request #755 from aaronchi/patch-1
Correct Mime type for woff font files
2012-03-11 17:57:14 -07:00
Chris Eppstein
d38fee361f When an error occurs, display the imported file that caused the error if the error was not local error. 2012-03-09 00:42:04 -08:00
Michael Schubert & Sam Obukwelu
2d4e0e400f Fix for Compass.shared_extension_paths when HOME is a relative path.
This should fully resolve https://github.com/chriseppstein/compass/issues/364 for when HOME is not just nil but also "." (or any other relative path). Added a complete set of unit tests around the method as well.
2012-03-08 12:05:56 -05:00
Matija Marohnić
3dc42c8473 Add more math functions and unite them with Trig.
Added math functions are as follows:

- e()
- log(number[, base])
- sqrt(number)
- pow(number, exponent)

Because trigonometry is also math, these functions are united with
Compass' trigonometry functions under the Math module.
2012-03-08 03:00:01 +01:00
aaronchi
55d4d36240 Use the corrent mime type for woff font files:
http://stackoverflow.com/questions/3594823/mime-type-for-woff-fonts
2012-03-06 21:09:20 -08:00
Maxime Thirouin
4812c5fea1 Fix #752 Add .eot (Embedded OpenType) to fonts format 2012-03-06 11:13:13 +01:00
Chris Eppstein
b8c0928f86 Merge branch 'stable'
Conflicts:
	doc-src/content/CHANGELOG.markdown
	lib/compass/commands/watch_project.rb
2012-03-05 11:30:52 -08:00
Chris Eppstein
6a89268404 Whitespace 2012-03-04 17:46:27 -08:00
Chris Eppstein
fe1c465482 Missing quote. 2012-03-03 09:36:05 -08:00
Chris Eppstein
06af286c4a Add filesize to the compass stats output. 2012-02-26 17:34:44 -08:00
Chris Eppstein
fee53b1a60 Handle the transparent keyword identifier in gradients.
Closes GH-356
2012-02-26 17:34:44 -08:00
Scott Davis
bbdb179df1 Revert "Merge pull request #712 from Xananax/sprite_background_image"
This reverts commit 0c208d58fa, reversing
changes made to c81af69c69.
2012-02-09 19:50:20 -05:00
Xananax
205f059adb Changed the background property into
background-image property in order
to allow one to set a background-color;
previously, background-color was
overriden by the background style.
Also added background-repeat property.
2012-02-09 15:29:52 +02:00
Chris Eppstein
87e57cf6ea Upgrade notifications for compass rails users to use the compass-rails gem. 2012-02-02 13:59:20 -08:00
Scott Davis
c403ac9035 Merge branch 'master' of github.com:chriseppstein/compass 2012-01-31 12:07:58 -05:00
Scott Davis
ea677274a4 rogue quote 2012-01-31 12:05:52 -05:00
Scott Davis
05364e0a36 merge 2012-01-31 12:04:03 -05:00
Chris Eppstein
050e45d2fc Add img to the inline-block display type for elements-of-type(). 2012-01-31 09:01:50 -08:00
Scott Davis
addbc94716 Merge branch 'no_rails_integration' 2012-01-31 11:55:59 -05:00
Scott Davis
3d4ddca76a strip nils 2012-01-31 04:12:36 -05:00
Chris Eppstein
cef86e2bbc Account for the fact that ruby 1.8 returns strings from the local_variables method. 2012-01-30 21:26:57 -08:00
Jannis Leidel
ff51850b90 Flush stdout buffer to make sure the stdout message show up correctly. 2012-01-30 21:09:51 -08:00
Chris Eppstein
e3d50c19e5 Merge commit 'bac8667fb4d0103b975dacc261ed1da08f455e49' into no_rails_integration 2012-01-30 21:07:10 -08:00
Scott Davis
f11e5a3205 refactored the previous change 2012-01-30 22:32:05 -05:00
Scott Davis
7198a69909 sprite importer will now error if it does not find the associated glob 2012-01-30 22:12:01 -05:00
Scott Davis
11cf736066 fixed bug where application integrations would not load if there was a config file 2012-01-30 22:11:34 -05:00
Scott Davis
e4681e2672 fixed weird bug with data inheritance 2012-01-30 19:59:31 -05:00
Chris Eppstein
a6c045785d Allow some config attributes that are arrays to be inherited properly
from inherited config data.
2012-01-30 11:21:29 -08:00
Scott Davis
c3b0f0117a remove todo comment 2012-01-28 20:57:30 -05:00
Scott Davis
7d87a2eee8 strip .css from file names w/ test 2012-01-28 20:56:56 -05:00
Chris Eppstein
fc41c452b8 Don't set the quiet option unless disable_warnings is passed via the nested :sass options hash. 2012-01-28 16:25:04 -08:00
David Hidalgo
208c49af93 I added the time of scss change for control more efficiently of the last change 2012-01-26 15:16:26 +01:00
Scott Davis
4e50273fdb Merge branch 'master' into no_rails_integration 2012-01-18 20:05:58 -05:00
Scott Davis
3df5ba3369 merge stable 2012-01-18 19:55:24 -05:00
ShishKabab
317999bc4e Fix wrong degree to radian conversion in trig function. Might break some stylesheets for users so proceed with caution! 2012-01-08 13:54:58 +01:00
Scott Davis
bffba48375 fixed rouge puts 2012-01-06 14:21:05 -05:00
Scott Davis
7c8c0164b8 nuked merb 2012-01-06 14:05:34 -05:00
Scott Davis
b87dffb990 removed merb 2012-01-02 20:44:54 -05:00
Scott Davis
810a543400 Merge branch 'master' into no_rails_integration 2012-01-02 11:40:11 -05:00
Scott Davis
cf4805958d app integration 2012-01-02 11:27:20 -05:00
Scott Davis
a8e48c5a2a added support for --debug-info and --no-debug-info to compass compile 2012-01-02 02:49:38 -05:00
Scott Davis
f4dda8a5d0 added sprite_names sass function and test closes #620 2012-01-02 01:01:11 -05:00
Chris Eppstein
c4e9d00d61 Merge branch 'stable'
Conflicts:
	VERSION.yml
	doc-src/content/CHANGELOG.markdown
	lib/compass/configuration/helpers.rb
	test/units/sass_extensions_test.rb
2011-12-23 17:16:44 -08:00
Chris Eppstein
5138d5a187 Support for new versions of sass where the callback name changed. 2011-12-23 17:00:59 -08:00
Chris Eppstein
ca59adfa12 Add a new helper function to reject values from a list. 2011-12-23 16:53:48 -08:00