sassc 1.7.1 → 1.8.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -1
  3. data/ext/libsass/.gitignore +10 -6
  4. data/ext/libsass/.travis.yml +4 -1
  5. data/ext/libsass/GNUmakefile.am +88 -0
  6. data/ext/libsass/Makefile +157 -76
  7. data/ext/libsass/Makefile.conf +47 -0
  8. data/ext/libsass/Readme.md +13 -14
  9. data/ext/libsass/appveyor.yml +25 -41
  10. data/ext/libsass/configure.ac +20 -7
  11. data/ext/libsass/contrib/plugin.cpp +1 -1
  12. data/ext/libsass/include/sass.h +15 -0
  13. data/ext/libsass/{sass.h → include/sass/base.h} +17 -9
  14. data/ext/libsass/{sass_context.h → include/sass/context.h} +3 -1
  15. data/ext/libsass/{sass_functions.h → include/sass/functions.h} +4 -4
  16. data/ext/libsass/{sass_interface.h → include/sass/interface.h} +5 -2
  17. data/ext/libsass/{sass_values.h → include/sass/values.h} +15 -1
  18. data/ext/libsass/{sass_version.h → include/sass/version.h} +0 -0
  19. data/ext/libsass/{sass_version.h.in → include/sass/version.h.in} +0 -0
  20. data/ext/libsass/{sass2scss.h → include/sass2scss.h} +6 -7
  21. data/ext/libsass/m4/m4-ax_cxx_compile_stdcxx_11.m4 +167 -0
  22. data/ext/libsass/script/ci-build-libsass +67 -23
  23. data/ext/libsass/src/GNUmakefile.am +54 -0
  24. data/ext/libsass/src/ast.cpp +2029 -0
  25. data/ext/libsass/{ast.hpp → src/ast.hpp} +832 -660
  26. data/ext/libsass/src/ast_def_macros.hpp +47 -0
  27. data/ext/libsass/src/ast_factory.hpp +93 -0
  28. data/ext/libsass/{ast_fwd_decl.hpp → src/ast_fwd_decl.hpp} +9 -4
  29. data/ext/libsass/{b64 → src/b64}/cencode.h +1 -1
  30. data/ext/libsass/{b64 → src/b64}/encode.h +0 -0
  31. data/ext/libsass/{backtrace.hpp → src/backtrace.hpp} +9 -10
  32. data/ext/libsass/{base64vlq.cpp → src/base64vlq.cpp} +2 -2
  33. data/ext/libsass/{base64vlq.hpp → src/base64vlq.hpp} +1 -2
  34. data/ext/libsass/{bind.cpp → src/bind.cpp} +96 -59
  35. data/ext/libsass/{bind.hpp → src/bind.hpp} +1 -1
  36. data/ext/libsass/src/c99func.c +54 -0
  37. data/ext/libsass/{cencode.c → src/cencode.c} +5 -5
  38. data/ext/libsass/src/color_maps.cpp +643 -0
  39. data/ext/libsass/src/color_maps.hpp +333 -0
  40. data/ext/libsass/{constants.cpp → src/constants.cpp} +10 -1
  41. data/ext/libsass/{constants.hpp → src/constants.hpp} +7 -0
  42. data/ext/libsass/{context.cpp → src/context.cpp} +152 -122
  43. data/ext/libsass/src/context.hpp +150 -0
  44. data/ext/libsass/{cssize.cpp → src/cssize.cpp} +123 -109
  45. data/ext/libsass/{cssize.hpp → src/cssize.hpp} +9 -13
  46. data/ext/libsass/{debug.hpp → src/debug.hpp} +9 -9
  47. data/ext/libsass/src/debugger.hpp +683 -0
  48. data/ext/libsass/{emitter.cpp → src/emitter.cpp} +13 -13
  49. data/ext/libsass/{emitter.hpp → src/emitter.hpp} +10 -11
  50. data/ext/libsass/src/environment.cpp +184 -0
  51. data/ext/libsass/src/environment.hpp +92 -0
  52. data/ext/libsass/src/error_handling.cpp +46 -0
  53. data/ext/libsass/src/error_handling.hpp +34 -0
  54. data/ext/libsass/src/eval.cpp +1462 -0
  55. data/ext/libsass/src/eval.hpp +107 -0
  56. data/ext/libsass/src/expand.cpp +653 -0
  57. data/ext/libsass/{expand.hpp → src/expand.hpp} +17 -16
  58. data/ext/libsass/{extend.cpp → src/extend.cpp} +198 -139
  59. data/ext/libsass/{extend.hpp → src/extend.hpp} +7 -8
  60. data/ext/libsass/{file.cpp → src/file.cpp} +103 -57
  61. data/ext/libsass/{file.hpp → src/file.hpp} +23 -14
  62. data/ext/libsass/{functions.cpp → src/functions.cpp} +642 -333
  63. data/ext/libsass/{functions.hpp → src/functions.hpp} +17 -4
  64. data/ext/libsass/{inspect.cpp → src/inspect.cpp} +147 -260
  65. data/ext/libsass/{inspect.hpp → src/inspect.hpp} +7 -7
  66. data/ext/libsass/{json.cpp → src/json.cpp} +33 -43
  67. data/ext/libsass/{json.hpp → src/json.hpp} +1 -1
  68. data/ext/libsass/{kwd_arg_macros.hpp → src/kwd_arg_macros.hpp} +0 -0
  69. data/ext/libsass/{lexer.cpp → src/lexer.cpp} +28 -0
  70. data/ext/libsass/{lexer.hpp → src/lexer.hpp} +25 -10
  71. data/ext/libsass/{listize.cpp → src/listize.cpp} +17 -13
  72. data/ext/libsass/{listize.hpp → src/listize.hpp} +0 -2
  73. data/ext/libsass/{mapping.hpp → src/mapping.hpp} +0 -0
  74. data/ext/libsass/src/memory_manager.cpp +76 -0
  75. data/ext/libsass/src/memory_manager.hpp +48 -0
  76. data/ext/libsass/{node.cpp → src/node.cpp} +89 -18
  77. data/ext/libsass/{node.hpp → src/node.hpp} +5 -6
  78. data/ext/libsass/{operation.hpp → src/operation.hpp} +18 -12
  79. data/ext/libsass/{output.cpp → src/output.cpp} +47 -55
  80. data/ext/libsass/{output.hpp → src/output.hpp} +5 -4
  81. data/ext/libsass/src/parser.cpp +2529 -0
  82. data/ext/libsass/{parser.hpp → src/parser.hpp} +84 -60
  83. data/ext/libsass/{paths.hpp → src/paths.hpp} +10 -13
  84. data/ext/libsass/{plugins.cpp → src/plugins.cpp} +14 -17
  85. data/ext/libsass/{plugins.hpp → src/plugins.hpp} +10 -11
  86. data/ext/libsass/{position.cpp → src/position.cpp} +5 -6
  87. data/ext/libsass/{position.hpp → src/position.hpp} +19 -22
  88. data/ext/libsass/{prelexer.cpp → src/prelexer.cpp} +401 -53
  89. data/ext/libsass/{prelexer.hpp → src/prelexer.hpp} +50 -10
  90. data/ext/libsass/{remove_placeholders.cpp → src/remove_placeholders.cpp} +12 -16
  91. data/ext/libsass/{remove_placeholders.hpp → src/remove_placeholders.hpp} +1 -7
  92. data/ext/libsass/{sass.cpp → src/sass.cpp} +3 -5
  93. data/ext/libsass/{sass2scss.cpp → src/sass2scss.cpp} +51 -46
  94. data/ext/libsass/{sass_context.cpp → src/sass_context.cpp} +114 -112
  95. data/ext/libsass/{sass_functions.cpp → src/sass_functions.cpp} +11 -18
  96. data/ext/libsass/{sass_interface.cpp → src/sass_interface.cpp} +44 -81
  97. data/ext/libsass/{sass_util.cpp → src/sass_util.cpp} +26 -8
  98. data/ext/libsass/{sass_util.hpp → src/sass_util.hpp} +14 -18
  99. data/ext/libsass/{sass_values.cpp → src/sass_values.cpp} +91 -20
  100. data/ext/libsass/{source_map.cpp → src/source_map.cpp} +13 -13
  101. data/ext/libsass/{source_map.hpp → src/source_map.hpp} +9 -9
  102. data/ext/libsass/{subset_map.hpp → src/subset_map.hpp} +29 -31
  103. data/ext/libsass/{support → src/support}/libsass.pc.in +0 -0
  104. data/ext/libsass/src/to_c.cpp +73 -0
  105. data/ext/libsass/src/to_c.hpp +41 -0
  106. data/ext/libsass/src/to_string.cpp +47 -0
  107. data/ext/libsass/{to_string.hpp → src/to_string.hpp} +9 -7
  108. data/ext/libsass/src/to_value.cpp +109 -0
  109. data/ext/libsass/src/to_value.hpp +50 -0
  110. data/ext/libsass/{units.cpp → src/units.cpp} +56 -51
  111. data/ext/libsass/{units.hpp → src/units.hpp} +8 -9
  112. data/ext/libsass/{utf8.h → src/utf8.h} +0 -0
  113. data/ext/libsass/{utf8 → src/utf8}/checked.h +0 -0
  114. data/ext/libsass/{utf8 → src/utf8}/core.h +12 -12
  115. data/ext/libsass/{utf8 → src/utf8}/unchecked.h +0 -0
  116. data/ext/libsass/{utf8_string.cpp → src/utf8_string.cpp} +0 -0
  117. data/ext/libsass/{utf8_string.hpp → src/utf8_string.hpp} +6 -6
  118. data/ext/libsass/{util.cpp → src/util.cpp} +144 -86
  119. data/ext/libsass/src/util.hpp +59 -0
  120. data/ext/libsass/src/values.cpp +137 -0
  121. data/ext/libsass/src/values.hpp +12 -0
  122. data/ext/libsass/test/test_node.cpp +33 -33
  123. data/ext/libsass/test/test_paths.cpp +5 -6
  124. data/ext/libsass/test/test_selector_difference.cpp +4 -5
  125. data/ext/libsass/test/test_specificity.cpp +4 -5
  126. data/ext/libsass/test/test_subset_map.cpp +91 -91
  127. data/ext/libsass/test/test_superselector.cpp +11 -11
  128. data/ext/libsass/test/test_unification.cpp +4 -4
  129. data/ext/libsass/win/libsass.targets +101 -0
  130. data/ext/libsass/win/libsass.vcxproj +45 -127
  131. data/ext/libsass/win/libsass.vcxproj.filters +303 -0
  132. data/lib/sassc/import_handler.rb +1 -1
  133. data/lib/sassc/native/native_functions_api.rb +3 -3
  134. data/lib/sassc/version.rb +1 -1
  135. data/test/custom_importer_test.rb +1 -4
  136. data/test/functions_test.rb +3 -2
  137. data/test/native_test.rb +4 -3
  138. metadata +117 -110
  139. data/ext/libsass/Makefile.am +0 -146
  140. data/ext/libsass/ast.cpp +0 -945
  141. data/ext/libsass/ast_def_macros.hpp +0 -21
  142. data/ext/libsass/ast_factory.hpp +0 -92
  143. data/ext/libsass/color_names.hpp +0 -327
  144. data/ext/libsass/context.hpp +0 -157
  145. data/ext/libsass/contextualize.cpp +0 -148
  146. data/ext/libsass/contextualize.hpp +0 -46
  147. data/ext/libsass/contextualize_eval.cpp +0 -93
  148. data/ext/libsass/contextualize_eval.hpp +0 -44
  149. data/ext/libsass/debugger.hpp +0 -558
  150. data/ext/libsass/environment.hpp +0 -163
  151. data/ext/libsass/error_handling.cpp +0 -35
  152. data/ext/libsass/error_handling.hpp +0 -32
  153. data/ext/libsass/eval.cpp +0 -1392
  154. data/ext/libsass/eval.hpp +0 -88
  155. data/ext/libsass/expand.cpp +0 -575
  156. data/ext/libsass/memory_manager.hpp +0 -57
  157. data/ext/libsass/parser.cpp +0 -2403
  158. data/ext/libsass/posix/getopt.c +0 -562
  159. data/ext/libsass/posix/getopt.h +0 -95
  160. data/ext/libsass/to_c.cpp +0 -61
  161. data/ext/libsass/to_c.hpp +0 -44
  162. data/ext/libsass/to_string.cpp +0 -34
  163. data/ext/libsass/util.hpp +0 -54
  164. data/ext/libsass/win/libsass.filters +0 -312
