Embperl
view release on metacpan or search on metacpan
Changes.pod view on Meta::CPAN
- fixed a parser error so <[+ $foo +]> generates the correct result.
Spotted by Michael Stevens.
- fixed bug in Node_insertAfter which may cause a single Execute
on the second line of a file to loop endless. Spotted by
Janny Cavell.
- Embperl doesn't search for attributes inside of quotes inside of
html tags anymore. Spotted by Ian Van der Poel.
- type=checkbox|radio is now case insensitiv as it should. Spotted
by Jonny Cavell.
- print OUT and Execute now works together. Spotted by Jonny Cavell.
- Embperl doesn't insert a linefeed after an Execute anymore.
- Embperl now keeps single or double quote the same as in the source
file. Requested by Jonny Cavell.
- [$hidden$] works now correctly inside of loops. Spotted by Jonny Cavell.
- The parser now checks for the correct end of an html tag. Spotted
by Jonny Cavell.
- Added RTF syntax. This allows you for example to create serial letters
with your favorite word processing program, save them as RTF and process
them with Embperl. See HTML::Embperl::Syntax::RTF for docs.
=head1 2.0b2 (BETA) 29. Mar 2001
- Embperl files can now debugged via the interavtive debugger.
The debugger shows the Embperl page source along with the
correct linenumbers.
This works in various ways:
# perl interacive command line debugger
perl -d embpexec.pl file.epl
# ddd graphical debugger (https://www.gnu.org/software/ddd/)
ddd --debugger 'perl -d embpexec.pl file.epl'
or via Apache::DB under mod_perl
- Embperl has now a defined API for creating/adding a new
syntax. See perldoc HTML::Embperl::Syntax for details.
- Which syntax (also multiple at the same time)
a given page uses can be defined via EMBPERL_SYNTAX configuration
directive.
- Added Syntax definitions for SSI, Perl and plain Text
- New [$ syntax $] metacommand can switch the syntax of the file
on the fly. It's also usefull to load addtional taglibs.
- print OUT works again
- HTML comments are not touched anymore
- Embperl doesn't log a warning if a undefined value is in %ENV and
dbgEnv is on.
- 2.0b2 now contains all contains all changes up to 1.3.2 .
=head1 2.0b1 (BETA) 22. Dec 2000
- Syntax of Embperl is now defined in module HTML::Embperl::Syntax
- Processing of Embperl is now divided in smaller steps:
1 reading the source
2 parseing
3 compiling
4 executing
5 outputing
Since steps 1-3 has only to take place for the first time a file
is processed, Embperl is about 50-100% faster the Embperl 1.x.
(Embperl 1.x has also precompiled the Perl code, but Embperl
goes much further and stores also a precompiled structure of
the document)
This modularisation will also allow to replace single steps
with other modules and to cascade multiple processors, that
work on one document.
- The following options can currently only set from the httpd.conf:
optRawInput, optKeepSpaces
- The following options are currently not supported:
optDisableHtmlScan, optDisableTableScan,
optDisableInputScan, optDisableMetaScan
- Nesting must be properly. I.e. you cannot put a <table> tag (for an
dynamic table) inside an if and the </table> inside another if.
(That still works for static tables)
- optUndefToEmptyValue is always set and cannot be disabled.
- [$ foreach $x (@x) $] requires now the bracket around the
array (like Perl)
- [* *] blocks works now as expected.
- option tag can take value optional from html text, so
<option value="foo"> and <option>foo</option> are the same
- Execute ('file.htm#subname') works now without a previous
import
- Added cacheing of output. There are serveral parameters that
controls the caching. They can be either given as configuration
directives in httpd.conf, as parameters to Execute or as
Perl vars/subs inside a [! !] of the page itself.
- [+ +] blocks must now contain a valid Perl expression. Embperl 1.x
allows you to put multiple statements into such a block. For performance
reasons this is not possible anymore. Also the expression must _not_
terminated with a semikolon. To let old code work, just wrap it into a do
e.g. [+ do { my $a = $b + 5 ; $a } +]
=head1 1.3.4 (RELEASE) 5. Dec 2001
- Added method $r -> Espace for html & url escaping
- URL escpage # to %23
- use Content-Length HTTP Header instead of $ENV{CONTENT_LENGTH}
when running under mod_perl and win32. This fixes a bug
with POSTed data reported by Lukas Zapletal.
- Display correct Apache module name in Makefile.PL when
requesting path for Apache module. Patch from James Lee.
- New session handling using Apache::SessionX. (This also
fixes problem with MD5 and Perl 5.6.1)
- Fixed a bug that cause file-uploads to fail for the first
request to a file when running under EmbperlObject. Reported
by Thoren Johne.
- Added possibilities to add the session id as argument to any URL,
instead of using cookies.
- Added new hash %sdat which holds temporary sessins data.
- Added options optAddUserSessionToLinks, optAddStatusSessionToLinks
and optNoSessionCookies to control how the session id is passed.
- Make sure the HTML::Embperl::Mail generates correct line endings
- If Perl's STDOUT and/or STDIN are tied to any package, Embperl now
calls the Perl methods PRINT and READ for doing I/O. This currently
only works when not running under mod_perl.
- Embperl can now run under FastCGI. Use embpfastcgi.pl instead of
embpcgi.pl.
- Delete unnecessary PerlFixupHandler from httpd.conf.src for make test.
Reported by David Merberg.
- Add undef to %idat for select tag with nothing selected if
optAllFormdata is set.
- Cleanup of DBIx::Recordset objects now honors the setting in %CLEANUP.
Problem reported by Kee Hinckley.
- Embperl can now use encrypted sourcefiles. See crypto/README for
details.
( run in 0.751 second using v1.01-cache-2.11-cpan-df04353d9ac )