Log of /perl/embperl/trunk/eputil.c
Parent Directory
|
Revision Log
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
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
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
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
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
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
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
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 & 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 '<' is correctly translated
to '<' and '\<' is translated to '<' .
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.
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.