Commit Graph

411 Commits

Author SHA1 Message Date
Chris Eppstein
87377ad7ff slightly better error message 2011-09-16 17:59:11 -07:00
Chris Eppstein
155834b341 Merge remote branch 'botandrose/patch-4'
* botandrose/patch-4:
  add test for inline_font_files()
  Inline fonts weren't being base64 encoded.
2011-09-16 15:49:49 -07:00
Chris Eppstein
49ea916c58 Merge pull request #549 from ravinggenius/master
Test and refactoring of font_files (issues #543 and #544) on master branch
2011-09-16 14:57:02 -07:00
Scott Davis
e52184b6fe fixes #551 with failing test 2011-09-14 12:47:20 -04:00
Scott Davis
35b9b60c7c Sprite importer now passes the correct filename to the sass engine which was causeing unexpected uris to get returned
This fixes the 'to_tree' error that wasn't really a sass bug it was an error on the sprite importers part
2011-09-12 20:44:12 -04:00
Chris Eppstein
edc7942396 Merge branch 'stable'
* stable:
  changelog for user-select
  removed useless unit
  user-select mixin with docs and tests

Conflicts:
	doc-src/content/CHANGELOG.markdown
2011-09-12 13:37:32 -07:00
Raving Genius
3514898ea1 Stop requiring font type when type can be guessed from URL (issue #544) 2011-09-08 23:12:11 -04:00
Raving Genius
8a2da92c91 Added test coverage for font_files (issue #543) 2011-09-08 20:59:03 -04:00
Micah Geisel
d644e54a38 add test for inline_font_files() 2011-09-07 13:06:10 -07:00
Scott Davis
09dd9456e1 diagonal layout now goes i nthe correct direction and refactored some internals 2011-09-03 15:56:57 -04:00
Chris Eppstein
210a1d4771 only define the compass url helpers if they are not already defined. 2011-08-28 09:22:13 -07:00
Chris Eppstein
f23bf58e8d Add support for a separate output location for generated images. This is necessary for rails 3.1 support of sprites. 2011-08-20 17:24:03 -07:00
Chris Eppstein
000e4e1ed7 Merge branch 'master' into rails31
* master: (23 commits)
  updated change log
  fixed horizontal height and width calculation
  horizontal layout now respects positions and spacing correctly
  Changed the descriptions of the sin, cos, and tan to be more descriptive.
  derp double require
  smart pack docs - forgot something
  smart pack docs
  smart packing implimentation thanks @johnbintz
  tests for smart packing
  smart packing helper classes
  new tests
  docs for diagonal layout
  layout for diagonal sprite
  added test for diagonal layout
  fixed trig functions closes #498
  patched image functions to accept a real path
  Fix failing test for change to http_path in rails
  Failing test for changing http_path with rails
  reverted sorting back to one liner
  more importer tests
  ...

Conflicts:
	Gemfile.lock
2011-08-19 14:42:42 -07:00
Scott Davis
1cdfab7c03 fixed horizontal height and width calculation 2011-08-12 15:34:04 -04:00
Scott Davis
4aa052d9e4 horizontal layout now respects positions and spacing correctly 2011-08-12 15:12:31 -04:00
Eric Meyer
d0067d7122 user-select mixin with docs and tests 2011-08-08 23:04:24 -04:00
Scott Davis
ef4c897de5 tests for smart packing 2011-08-02 23:35:53 -04:00
Scott Davis
d4227346af new tests 2011-08-02 23:34:59 -04:00
Scott Davis
26b2d1fcba added test for diagonal layout 2011-08-02 22:08:05 -04:00
Scott Davis
acfd1e43a2 fixed trig functions closes #498 2011-08-02 18:49:06 -04:00
Joeri Samson
b57822c134 Failing test for changing http_path with rails 2011-07-27 19:47:42 +02:00
Scott Davis
8c48248a72 more importer tests 2011-07-27 02:39:24 -04:00
Scott Davis
71494cecfe rename sprite_search_path to sprite_load_path for consistancy 2011-07-26 17:53:56 -04:00
Scott Davis
91a748a916 merge from master 2011-07-26 16:35:50 -04:00
Scott Davis
9c472b3c36 sprite_seach_path implimentation and test case 2011-07-26 16:21:59 -04:00
Scott Davis
c950d87432 abstracted out test helpers 2011-07-26 16:20:51 -04:00
Scott Davis
c79e997098 merged in stable and added a test image 2011-07-26 02:08:29 -04:00
Scott Davis
b581d2e1a7 passing tests for new vertical layout based on file size 2011-07-26 02:03:38 -04:00
Scott Davis
38cf0e571b merge 2011-07-25 22:47:29 -04:00
Chris Eppstein
2c1fcfcad7 Fix broken test cases 2011-07-19 11:44:24 -07:00
Chris Eppstein
c3062b9fe3 Revert "removed string compairson in configuration tests it was compairing comments which is unneeded when also testing for proper values"
This reverts commit 400623f4eb.
2011-07-19 11:44:14 -07:00
Scott Davis
400623f4eb removed string compairson in configuration tests it was compairing comments which is unneeded when also testing for proper values 2011-07-19 12:34:05 -04:00
Chris Eppstein
5ac72d5b0a Merge branch 'stable'
* stable:
  Version Bump.
  Update changelog for 0.11.5
  Reset only the block HTML elements #339
  fix warning logic in vertical-rhythms module

Conflicts:
	VERSION.yml
2011-07-10 17:36:15 -07:00
Irina Dumitrascu
07819ccfbd Reset only the block HTML elements #339
- used elements-of-type(html5-block) in all the reset stylesheets
  (instead of duplicate tag enumerations)
- removed dialog
- canvas is inline, not block

Closes GH-339, GH-462.
2011-07-10 17:26:23 -07:00
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
Dirkjan Bussink
42bb556329 Fix failing test when updating to latest SASS
This makes rake test green on Rubinius, 1.8.7 and 1.9.2.
Removed the Gemfile.lock in the previous version so everything
can be updated.

Closes GH-456.
2011-07-03 14:13:08 -07:00
Chris Eppstein
23d3d341de Fix test failures. 2011-07-02 22:51:26 -07:00
ltackett
d7115caad6 :focus should not use shorthand border property, since it only need to change the border-color
Closes GH-367.
2011-07-02 21:17:22 -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
349e29f7ca Fix broken test. 2011-07-02 17:54:38 -07:00
Glenn McLelland
239e43b4e0 Added force-wrap mixin to prevent URLs and long lines of text from breaking layouts.
Closes GH-321
2011-07-02 17:42:37 -07:00
Caged
a08d0319d0 Fixes #449. Accept and honor offsets in selectors 2011-07-02 13:27:32 -07:00
Chris Eppstein
f89f3839dc Merge remote-tracking branch 'origin/master'
* origin/master:
  Add a test for the new sprite offset passing.
  Pass through offset parameters to the :hover, :target, and :active magic sprite selectors.
2011-07-01 22:23:34 -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
Noah Kantrowitz
c9145a4aca Add a test for the new sprite offset passing. 2011-06-30 18:44:19 -07:00
Divya Manian
ff61678572 Adding the generated css files from the msfilter change 2011-06-28 23:00:56 -07:00
Scott Davis
71d8111454 renamed test 2011-06-27 01:21:45 -04:00
Scott Davis
43868ecabd test files for horizontal sprites 2011-06-25 01:28:01 -04:00
Scott Davis
1178c940bb fixed tests 2011-06-19 12:26:38 -04:00
Scott Davis
cfe5b8ed7e refactor 2011-06-15 23:37:23 -04:00
Chris Eppstein
a6a80221ee update test for pie-clearfix 2011-06-11 23:35:29 -07:00
Scott Davis
b352e8b140 test file for sprite command 2011-06-12 02:25:10 -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
6b7f2c2419 updated tests 2011-06-12 01:37:44 -04:00
Scott Davis
3d4a57c3c1 engine test 2011-06-12 00:52:05 -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
47572acc50 Spelling. 2011-06-11 10:24:17 -07:00
Chris Eppstein
3473e7d63a Merge branch 'stable'
* stable:
  Version Bump & Prepare for v0.11.2
  Strong tags in the docs should be bold.
  typo: appliction
  Update test case for flexible box.
  Enable IE 10 support for flexible box with the -ms prefix.
2011-06-10 15:56:46 -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
ab5d6e51d9 updated importer to validate that sprites are png files 2011-06-09 16:27:23 -04:00
Scott Davis
eb4870b685 Merge branch 'master' of github.com:chriseppstein/compass 2011-06-09 15:44:46 -04:00
Scott Davis
fc7fd8b6b4 added test for sprite importer 2011-06-09 15:44:35 -04:00
Chris Eppstein
bfba73c1e3 Ignore charset in blueprint files 2011-06-07 11:22:33 -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
Darryl Pogue
23fc8290c0 Update test case for flexible box. 2011-05-30 11:33:55 -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
Scott Davis
b6ca6e4efb Merge branch 'master' of github.com:chriseppstein/compass into stable 2011-05-25 11:45:27 -04:00
Scott Davis
d95149ccff forgot test files 2011-05-25 11:44:53 -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
eec6759649 refactored the sass importer for sprites 2011-05-12 23:36:59 -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
369c8d636e forgot test files 2011-05-10 21:57:43 -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
Scott Davis
8f675f936b moved test files to a more sain structure 2011-05-10 18:01:12 -04:00
Mattias Pfeiffer
223258c203 Removing unneeded 'unquote' from tests 2011-05-05 10:19:19 +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
f115d38788 disable test in jruby. 2011-04-28 21:18:32 -07:00
Scott Davis
dc362c3fb4 moved sprite map test over 2011-04-28 23:09:43 -04:00
Scott Davis
e74255635a fixed features 2011-04-28 10:13:38 -04:00
Scott Davis
3376a38f9d fixed ruby 1.9.2 bug 2011-04-28 09:05:25 -04:00
Scott Davis
5a2967fe51 sprite test_unit 2011-04-28 02:50:14 -04:00
Scott Davis
1c8804386a more sprite tests to test_unit 2011-04-28 02:49:03 -04:00
Scott Davis
8e2292b2a5 sprite base test 2011-04-28 00:35:10 -04:00
Scott Davis
3356303eb3 sprite tests moved over 2011-04-28 00:00:54 -04:00
Scott Davis
c3845f9954 diff helper 2011-04-27 23:19:41 -04:00
Scott Davis
c317ef6870 refactored tests 2011-04-27 23:18:52 -04:00
Chris Eppstein
5962a85a99 Fix broken linear gradients with svg enabled. 2011-04-24 18:59:07 -07:00
Chris Eppstein
85268281bc Fix failing tests due to load path changes. 2011-04-24 16:41:56 -07:00
Scott Davis
fec367d60c fixed gemfile and removed coercion to float 2011-04-20 19:57:19 -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
810b95e7f3 Added a mechanism for plugins to extend compass's configuration options. 2011-04-17 11:36:16 -07:00
Eric Meyer
3c86dfa0b3 fixed tests related to grid-background 2011-04-16 23:48:28 -06: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
196abb2a28 Default the blueprint grid image to the pure CSS version in compass. 2011-04-16 00:21:35 -07:00
Chris Eppstein
8a8d625a7d Add a percent-based test case for grid-backgrounds, remove unnecessary 0.001 increment. 2011-04-15 23:49:49 -07:00
Chris Eppstein
72434be137 Webkit now supports the css3 official gradient syntax. 2011-04-15 23:16:43 -07:00
Eric Meyer
e66c822503 add grid-background mixins to layout module, with docs and tests 2011-04-11 19:26:55 -06: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
1bd156e88f Fix a bug in the sprites base file and added a basic sprites test case to the compass test. 2011-04-02 09:54:06 -07:00
Chris Eppstein
0eef08e6ce Remove the css3 background simple bg support and move it to a new mixin called background-with-css2-fallback. 2011-04-02 09:33:09 -07:00
Chris Eppstein
0cf4fcd8a7 We don't have a charset in fonts anymore 2011-03-30 14:24:50 -07: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
Chris Eppstein
cca6474ba2 Don't extend core classes. 2011-03-24 22:57:17 -07: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
Eric Meyer
51e21b08b9 additional transform-style typo and tests fixed 2011-03-16 16:32:00 -06:00
Eric Meyer
ddea94bb96 fixed transform-style typo caught by @doctyper 2011-03-16 16:11:55 -06:00
Eric Meyer
5a5c30caf4 updated font-face a la fontspring, no change in usage 2011-03-14 22:50:39 -06:00
Eric Meyer
132621c230 fixed tests related to reset 2011-02-22 23:11:26 -07:00
Chris Eppstein
65cf2f9812 Remove deprecated use of comma-delimited-list 2011-02-21 16:47:20 -08: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
8a8ef87e48 Fix a ruby 1.9.2 bug 2011-02-20 10:38:00 -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
Eric Meyer
53e975100b added vertical-rhythm and docs, moved lists, links and text, all into new typography module 2011-02-17 18:14:40 -07:00
Chris Eppstein
a597a10e7e update failing test due to slightly different css output 2011-02-01 23:02:34 -08:00
Paul Irish
0fd9c08664 Android 2.2 compat for @font-face declarations via a MQ redeclaration of the @ff 2011-02-01 22:24:22 -08:00
Chris Eppstein
136954561f Deprecate the blueprint span mixin in favor of the blueprint span function. 2011-01-03 09:35:07 -08:00
Chris Eppstein
15f760e002 Infrastructure for cross browser support of simple, experimental functions 2010-12-30 12:19:00 -08:00
Chris Eppstein
cc8bccfb15 fix broken tests and code. 2010-12-18 17:13:47 -08:00
Brandon Mathis
de3fab45c3 Merge branch 'master' of github.com:chriseppstein/compass
Conflicts:
	doc-src/content/CHANGELOG.markdown
2010-12-10 18:13:56 -06:00
Brandon Mathis
8d18a1b704 added legacy support option for ie8, updated opacty and filter-gradient mixins to use legacy support settings 2010-12-10 18:10:05 -06:00
Chris Eppstein
38e13e55e6 Removed deprecated command line options. 2010-12-10 11:32:26 -08:00
Chris Eppstein
e22acfde1e Rails apps have a tmp directory 2010-12-10 11:32:26 -08:00
Chris Eppstein
d014b4105a Different ruby versions have slightly different behavior with respect to @charset. Ignore these differences during testing. 2010-12-10 11:32:25 -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
633bb24302 Fix the broken validator tests 2010-11-27 16:48:36 -08:00
Chris Eppstein
35b206a897 Support simple background fallback in the background mixin. 2010-11-27 15:34:52 -08:00
Chris Eppstein
dd921ea363 Handle list arguments to prefixes 2010-11-27 15:34:52 -08:00
Chris Eppstein
ebf3630431 fix broken tests 2010-11-24 15:23:01 -08:00
Chris Eppstein
c8daf8a440 Versioned modules was a bad idea. 2010-11-22 00:28:55 -08:00
Chris Eppstein
b9c68bcc8c No side-effects when normalizing color stops for webkit 2010-11-21 15:59:37 -08:00
Chris Eppstein
ce7bbd0535 fix test for small change to the pie module. 2010-11-21 15:59:37 -08:00
Irina Dumitrascu
15a3ede491 Gradients - fix Opera's bug on gradient + border
* This fixes Opera's gradient background bug when the container has border.
It is still displayed wrong as the gradient is repeated towards the end.
* Firefox and Webkit ignore background-size
* IE9 displays correctly
2010-11-20 09:22:39 -08:00
Chris Eppstein
928bf675c2 CSS3 PIE module. 2010-11-20 08:31:38 -08:00
Chris Eppstein
b43ba6bfe0 Numerous small changes to the transform module. 2010-11-15 17:30:00 -08:00
Chris Eppstein
934df798a8 Use some of the new compass helpers to clean up this code. 2010-11-15 03:55:09 -08:00
Chris Eppstein
c4de9a3a85 Deprecate the radial-gradient mixin, linear-gradient mixin, and add
deprecation notices to the changelog.
2010-11-15 03:55:09 -08:00