hoshi
6 years agoRemove some dead code from the test. master
Pete Elmore [Tue, 27 Jun 2017 21:24:43 +0000 (14:24 -0700)]
Remove some dead code from the test.

6 years agoBump version.
Pete Elmore [Tue, 27 Jun 2017 21:24:20 +0000 (14:24 -0700)]
Bump version.

6 years agoMore doc fixes, I am going to call this the release so I stop. v1.1.1
Pete Elmore [Tue, 27 Jun 2017 21:19:00 +0000 (14:19 -0700)]
More doc fixes, I am going to call this the release so I stop.

6 years agoRakefile should not sudo. I was young and impulsive.
Pete Elmore [Tue, 27 Jun 2017 21:14:20 +0000 (14:14 -0700)]
Rakefile should not sudo.  I was young and impulsive.

6 years agoI cannot stop tweaking the README.
Pete Elmore [Tue, 27 Jun 2017 21:07:32 +0000 (14:07 -0700)]
I cannot stop tweaking the README.

6 years agoMove View.tag back into lib/hoshi/view.rb.
Pete Elmore [Tue, 27 Jun 2017 20:34:44 +0000 (13:34 -0700)]
Move View.tag back into lib/hoshi/view.rb.

It was only split out to accomodate versions of Ruby that were already old
at the time.  They are now beyond ancient and no longer supported, so I'm
doing the housekeeping and moving the code back in.

6 years agoAdd `tag(attr: false)` syntax. Thanks, Hunter!
Pete Elmore [Tue, 27 Jun 2017 20:29:19 +0000 (13:29 -0700)]
Add `tag(attr: false)` syntax.  Thanks, Hunter!

6 years agodoc cleanup
Pete Elmore [Tue, 27 Jun 2017 20:27:38 +0000 (13:27 -0700)]
doc cleanup

6 years agoUpdate the license.
Pete Elmore [Tue, 27 Jun 2017 20:27:09 +0000 (13:27 -0700)]
Update the license.

6 years agoUpdate the README to fix the credits.
Pete Elmore [Tue, 27 Jun 2017 20:22:40 +0000 (13:22 -0700)]
Update the README to fix the credits.

7 years agoAlso: I didn't update *that* for three years, either.
Pete Elmore [Sun, 12 Jun 2016 16:06:22 +0000 (09:06 -0700)]
Also:  I didn't update *that* for three years, either.

7 years agoVersion bump.
Pete Elmore [Sun, 12 Jun 2016 11:50:39 +0000 (04:50 -0700)]
Version bump.

7 years agoTag tweaks. v1.0.3
Pete Elmore [Sun, 12 Jun 2016 11:48:27 +0000 (04:48 -0700)]
Tag tweaks.

7 years agoHTML4 probably doesn't need to be so prominent in the docs any more.
Pete Elmore [Sun, 12 Jun 2016 11:47:32 +0000 (04:47 -0700)]
HTML4 probably doesn't need to be so prominent in the docs any more.

7 years agoDoc changes.
Pete Elmore [Sun, 12 Jun 2016 11:47:21 +0000 (04:47 -0700)]
Doc changes.

7 years agoTake the metaid require() out.
Pete Elmore [Sun, 12 Jun 2016 10:59:25 +0000 (03:59 -0700)]
Take the metaid require() out.

7 years agoHave not been using metaid!
Pete Elmore [Sun, 12 Jun 2016 10:58:29 +0000 (03:58 -0700)]
Have not been using metaid!

7 years agoThat was fruitless.
Pete Elmore [Sun, 12 Jun 2016 10:57:32 +0000 (03:57 -0700)]
That was fruitless.

8 years agoPerformance: cache tag objects and minimize string allocations.
Pete Elmore [Tue, 15 Mar 2016 05:58:13 +0000 (22:58 -0700)]
Performance:  cache tag objects and minimize string allocations.

10 years agoChomp that space. Chomp it!
Pete Elmore [Thu, 2 Jan 2014 20:16:11 +0000 (12:16 -0800)]
Chomp that space.  Chomp it!

10 years agoTake *that*, W3C!
Pete Elmore [Tue, 24 Dec 2013 08:49:29 +0000 (00:49 -0800)]
Take *that*, W3C!

