Log of /perl/embperl/trunk/epeval.c
Parent Directory
|
Revision Log
Revision
294732 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 27 22:16:42 2005 UTC
(4 years, 8 months ago)
by
richter
File length: 39809 byte(s)
Diff to
previous 294702
(
colored)
- If an object is passed to die inside Execute the errors array
will receive this object and will not be stringified.
Requested by Robert Noris.
- $epreq -> errobj holds the last object passed to die during
the request.
- Added documentaion of Embperl's error handling and trapping.
Revision
293976 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 7 11:28:39 2000 UTC
(9 years ago)
by
richter
File length: 33986 byte(s)
Diff to
previous 293951
(
colored)
- Fixed problem that call to close triggers error in Session.pm when using Store::File.
Spotted by Alvar Freude.
- Fixed problem that GetSession doesn't return a value for new session.
Spotted by Angus Lees.
- Added new function SetSessionCookie, which can be used to set the session cookie
header in case you use Embperl session management, but don't use a
Embperl page in that request. Suggested by Alex Schmelkin.
- Fixed problem that DeleteSession does not work outside the base template, when
used with EmbperlObject. Spotted by Angus Lees.
- Fixed problem when use multiple nested ../foo.htm inside EmbperlObject.
Spotted by Neil Gunton.
- Included patch from Angus Lees to ease building on debian.
Revision
293951 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 17 07:02:11 2000 UTC
(9 years, 1 month ago)
by
richter
File length: 33922 byte(s)
Diff to
previous 293922
(
colored)
* Now Embperl also searches the path for files like
../foo.html, or bar/foo.html, which includes a relative path.
- ../* is now a shortcut for the requested file, but in the
parent directory (or upper depending on the search path)
- Added hash %CLEANUPFILE. All variables defined into the files given
in this hash, are also cleanup at the end of the request.
Patch from Todd Eigenschink.
Revision
293912 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 20 17:50:13 2000 UTC
(9 years, 3 months ago)
by
richter
File length: 28511 byte(s)
Diff to
previous 293902
(
colored)
- make Embperl compile and run with threaded Perl 5.6. With help
from Jason Bodnar. NOTE: That doesn't mean that Embperl is
threadsafe!
Revision
293902 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 8 17:09:41 2000 UTC
(9 years, 4 months ago)
by
richter
File length: 28459 byte(s)
Diff to
previous 293805
(
colored)
- Added new debug flag dbgObjectSerach which logs the EmbperlObjects
work when searching the correct file.
- If import parameter is given to Execute, Perl code is compiled, but
only [! !] blocks are executed (to allow sub definitions on import)
- New debug flag dbgObjectSearch can be set to see which files
EmbperlObject picksup and how it searches them.
- Space is converted to %20 instead of +, because that is more generic.
Suggested by Michael Blakely.
Revision
293755 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 2 08:33:39 1999 UTC
(10 years ago)
by
richter
File length: 28186 byte(s)
Diff to
previous 293744
(
colored)
- Fixed an endless loop that occured when tainting is on and
the same document is called two times via Execute. With help
from Jason Holt.
- Changed access to addtional upload fileinfo. The old syntax
(${${$fdat{<name_of_field>}}}) isn't available anymore, because
it doesn't work with filenames that are not a vaild per
variable name. Now there is a second field which start with a
dash that's holds a hash ref to the file info. Spotted by
Huang-Ming Pan.
- The Embperl specific part of Apache session (former
Apache::Session::Embperl) is now part of the Embperl distribution
(as HTML::Embperl::Session). This makes Embperl independ of
new releases of Apache::Session. Embperl now works with
Apache::Session version 1.00 and higher. Apache::Session 0.17 is still
supported, but the documentation is removed, because it should no
longer be used.
- Apache::Session must not be preloaded prior to Embperl. It's
enought to set EMBPERL_SESSION_CLASSES and Embperl will bring
the right modules in memory for you.
- Removed the call to mod_perl_sent_header, which was an workaround
for an problem with (very) old mod_perl version, because it doesn't
resolve on (every) IRIX. Spotted by Jearanai Vongsaard.
- NOT_FOUND, FORBIDDEN now also logged thru Apache, so the LogLevel is
honoured and log message in Apache error log get a time stamp.
Spotted by Christian Gilmore.
- Removed warings that apears when compiling with -Wall.
Revision
293744 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 6 05:04:49 1999 UTC
(10 years, 1 month ago)
by
richter
File length: 28313 byte(s)
Diff to
previous 293741
(
colored)
- Added new array @http_headers which could be used to set arbitary
http header under mod_perl _and_ in cgi mode.
- setting http headers and <META HTTP-EQUIV=..> now works also
in cgi mode.
Revision
293741 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 28 06:40:06 1999 UTC
(10 years, 1 month ago)
by
richter
File length: 27940 byte(s)
Diff to
previous 293724
(
colored)
- exit now works the same in offline, mod_perl and cgi mode, it
ends the execution of the page, but not the programm itself.
- exit inside a sub will now really exit the page. Spotted by
Cliff Rayman.
Revision
293724 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 19 04:53:30 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 27888 byte(s)
Diff to
previous 293722
(
colored)
- Fixed SegFault when parameter input => is numeric. Spotted by
Cliff Rayman.
- Added option optNoUncloseWarn, which disables the warnings
about unclosed if, while, table etc.
Revision
293722 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 17 03:46:16 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 27846 byte(s)
Diff to
previous 293704
(
colored)
- fix a bug in URL unescaping
- select <option value="a & b"> works now correctly. Spotted by
Rick Welykochy.
Revision
293704 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed May 26 18:21:33 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 27834 byte(s)
Diff to
previous 293699
(
colored)
- Added the possibility to use recursive calls to Execute.
NOTE: You can create local variables via [* local $foo ; *]
Revision
293699 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri May 7 20:13:54 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 27830 byte(s)
Diff to
previous 293697
(
colored)
- Added new parameter "import" to Execute, which let's you import subs
(defined with [$sub <name>$]) into the current page.
- Added emacs/embperl.el. It's a emacs minor mode for Embperl written
by Erik Arneson
- Output of dbgShowCleanup is now sorted by name
Revision
293697 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 20 09:25:04 1999 UTC
(10 years, 7 months ago)
by
richter
File length: 26743 byte(s)
Diff to
previous 293689
(
colored)
- Added epchar.c.iso-latin-2 from Jiri Novak, which contains the correct
escaping for the iso-8859-2 (iso-latin-2) character set. You may use it
to replace the standard epchar.c
- Added new metacommand [$ sub <name> $] and [$ endsub $] which allows
you to define blocks of code an call them mulitple times inside a page,
either a creating a subrequest Execute('#<name>') or by calling them
directly as a perl subroutine [- <name> -]. Read the docs for more
information on the details and differences.
- @ffld is filled with 'values %fdat' if the ffld parameter in the call
to the Execute funtion is missing.
- Filedata will held into memory until the end of the request, so a
second call to Execute for the same file will not reread the data
from disk.
Revision
293689 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 15 12:28:41 1999 UTC
(10 years, 9 months ago)
by
richter
File length: 24182 byte(s)
Diff to
previous 293676
(
colored)
- Added dbgSession flag to enable/disable logging of session handling
- Added configuration diretives EMBPERL_COOKIE_NAME, EMBPERL_COOKIE_DOMAIN,
EMBPERL_COOKIE_PATH and EMBPERL_COOKIE_EXPIRES to configure the cookie
which holds the session id. Suggested by Cliff Rayman.
- final 1.2b4
Revision
293676 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 31 14:01:16 1998 UTC
(10 years, 10 months ago)
by
richter
File length: 24182 byte(s)
Diff to
previous 293671
(
colored)
- fixed a problem that $req_rec was sometimes invalid on the
second call to the same page causing Embperl to SIGSEGV.
With help of Todd Eigenshink.
- Cleanup the variable space inside Embperl pages. Before this
fix many of the internal my variables were visible to the
Embperl page. Spotted by Todd Eigenshink.
Revision
293671 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 6 19:24:47 1998 UTC
(10 years, 11 months ago)
by
richter
File length: 24179 byte(s)
Diff to
previous 293665
(
colored)
- multiple form values with the same name are handled now
correctly (concated in a tab delimited string) when send
in a multipart/form-data (file-upload). Spotted by Dirk
Lutzebaeck.
- The dbgForm flag works now also for multipart/form-data
- a missing right *] will be reported as an error.
- [[* is correctly output as [* and not interpreted as a
starting of a perl block. Spotted by Dirk Lutzebaeck.
Revision
293665 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 11 20:09:23 1998 UTC
(11 years ago)
by
richter
File length: 23686 byte(s)
Diff to
previous 293659
(
colored)
- fix an undefined pointer which occurs when using precompiled
[* ... *] blocks. Spotted by Bruce W. Holyman and Paul J. Schinder
- removed unwanted 0xa0 characters from tagscan.htm which causes
the test to fail on sunos. Spotted by Paul J. Schnider.
Revision
293649 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Oct 25 21:07:48 1998 UTC
(11 years, 1 month ago)
by
richter
File length: 22992 byte(s)
Diff to
previous 293637
(
colored)
- fixed a wrong call to logerror when OPT_EXECCGI is not on,
spotted by Dirk Lutzebaeck.
- fixed the problem that reloads only takes place at the next day,
because mtime was an int instead of a double. Spotted by
Michael Smith and Roman Maeder.
- cleanup for all subpages are disabled if main request has
disabled cleanup and subpages does not specify otherwise
- dbgShowCleanup works again
- Every package is only cleanuped once, also it's included multiple
times in one page
- %fdat and @ffld are setup correctly when optDisableVarCleanup
is set
Revision
293637 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 25 21:51:52 1998 UTC
(11 years, 2 months ago)
by
richter
File length: 20754 byte(s)
Diff to
previous 293634
(
colored)
- I have reworked the whole source code so Embperl is now
going to be an object. This means Embperl is reentrant, you
can call Execute within an Embperl page, for example to include
the same header on each page.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.