/[Apache-SVN]/perl/embperl/trunk/epcmd.c
ViewVC logotype

Log of /perl/embperl/trunk/epcmd.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 294756 - (view) (annotate) - [select for diffs]
Modified Sun Aug 7 00:03:03 2005 UTC (4 years, 3 months ago) by richter
File length: 70040 byte(s)
Diff to previous 294689 (colored)
changed copyright year to 2005

Revision 294689 - (view) (annotate) - [select for diffs]
Modified Tue Jul 20 04:59:11 2004 UTC (5 years, 4 months ago) by richter
File length: 70040 byte(s)
Diff to previous 294655 (colored)
verbose messages for Hash Error

Revision 294655 - (view) (annotate) - [select for diffs]
Modified Fri Jan 23 06:50:58 2004 UTC (5 years, 10 months ago) by richter
File length: 69294 byte(s)
Diff to previous 294578 (colored)
Update docs

Revision 294578 - (view) (annotate) - [select for diffs]
Modified Tue Oct 22 05:29:12 2002 UTC (7 years, 1 month ago) by richter
File length: 69294 byte(s)
Diff to previous 294221 (colored)
move Embperl 2 to HEAD revision

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 294208 - (view) (annotate) - [select for diffs]
Modified Mon Aug 13 10:53:45 2001 UTC (8 years, 3 months ago) by richter
File length: 66826 byte(s)
Diff to previous 294203 (colored)
-

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 294196 - (view) (annotate) - [select for diffs]
Modified Fri Jul 20 05:29:01 2001 UTC (8 years, 4 months ago) by richter
File length: 65092 byte(s)
Diff to previous 294195 (colored)
comment out not working url session management

Revision 294195 - (view) (annotate) - [select for diffs]
Modified Wed Jul 18 14:30:21 2001 UTC (8 years, 4 months ago) by richter
File length: 65077 byte(s)
Diff to previous 294151 (colored)
Session handling

Revision 294151 - (view) (annotate) - [select for diffs]
Modified Wed May 16 03:56:55 2001 UTC (8 years, 6 months ago) by richter
File length: 64669 byte(s)
Diff to previous 294055 (colored)
fixes for some path problems on win32

Revision 294055 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 05:39:44 2001 UTC (8 years, 9 months ago) by richter
File length: 64658 byte(s)
Diff to previous 294001 (colored)
- some cleanup's
- 1.3.1 :-)

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 293922 - (view) (annotate) - [select for diffs]
Modified Tue Sep 12 12:49:55 2000 UTC (9 years, 2 months ago) by richter
File length: 64636 byte(s)
Diff to previous 293915 (colored)
- Source integration with Embperl 2.0
- make test works when mod_jserv is compiled into Apache

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 &amp; 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&amp;b=>2">.
   - EMBPERL_COOKIE_EXPIRES now also supports relativ times like:
     +30s +10m +1h -1d +3M +10y

Revision 293777 - (view) (annotate) - [select for diffs]
Modified Wed Jan 5 05:41:39 2000 UTC (9 years, 10 months ago) by richter
File length: 64342 byte(s)
Diff to previous 293776 (colored)
- new CVS locations

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 293745 - (view) (annotate) - [select for diffs]
Modified Thu Oct 7 07:07:07 1999 UTC (10 years, 1 month ago) by richter
File length: 64464 byte(s)
Diff to previous 293744 (colored)
   - ACTION attribute of Formtag is now URL en/decoded. Spotted by
     Hartmut Palm.
   -@http -> %http

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 &amp; 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 293661 - (view) (annotate) - [select for diffs]
Modified Sat Nov 7 23:17:45 1998 UTC (11 years ago) by richter
File length: 58141 byte(s)
Diff to previous 293657 (colored)
- adapt test to apache 1.3.4 error output
- fix problem with if inside html tags

Revision 293657 - (view) (annotate) - [select for diffs]
Modified Fri Oct 30 22:43:57 1998 UTC (11 years ago) by richter
File length: 58095 byte(s)
Diff to previous 293655 (colored)
- [# ... #] -> comments
- [* ... *] -> outer subrountine -> my and perl control structures

Revision 293655 - (view) (annotate) - [select for diffs]
Modified Tue Oct 27 22:34:29 1998 UTC (11 years, 1 month ago) by richter
File length: 57637 byte(s)
Diff to previous 293653 (colored)
- Added optNoHiddenEmptyVAlue

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 293635 - (view) (annotate) - [select for diffs]
Modified Tue Sep 15 09:31:46 1998 UTC (11 years, 2 months ago) by richter
File length: 55077 byte(s)
Diff to previous 293634 (colored)
- corrected problems with MailFormTo

Revision 293634 - (view) (annotate) - [select for diffs]
Modified Tue Sep 8 09:52:50 1998 UTC (11 years, 2 months ago) by richter
File length: 55130 byte(s)
Diff to previous 293628 (colored)
- fixed memory leak (checkboxes/select)
- enhanced tests

Revision 293628 - (view) (annotate) - [select for diffs]
Modified Mon Jul 27 21:28:12 1998 UTC (11 years, 4 months ago) by richter
File length: 54400 byte(s)
Diff to previous 293627 (colored)
- checkboxes and select tags could now be setup correcty via %fdat

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

Revision 293613 - (view) (annotate) - [select for diffs]
Added Tue Jul 14 20:11:17 1998 UTC (11 years, 4 months ago) by richter
File length: 48642 byte(s)
Initial revision

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.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2