Log of /perl/embperl/trunk/epdat.h
Parent Directory
|
Revision Log
Revision
294203 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 10 14:06:42 2001 UTC
(8 years, 3 months ago)
by
richter
File length: 21405 byte(s)
Diff to
previous 294194
(
colored)
- Added options optAddUserSessionToLinks, optAddStatusSessionToLinks
and optNoSessionCookies to control how the session id is passed.
- Added new hash %sdat which holds temporary sessins data.
Revision
294050 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 7 08:21:28 2001 UTC
(8 years, 9 months ago)
by
richter
File length: 18421 byte(s)
Diff to
previous 294009
(
colored)
- Added new Introduction to EmbperlObject written by
Neil Gunton. See perldoc IntroEmbperlObject
- Added new Tips and Tricks pod written by
Neil Gunton. See perldoc TipsAndTricks. Anybody is invited
to send me their own Tips and Tricks!
- Fixed a problem that Embperl are in a wired state after an file upload
has been interrupted. Spotted by Dirk Lutzebaeck.
- Fixed a problem set @ISA is not correctly setup in case a file is
compiled in the same package as the base file of EmbperlObject.
Spotted by Neil Gunton.
- Fixed problem with including ../foo.html in EmbperlObject. Spotted
by Neil Gunton.
- Added warning if @ISA is not correctly setup/corrupted.
Revision
293976 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 7 11:28:39 2000 UTC
(9 years ago)
by
richter
File length: 17188 byte(s)
Diff to
previous 293958
(
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: 15913 byte(s)
Diff to
previous 293938
(
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
293903 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 16 17:45:55 2000 UTC
(9 years, 4 months ago)
by
richter
File length: 14528 byte(s)
Diff to
previous 293810
(
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)
- Space is converted to %20 instead of +, because that is more generic.
Suggested by Michael Blakely.
- EmbperlObject now automaticly defines all subs that are declared
inside the base template and inside the requested page, so it isn't
neccessary anymore to call Execute with import => 0 for them.
- Every Embperl Page now get passed a request object (which can be obtained
from $_[0]). The request object is a hash reference which is blessed
into the package HTML::Embperl::Req. Embperl itself don't uses the hash, so
you are free to populate it and pass data between different pages of one request.
- EmbperlObject now setup the inherence so that
request page -ISA->
base template -ISA->
EMBPERL_OBJECT_HANDLER_CLASS (if defined) -ISA->
HTML::Embperl::Req
and the Embperl request object is blessed into the packages of the
requested page, so you can do methods calls to subs that are defined
inside the requested page.
Revision
293810 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 2 04:41:41 2000 UTC
(9 years, 6 months ago)
by
richter
File length: 14418 byte(s)
Diff to
previous 293745
(
colored)
- New $escmode (or EMBPERL_ESCMODE) to disable the possiblilty
to turn off escaping with a leading backslash. Adding 4 to
any escmode will cause Embperl to do no special processing
on the backslash. This is mainly to avoid problems with
cross site scripting issuse, where people are able to enter
aribtary HTML.
- Characters between 128 and 159 are all HTML escaped now to
avoid problems with buggy browser, which were reported to
treat the chars 139 and 141 as < and >.
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: 14339 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: 14293 byte(s)
Diff to
previous 293727
(
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
293727 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 30 11:39:23 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 14188 byte(s)
Diff to
previous 293719
(
colored)
- Embperl works now with Apache::Session 1.01
(1.01 _not_ 1.00 or below!)
- Cookie for session id is only send the first time and not
resend if it's already known by the browser. Suggested
by Roman Maeder.
Revision
293719 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 21 17:53:49 1999 UTC
(10 years, 4 months ago)
by
richter
File length: 14124 byte(s)
Diff to
previous 293699
(
colored)
- Add parameter 'firstline' to specify the linenumber of the
first line in the input
- Defined missing DECLINED constant for non mod_perl environement
Spotted by James Elson.
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: 14057 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: 13860 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: 13432 byte(s)
Diff to
previous 293663
(
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
293663 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 10 09:35:03 1998 UTC
(11 years ago)
by
richter
File length: 13155 byte(s)
Diff to
previous 293657
(
colored)
- Added a patch from Todd Eigenshink to build Embperl with
Stronghold 2.4.1
- Added patch from Gerald McLarnon so Embperl compiles on AIX
- Added optAllowZeroFileSize to accept files of length 0,
without that option Embperl will report NOT_FOUND.
Suggested by Doug Bagley
- some cleanups
Revision
293653 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 27 21:50:57 1998 UTC
(11 years, 1 month ago)
by
richter
File length: 13000 byte(s)
Diff to
previous 293651
(
colored)
- req_rec param isn't necessary anymore for Execute
- added shortform of Execute
- fix a problem with setting $escmode inside a URL
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: 12933 byte(s)
Diff to
previous 293646
(
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
293640 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 28 18:25:32 1998 UTC
(11 years, 1 month ago)
by
richter
File length: 12793 byte(s)
Diff to
previous 293638
(
colored)
- added test for including Embperl pages inside another Embperl page
- fixed some errors in errorhandling
- more small fixups
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.