10 years agoI don't know how people keep track of this stuff.
Pete Elmore [Tue, 24 Dec 2013 07:58:07 +0000 (23:58 -0800)]
I don't know how people keep track of this stuff.

10 years agoBump version.
Pete Elmore [Fri, 20 Dec 2013 22:51:54 +0000 (14:51 -0800)]
Bump version.

10 years agoEscape values in k/v pairs in tags. v1.0.2
Pete Elmore [Fri, 20 Dec 2013 22:51:27 +0000 (14:51 -0800)]
Escape values in k/v pairs in tags.

10 years ago1.9 has Symbol#to_proc, so this is needless.
Pete Elmore [Mon, 25 Nov 2013 21:50:27 +0000 (13:50 -0800)]
1.9 has Symbol#to_proc, so this is needless.

10 years agoIt was not really that funny. And anyway, I have been listening to Navi the Swami...
Pete Elmore [Mon, 23 Sep 2013 00:30:00 +0000 (17:30 -0700)]
It was not really that funny.  And anyway, I have been listening to Navi the Swami lately.

10 years agoTags with no values! v1.0.1
Pete Elmore [Mon, 23 Sep 2013 00:24:56 +0000 (17:24 -0700)]
Tags with no values!

10 years agoGrammatical error inside a comment inside a test. Yes, this is compulsive.
Pete Elmore [Wed, 18 Sep 2013 20:44:06 +0000 (13:44 -0700)]
Grammatical error inside a comment inside a test.  Yes, this is compulsive.

10 years agoTweak docs.
Pete Elmore [Wed, 18 Sep 2013 20:33:57 +0000 (13:33 -0700)]
Tweak docs.

10 years agoMisc cleanup, update gem version to 1.0 v1.0.0
Pete Elmore [Wed, 18 Sep 2013 20:28:18 +0000 (13:28 -0700)]
Misc cleanup, update gem version to 1.0

10 years agoAdd HTML5 support.
Pete Elmore [Wed, 18 Sep 2013 20:27:53 +0000 (13:27 -0700)]
Add HTML5 support.

14 years agoYeah, we got that comb.
Pete Elmore [Thu, 10 Sep 2009 00:23:15 +0000 (17:23 -0700)]
Yeah, we got that comb.

14 years agoAdd a rake task to run the tests, because I figure more people expect that.
Pete Elmore [Tue, 1 Sep 2009 02:55:01 +0000 (19:55 -0700)]
Add a rake task to run the tests, because I figure more people expect that.

14 years agoAdding a little script to run all the tests.
Pete Elmore [Tue, 1 Sep 2009 02:54:39 +0000 (19:54 -0700)]
Adding a little script to run all the tests.

14 years agoAdding two tests to test some behavior.
Pete Elmore [Tue, 1 Sep 2009 02:48:30 +0000 (19:48 -0700)]
Adding two tests to test some behavior.

14 years agoReformat that.
Pete Elmore [Tue, 1 Sep 2009 02:24:36 +0000 (19:24 -0700)]
Reformat that.

14 years agoTag tweakin'.
Pete Elmore [Tue, 1 Sep 2009 02:24:28 +0000 (19:24 -0700)]
Tag tweakin'.

15 years agoi making english
Pete Elmore [Wed, 13 May 2009 02:58:56 +0000 (19:58 -0700)]
i making english

15 years ago1.8.6 dissonance.
Pete Elmore [Wed, 13 May 2009 02:30:40 +0000 (19:30 -0700)]
1.8.6 dissonance.

15 years agoWhoops, unneeded render.
Pete Elmore [Wed, 13 May 2009 02:17:59 +0000 (19:17 -0700)]
Whoops, unneeded render.

15 years agoAnything from here on out is 0.2.1. Some tags need fixing, some 1.9 issues
Pete Elmore [Wed, 13 May 2009 02:10:44 +0000 (19:10 -0700)]
Anything from here on out is 0.2.1.  Some tags need fixing, some 1.9 issues
need addressing.

15 years agoInline tags and block returns warrant a minor-version bump, I think. 0.2.0
Pete Elmore [Wed, 13 May 2009 02:09:34 +0000 (19:09 -0700)]
Inline tags and block returns warrant a minor-version bump, I think.

