annotate src/.cvsignore @ 5648:3f4a234f4672

Support non-ASCII correctly in character classes, test this. src/ChangeLog addition: 2012-04-21 Aidan Kehoe <kehoea@parhasard.net> Support non-ASCII correctly in character classes ([:alnum:] and friends). * regex.c: * regex.c (ISBLANK, ISUNIBYTE): New. Make these and friends independent of the locale, since we want them to be consistent in XEmacs. * regex.c (print_partial_compiled_pattern): Print the flags for charset_mule; don't print non-ASCII as the character values in ranges, this breaks with locales. * regex.c (enum): Define various flags the charset_mule and charset_mule_not opcodes can now take. * regex.c (CHAR_CLASS_MAX_LENGTH): Update this. * regex.c (re_iswctype, re_wctype): New, from GNU. * regex.c (re_wctype_can_match_non_ascii): New; used when deciding on whether to use charset_mule or the ASCII-only regex character set opcode. * regex.c (regex_compile): Error correctly on long, non-existent character class names. Break out the handling of charsets that can match non-ASCII into a separate clause. Use compile_char_class when compiling character classes. * regex.c (compile_char_class): New. Used in regex_compile when compiling character sets that may match non-ASCII. * regex.c (re_compile_fastmap): If there are flags set for charset_mule or charset_mule_not, we can't use the fastmap (since we need to check syntax table values that aren't available there). * regex.c (re_match_2_internal): Check the new flags passed to the charset_mule{,_not} opcode, observe them if appropriate. * regex.h: * regex.h (enum): Expose re_wctype_t here, imported from GNU. tests/ChangeLog addition: 2012-04-21 Aidan Kehoe <kehoea@parhasard.net> * automated/regexp-tests.el: * automated/regexp-tests.el (Assert-char-class): Check that #'string-match errors correctly with an over-long character class name. Add tests for character class functionality that supports non-ASCII characters. These tests expose bugs in GNU Emacs 24.0.94.2, but pass under current XEmacs.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 21 Apr 2012 18:58:28 +0100
parents c11067d70e63
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
1 *.so.*
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
2 Emacs.ad.h
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
3 GNUmakefile
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
4 Makefile
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 Makefile.in
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
6 NEEDTODUMP
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
7 SATISFIED
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
8 Xpm.dll
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 config.h
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
10 dump-id.c
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
11 gmon.out
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
12 paths.h
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 puresize-adjust.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 sheap-adjust.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 temacs
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
16 temacs.bsc
1123
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
17 temacs.ilk
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
18 temacs.map
1123
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
19 temacs.opt
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
20 temacs.pdb
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
21 update-elc.stamp
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 xemacs
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
23 xemacs.dmp
1123
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
24 xemacs.ilk
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
25 xemacs.map
533
f38950946dcf [xemacs-hg @ 2001-05-12 11:39:18 by ben]
ben
parents: 479
diff changeset
26 xemacs.opt
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
27 *.tmp
1123
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
28 makeinfo_test.bat
1361
ffdb1a771055 [xemacs-hg @ 2003-03-18 00:54:00 by youngs]
youngs
parents: 1123
diff changeset
29 REBUILD_AUTOLOADS
2835
ae83ac9c29b3 [xemacs-hg @ 2005-06-28 12:02:39 by crestani]
crestani
parents: 1361
diff changeset
30 dump-size
ae83ac9c29b3 [xemacs-hg @ 2005-06-28 12:02:39 by crestani]
crestani
parents: 1361
diff changeset
31 xemacs.def
ae83ac9c29b3 [xemacs-hg @ 2005-06-28 12:02:39 by crestani]
crestani
parents: 1361
diff changeset
32 xemacs.def.in
3092
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 2835
diff changeset
33 .dbxrc
3521
c11067d70e63 [xemacs-hg @ 2006-07-19 19:38:39 by crestani]
crestani
parents: 3092
diff changeset
34 .dbxrc.in
3092
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 2835
diff changeset
35 .gdbinit
3521
c11067d70e63 [xemacs-hg @ 2006-07-19 19:38:39 by crestani]
crestani
parents: 3092
diff changeset
36 .gdbinit.in