/[pcre]/code/trunk/maint/README
ViewVC logotype

Diff of /code/trunk/maint/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 350 by ph10, Wed Jul 2 19:18:41 2008 UTC revision 372 by ph10, Tue Aug 26 11:49:38 2008 UTC
# Line 23  Builducptable    A Perl script that crea Line 23  Builducptable    A Perl script that crea
23                   directory.                   directory.
24  ----------------- This file is now OBSOLETE and no longer used ----------------  ----------------- This file is now OBSOLETE and no longer used ----------------
25    
26    GenerateUtt.py   A Python script to generate part of the pcre_tables.c file
27                     that contains Unicode script names in a long string with
28                     offsets, which is tedious to maintain by hand.
29    
30  ManyConfigTests  A shell script that runs "configure, make, test" a number of  ManyConfigTests  A shell script that runs "configure, make, test" a number of
31                   times with different configuration settings.                   times with different configuration settings.
32    
# Line 40  Unicode.tables   The files in this direc Line 44  Unicode.tables   The files in this direc
44  ucptest.c        A short C program for testing the Unicode property macros  ucptest.c        A short C program for testing the Unicode property macros
45                   that do lookups in the pcre_ucd.c data, mainly useful after                   that do lookups in the pcre_ucd.c data, mainly useful after
46                   rebuilding the Unicode property table. Compile and run this in                   rebuilding the Unicode property table. Compile and run this in
47                   the "maint" directory.                   the "maint" directory (see comments at its head).
48    
49  ucptestdata      A directory containing two files, testinput1 and testoutput1,  ucptestdata      A directory containing two files, testinput1 and testoutput1,
50                   to use in conjunction with the ucptest program.                   to use in conjunction with the ucptest program.
# Line 58  Updating to a new Unicode release Line 62  Updating to a new Unicode release
62  ---------------------------------  ---------------------------------
63    
64  When there is a new release of Unicode, the files in Unicode.tables must be  When there is a new release of Unicode, the files in Unicode.tables must be
65  refreshed from the web site, and the MultiStage2.py script can then be run to  refreshed from the web site. If the new version of Unicode adds new character
66  generate a new version of pcre_ucd.c. The ucptest program can be used to check  scripts, the source file ucp.h and both the MultiStage2.py and the
67  that the resulting table works properly, using the data files in ucptestdata to  GenerateUtt.py scripts must be edited to add the new names. Then the
68  check a number of test characters.  MultiStage2.py script can then be run to generate a new version of pcre_ucd.c
69    and the GenerateUtt.py can be run to generate the tricky tables for inclusion
70    in pcre_tables.c.
71    
72    The ucptest program can then be compiled and used to check that the new tables
73    in pcre_ucd.c work properly, using the data files in ucptestdata to check a
74    number of test characters.
75    
76    
77  Preparing for a PCRE release  Preparing for a PCRE release
# Line 249  others are relatively new. Line 259  others are relatively new.
259    
260  . Check names that consist entirely of digits: PCRE allows, but do Perl and  . Check names that consist entirely of digits: PCRE allows, but do Perl and
261    Python, etc?    Python, etc?
262    
263    . A user suggested a parameter to limit the length of string matched, for
264      example if the parameter is N, the current match should fail if the matched
265      substring exceeds N. This could apply to both match functions. The value
266      could be a new field in the extra block.
267    
268    . Callouts with arguments: (?Cn:ARG) for instance.
269    
270    . A user is going to supply a patch to generalize the API for user-specific
271      memory allocation so that it is more flexible in threaded environments.
272    
273  Philip Hazel  Philip Hazel
274  Email local part: ph10  Email local part: ph10
275  Email domain: cam.ac.uk  Email domain: cam.ac.uk
276  Last updated: 02 July 2008  Last updated: 26 August 2008

Legend:
Removed from v.350  
changed lines
  Added in v.372

  ViewVC Help
Powered by ViewVC 1.1.5