# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1113301704 0 # Node ID 440fc97d89f07d46f844294e0fd9277c833bae4e # Parent 94b45db07ef368b6934b94430cfb7d496bf10c04 *** empty log message *** diff -r 94b45db07ef3 -r 440fc97d89f0 etc/ChangeLog --- a/etc/ChangeLog Tue Apr 12 10:28:14 2005 +0000 +++ b/etc/ChangeLog Tue Apr 12 10:28:24 2005 +0000 @@ -1,3 +1,7 @@ +2005-04-12 YAMAMOTO Mitsuharu + + * NEWS: Mention dynamic change of keyboard-coding-system on Mac. + 2005-04-10 Jan Dj,Ad(Brv * NEWS: Mention fontSet for Lucid menus. diff -r 94b45db07ef3 -r 440fc97d89f0 lisp/ChangeLog --- a/lisp/ChangeLog Tue Apr 12 10:28:14 2005 +0000 +++ b/lisp/ChangeLog Tue Apr 12 10:28:24 2005 +0000 @@ -2,6 +2,16 @@ * term/mac-win.el (dnd): Require dnd. (mac-drag-n-drop): Call dnd-handle-one-url. + (kTextEncodingMacRoman, kTextEncodingISOLatin1) + (kTextEncodingISOLatin2): Remove constants. + (mac-script-code-coding-systems): New constant. + (mac-handle-language-change): New function. + (special-event-map): Bind it to `language-change' event. + (mac-centraleurroman, mac-cyrillic): New coding systems. + (mac-font-encoder-list, ccl-encode-mac-centraleurroman-font) + (ccl-encode-mac-cyrillic-font): Rename mac-centraleurroman-encoder + and mac-cyrillic-encoder to encode-mac-centraleurroman and + encode-mac-cyrillic, respectively. 2005-04-12 Nick Roberts diff -r 94b45db07ef3 -r 440fc97d89f0 src/ChangeLog --- a/src/ChangeLog Tue Apr 12 10:28:14 2005 +0000 +++ b/src/ChangeLog Tue Apr 12 10:28:24 2005 +0000 @@ -2,6 +2,21 @@ * keyboard.c (poll_for_input) [SYNC_INPUT]: Don't call poll_for_input_1. Set interrupt_input_pending to 1 instead. + (Qlanguage_change) [MAC_OS]: New variable. + (syms_of_keyboard) [MAC_OS]: Intern and staticpro it. + (kbd_buffer_get_event) [MAC_OS]: Make event for + LANGUAGE_CHANGE_EVENT. + + * macterm.c (mac_keyboard_text_encoding) + (current_mac_keyboard_text_encoding): Remove variables. + (XTread_socket): Store language-change event if keyboard script + change is detected. Don't convert input to + `mac_keyboard_text_encoding'. + (syms_of_macterm): Delete DEFVAR_INT for + mac-keyboard-text-encoding. + + * termhooks.h (enum event_kind) [MAC_OS]: Add + LANGUAGE_CHANGE_EVENT. 2005-04-10 Richard M. Stallman