Commit Graph

20 Commits

Author SHA1 Message Date
nex3 899c06c1c0 A slight tweak to the behavior of capture_haml.
git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@162 7063305b-7217-0410-af8c-cdc13e5119b9
2006-11-20 06:46:44 +00:00
nex3 53b68c335f Added a parallel to ActionView's capture method (Haml::Helpers#capture_haml).
git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@161 7063305b-7217-0410-af8c-cdc13e5119b9
2006-11-20 06:11:16 +00:00
nex3 312b1b078c Haml::Helpers#bind_proc shouldn't show up in the RDoc.
git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@160 7063305b-7217-0410-af8c-cdc13e5119b9
2006-11-20 05:26:58 +00:00
nex3 61eac1df2f Working form_tag on edge. Rcov for helpers/action_view_mods.rb isn't
100% unless the Edge Rails gem is installed, because the new form_for 
stuff isn't properly tested.


git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@140 7063305b-7217-0410-af8c-cdc13e5119b9
2006-11-16 01:15:01 +00:00
nex3 eb5e0b03c7 Added capability for overriding ActionView helpers that don't work
well with Haml.


git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@139 7063305b-7217-0410-af8c-cdc13e5119b9
2006-11-14 18:35:02 +00:00
nex3 758aee4653 Added tabulation-management methods too Haml::Helpers.
git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@129 7063305b-7217-0410-af8c-cdc13e5119b9
2006-11-08 03:27:37 +00:00
nex3 cd3ff994b0 Separated Helper code from Engine and Buffer code.
git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@124 7063305b-7217-0410-af8c-cdc13e5119b9
2006-11-06 03:01:04 +00:00
nex3 00ef3f9983 Better facilities for whitespace-sensitive elements. See REFERENCE entry on ~.
git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@113 7063305b-7217-0410-af8c-cdc13e5119b9
2006-11-04 06:36:16 +00:00
hcatlin 89a10b9dfe Creating the next set of branches.
That is, the buffered branch is being removed and replaced with the edge 
branch.

This marks the beginning of the edge branch.



git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@80 7063305b-7217-0410-af8c-cdc13e5119b9
2006-10-14 23:50:07 +00:00
packagethief 4266688e30 Rolling back to the last stable commit before the buffered code
git-svn-id: svn://hamptoncatlin.com/haml/trunk@64 7063305b-7217-0410-af8c-cdc13e5119b9
2006-10-05 15:18:35 +00:00
hcatlin e6bd4a5757 Adding documentation!
Thanks Nex3!

Closes #8



git-svn-id: svn://hamptoncatlin.com/haml/trunk@61 7063305b-7217-0410-af8c-cdc13e5119b9
2006-10-04 00:34:43 +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
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 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 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 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 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