diff options
| author | Kenichi Handa | 2010-01-15 21:40:13 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-01-15 21:40:13 +0900 |
| commit | 67f6e72bd3655d4f0a90d42dd6e49fc71e936fff (patch) | |
| tree | 809cf1def3aa735a9e9e3a6690aa70c798b71c27 /src | |
| parent | ca4f0e9a63044c442a2bc884ee4c96229bb0742c (diff) | |
| parent | fa0cff43e861a49d9f992ffccbe4f71e29d71e1a (diff) | |
| download | emacs-67f6e72bd3655d4f0a90d42dd6e49fc71e936fff.tar.gz emacs-67f6e72bd3655d4f0a90d42dd6e49fc71e936fff.zip | |
from trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/ChangeLog.3 | 2 | ||||
| -rw-r--r-- | src/ChangeLog.8 | 2 | ||||
| -rw-r--r-- | src/ChangeLog.9 | 2 | ||||
| -rw-r--r-- | src/nsfns.m | 4 | ||||
| -rw-r--r-- | src/nsterm.m | 4 | ||||
| -rw-r--r-- | src/w32uniscribe.c | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 11 |
8 files changed, 23 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e18591b345b..72552a34d30 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2010-01-15 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * xdisp.c (CHAR_COMPOSED_P): New arg END_CHARPOS. Callers changed. | ||
| 4 | |||
| 5 | 2010-01-15 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * nsterm.m (Qnone): Define. | ||
| 8 | |||
| 9 | * nsfns.m (Qnone): Move definition to nsterm.m. | ||
| 10 | |||
| 1 | 2010-01-14 Kenichi Handa <handa@m17n.org> | 11 | 2010-01-14 Kenichi Handa <handa@m17n.org> |
| 2 | 12 | ||
| 3 | * coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding | 13 | * coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding |
diff --git a/src/ChangeLog.3 b/src/ChangeLog.3 index cf5dbd53697..fbe3f752aed 100644 --- a/src/ChangeLog.3 +++ b/src/ChangeLog.3 | |||
| @@ -4776,7 +4776,7 @@ | |||
| 4776 | New struct face with associated typedef FACE declared, along with | 4776 | New struct face with associated typedef FACE declared, along with |
| 4777 | accessing macros. | 4777 | accessing macros. |
| 4778 | 4778 | ||
| 4779 | * scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or | 4779 | * scroll.c (do_scrolling): Don't bcopy non-existent `nruns' or |
| 4780 | `face_list' elements. Do copy new `max_ascent' frame element. | 4780 | `face_list' elements. Do copy new `max_ascent' frame element. |
| 4781 | 4781 | ||
| 4782 | * dispnew.c (scroll_frame_lines): All references to frame elements | 4782 | * dispnew.c (scroll_frame_lines): All references to frame elements |
diff --git a/src/ChangeLog.8 b/src/ChangeLog.8 index fcdf3b9bf34..de162cb39bc 100644 --- a/src/ChangeLog.8 +++ b/src/ChangeLog.8 | |||
| @@ -11848,7 +11848,7 @@ | |||
| 11848 | 11848 | ||
| 11849 | * w32fns.c (w32_strict_fontnames): New variable. | 11849 | * w32fns.c (w32_strict_fontnames): New variable. |
| 11850 | (Fx_create_frame): Formatting fix. | 11850 | (Fx_create_frame): Formatting fix. |
| 11851 | (w32_load_system_font): Keep trying to load non-existant font | 11851 | (w32_load_system_font): Keep trying to load non-existent font |
| 11852 | if w32_strict_fontnames is nil. Formatting fix. | 11852 | if w32_strict_fontnames is nil. Formatting fix. |
| 11853 | (syms_of_w32fns): Add w32-strict-fontnames. | 11853 | (syms_of_w32fns): Add w32-strict-fontnames. |
| 11854 | 11854 | ||
diff --git a/src/ChangeLog.9 b/src/ChangeLog.9 index e4bf486aaff..b161a21eb72 100644 --- a/src/ChangeLog.9 +++ b/src/ChangeLog.9 | |||
| @@ -834,7 +834,7 @@ | |||
| 834 | 2001-10-02 Miles Bader <miles@gnu.org> | 834 | 2001-10-02 Miles Bader <miles@gnu.org> |
| 835 | 835 | ||
| 836 | * textprop.c (Fnext_char_property_change) | 836 | * textprop.c (Fnext_char_property_change) |
| 837 | (Fprevious_char_property_change): Remove reference to non-existant | 837 | (Fprevious_char_property_change): Remove reference to non-existent |
| 838 | argument OBJECT from doc-string. | 838 | argument OBJECT from doc-string. |
| 839 | 839 | ||
| 840 | 2001-10-01 Gerd Moellmann <gerd@gnu.org> | 840 | 2001-10-01 Gerd Moellmann <gerd@gnu.org> |
diff --git a/src/nsfns.m b/src/nsfns.m index 9fdcaa47c8c..357222bb18a 100644 --- a/src/nsfns.m +++ b/src/nsfns.m | |||
| @@ -80,8 +80,8 @@ extern Lisp_Object Qface_set_after_frame_default; | |||
| 80 | extern Lisp_Object Qunderline, Qundefined; | 80 | extern Lisp_Object Qunderline, Qundefined; |
| 81 | extern Lisp_Object Qheight, Qminibuffer, Qname, Qonly, Qwidth; | 81 | extern Lisp_Object Qheight, Qminibuffer, Qname, Qonly, Qwidth; |
| 82 | extern Lisp_Object Qunsplittable, Qmenu_bar_lines, Qbuffer_predicate, Qtitle; | 82 | extern Lisp_Object Qunsplittable, Qmenu_bar_lines, Qbuffer_predicate, Qtitle; |
| 83 | extern Lisp_Object Qnone; | ||
| 83 | 84 | ||
| 84 | Lisp_Object Qnone; | ||
| 85 | Lisp_Object Qbuffered; | 85 | Lisp_Object Qbuffered; |
| 86 | Lisp_Object Qfontsize; | 86 | Lisp_Object Qfontsize; |
| 87 | 87 | ||
| @@ -2606,8 +2606,6 @@ syms_of_nsfns () | |||
| 2606 | { | 2606 | { |
| 2607 | int i; | 2607 | int i; |
| 2608 | 2608 | ||
| 2609 | Qnone = intern ("none"); | ||
| 2610 | staticpro (&Qnone); | ||
| 2611 | Qfontsize = intern ("fontsize"); | 2609 | Qfontsize = intern ("fontsize"); |
| 2612 | staticpro (&Qfontsize); | 2610 | staticpro (&Qfontsize); |
| 2613 | 2611 | ||
diff --git a/src/nsterm.m b/src/nsterm.m index 69cece47b0e..a102267920c 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -141,8 +141,7 @@ Lisp_Object ns_input_color, ns_input_text, ns_working_text; | |||
| 141 | Lisp_Object ns_input_spi_name, ns_input_spi_arg; | 141 | Lisp_Object ns_input_spi_name, ns_input_spi_arg; |
| 142 | Lisp_Object Vx_toolkit_scroll_bars; | 142 | Lisp_Object Vx_toolkit_scroll_bars; |
| 143 | static Lisp_Object Qmodifier_value; | 143 | static Lisp_Object Qmodifier_value; |
| 144 | /* TODO: unsure why these defined in term files, anyway we need in keymap.c */ | 144 | Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper, Qnone; |
| 145 | Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper; | ||
| 146 | extern Lisp_Object Qcursor_color, Qcursor_type, Qns; | 145 | extern Lisp_Object Qcursor_color, Qcursor_type, Qns; |
| 147 | 146 | ||
| 148 | /* Specifies which emacs modifier should be generated when NS receives | 147 | /* Specifies which emacs modifier should be generated when NS receives |
| @@ -6151,6 +6150,7 @@ syms_of_nsterm () | |||
| 6151 | DEFSYM (Qmeta, "meta"); | 6150 | DEFSYM (Qmeta, "meta"); |
| 6152 | DEFSYM (Qsuper, "super"); | 6151 | DEFSYM (Qsuper, "super"); |
| 6153 | DEFSYM (Qcontrol, "control"); | 6152 | DEFSYM (Qcontrol, "control"); |
| 6153 | DEFSYM (Qnone, "none"); | ||
| 6154 | Fput (Qalt, Qmodifier_value, make_number (alt_modifier)); | 6154 | Fput (Qalt, Qmodifier_value, make_number (alt_modifier)); |
| 6155 | Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier)); | 6155 | Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier)); |
| 6156 | Fput (Qmeta, Qmodifier_value, make_number (meta_modifier)); | 6156 | Fput (Qmeta, Qmodifier_value, make_number (meta_modifier)); |
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index cb05cd49807..f2bd0f44b50 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c | |||
| @@ -22,7 +22,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | Windows 2000, though most users of older systems will have it | 22 | Windows 2000, though most users of older systems will have it |
| 23 | since it installs with Internet Explorer 5.0 and other software. | 23 | since it installs with Internet Explorer 5.0 and other software. |
| 24 | We only enable the feature if it is available, so there is no chance | 24 | We only enable the feature if it is available, so there is no chance |
| 25 | of calling non-existant functions. */ | 25 | of calling non-existent functions. */ |
| 26 | #undef _WIN32_WINNT | 26 | #undef _WIN32_WINNT |
| 27 | #define _WIN32_WINNT 0x500 | 27 | #define _WIN32_WINNT 0x500 |
| 28 | #include <windows.h> | 28 | #include <windows.h> |
diff --git a/src/xdisp.c b/src/xdisp.c index b20061b6b3b..ef9c7453d75 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -5638,11 +5638,11 @@ static int (* get_next_element[NUM_IT_METHODS]) P_ ((struct it *it)) = | |||
| 5638 | /* Return 1 iff a character at CHARPOS (and BYTEPOS) is composed | 5638 | /* Return 1 iff a character at CHARPOS (and BYTEPOS) is composed |
| 5639 | (possibly with the following characters). */ | 5639 | (possibly with the following characters). */ |
| 5640 | 5640 | ||
| 5641 | #define CHAR_COMPOSED_P(IT,CHARPOS,BYTEPOS) \ | 5641 | #define CHAR_COMPOSED_P(IT,CHARPOS,BYTEPOS,END_CHARPOS) \ |
| 5642 | ((IT)->cmp_it.id >= 0 \ | 5642 | ((IT)->cmp_it.id >= 0 \ |
| 5643 | || ((IT)->cmp_it.stop_pos == (CHARPOS) \ | 5643 | || ((IT)->cmp_it.stop_pos == (CHARPOS) \ |
| 5644 | && composition_reseat_it (&(IT)->cmp_it, CHARPOS, BYTEPOS, \ | 5644 | && composition_reseat_it (&(IT)->cmp_it, CHARPOS, BYTEPOS, \ |
| 5645 | (IT)->end_charpos, (IT)->w, \ | 5645 | END_CHARPOS, (IT)->w, \ |
| 5646 | FACE_FROM_ID ((IT)->f, (IT)->face_id), \ | 5646 | FACE_FROM_ID ((IT)->f, (IT)->face_id), \ |
| 5647 | (IT)->string))) | 5647 | (IT)->string))) |
| 5648 | 5648 | ||
| @@ -6300,7 +6300,7 @@ next_element_from_string (it) | |||
| 6300 | return 0; | 6300 | return 0; |
| 6301 | } | 6301 | } |
| 6302 | else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), | 6302 | else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), |
| 6303 | IT_STRING_BYTEPOS (*it)) | 6303 | IT_STRING_BYTEPOS (*it), SCHARS (it->string)) |
| 6304 | && next_element_from_composition (it)) | 6304 | && next_element_from_composition (it)) |
| 6305 | { | 6305 | { |
| 6306 | return 1; | 6306 | return 1; |
| @@ -6336,7 +6336,7 @@ next_element_from_string (it) | |||
| 6336 | CHARPOS (position) = BYTEPOS (position) = -1; | 6336 | CHARPOS (position) = BYTEPOS (position) = -1; |
| 6337 | } | 6337 | } |
| 6338 | else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), | 6338 | else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), |
| 6339 | IT_STRING_BYTEPOS (*it)) | 6339 | IT_STRING_BYTEPOS (*it), it->string_nchars) |
| 6340 | && next_element_from_composition (it)) | 6340 | && next_element_from_composition (it)) |
| 6341 | { | 6341 | { |
| 6342 | return 1; | 6342 | return 1; |
| @@ -6523,7 +6523,8 @@ next_element_from_buffer (it) | |||
| 6523 | && IT_CHARPOS (*it) >= it->redisplay_end_trigger_charpos) | 6523 | && IT_CHARPOS (*it) >= it->redisplay_end_trigger_charpos) |
| 6524 | run_redisplay_end_trigger_hook (it); | 6524 | run_redisplay_end_trigger_hook (it); |
| 6525 | 6525 | ||
| 6526 | if (CHAR_COMPOSED_P (it, IT_CHARPOS (*it), IT_BYTEPOS (*it)) | 6526 | if (CHAR_COMPOSED_P (it, IT_CHARPOS (*it), IT_BYTEPOS (*it), |
| 6527 | it->end_charpos) | ||
| 6527 | && next_element_from_composition (it)) | 6528 | && next_element_from_composition (it)) |
| 6528 | { | 6529 | { |
| 6529 | return 1; | 6530 | return 1; |