From 7cf49add818a6f2e43bedb3869ed8b647f3435fe Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 27 May 2005 11:28:42 +0000 Subject: [PATCH] *** empty log message *** --- lisp/ChangeLog | 13 +++++++++++++ src/ChangeLog | 17 +++++++++++++++++ src/ccl.h | 7 +++++++ 3 files changed, 37 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7befb3415c3..27b778bdd37 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,16 @@ +2005-05-27 Kenichi Handa + + * language/cyrillic.el: Add cyrillic-iso8859-5 characters in the + encoding table of windows-1251. + + * international/ucs-tables.el (ucs-set-table-for-input): If + translation-table-for-input of a coding system is a symbol, get + its translation-table property. + + * international/code-pages.el: Don't register a coding system into + non-iso-charset-alist more than once. + (cp-make-coding-system): Likewise. + 2005-05-26 John Wiegley * eshell/esh-cmd.el (eshell-eval-command): If the return value of diff --git a/src/ChangeLog b/src/ChangeLog index 9a3a814d6c2..d85709e4c35 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,20 @@ +2005-05-27 Kenichi Handa + + * xterm.c (x_encode_char): Call check_ccl_update in advance. + + * ccl.c: Now an element of Vccl_program_table is a vector of + length 4, not 3. + (ccl_get_compiled_code): New arg idx. Caller changed. Adjusted + for the change of Vccl_program_table. + (setup_ccl_program): Adjusted for the change of + Vccl_program_table. + (check_ccl_update): New function. + (Fregister_ccl_program): Use ASET to set an element of a vector. + Adjusted for the change of Vccl_program_table. + + * ccl.h (struct ccl_program): New member idx. + (check_ccl_update): Extern it. + 2005-05-27 Juanma Barranquero * buffer.c (Fbuffer_local_value): Make argument name match its use diff --git a/src/ccl.h b/src/ccl.h index cda611007f8..1c9c1b3b34e 100644 --- a/src/ccl.h +++ b/src/ccl.h @@ -33,6 +33,10 @@ Boston, MA 02111-1307, USA. */ /* Structure to hold information about running CCL code. Read comments in the file ccl.c for the detail of each field. */ struct ccl_program { + int idx; /* Index number of the CCL program. + -1 means that the program was given + by a vector, not by a program + name. */ int size; /* Size of the compiled code. */ Lisp_Object *prog; /* Pointer into the compiled code. */ int ic; /* Instruction Counter (index for PROG). */ @@ -90,6 +94,9 @@ extern Lisp_Object Vfont_ccl_encoder_alist; execution of ccl program CCL_PROG (symbol or vector). */ extern int setup_ccl_program P_ ((struct ccl_program *, Lisp_Object)); +/* Check if CCL is updated or not. If not, re-setup members of CCL. */ +extern int check_ccl_update P_ ((struct ccl_program *)); + extern int ccl_driver P_ ((struct ccl_program *, unsigned char *, unsigned char *, int, int, int *)); -- 2.39.2