15 years agoAdding the inline tags example. Should at some point bring all of the examples
Pete Elmore [Wed, 13 May 2009 02:08:08 +0000 (19:08 -0700)]
Adding the inline tags example.  Should at some point bring all of the examples
up to date.

15 years agoBlocks' return values are now used if a block renders nothing.
Pete Elmore [Wed, 13 May 2009 02:06:15 +0000 (19:06 -0700)]
Blocks' return values are now used if a block renders nothing.

15 years agoEntities and inline tags.
Pete Elmore [Wed, 13 May 2009 01:44:57 +0000 (18:44 -0700)]
Entities and inline tags.

15 years agonobr: It's pretty great, maybe?
Pete Elmore [Fri, 17 Apr 2009 22:44:59 +0000 (15:44 -0700)]
nobr:  It's pretty great, maybe?

15 years agoI don't know why that breaks Rails, but it does.
Pete Elmore [Wed, 8 Apr 2009 23:22:18 +0000 (16:22 -0700)]
I don't know why that breaks Rails, but it does.

15 years agodanged string eval
Pete Elmore [Wed, 25 Mar 2009 00:42:02 +0000 (17:42 -0700)]
danged string eval
(This is actually my fault, but I am blaming string evaluation.)

15 years agoIf you call build on a sub-class that has arguments for #initialize.
Pete Elmore [Tue, 24 Mar 2009 23:11:35 +0000 (16:11 -0700)]
If you call build on a sub-class that has arguments for #initialize.

15 years agowhitespace changes for the win amirite guys
Pete Elmore [Tue, 24 Mar 2009 23:00:08 +0000 (16:00 -0700)]
whitespace changes for the win amirite guys

15 years agoFix the <b> and <br> tags in HTML4.
Pete Elmore [Sat, 21 Mar 2009 01:42:44 +0000 (18:42 -0700)]
Fix the <b> and <br> tags in HTML4.

15 years agoI think people would rather type 'li "1->2"' than 'li { safe "1->2" }'.
Pete Elmore [Thu, 19 Feb 2009 22:14:19 +0000 (14:14 -0800)]
I think people would rather type 'li "1->2"' than 'li { safe "1->2" }'.

15 years agoAdding the conspicuously missing <td> tag to View[:html4].
Pete Elmore [Thu, 19 Feb 2009 22:08:09 +0000 (14:08 -0800)]
Adding the conspicuously missing <td> tag to View[:html4].

15 years agoVersion bump now that 0.1.4 is released.
Pete Elmore [Thu, 19 Feb 2009 22:05:07 +0000 (14:05 -0800)]
Version bump now that 0.1.4 is released.

15 years agoShooting for compatibility between old Ruby and new hotness Ruby. I think this 0.1.4
Pete Elmore [Wed, 11 Feb 2009 02:18:07 +0000 (18:18 -0800)]
Shooting for compatibility between old Ruby and new hotness Ruby.  I think this
does it.

15 years ago#each_item makes more sense than #def_item.
Pete Elmore [Tue, 10 Feb 2009 21:59:32 +0000 (13:59 -0800)]
#each_item makes more sense than #def_item.

15 years agoView::HTML#css_includes as a shorthand for adding several stylesheets.
Pete Elmore [Thu, 15 Jan 2009 22:20:33 +0000 (14:20 -0800)]
View::HTML#css_includes as a shorthand for adding several stylesheets.

15 years agoOkay, this is how it's done.
Pete Elmore [Wed, 31 Dec 2008 04:54:20 +0000 (20:54 -0800)]
Okay, this is how it's done.

15 years agoNot all constants are classes.
Pete Elmore [Wed, 17 Dec 2008 03:57:15 +0000 (19:57 -0800)]
Not all constants are classes.

15 years agoI guess Symbol#to_proc is built-in for 1.8.7, so removing the facets dep which
Pete Elmore [Wed, 3 Dec 2008 01:29:19 +0000 (17:29 -0800)]
I guess Symbol#to_proc is built-in for 1.8.7, so removing the facets dep which
breaks when using functor.  Also tweaking the Rakefile slightly.  Starting on
0.1.4, and 1.0 should be coming before long.

