Commit Graph

360 Commits

Author SHA1 Message Date
Chris Eppstein
5dee634404 Return a proper error when starting the watcher when there's nothing to compile.
Closes GH-119
2010-05-02 17:28:56 -07:00
Chris Eppstein
00944fdfcc Handle mixed units when checking the color stop order. 2010-05-02 15:41:33 -07:00
Chris Eppstein
910083b2f7 Raise an error if color stops are specified in the wrong order.
Closes GH-118.
2010-05-02 14:55:14 -07:00
Chris Eppstein
cd6b9d659a [Docs] Start documenting the compass helper functions. First up: elements-of-type() 2010-05-02 13:25:43 -07:00
Chris Eppstein
50c57df67f [Command Line] Better demarcation of the global options in compass help command. 2010-05-01 15:21:52 -07:00
Chris Eppstein
2a298ff0f1 [Rails] The default location for compass extensions has moved from vendor/plugins/compass/extensions to vendor/plugins/compass_extensions 2010-05-01 15:19:41 -07:00
Chris Eppstein
80d812396a Fix some gemspec issues. 2010-04-27 11:32:25 -07:00
Chris Eppstein
56034e740d Merge commit 'akahn/master'
* commit 'akahn/master':
  Make old CLI deprecation warning red
  Display a warning if the old --switch style CLI is used
2010-04-27 01:04:36 -07:00
Chris Eppstein
bd6c9950e1 Merge branch 'docs'
* docs: (56 commits)
  Turn on support for -ms in experimental properties.
  document the hide-text mixin
  Allow box shadow to be turned off by @include box-shadow(none). Closes GH-102.
  Fix a broken link to the changelog
  I guess I relied on that silly import.
  Use the gemspec the way the ruby gods intended.
  Better handling of the Compass::VERSION scheme.
  RIP RUN_CODE_RUN
  remove a doc reference to an obsolete file and add some meta descriptions.
  document some small functional changes
  fixed typo in demo header styles
  allow overflow-x on code to scroll
  example code in css-slideshows
  mixin source uses :target for css interaction
  more sensible nav markup/structure
  Update the docs for lists.
  Don't need rcov usually
  Don't display a variable description for empty comments.
  add a scroll bar for long mixin defs
  More docs on the compass utilities.
  ...

Conflicts:
	REVISION
2010-04-27 01:01:26 -07:00
Chris Eppstein
d1a155b59a Better handling of the Compass::VERSION scheme. 2010-04-26 23:54:46 -07:00
Alexander Kahn
887cbfc61c Make old CLI deprecation warning red 2010-04-23 15:40:09 -04:00
Alexander Kahn
e2e5ce9b76 Display a warning if the old --switch style CLI is used 2010-04-23 15:35:01 -04:00
Chris Eppstein
12f9ab2291 [Configuration] Asset hosts and cache busters were broken when using the compass CLI. 2010-04-22 13:12:35 -07:00
Chris Eppstein
b7202bbb75 [Command Line] The help command was not including the global options 2010-04-13 19:58:12 -07:00
Chris Eppstein
ae6bb46f12 [Compass Core] New function called headers() that generates header selectors. 2010-04-13 10:02:55 -07:00
Chris Eppstein
0b994f3832 [Compass Core] Fix a bug in the enumerate() function that was introduced during upgrade to sass 3. Added a test case that would have caught the regression. 2010-04-13 01:06:56 -07:00
Eric Meyer
84992100ea Correctly set the syntax of extension templates when converting them to the users preferred syntax. 2010-04-12 19:25:35 -06:00
Chris Eppstein
d181e4aeeb Fix for a small change to the Sass API. 2010-04-11 21:10:11 -07:00
Chris Eppstein
2680d23190 New CLI option --syntax (-x) and configuration option (preferred_syntax) that govern what sass syntax is used when adding stylesheets to a project. 2010-04-11 20:14:52 -07:00
Chris Eppstein
bf34ddb0dd Allow hidden frameworks. 2010-04-07 09:01:58 -07:00
Chris Eppstein
ace0450774 Fix a bug in 1.8.6 where readbyte is not defined. 2010-03-06 16:27:12 -08:00
Chris Eppstein
7f008f4ea0 [Compass Core] Fix a ruby 1.9 bug in the image_size helper functions for jpeg images. 2010-03-06 15:47:54 -08:00
Chris Eppstein
c3f887ff51 [Rails] Fix rails boot sequence in Rails 2.3.x environments. 2010-02-23 13:12:42 -08:00
Chris Eppstein
76c75b1d3d A better error message if a color stop list is not passed in. 2010-02-23 01:59:44 -08:00
Chris Eppstein
2baaffd013 Fix for rgba colors with the new gradient mixins. 2010-02-23 01:41:41 -08:00
Chris Eppstein
5230d89aba Fix a ruby 1.9 bug 2010-02-22 00:56:48 -08:00
Chris Eppstein
0a3947d320 Add tests, fix some bugs in the image_size helpers, dropped support for bmp because it was broken. 2010-02-22 00:15:16 -08:00
Chris Eppstein
bae616e217 Merge commit 'deepakjois/master'
* commit 'deepakjois/master':
  Adding support for calculating JPG dimensions
  Adding image_height and image_width functions

