changeset 61504:440fc97d89f0

*** empty log message ***
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Tue, 12 Apr 2005 10:28:24 +0000
parents 94b45db07ef3
children c8cf56d85000
files etc/ChangeLog lisp/ChangeLog src/ChangeLog
diffstat 3 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <mituharu@math.s.chiba-u.ac.jp>
+
+	* NEWS: Mention dynamic change of keyboard-coding-system on Mac.
+
 2005-04-10  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
 	* NEWS: Mention fontSet for Lucid menus.
--- 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  <nickrob@snap.net.nz>
 
--- 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  <rms@gnu.org>