Commit Graph

2159 Commits

Author SHA1 Message Date
Chris Eppstein
a5f1a32731 Trivial change to trigger a build again. 2009-09-02 22:57:20 -07:00
Chris Eppstein
ececdb9976 Regenerated gemspec for version 0.8.14 2009-09-02 22:52:09 -07:00
Chris Eppstein
46ac08c57a Record current revision for release. 2009-09-02 22:52:09 -07:00
Chris Eppstein
65e5b122f2 Version bump to 0.8.14 2009-09-02 22:52:02 -07:00
Chris Eppstein
4e765d0bb2 Updated CHANGELOG for 0.8.14 release. 2009-09-02 22:51:55 -07:00
Chris Eppstein
598f850124 Upgrade to FSSM version 0.0.4 2009-09-02 22:42:59 -07:00
Chris Eppstein
6e7f658f3b Move the frameworks directory into lib/compass per gem packaging best practices. 2009-09-02 21:45:15 -07:00
Chris Eppstein
e6b14cf5bb Provide a Compass::VERSION constant. 2009-09-02 21:45:14 -07:00
Chris Eppstein
b13fd43a2e Require relative to the load path instead of using the more convoluted approach of File.join(File.dirname(__FILE__), ...).
Also, don't ever muck with the load paths or rubygems without first
trying to require the library without doing so.
2009-09-02 21:45:08 -07:00
Chris Eppstein
60ad1e2425 Move project configuration reading out of the command infrastructure and into the configuration helpers. 2009-09-02 10:47:21 -07:00
Chris Eppstein
54a459f28e Allow specification of a height for the grid image. 2009-09-01 20:20:53 -07:00
Chris Eppstein
cb45b6d438 Generalized application framework integration. There are three that ship with compass: Merb, Rails, and StandAlone.
All application specific behavior is now centralized within the app integration modules.
Plugins can now provide app integration using the --app command line option and by adding the appropriate classes to the compass module tree.
2009-09-01 20:20:23 -07:00
Chris Eppstein
1ea8c9d579 Link to the plugins page on the wiki. 2009-09-01 09:18:02 -07:00
Chris Eppstein
cd77436c85 New link to the Sass Website. 2009-09-01 09:12:50 -07:00
Chris Eppstein
dba3dd260c Merge commit 'nex3/edge' into edge
* commit 'nex3/edge':
  Fix a minor punctuation error in EXTENSIONS.markdown.
2009-08-30 21:38:39 -07:00
Chris Eppstein
36d502dfde Regenerated gemspec for version 0.8.13 2009-08-30 11:54:40 -07:00
Chris Eppstein
662faaee1a Record current revision for release. 2009-08-30 11:54:40 -07:00
Chris Eppstein
3ce66e278b Version bump to 0.8.13 2009-08-30 11:54:35 -07:00
Chris Eppstein
2fbbcdd09a Update the changelog for release. 2009-08-30 11:54:15 -07:00
Chris Eppstein
3456f993d4 Merge branch 'master' into edge
* master:
  [Blueprint] Add mixins for +prepend-top and +append-bottom and corresponding grid classes when generating the css grid classes.
  Use FSSM by Travis Tilley to monitor for filesystem changes. On mac this will use filesystem events instead of polling. Fixes an infinite looping issue when compilation errors occur.
2009-08-30 11:53:47 -07:00
Chris Eppstein
65f4cb0d50 [Blueprint] Add mixins for +prepend-top and +append-bottom and corresponding grid classes when generating the css grid classes. 2009-08-30 11:49:19 -07:00
Chris Eppstein
005f6d4f36 Use FSSM by Travis Tilley to monitor for filesystem changes. On mac this will use filesystem events instead of polling. Fixes an infinite looping issue when compilation errors occur. 2009-08-30 11:37:52 -07:00
Nathan Weizenbaum
dac4aa9723 Fix a minor punctuation error in EXTENSIONS.markdown. 2009-08-30 10:08:35 -07:00
Chris Eppstein
ae47d7b0d8 Documentation for compass extensions. 2009-08-30 02:23:16 -07:00
Chris Eppstein
8fa32acf79 The extension pattern works better when using the pattern name instead of the project name for the target sass file. 2009-08-30 02:22:52 -07:00
Chris Eppstein
3b7637f1e5 Bootstrap download the yui plugin for the examples. 2009-08-29 15:52:21 -07:00
Chris Eppstein
d4971fcfaa Slightly more robust extension downloader. 2009-08-29 15:14:52 -07:00
Chris Eppstein
cb9672bd9e An extension template for helping to generate a compass extension:
compass -p extension my_ext_name

