1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

39 Commits

Author SHA1 Message Date
Eli Zaretskii
c181ea400e Add 4 new bidi-class values in unidata-gen.el. 2013-12-22 20:24:23 +02:00
Eli Zaretskii
77e5bcc52e Fix bug #16216 with 'name' Unicode property of control characters.
admin/unidata/unidata-gen.el (unidata-split-name): Don't give any NAME
 to <control> characters: the Unicode Standard says they have no
 name.

 doc/lispref/nonascii.texi (Character Properties): NAME or OLD-NAME
 properties can be nil (there's no empty string).
2013-12-22 20:02:37 +02:00
Eli Zaretskii
ad82612405 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.
2013-12-04 18:58:05 +02:00
Glenn Morris
c2a2e7b0b0 * unidata-gen.el (unidata-gen-files): Disable autoloads in generated files. 2013-11-28 12:21:55 -08:00
Glenn Morris
b5c9a3cccb * admin/unidata/unidata-gen.el (unidata-gen-files): Tweak whitespace
in generated files.
2013-11-10 16:50:52 -08:00
Glenn Morris
129c301bf7 * admin/unidata/unidata-gen.el (unidata-gen-files):
Fix deletion of existing output files after 2013-10-30 changes.
2013-11-08 19:12:56 -05:00
Glenn Morris
9d172c157c * admin/unidata/unidata-gen.el (unidata-gen-files): Update Unicode copyright 2013-11-06 23:57:35 -08:00
Glenn Morris
099f5cd098 * admin/unidata/unidata-gen.el (unidata-gen-files): Disable version-control
in generated files.
2013-11-06 19:21:15 -08:00
Glenn Morris
9835cedbfa Simplify admin/unidata Makefile rules
* admin/unidata/unidata-gen.el (unidata-gen-files): Use pop.
Also take the output directory as an argument.

* admin/unidata/Makefile.in: Simplify now that unidata-gen-files takes
the output directory as an argument (no need to cd, etc).
(abs_srcdir, abs_builddir): Remove.
(abs_top_builddir): Replace by top_builddir.
(${DSTDIR}/charprop.el): No need to cd.  Pass dest as argument.
(${DSTDIR}/charprop.el, charprop.el):
No need to pass unidata.txt as argument.
2013-10-30 00:15:23 -07:00
Glenn Morris
0d0ab9326b * admin/unidata/unidata-gen.el (unidata--ensure-compiled): New function.
(unidata-gen-table-name, unidata-gen-table-decomposition)
(unidata-gen-files): Use unidata--ensure-compiled.

Add FSF copyright years based on when this file first appeared in
Emacs trunk.
2013-10-29 23:25:44 -07:00
Kenichi Handa
c406be4337 Make the default values of character properties name, old-name, and iso-10646-comment to nil. 2012-02-16 22:55:03 +09:00
Paul Eggert
5396468298 Spelling fixes. 2011-11-19 01:18:31 -08:00
Eli Zaretskii
bca633fb29 Followup for character properties in 2011-08-23T11:48:07Z!handa@m17n.org.
src/bidi.c (bidi_get_type): Abort if we get zero as the bidi type of
 a character.
 admin/unidata/unidata-gen.el (unidata-prop-alist): Update the default
 values of bidi-class according to DerivedBidiClass.txt from the
 latest UCD.
 lisp/international/uni-bidi.el: Regenerated.
 doc/lispref/nonascii.texi (Character Properties): Document the values for
 unassigned codepoints.
2011-08-23 17:45:14 +03:00
Kenichi Handa
0902a04edd Fix default values of character properties. 2011-08-23 20:48:07 +09:00
Kenichi Handa
c805dec0b5 Add C interface for Unicode character property table. 2011-07-07 07:43:48 +09:00
Glenn Morris
ca7e840863 Revert accidental update of non-FSF copyright from 2010-01-13T08:35:10Z!rgm@gnu.org. 2011-01-02 16:01:07 -08:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Juanma Barranquero
c0943d3db2 Fix typos in docstrings, comments and ChangeLogs.
* etc/tutorials/TUTORIAL.es: Fix typos.

* lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
  Fix typo in message.
  (semantic-symref-list-map-open-hits): Fix typo in docstring.

* lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.

* lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.

* lisp/international/mule.el (define-coding-system):
* lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
* composite.el (compose-region): Fix typo in docstring.

* lisp/org/org-agenda.el (org-prefix-category-length)
  (org-prefix-category-max-length): Fix typos in docstrings.

* src/font.c (Ffont_variation_glyphs):
* ccl.c (Fccl_execute_on_string): Fix typo in docstring.
2010-10-13 01:25:19 +02:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Kenichi Handa
149353a4eb (unidata-gen-table): Fix for the case that the block data and the
following per-char data fall into the same char-table leaf.
2009-11-06 06:31:48 +00:00
Chong Yidong
e845514044 Add copyright header. 2009-06-04 01:16:20 +00:00
Kenichi Handa
0b4ff5dfa0 (unidata-get-decomposition): Fix previous change. 2009-04-21 02:11:25 +00:00
Kenichi Handa
88758986d5 (unidata-get-decomposition): Adjust Hangle decomposition rule to
Unicode.
2009-04-17 02:36:03 +00:00
Kenichi Handa
0af3fedff9 (unidata-describe-decomposition): Return
a string with a composition property to disable combining
characters being composed.
2009-04-09 11:06:49 +00:00
Glenn Morris
f858db9ff1 Add 2009 to copyright years. 2009-01-08 04:24:42 +00:00
Kenichi Handa
f1478738d8 (unidata-prop-alist): Docstring for
`decomposition' property adjusted.
(unidata-split-decomposition): Don't include surrounding "<" and
">" in a symbol name.
2008-12-02 01:12:14 +00:00
Kenichi Handa
2fc9e56e9e (unidata-prop-alist): Docstring adjusted. 2008-12-01 11:41:16 +00:00
Kenichi Handa
dd787998bf (unidata-prop-alist): Set `numric-value'
property generator to unidata-gen-table-numeric.
(unidata-get-numeric, unidata-put-numeric)
(unidata-gen-table-numeric): New functions.
(unidata-encode-val): Use assoc to get a slot in VAL-LIST.
2008-12-01 11:39:09 +00:00
Glenn Morris
9ad5de0c1c Switch to recommended form of GPLv3 permissions notice. 2008-05-09 23:48:10 +00:00
Juanma Barranquero
dd7d19d7ce (unidata-prop-alist): Fix typo in description of `numeric-value'.
(unidata-put-character): Fix typo in error message.
2008-04-14 10:47:12 +00:00
Glenn Morris
835a3da77a Update copyright years and GPL version. 2008-02-02 03:52:44 +00:00
Jason Rumney
db516472cb (unidata-gen-files): Force unix line ends. 2008-02-02 02:23:24 +00:00
Kenichi Handa
d636247a15 (unidata-get-decomposition): For Hangul
decomposition, if T is the same as TBase, don't include it in the
returned list.
2005-05-12 01:49:40 +00:00
Kenichi Handa
3921ea2136 (unidata-text-file): Delete it.
(unidata-list): Initialize to nil.
(unidata-setup-list): New function.
(unidata-gen-files): New optional arg unidata-text-file.  If it's
nil, set unidata-text-file the left command line arg.  Call
unidate-setup-list at first.
2005-05-11 12:29:25 +00:00
Kenichi Handa
1275c1dc8e Typo fixed in comments. Change
string-to-int to string-to-number.
(unidata-text-file): Defined to .../unidata.txt.
(unidata-list): Just insert unidata-text-file.
(unidata-get-decomposition): Handle Hangul decomposition.
(unidata-gen-files): Don't use \040, instead at ^L near the end of
file.
2005-05-10 02:29:41 +00:00
Kenichi Handa
752fc44b12 (unidata-get-name): Handle U+110B. 2005-03-02 11:04:10 +00:00
Kenichi Handa
e60b06d782 (unidata-get-name): Handle "CJK IDEOGRAPH". 2005-03-02 07:16:34 +00:00
Miles Bader
e9a8c04f3f Changes from arch/CVS synchronization 2005-01-31 00:22:22 +00:00
Kenichi Handa
f600cf3af9 New file. 2005-01-30 11:22:05 +00:00