Commit Graph

2134 Commits

Author SHA1 Message Date
Chris Eppstein
04fb6dfd9c bump version, update changelog 2010-12-05 22:12:38 -08:00
Chris Eppstein
48b9e0851b Ruby 1.9 compliant require for the md5 library. 2010-12-05 22:01:46 -08:00
Chris Eppstein
a048d62138 bump versions for release 2010-12-05 21:35:18 -08:00
Chris Eppstein
45da3837b6 Upgrade PIE to beta3. 2010-12-05 21:32:38 -08:00
Chris Eppstein
5acbfc4879 Clean up the extension documentation regarding creating rubygems. Closes GH-231 2010-12-05 21:17:47 -08:00
Chris Eppstein
a86a94e4c2 Add support for the -ms prefix in 2D transforms.
Closes GH-224.
2010-12-05 21:02:16 -08:00
Chris Eppstein
93040322b3 Allow the cache buster in image-url() to be disabled on a per-call basis. 2010-12-05 20:16:40 -08:00
Chris Eppstein
a89d61ce21 Generated sprite filename is now unique based on inputs. 2010-12-05 20:12:50 -08:00
Chris Eppstein
b131fe23da Add a note about requiring sass 3.1 in the changelog 2010-12-05 16:18:18 -08:00
Chris Eppstein
c9beaafb0b Spriting tutorial. 2010-12-05 16:14:55 -08:00
Chris Eppstein
bcf1f4b1f6 Fix a bug in sprite-location resolution 2010-12-05 16:14:55 -08:00
Chris Eppstein
00b41b5506 Only require (chunky|oily)_png if it is needed. 2010-12-05 16:14:55 -08:00
Brandon Mathis
43fa6cf93b updated sass brush 2010-12-05 16:14:55 -08:00
Chris Eppstein
a23dd3d77a Fix some compilation issues 2010-12-05 16:14:55 -08:00
Chris Eppstein
e874c005e9 Reference documentation on spriting 2010-12-05 16:14:37 -08:00
Chris Eppstein
b244105ea3 Only unquote strings 2010-12-05 16:14:36 -08:00
Chris Eppstein
20bb8c0d28 Update gemfiles to depend on sass3.1 2010-12-05 16:14:36 -08:00
Chris Eppstein
43bd9eb8e5 The Sprite container is now called a Sprite Map, and each individual image is called a sprite. 2010-12-05 16:13:13 -08:00
Chris Eppstein
b2a8c8a634 Some code comments, cleanup, and register sprite functions with sass. 2010-12-05 16:13:13 -08:00
Chris Eppstein
472456f344 Less joins. More responding. 2010-12-05 16:13:13 -08:00
Chris Eppstein
027ebdd8c4 Change the sprite utilities to create a sprite literal object that can retain information about the sprite for use in other function calls. This avoids the need for global storage and allows multiple sprites constructed from the same sprite folder with different values. 2010-12-05 16:13:13 -08:00
Chris Eppstein
adcfcf4556 Fix broken test. 2010-12-05 16:13:13 -08:00
Chris Eppstein
b2b913d69f Generator for creating sprite imports for users who don't like magic. 2010-12-05 16:13:13 -08:00
Chris Eppstein
b63bf2669d Don't rely on reading the environment within the sprite code. Instead accept variable keyword args. 2010-12-05 16:13:13 -08:00
Chris Eppstein
2ac705695f Rename these sprite files -- the filenames must be legal css identifiers 2010-12-05 16:13:13 -08:00
Chris Eppstein
d62cdf0127 Fix a bug in ruby 1.9 2010-12-05 16:13:13 -08:00
Chris Eppstein
5aac677e77 Put the Sprite importer on the default load paths coming from compass. 2010-12-05 16:13:13 -08:00
Chris Eppstein
28a77171e3 Quick cache for burst reads. 2010-12-05 16:13:13 -08:00
Chris Eppstein
e1130066f2 Update links to compass online. 2010-12-05 16:13:13 -08:00
Nico Hagenburger
6e93589e6a added error messages to help lemonade users 2010-12-05 16:13:12 -08:00
Nico Hagenburger
9dcab9e14b lemonade compatibility specs and functions 2010-12-05 16:13:12 -08:00
Nico Hagenburger
79d6e28cf5 allow images to be repeated 2010-12-05 16:13:12 -08:00
Nico Hagenburger
2522a3c981 updated gem versions 2010-12-05 16:13:12 -08:00
Nico Hagenburger
8b566765b3 added positioning of images 2010-12-05 16:13:12 -08:00
Nico Hagenburger
573d1a1b03 generation of png file 2010-12-05 16:13:12 -08:00
Nico Hagenburger
c62b8e718d added default spacing 2010-12-05 16:13:12 -08:00
Nico Hagenburger
bf47c74dc2 added sprite position calculating 2010-12-05 16:13:12 -08:00
Nico Hagenburger
4026c51273 optimized options 2010-12-05 16:13:12 -08:00
Nico Hagenburger
004a1f3887 added spec for base class 2010-12-05 16:13:12 -08:00
Nico Hagenburger
9f80cb9e80 added spec for sprite mixin 2010-12-05 16:13:11 -08:00
Nico Hagenburger
05b2695806 implemented most basic sprite usage without image generation 2010-12-05 16:13:11 -08:00
Nico Hagenburger
f577da1d5e updated to rspec 2.0.0 2010-12-05 16:13:11 -08:00
Chris Eppstein
aaffea49af factor out the saving from the generating, we'll need to monkey patch this in a rails environment. 2010-12-05 16:13:11 -08:00
Chris Eppstein
0a447625e0 The image_url function has to be accessed from within the engine for it to work right in all cases. 2010-12-05 16:13:11 -08:00
Chris Eppstein
57a63c455a Use the Sass cache to store information about sprites across compiles -- this removes one aspect of lemonade's filesystem dependency. 2010-12-05 16:13:11 -08:00
Chris Eppstein
53033e473b This is a little more readable. 2010-12-05 16:13:11 -08:00
Chris Eppstein
8bf992defa Move the lemonade files around to adhere to compass conventions. 2010-12-05 16:13:11 -08:00
Chris Eppstein
757fed8888 Rename Lemonade to Compass::Sprites 2010-12-05 16:13:11 -08:00
Chris Eppstein
a2f1026659 This is a whole lot faster 2010-12-05 16:13:11 -08:00
Chris Eppstein
a1f1943367 Only do this once, otherwise the output changes every time. 2010-12-05 16:13:11 -08:00