diff options
| author | Eli Zaretskii | 2013-12-04 18:58:05 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-12-04 18:58:05 +0200 |
| commit | ad82612405604b7d20d86fe6b3283f91bee5e60a (patch) | |
| tree | 569b5c2c0e1e57df688bcde545d6bdf77711fdb3 /src/dispextern.h | |
| parent | 456760a5b4595b84f230e527ab148d296e7f8252 (diff) | |
| download | emacs-ad82612405604b7d20d86fe6b3283f91bee5e60a.tar.gz emacs-ad82612405604b7d20d86fe6b3283f91bee5e60a.zip | |
Fix bug #16043 with crashes when displaying new bidi control characters.
src/bidi.c (bidi_get_type, bidi_get_category): Handle the isolate
directional control characters. Update type and category
determination according to the UBA from Unicode v6.3.
(bidi_category_t): New category EXPLICIT_FORMATTING.
src/dispextern.h (bidi_type_t): Update to include new bidirectional
properties introduced with Unicode v6.3.
admin/unidata/unidata-gen.el (unidata-prop-alist): Update bidi-class
to include the new isolate-related classes introduced with Unicode
v6.3.
(unidata-encode-val): Accept an additional optional argument, a
warning message to emit when UnicodeData.txt defines bidi-class
values that are not in unidata-prop-alist. Add a comment
explaining what should maintainers do if/when such a warning ever
appears.
(unidata-gen-table): Call unidata-encode-val with 3rd arg non-nil
when generating uni-bidi.el.
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 2ce0a8f4c99..7de4edf2196 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1895,6 +1895,10 @@ typedef enum { | |||
| 1895 | RLE, /* right-to-left embedding */ | 1895 | RLE, /* right-to-left embedding */ |
| 1896 | RLO, /* right-to-left override */ | 1896 | RLO, /* right-to-left override */ |
| 1897 | PDF, /* pop directional format */ | 1897 | PDF, /* pop directional format */ |
| 1898 | LRI, /* left-to-right isolate */ | ||
| 1899 | RLI, /* right-to-left isolate */ | ||
| 1900 | FSI, /* first strong isolate */ | ||
| 1901 | PDI, /* pop directional isolate */ | ||
| 1898 | WEAK_ES, /* european number separator */ | 1902 | WEAK_ES, /* european number separator */ |
| 1899 | WEAK_ET, /* european number terminator */ | 1903 | WEAK_ET, /* european number terminator */ |
| 1900 | WEAK_CS, /* common separator */ | 1904 | WEAK_CS, /* common separator */ |