Log of /perl/embperl/trunk/epcmd.c
Parent Directory
|
Revision Log
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: 67818 byte(s)
Diff to
previous 294208
(
colored)
- Add undef to %idat for select tag with nothing selected if
optAllFormdata is set.
- source sync <-> Embperl 2
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: 65038 byte(s)
Diff to
previous 294196
(
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
294001 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 15 08:15:42 2000 UTC
(9 years ago)
by
richter
File length: 64647 byte(s)
Diff to
previous 293951
(
colored)
- Carridge Returns are only removed for Perl 5.004. This makes using of
HERE documents possible on Perl 5.005+, even if the documents has CRLF
as lineendings.
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: 64645 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
293915 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 21 04:22:50 2000 UTC
(9 years, 3 months ago)
by
richter
File length: 64677 byte(s)
Diff to
previous 293912
(
colored)
- Fixed a problem with importing files that contains foreach and
do until loops, which may caused a syntax error or endless
loop. Spotted by Steffen Geschke.
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: 64610 byte(s)
Diff to
previous 293910
(
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
293910 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 17 07:32:10 2000 UTC
(9 years, 3 months ago)
by
richter
File length: 64560 byte(s)
Diff to
previous 293777
(
colored)
- Embperl now supports Apache::Session 1.52. See "Session handling"
in the docs, how the setup has changed.
- changed require to use HTML::Embperl in EmbperlObject to avoid problems
with dynamic loading. Spotted by Robert.
- Embperl takes the cookie for session handling from the Apache
request record to make it available in earlier phases then the
content handler. Suggested by Jack Cushman.
- added entity decoding for value attribute of radio/checkboxes.
Spotted by Chris Thorman.
- %fdat is not resetup when already done and formtype is
multipart/formdata. Spotted by Michael Slade.
- Embperl inserts & instead of a signle & inside query strings
when expaned from array or hash refs.
- Embperl now also accepts hashref inside a url and expand it
to a query_string i.e. <a href="foo.html?[+ { a=>1, b=>2 }+]"> will become
<a href="foo.html?a=1&b=>2">.
- EMBPERL_COOKIE_EXPIRES now also supports relativ times like:
+30s +10m +1h -1d +3M +10y
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: 64337 byte(s)
Diff to
previous 293755
(
colored)
- Fixed a SIGSEGV in OPTION tag which occurs due to
different integer sizes on 64Bit systems. With help
from David Waldo.
Revision
293755 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 2 08:33:39 1999 UTC
(10 years ago)
by
richter
File length: 64265 byte(s)
Diff to
previous 293745
(
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: 63683 byte(s)
Diff to
previous 293735
(
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
293735 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 10 05:05:34 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 63849 byte(s)
Diff to
previous 293731
(
colored)
- Fixed a problem with loading Apache::Session 1.01, when
Apache::Session 0.17 is not installed. Spotted by Volker Hess.
Revision
293731 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 8 05:11:37 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 63712 byte(s)
Diff to
previous 293729
(
colored)
- Fix a memory leak which eats one SV per <OPTION> tag, introduced
in 1.2b6.
- German documentation (IntroD.pod, FeaturesD.pod and EmbperlD.pod)
are now included in the distribution.
Revision
293729 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 4 17:48:37 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 63690 byte(s)
Diff to
previous 293726
(
colored)
- Fixed behaviour of <INPUT>. <INPUT> now does not overide
VALUE="" with the value from %fdat. This seems to has been
broken, since a couple of versions and the fix may break
pages that depends on that wrong behaviour. Anyway I have
to fix it before the release version is out!
- Fixed error in URL unescaping, spotted by Hartmut Palm.
- _WINSOCK2API_ gets defined on Win32, when compiling with
Apache 1.3.9. Spotted by Randy Korbes.
- Win32 test uses also embpexec.test.pl (instead of .bat),
so cgi test runs also with Apache 1.3.9. Spotted by Randy Korbes.
Revision
293726 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 30 04:23:03 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 63653 byte(s)
Diff to
previous 293722
(
colored)
- Fixed a SIGSEGV that occurs with $optRawInput = 1 and a
value is in %fdat, but not in the input html tag. Spotted
by Robert.
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: 63653 byte(s)
Diff to
previous 293721
(
colored)
- fix a bug in URL unescaping
- select <option value="a & b"> works now correctly. Spotted by
Rick Welykochy.
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: 63562 byte(s)
Diff to
previous 293714
(
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
293714 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 6 11:56:14 1999 UTC
(10 years, 4 months ago)
by
richter
File length: 60439 byte(s)
Diff to
previous 293708
(
colored)
- Embperl now never writes to the logfile if EMBPERL_DEBUG is zero
- make test now runs with newest version of mod_ssl (2.3.5)
- Added option optKeepSpaces which will disable the removing of spaces
and empty lines from the output. Suggested from Gary Shea.
- Added option optOpenLogEarly, which will cause Embperl to open the
logfile as soon as it is loaded into memory. You can use this when
you loaded Embperl via PerlModule under Apache, to open the log
as root instead of the non-privileged user Apache runs as.
Revision
293708 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon May 31 04:20:35 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 60316 byte(s)
Diff to
previous 293706
(
colored)
- fixed a problem with dynamic tables, that occurs when you
had tried to repeat multiple table rows
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: 60116 byte(s)
Diff to
previous 293699
(
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
293699 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri May 7 20:13:54 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 60019 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: 59930 byte(s)
Diff to
previous 293691
(
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
293691 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 21 12:39:28 1999 UTC
(10 years, 9 months ago)
by
richter
File length: 57786 byte(s)
Diff to
previous 293689
(
colored)
- Renamed __strdup and __strndup so there are no duplicate
symbols when compiling with glibc. Spotted by Michael Hall.
- Removed some debugging message from the logfile output.
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: 58168 byte(s)
Diff to
previous 293673
(
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
293673 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 8 19:53:07 1998 UTC
(10 years, 11 months ago)
by
richter
File length: 58168 byte(s)
Diff to
previous 293662
(
colored)
- fixed a bug that causes the html after an endforeach to be
skiped, when the foreach loop gets an empty array as argument.
Spotted by Dirk Lutzebaeck.
Revision
293662 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 8 19:54:11 1998 UTC
(11 years ago)
by
richter
File length: 58105 byte(s)
Diff to
previous 293661
(
colored)
- Added %mdat for persistent data on a perl module/page basis
- Added patch for Apache::Session for %mdat
- 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: 57452 byte(s)
Diff to
previous 293637
(
colored)
- req_rec param isn't necessary anymore for Execute
- added shortform of Execute
- fix a problem with setting $escmode inside a URL
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: 57441 byte(s)
Diff to
previous 293635
(
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
293627 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 27 19:45:29 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 52323 byte(s)
Diff to
previous 293626
(
colored)
- nesting of html and metacommand is independend now
- add test for post request
- add test for optUndefToEmptyValue
- fixed bug with optUndefToEmptyValue
Revision
293626 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 27 14:26:10 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 49028 byte(s)
Diff to
previous 293625
(
colored)
- Added optUndefToEmptyString which will cause Embperl to treat non
existent values in %fdat as empty string in input tags, as suggested
by Steve Willer.
- Fixed a memory leak in foreach metacommand
- Added CVS.pod
Revision
293625 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 26 19:19:57 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 48882 byte(s)
Diff to
previous 293624
(
colored)
- Changes URL escaping than only space, '+', '&', '=' and chars < 0x20
will be escaped to avoid problems with older netscape browsers.
- Added missing documentation for req_rec parameter of the Execute
function. Spotted by Eric Cholet.
- Send correct http header for error page, spotted by Steve Willer
- Added optUndefToEmptyString which will cause Embperl to treat non
existent values in %fdat as empty string in input tags, as suggested
by Steve Willer.
Revision
293624 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 25 15:57:50 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 48676 byte(s)
Diff to
previous 293613
(
colored)
remove some compiler warnings
removed limit of 2048 bytes for get request
read all data on post request, not just 1024 bytes
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.