@@ -24,7 +24,7 @@ module SassC
24
24
  def import_function
25
25
  @import_function ||= FFI::Function.new(:pointer, [:string, :pointer, :pointer]) do |path, importer_entry, compiler|
26
26
  last_import = Native::compiler_get_last_import(compiler)
27
- parent_path = Native::import_get_path(last_import)
27
+ parent_path = Native::import_get_imp_path(last_import)
28
28
 
29
29
  imports = [*@importer.imports(path, parent_path)]
30
30
  imports_to_native(imports)
@@ -100,9 +100,9 @@ module SassC
100
100
  # ADDAPI struct Sass_Import* ADDCALL sass_import_get_list_entry (struct Sass_Import** list, size_t idx);
101
101
 
102
102
  # Getters for import entry
103
- # ADDAPI const char* ADDCALL sass_import_get_path (struct Sass_Import*);
104
- attach_function :sass_import_get_path, [:sass_import_ptr], :string
105
- # ADDAPI const char* ADDCALL sass_import_get_base (struct Sass_Import*);
103
+ # ADDAPI const char* ADDCALL sass_import_get_imp_path (struct Sass_Import*);
104
+ attach_function :sass_import_get_imp_path, [:sass_import_ptr], :string
105
+ # ADDAPI const char* ADDCALL sass_import_get_abs_path (struct Sass_Import*);
106
106
  # ADDAPI const char* ADDCALL sass_import_get_source (struct Sass_Import*);
