Commit Graph

20 Commits

Author SHA1 Message Date
nex3 d7030e9c7d [Haml] Preparse simple attribute hashes, for great speed. Thanks go to Tom Bagby for the initial patch.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@525 7063305b-7217-0410-af8c-cdc13e5119b9
2007-06-02 10:45:24 +00:00
nex3 98b31319ab Local variables assigned as actual local variables, rather than methods. Based on a patch by Tom Bagby.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@511 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-10 08:12:20 +00:00
nex3 d5c5516e2e "==" syntax works for lines with tags (e.g. "%p== Foo #{bar}"). Patch by Thomas Brian - thanks!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@506 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-07 18:16:24 +00:00
nex3 3736c8b7e9 Super speed boost! Like, I'm talking ZOOM! The patch was written by Tom Bagby and modified by myself to make it a bit leaner. The basic idea is that instead of caching the compiled template as a string of Ruby code, we cache it as a compiled method. This means that caching doesn't have to be done Template-side, which also means the :precompiled option now doesn't do anything. I don't think anyone used it anyway, though, so we're all good.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@504 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-07 08:17:16 +00:00
nex3 d30629a966 Intuitive handling for classes with nil ids. Thanks to Nick Howell!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@498 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-17 06:49:07 +00:00
nex3 6b49832256 Engine shouldn't modify the actual class of the scope object when assigning local_assigns.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@497 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-16 01:38:25 +00:00
nex3 b513b5231d Missed a few :suppress_eval things. Fixed in trunk, soon in stable.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@489 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-09 17:03:12 +00:00
nex3 60bc7aba26 :suppress_eval didn't work on some suppressions. Now it does.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@454 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-27 20:24:29 +00:00
nex3 c70e57eb12 Added support for auto-closing Haml tags.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@453 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-26 06:03:29 +00:00
nex3 a540b2a4bd Tests - and requisite fixes - for Sassy importing.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@448 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-25 08:20:33 +00:00
nex3 6ffafd6b9a ".{}" produces an exception.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@399 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-07 10:57:45 +00:00
nex3 a94b40953a 100% Rcov! Woo-hoo! Yeah!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@325 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-31 06:38:23 +00:00
nex3 81cf2f5e8e Errors thrown for improper tabulation.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@314 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-27 11:03:40 +00:00
nex3 9846d89754 Wonderful, sensical error-reporting implemented. Yay!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@313 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-27 10:29:14 +00:00
nex3 c3961cf24d Added a nice module, Haml::Error, that compilation errors include. Provides a framework for a Haml::SyntaxError class, as well.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@307 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-27 02:08:08 +00:00
nex3 564ef7ef80 Better option handling.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@300 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-21 01:24:16 +00:00
nex3 d9f27b263f Fix for quote character bug (1.5dev)
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@206 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-10 21:56:05 +00:00
nex3 d10b74e7e9 Made require more sane by messing with $LOAD_PATH. Also fixed rcov in the process.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@190 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 23:56:47 +00:00
nex3 01dad1e2e8 Tests work to the extent they did before reorganization.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@187 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 22:37:17 +00:00
nex3 8b9e5a7bb2 Moving Haml tests into their own folder.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@184 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 22:25:40 +00:00