Log of /perl/embperl/trunk/Embperl.xs
Parent Directory
|
Revision Log
Revision
294766 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 9 05:12:19 2005 UTC
(4 years, 3 months ago)
by
richter
File length: 5056 byte(s)
Diff to
previous 294730
(
colored)
- http headers from %http_headers_out will now also be send when the
init method of an application object return non zero (e.g. 302 for redirect).
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
294730 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 27 20:05:48 2005 UTC
(4 years, 8 months ago)
by
richter
File length: 4932 byte(s)
Diff to
previous 294702
(
colored)
- Reimplemented SetupSession, CleanupSession and SetSessionCookie
which can be used to access Embperl session data from outside,
for example from mod_perl Authentication handler.
Revision
294646 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 16 08:24:26 2004 UTC
(5 years, 10 months ago)
by
richter
File length: 4065 byte(s)
Diff to
previous 294641
(
colored)
- fix inc path problem with perl 5.8.2 in make test
- fix taited problem with mod_perl 1.99_12
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
294641 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 12 20:34:22 2003 UTC
(6 years, 5 months ago)
by
richter
File length: 4047 byte(s)
Diff to
previous 294578
(
colored)
- fixed various compiler warnings reported by Angus Lees.
- Added missing Form/Validate modules to distribution.
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
294221 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 1 21:31:10 2001 UTC
(8 years, 2 months ago)
by
richter
File length: 14078 byte(s)
Diff to
previous 294184
(
colored)
- Add undef to %idat for select tag with nothing selected if
optAllFormdata is set.
- source sync <-> Embperl 2
Revision
294160 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri May 18 08:32:09 2001 UTC
(8 years, 6 months ago)
by
richter
File length: 12863 byte(s)
Diff to
previous 294141
(
colored)
- fixes problem with cleanup and Perl 5.6.0+ which broke
session management. Spotted by Lukas Zapletal and Andy Lim.
- Improved Makefile.PL to catche more setup situation on
Win 32.
Revision
294138 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu May 10 19:08:38 2001 UTC
(8 years, 6 months ago)
by
richter
File length: 12626 byte(s)
Diff to
previous 294121
(
colored)
- adapted make test to Perl 5.6.1 and 5.7.1 so now it passes sucessfully.
- fixed problem with cleanup in threaded Perl 5.6.1 and higher
- added pod documentation to embperl.pl. Patch from Angus Lees.
- %http_headers_out can take now array refs as elements to set multiple
headers of the same value. Patch from Maxwell Krohn.
- No module-documenations (like Intro.pod Faq.pod etc) now get copied under
the correct directory and man pages are generated with the correct name
(e.g. perldoc HTML::Embperl::Intro works now after installation). Based
on an idea from Angus Lees.
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: 11537 byte(s)
Diff to
previous 294005
(
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: 11298 byte(s)
Diff to
previous 293953
(
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
293953 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 17 08:23:09 2000 UTC
(9 years, 1 month ago)
by
richter
File length: 11049 byte(s)
Diff to
previous 293952
(
colored)
- Embperl is now able to output binary data if EMBPERL_ESCMODE
and/or $escmode is zero. This also include that no CRLF is
added at the end of the file, if escmode is zero.
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: 10929 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
293920 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 11 09:53:38 2000 UTC
(9 years, 2 months ago)
by
richter
File length: 10658 byte(s)
Diff to
previous 293903
(
colored)
- Embperl now runs on ActiveState Perl. With a lot of help
from Randy Korbes.
- embpcgi* and embpexec* are now geratated out of *.templ instead
of editied in place to avoid problems with cvs conflicts
and lower/uppercase on Win32. Suggest by Jens-Uwe Mager.
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: 10535 byte(s)
Diff to
previous 293901
(
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
293795 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 28 19:14:12 2000 UTC
(9 years, 8 months ago)
by
richter
File length: 9688 byte(s)
Diff to
previous 293776
(
colored)
- Fixed SIGSEGV which occurs in cleanup with Perl 5.6. Spotted by
Aaron Johnson.
- Changed make test so it works correctly with new error messages of
Perl 5.6.
Revision
293776 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 4 06:10:03 2000 UTC
(9 years, 10 months ago)
by
richter
File length: 9650 byte(s)
Diff to
previous 293768
(
colored)
- Fixed a SIGSEGV in OPTION tag which occurs due to
different integer sizes on 64Bit systems. With help
from David Waldo.
Revision
293768 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 12 19:32:43 1999 UTC
(9 years, 11 months ago)
by
richter
File length: 9650 byte(s)
Diff to
previous 293755
(
colored)
- fix a SIGSEGV that could occur under rare conditions in
cleanup. With help from Todd Eigenschink and Gary Shea.
Revision
293755 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 2 08:33:39 1999 UTC
(10 years ago)
by
richter
File length: 9683 byte(s)
Diff to
previous 293741
(
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
293741 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 28 06:40:06 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 8909 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, 3 months ago)
by
richter
File length: 8616 byte(s)
Diff to
previous 293721
(
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
293721 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 10 13:37:05 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 8396 byte(s)
Diff to
previous 293719
(
colored)
- '%' is escaped to %25 inside of URLs
- Inside the A tag only the HREF attribute is URL escaped, instead
of the whole tag.
- The SRC attribute of embed, frame, iframe, img, layer now are
also URL escaped.
- Giving a an array refernce inside an URL, cause Embperl expand
it to URL parameter syntax (i.e. [+ \@A +] becomes A=1&B=2, when
@A = (A, 1, B, 2) ).
- Embperl checks now for unclosed metacommands (if, while etc.) and
unclosed HTML tags (table etc.). Suggest by Todd Eigenshink.
- Fixed a problem when file was not found, which causes in some cases
a SIGSEGV.
- Added new configuration directive EMBPERL_MAIL_ERRORS_TO. If set
all error messages will be send to the given address.
- input_/output_func parameter can take a code reference as
argument. Based on a patch from Jon Tobey.
- Set force PERL_DL_NONLAZY to zero, so make test does not fail
if dynaloader was initialized with PERL_DL_NONLAZY set.
Patch from John Tobey.
- [$ foreach $i(x..y) $] does not require a space before the (
anymore. Suggested by Jonny Cavell.
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: 8057 byte(s)
Diff to
previous 293706
(
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
293706 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun May 30 14:59:49 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 8012 byte(s)
Diff to
previous 293701
(
colored)
- Reworked the cleanup. Now imported values from other modules
left unchanged. This solves problems with using modules
inside Embperl pages, which exports some global variables.
- Added the %CLEANUP hash. Put variables into with should be
additional cleaned up ($CLEANUP{'var'} = 1) or which shouldn't
cleaned up ($CLEANUP{'var'} = 0)
Revision
293701 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon May 10 20:35:14 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 7680 byte(s)
Diff to
previous 293699
(
colored)
- Made Makefile.PL more smarter in DSO situations. It detecteds now
which of the needed Apache modules are linked staticly and places
neccessary LoadModule statements in the httpd.conf for make test.
This way make test should work also where all modules linked at
runtime, like on RedHat 6. With help form James H. Thompson.
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: 7650 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: 7127 byte(s)
Diff to
previous 293696
(
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
293696 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 30 21:56:11 1999 UTC
(10 years, 8 months ago)
by
richter
File length: 6784 byte(s)
Diff to
previous 293692
(
colored)
- fixed a small memory leak which was caused by not releasing
memory space for the cookie-name/-domain etc.
- added the missing -T switch to embpexec.test.bat, which caused the
taint test in cgi mode to fail on win32
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: 6573 byte(s)
Diff to
previous 293667
(
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
293667 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 20 19:52:33 1998 UTC
(11 years ago)
by
richter
File length: 6403 byte(s)
Diff to
previous 293666
(
colored)
- Makefile.PL does now check if mod_perl is compiled into apache
and don't create a config for USE_DSO situtation even if
libperl.so exists.
- some cleanups
Revision
293666 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 19 20:05:12 1998 UTC
(11 years ago)
by
richter
File length: 9162 byte(s)
Diff to
previous 293657
(
colored)
- Enhanced the detection of Stronghold, Apache SSL and mod_ssl
so they are found if they are not in a standard path. Spotted
by Brad Cox.
- Convert relativ path for apache source to absolute to avoid
problems within test script. Spotted by Brad Cox.
- Make Embperl compile with useperio=defined. Spotted by Todd
Eigenshink.
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: 9136 byte(s)
Diff to
previous 293640
(
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, 2 months ago)
by
richter
File length: 8946 byte(s)
Diff to
previous 293639
(
colored)
- added test for including Embperl pages inside another Embperl page
- fixed some errors in errorhandling
- more small fixups
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: 8664 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.
Revision
293622 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 17 19:05:43 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 5717 byte(s)
Diff to
previous 293613
(
colored)
- Make sure all data is flushed to the logfile at the end of
each request
- Catch "die" within EMBPERL_INPUT/OUTPUT_FUNC and write error
message to the logfile
- Write error message of LWP::UserAgent in ProxyInput to logfile
if any
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.