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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 580492 - (view) (annotate) - [select for diffs]
Modified Fri Sep 28 21:44:19 2007 UTC (2 years, 1 month ago) by richter
File length: 60796 byte(s)
Diff to previous 478479 (colored)
    - Added support for Code ref in language message lookup hash.
      That allows for internationalization to call a sub instead
      of only looking up keys in a hash.
    - Fix segfault that occured during output of an error message
      when not inside an Embperl request.



Revision 478479 - (view) (annotate) - [select for diffs]
Modified Thu Nov 23 06:07:36 2006 UTC (3 years ago) by richter
File length: 59887 byte(s)
Diff to previous 331953 (colored)
Fixed timezone compiletime error on Mac OS-X.

Revision 331953 - (view) (annotate) - [select for diffs]
Modified Wed Nov 9 05:11:19 2005 UTC (4 years ago) by richter
File length: 59817 byte(s)
Diff to previous 328577 (colored)
    - Added better UTF-8 support:
	- Output escaping now takes Perl's UTF-8 flags into
          account and will not escape UTF-8 chars anymore
        - Diretive Embperl_Output_Esc_Charset allows to
          generaly switch between Latin1, Latin2 and UTF-8.
          (For UTF-8 this is not necessary when Perl's UTF-8
           Flag is correctly set, but this is not the case
           for all datasources)


Revision 328577 - (view) (annotate) - [select for diffs]
Modified Wed Oct 26 06:44:05 2005 UTC (4 years, 1 month ago) by richter
File length: 59437 byte(s)
Diff to previous 294778 (colored)
    - Added Support for calling Embperl::Object::Execute inside
      an Embperl page. (Allow to nest new requests)      
    - Fixed compile problem with timezone on BSD systems


Revision 294778 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 13:30:14 2005 UTC (4 years, 1 month ago) by richter
File length: 59319 byte(s)
Diff to previous 294763 (colored)
date header for Embperl::Mail

Revision 294763 - (view) (annotate) - [select for diffs]
Modified Sun Aug 7 16:57:28 2005 UTC (4 years, 3 months ago) by richter
File length: 58317 byte(s)
Diff to previous 294762 (colored)
add missing format for time in windows

Revision 294762 - (view) (annotate) - [select for diffs]
Modified Sun Aug 7 16:16:12 2005 UTC (4 years, 3 months ago) by richter
File length: 58274 byte(s)
Diff to previous 294756 (colored)
fix compiler errors
PR:
Obtained from:
Submitted by:
Reviewed by:

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: 57923 byte(s)
Diff to previous 294743 (colored)
changed copyright year to 2005

Revision 294743 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 08:06:39 2005 UTC (4 years, 8 months ago) by richter
File length: 57923 byte(s)
Diff to previous 294727 (colored)
gmtime ersetzt

Revision 294727 - (view) (annotate) - [select for diffs]
Modified Tue Feb 22 16:34:29 2005 UTC (4 years, 9 months ago) by richter
File length: 57929 byte(s)
Diff to previous 294724 (colored)
- fix httpd startup when mod_perl is linked staticly and mod_dso is also
used
- Add Test for $req_rec inside Registry and Execute

Revision 294724 - (view) (annotate) - [select for diffs]
Modified Mon Jan 17 06:24:40 2005 UTC (4 years, 10 months ago) by richter
File length: 57900 byte(s)
Diff to previous 294702 (colored)
   - Fix [= =] with included spaces in embpmsgid.pl. Reported by Robert.
   - Make undef values for translation hashs treat as the same as
     non exists. Requested by Robert.
   - Let embpmsgid.pl parse out language tags of gettext, sort output
     and don't convert chars > 128 to octal values. Requested by Robert.

Revision 294702 - (view) (annotate) - [select for diffs]
Modified Mon Aug 16 07:36:22 2004 UTC (5 years, 3 months ago) by richter
File length: 57821 byte(s)
Diff to previous 294696 (colored)
additional tweak and README updates