107
107
  attach_function :sass_import_get_source, [:sass_import_ptr], :string
108
108
  # ADDAPI const char* ADDCALL sass_import_get_srcmap (struct Sass_Import*);
@@ -1,3 +1,3 @@
1
1
  module SassC
2
- VERSION = "1.7.1"
2
+ VERSION = "1.8.0.pre1"
3
3
  end
@@ -80,13 +80,10 @@ SCSS
80
80
 
81
81
  dependencies = engine.dependencies.map(&:filename)
82
82
 
83
- # TODO: this behavior is kind of weird (styles1.scss is not included)
84
- # not sure why.
85
-
86
83
  assert_equal [
87
84
  "fonts/fonts.scss",
88
85
  "fonts/sub/sub_fonts.scss",
89
- "styles",
86
+ "styles1.scss",
90
87
  "styles2.scss"
91
88
  ], dependencies
92
89
  end
@@ -141,8 +141,9 @@ module SassC
141
141
  Script::String.new("#{path.value}", :string)
142
142
  end
143
143
 
144
- def optional_arguments(path, optional = "bar")
145
- Script::String.new("#{path.value}/#{optional}", :string)
144
+ def optional_arguments(path, optional = nil)
145
+ optional ||= Script::String.new("bar")
146
+ Script::String.new("#{path.value}/#{optional.value}", :string)
146
147
  end
