Commit Graph

877 Commits

Author SHA1 Message Date
Chris Eppstein
6c12749194 Merge branch 'stable'
* stable:
  Fix failing test when updating to latest SASS
  Gemfile.lock should not be part of a library / gem
  fix typo
  Fix issue with parent directory references within the sass_path in the compass compiler.
  Version bump.
  Update changelog
  Return a non-zero exit code if there are any stylesheet compilation errors. Closes GH-432.
  Fix test failures.
  Better docs for the shadow mixins. Closes GH-433.
  Include the Compass logger to prevent "uninitialized constant Compass::Logger"
  Broken link fixed to what I think is the correct section of the SASS docs.
  grid-background vertical rhythm should be based off of $blueprint-font-size, rather than a static value.
  :focus should not use shorthand border property, since it only need to change the border-color
  update changelog
  Fix absolute path detection on Windows.
  Fix the mime type returned for svg images. Closes GH-442.

Conflicts:
	Gemfile.lock
2011-07-03 14:21:09 -07:00
Chris Eppstein
539f206e51 Fix issue with parent directory references within the sass_path in the compass compiler.
Closes GH-409.
2011-07-03 10:45:33 -07:00
Chris Eppstein
b8b6af9d49 Return a non-zero exit code if there are any stylesheet compilation errors. Closes GH-432. 2011-07-03 00:18:58 -07:00
Matt Fawcett
b2b9d57505 Include the Compass logger to prevent "uninitialized constant Compass::Logger"
Closes GH-438.
2011-07-02 21:59:09 -07:00
Costin Bereveanu
3b18b72d64 Fix absolute path detection on Windows.
Closes GH-451.
2011-07-02 21:07:49 -07:00
Chris Eppstein
b7e66a7658 Fix the mime type returned for svg images. Closes GH-442. 2011-07-02 20:57:24 -07:00
Chris Eppstein
3786a8312a Merge branch 'stable'
* stable:
  Fix edge case issue when there's no cache location.
  Fix broken test.
  Transitions accepting multiple transitions separated by commas
  Added force-wrap mixin to prevent URLs and long lines of text from breaking layouts.
2011-07-02 18:05:32 -07:00
Chris Eppstein
ab270c1adb Fix edge case issue when there's no cache location. 2011-07-02 18:05:02 -07:00
Caged
a08d0319d0 Fixes #449. Accept and honor offsets in selectors 2011-07-02 13:27:32 -07:00
Chris Eppstein
f18b5bcbc1 Merge branch 'stable'
* stable:
  Update CHANGELOG
  When the unit is in pixels, round down in the leader and up in the trailer.
  Ensure there is a minimum of padding in each line when calculating how many lines are needed.
  Support absolute font sizing in the vertical rhythm module
  Update homepage
  Adding the generated css files from the msfilter change
  Removing -ms-filter as it drives IE9+ crazy. plus existing filter works anyway for IE9-
  In case you want to buy stuff.
  Update Gemfile to use rake 0.8.7
  Handle pathnames being assigned to the working path of a command. Closes GH-434.
  Fix docs
  Fix compass version in the docs.

Conflicts:
	Gemfile.lock
