jsmestad-compass 0.4.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. data/Manifest +175 -0
  2. data/README.markdown +17 -0
  3. data/Rakefile +125 -0
  4. data/VERSION +1 -0
  5. data/bin/compass +8 -0
  6. data/compass.gemspec +37 -0
  7. data/examples/blueprint_default/index.html +73 -0
  8. data/examples/blueprint_default/parts/elements.html +246 -0
  9. data/examples/blueprint_default/parts/forms.html +100 -0
  10. data/examples/blueprint_default/parts/grid.html +206 -0
  11. data/examples/blueprint_default/parts/test-small.jpg +0 -0
  12. data/examples/blueprint_default/parts/test.jpg +0 -0
  13. data/examples/blueprint_default/parts/valid.png +0 -0
  14. data/examples/blueprint_default/stylesheets/ie.sass +3 -0
  15. data/examples/blueprint_default/stylesheets/images/grid.png +0 -0
  16. data/examples/blueprint_default/stylesheets/print.sass +3 -0
  17. data/examples/blueprint_default/stylesheets/screen.sass +8 -0
  18. data/examples/blueprint_plugins/index.html +60 -0
  19. data/examples/blueprint_plugins/parts/fancy_type.html +84 -0
  20. data/examples/blueprint_plugins/parts/test-small.jpg +0 -0
  21. data/examples/blueprint_plugins/parts/test.jpg +0 -0
  22. data/examples/blueprint_plugins/parts/valid.png +0 -0
  23. data/examples/blueprint_plugins/stylesheets/ie.sass +3 -0
  24. data/examples/blueprint_plugins/stylesheets/images/grid.png +0 -0
  25. data/examples/blueprint_plugins/stylesheets/print.sass +3 -0
  26. data/examples/blueprint_plugins/stylesheets/screen.sass +11 -0
  27. data/examples/blueprint_scoped/stylesheets/ie.sass +3 -0
  28. data/examples/blueprint_scoped/stylesheets/print.sass +3 -0
  29. data/examples/blueprint_scoped/stylesheets/screen.sass +4 -0
  30. data/examples/blueprint_scoped_form/stylesheets/ie.sass +3 -0
  31. data/examples/blueprint_scoped_form/stylesheets/print.sass +3 -0
  32. data/examples/blueprint_scoped_form/stylesheets/screen.sass +10 -0
  33. data/examples/blueprint_semantic/index.html +68 -0
  34. data/examples/blueprint_semantic/parts/fancy_type.html +84 -0
  35. data/examples/blueprint_semantic/parts/liquid.html +84 -0
  36. data/examples/blueprint_semantic/parts/test-small.jpg +0 -0
  37. data/examples/blueprint_semantic/parts/test.jpg +0 -0
  38. data/examples/blueprint_semantic/parts/valid.png +0 -0
  39. data/examples/blueprint_semantic/stylesheets/ie.sass +3 -0
  40. data/examples/blueprint_semantic/stylesheets/images/grid.png +0 -0
  41. data/examples/blueprint_semantic/stylesheets/liquid.sass +70 -0
  42. data/examples/blueprint_semantic/stylesheets/print.sass +3 -0
  43. data/examples/blueprint_semantic/stylesheets/screen.sass +69 -0
  44. data/examples/compass/compass.html +19 -0
  45. data/examples/compass/sticky_footer.html.haml +14 -0
  46. data/examples/compass/stylesheets/compass.sass +47 -0
  47. data/examples/compass/stylesheets/images/blue_arrow.gif +0 -0
  48. data/examples/compass/stylesheets/sticky_footer.sass +11 -0
  49. data/examples/compass/stylesheets/utilities.sass +65 -0
  50. data/examples/compass/utilities.html.haml +136 -0
  51. data/examples/yui/divisions.html.haml +179 -0
  52. data/examples/yui/index.html.haml +19 -0
  53. data/examples/yui/stylesheets/screen.sass +13 -0
  54. data/examples/yui/sub_divisions.html.haml +169 -0
  55. data/examples/yui/templates.html.haml +54 -0
  56. data/examples/yui/test.jpg +0 -0
  57. data/examples/yui/typography.html.haml +132 -0
  58. data/frameworks/blueprint.rb +2 -0
  59. data/frameworks/blueprint/lib/blueprint/constants.rb +17 -0
  60. data/frameworks/blueprint/lib/blueprint/grid_builder.rb +54 -0
  61. data/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
  62. data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +49 -0
  63. data/frameworks/blueprint/stylesheets/blueprint/_print.sass +82 -0
  64. data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
  65. data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +30 -0
  66. data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
  67. data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +81 -0
  68. data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +43 -0
  69. data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +141 -0
  70. data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
  71. data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +137 -0
  72. data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +46 -0
  73. data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +153 -0
  74. data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
  75. data/frameworks/blueprint/templates/project/grid.png +0 -0
  76. data/frameworks/blueprint/templates/project/ie.sass +3 -0
  77. data/frameworks/blueprint/templates/project/manifest.rb +5 -0
  78. data/frameworks/blueprint/templates/project/print.sass +3 -0
  79. data/frameworks/blueprint/templates/project/screen.sass +8 -0
  80. data/frameworks/compass.rb +2 -0
  81. data/frameworks/compass/stylesheets/_compass.sass +1 -0
  82. data/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
  83. data/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
  84. data/frameworks/compass/stylesheets/compass/_utilities.sass +5 -0
  85. data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -0
  86. data/frameworks/compass/stylesheets/compass/utilities/_general.sass +4 -0
  87. data/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
  88. data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
  89. data/frameworks/compass/stylesheets/compass/utilities/_print.sass +24 -0
  90. data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +1 -0
  91. data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
  92. data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +11 -0
  93. data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
  94. data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +58 -0
  95. data/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  96. data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
  97. data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
  98. data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
  99. data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
  100. data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
  101. data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +20 -0
  102. data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
  103. data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +25 -0
  104. data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
  105. data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +10 -0
  106. data/frameworks/compass/templates/project/ie.sass +6 -0
  107. data/frameworks/compass/templates/project/manifest.rb +3 -0
  108. data/frameworks/compass/templates/project/print.sass +6 -0
  109. data/frameworks/compass/templates/project/screen.sass +7 -0
  110. data/frameworks/yui.rb +2 -0
  111. data/frameworks/yui/COPYRIGHT +15 -0
  112. data/frameworks/yui/stylesheets/_yui.sass +7 -0
  113. data/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
  114. data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
  115. data/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
  116. data/frameworks/yui/templates/project/manifest.rb +1 -0
  117. data/frameworks/yui/templates/project/screen.sass +4 -0
  118. data/lib/compass.rb +39 -0
  119. data/lib/compass/actions.rb +92 -0
  120. data/lib/compass/commands/base.rb +26 -0
  121. data/lib/compass/commands/create_project.rb +41 -0
  122. data/lib/compass/commands/list_frameworks.rb +16 -0
  123. data/lib/compass/commands/print_version.rb +23 -0
  124. data/lib/compass/commands/project_base.rb +74 -0
  125. data/lib/compass/commands/update_project.rb +61 -0
  126. data/lib/compass/commands/watch_project.rb +53 -0
  127. data/lib/compass/compiler.rb +40 -0
  128. data/lib/compass/configuration.rb +92 -0
  129. data/lib/compass/core_ext.rb +12 -0
  130. data/lib/compass/errors.rb +7 -0
  131. data/lib/compass/exec.rb +184 -0
  132. data/lib/compass/frameworks.rb +29 -0
  133. data/lib/compass/installers.rb +5 -0
  134. data/lib/compass/installers/base.rb +135 -0
  135. data/lib/compass/installers/manifest.rb +57 -0
  136. data/lib/compass/installers/rails.rb +125 -0
  137. data/lib/compass/installers/stand_alone.rb +76 -0
  138. data/lib/compass/logger.rb +34 -0
  139. data/lib/compass/merb.rb +43 -0
  140. data/lib/compass/test_case.rb +37 -0
  141. data/lib/compass/validate.rb +13 -0
  142. data/lib/compass/validate/COPYRIGHT.html +93 -0
  143. data/lib/compass/validate/JIGSAW_COPYRIGHT +64 -0
  144. data/lib/compass/validate/README.html +83 -0
  145. data/lib/compass/validate/XERCES_COPYING.txt +56 -0
  146. data/lib/compass/validate/css-validator-javadoc.jar +0 -0
  147. data/lib/compass/validate/css-validator.jar +0 -0
  148. data/lib/compass/validate/jigsaw.jar +0 -0
  149. data/lib/compass/validate/xerces.jar +0 -0
  150. data/lib/compass/validator.rb +59 -0
  151. data/lib/compass/version.rb +66 -0
  152. data/lib/sass_extensions.rb +13 -0
  153. data/test/command_line_test.rb +147 -0
  154. data/test/compass_test.rb +148 -0
  155. data/test/configuration_test.rb +28 -0
  156. data/test/fixtures/stylesheets/blueprint/css/typography.css +158 -0
  157. data/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
  158. data/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
  159. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
  160. data/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
  161. data/test/fixtures/stylesheets/compass/css/layout.css +14 -0
  162. data/test/fixtures/stylesheets/compass/css/print.css +19 -0
  163. data/test/fixtures/stylesheets/compass/css/reset.css +69 -0
  164. data/test/fixtures/stylesheets/compass/css/utilities.css +21 -0
  165. data/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
  166. data/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
  167. data/test/fixtures/stylesheets/compass/sass/reset.sass +1 -0
  168. data/test/fixtures/stylesheets/compass/sass/utilities.sass +5 -0
  169. data/test/fixtures/stylesheets/yui/css/mixins.css +16 -0
  170. data/test/fixtures/stylesheets/yui/sass/base.sass +3 -0
  171. data/test/fixtures/stylesheets/yui/sass/fonts.sass +3 -0
  172. data/test/fixtures/stylesheets/yui/sass/grids.sass +3 -0
  173. data/test/fixtures/stylesheets/yui/sass/mixins.sass +16 -0
  174. data/test/sass_extensions_test.rb +26 -0
  175. data/test/test_helper.rb +47 -0
  176. metadata +291 -0
