File Release Notes and Changelog
Notes:
Changes:
2001-08-11 15:35 thetitan
* src/ruby-tmpl.rb (tags: RELEASE_2_1): Fixed rather large, but
unnoticed bug in moutput munging
2001-08-11 14:40 thetitan
* src/ruby-tmpl.rb (tags: RELEASE_0_2_1): Updated the output of a
file not found error to include the path
2001-08-11 14:40 thetitan
* TODO (tags: RELEASE_0_2_1): Updated TODO
2001-08-11 14:39 thetitan
* FEATURES (tags: RELEASE_0_2_1): Updated the features
2001-08-11 14:39 thetitan
* doc/INSTALL.tests (tags: RELEASE_0_2_1): Added a small blurb
about how to do the tests offline (make test)
2001-08-11 14:39 thetitan
* doc/Makefile (tags: RELEASE_0_2_1): Speling eror corection
2001-08-11 14:38 thetitan
* doc/output-test_rbx (tags: RELEASE_0_2_1): Was bitten by a
different $Id$ tag. Had to nuke it
2001-08-11 14:37 thetitan
* doc/tmpl/test.tmpl (tags: RELEASE_0_2_1): Was bitten by the $Id$
tag... had to nuke it
2001-08-11 14:32 thetitan
* doc/Makefile: Can test offline
2001-08-11 14:31 thetitan
* doc/output-test_rbx: What the output of ruby-tmpl's test.rbx
should be
2001-08-11 14:30 thetitan
* doc/tmpl/test.tmpl: Updated the default error output now that we
have a search path
2001-08-11 13:03 thetitan
* TODO: Not fixing a type-o. With code change made earlier to
ruby-tmpl.rb, it is possible to have non-recursive includes or
specify tags that shouldn't be parsed.
Now have a makefile target that controls the
installation/uninstallation of ruby-tmpl.rb
2001-08-11 13:00 thetitan
* Makefile (tags: RELEASE_0_2_1): cygwin make doesn't have the -v
option. Until I create a ruby make system, removing flag
2001-08-11 12:58 thetitan
* ChangeLog: This information shouldn't be in CVS. Now created in
the release script at the time of release
2001-08-11 12:49 thetitan
* src/ruby-tmpl.rb: Minor style change. Rolling micro-release
0.2.1
2001-08-10 00:19 thetitan
* src/ruby-tmpl.rb: God I love this language!
Performance increase... from a simple test page avg compile time
went from 0.004294 to 0.003509. I'm splitting hairs, but it'll
make a diff w/ multi-line tags
2001-08-08 11:15 thetitan
* src/ruby-tmpl.rb: Updated the syntax for path so that you can now
set the path inside of the document
Added a new tag: <?tmpl.style ?> so that you can set/print the
output of Template#file. Tag is very similar to tmpl.path
2001-08-08 11:12 thetitan
* TODO: Updated the TODO... broadened what ruby-tmpl can do
2001-08-05 14:32 thetitan
* Makefile: Makefile now notifies you upon installation of the new
ruby-tmpl file
2001-08-05 14:24 thetitan
* src/ruby-tmpl.rb: Added search path functionality. Now you can
specify multiple directories to find a file.
The new tag tmpl.path has been introduced as a diagnostic so that
you can print out what your current path is set to spacer is a
definable attribute that lets you specify what string you want to
seporate your path entries with (default :)
2001-07-30 00:52 thetitan
* src/ruby-tmpl.rb: Escaped " in escape_html (more correct)
2001-07-30 00:48 thetitan
* src/ruby-tmpl.rb: Backed out earlier escape_html commits: doing
it one line at a time works better: don't get "`escape_html':
undefined method `gsub!' for nil (NameError)" errors any more.
Maybe I should report this back to the cgi.rb guys once I know what
triggered this for sure.
2001-07-30 00:06 thetitan
* src/ruby-tmpl.rb: Made previously only writable instance
variables readable
If the file= or path= is called with a different value than
previously, then reset_output is called and the output is setup to
be recompiled/munged
You can now specify an output file through Template#out_file
(useful for one script calling multiple templates)
Default value for @file is now '' instead of '.tmpl'
You can specify the mode of the output file through
Template#out_file_mode Uses the same file modes as File.open() (see
page 331 of the Ruby book)
New private method reset_output for resetting the output for
recompilation and remunging
2001-07-29 23:14 thetitan
* src/ruby-tmpl.rb: Fixed a potential bug by using Template#out
where I was using @r.print or Kernel.print
2001-07-29 23:07 thetitan
* src/ruby-tmpl.rb: Obtained From: cgi.rb
After looking through cgi.rb I found how they did their escapeHTML
routine. It's less code, and probably faster so I'll include it.
2001-07-29 17:23 thetitan
* src/ruby-tmpl.rb: Can now call escape="html" from _any_ tag and
the output will be HTML escaped
2001-07-29 17:14 thetitan
* src/ruby-tmpl.rb: Added basic HTML escaping for the following
chars: "<>&
2001-07-29 17:03 thetitan
* src/ruby-tmpl.rb: Added readonly docroot
Either DOCUMENT_ROOT or PWD must be specified for ruby-tmpl to work
for the docroot_include tag
Added the new tmpl.docroot_include tag. This tag is very powerful,
but needs documentation for it to be effective
2001-07-29 15:12 thetitan
* src/ruby-tmpl.rb: Added time_compile as a reader. It can be used
to benchmark how long it takes a given page to compile (read only)
Now a generic interface to the stdout via Template#out I don't
think this is the cleanest way, but I don't know how to dup file
descriptors in Ruby yet.
Changed all uses of "" to '' when double quoting isn't necessary
Added some non-working code for tmpl.docroot_include
Updated tmpl.include to be more resiliant... for some reason ensure
can't find the file object otherwise I'd use that.
2001-07-28 16:15 thetitan
* Makefile: Added a targest for installing and uninstalling
ruby-tmpl
2001-07-28 16:13 thetitan
* doc/: INSTALL.tests, test.rbx (tags: RELEASE_0_2_1),
tmpl/test.tmpl: Changed to relative paths so that the tests work
when run from the command line. This probably breaks the online
testing in that the template path won't be found and match 100%.
2001-07-28 16:02 thetitan
* src/ruby-tmpl.rb: Changed tmpl.http_env to tmpl.env
2001-07-28 15:44 thetitan
* src/ruby-tmpl.rb: ruby-tmpl is no longer specific to
mod_ruby!!!!!!!
2001-07-18 16:19 thetitan
* ChangeLog (tags: RELEASE_0_2): Added a ChangeLog to the release
2001-07-18 15:32 thetitan
* src/ruby-tmpl.rb (tags: RELEASE_0_2): Fixed default behavior for
non set http_headers_* and http_env
Changed tmpl.env to tmpl.http_env
2001-07-18 15:25 thetitan
* src/ruby-tmpl.rb: Changed internal method names
gsub!('_empty','')
Changed to headers_(in|out)
2001-07-18 15:04 thetitan
* FEATURES, TODO (utags: RELEASE_0_2): Updated to match the current
state of ruby-tmpl
2001-07-18 14:58 thetitan
* doc/: test.rbx, tmpl/include_recursive.tmpl (tags:
RELEASE_0_2_1), tmpl/test.tmpl (utags: RELEASE_0_2): Updated
template syntax to use the new <?tmpl.* ?> tag format
Updated usage to be inline with 0.2 of ruby-tmpl
2001-07-18 14:50 thetitan
* src/ruby-tmpl.rb: Infinite loops capped at a default of 1000
iterations.
Replacement regexp now escaped (whoops)
Templates now use PI instructions or <?tmpl.* ?> instead of <tmpl.*
/>. This is much easier to parse and should help solve some of the
other regexp related problems now and down the road.
2001-07-17 17:17 thetitan
* src/ruby-tmpl.rb: Make sure all tags return their contents in the
form of a string
2001-07-17 17:15 thetitan
* src/ruby-tmpl.rb: New Tag: <tmpl.http_env /> Tag allows you to
get access to ENV[] information
2001-07-17 16:30 thetitan
* src/ruby-tmpl.rb: New tag: <tmpl.http_header_out /> (last commit
had header_in)
Added direction to the error message
2001-07-17 16:24 thetitan
* src/ruby-tmpl.rb: Serveral major changes:
* the Template class now encapsulates the apache request (tmpl.r)
* Code reorganized for better maintainability <tmpl.*> functions
now
* added <tmpl.eval /> tag
2001-07-17 02:37 thetitan
* src/ruby-tmpl.rb: ruby-tmpl now prints error message when it
can't find the template file called from a rbx script
2001-07-17 02:18 thetitan
* INSTALL (tags: RELEASE_0_2_1, RELEASE_0_2): Updated and created a
section that points to doc/SUPPORT for bugs and feature requests.
2001-07-17 02:16 thetitan
* README (tags: RELEASE_0_2_1, RELEASE_0_2): Added a README file
for the project, finally.
2001-07-17 01:28 thetitan
* doc/INSTALL.tests (tags: RELEASE_0_2): Updated format of file and
cleaned up presentation
Added URL of sample test.rbx page
2001-07-17 01:09 thetitan
* doc/tmpl/: include_docs.tmpl (tags: RELEASE_0_2_1, RELEASE_0_2),
include_recursive.tmpl, include_tmpl.tmpl (tags: RELEASE_0_2_1,
RELEASE_0_2): Removed \n from end of files that way the test comes
out more clean... not elegant, but makes the test come out cleaner
when the output isn't being munged.
2001-07-17 01:08 thetitan
* doc/tmpl/test.tmpl: Added <error> tags around the bad variable
test... invislbe to browsers, but still not identical to the
output
2001-07-17 00:57 thetitan
* doc/BUGS (tags: RELEASE_0_2_1, RELEASE_0_2): Added project policy
for bugs and feature requests
2001-07-17 00:12 thetitan
* src/ruby-tmpl.rb: Added a white-space munger and the ability to
decide what you want to munge on the output.
Because munge_ml_comments breaks java script, it is turned off by
default.
2001-07-12 05:19 thetitan
* TODO: Updated TODO, brought inline with new webpages
2001-07-12 05:18 thetitan
* FEATURES (tags: RELEASE_0_1): Added a list of features that
ruby-tmpl supports
2001-07-11 20:49 thetitan
* INSTALL (tags: RELEASE_0_1): Added a document explaining how to
install ruby-tmpl
2001-07-11 20:48 thetitan
* doc/SUPPORT (tags: RELEASE_0_2_1, RELEASE_0_2, RELEASE_0_1):
Added a support document explaining how to get support and
subscribe to ruby-tmpl project
2001-07-11 19:37 thetitan
* TODO (tags: RELEASE_0_1): Updated TODO
Removed completed items
2001-07-11 19:35 thetitan
* src/ruby-tmpl.rb (tags: RELEASE_0_1): Better munging of output
Added tmpl.file function. See tests in the doc/ dir for examples
2001-07-11 19:31 thetitan
* doc/INSTALL.tests (tags: RELEASE_0_1): Added documenation
explaining how to install the test suite
2001-07-11 19:30 thetitan
* doc/test.rbx (tags: RELEASE_0_1): Adding a test page for docroot
(example rbx script)
2001-07-11 19:27 thetitan
* doc/tmpl/: include_docs.tmpl, include_recursive.tmpl,
include_recursive2.tmpl (tags: RELEASE_0_2_1, RELEASE_0_2),
include_tmpl.tmpl, test.tmpl (utags: RELEASE_0_1): Adding
example/test template files
2001-07-11 15:17 thetitan
* LICENSE (tags: RELEASE_0_2_1, RELEASE_0_2, RELEASE_0_1): Cleaned
up format, added a bit about contacting the author
2001-07-11 15:16 thetitan
* src/ruby-tmpl.rb: Added the main template class. This is 0.1
software.
2001-07-11 15:10 thetitan
* TODO: Added a list of TODO's (pseudo-wishlist)
2001-07-11 15:08 thetitan
* LICENSE: Added the software use license (BSD style license)