You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2003/06/10 05:53:20 UTC
ANNOUNCE: Embperl 2.0b9
The URL
ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.0b9.tar.gz
has entered CPAN as
file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.0b9.tar.gz
size: 654860 bytes
md5: 3a4836d15100feb2bf9c37e9470a1d1d
While development has continued all the time, there was a long time no
release of Embperl, so it's really overdue.
This version fixes a number of bugs and adds a lot of enhancements. My plan
is to make the next release the final 2.0. So give it a try, so we can catch
as much problems as possible before.
Embperl is a system for building dynamic websites with Perl.
It gives you the power to embed Perl code in your HTML/XML documents
and the ability to build your Web site out of small reusable objects in
an object-oriented style. You can also take advantage of all the
usual Perl modules, (including DBI for database access) use their
functionality and easily include their output in your web pages.
Embperl has several features which are especially useful for creating
Websites, including dynamic tables, form field processing, URL
escaping/unescaping, session handling, caching, xslt transformation
and more.
See http://perl.apache.org/embperl/ (english) or
http://www.ecos.de/embperl/ (german) for more information.
Enjoy
Gerald
Changes since 2.0b8:
- libxml now searchs through Embperl search path when includeing external
entities,
so for example <xsl:include> directives searchs files the same way as
Execute
does under Embperl::Object.
- fixed typo in JavaScript code for Form::Validate reported by Axel
Beckert
- fixed typo in Embperl::Mail reported by Axel Beckert.
- fixed small bugs in Embperl::Form::Validate test code reported by Axel
Beckert.
- charcters 128-160 are now escaped in URLs to avoid problems with
Mozilla.
- fixed missing escaping of '/' in Embperl::Form::Validate JS routines.
Patch from Axel Beckert.
- fixed spelling: CACKE_KEY -> CACHE_KEY. Reported by Andre Landwehr.
- URL escaping now fully conforms to RFC 2396. This mainly solves some
problems
where IE interpreted characters in URLs as UTF8.
- Embperl::Form::Validate JavaScript code can now handle fieldnames that
aren't correct JavaScript identifier.
- Fix SIGSEGV when printing to Embperl::LOG before Embperl log file is
setup.
- Fix problem when session id is given to Embperl, but session management
was not setup
- Added 'same' validation to check if two fileds have the same input
enterd
- Fixed memory leak. Patch from Joshua Chamas.
- Use MP_AP_PREFIX as source for APache 2. Patch from Paul Dyer.
- Fixed a initialisation bug which caused under special conditions a
segfault
when compiling a select tag.
- Fixed compiler warnings and errors when compiling with Perl 5.8.0.
- Replaced PL_sv_undef with ep_sv_undef (which is a copy of PL_sv_undef),
because storing PL_sv_undef in a Perl 5.8.0 hash is treated as a
placeholder
and doesn't work as before.
- Fixed problem with [$ sub $] when running under Perl 5.8.0.
- Fixed problem when STDOUT is tied, because storage has changed in Perl
5.8.0.
- Fixed problem when single quote or backslash is inside of option or
input value.
Bug reported by Saadiq Rodgers-King.
- Added [$last$], [$next$], [$redo$] and documented [* next *] etc.
- Readdeded missing MailFormTo and added test for it.
- Fixed escaping inside of html attributes of Embperl generated tags like
input
and [$ hidden $]. Reported by Axel Beckert.
- checked and selected attributes are now correctly set when values
contains
entities (e.g. <)
- Fixed segfault when cleanup is called to early. Reported by Neil
Gunton.
- If no name is given for a key, Form::Validate now tries to lookup the
correct
text via Embperl's gettext method.
- Fixed problem with message ids that are Perl keywords. Reported by
Jaak.
- Added EMBPERL_COOKIE_SECURE option to transfer cookie only over a
secure
connection.
- Added EMBPERL_OUTPUT_MODE that allows to change to XML output, which
cause
generated tags to contains a closing slash, so they are valid
XML/XHTML.
- Fixed make test to ignore different idention of newer versions of
libxslt.
- Added server_addr to the request param object.
- Keep spaces and newlines in <mail:send> tag.
- Embperl::Mail now encodes all header fields that contains characters
between
128 and 255. Use headerencoding parameter to turn of or tell Embperl
your charset.
- Fixed mod_perl 2 detection when mod_perl is build with MP_INST_APACHE2.
- Fixed problem with reseting $escmode, when using print OUT. Reported by
David Hull.
- Fixed compiling problem on FreeBSD.
- Added function XML::Embperl::DOM::iSetText to change name of Tag.
Requested by Yatin Chawathe.
- EMBPERL_COOKIE_EXPIRES now again accepts relatives times like +2h.
- embpexec.pl now correctly takes config values from environment
for application object.
- Added -type => Integer, IPAddr, IPAddr_Net, FQDN_IPAddr, TimeHHMM,
TimeHHMMSS,
EMail and EMailRFC to Embperl::Form::Validate.
- Fixed problem with [$var$] and select reported by Joshua Spoerri.
- Embperl compiles and tests now correctly if mod_perl installed
under Apache2 namespace.
- Added tests for epform and subreq.
- Added patch from David Hull, which let you specify the status-code
when doing a redirect via %http_headers_out.
- Fix SIGSEGV on sparc in cleanup. Patch from Angus Lees.
- Apply patch from Angus Lees which avoids a lot of (harmless) compiler
warnings.
- %idat is now also populated for checkboxes and radiobuttons where no
matching
value in %fdat is found. This avoid duplicate submission of formdata
when using [$ hidden $].
- fixed memory allocation problem that had occured when mod_perl was
staticly linked into Apache.
- removed old Embperl 1 test files from distribution
- corrected initialization of ap_filter_rec structure which had lead to
random
segfaults when using the subreq parameter.
--------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 939-122
WWW: http://www.ecos.de/ Fax: +49 6133 939-333
--------------------------------------------------------------
|
| ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: announce-unsubscribe@perl.apache.org
For additional commands, e-mail: announce-help@perl.apache.org
Re: ANNOUNCE: Embperl 2.0b9
Posted by Webmaster New <we...@ceska-media.cz>.
Hi Gerald and All,
It seems that new Embperl 2.0b9 created the same error during make test,
unfortunately I haven´t my Apache and modperl compiled with debugging sign
now,
Despite that I´m real greenhorn in matters of the debugging and compilation,
I´ll try to compile it with debugging support
an send you GDB output....
My configuration: Linux LFS built for i686-linux
Apache/1.3.27 (Unix) mod_perl-1.27_01-dev-rc1 Perl, v5.8.0
Best regards
Honza Kyncl
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: ANNOUNCE: Embperl 2.0b9
Posted by Gerald Richter <ri...@ecos.de>.
Angus,
>
> there are zillions of compile warnings about "suggest parentheses
> around assignment used as truth value" in the ExtUtils::XSBuilder
> generated code and a few elsewhere (when compiling with
> OPTIMIZE=-Wall). I cleaned up these compile warnings with one of my
> patches I posted a while ago (also included in the debian
> libextutils-xsbuilder-perl package). Gerald, I can repost these
> patches if they got lost somewhere.
>
I just searched back in my mail folders, but I didn't found a patch for
xsbuilder. So please resend it.
> xs/Embperl/Req.xs gets errdat1, errdat2 and lastwarn accessors wrong.
> - it thinks they're type char (not char*) and the default value for
> "val" is NULL (which is wrong for a char).
>
> Embperl::Req::Config::mult_field_sep assigns NULL to a char type too.
> - from memory, this was a simple change to ExtUtils::XSBuilder's
> null_type(), to teach it about "char".
>
xsbuilder doesn't handle char (without *) correctly. That's known bug and
needs to be fixed.
> CV* foo = epxs_sv2_SVPTR() gives an "assignment from incompatible
> pointer type" (at least in Embperl::Req::Config::allow())
>
There is simply I typecast missing. I fixed it here in XSBuilder.
> mod_embperl.c:417: warning: unsigned int format, pointer arg (arg 3)
> - I'm not sure what this sprintf is trying to do; left over
> debugging?
You comment this line out (and the defintion of buf). It was start for some
code for smarter handlin of Embperl_APPNAME, but is not working yet.
>
> your recent additions to Embperl/Form/Validate/ seem to have not made
> it into the released tar.gz (they're in CVS).
>
Oops, that's. I fixed the MANIFEST
> errgv_empty_set should return an I32 (not IV) to match struct ufuncs
> prototype.
>
That's true. Is now fixed. (Stolen this from mod_perl and not verified the
data type...)
> epcomp.c:embperl_COmpileCmd()
> - nCodeLen might need to be initialised to 0
Need not to be inialized, but I have done this now to avoid the compiler
warning.
>
> epdom.c:DomTree_dodelete()
> - xNode might need to be initialised to -1 (if ArrayGetSize(a,pLookup)
== 0)
>
if ArrayGetSize(a,pLookup) == 0 we don't go into the while loop and nNode is
never used. So no need to initialize.
Thanks very much for your comments
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: ANNOUNCE: Embperl 2.0b9
Posted by Angus Lees <gu...@inodes.org>.
I haven't tested on non-i386 archs yet, but:
there are zillions of compile warnings about "suggest parentheses
around assignment used as truth value" in the ExtUtils::XSBuilder
generated code and a few elsewhere (when compiling with
OPTIMIZE=-Wall). I cleaned up these compile warnings with one of my
patches I posted a while ago (also included in the debian
libextutils-xsbuilder-perl package). Gerald, I can repost these
patches if they got lost somewhere.
xs/Embperl/Req.xs gets errdat1, errdat2 and lastwarn accessors wrong.
- it thinks they're type char (not char*) and the default value for
"val" is NULL (which is wrong for a char).
Embperl::Req::Config::mult_field_sep assigns NULL to a char type too.
- from memory, this was a simple change to ExtUtils::XSBuilder's
null_type(), to teach it about "char".
CV* foo = epxs_sv2_SVPTR() gives an "assignment from incompatible
pointer type" (at least in Embperl::Req::Config::allow())
mod_embperl.c:417: warning: unsigned int format, pointer arg (arg 3)
- I'm not sure what this sprintf is trying to do; left over
debugging?
your recent additions to Embperl/Form/Validate/ seem to have not made
it into the released tar.gz (they're in CVS).
errgv_empty_set should return an I32 (not IV) to match struct ufuncs
prototype.
epcomp.c:embperl_COmpileCmd()
- nCodeLen might need to be initialised to 0
epdom.c:DomTree_dodelete()
- xNode might need to be initialised to -1 (if ArrayGetSize(a,pLookup) == 0)
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: ANNOUNCE: Embperl 2.0b9
Posted by Kyncl <ky...@pcv.cz>.
Hi Gerald and All,
It seems that new Embperl 2.0b9 created the same error during make test,
unfortunately I haven´t my Apache and modperl compiled with debugging sign
now,
Despite that I´m real greenhorn in matters of the debugging and compilation,
I´ll try to compile it with debugging support
an send you GDB output....
My configuration: Linux LFS built for i686-linux
Apache/1.3.27 (Unix) mod_perl-1.27_01-dev-rc1 Perl, v5.8.0
Best regards
Honza Kyncl
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org