Nico Hagenburger
4026c51273
optimized options
2010-12-05 16:13:12 -08:00
Nico Hagenburger
05b2695806
implemented most basic sprite usage without image generation
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
Chris Eppstein
b313ac794e
update the gemspec with lemonade dependencies. add nico as an author.
2010-12-05 16:13:11 -08:00
Chris Eppstein
ffe967e8c8
Bolt on lemonade to get started.
2010-12-05 16:13:10 -08:00
Chris Eppstein
9f1b8f515b
Use the new Sass gem now.
2010-12-05 16:13:10 -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
6e30099473
Sass has an if function now. removing compass's version.
2010-11-27 15:34:52 -08:00
Chris Eppstein
c8daf8a440
Versioned modules was a bad idea.
2010-11-22 00:28:55 -08:00
Chris Eppstein
f06d928c4b
Support for sass 3.1 alphas
2010-11-21 15:59:37 -08:00
Chris Eppstein
9e033f7df5
Handle the change from Haml::Util => Sass::Util and haml_warn => sass_warn.
2010-11-21 15:59:37 -08:00
Chris Eppstein
ad7f2eb980
fix regression in the transform api
2010-11-21 15:59:37 -08:00
Chris Eppstein
b9c68bcc8c
No side-effects when normalizing color stops for webkit
2010-11-21 15:59:37 -08:00
Chris Eppstein
a4774bdf32
A special require for rails.
2010-11-20 10:54:53 -08:00
Chris Eppstein
99f3e959ac
Don't need this to get rails to boot compass after all
2010-11-20 10:15:17 -08:00
Chris Eppstein
928bf675c2
CSS3 PIE module.
2010-11-20 08:31:38 -08:00
Chris Eppstein
6553e06db6
Allow erb processing of non all non-binary filetypes.
2010-11-20 08:24:29 -08:00
Chris Eppstein
889580d9d8
Fix a bug in the stylesheet_url helper
2010-11-20 08:24:28 -08:00
Chris Eppstein
dabd4f6f9d
Rails gives us a pathname, pathnames don't like =~
2010-11-15 18:01:04 -08:00
Chris Eppstein
46eb667837
Allow inspection of list size
2010-11-15 17:28:20 -08:00
Chris Eppstein
d4a0484922
Return false if no false value is provided.
2010-11-15 03:55:09 -08:00
Chris Eppstein
d7da056fb1
Add a new configuration property to disable sass warnings: disable_warnings
2010-11-15 03:55:09 -08:00
Chris Eppstein
ca7563e3ba
Better argument names for the columns module, tests for the columns module, accept space separated args for the column-rule mixin.
2010-11-15 03:52:33 -08:00
Chris Eppstein
1ac8e9e24d
Handle gradients with those crazy extra arguments in them.
2010-11-15 03:52:32 -08:00
Chris Eppstein
ce60780a4e
I misread the spec, those are ands, not ors
2010-11-15 03:52:32 -08:00
Chris Eppstein
2de6f7c8d3
Change the legacy gradient mixins to use the new background-image mixin.
2010-11-15 03:52:32 -08:00
Chris Eppstein
efe3e148b1
Gradient support for list-style-image.
2010-11-15 03:52:32 -08:00
Chris Eppstein
d035acf1b7
Trim some whitespace from the svg xml -- saves about 12 bytes from the output per gradient.
2010-11-15 03:52:32 -08:00
Chris Eppstein
e4a5300b06
[CSS3] Support for the border-image property.
2010-11-15 03:52:32 -08:00
Chris Eppstein
e2137814df
handle missing gradient arguments.
2010-11-15 03:52:31 -08:00
Chris Eppstein
9aea35738d
New background image mixin with gradient support and up to 10 images.
2010-11-15 03:52:31 -08:00
Chris Eppstein
6204491f3d
Gradient mixin for IE6-8 using filters, only does simple linear gradients and must be applied seperately from the linear-gradient mixin. Closes GH-183.
2010-11-15 03:52:31 -08:00
Chris Eppstein
dabdaecee3
A new function: if()
2010-11-15 03:52:30 -08:00
Irina Dumitrascu
257c57cb53
Fixed the position evaluation for radial gradients
...
top should mean top center (not top left)
left should mean center left (not top left)
center should mean center center (it was wrongly evaluated to "50%"
Safari would not show the gradient at all, SVG would place it
in center left)
This does not affect linear gradients.
2010-11-15 03:52:30 -08:00
Irina Dumitrascu
55f490cc5e
Opt-in SVG support for gradients (linear & radial)
2010-11-15 03:52:30 -08:00
Chris Eppstein
463301e983
Added trigonometry functions for fun and profit.
...
Closes GH-201.
2010-11-12 15:38:39 -08:00
Chris Eppstein
f76b8bde17
Add html5 elements to the elements-of-type() helper
2010-11-12 08:50:21 -08:00
Chris Eppstein
2aa4f66e01
The sass utilities can live in two places for a while.
2010-11-12 08:47:00 -08:00
Chris Eppstein
b07f303d9b
Merge branch 'stable'
...
* stable: (36 commits)
Tweak the changelog.
[CSS3] The box-shadow $spread value now defaults to using the browser default instead of 0.
update the lockfile
some todos
Move the contributing guide to the tutorials section.
add on-page anchors to the command line reference page.
Better docs on the grid image command.
Move the tutorials to the main nav... I don't think most people see it.
Don't set the display in the box-flex mixin. This makes nested flex boxes annoying. Closes GH-207
Add a note about the colorization change.
Add a note about the compass validator
Only colorize the action when logging results.
Update to use the new compass validator during development.
Fix broken test cases.
Support true in addition to the inset keyword for the box-shadow mixin. Closes GH-206
IE8 compat for :last-child selector
Make the compass configuration file more self documenting by adding comments for preferred_syntax, output_style, and line_comments.
Pass --no-line-comments to disable line comments.
A little less noise during installation.
Change the default Sass directory in standalone projects from src to sass. Closes GH-203
...
Conflicts:
TODO.md
VERSION.yml
doc-src/content/CHANGELOG.markdown
features/command_line.feature
features/step_definitions/command_line_steps.rb
lib/compass/commands/write_configuration.rb
2010-11-11 21:45:07 -08:00
Chris Eppstein
cd6ce54515
adjust & scale lightness and saturation
2010-11-11 21:30:59 -08:00
Chris Eppstein
183a67b0c0
Revert "Use the new Sass gem now."
...
This reverts commit 822f35148b
.
Conflicts:
Gemfile
2010-11-11 21:01:42 -08:00
Chris Eppstein
6486693b80
Only colorize the action when logging results.
2010-10-31 00:32:45 -07:00
Chris Eppstein
f3fb895a32
Fix broken test cases.
2010-10-30 21:59:38 -07:00
Chris Eppstein
a03ee6cb8f
Make the compass configuration file more self documenting by adding comments for preferred_syntax, output_style, and line_comments.
2010-10-30 17:59:18 -07:00
Chris Eppstein
b601fb8d04
Pass --no-line-comments to disable line comments.
2010-10-30 17:55:30 -07:00
Chris Eppstein
a154d2e5cf
A little less noise during installation.
2010-10-30 17:51:00 -07:00
Chris Eppstein
4ba6e57106
Change the default Sass directory in standalone projects from src to sass. Closes GH-203
2010-10-30 17:00:09 -07:00
Chris Eppstein
a40fce8af1
Bug fix: In webkit, when the last gradient color stop was a percent less than 100%, the
...
intermediate values were being scaled to that value. Closes GH-118.
2010-10-30 16:45:25 -07:00
Chris Eppstein
03e01c4eb2
Add the ability to print out compass configuration values
2010-10-30 15:46:26 -07:00
Chris Eppstein
a8cf0beadc
Add a command line option to print out the value of a particular configuration value.
2010-10-25 17:52:13 -07:00
Chris Eppstein
37db7f3b8c
Add help text for the imports subcommand.
...
Closes GH-182
2010-10-11 02:33:35 -07:00
Chris Eppstein
45ca5eb147
Fix error in installation instructions on scss-based projects.
...
Closes GH-186.
2010-10-11 02:24:50 -07:00
Chris Eppstein
8a59e34ec8
Merge branch 'stable'
...
* stable:
Fix broken test.
tests for padding free horizontal list.
Update tests for charset changes.
Fix test failure in ruby 1.9.2
fix some gem issues
Option for horizontal-list to skip padding.
rake examples was getting a non-existent branch. Default to master.
update changelog
Make it easier to disable the asset cache buster.
Turns out that IE6 & 7 don't support this.
Fixed typo.
HTML5 reset includes box-model reset for newer browsers.
Added @charset declaration to force UTF-8 encoding on systems with different default encodings
Some doc modifications.
Conflicts:
Gemfile
doc-src/content/CHANGELOG.markdown
lib/compass/app_integration/rails/installer.rb
2010-10-11 02:18:26 -07:00
Chris Eppstein
822f35148b
Use the new Sass gem now.
2010-10-11 02:15:14 -07:00
Chris Eppstein
416936ca0b
Merge commit 'snoblet/stable' into stable
...
* commit 'snoblet/stable':
Fixed typo.
2010-10-11 01:15:03 -07:00
Chris Eppstein
794703fbc4
Make it easier to disable the asset cache buster.
2010-10-09 13:31:51 -07:00
Steven Noble
04141c62e2
Fixed typo.
2010-10-01 06:02:04 -07:00
Chris Eppstein
3bf2a029b2
Keep the copyright up to date.
2010-09-09 11:45:41 -07:00
Chris Eppstein
dbb88965a6
Fix a bug and some broken tests.
2010-09-03 16:21:53 -07:00
Chris Eppstein
ee276ee7ea
Don't assume that sass users are haml users once the gems are split.
2010-09-01 09:00:14 -07:00
Chris Eppstein
3c295329da
Merge branch 'stable'
...
* stable:
better description of the --using option.
2010-08-31 22:36:22 -07:00
Chris Eppstein
3bd06d3033
better description of the --using option.
2010-08-31 22:35:08 -07:00
Chris Eppstein
3df9f7d3a5
Merge branch 'stable'
...
* stable:
Print out the new style help with -h and --help instead of the old-style help.
clean up the docs on the fancy-type module in blueprint.
update some comments and formatting
make the docs on extensions a bit more clear for rubygems extensions.
official gradients still need image declared
fix typo in docs
Print a better error message if the extension isn't found.
versions change.
prepare for release
Update docs
Update docs
A command to unpack an extension from the system location.
Conflicts:
VERSION.yml
doc-src/content/CHANGELOG.markdown
2010-08-31 22:30:35 -07:00
Chris Eppstein
01cbc9cc6c
Print out the new style help with -h and --help instead of the old-style help.
2010-08-31 21:57:34 -07:00
Chris Eppstein
71bf9d6607
Disable that for now.
2010-08-29 19:32:01 -07:00
Chris Eppstein
32856b5899
Print a better error message if the extension isn't found.
2010-08-29 14:35:32 -07:00
Chris Eppstein
8ad10dc467
A command to unpack an extension from the system location.
2010-08-29 11:30:58 -07:00
Chris Eppstein
ee6d537999
less stuff in the rails config file... more stuff coming from defaults.
2010-08-29 02:58:20 -07:00
Chris Eppstein
8a7fdd6fa3
Reload the compass configuration with each request in case it changes.
2010-08-29 02:58:20 -07:00
Chris Eppstein
ca789f00d8
Scope any css stylesheets that get generated into a project without the user's permission
2010-08-29 02:58:20 -07:00
Chris Eppstein
e4608e3e4c
load the sass plugin for the user in rails3
2010-08-29 02:58:20 -07:00
Chris Eppstein
52c47d7de4
In rails 3, there's no need for an initializer. Instead we use a
...
Railstie. Additionally, we now default to app/stylesheets for sass files
and public/stylesheets for css files -- though they can still be changed
after installation or on the command line during project initialization.
Compass is now a gem plugin in a rails environment.
Lastly, in a rails3 environment the compass configuration can now be
changed without restarting the rails server process.
2010-08-29 02:57:38 -07:00
Chris Eppstein
f44e1ea492
Detect the version of rails and print out instructions accordingly.
2010-08-28 21:54:40 -07:00
Chris Eppstein
04eb17968e
Don't add load paths to sass that already exist.
2010-08-28 21:54:00 -07:00
Chris Eppstein
ac1f0a4be8
Default stylesheet locations for rails apps
2010-08-28 21:52:50 -07:00
Chris Eppstein
034012295a
Merge branch 'stable'
...
* stable: (81 commits)
Gemfiles for testing and a rails test helper that works for both rails 2 and rails 3.
provide correct installation steps when the compass validator is not found.
Fix a broken test case.
That wasn't supposed to be released yet.
Fixed error: there is no opposite-position(both)
Fix a bug in the statistics analyzer for rules with interpolation.
bump version for release
upgrade to bundler 1.0
link the docs to the stable branch.
Update the CHANGELOG for the 0.10.5 release
Read assets in binary mode for the windows users.
bump version.
Get the imports straightend out for the new mixins.
Bug fix: make the path-based configuration really work right.
inline-block-list tests
inline-block-list documentation
inline-block-list mixin
added additional html5 block-level elements per recommended reset stylesheet: http://html5doctor.com/html-5-reset-stylesheet/
Prepare for release.
Prepare for release
...
Conflicts:
VERSION.yml
doc-src/content/CHANGELOG.markdown
frameworks/blueprint/stylesheets/blueprint/_colors.scss
frameworks/compass/stylesheets/compass/css3/_box-shadow.scss
frameworks/compass/stylesheets/compass/css3/_font-face.scss
2010-08-28 14:07:47 -07:00
Chris Eppstein
a2a9835688
provide correct installation steps when the compass validator is not found.
2010-08-28 12:52:54 -07:00
Chris Eppstein
8083760ef2
Fix a bug in the statistics analyzer for rules with interpolation.
2010-08-27 09:30:01 -07:00
Chris Eppstein
b6b0723788
Read assets in binary mode for the windows users.
2010-08-26 22:23:43 -07:00
Chris Eppstein
ec648f17b0
Bug fix: make the path-based configuration really work right.
2010-08-25 08:41:03 -07:00
Chris Eppstein
30c28a76bf
Update the rails version of image_url to match the new signature.
2010-08-06 12:59:54 -07:00
Chris Eppstein
46b4ce1679
[Rails] bug fix: the new rails initializer did not find old configuration files (config/compass.config)
2010-08-06 11:36:00 -07:00
Chris Eppstein
973a568c1d
Tests are more useful if you actually run them.
2010-08-05 22:13:35 -07:00
Chris Eppstein
03221b9e7c
[Extensions] Manifests don't have to be hard. Allow discovery of basic assets and follow conventions for templates.
2010-08-05 21:18:11 -07:00
Chris Eppstein
776b772c08
[Rails] Don't emit configuration files when installing extensions into an existing project.
2010-08-05 21:16:51 -07:00
Chris Eppstein
ad967f5e6d
[Compass Core] All url helpers now accept a second argument that when true will cause only the path to be emited.
2010-08-05 20:55:48 -07:00
Chris Eppstein
dd0f3a816b
[Command Line] Make it easier to load non-gem frameworks from the
...
command line and project configuration files.
2010-08-01 11:18:33 -07:00
Chris Eppstein
165e3b43fb
Add missing file.
2010-07-24 02:01:43 -07:00
Chris Eppstein
06ab3d4b41
[CSS3] if a root relative url is passed to image-url, still find the file and do the normal processing.
2010-07-24 01:34:14 -07:00
Chris Eppstein
c02cab30bb
[CSS3] Support for specifying horizontal and vertical radii for the shorthand border-radius property.
2010-07-24 00:55:09 -07:00
Chris Eppstein
a2a0d58508
[Rails] Make it possible to only install the configuration files into a rails project.
2010-07-23 23:31:11 -07:00
Chris Eppstein
5864f2aeab
[Rails] Move most of the contents of the compass initializer back to the compass codebase. Discover compass extensions automatically during boot.
2010-07-23 22:54:23 -07:00
Chris Eppstein
755b9a3a11
[Extensions] Make it possible for extensions to create empty directories. Closes GH-173.
2010-07-23 20:41:52 -07:00
Chris Eppstein
c78e097841
Don't use the Base64 library. It's not found in ruby 1.9.
2010-07-23 19:36:40 -07:00
Chris Eppstein
6289fa1de1
[Compass Core] Fixed a bug in inlint-font-files().
2010-07-20 01:23:34 -07:00
Chris Eppstein
ea355b8cf0
[Command Line] Fixed a display issue when the filenames were shorter than the total label in the compass stats tool
2010-07-18 00:11:00 -07:00
Max Baumann
acffc9fd73
bugfix for inline-font-files helper
...
path variable isn't an argument to this function - deleted unnecessary line causing error
2010-07-10 00:08:06 -07:00
Chris Eppstein
fe056d6597
[Core] Rename the grad-opposite-position() helper to opposite-position() and expose it as part of the core library.
2010-07-09 17:53:22 -07:00
Chris Eppstein
f4a1e85f34
Fix confusing error scenario on windows. Closes GH-156.
2010-07-08 22:33:50 -07:00
Chris Eppstein
39e01c57ce
Merge branch 'stable'
...
* stable:
Prepare for release.
[Blueprint] Fixed an incorrect include.
Verify all sass files generate the correct css in the test fixtures.
Fixed a regression in the rails installer.
Remove a redundant, broken test
[Compass Core] Only unquote strings when a number might be passed instead.
[Docs] Fix some obsolete syntax that was used in the examples.
[Docs] Update the gem bundle
Fix some tests around listing projects.
[Command Line] Allow another configuration file to be used when creating a new project
[Blueprint] The basic template was missing the scaffolding.
[Blueprint] Better descriptions of the various blueprint project templates.
[Command Line] The compass frameworks command has nicer output now -- similar to compass help. The -q option can be used to get a simple list of frameworks.
[Rails] Provide a wrapper method for Rails.root/RAILS_ROOT that avoids deprecation warnings and handles the case where rails is not loaded at all.
[Docs] Fix a bug in the docs for link_icons. Closes GH-146.
[Blueprint] Clean up some comments in the blueprint templates.
[Command Line] Fix a bug in `compass stats` when using scss files.
[Command Line] Respect the --dry-run option during compilation.
Fix a bug in the command and added a test case for that feature.
Fix some broken documentation.
Conflicts:
VERSION.yml
doc-src/content/CHANGELOG.markdown
2010-05-31 23:49:50 -07:00
Chris Eppstein
a7b6ae0d50
Fixed a regression in the rails installer.
2010-05-31 13:12:05 -07:00
Chris Eppstein
01277cd6ea
[Command Line] Allow another configuration file to be used when creating a new project
2010-05-30 12:08:56 -07:00
Chris Eppstein
8889d25414
[Command Line] The compass frameworks command has nicer output now -- similar to compass help. The -q option can be used to get a simple list of frameworks.
2010-05-30 10:59:39 -07:00
Chris Eppstein
6ab85ecd83
[Rails] Provide a wrapper method for Rails.root/RAILS_ROOT that avoids deprecation warnings and handles the case where rails is not loaded at all.
2010-05-30 10:37:00 -07:00
Chris Eppstein
f3d3a66151
[Command Line] Fix a bug in compass stats
when using scss files.
2010-05-30 08:10:07 -07:00
Chris Eppstein
9f561e97cb
[Command Line] Respect the --dry-run option during compilation.
2010-05-30 07:02:07 -07:00
Chris Eppstein
98e291fa2b
Fix a bug in the command and added a test case for that feature.
2010-05-29 14:57:25 -07:00
Chris Eppstein
845b790155
Merge branch 'stable'
...
* stable:
Fixed image-width and image-height helpers to function properly on Windows by forcing file reads in binary mode.
2010-05-16 19:03:24 -07:00
xcephe
2a1731f705
Fixed image-width and image-height helpers to function properly on Windows by forcing file reads in binary mode.
2010-05-16 19:02:11 -07:00
Chris Eppstein
cebd685468
Fix a bug in the version code that only manifests when there's no patch release version.
2010-05-16 10:16:13 -07:00
Chris Eppstein
0da025c78d
Merge branch 'stable'
...
* stable:
Fix some bugs introduced when the Sass monkey patch was removed.
[Docs] Some polish for the new reset page.
2010-05-15 00:57:27 -07:00
Chris Eppstein
942ea5f1b0
Fix some bugs introduced when the Sass monkey patch was removed.
2010-05-15 00:55:31 -07:00
Chris Eppstein
253f797dd1
Merge branch 'stable'
...
* stable:
Don't require deleted files.
2010-05-15 00:34:47 -07:00
Chris Eppstein
bf90f6ea39
Don't require deleted files.
2010-05-15 00:32:11 -07:00
Chris Eppstein
ea1389c1c8
Merge branch 'stable'
...
* stable:
Bump versions for v0.10.1 release.
Update the CHANGELOG for the v0.10.1 release.
Fix a broken reference to the extensions tutorial. Closes GH-135.
[Blueprint] Regression fix: automatically apply the reset if blueprint/reset is imported. Closes GH-132.
Fix a failing test case.
[Rails] When configuring the Sass::Plugin, don't overwrite existing template locations. Closes GH-136.
[Command Line] Improved descriptions of the watch and init commands.
[Rails] Improved the next steps to perform after installing compass so that it mentions registering the compass gem.
[Rails] Fixed a reference to the old configuration file.
Add a note to the changelog about uninstalling chriseppstein-compass
Get rid of some dead code that was breaking Rails 3. Closes GH-137.
Conflicts:
VERSION.yml
doc-src/content/CHANGELOG.markdown
frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_reset.sass
2010-05-15 00:26:20 -07:00
Chris Eppstein
869e0bfac7
[Rails] When configuring the Sass::Plugin, don't overwrite existing template locations. Closes GH-136.
2010-05-14 23:29:20 -07:00
Chris Eppstein
9a49c457da
[Command Line] Improved descriptions of the watch and init commands.
2010-05-14 23:02:33 -07:00
Chris Eppstein
732fc8f042
[Rails] Improved the next steps to perform after installing compass so that it mentions registering the compass gem.
2010-05-14 23:02:33 -07:00
Chris Eppstein
e796511658
[Rails] Fixed a reference to the old configuration file.
2010-05-14 23:02:33 -07:00
Nathan Weizenbaum
6ad50ea2d8
Get rid of some dead code that was breaking Rails 3. Closes GH-137.
2010-05-14 17:31:07 -07:00
Chris Eppstein
c15ae6bfcf
Merge branch 'stable'
...
* stable:
[Command Line] Actually register the subcommand for listing frameworks
[Command Line] Add a sub command for emitting sass CLI imports
Every stable release is fine. no need to qualify it.
[Docs] Put Lorin's video on the homepage.
Conflicts:
doc-src/content/CHANGELOG.markdown
lib/compass/version.rb
2010-05-13 01:14:12 -07:00
Chris Eppstein
83a876fbf7
[Command Line] Actually register the subcommand for listing frameworks
2010-05-13 01:10:52 -07:00
Chris Eppstein
cc08b1e5de
[Command Line] Add a sub command for emitting sass CLI imports
2010-05-13 00:25:32 -07:00
Chris Eppstein
211e99c90c
Every stable release is fine. no need to qualify it.
2010-05-12 10:02:03 -07:00
Chris Eppstein
7474dfad2f
Versioning is hard.
2010-05-12 09:17:05 -07:00
Chris Eppstein
e2858f8e8c
[Rails] Update the rails installer to use the non-beta releases.
2010-05-10 03:05:41 -07:00
Chris Eppstein
5d0454dc02
[Rails] Pass template locations as an array of tuples instead of as a hash to preserve load path ordering.
...
Closes GH-128.
2010-05-08 23:43:38 -07:00
Chris Eppstein
76a12b4ea2
[CLI] Add the --syntax option to the deprecated CLI for consistency. Closes #114 .
2010-05-08 21:46:28 -07:00
Chris Eppstein
2c6028a163
[CLI] Enable command abbreviations.
2010-05-07 10:03:42 -07:00
Chris Eppstein
fa3230e802
[Compass Core] Alias headings to headers for w3c compliant terminology
2010-05-04 19:03:55 -07:00
Chris Eppstein
89442c93b1
[Compass Core] Fix a bug that caused quotes strings passed to url() to be wrapped in another set of single quotes. Closes GH-125.
2010-05-04 19:03:23 -07:00
Chris Eppstein
023d176453
[Docs] Document the font-files() helper function.
2010-05-03 21:25:43 -07:00
Chris Eppstein
46b7343b80
Update the rails template for v0.10
2010-05-02 19:22:50 -07:00
Chris Eppstein
6c9244ec14
Add the options from the command line into the configuration stack. Closes GH-99.
2010-05-02 18:02:13 -07:00
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
Chris Eppstein
b0fbab5455
Upgrade FSSM.
2010-01-18 17:11:06 -08:00
Chris Eppstein
68fe3136c2
Change the structure of the compass vendor directory in the off chance that we ever have to vendor more than one library.
2010-01-18 16:44:20 -08:00
Chris Eppstein
cac3065516
Move the frameworks directory back to the top level. There's not actually a good reason for it to be buried in the ruby source.
2010-01-18 14:58:40 -08:00
Chris Eppstein
e2fd599648
Merge commit '833d49de961a10574ffde16153fea34568d7efe0'
...
* commit '833d49de961a10574ffde16153fea34568d7efe0':
in the rails installer, ask them if they want to use sudo for gem commands, but only if their system supports sudo.
2010-01-18 12:37:39 -08:00
Chris Eppstein
d37d63cce3
Make these damn tests pass in ruby 1.9. Evidently, you have to read from $stdin explicitly.
2010-01-18 12:34:37 -08:00
Ryan Shaw
833d49de96
in the rails installer, ask them if they want to use sudo for gem commands, but only if their system supports sudo.
2010-01-14 13:34:33 -07:00
Chris Eppstein
07f988ebff
Generate a baseline grid only by passing 0 for the widths to the grid builder. E.g. compass grid-img 0+0x28
2010-01-14 09:05:45 -08:00
Chris Eppstein
6148abf04a
Merge commit 'der-rich/master'
...
* commit 'der-rich/master':
removed unnecessary .to_a
Using String#unpack instead of String#bytes to work with Ruby < 1.8.7
Conflicts:
lib/compass/grid_builder.rb
2010-01-10 13:47:10 -08:00
Chris Eppstein
910fc46aff
[Command Line] Added a --poll option to the compass watch subcommand to force polling.
2010-01-10 13:30:44 -08:00
Chris Eppstein
5078d0a0a9
[Configuration] Strip trailing slash and directory separtors from directory and path configuration variables.
...
Closes GH-77.
2010-01-10 12:27:47 -08:00
Chris Eppstein
fd2ab06f60
Merge commit 'packetmonkey/optional_sudo'
...
* commit 'packetmonkey/optional_sudo':
Allows turning off sudo usage with an ENV variable
Move sudo checks into it's own function
2010-01-10 10:57:09 -08:00
Chris Eppstein
d15298afa8
[Command Line] Command line switch (--boring) to turn off colorized output.
2010-01-10 10:52:28 -08:00
Chris Eppstein
38ff0b7929
Make ANSI color output work on windows. Closes GH-64.
2010-01-10 10:51:43 -08:00
Chris Eppstein
05d89b082c
Cache buster timestamps not working in some cases. Closes GH-75.
2010-01-10 08:26:39 -08:00
Chris Eppstein
31cde1b107
Support for scss files in the compass watcher. Closes GH-78.
2010-01-10 08:09:58 -08:00
Evan Sharp
289c338e34
Allows turning off sudo usage with an ENV variable
2010-01-07 14:33:02 -05:00
Evan Sharp
e3a92c68e4
Move sudo checks into it's own function
2010-01-07 14:32:26 -05:00
Richard Wöber
a7a9a1bbba
removed unnecessary .to_a
2010-01-04 22:43:42 +01:00
Richard Wöber
d9d3857ee0
Using String#unpack instead of String#bytes to work with Ruby < 1.8.7
2010-01-04 22:40:37 +01:00
Chris Eppstein
b4070637b2
Backwards and forwards compatibility with the ever-changing Sass::Plugin api.
2010-01-04 09:30:35 -08:00
Chris Eppstein
ebd9f22440
Accidently committed a broken version of fssm.
2010-01-04 08:02:33 -08:00
Chris Eppstein
66e2a603d5
Fix a ruby 1.8.6 compatibility bug.
2010-01-02 12:17:06 -08:00
Chris Eppstein
02e2d7a4a9
Upgrade to FSSM v0.1.2.
2010-01-02 11:11:45 -08:00
Chris Eppstein
770f871071
Support for SCSS files if haml edge is installed.
2010-01-02 10:47:34 -08:00
Chris Eppstein
5707a3627f
Move the compile action from the Actions module to the Compiler class.
...
Refactor the compass project compiler to be easier to read.
2010-01-02 08:54:19 -08:00
Chris Eppstein
42d5295e52
Update the gem dependencies for the rails installer.
2009-12-31 11:34:06 -08:00
Chris Eppstein
7db51c42b0
Merge commit 'jsilver/master'
...
* commit 'jsilver/master':
fixed win32 sudo incompatibility issue in the rails template
2009-12-31 11:25:55 -08:00
Chris Eppstein
e957da4ec8
Grid image generation: Fix a double output issue, let write_file handle dry runs, and make sure to open the file for binary output.
2009-12-31 11:09:47 -08:00
Chris Eppstein
13425f3e4b
Trim some whitespace
2009-12-31 10:55:40 -08:00
Chris Eppstein
4fe8e25edd
Merge commit 'pixelmatrix/master'
...
* commit 'pixelmatrix/master':
Patched hide-text to account for items that are not text-align: left by default
2009-12-31 10:47:09 -08:00
Richard Wöber
b43223b637
removed RMagic dependecy
2009-12-30 19:38:41 +01:00
pixelmatrix
3da66000b5
Patched hide-text to account for items that are not text-align: left by default
2009-12-29 16:58:56 -07:00
Andrew Vit
f6b319268e
[Compass Core] Split out hide-text as its own mixin.
2009-12-18 11:10:26 -08:00
Chris Eppstein
8006c7854c
Upgrade the vendored version of FSSM to 0.1.0, this fixes some bugs with jruby and adds inotify support for linux.
2009-12-18 11:05:08 -08:00
Chris Eppstein
6d6e1ca0e3
[Command Line] Specification of sass files to compile
...
The command line compiler now lets you target specific sass files for
compilation. When specified explicitly, the sass files are always
compiled even if they are older than the corresponding css file (--force
is implied).
Usage Examples:
From the project directory:
compass compile src/screen.sass src/ie.sass
From another directory:
compass compile my_project my_project/src/screen.sass my_project/src/ie.sass
2009-12-18 11:05:08 -08:00
Chris Eppstein
a3cdf182c9
[Compass Core] +min-height, +min-width, and +bang-hack mixins
2009-12-18 11:05:08 -08:00
Andrew Vit
5ea5d3d6f3
Added utility for loading web fonts using @font-face.
2009-12-18 11:05:08 -08:00
jsilver
0933a1665e
fixed win32 sudo incompatibility issue in the rails template
2009-12-17 19:03:02 -07:00
Chris Eppstein
5f32043c29
[Blueprint] Bug Fix: variable referenced in a non-script context within
...
the dquo mixin in the fancy_type module. Closes GH-60.
2009-12-03 00:53:35 -08:00
Chris Eppstein
3bb5e6d83d
If the configuration file changes, wipe out the sass cache and force
...
compilation. Closes #55 .
2009-12-01 10:34:39 -08:00
Chris Eppstein
fd058fae04
[Configuration] The sass cache location can now be set in the compass config file using the cache_dir property and the cache can be disabled by setting cache = false.
2009-12-01 09:57:49 -08:00
Chris Eppstein
c60aca3d96
Color any stderr or stdout output from the Sass::Engine red.
2009-12-01 09:57:26 -08:00
Chris Eppstein
0dd89e54f4
Fix line_comments configuration setting.
2009-12-01 00:03:07 -08:00
Chris Eppstein
21cf6c870f
Make sure the required libraries appear in the generated configuration file.
2009-11-30 23:46:58 -08:00
Chris Eppstein
bf7265443e
Use the correct error formatting function based on what sass provides.
2009-11-30 22:48:20 -08:00
Chris Eppstein
faf589bead
[Rails] Fix the invalid reference to the compass configuration file.
2009-11-30 22:48:19 -08:00
gpbmike
2751e3b913
line-height should be 1 and not 1em
2009-12-01 14:47:48 +08:00
Chris Eppstein
c17c36eae4
Some code cleanup and bugfixes for the css3 transform module.
2009-11-29 22:44:19 -08:00
Chris Eppstein
4b68a64ea9
Pretty color output for the compass logger.
2009-11-29 20:18:25 -08:00
Chris Eppstein
cc31c29807
Error reporting. When an error occurs during compilation,
...
write out a css file with the error report and debugging information.
Also, record the error to the output, but keep compiling the other
stylesheets.
2009-11-29 20:18:25 -08:00
Chris Eppstein
e359db1a77
Fix some configuration defaults.
2009-11-29 20:18:09 -08:00
Chris Eppstein
71058e3d9c
Fix a bug in the error handler while watching a project.
2009-11-29 18:39:58 -08:00
Chris Eppstein
ca6ffb4f57
[Rails] The font directory for rails projects will default to public/fonts.
2009-11-28 12:11:11 -08:00
Chris Eppstein
fb16bf6ace
Fix a bug that caused the project type to not be emitted into the compass config file for rails projects.
2009-11-28 12:10:14 -08:00
Chris Eppstein
eec390ea37
Allow extensions to deliver fonts into projects.
2009-11-28 11:04:03 -08:00
Chris Eppstein
d504650eda
Ooops.
2009-11-28 10:07:10 -08:00
Chris Eppstein
7b95f34aa3
Support for font urls and embedding fonts inline within the file
2009-11-27 17:44:22 -08:00
Chris Eppstein
070f39c6b7
Added support for a fonts directory. This is where font files are kept
...
and should be accessible to the webserver. By default the fonts directory
is the "fonts" subdirectory of the css directory but another location
can be set via the fonts_dir and http_fonts_dir configuration options.
2009-11-27 17:15:07 -08:00