This will provide the basic structure for creating a basic compass plugin.
2009-08-29 15:14:52 -07:00
Chris Eppstein
92464c5f6a More flexible manifests that can see the installation options and might
not even have any stylesheets or require a project configuration file.
2009-08-29 15:14:52 -07:00
Chris Eppstein
9105d5a8de Added an example for the ninesixty plugin using local extensions. 2009-08-29 15:14:52 -07:00
Chris Eppstein
44e810e840 Allow stand-alone projects to have their own extensions directory. 2009-08-29 15:14:52 -07:00
Chris Eppstein
bc27541378 New framework discovery mechanism: Compass can now load any number of
frameworks by passing a directory that contains those frameworks. Each
framework can choose to adhere to the naming convention of providing a
'stylesheets' directory and a 'templates' directory, or it can register
itself by providing a ruby file at one of the following locations:

<plugin>/compass_init.rb
<plugin>/lib/<plugin>.rb
<plugin>/<plugin>.rb

The first file found in the above order will be required. The framework
should register itself there using the Compass::Frameworks.register method.
2009-08-29 15:14:51 -07:00
Chris Eppstein
a0036ec0f1 remove some blank lines. 2009-08-29 15:14:51 -07:00
Chris Eppstein
d5147591e8 Fixed some broken tests after pulling in changesets. 2009-08-29 15:14:14 -07:00
Chris Eppstein
5d8e8cae02 Fixed bug related to how the project_type was defaulted. 2009-08-29 15:13:51 -07:00
Chris Eppstein
373ac11329 Removes some tests about YUI. 2009-08-29 14:52:30 -07:00
Chris Eppstein
bb089384d4 Extracted YUI to it's own plugin. 2009-08-29 13:57:34 -07:00
Brian Johnson
3d67927ad6 [YUI] Update for YUI Grids 2.7.0 2009-08-29 13:41:17 -07:00
John Debs
8679a926f1 [Compass Core] Fixes to +sticky-footer mixin for IE6.
Added two rules (':height auto !important' and ':height 100%') to the !root_selector of the sticky-footer mixin so that it also works with IE6.
Tested and working with Firefox 3.5, Safari 4, Chrome 3, and IE6.
2009-08-29 13:31:42 -07:00
Gabriel Mansour
a1bb1a9691 [Compass Core] There is no longer any outline on unstyled links in the :active and :focused states. 2009-08-29 13:24:37 -07:00
Chris Eppstein
379118cb1e Don't set the project type explicitly, instead default it to :stand_alone via the configuration object. 2009-08-29 13:20:32 -07:00
Chris Eppstein
dd867d668a Use the http_stylesheets_path instead of hard coding. 2009-08-29 13:20:32 -07:00
Chris Eppstein
f59ca512ce Refactor of the internal datastructures used to access project
configuration. Configuration is now a singly linked list of configuration objects
that inherit values and defaults from the next configuration instance.
All instances hold a reference to the top of the configuration chain.

There is now a consistent API for reading configuration property values:

                <attr>: Reads the fully-resolved attribute after taking
                        configuration inheritance and defaults into account.
            raw_<attr>: reads attribute from a configuration object without
                        inheritance or defaults.
   default_for(<attr>): reads the default value for an attribute
    default_for_<attr>: specifies the default value for an attribute.
<attr>_without_default: reads the inherited attribute without applying defaults.
    comment_for_<attr>: Specifies a comment that will be emitted above the
                        property when serializing the configuration to a file.

Additionally, method_missing and respond_to both work down the
configuration chain, so any method that is added to a configuration
instance, can be accessed from the top level.

The distinction between default and explicitly set values allows compass
to more correctly manage the serialization of attributes when creating
configuration files for projects.

The compass configuration can still be accessed via
Compass.configuration, however, the configuration object is no longer a
singleton. This means that you can build several configuration chains
to track several projects at once. This should ease the use of compass
in other frameworks and plugins that want to use compass internally.
2009-08-29 13:20:32 -07:00
Chris Eppstein
2cfc9ef1f9 [Blueprint] Make a welcome page for blueprint that works with the stylesheets to provide a complete working example. 2009-08-29 13:20:32 -07:00
Chris Eppstein
ac264606c8 DRY up the loading of the installer modules. 2009-08-29 13:20:32 -07:00
Chris Eppstein
1450f39d8c Renamed the configuration helper method root_relative to http_root_relative for consistency. 2009-08-29 13:20:32 -07:00
Chris Eppstein
b7ba05f7c1 [Extensions] Compass extensions can now process the content they deliver through ERB. 2009-08-29 13:20:32 -07:00
Chris Eppstein
c9454190e7 [Compass Core] Fixed the append_selector function to allow comma-delimited selectors for both arguments instead of just the first. 2009-08-29 13:20:31 -07:00
Chris Eppstein
f27e184c7f [Core] The compass configuration class is no longer a singleton. This allows other projects to manage multiple compass projects by creating multiple configurations within the same ruby process. 2009-08-29 13:20:31 -07:00
Chris Eppstein
1a9156c010 [Extensions] Compass extensions can now deliver html into a compass project which can be authored in haml if they prefer. 2009-08-29 13:20:31 -07:00