15 years agoOh, man, whitespace changes up in here.
Pete Elmore [Mon, 17 Nov 2008 06:13:34 +0000 (22:13 -0800)]
Oh, man, whitespace changes up in here.

15 years agoPorted to Ruby 1.9. w007
Pete Elmore [Mon, 17 Nov 2008 06:12:25 +0000 (22:12 -0800)]
Ported to Ruby 1.9.  w007

15 years agoYeah, 0.1.3. We're pretty close to 1.0. 0.1.3
Pete Elmore [Wed, 12 Nov 2008 07:30:30 +0000 (23:30 -0800)]
Yeah, 0.1.3.  We're pretty close to 1.0.

15 years agoTiny README update.
Pete Elmore [Wed, 12 Nov 2008 07:15:26 +0000 (23:15 -0800)]
Tiny README update.

15 years agoRSS2, with example, added as a Hoshi::View, and shown in an example.
Pete Elmore [Wed, 12 Nov 2008 07:12:51 +0000 (23:12 -0800)]
RSS2, with example, added as a Hoshi::View, and shown in an example.

15 years agoThe RF project ended up being hoshi-view, and I forgot to update this.
Pete Elmore [Tue, 11 Nov 2008 09:03:09 +0000 (01:03 -0800)]
The RF project ended up being hoshi-view, and I forgot to update this.

15 years agoAdding a feed example. Going to do the RSS stuff next.
Pete Elmore [Tue, 11 Nov 2008 08:50:11 +0000 (00:50 -0800)]
Adding a feed example.  Going to do the RSS stuff next.

15 years agoOkay, that's a version increase. 0.1.2
Pete Elmore [Tue, 11 Nov 2008 08:40:46 +0000 (00:40 -0800)]
Okay, that's a version increase.

15 years agohtml2hoshi now generates nicer code, uses hpricot, parses xhtml/xml better,
Pete Elmore [Tue, 11 Nov 2008 08:33:04 +0000 (00:33 -0800)]
html2hoshi now generates nicer code, uses hpricot, parses xhtml/xml better,
generates correct ruby code (in the case of tags named things that you can't
call methods in ruby), and also is now so huge it's an abomination.

Also, update to the Rakefile and TODO.

15 years agoMinor README tweak.
Pete Elmore [Tue, 11 Nov 2008 08:27:55 +0000 (00:27 -0800)]
Minor README tweak.

15 years agoFixing View#tag.
Pete Elmore [Tue, 11 Nov 2008 08:26:44 +0000 (00:26 -0800)]
Fixing View#tag.

15 years agoAdding a shameless plug to the credits.
Pete Elmore [Mon, 10 Nov 2008 22:39:53 +0000 (14:39 -0800)]
Adding a shameless plug to the credits.

15 years agoThe perils of coding in the modern age!
Pete Elmore [Sun, 9 Nov 2008 03:16:32 +0000 (19:16 -0800)]
The perils of coding in the modern age!

15 years agohow did this get here i am not good with git
Pete Elmore [Sun, 9 Nov 2008 03:01:57 +0000 (19:01 -0800)]
how did this get here i am not good with git

15 years agoCGI scripting.
Pete Elmore [Sun, 9 Nov 2008 03:01:06 +0000 (19:01 -0800)]
CGI scripting.

15 years agoAllowing Hoshi.View to take a block that is passed into View.build, thus
Pete Elmore [Sun, 9 Nov 2008 02:41:27 +0000 (18:41 -0800)]
Allowing Hoshi.View to take a block that is passed into View.build, thus
generating awesome.

15 years ago%!#!$#@ vim doesn't do blocks right.
Pete Elmore [Sun, 9 Nov 2008 02:35:26 +0000 (18:35 -0800)]
%!#!$#@ vim doesn't do blocks right.

15 years agodithering over instance_eval vs. meta_def, keeping instance_eval
Pete Elmore [Sun, 9 Nov 2008 02:09:30 +0000 (18:09 -0800)]
dithering over instance_eval vs. meta_def, keeping instance_eval

15 years agoMore credits.
Pete Elmore [Sun, 9 Nov 2008 01:59:50 +0000 (17:59 -0800)]
More credits.

