1. 31 Dec, 2006 1 commit
    • ddkilzer's avatar
      JavaScriptCore: · 60a7a800
      ddkilzer authored
              Reviewed by Geoff.
      
              Update embedded pcre library from version 6.2 to 6.4.  Changes from pcre 6.2 to 6.3
              did not include any files in JavaScriptCore/pcre.
      
              All changes include renaming EXPORT to PCRE_EXPORT, renaming of ucp_findchar() to
              _pcre_ucp_findchar(), or comment changes.  Additional changes noted below.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Updated source file list.
              * JavaScriptCore.xcodeproj/project.pbxproj: Renamed pcre_printint.c to pcre_printint.src
              and changed it from a source file to a header file.
              * JavaScriptCoreSources.bkl: Updated source file list.
              * pcre/CMakeLists.txt: Updated source file list.
              * pcre/pcre-config.h:
              * pcre/pcre.h: Updated version.
              * pcre/pcre.pri: Updated source file list.
              * pcre/pcre_compile.c: Include pcre_printint.src #if DEBUG.
              (pcre_compile2):
              * pcre/pcre_config.c:
              * pcre/pcre_exec.c:
              (match):
              * pcre/pcre_fullinfo.c:
              * pcre/pcre_info.c:
              * pcre/pcre_internal.h: Added header guard.  Removed export of _pcre_printint().
              * pcre/pcre_ord2utf8.c:
              * pcre/pcre_printint.c: Renamed to pcre_printint.src.
              * pcre/pcre_printint.src: Added.  Renamed _pcre_printint() to pcre_printint().
              * pcre/pcre_refcount.c:
              * pcre/pcre_study.c:
              * pcre/pcre_tables.c:
              * pcre/pcre_try_flipped.c:
              * pcre/pcre_ucp_findchar.c: Added contents of ucp_findchar.c.
              * pcre/pcre_version.c:
              * pcre/pcre_xclass.c:
              (_pcre_xclass):
              * pcre/ucp.h: Removed export of ucp_findchar().
              * pcre/ucp_findchar.c: Removed.  Contents moved to pcre_ucp_findchar.c.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60a7a800
  2. 17 May, 2006 1 commit
  3. 08 Sep, 2005 1 commit
    • darin's avatar
      Reviewed by Geoff. · d7737ab5
      darin authored
              - updated to PCRE 6.1
      
              The original PCRE 6.1 sources are checked into the tree with the tag
              "pcre-6-1" for reference. What we're checking in right now is the original
              plus our changes to make it support UTF-16 and at least one other tweak
              (vertical tab considered whitespace). Our work to get our changes was
              done on "pcre-6-1-branch", with an anchor at "pcre-6-1-anchor" so you can
              see the evolution of the UTF-16 changes.
      
              Note also that there was one small change made here that's not on the branch
              in pcre_compile.c.
      
              * Info.plist: Updated the part of the copyright message that's about PCRE.
      
              * JavaScriptCore.xcodeproj/project.pbxproj: Added new PCRE source files,
              removed obsolete ones.
      
              * pcre/AUTHORS: Updated to PCRE 6.1. Includes credits for Apple's UTF-16
              changes, but not the credits for Google's C++ wrapper, since we don't include that.
              * pcre/COPYING: Updated to PCRE 6.1.
              * pcre/LICENCE: Ditto.
              * pcre/dftables.c: Ditto.
              * pcre/pcre-config.h: Ditto.
              * pcre/pcre.h: Ditto.
      
              * pcre/pcre_compile.c: Added for PCRE 6.1.
              * pcre/pcre_config.c: Ditto.
              * pcre/pcre_exec.c: Ditto.
              * pcre/pcre_fullinfo.c: Ditto.
              * pcre/pcre_get.c: Ditto.
              * pcre/pcre_globals.c: Ditto.
              * pcre/pcre_info.c: Ditto.
              * pcre/pcre_internal.h: Ditto.
              * pcre/pcre_maketables.c: Ditto.
              * pcre/pcre_ord2utf8.c: Ditto.
              * pcre/pcre_printint.c: Ditto.
              * pcre/pcre_refcount.c: Ditto.
              * pcre/pcre_study.c: Ditto.
              * pcre/pcre_tables.c: Ditto.
              * pcre/pcre_try_flipped.c: Ditto.
              * pcre/pcre_ucp_findchar.c: Ditto.
              * pcre/pcre_version.c: Ditto.
              * pcre/pcre_xclass.c: Ditto.
              * pcre/ucp.h: Ditto.
              * pcre/ucp_findchar.c: Ditto.
              * pcre/ucpinternal.h: Ditto.
              * pcre/ucptable.c: Ditto.
      
              * pcre/get.c: Removed.
              * pcre/internal.h: Removed.
              * pcre/maketables.c: Removed.
              * pcre/pcre.c: Removed.
              * pcre/study.c: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7737ab5
  4. 04 Dec, 2002 1 commit
    • mjs's avatar
      Reviewed by: NOBODY (OOPS!) · 21dbd392
      mjs authored
      	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: http://svn.webkit.org/repository/webkit/trunk@2933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21dbd392