<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src/character.h, branch pending</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Spelling fixes.</title>
<updated>2011-11-20T02:29:42+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-11-20T02:29:42+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e1dbe924b53c541fdf238a5a722b7177d5c8760b'/>
<id>e1dbe924b53c541fdf238a5a722b7177d5c8760b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't assume that stated character widths fit in int.</title>
<updated>2011-07-19T00:42:24+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-07-19T00:42:24+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5637687fead7d57f73ea9a7677d25b93fb785dc7'/>
<id>5637687fead7d57f73ea9a7677d25b93fb785dc7</id>
<content type='text'>
* character.c (Fchar_width, c_string_width, lisp_string_width):
* character.h (CHAR_WIDTH):
* indent.c (MULTIBYTE_BYTES_WIDTH):
Use sanitize_char_width to avoid undefined and/or bad behavior
with outlandish widths.
* character.h (sanitize_tab_width): Renamed from sanitize_width,
now that we have two such functions.  All uses changed.
(sanitize_char_width): New inline function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* character.c (Fchar_width, c_string_width, lisp_string_width):
* character.h (CHAR_WIDTH):
* indent.c (MULTIBYTE_BYTES_WIDTH):
Use sanitize_char_width to avoid undefined and/or bad behavior
with outlandish widths.
* character.h (sanitize_tab_width): Renamed from sanitize_width,
now that we have two such functions.  All uses changed.
(sanitize_char_width): New inline function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't assume that tab-width fits in int.</title>
<updated>2011-07-18T21:57:37+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-07-18T21:57:37+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a2271ba21087837896098f97663efaa60eab943e'/>
<id>a2271ba21087837896098f97663efaa60eab943e</id>
<content type='text'>
* character.h (sanitize_width): New inline function.
(SANE_TAB_WIDTH): New macro.
(ASCII_CHAR_WIDTH): Use it.
* indent.c (sane_tab_width): Remove.  All uses replaced by
SANE_TAB_WIDTH (current_buffer).
* xdisp.c (init_iterator): Use SANE_TAB_WIDTH.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* character.h (sanitize_width): New inline function.
(SANE_TAB_WIDTH): New macro.
(ASCII_CHAR_WIDTH): Use it.
* indent.c (sane_tab_width): Remove.  All uses replaced by
SANE_TAB_WIDTH (current_buffer).
* xdisp.c (init_iterator): Use SANE_TAB_WIDTH.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge trunk</title>
<updated>2011-07-06T23:28:00+00:00</updated>
<author>
<name>Kenichi Handa</name>
</author>
<published>2011-07-06T23:28:00+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d2a0a50628933d3cdb09818eee2e17f55e22531f'/>
<id>d2a0a50628933d3cdb09818eee2e17f55e22531f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add C interface for Unicode character property table.</title>
<updated>2011-07-06T22:43:48+00:00</updated>
<author>
<name>Kenichi Handa</name>
</author>
<published>2011-07-06T22:43:48+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c805dec0b5fa81b5c9f2b724e2ec12a17d723aca'/>
<id>c805dec0b5fa81b5c9f2b724e2ec12a17d723aca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move DEFSYM to lisp.h and use everywhere.</title>
<updated>2011-06-24T21:25:22+00:00</updated>
<author>
<name>Juanma Barranquero</name>
</author>
<published>2011-06-24T21:25:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cd3520a41df21d80a9d894c58af2daba23c8dd24'/>
<id>cd3520a41df21d80a9d894c58af2daba23c8dd24</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* character.h, charset.h: Use verify_expr, not verify_true.</title>
<updated>2011-06-15T18:57:45+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-06-15T18:57:45+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a2a0186171731765ee67d24a29fb80f54cd874f0'/>
<id>a2a0186171731765ee67d24a29fb80f54cd874f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* character.h (CHAR_VALID_P): Remove unused parameter.</title>
<updated>2011-06-13T04:55:03+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-06-13T04:55:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2638320e0736eb803c9a5788fe517d3346245ff8'/>
<id>2638320e0736eb803c9a5788fe517d3346245ff8</id>
<content type='text'>
* fontset.c, lisp.h, xdisp.c: All uses changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fontset.c, lisp.h, xdisp.c: All uses changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure a 64-bit char is never passed to CHAR_STRING.</title>
<updated>2011-06-13T00:36:03+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-06-13T00:36:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=13bdea59234b227bf8499a64352da3e5fd9e8c7b'/>
<id>13bdea59234b227bf8499a64352da3e5fd9e8c7b</id>
<content type='text'>
Otherwise, CHAR_STRING would do the wrong thing on a 64-bit platform,
by silently ignoring the top 32 bits, allowing some values
that were far too large to be valid characters.
* character.h: Include &lt;verify.h&gt;.
(CHAR_STRING, CHAR_STRING_ADVANCE): Verify that the character
arguments are no wider than unsigned, as a compile-time check
to prevent future regressions in this area.
* data.c (Faset):
* editfns.c (Fchar_to_string, general_insert_function, Finsert_char):
(Fsubst_char_in_region):
* fns.c (concat):
* xdisp.c (decode_mode_spec_coding):
Adjust to CHAR_STRING's new requirement.
* editfns.c (Finsert_char, Fsubst_char_in_region):
* fns.c (concat): Check that character args are actually
characters.  Without this test, these functions did the wrong
thing with wildly out-of-range values on 64-bit hosts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, CHAR_STRING would do the wrong thing on a 64-bit platform,
by silently ignoring the top 32 bits, allowing some values
that were far too large to be valid characters.
* character.h: Include &lt;verify.h&gt;.
(CHAR_STRING, CHAR_STRING_ADVANCE): Verify that the character
arguments are no wider than unsigned, as a compile-time check
to prevent future regressions in this area.
* data.c (Faset):
* editfns.c (Fchar_to_string, general_insert_function, Finsert_char):
(Fsubst_char_in_region):
* fns.c (concat):
* xdisp.c (decode_mode_spec_coding):
Adjust to CHAR_STRING's new requirement.
* editfns.c (Finsert_char, Fsubst_char_in_region):
* fns.c (concat): Check that character args are actually
characters.  Without this test, these functions did the wrong
thing with wildly out-of-range values on 64-bit hosts.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp.h (UNSIGNED_CMP): New macro.</title>
<updated>2011-06-12T23:25:12+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-06-12T23:25:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ea204efb8a3e81a4d9b04d2a36cb8c2a1c74662c'/>
<id>ea204efb8a3e81a4d9b04d2a36cb8c2a1c74662c</id>
<content type='text'>
This fixes comparison bugs on 64-bit hosts.
(ASCII_CHAR_P): Use it.
* casefiddle.c (casify_object):
* character.h (ASCII_BYTE_P, CHAR_VALID_P):
(SINGLE_BYTE_CHAR_P, CHAR_STRING):
* composite.h (COMPOSITION_ENCODE_RULE_VALID):
* dispextern.h (FACE_FROM_ID):
* keyboard.c (read_char): Use UNSIGNED_CMP.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes comparison bugs on 64-bit hosts.
(ASCII_CHAR_P): Use it.
* casefiddle.c (casify_object):
* character.h (ASCII_BYTE_P, CHAR_VALID_P):
(SINGLE_BYTE_CHAR_P, CHAR_STRING):
* composite.h (COMPOSITION_ENCODE_RULE_VALID):
* dispextern.h (FACE_FROM_ID):
* keyboard.c (read_char): Use UNSIGNED_CMP.
</pre>
</div>
</content>
</entry>
</feed>