15 years agoUpdating credits.
Pete Elmore [Sun, 9 Nov 2008 01:57:06 +0000 (17:57 -0800)]
Updating credits.

15 years agoAdding View.content_type, in preparation for the CGI stuff.
Pete Elmore [Sun, 9 Nov 2008 01:53:25 +0000 (17:53 -0800)]
Adding View.content_type, in preparation for the CGI stuff.
(RFC 2854, RFC 3236)

15 years agonil
Pete Elmore [Sun, 9 Nov 2008 01:52:57 +0000 (17:52 -0800)]
nil

15 years agoUpdate TODO.
Pete Elmore [Sun, 9 Nov 2008 01:48:28 +0000 (17:48 -0800)]
Update TODO.

15 years agoSatisfy my OCD by keeping all self.* methods together.
Pete Elmore [Sun, 9 Nov 2008 01:46:03 +0000 (17:46 -0800)]
Satisfy my OCD by keeping all self.* methods together.

15 years agoClarify TODO
Pete Elmore [Sun, 9 Nov 2008 01:43:57 +0000 (17:43 -0800)]
Clarify TODO

15 years agoclass.send(:define_method) -> instance_eval (Thread safety.)
Pete Elmore [Sun, 9 Nov 2008 01:38:06 +0000 (17:38 -0800)]
class.send(:define_method) -> instance_eval (Thread safety.)

15 years agoIgnore Rakefile-generated pkg dir.
Pete Elmore [Sun, 9 Nov 2008 01:37:56 +0000 (17:37 -0800)]
Ignore Rakefile-generated pkg dir.

15 years agoUndo renaming.
Pete Elmore [Sun, 9 Nov 2008 01:36:58 +0000 (17:36 -0800)]
Undo renaming.

15 years agoMerge branch 'master' of git://github.com/thewordnerd/hoshi
Pete Elmore [Sun, 9 Nov 2008 01:29:32 +0000 (17:29 -0800)]
Merge branch 'master' of git://github.com/thewordnerd/hoshi

15 years agoMerge branch 'master' of git://github.com/pete/hoshi
Nolan Darilek [Sun, 9 Nov 2008 00:14:36 +0000 (18:14 -0600)]
Merge branch 'master' of git://github.com/pete/hoshi

15 years agoAdded block-based syntax.
Nolan Darilek [Sun, 9 Nov 2008 00:12:34 +0000 (18:12 -0600)]
Added block-based syntax.

15 years agoAdding a TODO
Pete Elmore [Sat, 8 Nov 2008 22:15:45 +0000 (14:15 -0800)]
Adding a TODO

15 years agoMerge branch 'master' of git://github.com/alrs/hoshi
Pete Elmore [Sat, 8 Nov 2008 21:51:14 +0000 (13:51 -0800)]
Merge branch 'master' of git://github.com/alrs/hoshi

15 years agoTag *this*.
Pete Elmore [Sat, 8 Nov 2008 21:50:12 +0000 (13:50 -0800)]
Tag *this*.
Also, TODO, have html2hoshi run a simple regex to make sure the tags are all
valid.

15 years agoAdded rubyful_soup dependency to Rakefile
lars [Sat, 8 Nov 2008 20:13:38 +0000 (12:13 -0800)]
Added rubyful_soup dependency to Rakefile

15 years agoREADME (and other minor documentation) fixes.
Pete Elmore [Fri, 7 Nov 2008 06:13:16 +0000 (22:13 -0800)]
README (and other minor documentation) fixes.

15 years agoLittle indentation fix to html2hoshi
Pete Elmore [Fri, 7 Nov 2008 04:23:09 +0000 (20:23 -0800)]
Little indentation fix to html2hoshi

15 years agohtml2hoshi to produce standalone scripts.
Pete Elmore [Fri, 7 Nov 2008 04:19:45 +0000 (20:19 -0800)]
html2hoshi to produce standalone scripts.

15 years agoFix some requires
Pete Elmore [Fri, 7 Nov 2008 04:19:18 +0000 (20:19 -0800)]
Fix some requires

15 years agoMinor naming fix.
Pete Elmore [Fri, 7 Nov 2008 04:09:15 +0000 (20:09 -0800)]
Minor naming fix.