2011-07-01 22:23:05 -07:00
Scott Davis
dfb7c70113 merge 2011-06-27 01:07:53 -04:00
Scott Davis
642d0b2007 Merge branch 'stable' into rails31 2011-06-27 00:58:14 -04:00
Scott Davis
cc81fe6fac merged version.yml 2011-06-27 00:56:29 -04:00
Scott Davis
43868ecabd test files for horizontal sprites 2011-06-25 01:28:01 -04:00
Scott Davis
18c79f51a2 horizontal sprite layout 2011-06-25 01:23:50 -04:00
Scott Davis
8d2ad57e18 Thanks @ngauthier for spellchecking! 2011-06-23 06:32:41 -07:00
Chris Eppstein
852f033160 Handle pathnames being assigned to the working path of a command.
Closes GH-434.
2011-06-19 12:56:01 -07:00
Scott Davis
e0abb38e2f fixed problem with decimal math and being able to position sprites with "%"s fixes #415 2011-06-19 11:24:44 -04:00
Scott Davis
cfe5b8ed7e refactor 2011-06-15 23:37:23 -04:00
Scott Davis
dc504ecd8e pass new config options to chunky_png canvas on image save 2011-06-12 13:37:20 -04:00
Scott Davis
db74d8bdb3 new config option to pass options along to chunky_png 2011-06-12 13:36:49 -04:00
Chris Eppstein
2d81e0a506 Fix bug 2011-06-11 23:45:00 -07:00
Scott Davis
b9234e50d0 added test for sprite command and removed specs 2011-06-12 02:22:05 -04:00
Scott Davis
41bd992a8d fixed :sprite_generated callback its now passing along the canvas 2011-06-12 01:42:38 -04:00
Scott Davis
1f17603aea Merge branch 'stable' of github.com:chriseppstein/compass into stable 2011-06-12 01:38:42 -04:00
Scott Davis
cebe25a460 implimented engine in sprite_map 2011-06-12 01:37:21 -04:00
Scott Davis
80412b5c1d added engine to sprite_map 2011-06-12 01:35:50 -04:00
Scott Davis
b6cf4f5213 refactored engine to be a class and turned on best compression for chunky_png 2011-06-12 01:35:19 -04:00
Scott Davis
6f95c9d17a added canvas to engine 2011-06-12 01:34:33 -04:00
Chris Eppstein
39df74c55a Add a new command to clean up generated files 2011-06-11 22:28:38 -07:00
Chris Eppstein
2be7567bb2 Better error message when a sub command is missing. 2011-06-11 21:54:56 -07:00
Chris Eppstein
ab25ba0b40 Code cleanup 2011-06-11 21:54:32 -07:00
Chris Eppstein
c069babe76 log removal actions in the compiler output. 2011-06-11 21:54:12 -07:00
Scott Davis
7454e522a5 engine abstract 2011-06-12 00:52:36 -04:00
Scott Davis
a6ea065eaa split sprite map class into modules for easy reading it was way to long 2011-06-12 00:16:11 -04:00
Scott Davis
21a5a2ae3d sprite module files 2011-06-12 00:15:23 -04:00
Chris Eppstein
40e2f330e6 Merge remote-tracking branch 'pfeiffer/cache_busting' into stable
* pfeiffer/cache_busting:
  Removing unneeded 'unquote' from tests
  Adding note about path based asset cache busting in to documentation
  Adding changelog entry
  Fix comments for asset_cache_buster
  Make asset_cache_buster return a hash with path and query, while still maintaining support for cache busting via query string if a string is returned.
  Extend cache busting to allow for path manipulation
2011-06-11 17:37:55 -07:00
Chris Eppstein
5999c7ba6c Sass and compass both have :quiet options with different meanings. So we have to separate the options out. 2011-06-11 16:49:28 -07:00
Chris Eppstein
59a6d5706d Fix a bug in the importer string representation. 2011-06-11 13:47:59 -07:00
Chris Eppstein
ecd1efdea4 Fix for a compass validator bug due to some internal compass changes. 2011-06-11 11:33:01 -07:00
Chris Eppstein
ba5bec3e09 Merge branch 'master' into rails31
* master:
  Prepare the next release version
  Fix CSS3 background attribute
  Version Bump & Prepare for v0.11.2
  Strong tags in the docs should be bold.
  Fixes sprites file names with sprockets, modifies tests accordingly to new structure.
  removed all cacheing from importer class it causes more problems then it was worth
  gemfile
  removed another instance cache in the importer that could be problematic
  updated importer to validate that sprites are png files
  run bundle exec when running tests
  cleaned up some over zelious cacheing that was causing inconsistancy problems
  added test for sprite importer
  removed unneeded cache
  readded mtime to importer class
  typo: appliction
  Update test case for flexible box.
  Enable IE 10 support for flexible box with the -ms prefix.
2011-06-10 16:00:04 -07:00
Mario Kuroir Ricalde
333240de35 Fixes sprites file names with sprockets, modifies tests accordingly to new structure. 2011-06-10 05:11:28 -05:00
Scott Davis
4461f1be5f removed all cacheing from importer class it causes more problems then it was worth 2011-06-09 16:37:50 -04:00
Scott Davis
f248c22ab1 removed another instance cache in the importer that could be problematic 2011-06-09 16:28:10 -04:00
Scott Davis
ab5d6e51d9 updated importer to validate that sprites are png files 2011-06-09 16:27:23 -04:00
Scott Davis
89869db09c cleaned up some over zelious cacheing that was causing inconsistancy problems 2011-06-09 16:02:16 -04:00
Scott Davis
b8811780ef removed unneeded cache 2011-06-09 15:44:10 -04:00
Scott Davis
7e583e5f58 readded mtime to importer class 2011-06-09 15:43:38 -04:00
Chris Eppstein
275635a88f Merge branch 'master' into rails31
* master:
  Rename the sprite Base class to SpriteMap
  Move the sprite importer to the compass module and rename it to be more clear about what it does.