147
148
 
148
149
  def function_that_raises_errors
@@ -9,13 +9,13 @@ module SassC
9
9
 
10
10
  class General < MiniTest::Test
11
11
  def test_it_reports_the_libsass_version
12
- assert_equal "3.2.5", Native.version
12
+ assert_equal "3.3.0-beta3", Native.version
13
13
  end
14
14
  end
15
15
 
16
16
  class DataContext < MiniTest::Test
17
17
  def teardown
18
- Native.delete_data_context(@data_context)
18
+ Native.delete_data_context(@data_context) if @data_context
19
19
  end
20
20
 
21
21
  def test_compile_status_is_zero_when_successful
@@ -58,6 +58,7 @@ module SassC
58
58
  end
59
59
 
60
60
  def test_failed_compile_gives_error_message
61
+ skip
61
62
  end
62
63
 
63
64
  def test_custom_function
@@ -106,7 +107,7 @@ module SassC
106
107
  include TempFileTest
107
108
 
108
109
  def teardown
109
- Native.delete_file_context(@file_context)
110
+ Native.delete_file_context(@file_context) if @file_context
110
111
  end
111
112
 
112
113
  def test_compile_status_is_zero_when_successful
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sassc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.8.0.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Boland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2015-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -143,105 +143,30 @@ files:
143
143
  - ext/libsass/.gitignore
144
144
  - ext/libsass/.travis.yml
145
145
  - ext/libsass/COPYING
146
+ - ext/libsass/GNUmakefile.am
146
147
  - ext/libsass/INSTALL
147
148
  - ext/libsass/LICENSE
148
149
  - ext/libsass/Makefile
149
- - ext/libsass/Makefile.am
150
+ - ext/libsass/Makefile.conf
150
151
  - ext/libsass/Readme.md
151
152
  - ext/libsass/SECURITY.md
152
153
  - ext/libsass/appveyor.yml
153
- - ext/libsass/ast.cpp
154
- - ext/libsass/ast.hpp
155
- - ext/libsass/ast_def_macros.hpp
156
- - ext/libsass/ast_factory.hpp
157
- - ext/libsass/ast_fwd_decl.hpp
158
- - ext/libsass/b64/cencode.h
159
- - ext/libsass/b64/encode.h
160
- - ext/libsass/backtrace.hpp
161
- - ext/libsass/base64vlq.cpp
162
- - ext/libsass/base64vlq.hpp
163
- - ext/libsass/bind.cpp
164
- - ext/libsass/bind.hpp
165
- - ext/libsass/cencode.c
166
- - ext/libsass/color_names.hpp
167
154
  - ext/libsass/configure.ac
168
- - ext/libsass/constants.cpp
169
- - ext/libsass/constants.hpp
170
- - ext/libsass/context.cpp
171
- - ext/libsass/context.hpp
172
- - ext/libsass/contextualize.cpp
173
- - ext/libsass/contextualize.hpp
174
- - ext/libsass/contextualize_eval.cpp
175
- - ext/libsass/contextualize_eval.hpp
176
155
  - ext/libsass/contrib/libsass.spec
177
156
  - ext/libsass/contrib/plugin.cpp
