Commit graph

41 commits

Author SHA1 Message Date
Peter Stephenson f52795ea3e 36415: remap bytes from invalid multibyte characters.
These now go to 0xdc00 + index.  If wchar_t is a Unicode code point,
this is by construction an invalid character within the Unicode range.
If it isn't, we would hope the result was no worse than the current
fudge.
2015-09-04 10:07:51 +01:00
Peter Stephenson 61afb8dc8d 36262: Replace fix for missing unmeta in chdir().
It was needed in the argument to one of a pair of lchdir()s rather
than within zchdir().

Add tests for the case of a character with 0x83 within it.
2015-08-21 10:04:13 +01:00
Peter Stephenson 541e7ad68c unposted: another ZTST_skip 2015-07-10 15:50:01 +01:00
Peter Stephenson f1923bdfa6 Add non-metafied character length handling.
Use this in regex module and add test using $'\ua0'.

Rename mb_metacharinit() to mb_charinit() as it does not involve
metafied characters.
2015-06-12 09:30:39 +01:00
Peter Stephenson bfac7f09df 35374: tab expansion with double width characters 2015-06-03 09:58:18 +01:00
Peter Stephenson b237ba0a8e 34587: ensure multibyte characters don't overflow.
They could start incorporating tokens, with bad karma.

Add test.
2015-02-20 16:25:54 +00:00
Peter Stephenson af5a85f363 28339: backslash-newline history without HIST_LEX_WORDS
28340: assignment to range of scalar variable with multibyte characters
2010-10-10 17:51:29 +00:00
Peter Stephenson 72f0b14a04 27188: improve read -q by using read -k code 2009-07-24 18:35:49 +00:00
Peter Stephenson ff0b4ebdd5 26950: warn on failed attempt to change user or group ID
26593: print warning but dont fail test if simple Unicode conversion fails
2009-05-08 14:30:31 +00:00
Peter Stephenson a6ff95d0c1 26954: read should pass through invalid multibyte characters 2009-05-07 16:04:21 +00:00
Peter Stephenson d853f4cd12 26895: restrict multibyte sorting test to western European charcters 2009-04-30 08:37:12 +00:00
Peter Stephenson f91d89ccf8 Paul Ackersviller: 26883: naming of UTF8 locales on HPUX 2009-04-26 19:43:24 +00:00
Peter Stephenson e391f09457 26705: multibyte characters with Meta in ${(%)foo} etc. 2009-03-10 11:12:02 +00:00
Peter Stephenson 25833cc89e 25969: two bugs with metafication plus a test for one 2008-10-30 15:34:18 +00:00
Peter Stephenson 96a1f68875 25911: see if we can work around multibyte problems in file system 2008-10-18 16:03:17 +00:00
Peter Stephenson d25c551c2c 25845: fix pattern but with backslashed and metafied charaters 2008-10-11 22:16:01 +00:00
Peter Stephenson a34d483b8d 24736: a couple more tests failing on Solaris 2008-03-26 15:26:20 +00:00
Peter Stephenson 6cc9c89d89 24673: another attempt to sort characters the same way on multiple UTF-8
implementations
2008-03-03 16:14:52 +00:00
Peter Stephenson 3dd3f72bd9 24618: avoid problems with sorting of UTF-8 characters by using sort 2008-02-27 20:03:21 +00:00
Peter Stephenson 20607774dc 24275: fixes for multibyte characters on Solaris 2007-12-17 17:11:29 +00:00
Peter Stephenson 1e836045b3 24070: some \u fixes in getkeystring() 2007-11-06 20:45:07 +00:00
Peter Stephenson 749951e03d 23792: test and documentation for improved backslash quoting 2007-08-22 10:46:40 +00:00
Peter Stephenson abae4fe16e 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +00:00
Peter Stephenson 5c44b0a472 unposted: stop multibyte test files from cluttering up directory 2007-06-16 17:57:22 +00:00
Peter Stephenson 52e5a75a7a 23486: use {fd} syntax to get fd's for tests 2007-05-29 14:50:28 +00:00
Peter Stephenson 7bb711a3d6 23278: fix NUMERICGLOBSORT, broken by multibyte fixes 2007-04-15 21:42:42 +00:00
Peter Stephenson 0a532a8f7f fix metafication of ${(#)x} 2007-02-10 22:12:58 +00:00
Peter Stephenson e375d5ee88 23119: lower case in sorting properly 2007-01-22 14:35:12 +00:00
Peter Stephenson de815e3d22 23098: printf multibyte character widths 2007-01-09 21:45:45 +00:00
Peter Stephenson f367a90505 22980: 22952 messed up parameter padding flag optional arguments 2006-11-07 22:47:07 +00:00
Peter Stephenson d8207acddb 22952: fix some argument delimiters to work with multibyte characters 2006-11-02 18:43:19 +00:00
Peter Stephenson a242b1eb35 22705: make ${(l...)...} and ${(r...)...} handle multibyte characters 2006-09-13 20:55:29 +00:00
Peter Stephenson 663b9376ad 22562: make ${...#...} etc. understand multibyte characters 2006-07-30 18:00:37 +00:00
Peter Stephenson 09bc7ee2b5 22557: turn on multibyte option by default 2006-07-25 18:10:37 +00:00
Peter Stephenson 50e9ab122b 22556: Multibyte separators and delimiters 2006-07-24 22:00:19 +00:00
Peter Stephenson 0a22eb0e0c 22546: fix {myfd}>... bug and tweak tests 2006-07-11 15:36:37 +00:00
Peter Stephenson 4a67f24798 22544: Improve use of ztype tests for multibyte characters. Add
POSIX_IDENTIFIERS option to control allowability of multibyte
alphanumeric characters in parameter and module names.
2006-07-10 13:08:22 +00:00
Peter Stephenson 4cd7b957f3 22529: multibyte conversion in math expressions 2006-06-30 09:41:34 +00:00
Peter Stephenson 6157c14d06 22525: lengths and cases of multibyte strings in parameters and history 2006-06-28 13:12:55 +00:00
Peter Stephenson f95a6a913c 22524: searchable parameter subscripts with multibyte chars,
a few other fixes
2006-06-27 16:28:45 +00:00
Peter Stephenson fbd93a2a82 22519: initial multibyte parameter tests 2006-06-26 22:01:22 +00:00