Reviewed by: NOBODY (OOPS!)
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Dec 2002 21:57:20 +0000 (21:57 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Dec 2002 21:57:20 +0000 (21:57 +0000)
commitc74f9578536e95cb9270b9b72dcd6d34fb4cf5b3
tree65a21addd81e221627787cd29a2cfd278edbf7b4
parent5232daac30a15a7537621f7af3fabe70dcb4ffd8
    Reviewed by: NOBODY (OOPS!)

Set things up so JavaScriptCore builds in PCRE and uses it for
regular expressions. This fixes many form validation bugs:

- fixed 3103197 - javascript at fidelity.com rejects valid input
- fixed 2942552 - form validation at weather.com fails
- fixed 3079752 - js always reports textarea is empty
- fixed 3079719 - covad.com "check availalbility" fails

        * Makefile.am: Add pcre subdir.
        * kjs/config.h: define HAVE_PCREPOSIX to true.
* kjs/regexp.h: Don't include pcreposix.h since nothing from there
is used.
* pcre/.cvsignore: Added.
        * pcre/ChangeLog: Removed.
        * pcre/INSTALL: Removed.
        * pcre/Makefile.am: Added.
        * pcre/Makefile.in: Removed.
        * pcre/NEWS: Removed.
        * pcre/NON-UNIX-USE: Removed.
        * pcre/README: Removed.
        * pcre/chartables.c: Added.
        * pcre/config.guess: Removed.
        * pcre/config.in: Removed.
        * pcre/config.sub: Removed.
        * pcre/configure: Removed.
        * pcre/configure.in: Removed.
        * pcre/dll.mk: Removed.
        * pcre/doc/Tech.Notes: Removed.
        * pcre/doc/pcre.3: Removed.
        * pcre/doc/pcre.html: Removed.
        * pcre/doc/pcre.txt: Removed.
        * pcre/doc/pcregrep.1: Removed.
        * pcre/doc/pcregrep.html: Removed.
        * pcre/doc/pcregrep.txt: Removed.
        * pcre/doc/pcreposix.3: Removed.
        * pcre/doc/pcreposix.html: Removed.
        * pcre/doc/pcreposix.txt: Removed.
        * pcre/doc/pcretest.1: Removed.
        * pcre/doc/pcretest.html: Removed.
        * pcre/doc/pcretest.txt: Removed.
        * pcre/doc/perltest.txt: Removed.
        * pcre/install-sh: Removed.
        * pcre/ltmain.sh: Removed.
        * pcre/pcre-config.h: Added.
        * pcre/pcre-config.in: Removed.
        * pcre/internal.h: Include pcre-config.h instead of config.h
        * pcre/pcre.c:
        (ord2utf8): Fix warnings.
        (pcre_compile): Fix warnings.
        * pcre/pcre.def: Removed.
        * pcre/pcre.h: Added.
        * pcre/pcre.in: Removed.
        * JavaScriptCore.pbproj/project.pbxproj: Added pcre files to build.
        * JavaScriptCorePrefix.h: Guard c++ headers with #ifdef __cplusplus.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@2933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
44 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/ChangeLog-2003-10-25
JavaScriptCore/JavaScriptCore.pbproj/project.pbxproj
JavaScriptCore/JavaScriptCorePrefix.h
JavaScriptCore/Makefile.am
JavaScriptCore/kjs/config.h
JavaScriptCore/kjs/regexp.h
JavaScriptCore/pcre/.cvsignore [new file with mode: 0644]
JavaScriptCore/pcre/ChangeLog [deleted file]
JavaScriptCore/pcre/INSTALL [deleted file]
JavaScriptCore/pcre/Makefile.am [new file with mode: 0644]
JavaScriptCore/pcre/Makefile.in [deleted file]
JavaScriptCore/pcre/NEWS [deleted file]
JavaScriptCore/pcre/NON-UNIX-USE [deleted file]
JavaScriptCore/pcre/README [deleted file]
JavaScriptCore/pcre/chartables.c [new file with mode: 0644]
JavaScriptCore/pcre/config.guess [deleted file]
JavaScriptCore/pcre/config.in [deleted file]
JavaScriptCore/pcre/config.sub [deleted file]
JavaScriptCore/pcre/configure [deleted file]
JavaScriptCore/pcre/configure.in [deleted file]
JavaScriptCore/pcre/dll.mk [deleted file]
JavaScriptCore/pcre/doc/Tech.Notes [deleted file]
JavaScriptCore/pcre/doc/pcre.3 [deleted file]
JavaScriptCore/pcre/doc/pcre.html [deleted file]
JavaScriptCore/pcre/doc/pcre.txt [deleted file]
JavaScriptCore/pcre/doc/pcregrep.1 [deleted file]
JavaScriptCore/pcre/doc/pcregrep.html [deleted file]
JavaScriptCore/pcre/doc/pcregrep.txt [deleted file]
JavaScriptCore/pcre/doc/pcreposix.3 [deleted file]
JavaScriptCore/pcre/doc/pcreposix.html [deleted file]
JavaScriptCore/pcre/doc/pcreposix.txt [deleted file]
JavaScriptCore/pcre/doc/pcretest.1 [deleted file]
JavaScriptCore/pcre/doc/pcretest.html [deleted file]
JavaScriptCore/pcre/doc/pcretest.txt [deleted file]
JavaScriptCore/pcre/doc/perltest.txt [deleted file]
JavaScriptCore/pcre/install-sh [deleted file]
JavaScriptCore/pcre/internal.h
JavaScriptCore/pcre/ltmain.sh [deleted file]
JavaScriptCore/pcre/pcre-config.h [new file with mode: 0644]
JavaScriptCore/pcre/pcre-config.in [deleted file]
JavaScriptCore/pcre/pcre.c
JavaScriptCore/pcre/pcre.def [deleted file]
JavaScriptCore/pcre/pcre.h [moved from JavaScriptCore/pcre/pcre.in with 87% similarity]