178
- - ext/libsass/cssize.cpp
179
- - ext/libsass/cssize.hpp
180
- - ext/libsass/debug.hpp
181
- - ext/libsass/debugger.hpp
182
- - ext/libsass/emitter.cpp
183
- - ext/libsass/emitter.hpp
184
- - ext/libsass/environment.hpp
185
- - ext/libsass/error_handling.cpp
186
- - ext/libsass/error_handling.hpp
187
- - ext/libsass/eval.cpp
188
- - ext/libsass/eval.hpp
189
- - ext/libsass/expand.cpp
190
- - ext/libsass/expand.hpp
191
157
  - ext/libsass/extconf.rb
192
- - ext/libsass/extend.cpp
193
- - ext/libsass/extend.hpp
194
- - ext/libsass/file.cpp
195
- - ext/libsass/file.hpp
196
- - ext/libsass/functions.cpp
197
- - ext/libsass/functions.hpp
198
- - ext/libsass/inspect.cpp
199
- - ext/libsass/inspect.hpp
200
- - ext/libsass/json.cpp
201
- - ext/libsass/json.hpp
202
- - ext/libsass/kwd_arg_macros.hpp
203
- - ext/libsass/lexer.cpp
204
- - ext/libsass/lexer.hpp
205
- - ext/libsass/listize.cpp
206
- - ext/libsass/listize.hpp
158
+ - ext/libsass/include/sass.h
159
+ - ext/libsass/include/sass/base.h
160
+ - ext/libsass/include/sass/context.h
161
+ - ext/libsass/include/sass/functions.h
162
+ - ext/libsass/include/sass/interface.h
163
+ - ext/libsass/include/sass/values.h
164
+ - ext/libsass/include/sass/version.h
165
+ - ext/libsass/include/sass/version.h.in
166
+ - ext/libsass/include/sass2scss.h
207
167
  - ext/libsass/m4/.gitkeep
208
- - ext/libsass/mapping.hpp
209
- - ext/libsass/memory_manager.hpp
210
- - ext/libsass/node.cpp
211
- - ext/libsass/node.hpp
212
- - ext/libsass/operation.hpp
213
- - ext/libsass/output.cpp
214
- - ext/libsass/output.hpp
215
- - ext/libsass/parser.cpp
216
- - ext/libsass/parser.hpp
217
- - ext/libsass/paths.hpp
218
- - ext/libsass/plugins.cpp
219
- - ext/libsass/plugins.hpp
220
- - ext/libsass/position.cpp
221
- - ext/libsass/position.hpp
222
- - ext/libsass/posix/getopt.c
223
- - ext/libsass/posix/getopt.h
224
- - ext/libsass/prelexer.cpp
225
- - ext/libsass/prelexer.hpp
226
- - ext/libsass/remove_placeholders.cpp
227
- - ext/libsass/remove_placeholders.hpp
168
+ - ext/libsass/m4/m4-ax_cxx_compile_stdcxx_11.m4
228
169
  - ext/libsass/res/resource.rc
229
- - ext/libsass/sass.cpp
230
- - ext/libsass/sass.h
231
- - ext/libsass/sass2scss.cpp
232
- - ext/libsass/sass2scss.h
233
- - ext/libsass/sass_context.cpp
234
- - ext/libsass/sass_context.h
235
- - ext/libsass/sass_functions.cpp
236
- - ext/libsass/sass_functions.h
237
- - ext/libsass/sass_interface.cpp
238
- - ext/libsass/sass_interface.h
239
- - ext/libsass/sass_util.cpp
240
- - ext/libsass/sass_util.hpp
241
- - ext/libsass/sass_values.cpp
242
- - ext/libsass/sass_values.h
243
- - ext/libsass/sass_version.h
244
- - ext/libsass/sass_version.h.in
245
170
  - ext/libsass/script/bootstrap
246
171
  - ext/libsass/script/branding
247
172
  - ext/libsass/script/ci-build-libsass
@@ -252,10 +177,105 @@ files:
252
177
  - ext/libsass/script/spec
253
178
  - ext/libsass/script/tap-driver
254
179
  - ext/libsass/script/tap-runner