Conflicts:
	lib/compass/sass_extensions/functions.rb
2010-02-21 23:17:03 -08:00
Chris Eppstein
0c593e2c25 Merge commit 'merbjedi/master'
* commit 'merbjedi/master':
  Adding Pathname support to compass configs
  Adding PathName support for add_project_configuration
  Separating out Rails2 actionpack integration logic
2010-02-21 23:12:17 -08:00
Chris Eppstein
ad4a486ea1 Simpler gradient output by discarding from() and to() 2010-02-21 23:05:30 -08:00
Chris Eppstein
34478112ba Add a warning message to the logger. 2010-02-21 17:32:23 -08:00
Chris Eppstein
2c05ccf9e9 Provide a convenience function for discovering extensions. 2010-02-21 17:31:37 -08:00
Jacques Crocker
5fc52baa02 Adding Pathname support to compass configs 2010-02-20 13:06:29 -08:00
Jacques Crocker
2b985fd191 Adding PathName support for add_project_configuration 2010-02-20 12:48:58 -08:00
Jacques Crocker
719cd980ae Separating out Rails2 actionpack integration logic
Rails3 has different internal implementations on ActionPack which is causing breakage when trying to calculate image_paths. Lets only calculate this logic for Rails 2 at the moment, and figure out what to do with Rails3 later
2010-02-20 12:43:10 -08:00
Deepak Jois
a075a10f59 Adding support for calculating JPG dimensions 2010-02-18 09:58:16 -08:00
Deepak Jois
f9d75b3bce Adding image_height and image_width functions 2010-02-17 19:58:25 -08:00
Chris Eppstein
a8457c99db Fix some x-browser issues in the gradient point code. 2010-02-16 22:14:10 -08:00
Chris Eppstein
cee0eef688 better examples and some comments. 2010-02-16 22:13:07 -08:00
Chris Eppstein
aef52bd57e New linear gradient mixin and support functions. Radial gradient and browser testing are still pending. 2010-02-16 01:47:27 -08:00
Chris Eppstein
925938cd5e [Extensions] Don't force an extension to register itself just because it has ruby code. 2010-02-15 10:57:20 -08:00
Chris Eppstein
3dd2a90dec [Command Line] [Windows] Disable colorized output if win32console cannot be loaded.
Closes GH-82
2010-02-13 17:45:01 -08:00
Chris Eppstein
9cca38f85d Disable the parse method with a decent error message. It should only be used internally now. 2010-02-13 17:19:57 -08:00
Chris Eppstein
8172fce22a [Rails] Fix a setup bug and handle compass configuration changes at rails boot.
Existing rails projects should change their compass initializer file to:

    require 'compass'
    rails_root = (defined?(Rails) ? Rails.root : RAILS_ROOT).to_s
    Compass.add_project_configuration(File.join(rails_root, "config", "compass.rb"))
    Compass.configure_sass_plugin!
    Compass.handle_configuration_change!
2010-02-13 17:07:41 -08:00
Chris Eppstein
c1b903024f New APIs for dealing with configuration changes and accessing a compiler instance. 2010-02-13 16:56:53 -08:00
Chris Eppstein
d59451f398 [Rails] Don't set unset options on the Sass::Plugin 2010-02-13 12:22:21 -08:00
Chris Eppstein
6878899c4c [Command Line] Don't force the user to specify the configuration path when calling compass config 2010-02-13 11:40:59 -08:00
Chris Eppstein
bb77dcefcb Default the project directory to the current directory. 2010-02-13 11:40:02 -08:00
Chris Eppstein
1eef589c29 [Command Line] Make sure all the colors are off when colorized output is disabled. 2010-01-20 17:33:13 -08:00
Chris Eppstein
46be3b27b0 [Rails] Silence a deprecation warning in Rails 3. 2010-01-18 17:36:36 -08:00