2011-06-07 07:55:54 -07:00
Chris Eppstein
008cffa3ef Rename the sprite Base class to SpriteMap 2011-06-07 07:51:47 -07:00
Chris Eppstein
c73d281e58 Move the sprite importer to the compass module and rename it to be more clear about what it does. 2011-06-06 18:53:35 -07:00
Chris Eppstein
b0e89239c3 Merge branch 'master' into rails31
* master:
  The compass watcher is in quiet mode except for important actions.
  Clear up a Logger class lookup issue that was reported.
  Following a similar API to how the Complier works, don't log anything (don't even load up the logger!) if we pass in the :quiet option.
  Previously, calling directory("/hi") would error, because options would remain nil if self doesn't respond_to?(:options)
  moved config check to perform
  added @chriseppsteins suggestion for issue #300
  forgot test files
  added failing test for issue #400 and fixed the callback typo closes #400
  move hashing and comparison methods into SpriteMap class
  removed unneeded file
  refactored the sass importer for sprites

Conflicts:
	lib/compass/sass_extensions/sprites/sprites.rb
2011-06-05 18:04:29 -07:00
Chris Eppstein
dc8d8cd765 The compass watcher is in quiet mode except for important actions. 2011-06-05 15:50:43 -07:00
Chris Eppstein
3bb88271e7 Clear up a Logger class lookup issue that was reported. 2011-06-05 15:48:11 -07:00
Chris Eppstein
1b689ce966 Basic Rails 3.1 integration. 2011-06-03 10:29:59 -07:00
Chris Eppstein
4852e7803c Fix a bug where import paths are added twice when using add_import_path in a configuration file. 2011-06-03 09:45:51 -07:00
Chris Eppstein
5681f38e50 Better string representation for the sprite importer. 2011-06-03 09:44:24 -07:00
Hampton Catlin
3bf3ddac72 Following a similar API to how the Complier works, don't log
anything (don't even load up the logger!) if we pass in the :quiet option.

I need this because of some conflicts with Compass::Logger, being referred
to as "Logger", which seemed to be pulling out the main Logger. This is a
seperate issue, but making this options[:quiet] API functional is a nice
work-around that keeps things from getting too messy.

Tests included, obviously.
2011-05-30 16:17:28 +01:00
Hampton Catlin
9add993129 Previously, calling directory("/hi") would error, because
options would remain nil if self doesn't respond_to?(:options)

So, just double check we have something in options
2011-05-30 16:15:35 +01:00
Scott Davis
bcc3000860 moved config check to perform 2011-05-26 15:00:54 -04:00
Scott Davis
d080fdddb7 added @chriseppsteins suggestion for issue #300 2011-05-26 14:42:24 -04:00
Scott Davis
b6ca6e4efb Merge branch 'master' of github.com:chriseppstein/compass into stable 2011-05-25 11:45:27 -04:00
Scott Davis
faba01f34c added failing test for issue #400 and fixed the callback typo closes #400 2011-05-25 11:44:13 -04:00
Scott Davis
6ba72b9533 move hashing and comparison methods into SpriteMap class 2011-05-12 23:44:21 -04:00
Scott Davis
2d797ba956 removed unneeded file 2011-05-12 23:38:57 -04:00
Scott Davis
eec6759649 refactored the sass importer for sprites 2011-05-12 23:36:59 -04:00
Scott Davis
2f105f3696 made things less ambiguous 2011-05-11 02:45:26 -04:00
Scott Davis
fdd639efaf updated the regex to support nested files and refactored some unclear functions 2011-05-11 02:41:51 -04:00
Scott Davis
753ad37df7 Fixed problem with globs only going one directoy deep from now on imports like foo/*.png will get mapped to foo/**/*.png
Please enter the commit message for your changes. Lines starting
2011-05-10 22:44:10 -04:00
Scott Davis
84d207f827 Sass Colors will no longer cause an error if you use them as sprite names. closes #381 2011-05-10 21:51:35 -04:00
Scott Davis
325306dcec Fixed and issue with the options keyword in the Sprite::Base class. it was casing the passed options to be reset to an empty hash. I renamed it to kwargs for consistancy. I also refactored my previous changes to be unobtrusive to people currently using the sprite-map function without an @import. 2011-05-10 21:04:57 -04:00
Scott Davis
4321fc0cf5 refactored to allow a per sprite cleanup 2011-05-10 19:20:38 -04:00
Scott Davis
6cb9bc2662 old sprites will now be removed by default 2011-05-10 18:02:32 -04:00
Mattias Pfeiffer
8661c481cf Fix comments for asset_cache_buster 2011-05-04 11:43:22 +02:00
Mattias Pfeiffer
2f3b757b46 Make asset_cache_buster return a hash with path and query, while still maintaining support for cache busting via query string if a string is returned. 2011-05-04 11:37:58 +02:00
Nathaniel Bibler
21928907e4 Extend cache busting to allow for path manipulation 2011-05-04 11:02:15 +02:00
Chris Eppstein
5ededce909 Add support for -ms gradients in background-image and background properties.
Closes GH-361.
2011-05-01 09:33:21 -07:00
Chris Eppstein
04a288ae8f Give a better error if Sass::Script::Functions.declare does not exist.
Closes GH-365.
2011-05-01 08:28:58 -07:00
Chris Eppstein
8527f5b91f A more robust approach to getting the git version. 2011-05-01 08:10:27 -07:00
Chris Eppstein
ea6e15b8a4 Handle homeless users. Closes GH-364. 2011-04-29 06:50:11 -07:00
Scott Davis
5a2967fe51 sprite test_unit 2011-04-28 02:50:14 -04:00
Chris Eppstein
144a3b27a1 Bump version and assign a name. 2011-04-24 22:21:10 -07:00
Chris Eppstein
28ccff0fba Make the generated configuration file a little more readable. 2011-04-24 20:04:03 -07:00
Chris Eppstein
4957774e49 Default production mode to compressed output 2011-04-24 19:57:45 -07:00
Chris Eppstein
f775fa0ca0 Correct the CLI help on the default value of environment. 2011-04-24 19:56:29 -07:00
Chris Eppstein
5962a85a99 Fix broken linear gradients with svg enabled. 2011-04-24 18:59:07 -07:00
Chris Eppstein
a997fa2332 Use expand_path to match the behavior is Sass. Fixes a bug that causes compass to always compile all files. 2011-04-24 16:04:50 -07:00
Chris Eppstein
75901f9287 Fix watcher output on the first run. 2011-04-24 16:04:50 -07:00
Chris Eppstein
4127ea7c9e Kick off a GC at the end of a watcher run. 2011-04-24 16:04:49 -07:00
Chris Eppstein
30e01c7cbd Clean up the creation and management of importers and compilers 2011-04-24 16:04:49 -07:00
Scott Davis
613753e06a merge 2011-04-23 10:19:40 -04:00
Scott Davis
9c8522be72 changed quotes to use syntactic sugar 2011-04-23 10:17:26 -04:00
Chris Eppstein
c7a1c2a911 Correctly report the changed file. 2011-04-22 09:37:19 -07:00
Chris Eppstein
ece275a054 Reset the memory cache before each watcher run. 2011-04-22 09:37:19 -07:00
Chris Eppstein
9e54d7bcb7 Unnecessary normalization -- sass will do it later. 2011-04-22 09:37:18 -07:00
Chris Eppstein
a8a74995bf A module to help debug memory leaks in the watcher. 2011-04-22 09:37:11 -07:00
Chris Eppstein
f4ac295894 Refactor the gradient literals. 2011-04-20 22:28:46 -07:00
Chris Eppstein
9cafbc642c Consistent hashing of the Sprite importer object 2011-04-20 21:09:40 -07:00
Chris Eppstein
134160885c Store the compiler importer in the Sass options so sass doesn't make one. 2011-04-20 21:09:39 -07:00
Chris Eppstein
4c814f97dd Use Sass's Chain and Memory caching for faster caching, store this once in the configuration when watching so Sass doesn't do this with each iteration. 2011-04-20 21:09:39 -07:00
Chris Eppstein
5f1c35d171 Only compute the sass engine options once in the update_project command -- this is called repeatedly by the watcher command. 2011-04-20 21:09:39 -07:00
Scott Davis
fec367d60c fixed gemfile and removed coercion to float 2011-04-20 19:57:19 -04:00
Scott Davis
ac623c620b svg gradients now support angles 2011-04-20 19:34:20 -04:00
Scott Davis
4e502dda73 svg gradients now support angles 2011-04-20 19:33:29 -04:00
Scott Davis
8642187173 updated linier svg gradients to have userSpaceOnUse to be consistant with the radial implimentation 2011-04-20 17:17:03 -04:00
Chris Eppstein
7b0bb7ad2b Change FSSM to a gem dependency instead of vendoring it. Closes GH-343. 2011-04-19 20:00:54 -07:00
Scott Davis
3e013b8bd5 removed require for bigdecimal and updated the deprecated functions in the gem file 2011-04-17 23:11:25 -04:00
Chris Eppstein
3921e6f856 Fix floating point comparision issue. Closes GH-341. 2011-04-17 11:38:27 -07:00
Chris Eppstein
810b95e7f3 Added a mechanism for plugins to extend compass's configuration options. 2011-04-17 11:36:16 -07:00
Scott Davis
d845c4d486 gradient rounding issue tentative fix 2011-04-16 22:09:42 -04:00
Chris Eppstein
df924ae56c Merge commit '9940ee8cbbe52e217a88b9a46ae5074790eea129'
* commit '9940ee8cbbe52e217a88b9a46ae5074790eea129':
  Adding support for pixel-stops for webkit if the gradient goes from left-to-right or top-to-bottom.

Conflicts:
	lib/compass/sass_extensions/functions/gradient_support.rb
2011-04-16 01:07:33 -07:00
Chris Eppstein
fc380ca203 It turns out that we didn't need to change the compile method's signature. Closes GH-335. 2011-04-16 00:49:17 -07:00
Chris Eppstein
26fe7f1074 Tell people who generate a grid background image that there's a better way. 2011-04-16 00:17:19 -07:00
Chris Eppstein
7db7e019ab Add a yellow block method for logging warnings in yellow. 2011-04-16 00:16:37 -07:00
Chris Eppstein
72434be137 Webkit now supports the css3 official gradient syntax. 2011-04-15 23:16:43 -07:00
Chris Eppstein
ad0e172ec3 Allow degrees for linear and radial gradients. Currently no support for SVG gradients using degrees. Partial fix for #303 2011-04-10 14:14:44 -07:00
Chris Eppstein
727c025881 Fix some edge case uses of color stops with list arguments. 2011-04-02 11:59:54 -07:00
Chris Eppstein
af10edd7a9 [Rails Integration] Print a warning if compass is booted more than once. Closes GH-282. 2011-04-02 10:40:32 -07:00
Andrei Bocan
c4a315af3c Check if Rails module responds to env and root before using them 2011-04-02 10:04:08 -07:00
Chris Eppstein
3892919585 Raise an error when compiling selective files from a directory other than the project directory. 2011-04-02 09:34:22 -07:00
Scott Davis
8a1f14d72d removed dynamic constant becasuse i was being a bad programer 2011-04-01 22:19:24 -04:00
Scott Davis
a08003cdd9 changed sprite math back to ceil 2011-04-01 14:57:29 -04:00
Scott Davis
2c62cdf2f9 closes #296 rescue OutOfBounds exception gracfuly 2011-04-01 14:47:24 -04:00
Scott Davis
f83f85406c refactored to fix relative path bug with the compile command 2011-04-01 11:14:30 -04:00
Scott Davis
da2af62f47 closes #271 - fixed bug that was causing file name to truncate 2011-04-01 10:33:17 -04:00
Chris Eppstein
f2ceec4680 Created a function called css2-fallback($value, $css2-value) that will use the $css2-value in a css2 context and the $value in other contexts. 2011-03-30 14:24:50 -07:00
Chris Eppstein
da57adc49d add opera support for the css3 gradient syntax 2011-03-30 14:24:50 -07:00
Scott Davis
96f1e4dc96 closes #320 and refactored the rspec tests 2011-03-29 19:26:11 -04:00
Scott Davis
2e8fd055ed closes 268 - filenames can not start with numbers the must be legal css identifiers 2011-03-28 22:39:12 -04:00
Chris Eppstein
ccb391d9d1 Revert "Don't output transparent in css2 ouput."
Transparent is a legal value in css2.

This reverts commit 119ce9d018.
2011-03-28 09:29:38 -07:00
Chris Eppstein
119ce9d018 Don't output transparent in css2 ouput.
Closes GH-309
2011-03-27 21:03:32 -07:00
Chris Eppstein
a7b8689fb8 Fix bug in the compact function. 2011-03-27 19:16:59 -07:00
Scott Davis
d579c8bdcb 5 not 50 2011-03-26 15:25:47 -04:00
Scott Davis
b395552db3 chanded spritemap instance to use quick cache 2011-03-26 15:24:59 -04:00
Scott Davis
b0bfb63bb7 removed class variable 2011-03-26 13:53:50 -04:00
Scott Davis
27735a9537 fixed a bug that was causeing stack level too deep 2011-03-26 13:31:48 -04:00
Scott Davis
bd11d0b381 updated regular expression for finding the parent image 2011-03-25 17:32:58 -04:00
Scott Davis
c3f00537c8 updated code comments 2011-03-25 17:30:27 -04:00
Scott Davis
c72eebdf42 added support for sprite-selector formats 2011-03-25 17:28:38 -04:00
Scott Davis
4d7dc7ad30 refactored sprite selectors 2011-03-25 17:17:27 -04:00
Scott Davis
9962a37b2e added tests and css selector support for sprites ending in _hover _target _active closes#248 2011-03-25 15:00:50 -04:00
Scott Davis
e47fccd2ed rdoc updates for sprite classes 2011-03-25 12:48:18 -04:00
Chris Eppstein
3272dc7e5a Load extensions found in ~/.compass/extensions, if the directory exists. 2011-03-24 22:57:17 -07:00
Chris Eppstein
cca6474ba2 Don't extend core classes. 2011-03-24 22:57:17 -07:00
Scott Davis
fccd5d91e9 merge 2011-03-25 01:05:13 -04:00
Scott Davis
2bf3d8f453 reverted chunky_png version pushed that by mistake and patched a bug that was causing callbacks to register twice 2011-03-25 00:54:47 -04:00
Steve Hull
9940ee8cbb Adding support for pixel-stops for webkit if the gradient goes from left-to-right or top-to-bottom. 2011-03-24 18:54:24 -07:00
Scott Davis
de86610c14 moved files around 2011-03-23 01:29:56 -04:00
Scott Davis
463ee01a12 moved files around 2011-03-23 01:29:51 -04:00
Scott Davis
f78744171d sprite base spec selector methods 2011-03-23 01:09:41 -04:00
Scott Davis
03b0ee2660 sprite base spec 2011-03-23 00:56:49 -04:00
John Bintz
f031d868d1 start refactoring work on sprite map 2011-03-22 21:19:19 -04:00
Scott Davis
6e1daf69f5 added boolean functions for finding selectors 2011-03-21 22:10:44 -04:00
Scott Davis
46eec5362d fixes #253 2011-03-21 21:16:55 -04:00
Scott Davis
a9b6d8cfde file cleanup 2011-03-21 18:37:24 -04:00
Scott Davis
f7d0079f27 file cleanup 2011-03-21 18:36:55 -04:00
Scott Davis
691c6718b5 updated for chunky png 1.1.0 2011-03-21 17:38:15 -04:00
Scott Davis
a4d43192c9 merge 2011-03-21 17:29:15 -04:00
Scott Davis
3f3eba57a2 merge 2011-03-18 06:44:54 -04:00
Chris Eppstein
40d0e623d0 Use a single staleness checker during a compile run to speed up dependency checking. 2011-03-15 14:38:52 -07:00
Scott Davis
267a5df605 opps bitecode 2011-03-03 01:16:11 -05:00
Scott Davis
1d6e316685 removed unnedded class tests are green runs in 1.8.7 adm 1.9.2 2011-03-03 01:15:22 -05:00
Scott Davis
c0a0b638b1 tests are green and config option added 2011-03-02 13:55:25 -05:00
Scott Davis
a4861298a7 fixed rmagic 2011-02-24 05:21:37 -05:00
Scott Davis
bc13d6aed5 rmagick changes 2011-02-24 03:08:28 -05:00
Scott Davis
03f4c23c04 abstracted out engine for chunkypng 2011-02-24 01:02:31 -05:00
Scott Davis
153582fe68 refactoring sprite class 2011-02-22 21:47:08 -05:00
Scott Davis
995a20cd36 fixed relative path call 2011-02-22 21:32:48 -05:00
John Bintz
994cf534af merge 2011-02-22 21:29:47 -05:00
John Bintz
da43418af0 merge 2011-02-22 21:27:52 -05:00
John Bintz
f3957daef7 start factoring out sprite images 2011-02-22 21:24:29 -05:00
Scott Davis
3feca48f51 duplicate function 2011-02-22 20:45:41 -05:00
Scott Davis
fb61e54389 abractated core sprite functions to a base class 2011-02-22 20:42:01 -05:00
Chris Eppstein
902450a244 Use a sass-based function instead of a ruby-based function for contrast calculations 2011-02-21 12:49:54 -08:00
Aaron Russell
620c9fe1ab Added utilities/color/contrast module. Added contrasted mixin and
get_contrast_yiq function.
2011-02-21 12:49:53 -08:00
Chris Eppstein
f1587b6bf1 pass compilation sass events through to compass when using the sass plugin to compile. 2011-02-21 09:35:26 -08:00
Chris Eppstein
2fe1c17ac4 Don't rely on global callbacks 2011-02-20 10:16:11 -08:00
Scott Davis
2142430735 Callbacks for the following events:
* sprite_saved
* sprite_generated
* stylesheet_saved
* stylesheet_error

From the compass configuration file you can attach code to run when the
event occurs like so:

on_stylesheet_error do |filename, message|
  # do something
end
2011-02-20 10:14:34 -08:00
Chris Eppstein
58740fc039 Correctly convert scss files to css names in the installatio instructions. 2011-01-26 09:49:12 -08:00
Chris Eppstein
bf52c76470 Rename the sprite-position mixin in compass/utilities/sprites/base to
sprite-background-position in order to avoid a naming conflict with the
older sprite-image module.
2011-01-17 11:54:58 -08:00
Chris Eppstein
042972003f handle some slightly older versions of sass 2011-01-17 06:40:10 -08:00
Chris Eppstein
d3a346e1ac Merge commit 'psampaio/sprite_skip_overrides'
* commit 'psampaio/sprite_skip_overrides':
  adding --skip-overrides argument to the compass sprite command
2011-01-16 12:58:36 -08:00
Pedro Sampaio
a095eb6abf adding --skip-overrides argument to the compass sprite command 2011-01-11 14:14:40 +00:00
Chris Eppstein
cb7ac80330 New Download page for compass docs 2011-01-09 22:26:47 -08:00
Chris Eppstein
48e3825053 Document Sass Functions 2011-01-02 12:34:16 -08:00
Chris Eppstein
e11f1035bf Refactor the cross browser support and list functions from gradient module. 2010-12-31 12:55:14 -08:00
Chris Eppstein
15f760e002 Infrastructure for cross browser support of simple, experimental functions 2010-12-30 12:19:00 -08:00
Chris Eppstein
a254caecdd Allow a prefix to be specified (or omitted) for sprite class names 2010-12-19 17:57:33 -08:00
Chris Eppstein
df8eefa3c2 Got my reversed motion backwards. 2010-12-19 17:51:40 -08:00
Chris Eppstein
638fd8f543 fix a bug in sprites when the offset position is absolute. 2010-12-18 18:39:35 -08:00
Chris Eppstein
50963d7dd2 Fix the url helper in rails2 mode. 2010-12-18 17:17:58 -08:00
Chris Eppstein
cc8bccfb15 fix broken tests and code. 2010-12-18 17:13:47 -08:00
Chris Eppstein
f318e93764 Expose CLI config parameters at configuration parse time. 2010-12-18 11:26:48 -08:00
Chris Eppstein
ec699c42c8 Watch arbitrary files within the compass configuration file. 2010-12-18 00:03:07 -08:00
Chris Eppstein
8d3b2d92df Make compass configuration accessible within a rails app's configuration. 2010-12-18 00:03:07 -08:00
Chris Eppstein
9e3fd546d9 Add donation details to the CLI. 2010-12-10 11:32:26 -08:00
Chris Eppstein
38e13e55e6 Removed deprecated command line options. 2010-12-10 11:32:26 -08:00
Chris Eppstein
25d9cc3468 Fix a bug in the spriting code in ruby 1.9.2 2010-12-10 11:32:25 -08:00
Chris Eppstein
0fb52388cc Upgrade FSSM to whatever version Sass is running. 2010-12-10 11:32:25 -08:00
Chris Eppstein
ab71230b94 Add a --time option to the compile and watch commands. 2010-12-10 11:32:25 -08:00