255
- - ext/libsass/source_map.cpp
256
- - ext/libsass/source_map.hpp
257
- - ext/libsass/subset_map.hpp
258
- - ext/libsass/support/libsass.pc.in
180
+ - ext/libsass/src/GNUmakefile.am
181
+ - ext/libsass/src/ast.cpp
182
+ - ext/libsass/src/ast.hpp
183
+ - ext/libsass/src/ast_def_macros.hpp
184
+ - ext/libsass/src/ast_factory.hpp
185
+ - ext/libsass/src/ast_fwd_decl.hpp
186
+ - ext/libsass/src/b64/cencode.h
187
+ - ext/libsass/src/b64/encode.h
188
+ - ext/libsass/src/backtrace.hpp
189
+ - ext/libsass/src/base64vlq.cpp
190
+ - ext/libsass/src/base64vlq.hpp
191
+ - ext/libsass/src/bind.cpp
192
+ - ext/libsass/src/bind.hpp
193
+ - ext/libsass/src/c99func.c
194
+ - ext/libsass/src/cencode.c
195
+ - ext/libsass/src/color_maps.cpp
196
+ - ext/libsass/src/color_maps.hpp
197
+ - ext/libsass/src/constants.cpp
198
+ - ext/libsass/src/constants.hpp
199
+ - ext/libsass/src/context.cpp
200
+ - ext/libsass/src/context.hpp
201
+ - ext/libsass/src/cssize.cpp
202
+ - ext/libsass/src/cssize.hpp
203
+ - ext/libsass/src/debug.hpp
204
+ - ext/libsass/src/debugger.hpp
205
+ - ext/libsass/src/emitter.cpp
206
+ - ext/libsass/src/emitter.hpp
207
+ - ext/libsass/src/environment.cpp
208
+ - ext/libsass/src/environment.hpp
209
+ - ext/libsass/src/error_handling.cpp
210
+ - ext/libsass/src/error_handling.hpp
211
+ - ext/libsass/src/eval.cpp
212
+ - ext/libsass/src/eval.hpp
213
+ - ext/libsass/src/expand.cpp
214
+ - ext/libsass/src/expand.hpp
215
+ - ext/libsass/src/extend.cpp
216
+ - ext/libsass/src/extend.hpp
217
+ - ext/libsass/src/file.cpp
218
+ - ext/libsass/src/file.hpp
219
+ - ext/libsass/src/functions.cpp
220
+ - ext/libsass/src/functions.hpp
221
+ - ext/libsass/src/inspect.cpp
222
+ - ext/libsass/src/inspect.hpp
223
+ - ext/libsass/src/json.cpp
224
+ - ext/libsass/src/json.hpp
225
+ - ext/libsass/src/kwd_arg_macros.hpp
226
+ - ext/libsass/src/lexer.cpp
227
+ - ext/libsass/src/lexer.hpp
228
+ - ext/libsass/src/listize.cpp
229
+ - ext/libsass/src/listize.hpp
230
+ - ext/libsass/src/mapping.hpp
231
+ - ext/libsass/src/memory_manager.cpp
232
+ - ext/libsass/src/memory_manager.hpp
233
+ - ext/libsass/src/node.cpp
234
+ - ext/libsass/src/node.hpp
235
+ - ext/libsass/src/operation.hpp
236
+ - ext/libsass/src/output.cpp
237
+ - ext/libsass/src/output.hpp
238
+ - ext/libsass/src/parser.cpp
239
+ - ext/libsass/src/parser.hpp
240
+ - ext/libsass/src/paths.hpp
241
+ - ext/libsass/src/plugins.cpp
242
+ - ext/libsass/src/plugins.hpp
243
+ - ext/libsass/src/position.cpp
244
+ - ext/libsass/src/position.hpp
245
+ - ext/libsass/src/prelexer.cpp
246
+ - ext/libsass/src/prelexer.hpp
247
+ - ext/libsass/src/remove_placeholders.cpp
248
+ - ext/libsass/src/remove_placeholders.hpp
249
+ - ext/libsass/src/sass.cpp
250
+ - ext/libsass/src/sass2scss.cpp
251
+ - ext/libsass/src/sass_context.cpp
252
+ - ext/libsass/src/sass_functions.cpp
253
+ - ext/libsass/src/sass_interface.cpp
254
+ - ext/libsass/src/sass_util.cpp
255
+ - ext/libsass/src/sass_util.hpp
256
+ - ext/libsass/src/sass_values.cpp
257
+ - ext/libsass/src/source_map.cpp
258
+ - ext/libsass/src/source_map.hpp
259
+ - ext/libsass/src/subset_map.hpp
260
+ - ext/libsass/src/support/libsass.pc.in
261
+ - ext/libsass/src/to_c.cpp
262
+ - ext/libsass/src/to_c.hpp
263
+ - ext/libsass/src/to_string.cpp
264
+ - ext/libsass/src/to_string.hpp
265
+ - ext/libsass/src/to_value.cpp
266
+ - ext/libsass/src/to_value.hpp
267
+ - ext/libsass/src/units.cpp
268
+ - ext/libsass/src/units.hpp
269
+ - ext/libsass/src/utf8.h
270
+ - ext/libsass/src/utf8/checked.h
271
+ - ext/libsass/src/utf8/core.h
272
+ - ext/libsass/src/utf8/unchecked.h
273
+ - ext/libsass/src/utf8_string.cpp
274
+ - ext/libsass/src/utf8_string.hpp
275
+ - ext/libsass/src/util.cpp
276
+ - ext/libsass/src/util.hpp
277
+ - ext/libsass/src/values.cpp
278
+ - ext/libsass/src/values.hpp
259
279
  - ext/libsass/test/test_node.cpp
