Commit Graph

59 Commits

Author SHA1 Message Date
Scott Davis
6965005c15 bad files 2011-04-28 10:14:49 -04:00
Scott Davis
e74255635a fixed features 2011-04-28 10:13:38 -04:00
Scott Davis
6b884d34c3 added the ability to disable magic sprites 2011-04-19 20:31:29 -04:00
Scott Davis
04ab1e30f2 added semi colon 2011-04-02 10:08:10 -04:00
Scott Davis
7ffde70c8d added test files for repeat-x bug tests 2011-04-01 16:13:29 -04:00
Scott Davis
2c62cdf2f9 closes #296 rescue OutOfBounds exception gracfuly 2011-04-01 14:47:24 -04:00
Scott Davis
23f0f03a09 fixed sprite rsspec cli test to change back to the correct directory 2011-04-01 12:14:45 -04:00
Scott Davis
96f1e4dc96 closes #320 and refactored the rspec tests 2011-03-29 19:26:11 -04:00
Scott Davis
4a5c968739 added rspec test for sprite command 2011-03-29 19:20:22 -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
Scott Davis
7571d4af93 refactored sprite selectors 2011-03-28 17:08:53 -04:00
Scott Davis
a2200b1d83 fixed test 2011-03-26 13:46:36 -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
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
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
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
Scott Davis
a5e27952f8 merge 2011-03-22 22:54:16 -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
691c6718b5 updated for chunky png 1.1.0 2011-03-21 17:38:15 -04:00
Scott Davis
6ff877cbd3 chunky_png gemfile change 2011-03-21 17:14:41 -04:00
Scott Davis
7277568303 added test for left and top 2011-02-24 00:08:35 -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
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
Scott Davis
7343e80b7d bumped chunky_png to 0.12.0 and updated specs accordingly 2011-01-20 17:10:35 -05: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
a89d61ce21 Generated sprite filename is now unique based on inputs. 2010-12-05 20:12:50 -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
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
2ac705695f Rename these sprite files -- the filenames must be legal css identifiers 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
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