@@ -0,0 +1,76 @@
1
+ module Compass
2
+ module Installers
3
+
4
+ class StandAloneInstaller < Base
5
+
6
+ def configure
7
+ if File.exists?(config_file)
8
+ Compass.configuration.parse(config_file)
9
+ elsif File.exists?(old_config_file)
10
+ Compass.configuration.parse(old_config_file)
11
+ end
12
+ super
13
+ end
14
+
15
+ def init
16
+ directory targetize("")
17
+ directory targetize(css_dir)
18
+ directory targetize(sass_dir)
19
+ end
20
+
21
+ def prepare
22
+ directory targetize(images_dir) if manifest.has_image?
23
+ directory targetize(javascripts_dir) if manifest.has_javascript?
24
+ end
25
+
26
+ def default_css_dir
27
+ Compass.configuration.css_dir || "stylesheets"
28
+ end
29
+
30
+ def default_sass_dir
31
+ Compass.configuration.sass_dir ||"src"
32
+ end
33
+
34
+ def default_images_dir
35
+ Compass.configuration.images_dir || "images"
36
+ end
37
+
38
+ def default_javascripts_dir
39
+ Compass.configuration.javascripts_dir || "javascripts"
40
+ end
41
+
42
+ # Read the configuration file for this project
43
+ def config_file
44
+ @config_file ||= targetize('config.rb')
45
+ end
46
+
47
+ def old_config_file
48
+ @old_config_file ||= targetize('src/config.rb')
49
+ end
50
+
51
+ def finalize(options = {})
52
+ if options[:create]
53
+ puts <<-NEXTSTEPS
54
+
55
+ Congratulations! Your compass project has been created.
56
+ You must recompile your sass stylesheets when they change.
57
+ This can be done in one of the following ways:
58
+ 1. From within your project directory run:
59
+ compass
60
+ 2. From any directory run:
61
+ compass -u path/to/project
62
+ 3. To monitor your project for changes and automatically recompile:
63
+ compass --watch [path/to/project]
64
+
65
+ NEXTSTEPS
66
+ end
67
+ puts "To import your new stylesheets add the following lines of HTML (or equivalent) to your webpage:"
68
+ puts stylesheet_links
69
+ end
70
+
71
+ def compilation_required?
72
+ true
73
+ end
74
+ end
75
+ end
76
+ end
@@ -0,0 +1,34 @@
1
+ module Compass
2
+ class Logger
3
+
4
+ DEFAULT_ACTIONS = [:directory, :exists, :remove, :create, :overwrite, :compile]
5
+
6
+ attr_accessor :actions, :options
7
+
8
+ def initialize(*actions)
9
+ self.options = actions.last.is_a?(Hash) ? actions.pop : {}
10
+ @actions = DEFAULT_ACTIONS.dup
11
+ @actions += actions
12
+ end
13
+
14
+ # Record an action that has occurred
15
+ def record(action, *arguments)
16
+ log "#{action_padding(action)}#{action} #{arguments.join(' ')}"
17
+ end
18
+
19
+ # Emit a log message
20
+ def log(msg)
21
+ puts msg
22
+ end
23
+
24
+ # add padding to the left of an action that was performed.
25
+ def action_padding(action)
26
+ ' ' * [(max_action_length - action.to_s.length), 0].max
27
+ end
28
+
29
+ # the maximum length of all the actions known to the logger.
30
+ def max_action_length
31
+ @max_action_length ||= actions.inject(0){|memo, a| [memo, a.to_s.length].max}
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,43 @@
1
+ # To configure Merb to use compass do the following:
2
+ # Merb::BootLoader.after_app_loads do
3
+ # require 'merb-haml'
4
+ # require 'compass'
5
+ # end
6
+ #
7
+ # To use a different sass stylesheets locations as is recommended by compass
8
+ # add this configuration to your configuration block:
9
+ #
10
+ # Merb::Config.use do |c|
11
+ # c[:compass] = {
12
+ # :stylesheets => 'app/stylesheets',
13
+ # :compiled_stylesheets => 'public/stylesheets/compiled'
14
+ # }
15
+ # end
16
+
17
+ Merb::BootLoader.after_app_loads do
18
+ #set up sass if haml load didn't do it -- this happens when using a non-default stylesheet location.
19
+ unless defined?(Sass::Plugin)
20
+ require "sass/plugin"
21
+ Sass::Plugin.options = Merb::Config[:sass] if Merb::Config[:sass]
22
+ end
23
+
24
+ # default the compass configuration if they didn't set it up yet.
25
+ Merb::Config[:compass] ||= {}
26
+
27
+ # default sass stylesheet location unless configured to something else
28
+ Merb::Config[:compass][:stylesheets] ||= Merb.dir_for(:stylesheet) / "sass"
29
+
30
+ # default sass css location unless configured to something else
31
+ Merb::Config[:compass][:compiled_stylesheets] ||= Merb.dir_for(:stylesheet)
32
+
33
+ #define the template hash for the project stylesheets as well as the framework stylesheets.
34
+ template_location = {
35
+ Merb::Config[:compass][:stylesheets] => Merb::Config[:compass][:compiled_stylesheets]
36
+ }
37
+ Compass::Frameworks::ALL.each do |framework|
38
+ template_location[framework.stylesheets_directory] = Merb::Config[:compass][:compiled_stylesheets]
39
+ end
40
+
41
+ #configure Sass to know about all these sass locations.
42
+ Sass::Plugin.options[:template_location] = template_location
43
+ end
@@ -0,0 +1,37 @@
1
+ module Compass
2
+ # Write your unit test like this if you want to make sure all your stylesheets compile.
3
+ #
4
+ # require 'compass/test_case'
5
+ # class StylesheetsTest < Compass::TestCase
6
+ # def test_stylesheets
7
+ # my_sass_files.each do |sass_file|
8
+ # assert_compiles(sass_file) do |result|
9
+ # assert_not_blank result
10
+ # end
11
+ # end
12
+ # end
13
+ # protected
14
+ # def my_sass_files
15
+ # Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), "../..", "app/stylesheets/**/[^_]*.sass")))
16
+ # end
17
+ # end
18
+ class TestCase < Test::Unit::TestCase
19
+ def setup
20
+ @last_compile = nil
21
+ end
22
+
23
+ def compile(stylesheet)
24
+ input = open(stylesheet)
25
+ template = input.read()
26
+ input.close()
27
+ @last_compile = ::Sass::Engine.new(template,
28
+ ::Sass::Plugin.engine_options(:style => :compact, :filename => stylesheet)).render
29
+ yield @last_compile if block_given?
30
+ end
31
+
32
+ def assert_compiles(stylesheet, &block)
33
+ compile(stylesheet, &block)
34
+ end
35
+
36
+ end
37
+ end
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ require File.join(File.dirname(__FILE__), 'compass', 'validator')
3
+
4
+ # This script will validate the core Compass files.
5
+ #
6
+ # The files are not completely valid. This has to do
7
+ # with a small number of CSS hacks needed to ensure
8
+ # consistent rendering across browsers.
9
+ #
10
+ # To add your own CSS files for validation, see
11
+ # /lib/compass/validator.rb
12
+
13
+ Compass::Validator.new.validate
@@ -0,0 +1,93 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang='en' lang='en'>
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6
+ <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/base.css" />
7
+ <title>W3C IPR SOFTWARE NOTICE</title>
8
+ </head>
9
+ <body>
10
+ <h1>W3C<sup>&reg;</sup> SOFTWARE NOTICE AND LICENSE</h1>
11
+
12
+ <h3>Copyright &copy; 1997-2002 <a href="http://www.w3.org/">World
13
+ Wide Web Consortium</a>, (<a
14
+ href="http://www.lcs.mit.edu/">Massachusetts Institute of
15
+ Technology</a>, <a href="http://www.inria.fr/">Institut National de
16
+ Recherche en Informatique et en Automatique</a>, <a
17
+ href="http://www.keio.ac.jp/">Keio University</a>). All Rights
18
+ Reserved. http://www.w3.org/Consortium/Legal/</h3>
19
+
20
+ <p>This W3C work (including software, documents, or other related
21
+ items) is being provided by the copyright holders under the
22
+ following license. By obtaining, using and/or copying this work,
23
+ you (the licensee) agree that you have read, understood, and will
24
+ comply with the following terms and conditions:</p>
25
+
26
+ <p>Permission to use, copy, modify, and distribute this software
27
+ and its documentation, with or without modification,&nbsp; for any
28
+ purpose and without fee or royalty is hereby granted, provided that
29
+ you include the following on ALL copies of the software and
30
+ documentation or portions thereof, including modifications, that
31
+ you make:</p>
32
+
33
+ <ol>
34
+ <li>The full text of this NOTICE in a location viewable to users of
35
+ the redistributed or derivative work.</li>
36
+
37
+ <li>Any pre-existing intellectual property disclaimers, notices, or
38
+ terms and conditions. If none exist, a short notice of the
39
+ following form (hypertext is preferred, text is permitted) should
40
+ be used within the body of any redistributed or derivative code:
41
+ "Copyright &copy; [$date-of-software] <a
42
+ href="http://www.w3.org/">World Wide Web Consortium</a>, (<a
43
+ href="http://www.lcs.mit.edu/">Massachusetts Institute of
44
+ Technology</a>, <a href="http://www.inria.fr/">Institut National de
45
+ Recherche en Informatique et en Automatique</a>, <a
46
+ href="http://www.keio.ac.jp/">Keio University</a>). All Rights
47
+ Reserved. http://www.w3.org/Consortium/Legal/"</li>
48
+
49
+ <li>Notice of any changes or modifications to the W3C files,
50
+ including the date changes were made. (We recommend you provide
51
+ URIs to the location from which the code is derived.)</li>
52
+ </ol>
53
+
54
+ <p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
55
+ COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
56
+ IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
57
+ MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
58
+ USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
59
+ PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
60
+
61
+ <p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
62
+ SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
63
+ SOFTWARE OR DOCUMENTATION.</p>
64
+
65
+ <p>The name and trademarks of copyright holders may NOT be used in
66
+ advertising or publicity pertaining to the software without
67
+ specific, written prior permission. Title to copyright in this
68
+ software and any associated documentation will at all times remain
69
+ with copyright holders.</p>
70
+
71
+ <p>____________________________________</p>
72
+
73
+ <p>This formulation of W3C's notice and license became active on
74
+ August 14 1998 so as to improve compatibility with GPL. This
75
+ version ensures that W3C software licensing terms are no more
76
+ restrictive than GPL and consequently W3C software may be
77
+ distributed in GPL packages. See the <a
78
+ href="copyright-software-19980519.html">older formulation</a> for
79
+ the policy prior to this date. Please see our <a
80
+ href="IPR-FAQ.html">Copyright FAQ</a> for common questions about
81
+ using materials from our site, including specific terms and
82
+ conditions for packages like libwww, Amaya, and Jigsaw. Other
83
+ questions about this notice can be directed to <a
84
+ href="mailto:site-policy@w3.org">site-policy@w3.org</a>.<br />
85
+ &nbsp;</p>
86
+
87
+ <p>&nbsp;</p>
88
+
89
+ <address><a href="http://www.w3.org/Help/Webmaster.html">webmaster</a><br />
90
+ (last updated $Date: 2004/05/29 04:04:36 $)</address>
91
+
92
+ </body>
93
+ </html>
@@ -0,0 +1,64 @@
1
+ W3C IPR SOFTWARE NOTICE
2
+
3
+ Copyright � 1995-1998 World Wide Web Consortium, (Massachusetts Institute of
4
+ Technology, Institut National de Recherche en Informatique et en
5
+ Automatique, Keio University). All Rights Reserved.
6
+ http://www.w3.org/Consortium/Legal/
7
+
8
+ This W3C work (including software, documents, or other related items) is
9
+ being provided by the copyright holders under the following license. By
10
+ obtaining, using and/or copying this work, you (the licensee) agree that you
11
+ have read, understood, and will comply with the following terms and
12
+ conditions:
13
+
14
+ Permission to use, copy, and modify this software and its documentation,
15
+ with or without modification, for any purpose and without fee or royalty is
16
+ hereby granted, provided that you include the following on ALL copies of the
17
+ software and documentation or portions thereof, including modifications,
18
+ that you make:
19
+
20
+ 1. The full text of this NOTICE in a location viewable to users of the
21
+ redistributed or derivative work.
22
+ 2. Any pre-existing intellectual property disclaimers, notices, or terms
23
+ and conditions. If none exist, a short notice of the following form
24
+ (hypertext is preferred, text is permitted) should be used within the
25
+ body of any redistributed or derivative code: "Copyright � World Wide
26
+ Web Consortium, (Massachusetts Institute of Technology, Institut
27
+ National de Recherche en Informatique et en Automatique, Keio
28
+ University). All Rights Reserved. http://www.w3.org/Consortium/Legal/"
29
+ 3. Notice of any changes or modifications to the W3C files, including the
30
+ date changes were made. (We recommend you provide URIs to the location
31
+ from which the code is derived).
32
+
33
+ In addition, creators of derivitive works must include the full text of this
34
+ NOTICE in a location viewable to users of the derivitive work.
35
+
36
+ THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS
37
+ MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
38
+ LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
39
+ PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE
40
+ ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
41
+
42
+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
43
+ CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
44
+ DOCUMENTATION.
45
+
46
+ The name and trademarks of copyright holders may NOT be used in advertising
47
+ or publicity pertaining to the software without specific, written prior
48
+ permission. Title to copyright in this software and any associated
49
+ documentation will at all times remain with copyright holders.
50
+
51
+ ____________________________________
52
+
53
+ This formulation of W3C's notice and license became active on August 14
54
+ 1998. See the older formulation for the policy prior to this date. Please
55
+ see our Copyright FAQ for common questions about using materials from our
56
+ site, including specific terms and conditions for packages like libwww,
57
+ Amaya, and Jigsaw. Other questions about this notice can be directed to
58
+ site-policy@w3.org .
59
+
60
+
61
+
62
+
63
+ webmaster
64
+ (last updated 14-Aug-1998)
@@ -0,0 +1,83 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <title>CSS Validator Binary Distribution - Illumit</title>
5
+ <link title="RSS Feed" type="application/rss+xml" rel="alternate" href="http://www.illumit.com/site.rss" />
6
+ </head>
7
+ <body>
8
+ <h1>CSS Validator Binary Distribution</h1>
9
+ <p>This a binary distribution of <a href="http://jigsaw.w3.org/css-validator">W3C CSS Validator</a>.
10
+ It was built from the <a href="http://dev.w3.org/cvsweb/2002/css-validator">source</a> on June 25, 2006.
11
+ No modifications were made.</p>
12
+
13
+ <p>This distribution is provided <a href="#asis">as is</a> to make testing a large number of CSS files easier.</p>
14
+
15
+
16
+ <h2>Requirements</h2>
17
+ <p>A Java 2 Virtual Machine is required to use the validator.
18
+ You can download one from <a href="http://java.sun.com/">Sun</a> if you do not have one installed.</p>
19
+
20
+ <h2>Usage</h2>
21
+ <h2>Summary</h2>
22
+ <p><code>java -jar <samp>~/css-validator/</samp>css-validator.jar [-options] files URLs</code></p>
23
+ <h2>Sample</h2>
24
+ <pre>
25
+ java -jar ~/css-validator/css-validator.jar f1.css http://illumit.com/
26
+ </pre>
27
+ <h2>Options</h2>
28
+ <dl>
29
+ <dt>-e</dt><dd>Show errors only.</dd>
30
+ <dt>-html</dt><dd>Output HTML.</dd>
31
+ <dt>-css1 | -css2 | -css21 | -css3 | -svg | -svgbasic | -svgtiny</dt>
32
+ <dd>Specify CSS version. CSS2 is the default.</dd>
33
+ </dl>
34
+
35
+ <h2>Support</h2>
36
+
37
+ <p>If you have questions about how this distribution is built or packaged,
38
+ <a href="mailto:contact@illumit.com">mailto:contact@illumit.com</a>.</p>
39
+
40
+ <p>Use the CSS Validator <a href="http://jigsaw.w3.org/css-validator/Email">Feedback</a>
41
+ page if you have any questions or problems with the validator itself.</p>
42
+
43
+ <p class="Footnote">Updates are announced on via
44
+ <a class="RSSLink" rel="alternate" type="application/rss+xml" href="http://www.illumit.com/site.rss">RSS</a></p>
45
+
46
+ <!--
47
+ <h2>Contents</h2>
48
+ <ul>
49
+ <li><a href="css-validator.jar">css-validator.jar</a> Executable JAR package</li>
50
+ <li><a href="COPYRIGHT.html">COPYRIGHT.html</a> CSS Validator Copyright Notice</li>
51
+ <li><a href="css-validator-javadoc.jar">css-validator-javadoc.jar</a> CSS Validator API Docs</li>
52
+ <li>Required libraries:<ul>
53
+ <li><a href="jigsaw.jar">jigsaw.jar</a> and <a href="JIGSAW_COPYRIGHT">JIGSAW_COPYRIGHT</a></li>
54
+ <li><a href="xerces.jar">xerces.jar</a> and <a href="XERCES_COPYING.txt">XERCES_COPYING.txt</a></li>
55
+ </ul>
56
+ </li>
57
+ </ul>
58
+ -->
59
+
60
+ <h2>Download</h2>
61
+
62
+ <p>Download the css validator binary distribution <a href="css-validator.zip">css-validator.zip</a>. Extract the files (OS X and *ix users can use unzip).</p>
63
+
64
+
65
+ <h2><a name="asis">License Agreement</a></h2>
66
+
67
+ <p>This is a binary distribution of <a href="http://jigsaw.w3.org/css-validator">W3C CSS Validator</a> Version 2.0
68
+ It was built from the <a href="http://dev.w3.org/cvsweb/2002/css-validator">source</a> on June 25, 2006.
69
+ No modifications were made to the source.</p>
70
+
71
+ <p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
72
+ ILLUMIT L.L.C AND THE COPYRIGHT HOLDERS (W3C) MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
73
+ IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
74
+ MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
75
+ USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
76
+ PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
77
+
78
+ <p>ILLUMIT L.L.C AND THE COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
79
+ SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
80
+ SOFTWARE OR DOCUMENTATION.</p>
81
+
82
+ </body>
83
+ </html>