1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

32 commits

Author SHA1 Message Date
hcatlin
bb68cc45df Adding a test that should be failing now.
A new bug is floating around from the buffered stuff.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@62 7063305b-7217-0410-af8c-cdc13e5119b9
2006-10-05 14:07:12 +00:00
hcatlin
8d7b7d407c Closing patch #34 and converting over to a buffered engine.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@58 7063305b-7217-0410-af8c-cdc13e5119b9
2006-10-02 23:49:53 +00:00
hcatlin
f983380373 Fixing the active-support requirement for the benchmark too.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@57 7063305b-7217-0410-af8c-cdc13e5119b9
2006-10-02 23:39:19 +00:00
hcatlin
f024b2b213 Fixed something to do with how the requires work. Requiring the ActiveSupport stuff earlier on.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@56 7063305b-7217-0410-af8c-cdc13e5119b9
2006-10-02 23:37:49 +00:00
hcatlin
d4a9a3271d Didn't need the empty setup method around anymore.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@55 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-29 20:02:59 +00:00
hcatlin
6a49e27990 Misspelled supress_eval.
Doink!

suppress!

Love,
Hampton.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@54 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-29 20:02:05 +00:00
hcatlin
0fde51795d Fixed some of the way that the engines were setup.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@52 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-29 19:57:35 +00:00
hcatlin
45fd5d152e String literals now can't be checked for their multi-line status.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@51 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-29 19:20:53 +00:00
hcatlin
045d1ba9e2 Fixing a problem where the simplyhelpful style div definitions were throwing off the custom requires.
Custom attribute definitions (RE: :class) should override the simplyhelpful definition.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@50 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-29 18:54:25 +00:00
hcatlin
d081b791a4 This had a bug that wouldn't let it run unless it required the test helper.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@49 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-29 18:52:04 +00:00
packagethief
563d5d748e Enginification
git-svn-id: svn://hamptoncatlin.com/haml/trunk@48 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-29 18:39:13 +00:00
hcatlin
8e245a6de7 Closes ticket #6 and means that multiline-pipe based comments are added.
I also broke up the render method a bit to keep it from becoming a *wee* bit too big.

Love,
Hampton.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@47 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-22 02:18:43 +00:00
packagethief
e330b4ffc5 Removed the ill-conceived idea of only allowing a DTD on the first line. Closes #20.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@46 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-20 11:14:47 +00:00
packagethief
a815a23388 Added the list_for helper (as demoed at RailsConf)
git-svn-id: svn://hamptoncatlin.com/haml/trunk@44 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-19 14:13:49 +00:00
packagethief
f770d4b444 Tests for first-line-only dtd checking
git-svn-id: svn://hamptoncatlin.com/haml/trunk@43 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-19 14:07:48 +00:00
packagethief
e3e0a4f023 Only check for the dtd if we're on the first line
git-svn-id: svn://hamptoncatlin.com/haml/trunk@42 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-19 14:06:46 +00:00
packagethief
6f671d96a6 Getting helpful with it
git-svn-id: svn://hamptoncatlin.com/haml/trunk@39 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-14 19:09:49 +00:00
packagethief
c72a422799 Fixed that the tests weren't really working
git-svn-id: svn://hamptoncatlin.com/haml/trunk@38 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-12 15:34:30 +00:00
packagethief
1a2040b1d9 Added a Rake task for benchmarking. Use with rake benchmark (TIMES=n)
git-svn-id: svn://hamptoncatlin.com/haml/trunk@36 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-12 14:50:13 +00:00
packagethief
49ff7de516 Refatored, and added a test to assert that the refactored engine renders the same as the original engine
git-svn-id: svn://hamptoncatlin.com/haml/trunk@27 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-12 04:14:21 +00:00
packagethief
cf68e5a40c Removed the tupleize shit
git-svn-id: svn://hamptoncatlin.com/haml/trunk@25 7063305b-7217-0410-af8c-cdc13e5119b9
2006-09-01 19:50:28 +00:00
hcatlin
26360e28d3 Benchmark stuff.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@24 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-21 03:33:30 +00:00
hcatlin
67a81207f7 The whitespace issue was closed a while ago, but only now am I adding an explicit test to ensure that its true.
So, this can officially close ticket #3



git-svn-id: svn://hamptoncatlin.com/haml/trunk@23 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-13 22:10:05 +00:00
hcatlin
a8e3252884 Closes ticket #5
git-svn-id: svn://hamptoncatlin.com/haml/trunk@22 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-13 22:02:04 +00:00
hcatlin
90412fdd07 Fixed a bug where the instance variables that are set in helpers were not being
translated back to the view because of the way that instance variables are handled.

Phew!

Included the tests to prove its fixed.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@21 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-09 18:12:54 +00:00
hcatlin
4f9465d540 100% C0!
Thank you, thank you, thank you.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@19 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 22:55:07 +00:00
hcatlin
331f0247ae We have 100% passing.
Simplified (in a way I didn't initially want) the flattening procedure. However, it helps the tests pass and that's a Good Thing.

Now for speed tests and playing with globalize.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@17 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 21:38:50 +00:00
hcatlin
6cbc2bf9b3 Split up the tests into two to match the new lib files that were created a few days ago.
Also, created tests for the propper "flattening" of whitespace-active-areas and created most of the code.

However, it is to be noted in this release... TESTS ARE BROKEN.

The flattening needs some love still. And the testing needs to get expanded further. I thought this would be easy, 
turns out its a bit of a bitch.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@16 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 13:42:19 +00:00
hcatlin
9b82e1672d Basic test-templates.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@15 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-07 23:55:16 +00:00
hcatlin
7e1be5b6be Added a cool helper that I just like adding to the language. Also, started checking line-by-line instead of as
gigantic strings when dealing with testing the templates.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@14 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-06 04:25:31 +00:00
hcatlin
ad712a6d7e Proudly presenting excellent test coverage for HAML.
C0 is at 99.0%... all except for one experimental feature.

So, now any changes have something to be tested against which should be a fairly strong background.

Now, the only problem left is that whitespace active areas get fucked. That's not a good thing. Once we get a 
philosophical stance on such subjects, then we shall figure crap out about what that all means.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@13 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-06 03:18:54 +00:00
hcatlin
35f7e17de5 Initial upload.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@1 7063305b-7217-0410-af8c-cdc13e5119b9
2006-06-30 15:14:44 +00:00