Revision 294696 - (view) (annotate) - [select for diffs]
Modified Mon Aug 16 05:30:05 2004 UTC (5 years, 3 months ago) by richter
File length: 57821 byte(s)
Diff to previous 294694 (colored)
fix small memory leak

Revision 294694 - (view) (annotate) - [select for diffs]
Modified Mon Aug 16 03:39:01 2004 UTC (5 years, 3 months ago) by richter
File length: 57813 byte(s)
Diff to previous 294692 (colored)
avoid some compiler warnings

Revision 294692 - (view) (annotate) - [select for diffs]
Modified Sat Aug 14 14:28:47 2004 UTC (5 years, 3 months ago) by richter
File length: 57741 byte(s)
Diff to previous 294691 (colored)
memory debugging and internal structure validaten and fix for apha 64

Revision 294691 - (view) (annotate) - [select for diffs]
Modified Mon Aug 9 19:44:44 2004 UTC (5 years, 3 months ago) by richter
File length: 57650 byte(s)
Diff to previous 294672 (colored)
fix segafult within warning during initialisation

Revision 294672 - (view) (annotate) - [select for diffs]
Modified Sun Mar 7 19:44:14 2004 UTC (5 years, 8 months ago) by richter
File length: 57550 byte(s)
Diff to previous 294655 (colored)
fix cookie expires

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: 57520 byte(s)
Diff to previous 294633 (colored)
Update docs

Revision 294633 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 18:57:03 2003 UTC (6 years, 8 months ago) by richter
File length: 57520 byte(s)
Diff to previous 294632 (colored)
fix compiler warnings

Revision 294632 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 14:12:14 2003 UTC (6 years, 8 months ago) by richter
File length: 57516 byte(s)
Diff to previous 294630 (colored)
fix sigsegv on sparc

Revision 294630 - (view) (annotate) - [select for diffs]
Modified Thu Feb 27 07:48:08 2003 UTC (6 years, 9 months ago) by richter
File length: 57493 byte(s)
Diff to previous 294629 (colored)
fix EXPIRES config

Revision 294629 - (view) (annotate) - [select for diffs]
Modified Thu Feb 27 07:05:33 2003 UTC (6 years, 9 months ago) by richter
File length: 57461 byte(s)
Diff to previous 294625 (colored)
Apache2:: + subreq test

Revision 294625 - (view) (annotate) - [select for diffs]
Modified Sat Feb 15 20:46:33 2003 UTC (6 years, 9 months ago) by richter
File length: 57450 byte(s)
Diff to previous 294623 (colored)
cookie expire

Revision 294623 - (view) (annotate) - [select for diffs]
Modified Fri Feb 14 22:54:04 2003 UTC (6 years, 9 months ago) by richter
File length: 57124 byte(s)
Diff to previous 294607 (colored)
cookie expires relativ times

Revision 294607 - (view) (annotate) - [select for diffs]
Modified Wed Jan 8 06:03:23 2003 UTC (6 years, 10 months ago) by richter
File length: 54607 byte(s)
Diff to previous 294597 (colored)
search debug + website updates

Revision 294597 - (view) (annotate) - [select for diffs]
Modified Tue Nov 26 10:03:45 2002 UTC (7 years ago) by richter
File length: 53508 byte(s)
Diff to previous 294578 (colored)
   - website changes
   - If no name is given for a key, Form::Validate now tries to lookup the correct
     text via Embperl's gettext method.
   - Fixed problem with message ids that are Perl keywords. Reported by Jaak.
   - Added EMBPERL_COOKIE_SECURE option to transfer cookie only over a secure
     connection.
   - Added EMBPERL_OUTPUT_MODE that allows to change to XML output, which cause
     generated tags to contains a closing slash, so they are valid XML/XHTML.

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: 50840 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: 34715 byte(s)
Diff to previous 294195 (colored)
   - Add undef to %idat for select tag with nothing selected if
     optAllFormdata is set.
   - source sync <-> Embperl 2

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: 34417 byte(s)
Diff to previous 294184 (colored)
Session handling