260
280
  - ext/libsass/test/test_paths.cpp
261
281
  - ext/libsass/test/test_selector_difference.cpp
@@ -263,24 +283,11 @@ files:
263
283
  - ext/libsass/test/test_subset_map.cpp
264
284
  - ext/libsass/test/test_superselector.cpp
265
285
  - ext/libsass/test/test_unification.cpp
266
- - ext/libsass/to_c.cpp
267
- - ext/libsass/to_c.hpp
268
- - ext/libsass/to_string.cpp
269
- - ext/libsass/to_string.hpp
270
- - ext/libsass/units.cpp
271
- - ext/libsass/units.hpp
272
- - ext/libsass/utf8.h
273
- - ext/libsass/utf8/checked.h
274
- - ext/libsass/utf8/core.h
275
- - ext/libsass/utf8/unchecked.h
276
- - ext/libsass/utf8_string.cpp
277
- - ext/libsass/utf8_string.hpp
278
- - ext/libsass/util.cpp
279
- - ext/libsass/util.hpp
280
286
  - ext/libsass/version.sh
281
- - ext/libsass/win/libsass.filters
282
287
  - ext/libsass/win/libsass.sln
288
+ - ext/libsass/win/libsass.targets
283
289
  - ext/libsass/win/libsass.vcxproj
290
+ - ext/libsass/win/libsass.vcxproj.filters
284
291
  - lib/sassc.rb
285
292
  - lib/sassc/cache_stores.rb
286
293
  - lib/sassc/cache_stores/base.rb
@@ -332,9 +339,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
332
339
  version: '0'
333
340
  required_rubygems_version: !ruby/object:Gem::Requirement
334
341
  requirements:
335
- - - ">="
342
+ - - ">"
336
343
  - !ruby/object:Gem::Version
337
- version: '0'
344
+ version: 1.3.1
338
345
  requirements: []
339
346
  rubyforge_project:
340
347
  rubygems_version: 2.2.2
