/[Apache-SVN]/httpd/httpd/branches/2.2.x/server/util_pcre.c
ViewVC logotype

Log of /httpd/httpd/branches/2.2.x/server/util_pcre.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 332309 - (view) (annotate) - [select for diffs]
Modified Thu Nov 10 15:20:05 2005 UTC (4 years ago) by jim
File length: 7346 byte(s)
Diff to previous 234103 (colored)
No functional change: remove trailing whitespace. This also means
that "blank" lines, which had consisted of just spaces
and/or tabs are now truly blank lines

Revision 234103 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 18:21:45 2005 UTC (4 years, 3 months ago) by pquerna
File length: 7347 byte(s)
Diff to previous 227189 (colored)
Recreate 2.2.x branch from trunk.

Revision 227189 - (view) (annotate) - [select for diffs]
Modified Wed Aug 3 09:45:57 2005 UTC (4 years, 3 months ago) by jorton
Original Path: httpd/httpd/trunk/server/util_pcre.c
File length: 7347 byte(s)
Diff to previous 154207 (colored)
* server/util_pcre.c (ap_regexec): Fix --with-pcre build with older
versions of pcre.

Revision 154207 - (view) (annotate) - [select for diffs]
Modified Thu Feb 17 23:45:16 2005 UTC (4 years, 9 months ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_pcre.c
File length: 7238 byte(s)
Diff to previous 153407 (colored)
  Get httpd-2.1 building once again on win32.

  NEVER NEVER screw around with redeclaring AP_ macros and constants.
  If the compiler won't pick them up, e.g., AP_DECLARE, ya've done 
  something wrong from the start.

  All httpd/ap headers depend on httpd.h - plain and simple, so this
  un-convolutes the unusual order here.

  STATIC has become PCRE_STATIC, along with some other odd definitions.
  The only remaining emit is that _pcre_free export is imported, which
  implies something is unusual with the declaration.  Still researching.

Revision 153407 - (view) (annotate) - [select for diffs]
Modified Fri Feb 11 14:57:34 2005 UTC (4 years, 9 months ago) by jorton
Original Path: httpd/httpd/trunk/server/util_pcre.c
File length: 7259 byte(s)
Diff to previous 153384 (colored)
* include/ap_regex.h: Include apr.h not stdlib.h; replace pointless
regoff_t typedef with int; s/size_t/apr_size_t/;.  Comment fixes.

* server/util_pcre.c: s/size_t/apr_size_t/.

* include/httpd.h: Include stdlib.h here instead since many other
files assume it was included by httpd.h at some point.

Revision 153384 - (view) (annotate) - [select for diffs]
Modified Fri Feb 11 12:00:41 2005 UTC (4 years, 9 months ago) by jorton
Original Path: httpd/httpd/trunk/server/util_pcre.c
File length: 7200 byte(s)
Copied from: httpd/httpd/trunk/srclib/pcre/pcreposix.c revision 126601
Diff to previous 106690 (colored)
Move the POSIX reg* implementations into the ap_* namespace;
internalise the ap_reg*<->PCRE wrapper:

* configure.in: Add srclib/pcre to the include path.

* include/ap_regex.h: Renamed from include/pcreposix.h.  Prefix all
constants with AP_; prefix all functions and types with ap_.  Define
AP_DECLARE to nothing if necessary.  Remove regcomp error codes.

* include/httpd.h: Include ap_regex.h not pcreposix.h.
(ap_pregcomp, ap_regexec, ap_regfree): s/regex_t/ap_regex_t/.
(ap_regexec, ap_regerror): Prototypes moved to ap_regex.h.

* server/util.c (regex_cleanup, ap_pregcomp, ap_pregsub, ap_pregfree):
Adjust for ap_ prefixed types.  (ap_regexec, ap_regerror): Removed.

* server/Makefile.in: Build util_pcre.c.

* server/util_pcre.c: Copied from srclib/pcre/pcreposix.c; remove use
of PCRE-internals to do error mapping; rename types to add AP_/ap_
prefixes as above.  Use APR includes.  (ap_regerror): Use apr_snprintf.

* srclib/pcre/Makefile.in: Don't build pcreposix.c into libpcre.la.

* modules/*: Update to use new type and constant names.

PR: 27750 (part one)
Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton

Revision 106690 - (view) (annotate) - [select for diffs]
Modified Sat Nov 27 07:28:04 2004 UTC (4 years, 11 months ago) by brianp
Original Path: httpd/httpd/trunk/srclib/pcre/pcreposix.c
File length: 11279 byte(s)
Diff to previous 106103 (colored)
Upgraded the copy of PCRE within srclib/pcre to version 5.0

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
Original Path: httpd/httpd/trunk/srclib/pcre/pcreposix.c
File length: 9858 byte(s)
Diff to previous 94069 (colored)
general property cleanup

Revision 94069 - (view) (annotate) - [select for diffs]
Modified Thu Mar 21 04:17:11 2002 UTC (7 years, 8 months ago) by brianp
Original Path: httpd/httpd/trunk/srclib/pcre/pcreposix.c
File length: 9858 byte(s)
Diff to previous 94043 (colored)
Performance optimization: use a temp buffer on the stack instead
of a malloc'ed buffer in regexec() in cases where the required
buffer size is small.

This will help us avoid a malloc/free pair when executing mod_rewrite
rules that use $1/$2/etc to reference sequences in the matched pattern.

Note: I've also submitted this change as a patch for PCRE, but because
the next PCRE release isn't planned until later this year I'm
committing it to the httpd-2.0 copy of PCRE in the meantime.

Revision 94043 - (view) (annotate) - [select for diffs]
Modified Wed Mar 20 06:22:57 2002 UTC (7 years, 8 months ago) by brianp
Original Path: httpd/httpd/trunk/srclib/pcre/pcreposix.c
File length: 9273 byte(s)
Diff to previous 91181 (colored)
PCRE 3.9 merge

Revision 91181 - (view) (annotate) - [select for diffs]
Modified Fri Sep 28 17:15:12 2001 UTC (8 years, 1 month ago) by wrowe
Original Path: httpd/httpd/trunk/srclib/pcre/pcreposix.c
File length: 9018 byte(s)
Diff to previous 86529 (colored)
  This broken bit causes a segfault after locking pconf as read-only.

Revision 86529 - (view) (annotate) - [select for diffs]
Modified Wed Oct 11 07:42:44 2000 UTC (9 years, 1 month ago) by wrowe
Original Path: httpd/httpd/trunk/srclib/pcre/pcreposix.c
File length: 8863 byte(s)
Diff to previous 85154 (colored)
  Yet another warning down (pps... I choose to cast rc since i is being
  doubled... I expect the mismatched types were deliberate.)

Revision 85154 - (view) (annotate) - [select for diffs]
Added Fri May 5 23:28:20 2000 UTC (9 years, 6 months ago) by rbb
Original Path: httpd/httpd/trunk/srclib/pcre/pcreposix.c
File length: 8854 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