Revision 294184 - (view) (annotate) - [select for diffs]
Modified Fri Jun 15 06:28:24 2001 UTC (8 years, 5 months ago) by richter
File length: 32921 byte(s)
Diff to previous 294178 (colored)
   - Added method $r -> Espace for html & url escaping

Revision 294178 - (view) (annotate) - [select for diffs]
Modified Tue Jun 5 03:22:09 2001 UTC (8 years, 5 months ago) by richter
File length: 30632 byte(s)
Diff to previous 294171 (colored)
- fix compiler warning on windows

Revision 294171 - (view) (annotate) - [select for diffs]
Modified Tue May 29 06:28:11 2001 UTC (8 years, 6 months ago) by richter
File length: 30614 byte(s)
Diff to previous 294138 (colored)
Source sync

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: 28749 byte(s)
Diff to previous 294120 (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 294120 - (view) (annotate) - [select for diffs]
Modified Wed May 2 04:09:08 2001 UTC (8 years, 6 months ago) by richter
File length: 28399 byte(s)
Diff to previous 294115 (colored)
 make test for Perl 5.7.1

Revision 294115 - (view) (annotate) - [select for diffs]
Modified Fri Apr 27 06:38:15 2001 UTC (8 years, 7 months ago) by richter
File length: 28382 byte(s)
Diff to previous 294087 (colored)
Fix problem with magic variables for first call of a page

Revision 294087 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 12:27:58 2001 UTC (8 years, 8 months ago) by richter
File length: 28374 byte(s)
Diff to previous 294055 (colored)
Embperl 1 - sync with 2.0

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

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: 19345 byte(s)
Diff to previous 293755 (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 293755 - (view) (annotate) - [select for diffs]
Modified Tue Nov 2 08:33:39 1999 UTC (10 years ago) by richter
File length: 19305 byte(s)
Diff to previous 293729 (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 293729 - (view) (annotate) - [select for diffs]
Modified Sat Sep 4 17:48:37 1999 UTC (10 years, 2 months ago) by richter
File length: 19401 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: 19401 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: 19400 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: 18892 byte(s)
Diff to previous 293720 (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 293720 - (view) (annotate) - [select for diffs]
Modified Sun Aug 8 23:56:33 1999 UTC (10 years, 3 months ago) by richter
File length: 18844 byte(s)
Diff to previous 293719 (colored)
   - Doku updates
   - Inside of an A tag URL escaped characters are translated back
     to their ascii aquivalent inside of perl code, before the code
     is executed. This avoid problems with HTML editors, which
     changes space to %20 inside an URL.

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: 18908 byte(s)
Diff to previous 293697 (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 293697 - (view) (annotate) - [select for diffs]
Modified Tue Apr 20 09:25:04 1999 UTC (10 years, 7 months ago) by richter
File length: 18881 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: 15637 byte(s)
Diff to previous 293680 (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 293680 - (view) (annotate) - [select for diffs]
Modified Wed Jan 6 21:13:59 1999 UTC (10 years, 10 months ago) by richter
File length: 15637 byte(s)
Diff to previous 293652 (colored)
   - Added the dbgProfile flag which cause the display of the time
     since the request start for every source line in the logfile.
   - Correct a problem that the escape character ('\') was not removed
     when unescaping the input. Now '&lt;' is correctly translated
     to '<'  and '\&lt;' is translated to '&lt;' .

Revision 293652 - (view) (annotate) - [select for diffs]
Modified Mon Oct 26 19:26:00 1998 UTC (11 years, 1 month ago) by richter
File length: 15488 byte(s)
Diff to previous 293637 (colored)
- fix compile error with EPDEBUGALL

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: 15472 byte(s)
Diff to previous 293613 (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 293613 - (view) (annotate) - [select for diffs]
Added Tue Jul 14 20:11:17 1998 UTC (11 years, 4 months ago) by richter
File length: 13042 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