@@ -1,146 +0,0 @@
1
- ACLOCAL_AMFLAGS = -I m4
2
-
3
- AM_COPT = -Wall -O2
4
- AM_COVLDFLAGS =
5
-
6
- if ENABLE_COVERAGE
7
- AM_COPT = -O0 --coverage
8
- AM_COVLDFLAGS += -lgcov
9
- endif
10
-
11
- AM_CFLAGS = $(AM_COPT)
12
- AM_CXXFLAGS = $(AM_COPT)
13
- AM_LDFLAGS = $(AM_COPT) $(AM_COVLDFLAGS)
14
-
15
- if COMPILER_IS_MINGW32
16
- AM_CXXFLAGS += -std=gnu++0x
17
- else
18
- AM_CXXFLAGS += -std=c++0x
19
- endif
20
-
21
- EXTRA_DIST = \
22
- COPYING \
23
- INSTALL \
24
- LICENSE \
25
- Readme.md
26
-
27
- pkgconfigdir = $(libdir)/pkgconfig
28
- pkgconfig_DATA = support/libsass.pc
29
-
30
- lib_LTLIBRARIES = libsass.la
31
-
32
- libsass_la_SOURCES = \
33
- ast_fwd_decl.hpp ast_def_macros.hpp \
34
- kwd_arg_macros.hpp memory_manager.hpp \
35
- position.cpp position.hpp \
36
- operation.hpp \
37
- subset_map.hpp mapping.hpp \
38
- color_names.hpp backtrace.hpp \
39
- cencode.c b64/cencode.h b64/encode.h \
40
- token.hpp environment.hpp \
41
- paths.hpp debug.hpp \
42
- utf8.h utf8/core.h \
43
- utf8/checked.h utf8/unchecked.h \
44
- ast.cpp ast.hpp \
45
- base64vlq.cpp base64vlq.hpp \
46
- bind.cpp bind.hpp \
47
- constants.cpp constants.hpp \
48
- context.cpp context.hpp \
49
- contextualize.cpp contextualize.hpp \
50
- contextualize_eval.cpp contextualize_eval.hpp \
51
- error_handling.cpp error_handling.hpp \
52
- eval.cpp eval.hpp \
53
- expand.cpp expand.hpp \
54
- extend.cpp extend.hpp \
55
- cssize.cpp cssize.hpp \
56
- listize.cpp listize.hpp \
57
- file.cpp file.hpp \
58
- functions.cpp functions.hpp \
59
- inspect.cpp inspect.hpp \
60
- lexer.cpp lexer.hpp \
61
- node.cpp node.hpp \
62
- json.cpp json.hpp \
63
- emitter.cpp emitter.hpp \
64
- output.cpp output.hpp \
65
- parser.cpp parser.hpp \
66
- plugins.cpp plugins.hpp \
67
- prelexer.cpp prelexer.hpp \
68
- remove_placeholders.cpp remove_placeholders.hpp \
69
- sass.cpp sass.h \
70
- sass_util.cpp sass_util.hpp \
71
- sass_values.cpp sass_values.h \
72
- sass_context.cpp sass_context.h \
73
- sass_functions.cpp sass_functions.h \
74
- sass_interface.cpp sass_interface.h \
75
- sass2scss.cpp sass2scss.h \
76
- source_map.cpp source_map.hpp \
77
- to_c.cpp to_c.hpp \
78
- to_string.cpp to_string.hpp \
79
- units.cpp units.hpp \
80
- utf8_string.cpp utf8_string.hpp \
81
- util.cpp util.hpp
82
-
83
- libsass_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -version-info 0:9:0
84
-
85
- include_HEADERS = sass2scss.h sass_context.h sass_functions.h sass_values.h sass.h sass_version.h
86
-
87
- if ENABLE_TESTS
88
-
89
- noinst_PROGRAMS = tester
90
-
91
- tester_LDADD = libsass.la
92
- tester_SOURCES = $(SASS_SASSC_PATH)/sassc.c
93
- SASSC_VERSION=`cd "$(SASS_SASSC_PATH)" && ./version.sh`
94
- tester_CFLAGS = $(AM_CFLAGS) -DSASSC_VERSION="\"$(SASSC_VERSION)\""
95
- tester_CXXFLAGS = $(AM_CXXFLAGS) -DSASSC_VERSION="\"$(SASSC_VERSION)\""
96
- tester_LDFLAGS = $(AM_LDFLAGS) -no-install
97
-
98
- if ENABLE_COVERAGE
99
- nodist_EXTRA_tester_SOURCES = non-existent-file-to-force-CXX-linking.cxx
100
- nodist_EXTRA_libsass_la_SOURCES = non-existent-file-to-force-CXX-linking.cxx
101
- endif
102
-
103
- SASS_SASSC_PATH ?= sassc
104
- SASS_SPEC_PATH ?= sass-spec
105
-
106
- TESTS = \
107
- $(SASS_SPEC_PATH)/spec/basic \
108
- $(SASS_SPEC_PATH)/spec/css \
109
- $(SASS_SPEC_PATH)/spec/extend-tests \
110
- $(SASS_SPEC_PATH)/spec/extends \
111
- $(SASS_SPEC_PATH)/spec/libsass \
112
- $(SASS_SPEC_PATH)/spec/libsass-closed-issues \
113
- $(SASS_SPEC_PATH)/spec/maps \
114
- $(SASS_SPEC_PATH)/spec/misc \
115
- $(SASS_SPEC_PATH)/spec/regressions \
116
- $(SASS_SPEC_PATH)/spec/scss \
117
- $(SASS_SPEC_PATH)/spec/scss-tests \
118
- $(SASS_SPEC_PATH)/spec/types
119
-
120
- SASS_TEST_FLAGS =
121
- LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) ./script/tap-driver
122
- AM_LOG_FLAGS = -c ./tester --ignore-todo $(LOG_FLAGS)
123
- if USE_TAP
124
- AM_LOG_FLAGS += -t
125
- SASS_TEST_FLAGS += -t | tapout
126
- LOG_COMPILER = ./script/tap-runner $(RUBY) $(SASS_SPEC_PATH)/sass-spec.rb
127
- else
128
- LOG_COMPILER = $(RUBY) $(SASS_SPEC_PATH)/sass-spec.rb
129
- endif
130
-
131
- SASS_TESTER = $(RUBY) $(SASS_SPEC_PATH)/sass-spec.rb
132
- SASS_TESTER += -c $(SASS_LIBSASS_PATH)/tester$(EXEEXT)
133
-
134
- test:
135
- $(SASS_TESTER) --ignore-todo $(LOG_FLAGS) $(SASS_SPEC_PATH) $(SASS_TEST_FLAGS)
136
-
137
- test_build:
138
- $(SASS_TESTER) --ignore-todo $(LOG_FLAGS) $(SASS_SPEC_PATH) $(SASS_TEST_FLAGS)
139
-
140
- test_full:
141
- $(SASS_TESTER) $(LOG_FLAGS) $(SASS_SPEC_PATH) $(SASS_TEST_FLAGS)
142
-
143
- test_issues:
144
- $(SASS_TESTER) $(LOG_FLAGS) $(SASS_SPEC_PATH)/spec/issues $(SASS_TEST_FLAGS)
145
-
146
- endif