Nathan Weizenbaum
616a00cea6
[Sass] Improve error handling.
...
Unify and clarify the way Sass errors are handled (see notes in Sass::Error).
This fixes some bugs with filenames and/or line numbers being mis-recorded for imports.
2009-09-14 02:41:16 -07:00
Nathan Weizenbaum
49812d64ae
[Sass] Get rid of some unnecessary error line specifications.
2009-09-13 14:33:04 -07:00
Joe Wasson
0878919523
Fix cache-marshalling errors on Windows.
...
On Windows, if a file is opened as text and then passed to Marshal.load
the call will fail if input has been read, per this thread:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/96123 .
This change opens the cache files in binary mode.
After that change marshalling wouldn't load the file correctly.
I fixed this problem by opening the file for binary when writing the cache file.
2009-07-04 14:43:35 -07:00
Nathan Weizenbaum
73dd210858
Move the Haml and Sass references into their own files.
2009-06-18 13:40:57 -07:00
Nathan Weizenbaum
ba2d0b1458
Merge branch 'master' into yard
2009-06-01 00:50:24 -07:00
Nathan Weizenbaum
3976fb5084
[Sass] Allow absolute-path imports.
2009-06-01 00:31:46 -07:00
Nathan Weizenbaum
b6b292f06c
Merge branch 'master' into yard
2009-05-19 09:32:31 -07:00
Nathan Weizenbaum
535996aaea
[Sass] Fix my exception syntax.
2009-05-19 09:32:24 -07:00
Nathan Weizenbaum
18019ff0c2
Merge branch 'master' into yard
2009-05-19 09:28:15 -07:00
Nathan Weizenbaum
e59cc7090c
[Sass] Make sure we write out newline characters to sassc files.
2009-05-19 09:28:08 -07:00
Nathan Weizenbaum
8396a7978f
Merge branch 'master' into yard
2009-05-19 09:26:29 -07:00
Nathan Weizenbaum
ee1f79286b
[Sass] Catch TypeErrors, too, when reading marshalled data.
2009-05-19 09:24:53 -07:00
Chris Eppstein
f981ef8d74
[Sass] Don't fail if a cache file can't be unmarshalled. Instead, issue warning and proceed to recreate the cache file.
2009-05-19 08:30:06 -07:00
Nathan Weizenbaum
036686199e
[Sass] Bring the Sass documentation anchors in line with the Haml ones.
2009-05-13 20:40:59 -07:00
Nathan Weizenbaum
89b89d53c4
Merge branch 'master' into yard
2009-05-13 15:39:31 -07:00
Chris Eppstein
5d7334e0fe
[Sass] Pick up option changes on recompile for cached sass files.
2009-05-13 14:09:35 -07:00
Nathan Weizenbaum
e078110853
[Sass] Fix an old merge error.
2009-05-10 02:04:40 -07:00
Nathan Weizenbaum
e38262b513
[Sass] Get rid of a few remaining references to precompilation.
2009-04-22 16:42:44 -07:00
Nathan Weizenbaum
43dcab0254
[Sass] Add an option to disable caching.
2009-04-22 16:41:55 -07:00
Nathan Weizenbaum
7499f0b5f8
[Sass] Terminology change: precompiled -> cache.
2009-04-22 13:12:32 -07:00
Nathan Weizenbaum
5a945e1533
[Sass] Move import- and precompiled-file management to a separate module.
2009-04-22 00:02:50 -07:00