Scott Davis
ba2b608f73
Merge branch 'master' of github.com:chriseppstein/compass into better_sprite_packing
...
Conflicts:
Gemfile.lock
2011-06-09 21:56:45 -04: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
Scott Davis
387bf3665a
merge
2011-06-07 12:01:50 -04: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
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
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
7794b7202f
tests and fitter cleanup
2011-05-17 15:46:45 -04:00
Scott Davis
fc034092aa
refactored and extracted sprite methods into modules
2011-05-17 15:09:15 -04:00
Scott Davis
bf0662cf87
smart packing inital implimentation
2011-05-17 12:36:39 -04:00
John Bintz
aa4999370f
even more cleanup
2011-05-16 11:50:01 -04:00
John Bintz
9eeff5a9fe
tweak
2011-05-16 11:35:41 -04:00
John Bintz
370044ba77
put in the row fitter
2011-05-16 11:35:00 -04:00
John Bintz
cc26b98909
start work on better packing algorithm, start with scan
2011-05-16 11:30:14 -04:00
Scott Davis
d9ca08f685
test files
2011-05-16 09:36:27 -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
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