Ignore:
Timestamp:
Dec 31, 2006, 9:07:40 PM (18 years ago)
Author:
ddkilzer
Message:

JavaScriptCore:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre_internal.h

    r17372 r18498  
    4040*/
    4141
     42/* This header contains definitions that are shared between the different
     43modules, but which are not relevant to the exported API. This includes some
     44functions whose names all begin with "_pcre_". */
     45
     46#ifndef PCRE_INTERNAL_H
     47#define PCRE_INTERNAL_H
     48
    4249#include "Assertions.h"
    4350
     
    5461#pragma warning(disable: 4244)
    5562#endif
    56 
    57 /* This header contains definitions that are shared between the different
    58 modules, but which are not relevant to the exported API. This includes some
    59 functions whose names all begin with "_pcre_". */
    6063
    6164#define _pcre_OP_lengths kjs_pcre_OP_lengths
     
    7780/* Define DEBUG to get debugging output on stdout. */
    7881
    79 /****
     82#if 0
    8083#define DEBUG
    81 ****/
     84#endif
    8285
    8386/* Use a macro for debugging printing, 'cause that eliminates the use of #ifdef
     
    135138#endif
    136139
    137 /* Include the public PCRE header */
     140/* Include the public PCRE header and the definitions of UCP character property
     141values. */
    138142
    139143#include "pcre.h"
     144#include "ucp.h"
    140145
    141146/* All character handling must be done as unsigned characters. Otherwise there
     
    154159typedef unsigned char pcre_uchar;
    155160#endif
    156 
    157 /* Include the (copy of) the public ucp header, changing the external name into
    158 a private one. This does no harm, even if we aren't compiling UCP support. */
    159 
    160 #define ucp_findchar _pcre_ucp_findchar
    161 #include "ucp.h"
    162161
    163162/* When compiling for use with the Virtual Pascal compiler, these functions
     
    952951
    953952/* Layout of the UCP type table that translates property names into codes for
    954 ucp_findchar(). */
     953_pcre_ucp_findchar(). */
    955954
    956955typedef struct {
     
    984983
    985984extern int         _pcre_ord2utf8(int, uschar *);
    986 extern void        _pcre_printint(pcre *, FILE *);
    987985extern real_pcre * _pcre_try_flipped(const real_pcre *, real_pcre *,
    988986                     const pcre_study_data *, pcre_study_data *);
     
    991989extern BOOL        _pcre_xclass(int, const uschar *);
    992990
     991#endif
     992
    993993/* End of pcre_internal.h */
Note: See TracChangeset for help on using the changeset viewer.