1 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (char-variants): Refer `->subsumptive',
4 `->denotational' and `->identical' as same as `->ucs-unified'.
6 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * chartab.c (Fput_char_attribute): Convert char-specs in value of
9 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
12 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * text-coding.c: Add EXFUN for `Fregexp_quote'.
15 (decode_add_er_char): Fix problem about infinite loop when a CCS
16 specified in `coded-charset-entity-reference-alist' is not
19 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * mule-charset.c (syms_of_mule_charset): Rename
22 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
24 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
26 * fns.c (simplify_char_spec): Don't allocate new character-object
27 if specified char_spec does not have any CCS-features.
29 * chartab.h: Add EXFUN for Fdefine_char.
31 * chartab.c: Delete EXFUN for Fdefine_char.
33 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
35 * fns.c (simplify_char_spec): Use Fdefine_char instead of
36 Ffind_char for char-spec.
38 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
40 * lisp-disunion.h (XCHARVAL): Fix condition about
43 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
47 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
48 point; use <Emchar> instead of <int> for character-id.
50 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
53 (make_char): Likewise.
54 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
56 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
57 instead of <int> as the type of return value; use <Lisp_Object>
58 instead of <Emchar> as the type of argument.
59 (XCHARVAL[macro version]): Cast the result into <Emchar>.
61 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
62 syntaxcode> instead of <int>.
64 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * chartab.c (put_char_composition): Use DECODE_CHAR to get
67 character corresponding with UCS code point.
68 (Fput_char_attribute): Likewise.
70 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
71 character in the UCS decoding-table if the char-id is not equal to
74 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
77 for aliases; write `description'; write
78 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
81 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * chartab.c (Fsave_char_attribute_table): Don't use
84 `save_charset_properties'.
86 * mule-charset.c (Fsave_charset_properties): Renamed from
87 `save_charset_properties' and changed to Lisp function again;
88 write property `type' as `CCS'; write properties `final-byte' and
89 `mother' if they exists.
90 (syms_of_mule_charset): Revive builtin function
91 `save-charset-properties' when HAVE_LIBCHISE is defined.
93 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
96 instead of Vexec_directory.
97 (char_attribute_system_db_file): Likewise.
99 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * chartab.c (Fsave_char_attribute_table): Use
102 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
105 * mule-charset.c (save_charset_properties): Renamed from
106 `Fsave_charset_properties'; changed to non-Lisp function.
107 (syms_of_mule_charset): Abolish builtin function
108 `save-charset-properties'.
110 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
112 * mule-charset.c (Fsave_charset_properties): New function when
113 HAVE_LIBCHISE is defined.
114 (syms_of_mule_charset): Add new builtin function
115 `save-charset-properties' when HAVE_LIBCHISE is defined.
117 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
119 * chartab.c (Fput_char_attribute): Convert char-specs in value of
120 `{<-|->}ancient[^*]*' to characters and put reverse links.
121 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
122 for `{<-|->}ancient[^*]*'.
124 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
126 * chartab.c (Fput_char_attribute): Convert char-specs in value of
127 `{<-|->}original[^*]*' to characters and put reverse links.
128 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
129 for `{<-|->}original[^*]*'.
131 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
135 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
137 * mule-charset.c (Qsystem_char_id): New variable.
139 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
140 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
142 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * chartab.c (Fput_char_attribute): When processing a reference of
145 a character, put into the end of the reversed reference of each
148 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * chartab.c (Q_same): Deleted.
151 (Q_same_of): Deleted.
152 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
153 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
155 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
157 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
159 * chartab.c (Q_vulgar): Deleted.
160 (Q_vulgar_of): Deleted.
161 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
162 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
164 (syms_of_chartab): Don't define `{<-|->}vulgar'.
166 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * chartab.c (Fput_char_attribute): Convert char-specs in value of
169 `{<-|->}wrong[^*]*' to characters and put reverse links.
170 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
171 for `{<-|->}wrong[^*]*'.
173 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
175 * chartab.c (Q_vulgar): New variable.
176 (Q_vulgar_of): New variable.
177 (Fput_char_attribute): Convert char-specs in value of
178 `{->|<-}vulgar' to characters and put reverse links.
179 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
181 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
183 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
185 * text-coding.c (decode_add_er_char): Must to quote prefix string
188 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
190 * mule-charset.c (put_char_ccs_code_point): Store characters of
191 =ucs whose code_points >= 0xF0000.
193 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
195 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
197 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
199 (complex_vars_of_mule_charset): Add new coded-charset
200 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
201 builtin characters over 0xEFFFF.
203 * chartab.c (syms_of_chartab): Don't define symbol
204 `system-char-id' in every case.
206 * char-ucs.h (Qsystem_char_id): New extern variable.
207 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
209 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
211 * text-coding.c (char_encode_utf8): Try to use entity-references
212 for U-000F0000 ... U-0010FFFF.
214 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * text-coding.c (ER_BUF_SIZE): New macro.
217 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
219 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
220 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
222 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
224 * chartab.c (find_char_feature_in_family): New function.
225 (Fchar_feature): Use `find_char_feature_in_family' with
226 `->identical', `<-subsumptive' and `<-denotational'.
228 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * text-coding.c (char_encode_as_entity_reference): Allow prefix
231 within 8 characters; fix infinite loop.
233 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
235 * chartab.c (Q_same): New variable.
236 (Q_same_of): New variable.
237 (Fput_char_attribute): Convert char-specs in value of
238 `{->|<-}same' to characters and put reverse links.
239 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
241 (syms_of_chartab): Add new symbols `{->|<-}same'.
243 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * chartab.c (Q_component): New variable.
246 (Q_component_of): Likewise.
247 (Fput_char_attribute): Convert char-specs in value of
248 `{->|<-}ideographic-component-forms' to characters and put reverse
250 (syms_of_chartab): Add new symbols
251 `{->|<-}ideographic-component-forms'.
253 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
255 * chartab.c (Q_identical): New variable.
256 (Q_identical_from): New variable.
257 (Fchar_feature): Regard `->identical' as a feature to find
259 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
260 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
261 for `{->|<-}identical'.
262 (syms_of_chartab): Add new symbols `{->|<-}identical'.
264 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * char-ucs.h (encode_char_2): New inline function.
267 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
269 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * chartab.c (Fput_char_attribute): Convert char-specs to
272 characters in value of `ideographic-structure'.
273 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
274 for `{<-|->}simplified(@...)'.
275 (Fdefine_char): bTry to use predefined character's id.
277 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * fns.c (simplify_char_spec): Try to convert builtin chars to
282 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * chartab.c (Fput_char_attribute): Convert char-specs in value of
285 `<-simplified[^*]*' to characters and put reverse links.
287 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * chartab.c (Q_subsumptive): Renamed from Q_unified.
290 (Q_subsumptive_from): Renamed from Q_unified_from.
291 (Fchar_feature): Use `Q_subsumptive_from' instead of
293 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
295 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
296 `<-unified' to `<-subsumptive'.
298 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
301 inheritance itself; fix typo; stop recursive search if cyclic
302 inheritance is found.
304 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * chartab.c (Q_denotational): New variable.
307 (Q_denotational_from): New variable.
308 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
309 (put_char_attribute): New function.
310 (Fput_char_attribute): Use `put_char_attribute'; regard
311 `->denotational' and `<-denotational' as same as `->unified' and
313 (syms_of_chartab): Add new symbols `->denotational' and
316 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
319 `Fget_char_attribute'.
320 (Fchar_variants): Likewise.
321 (get_char_table): Likewise.
322 (Fchar_feature): New function.
323 (put_char_composition): Use `Fchar_feature' instead of
324 `Fget_char_attribute'.
325 (Fput_char_attribute): Likewise; don't put the target character
326 into its `->unified' value.
327 (syms_of_chartab): Add new builtin function `char-feature'.
329 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
332 `Fget_char_attribute'.
333 (char_encode_utf8): Likewise.
335 * chartab.h: Add an EXFUN for `Fchar_feature'.
337 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * chartab.c (Vnext_defined_char_id): New variable.
340 (Fput_char_attribute): Accept characters in `->unified'.
341 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
342 new characters which are not related with builtin char-id ranges.
343 (vars_of_chartab): Add new variable `next-defined-char-id'.
345 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * chartab.c (Q_unified): New variable.
348 (Q_unified_from): New variable.
349 (Fput_char_attribute): Add code for `->unified'.
350 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
353 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * mule-charset.c (decode_ccs_conversion): New function.
356 (decode_defined_char): Use `decode_ccs_conversion'.
357 (decode_builtin_char): Likewise.
359 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
361 * char-ucs.h: Change some charset-ids of private coded-charsets.
363 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
365 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
366 (char_encode_as_entity_reference): Likewise.
367 (decode_coding_big5): Modify for `decode_defined_char' and
369 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
370 avoid compiler warning.
371 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
373 * mule-charset.c (decode_defined_char): Add new argument
374 `without_inheritance'.
375 (Fdecode_char): Add new optional argument `without_inheritance'.
376 (Fdecode_builtin_char): Modify for `Fdecode_char'.
378 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
379 (simplify_char_spec): Likewise.
381 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
384 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
385 (map_char_table): Likewise.
386 (Fdefine_char): Use `Fdecode_char' without inheritance.
387 (Ffind_char): Modify for `Fdecode_char'.
389 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
391 * char-ucs.h (decode_defined_char): Add new argument
392 `without_inheritance'.
393 (DECODE_CHAR): Likewise.
394 (MAKE_CHAR): Modify for `DECODE_CHAR'.
396 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
398 * chartab.c (Vchise_system_db_directory): New variable.
399 (vars_of_chartab): Add new variable `chise-system-db-directory'.
401 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
403 * chartab.c: EXFUN `Fmount_char_attribute_table'.
404 (print_chartab_range): Don't define when `UTF2000' is defined.
405 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
408 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
411 and optional argument `rehash' is specified, call
412 `open_chise_data_source_maybe' before
413 `chise_ds_foreach_char_feature_name' is called.
415 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
417 * chartab.c (char_attribute_list_reset_map_func): New function
418 when HAVE_LIBCHISE is defined.
419 (Fchar_attribute_list): Add new optional argument `rehash' when
420 HAVE_LIBCHISE is defined.
421 (open_chise_data_source_maybe): Use "chise-db" instead of
423 (char_attribute_system_db_file): Likewise.
424 (Fload_char_attribute_table): Use
425 `chise_feature_foreach_char_with_value' instead of
426 `chise_char_feature_value_iterate'.
428 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
430 * chartab.c (Vchise_db_directory): New variable.
431 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
433 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
436 instead of HAVE_CHISE to specify using with libchise.
438 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
440 * chartab.h: Don't use HAVE_CHISE_CLIENT.
442 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
443 defined or HAVE_LIBCHISE_LIBCHISE is defined.
444 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
446 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
447 HAVE_CHISE to specify using with libchise.
448 (syms_of_chartab): Don't define symbol `system-char-id' when
449 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
451 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
453 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
454 specify CHISE DB support.
455 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
456 of `char_attribute_system_db_file' to check feature DB file.
458 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
459 HAVE_CHISE_CLIENT to specify CHISE DB support.
461 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
462 specify CHISE DB support.
463 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
465 (Freset_char_attribute_table): Use `chise_feature_setup_db'
466 instead of `char_attribute_system_db_file' to check feature DB
469 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
474 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
477 (Fsave_charset_mapping_table): Don't use
478 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
480 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
481 (HAVE_LIBCHISE): New macro.
483 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
485 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
486 (Fsave_char_attribute_table): Don't use
487 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
489 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
491 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
493 (save_uint16_byte_table): Likewise.
494 (save_byte_table): Likewise.
495 (char_table_get_db): Use `chise_ds_load_char_feature_value'
496 instead of `chise_char_load_feature_value'.
497 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
499 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
501 * chartab.h (struct Lisp_Char_Table): Delete member
502 `feature_table' if CHISE is defined.
504 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
505 (Fcopy_char_table): Likewise.
506 (char_table_open_db_maybe): Likewise.
507 (char_table_close_db_maybe): Likewise.
508 (char_table_get_db): Likewise.
509 (Fmount_char_attribute_table): Likewise.
510 (Fload_char_attribute_table): Likewise.
512 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
514 * mule-charset.c (load_char_decoding_entry_maybe): Use
515 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
518 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
520 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
521 instead of `chise_open_data_source'.
522 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
525 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
527 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
528 instead of `chise_ds_open_feature_table'.
529 (char_table_close_db_maybe): Don't use `chise_ft_close'.
531 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
533 * mule-charset.c (Fsave_charset_mapping_table): Use
534 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
535 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
536 `chise_ccs_sync' instead of `chise_ccst_close'.
537 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
539 * chartab.c (open_chise_data_source_maybe): Modify for
540 `chise_open_data_source'.
541 (char_table_open_db_maybe): Modify for
542 `chise_ds_open_feature_table'.
544 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
546 * mule-charset.c (load_char_decoding_entry_maybe): Use
547 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
550 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
552 * mule-charset.c (Fsave_charset_mapping_table): Use
553 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
554 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
555 `chise_dt_put_char' and `chise_dt_close'.
556 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
557 `chise_ccs_decode' and `chise_ccst_close' instead of
558 `chise_ds_open_decoding_table', `chise_dt_get_char' and
561 * chartab.c (char_table_get_db): Use
562 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
563 (load_char_attribute_table_map_func): Modify for
564 `chise_char_feature_value_iterate'.
565 (Fload_char_attribute_table): Use
566 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
568 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
572 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
574 * chartab.c (put_char_table): Modify for inherited coded-charsets
577 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
579 * chartab.c (Fput_char_table_map_function): Fixed.
580 (word_boundary_p): Don't check charset in XEmacs CHISE.
582 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
584 * mule-charset.c (Fsave_charset_mapping_table): Use
585 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
586 instead of `chise_open_decoding_table'; refer
587 `default_chise_data_source'; use `chise_dt_close' instead of
588 `chise_close_decoding_table'.
589 (load_char_decoding_entry_maybe): Likewise.
591 * chartab.c (default_chise_data_source): New variable when `CHISE'
593 (Fcopy_char_table): `ct->ds' is deleted.
594 (open_chise_data_source_maybe): New function.
595 (Fclose_char_data_source): New function.
596 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
597 use `chise_ds_open_feature_table' instead of
598 `chise_open_feature_table'.
599 (char_table_close_db_maybe): Use `chise_ft_close' instead of
600 `chise_close_feature_table'; `cit->ds' is deleted.
601 (syms_of_chartab): Add new builtin function
602 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
604 * chartab.h (default_chise_data_source): New extern variable.
605 (open_chise_data_source_maybe): New prototype.
606 (struct Lisp_Char_Table): Delete `ds'.
608 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
610 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
613 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
615 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
616 not defined; add code for non-libchise setting.
617 (char_table_close_db_maybe): Likewise.
618 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
620 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
621 even if `CHISE' is not defined.
622 (Freset_char_attribute_table): Likewise.
623 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
624 `char_table_close_db_maybe' even if `CHISE' is not defined; use
626 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
627 `char_table_close_db_maybe' even if `CHISE' is not defined.
629 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
631 * chartab.c (char_table_open_db_maybe): New function.
632 (char_table_close_db_maybe): New function.
633 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
634 (Freset_char_attribute_table): Likewise.
635 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
636 `char_table_close_db_maybe'.
637 (Fload_char_attribute_table): Likewise.
639 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
641 * chartab.c: Don't include <chise.h> because it is included in
643 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
645 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
647 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
649 (Fclose_char_attribute_table): Close `ct->feature_table' and
650 `ct->ds' when `CHISE' is defined.
651 (Freset_char_attribute_table): Likewise.
652 (load_char_attribute_maybe): Use `cit->ds' and
653 `cit->feature_table' when `CHISE' is defined.
654 (Fload_char_attribute_table): Likewise.
656 * chartab.h: Include <chise.h> when `CHISE' is defined.
657 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
658 when `CHISE' is defined.
660 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
662 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
664 (char_table_description): Likewise.
665 (Fmake_char_table): Likewise.
666 (Fcopy_char_table): Likewise.
667 (Fmount_char_attribute_table): Likewise.
668 (Fclose_char_attribute_table): Likewise.
669 (Freset_char_attribute_table): Likewise.
670 (load_char_attribute_maybe): Likewise.
671 (Fload_char_attribute_table): Likewise.
673 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
676 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
678 * chartab.c (load_char_attribute_table_map_func): New function
679 when CHISE is defined.
680 (Qload_char_attribute_table_map_function): Don't define when CHISE
682 (Fload_char_attribute_table_map_function): Likewise.
683 (Fload_char_attribute_table): Use libchise when `CHISE' is
685 (syms_of_chartab): Don't define
686 `load-char-attribute-table-map-function' when CHISE is defined.
688 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
690 * chartab.c: Include <chise.h> when `CHISE' is defined.
691 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
693 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
695 * mule-charset.c (charset_code_point): Fix problem when searching
696 in mother CCS fails with `defined_only' mode.
698 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
700 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
701 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
702 (put_char_composition): Likewise.
703 (Fput_char_attribute): Likewise.
704 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
706 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
708 * chartab.c (Q_ucs): Deleted.
709 (Fput_char_attribute): Don't refer `->ucs'.
710 (Fdefine_char): Likewise.
711 (Ffind_char): Likewise.
712 (syms_of_chartab): Delete `->ucs'.
714 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
716 * mule-charset.c (Qmap_cns11643_2): Renamed from
717 `Qchinese_cns11643_2'.
718 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
719 `chinese-cns11643-2'.
720 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
723 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
725 * mule-charset.c (Qmap_cns11643_1): Renamed from
726 `Qchinese_cns11643_1'.
727 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
728 `chinese-cns11643-1'.
729 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
732 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
734 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
735 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
737 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
740 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
742 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
743 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
745 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
748 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
750 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
751 (syms_of_mule_charset): Add new symbol `=big5' instead of
753 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
755 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
757 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
758 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
760 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
763 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
765 * mule-charset.c (Qmap_jis_x0212): Renamed from
766 `Qjapanese_jisx0212'.
767 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
769 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
772 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
774 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
775 `Qjapanese_jisx0208'.
776 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
777 of `japanese-jisx0208'.
778 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
781 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
783 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
784 `Qjapanese_jisx0208_1978'.
785 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
786 of `japanese-jisx0208-1978'.
787 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
790 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
792 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
793 only for XEmacs CHISE.
795 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
797 * char-ucs.h: Compact non-ISO-IR charset-ids.
798 (LEADING_BYTE_UCS): Changed to -177.
799 (LEADING_BYTE_CONTROL_1): Changed to -77.
800 (LEADING_BYTE_UCS_BMP): Changed to -176.
801 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
803 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * mule-charset.c (Qiso_ir): New variable.
806 (Fmake_charset): Recognise new property `iso-ir'.
807 (syms_of_mule_charset): Add new symbol `iso-ir'.
809 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
811 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
812 n to -n; charset-id of non ISO-IR sets are changed to positive
815 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
817 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
818 for &MCS-XXXXXXXX; values.
820 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
822 * mule.c (Vxemacs_chise_version): Renamed from
824 (vars_of_mule): Add new variable `xemacs-chise-version'; define
825 `utf-2000-version' as an alias for `xemacs-chise-version'.
827 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
829 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
830 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
833 * config.h.in (CHISE): New macro.
835 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
837 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
839 (Qmap_ucs): New variable.
840 (syms_of_mule_charset): Add new symbol `=ucs'.
841 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
843 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
844 (simplify_char_spec): Likewise.
846 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
848 * char-ucs.h (Qmap_ucs): New extern variable.
850 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
852 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
853 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
854 don't define it when UTF2000 is not defined.
855 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
856 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
857 when UTF2000 is not defined.
858 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
859 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
861 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
863 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
865 * mule-charset.c (Vcharset_ucs_gb): Deleted.
867 (syms_of_mule_charset): Delete `ucs-gb'.
868 (complex_vars_of_mule_charset): Likewise.
870 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
872 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
874 * mule-charset.c (Vcharset_ucs_cns): Deleted.
876 (syms_of_mule_charset): Delete `ucs-cns'.
877 (complex_vars_of_mule_charset): Likewise.
879 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
881 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
883 * mule-charset.c (Vcharset_ucs_jis): Deleted.
885 (syms_of_mule_charset): Delete `ucs-jis'.
886 (complex_vars_of_mule_charset): Likewise.
888 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
890 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
892 * mule-charset.c (Vcharset_ucs_ks): Deleted.
894 (syms_of_mule_charset): Delete `ucs-ks'.
895 (complex_vars_of_mule_charset): Likewise.
897 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
899 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
900 (Qideograph_daikanwa_2): Deleted.
901 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
902 (complex_vars_of_mule_charset): Likewise.
904 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
905 (LEADING_BYTE_DAIKANWA_1): Deleted.
906 (LEADING_BYTE_DAIKANWA_2): Deleted.
907 (MIN_CHAR_DAIKANWA): Deleted.
908 (MAX_CHAR_DAIKANWA): Deleted.
910 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
912 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
913 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
914 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
916 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
917 (Vcharset_ideograph_daikanwa): Deleted.
918 (Qideograph_hanziku_{1..12}): Deleted.
919 (Qideograph_daikanwa): Deleted.
920 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
921 Vcharset_ideograph_daikanwa.
922 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
923 `ideograph-hanziku-{1..12}'.
924 (complex_vars_of_mule_charset): Likewise.
926 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
928 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
930 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
931 (Qideograph_gt_pj_{1..11}): Deleted.
932 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
933 (complex_vars_of_mule_charset): Likewise.
935 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
937 * mule-charset.c (Vcharset_ucs_big5): Deleted.
938 (Vcharset_ideograph_gt): Deleted.
939 (Qucs_big5): Deleted.
940 (Qideograph_gt): Deleted.
941 (syms_of_mule_charset): Delete symbol `ucs-big5' and
943 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
946 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
947 (LEADING_BYTE_GT): Deleted.
948 (MIN_CHAR_GT): Deleted.
949 (MAX_CHAR_GT): Deleted.
951 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
953 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
955 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
957 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
958 (save_uint16_byte_table): Likewise.
959 (save_byte_table): Likewise; convert values by it.
960 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
961 for `ideographic-structure'.
962 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
963 as the filter for `ideographic-structure'.
965 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
967 * chartab.c (put_char_composition): New function.
968 (Fput_char_attribute): Use `put_char_composition'; use
969 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
971 * fns.c (simplify_char_spec): New function.
972 (char_ref_simplify_spec): New function.
973 (Fchar_refs_simplify_char_specs): New function.
974 (syms_of_fns): Add new builtin function
975 `char-refs-simplify-char-specs'.
977 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
979 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
980 (Qideograph_cbeta): Deleted.
981 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
982 (complex_vars_of_mule_charset): Likewise.
984 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
985 (MIN_CHAR_CBETA): Comment out.
986 (MAX_CHAR_CBETA): Likewise.
988 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
990 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
991 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
992 CHISE client feature.
994 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
996 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
998 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1000 * mule-charset.c (charset_lookup_description_1): Use
1001 `NUM_LEADING_BYTES' in UTF-2000.
1003 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1005 * char-ucs.h (GC_CHARSETP): Deleted.
1007 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1009 * char-ucs.h (MAX_CHAR_GT): Updated.
1011 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1013 * text-coding.c: Sync with XEmacs 21.4.10.
1015 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1017 * mule-charset.c (Vcharset_china3_jef): Deleted.
1018 (Qchina3_jef): Deleted.
1019 (syms_of_mule_charset): Don't define `china3-jef'.
1020 (complex_vars_of_mule_charset): Likewise.
1022 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1023 (MIN_CHAR_CHINA3_JEF): Comment out.
1024 (MAX_CHAR_CHINA3_JEF): Comment out.
1026 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1028 * mule-charset.c (Vcharset_ucs_gb): New variable.
1029 (Qucs_gb): New variable.
1030 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1031 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1033 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1035 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1037 * mule-charset.c (charset_code_point): if a coded-charset has a
1038 final-byte, don't inherit the builtin range of the mother CCS.
1040 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1042 * mule-charset.c (charset_code_point): Fix problem about
1045 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1047 * mule-charset.c (decode_builtin_char): Reorganized.
1049 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1051 * text-coding.c (char_encode_as_entity_reference): Modify for
1052 `charset_code_point'.
1053 (char_encode_shift_jis): Likewise.
1054 (char_encode_big5): Likewise.
1055 (char_encode_utf8): Likewise.
1056 (char_encode_iso2022): Likewise.
1058 * mule-charset.c (charset_code_point): Add new argument
1060 (Fencode_char): Add new optional argument `defined_only'.
1062 * chartab.c (put_char_table): Modify for `charset_code_point'.
1064 * char-ucs.h (charset_code_point): Add new argument
1066 (encode_char_1): Modify for `charset_code_point'.
1068 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1070 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1071 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1073 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1075 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1076 (Qjis_x0208): Likewise.
1077 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1078 XCHARSET_FINAL(charset).
1079 (charset_code_point): Modify condition for final-byte based
1081 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1082 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1083 in UTF-2000; specify `=jis-x0208' as the mother of
1084 `japanese-jisx0208-1978', `japanese-jisx0208' and
1085 `japanese-jisx0208-1990' in UTF-2000.
1087 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1089 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1091 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * text-coding.c (decode_coding_utf16): Support UTF-16.
1094 (char_encode_utf16): Fixed.
1096 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1098 * text-coding.c (Qutf16): New variable in MULE.
1099 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1100 (Fcoding_system_type): Add `utf-16' in MULE.
1101 (struct detection_state): Add a structure for utf16 in MULE.
1102 (detect_coding_type): Setup st->utf16.mask in MULE.
1103 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1105 (reset_encoding_stream): Use `char_encode_utf16' and
1106 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1107 (detect_coding_utf16): New function [incomplete].
1108 (decode_coding_utf16): New function [support only UCS-2].
1109 (char_encode_utf16): New function.
1110 (char_finish_utf16): New function.
1111 (syms_of_file_coding): Add new symbol `utf-16'; setup
1112 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1114 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1116 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1117 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1119 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1121 * chartab.c (put_char_table): When a charset is specified as a
1122 range in UTF-2000, don't support builtin characters.
1124 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1126 * mule-charset.c (decode_defined_char): Don't refer external
1127 database if Qunbound or Qnil are found.
1128 (Fsave_charset_mapping_table): Don't define it if
1129 HAVE_CHISE_CLIENT is not defined.
1130 (Freset_charset_mapping_table): New function.
1131 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1132 found in external database.
1133 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1134 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1135 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1137 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1139 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1142 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1144 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1145 Q_lowercase, Q_uppercase in UTF-2000.
1147 * chartab.c (get_char_table): Add special code for the standard
1148 case table to use character attribute `->downcase' and
1149 `->uppercase' for case operations in UTF-2000.
1151 * casetab.c (Qflippedcase): New variable in UTF-2000.
1152 (Q_lowercase): Likewise.
1153 (Q_uppercase): Likewise.
1154 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1155 and `->uppercase' in UTF-2000.
1156 (complex_vars_of_casetab): Assign attribute name `downcase' to
1157 downcase and CANON table of Vstandard_case_table in UTF-2000;
1158 assign attribute name `flippedcase' to upcase and EQV table of
1159 Vstandard_case_table in UTF-2000.
1161 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1163 * text-coding.c (decode_add_er_char): Support isolated-chars.
1164 (char_encode_as_entity_reference): Likewise.
1166 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1168 * emacs.c (Vutf_2000_lisp_directory): New variable.
1169 (Vconfigure_utf_2000_lisp_directory): Likewise.
1170 (complex_vars_of_emacs): Add new variable
1171 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1173 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1175 * char-ucs.h (DECODE_CHAR): Delete special code for
1176 `chinese-big5-1' and `chinese-big5-2'.
1178 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1179 (Qbig5_2): Likewise.
1180 (decode_defined_char): Support CONVERSION_BIG5_1 and
1182 (decode_builtin_char): Likewise.
1183 (charset_code_point): Likewise.
1184 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1185 'conversion in UTF-2000.
1186 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1187 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1188 `chinese-big5-2' as children of `chinese-big5'.
1190 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1191 (CONVERSION_BIG5_2): New macro.
1193 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1195 * text-coding.c (char_encode_big5): Support entity-reference.
1197 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1199 * text-coding.c (char_encode_as_entity_reference): New function.
1200 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1202 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1204 * text-coding.c (decode_coding_big5): Support entity-reference
1207 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1209 * text-coding.c (allocate_coding_system): Initialize initial
1210 charsets for CODESYS_UTF8.
1211 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1212 charset-g2 for CODESYS_UTF8.
1213 (decode_coding_utf8): Use charset-g0.
1214 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1215 to force variants to map to UCS.
1217 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1219 * text-coding.c (Qutf_8_mcs): New variable.
1220 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1221 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1222 instead of `utf-8' in UTF-2000.
1224 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1226 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1227 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1228 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1229 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1230 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1231 CONVERSION_96x96x96x96 are introduced.
1232 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1233 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1234 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1236 * char-ucs.h (CONVERSION_94): New macro.
1237 (CONVERSION_96): New macro.
1238 (CONVERSION_94x94): New macro.
1239 (CONVERSION_96x96): New macro.
1240 (CONVERSION_94x94x94): New macro.
1241 (CONVERSION_96x96x96): New macro.
1242 (CONVERSION_94x94x94x60): New macro.
1243 (CONVERSION_94x94x94x94): New macro.
1244 (CONVERSION_96x96x96x96): New macro.
1246 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1248 * chartab.c (Vcharacter_variant_table): Deleted.
1249 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1250 of `Vcharacter_variant_table'.
1251 (Fput_char_attribute): Likewise.
1252 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1253 (complex_vars_of_chartab): Likewise.
1255 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1257 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1259 * fns.c (Qideographic_structure): New variable.
1260 (Qkeyword_char): New variable.
1261 (ids_format_unit): New function.
1262 (Fideographic_structure_to_ids): New function.
1263 (syms_of_fns): Add new symbols `ideographic-structure' and
1264 `:char'; add new builtin function `ideographic-structure-to-ids'.
1266 * data.c (Fchar_ref_p): New function.
1267 (syms_of_data): Add new builtin function `char-ref-p'.
1269 * chartab.h: Add an EXFUN for `Ffind_char'.
1271 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1273 * text-coding.c (Vcharacter_composition_table): Deleted.
1274 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1277 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1279 (Vcharacter_composition_table): Deleted.
1280 (Fget_composite_char): Use the implementation for external-DB
1281 support in every UTF-2000.
1282 (Fput_char_attribute): Likewise.
1283 (char_attribute_system_db_file): Don't define if external-DB
1284 feature is not available.
1285 (Fsave_char_attribute_table): Likewise.
1286 (Fmount_char_attribute_table): Likewise.
1287 (Fclose_char_attribute_table): Likewise.
1288 (Freset_char_attribute_table): Likewise.
1289 (Fload_char_attribute_table): Likewise.
1290 (syms_of_chartab): Don't define `save-char-attribute-table',
1291 `mount-char-attribute-table', `reset-char-attribute-table',
1292 `close-char-attribute-table' and `load-char-attribute-table' if
1293 external-DB feature is not available.
1294 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1296 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1298 * text-coding.c (Qcomposition): Add extern if external-DB feature
1300 (Vcharacter_composition_table): Don't add extern if external-DB
1301 feature is supported.
1302 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1303 character composition rule if external-DB feature is supported.
1305 * chartab.c (Vcharacter_composition_table): Don't define if
1306 external-DB feature is supported.
1307 (Qcomposition): New variable.
1308 (Fget_composite_char): New implementation for external-DB support.
1309 (Fput_char_attribute): Use `composition' property of each
1310 character instead of `Vcharacter_composition_table' to store
1311 character-composition rules if external-DB feature is supported.
1312 (syms_of_chartab): Add new symbol `composition'.
1313 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1314 external-DB feature is supported.
1316 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1318 * chartab.c (Vchar_db_stingy_mode): New variable.
1319 (load_char_attribute_maybe): Close database if
1320 Vchar_db_stingy_mode is not NIL.
1321 (Fload_char_attribute_table_map_function): Use
1322 `get_char_id_table_0' instead of `get_char_id_table'.
1323 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1325 * chartab.h (get_char_id_table_0): New inline function.
1326 (get_char_id_table): Use `get_char_id_table_0'.
1328 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1330 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1331 and `COMPOSE_ADD_CHAR'.
1332 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1334 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1336 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1337 instead of `DECODE_ADD_UCS_CHAR'.
1338 (COMPOSE_ADD_CHAR): Likewise.
1340 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1342 * text-coding.c (decode_flush_er_chars): New inline function.
1343 (decode_add_er_char): New function.
1344 (decode_coding_utf8): Use `decode_flush_er_chars' and
1345 `decode_add_er_char'.
1347 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1349 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1350 done before `decode_output_utf8_partial_char'.
1352 * mule-charset.c (complex_vars_of_mule_charset): Specify
1353 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1354 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1356 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1358 * mule-charset.c (decode_defined_char): New function; search
1360 (decode_builtin_char): Don't search mother if
1361 XCHARSET_MAX_CODE(charset) == 0.
1362 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1363 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1364 (Fdecode_char): Use `decode_defined_char' instead of
1365 `DECODE_DEFINED_CHAR'.
1366 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1367 mother of `Vcharset_ucs_jis'.
1369 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1370 instead of `DECODE_DEFINED_CHAR'.
1372 * char-ucs.h (decode_defined_char): Renamed from
1373 `DECODE_DEFINED_CHAR'; changed to normal function.
1374 (DECODE_CHAR): Use `decode_defined_char' instead of
1375 `DECODE_DEFINED_CHAR'.
1377 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1379 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1381 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1383 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1385 (Quse_entity_reference): New variable.
1389 (coding_system_description): Add description for
1390 `ccs_priority_list'.
1391 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1392 (allocate_coding_system): Initialize `ccs_priority_list' in
1394 (Fmake_coding_system): Add description about
1395 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1397 (Fcoding_system_property): Accept `disable-composition' and
1398 `use-entity-reference' in UTF-2000.
1399 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1401 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1402 (decode_coding_utf8): Decode entity-reference if
1403 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1404 (char_encode_utf8): Encode non-Unicode characters as
1405 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1407 (syms_of_file_coding): Add new symbols `use-entity-reference',
1409 (vars_of_file_coding): Add new variable
1410 `coded-charset-entity-reference-alist'.
1411 (complex_vars_of_file_coding): Declare `disable-composition' and
1412 `use-entity-reference' to be coding-system-properties in UTF-2000.
1414 * file-coding.h (struct Lisp_Coding_System): Add new member
1415 `use_entity_reference' and `ccs_priority_list'.
1416 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1417 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1418 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1420 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1422 * chartab.c (save_uint8_byte_table): Don't clear the table.
1423 (save_uint16_byte_table): Likewise.
1424 (save_byte_table): Likewise.
1425 (Fmount_char_attribute_table): New function.
1426 (syms_of_chartab): Add new builtin function
1427 `mount-char-attribute-table'.
1429 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1431 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1433 (load_char_decoding_entry_maybe): Open database as read-only mode.
1435 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1436 open database as "w+" mode.
1437 (load_char_attribute_maybe): Open database as read-only mode.
1438 (Fload_char_attribute_table): Likewise.
1440 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1442 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1443 (char_table_description): Delete member `db_file'.
1444 (Fmake_char_table): Don't refer `ct->db_file'.
1445 (Fcopy_char_table): Likewise.
1446 (Fsave_char_attribute_table): Likewise.
1447 (Fclose_char_attribute_table): Likewise.
1448 (Freset_char_attribute_table): Likewise.
1449 (load_char_attribute_maybe): Likewise.
1450 (Fload_char_attribute_table): Likewise.
1452 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1454 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1456 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1457 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1459 (load_char_attribute_maybe): Likewise.
1460 (Fload_char_attribute_table): Likewise.
1462 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1464 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1465 `ct->db_file' unconditionally.
1467 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1469 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1471 (char_table_description): Add description for `db_file' and `db'
1473 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1475 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1476 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1477 (Fclose_char_attribute_table): New function.
1478 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1479 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1481 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1482 (syms_of_chartab): Add new builtin function
1483 `Fclose_char_attribute_table'.
1485 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1487 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1489 (load_char_attribute_maybe): Change interface.
1490 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1492 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1494 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1496 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1498 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1499 instead of `DECODE_CHAR' for mother; don't use special code for
1500 chinese-big5 to use code space of chinese-big5-1 and
1502 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1503 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1505 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1506 (MAX_CHAR_BIG5_CDP): Revival.
1508 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1510 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1511 the XLFD registry-encoding name of `chinese-big5'.
1513 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1515 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1516 (Qchinese_big5_cdp): Deleted.
1517 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1518 (complex_vars_of_mule_charset): Delete coded-charset
1521 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1522 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1523 `CHARSET_ID_OFFSET - n' for private CCS.
1524 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1525 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1526 of `MIN_LEADING_BYTE'.
1527 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1528 `(CHARSET_ID_OFFSET - 97)'.
1529 (MIN_CHAR_BIG5_CDP): Deleted.
1530 (MAX_CHAR_BIG5_CDP): Deleted.
1532 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1534 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1536 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1538 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1539 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1542 * chartab.c (Vutf_2000_version): Moved to mule.c.
1543 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1545 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1547 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1548 when HAVE_CHISE_CLIENT is not defined.
1550 * mule.c (vars_of_mule): Provide feature `chise' when
1551 HAVE_CHISE_CLIENT is defined.
1553 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1555 * config.h.in (UTF2000): Add comment.
1556 (HAVE_CHISE_CLIENT): New macro.
1558 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1560 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1562 (Fput_char_attribute): Likewise.
1563 (char_attribute_system_db_file): Encode file-name of attribute.
1564 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1567 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1569 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1570 (Fsave_charset_mapping_table): Use
1571 `char_attribute_system_db_file'.
1572 (load_char_decoding_entry_maybe): Likewise.
1574 * chartab.h (Qsystem_char_id): New external variable.
1575 (char_attribute_system_db_file): New prototype.
1577 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1578 (char_attribute_system_db_file): New function.
1579 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1580 (Freset_char_attribute_table): Likewise.
1581 (load_char_attribute_maybe): Likewise.
1582 (Fload_char_attribute_table): Likewise.
1583 (syms_of_chartab): Add new symbol `system-char-id'.
1585 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1587 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1588 `XCHARSET_GRAPHIC(ccs)'.
1590 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1592 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1594 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1596 * chartab.c (Q_ucs_variants): New variable.
1597 (syms_of_chartab): Add new symbol `->ucs-variants'.
1598 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1599 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1600 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1602 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1604 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1605 `HAVE_DATABASE' is defined.
1606 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1607 `HAVE_DATABASE' is defined.
1609 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1611 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1613 (Freset_char_attribute_table): New function.
1614 (syms_of_chartab): Add new builtin function
1615 `reset-char-attribute-table'.
1617 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1619 * chartab.c (load_char_attribute_maybe): Don't make directories.
1621 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1623 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1625 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1628 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1630 * mule-charset.c (Fsave_charset_mapping_table): Use
1631 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1633 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1634 instead of `XCHARSET_CHARS'.
1636 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1638 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1639 (XCHARSET_BYTE_SIZE): Likewise.
1641 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1643 (XCHARSET_BYTE_SIZE): Likewise.
1645 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1647 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1648 data-directory to store database.
1649 (Fsave_char_attribute_table): Likewise.
1650 (load_char_attribute_maybe): Likewise.
1651 (Fload_char_attribute_table): Likewise.
1653 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1655 * mule-charset.c (Fsave_charset_mapping_table): New function.
1656 (syms_of_mule_charset): Add new builtin function
1657 `save-charset-mapping-table'.
1659 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1661 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1662 (get_ccs_octet_table): New inline function.
1663 (put_ccs_octet_table): Likewise.
1664 (decoding_table_put_char): Use `get_ccs_octet_table' and
1665 `put_ccs_octet_table'.
1666 (decoding_table_remove_char): Use `decoding_table_put_char'.
1667 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1669 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1670 into encoding_table.
1671 (make_charset): Use Qunbound instead Qnil as initial value of
1674 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1676 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1677 element is Qunloaded.
1678 (map_over_uint16_byte_table): Likewise.
1679 (map_over_byte_table): Likewise.
1680 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1681 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1682 database support, load encoding-table of the specified
1683 coded-charset if it is not loaded yet.
1684 (save_uint8_byte_table): New function of UTF-2000 with external
1686 (save_uint16_byte_table): Likewise.
1687 (save_byte_table): Likewise.
1688 (Fput_char_attribute): Don't store value into external database
1689 even if the external database feature is supported in UTF-2000;
1690 set `attribute' as name of char-table if the external database
1691 feature is supported.
1692 (Fsave_char_attribute_table): New function in UTF-2000.
1693 (syms_of_chartab): Add new builtin function
1694 `save-char-attribute-table' in UTF-2000.
1696 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1698 * chartab.c (char_attribute_table_to_put): New variable in
1700 (Qput_char_table_map_function): Likewise.
1701 (value_to_put): Likewise.
1702 (Fput_char_table_map_function): New function in UTF-2000.
1703 (put_char_table): Use `Fmap_char_attribute' for
1704 CHARTAB_RANGE_CHARSET in UTF-2000.
1705 (Fput_char_attribute): Store symbol instead of string in
1706 `XCHAR_TABLE_NAME (table)'.
1707 (load_char_attribute_maybe): Likewise.
1708 (syms_of_chartab): Add new symbol/function
1709 `put-char-table-map-function'.
1711 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1713 * database.h: Add new EXFUN for `Fmap_database'.
1715 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1716 (syms_of_database): Likewise.
1718 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1720 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1721 (XCHAR_TABLE_UNLOADED): Likewise.
1723 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1724 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1725 HAVE_DATABASE is defined.
1726 (char_attribute_table_to_load): New variable of UTF-2000 with
1727 external database support.
1728 (Qload_char_attribute_table_map_function): Likewise.
1729 (Fload_char_attribute_table_map_function): New function of
1730 UTF-2000 with external database support.
1731 (Fload_char_attribute_table): New function of UTF-2000.
1732 (Fmap_char_attribute): Call Fload_char_attribute_table if
1733 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1734 (syms_of_chartab): Add new symbol and function
1735 `load-char-attribute-table-map-function' in UTF-2000 with external
1736 database support; add new function `load-char-attribute-table' in
1739 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1741 * chartab.h (load_char_attribute_maybe): New prototype for
1742 UTF-2000 with DATABASE support.
1743 (get_char_id_table): Use `load_char_attribute_maybe' if
1744 HAVE_DATABASE is defined.
1746 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1747 with DATABASE support.
1749 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1751 * chartab.c (Fput_char_attribute): Use S-expression as key of
1754 * chartab.h (get_char_id_table): Use S-expression as key of
1757 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1759 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1760 if an element is not loaded, load the corresponding attributes
1761 from an external database.
1762 (map_over_uint16_byte_table): Likewise.
1763 (map_over_byte_table): Likewise.
1764 (map_char_table): Modify for `map_over_uint8_byte_table',
1765 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1766 element is not loaded, load the corresponding attributes from an
1768 (Fput_char_attribute): Change initial values to Qunloaded.
1770 * chartab.h (get_char_id_table): If a character attribute is not
1771 loaded and the attribute value is not found in an external
1772 database, store Qunbound as the attribute value.
1774 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1776 * chartab.c (BT_UINT8_unloaded): New macro.
1777 (UINT8_VALUE_P): Accept Qunloaded.
1778 (UINT8_ENCODE): Likewise.
1779 (UINT8_DECODE): Likewise.
1780 (BT_UINT16_unloaded): New macro.
1781 (UINT16_VALUE_P): Accept Qunloaded.
1782 (UINT16_ENCODE): Likewise.
1783 (UINT16_DECODE): Likewise.
1784 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1786 (mark_char_table): Mark `ct->name' in UTF-2000.
1787 (char_table_description): Add `name' in UTF-2000.
1788 (Fmake_char_table): Initialize `ct->name'.
1789 (Fcopy_char_table): Copy `ct->name'.
1790 (Fput_char_attribute): Store value into an external database if
1791 HAVE_DATABASE is defined.
1793 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1795 (CHAR_TABLE_NAME): New macro in UTF-2000.
1796 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1797 (get_char_id_table): Try to read an external database if Qunloaded
1798 is stored in a table.
1800 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1803 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1805 * database.h: Add EXFUN definitions for Fopen_database,
1806 Fput_database, Fget_database and Fclose_database.
1808 * data.c (Qunloaded): New variable in UTF-2000.
1810 * lisp.h (Qunloaded): New variable in UTF-2000.
1812 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1814 * mule-charset.c (put_char_ccs_code_point): Modify for
1815 `decoding_table_remove_char' and `decoding_table_put_char'.
1816 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1818 * char-ucs.h (decoding_table_remove_char): Change arguments to
1819 hide decoding_table vector.
1820 (decoding_table_put_char): Likewise.
1822 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1824 * mule-charset.c (decoding_table_remove_char): Moved to
1826 (decoding_table_put_char): Likewise.
1828 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1829 from mule-charset.c].
1830 (decoding_table_remove_char): New inline function [moved from
1832 (decoding_table_put_char): Likewise.
1834 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1836 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1839 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1841 * mule-charset.c (decode_builtin_char): Support mother charsets.
1843 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1845 * mule-charset.c (Q94x94x60): New variable.
1846 (charset_code_point): Support conversion `94x94x60'.
1847 (Fmake_charset): Likewise.
1848 (syms_of_mule_charset): Add new symbol `94x94x60'.
1850 * char-ucs.h (CONVERSION_94x94x60): New macro.
1852 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1854 * mule-charset.c (charset_code_point): Unify code about
1857 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1859 * mule-charset.c (charset_code_point): Merge code about builtin
1860 characters into code about mother charsets; don't use
1861 `range_charset_code_point'.
1862 (range_charset_code_point): Deleted.
1864 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1866 * mule-charset.c (Qcode_offset): New variable.
1867 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1868 `max-code'; accept new property `code-offset'.
1869 (syms_of_mule_charset): Add new symbol `code-offset'.
1871 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1873 * mule-charset.c (range_charset_code_point): Fixed.
1875 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1877 * mule-charset.c (decode_builtin_char): Change semantics of
1878 code-offset of coded-charset.
1879 (charset_code_point): Likewise.
1880 (range_charset_code_point): Likewise.
1881 (complex_vars_of_mule_charset): Modify for the change.
1883 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1885 * mule-charset.c (Fencode_char): Reverse arguments.
1887 * mule-charset.c (charset_code_point): Fixed.
1889 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1891 * mule-charset.c (Vcharset_mojikyo): Deleted.
1892 (Vcharset_mojikyo_2022_1): Deleted.
1893 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1894 (Qmin_code): New variable in UTF-2000.
1895 (Qmax_code): Likewise.
1896 (Qmother): Likewise.
1897 (Qconversion): Likewise.
1899 (Qmojikyo): Deleted.
1900 (Qmojikyo_2022_1): Deleted.
1901 (Qmojikyo_pj_{1..22}): Deleted.
1902 (mark_charset): Mark `cs->mother'.
1903 (charset_description): Add description for `mother'.
1904 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1905 new arguments `mother' and `conversion'; use
1906 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1907 (charset_code_point): Moved from char-ucs.h; support `mother'
1909 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1910 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1911 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1912 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1913 allow 2 as the value of `graphic' in UTF-2000; add new properties
1914 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1915 require `final' in UTF-2000; modify for `make_charset'.
1916 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1917 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1918 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1919 (Fencode_char): New function.
1920 (syms_of_mule_charset): Add new builtin function `encode-char' in
1921 UTF-2000; add new symbols `min-code', `max-code', `mother',
1922 `conversion' and `94x60'; delete symbols `mojikyo',
1923 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1924 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1925 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1926 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1928 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1929 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1931 * char-ucs.h (Vcharset_mojikyo): Deleted.
1932 (Vcharset_mojikyo_2022_1): Deleted.
1933 (LEADING_BYTE_MOJIKYO): Deleted.
1934 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1935 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1936 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1937 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1938 add new member `mother'; add new member `conversion'.
1939 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1940 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1941 (CHARSET_MOTHER): New macro.
1942 (CHARSET_CONVERSION): New macro.
1943 (CONVERSION_IDENTICAL): New macro.
1944 (CONVERSION_94x60): New macro.
1945 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1946 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1947 (XCHARSET_MOTHER): New macro.
1948 (XCHARSET_CONVERSION): New macro.
1949 (MIN_CHAR_MOJIKYO): Deleted.
1950 (MAX_CHAR_MOJIKYO): Deleted.
1951 (DECODE_MOJIKYO_2022): Deleted.
1952 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1953 (charset_code_point): Changed to non-inline function.
1954 (encode_char_1): Use `charset_code_point'.
1955 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1957 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1959 * lread.c (read_compiled_function): Fix prototype.
1960 (read_vector): Likewise.
1962 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1964 * lrecord.h (struct lrecord_header): Delete `older'.
1965 (set_lheader_implementation): Delete code for `older'.
1966 (set_lheader_older_implementation): Deleted.
1967 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1968 (OLDER_RECORD_P): Deleted.
1969 (OLDER_RECORD_HEADER_P): Deleted.
1970 (alloc_older_lcrecord): Deleted.
1971 (alloc_older_lcrecord_type): Deleted.
1973 * alloc.c (all_older_lcrecords): Deleted.
1974 (alloc_older_lcrecord): Deleted.
1975 (disksave_object_finalization_1): Delete code for older objects.
1976 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1977 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1979 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1981 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1982 instead of `make_older_vector'.
1983 (put_char_ccs_code_point): Likewise.
1984 (mark_charset): Mark `cs->decoding_table'.
1985 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1987 * lisp.h (make_older_vector): Deleted.
1988 (make_vector_newer): Deleted.
1990 * config.h.in (HAVE_GGC): Deleted.
1992 * alloc.c (make_older_vector): Deleted.
1993 (make_vector_newer_1): Deleted.
1994 (make_vector_newer): Deleted.
1996 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1998 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1999 (Qideograph_daikanwa_2): New variable.
2000 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2001 (complex_vars_of_mule_charset): Add new coded-charset
2002 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2003 `LEADING_BYTE_DAIKANWA'.
2005 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2006 (LEADING_BYTE_DAIKANWA_1): New macro.
2007 (LEADING_BYTE_DAIKANWA_2): New macro.
2008 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2010 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2012 * mule-charset.c (complex_vars_of_mule_charset): Change
2013 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2014 the second revised version.
2016 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2018 * mule-charset.c (Vcharset_ucs_smp): New variable.
2019 (Vcharset_ucs_sip): New variable.
2020 (Qucs_smp): New variable.
2021 (Qucs_sip): New variable.
2022 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2023 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2024 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2025 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2026 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2027 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2029 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2030 (LEADING_BYTE_UCS_SIP): New macro.
2031 (MIN_CHAR_SMP): New macro.
2032 (MAX_CHAR_SMP): New macro.
2033 (MIN_CHAR_SIP): New macro.
2034 (MAX_CHAR_SIP): New macro.
2036 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2038 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2041 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2043 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2044 value; don't store value into `encoding_table' of `Lisp_Charset'.
2045 (mark_charset): `encoding_table' was deleted.
2046 (charset_description): Likewise.
2047 (make_charset): Likewise.
2048 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2049 `put_char_ccs_code_point'.
2051 * chartab.h (Fput_char_attribute): New EXFUN.
2053 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2054 is unified with normal symbol space.
2055 (Fget_char_attribute): Likewise.
2056 (Fput_char_attribute): Likewise; behavior of
2057 `put_char_ccs_code_point' is changed.
2059 * char-ucs.h: Include "elhash.h".
2060 (Vchar_attribute_hash_table): New external variable.
2061 (struct Lisp_Charset): Delete `encoding_table'.
2062 (CHARSET_ENCODING_TABLE): New implementation; refer
2063 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2066 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2068 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2071 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2073 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2076 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2078 * chartab.c (uint8_byte_table_description): New constant.
2079 (uint8-byte-table): Use `uint8_byte_table_description'.
2080 (uint16_byte_table_description): New constant.
2081 (uint16-byte-table): Use `uint16_byte_table_description'.
2083 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2085 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2086 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2088 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2090 * mule-charset.c (Vcharset_ucs_ks): New variable.
2091 (Qucs_ks): New variable.
2092 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2093 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2095 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2097 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2099 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2100 (Fdecode_char): Likewise.
2102 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2104 (Fdefine_char): Modify for Fdecode_char.
2105 (Ffind_char): Likewise.
2107 * mule-charset.c (Fdecode_char): Add new optional argument
2109 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2111 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2113 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2114 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2115 (allocate_coding_system): Initialize initial-charsets of
2116 CODESYS_BIG5 in XEmacs UTF-2000.
2117 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2118 CODESYS_BIG5 in XEmacs UTF-2000.
2119 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2120 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2122 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2124 (Qideograph_hanziku_{1 .. 12}): Likewise.
2125 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2127 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2128 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2129 `ideograph-hanziku-{1 .. 12}'.
2131 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2132 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2133 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2134 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2135 (DECODE_DEFINED_CHAR): New inline function.
2136 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2138 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2140 * mule-charset.c (Vcharset_china3_jef): Renamed from
2141 `Vcharset_japanese_jef_china3'.
2142 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2143 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2144 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2145 (syms_of_mule_charset): Rename `china3-jef' from
2146 `japanese-jef-china3'.
2147 (complex_vars_of_mule_charset): Likewise; rename
2148 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2150 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2151 `LEADING_BYTE_JEF_CHINA3'.
2152 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2153 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2155 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2157 * mule-charset.c (encode_builtin_char_1): Comment out special code
2158 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2160 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2161 (MAX_CHAR_MOJIKYO_0): Comment out.
2162 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2163 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2164 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2165 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2167 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2169 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2170 (Qideograph_cbeta): New variable.
2171 (encode_builtin_char_1): Comment out special code for
2172 coded-charset `mojikyo' and `japanese-jef-china3'.
2173 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2174 (complex_vars_of_mule_charset): Add new coded-charset
2177 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2178 (MIN_CHAR_CBETA): New macro.
2179 (MAX_CHAR_CBETA): New macro.
2181 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2183 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2184 (LEADING_BYTE_JEF_CHINA3): New macro.
2185 (MIN_CHAR_JEF_CHINA3): New macro.
2186 (MAX_CHAR_JEF_CHINA3): Likewise.
2187 (DECODE_CHAR): Fixed.
2189 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2191 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2192 (Qjapanese_jef_china3): New variable.
2193 (encode_builtin_char_1): Support `japanese-jef-china3'.
2194 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2195 (complex_vars_of_mule_charset): Add new coded-charset
2196 `japanese-jef-china3'.
2198 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2200 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2201 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2202 94^4, 96^3, 96^4, 128^n and 256^n set.
2203 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2204 (map_char_table): Likewise.
2206 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2208 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2211 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2213 * chartab.h (get_char_id_table): New inline function.
2215 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2218 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2220 * chartab.h (decode_char_table_range): New prototype in XEmacs
2222 (put_char_id_table): New inline function in XEmacs UTF-2000.
2224 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2226 (decode_char_table_range): Delete static declaration in XEmacs
2229 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2231 * chartab.c (put_char_id_table): Use `put_char_table'.
2233 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2235 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2236 (map_over_uint16_byte_table): Likewise.
2237 (map_over_byte_table): Likewise.
2238 (map_char_table): Modify for `map_over_uint8_byte_table',
2239 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2242 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2244 * chartab.c (struct map_char_table_for_charset_arg): New
2246 (map_char_table_for_charset_fun): New function.
2247 (map_char_table): Use `map_char_table' for encoding_table of
2250 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2252 * chartab.c (map_char_table): Check a character is found in
2253 range->charset instead of non default value is defined in
2254 char-table when range is CHARTAB_RANGE_ROW.
2256 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2258 * chartab.c (map_char_id_table): Deleted.
2259 (Fmap_char_attribute): Use `map_char_table' instead of
2260 `map_char_id_table'.
2262 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2264 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2266 (update_syntax_table): Deleted in XEmacs UTF-2000.
2268 * syntax.c (find_defun_start): Use `syntax_table' instead of
2269 `mirror_syntax_table' in XEmacs UTF-2000.
2270 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2272 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2274 (Fmatching_paren): Likewise.
2275 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2277 (find_start_of_comment): Likewise.
2278 (find_end_of_comment): Likewise.
2279 (Fforward_comment): Likewise.
2280 (scan_lists): Likewise.
2281 (char_quoted): Likewise.
2282 (Fbackward_prefix_chars): Likewise.
2283 (scan_sexps_forward): Likewise.
2284 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2285 (update_syntax_table): Likewise.
2287 * search.c (skip_chars): Use `syntax_table' instead of
2288 `mirror_syntax_table' in XEmacs UTF-2000.
2289 (wordify): Likewise.
2290 (Freplace_match): Likewise.
2292 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2293 `mirror_syntax_table' in XEmacs UTF-2000.
2294 (WORDCHAR_P_UNSAFE): Likewise.
2295 (re_match_2_internal): Likewise.
2297 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2298 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2300 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2301 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2303 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2306 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2308 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2309 (char_table_description): Delete `mirror_table' in XEmacs
2311 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2313 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2314 (Fcopy_char_table): Likewise.
2315 (put_char_table): Don't call `update_syntax_table' in XEmacs
2318 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2319 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2320 (casify_region_internal): Likewise.
2322 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2324 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2325 `mirror_syntax_table' in XEmacs UTF-2000.
2327 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2328 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2329 (Fexpand_abbrev): Likewise.
2331 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2333 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2335 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2337 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2338 (map_over_uint16_byte_table): Likewise.
2339 (map_over_byte_table): Likewise.
2340 (get_char_id_table): Refer `cit->default_value'.
2341 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2342 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2343 of character-id ranges.
2344 (mark_char_table): Mark `ct->default_value'.
2345 (char_table_description): Add `default_value'.
2346 (fill_char_table): Use `default_value'.
2347 (decode_char_table_range): Decode `nil' as
2348 `CHARTAB_RANGE_DEFAULT'.
2349 (get_char_id_table): Refer `cit->default_value'.
2350 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2351 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2352 temporary hack; check value of char-table is bound or not.
2353 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2355 * chartab.h (struct Lisp_Char_Table): Add new member
2356 `default_value' in XEmacs UTF-2000.
2357 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2358 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2361 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2363 * chartab.h (Lisp_Char_ID_Table): Deleted.
2365 * chartab.c (char_table_description): Fix typo.
2366 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2367 `Lisp_Char_ID_Table'.
2369 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2371 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2374 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2377 * chartab.h (XCHAR_ID_TABLE): Deleted.
2378 (XSETCHAR_ID_TABLE): Deleted.
2379 (CHAR_ID_TABLE_P): Deleted.
2381 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2383 (Fget_composite_char): Likewise.
2384 (put_char_table): Likewise.
2385 (add_char_attribute_alist_mapper): Fixed.
2386 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2388 (Fget_char_attribute): Likewise.
2389 (Fget_char_attribute): Likewise.
2390 (Fmap_char_attribute): Likewise.
2392 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2394 (encode_char_1): Likewise.
2396 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2398 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2401 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2402 instead of `XCHAR_ID_TABLE'.
2403 (remove_char_ccs): Likewise.
2405 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2407 (Fget_composite_char): Likewise.
2408 (Fchar_variants): Likewise.
2409 (put_char_table): Likewise.
2410 (add_char_attribute_alist_mapper): Likewise.
2411 (Fchar_attribute_alist): Likewise.
2412 (Fget_char_attribute): Likewise.
2413 (Fput_char_attribute): Likewise.
2414 (Fmap_char_attribute): Likewise.
2415 (Fmap_char_attribute): Likewise.
2417 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2419 (encode_char_1): Likewise.
2421 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2423 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2424 `Lisp_Char_ID_Table'.
2425 (mark_char_id_table): Deleted.
2426 (print_char_id_table): Likewise.
2427 (char_id_table_equal): Likewise.
2428 (char_id_table_hash): Likewise.
2429 (char_id_table_description): Likewise.
2430 (char_id_table): Likewise.
2431 (make_char_id_table): Use `Fmake_char_table' and
2433 (get_char_id_table): Use `Lisp_Char_Table' instead of
2434 `Lisp_Char_ID_Table'.
2435 (put_char_id_table): Likewise.
2436 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2438 (Fremove_char_attribute): Likewise.
2439 (syms_of_chartab): Don't define type `char-id-table'.
2441 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2442 (char_id_table): Likewise.
2443 (GC_CHAR_ID_TABLE_P): Likewise.
2444 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2445 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2446 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2447 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2448 (get_char_id_table): Use `Lisp_Char_Table' instead of
2449 `Lisp_Char_ID_Table'.
2450 (put_char_id_table_0): Likewise.
2451 (put_char_id_table): Likewise.
2453 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2455 * chartab.h: Lisp_Byte_Table related codes are moved from
2458 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2460 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2462 * chartab.h: Don't include "chartab.h".
2463 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2464 (Lisp_Char_ID_Table): Likewise.
2465 (char_id_table): Likewise.
2466 (XCHAR_ID_TABLE): Likewise.
2467 (XSETCHAR_ID_TABLE): Likewise.
2468 (CHAR_ID_TABLE_P): Likewise.
2469 (GC_CHAR_ID_TABLE_P): Likewise.
2470 (get_char_id_table): Likewise.
2472 * char-ucs.h: Include "chartab.h".
2473 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2474 (Lisp_Char_ID_Table): Likewise.
2475 (char_id_table): Likewise.
2476 (XCHAR_ID_TABLE): Likewise.
2477 (XSETCHAR_ID_TABLE): Likewise.
2478 (CHAR_ID_TABLE_P): Likewise.
2479 (GC_CHAR_ID_TABLE_P): Likewise.
2480 (get_char_id_table): Likewise.
2482 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2484 * chartab.c (copy_uint8_byte_table): New function.
2485 (copy_uint16_byte_table): New function.
2486 (copy_byte_table): New function.
2487 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2489 (map_over_uint16_byte_table): Likewise.
2490 (map_over_byte_table): Likewise.
2491 (get_byte_table): Move prototype to chartab.h.
2492 (put_byte_table): Likewise.
2493 (put_char_id_table_0): Moved to chartab.h.
2494 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2495 (char_table_entry_equal): Likewise.
2496 (char_table_entry_hash): Likewise.
2497 (char_table_entry_description): Likewise.
2498 (char_table_entry): Likewise.
2499 (make_char_table_entry): Likewise.
2500 (copy_char_table_entry): Likewise.
2501 (get_non_ascii_char_table_value): Likewise.
2502 (map_over_charset_ascii): Likewise.
2503 (map_over_charset_control_1): Likewise.
2504 (map_over_charset_row): Likewise.
2505 (map_over_other_charset): Likewise.
2506 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2507 (print_char_table): Likewise.
2508 (char_table_equal): Likewise.
2509 (char_table_hash): Likewise.
2510 (char_table_description): Likewise.
2511 (fill_char_table): Likewise.
2512 (Fcopy_char_table): Likewise.
2513 (get_char_table): Likewise.
2514 (Fget_range_char_table): Likewise.
2515 (put_char_table): Likewise.
2516 (map_char_table): Likewise.
2517 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2520 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2522 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2523 `Vauto_fill_chars' in XEmacs UTF-2000.
2525 * chartab.h (get_byte_table): New prototype [moved from
2527 (put_byte_table): Likewise [moved from chartab.c].
2528 (put_char_id_table_0): New inline function [moved from chartab.c].
2529 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2530 (Lisp_Char_Table_Entry): Likewise.
2531 (char_table_entry): Likewise.
2532 (XCHAR_TABLE_ENTRY): Likewise.
2533 (XSETCHAR_TABLE_ENTRY): Likewise.
2534 (CHAR_TABLE_ENTRYP): Likewise.
2535 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2536 (NUM_ASCII_CHARS): Likewise.
2537 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2538 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2540 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2542 * chartab.c (get_char_id_table): Change interface.
2543 (put_char_id_table_0): New function.
2544 (put_char_id_table): Change interface; new implementation.
2545 (Fget_composite_char): Modify for interface change of
2546 `get_char_id_table'.
2547 (Fchar_variants): Likewise.
2548 (add_char_attribute_alist_mapper): Likewise.
2549 (Fchar_attribute_alist): Likewise.
2550 (Fget_char_attribute): Likewise.
2551 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2552 as same as character as the first argument like `put-char-table';
2553 modify for interface change of `put_char_id_table'.
2554 (Fremove_char_attribute): Modify for interface change of
2555 `put_char_id_table'.
2557 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2559 * text-coding.c: Sync up with XEmacs 21.2.41.
2560 (COMPOSE_ADD_CHAR): Modify for interface change of
2561 `get_char_id_table'.
2563 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2564 change of `put_char_id_table'.
2565 (remove_char_ccs): Likewise.
2567 * chartab.h (put_char_id_table): Change interface.
2569 * char-ucs.h (get_char_id_table): Change interface.
2570 (charset_code_point): Modify for interface change of
2571 `get_char_id_table'.
2572 (encode_char_1): Likewise.
2574 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2576 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2578 (map_over_uint16_byte_table): Likewise.
2579 (map_over_byte_table): Likewise.
2580 (map_char_id_table): Add new argument `range' like
2582 (Fmap_char_attribute): Add new argument `range' like
2585 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2587 * chartab.c (map_over_uint8_byte_table): Change interface of
2588 mapping function to use struct chartab_range instead of Emchar.
2589 (map_over_uint16_byte_table): Likewise.
2590 (map_over_byte_table): Likewise.
2591 (map_char_id_table): Likewise.
2592 (struct slow_map_char_id_table_arg): Deleted.
2593 (slow_map_char_id_table_fun): Deleted.
2594 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2595 function `slow_map_char_table_fun' instead of struct
2596 `slow_map_char_id_table_arg' and function
2597 `slow_map_char_id_table_fun'.
2599 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2601 * mule-charset.c: Move char-it-table related codes to chartab.c.
2602 (Vutf_2000_version): Moved to chartab.c.
2603 (Fdefine_char): Likewise.
2604 (Ffind_char): Likewise.
2605 (syms_of_mule_charset): Move types `uint8-byte-table',
2606 `uint16-byte-table', `byte-table' and `char-id-table' to
2607 chartab.c; move functions `char_attribute_list,
2608 `find_char_attribute_table, `char_attribute_alist,
2609 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2610 `map_char_attribute, `define_char, `find_char, `char_variants and
2611 `get_composite_char to chartab.c; move symbols `=>ucs',
2612 `->decomposition', `compat', `isolated', `initial', `medial',
2613 `final', `vertical', `noBreak', `fraction', `super', `sub',
2614 `circle', `square', `wide', `narrow', `small' and `font' to
2616 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2617 setting codes for `Vcharacter_composition_table' and
2618 `Vcharacter_variant_table' to chartab.c.
2619 (complex_vars_of_mule_charset): Move setting code for
2620 `Vchar_attribute_hash_table' to chartab.c.
2622 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2623 (make_char_id_table): New prototype.
2624 (put_char_id_table): Likewise.
2625 (Fget_char_attribute): Likewise.
2627 * chartab.c: Move char-id-table related code from mule-charset.c.
2628 (Vutf_2000_version): Moved from mule-charset.c.
2630 * char-ucs.h (Qucs): New external variable.
2631 (put_char_ccs_code_point): New prototype.
2632 (remove_char_ccs): Likewise.
2634 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2636 * mule-charset.c (Vcharset_ucs_jis): New variable.
2637 (Qucs_jis): Likewise.
2638 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2639 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2641 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2643 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2645 * mule-charset.c (map_over_uint8_byte_table): New function.
2646 (map_over_uint16_byte_table): Likewise.
2647 (map_over_byte_table): Likewise.
2648 (map_char_id_table): Likewise.
2649 (slow_map_char_id_table_fun): Likewise.
2650 (Fmap_char_attribute): Likewise.
2651 (syms_of_mule_charset): Add new function `map-char-attribute'.
2653 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2655 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2656 (syms_of_mule_charset): Add new function `find-char'.
2658 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2660 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2662 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2663 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2665 (complex_vars_of_mule_charset): Add new coded-charset
2666 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2667 `ideograph-gt-pj-*'.
2669 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2671 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2673 * mule-charset.c (encode_builtin_char_1): Purge codes about
2674 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2675 {MIN|MAX}_CHAR_HEBREW.
2676 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2677 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2679 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2680 (MAX_CHAR_GREEK): Purged.
2681 (MIN_CHAR_CYRILLIC): Purged.
2682 (MAX_CHAR_CYRILLIC): Purged.
2683 (MIN_CHAR_HEBREW): Commented out.
2684 (MAX_CHAR_HEBREW): Likewise.
2686 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2688 * mule-charset.c (Qto_ucs): New variable.
2689 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2690 (Fdefine_char): Likewise.
2691 (syms_of_mule_charset): Add new symbol `=>ucs'.
2693 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2695 * mule-charset.c (Fdecode_char): Fixed.
2697 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2699 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2700 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2703 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2705 * mule-charset.c (Vcharset_ucs_big5): New variable.
2706 (Qucs_big5): Likewise.
2707 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2708 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2710 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2712 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2714 * mule-charset.c (decode_builtin_char): Check Big5 code range
2715 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2717 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2719 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2720 (Qchinese_gb12345): Likewise.
2721 (Fdecode_builtin_char): Fixed.
2722 (syms_of_mule_charset): Add `chinese-gb12345'.
2723 (complex_vars_of_mule_charset): Add coded-charset
2726 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2727 (LEADING_BYTE_CHINESE_GB12345): New macro.
2729 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2731 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2732 and `latin-viscii-upper' for `latin-viscii'.
2734 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2736 * mule-charset.c (Fdecode_builtin_char): Comment out
2737 regularization code for ISO-IR GR representation.
2739 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2741 * mule-charset.c (decode_builtin_char): New function; renamed from
2742 `make_builtin_char'; return -1 instead of signal.
2743 (Fdecode_builtin_char): Use `decode_builtin_char'.
2745 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2746 `make_builtin_char'.
2747 (DECODE_CHAR): Use `decode_builtin_char' instead of
2748 `make_builtin_char'; use mapping table of `chinese-big5' for
2749 `chinese-big5-{1,2}'.
2751 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2753 * text-coding.c (char_encode_big5): New function.
2754 (char_finish_big5): Likewise.
2755 (reset_encoding_stream): Use `char_encode_big5' and
2756 `char_finish_big5' for CODESYS_BIG5.
2757 (mule_encode): Don't use `encode_coding_big5'.
2758 (encode_coding_big5): Deleted.
2760 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2762 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2763 0x81- in XEmacs UTF-2000.
2764 (detect_coding_big5): Likewise.
2766 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2768 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2769 generate character-id if the CCS property does not have
2770 corresponding predefined character.
2771 (make_builtin_char): Return -1 if corresponding predefined
2772 character is not found.
2773 (Fdecode_char): Return nil if corresponding character is not
2775 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2776 don't map to builtin ucs space.
2778 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2780 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2781 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2783 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2785 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2786 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2787 (Qideograph_gt): Likewise.
2788 (Qideograph_gt_pj_{1..11}): Likewise.
2789 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2790 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2791 `ideograph-gt-pj-11'.
2792 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2793 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2794 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2796 * char-ucs.h (LEADING_BYTE_GT): New macro.
2797 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2798 (MIN_CHAR_GT): Likewise.
2799 (MAX_CHAR_GT): Likewise.
2801 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2803 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2804 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2806 * doprnt.c (unsigned_int_converters): Add `c'.
2807 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2809 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2810 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2812 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2813 (MAX_CHAR_MOJIKYO_0): New macro.
2814 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2816 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2818 * mule-charset.c (Fdefine_char): Delete cemented out code.
2819 (encode_builtin_char_1): Modify for new allocation of builtin
2822 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2824 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2826 * mule-charset.c (Vcharset_ucs_cns): New variable.
2827 (Qucs_cns): New variable.
2828 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2829 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2831 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2833 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2835 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2837 * search.c (search_buffer): Make `charset_base_code' as
2838 character-id >> 6 to eliminate the corresponding last byte in
2839 UTF-8 representation [I'm not sure it is right thing].
2840 (boyer_moore): Likewise.
2842 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2844 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2845 representation in MULE.
2847 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2849 * text-coding.c (Fmake_coding_system): Use
2850 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2851 `EXTERNAL_PROPERTY_LIST_LOOP'.
2853 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2855 * text-coding.c (decode_output_utf8_partial_char): New function.
2856 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2858 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2860 * text-coding.c (decode_coding_utf8): Output original byte
2861 sequence if it is broken; change order of conditions.
2863 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2866 * mb-multibyte.h (BYTE_ASCII_P):
2867 Use bit ops for char-signedness safety.
2868 (BYTE_C0_P): Use bit ops for char-signedness safety.
2869 (BYTE_C1_P): Use bit ops for char-signedness safety.
2871 * character.h: (XCHAR_OR_CHAR_INT):
2872 Always use inline function.
2873 Remove redundant type checking assert() - XINT will abort quite
2876 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2878 * text-coding.c: (Fencode_shift_jis_char):
2879 (Fencode_big5_char):
2880 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2881 Replace 0 with '\0' when working with bytes.
2882 Replace initial "(" with "\(" in docstrings.
2884 (Fmake_coding_system):
2885 When type is ccl and value is vector, register it with a proper
2886 symbol. And checks whether the given ccl program is valid.
2887 (mule_decode): When calling ccl_driver, if src indicates
2888 NULL pointer, set an empty string instead.
2889 (mule_encode): Likewise.
2892 (detect_coding_sjis):
2893 (decode_coding_sjis):
2894 (detect_coding_big5):
2895 (decode_coding_big5):
2896 (detect_coding_ucs4):
2897 (decode_coding_ucs4):
2898 (detect_coding_utf8):
2899 (decode_coding_utf8):
2900 (detect_coding_iso2022):
2901 (decode_coding_iso2022):
2902 (decode_coding_no_conversion):
2904 Make all detecting and decoding functions take an Extbyte * arg.
2905 (text_encode_generic):
2906 (encode_coding_big5):
2907 (encode_coding_no_conversion):
2909 Make all encoding functions take a Bufbyte * arg.
2910 Use size_t instead of unsigned int for memory sizes.
2911 Only cast to unsigned char whenever dereferencing Extbyte *.
2913 (struct lrecord_description fcd_description_1): Use countof.
2914 (complex_vars_of_file_coding):
2915 Use countof instead of sizeof.
2916 Use CHECK_NATNUM instead of CHECK_INT.
2918 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2920 * mule-charset.c (Fget_char_attribute): Add new optional argument
2922 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2923 (remove_char_ccs): Likewise.
2925 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2927 * text-coding.c (char_encode_shift_jis): New implementation in
2929 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2932 * mule-charset.c (Vcharset_chinese_big5): New variable in
2934 (Qchinese_big5): New variable in UTF-2000.
2935 (BIG5_SAME_ROW): New macro in UTF-2000.
2936 (make_builtin_char): Use builtin characters of
2937 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2938 characters of `Vcharset_chinese_big5'.
2939 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2940 (complex_vars_of_mule_charset): Add new coded-charset
2941 `chinese-big5' in UTF-2000.
2943 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2944 (Vcharset_chinese_big5): New external variable declaration.
2945 (Vcharset_japanese_jisx0208_1990): Likewise.
2947 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2949 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2951 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2953 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2955 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2956 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2957 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2960 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2962 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2964 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2966 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2969 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2971 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2972 for `CHARSET_BY_ATTRIBUTES'.
2973 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2974 `CHARSET_BY_ATTRIBUTES'.
2976 * text-coding.c (struct decoding_stream): Rename member `CH' to
2978 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2979 (decode_coding_sjis): Likewise.
2980 (decode_coding_big5): Likewise.
2981 (decode_coding_ucs4): Likewise.
2982 (decode_coding_utf8): Likewise.
2983 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2984 `CHARSET_BY_ATTRIBUTES'.
2985 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2986 `str->counter'; decode 3, 4 bytes sets.
2987 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2989 (decode_coding_no_conversion): Use `str->cpos' instead of
2992 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2993 (Qmojikyo_2022_1): New variable.
2994 (make_charset): Don't use `CHARSET_TYPE_*'.
2995 (range_charset_code_point): Support coded-charset
2997 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2998 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2999 `CHARSET_BY_ATTRIBUTES'.
3000 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3001 `CHARSET_BY_ATTRIBUTES'.
3002 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3003 (complex_vars_of_mule_charset): Add new coded-charset
3006 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3007 interface; changed to inline function.
3009 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3010 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3011 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3012 (CHARSET_TYPE_94): Deleted.
3013 (CHARSET_TYPE_94X94): Deleted.
3014 (CHARSET_TYPE_96): Deleted.
3015 (CHARSET_TYPE_96X96): Deleted.
3016 (CHARSET_TYPE_128): Deleted.
3017 (CHARSET_TYPE_128X128): Deleted.
3018 (CHARSET_TYPE_256): Deleted.
3019 (CHARSET_TYPE_256X256): Deleted.
3020 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3022 (DECODE_MOJIKYO_2022): New inline function.
3023 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3024 `Vcharset_mojikyo_2022_1'.
3026 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3028 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3030 (put_byte_table): Likewise.
3031 (char_id_table_equal): Use `get_byte_table' [new implementation].
3033 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3035 * mule-charset.c: Include <limits.h> in UTF-2000.
3036 (BT_UINT8_MIN): New macro in UTF-2000.
3037 (BT_UINT8_MAX): New macro in UTF-2000.
3038 (BT_UINT8_t): New macro in UTF-2000.
3039 (BT_UINT8_nil): New macro in UTF-2000.
3040 (BT_UINT8_unbound): New macro in UTF-2000.
3041 (INT_UINT8_P): New inline function in UTF-2000.
3042 (UINT8_VALUE_P): New inline function in UTF-2000.
3043 (UINT8_ENCODE): New inline function in UTF-2000.
3044 (UINT8_DECODE): New inline function in UTF-2000.
3045 (mark_uint8_byte_table): New function in UTF-2000.
3046 (print_uint8_byte_table): New function in UTF-2000.
3047 (uint8_byte_table_equal): New function in UTF-2000.
3048 (uint8_byte_table_hash): New function in UTF-2000.
3049 (make_uint8_byte_table): New function in UTF-2000.
3050 (uint8_byte_table_same_value_p): New function in UTF-2000.
3051 (BT_UINT16_MIN): New macro in UTF-2000.
3052 (BT_UINT16_MAX): New macro in UTF-2000.
3053 (BT_UINT16_t): New macro in UTF-2000.
3054 (BT_UINT16_nil): New macro in UTF-2000.
3055 (BT_UINT16_unbound): New macro in UTF-2000.
3056 (INT_UINT16_P): New inline function in UTF-2000.
3057 (UINT16_VALUE_P): New inline function in UTF-2000.
3058 (UINT16_ENCODE): New inline function in UTF-2000.
3059 (UINT16_DECODE): New inline function in UTF-2000.
3060 (UINT8_TO_UINT16): New inline function in UTF-2000.
3061 (mark_uint16_byte_table): New function in UTF-2000.
3062 (print_uint16_byte_table): New function in UTF-2000.
3063 (uint16_byte_table_equal): New function in UTF-2000.
3064 (uint16_byte_table_hash): New function in UTF-2000.
3065 (make_uint16_byte_table): New function in UTF-2000.
3066 (uint16_byte_table_same_value_p): New function in UTF-2000.
3067 (print_byte_table): New function in UTF-2000.
3068 (byte-table): Use `print_byte_table' as printer.
3069 (make_byte_table): Delete second argument `older'.
3070 (byte_table_same_value_p): New function in UTF-2000.
3071 (copy_byte_table): Deleted.
3072 (get_byte_table): New function in UTF-2000.
3073 (put_byte_table): New function in UTF-2000.
3074 (print_char_id_table): New function in UTF-2000.
3075 (char-id-table): Use `print_char_id_table' as printer.
3076 (make_char_id_table): Delete second argument `older'.
3077 (get_char_id_table): Use `get_byte_table [new implementation].
3078 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3080 (Ffind_char_attribute_table): New function in UTF-2000.
3081 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3082 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3083 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3084 (syms_of_mule_charset): Add new function
3085 `find-char-attribute-table' in UTF-2000.
3087 * lrecord.h (enum lrecord_type): Add
3088 `lrecord_type_uint16_byte_table' and
3089 `lrecord_type_uint8_byte_table'.
3091 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3092 (Lisp_Uint8_Byte_Table): New type.
3093 (XUINT8_BYTE_TABLE): New macro.
3094 (XSETUINT8_BYTE_TABLE): New macro.
3095 (UINT8_BYTE_TABLE_P): New macro.
3096 (GC_UINT8_BYTE_TABLE_P): New macro.
3097 (struct Lisp_Uint16_Byte_Table): New structure.
3098 (Lisp_Uint16_Byte_Table): New type.
3099 (XUINT16_BYTE_TABLE): New macro.
3100 (XSETUINT16_BYTE_TABLE): New macro.
3101 (UINT16_BYTE_TABLE_P): New macro.
3102 (GC_UINT16_BYTE_TABLE_P): New macro.
3104 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3106 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3107 (Vcharacter_ideographic_strokes_table): Deleted.
3108 (Vcharacter_total_strokes_table): Deleted.
3109 (Vcharacter_morohashi_daikanwa_table): Deleted.
3110 (Vcharacter_decomposition_table): Deleted.
3111 (Qname): Deleted because it is duplicated.
3112 (Qideographic_radical): Deleted.
3113 (Qideographic_strokes): Deleted.
3114 (Qtotal_strokes): Deleted.
3115 (Qmorohashi_daikanwa): Deleted.
3116 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3117 `ideographic-radical', `ideographic-strokes', `total-strokes',
3118 `morohashi-daikanwa' and `->decomposition'.
3119 (Fget_char_attribute): Likewise.
3120 (Fput_char_attribute): Likewise; use `make-vector' instead of
3121 `make_older_vector' for `->decomposition' value.
3122 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3123 `ideograph-daikanwa'.
3124 (syms_of_mule_charset): Delete builtin symbols `name',
3125 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3126 `morohashi-daikanwa'.
3127 (vars_of_mule_charset): Don't setup
3128 `Vcharacter_ideographic_radical_table',
3129 `Vcharacter_ideographic_strokes_table',
3130 `Vcharacter_total_strokes_table',
3131 `Vcharacter_morohashi_daikanwa_table' and
3132 `Vcharacter_decomposition_table'.
3134 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3136 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3137 `make_older_vector', `make_vector_newer_1' and
3138 `make_vector_newer'.
3140 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3141 `make_older_vector' and `make_vector_newer'.
3143 * config.h.in (HAVE_GGC): New macro.
3145 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3147 * mule-charset.c (struct char_attribute_list_closure): New
3148 structure in UTF-2000.
3149 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3150 (Fchar_attribute_list): Likewise.
3151 (Fset_charset_mapping_table): Use `make_vector_newer'.
3152 (Fdecode_builtin_char): New function in UTF-2000.
3153 (syms_of_mule_charset): Add new function `char-attribute-list' and
3154 `decode-builtin-char' in UTF-2000.
3156 * lisp.h (make_vector_newer): New prototype.
3158 * alloc.c (make_vector_newer_1): New function.
3159 (make_vector_newer): New function.
3161 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3163 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3166 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3168 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3169 (Vcharacter_attribute_table): Deleted.
3170 (Vcharacter_name_table): Deleted.
3171 (put_char_attribute): Deleted.
3172 (remove_char_attribute): Deleted.
3173 (struct char_attribute_alist_closure): New structure.
3174 (add_char_attribute_alist_mapper): New function.
3175 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3176 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3177 (Fget_char_attribute): Likewise.
3178 (Fput_char_attribute): Likewise.
3179 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3180 of `remove_char_attribute'.
3181 (Fdefine_char): Return character.
3182 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3183 and `Vcharacter_name_table'.
3184 (complex_vars_of_mule_charset): Likewise
3185 `Vchar_attribute_hash_table'.
3187 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3189 * character.h (CHARC_CHARSET): New macro.
3190 (CHARC_CHARSET_ID): New macro.
3191 (CHARC_CODE_POINT): New macro.
3192 (CHARC_COLUMNS): New macro.
3193 (CHARC_TO_CHAR): New inline function.
3194 (CHARC_EQ): New inline function.
3195 (CHARC_ASCII_EQ): New inline function.
3196 (CHARC_IS_SPACE): New inline function.
3197 (ASCII_TO_CHARC): New inline function.
3199 * char-ucs.h (encode_char_2): Deleted.
3200 (ENCODE_CHAR): Use `encode_char_1' again.
3201 (breakup_char_1): Likewise.
3202 (CHAR_TO_CHARC): New inline function.
3204 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3206 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3208 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3209 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3210 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3211 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3212 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3214 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3216 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3218 (x_output_display_block): Use `CHARC_CHARSET' and
3221 * redisplay-tty.c (tty_output_display_block): Use
3223 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3225 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3227 * insdel.c (find_charsets_in_charc_string): Use
3229 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3230 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3231 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3232 (convert_charc_string_into_malloced_string): Likewise.
3234 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3236 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3237 instead of <Emchar_dynarr *> for buf; use
3238 `convert_bufbyte_string_into_charc_dynarr' instead of
3239 `convert_bufbyte_string_into_emchar_dynarr'; use
3240 `find_charsets_in_charc_string' instead of
3241 `find_charsets_in_emchar_string'.
3244 - Include "character.h".
3245 (struct rune): New member `cglyph'; delete member `chr'.
3247 * redisplay.c (redisplay_text_width_charc_string): New function;
3248 delete `redisplay_text_width_emchar_string'.
3249 (rtw_charc_dynarr): New variable; renamed from
3250 `rtw_emchar_dynarr'.
3251 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3252 `rtw_emchar_dynarr'; use
3253 `convert_bufbyte_string_into_charc_dynarr' instead of
3254 `convert_bufbyte_string_into_emchar_dynarr'; use
3255 `redisplay_text_width_charc_string' instead of
3256 `redisplay_text_width_emchar_string'.
3257 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3258 instead of `rtw_emchar_dynarr'; use
3259 `convert_bufbyte_string_into_charc_dynarr' instead of
3260 `convert_bufbyte_string_into_emchar_dynarr'.
3261 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3262 `redisplay_text_width_charc_string' instead of
3263 `redisplay_text_width_emchar_string'.
3264 (create_text_block): Modify for <struct rune> change.
3265 (generate_formatted_string_db): Likewise.
3266 (create_string_text_block): Likewise.
3267 (pixel_to_glyph_translation): Likewise.
3269 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3270 instead of <const Emchar *>.
3271 (x_text_width): Likewise.
3272 (x_output_display_block): Use <Charc_dynarr *> instead
3273 <Emchar_dynarr *>; modify for <structure rune> change.
3274 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3277 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3278 <const Emchar *>; use `charc_string_displayed_columns' instead of
3279 `emchar_string_displayed_columns'.
3280 (tty_output_display_block): Use <Charc_dynarr *> instead of
3281 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3282 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3283 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3284 `tty_output_emchar_dynarr_dynarr'.
3285 (tty_output_charc_dynarr): New function; delete
3286 `tty_output_charc_dynarr'.
3288 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3289 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3290 <Emchar_dynarr *> for buf; use
3291 `convert_bufbyte_string_into_charc_dynarr' instead of
3292 `convert_bufbyte_string_into_emchar_dynarr'.
3294 * frame.c (title_string_charc_dynarr): New variable; renamed from
3295 `title_string_emchar_dynarr'.
3296 (generate_title_string): Use `title_string_charc_dynarr' instead
3297 of `title_string_emchar_dynarr'; use
3298 `convert_charc_string_into_malloced_string' instead of
3299 `convert_emchar_string_into_malloced_string'.
3300 (init_frame): Use `title_string_charc_dynarr' instead of
3301 `title_string_emchar_dynarr'.
3304 - Include "character.h".
3305 (struct console_methods): Use <const Charc *> instead of <const
3306 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3307 <Emchar_dynarr *> in output_string_method.
3309 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3312 * console-stream.c (stream_text_width): Use <const Charc *>
3313 instead of <const Emchar *>.
3315 * character.h (Charc_dynarr): New type.
3317 * char-ucs.h (structure Charc): New structure; define new type
3320 * char-lb.h (DECODE_CHAR): New inline function.
3321 (encode_char_1): New inline function.
3322 (ENCODE_CHAR): New macro.
3323 (structure Charc): New structure; define new type `Charc'.
3325 * char-1byte.h (Vcharset_control_1): New macro.
3326 (Vcharset_latin_iso8859_1): New macro.
3327 (DECODE_CHAR): New inline function.
3328 (encode_char_1): New inline function.
3329 (ENCODE_CHAR): New macro.
3330 (structure Charc): New structure; define new type `Charc'.
3332 * insdel.c (find_charsets_in_charc_string): New function; delete
3333 `find_charsets_in_emchar_string'.
3334 (charc_string_displayed_columns): New function; delete
3335 `emchar_string_displayed_columns'.
3336 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3337 `convert_bufbyte_string_into_emchar_dynarr'.
3338 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3339 `convert_charc_string_into_bufbyte_dynarr'.
3340 (convert_charc_string_into_malloced_string): New function; delete
3341 `convert_charc_string_into_malloced_string'.
3343 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3344 `find_charsets_in_emchar_string'.
3345 (charc_string_displayed_columns): New prototype; delete
3346 `emchar_string_displayed_columns'.
3347 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3348 `convert_charc_string_into_bufbyte_dynarr'.
3349 (convert_charc_string_into_malloced_string): New prototype; delete
3350 `convert_charc_string_into_malloced_string'.
3352 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3354 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3356 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3358 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3360 * char-ucs.h: Use <short> for <Charset_ID>.
3362 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3365 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3367 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3370 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3372 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3374 (Qmorohashi_daikanwa): New variable.
3375 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3376 for `morohashi-daikanwa' attribute.
3377 (Fget_char_attribute): Likewise.
3378 (Fput_char_attribute): Likewise.
3379 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3380 has the same value of `ideograph-daikanwa'.
3381 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3382 (vars_of_mule_charset): Setup
3383 `Vcharacter_morohashi_daikanwa_table'.
3385 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3387 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3389 (add_charset_to_list_mapper): Add `key' instead of
3390 `XCHARSET_NAME (value)' to return aliases.
3392 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3394 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3396 (Vcharacter_ideographic_strokes_table): New variable.
3397 (Qideographic_radical): New variable.
3398 (Qideographic_strokes): New variable.
3399 (Fchar_attribute_alist): Use
3400 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3401 attribute; use `Vcharacter_ideographic_strokes_table' for
3402 `ideographic-strokes' attribute.
3403 (Fget_char_attribute): Likewise.
3404 (Fput_char_attribute): Likewise.
3405 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3406 `ideographic-strokes'.
3407 (vars_of_mule_charset): Setup
3408 `Vcharacter_ideographic_radical_table' and
3409 `Vcharacter_ideographic_strokes_table'.
3411 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3413 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3414 (Qtotal_strokes): New variable.
3415 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3416 `total-strokes' attribute.
3417 (Fget_char_attribute): Likewise.
3418 (Fput_char_attribute): Likewise.
3419 (syms_of_mule_charset): Add new symbol `total-strokes'.
3420 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3422 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3424 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3425 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3427 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3428 `->decomposition' attribute.
3429 (Fput_char_attribute): Likewise.
3430 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3432 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3434 * mule-charset.c (decoding_table_check_elements): New function.
3435 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3437 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3439 * mule-charset.c (Fset_charset_mapping_table): Use
3440 `put_char_ccs_code_point'.
3442 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3444 * mule-charset.c (decoding_table_put_char): New inline function.
3445 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3447 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3449 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3450 (XCHARSET_BYTE_SIZE): New macro.
3451 (decoding_table_remove_char): New inline function.
3452 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3453 `decoding_table_remove_char'.
3454 (remove_char_ccs): Use `decoding_table_remove_char'.
3455 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3457 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3459 * mule-charset.c (Vcharacter_name_table): New variable.
3460 (Qname): New variable.
3461 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3463 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3464 `Vcharacter_name_table' for `name' attribute.
3465 (Fremove_char_attribute): Use function `remove_char_ccs'.
3466 (put_char_ccs_code_point): New function.
3467 (remove_char_ccs): New function.
3468 (syms_of_mule_charset): Add new symbol `name'.
3469 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3471 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3473 * mule-charset.c (make_byte_table): Add new argument `older'.
3474 (make_char_id_table): Likewise.
3475 (copy_char_id_table): Comment out because it is not used.
3476 (put_char_id_table): Modify for `make_byte_table'.
3477 (Fput_char_attribute): Make encoding_table as older object;
3478 inherit older bit of `Vcharacter_composition_table'.
3479 (mark_charset): Don't mark `cs->encoding_table'.
3480 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3481 normal object; make `Vcharacter_composition_table' as an older
3482 object; delete staticpro for `Vcharacter_composition_table'; make
3483 `Vcharacter_variant_table' as a normal object.
3485 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3486 (mark_object): Don't check older object in UTF-2000.
3488 * lrecord.h (struct lrecord_header): Add new member `older' in
3490 (set_lheader_implementation): Setup `SLI_header->older' in
3492 (set_lheader_older_implementation): New macro in UTF-2000.
3493 (OLDER_RECORD_P): New macro in UTF-2000.
3494 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3495 (alloc_older_lcrecord): New prototype in UTF-2000.
3496 (alloc_older_lcrecord_type): New macro in UTF-2000.
3498 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3500 * mule-charset.c (byte_table_description): Use
3501 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3502 (char_id_table_description): Delete bogus `, 1'.
3503 (Fget_char_attribute): Refer encoding_table of each coded-charset
3504 to get value of coded-charset attribute of a character.
3505 (Fput_char_attribute): Use `make_older_vector' instead of
3506 `make_vector'; use encoding_table of each coded-charset to store
3507 value of coded-charset attribute of a character.
3508 (Fremove_char_attribute): Use encoding_table of each coded-charset
3509 to store value of coded-charset attribute of a character.
3510 (mark_charset): Mark `cs->encoding_table'; don't mark
3511 `cs->decoding_table'.
3512 (charset_description): Add description of new member
3514 (make_charset): Initialize `encoding_table'.
3516 * char-ucs.h (struct Lisp_Charset): Add new member
3518 (CHARSET_ENCODING_TABLE): New macro.
3519 (XCHARSET_ENCODING_TABLE): New macro.
3520 (charset_code_point): New implementation.
3521 (encode_char_1): Likewise.
3523 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3524 (disksave_object_finalization_1): Call finalizers of
3525 `all_older_lcrecords' in UTF-2000.
3526 (make_older_vector): New function in UTF-2000.
3527 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3530 * lisp.h (make_older_vector): New prototype in UTF-2000.
3532 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3534 * lrecord.h (enum lrecord_type): Rename
3535 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3537 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3538 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3539 `get_char_code_table'.
3541 * mule-charset.c (mark_char_id_table): Renamed from
3542 `mark_char_code_table'.
3543 (char_id_table_equal): Renamed from `char_code_table_equal'.
3544 (char_id_table_hash): Renamed from `char_code_table_hash'.
3545 (make_char_id_table): Renamed from `make_char_code_table'.
3546 (copy_char_id_table): Renamed from `copy_char_code_table'.
3547 (get_char_id_table): Renamed from `get_char_code_table'.
3548 (put_char_id_table): Renamed from `put_char_code_table'.
3549 (to_char_id): Renamed from `to_char_code'.
3551 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3552 `Lisp_Char_Code_Table'.
3553 (char_id_table): Renamed from `char_code_table'.
3554 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3555 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3556 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3557 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3558 (get_char_id_table): Renamed from `get_char_code_table'.
3560 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3562 * lrecord.h (enum lrecord_type): Rename
3563 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3565 * mule-charset.c (mark_byte_table): Renamed from
3566 `mark_char_byte_table'.
3567 (byte_table_equal): Renamed from `char_byte_table_equal'.
3568 (byte_table_hash): Renamed from `byte_table_hash'.
3569 (make_byte_table): Renamed from `make_byte_table'.
3570 (copy_byte_table): Renamed from `copy_char_byte_table'.
3572 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3573 `Lisp_Char_Byte_Table'.
3574 (byte_table): Renamed from `char_byte_table'.
3575 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3576 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3577 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3578 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3580 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3582 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3583 (dfc_convert_to_internal_format): Likewise.
3585 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3586 * text-coding.c (Fcoding_system_alias_p): New function.
3587 * text-coding.c (Fcoding_system_aliasee): New function.
3588 * text-coding.c (append_suffix_to_symbol): New function.
3589 * text-coding.c (dangling_coding_system_alias_p): New function.
3590 * text-coding.c (Ffind_coding_system):
3591 * text-coding.c (Fcopy_coding_system):
3592 * text-coding.c (encode_coding_no_conversion):
3593 * text-coding.c (syms_of_file_coding):
3594 * text-coding.c (vars_of_file_coding):
3595 Rewrite coding system alias code.
3596 Allow nested aliases, like symbolic links.
3597 Allow redefinition of coding system aliases.
3598 Prevent existence of dangling coding system aliases.
3599 Eliminate convert_to_external_format.
3600 Eliminate convert_to_internal_format.
3602 * text-coding.c: Change enum eol_type to eol_type_t.
3604 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3606 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3607 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3609 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3610 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3612 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3614 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3615 `ideograph-daikanwa'.
3617 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3618 (Vcharset_ucs_bmp): Likewise.
3619 (Vcharset_mojikyo): Add new extern variable definition.
3620 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3621 (Vcharset_latin_iso8859_3): Likewise.
3622 (Vcharset_latin_iso8859_4): Likewise.
3623 (Vcharset_latin_iso8859_9): Likewise.
3624 (Vcharset_latin_viscii_lower): Likewise.
3625 (Vcharset_latin_viscii_upper): Likewise.
3626 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3627 `mojikyo' code-point is used to decode.
3628 (encode_char_2): New function [to convert `mojikyo' code-point to
3629 Mojikyo font encoding].
3630 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3631 (breakup_char_1): Likewise.
3632 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3634 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3636 * text-coding.c (Fmake_coding_system): Add document about
3637 `disable-composition' property.
3639 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3641 * text-coding.c (Qdisable_composition): New variable; delete
3643 (Fmake_coding_system): Add new property `disable-composite';
3644 delete property `composite'.
3645 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3646 instead of `!CODING_SYSTEM_COMPOSITE'.
3647 (syms_of_file_coding): Add new symbol `disable-composition';
3648 delete symbol `composite'.
3650 * file-coding.h (struct Lisp_Coding_System): Add
3651 `disable_composition'; delete `enable_composition'.
3652 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3653 `CODING_SYSTEM_COMPOSITE'.
3654 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3655 `XCODING_SYSTEM_COMPOSITE'.
3657 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3659 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3662 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3664 * text-coding.c (Qcomposite): New variable.
3665 (Fmake_coding_system): Add new property `composite'.
3666 (struct decoding_stream): Add `combined_char_count',
3667 `combined_chars' and `combining_table' in UTF-2000.
3668 (COMPOSE_FLUSH_CHARS): New macro.
3669 (COMPOSE_ADD_CHAR): New macro.
3670 (reset_decoding_stream): Reset `str->combined_char_count' and
3671 `str->combining_table' in UTF-2000.
3672 (decode_coding_iso2022): Modify for character-decomposition.
3673 (syms_of_file_coding): Add new symbol `composite'.
3675 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3677 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3678 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3679 of `Vcharacter_composition_table' if `->decomposition' property
3681 (Qlatin_tcvn5712): New variable.
3682 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3683 (complex_vars_of_mule_charset): Add new coded-charset
3686 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3688 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3690 * file-coding.h (struct Lisp_Coding_System): Add
3691 `enable_composition'.
3692 (CODING_SYSTEM_COMPOSITE): New macro.
3693 (XCODING_SYSTEM_COMPOSITE): New macro.
3695 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3697 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3699 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3701 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3702 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3704 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3706 * mule-charset.c (Vcharset_mojikyo): New variable.
3707 (Fdefine_char): Don't use coded-charset which does not have
3708 non-builtin character range to allocate character-id.
3709 (Qmojikyo): New variable.
3710 (syms_of_mule_charset): Add new symbol `mojikyo'.
3711 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3713 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3714 (LEADING_BYTE_MOJIKYO): New macro.
3715 (MIN_CHAR_MOJIKYO): New macro.
3716 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3717 (MAX_CHAR_MOJIKYO): New macro.
3719 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3721 * mule-charset.c (remove_char_attribute): Fixed.
3723 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3725 * mule-charset.c (remove_char_attribute): New function.
3726 (Fremove_char_attribute): New function.
3727 (encode_builtin_char_1): Comment out builtin-support for
3728 greek-iso8859-7 and cyrillic-iso8859-5.
3729 (Fdecode_char): Check `code' is an integer.
3730 (syms_of_mule_charset): Add `remove-char-attribute'.
3731 (MIN_CHAR_GREEK): Deleted.
3732 (MAX_CHAR_GREEK): Likewise.
3733 (MIN_CHAR_CYRILLIC): Likewise.
3734 (MAX_CHAR_CYRILLIC): Likewise.
3735 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3736 MAX_CHAR_GREEK for `greek-iso8859-7'.
3738 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3739 (MAX_CHAR_GREEK): Likewise.
3740 (MIN_CHAR_CYRILLIC): Likewise.
3741 (MAX_CHAR_CYRILLIC): Likewise.
3743 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3745 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3746 format is used without `ucs' property.
3747 (Fdecode_char): Fix problem with GR representation.
3748 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3749 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3751 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3753 * mule-charset.c (make_builtin_char): New function.
3754 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3755 (Fset_charset_mapping_table): Modify for new representation of
3757 (Fdecode_char): New function.
3758 (syms_of_mule_charset): Add new builtin function `decode-char' in
3761 * char-ucs.h (make_builtin_char): New prototype.
3762 (DECODE_CHAR): New inline function.
3763 (MAKE_CHAR): Use `DECODE_CHAR'.
3765 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3767 * text-coding.c (parse_charset_conversion_specs): Use
3768 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3770 (iso2022_designate): Likewise.
3772 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3773 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3775 * mule-charset.c (Vcharset_ucs): New variable.
3776 (print_charset): Change design; use `CHARSET_CHARS' and
3777 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3778 (make_charset): Change signature to specify `chars' and
3779 `dimension' instead of `type'.
3780 (range_charset_code_point): Modify for 256^n-set.
3781 (encode_builtin_char_1): Encode as `ucs' in default.
3782 (Fmake_charset): Modify for `make_charset'.
3783 (Fmake_reverse_direction_charset): Likewise.
3784 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3786 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3789 * char-ucs.h (Vcharset_ucs): New variable.
3790 (LEADING_BYTE_UCS): New macro.
3791 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3792 and `chars' to `unsigned short' from `unsigned int'.
3793 (CHARSET_TYPE): Deleted.
3794 (XCHARSET_TYPE): Deleted.
3796 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3798 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3800 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3801 (ENCODE_CHAR): New macro.
3803 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3805 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3806 to 0.14 (Kawachi-Katakami).
3808 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3810 * text-coding.c (char_encode_shift_jis): Modify for
3811 `charset_code_point'.
3812 (char_encode_iso2022): Likewise.
3814 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3815 (integer) instead of list of <Lisp_Object>s (integers) as the
3816 format of code-point of a coded-charset.
3817 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3818 (encode_builtin_char_1): New function; delete
3819 `split_builtin_char'.
3820 (charset_code_point): Return <int> instead of <Lisp_Object>.
3821 (Fsplit_char): Don't use `SPLIT_CHAR'.
3823 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3824 prototype for `split_builtin_char'.
3825 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3826 (charset_code_point): Likewise.
3827 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3828 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3830 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3832 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3833 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3835 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3837 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3839 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3840 (MAX_CHAR_OBS_94x94): Deleted.
3842 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3844 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3846 * char-ucs.h (MAX_CHAR_BMP): New macro.
3848 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3850 * text-coding.c: Sync with r21-2-24.
3852 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3854 * file-coding.c: Modify for UTF-2000.
3856 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3858 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3861 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3863 * mule-charset.c (split_builtin_char): Delete builtin support for
3864 `katakana-jisx0201'.
3865 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3866 BMP area in builtin representation.
3868 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3869 `Vcharset_katakana_jisx0201'.
3871 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3873 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3874 (Qisolated): New variable.
3875 (Qinitial): New variable.
3876 (Qmedial): New variable.
3877 (Qfinal): New variable.
3878 (Qvertical): New variable.
3879 (Qsmall): New variable.
3880 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3881 `Qvertical' and `Qsmall'.
3882 (Qmojikyo_pj_[1 .. 21]): New variable.
3883 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3884 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3885 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3888 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3890 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3891 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3892 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3894 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3896 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3897 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3899 (Qjapanese_jisx0208_1990): New variable.
3900 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3901 (complex_vars_of_mule_charset): Add new coded-charset
3902 `japanese-jisx0208-1990'.
3904 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3905 (MIN_CHAR_JIS_X0208_1990): New macro.
3906 (MAX_CHAR_JIS_X0208_1990): New macro.
3908 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3910 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3911 coded-charset is not found.
3913 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3915 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3916 (Fdefine_char): Use `Fmake_char'.
3918 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3920 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3921 (Vcharset_hiragana_jisx0208): Deleted.
3922 (Vcharset_katakana_jisx0208): Deleted.
3923 (Qideograph_daikanwa): New variable.
3924 (Qhiragana_jisx0208): Deleted.
3925 (Qkatakana_jisx0208): Deleted.
3926 (split_builtin_char): Split `ideograph-daikanwa'.
3927 (Fsplit_char): New implementation for UTF-2000.
3928 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3929 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3930 (complex_vars_of_mule_charset): Add new coded-charset
3931 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3932 `katakana-jisx0208'.
3934 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3935 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3936 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3937 (MIN_CHAR_DAIKANWA): New macro.
3938 (MAX_CHAR_DAIKANWA): New macro.
3940 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3942 * data.c (Fstring_to_number): Don't recognize floating point if
3945 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3947 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3949 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3951 * mule-charset.c (Qsquare): New variable.
3952 (to_char_code): Add `Qsquare'.
3953 (syms_of_mule_charset): Add new symbol `square'.
3955 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3957 * mule-charset.c (Qcircle): New variable.
3958 (to_char_code): Add `Qcircle'.
3959 (syms_of_mule_charset): Add new symbol `circle'.
3961 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3963 * mule-charset.c (Qfont): New variable.
3964 (to_char_code): Add `Qfont'.
3965 (syms_of_mule_charset): Add new symbol `font'.
3967 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3969 * mule-charset.c (Qsub): New variable.
3970 (to_char_code): Add `Qsub'.
3971 (syms_of_mule_charset): Add new symbol `sub'.
3973 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3975 * mule-charset.c (Fput_char_attribute): Convert each element of
3976 VALUE to GL position if ATTRIBUTE is a GR-set,
3978 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3980 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3981 coded-charset is a GR-set.
3983 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3985 * mule-charset.c (Fput_char_attribute): Check each element of
3986 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3988 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3990 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3992 (Qethiopic_ucs): New variable in UTF-2000.
3993 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3994 (complex_vars_of_mule_charset): Add new coded-charset
3995 `ethiopic-ucs' in UTF-2000.
3997 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3998 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4000 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4002 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4004 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4006 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4009 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4011 * mule-charset.c (Vcharacter_variant_table): New variable.
4012 (Q_ucs): New variable.
4013 (Fchar_variants): New function.
4014 (Fput_char_attribute): Register `->ucs' value to
4015 `Vcharacter_variant_table'.
4016 (syms_of_mule_charset): Add new function `char-variants' and new
4018 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4020 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4022 * mule-charset.c (get_char_code_table): Allow negative character
4024 (put_char_code_table): Likewise.
4025 (Vcharacter_composition_table): New variable.
4026 (Q_decomposition): New variable.
4027 (Qwide): New variable.
4028 (Qnarrow): New variable.
4029 (Qcompat): New variable.
4030 (QnoBreak): New variable.
4031 (Qsuper): New variable.
4032 (Qfraction): New variable.
4033 (to_char_code): New function.
4034 (Fget_composite_char): New function.
4035 (Fput_char_attribute): Register `->decomposition' value to
4036 `Vcharacter_composition_table'.
4037 (syms_of_mule_charset): Add new function `get-composite-char', new
4038 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4039 `super' and `fraction'.
4040 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4042 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4044 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4045 character; copy the return value.
4047 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4049 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4051 * mule-charset.c (range_charset_code_point): Must use make_int.
4052 (split_builtin_char): New function.
4054 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4056 * mule-charset.c (char_byte_table): Change name from
4057 "char-code-table" to "char-byte-table".
4058 (mark_char_code_table): New function.
4059 (char_code_table_equal): New function.
4060 (char_code_table_hash): New function.
4061 (char_code_table_description): New constant.
4062 (char_code_table): New type.
4063 (make_char_code_table): New function.
4064 (copy_char_code_table): New function.
4065 (get_char_code_table): Modify for `char_code_table' type.
4066 (put_char_code_table): Likewise.
4067 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4070 * char-ucs.h (char_code_table): New type.
4071 (XCHAR_CODE_TABLE): New macro.
4072 (XSETCHAR_CODE_TABLE): New macro.
4073 (CHAR_CODE_TABLE_P): New macro.
4074 (GC_CHAR_CODE_TABLE_P): New macro.
4075 (struct Lisp_Char_Code_Table): New structure.
4077 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4079 * mule-charset.c (Fmake_charset): Setup byte_offset for
4082 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4084 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4087 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4089 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4092 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4094 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4095 charset, it is regarded as a charset.
4096 (put_char_attribute): New function in UTF-2000.
4097 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4098 charset, mapping-table of the charset is modified.
4099 (Fdefine_char): New function in UTF-2000.
4100 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4101 `Fput_char_attribute'.
4102 (syms_of_mule_charset): Add new function `define-char' and new
4103 symbol `ucs' in UTF-2000.
4104 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4106 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4108 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4109 non-UTF-2000 configuration.
4111 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4113 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4114 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4116 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4118 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4119 (Fset_charset_mapping_table): Likewise.
4121 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4122 (CHARSET_ENCODING_TABLE): Delete.
4123 (XCHARSET_ENCODING_TABLE): Delete.
4124 (charset_code_point): New interface.
4126 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4128 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4129 instead of `charset_get_byte1' and `charset_get_byte2'.
4131 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4132 (charset_get_byte2): Deleted.
4134 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4136 * char-ucs.h (SPLIT_CHAR): New inline function.
4137 (breakup_char_1): Use `SPLIT_CHAR'.
4139 * mule-charset.c (range_charset_code_point): New function.
4140 (charset_code_point): New function.
4142 * char-ucs.h (range_charset_code_point): New interface.
4143 (breakup_char_1): Use `range_charset_code_point'.
4145 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4147 * mule-charset.c (Fmake_charset): Delete unused local variable
4150 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4151 (breakup_char_1): Find a charset and code-point in
4152 `Vcharacter_attribute_table'.
4154 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4156 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4159 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4161 * mule-charset.c (Vcharacter_attribute_table): New variable.
4162 (Fchar_attribute_alist): New function.
4163 (Fget_char_attribute): New function.
4164 (Fput_char_attribute): New function.
4165 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4167 (syms_of_mule_charset): Add new function `char-attribute-alist',
4168 `get-char-attribute' and `put-char-attribute'.
4169 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4171 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4173 * mule-charset.c (Fmake_charset): Just use
4174 `get_unallocated_leading_byte'.
4176 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4177 sets; don't use final-byte based number for private sets.
4179 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4181 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4184 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4186 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4189 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4191 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4192 of `CHAR_LEADING_BYTE' in UTF-2000.
4194 * insdel.c (find_charsets_in_bufbyte_string): Use
4195 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4196 (find_charsets_in_emchar_string): Likewise.
4198 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4199 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4201 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4202 (CHAR_CHARSET_ID): New macro.
4204 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4206 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4207 charset-id - MIN_LEADING_BYTE.
4208 (put_char_table): Likewise.
4210 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4212 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4213 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4214 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4215 (CHARSET_ID_OFFSET): New macro.
4216 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4217 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4218 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4219 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4221 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4223 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4224 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4225 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4226 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4227 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4229 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4231 * mule-charset.c (next_allocated_leading_byte): New variable in
4233 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4234 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4235 (get_unallocated_leading_byte): Simply use
4236 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4237 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4240 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4241 (MAX_LEADING_BYTE_PRIVATE): New macro.
4242 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4243 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4245 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4247 * mule-charset.c (Fmake_charset): Allocate final-byte based
4248 charset-id for 94-set, 96-set and 94x94-set.
4250 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4252 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4254 (Fmake_charset): Likewise.
4255 (complex_vars_of_mule_charset): Modify the font registry of
4256 `ucs-bmp' not to match `Ethiopic-Unicode'.
4258 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4260 * mule-charset.c (complex_vars_of_mule_charset): Add font
4261 registory of `ucs-bmp'.
4263 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4265 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4266 coded-charsets in `default-coded-charset-priority-list' when
4267 breaking up a character.
4269 * mule-charset.c (Vcharset_latin_viscii): New variable.
4270 (Qlatin_viscii): New variable.
4271 (make_charset): Don't use `decoding_table'.
4272 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4274 (Fset_charset_mapping_table): New implementation.
4275 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4276 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4277 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4278 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4279 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4280 charset `latin_viscii'.
4282 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4283 (CHARSET_TYPE_94X94): Change to 1 from 2.
4284 (CHARSET_TYPE_96): Change to 2 from 1.
4285 (CHARSET_TYPE_128): New macro.
4286 (CHARSET_TYPE_128X128): Change to 5 from 4.
4287 (CHARSET_TYPE_256): New macro.
4288 (CHARSET_TYPE_256X256): Change to 7 from 5.
4289 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4291 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4293 * text-coding.c (char_encode_shift_jis): Refer
4294 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4295 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4297 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4298 (char_byte_table_equal): New function in UTF-2000.
4299 (char_byte_table_hash): New function in UTF-2000.
4300 (char_byte_table_description): New constant in UTF-2000.
4301 (char_byte_table): New type in UTF-2000.
4302 (make_char_byte_table): New function in UTF-2000.
4303 (copy_char_byte_table): New function in UTF-2000.
4304 (make_char_code_table): New macro in UTF-2000.
4305 (get_char_code_table): New function in UTF-2000.
4306 (put_char_code_table): New function in UTF-2000.
4307 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4308 (charset_description): Add setting in UTF-2000.
4309 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4310 `CHARSET_TO_BYTE1_TABLE(cs)'.
4311 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4312 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4313 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4314 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4315 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4316 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4317 `CHARSET_TO_BYTE2_TABLE(cs)'.
4319 * char-ucs.h (char_byte_table): New type.
4320 (XCHAR_BYTE_TABLE): New macro.
4321 (XSETCHAR_BYTE_TABLE): New macro.
4322 (CHAR_BYTE_TABLE_P): New macro.
4323 (GC_CHAR_BYTE_TABLE_P): New macro.
4324 (struct Lisp_Char_Byte_Table): New structure.
4325 (get_char_code_table): New interface.
4326 (Emchar_to_byte_table): Deleted.
4327 (get_byte_from_character_table): Deleted.
4328 (struct Lisp_Charset): Add `encoding_table'; delete
4329 `to_byte1_table' and `to_byte2_table'.
4330 (CHARSET_ENCODING_TABLE): New macro.
4331 (CHARSET_TO_BYTE1_TABLE): Deleted.
4332 (CHARSET_TO_BYTE2_TABLE): Deleted.
4333 (XCHARSET_ENCODING_TABLE): New macro.
4334 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4335 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4337 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4339 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4340 `vietnamese-viscii-*'.
4342 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4344 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4345 (Qvietnamese_viscii_upper): New variable.
4346 (Fdefine_charset_alias): New function.
4347 (syms_of_mule_charset): Add new function `define-charset-alias'.
4348 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4349 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4352 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4354 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4355 (MAX_CHAR_OBS_94x94): New macro.
4356 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4359 * mule-charset.c (put_byte_from_character_table): Change unit size
4361 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4363 (Fmake_reverse_direction_charset): Modify dummy argument of
4364 `make_charset' for non-UTF-2000 environment.
4366 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4368 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4370 * mule-charset.c (destroy_byte_from_character_table): New macro.
4371 (latin_jisx0201_to_ucs): Deleted.
4372 (latin_iso8859_2_to_ucs): Deleted.
4373 (latin_iso8859_3_to_ucs): Deleted.
4374 (latin_iso8859_4_to_ucs): Deleted.
4375 (latin_iso8859_9_to_ucs): Deleted.
4376 (latin_viscii_lower_to_ucs): Deleted.
4377 (latin_viscii_upper_to_ucs): Deleted.
4378 (mark_charset): Mark `cs->decoding_table'.
4379 (Fcharset_mapping_table): Fix DOC-string.
4380 (Fset_charset_mapping_table): New function.
4381 (syms_of_mule_charset): Add nwe function
4382 `set-charset-mapping-table'.
4383 (complex_vars_of_mule_charset): Don't setup and use
4386 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4388 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4391 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4393 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4394 (Vcharset_katakana_jisx0208): New variable.
4395 (Qhiragana_jisx0208): New variable.
4396 (Qkatakana_jisx0208): New variable.
4397 (make_charset): Add new argument `byte_offset'.
4398 (charset_get_byte1): Modify for new coded-charset definition; use
4399 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4400 `XCHARSET_BYTE_OFFSET'.
4401 (Fmake_charset): Modify for `make_charset'.
4402 (Fmake_reverse_direction_charset): Likewise.
4403 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4404 `katakana-jisx0208'.
4405 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4406 `.' in font registry of charset `katakana-jisx0201',
4407 `latin-jisx0201', `vietnamese-viscii-lower' and
4408 `vietnamese-viscii-upper'; modify DOC-string of charset
4409 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4410 registry of charset `japanese-jisx0208' not to use font for JIS
4411 X0208:1990; add new charset `hiragana-jisx0208' and
4412 `katakana-jisx0208'.
4414 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4415 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4416 (struct Lisp_Charset): Add `byte_offset'.
4417 (CHARSET_BYTE_OFFSET): New macro.
4418 (XCHARSET_UCS_MIN): New macro.
4419 (XCHARSET_UCS_MAX): New macro.
4420 (XCHARSET_CODE_OFFSET): New macro.
4421 (XCHARSET_BYTE_OFFSET): New macro.
4422 (MIN_CHAR_HIRAGANA): New macro.
4423 (MAX_CHAR_HIRAGANA): New macro.
4424 (MIN_CHAR_KATAKANA): New macro.
4425 (MAX_CHAR_KATAKANA): New macro.
4426 (MAKE_CHAR): Modify for new coded-charset definition; use
4427 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4428 `XCHARSET_BYTE_OFFSET'.
4430 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4432 * mule-charset.c (CHAR96): Deleted.
4433 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4435 (latin_iso8859_2_to_ucs): Likewise.
4436 (latin_iso8859_3_to_ucs): Likewise.
4437 (latin_iso8859_4_to_ucs): Likewise.
4438 (latin_iso8859_9_to_ucs): Likewise.
4439 (latin_viscii_lower_to_ucs): Likewise.
4440 (latin_viscii_upper_to_ucs): Likewise.
4441 (latin_tcvn5712_to_ucs): Commented out.
4442 (make_charset): Change type of argument `decoding_table' from
4443 <Emchar*> to <Lisp_Object> [vector of characters].
4444 (Fmake_charset): Modify for `make_charset'.
4445 (Fmake_reverse_direction_charset): Likewise.
4446 (Fcharset_mapping_table): New function in UTF-2000.
4447 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4449 (complex_vars_of_mule_charset): Modify for type change of
4450 `*_to_ucs'; modify for `make_charset'.
4452 * char-ucs.h (struct Lisp_Charset): Change type of
4453 `decoding_table' from <Emchar*> to <Lisp_Object>.
4454 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4456 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4458 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4459 error with non-UTF-2000-Mule.
4461 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4463 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4465 (Vcharset_chinese_cns11643_4): Likewise.
4466 (Vcharset_chinese_cns11643_5): Likewise.
4467 (Vcharset_chinese_cns11643_6): Likewise.
4468 (Vcharset_chinese_cns11643_7): Likewise.
4469 (Qchinese_cns11643_3): Likewise.
4470 (Qchinese_cns11643_4): Likewise.
4471 (Qchinese_cns11643_5): Likewise.
4472 (Qchinese_cns11643_6): Likewise.
4473 (Qchinese_cns11643_7): Likewise.
4474 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4475 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4476 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4477 (complex_vars_of_mule_charset): Likewise.
4479 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4481 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4483 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4484 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4486 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4488 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4490 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4491 (breakup_char_1): Likewise.
4493 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4494 one of them includes the specified character.
4496 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4498 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4500 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4502 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4504 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4506 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4507 definition for non-UTF-2000 Mule.
4508 (latin_iso8859_3_to_ucs): Likewise.
4509 (latin_iso8859_4_to_ucs): Likewise.
4510 (latin_iso8859_9_to_ucs): Likewise.
4511 (latin_jisx0201_to_ucs): Likewise.
4512 (MIN_CHAR_THAI): Likewise.
4513 (MAX_CHAR_THAI): Likewise.
4514 (MIN_CHAR_GREEK): Likewise.
4515 (MAX_CHAR_GREEK): Likewise.
4516 (MIN_CHAR_HEBREW): Likewise.
4517 (MAX_CHAR_HEBREW): Likewise.
4518 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4519 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4520 (MIN_CHAR_CYRILLIC): Likewise.
4521 (MAX_CHAR_CYRILLIC): Likewise.
4523 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4525 * char-ucs.h (breakup_char_1): Use
4526 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4527 thai-tis620 and katakana-jisx0201 area.
4529 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4531 * char-ucs.h (breakup_char_1): Use
4532 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4535 * text-coding.c (reset_encoding_stream): Fixed.
4536 (char_encode_ucs4): Delete `& 255'.
4538 * char-ucs.h (breakup_char_1): Use
4539 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4541 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4543 * file-coding.c (Fmake_coding_system): Don't set up
4544 `codesys->fixed.size'.
4545 (encode_coding_no_conversion): Don't refer
4546 `str->codesys->fixed.size'.
4548 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4550 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4551 (latin_a_char_to_byte1): Deleted.
4552 (latin_a_char_to_byte2): Deleted.
4554 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4556 * mule-charset.c (make_charset): Add new argument `ucs_min',
4557 `ucs_max' and `code_offset'.
4558 (charset_get_byte1): New implementation [delete specific charset
4559 depended implementations].
4560 (Fmake_charset): Modify for `make_charset'.
4561 (Fmake_reverse_direction_charset): Likewise.
4562 (complex_vars_of_mule_charset): Likewise.
4564 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4566 (CHARSET_UCS_MIN): New macro.
4567 (CHARSET_UCS_MAX): New macro.
4568 (CHARSET_CODE_OFFSET): New macro.
4569 (MAKE_CHAR): Delete charset depended definitions [except
4572 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4574 * char-ucs.h (breakup_char_1): Use
4575 `Vdefault_coded_charset_priority_list' for C0-Controls,
4576 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4578 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4580 * char-ucs.h (charset_get_byte1): New function.
4581 (XCHARSET_GET_BYTE1): Deleted.
4582 (charset_get_byte2): New function.
4583 (XCHARSET_GET_BYTE2): Deleted.
4584 (Vdefault_coded_charset_priority_list): New external variable.
4585 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4586 `Vdefault_preferred_coded_charset_list'.
4588 * mule-charset.c (charset_get_byte1): New function.
4589 (charset_get_byte2): New function.
4590 (Vdefault_coded_charset_priority_list): New variable.
4591 (vars_of_mule_charset): Add new variable
4592 `default-coded-charset-priority-list'.
4594 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4596 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4597 (XCHARSET_GET_BYTE2): New inline function.
4598 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4599 `XCHARSET_GET_BYTE2'.
4601 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4603 * mule-charset.c (make_charset): Initialize
4604 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4605 NULL if table is not defined.
4607 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4609 * text-coding.c (char_encode_shift_jis): Use
4610 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4611 `ucs_to_latin_jisx0201'.
4613 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4614 (ucs_to_latin_iso8859_2): Deleted.
4615 (ucs_to_latin_iso8859_3): Deleted.
4616 (ucs_to_latin_iso8859_4): Deleted.
4617 (ucs_to_latin_iso8859_9): Deleted.
4618 (ucs_to_latin_viscii_lower): Deleted.
4619 (ucs_to_latin_viscii_upper): Deleted.
4620 (ucs_to_latin_tcvn5712): Deleted.
4621 (make_charset): Add new argument `decoding_table'; set up
4622 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4623 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4624 `decoding_table' is defined in UTF-2000.
4625 (Fmake_charset): Modify for `make_charset'.
4626 (Fmake_reverse_direction_charset): Likewise.
4627 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4628 and `GENERATE_96_SET'.
4630 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4631 (ucs_to_latin_jisx0201): Deleted.
4632 (latin_iso8859_2_to_ucs): Deleted.
4633 (ucs_to_latin_iso8859_2): Deleted.
4634 (latin_iso8859_3_to_ucs): Deleted.
4635 (ucs_to_latin_iso8859_3): Deleted.
4636 (latin_iso8859_4_to_ucs): Deleted.
4637 (ucs_to_latin_iso8859_4): Deleted.
4638 (latin_iso8859_9_to_ucs): Deleted.
4639 (ucs_to_latin_iso8859_9): Deleted.
4640 (latin_viscii_lower_to_ucs): Deleted.
4641 (ucs_to_latin_viscii_lower): Deleted.
4642 (latin_viscii_upper_to_ucs): Deleted.
4643 (ucs_to_latin_viscii_upper): Deleted.
4644 (struct Lisp_Charset): Renamed `encoding_table' to
4645 `to_byte1_table'; add `to_byte2_table'.
4646 (CHARSET_DECODING_TABLE): New macro.
4647 (CHARSET_TO_BYTE1_TABLE): New macro.
4648 (CHARSET_TO_BYTE2_TABLE): New macro.
4649 (XCHARSET_DECODING_TABLE): New macro.
4650 (XCHARSET_TO_BYTE1_TABLE): New macro.
4651 (XCHARSET_TO_BYTE2_TABLE): New macro.
4652 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4654 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4655 don't use `ucs_to_*' tables.
4657 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4659 * text-coding.c (Fmake_coding_system): Don't set up
4660 `codesys->fixed.size'.
4661 (encode_coding_no_conversion): Use `if' instead of `switch'.
4663 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4665 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4667 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4668 (Fmake_charset): Modify for `make_charset'.
4669 (Fmake_reverse_direction_charset): Likewise.
4670 (complex_vars_of_mule_charset): Likewise.
4672 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4674 * text-coding.c (char_encode_shift_jis): Use table
4675 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4677 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4679 * text-coding.c (text_encode_generic): Use `if' instead of
4681 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4684 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4686 * text-coding.c (encode_coding_sjis): Deleted.
4687 (char_encode_shift_jis): New function.
4688 (char_finish_shift_jis): New function.
4689 (reset_encoding_stream): Set up `encode_char' and `finish' for
4690 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4691 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4692 (char_encode_utf8): Treat `eol_type'.
4694 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4696 * file-coding.c (decode_coding_iso2022): Use
4697 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4699 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4701 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4704 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4706 * char-lb.h (CHAR_COLUMNS): New macro.
4708 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4710 * text-coding.c (char_encode_ucs4): New function.
4711 (char_finish_ucs4): New function.
4712 (encode_coding_ucs4): Deleted.
4713 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4714 (text_encode_generic): Delete local variable `charset' and `half'.
4715 (ucs_to_mule_table): Deleted.
4716 (mule_to_ucs_table): Deleted.
4717 (Fset_ucs_char): Deleted.
4718 (ucs_to_char): Deleted.
4719 (Fucs_char): Deleted.
4720 (Fset_char_ucs): Deleted.
4721 (Fchar_ucs): Deleted.
4722 (decode_ucs4): Deleted.
4723 (mule_char_to_ucs4): Deleted.
4724 (encode_ucs4): Deleted.
4725 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4726 (decode_coding_utf8): Likewise.
4727 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4728 (char_encode_iso2022): Fixed.
4729 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4730 `Fset_char_ucs' and `Fchar_ucs'.
4731 (complex_vars_of_file_coding): Don't initialize
4732 `ucs_to_mule_table'.
4734 * objects-tty.c (tty_initialize_font_instance): Don't use
4737 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4740 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4741 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4743 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4744 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4745 (emchar_string_displayed_columns): Likewise.
4747 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4748 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4749 (string_column_at_point): Likewise.
4750 (Fmove_to_column): Likewise.
4752 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4753 `encoding_table' and `decoding_table'.
4754 (CHARSET_REP_BYTES): Deleted.
4755 (XCHARSET_REP_BYTES): Deleted.
4756 (XCHARSET_COLUMNS): Deleted.
4757 (CHAR_COLUMNS): New macro.
4758 (lookup_composite_char): Deleted unconditionally.
4759 (composite_char_string): Likewise.
4761 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4763 * char-ucs.h (Emchar_to_byte_table): New type.
4764 (get_byte_from_character_table): New function interface.
4765 (Vcharset_latin_jisx0201): New variable.
4766 (latin_jisx0201_to_ucs): New variable.
4767 (ucs_to_latin_jisx0201): New variable.
4768 (Vcharset_latin_iso8859_2): New variable.
4769 (latin_iso8859_2_to_ucs): New variable.
4770 (ucs_to_latin_iso8859_2): New variable.
4771 (Vcharset_latin_iso8859_3): New variable.
4772 (latin_iso8859_3_to_ucs): New variable.
4773 (ucs_to_latin_iso8859_3): New variable.
4774 (Vcharset_latin_iso8859_4): New variable.
4775 (latin_iso8859_4_to_ucs): New variable.
4776 (ucs_to_latin_iso8859_4): New variable.
4777 (Vcharset_latin_iso8859_9): New variable.
4778 (latin_iso8859_9_to_ucs): New variable.
4779 (ucs_to_latin_iso8859_9): New variable.
4780 (Vcharset_latin_viscii_lower): New variable.
4781 (latin_viscii_lower_to_ucs): New variable.
4782 (ucs_to_latin_viscii_lower): New variable.
4783 (Vcharset_latin_viscii_upper): New variable.
4784 (latin_viscii_upper_to_ucs): New variable.
4785 (ucs_to_latin_viscii_upper): New variable.
4786 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4787 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4788 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4789 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4790 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4791 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4792 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4793 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4794 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4795 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4797 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4798 (Vcharset_latin_viscii_upper): New variable.
4799 (make_byte_from_character_table): New function.
4800 (put_byte_from_character_table): New function.
4801 (get_byte_from_character_table): New function.
4802 (CHAR96): New macro.
4803 (ucs_to_latin_jisx0201): New variable.
4804 (latin_jisx0201_to_ucs): New variable.
4805 (ucs_to_latin_iso8859_2): New variable.
4806 (latin_iso8859_2_to_ucs): New variable.
4807 (ucs_to_latin_iso8859_3): New variable.
4808 (latin_iso8859_3_to_ucs): New variable.
4809 (ucs_to_latin_iso8859_4): New variable.
4810 (latin_iso8859_4_to_ucs): New variable.
4811 (ucs_to_latin_iso8859_9): New variable.
4812 (latin_iso8859_9_to_ucs): New variable.
4813 (ucs_to_latin_viscii_lower): New variable.
4814 (latin_viscii_lower_to_ucs): New variable.
4815 (ucs_to_latin_viscii_upper): New variable.
4816 (latin_viscii_upper_to_ucs): New variable.
4817 (ucs_to_latin_tcvn5712): New variable.
4818 (latin_tcvn5712_to_ucs): New variable.
4819 (Qlatin_viscii_lower): New variable.
4820 (Qlatin_viscii_upper): New variable.
4821 (syms_of_mule_charset): Set up new symbol
4822 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4823 (complex_vars_of_mule_charset): Set up new charset
4824 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4825 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4826 `ucs_to_<CHARSET>' tables.
4828 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4830 * text-coding.c: New file.
4832 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4834 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4836 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4837 (MAKE_CHAR): Modify for `ucs-bmp'.
4838 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4839 non-MULE characters of BMP.
4841 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4843 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4846 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4849 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4850 - Include character.h for `CHAR_ASCII_P'.
4852 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4854 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4855 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4857 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4858 (BYTE_C0_P): Likewise.
4859 (BYTE_C1_P): Likewise.
4860 (Lstream_get_emchar_1): Likewise.
4861 (Lstream_fput_emchar): Likewise.
4862 (Lstream_funget_emchar): Likewise.
4863 (copy_internal_to_external): Likewise.
4864 (copy_external_to_internal): Likewise.
4866 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4867 (BYTE_C0_P): Likewise.
4868 (BYTE_C1_P): Likewise.
4869 (Lstream_get_emchar_1): Likewise.
4870 (Lstream_fput_emchar): Likewise.
4871 (Lstream_funget_emchar): Likewise.
4872 (copy_internal_to_external): Likewise.
4873 (copy_external_to_internal): Likewise.
4875 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4876 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4878 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4879 (BYTE_ASCII_P): Moved to mb-1byte.h.
4881 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4883 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4885 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4886 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4887 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4888 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4889 (VALIDATE_CHARPTR_FORWARD): Likewise.
4890 (simple_charptr_emchar): Moved to mb-multibyte.h.
4891 (simple_set_charptr_emchar): Likewise.
4892 (simple_charptr_copy_char): Likewise.
4893 (non_ascii_charptr_emchar): Likewise.
4894 (non_ascii_set_charptr_emchar): Likewise.
4895 (non_ascii_charptr_copy_char): Likewise.
4896 (charptr_emchar): Moved to mb-*byte.h.
4897 (set_charptr_emchar): Likewise.
4898 (charptr_copy_char): Likewise.
4900 * mb-1byte.h, mb-multibyte.h: New files.
4902 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4904 * mb-utf-8.h (MULTIBYTE): New macro.
4905 (MAX_EMCHAR_LEN): Moved from buffer.h.
4906 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4908 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4910 * mb-lb.h, multibyte.h: New files.
4912 * char-1byte.h (Charset_ID): Moved from buffer.h.
4913 (MIN_LEADING_BYTE): Likewise.
4914 (LEADING_BYTE_ASCII): Likewise.
4915 (NUM_LEADING_BYTES): Likewise.
4916 (CHARSETP): Likewise.
4917 (CHARSET_BY_LEADING_BYTE): Likewise.
4918 (XCHARSET_LEADING_BYTE): Likewise.
4919 (XCHARSET_GRAPHIC): Likewise.
4920 (XCHARSET_COLUMNS): Likewise.
4921 (XCHARSET_DIMENSION): Likewise.
4922 (CHAR_CHARSET): Likewise.
4923 (CHAR_LEADING_BYTE): Likewise.
4924 (BREAKUP_CHAR): Likewise.
4925 (Vcharset_ascii): Likewise.
4927 * buffer.h: Include multibyte.h unconditionally.
4928 (VALID_CHARPTR_P): Moved to multibyte.h.
4929 (ASSERT_VALID_CHARPTR): Likewise.
4930 (REAL_INC_CHARPTR): Likewise.
4931 (REAL_INC_CHARBYTIND): Likewise.
4932 (REAL_DEC_CHARPTR): Likewise.
4933 (INC_CHARPTR): Likewise.
4934 (INC_CHARBYTIND): Likewise.
4935 (DEC_CHARPTR): Likewise.
4936 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4937 (VALIDATE_CHARPTR_FORWARD): Likewise.
4938 (charptr_n_addr): Likewise.
4939 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4940 (simple_charptr_emchar): Moved to multibyte.h.
4941 (simple_set_charptr_emchar): Likewise.
4942 (simple_charptr_copy_char): Likewise.
4943 (non_ascii_charptr_emchar): Likewise.
4944 (non_ascii_set_charptr_emchar): Likewise.
4945 (non_ascii_charptr_copy_char): Likewise.
4946 (charptr_emchar): Likewise.
4947 (set_charptr_emchar): Likewise.
4948 (charptr_copy_char): Likewise.
4949 (charptr_emchar_n): Likewise.
4950 (Charset_ID): Moved to char-1byte.h.
4951 (Vcharset_ascii): Likewise.
4952 (CHAR_CHARSET): Likewise.
4953 (CHAR_LEADING_BYTE): Likewise.
4954 (LEADING_BYTE_ASCII): Likewise.
4955 (NUM_LEADING_BYTES): Likewise.
4956 (MIN_LEADING_BYTE): Likewise.
4957 (CHARSETP): Likewise.
4958 (CHARSET_BY_LEADING_BYTE): Likewise.
4959 (XCHARSET_LEADING_BYTE): Likewise.
4960 (XCHARSET_GRAPHIC): Likewise.
4961 (XCHARSET_COLUMNS): Likewise.
4962 (XCHARSET_DIMENSION): Likewise.
4963 (BREAKUP_CHAR): Likewise.
4965 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4967 * character.h: Add document about interface for characters.
4969 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4970 (MAKE_CHAR): Delete comment about
4971 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4972 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4973 (BREAKUP_CHAR): Modify name of arguments.
4974 (CHAR_CHARSET): Modify name of argument.
4976 * buffer.h: Delete document about Emchar accessors.
4978 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4980 * character.h (CHAR_INTP): Moved from buffer.h
4981 (CHAR_OR_CHAR_INTP): Likewise.
4982 (XCHAR_OR_CHAR_INT): Likewise.
4983 (CHECK_CHAR_COERCE_INT): Likewise.
4985 * buffer.h (CHAR_INTP): Moved to character.h
4986 (CHAR_OR_CHAR_INTP): Likewise.
4987 (XCHAR_OR_CHAR_INT): Likewise.
4988 (CHECK_CHAR_COERCE_INT): Likewise.
4990 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4993 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4994 - Include char-1byte.h, char-lb.h or char-ucs.h.
4996 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4998 * buffer.h: Include character unconditionally.
4999 (valid_char_p): Moved to char-*.h.
5000 (non_ascii_valid_char_p): Moved to char-lb.h.
5002 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5004 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5006 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5007 in UTF-2000 because it is not ported yet and not to use
5008 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5009 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5010 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5012 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5013 (CHAR_ASCII_P): Moved from character.h.
5015 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5016 (CHAR_ASCII_P): Likewise.
5017 (CHAR_FIELD1_MASK): Deleted.
5018 (CHAR_FIELD2_MASK): Deleted.
5019 (CHAR_FIELD3_MASK): Deleted.
5020 (MAX_CHAR_BASIC_LATIN): New macro.
5021 (CHAR_FIELD1): Deleted.
5022 (CHAR_FIELD2_INTERNAL): Deleted.
5023 (CHAR_FIELD3_INTERNAL): Deleted.
5024 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5025 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5026 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5027 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5028 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5029 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5030 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5031 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5032 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5033 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5034 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5035 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5036 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5037 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5038 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5039 (MIN_CHAR_COMPOSITION): Deleted.
5040 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5041 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5043 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5045 * buffer.h: Include mb-utf-8.h in UTF-2000.
5047 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5049 * mb-utf-8.h: New file.
5051 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5053 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5056 * mule-charset.h, buffer.h (Charset_ID): New type.
5058 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5060 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5061 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5062 instead of `MULE_CHAR_PRIVATE_OFFSET',
5063 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5064 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5065 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5067 * character.h (Vcharset_japanese_jisx0212): New variable
5070 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5072 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5073 (charset_by_attributes): Delete array about direction.
5074 (latin_a_char_to_charset): New variable in UTF-2000.
5075 (latin_a_char_to_byte1): New variable in UTF-2000.
5076 (latin_a_char_to_byte2): New variable in UTF-2000.
5077 (Qucs_bmp): New variable.
5078 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5080 (next_allocated_2_byte_leading_byte): Likewise.
5081 (non_ascii_set_charptr_emchar): Likewise.
5082 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5083 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5084 `charset_by_attributes'.
5085 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5086 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5087 and `CHARSET_BY_LEADING_BYTE'.
5088 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5089 `utf-2000-version' to `vars_of_mule_charset'.
5090 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5091 define `leading-code-private-11' in UTF-2000; move setting of
5092 `utf-2000-version' from `syms_of_mule_charset'.
5093 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5096 * character.h (Charset_ID): New type.
5097 (LEADING_BYTE_UCS_BMP): New macro.
5098 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5099 (CHARSET_ID_OFFSET_94): New macro.
5100 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5101 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5102 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5104 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5105 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5106 (CHARSET_ID_OFFSET_96): New macro.
5107 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5108 CHARSET_ID_OFFSET_96 and final-byte.
5109 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5110 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5111 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5112 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5113 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5114 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5115 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5116 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5117 (LEADING_BYTE_THAI_TIS620): Likewise.
5118 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5119 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5120 (CHARSET_ID_OFFSET_94x94): New macro.
5121 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5122 CHARSET_ID_OFFSET_94x94 and final-byte.
5123 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5124 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5125 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5126 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5127 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5128 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5129 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5130 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5131 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5132 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5133 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5134 (CHARSET_TYPE_128X128): New macro.
5135 (CHARSET_TYPE_256X256): New macro.
5136 (XCHARSET_PRIVATE_P): Delete unconditionally.
5137 (charset_by_attributes): Delete array about direction.
5138 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5139 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5140 (MIN_CHAR_94): New macro.
5141 (MAX_CHAR_94): New macro.
5142 (MIN_CHAR_96): New macro.
5143 (MAX_CHAR_96): New macro.
5144 (MIN_CHAR_94x94): New macro.
5145 (MAX_CHAR_94x94): New macro.
5146 (MIN_CHAR_96x96): New macro.
5147 (MAX_CHAR_96x96): New macro.
5148 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5149 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5150 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5152 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5153 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5154 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5155 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5156 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5157 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5158 `XCHARSET_LEADING_BYTE' to make code-point.
5159 (latin_a_char_to_charset): New variable.
5160 (latin_a_char_to_byte1): New variable.
5161 (latin_a_char_to_byte2): New variable.
5162 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5163 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5164 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5166 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5167 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5168 (find_charsets_in_emchar_string): Likewise.
5169 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5171 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5173 (decode_coding_iso2022): Likewise.
5175 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5178 * redisplay.c (redisplay_text_width_emchar_string): Use
5179 `Charset_ID' instead of `unsigned char'.
5180 (redisplay_frame_text_width_string): Likewise.
5182 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5185 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5186 instead of `unsigned char'.
5187 (face_cachel_charset_font_metric_info): Likewise.
5189 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5190 (get_non_ascii_char_table_value): Likewise.
5191 (get_char_table): Likewise.
5192 (put_char_table): Likewise.
5193 (map_over_other_charset): Likewise.
5194 (map_char_table): Likewise.
5196 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5197 instead of `unsigned char'.
5199 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5201 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5202 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5204 * mule-charset.c (leading_code_private_11): Don't define in
5207 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5208 in UTF-2000 because it is not ported yet and not to use
5209 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5211 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5213 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5215 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5217 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5220 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5221 of unsigned char to store leading-byte.
5223 * chartab.c (get_non_ascii_char_table_value): Don't use
5224 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5226 * file-coding.c (encode_coding_big5): Delete bogus implementation
5229 * character.h (LEADING_BYTE_*): Delete definition for
5231 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5232 (LEADING_BYTE_PREFIX_P): Deleted.
5233 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5234 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5235 (BUFBYTE_LEADING_BYTE_P): Deleted.
5236 (CHARSET_PRIVATE_P): Deleted unconditionally.
5237 (rep_bytes_by_first_byte): Deleted unconditionally.
5238 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5239 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5240 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5241 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5242 (CHAR_FIELD2): Deleted.
5243 (CHAR_FIELD3): Deleted.
5244 (MAKE_CHAR): Delete definition for non-UTF-2000.
5245 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5246 (breakup_char_1): New implementation.
5247 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5248 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5250 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5252 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5255 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5257 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5258 (CHARSET_PRIVATE_P): Likewise.
5259 (XCHARSET_PRIVATE_P): Likewise.
5260 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5262 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5264 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5266 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5268 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5269 (NUM_LEADING_BYTES): Changed from 128 to 256.
5270 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5271 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5273 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5275 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5277 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5278 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5279 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5280 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5281 (Qchinese_cns11643_3): New variable in UTF2000.
5282 (Qchinese_cns11643_4): New variable in UTF2000.
5283 (Qchinese_cns11643_5): New variable in UTF2000.
5284 (Qchinese_cns11643_6): New variable in UTF2000.
5285 (Qchinese_cns11643_7): New variable in UTF2000.
5286 (syms_of_mule_charset): Define `chinese-cns11643-3',
5287 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5288 and `chinese-cns11643-7' in UTF2000.
5289 (vars_of_mule_charset): Initialize
5290 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5292 (complex_vars_of_mule_charset): Setup charset
5293 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5294 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5296 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5298 * mule-charset.c: Move setting for `leading-code-private-11' from
5299 `syms_of_mule_charset' to `vars_of_mule_charset'.
5301 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5303 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5304 and `NUM_LEADING_BYTES' in assert.
5306 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5308 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5310 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5311 `NUM_LEADING_BYTES' instead of 128.
5313 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5315 * mule-charset.h (charset_by_leading_byte): Use
5316 `NUM_LEADING_BYTES' instead of 128.
5317 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5319 * mule-charset.c (charset_by_leading_byte): Use
5320 `NUM_LEADING_BYTES' instead of 128.
5321 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5323 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5326 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5328 * mule-charset.c (syms_of_mule_charset): Update to
5331 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5333 * file-coding.c (encode_coding_sjis): New implementation for
5334 UTF2000. (decode_coding_sjis): Ditto.
5336 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5338 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5339 Don't define in UTF2000.
5341 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5344 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5345 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5348 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5350 * config.h.in (CHAR_IS_UCS4): New macro.
5352 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5353 conventional MULE representation.
5354 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5356 * mule-charset.h: Reverted to original.
5358 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5359 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5360 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5362 * character.h: New file.
5364 * file-coding.c (Fmake_coding_system): Set 1 to
5365 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5367 (encode_coding_no_conversion): New implementation for UTF2000.
5369 * file-coding.h (struct Lisp_Coding_System): Add new member
5372 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5374 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5375 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5376 (encode_coding_iso2022): New implementation for UTF2000.
5378 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5380 * mule-canna.c (c2mu): New implementation for UTF2000.
5383 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5385 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5387 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5389 * file-coding.c (reset_encoding_stream): Set 0 to
5390 `str->iso2022.current_char_boundary' in UTF2000.
5391 (encode_utf8): Don't define in UTF2000.
5392 (encode_coding_utf8): New implementation for UTF-8 representation
5394 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5396 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5398 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5400 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5402 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5404 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5406 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5407 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5408 as UTF-8 in UTF2000.
5409 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5410 (non_ascii_valid_char_p): Don't define in UTF2000.
5411 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5412 (Lstream_get_emchar_1): Likewise.
5413 (utf-2000-version): New variable in UTF2000.
5415 * lread.c (read_escape): Add new reader `u'.
5417 * insdel.c (three_to_one_table): Don't define in UTF2000.
5418 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5419 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5421 (bytind_to_bufpos_func): Likewise.
5422 (buffer_mule_signal_inserted_region): Likewise.
5423 (vars_of_insdel): Don't initialize `three_to_one_table'.
5424 (init_buffer_text): Use `buf->text->mule_size' instead of
5425 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5428 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5429 UTF-8 representation in UTF2000.
5430 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5431 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5432 (decode_coding_iso2022): Don't define local variable `lb' in
5433 UTF2000; don't use LEADING_BYTE in UTF2000; use
5434 `DECODE_ADD_UCS_CHAR' in UTF2000.
5435 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5437 * config.h.in (UTF2000): New macro.
5439 * buffer.h (struct buffer_text): Add new member `mule_size' and
5440 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5441 (valid_char_p): Return always 1 in UTF2000.
5442 (MAX_EMCHAR_LEN): 6 in UTF2000.
5443 (three_to_one_table): Don't define in UTF2000.
5444 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5446 (real_bytind_to_bufpos): Likewise.
5448 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5450 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5452 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5453 representation change.
5454 (Vutf_2000_version): New variable.
5455 (leading_code_private_11): New variable.
5456 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5457 `leading-code-private-11'.
5459 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5460 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5461 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5462 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5463 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5464 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5465 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5466 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5467 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5468 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5469 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5470 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5471 (MIN_CHAR_GREEK): New macro.
5472 (MAX_CHAR_GREEK): New macro.
5473 (MIN_CHAR_CYRILLIC): New macro.
5474 (MAX_CHAR_CYRILLIC): New macro.
5475 (MIN_CHAR_HEBREW): New macro.
5476 (MAX_CHAR_HEBREW): New macro.
5477 (MIN_CHAR_THAI): New macro.
5478 (MAX_CHAR_THAI): New macro.
5479 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5480 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5481 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5482 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5483 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5484 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5485 (CHAR_FIELD2): New inline function.
5486 (CHAR_FIELD3): New inline function.
5487 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5488 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5489 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5490 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5491 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5492 (MIN_CHAR_COMPOSITION): Likewise.
5493 (CHAR_LEADING_BYTE): Modified for character representation change.
5494 (MAKE_CHAR): Likewise.
5496 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5497 (Vcharset_greek_iso8859_7): Likewise.
5498 (Vcharset_cyrillic_iso8859_5): Likewise.
5499 (Vcharset_hebrew_iso8859_8): Likewise.
5500 (Vcharset_thai_tis620): Likewise.
5501 (Vcharset_katakana_jisx0201): Likewise.
5503 2004-02-02 Vin Shelton <acs@xemacs.org>
5505 * XEmacs 21.4.15 is released
5507 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
5509 * device-x.c (x_error_handler): Don't call stderr_out
5511 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
5513 * buffer.c (other-buffer): Clarify documentation of order of
5514 arguments for FSF Emacs.
5516 2003-10-11 Olivier Galibert <galibert@pobox.com>
5518 * window.c (Fdelete_window): Dirty the mirror structure _before_
5519 marking the window deleted.
5521 2003-09-15 Jerry James <james@xemacs.org>
5523 * event-msw.c (debug_mswin_messages): Conditionally compile
5524 messages missing from the Cygwin headers.
5526 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
5528 * data.c (eq_with_ebola_notice): Fix typo in comment.
5529 (Ftrue_list_p): Improve docstring.
5531 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
5533 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
5535 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
5537 * search.c (trivial_regexp_p): Regexps containing "\{" are
5538 nontrivial. Thanks to Manfred Bartz for reporting the bug and
5539 Stefan Monnier for suggesting a diagnosis.
5541 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
5543 * elhash.c (make-hash-table): Clarify use of :test #'equal.
5545 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
5547 * search.c (Fsearch_forward):
5549 Document negative count.
5551 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
5553 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
5555 2003-09-13 Martin Buchholz <martin@xemacs.org>
5557 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
5559 2003-09-15 Vin Shelton <acs@xemacs.org>
5561 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
5564 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5566 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
5567 (re_search_2): Match the first byte of Bufbyte, not Emchar.
5568 (re_match_2_internal): Use TRANSLATE instead of
5569 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
5570 non-ASCII char case conversion.
5572 2003-09-08 Mike Sperber <mike@xemacs.org>
5574 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
5575 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
5577 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
5579 * .gdbinit (pobj): fix printing of symbol name.
5581 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
5583 * frame-x.c (x_layout_widgets): When resizing is about to cause
5584 frame size slip, mark it for redisplay.
5586 2003-08-18 Jerry James <james@xemacs.org>
5588 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
5590 2003-09-03 Vin Shelton <acs@xemacs.org>
5592 * XEmacs 21.4.14 is released
5594 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5596 * config.h.in (REGEX_MALLOC): Make it configure'able.
5598 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5600 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5602 * sysdll.c (dll_init):
5603 * sysdll.c (dll_open):
5604 * sysdll.c (dll_close):
5605 * sysdll.c (dll_function):
5606 * sysdll.c (dll_variable):
5607 * sysdll.c (dll_error):
5608 Add support for loading bundles using Darwin/MacOSX
5611 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5613 * process.c (start-process-internal): Document coding systems.
5615 2003-07-30 Jerry James <james@xemacs.org>
5617 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5619 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5621 * event-msw.c (mswindows_enqueue_mouse_button_event):
5622 * event-msw.c (mswindows_wnd_proc):
5623 enqueue button event when scrollwheel event isn't handled by
5624 mswindows_handle_mousewheel_event, such as when the scrollbars
5627 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5629 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5631 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5633 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5635 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5637 * regex.c (re_match_2_internal): Fix matching degenerate word
5640 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5642 * XEmacs 21.4.13 is released
5644 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5646 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5647 * lisp.h (<inttypes.h>):
5648 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5651 2003-03-15 Martin Buchholz <martin@xemacs.org>
5653 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5654 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5655 Result: "temacs can only be run in -batch mode."
5656 Fix: Check xemacs executable candidate for directory-ness.
5658 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5660 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5661 they conflict with <sys/types.h>.
5663 2003-02-14 Martin Buchholz <martin@xemacs.org>
5665 * database.c: Berkeley DB wants __STDC__ to be defined.
5667 2003-02-13 Martin Buchholz <martin@xemacs.org>
5669 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5671 2003-02-01 Martin Buchholz <martin@xemacs.org>
5673 * process-unix.c (unix_send_process): Fix C++ compile error.
5675 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5677 * Added .dylib as an acceptable shared library file extension
5678 * to support MacOSX.
5680 2003-02-01 Martin Buchholz <martin@xemacs.org>
5682 * EmacsFrameP.h (EmacsFramePart):
5683 Kludge to allow compiling with Motif1, but linking with Motif2.
5685 2003-01-28 Martin Buchholz <martin@xemacs.org>
5687 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5690 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5692 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5694 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5696 * sysdll.c: Included lisp.h to define needed alloca_array.
5698 2003-02-13 Martin Buchholz <martin@xemacs.org>
5700 Make XEmacs redisplay 10 times faster.
5701 If, that is, you're using a slow X connection and MoveOpaque.
5702 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5703 Use compress_motion = TRUE.
5704 * EmacsFrame.c (emacsFrameClassRec):
5705 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5706 * EmacsManager.c (emacsManagerClassRec):
5707 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5709 2003-01-30 Vin Shelton <acs@xemacs.org>
5711 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5713 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5715 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5716 Patch by Martin Buchholz.
5718 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5720 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5721 Thanks to icc for warning and Martin Buchholz for reporting.
5723 2003-01-29 Vin Shelton <acs@xemacs.org>
5725 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5727 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5728 remember to multiply by the element size.
5730 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5732 * XEmacs 21.4.12 "Portable Code" is released.
5734 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5736 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5737 * s/cygwin.sc: new linker file.
5739 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5741 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5743 * redisplay-x.c (x_output_string): Use X11-specified types.
5744 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5745 * emacs.c (__free_hook): Use typeof with Intel compiler.
5746 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5748 2003-01-08 Andy Piper <andy@xemacs.org>
5750 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5751 reserve size during unexec().
5753 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5755 * process-unix.c (unix_create_process): Don't let outchannel block.
5757 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5759 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5760 Needed for IsBadReadPtr().
5762 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5764 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5766 2002-12-14 Ben Wing <ben@xemacs.org>
5768 * callint.c: Declaration error.
5770 * dumper.c (pdump_load): Warning fix.
5771 * process.c: GCPRO error.
5772 * glyphs.c (unmap_subwindow):
5773 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5774 * event-stream.c (maybe_kbd_translate): Wrong argument to
5775 character_to_event().
5777 * alloc.c (garbage_collect_1):
5779 * emacs.c (debug_can_access_memory):
5780 * emacs.c (fatal_error_signal):
5781 * emacs.c (mswindows_handle_hardware_exceptions):
5784 * emacs.c (assert_failed):
5785 * emacs.c (syms_of_emacs):
5788 * print.c (std_handle_out_va):
5789 * print.c (write_string_to_stdio_stream):
5790 * print.c (write_fmt_string):
5791 * print.c (printing_badness):
5792 * print.c (printing_major_badness):
5793 * print.c (print_internal):
5794 * print.c (debug_print_no_newline):
5795 * print.c (debug_backtrace):
5796 Be more defensive in handling bad values when printing. Add code
5797 from trunk involving inhibit_non_essential_printing_operations.
5798 When going down or in debug_print(), don't do external conversion
5799 and such and try really, really hard when printing to avoid core
5800 dumping. Add force-debugging-signal, debug_break().
5802 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5804 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5805 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5807 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5809 * database.c: Fix open_database. Berkeley DB API has changed in
5810 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5812 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5814 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5816 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5818 * event-Xt.c (Xt_timeout):
5819 (Xt_timeout_callback):
5820 (emacs_Xt_add_timeout):
5821 (emacs_Xt_remove_timeout):
5822 (Xt_timeout_to_emacs_event):
5823 Turn completed_timeouts from a stack into a queue. Fixes
5824 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5826 2002-11-07 Wolfram Gloger <wg@malloc.de>
5828 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5829 * emacs.c (main): Assert that mmap'd allocation is disabled.
5831 2002-10-14 Andy Piper <andy@xemacs.org>
5833 * glyphs-widget.c (layout_query_geometry): add in fiddle
5834 factor. Include border text in width layout calculation.
5835 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5837 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5839 * XEmacs 21.4.10 "Military Intelligence" is released.
5841 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5843 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5844 using the NAS private array SoundFileInfo that no longer exists in
5845 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5846 and earlier. This is broken for some versions between 1.5a and
5849 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5851 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5853 * emacs.c (shut_down_emacs): Improve crash message.
5855 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5857 * file-coding.c (determine_real_coding_system): Check for coding
5858 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5859 shebangs and Python PEP 263.
5861 2002-10-08 Andy Piper <andy@xemacs.org>
5863 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5864 if static sizes haven't been set.
5866 2002-08-30 Mike Alexander <mta@arbortext.com>
5868 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5871 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5873 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5875 2002-09-20 Mike Sperber <mike@xemacs.org>
5877 (This partially gets back my patch from 2002-07-20 without the
5879 * callproc.c (child_setup): Remove Ben's comment noting confusion
5880 over the file descriptors >= 3: close_process_descs() doesn't
5881 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5882 * process-unix.c (unix_create_process): Call
5883 begin_dont_check_for_quit to inhibit unwanted interaction (and
5884 thus breaking of X event synchronicity) in the child.
5886 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5888 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5891 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5893 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5894 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5895 the xemacs process did not exit, but looped infinitely here. This
5898 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5900 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5901 (find_context): Improve comments.
5903 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5904 (re_match_2): An XCHAR_TABLE operation was missing.
5906 Many of the following changes were inspired by Andy Piper's (now
5907 obsolete) patch to make syntax-table text property lookup optional.
5911 * syntax.h (top level): Document semantics of syntax flags.
5912 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5913 * syntax.c, syntax.h (top level): Document syntax cache better in
5916 [Instrument syntax caching (temporary change)]
5918 * syntax.h (enum syntax_cache_statistics_functions, struct
5919 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5920 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5921 * syntax.c (scan_words, Fforward_comment, scan_lists,
5922 Fbackward_prefix_characters):
5923 * font-lock.c (find_context):
5924 Use them to instrument syntax caching.
5925 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5926 syntax_cache_statistics_function_names): New type and variables.
5927 * syntax.c (update_syntax_cache): Update and report statistics.
5929 [Major syntax cache optimizations]
5931 syntax.c (lookup_syntax_properties): Default off.
5933 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5934 * syntax.c (update_syntax_cache):
5935 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5937 [Minor syntax cache optimizations and code clarifications]
5939 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5940 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5941 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5942 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5943 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5944 (Code clarification.)
5946 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5947 scan_lists): Compute code from syncode, use Boolean macros instead
5948 of redundant masking operations. (Code clarification; any decent
5949 compiler can do this optimization.)
5951 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5954 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5955 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5956 use F*_single_property_change instead of F*_extent_change.
5957 Currently F*_single_property_change is _much_ less efficient.
5959 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5960 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5961 syntax_cache.object properly, don't leave Qt or Qnil.
5962 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5963 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5964 tests for Qt or Qnil.
5966 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5968 * redisplay.c (point_in_line_start_cache):
5969 * extents.c (print_extent_1):
5972 * extents.c (Fset_extent_property): Document `syntax-table' property.
5974 * extents.h (Fnext_single_property_change): EXFUN it.
5976 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5978 * search.c (clear_unused_search_regs): New static function.
5982 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5983 Minor clarifications in comments.
5985 * regex.c (re_match_2_internal): Ensure no stale submatches.
5987 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5989 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5991 2002-08-29 Jerry James <james@xemacs.org>
5993 * lisp.h: structrures -> structures.
5995 2002-06-03 Andy Piper <andy@xemacs.org>
5997 * frame.c (frame_conversion_internal): add conversion appropriate
5998 for setting frame dimensions in pixels.
6000 * console.h (struct console_methods): add device-specific widget
6003 * emacs.c (main_1): initialize glyph vars.
6005 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6006 (handle_focus_event_2): new function. Allow focus to
6007 be set to a particular window and widget.
6008 (enqueue_focus_event): new function. Create a
6009 synthetic focus event.
6010 (emacs_Xt_handle_magic_event): call
6011 handle_focus_event_2.
6013 * frame.c (Fset_frame_pixel_height): new function. Allow
6014 pixel-based sizing. Does the right thing on character-oriented
6016 (Fset_frame_pixel_width): ditto.
6017 (Fset_frame_pixel_size): ditto.
6018 (syms_of_frame): declare.
6020 * general-slots.h: add :vertically-justify and
6021 :horizontally-justify.
6023 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6024 (mswindows_widget_border_width): new function.
6025 (mswindows_combo_box_instantiate): set border widths.
6026 (console_type_create_glyphs_mswindows): declare.
6029 (check_valid_justification): allow vertical and horizontal
6031 (widget_border_width): new function. Call device methods.
6032 (widget_instance_border_width): ditto.
6033 (logical_unit_height): new function. Determine the height of a
6034 logical-unit. Logical units are intended to provide grid-like
6035 layout for subcontrols in a layout. If the layout is
6036 :vertically-justify top then subcontrols will be positioned on
6037 logical-unit boundaries, thus allowing adjacent subcontrols to
6039 (widget_logical_unit_height): ditto for widgets.
6040 (redisplay_widget): misc cleanup.
6041 (widget_spacing): new function. Call device specific
6042 methods. Intended to be the default gap between adjacent widgets.
6043 (widget_query_geometry): use new spacing functions to determine
6044 appropriate geometry.
6045 (initialize_widget_image_instance): initialize horizontal and
6046 vertical justification.
6047 (widget_instantiate): use logica-units where appropriate for
6048 sizing large widgets.
6049 (button_query_geometry): use widget_instance_border_width.
6050 (tree_view_query_geometry): ditto.
6051 (tab_control_query_geometry): ditto.
6052 (edit_field_query_geometry): new function.
6053 (layout_update): pick up :justify, :horizontally-justify and
6054 :vertically-justify none of which worked previously. :justify is
6055 used as a fallback for both horizontal and vertical justification.
6056 (layout_query_geometry): use logical units to size appropriately.
6057 (layout_layout): ditto.
6058 (Fwidget_logical_to_character_width): new function. Allow users to
6059 convert from logical units to characters so that frame sizes can
6060 be set appropriately.
6061 (Fwidget_logical_to_character_height): ditto.
6062 (syms_of_glyphs_widget): declare.
6063 (image_instantiator_edit_fields): add edit_field_query_geometry.
6064 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6065 :horizontally-justify.
6066 (specifier_vars_of_glyphs_widget): new function. Declare
6067 Vwidget_border_width which is not yet used.
6069 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6070 (x_widget_border_width): new function.
6071 (x_widget_instantiate): create a sensible name for widgets.
6072 (console_type_create_glyphs_x): declare x_widget_border_width.
6074 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6075 (struct Lisp_Image_Instance): add :vertically-justify and
6076 :horizontally-justify.
6077 (LAYOUT_JUSTIFY_TOP): new.
6078 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6079 (ROUND_UP): new macro. Round argument up to next integral
6082 * redisplay-output.c (redisplay_output_layout): misc formatting.
6084 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6086 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6088 * XEmacs 21.4.9 "Informed Management" is released.
6090 2002-08-19 Andy Piper <andy@xemacs.org>
6092 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6095 * realpath.c (xrealpath): normalize drive spec also so that dir
6096 sep chars are not mixed on cygwin.
6098 2002-08-06 Jerry James <james@xemacs.org>
6100 * window.c (Fsplit_window): Count only half of the divider width
6101 against the left window when splitting horizontally.
6103 2002-06-24 Andy Piper <andy@xemacs.org>
6105 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6106 toolbar was cleared.
6108 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6109 function. Split out from mswindows_output_frame_toolbars.
6110 (mswindows_output_frame_toolbars): move clear pieces to
6111 mswindows_output_frame_toolbars.
6113 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6114 out from gtk_output_frame_toolbars.
6115 (gtk_output_frame_toolbars): move clear pieces to
6116 gtk_clear_frame_toolbars.
6118 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6119 the frame is cleared. How this ever worked before is a mystery.
6120 (x_output_frame_toolbars): Only output toolbars.
6121 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6123 * gutter.c (update_gutter_geometry):
6124 Mark frame layout changed.
6125 (update_frame_gutter_geometry, update_frame_gutters):
6126 Respect frame_layout_changed.
6128 * console.h (struct console_methods): add
6129 clear_frame_toolbars_method.
6131 * redisplay.c (redisplay_frame): call
6132 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6134 * toolbar.h: declare update_frame_toolbars_geometry.
6136 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6137 out from update_frame_toolbars. Call clear_frame_toolbars.
6138 (update_frame_toolbars): only output, do not change geometry.
6140 * redisplay.c: add frame_layout_changed.
6142 * redisplay.h: add frame_layout_changed.
6143 (CLASS_RESET_CHANGED_FLAGS): set it.
6144 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6145 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6146 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6148 * device.h (struct device): add frame_layout_changed.
6149 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6151 * frame.h (struct frame): add frame_layout_changed.
6152 (MARK_FRAME_LAYOUT_CHANGED): new.
6154 2002-06-30 Mike Alexander <mta@arbortext.com>
6156 * event-msw.c (mswindows_need_event): Don't wait for a new message
6157 if the queue is not empty. Suggested by Paul Moore.
6159 2002-06-12 Andy Piper <andy@xemacs.org>
6161 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6162 for printing on accurately.
6164 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6166 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6167 WM_ACTIVATE message. Make sure that the frame is visible if the
6168 window is visible. This seemss to fix the problem where XEmacs
6169 appears to freeze after switching desktops with certain virtual
6171 (debug_output_mswin_message): Added code to output message
6172 parameters for WM_WINDOWPOSCHANGED,
6173 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6175 2002-05-25 Andy Piper <andy@xemacs.org>
6177 * select-x.c (vars_of_select_x): Fix docstring of
6178 x-selection-strict-motif-ownership
6180 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6182 * keymap.c (get_keymap):
6183 Add comment about do_autoload GCPROs own args.
6185 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6187 * bytecode.c (execute_optimized_program): check_opcode ifdef
6188 ERROR_CHECK_BYTE_CODE.
6190 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6192 Thanks to Ben Wing and Michael Sperber.
6194 * eval.c (Fcommand_execute):
6197 (Fmacroexpand_internal):
6198 (function_argcount):
6199 callint.c (Fcall_interactively):
6200 Add comment about do_autoload GCPROs own args.
6202 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6204 * eval.c (Ffuncall): Extra braces to placate GCC.
6206 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6208 * backtrace.h (grow_specpdl):
6210 * EmacsFrame.c (EmacsFrameSetValues):
6211 * eval.c (grow_specpdl):
6212 * ExternalShell.c (hack_event_masks_1):
6213 * glyphs-x.c (convert_EImage_to_XImage):
6214 (x_finalize_image_instance):
6215 * ralloc.c (page_size):
6217 * xgccache.c (gc_cache_hash):
6218 Fix unsigned comparison warnings.
6220 2002-07-29 Jerry James <james@xemacs.org>
6222 * lread.c (locate_file): Any nonnegative return value indicates
6223 success if MODE is nonnegative.
6225 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6227 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6230 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6232 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6234 * dumper.c (pdump_get_indirect_count):
6235 (pdump_scan_by_alignment):
6236 (pdump_dump_root_struct_ptrs):
6237 (pdump_dump_rtables):
6238 (pdump_dump_root_objects):
6240 * nas.c (WaveOpenDataForReading):
6241 * fns.c (print_bit_vector):
6242 * font-lock.c (SINGLE_SYNTAX_STYLE):
6243 * glyphs.c (check_for_ignored_expose):
6244 (find_matching_subwindow):
6246 * imgproc.c (get_histogram):
6247 * redisplay.c (point_in_line_start_cache):
6248 * redisplay-output.c (redisplay_unmap_subwindows):
6249 * symbols.c (defsymbol_massage_name_1):
6250 (defkeyword_massage_name):
6251 (deferror_massage_name_and_message):
6252 * redisplay-x.c (x_output_string):
6253 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6254 * frame.h (struct frame):
6255 * filelock.c (current_lock_owner):
6256 * doprnt.c (emacs_doprnt_1):
6257 * lisp.h (struct Lisp_Bit_Vector):
6261 2002-02-13 Ben Wing <ben@xemacs.org>
6263 * event-stream.c (reset_key_echo):
6264 * event-stream.c (reset_this_command_keys):
6265 * event-stream.c (execute_command_event):
6266 If console is dead as a result of C-x 5 0, then post-command stuff
6267 needs to be careful and do only non-console-specific stuff.
6269 2002-07-01 Mike Sperber <mike@xemacs.org>
6271 * process-unix.c (unix_send_process): Mark coding_outstream as
6272 non-open upon SIGPIPE.
6274 * event-stream.c (Fnext_event): Reorder switch cases to something
6277 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6279 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6280 Don't bogusly reinitialize ascii_character property.
6282 2002-07-08 Mike Sperber <mike@xemacs.org>
6284 * process.c (Fstart_process_internal): Do error checking before we
6285 fork off the child, so the child can't muck with the state of the
6288 2002-07-08 Mike Sperber <mike@xemacs.org>
6290 * ralloc.c (init_ralloc): Allocate properly for pdump.
6292 2002-06-12 Andy Piper <andy@xemacs.org>
6294 * glyphs.c (query_string_geometry): check the string.
6296 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6299 2002-06-17 Jerry James <james@xemacs.org>
6301 * sysdll.c: Remove RTLD_GLOBAL initialization.
6302 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6304 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6306 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6308 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6310 * sysdep.c (sys_rename): Make sys_rename work for the case where
6311 Windows rename sets errno to EACCES if target file exists.
6313 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6315 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6316 Fix detection of metric units to work on Win95
6318 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6320 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6322 2002-04-25 Andy Piper <andy@xemacs.org>
6324 * redisplay.c (create_text_block): Remove extra comment trailer.
6326 2002-04-24 Andy Piper <andy@xemacs.org>
6328 * redisplay.c (create_text_block): Don't actually add propagation
6329 data if the line ends after we have added a glyph.
6331 2002-04-22 Andy Piper <andy@xemacs.org>
6333 * extents.c (extent_fragment_update): check for glyphs we have
6334 previously displayed.
6335 * extents.c (print_extent_1): warning removal.
6336 * extents.h: change prototype.
6337 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6338 widths correctly for wide glyphs.
6339 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6340 * redisplay.c (prop_type): add PROP_GLYPH.
6341 * redisplay.c (struct prop_block): add glyph type
6342 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6343 to the propagation data.
6344 * redisplay.c (create_text_block): if there is a glyph in the
6345 propagation data use it to salt extent_fragment_update.
6346 * redisplay.c (create_string_text_block): ditto.
6348 2002-04-13 Nix <nix@esperi.demon.co.uk>
6350 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6351 * redisplay-output.c (compare_runes): Compare them.
6352 * redisplay.c: Update copyright date.
6353 * redisplay.c (pos_data): Add need_baseline_computation field.
6354 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6355 need_baseline_computation; zero yoffset. Set max_pixmap_height
6356 for all pixmaps, not just automatically positioned ones.
6357 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6358 * redisplay.c (calculate_baseline): New, compute textual baseline.
6359 * redisplay.c (add_glyph_rune): Call them.
6360 * redisplay.c (create_text_block): Likewise.
6361 * redisplay.c (create_overlay_glyph_block): Likewise.
6362 * redisplay.c (add_margin_runes): Likewise.
6363 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6365 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6366 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6367 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6368 * redisplay-msw.c (mswindows_output_string): Likewise.
6369 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6370 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6371 * redisplay-x.c (x_output_display_block): Likewise.
6373 2002-03-28 Ben Wing <ben@xemacs.org>
6375 * redisplay.c: Fixed bug in redisplay
6376 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6377 and down of the lines, since they're bigger than the line
6378 size. (It was seen most obviously when there's a horizontal scroll
6379 bar, e.g. do C-h a glyph or something like that.) The problem was
6380 that the glyph-contrib-p setting on glyphs was ignored even if it
6381 was set properly, which it wasn't until now.
6383 2002-04-24 Andy Piper <andy@xemacs.org>
6385 * lisp.h (Dynarr_end): Fix definition.
6387 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6389 * redisplay.c (mark_redisplay): Remove call to
6390 update_frame_window_mirror.
6392 2001-11-15 Andy Piper <andy@xemacs.org>
6394 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6397 2002-02-13 Andy Piper <andy@xemacs.org>
6399 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6400 we did in fact enqueue the XM_MAPFRAME event.
6402 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6404 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6405 to fix problem switching between virtual desktops under virtuawin
6406 virtual window manager.
6408 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6410 * event-msw.c: Typo fix.
6411 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6412 magic XM_MAPFRAME event has been sent.
6414 2001-11-23 Andy Piper <andy@xemacs.org>
6416 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6418 2001-11-21 Andy Piper <andy@xemacs.org>
6420 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6421 mouse events outside the frame.
6423 2002-03-20 Andy Piper <andy@xemacs.org>
6425 * menubar-msw.c (mswindows_popup_menu): warning removal.
6426 * dialog-msw.c (dialog_popped_down): ditto.
6428 2001-12-11 Andy Piper <andy@xemacs.org>
6430 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6431 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6433 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6434 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6435 * menubar-msw.c (mswindows_popup_menu): ditto.
6437 2001-10-29 Andy Piper <andy@xemacs.org>
6439 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6442 2002-01-03 Andy Piper <andy@xemacs.org>
6444 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6448 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6450 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6451 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6452 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6453 Detect and handle case where machine is set up for metric units
6455 2002-04-02 Andy Piper <andy@xemacs.org>
6457 * dired-msw.c (mswindows_get_files):
6458 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6459 completely handled by XEmacs. Suggested by Thomas Vogler
6460 <mail@thomas-vogler.de>.
6462 2001-11-14 Andy Piper <andy@xemacs.org>
6464 * nt.c (REG_ROOT): change registry key to XEmacs.
6466 2002-04-27 Andy Piper <andy@xemacs.org>
6468 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6470 2002-04-26 Andy Piper <andy@xemacs.org>
6472 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6475 2002-03-14 Mike Alexander <mta@arbortext.com>
6477 * event-msw.c (mswindows_unwait_process): New, remove process from
6479 * process-nt.c (nt_finalize_process_data): Call
6480 mswindows_unwait_process
6481 * console-msw.h: Declare mswindows_unwait_process
6483 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6485 * editfns.c (Fdecode_time):
6486 (Fformat_time_string):
6487 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6488 (make_time): Warning elimination (change arg name).
6490 2001-11-24 Andy Piper <andy@xemacs.org>
6492 * window.c (Fsplit_window): Doc return type.
6494 2002-04-01 Andy Piper <andy@xemacs.org>
6496 * emacs.c (Fkill_emacs): Only output message box in interactive
6499 2002-04-26 Andy Piper <andy@xemacs.org>
6501 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6504 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6506 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6509 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6511 * XEmacs 21.4.8 "Honest Recruiter" is released.
6513 2002-05-07 Nix <nix@esperi.demon.co.uk>
6515 Supersedes 2002-04-17 patch.
6517 * process.h (PROCESS_LIVE_P): Use the process status as
6518 evidence of health, not the state of the input stream.
6519 (PROCESS_READABLE_P): Say if the process is readable
6520 from. (It may be dead nonetheless.)
6521 (CHECK_READABLE_PROCESS): Test for that condition.
6523 * process.c (create_process): Use PROCESS_READABLE_P.
6524 (read_process_output, set_process_filter): Likewise.
6526 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6527 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6529 This code is #if 0'd, this is not the time to add new functions:
6531 * process.c (Fprocess_readable_p): Report readability status.
6532 * process.c (Qprocess_readable_p): New, associated symbol...
6533 * process.c (syms_of_process): ... initialize it.
6535 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6537 * XEmacs 21.4.7 "Economic Science" is released.
6539 2002-04-17 Nix <nix@esperi.demon.co.uk>
6541 * process.h (PROCESS_LIVE_P): Use the process status as
6542 evidence of health, not the state of the input stream.
6544 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6546 * sysdep.c (sys_siglist): change "signum" to "signal"
6548 2001-04-21 Martin Buchholz <martin@xemacs.org>
6550 * s/darwin.h: New file.
6551 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6553 2002-04-23 Andreas Jaeger <aj@suse.de>
6555 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6556 which use lib64 for 64-bit libs.
6557 (START_FILES): Likewise.
6559 2002-02-11 Mike Sperber <mike@xemacs.org>
6562 (x_IO_error_handler):
6563 (x_init_device): Temporarily keep device in static variable
6564 `device_being_initialized' so we can recover gracefully from
6565 internal XOpenDevice failure. (XOpenDevice is documented to
6566 return NULL on failure, but sometimes calls the IO error handler
6569 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6571 * dired.c (Ffile_name_all_completions): Change documentation --
6572 remove reference to completion-ignored-extensions.
6573 * dired.c (vars_of_dired): Change documentation for
6574 completion-ignored-extensions -- remove reference to
6575 file-name-all-completions.
6577 2002-03-06 Jerry James <james@xemacs.org>
6579 * emodules.c (emodules_load): Fix multiple loading of same module.
6581 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6582 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6583 RTLD_LAZY to avoid incorrect symbol binding when using nested
6584 shared libraries on Solaris.
6586 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6588 * fileio.c (Ffind_file_name_handler): Improve docstring.
6590 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6592 * fns.c (Fmapconcat): Improve docstring.
6594 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6596 * device-gtk.c: Add prototype for
6597 emacs_gtk_selection_clear_event_handle.
6598 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6599 selection. Setup signal handler for "selection_clear_event"
6600 (emacs_gtk_selection_clear_event_handle).
6602 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6603 other applications owning the clipboard (based on
6604 x_handle_selection_clear).
6606 2001-12-23 William M. Perry <wmperry@gnu.org>
6608 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6610 2002-01-04 Martin Buchholz <martin@xemacs.org>
6612 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6614 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6616 * XEmacs 21.4.6 "Common Lisp" is released.
6618 2001-12-16 Torsten Duwe <duwe@caldera.de>
6620 * search.c (Freplace_match): Add missing sub-expression functionality.
6622 * buffer.c (decode_buffer): Add a check for pointer type to
6623 decode_buffer, before gcc's CSE optimization reorders a
6624 dereference in front of the allow_string test.
6626 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6628 * window.c (window_loop): Fix bug that sometimes prevented
6629 window_loop() from iterating across multiple devices. Also, at
6630 Ben's request, changed infloop-detecting code to abort() instead
6631 of silently terminating window_loop().
6633 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6635 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6636 * editfns.c (make_time): New function.
6637 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6638 * lisp.h (make_time): Prototype and comment it.
6639 * dired.c (wasteful_word_to_lisp): Deprecate.
6640 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6642 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6644 * fileio.c (auto_save_1): Use current coding system, not
6647 2001-11-13 Ben Wing <ben@xemacs.org>
6650 * window.c (window_truncation_on):
6651 * window.c (syms_of_window):
6652 truncate-partial-width-windows should respect the buffer being
6653 displayed, like other redisplay vars.
6655 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6657 * event-stream.c (Fread_key_sequence): save current buffer.
6659 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6661 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6663 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6665 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6667 2001-10-26 Mike Alexander <mta@arbortext.com>
6669 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6671 2001-10-25 Andy Piper <andy@xemacs.org>
6674 * dialog-msw.c (handle_directory_proc): new function.
6675 (handle_directory_dialog_box): new fucntion.
6676 (handle_file_dialog_box): use new directory dialog support.
6677 (mswindows_make_dialog_box_internal): ditto.
6678 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6680 (mswindows_find_frame): make global.
6681 * fileio.c (Fexpand_file_name): build fix.
6682 * general-slots.h: add Qdirectory.
6683 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6685 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6686 cygwin not leaving win32 paths unchanged.
6687 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6688 cygwin runtime to do path conversion.
6689 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6690 (syms_of_win32): add new function.
6691 * window.c (window_loop): build fix.
6693 2001-10-15 Andy Piper <andy@xemacs.org>
6695 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6697 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6699 * XEmacs 21.4.5 "Civil Service" is released.
6701 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6703 * glyphs-x.c: Force buffer-tab highlight update when moving the
6704 buffer, avoiding an ugly black border, used for keyboard focus
6705 indication, on a widget that can never have keyboard focus, the
6708 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6710 * process-unix.c (unix_open_multicast_group): Remove too much
6711 conversion between host and network byte order.
6713 2001-09-10 Nix <nix@esperi.demon.co.uk>
6715 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6716 before replacing them.
6718 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6721 * src/window.c (undedicate_windows): Use it.
6722 * src/window.h: Add prototype.
6724 2001-09-17 Ben Wing <ben@xemacs.org>
6726 * fileio.c (normalize_filename):
6727 * fileio.c (Fexpand_file_name):
6728 Fix various C++ compile errors in Andy's recent code.
6730 * callint.c (Fcall_interactively):
6731 * editfns.c (Ftemp_directory):
6732 * editfns.c (Fuser_full_name):
6733 * emacs.c (argmatch):
6734 * lread.c (locate_file_map_suffixes):
6735 * redisplay-x.c (x_ring_bell):
6736 Fix sign-compare warnings.
6738 2001-09-08 Andy Piper <andy@xemacs.org>
6740 * fileio.c (normalize_filename): copied from nt.c
6741 * (Ffile_name_directory): enable win32 paths under cygwin.
6742 * (Ffile_name_nondirectory): ditto.
6743 * (directory_file_name): ditto.
6744 * (Fexpand_file_name): ditto.
6745 * (Ffile_truename): ditto.
6746 * (Fsubstitute_in_file_name): ditto.
6747 * (Ffile_name_absolute_p): ditto.
6748 * (Ffile_readable_p): ditto.
6750 2001-09-08 Andy Piper <andy@xemacs.org>
6752 * device-msw.c (mswindows_finish_init_device): remove dde
6754 * device-msw.c (mswindows_init_dde): factor out from
6755 mswindows_finish_init_device()
6756 * device-msw.c (init_mswindows_very_early): new function
6757 initialize but don't enable dde.
6758 * emacs.c (main_1): call init_mswindows_very_early.
6760 * event-msw.c (mswindows_dde_callback): only execute when we are
6762 * symsinit.h: declare init_mswindows_very_early.
6764 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6766 [sjt: This has been in 21.5 for months with no complaints.]
6768 * console.h (struct console_methods): Added flags member.
6769 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6770 (CONMETH_IMPL_FLAG):
6771 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6772 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6774 * device.c (window_system_pixelated_geometry): Use the above macros.
6776 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6777 implememntation flag.
6778 * device.h (DEVICE_DISPLAY_P): Use it.
6780 * frame.c (delete_frame_internal): Use the above macro.
6782 * redisplay.c (redisplay_device): Use it.
6783 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6784 (redisplay_frame): Ditto.
6786 * device-msw.c (mswindows_device_implementation_flags): Removed.
6787 (msprinter_device_implementation_flags): Removed.
6788 (console_type_create_device_mswindows): Removed references to
6789 implementation_flags methods, set implementation flags here.
6790 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6792 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6793 (console_type_create_device_gtk): Removed method declaration.
6794 Added commented out statement which semantically matches the
6795 commented out statement in the above removed method.
6797 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6799 The attached patch fixes a few warnings.
6801 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6802 * src/frame-gtk.c: guard against GNOME calls in GTK only
6803 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6804 * src/select-gtk.c: prototype lisp_to_time
6806 2001-06-08 Ben Wing <ben@xemacs.org>
6808 ------ gc-in-window-procedure fixes ------
6811 * alloc.c (struct post_gc_action):
6812 * alloc.c (register_post_gc_action):
6813 * alloc.c (run_post_gc_actions):
6814 * alloc.c (garbage_collect_1):
6815 Create "post-gc actions", to avoid those dreaded "GC during window
6816 procedure" problems.
6819 Abort, clean and simple, when GC in window procedure. We want
6820 to flush these puppies out.
6823 * glyphs-msw.c (finalize_destroy_window):
6824 * glyphs-msw.c (mswindows_finalize_image_instance):
6825 Use a post-gc action when destroying subwindows.
6828 Declare register_post_gc_action().
6831 * scrollbar-msw.c (unshow_that_mofo):
6832 Use a post-gc action when unshowing scrollbar windows, if in gc.
6834 * redisplay.c (mark_redisplay):
6835 Add comment about the utter evilness of what's going down here.
6837 ------ cygwin setitimer fixes ------
6839 * Makefile.in.in (sheap_objs):
6840 * Makefile.in.in (profile_objs):
6841 * Makefile.in.in (objs):
6842 Compile profile.c only when HAVE_SETITIMER.
6844 * nt.c (mswindows_sigset):
6845 * nt.c (mswindows_sighold):
6846 * nt.c (mswindows_sigrelse):
6847 * nt.c (mswindows_sigpause):
6848 * nt.c (mswindows_raise):
6849 * nt.c (close_file_data):
6853 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6856 * profile.c (Fstart_profiling):
6857 * profile.c (Fstop_profiling):
6858 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6859 instead of just plain setitimer().
6862 * signal.c (set_one_shot_timer):
6864 Define qxe_setitimer() as an encapsulation around setitimer() --
6865 call setitimer() directly unless Cygwin or MS Win, in which case
6866 we use our simulated version in win32.c.
6869 * systime.h (struct itimerval):
6870 * systime.h (ITIMER_REAL):
6871 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6872 comment about "qxe" and the policy regarding encapsulation.
6875 * win32.c (setitimer_helper_proc):
6876 * win32.c (setitimer_helper_period):
6877 * win32.c (setitimer_helper):
6878 * win32.c (mswindows_setitimer):
6879 Move setitimer() emulation here, so Cygwin can use it.
6880 Rename a couple of functions and variables to be longer and more
6881 descriptive. In setitimer_helper_proc(), send the signal
6882 using either mswindows_raise() or (on Cygwin) kill(). If for
6883 some reason we are still getting lockups, we'll change the kill()
6884 to directly invoke the signal handlers.
6886 ------ windows shell fixes ------
6890 Comments about how these two files must die.
6892 * callproc.c (init_callproc):
6893 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6894 not just COMSPEC. (more correct and closer to FSF.) Don't
6895 force a value for SHELL into the environment. (Comments added
6896 to explain why not.)
6898 * nt.c (init_user_info):
6899 Don't shove a fabricated SHELL into the environment. See above.
6901 2001-06-01 Ben Wing <ben@xemacs.org>
6903 * Makefile.in.in (ldflags):
6904 eliminate that pesky "defaulting to 00401000" warning.
6908 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6910 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6911 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6913 2001-04-24 Jerry James <james@xemacs.org>
6915 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6918 2001-06-01 Ben Wing <ben@xemacs.org>
6920 * event-msw.c (debug_mswin_messages):
6921 conditionalize the messages that were causing compile errors.
6922 (if only macros could generate #ifdef statements ...)
6924 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6926 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6928 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6930 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6932 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6934 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6935 * process-unix.c (unix_canonicalize_host_name):
6936 sysdep.c (init_system_name):
6937 Use it to conditionally support IPv6 canonicalization.
6939 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6942 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6944 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6946 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6947 attempt is made to scroll when no scroll bar is available.
6949 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6951 * input-method-motif.c (XIM_delete_frame): New callback.
6952 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6953 got deleted from 21.4.3.)
6955 2001-06-01 Ben Wing <ben@xemacs.org>
6957 * nt.c (mswindows_utime):
6958 * nt.c (close_file_data):
6959 fix off-by-one-indirection error.
6961 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6963 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6964 because set_file_times() now takes Lisp_Object path, instead of
6966 * nt.c: Include buffer.h.
6967 * nt.c (convert_from_time_t): New.
6968 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6969 not set mtime correctly.
6970 * nt.h: Declare mswindows_utime().
6971 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6972 path, instead of char*.
6973 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6975 2001-05-30 Ben Wing <ben@xemacs.org>
6979 (Stephen, just take all event-msw.c patches. This includes
6980 the "iconify" fix below.)
6983 * event-msw.c (mswindows_dequeue_dispatch_event):
6984 * event-msw.c (assert):
6985 * event-msw.c (emacs_mswindows_quit_p):
6986 * event-msw.c (debug_mswin_messages):
6987 * event-msw.c (debug_output_mswin_message):
6988 * event-msw.c (vars_of_event_mswindows):
6989 Fix yet more problems with C-g handling.
6990 Implement debug-mswindows-events.
6992 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6994 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6996 2001-05-23 Ben Wing <ben@xemacs.org>
6998 * event-msw.c (winsock_writer):
6999 * event-msw.c (winsock_closer):
7000 prior kludgy code was clobbering the buffer, thinking it was
7001 "unused" space to store an unneeded return value; instead, use
7002 the variable we've already got staring us in the face.
7004 2001-05-17 Andy Piper <andy@xemacs.org>
7006 * sysfile.h: don't assume that file attributes are boolean
7008 2001-05-23 Ben Wing <ben@xemacs.org>
7010 * device-msw.c (msprinter_init_device):
7011 signal an error rather than crash with an unavailable network
7012 printer (from Mike Alexander).
7015 * event-msw.c (struct winsock_stream):
7016 * event-msw.c (winsock_writer):
7017 * event-msw.c (winsock_closer):
7018 * event-msw.c (make_winsock_stream_1):
7019 cleanup headers. fix (hopefully) an error with data corruption
7020 when sending to a network connection.
7022 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7023 to handle the ~user prefix by (a) always assuming we're referencing
7024 ourselves and not even verifying the user -- hence any file with
7025 a tilde as its first char is invalid! (b) if there wasn't a slash
7026 following the filename, the pointer was set *past* the end of
7027 file and we started reading from uninitialized memory. Now we
7028 simply treat these as files, always.
7030 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7032 2001-05-19 Ben Wing <ben@xemacs.org>
7034 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7037 * process-nt.c (vars_of_process_nt):
7038 remove unused mswindows-quote-process-args. rec for 21.4.
7040 2001-05-12 Ben Wing <ben@xemacs.org>
7042 * event-msw.c (mswindows_dde_callback):
7043 * event-msw.c (mswindows_wnd_proc):
7044 eliminate cygwin warnings.
7046 2001-05-06 Ben Wing <ben@xemacs.org>
7050 * device-msw.c (print_dialog_worker):
7051 * device-msw.c (mswindows_handle_print_dialog_box):
7052 * device-msw.c (syms_of_device_mswindows):
7053 * dialog-msw.c (mswindows_make_dialog_box_internal):
7055 implement printing the selection when it's selected.
7057 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7059 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7061 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7063 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7064 EMACS_INT is signed.
7066 2001-04-15 Michael Lausch <mla@1012surf.net>
7068 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7069 gtk_widget_request_size() to give scrollbar >0 width for
7072 2001-05-30 William M. Perry <wmperry@gnu.org>
7074 * event-gtk.c: Check for buttons as modifier keys.
7076 2001-05-25 Craig Lanning <CraigL@Knology.net>
7079 Properly find MinGW's <process.h> inside Cygwin's restructured
7080 include directories. Don't try to include <cygwin/version.h>
7081 since we are dropping support for MinGW in versions of Cygwin
7084 Drop support for MinGW in versions of Cygwin before b21.
7086 Properly find MinGW's <process.h> inside Cygwin's restructured
7087 include directories.
7089 Drop support for MinGW in versions of Cygwin before b21.
7091 Even though a.out.h is no longer detected by configure, allow
7092 MinGW to use it until we figure out how to do the job with Win32.
7094 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7096 * syntax.c (find_start_of_comment):
7097 Fix `unbalanced parentheses' bug when dealing with mixed comment
7098 styles in c++/java/etc. mode
7100 2001-05-29 Mike Alexander <mta@arbortext.com>
7102 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7103 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7105 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7107 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7109 2001-03-31 Mike Sperber <mike@xemacs.org>
7111 * search.c (Freplace_match): Support FSF-style specification of
7112 match subexpression when applied to a buffer.
7114 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7116 * event-stream.c (is_scrollbar_event): add missing semicolon
7118 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7120 * Makefile.in.in: Use TAR macro instead of hardcoding
7121 tar. Allows use of GNU tar instead of system tar
7123 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7125 * event-stream.c (is_scrollbar_event): add missing semicolon
7127 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7129 * XEmacs 21.4.3 "Academic Rigor" is released.
7131 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7133 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7135 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7137 * buffer.c (Vcase_fold_search): Remove obsolete
7138 comment about non ASCII case-fold-search. This
7139 bug has been fixed by case-table changes.
7141 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7143 * event-msw.c: Restore include of events-mod.h.
7145 2001-04-22 zhaoway <zw@debian.org>
7147 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7150 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7152 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7154 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7156 * mule-charset.c (Fmake_charset): Add missing else.
7158 2001-04-23 Ben Wing <ben@xemacs.org>
7160 * event-msw.c (FAKE_MOD_QUIT):
7161 * event-msw.c (mswindows_dequeue_dispatch_event):
7162 * event-msw.c (mswindows_wnd_proc):
7163 * event-msw.c (emacs_mswindows_quit_p):
7164 Get critical quit working.
7166 2001-05-05 Ben Wing <ben@xemacs.org>
7170 * device-msw.c (mswindows_get_default_margin):
7171 * frame-msw.c (mswindows_size_frame_internal):
7172 * frame-msw.c (msprinter_init_frame_1):
7173 * frame-msw.c (vars_of_frame_mswindows):
7174 Change top/bottom margin defaults to 0.5 inches.
7176 2001-05-01 Martin Buchholz <martin@xemacs.org>
7178 Fix link error with gcc 3.0 on Linux.
7179 * terminfo.c (UP): Remove.
7180 * terminfo.c (BC): Remove.
7181 * terminfo.c (PC): Remove.
7182 They weren't used, and in any case, these symbols should be
7183 defined in the *library*.
7185 2001-05-03 Martin Buchholz <martin@xemacs.org>
7187 * s/aix4.h: Fix crash with xlc -O3.
7188 Improve comment explaining how -O3 works.
7190 2001-04-15 Ben Wing <ben@xemacs.org>
7193 * event-stream.c (Fnext_event):
7194 * event-stream.c (is_scrollbar_event):
7195 * event-stream.c (execute_command_event):
7196 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7197 crash' problem. His fix introduces other problems. We filter
7198 out scrollbar events specifically, making them somewhat invisible
7199 to command-building, and not appearing in `this-command-keys'.
7200 More work is still needed (see comments in event-stream.c), but
7201 this fixes all the major problems.
7203 2001-04-20 Ben Wing <ben@xemacs.org>
7205 * .cvsignore: Added stuff for Windows.
7207 2001-04-28 Ben Wing <ben@xemacs.org>
7209 * buffer.c (Ferase_buffer):
7210 * editfns.c (buffer_insert1):
7211 * editfns.c (Finsert_before_markers):
7212 * editfns.c (Finsert_string):
7213 * editfns.c (Finsert_char):
7214 * editfns.c (Fdelete_region):
7215 * editfns.c (Fwiden):
7216 * editfns.c (Fnarrow_to_region):
7217 remove bogus lines setting zmacs_region_stays to 0.
7219 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7221 * process-unix.c (unix_open_network_stream): If connect() fails
7222 invalidate file descriptor after closing it.
7224 2001-03-08 Mike Alexander <mta@arbortext.com>
7226 * event-msw.c (mswindows_need_event_in_modal_loop):
7227 Don't dispatch a message if we didn't get one.
7228 (mswindows_need_event):
7229 Terminate the correct process when one exits instead of the first
7230 one on Vprocess_list and look for process termination when in
7231 mswindows_protect_modal_loop.
7233 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7235 * XEmacs 21.4.1 "Copyleft" is released.
7237 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7239 * input-method-motif.c (XIM_delete_frame): New callback.
7240 (XIM_init_frame): Register it.
7242 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7244 * XEmacs 21.4.0 "Solid Vapor" is released.
7246 2001-04-15 Ben Wing <ben@xemacs.org>
7248 * cmdloop.c (call_command_loop):
7249 Fix braino in bit-rotting code.
7251 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7253 * extents.c (Fset_extent_endpoints): Force creation of extent info
7254 in buffer_or_string.
7256 * extents.c (process_extents_for_insertion_mapper): Correctly
7257 check for open-open zero-length extents.
7259 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7261 * lisp.h: New typedefs Memory_count, Element_count.
7264 Sign-compare warning elimination: several unsigned -> signed.
7265 Based on work by Ben Wing <ben@xemacs.org>.
7267 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7269 * XEmacs 21.2.47 "Zephir" is released.
7271 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7273 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7275 2001-04-03 Mike Sperber <mike@xemacs.org>
7277 * search.c: Revert previous patch due because of release.
7279 2001-03-30 Ben Wing <ben@xemacs.org>
7282 Add missing killpg prototype.
7285 Add a comment about fixing problems when a new entry is added
7288 * frame-msw.c (mswindows_init_frame_1):
7289 Fix compile warnings.
7291 * menubar.c (vars_of_menubar):
7292 Provide `menu-accelerator-support' to indicate that we properly
7293 support %_ in menu specifications, so that package code can
7294 conditionalize on this (and remove %_ from menu specifications
7299 * scrollbar-msw.c (can_scroll):
7301 Fix handling of mouse wheel under Windows to follow standards --
7302 now scrolls window under pointer, not selected window.
7304 2001-03-31 Mike Sperber <mike@xemacs.org>
7306 * search.c (Freplace_match): Support FSF-style specification of
7307 match subexpression when applied to a buffer.
7309 2001-03-15 Martin Buchholz <martin@xemacs.org>
7311 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7312 function to modify KEYMAP, so map over a copy of the hash table.
7314 2001-03-21 Martin Buchholz <martin@xemacs.org>
7316 * XEmacs 21.2.46 "Urania" is released.
7318 2001-03-20 Dan Holmsand <dan@eyebee.com>
7320 * realpath.c (xrealpath): Make file-truename work with symlinks to
7321 /cygdrive paths on cygwin. Always lowercase drive-letters on
7323 (cygwin_readlink): Don't try to find canonical filename unless
7326 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7328 * ChangeLog: Log GTK merge.
7334 Revert gratuitous whitespace changes from GTK merge.
7336 * emacs.c: Document end of complex #ifdef @ l. 1495.
7339 2001-03-12 Andy Piper <andy@xemacs.org>
7341 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7342 have to do likewise.
7344 2001-03-12 Andy Piper <andy@xemacs.org>
7346 * sysdep.c: we only support mingw now.
7348 2001-03-09 Andy Piper <andy@xemacs.org>
7350 * unexcw.c (copy_executable_and_dump_data_section): making approx
7351 overrun a warning only.
7353 2001-03-10 William M. Perry <wmperry@aventail.com>
7355 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7356 satisfy Stephen's identical-after-cpp plea.
7358 2001-03-02 Ben Wing <ben@xemacs.org>
7361 * cmds.c (Fforward_char):
7365 Augment documentation of the most common motion commands to make
7366 note of the shifted-motion support.
7368 2001-03-02 Ben Wing <ben@xemacs.org>
7370 * nt.c (mswindows_fstat):
7371 * nt.c (mswindows_stat):
7372 * search.c (boyer_moore):
7373 Fix compile warnings under Windows.
7375 * sysdep.c (sys_readdir):
7376 Fix buggy filename-conversion code under Mule.
7378 2001-03-09 William M. Perry <wmperry@aventail.com>
7400 * redisplay-output.c:
7406 The Great GTK Merge.
7413 * emacs-widget-accessors.c:
7427 * native-gtk-toolbar.c:
7438 The Great GTK Merge: new files.
7440 2001-02-26 Ben Wing <ben@xemacs.org>
7442 Reapplied Lstream change.
7444 2001-02-26 Ben Wing <ben@xemacs.org>
7446 Undid the last change, since it is more controversial than I
7447 thought. It should be back in at some point soon.
7449 2001-02-25 Ben Wing <ben@xemacs.org>
7452 * callproc.c (Fold_call_process_internal):
7453 * event-msw.c (ntpipe_slurp_reader):
7454 * event-msw.c (ntpipe_shove_writer):
7455 * event-msw.c (winsock_reader):
7456 * event-msw.c (winsock_writer):
7458 * file-coding.c (detect_eol_type):
7459 * file-coding.c (detect_coding_type):
7460 * file-coding.c (determine_real_coding_system):
7461 * file-coding.c (Fdetect_coding_region):
7462 * file-coding.c (decoding_reader):
7463 * file-coding.c (decoding_writer):
7464 * file-coding.c (mule_decode):
7465 * file-coding.c (Fdecode_coding_region):
7466 * file-coding.c (encoding_reader):
7467 * file-coding.c (encoding_writer):
7468 * file-coding.c (mule_encode):
7469 * file-coding.c (Fencode_coding_region):
7470 * file-coding.c (detect_coding_sjis):
7471 * file-coding.c (decode_coding_sjis):
7472 * file-coding.c (encode_coding_sjis):
7473 * file-coding.c (detect_coding_big5):
7474 * file-coding.c (decode_coding_big5):
7475 * file-coding.c (encode_coding_big5):
7476 * file-coding.c (detect_coding_ucs4):
7477 * file-coding.c (decode_coding_ucs4):
7478 * file-coding.c (encode_coding_ucs4):
7479 * file-coding.c (detect_coding_utf8):
7480 * file-coding.c (decode_coding_utf8):
7481 * file-coding.c (encode_coding_utf8):
7482 * file-coding.c (detect_coding_iso2022):
7483 * file-coding.c (decode_coding_iso2022):
7484 * file-coding.c (encode_coding_iso2022):
7485 * file-coding.c (decode_coding_no_conversion):
7486 * file-coding.c (encode_coding_no_conversion):
7487 * glyphs-x.c (write_lisp_string_to_temp_file):
7488 * gpmevent.c (tty_get_foreign_selection):
7491 * lstream.c (Lstream_flush_out):
7492 * lstream.c (Lstream_adding):
7493 * lstream.c (Lstream_write_1):
7494 * lstream.c (Lstream_write):
7495 * lstream.c (Lstream_raw_read):
7496 * lstream.c (Lstream_read_more):
7497 * lstream.c (Lstream_read):
7498 * lstream.c (Lstream_unread):
7499 * lstream.c (Lstream_fputc):
7500 * lstream.c (stdio_reader):
7501 * lstream.c (stdio_writer):
7502 * lstream.c (filedesc_reader):
7503 * lstream.c (filedesc_writer):
7504 * lstream.c (lisp_string_reader):
7505 * lstream.c (struct fixed_buffer_stream):
7506 * lstream.c (make_fixed_buffer_input_stream):
7507 * lstream.c (make_fixed_buffer_output_stream):
7508 * lstream.c (fixed_buffer_reader):
7509 * lstream.c (fixed_buffer_writer):
7510 * lstream.c (struct resizing_buffer_stream):
7511 * lstream.c (resizing_buffer_writer):
7512 * lstream.c (dynarr_writer):
7513 * lstream.c (lisp_buffer_reader):
7514 * lstream.c (lisp_buffer_writer):
7516 * lstream.h (lstream_implementation):
7517 * lstream.h (struct lstream):
7519 * process-nt.c (nt_send_process):
7520 * process-unix.c (unix_send_process):
7522 Correct Lstream lossage due to mixing of signed and unsigned
7523 quantities. All Lstream uses of size_t and ssize_t are now a
7524 single signed data type Lstream_data_count. This fixes problems
7525 under Windows with sending large quantities of data to a process,
7526 and may well fix other subtle bugs.
7528 2001-02-23 Martin Buchholz <martin@xemacs.org>
7530 * XEmacs 21.2.45 "Thelxepeia" is released.
7532 2001-02-21 Martin Buchholz <martin@xemacs.org>
7534 * lisp-union.h (XSETINT):
7537 Reverse previous change of 2001-02-06.
7539 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7541 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7543 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7544 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7545 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7546 * regex.c (POS_AS_IN_BUFFER): removed
7547 * regex.c (re_search_2):
7548 * regex.c (re_match_2):
7549 Don't use an offset of 1 when calculating buffer positions, since
7550 `BI_BUF_BEGV' does it already.
7552 2001-02-18 Wim Dumon <wim@easics.be>
7554 * insdel.c (prepare_to_modify_buffer): Also check for
7555 supersession when clash-detection is enabled.
7557 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7559 * regex.c (re_match_2_internal):
7560 Convert temp characters from 'const unsigned char' to 're_char'.
7561 Fix crashing bug with extended characters under mule.
7562 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7563 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7564 font-lock, pdump, and new syntax-table code.
7565 * syntax.c (find_start_of_comment):
7566 (find_end_of_comment):
7568 Fix crashing bugs involving moving beyond end of buffer.
7569 * syntax.c (find_start_of_comment):
7570 Fixed logic to allow proper detection of cases where the same
7571 character is used to end both a two-char comment start and a
7572 two-char comment end sequence. Fixes `(forward-comment -1)'.
7573 * syntax.c (find_start_of_comment):
7574 Return position just past last comment-end character for all cases
7575 (previously was only done for two-char comment-end sequences).
7576 * syntax.c (forward-comment):
7577 Take value returned from `find_end_of_comment', rather than
7579 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7580 Properly deal with BUFFERP (syntax_cache.object)
7582 2001-02-17 Martin Buchholz <martin@xemacs.org>
7584 * alloc.c (Fgarbage_collect):
7585 * alloc.c (make_bit_vector_from_byte_vector):
7586 -Wsign-compare-correctness.
7588 2001-02-16 Martin Buchholz <martin@xemacs.org>
7590 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7591 (XSETCHAR): Likewise.
7592 (XSETOBJ): Likewise.
7594 2001-02-15 Martin Buchholz <martin@xemacs.org>
7596 * mule-canna.c (canna-func-delete_previous):
7597 Rename to canna-func-delete-previous.
7599 2001-02-14 Martin Buchholz <martin@xemacs.org>
7601 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7603 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7605 * font-lock.c (find_context): Fix C++ compile errors introduced by
7608 2001-02-13 Martin Buchholz <martin@xemacs.org>
7610 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7611 pragma, but earlier ones barf on the same pragma.
7613 2001-02-06 Mike Sperber <mike@xemacs.org>
7615 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7616 `configure-mule-lisp-directory'.
7618 2001-02-12 Martin Buchholz <martin@xemacs.org>
7620 Make sure dump-id.c is compiled in the same way as other .c's.
7621 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7622 * dump-id.h: Remove.
7623 * emacs.c: Move dump-id.h into dumper.h.
7624 * dumper.h: Move dump-id.h into dumper.h.
7626 Use standard .c.o rule for building dump-id.o.
7627 Remove preprocessor flags from link command.
7628 Add dump-id.o to ${otherobjs} if PDUMP.
7630 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7632 Port FSF 20.7 syntax table improvements.
7636 Fixups for new syntax table stuff.
7637 * dired.c: Include syntax.c.
7638 (Fdirectory_files): Initialize regex_match_object and
7640 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7641 and Fget_char_property.
7643 Use ported FSF 20.7 syntax table improvements.
7648 2001-02-09 Martin Buchholz <martin@xemacs.org>
7650 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7651 Unixware's enum boolean from sys/types.h.
7653 2001-02-10 Martin Buchholz <martin@xemacs.org>
7655 Fix support for building with latest Purify.
7656 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7657 (PURIFY_FLAGS): Likewise.
7659 2001-02-09 Martin Buchholz <martin@xemacs.org>
7661 * fileio.c (lisp_string_set_file_times): New.
7662 * fileio.c (Fcopy_file): Use it.
7664 (copy-file filename non-ascii-filename t t)
7665 ==> No such file or directory, non-ascii-filename
7667 2001-02-10 Martin Buchholz <martin@xemacs.org>
7669 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7670 USHRT_MAX seems clearer than ~0 anyways.
7672 2001-02-09 Martin Buchholz <martin@xemacs.org>
7674 dumper improvements. Inspired by Olivier.
7675 * dumper.c (pdump_max_align): New.
7676 * dumper.c (pdump_add_entry): Use pdump_max_align.
7677 * dumper.c (pdump_get_entry_list): Likewise.
7678 * dumper.c (pdump_scan_by_alignment): Likewise.
7679 Don't iterate through unnecessary alignments.
7680 * dumper.c (pdump_file_get): No need to align result of malloc().
7681 * dumper.c (pdump_mallocadr): Remove.
7682 The result of malloc() is guaranteed to be maximally aligned.
7683 * dumper.c: s/elmt/elt/g;
7684 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7685 * dumper.c (pdump_alert_undump_object): Likewise.
7686 * dumper.c (pdump_align_table):
7687 Don't support alignments > 64.
7688 Store ALIGNOF's, not shift counts, in table.
7690 2001-02-09 Martin Buchholz <martin@xemacs.org>
7692 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7693 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7694 * systime.h: Use HAVE_UTIME.
7695 * sysdep.c (struct utimbuf): Remove.
7696 * sysdep.c (set_file_times): Prefer utime() to utimes().
7697 * config.h.in (HAVE_UTIME): New.
7698 * config.h.in (HAVE_UTIME_H): Remove.
7699 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7701 2001-02-09 Martin Buchholz <martin@xemacs.org>
7703 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7705 2001-02-08 Martin Buchholz <martin@xemacs.org>
7707 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7709 2001-02-08 Martin Buchholz <martin@xemacs.org>
7711 * XEmacs 21.2.44 "Thalia" is released.
7713 2001-02-06 Martin Buchholz <martin@xemacs.org>
7715 Fixes crashes in kill-emacs on some systems.
7716 * process-unix.c (unix_kill_child_process):
7717 It's OK for kill() to fail with ESRCH.
7719 2001-02-07 Martin Buchholz <martin@xemacs.org>
7721 Contortions to make .gdbinit tricks work on most systems.
7722 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7723 * alloc.c (dbg_valmask): Make non-const.
7724 * alloc.c (dbg_typemask): Make non-const.
7725 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7726 * alloc.c (dbg_valbits): Make non-const.
7727 * alloc.c (dbg_gctypebits): Make non-const.
7728 * .gdbinit (decode_object): Make it work with AIX cc.
7730 2001-02-06 Martin Buchholz <martin@xemacs.org>
7732 * elhash.c (make_general_lisp_hash_table):
7733 Use simpler and more efficient calloc to clear entries.
7735 2001-02-07 Martin Buchholz <martin@xemacs.org>
7737 * window.c (window_scroll): Work around an AIX C compiler bug.
7738 Fixes 'scroll-up' does nothing problem with xlC.
7740 2001-02-05 Martin Buchholz <martin@xemacs.org>
7742 * .gdbinit: Remove obsolete comment.
7744 2001-01-31 Mike Alexander <mta@arbortext.com>
7746 * select.c (Fown_selection_internal): Set owned_p for device
7749 2001-02-01 Martin Buchholz <martin@xemacs.org>
7752 "not" cannot be used as a macro name as it is an operator in C++
7753 * config.h.in: Stop #defining `not'.
7754 * chartab.c (check_category_char): not ==> not_p
7755 * chartab.h: Likewise.
7756 * regex.c (re_match_2_internal): Likewise.
7758 2001-02-02 Martin Buchholz <martin@xemacs.org>
7760 * lisp-disunion.h: Fix up comments.
7762 2001-01-31 Martin Buchholz <martin@xemacs.org>
7764 * keymap.c (define_key_check_and_coerce_keysym):
7766 Support mouse-6 and mouse-7 bindings in the obvious way.
7768 2001-02-01 Martin Buchholz <martin@xemacs.org>
7770 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7772 2001-01-30 Martin Buchholz <martin@xemacs.org>
7774 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7775 Previous patch missed DEFVAR_INT_MAGIC.
7776 Make sure future DEFVAR_foo use correct types.
7777 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7778 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7779 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7780 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7781 * (DEFVAR_INT): Likewise.
7782 * redisplay.c (vertical_clip): Should be of type Fixnum.
7783 * redisplay.c (horizontal_clip): Likewise.
7784 * lisp.h (dump_add_opaque_int): New.
7785 (dump_add_opaque_fixnum): New.
7787 2001-01-29 Andy Piper <andy@xemacs.org>
7789 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7790 since they can be eval'ed
7792 2001-01-29 Martin Buchholz <martin@xemacs.org>
7794 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7795 Oops, XEmacs redefines `class'. Use `typename' instead.
7797 2001-01-28 Martin Buchholz <martin@xemacs.org>
7799 * dumper.c: Fix C++ compile errors.
7801 2001-01-29 Martin Buchholz <martin@xemacs.org>
7803 * tparam.c: Use correct prototypes.
7805 2001-01-28 Martin Buchholz <martin@xemacs.org>
7807 * sysproc.h: #include util.h for NetBSD's openpty.
7809 2001-01-27 Martin Buchholz <martin@xemacs.org>
7811 More 64-bit correctness.
7812 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7813 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7815 This finally finishes the 64-bit SGI port.
7816 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7817 * symbols.c: Fix up comments and type casts.
7818 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7819 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7820 * symeval.h (Fixnum): New type.
7821 * symeval.h (symbol_value_type): Fix up comment.
7837 * mule-canna.c: A million DEFVAR_INTs here...
7838 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7851 s/int/Fixnum/g in DEFVAR_INT declarations.
7853 2001-01-26 Martin Buchholz <martin@xemacs.org>
7855 Port pdump to SGI alignment-sensitive environment.
7856 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7857 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7859 Define and use aligned reading and writing macros.
7860 Use buffered stdio instead of posix i/o for faster dumping.
7861 Eliminate kludgy 256 byte space for header.
7862 Read and write from dump file using structs for alignment safety.
7863 * dumper.c (pdump_align_stream): New.
7864 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7865 * dumper.c (PDUMP_READ_ALIGNED): New.
7866 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7867 * dumper.c (pdump_static_Lisp_Object): New struct.
7868 * dumper.c (pdump_static_pointer): New struct.
7869 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7870 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7871 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7872 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7874 * dumper.c (pdump_backtrace):
7875 * dumper.c (pdump_get_indirect_count):
7876 * dumper.c (pdump_register_object):
7877 * dumper.c (pdump_register_struct):
7878 * dumper.c (pdump_reloc_one):
7879 * dumper.c (pdump_scan_by_alignment):
7880 * dumper.c (pdump_dump_from_root_struct_ptrs):
7881 * dumper.c (pdump_dump_opaques):
7882 * dumper.c (pdump_dump_rtables):
7883 * dumper.c (pdump_dump_from_root_objects):
7885 * dumper.c (pdump_load_finish):
7886 Use aligned reading and writing.
7888 * dumper.c (pdump_free): Make static.
7889 * dumper.c (pdump_hFile): Likewise.
7890 * dumper.c (pdump_hMap): Likewise.
7892 2001-01-26 Martin Buchholz <martin@xemacs.org>
7894 * XEmacs 21.2.43 "Terspichore" is released.
7896 2001-01-25 Martin Buchholz <martin@xemacs.org>
7898 Type fiddling for window_config.saved_windows_count
7899 * window.c (struct window_config):
7900 Make saved_windows_count member unsigned.
7901 * window.c (sizeof_window_config_for_n_windows):
7902 Make parameter unsigned.
7903 * window.c (mark_window_config):
7904 * window.c (window_config_equal):
7905 * window.c (free_window_configuration):
7906 * window.c (Fset_window_configuration):
7907 * window.c (count_windows):
7908 * window.c (Fcurrent_window_configuration):
7909 * window.c (reinit_vars_of_window):
7910 Update all callers and users.
7912 2001-01-25 Martin Buchholz <martin@xemacs.org>
7914 Alignment correctness for flexible arrays.
7915 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7916 Make alignment-correct. Add interesting comments.
7917 * alloc.c (size_vector):
7918 * alloc.c (make_vector_internal):
7919 * alloc.c (make_bit_vector_internal):
7920 * alloc.c (sweep_bit_vectors_1):
7921 * fns.c (size_bit_vector):
7922 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7923 * window.c (sizeof_window_config_for_n_windows):
7924 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7926 2001-01-24 Martin Buchholz <martin@xemacs.org>
7928 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7930 2001-01-23 Andy Piper <andy@xemacs.org>
7932 * select.c (Fown_selection_internal): pass owned_p
7934 * select-msw.c (mswindows_own_selection): New Signature.
7936 * console.h (struct console_methods): add owned_p to
7939 * select-x.c (x_own_selection): pass owned_p
7940 (hack_motif_clipboard_selection): use owned_p
7941 (vars_of_select_x): new variable -
7942 x_selection_strict_motif_ownership.
7944 2001-01-23 Martin Buchholz <martin@xemacs.org>
7946 * specifier.h (specifier_data_offset): Remove pointless parens.
7947 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7949 2001-01-24 Martin Buchholz <martin@xemacs.org>
7951 Make Lisp_Object sizeof methods be alignment-correct.
7952 pdump must restore objects to the same alignment as the C compiler
7953 assumes. It really matters on SGIs.
7954 * lstream.c (aligned_sizeof_lstream): New.
7955 (sizeof_lstream): Use aligned_sizeof_lstream.
7956 (Lstream_new): Likewise.
7957 * opaque.c (aligned_sizeof_opaque): New.
7958 (sizeof_opaque): Use aligned_sizeof_opaque.
7959 (make_opaque): Likewise.
7960 * specifier.c (aligned_sizeof_specifier): New.
7961 (sizeof_specifier): Use aligned_sizeof_specifier.
7962 (make_specifier_internal): Likewise.
7964 2001-01-23 Martin Buchholz <martin@xemacs.org>
7966 * lstream.h (struct lstream): Use max_align_t for trailing data.
7967 * specifier.h (struct Lisp_Specifier): Likewise.
7969 2001-01-22 Martin Buchholz <martin@xemacs.org>
7971 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7972 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7973 (CCL_SUSPEND): Likewise.
7974 (CCL_INVALID_CMD): Likewise.
7975 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7976 (ccl_driver): Likewise.
7977 (CCL_WRITE_CHAR): Macro hygiene.
7978 (CCL_WRITE_STRING): Macro hygiene.
7980 2001-01-22 Martin Buchholz <martin@xemacs.org>
7982 Port "portable" dumper to SunOS 4 and HP-UX.
7983 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7984 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7985 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7987 2001-01-22 Martin Buchholz <martin@xemacs.org>
7989 * lisp.h (ALIGNOF): A better definition for C++.
7991 2001-01-20 Martin Buchholz <martin@xemacs.org>
7994 Fix printf warnings: int format, long int arg.
7995 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7996 (PUSH_FAILURE_POINT): Use correct printf formats.
7997 (POP_FAILURE_POINT): Use correct printf formats.
7998 Use do {...} while (0)
8000 2001-01-20 Martin Buchholz <martin@xemacs.org>
8002 * XEmacs 21.2.42 "Poseidon" is released.
8004 2001-01-20 Martin Buchholz <martin@xemacs.org>
8006 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8008 2001-01-19 Martin Buchholz <martin@xemacs.org>
8010 De-kludgify FIXED_TYPE free list frobbing.
8011 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8012 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8013 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8014 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8015 * alloc.c (LRECORD_FREE_P): New.
8016 * alloc.c (MARK_LRECORD_AS_FREE): New.
8017 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8018 * alloc.c (STRUCT_FREE_P): Deleted.
8019 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8020 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8021 * alloc.c (STRING_CHARS_FREE_P): New.
8022 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8023 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8024 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8025 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8026 * alloc.c (resize_string): Use new definitions.
8027 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8028 * alloc.c (verify_string_chars_integrity): Use new definitions.
8029 * alloc.c (compact_string_chars): Use new definitions.
8030 * alloc.c: Update monster comments.
8031 * lrecord.h (lrecord_type): Add some new lrecord types for
8034 2001-01-18 Martin Buchholz <martin@xemacs.org>
8036 Improve alignment hackery.
8037 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8038 (max_align_t): Moved from opaque.h - general purpose.
8039 (ALIGN_PTR): Use size_t, not long.
8040 * opaque.h (max_align_t): Move to lisp.h.
8042 2001-01-18 Norbert Koch <nk@LF.net>
8044 * gui.h: Fix and add prototypes to fix build problems.
8046 2001-01-18 Martin Buchholz <martin@xemacs.org>
8048 temacs is going away, so `dump-temacs' is now a bad name.
8049 * .dbxrc (dump-temacs): Rename to `dmp'.
8050 * .gdbinit (dump-temacs): Rename to `dmp'.
8052 2001-01-17 Andy Piper <andy@xemacs.org>
8054 * glyphs.c (print_image_instance): comment to make martin happy.
8056 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8059 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8061 (mswindows_tab_control_redisplay): warning suppression.
8063 * glyphs-widget.c (widget_update): re-write to cope with updated
8065 (widget_instantiate): use new gui_item functions.
8066 (tab_control_update): deleted.
8067 (progress_gauge_update): deleted.
8068 (image_instantiator_progress_guage): take out update reference.
8069 (image_instantiator_tree_view): ditto.
8070 (image_instantiator_tab_control): ditto.
8072 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8074 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8075 return whether anything was changed.
8076 (update_gui_item_keywords): as it sounds.
8078 * gui.h: declare widget_gui_parse_item_keywords.
8080 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8081 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8083 2001-01-17 Martin Buchholz <martin@xemacs.org>
8085 * XEmacs 21.2.41 "Polyhymnia" is released.
8087 2001-01-16 Didier Verna <didier@xemacs.org>
8089 * glyphs.c (image_instantiate): don't use fallbacks when
8090 instantiating a face's background pixmap by inheritance.
8092 2001-01-14 Mike Sperber <mike@xemacs.org>
8094 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8095 Conditionalize accordingly.
8097 2001-01-16 Martin Buchholz <martin@xemacs.org>
8099 * dumper.c (pdump_file_get): Fix a compiler warning.
8101 2001-01-15 Martin Buchholz <martin@xemacs.org>
8103 Make Purify happy when pdumping.
8104 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8105 iniitalizing all bits of new lisp object memory.
8106 * symbols.c (Fmake_local_variable): Likewise.
8107 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8108 * symbols.c (Fdefvaralias): Likewise.
8109 * mule-charset.c (vars_of_mule_charset): Likewise.
8111 2001-01-15 Martin Buchholz <martin@xemacs.org>
8112 Add the `-nd' flag when running pre-dump operations under the debugger.
8113 * .dbxrc (run-temacs): Add `-nd'.
8114 * .dbxrc (update-elc): Likewise.
8115 * .dbxrc (dump-temacs): Likewise.
8116 * .gdbinit (run-temacs): Likewise.
8117 * .gdbinit (check-temacs): Likewise.
8118 * .gdbinit (update-elc): Likewise.
8119 * .gdbinit (dump-temacs): Likewise.
8121 2001-01-14 Martin Buchholz <martin@xemacs.org>
8123 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8124 export OBJECT_MODE=64
8125 configure --pdump --use-union-type=no
8126 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8127 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8129 * miscplay.c (sndcnv8U_2mono):
8130 Avoid two uses of `++' in the same expression.
8131 Suppresses a GCC warning.
8133 2001-01-13 Martin Buchholz <martin@xemacs.org>
8135 Make sure future compilers don't miscompile alloc.c.
8137 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8138 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8140 2001-01-12 Martin Buchholz <martin@xemacs.org>
8142 * dumper.c: A little post-pdump-rename comment fixup.
8144 2001-01-09 Jerry James <james@eecs.ku.edu>
8146 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8148 2001-01-13 Martin Buchholz <martin@xemacs.org>
8150 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8154 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8157 replace_symbol pdump_wire_lists pdump_weak_object_chains
8158 replace_symbol pdump_wire_list dump_add_weak_object_chain
8160 replace_symbol pdump_wires pdump_root_objects
8161 replace_symbol pdump_wire dump_add_root_object
8163 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8164 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8166 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8167 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8168 replace_symbol dumpstructinfo pdump_root_struct_ptr
8169 replace_symbol dumpstruct dump_add_root_struct_ptr
8171 replace_symbol dumpopaque dump_add_opaque
8172 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8173 replace_symbol dumpopaqueinfos pdump_opaques
8174 replace_symbol dumpopaqueinfo pdump_opaque
8176 replace_symbol nb_structdump nb_root_struct_ptrs
8177 replace_symbol nb_opaquedump nb_opaques
8179 replace_symbol align_table pdump_align_table
8180 replace_symbol dump_header pdump_header
8182 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8183 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8186 2001-01-12 Martin Buchholz <martin@xemacs.org>
8188 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8189 optimizing bytecount_to_charcount().
8191 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8194 (HAVE_DLFCN_H): Removed.
8195 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8197 2001-01-06 Martin Buchholz <martin@xemacs.org>
8199 Portable dumper maintainability improvements.
8200 * alloc.c (staticpro):
8201 * alloc.c (staticpro_nodump):
8202 * alloc.c (garbage_collect_1):
8203 * alloc.c (reinit_alloc_once_early):
8204 * alloc.c (init_alloc_once_early):
8205 * alloc.c: Move dumper functions to alloc.c.
8206 * dumper.c (pdump_backtrace):
8207 * dumper.c (pdump_dump_structs):
8208 * dumper.c (pdump_dump_opaques):
8209 * dumper.c (pdump_dump_rtables):
8210 * dumper.c (pdump_dump_wired):
8212 * dumper.c (pdump_load_check):
8213 * dumper.c (pdump_load_finish):
8214 * dumper.c (pdump_file_unmap):
8215 * dumper.c (pdump_file_get):
8216 * dumper.c (pdump_resource_free):
8217 * dumper.c (pdump_resource_get):
8218 * dumper.c (pdump_file_free):
8219 * dumper.c (pdump_file_try):
8220 * dumper.c (pdump_load):
8221 Remove fixed size limits on staticpro(), staticpro_nodump(),
8222 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8223 Remove custom code for dumping lrecord_implementations_table - use
8225 Remove (most of the) custom code for dumping staticpros - dump it
8226 like any other dynarr.
8228 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8229 * dumper.c: Moved functions from alloc.c.
8230 * alloc.c (dumpstruct): Moved to dumper.c.
8231 * alloc.c (dumpopaque): Likewise.
8232 * alloc.c (pdump_wire): Likewise.
8233 * alloc.c (pdump_wire_list): Likewise.
8235 * lisp.h (Dynarr_sizeof): New.
8236 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8237 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8238 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8240 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8241 * lisp.h (dumpopaque): ditto.
8242 * lisp.h (pdump_wire): ditto.
8243 * lisp.h (pdump_wire_list): ditto.
8245 2001-01-09 Martin Buchholz <martin@xemacs.org>
8247 * make-src-depend (PrintPatternDeps):
8248 Use `sort' to make output independent of perl version.
8250 2001-01-08 Martin Buchholz <martin@xemacs.org>
8253 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8254 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8256 2001-01-03 Didier Verna <didier@xemacs.org>
8258 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8259 that `focus_frame' is alive before thinking of calling
8260 `redisplay_redraw_cursor' on it.
8262 2001-01-08 Martin Buchholz <martin@xemacs.org>
8264 * XEmacs 21.2.40 is released.
8266 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8268 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8270 2001-01-06 Martin Buchholz <martin@xemacs.org>
8272 * alloc.c (dbg_valmask): Make const.
8273 * alloc.c (dbg_typemask): Make const.
8274 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8275 * alloc.c (dbg_valbits): Make const.
8276 * alloc.c (dbg_gctypebits): Make const.
8278 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8280 * redisplay-x.c (x_bevel_area):
8281 redisplay.h (struct rune):
8282 Typo fixes in comments.
8284 2001-01-05 Andy Piper <andy@xemacs.org>
8286 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8289 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8291 2001-01-05 Martin Buchholz <martin@xemacs.org>
8293 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8295 * mule-ccl.c (stack_idx_of_map_multiple):
8296 Non const global data must not be initialized!
8297 Found by MIYASHITA Hisashi.
8299 2001-01-02 Andy Piper <andy@xemacs.org>
8301 * frame.c (change_frame_size): make sure frame size is always
8304 * glyphs.c (image_instance_layout): minor code reuse.
8306 * window.c (Fcurrent_window_configuration): revert previous
8309 2001-01-02 Martin Buchholz <martin@xemacs.org>
8312 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8314 2000-12-31 Andy Piper <andy@xemacs.org>
8316 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8317 when widget gets unmapped.
8319 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8320 function. Make sure widgets losing focus don't just drop it.
8321 (handle_focus_event_1): record the widget with focus.
8323 2000-12-31 Andy Piper <andy@xemacs.org>
8325 * window.c (allocate_window): use
8326 make_image_instance_cache_hash_table.
8327 (make_dummy_parent): ditto.
8328 (Fset_window_configuration): ditto.
8330 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8332 * glyphs.c (process_image_string_instantiator): use
8334 (get_image_instantiator_governing_domain): ditto.
8335 (normalize_image_instantiator): ditto.
8336 (instantiate_image_instantiator): ditto.
8337 (make_image_instance_1): ditto.
8338 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8339 (instantiator_eq_equal): new function for use with instance hash
8341 (instantiator_eq_hash): ditto.
8342 (make_image_instance_cache_hash_table): create a suitable hash
8343 table for storing image instances.
8345 * elhash.h (hash_table_weakness): new internal weakness type
8346 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8347 declare new functions.
8349 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8350 another weakness type for glyphs.
8351 (make_standard_lisp_hash_table): new function split out from
8352 make_general_lisp_hash_table.
8353 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8354 (hash_table_instantiate): ditto.
8355 (Fmake_hash_table): ditto.
8357 2000-12-31 Martin Buchholz <martin@xemacs.org>
8359 * XEmacs 21.2.39 is released.
8361 2000-12-29 Andy Piper <andy@xemacs.org>
8363 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8365 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8366 the frame has changed so that we pick up geometry changes such as
8369 2000-12-28 Andy Piper <andy@xemacs.org>
8371 * lastfile.c (my_ebss): make a char array so we can pad the
8372 bss. Fixes cygwin unexec.
8374 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8376 2000-12-26 Andy Piper <andy@xemacs.org>
8378 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8379 comments and try and be more precise about a non-/SIGIO world.
8380 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8383 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8384 we don't normalize to zero width or height.
8386 2000-12-24 Andy Piper <andy@xemacs.org>
8388 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8390 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8392 * s/sco5.h: SCO 5 has pty support.
8394 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8396 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8397 input-method-xlib.c contains whole contents of input-method-xfs.c,
8398 so we can use input-method-xlib.c's code for USE_XFONTSET
8400 * input-method-xfs.c: removed.
8402 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8404 * file-coding.h (enum coding_category_type): reorder enumerators to
8405 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8406 (now one greater than largest real coding_category_type enumerator).
8407 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8408 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8409 Fcoding_category_list, Fset_coding_priority_list,
8410 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8411 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8413 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8415 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8416 * redisplay-output.c (redisplay_output_window): Clear top of window
8417 when face is changed.
8418 * redisplay-x.c (x_redraw_exposed_window): Call
8419 redisplay_clear_top_of_window.
8420 * redisplay.h: Publish redisplay_clear_top_of_window.
8422 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8424 * buffer.c (Fkill_buffer): Map over all devices.
8425 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8426 (list_windows): New function.
8427 (list_all_windows): Ditto.
8428 (Freplace_buffer_in_windows): Use them.
8430 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8432 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8433 (Fopen_database): Use `db_create' instead of `db_open'.
8434 (syms_of_database): Initialize Qqueue.
8436 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8438 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8439 buffer_local_face_property.
8440 * buffer.h (struct buffer): New member buffer_local_face_property.
8441 * window.c (Fset_window_buffer): Mark window's face as changed
8442 when buffer has buffer local face.
8443 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8444 * objects.c (color_after_change): Set buffer_local_face_property
8445 when locale of face specifier is buffer.
8446 * objects.c (font_after_change): Ditto.
8447 * objects.c (face_boolean_after_change): Ditto.
8448 * glyphs.c (image_after_change): Ditto.
8450 2000-12-09 Dan Holmsand <dan@eyebee.com>
8452 * nt.c (mswindows_fstat): Report file permissions, volume serial
8453 number, etc. Code adapted from FSF Emacs 20.7.
8455 2000-12-09 Dan Holmsand <dan@eyebee.com>
8457 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8458 of stat when we don't have symbolic links, to make sure
8459 mswindows_stat is called on mswindows.
8461 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8463 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8465 2000-12-12 Martin Buchholz <martin@xemacs.org>
8467 * doprnt.c (emacs_doprnt_1): More printing fixes.
8468 Make printing of numbers compatible with libc and FSF Emacs.
8469 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8470 Use the system printf to do most of the hard work of formatting,
8471 instead of doprnt_1().
8472 Calculate memory to allocate for format string.
8473 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8474 (doprnt_1): Cleaner code and documentation.
8476 2000-12-01 Jerry James <james@eecs.ukans.edu>
8478 * Makefile.in.in: Use the loop variable to install headers.
8480 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8482 * window.c (Fsplit_window): Don't invalidate face cache.
8484 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8486 * minibuf.c (Fall_completions): Undo the previous change
8487 which removed checking elements start with space.
8489 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8491 * mule-canna.c: Didier suppression.
8493 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8495 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8496 (warning suppression). Add English comment translations.
8498 2000-12-05 Martin Buchholz <martin@xemacs.org>
8500 * unexelfsgi.c (unexec): Better test for mmap failure.
8502 2000-12-05 Martin Buchholz <martin@xemacs.org>
8504 * XEmacs 21.2.38 is released.
8506 2000-12-05 Martin Buchholz <martin@xemacs.org>
8508 * redisplay.c (bar-cursor): Make a user variable.
8510 * symsinit.h: Add init_postgresql_from_environment.
8512 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8514 * regex.c: Convert to clean C.
8516 2000-12-05 Dan Holmsand <dan@eyebee.com>
8519 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8521 (sys_readlink): renamed to system_readlink to avoid conflict with
8522 the other sys_readlink.
8524 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8526 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8528 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8530 * postgresql.c (init_postgresql_from_environment): new function.
8531 (vars_of_postgresql): Move code initializing Lisp variables out and
8532 into init_postgresql_from_environment.
8533 emacs.c (main_1): Call init_postgresql_from_environment if and only
8534 if running a dumped XEmacs.
8536 2000-08-31 Dan Holmsand <dan@eyebee.com>
8538 * buffer.c: Make find-file-compare-truenames default to true on
8541 * realpath.c (win32_abs_start):
8543 (win32_readlink): New functions.
8544 (xrealpath): Return really real filenames on windows.
8546 * fileio.c (Ffile_truename): Make file-truename work on windows.
8548 2000-11-29 Didier Verna <didier@xemacs.org>
8550 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8551 * faces.c (update_face_cachel_data): use it.
8552 * faces.c (add_face_cachel): use it. Complete background pixmap
8553 frobbing in face cache if `update_face_cachel_data' has not done so.
8555 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8557 * search.c (string_match_1): Don't set last_thing_searched
8560 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8562 * buffer.c: Include casetab.h
8563 (common_init_complex_vars_of_buffer): Use new case-table object.
8564 * buffer.h: Include casetab.h
8565 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8566 (DOWNCASE_TABLE_OF): Ditto.
8567 * bufslots.h: Remove char-tables and add case-table.
8568 * casetab.c: Include casetab.h
8569 (CASE_TABLE_P): Removed.
8570 (mark_case_table): New function.
8571 (allocate_case_table): New function.
8572 (Fcase_table_p): Use new case-table.
8573 (case_table_char): New function.
8574 (Fget_case_table): Ditto.
8575 (Fput_case_table): Ditto.
8576 (Fput_case_table_pair): Ditto.
8577 (Fcopy_case_table): Ditto.
8578 (Fcurrent_case_table): Return case-table.
8579 (Fstandard_case_table): Return case-table.
8580 (Fset_case_table): Fix doc-string.
8581 (set_case_table): Use case-table
8582 (syms_of_casetab): DEFSUBR new functions.
8583 (complex_vars_of_casetab): Set up standard case-table.
8584 * casetab.h: New file.
8585 * editfns.c: Include casetab.h
8586 (Fcompare_buffer_substrings): Use case-table.
8587 * inline.c: Include casetab.h
8588 * lisp.h: Remove bogus extern.
8589 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8590 * search.c: Include casetab.h
8591 (TRANSLATE_ASCII): Removed.
8592 (TRANSLATE): Unconditionally translate character.
8593 (looking_at_1): Use case-table.
8594 (string_match_1): Ditto.
8595 (fast_string_match): Ditto.
8596 (search_command): Ditto.
8597 (search_buffer): Separate boyer_moore. Check whether
8598 boyer_moore is possible.
8599 (simple_search): New function.
8600 (boyer_moore): Separated from search_buffer. Translate char.
8602 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8604 * regex.c (RE_TR_ASCII): Removed.
8605 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8606 (PATFETCH): Call PATFETCH_RAW.
8607 (PATFETCH_RAW): Fetch Emchar.
8608 (PATUNFETCH): Decrement charptr.
8609 (GET_BUFFER_SPACE): Rename b to buf_end.
8611 (BUF_PUSH_2): Ditto.
8612 (BUF_PUSH_3): Ditto.
8613 (EXTEND_BUFFER): Ditto.
8614 (SET_LIST_BIT): Ditto.
8615 (regex_compile): Ditto. Translate non ASCII char.
8616 (compile_range): Ditto.
8617 (re_search_2): Ditto.
8618 (re_match_2_internal): Compare Emchar.
8619 (bcmp_translate): Ditto.
8621 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8623 * lisp.h (basic char/int typedefs): comment improvement.
8625 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8627 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8628 unstomp inhibit_site_lisp. Improve comments.
8630 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8632 * mule-charset.c (Fcharset_property): improve type checking, comments.
8634 2000-11-28 Andy Piper <andy@xemacs.org>
8636 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8637 clipped display for windows in the gutter also.
8638 (redisplay_display_boxes_in_window_p): change semantics of return
8639 codes to be more intuitive.
8641 * gutter.h: declare display_boxes_in_gutter_p.
8643 * gutter.c (display_boxes_in_gutter_p): new function for
8646 2000-11-22 Andy Piper <andy@xemacs.org>
8648 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8651 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8653 * callproc.c (Fold_call_process_internal):
8654 * gpm.c (Freceive_gpm_event):
8655 (tty_get_foreign_selection): Might be just warning supression.
8656 * fileio.c (Fwrite_region_internal):
8657 (Fset_visited_file_modtime):
8658 * keymap.c (event_matches_key_specifier_p):
8659 Initialize GCPROed variable.
8661 * menubar-x.c (command_builder_find_menu_accelerator):
8662 Initialize before use.
8664 2000-11-23 Andy Piper <andy@xemacs.org>
8666 * unexcw.c (unexec): make the resulting executable executable.
8668 2000-11-21 Martin Buchholz <martin@xemacs.org>
8670 * doc.c (get_doc_string):
8671 Use size_t, not int, for result of XSTRING_LENGTH.
8673 * cmds.c (Fdelete_char):
8674 * cmds.c (Fpoint_at_eol):
8675 * cmds.c (Fself_insert_command):
8676 Use EMACS_INT, not int, for result of XINT.
8677 Someday, someone will want to insert more than 2**31 identical characters.
8679 * cmds.c (Fdelete_char):
8680 * cmds.c (Fdelete_backward_char):
8681 * syntax.c (Fforward_word):
8682 * syntax.c (Fforward_comment):
8683 Make COUNT argument optional, for consistency with forward-char et al.
8685 2000-11-22 Martin Buchholz <martin@xemacs.org>
8688 * print.c (long_to_string):
8689 Return a useful value: the pointer at end of data written.
8692 Use `static const char * const' for constant strings.
8693 (union printf_arg): Delete `i', `ui' members.
8696 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8697 Do all printf-ing via the `l' specifier.
8698 Use EMACS_INT instead of int.
8701 2000-11-20 Didier Verna <didier@xemacs.org>
8703 * faces.c (update_face_cachel_data): don't frob the background
8704 pixmap when the window is being created. The face is needed but
8707 2000-11-20 Andy Piper <andy@xemacs.org>
8709 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8710 messing with a debug environment.
8712 2000-11-20 Martin Buchholz <martin@xemacs.org>
8714 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8716 2000-11-20 Martin Buchholz <martin@xemacs.org>
8718 * casetab.c (Fcase_table_p): Fix compile error and crash.
8720 2000-11-18 Philip Aston <philipa@mail.com>
8722 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8724 2000-11-18 Martin Buchholz <martin@xemacs.org>
8726 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8727 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8729 2000-11-17 Martin Buchholz <martin@xemacs.org>
8731 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8732 * unexelf.c: Use HAVE_ELF_H.
8733 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8734 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8735 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8736 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8738 So this is an unexelfsgi.c from a different line of development.
8740 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8742 * regex.c (RE_TR_ASCII): New function.
8743 (RE_TRANSLATE): Call it.
8745 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8747 * buffer.h (TRT_TABLE_OF): Remove assert.
8748 (IN_TRT_TABLE_DOMAIN): Removed.
8750 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8752 * free-hook.c (log_gcpro):
8753 (show_gcprohist): Add support for GCPRO5.
8755 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8757 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8759 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8761 * symeval.h: Declare flush_all_buffer_local_cache.
8763 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8764 (flush_buffer_local_cache): Added.
8765 (flush_all_buffer_local_cache): Added.
8767 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8769 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8770 (pdump_dump_data): Ditto.
8771 (pdump_reloc_one): Ditto.
8772 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8776 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8778 * buffer.c: Remove if 0'ed entry.
8779 * buffer.h: Rewrite TRT to use char-table.
8780 * bufslots.h: Remove mirror tables.
8781 * casetab.c: Remove mirror tables.
8782 (CASE_TABLE_P): New macro.
8783 (Fcase_table_p): Element of a case table is string or char-table.
8784 (make_mirror_trt_table): Removed.
8785 (set_case_table): Setup char-table from strings for backward
8787 * dired.c (Fdirectory_files):
8788 * dired-msw.c: (mswindows_get_files):
8789 * lisp.h: Change prototype of re_pattern_buffer.
8790 * regex.c: (RE_TRANSLATE): New macro.
8791 (TRANSLATE_P): Ditto.
8792 Change translate to type RE_TRANSLATE_TYPE.
8793 * regex.h: Define RE_TRANSLATE_TYPE
8794 * search.c (TRANSLATE): New macro.
8795 (TRANSLATE_ASCII): New macro.
8796 Translate table is changed to Lisp_Object.
8797 (signal_failure): Inhibit return.
8799 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8806 Do UNGCPRO before return.
8808 2000-11-14 Martin Buchholz <martin@xemacs.org>
8810 * XEmacs 21.2.37 is released.
8812 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8814 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8815 Add comments about discarded return value.
8817 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8820 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8822 2000-10-27 Andy Piper <andy@xemacs.org>
8824 * gutter.c (Fset_default_gutter_position): default left and right
8826 (calculate_gutter_size): calculate resonable heuristic for left
8827 and right gutter sizes.
8828 (specifier_vars_of_gutter): change left and right gutter sizes to
8830 (calculate_gutter_size_from_display_lines): new function.
8831 (output_gutter): check for resizing on left and right gutters.
8832 (clear_gutter): don't special case top and left gutters.
8833 (specifier_vars_of_gutter): use new signature for
8834 set_specifier_caching.
8836 * glyphs-x.c (x_redisplay_widget): spelling fix.
8837 * glyphs.c (specifier_vars_of_glyphs):
8838 * menubar.c (specifier_vars_of_menubar):
8839 * redisplay.c (specifier_vars_of_redisplay):
8840 * toolbar.c (specifier_vars_of_toolbar):
8841 * window.c (specifier_vars_of_window):
8842 * scrollbar.c (specifier_vars_of_scrollbar):
8843 (complex_vars_of_scrollbar): use new signature for
8844 set_specifier_caching.
8846 * specifier.c (set_specifier_caching): include recompute flag.
8847 (recompute_one_cached_specifier_in_window): always recompute if
8849 (recompute_one_cached_specifier_in_frame): ditto.
8851 * specifier.h (struct specifier_caching): add recompute flag.
8853 2000-10-24 Andy Piper <andy@xemacs.org>
8855 * unexcw.c (copy_executable_and_dump_data_section): add new
8856 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8859 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8861 * console-x.h (x_device): New member modifier_release_time.
8862 * event-Xt.c (x_handle_sticky_modifiers):
8863 Bound interval modifier keys are sticky.
8864 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8865 * events.h: extern it.
8867 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8869 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8871 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8873 * event-stream.c (execute_command_event): Preserve current_events
8874 and the like when event is misc-user-event.
8875 Inhibit quit during the call to maybe_echo_keys.
8877 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8879 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8880 symlink when buffer is killed.
8881 (inhibit_clash_detection): New variable.
8883 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8885 * console.c (Fset_input_method): Trigger redisplay on tty.
8887 2000-11-07 Martin Buchholz <martin@xemacs.org>
8889 * process.c (Fprocess_status): Revert to previous behavior:
8890 (process-status "nosuchprocess") ==> nil
8892 2000-11-06 Martin Buchholz <martin@xemacs.org>
8894 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8895 Work around another GCC 2.95.2 optimizer bug.
8897 2000-11-02 Martin Buchholz <martin@xemacs.org>
8899 * process.c (Fget_process): Use LIST_LOOP_2.
8900 (kill_buffer_processes): Use LIST_LOOP_2.
8902 * minibuf.c (Fall_completions):
8903 Delete old non-functional code for FSF fourth argument.
8905 * frame.c (frame_matches_frame_spec):
8906 Renamed from `frame_matches_frametype'. Update all callers.
8907 (device_matches_device_spec):
8908 Renamed from 'device_matches_console_spec'. Update all callers.
8910 * doc.c (Fsubstitute_command_keys):
8911 Remove buffer overflow crash. Small code cleanups.
8913 * casetab.c (check_case_table): Simpler code.
8915 * window.c (Freplace_buffer_in_windows):
8916 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8917 (and similar implementation) as Fdelete_windows_on.
8920 * alloc.c (Fmake_list):
8921 * alloc.c (make_vector):
8922 * alloc.c (Fmake_vector):
8923 * alloc.c (make_bit_vector):
8924 * alloc.c (Fmake_bit_vector):
8925 * alloc.c (Fbit_vector):
8926 * alloc.c (Fmake_string):
8927 * alloc.c (Fpurecopy):
8928 * alloc.c (Fmemory_limit):
8930 * buffer.c (Fget_buffer):
8931 * buffer.c (Fkill_buffer):
8932 * buffer.c (complex_vars_of_buffer):
8933 * bytecode.c (Fcompiled_function_stack_depth):
8934 * callint.c (Fprefix_numeric_value):
8936 * event-stream.c (Fread_key_sequence):
8938 * casetab.c (Fcase_table_p):
8939 * casetab.c (check_case_table):
8940 * casetab.c (Fset_case_table):
8941 * casetab.c (Fset_standard_case_table):
8943 * chartab.c (Fchar_table_type):
8944 * chartab.c (Freset_char_table):
8945 * chartab.c (Fget_char_table):
8946 * chartab.c (Fget_range_char_table):
8947 * chartab.c (Fput_char_table):
8948 * chartab.c (Fmap_char_table):
8949 * chartab.c (Fcategory_table_p):
8950 * chartab.c (Fcheck_category_at):
8951 * chartab.c (Fchar_in_category_p):
8952 * chartab.c (Fcategory_table):
8953 * chartab.c (Fcopy_category_table):
8954 * chartab.c (Fset_category_table):
8955 * chartab.c (Fcategory_designator_p):
8956 * chartab.c (Fcategory_table_value_p):
8957 * cmds.c (Fdelete_char):
8958 * cmds.c (Fdelete_backward_char):
8959 * cmds.c (Fself_insert_command):
8960 * cmds.c (Fself_insert_internal):
8961 * console.c (Fvalid_console_type_p):
8962 * console.c (Fcdfw_console):
8963 * console.c (Fconsole_type):
8964 * console.c (Fconsole_name):
8965 * console.c (Fconsole_device_list):
8966 * console.c (Fconsole_on_window_system_p):
8970 * data.c (Fsubr_interactive):
8971 * data.c (Fchar_to_int):
8972 * data.c (Fint_to_char):
8975 * data.c (Fnumber_to_string):
8976 * data.c (Fstring_to_number):
8978 * database.c (mark_database):
8979 * database.c (finalize_database):
8980 * database.c (Fdatabase_live_p):
8981 * database.c (Fdatabasep):
8982 * device-x.c (Fx_get_resource):
8983 * device.c (Fdfw_device):
8985 * dired.c (Ffile_name_completion):
8986 * dired.c (Ffile_name_all_completions):
8987 * dired.c (Fuser_name_completion):
8988 * dired.c (Fuser_name_completion_1):
8989 * dired.c (Fuser_name_all_completions):
8990 * doc.c (Fdocumentation):
8991 * doc.c (Fdocumentation_property):
8992 * doc.c (Fsubstitute_command_keys):
8994 * editfns.c (Fchar_to_string):
8995 * editfns.c (Fstring_to_char):
8996 * editfns.c (Ftemp_directory):
8997 * editfns.c (Finsert_char):
8998 * editfns.c (Fbuffer_substring_no_properties):
8999 * editfns.c (Fnarrow_to_region):
9000 * editfns.c (Fchar_equal):
9001 * editfns.c (Fchar_Equal):
9002 * editfns.c (Ftranspose_regions):
9003 * emacs.c (Fdump_emacs):
9005 * eval.c (Fcommand_execute):
9006 * eval.c (Fautoload):
9007 * eval.c (Fbacktrace):
9008 * eval.c (Fbacktrace_frame):
9010 * events.c (Fcopy_event):
9011 * events.c (Fcharacter_to_event):
9012 * events.c (Fevent_button):
9013 * events.c (Fevent_process):
9015 * extents.c (Fnext_extent_change):
9016 * extents.c (Fextent_property):
9018 * faces.c (Fmake_face):
9020 * file-coding.c (Fencode_shift_jis_char):
9021 * file-coding.c (Fencode_big5_char):
9022 * fileio.c (Ffile_name_directory):
9023 * fileio.c (Ffile_name_nondirectory):
9024 * fileio.c (Ffile_name_as_directory):
9025 * fileio.c (Fdirectory_file_name):
9026 * fileio.c (Ffile_truename):
9027 * fileio.c (Fsubstitute_in_file_name):
9028 * fileio.c (Ffile_modes):
9029 * fileio.c (Fset_file_modes):
9030 * fileio.c (Fset_default_file_modes):
9031 * fileio.c (Fverify_visited_file_modtime):
9032 * floatfns.c (Facos):
9033 * floatfns.c (Fasin):
9034 * floatfns.c (Fatan):
9035 * floatfns.c (Fcos):
9036 * floatfns.c (Fsin):
9037 * floatfns.c (Ftan):
9038 * floatfns.c (Fbessel_j0):
9039 * floatfns.c (Fbessel_j1):
9040 * floatfns.c (Fbessel_jn):
9041 * floatfns.c (Fbessel_y0):
9042 * floatfns.c (Fbessel_y1):
9043 * floatfns.c (Fbessel_yn):
9044 * floatfns.c (Ferf):
9045 * floatfns.c (Ferfc):
9046 * floatfns.c (Flog_gamma):
9047 * floatfns.c (Fexp):
9048 * floatfns.c (Fexpt):
9049 * floatfns.c (Flog):
9050 * floatfns.c (Flog10):
9051 * floatfns.c (Fsqrt):
9052 * floatfns.c (Fcube_root):
9053 * floatfns.c (Facosh):
9054 * floatfns.c (Fasinh):
9055 * floatfns.c (Fatanh):
9056 * floatfns.c (Fcosh):
9057 * floatfns.c (Fsinh):
9058 * floatfns.c (Ftanh):
9059 * floatfns.c (Fabs):
9060 * floatfns.c (Ffloat):
9061 * floatfns.c (Flogb):
9062 * floatfns.c (Fceiling):
9063 * floatfns.c (Ffloor):
9064 * floatfns.c (Fround):
9065 * floatfns.c (Ftruncate):
9066 * floatfns.c (Ffceiling):
9067 * floatfns.c (Fffloor):
9068 * floatfns.c (Ffround):
9069 * floatfns.c (Fftruncate):
9070 * fns.c (Fstring_equal):
9071 * fns.c (Fstring_lessp):
9076 * fns.c (Fsubstring):
9078 * fns.c (Fold_assoc):
9079 * fns.c (assoc_no_quit):
9081 * fns.c (Fold_assq):
9082 * fns.c (assq_no_quit):
9084 * fns.c (Fold_rassoc):
9086 * fns.c (Fold_rassq):
9087 * fns.c (rassq_no_quit):
9088 * fns.c (Fremassoc):
9089 * fns.c (remassoc_no_quit):
9091 * fns.c (remassq_no_quit):
9092 * fns.c (Fremrassoc):
9093 * fns.c (Fremrassq):
9094 * fns.c (remrassq_no_quit):
9096 * fns.c (Fplist_get):
9097 * fns.c (Fplist_put):
9098 * fns.c (Fplist_remprop):
9099 * fns.c (Fplist_member):
9100 * fns.c (Flax_plist_get):
9101 * fns.c (Flax_plist_put):
9102 * fns.c (Flax_plist_remprop):
9103 * fns.c (Flax_plist_member):
9105 * fns.c (Fold_equal):
9107 * fns.c (Fbase64_encode_region):
9108 * fns.c (Fbase64_encode_string):
9109 * fns.c (Fbase64_decode_region):
9111 * frame.c (frame_matches_frame_spec):
9112 * frame.c (device_matches_device_spec):
9113 * frame.c (next_frame):
9114 * frame.c (previous_frame):
9115 * frame.c (Fnext_frame):
9116 * frame.c (Fprevious_frame):
9117 * frame.c (Fframe_property):
9118 * frame.c (Fset_frame_height):
9119 * frame.c (Fset_frame_size):
9123 * glyphs.c (decode_error_behavior_flag):
9124 * glyphs.c (Fmake_image_instance):
9125 * indent.c (Findent_to):
9126 * intl.c (Fignore_defer_gettext):
9127 * keymap.c (Fkeymapp):
9128 * keymap.c (Flookup_key):
9130 * lread.c (Fload_internal):
9131 * lread.c (Feval_buffer):
9132 * lread.c (Feval_region):
9133 * macros.c (Fexecute_kbd_macro):
9134 * marker.c (set_marker_internal):
9135 * marker.c (Fset_marker):
9136 * marker.c (set_marker_restricted):
9137 * marker.c (Fcopy_marker):
9138 * marker.c (noseeum_copy_marker):
9140 * menubar.c (Fpopup_menu):
9142 * mule-charset.c (Fcharset_name):
9143 * mule-charset.c (Fchar_charset):
9144 * mule-charset.c (Fchar_octet):
9145 * mule-charset.c (Fsplit_char):
9146 * mule-wnnfns.c (Fwnn_open):
9147 * mule-wnnfns.c (Fwnn_dict_comment):
9148 * mule-wnnfns.c (Fwnn_quit_henkan):
9149 * mule-wnnfns.c (Fwnn_word_toroku):
9150 * mule-wnnfns.c (Fwnn_word_sakujo):
9151 * mule-wnnfns.c (Fwnn_word_use):
9152 * mule-wnnfns.c (Fwnn_hindo_set):
9154 * objects.c (Fmake_color_instance):
9155 * objects.c (Fmake_font_instance):
9156 * print.c (Fwrite_char):
9158 * process.c (mark_process):
9159 * process.c (print_process):
9160 * process.c (get_process_from_usid):
9161 * process.c (Fprocessp):
9162 * process.c (Fprocess_live_p):
9163 * process.c (Fget_process):
9164 * process.c (Fget_buffer_process):
9165 * process.c (get_process):
9166 * process.c (Fprocess_id):
9167 * process.c (Fprocess_name):
9168 * process.c (Fprocess_command):
9169 * process.c (init_process_io_handles):
9170 * process.c (start_process_unwind):
9171 * process.c (Fstart_process_internal):
9172 * process.c (Fopen_multicast_group_internal):
9173 * process.c (Fset_process_window_size):
9174 * process.c (read_process_output):
9175 * process.c (send_process):
9176 * process.c (Fprocess_tty_name):
9177 * process.c (Fset_process_buffer):
9178 * process.c (Fprocess_buffer):
9179 * process.c (Fprocess_mark):
9180 * process.c (set_process_filter):
9181 * process.c (Fset_process_filter):
9182 * process.c (Fprocess_filter):
9183 * process.c (Fprocess_send_region):
9184 * process.c (Fprocess_send_string):
9185 * process.c (exec_sentinel):
9186 * process.c (Fset_process_sentinel):
9187 * process.c (Fprocess_sentinel):
9188 * process.c (status_notify):
9189 * process.c (Fprocess_status):
9190 * process.c (Fprocess_exit_status):
9191 * process.c (process_send_signal):
9192 * process.c (Fprocess_send_eof):
9193 * process.c (deactivate_process):
9194 * process.c (remove_process):
9195 * process.c (Fdelete_process):
9196 * process.c (kill_buffer_processes):
9197 * process.c (Fprocess_kill_without_query):
9198 * process.c (Fprocess_kill_without_query_p):
9200 * rangetab.c (Fget_range_table):
9201 * rangetab.c (Fput_range_table):
9202 * rangetab.c (Fremove_range_table):
9203 * rangetab.c (Fclear_range_table):
9205 * search.c (Fskip_chars_forward):
9206 * search.c (Fskip_chars_backward):
9207 * search.c (Fskip_syntax_forward):
9208 * search.c (Fskip_syntax_backward):
9209 * search.c (search_command):
9210 * search.c (Freplace_match):
9211 * search.c (Fregexp_quote):
9212 * select.c (Fown_selection_internal):
9213 * select.c (Fselection_owner_p):
9214 * select.c (Fselection_exists_p):
9215 * select.c (Fget_selection_internal):
9218 * symbols.c (Fintern):
9219 * symbols.c (Fintern_soft):
9220 * symbols.c (Funintern):
9221 * symbols.c (Fapropos_internal):
9222 * symbols.c (Fset_default):
9224 * syntax.c (Fsyntax_table_p):
9225 * syntax.c (Fcopy_syntax_table):
9226 * syntax.c (Fset_syntax_table):
9227 * syntax.c (Fchar_syntax):
9228 * syntax.c (syntax_match):
9229 * syntax.c (Fmatching_paren):
9230 * syntax.c (Fforward_word):
9231 * syntax.c (scan_lists):
9232 * syntax.c (Fscan_lists):
9233 * syntax.c (Fscan_sexps):
9234 * syntax.c (Fparse_partial_sexp):
9235 * toolbar.c (Fcheck_toolbar_button_syntax):
9238 * window.c (Fwindowp):
9239 * window.c (Fwindow_live_p):
9240 * window.c (Fwindow_point):
9241 * window.c (Fdelete_window):
9242 * window.c (Fnext_window):
9243 * window.c (Fprevious_window):
9244 * window.c (Fother_window):
9245 * window.c (window_loop):
9246 * window.c (Fget_lru_window):
9247 * window.c (Fsplit_window):
9248 * window.c (Fenlarge_window):
9249 * window.c (Fenlarge_window_pixels):
9250 * window.c (Fshrink_window):
9251 * window.c (Fshrink_window_pixels):
9252 * window.c (change_window_height):
9253 * window.c (Fwindow_configuration_p):
9254 * window.c (Fcurrent_window_configuration):
9256 * casefiddle.c (casify_object):
9257 * casefiddle.c (Fupcase):
9258 * casefiddle.c (Fdowncase):
9259 * casefiddle.c (Fcapitalize):
9260 * casefiddle.c (Fupcase_initials):
9261 * casefiddle.c (casify_region_internal):
9262 * casefiddle.c (casify_region):
9263 * casefiddle.c (Fupcase_region):
9264 * casefiddle.c (Fdowncase_region):
9265 * casefiddle.c (Fcapitalize_region):
9266 * casefiddle.c (Fupcase_initials_region):
9267 * casefiddle.c (Fupcase_word):
9268 * casefiddle.c (Fdowncase_word):
9269 * casefiddle.c (Fcapitalize_word):
9270 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9271 Replace 0 with '\0' when working with bytes.
9272 Replace initial "(" with "\(" in docstrings.
9274 2000-11-01 Martin Buchholz <martin@xemacs.org>
9276 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9278 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9280 2000-10-31 Martin Buchholz <martin@xemacs.org>
9282 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9284 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9286 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9289 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9291 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9292 (inhibit_auto_save_session): New variable.
9293 (vars_of_fileio): Declare and initialize them.
9294 * fileio.c (Fdo_auto_save): Don't create session file if
9295 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9297 2000-10-31 Martin Buchholz <martin@xemacs.org>
9299 * sgiplay.c (play_internal): C++ compilability.
9300 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9301 * callproc.c (Fold_call_process_internal):
9302 Remove unused vars `env', `first'.
9303 * scrollbar.c (update_scrollbar_instance):
9304 #### unused var `current_window'.
9305 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9306 etc. within #ifdef NOT_YET.
9307 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9308 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9309 * specifier.c (specifier_instance):
9310 #### unused var `tag'.
9311 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9313 2000-10-27 Martin Buchholz <martin@xemacs.org>
9316 * fns.c (list_sort):
9317 * fns.c (Ffillarray):
9318 * fns.c (bytecode_nconc2):
9321 * fns.c (Fmapconcat):
9322 Be pedantically 64-bit correct. For the time when someone will
9323 want to have a list with length > 2**32.
9325 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9326 Work around MIPSpro compiler bug.
9328 * process-unix.c (unix_kill_child_process): Add snarky comment.
9329 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9331 * config.h.in: Oops, _getpt ==> _getpty
9333 2000-10-26 Martin Buchholz <martin@xemacs.org>
9337 Use void*, not char*, as return type of alloca().
9339 * alloc.c (free_marker): Side effect inside assert expression!
9341 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9343 * mule-charset.c (Fset_charset_ccl_program): To check
9344 if the given ccl program is valid, use setup_ccl_program()
9345 instead of CHECK_VECTOR().
9346 (Fmake_charset): Likewise.
9348 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9350 * faces.c (get_extent_fragment_face_cache_index):
9351 Fix cachel.merged_faces memory leak.
9353 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9355 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9356 Reset MSB of octets obtained by DECODE_SJIS
9357 because of the incompatibility with Emacs.
9358 (ccl_driver)<CCL_ENCODE_SJIS>:
9359 Set MSB of octets before passing them to
9360 ENCODE_SJIS because of the incompatibility
9363 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9365 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9366 (DECLARE_LRECORD): Undo the last change.
9367 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9369 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9371 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9372 the implementation to lrecord_implementations_table.
9374 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9376 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9377 initial value of `lrecord_type_##c_name' and
9378 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9379 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9380 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9381 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9382 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9384 2000-10-17 Martin Buchholz <martin@xemacs.org>
9386 * miscplay.c (sndcnv8S_2mono):
9387 (sndcnv2monounsigned):
9388 (sndcnvULaw_2linear):
9390 Remove implementation-defined behavior.
9392 2000-10-12 Martin Buchholz <martin@xemacs.org>
9394 * input-method-xlib.c: Warning suppression.
9396 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9398 * mule-ccl.c: Sync up with Emacs 21.0.90.
9399 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9401 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9403 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9404 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9405 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9406 leading char belongs to official 2-dimensional charset.
9407 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9408 write the given character as is. Otherwise,
9409 if it is a multibyte char, convert it by
9410 non_ascii_set_charptr_emchar, then write it.
9411 (CCL_WRITE_STRING): Likewise.
9412 (ccl_get_compiled_code): New function.
9413 (setup_ccl_program): When ccl_prog is invalid,
9415 (Fregister_code_conversion_map): New function.
9416 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9418 * mule-ccl.h: Sync up with Emacs 21.0.90.
9419 (Fregister_ccl_program): export it.
9421 * redisplay-msw.c (separate_textual_runs):
9422 If ccl program is not valid, don't do ccl conversion.
9424 * redisplay-x.c (separate_textual_runs): Ditto.
9426 * file-coding.c (Fmake_coding_system):
9427 When type is ccl and value is vector, register it
9428 with a proper symbol. And checks whether the
9429 given ccl program is valid.
9430 (mule_decode): When calling ccl_driver, if src indicates
9431 NULL pointer, set an empty string instead.
9432 (mule_encode): Likewise.
9434 2000-10-11 Martin Buchholz <martin@xemacs.org>
9436 The following large batch of changes gets us back to a state of
9437 C++ compilability. Extbyte is now a char, which means that
9438 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9440 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9442 * sound.c (Fplay_sound): Type correctness.
9444 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9445 (x_get_window_property): Type correctness.
9446 (receive_incremental_selection): unsigned char ==> Extbyte
9447 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9448 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9449 (Fx_store_cutbuffer_internal): Type correctness.
9451 * process-unix.c (try_to_initialize_subtty): Type correctness.
9453 * objects-x.c (x_print_color_instance): Type correctness.
9454 (x_print_font_instance): Type correctness.
9455 (x_list_fonts): SExtbyte ==> Extbyte.
9456 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9457 (x_find_charset_font): SExtbyte ==> Extbyte.
9458 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9459 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9460 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9463 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9464 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9465 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9466 (BYTE_C0_P): Use bit ops for char-signedness safety.
9467 (BYTE_C1_P): Use bit ops for char-signedness safety.
9468 (CHARSET_BY_LEADING_BYTE):
9469 (CHARSET_BY_ATTRIBUTES):
9470 Always use inline function.
9471 Use type_checking_assert.
9474 * mule-charset.c (non_ascii_charptr_copy_char):
9475 Modify to work with both ASCII and non-ASCII characters.
9476 Improve docs and variable names.
9477 Replace over-clever fall-through switch with a simple loop.
9478 (Lstream_get_emchar_1):
9479 Replace over-clever fall-through switch with a simple loop.
9481 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9482 Warning suppression.
9484 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9485 the return value of Lstream_getc, which could be EOF as well.
9487 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9489 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9490 APIs can be used on Extbytes without casts. Risky!
9494 * input-method-xlib.c (XIM_init_device):
9495 Use Xlib.h instead of IntrinsicP.h.
9496 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9497 which will break in X11R7.
9498 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9499 to call XRegisterIMInstantiateCallback with correct types.
9501 * gui-x.c (button_item_to_widget_value): Type correctness.
9503 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9505 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9506 (xbm_instantiate_1): Type correctness.
9507 (BUILD_GLYPH_INST): Type correctness.
9509 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9512 (decode_coding_sjis):
9513 (decode_coding_big5):
9514 (decode_coding_ucs4):
9515 (decode_coding_utf8):
9516 (decode_coding_iso2022):
9517 (decode_coding_no_conversion):
9518 Make all decoding functions take an Extbyte * arg.
9519 (encode_coding_sjis):
9520 (encode_coding_big5):
9521 (encode_coding_ucs4):
9522 (encode_coding_utf8):
9523 (encode_coding_iso2022):
9524 (encode_coding_no_conversion):
9525 Make all encoding functions take a Bufbyte * arg.
9526 Use size_t instead of unsigned int for memory sizes.
9527 Only cast to unsigned char whenever dereferencing Extbyte *.
9529 * doc.c (unparesseuxify_doc_string): Type correctness.
9531 * console-x.c (split_up_display_spec):
9532 Rewrite without using details of internal string representation.
9533 (x_semi_canonicalize_device_connection): Type correctness.
9536 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9537 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9538 (HAVE_XFREE386): Removed.
9540 * buffer.h (DEC_CHARPTR): `const' correctness.
9541 (bufbyte_strcmp): New.
9542 (bufbyte_memcmp): New.
9544 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9546 * buffer.h (XCHAR_OR_CHAR_INT):
9547 Always use inline function.
9548 Remove redundant type checking assert() - XINT will abort quite nicely.
9550 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9552 * search.c (Freplace_match): Set newtext to an empty string.
9554 2000-10-10 Martin Buchholz <martin@xemacs.org>
9556 * s/decosf1-3.h: Remove #include of stropts.h
9557 * s/ptx.h: Remove #include of stropts.h
9558 * s/usg5-4.h: Remove #include of stropts.h
9561 Use stropts.h, not sys/stropts.h.
9562 Use strtio.h, not sys/strtio.h.
9564 2000-10-04 Martin Buchholz <martin@xemacs.org>
9566 * XEmacs 21.2.36 is released.
9568 2000-09-21 Andy Piper <andy@xemacs.org>
9570 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9571 changes still involve copying the widget tree.
9572 (update_widget_face): make sure a change is register in the widget
9573 tree. Call update_tab_widget_face appropriately.
9574 (update_tab_widget_face): ditto.
9575 (x_tab_control_redisplay): make sure non-structural changes still
9576 involve copying the widget tree.
9578 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9580 * lread.c (locate_file): Check the path element is non-nil.
9582 2000-10-02 Martin Buchholz <martin@xemacs.org>
9584 * lisp.h: Warning suppression for SCO compilers.
9586 * redisplay-tty.c (reset_tty_modes): Fix crash.
9587 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9589 2000-09-27 Martin Buchholz <martin@xemacs.org>
9591 Big signal/process handling overhaul. Bugs fixed:
9592 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9593 M-x comint-kill-subjob should work for both values nil and t of
9594 process-connection-type. It was broken on most platforms.
9595 Testing on Irix and Cygwin still needed. Other plaforms tested.
9596 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9597 * process-unix.c: Signal/Process handling overhaul.
9598 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9599 (allocate_pty): Use all available modern methods of allocating
9600 ptys, falling back to old style BSD allocation as a last resort.
9601 Use allegedly more secure Unix98 pty allocation by default.
9602 (allocate_pty_the_old_fashioned_way): New. the last resort.
9603 (unix_create_process): Push ptem, ldterm, ttcompat where
9604 available. Autoconfiscate.
9605 (try_to_initialize_subtty): New.
9606 (unix_kill_child_process): Proper signal handling for ptys on most
9607 platforms, using special knowledge of AIX, BSD, etc...
9608 (unix_create_process): Always disconnect_controlling_terminal() for
9609 subprocesses, whether using ptys or not.
9610 * process.h: Remove old getpt-dependent PTY code.
9611 * process.c (Fprocess_send_signal): New, obvious generic function.
9612 (decode_signal): New.
9613 (Finterrupt_process):
9617 (Fcontinue_process):
9618 (Fsignal_process): Use decode_signal.
9619 (process_send_signal):
9620 Many docstring corrections.
9621 Allow any signal to be sent to a process object.
9622 * config.h.in: Add symbols for big signal/process overhaul.
9623 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9624 * sysproc.h: Include process-related headers, where available:
9625 sys/stropts.h sys/strtio.h pty.h libutil.h
9633 Remove old S&M pty stuff.
9634 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9635 * systty.h: Simplify cpp hackery, improve comments.
9636 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9638 * editfns.c (Fformat_time_string):
9639 Be a little more paranoid with the return value of ctime.
9641 * fileio.c (check_executable):
9643 Use symbolic constants X_OK, W_OK.
9645 * console-x.c (split_up_display_spec): Fix a warning.
9647 2000-10-02 Martin Buchholz <martin@xemacs.org>
9649 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9650 * ntproc.c (sys_spawnve): make_string ==> build_string
9651 Small clarity improvements.
9653 2000-09-30 Martin Buchholz <martin@xemacs.org>
9655 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9657 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9659 * config.h.in (HAVE_STRCASECMP): Remove.
9661 2000-09-29 Martin Buchholz <martin@xemacs.org>
9663 * redisplay-output.c (redisplay_output_pixmap):
9664 Cleaner and possibly more 64-bit correct code.
9666 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9668 * dumper.c (pdump_load_finish): move restoration of
9669 `noninteractive1' to emacs.c (main_1).
9670 * emacs.c (main_1): protect LISP-visible command-line flags
9673 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9675 * Makefile.in.in (versionclean): Use EXE_TARGET and
9676 DUMP_TARGET instead of literal program names.
9678 2000-09-20 Martin Buchholz <martin@xemacs.org>
9680 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9682 2000-09-19 Martin Buchholz <martin@xemacs.org>
9684 * *: Spelling mega-patch
9686 2000-09-19 Martin Buchholz <martin@xemacs.org>
9688 * fns.c (bad_bad_turtle):
9689 Delete "Eek!" comment, since we fixed the bug to which it refers.
9691 2000-09-16 Martin Buchholz <martin@xemacs.org>
9693 * alloca.c: Replace REGISTER with register.
9695 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9697 * file-coding.c (ucs_to_char): Use countof.
9699 2000-09-16 Martin Buchholz <martin@xemacs.org>
9701 * file-coding.c: (ucs_to_char):
9702 (complex_vars_of_file_coding):
9703 Use countof instead of sizeof.
9704 Use CHECK_NATNUM instead of CHECK_INT.
9706 * sysdep.c (strcasecmp): Remove.
9707 * device-x.c (ascii_strcasecmp): New.
9708 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9709 Avoid using non-standard non-portable strcasecmp.
9711 2000-09-16 Martin Buchholz <martin@xemacs.org>
9713 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9714 * font-lock.c: remove reference to emacsfns.h.
9715 * search.c: small doc improvement.
9716 * event-Xt.c: correct file names in comments.
9717 * console-x.h Correct file names in comments.
9718 * frame.c: Correct file names in comments.
9719 * event-stream.c: remove Energize from comments.
9721 2000-09-15 Martin Buchholz <martin@xemacs.org>
9723 * symeval.h (DEFERROR_STANDARD):
9726 (DEFSYMBOL_NO_DUMP):
9727 (DEFSYMBOL_MULTIWORD_PREDICATE):
9728 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9730 The construct &##name is not sensible C.
9731 Fixes compilation errors with Unixware native compiler.
9733 2000-09-14 Martin Buchholz <martin@xemacs.org>
9735 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9736 (next_frame_internal): Removed. We now just have next_frame.
9738 Write a simpler and cleaner one-pass algorithm.
9739 Remove called_from_delete_device arg and #ifdefed-out code.
9741 Renamed from prev_frame. Update callers.
9742 Cleaned up to have an analogous implementation to next_frame.
9743 (other_visible_frames_internal): Remove the
9744 called_from_delete_device bogus arg, and hence, remove this
9745 function. Just use other_visible_frames().
9747 * window.c (Fnext_window):
9749 Since next_frame() is guaranteed to return a frame, remove check
9750 for nil inserted in previous patch.
9753 Make code look more like Fnext_window.
9755 Respect the `console' arg when iterating through windows.
9756 Fixes bug: (get-buffer-window buffer t device) not respecting
9758 This function needs more work, as others have pointed out.
9760 * frame.h: Rename prev_frame to previous_frame.
9761 device_matches_console_spec no longer takes a `frame' arg.
9766 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9767 From "Golubev I. N." <gin@mo.msk.ru>.
9769 * make-src-depend: Fix typo.
9771 2000-09-13 Martin Buchholz <martin@xemacs.org>
9773 * window.c (Fnext_window):
9774 next_frame() might return nil, not a frame.
9776 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9778 * frame.c (next_frame_internal):
9779 We've passed a frame if we've passed its device.
9781 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9782 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9784 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9786 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9787 Allow option to suppress accelerators in menu/dialog items.
9788 (populate_or_checksum_helper): Pass dialog title through above.
9790 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9792 * event-msw.c (mswindows_key_to_emacs_keysym):
9793 Add "pause" key, fix "menu" key.
9795 2000-09-09 Martin Buchholz <martin@xemacs.org>
9797 * eval.c (reinit_vars_of_eval):
9798 Increase max_lisp_eval_depth to 1000,
9799 required for thai-xtis.el to byte-compile under some circumstances.
9801 2000-09-04 Martin Buchholz <martin@xemacs.org>
9803 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9806 2000-09-01 Martin Buchholz <martin@xemacs.org>
9808 * make-src-depend: Make the generated Makefiles smaller.
9810 * s/hpux.h (SETUP_SLAVE_PTY):
9811 Provide a %d in the format string for the errno argument.
9813 * editfns.c (Ftemp_directory):
9815 Avoid buffer overrun on very long file name.
9817 * input-method-xlib.c (XIM_init_device):
9818 6th parameter of XRegisterIMInstantiateCallback has different
9819 pointer types on different OSes, so simply cast to (void *).
9821 * unexhp9k800.c: Warning fixes. Fiddly changes.
9823 * sysdll.c (dll_open):
9824 shl_load will hang hard if passed a NULL filename.
9825 Simply return NULL for compatibility with dlopen.
9826 * sysdll.c: Conform to XEmacs coding standards.
9828 * sysdep.c (get_pty_max_bytes):
9829 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9831 2000-08-31 Martin Buchholz <martin@xemacs.org>
9833 * tooltalk.c: Add #include <syssignal.h>
9835 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9837 * s/hpux.h: Don't use undefined function sigunblock().
9839 2000-08-31 Martin Buchholz <martin@xemacs.org>
9841 * config.h.in: Add HAVE_BALLOON_HELP.
9842 * emacs.c: Use HAVE_BALLOON_HELP.
9843 * Makefile.in.in (x_objs):
9844 Make Balloon Help conditional on finding shape.h.
9846 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9848 * syntax.c (regex_emacs_buffer_p): New variable.
9849 * syntax.h (regex_emacs_buffer_p): extern.
9850 * search.c (looking_at_1):
9852 (fast_string_match):
9853 (search_buffer): Set regex_emacs_buffer_p.
9854 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9855 when before_dot, at_dot, after_dot.
9857 2000-08-23 Andy Piper <andy@xemacs.org>
9859 * gui-x.c (popup_selection_callback): Only set action_occurred
9860 when we really have an image instance.
9861 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9863 2000-08-23 Andy Piper <andy@xemacs.org>
9865 * gui-msw.c (mswindows_handle_gui_wm_command): set
9867 * gui-x.c (popup_selection_callback): ditto.
9869 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9870 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9871 (struct Lisp_Image_Instance): add action_occurred flag.
9873 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9874 (image_instance_changed): ditto.
9875 (reset_frame_subwindow_instance_cache): only unmap windows - do
9876 not remove them from the cache also.
9878 * glyphs-widget.c (tab_control_update): better debug.
9879 (progress_gauge_update): ditto.
9880 (layout_update): ditto.
9881 (layout_instantiate): ditto.
9882 (tab_control_order_only_changed): cope with null pending items.
9884 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9885 debug. Force selection of an item when an action occurred. Cope
9886 with null pending_items.
9887 (mswindows_progress_gauge_redisplay): better debug.
9888 * glyphs-x.c (x_tab_control_redisplay): ditto.
9890 * redisplay.c (redisplay_frame): reset the frame cache if the
9893 * window.c (Fset_window_configuration): potentially re-enable
9895 (window_unmap_subwindows): need to finalize instances here since
9896 it is only used in mark_window_as_deleted.
9898 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9900 * nas.c (SndOpenDataForReading):
9901 nas.c (WaveOpenDataForReading):
9902 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9903 Somehow escaped from the 2000-08-14 patch.
9905 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9907 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9908 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9910 2000-08-21 Andy Piper <andy@xemacs.org>
9912 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9913 window if it is not already displayed.
9915 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9916 it is not already displayed.
9918 * window.c (Fset_window_configuration): don't reset the frame
9921 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9922 instances from the frame cache if we are actually finalizing them.
9923 (reset_frame_subwindow_instance_cache): reset frame cache only
9924 after unmapping everything.
9925 (map_subwindow): set displayed flag after mapping.
9927 2000-08-21 Martin Buchholz <martin@xemacs.org>
9929 * data.c (indirect_function):
9930 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9932 * eval.c (function_argcount):
9933 Use original function when signaling errors.
9935 2000-08-18 Andy Piper <andy@xemacs.org>
9937 * frame.c (delete_frame_internal): use new
9938 free_frame_subwindow_instances name.
9940 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9941 (add_tab_item): make return type correct.
9942 (mswindows_tab_control_instantiate): assert index of tab.
9943 (mswindows_tab_control_redisplay): Re-code to use
9944 gui_item_equal_sans_selected and gui_item_list_find_selected.
9946 * glyphs-widget.c (tab_control_update): Correct comment.
9948 * window.c (window_unmap_subwindows): use new
9949 unmap_subwindow_instance_cache_mapper.
9950 (window_unmap_subwindows_cache_mapper): deleted.
9951 (Fset_window_configuration): comparisons should now be with
9952 EQ. Preserve the subwindow instance cache across configuration
9954 (allocate_window): ditto.
9955 (make_dummy_parent): ditto.
9957 * glyphs.c (free_frame_subwindow_instances): rename from
9958 free_frame_subwindow_instance_cache. finalize all instances rather
9959 than just those in the display cache.
9960 (finalize_all_subwindow_instances): walk windows unmapping and
9961 finalizing subwindows.
9962 (unmap_subwindow_instance_cache_mapper): moved from
9963 window.c. Allow finalization as well as unmapping.
9965 * gui.c (gui_item_list_find_selected): new function.
9967 * gui.h (gui_item_list_find_selected): declare.
9969 * glyphs-x.c (x_tab_control_redisplay): pick tab
9970 explicitly. Re-code to use gui_item_equal_sans_selected and
9971 gui_item_list_find_selected.
9973 * glyphs-x.h: add lwlib-utils.h
9975 * buffer.c (Frecord_buffer): undo previous change.
9977 2000-08-09 Vin Shelton <acs@xemacs.org>
9979 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9980 possible. Create temporary files more securely. The patch was
9981 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9982 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9983 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9986 2000-08-07 Ben Wing <ben@xemacs.org>
9988 * getloadavg.c: remove duplicate (and windows-breaking)
9989 includes of fcntl.h and sys/file.h.
9991 * nt.c: remove duplicate getloadavg() definition.
9993 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9996 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9998 * eval.c (function_argcount): If function needs to be autoloaded
9999 actually use the loaded definition.
10002 2000-08-05 Ben Wing <ben@xemacs.org>
10004 * getloadavg.c: add prototype for getloadavg(). remove
10005 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10006 of the code). remove duplicate header includes.
10008 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10010 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10011 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10012 useful load average.
10014 * alloc.c (reinit_alloc_once_early): removed references to
10015 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10016 the lisp vars are the only things referencing the malloc_sbrk_*
10017 vars, and they were already if 0'd out. these vars only exist
10018 in the older malloc.c, which is basically unused, and they're
10019 only for informational purposes.
10021 * m\*.h: removed useless VIRT_ADDR_VARIES.
10023 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10025 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10027 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10028 color if the image is a mono pixmap.
10030 2000-07-30 Ben Wing <ben@xemacs.org>
10032 * Makefile.in.in (release):
10035 * buffer.c (directory_is_current_directory):
10036 * dired-msw.c (mswindows_get_files):
10038 * dired.c (Fdirectory_files):
10039 * dired.c (file_name_completion_stat):
10040 * dired.c (Ffile_attributes):
10041 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10042 preprocessor tricks, to avoid problems on some machines
10045 * callproc.c (egetenv): GC docs.
10048 * console-msw.h (struct mswindows_dialog_id):
10049 * lrecord.h (lrecord_type):
10050 New object for use with MSW dialogs.
10052 * console.h (struct console_methods):
10053 New enable/disable frame methods, for proper modal dialogs.
10055 * device-msw.c (msprinter_default_printer): Fix to follow
10056 proper Mule conventions.
10059 * device-msw.c (signal_open_printer_error):
10060 * device-msw.c (msprinter_init_device):
10061 * device-msw.c (ensure_not_printing):
10062 * device-msw.c (plist_get_margin):
10063 * device-msw.c (Fmsprinter_select_settings):
10064 * device-msw.c (finalize_devmode):
10065 * device-msw.c (Fmsprinter_settings_despecialize):
10066 * device-msw.c (signal_enum_priner_error):
10067 * extents.c (decode_extent):
10068 * extents.c (decode_map_extents_flags):
10069 * extents.c (decode_extent_at_flag):
10070 * extents.c (Fextent_at):
10071 * extents.c (Fextents_at):
10072 * extents.c (symbol_to_glyph_layout):
10073 [[[[2]]]] Use structured errors.
10076 * dialog-msw.c (mswindows_is_dialog_msg):
10077 * dialog-msw.c (mark_mswindows_dialog_id):
10078 * dialog-msw.c (dialog_proc):
10079 * dialog-msw.c (handle_question_dialog_box):
10080 * dialog-msw.c (syms_of_dialog_mswindows):
10081 Define new object to clean up marking; use it as a dialog identifier.
10082 Call new delete-dialog-box-hook.
10084 * dialog-x.c (dbox_selection_callback):
10085 * dialog-x.c (dbox_descriptor_to_widget_value):
10086 * dialog-x.c (x_make_dialog_box_internal):
10087 Call new delete-dialog-box-hook.
10091 * dialog.c (syms_of_dialog):
10092 * dialog.c (vars_of_dialog):
10093 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10096 * eval.c (signal_call_debugger):
10097 when noninteractive, output stack traces on the console instead
10098 of in a (never-seen) buffer.
10100 * eval.c (signal_type_error):
10101 * eval.c (invalid_argument_2):
10103 new funs for use w/structured errors.
10106 * event-Xt.c (x_to_emacs_keysym):
10107 * event-Xt.c (describe_event):
10108 * event-Xt.c (emacs_Xt_event_handler):
10109 * event-Xt.c (vars_of_event_Xt):
10111 * event-msw.c (mswindows_wnd_proc):
10112 * event-msw.c (vars_of_event_mswindows):
10113 rename {x,mswindows}-debug-events to debug-{}-events for
10114 consistency with other debug-foo variables.
10117 document next-event more clearly.
10119 * fileio.c (Ffile_name_directory):
10120 * fileio.c (Ffile_name_nondirectory):
10121 * fileio.c (Funhandled_file_name_directory):
10122 * fileio.c (file_name_as_directory):
10123 * fileio.c (Ffile_name_as_directory):
10124 * fileio.c (directory_file_name):
10125 * fileio.c (Fdirectory_file_name):
10126 * fileio.c (Fmake_temp_name):
10127 * fileio.c (Ffile_truename):
10128 * fileio.c (Fsubstitute_in_file_name):
10129 * fileio.c (expand_and_dir_to_file):
10130 * fileio.c (barf_or_query_if_file_exists):
10131 * fileio.c (check_executable):
10132 * fileio.c (Ffile_exists_p):
10133 * fileio.c (Ffile_writable_p):
10134 * fileio.c (Ffile_directory_p):
10135 * fileio.c (Ffile_regular_p):
10136 * fileio.c (Ffile_modes):
10137 * fileio.c (Ffile_newer_than_file_p):
10138 * fileio.c (Fverify_visited_file_modtime):
10139 * fileio.c (Fset_visited_file_modtime):
10140 * fileio.c (auto_save_1):
10145 * frame-msw.c (mswindows_init_frame_1):
10146 * frame-msw.c (mswindows_enable_frame):
10147 * frame-msw.c (error_frame_unsizable):
10148 * frame-msw.c (msprinter_init_frame_1):
10149 * frame-msw.c (msprinter_init_frame_3):
10150 * frame-msw.c (console_type_create_frame_mswindows):
10152 implement new enable/disable frame methods.
10155 * frame-x.c (x_enable_frame):
10156 * frame-x.c (console_type_create_frame_x):
10157 implement new enable/disable frame methods.
10160 * frame.c (Fdisable_frame):
10161 * frame.c (syms_of_frame):
10162 * frame.h (struct frame):
10163 implement new enable/disable frame methods/functions.
10168 * glyphs-msw.c (mswindows_widget_instantiate):
10169 comment that initial-focus should be implemented.
10172 * glyphs-widget.c (check_valid_instantiator):
10173 * glyphs-widget.c (check_valid_orientation):
10174 * glyphs-widget.c (check_valid_tab_orientation):
10175 * glyphs-widget.c (check_valid_justification):
10176 * glyphs-widget.c (check_valid_border):
10177 * glyphs-widget.c (check_valid_callback):
10178 * glyphs-widget.c (check_valid_int_or_function):
10179 * glyphs-widget.c (check_valid_string_or_vector):
10180 * glyphs-widget.c (check_valid_item_list_1):
10181 * glyphs-widget.c (widget_validate):
10182 * glyphs-widget.c (combo_box_validate):
10183 * glyphs-widget.c (widget_instantiate):
10184 * glyphs-widget.c (syms_of_glyphs_widget):
10185 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10186 * glyphs-widget.c (image_instantiator_combo_box):
10187 * glyphs-widget.c (image_instantiator_scrollbar):
10188 * glyphs-widget.c (image_instantiator_tab_control):
10189 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10191 support (unimplemented) keyword initial-focus.
10192 reindent long macros.
10194 * glyphs-x.c (x_redisplay_widget):
10195 * glyphs-x.c (x_button_instantiate):
10196 * glyphs-x.c (x_button_redisplay):
10197 * glyphs-x.c (x_progress_gauge_instantiate):
10198 * glyphs-x.c (x_edit_field_instantiate):
10199 * glyphs-x.c (x_combo_box_instantiate):
10200 * glyphs-x.c (x_tab_control_instantiate):
10201 * glyphs-x.c (x_label_instantiate):
10203 * gui-x.c (button_item_to_widget_value):
10204 * gui-x.c (gui_items_to_widget_values_1):
10205 * gui-x.c (gui_item_children_to_widget_values):
10206 * gui-x.c (gui_items_to_widget_values):
10208 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10209 add new flag to gui-parsing routines to indicate whether
10210 accelerator specs should be supported.
10212 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10214 * glyphs.h (struct Lisp_Image_Instance):
10215 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10216 add initial-focus flag.
10219 * gui.c (syms_of_gui):
10220 * gui.c (vars_of_gui):
10221 clean up menu-no-selection-hook.
10224 support delete-dialog-box-hook.
10226 * lread.c (Fload_internal):
10227 * lread.c (locate_file_in_directory_mapper):
10231 * lrecord.h (struct toolbar_button):
10232 * lrecord.h (syms_of_toolbar):
10233 document how to create a new object.
10235 * menubar-msw.c (mswindows_char_is_accelerator):
10236 may be called on frames w/o menus.
10238 * menubar.c (vars_of_menubar):
10239 clean up :filter docs.
10246 * process-nt.c (validate_signal_number):
10247 * process-nt.c (signal_cannot_launch):
10248 * process-nt.c (nt_create_process):
10249 * process-nt.c (nt_send_process):
10250 * process-nt.c (nt_kill_child_process):
10251 * process-nt.c (nt_open_network_stream):
10252 * process-nt.c (syms_of_process_nt):
10254 delete quote-handling. call new lisp code that does it better.
10256 * process-unix.c (connect_to_file_descriptor):
10257 * process-unix.c (allocate_pty):
10258 * process-unix.c (unix_send_process):
10259 * process-unix.c (unix_kill_child_process):
10260 * process-unix.c (unix_open_network_stream):
10261 * process-unix.c (unix_open_multicast_group):
10265 * process.c (Fstart_process_internal):
10266 (2). need to canonicalize process path even if absolute.
10268 * select-msw.c (symbol_to_ms_cf):
10269 * select-msw.c (ms_cf_to_symbol):
10270 * select-msw.c (cf_is_autofreed):
10271 * select-msw.c (mswindows_destroy_selection):
10273 * select.c (syms_of_select):
10275 support dibv5, fix bugs. (from Mike Alexander)
10277 * select.c (Fget_selection_internal):
10278 * select.c (select_convert_out):
10281 * sysdep.c (xemacs_stat):
10284 * sysdep.c (mkdir):
10285 * sysdep.c (rmdir):
10286 but keep original stat() here because we provide encapsulation
10290 * sysfile.h (fstat):
10291 remove stat garbage.
10294 fix X/MSW conflict.
10295 don't include tchar.h. it's inappropriate because it makes
10296 compile-time distinctions when we want runtime distinctions.
10297 (we provide our own tchar replacements)
10300 use default object printer for toolbar-button.
10303 make sure we don't encapsulate.
10305 * window.c (vars_of_window):
10306 emphasize that temp-buffer-show-hook is obsolete.
10308 2000-08-05 Martin Buchholz <martin@xemacs.org>
10310 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10311 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10313 * events.c (Fevent_timestamp_lessp):
10314 Not 64-bit clean. Use EMACS_INT, not int.
10316 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10318 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10319 unsigned int and changed the last enum to
10320 lrecord_type_last_built_in_type.
10321 (lrecord_implementations_table): changed prototype to know how
10322 long the array is supposed to be.
10323 (lrecord_type_count): new unsigned int to keep track of the
10324 current number of lisp lrecord types.
10325 (DEFINE_EXTERNAL_LRECORD):
10326 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10327 dynamic-modules to declare new lisp types. They are the same
10328 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10329 int for each new type, and increment lrecord_type_count by 1.
10331 * alloc.c (lrecord_implementations_table): Changed to reference
10332 lrecord_type_last_built_in_type for the size of the array.
10333 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10335 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10337 * glyphs.h (check_valid_item_list): Renamed from
10338 check_valid_item_list_1.
10340 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10342 * select.c (Qselect_coerce): New.
10343 * select.c (Vselection_coercion_alist): New.
10344 * select.c (syms_of_select): Declare.
10345 * select.c (get-selection-internal): Use it.
10346 Use the new select-coerce functionality.
10348 * select.c (select_coerce): New.
10349 * select.h (select_coerce): Declare.
10350 New function to coerce one type of data into another.
10352 2000-08-03 Martin Buchholz <martin@xemacs.org>
10354 * callproc.c (Fcall_process_internal):
10355 (Fcall_process_internal):
10356 * process-unix.c (unix_create_process):
10357 Save and restore the value of errno, so that error messages are accurate.
10359 2000-08-01 Martin Buchholz <martin@xemacs.org>
10361 * elhash.c (print_hash_table):
10362 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10363 Prettify docstrings and indentation.
10365 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10367 * window.c (Fwindow_pixel_edges): Subtract frame border and
10370 2000-07-31 Andy Piper <andy@xemacs.org>
10372 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10373 will acknowledge the change.
10375 * glyphs.h: declare tab_control_order_only_changed.
10377 * glyphs-x.c (x_tab_control_redisplay): use
10378 tab_control_order_only_changed.
10380 * glyphs-widget.c (tab_control_order_only_changed): new function.
10382 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10383 tab_control_order_only_changed.
10385 * gui.c (gui_item_equal_sans_selected): new function.
10386 (gui_item_equal): use it.
10388 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10389 :properties in favor of :items..
10391 * glyphs-widget.c (check_valid_item_list): rename from
10392 check_valid_item_list_1.
10393 (check_valid_item_list_1): renamed.
10394 (combo_box_validate): deprecate :properties in favor of :items.
10395 (widget_instantiate): ditto.
10396 (tab_control_update): ditto.
10397 (image_instantiator_combo_box): ditto.
10398 (image_instantiator_tree_view): ditto.
10399 (image_instantiator_tab_control): ditto.
10400 (layout_post_instantiate): remove dead code.
10402 * print.c (debug_print_no_newline): only write to debugger if in
10405 * elhash.c (Fmake_hash_table): update doc string.
10407 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10408 messages whilst in GC. This at least stops XEmacs crashing but has
10409 the potential for wierd behaviour.
10411 2000-07-31 Martin Buchholz <martin@xemacs.org>
10414 Make existence of s&m files optional.
10416 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10417 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10418 * s/gnu.h: Remove HAVE_GETLOADAVG.
10419 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10420 * s/sol2.h: Remove HAVE_GETLOADAVG.
10421 * lisp.h: Remove getloadavg() declaration.
10423 Include <sys/loadavg.h> if available.
10424 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10425 * config.h.in: Group together getloadavg()-related macros.
10426 Use only configure-time tests to detect getloadavg().
10428 2000-07-30 Martin Buchholz <martin@xemacs.org>
10430 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10432 2000-07-25 Andy Piper <andy@xemacs.org>
10434 * syswindows.h: add tchar.h for native builds.
10436 * frame.c (syms_of_frame): remove set-glyph-image.
10438 * general-slots.h: add Qset_glyph_image.
10440 * glyphs-widget.c (layout_update): add domain arg to
10442 (syms_of_glyphs_widget): remove set-glyph-image.
10444 2000-07-23 Ben Wing <ben@xemacs.org>
10446 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10449 2000-07-22 Andy Piper <andy@xemacs.org>
10451 * symsinit.h: add syms_of_win32().
10453 * gui-msw.c (syms_of_gui_mswindows): remove
10454 Fmswindows_shell_execute.
10455 (Fmswindows_shell_execute): moved to win32.c.
10457 * emacs.c (main_1): add syms_of_win32 ().
10459 * win32.c (init_potentially_nonexistent_functions): rewrite in
10460 compiler-friendly terms.
10461 (Fmswindows_shell_execute): move here from gui-msw.c.
10462 (syms_of_win32): new.
10464 * device-msw.c (Fmswindows_printer_list): clean up args to
10466 Don't include tchar under cygwin or mingw.
10467 (msprinter_default_printer): make cygwin-friendly.
10469 2000-07-21 Andy Piper <andy@xemacs.org>
10471 * glyphs-widget.c (image_instantiator_tree_view): use tab
10472 control's update function.
10473 (layout_property): new function. Retrieve items.
10475 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10476 function. Re-populate the tree view from the pending items.
10478 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10479 is designated the parent if the domain is an image instance. This
10480 is needed so that dirtiness can be cascade up the hierarchy and
10481 thus for layout children to be redisplayed correctly.
10482 (allocate_image_instance): rename glyph -> parent.
10484 * redisplay.h: change redisplay_output_layout signature.
10486 * redisplay-msw.c (mswindows_output_display_block): use domain
10489 * redisplay-x.c (x_output_display_block): use domain arg.
10491 2000-07-10 Andy Piper <andy@xemacs.org>
10493 * window.c (Fset_window_configuration): add comment.
10495 * redisplay-output.c (compare_runes):
10496 (redisplay_output_subwindow): redisplay rather than update subwindow.
10497 (redisplay_output_layout): ditto.
10499 * redisplay-msw.c (mswindows_frame_output_end):
10500 (mswindows_frame_output_end): make defer window pos optional.
10502 * lisp.h: add Flast.
10504 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10505 normalize method. Change update method to be for changed
10506 instantiators. Add redisplay method. Change signature of layout
10508 (struct Lisp_Image_Instance): add instantiator.
10509 (IMAGE_INSTANCE_INSTANTIATOR): new.
10510 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10511 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10512 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10515 (find_instantiator_differences): new function.
10516 (Fset_instantiator_property): new convenience function.
10517 (check_image_instance_structure): strictly check for vector
10519 (normalize_image_instantiator): make non-static.
10520 (instantiate_image_instantiator): pass on dest_mask and use new
10521 signatures for image_instance_layout and friends.
10522 (mark_image_instance): mark the instantiator. Mark the subwindow
10523 face not the widget face.
10524 (image_instance_equal): add instantiator.
10525 (image_instance_hash): ditto.
10526 (allocate_image_instance): ditto.
10527 (Fset_image_instance_property): removed.
10528 (Fimage_instance_file_name): ditto.
10529 (Fcolorize_image_instance): ditto.
10530 (image_instance_layout): add offsets to be set.
10531 (update_image_instance): new function. update an image instance
10532 from its changed instantiator.
10533 (inherit_normalize): add dest_mask.
10534 (xbm_normalize): ditto.
10535 (xface_normalize): ditto.
10536 (xpm_normalize): ditto.
10537 (text_update): set_property -> update.
10538 (image_instantiate): use the glyph identity as a hash key, not the
10540 (glyph_width): use new image_instance_layout signature.
10541 (glyph_ascent): ditto.
10542 (glyph_descent): ditto.
10543 (glyph_height): ditto.
10544 (glyph_query_geometry): ressurrect.
10545 (glyph_layout): ditto.
10546 (redisplay_subwindow): update -> redisplay.
10547 (syms_of_glyphs): add Fset_instantiator_property.
10548 (image_instantiator_format_create): set_property -> update.
10551 (autodetect_normalize): add dest_maks to signature.
10552 (x_redisplay_subwindow): update -> redisplay.
10553 (x_redisplay_widget): ditto.
10554 (x_button_redisplay): ditto.
10555 (x_progress_gauge_redisplay): ditto.
10556 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10558 (console_type_create_glyphs_x): update -> redisplay.
10559 (image_instantiator_format_create_glyphs_x): ditto.
10562 (check_valid_instantiator): disallow glyphs in the instantiator,
10563 they must now be vectors.
10564 (check_valid_instantiator_list): ditto.
10565 (glyph_instantiator_to_glyph): use internal symbol rather than
10567 (widget_update): renamed from widget_set_property. Call cascaded
10569 (redisplay_widget): renamed from update_widget.
10570 (widget_layout): image_instance_layout now takes position as well
10572 (widget_normalize): ditto.
10573 (widget_instantiate): ditto.
10574 (tab_control_query_geometry) ditto.:
10575 (tab_control_update): renamed from tab_control_set_property.
10576 (progress_gauge_update): set_property -> update.
10577 (layout_normalize): rewrite so that child instantiators are
10579 (layout_update): new function. Create glyphs from the normalized
10580 children and cope with any other layout keywords. We do not
10581 instantiate children here that will be take care of by
10582 redisplay_output_layout.
10583 (layout_instantiate): call layout_update and not much else.
10584 (layout_post_instantiate): not sure whether this is needed
10586 (layout_query_geometry): query glyph geometry rather than
10587 image_instance geometry.
10588 (layout_layout): set offsets from pass in parameters. Use glyph
10589 geometry and layout functions rather than image instance ones.
10590 (native_layout_layout): ditto.
10591 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10592 (image_instantiator_widget): set_property -> update.
10593 (image_instantiator_buttons): ditto.
10594 (image_instantiator_progress_guage): ditto.
10595 (image_instantiator_tab_control): ditto.
10596 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10597 (image_instantiator_layout): add update method.
10599 * glyphs-msw.c (bmp_normalize):
10600 (mswindows_resource_normalize): add dest_mask so that it can be
10601 proprogated by layout_normalize.
10602 (begin_defer_window_pos): make optional because it may not be the
10603 right thing to do and it introduces differences with X.
10604 (mswindows_unmap_subwindow): ditto.
10605 (mswindows_map_subwindow): ditto.
10606 (mswindows_redisplay_subwindow): renamed from
10607 mswindows_update_subwindow.
10608 (mswindows_redisplay_widget): ditto.
10609 (mswindows_button_redisplay): renamed from
10610 mswindows_button_update. Update is now what the instantiation
10611 function does for a changed instantiator.
10612 (mswindows_progress_gauge_instantiate): set the progress value
10613 here if appropriate.
10614 (mswindows_tab_control_redisplay): cope with re-ordering of the
10615 members of the tab widget by simply selecting the new top
10616 widget. This makes things appear ok if you click on a tab.
10617 (mswindows_combo_box_instantiate): image_instance_layout now takes
10618 position as well as size.
10619 (mswindows_progress_gauge_redisplay): renamed from
10620 mswindows_progress_gauge_update.
10621 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10622 (image_instantiator_format_create_glyphs_mswindows): ditto.
10624 * glyphs-eimage.c (jpeg_normalize):
10627 (tiff_normalize): add dest_mask so that it can be proprogated by
10631 (print_hash_table):
10632 (hash_table_weakness_validate):
10633 (decode_hash_table_weakness):
10634 (Fhash_table_weakness):
10635 (Fhash_table_type):
10636 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10638 * console.h (struct console_methods): move update_* to
10641 2000-07-20 Ben Wing <ben@xemacs.org>
10643 * *.[ch] (XSETOBJ): remove unused middle argument.
10644 lisp-disunion.h: correct wrap_object() to one argument.
10646 2000-07-15 Ben Wing <ben@xemacs.org>
10649 * s/cygwin32.h (CYGWIN_CONV_PATH):
10650 Add missing logb prototype for v1.1.
10651 Use post-b20 names and alias to pre-b20 names when pre-b20.
10653 * s/windowsnt.h: [5].
10655 2000-07-15 Ben Wing <ben@xemacs.org>
10657 * Makefile.in.in (x_objs):
10658 * Makefile.in.in (sheap_objs):
10659 * Makefile.in.in (objs):
10660 added win32.o, cosmetic cleanups.
10662 * alloc.c (Fmake_byte_code):
10663 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10664 etc. macros which declare their own args now.
10666 * alloc.c (syms_of_alloc):
10667 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10670 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10672 * buffer.c (Fget_file_buffer):
10673 Fixed GCPRO problem.
10675 * buffer.c (get_truename_buffer):
10676 Fixed comment about GC checking.
10678 * buffer.c (syms_of_buffer):
10679 Undeclared those dedicated frame funs.
10683 Define convenience macros for internal/external conversions.
10684 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10685 and Qenvironment_variable_encoding for cleaner code.
10688 Remove dedicated-frame; in lisp.
10690 * bytecode.c (funcall_compiled_function):
10693 * bytecode.c (syms_of_bytecode):
10697 * console-msw.c (mswindows_show_console): Rewrote.
10699 * console-msw.c (Fmswindows_debugging_output): New.
10700 Sends to OutputDebugString (special MSWin debugger interface).
10702 * console-msw.c (Fmswindows_message_box):
10703 Fixed stupid bugs so it works when called from kill-emacs.
10705 * console-msw.c (syms_of_console_mswindows):
10706 Declare Fmswindows_debugging_output.
10709 New MSWin prototypes.
10711 * console-msw.h (struct mswindows_frame):
10712 New entry last-click-mods for improved button-modifier support.
10714 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10715 New struct entry `popup' with corresponding accessor.
10718 * console-x.c (split_up_display_spec):
10719 * console-x.c (get_display_arg_connection):
10720 * console-x.c (x_semi_canonicalize_console_connection):
10721 * console-x.c (x_canonicalize_device_connection):
10722 [[[6]]]: Change char to more specific type.
10723 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10725 * console-x.c (x_semi_canonicalize_console_connection):
10726 * console-x.c (x_canonicalize_device_connection):
10727 [[[9]]]: Fix up error signalling to use new structured error system.
10730 [[[4]]]: Define codesys aliases:
10731 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10732 Qx_color_name_encoding, Qx_display_name_encoding.
10734 * console.h (struct console_methods):
10735 New method make_dialog_box_internal supersedes older
10736 popup_dialog_box method.
10739 Define many new errors, part of new structured errors.
10741 * data.c (init_errors_once_early):
10742 * data.c (syms_of_data):
10745 * device-msw.c (mswindows_init_device):
10746 [[[5]]]: Cleanup to support NT 3.51.
10748 * device-msw.c (decode_devmode): Cleanup.
10750 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10751 * device-msw.c (mswindows_handle_print_dialog_box):
10752 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10753 * device-msw.c (syms_of_device_mswindows):
10754 Delete the dialog box primitives recently introduced by Kirill and
10755 instead interface to general dialog box interface.
10758 * device-x.c (compute_x_app_name):
10759 * device-x.c (x_init_device):
10760 * device-x.c (Fx_valid_keysym_name_p):
10761 * device-x.c (Fx_set_font_path):
10765 * device.h (wrap_device): New.
10766 First of its kind; meant to replace XSETDEVICE.
10768 * dialog-msw.c: Many file-dialog symbols.
10770 * dialog-msw.c (mswindows_register_popup_frame): New.
10771 * dialog-msw.c (mswindows_is_dialog_msg): New.
10772 For supporting kbd traversal in dialog boxes.
10774 * dialog-msw.c (dialog_proc):
10775 Support hitting ESC in dialogs.
10777 * dialog-msw.c (struct):
10778 Common dialog box errors.
10780 * dialog-msw.c (handle_file_dialog_box): New.
10781 Add file dialog code.
10783 * dialog-msw.c (handle_question_dialog_box):
10784 Redo existing code to support new question dialog syntax.
10786 * dialog-msw.c (console_type_create_dialog_mswindows):
10787 We support new dialog console method.
10789 * dialog-msw.c (syms_of_dialog_mswindows):
10790 * dialog-msw.c (vars_of_dialog_mswindows):
10791 New file dialog symbols, vars.
10794 * dialog-x.c (maybe_run_dbox_text_callback):
10795 * dialog-x.c (dbox_descriptor_to_widget_value):
10796 * dialog-x.c (x_make_dialog_box_internal):
10797 * dialog-x.c (console_type_create_dialog_x):
10798 Mule-ize entire file.
10799 Redo to support question dialog syntax.
10803 * dialog.c (Fmake_dialog_box_internal):
10804 * dialog.c (syms_of_dialog):
10805 Kill old popup-dialog-box, replace with new primitive.
10806 Just call device method or signal error.
10808 * eldap.c (Fldap_open):
10809 * eldap.c (Fldap_search_basic):
10810 * eldap.c (Fldap_add):
10811 * eldap.c (Fldap_modify):
10816 * emacs.c (make_arg_list_1):
10817 * emacs.c (make_arg_list):
10818 Mule-ize call to dll_init().
10822 * emacs.c (make_argc_argv):
10823 * emacs.c (free_argc_argv):
10824 * emacs.c (init_cmdargs):
10825 * emacs.c (main_1):
10826 * emacs.c (Fkill_emacs):
10827 * emacs.c (Fdump_emacs):
10828 Update comments about what can be used in syms_* etc.
10829 Call init_win32() when necessary.
10830 Fix up MS Win dialog box in kill-buffer to actually work right.
10841 * eval.c (condition_case_3):
10843 * eval.c (function_argcount):
10844 * eval.c (funcall_lambda):
10847 * eval.c (type_error): New.
10848 * eval.c (maybe_type_error): New.
10849 * eval.c (continuable_type_error): New.
10850 * eval.c (maybe_continuable_type_error): New.
10851 * eval.c (type_error_with_frob): New.
10852 * eval.c (maybe_type_error_with_frob): New.
10853 * eval.c (continuable_type_error_with_frob): New.
10854 * eval.c (maybe_continuable_type_error_with_frob): New.
10855 New functions for use with structured errors.
10858 * event-Xt.c (x_event_to_emacs_event):
10859 Buttons are now modifiers too.
10861 * event-Xt.c (emacs_Xt_current_event_timestamp):
10862 Implement new event method.
10863 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10866 * event-msw.c (ntpipe_shove_writer): [5].
10867 * event-msw.c (mswindows_enqueue_mouse_button_event):
10868 * event-msw.c (mswindows_drain_windows_queue):
10869 * event-msw.c (mswindows_wnd_proc): [7].
10870 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10871 * event-msw.c (mswindows_modifier_state):
10872 Throughout: support new button modifiers.
10874 * event-msw.c (emacs_mswindows_current_event_timestamp):
10875 Implement new event method.
10876 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10879 * event-stream.c (event_stream_current_event_timestamp): New.
10880 * event-stream.c (maybe_kbd_translate): New functionality.
10881 * event-stream.c (vars_of_event_stream):
10882 Document new kbd-translate-table functionality.
10884 * event-stream.c (Fcurrent_event_timestamp): New.
10885 New primitive for use in fabricated events.
10886 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10888 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10891 * events.c (Fmake_event):
10892 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10896 * events.c (format_event_object): fix gcc warnings.
10898 * events.c (Fevent_timestamp): Document new primitives.
10900 * events.c (TIMESTAMP_HALFSPACE): New.
10902 * events.c (Fevent_timestamp_lessp): New. New primitive for
10903 comparing timestamps correctly (half-space algorithm).
10905 * events.c (Fevent_modifier_bits): Doc fix.
10907 * events.c (Fevent_modifiers): Major doc addition.
10908 * events.c (event_x_y_pixel_internal): Typo fix.
10909 * events.c (syms_of_events): Declare new primitives.
10912 Update long comment for button modifiers, timestamps.
10914 * events.h (struct event_stream):
10915 New current_event_timestamp method.
10918 * extents.c (extent_in_region_p):
10919 * extents.c (decode_extent):
10920 * extents.c (Fset_extent_parent):
10921 * extents.c (decode_map_extents_flags):
10925 * extents.c (struct extent_at_arg):
10926 * extents.c (decode_extent_at_flag):
10927 * extents.c (extent_at_mapper):
10928 * extents.c (extent_at_bytind):
10929 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10930 * extents.c (Fextents_at): New primitive. [9].
10931 * extents.c (symbol_to_glyph_layout): [9].
10932 Support new primitive `extents-at'.
10935 * extents.c (get_text_property_bytind):
10936 extent_at_bytind has another arg.
10939 * extents.c (syms_of_extents): New primitive.
10941 * file-coding.c (Fmake_coding_system): [1].
10942 * file-coding.c (subsidiary_coding_system): fix gcc warning
10943 * file-coding.c (syms_of_file_coding): [2].
10945 * fileio.c (Fexpand_file_name):
10946 * fileio.c (Fsysnetunam):
10947 * fileio.c (Ffile_exists_p):
10948 * fileio.c (Ffile_executable_p):
10949 * fileio.c (Fverify_visited_file_modtime):
10952 * fileio.c (syms_of_fileio): [2].
10954 * filelock.c (lock_file_1):
10955 * filelock.c (current_lock_owner):
10956 * filelock.c (lock_if_free):
10957 * filelock.c (lock_file):
10958 * filelock.c (unlock_file):
10961 * fns.c (concat): Fix gcc warning.
10964 * fns.c (Fold_member):
10966 * fns.c (Fold_memq):
10967 * fns.c (memq_no_quit):
10969 * fns.c (Fold_assoc):
10971 * fns.c (Fold_assq):
10972 * fns.c (assq_no_quit):
10974 * fns.c (Fold_rassoc):
10976 * fns.c (Fold_rassq):
10977 * fns.c (rassq_no_quit):
10979 * fns.c (Fold_delete):
10981 * fns.c (Fold_delq):
10982 * fns.c (delq_no_quit):
10983 * fns.c (Fremassoc):
10984 * fns.c (Fremassq):
10985 * fns.c (remassq_no_quit):
10986 * fns.c (Fremrassoc):
10987 * fns.c (Fremrassq):
10988 * fns.c (remrassq_no_quit):
10989 * fns.c (Freverse):
10993 * frame-msw.c (mswindows_init_frame_1):
10994 * frame-msw.c (mswindows_delete_frame):
10995 Register popups with dialog code so keyboard traversing works.
10997 * frame-tty.c (tty_raise_frame_no_select): [1].
11000 * frame-x.c (x_set_frame_text_value):
11001 * frame-x.c (x_set_frame_properties):
11002 * frame-x.c (x_create_widgets):
11006 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11008 * frame.h (wrap_frame): New.
11009 Macro like wrap_device.
11012 * general.c (SYMBOL):
11013 * general.c (syms_of_general):
11014 Major reorg. This is now just a wrapper and symbols themselves
11015 are listed in general-slots.h.
11017 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11018 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11020 * glyphs-msw.c (mswindows_native_layout_instantiate):
11021 Add DS_CONTROL so keyboard traversal will work.
11024 * glyphs-widget.c (syms_of_glyphs_widget):
11025 Move some symbols to general-slots.h.
11028 * glyphs-x.c (xbm_instantiate_1):
11029 * glyphs-x.c (x_xbm_instantiate):
11030 * glyphs-x.c (x_xface_instantiate):
11031 * glyphs-x.c (autodetect_instantiate):
11032 * glyphs-x.c (cursor_font_instantiate):
11033 * glyphs-x.c (x_update_widget):
11034 * glyphs-x.c (x_widget_instantiate):
11035 * glyphs.c (bitmap_to_lisp_data):
11036 * glyphs.c (pixmap_to_lisp_data):
11039 * glyphs.c (syms_of_glyphs):
11043 * gui-x.c (print_widget_value):
11044 * gui-x.c (menu_separator_style_and_to_external):
11045 * gui-x.c (add_accel_and_to_external):
11046 * gui-x.c (button_item_to_widget_value):
11047 * gui-x.c (gui_items_to_widget_values_1):
11048 * gui-x.c (gui_items_to_widget_values):
11049 * gui-x.c (syms_of_gui_x):
11050 * gui-x.c (vars_of_gui_x):
11051 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11055 Muleize, prototype changes matching gui-x.c.
11058 * gui.c (separator_string_p):
11059 * gui.c (gui_item_add_keyval_pair):
11060 * gui.c (make_gui_item_from_keywords_internal):
11061 * gui.c (signal_too_long_error):
11062 * gui.c (parse_gui_item_tree_item):
11063 * gui.c (syms_of_gui):
11064 * gui.c (vars_of_gui):
11066 menu-no-selection-hook moved here (used by MSWin).
11067 Move some symbols to general-slots.h.
11071 * insdel.c (get_buffer_pos_char):
11072 * insdel.c (get_buffer_range_char):
11075 * keymap.c (keymap_lookup_directly):
11076 * keymap.c (keymap_store):
11077 * keymap.c (ensure_meta_prefix_char_keymapp):
11078 * keymap.c (describe_map):
11080 Support new button modifiers.
11082 * lisp-disunion.h (wrap_object):
11083 * lisp-disunion.h (XSETOBJ):
11084 Rename make_obj to wrap_object.
11087 * lisp-union.h (make_int):
11088 * lisp-union.h (make_char):
11089 Support wrap_object.
11092 * lisp.h (LIST_LOOP):
11093 * lisp.h (EXTERNAL_LIST_LOOP):
11094 * lisp.h (LIST_LOOP_2):
11095 * lisp.h (EXTERNAL_LIST_LOOP_1):
11096 * lisp.h (EXTERNAL_LIST_LOOP_2):
11097 * lisp.h (EXTERNAL_LIST_LOOP_3):
11098 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11099 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11100 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11101 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11102 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11103 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11104 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11105 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11106 * lisp.h (struct Lisp_Symbol):
11107 * lisp.h (maybe_continuable_error_with_frob):
11108 Fix up section comments.
11109 Add new types for char to indicate usage.
11110 Delete symbols auto-generated from general-slots.h.
11111 Add prototypes for structured error functions.
11112 Add long comments describing looping macros and change interface
11113 so that lvalues are automatically declared.
11114 Add NO_DECLARE macro in case callers want to declare lvalues
11117 * lread.c (read_syntax_error):
11118 * lread.c (continuable_read_syntax_error):
11119 * lread.c (read_structure):
11120 * lread.c (sequence_reader):
11121 * lread.c (read_list_conser):
11122 * lread.c (read_compiled_function):
11123 Rename syntax_error and continuable_syntax_error to avoid clash
11124 with same-named structured error functions.
11126 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11127 * menubar-msw.c (populate_menu_add_item):
11128 * menubar-msw.c (populate_or_checksum_helper):
11133 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11134 Mule-ize whole file.
11136 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11138 * mule-charset.c (Fmake_charset):
11139 * mule-wnnfns.c (Fwnn_set_param):
11142 * ntproc.c (create_child):
11143 * ntproc.c (Fwin32_set_current_locale):
11144 Add comments portending doom.
11147 * objects-msw.c (old_font_enum_callback_2):
11148 * objects-msw.c (font_enum_callback_1):
11149 * objects-msw.c (mswindows_enumerate_fonts):
11153 * objects-x.c (allocate_nearest_color):
11154 * objects-x.c (x_parse_nearest_color):
11155 * objects-x.c (x_initialize_color_instance):
11156 * objects-x.c (x_print_color_instance):
11157 * objects-x.c (x_finalize_color_instance):
11158 * objects-x.c (x_valid_color_name_p):
11159 * objects-x.c (x_initialize_font_instance):
11160 * objects-x.c (x_print_font_instance):
11161 * objects-x.c (valid_x_font_name_p):
11162 * objects-x.c (truename_via_FONT_prop):
11163 * objects-x.c (truename_via_random_props):
11164 * objects-x.c (truename_via_XListFonts):
11165 * objects-x.c (x_font_truename):
11166 * objects-x.c (x_font_instance_truename):
11167 * objects-x.c (x_font_instance_properties):
11168 * objects-x.c (x_list_fonts):
11169 * objects-x.c (x_find_charset_font):
11170 Mule-ize entire file.
11177 * print.c (std_handle_out_external):
11178 * print.c (debug_print_no_newline):
11179 * print.c (syms_of_print):
11180 Output to all debugger kinds in debug-print.
11181 Fix console-output code under MSWin to actually work.
11183 * process-nt.c (send_signal):
11184 * process-nt.c (nt_create_process):
11185 Use newer Unicode macros.
11187 * process-unix.c (unix_create_process):
11188 * process-unix.c (unix_canonicalize_host_name):
11189 * process-unix.c (unix_open_network_stream):
11195 * search.c (syms_of_search):
11198 * select-msw.c (mswindows_destroy_selection):
11201 * select-x.c (symbol_to_x_atom):
11204 * select.c (syms_of_select):
11207 * sound.c (Fplay_sound_file):
11211 * specifier.c (decode_specifier_type):
11212 * specifier.c (Fvalid_specifier_locale_type_p):
11213 * specifier.c (check_valid_locale_or_locale_type):
11214 * specifier.c (decode_locale):
11215 * specifier.c (decode_locale_type):
11216 * specifier.c (decode_locale_list):
11217 * specifier.c (check_valid_domain):
11218 * specifier.c (decode_specifier_tag_set):
11219 * specifier.c (Fcanonicalize_tag_set):
11220 * specifier.c (Fdefine_specifier_tag):
11221 * specifier.c (Fspecifier_tag_predicate):
11222 * specifier.c (check_valid_inst_list):
11223 * specifier.c (check_valid_spec_list):
11224 * specifier.c (decode_how_to_add_specification):
11225 * specifier.c (check_modifiable_specifier):
11226 * specifier.c (specifier_add_spec):
11227 * specifier.c (boolean_validate):
11228 * specifier.c (display_table_validate):
11231 * specifier.c (syms_of_specifier):
11232 Move some symbols to general-slots.h.
11236 * symbols.c (Fmapatoms):
11237 * symbols.c (Fapropos_internal):
11240 * symbols.c (set_default_buffer_slot_variable):
11241 * symbols.c (set_default_console_slot_variable):
11244 * symbols.c (defsymbol_massage_name_1):
11245 * symbols.c (defkeyword_massage_name):
11246 * symbols.c (deferror_1):
11247 * symbols.c (deferror):
11248 * symbols.c (deferror_massage_name_and_message):
11250 * symeval.h (DEFSYMBOL):
11251 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11253 * symbols.c (syms_of_symbols):
11257 * symsinit.h (init_win32): New.
11258 Also new is syms_of_dialog_mswindows.
11261 Add new Unicode macros, missing Cygwin wide-char functions,
11262 convenience conversion macros for Qmswindows_tstr, macros for
11263 encapsulating required MSWin <-> Cygwin filename conversions,
11264 prototype for dynamically-extracted (not in NT 3.51) functions.
11269 * tooltalk.c (Fadd_tooltalk_message_arg):
11270 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11271 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11274 * tooltalk.c (syms_of_tooltalk):
11278 * unexnt.c (unexec):
11279 Fix up headers, declaration of unexec() to be more standard.
11281 2000-07-20 Martin Buchholz <martin@xemacs.org>
11283 * offix.h: Revert change to guard macros - they're used in offix.c!
11285 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11287 * lisp.h: Defsubred Fdelete.
11289 * console-msw.h: (msprinter_default_printer): Added.
11291 * console-msw.c (msprinter_canonicalize_console_connection):
11292 (msprinter_canonicalize_device_connection): Added.
11294 * device-msw.c (msprinter_default_printer):
11295 (Fmswingows_get_default_printer):
11296 (signal_enum_priner_error):
11297 (Fmswingows_printer_list): Added.
11299 2000-07-19 Martin Buchholz <martin@xemacs.org>
11301 * XEmacs 21.2.35 is released.
11303 2000-07-19 Martin Buchholz <martin@xemacs.org>
11305 * select-x.c (x_handle_selection_request):
11306 Text selected in xemacs and pasted into xterm failed to appear.
11307 Spelling fixes and cosmetic changes.
11309 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11311 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11312 XEmacs frame (fix for doubling chars in dialog boxes).
11314 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11316 * select.c (select_convert_in, select_convert_out):
11317 Don't call intern() every time.
11319 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11320 * select.c (vars_of_select): Initialise them.
11322 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11324 * select.c (selection-coercible-types): New.
11326 * select.c (own-selection-internal):
11327 * select.c (get-selection-internal):
11328 MULE bug fix - these should default to COMPOUND_TEXT and not
11329 STRING for MULE. I think.
11331 * select.c (select_convert_out): Use selection-coercible-types
11332 to find types that we can attempt to perform coercions on.
11334 2000-07-18 Martin Buchholz <martin@xemacs.org>
11338 Add coding: cookie to identify encoding.
11340 * mule-canna.c (CANNA_mode_keys): make static.
11341 Use proper prototypes, even for functions of no arguments.
11342 Remove external prototype for Fding().
11344 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11346 * select.c (syms_of_select): Add missing DEFSUBR.
11348 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11350 * select.c (get_selection_internal, own_selection_internal):
11351 Make the type default to STRING, rather than placing a nil type
11352 into Vselection_alist.
11354 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11356 * gpmevent.c (tty_selection_exists_p):
11357 * gpmevent.c (tty_own_selection):
11358 Updated parameter lists.
11360 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11362 * select.h (selection-alist): Removed declaration.
11364 * select.h (get_local_selection):
11365 * select.c (get_local_selection):
11368 * select.h (convert_selection): Removed declaration.
11369 * select.c (convert_selection): Removed.
11370 This function belongs in Lisp.
11372 * select.h (select_convert_in): Declare.
11373 * select.h (select_convert_out): Declare.
11374 * select.c (select_convert_in): New.
11375 * select.c (select_convert_out): New.
11376 New conversion functions for other files to call.
11378 * select.h (select_notify_buffer_kill): Declare.
11379 * select.c (select_notify_buffer_kill): New.
11380 New functions that get called from kill-buffer.
11382 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11383 X-specific lisp code.
11385 * select.h: Declare some of the lisp-visible functions for
11388 * select.c (clean_local_selection_data): Removed. This was
11389 a disgusting function, and previously should have been in
11390 select-x.c in any case. The functionality is now provided
11391 in select-convert-from-integer (select.el).
11393 * select.c (available-selection-types): Fixed stupidity where
11394 INTEGER and ATOM got added twice. Also add STRING when we see an
11397 * select.c (get-selection-internal): Removed symbol stripping. No
11398 longer causes conversion when data comes from the internal cache.
11400 * select.c (syms_of_select): Added new functions.
11402 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11403 error checking - previously this called abort!
11405 * select-x.c (x_own_selection): Changed comment.
11407 * select-x.c (x_handle_selection_request): Use select_convert_out.
11408 Don't mess with selection-alist; it's an internal variable of select.c.
11410 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11412 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11413 rather than messing with selection-alist.
11415 * select-msw.c (mswindows_get_foreign_selection):
11416 Use TO_INTERNAL_FORMAT rather than hacking.
11418 2000-07-14 Martin Buchholz <martin@xemacs.org>
11420 * process-unix.c (unix_open_multicast_group):
11421 (unix_open_multicast_group): Remove useless casts.
11423 2000-07-13 Martin Buchholz <martin@xemacs.org>
11425 * sound.c (Fplay_sound): Fix `unused variable' warning.
11427 * emacs.c (main): Use correct type for _environ on SCO5.
11429 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11431 * console.h (own_selection_method):
11432 * console.h (selection_exists_p_method):
11433 * console.h (available_selection_types_method): New.
11434 * console.h (register_selection_data_type_method): New.
11435 * console.h (selection_data_type_name): New.
11437 * console-msw.h (mswindows_destroy_selection): Declare it. New
11438 function & alist to track GlobalAlloc()'d handles that need
11439 releasing when the clipboard data gets replaced or emptied.
11441 * event-msw.c (mswindows_wnd_proc): Call it.
11443 * lisp.h, general.c (Qappend): New symbol representing a
11446 * select.c (own-selection-internal):
11447 * select.c (selection-exists-p):
11448 * select.c (available-selection-types): New.
11449 * select.c (register-selection-data-type): New.
11450 * select.c (selection-data-type-name): New. New functions to deal
11451 with device-specific selection data formats.
11452 * select.c (selection-converter-out-alist): Renamed.
11453 * select.c (selection-converter-in-alist): New.
11454 * select.c (selection-appender-alist): New. Added new alists.
11455 * select.c (syms_of_select, vars_of_select): Added new symbols &
11457 * select.c (get_local_selection): Split.
11458 * select.c: Removed spurious type checking - selections may now be
11459 of any type, not just strings.
11460 * select.c (own-selection-internal):
11462 * select.h, select.c (convert_selection): New. Created
11463 convert_selection() function based on get_local_selection().
11464 * select.h, select.c (QCF_*): New symbols representing mswindows
11466 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11467 symbols representing `how-to-add' modes.
11469 * select-msw.c (x_sym_p): New.
11470 * select-msw.c (symbol_to_ms_cf): New.
11471 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11472 symbols & clipboard formats. Can also handle string names.
11473 * select-msw.c (mswindows_own_selection):
11474 * select-msw.c (mswindows_selection_exists_p):
11475 Added `data-type' parameter. Use it.
11476 * select-msw.c (mswindows_available_selection_types): New.
11477 * select-msw.c (mswindows_register_selection_data_type): New.
11478 * select-msw.c (mswindows_selection_data_type_name): New.
11479 * select-msw.c (mswindows_own_selection):
11480 * select-msw.c (mswindows_get_foreign_selection):
11481 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11482 * select-msw.c (console_create_select_mswindows): Added new methods.
11483 * select-msw.c (mswindows_destroy_selection): New.
11484 * select-msw.c (Vhandle_alist): New list.
11485 * select-msw.c (mswindows_own_selection):
11487 * select-x.c (x_own_selection):
11488 * select-x.c (x_selection_exists_p):
11489 * select-x.c: Added some comments about maybe using new
11491 * select-x.c (x_own_selection):
11493 * specifier.c: Remove definition of Qappend (now in general.c)
11494 * specifier.c (syms_of_specifier): Remove Qappend.
11496 2000-07-12 Martin Buchholz <martin@xemacs.org>
11498 * config.h.in: Add socklen_t.
11500 * s/decosf4-0.h: No special compiler flags needed or desired.
11501 In particular, undefine _BSD for DEC OSF 4.0.
11503 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11505 * redisplay-msw.c (msprinter_frame_output_end): Added.
11506 (console_type_create_redisplay_mswindows): Referred the above.
11508 * frame.c (setup_frame_without_minibuffer): Do not create a
11509 default minibuffer frame on a printer device.
11511 * frame-msw.c (apply_dc_geometry): Added.
11512 (msprinter_start_page):
11513 (msprinter_init_frame_3):
11514 (msprinter_eject_page): Use it.
11516 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11517 and removed residual duplex and orientation properties.
11519 2000-07-11 Martin Buchholz <martin@xemacs.org>
11521 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11523 * unexalpha.c: Remove system prototypes from C sources!
11525 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11527 * eval.c: Remove references to M-x edit-options in DEFUNs for
11528 `defvar' and `defconst'.
11530 2000-07-09 Martin Buchholz <martin@xemacs.org>
11532 * config.h.in: Remove SMART_INCLUDE hackery.
11534 PostgreSQL hacking:
11535 * config.h.in: Don't use SMART_INCLUDE.
11537 * postgresql.h: Include libpq-fe.h here. Fix typo.
11538 * inline.c: Simply #include "postgresql.h"
11540 - Don't use SMART_INCLUDE
11541 - Use simply "const".
11542 - Use standard doc string conventions.
11543 - Use correct type for result of PQstatus.
11545 2000-07-09 Martin Buchholz <martin@xemacs.org>
11547 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11549 C++ compilation changes.
11550 * config.h.in (EXTERN_C): Define.
11551 * config.h.in (not): This is also a C++ keyword.
11552 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11553 * cm.c: Use EXTERN_C.
11554 * redisplay-tty.c: Use EXTERN_C.
11555 * sysdep.c: Use EXTERN_C. Remove Gould support.
11557 2000-07-09 Martin Buchholz <martin@xemacs.org>
11559 * general.c: Remove duplicate definition for Qfunction.
11561 2000-07-08 Ben Wing <ben@xemacs.org>
11563 * device-msw.c (msprinter_init_device):
11564 * device-msw.c (sync_printer_with_devmode):
11565 * device-msw.c (handle_devmode_changes):
11566 * device-msw.c (print_dialog_worker):
11567 * device-msw.c (Fmsprinter_apply_settings):
11568 * device-msw.c (hash_devmode):
11569 * device-msw.c (Fmsprinter_settings_despecialize):
11570 use Qmswindows_tstr, not Qctext.
11572 * vm-limit.c (check_memory_limits):
11573 avoid infinite loop printing warning messages.
11575 2000-07-05 Craig Lanning <lanning@scra.org>
11577 * Makefile.in.in: Add support for including the Windows resources
11578 when building with the cygwin and mingw targets.
11580 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11581 not set or not correct.
11582 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11583 (init_initial_directory): Don't try to use $PWD on the
11584 WIN32_NATIVE target.
11587 [[Add -mwindows to eliminate console window.]] not required --ben
11588 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11589 (MAIL_USE_POP): removed; now handled by configure.
11591 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11592 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11593 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11594 (MAIL_USE_POP): removed; now handled by configure.
11595 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11596 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11597 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11599 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11600 up from <winsock.h> via systime.h.
11601 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11602 (getpagesize): from Dan Holmsand, added.
11603 Added #endif which was left dangling by Ben's mega patch; added
11604 comment to help prevent this in the future.
11606 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11608 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11610 * console-msw.h (struct mswindows_device): Removed unnecessary
11611 cached device geometry values.
11612 Added update_tick and an accessor macro.
11613 (Lisp_Devmode): Added lrecord declaration.
11614 (struct msprinter_device): Contain devmode as a Lisp object.
11615 Added mswindows_get_selected_frame_hwnd();
11617 * console.h (struct console_methods): Indentation nitpicking.
11619 * device-msw.c (mswindows_init_device): Do not initialize geometry
11620 cache. Initialize update tick.
11621 (mswindows_device_system_metrics): Ask the device for its geometry.
11622 (global_free_2_maybe):
11623 (devmode_to_hglobal):
11624 (handle_printer_changes):
11625 (ensure_not_printing):
11626 (print_dialog_worker):
11627 (Fmsprinter_print_setup_dialog):
11628 (Fmsprinter_print_dialog):
11629 (plist_get_margin):
11630 (plist_set_margin):
11631 (Fmsprinter_page_setup_dialog): Added functions.
11632 (sync_printer_with_devmode):
11633 (handle_devmode_changes):
11634 (Fmsprinter_get_settings):
11635 (Fmsprinter_select_settings):
11636 (Fmsprinter_apply_settings):
11637 (allocate_devmode):
11638 (Fmsprinter_settings_copy):
11639 (Fmsprinter_settings_despecialize):
11641 (finalize_devmode):
11643 (hash_devmode): Added functions
11644 (syms_of_device_mswindows): Init devmode lrecord class.
11646 * device.h: Added an exfun for find-device.
11648 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11649 geometry; although, recreate the device compatible DC.
11651 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11652 (msprinter_init_frame_3):
11653 (msprinter_frame_property):
11654 (msprinter_internal_frame_property_p):
11655 (msprinter_frame_properties):
11656 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11657 print job properties (will move to device settings).
11659 * lisp.h: Added symbols.
11661 * general.c (syms_of_general): Declared them.
11663 * hash.c (string_hash): Added.
11665 * lrecord.h (lrecord_type): Added devmode lrecord type.
11667 2000-07-02 Mike Sperber <mike@xemacs.org>
11669 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11672 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11674 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11677 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11679 * data.c (Fstring_to_number): Don't recognize floating point if
11682 2000-06-22 Martin Buchholz <martin@xemacs.org>
11684 * glyphs-widget.c (tab_control_query_geometry):
11685 (widget_query_geometry):
11686 (button_query_geometry):
11687 * glyphs.c (text_query_geometry):
11688 Enforce type correctness.
11690 2000-06-18 Martin Buchholz <martin@xemacs.org>
11692 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11693 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11695 2000-06-17 Martin Buchholz <martin@xemacs.org>
11697 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11698 conflicts with gcc's fixincluded version of FOO.h.
11700 * glyphs.h (image_instance_geometry): Remove trailing `,'
11702 2000-06-08 Mike Alexander <mta@arbortext.com>
11704 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11705 (shove_thread): Don't write the same output twice
11706 (make_ntpipe_output_stream): Increase priority of shove thread
11707 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11709 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11712 2000-06-12 Ben Wing <ben@xemacs.org>
11714 * s\mingw32.h (sigset):
11715 * s\windowsnt.h (sigset):
11716 rename msw_ to mswindows_ for consistency with general convention.
11718 2000-06-12 Ben Wing <ben@xemacs.org>
11721 * console-msw.c (mswindows_get_console_hwnd):
11722 * console-msw.c (mswindows_ensure_console_allocated):
11723 * console-msw.c (mswindows_hide_console):
11724 * console-msw.c (mswindows_show_console):
11725 * console-msw.c (mswindows_ensure_console_buffered):
11726 * console-msw.c (mswindows_output_console_string):
11727 * console-msw.c (mswindows_windows9x_p):
11729 * device-msw.c (mswindows_get_workspace_coords):
11730 * device-msw.c (mswindows_device_system_metrics):
11731 * dialog-msw.c (mswindows_popup_dialog_box):
11732 * event-msw.c (mswindows_wnd_proc):
11733 * frame-msw.c (mswindows_size_frame_internal):
11734 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11735 * menubar-msw.c (displayable_menu_item):
11736 * menubar-msw.c (mswindows_char_is_accelerator):
11738 * nt.c (mswindows_sigset):
11739 * nt.c (mswindows_sigrelse):
11740 * nt.c (mswindows_sigpause):
11741 * nt.c (mswindows_raise):
11742 * nt.c (timer_proc):
11744 * ntproc.c (find_child_console):
11745 * ntproc.c (sys_kill):
11747 * print.c (std_handle_out_external):
11748 * process-nt.c (find_child_console):
11749 * process-nt.c (send_signal_the_95_way):
11750 * process-nt.c (ensure_console_window_exists):
11751 * process-nt.c (nt_create_process):
11753 rename msw_ to mswindows_ for consistency with general convention.
11757 include nt.h, not syswindows.h.
11759 * nt.c (mswindows_fstat):
11760 * nt.c (mswindows_stat):
11761 prefix mswindows_ instead of attempting to directly override the
11762 library functions. fix declarations.
11765 include syswindows.h. move some sysdep.h stuff here.
11768 include syswindows.h, not <windows.h>.
11776 * sysdep.c (sys_fstat):
11777 * sysdep.c (sys_stat):
11778 call mswindows versions when appropriate.
11781 move mswin decls to nt.h.
11784 add long comment describing appropriate use of the various windows
11787 2000-06-11 Ben Wing <ben@xemacs.org>
11789 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11791 2000-06-10 Ben Wing <ben@xemacs.org>
11793 * Makefile.in.in (release):
11794 Correction to make sure xemacs.exe always dumped when correct.
11798 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11800 * buffer.c (set_buffer_internal):
11801 [[[[2]]]]: Remove HAVE_FEP code.
11803 * buffer.c (init_initial_directory):
11807 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11811 * callproc.c (call_process_cleanup):
11812 * callproc.c (Fold_call_process_internal):
11813 * callproc.c (child_setup):
11814 * callproc.c (getenv_internal):
11815 * callproc.c (init_callproc):
11816 * callproc.c (vars_of_callproc):
11817 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11818 __CYGWIN32__ -> CYGWIN.
11819 DOS_NT -> WIN32_NATIVE.
11820 Remove MSDOS support/references, converting to WIN32_NATIVE
11822 __MINGW32__ -> MINGW.
11823 Fix windows.h includes.
11824 Remove bogus HAVE_NTGUI.
11830 mswindows_message_outputted added for use in allowing startup
11831 errors on the console to be seen.
11833 * console-msw.c (msw_ensure_console_allocated):
11834 * console-msw.c (msw_output_console_string):
11835 * console-msw.c (DHEADER):
11836 * console-msw.c (DOPAQUE_DATA):
11837 * console-msw.c (DEVENT):
11838 * console-msw.c (DCONS):
11839 * console-msw.c (DCONSCDR):
11840 * console-msw.c (DSTRING):
11841 * console-msw.c (DVECTOR):
11842 * console-msw.c (DSYMBOL):
11843 * console-msw.c (DSYMNAME):
11846 * console-stream.c (stream_init_console):
11847 Fix text/binary problems.
11850 * device-msw.c (mswindows_finish_init_device):
11851 * device-msw.c (mswindows_delete_device):
11854 * device.c (handle_asynch_device_change):
11858 * dgif_lib.c (DGifOpenFileName):
11859 * dgif_lib.c (DGifOpenFileHandle):
11860 * dgif_lib.c (DGifGetLine):
11861 * dgif_lib.c (DGifGetPixel):
11862 Added config.h/lisp.h, fix up includes.
11869 * dired.c (file_name_completion):
11870 * dired.c (Ffile_attributes):
11871 * dired.c (syms_of_dired):
11875 * dumper.c (pdump_file_unmap):
11876 * dumper.c (pdump_load):
11880 * editfns.c (Ftemp_directory):
11881 * editfns.c (user_login_name):
11882 * editfns.c (Fuser_real_login_name):
11883 * editfns.c (get_home_directory):
11886 * elhash.c (finish_marking_weak_hash_tables):
11887 [[[[5]]]]: Fix GCC warnings.
11890 * emacs.c (mswindows_handle_hardware_exceptions):
11891 * emacs.c (make_arg_list_1):
11892 * emacs.c (main_1):
11893 * emacs.c (Fkill_emacs):
11894 * emacs.c (Fdump_emacs):
11896 Fix problems with nested crashes, add long comment.
11898 * event-Xt.c (init_event_Xt_late):
11902 * event-msw.c (mswindows_dde_callback):
11903 * event-msw.c (mswindows_handle_sticky_modifiers):
11904 * event-msw.c (mswindows_wnd_proc):
11908 * events.c (character_to_event):
11912 * fileio.c (Ffile_name_directory):
11913 * fileio.c (Ffile_name_nondirectory):
11914 * fileio.c (directory_file_name):
11915 * fileio.c (Fexpand_file_name):
11916 * fileio.c (Fsubstitute_in_file_name):
11917 * fileio.c (Ffile_name_absolute_p):
11918 * fileio.c (check_executable):
11919 * fileio.c (Ffile_readable_p):
11920 * fileio.c (Ffile_accessible_directory_p):
11921 * fileio.c (Ffile_modes):
11922 * fileio.c (Funix_sync):
11923 * fileio.c (vars_of_fileio):
11926 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11928 Expand getdefdir defn.
11929 Fix bogus rename() comment.
11931 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11932 to use standard XEmacs include files, e.g. sysfile.h, rather
11933 than system-specific includes.
11939 * frame.c (vars_of_frame):
11943 * getloadavg.c (getloadavg):
11945 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11946 (We don't use it elsewhere in the code; just add a comment.)
11953 * glyphs-msw.c (mswindows_resource_instantiate):
11956 * glyphs-x.c (x_native_layout_instantiate):
11959 * gui-msw.c (Fmswindows_shell_execute):
11968 * lread.c (locate_file_in_directory_mapper):
11975 * mem-limits.h (get_lim_data):
11987 * nt.c (rva_to_section):
11988 * nt.c (mswindows_executable_type):
11990 Fix closedir() defn.
11993 [[[[8]]]]: *_OK defs moved to sysfile.h.
12002 * print.c (std_handle_out_external):
12006 * process-nt.c (nt_create_process):
12008 try to fix process quoting somewhat.
12010 * process-unix.c (unix_create_process):
12014 * process.c (vars_of_process):
12021 * realpath.c (xrealpath):
12024 * redisplay-tty.c (init_tty_for_redisplay):
12034 * sheap.c (more_static_core):
12035 * sheap.c (report_sheap_usage):
12039 * signal.c (alarm_signal):
12046 * strftime.c (zone_name):
12049 * symsinit.h (init_sunpro):
12053 commctrl.h not in Cygwin b20.1.
12056 * sysdep.c (endif):
12057 * sysdep.c (sys_subshell):
12058 * sysdep.c (init_baud_rate):
12059 * sysdep.c (emacs_get_tty):
12060 * sysdep.c (emacs_set_tty):
12061 * sysdep.c (tty_init_sys_modes_on_device):
12062 * sysdep.c (init_system_name):
12063 * sysdep.c (sys_open):
12064 * sysdep.c (interruptible_open):
12065 * sysdep.c (sys_fopen):
12066 * sysdep.c (sys_mkdir):
12067 * sysdep.c (sys_rename):
12068 * sysdep.c (get_process_times_1):
12075 * sysdir.h (DIRENTRY_NONEMPTY):
12078 * sysdll.c (dll_init):
12084 added text/binary defs.
12090 * sysproc.h (EDESTADDRREQ):
12091 * sysproc.h (poll_fds_for_input):
12108 Always define WIN32_LEAN_AND_MEAN.
12110 * unexcw.c (unexec):
12114 * unexec.c (copy_text_and_data):
12115 * unexec.c (adjust_lnnoptrs):
12119 * unexnt.c (_start):
12122 2000-06-07 Ben Wing <ben@xemacs.org>
12124 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12125 was used only as a model. We've long since extracted any useful
12126 logic or code out of this. (I just did an exhaustive search.)
12128 * s\msdos.h: Removed.
12130 * s\windows95.h: Removed.
12132 2000-06-10 Ben Wing <ben@xemacs.org>
12136 Don't use extern with fun defs.
12140 Remove nt\inc include.
12141 Remove getdisk, getdefdir. (The former is unused, the latter
12142 expanded in fileio.h.)
12145 * s\windowsnt.h (WIN32_NATIVE):
12146 * s\windowsnt.h (HAVE_STRCASECMP):
12148 Add long comment about preprocessor changes.
12149 Remove getdisk, getdefdir. (The former is unused, the latter
12150 expanded in fileio.h.)
12152 2000-06-10 Ben Wing <ben@xemacs.org>
12161 Remove bogus/unused NO_SOCK_SIGIO.
12163 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12165 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12168 2000-06-04 Mike Sperber <mike@xemacs.org>
12170 * casetab.c (set_case_table): For `set-standard-case-table',
12171 actually deposit the new case tables where the rest of XEmacs can
12174 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12176 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12178 2000-06-05 Ben Wing <ben@xemacs.org>
12180 * callproc.c (child_setup): Don't do close_load_descs() under
12181 MS Windows. Put in a comment explaining why.
12183 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12185 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12186 Toolkit shell" which breaks `kill-compilation' on Windows NT
12187 native, retaining STDERR handling improvements.
12189 2000-06-01 Andreas Jaeger <aj@suse.de>
12191 * s/s390.h: Support for S390, based on a patch by Martin
12192 Schwidefsky <schwidefsky@de.ibm.com>.
12194 2000-05-30 Andy Piper <andy@xemacs.org>
12196 * window.c (allocate_window):
12197 (make_dummy_parent):
12198 (Fset_window_configuration): use new hashtable type.
12200 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12201 (struct image_instantiator_methods):
12202 (struct Lisp_Image_Instance): make instance geometry signed.
12204 * glyphs.c (instantiate_image_instantiator):
12205 (image_instance_query_geometry):
12206 (image_instance_layout):
12207 (image_instance_layout):
12208 (query_string_geometry):
12209 (text_query_geometry):
12210 (image_instantiate):
12211 (image_instantiate):
12212 (cache_subwindow_instance_in_frame_maybe):
12213 (subwindow_query_geometry): make instance geometry signed.
12215 * glyphs-widget.c (widget_query_geometry):
12217 (button_query_geometry):
12218 (tree_view_query_geometry):
12219 (tab_control_query_geometry):
12220 (layout_query_geometry):
12222 (native_layout_layout): make instance geometry signed.
12224 2000-05-29 Olivier Galibert <galibert@pobox.com>
12226 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12229 * general.c (syms_of_general): Add Qfull_assoc symbol.
12231 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12233 (decode_weak_list_type): Decode full-assoc type.
12234 (encode_weak_list_type): Encode full-assoc type.
12235 (Fmake_weak_list): Update doc string.
12237 2000-05-30 Andy Piper <andy@xemacs.org>
12239 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12241 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12242 (decode_hash_table_weakness): ditto.
12243 (Fhash_table_weakness): ditto.
12244 (Fhash_table_type): ditto.
12245 (finish_marking_weak_hash_tables): ditto.
12246 (hash_table_weakness_validate): ditto.
12247 (syms_of_elhash): ditto.
12249 2000-05-28 Martin Buchholz <martin@xemacs.org>
12251 * XEmacs 21.2.34 is released.
12253 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12255 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12257 (updating_line_start_cache): Gone.
12258 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12259 generic code to force a minimum of 1 line laid out in the
12262 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12264 * glyphs.c (instantiate_image_instantiator): Check for initialized
12265 height & width no longer special cases IMAGE_NOTHING.
12266 (nothing_instantiate): Set height and width of instance.
12268 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12270 * unexelf.c (unexec): Search for ".data" section.
12271 Initialize new_data2_offset from old_data_index.
12272 Remove redundant check for ElfW.
12274 2000-05-23 Andy Piper <andy@xemacs.org>
12276 * glyphs.c (get_image_instantiator_governing_domain): allow more
12277 specific domains as the governing domain rather than expecting an
12278 exact match. This fixes problems with layouts.
12280 2000-05-22 Andy Piper <andy@xemacs.org>
12282 * redisplay-output.c (compare_runes): check for non-images
12284 * glyphs.c (set_glyph_dirty_p): ditto.
12285 (update_glyph_cachel_data): ditto.
12287 * glyphs-widget.c (layout_post_instantiate): ditto.
12288 (layout_post_instantiate): ditto.
12290 * event-msw.c (mswindows_wnd_proc): warning removal.
12292 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12294 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12296 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12298 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12300 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12301 (mswindows_executable_type): mingw32 now has enough headers for
12304 2000-05-20 Andy Piper <andy@xemacs.org>
12306 * console-msw.c (mswindows_output_last_error): ; -> ,
12308 2000-05-12 Andy Piper <andy@xemacs.org>
12310 * console-msw.c (FROB): compare ints with ints.
12312 2000-05-11 Andy Piper <andy@xemacs.org>
12314 * glyphs-x.c (x_finalize_image_instance): make minimal build
12317 2000-05-20 Ben Wing <ben@xemacs.org>
12320 * event-Xt.c (vars_of_event_Xt):
12321 move modifier-keys-are-sticky to event-stream.c.
12324 * event-msw.c (mswindows_enqueue_mouse_button_event):
12325 * event-msw.c (key_needs_default_processing_p):
12326 * event-msw.c (XEMSW_LCONTROL):
12327 * event-msw.c (mswindows_handle_sticky_modifiers):
12328 * event-msw.c (FROB):
12329 * event-msw.c (clear_sticky_modifiers):
12330 * event-msw.c (output_modifier_keyboard_state):
12331 * event-msw.c (output_alt_keyboard_state):
12332 * event-msw.c (mswindows_wnd_proc):
12333 * event-msw.c (mswindows_modifier_state):
12334 * event-msw.c (emacs_mswindows_handle_magic_event):
12335 implement sticky modifiers.
12338 * event-stream.c (vars_of_event_stream):
12339 move modifier-keys-are-sticky here.
12342 add CHECK_FUNCTION.
12345 implement map-range-table.
12348 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12350 * redisplay-tty.c (reset_tty_modes):
12351 (tty_redisplay_shutdown): Adjust argument type to
12352 tty_frame_output_end.
12354 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12356 * eval.c (Fbacktrace): Don't output a line with only right
12359 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12361 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12362 (Fpq_reset_poll): Ditto.
12364 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12366 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12368 2000-05-16 Ben Wing <ben@xemacs.org>
12371 * buffer.c (dfc_convert_to/from_internal_format):
12372 * buffer.c (reinit_vars_of_buffer):
12373 Fix conversion functions to allow reentrancy.
12376 * console-msw.c (mswindows_output_last_error):
12377 New fun, generally useful -- output a human-readable
12378 version of GetLastError() on the console.
12381 * console-msw.h (struct mswindows_frame):
12382 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12384 * console-stream.c (stream_output_begin):
12385 * console-stream.c (stream_output_end):
12386 * console-stream.c (stream_output_vertical_divider):
12387 * console-stream.c (stream_clear_region):
12388 * console-stream.c (stream_flash):
12389 * console-stream.c (console_type_create_stream):
12390 Delete blank stream methods, not needed.
12392 * console.h (struct console_methods):
12393 Split begin/end methods into window and frame.
12396 * event-msw.c (mswindows_handle_paint):
12397 * event-msw.c (output_alt_keyboard_state):
12398 * event-msw.c (mswindows_wnd_proc):
12399 * event-msw.c (vars_of_event_mswindows):
12400 Comment about problems with ignored-expose.
12401 Define mswindows-debug-events; not really implemented.
12403 * frame-msw.c (mswindows_init_frame_1):
12407 * glyphs-msw.c (begin_defer_window_pos):
12408 * glyphs-msw.c (mswindows_unmap_subwindow):
12409 * glyphs-msw.c (mswindows_map_subwindow):
12410 * glyphs-msw.c (mswindows_resize_subwindow):
12411 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12413 * glyphs.c (make_image_instance_1):
12416 * gutter.c (Fredisplay_gutter_area):
12417 Use new begin/end methods.
12419 * lisp.h (Dynarr_new2):
12423 * redisplay-msw.c (mswindows_frame_output_begin):
12424 * redisplay-msw.c (mswindows_frame_output_end):
12425 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12426 New begin/end methods -- handle DeferWindowPos.
12428 * redisplay-output.c (redisplay_move_cursor):
12429 * redisplay-output.c (redraw_cursor_in_window):
12430 * redisplay-output.c (redisplay_update_line):
12431 * redisplay-output.c (redisplay_output_window):
12432 New begin/end methods.
12435 * redisplay-tty.c (tty_frame_output_begin):
12436 * redisplay-tty.c (tty_frame_output_end):
12437 * redisplay-tty.c (console_type_create_redisplay_tty):
12438 New begin/end methods.
12441 * redisplay-x.c (x_window_output_begin):
12442 * redisplay-x.c (x_window_output_end):
12443 * redisplay-x.c (console_type_create_redisplay_x):
12444 New begin/end methods.
12446 * redisplay.c (redisplay_frame):
12447 * redisplay.c (Fredisplay_echo_area):
12448 New begin/end methods.
12449 use MAYBE_DEVMETH for clear_frame; it may not exist.
12451 * window.h (WINDOW_XFRAME):
12452 WINDOW_XFOO macros -- get locale and decode struct pointer.
12455 2000-05-12 Ben Wing <ben@xemacs.org>
12458 * emacs.c (ensure_no_quitting_from_now_on):
12459 * emacs.c (fatal_error_signal):
12460 * emacs.c (mswindows_handle_hardware_exceptions):
12462 * emacs.c (Fkill_emacs):
12463 * emacs.c (shut_down_emacs):
12464 * emacs.c (assert_failed):
12465 various improvements in fatal error handling.
12468 move preparing_for_armageddon to emacs.c.
12471 declare fatal_error_in_progress.
12474 * print.c (std_handle_out_external):
12475 * print.c (std_handle_out_va):
12476 * print.c (stderr_out):
12477 * print.c (stdout_out):
12478 use console under mswin when no standard output.
12479 don't do code conversion during fatal error.
12481 * scrollbar.c (Fscrollbar_page_up):
12482 * scrollbar.c (Fscrollbar_page_down):
12483 fix missing else. reindent.
12485 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12489 * glyphs.h (GLYPH_CACHEL_DESCENT):
12490 (GLYPH_CACHEL_DESCENT):
12491 (GLYPH_CACHEL_DESCENT):
12492 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12493 used in case these are inline functions.
12494 Use more absurd values to error check.
12496 include window.h for error check functions.
12498 2000-05-11 Ben Wing <ben@xemacs.org>
12500 * cmdloop.c (Freally_early_error_handler):
12501 Display message box under windows; otherwise, message will disappear
12502 before it can be viewed.
12505 * console-msw.c (Fmswindows_message_box):
12506 * console-msw.c (FROB):
12507 * console-msw.c (syms_of_console_mswindows):
12508 Define new fun `mswindows-message-box'.
12509 #### I will merge this into `popup-dialog-box'; just give me
12513 * general.c (syms_of_general):
12514 Some new symbols used in `mswindows-message-box'.
12517 * glyphs.c (Fset_image_instance_property):
12518 put warning in this fun.
12521 * glyphs.h (GLYPH_CACHEL_WIDTH):
12522 * glyphs.h (GLYPH_CACHEL_ASCENT):
12523 * glyphs.h (GLYPH_CACHEL):
12524 * glyphs.h (GLYPH_CACHEL_GLYPH):
12525 define error-checking versions to try to catch a bug i've seen --
12526 redisplay gets in an infinite loop because the glyph width of the
12527 continuation glyph is 65535.
12530 Extern message-box stuff.
12532 * window.c (allocate_window):
12533 * window.c (make_dummy_parent):
12534 * window.c (Fset_window_configuration):
12535 Use EQUAL not EQ for subwindow caches to make them work a bit
12536 better. (Something is still very broken.)
12539 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12541 * glyphs.c (image_instantiate): Suppress gcc warnings.
12542 (Fmake_image_instance): Fix doc string.
12543 * specifier.c (Fmake_specifier): Ditto.
12545 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12547 * paths.h.in (PATH_LOCK): Removed.
12548 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12549 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12551 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12553 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12554 Document (featurep '(and xemacs 21.02)).
12556 2000-05-09 Ben Wing <ben@xemacs.org>
12558 * buffer.c (complex_vars_of_buffer):
12559 update modeline-format doc.
12562 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12565 timeline of all released versions of Emacs, for use in creating
12566 authorship comments and in synching up.
12568 * glyphs-widget.c (image_instantiator_buttons):
12569 * glyphs-widget.c (image_instantiator_edit_fields):
12570 * glyphs-widget.c (image_instantiator_combo_box):
12571 * glyphs-widget.c (image_instantiator_scrollbar):
12572 * glyphs-widget.c (image_instantiator_progress_guage):
12573 * glyphs-widget.c (image_instantiator_tree_view):
12574 * glyphs-widget.c (image_instantiator_tab_control):
12575 * glyphs-widget.c (image_instantiator_labels):
12576 * glyphs-widget.c (image_instantiator_layout):
12577 * glyphs-widget.c (image_instantiator_native_layout):
12578 rename decode_domain method to governing_domain.
12581 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12582 * glyphs.c (add_entry_to_device_ii_format_list):
12583 make sure we don't put an entry more than once into the list.
12584 * glyphs.c (check_instance_cache_mapper):
12585 *************************************************************
12586 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12588 *************************************************************
12589 * glyphs.c (get_image_instantiator_governing_domain):
12590 clean up, expand on new concept of governing domain.
12591 * glyphs.c (instantiate_image_instantiator):
12592 * glyphs.c (allocate_image_instance):
12593 use governing_domain instead of cache_domain in naming.
12594 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12595 * glyphs.c (make_image_instance_1):
12596 * glyphs.c (Fmake_image_instance):
12597 allow for any domain (not just device), and process the
12598 governing domain correctly. very big doc fix.
12599 * glyphs.c (Fimage_instance_domain):
12600 new primitive, to retrieve the governing domain of an image instance.
12601 * glyphs.c (image_instantiate):
12602 use new governing_domain stuff. this fixes a crash you could get
12603 by instantiating certain widget glyphs in frame locales. (should
12604 signal an error instead of crashing.)
12605 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12606 * glyphs.c (Fglyphp): clean up doc.
12607 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12608 * glyphs.c (syms_of_glyphs):
12609 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12610 * glyphs.c (image_instantiator_format_create): add some comments about
12612 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12613 for current-display-table. (Apparently Hrjove implemented in 1998 a
12614 design I wrote up in 1996, but didn't update the doc string.)
12616 * glyphs.h: clean up a doc string.
12617 * glyphs.h (governing_domain):
12618 * glyphs.h (struct image_instantiator_methods):
12619 changes for governing_domain stuff.
12622 * gutter.c (Fgutter_specifier_p):
12623 * gutter.c (Fgutter_size_specifier_p):
12624 * gutter.c (Fgutter_visible_specifier_p):
12626 * objects.c (Fcolor_specifier_p):
12627 * objects.c (Ffont_specifier_p):
12628 * objects.c (Fface_boolean_specifier_p):
12629 doc strings moved to make-*-specifier.
12631 * redisplay.c (add_disp_table_entry_runes_1):
12632 * redisplay.c (generate_fstring_runes):
12633 * redisplay.c (screen):
12634 add random comments and doc strings.
12637 * specifier.c (Fmake_specifier):
12638 major overhaul of this doc string.
12640 * specifier.c (Fvalid_specifier_domain_p):
12641 comment about the bogosity of image instances being domains.
12642 * specifier.c (decode_domain):
12643 now non-static, used in glyphs.c.
12644 * specifier.c (specifier_instance):
12645 comment about the bogosity of image instances being domains.
12646 * specifier.c (Fgeneric_specifier_p):
12647 move doc string to make-generic-specifier.
12648 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12652 * specifier.h (DOMAIN_FRAME):
12653 * specifier.h (DOMAIN_LIVE_P):
12654 * specifier.h (DOMAIN_XDEVICE):
12656 add comments about problems with these macros.
12657 prototype for decode_domain.
12660 * toolbar.c (Ftoolbar_specifier_p):
12661 move doc string to `make-toolbar-specifier'.
12663 * window.c (window_unmap_subwindows_cache_mapper):
12664 *************************************************************
12665 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12667 *************************************************************
12669 2000-05-09 Andy Piper <andy@xemacs.org>
12671 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12673 * window.c (Fset_window_configuration): reset the frame subwindow
12674 cache and re-initialize the window subwindow caches.
12676 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12678 2000-05-09 Ben Wing <ben@xemacs.org>
12680 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12683 2000-04-26 Mike Woolley <mike@bulsara.com>
12685 * ntheap.c: Changed recreate_heap to limit the amount reserved
12686 for the heap to that which is actually available. Also now
12687 displays a message box (with some dignostics) in the event that
12688 it still can't start.
12690 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12692 * callproc.c (Fold_call_process_internal): GCPRO path
12694 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12696 Patch by Bill Perry.
12698 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12699 back data instead of #ifdef.
12700 (Fscrollbar_page_down): ditto.
12702 2000-05-07 Ben Wing <ben@xemacs.org>
12705 Kludge for defining Qmswindows_tstr.
12708 * nt.c (open_input_file):
12709 * nt.c (open_output_file):
12710 * nt.c (rva_to_section):
12711 * nt.c (mswindows_executable_type):
12712 Move all memory-mapped-file routines here (some were in unexnt.c,
12713 which is bad because they are used by process-nt.c, and unexnt
12714 won't be around when portable dumping). Synched the above routines
12718 Removed ifdef'd out bogus code.
12719 Fixed some prototypes.
12721 * nt.h (file_data):
12722 * nt.h (OFFSET_TO_RVA):
12723 * nt.h (RVA_TO_OFFSET):
12724 * nt.h (RVA_TO_PTR):
12725 Moved the memory-mapped-file structures, macros and prototypes
12726 here, to parallel nt.c. ntheap.h should really be removed
12727 entirely, and it's a non-portable-dumper specific file.
12729 * ntheap.h (round_to_next):
12730 Moved the memory-mapped-file structures, macros and prototypes
12733 * ntproc.c (compare_env):
12734 Moved rva_to_section and mswindows_executable_type to nt.c.
12735 Moved compare_env to process-nt.c.
12736 ntproc.c will die, one day.
12738 * ntproc.c (sys_spawnve):
12739 Account for win32_ -> mswindows_.
12742 * process-nt.c (struct nt_process_data):
12743 * process-nt.c (ensure_console_window_exists):
12744 * process-nt.c (compare_env):
12745 * process-nt.c (nt_create_process):
12746 * process-nt.c (nt_kill_process_by_pid):
12747 * process-nt.c (syms_of_process_nt):
12748 * process-nt.c (vars_of_process_nt):
12749 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12750 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12751 changes). Eliminate our old `nt-quote-process-args' mechanism.
12752 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12753 Move compare_env here from ntproc.c.
12755 * process.c (Fprocess_send_region):
12756 Takes an optional fourth argument, BUFFER, which should fix some
12757 problems with call-process.
12760 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12763 Move ICC_BAR_CLASSES to syscommctrl.h.
12764 Add preliminary macros for MSWindows/Mule. More to come.
12767 * unexnt.c (unexec):
12768 open_output_file moved to nt.c.
12771 2000-05-05 Andy Piper <andy@xemacs.org>
12773 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12774 instance from the frame cache also since GC may catch up too late
12775 to make frame deletion sane.
12777 2000-05-04 Andy Piper <andy@xemacs.org>
12779 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12780 (x_finalize_image_instance): ungcpro on deletion.
12782 * glyphs.c (image_instantiator_format_create): give pointers a
12783 query geometry method so that the geometry is at least set.
12785 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12786 initialize layouts if using widgets.
12788 2000-05-03 Andy Piper <andy@xemacs.org>
12790 * nt.c: remove bogus reference to sysmmsystem.h
12792 * gui-x.c (popup_selection_callback): fix no selection abort.
12794 2000-05-02 Andy Piper <andy@xemacs.org>
12796 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12797 (mswindows_widget_instantiate): ditto.
12799 * glyphs-widget.c (initialize_widget_image_instance): initialize
12800 children correctly.
12801 (widget_instantiate): cope with children and items in the same
12804 * glyphs.c (mark_image_instance): cope with children as a first
12806 (image_instance_equal): ditto.
12807 (image_instance_hash): ditto.
12808 (image_instance_changed): ditto.
12810 2000-04-30 Andy Piper <andy@xemacs.org>
12812 * glyphs.c (subwindow_query_geometry): new function. Return some
12814 (subwindow_instantiate): don't assign dimensions if none have been
12816 (image_instantiator_format_create): add subwindow_query_geometry.
12817 (print_image_instance): cope with layouts as widgets.
12819 2000-04-29 Andy Piper <andy@xemacs.org>
12821 * frame.c (delete_frame_internal): call
12822 free_frame_subwindow_instance_cache so that all subwindows are
12823 finalized before their parent.
12824 (mark_frame): remove subwindow_cachels.
12825 (Fmake_frame): remove subwindow_cachel manipulation.
12826 (allocate_frame_core): subwindow_instance_cache is a weak list.
12827 (delete_frame_internal): set subwindow_instance_cache to nil.
12829 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12831 (mswindows_finalize_image_instance): use the device
12832 not the domain as the domain may have died already.
12834 * glyphs-x.c (x_finalize_image_instance): ditto.
12835 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12838 * redisplay-output.c (redisplay_unmap_subwindows): update for
12839 subwindow instance cache as a weak list.
12840 (redisplay_unmap_subwindows_maybe): ditto.
12841 (redisplay_unmap_subwindows_except_us): ditto.
12843 * glyphs.c (unmap_subwindow): error checking will check the domain
12844 so don't deal with it here. Don't use cachels anymore.
12845 (map_subwindow): ditto.
12846 (update_subwindow_cachel_data): remove old accessor names.
12847 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12848 (Fresize_subwindow): don't update cachel.
12849 (mark_subwindow_cachels):
12850 (update_subwindow_cachel_data):
12851 (add_subwindow_cachel):
12852 (get_subwindow_cachel_index):
12853 (update_subwindow_cachel):
12854 (reset_subwindow_cachels):
12855 (mark_subwindow_cachels_as_not_updated): deleted.
12856 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12857 subwindow instance to the frame cache.
12858 (find_matching_subwindow): update for subwindow instance cache as
12860 (update_widget_instances): ditto.
12861 (image_instance_type_to_mask):inlined.
12862 (free_frame_subwindow_instance_cache): new function. finalize all
12863 subwindows that are instantiated.
12865 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12866 of cachel information.
12867 (IMAGE_INSTANCE_DISPLAY_X):
12868 (IMAGE_INSTANCE_DISPLAY_Y):
12869 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12870 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12871 (XIMAGE_INSTANCE_DISPLAY_X):
12872 (XIMAGE_INSTANCE_DISPLAY_Y):
12873 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12874 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12875 remove subwindow_cachel structure and function references.
12876 (image_instance_type_to_mask): inline from glyphs.c
12878 * redisplay.c (redisplay_frame): remove subwindow_cachel
12881 * frame.h (struct frame): remove subwindow_cachels.
12882 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12884 * frameslots.h: add subwindow_instance_cache.
12886 * window.c (replace_window): check subwindow cache of replacement.
12887 (window_unmap_subwindows_cache_mapper):
12888 (window_unmap_subwindows): new functions. Unmap all subwindows
12889 cached on this window.
12890 (mark_window_as_deleted): unmap all subwindows.
12892 2000-04-27 Andy Piper <andy@xemacs.org>
12894 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12896 * glyphs-widget.c (widget_layout): return something.
12897 (layout_layout): return something. Fail if not initialized.
12898 (layout_query_geometry): ditto.
12899 (image_instantiator_native_layout): new function. Initialized the
12900 native layout type.
12901 (widget_instantiate): don't do layout stuff here.
12903 * glyphs.c (instantiate_image_instantiator): reorded calling or
12904 instantiate and post_instantiate with layout in between.
12905 (image_instance_layout): be more selective about deciding whether
12906 the layout has been done or not.
12908 * glyphs.h (struct image_instantiator_methods): return a value
12909 from layout_method.
12911 2000-04-26 Andy Piper <andy@xemacs.org>
12913 * glyphs.c (allocate_image_instance): make initial width and
12914 height unspecified. Set initialized to 0.
12916 * syscommctrl.h new file. Encapsulates commctrl.h.
12918 * syswindows.h new file. Encapsulates windows.h.
12920 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12922 * console-msw.h: ditto.
12924 * redisplay-tty.c (tty_output_display_block): remove layout references.
12926 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12927 window handle rather than just the frame.
12929 * glyphs.c (mark_image_instance): remove layout references.
12930 (print_image_instance): ditto.
12931 (image_instance_equal): ditto.
12932 (image_instance_hash): ditto.
12933 (decode_image_instance_type): ditto.
12934 (encode_image_instance_type): ditto.
12935 (image_instantiate): ditto.
12936 (allocate_glyph): ditto.
12937 (Fimage_instance_height): ditto.
12938 (Fimage_instance_width): ditto.
12939 (update_subwindow): ditto.
12941 * redisplay-x.c (x_output_display_block): recode for layouts as
12944 * redisplay-output.c (redisplay_output_layout): recode for layouts
12946 (compare_runes): remove layout references.
12948 * redisplay-msw.c (mswindows_output_display_block): recode for
12949 layouts as widgets.
12951 * glyphs-widget.c (image_instantiator_layout): remove
12952 layout_possible_dest_types.
12953 (layout_possible_dest_types): deleted.
12955 * glyphs.h (image_instance_type): remove layout references.
12956 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12957 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12958 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12960 2000-04-25 Andy Piper <andy@xemacs.org>
12962 * glyphs-widget.c (image_instantiator_buttons):
12963 (image_instantiator_edit_fields):
12964 (image_instantiator_combo_box):
12965 (image_instantiator_scrollbar):
12966 (image_instantiator_progress_guage):
12967 (image_instantiator_tree_view):
12968 (image_instantiator_tab_control):
12969 (image_instantiator_labels):
12970 (image_instantiator_layout): call default post_instantiate method.
12971 (widget_post_instantiate): new function. Simply lays out the
12974 * glyphs.h (struct image_instantiator_methods): add
12975 post_instantiate method.
12977 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12980 2000-04-23 Andy Piper <andy@xemacs.org>
12982 * glyphs.h (struct image_instantiator_methods): add
12983 decode_domain_method.
12984 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12985 derived from the domain.
12986 (IMAGE_INSTANCE_FRAME): new accessor.
12987 (XIMAGE_INSTANCE_FRAME): ditto.
12989 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12990 instead of _SUBWINDOW_FRAME.
12991 (finalize_image_instance): ditto.
12992 (Fimage_instance_foreground): ditto.
12993 (Fimage_instance_background): ditto.
12994 (image_instantiate): ditto.
12995 (update_subwindow_cachel): ditto.
12996 (update_subwindow): ditto.
12997 (unmap_subwindow): ditto.
12998 (map_subwindow): ditto
12999 (subwindow_instantiate): ditto.
13000 * glyphs-msw.c (mswindows_update_widget): ditto.
13001 (mswindows_progress_gauge_instantiate): ditto.
13002 (mswindows_tab_control_update): ditto.
13003 * glyphs-x.c (x_update_widget): ditto.
13004 (x_widget_instantiate): ditto.
13005 (x_tab_control_instantiate): ditto.
13006 (x_tab_control_update): ditto.
13007 * event-msw.c (mswindows_wnd_proc): ditto
13009 * glyphs-widget.c (image_instantiator_layout): use
13010 subwindow_decode_domain.
13011 (image_instantiator_buttons): ditto.
13012 (image_instantiator_edit_fields): ditto.
13013 (image_instantiator_combo_box): ditto.
13014 (image_instantiator_scrollbar): ditto.
13015 (image_instantiator_progress_guage): ditto.
13016 (image_instantiator_tree_view): ditto.
13017 (image_instantiator_tab_control): ditto.
13018 (image_instantiator_labels): ditto.
13019 (image_instantiator_layout): ditto.
13021 * glyphs.c: add instance error checking to many functions.
13022 (instantiate_image_instantiator): decode device from cache_domain.
13023 (image_instantiate): partially rewrite by using
13024 decode_image_instantiator_domain to determine what domain the
13025 instance needs to be cached in.
13026 (decode_image_instantiator_domain): new function. Determine what
13027 domain the image needs to be cached in.
13028 (check_window_subwindow_cache): new error checking function.
13029 (check_instance_cache_mapper): ditto.
13030 (check_image_instance_structure): ditto.
13031 (subwindow_decode_domain): new function. Encodes a window as a
13032 subwindow's cache domain.
13033 (image_instantiator_format_create): use it for text and
13036 2000-04-21 Andy Piper <andy@xemacs.org>
13038 * glyphs.c (image_instance_device): new function.
13039 (image_instance_frame): new function.
13040 (image_instance_window): new function.
13041 (image_instance_live_p): new function.
13043 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13046 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13047 (IMAGE_INSTANCE_DOMAIN): new accessor.
13048 (XIMAGE_INSTANCE_DOMAIN): ditto.
13050 * glyphs-x.c (x_finalize_image_instance): device->domain.
13052 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13053 (mswindows_finalize_image_instance): ditto.
13055 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13056 (gif_instantiate): ditto.
13057 (png_instantiate): ditto.
13058 (tiff_instantiate): ditto.
13060 * glyphs.c (instantiate_image_instantiator): use domain rather
13062 (mark_image_instance): device -> domain.
13063 (print_image_instance): ditto.
13064 (finalize_image_instance): ditto.
13065 (image_instance_equal): ditto.
13066 (allocate_image_instance): ditto.
13067 (Fcolorize_image_instance): ditto.
13068 (query_string_geometry): ditto.
13069 (image_instantiate): ditto
13070 (query_string_font): ditto.
13071 (image_instantiate): ditto.
13072 (update_subwindow): ditto.
13073 (unmap_subwindow): ditto.
13074 (map_subwindow): ditto.
13075 (subwindow_instantiate): ditto.
13077 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13078 (DOMAIN_FRAME): ditto.
13079 (DOMAIN_WINDOW): ditto.
13080 (DOMAIN_LIVE_P): ditto.
13081 (XDOMAIN_DEVICE): ditto.
13082 (XDOMAIN_FRAME): ditto.
13083 (XDOMAIN_WINDOW): ditto.
13085 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13086 a valid specifier domain.
13088 2000-04-19 Andy Piper <andy@xemacs.org>
13090 * glyphs-widget.c (syms_of_glyphs_widget): remove
13091 widget-callback-current-channel.
13092 (vars_of_glyphs_widget): ditto.
13095 * gui.c (get_gui_callback): revert to previous behaviour.
13097 2000-04-18 Andy Piper <andy@xemacs.org>
13099 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13100 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13101 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13103 * glyphs.c (image_instance_equal): add margin_width.
13104 (image_instance_hash): ditto.
13106 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13107 (layout_query_geometry): ditto.
13108 (layout_layout): ditto.
13109 (syms_of_glyphs_widget): add margin-width.
13110 (image_instantiator_layout): allow margin-width.
13112 * glyphs.c (update_widget_instances): make a normal function.
13113 (syms_of_glyphs): remove Qupdate_widget_instances.
13116 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13117 so that we don't corrupt ideas about the last event or
13118 command. Remove widget-callback-current-channel fiddling.
13119 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13121 2000-05-01 Martin Buchholz <martin@xemacs.org>
13123 * XEmacs 21.2.33 is released.
13125 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13127 * make-src-depend: Allow dots in header file name.
13129 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13131 * mule-charset.h (struct charset_lookup): Add
13132 next_allocated_1_byte_leading_byte and
13133 next_allocated_2_byte_leading_byte.
13134 * mule-charset.c: Move above two variables so that those values
13137 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13139 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13140 when string length is zero.
13141 (find_charsets_in_emchar_string): Ditto.
13143 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13145 * lisp.h: extern Qdialog and Qmenubar.
13147 * gui-x.c: added events.h.
13148 also fixed typo which made the file uncompilable.
13150 * general.c: Added Qmenubar and Qdialog
13152 2000-04-28 Ben Wing <ben@xemacs.org>
13154 * frame-msw.c (mswindows_init_frame_1):
13155 * frame-msw.c (mswindows_mark_frame):
13156 * event-msw.c (mswindows_enqueue_dispatch_event):
13158 * console-msw.h (struct mswindows_frame):
13159 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13160 there are now three hash tables for callbacks.
13161 mswindows_enqueue_dispatch_event is no longer static.
13163 * dialog-x.c (maybe_run_dbox_text_callback):
13164 * dialog-x.c (dbox_descriptor_to_widget_value):
13165 switch to new cons3 form for callbacks.
13167 * glyphs-msw.c (mswindows_register_gui_item):
13168 * glyphs-msw.c (mswindows_widget_instantiate):
13169 * glyphs-msw.c (add_tree_item):
13170 * glyphs-msw.c (add_tab_item):
13171 new image instance parameter, so it can be passed to callback-ex.
13172 respect :callback-ex as well as :callback.
13174 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13177 * glyphs.c (print_image_instance):
13178 prettify, e.g. now prints widget type.
13181 certain funs have new image instance parameter.
13184 * gui.c (get_gui_callback):
13185 * gui.c (gui_item_add_keyval_pair):
13186 * gui.c (gui_item_init):
13187 * gui.c (gui_add_item_keywords_to_plist):
13188 * gui.c (mark_gui_item):
13189 * gui.c (gui_item_hash):
13190 * gui.c (gui_item_equal):
13191 * gui.c (copy_gui_item):
13192 * gui.c (syms_of_gui):
13193 recognize callback-ex in a number of places.
13194 also, fix the annoying "can't get out of yes-no dialog" bug.
13197 * gui.h (struct Lisp_Gui_Item):
13198 recognize callback-ex in a number of places.
13200 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13201 new parameter in button_item_to_widget_value.
13203 * glyphs-x.c (x_update_widget):
13204 * glyphs-x.c (x_button_instantiate):
13205 * glyphs-x.c (x_button_update):
13206 * glyphs-x.c (x_progress_gauge_instantiate):
13207 * glyphs-x.c (x_edit_field_instantiate):
13208 * glyphs-x.c (x_combo_box_instantiate):
13209 * glyphs-x.c (x_tab_control_instantiate):
13210 * glyphs-x.c (x_label_instantiate):
13211 new image instance parameter in various places.
13214 * event-Xt.c (enqueue_Xt_dispatch_event):
13215 this fun gets exported.
13218 * gui-msw.c (mswindows_handle_gui_wm_command):
13219 handle both :callback and :callback-ex, and generate our own
13220 event because it's one of the callback-ex arguments.
13223 * gui-x.c (popup_selection_callback):
13224 handle both :callback and :callback-ex, and generate our own
13225 event because it's one of the callback-ex arguments.
13226 * gui-x.c (button_item_to_widget_value):
13227 * gui-x.c (gui_items_to_widget_values_1):
13228 * gui-x.c (gui_item_children_to_widget_values):
13229 * gui-x.c (gui_items_to_widget_values):
13230 new image instance parameter in various places.
13232 * fns.c (Freplace_list):
13233 fix small typo in doc string.
13236 declare enqueue_Xt_dispatch_event.
13238 2000-04-28 Ben Wing <ben@xemacs.org>
13241 * buffer.c (Frecord_buffer):
13242 * buffer.c (syms_of_buffer):
13243 delete record-buffer-hook.
13246 * fns.c (Freplace_list):
13247 * fns.c (syms_of_fns):
13248 new primitive replace-list.
13251 slot for old buffer-alist.
13254 exfun replace-list.
13257 * redisplay.c (redisplay_frame):
13258 * redisplay.c (syms_of_redisplay):
13259 * redisplay.c (vars_of_redisplay):
13260 new hook buffer-list-changed-hook.
13263 2000-04-27 Ben Wing <ben@xemacs.org>
13265 * extents.h: extern in_modeline_generation.
13267 * redisplay.c (generate_formatted_string_db): set
13268 in_modeline_generation.
13270 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13271 flags if in modeline generation. otherwise frame-modified-tick
13272 is ticked far too often.
13273 Declare in_modeline_generation.
13275 2000-04-26 Ben Wing <ben@xemacs.org>
13277 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13279 (vars_of_emacs): add quick-build as an error-checking option.
13280 A bit kludgy, but there doesn't seem much point in creating
13281 a real var for this.
13283 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13285 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13287 * redisplay.h (struct display_line): Add a new variable,
13290 * redisplay.c (create_text_block): Set dl->line_continuation if
13291 the line continues.
13292 (create_string_text_block): Ditto.
13293 (regenerate_window_incrementally): Use line_continuation instead
13294 of searching continuation glyph.
13295 (add_margin_runes): Call add_glyph_rune.
13296 (add_glyph_rune): Handle margin glyph.
13298 2000-04-20 Martin Buchholz <martin@xemacs.org>
13300 * filelock.c (fill_in_lock_file_name):
13302 Check for IS_ANY_SEP instead of '/'.
13304 Avoid generating gratuitous garbage. Call user_login_name() directly.
13305 Never check errno without first seeing that system call failed.
13306 (unlock_file): Add GCPRO.
13307 (Flock_buffer): Fix docstring.
13308 (Ffile_locked_p): Fix docstring. Add GCPRO.
13310 2000-04-19 Martin Buchholz <martin@xemacs.org>
13312 * sysdep.c (get_pty_max_bytes):
13313 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13314 strings longer than 252 bytes.
13316 * md5.c: Unconditionally include ANSI header <limits.h>
13318 * glyphs-x.c (convert_EImage_to_XImage):
13319 * lisp-union.h (union Lisp_Object):
13320 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13322 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13324 * filelock.c (current_lock_owner): Remove unused variable o, p.
13326 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13328 * callint.c: Remove multiply defined symbol Qlet
13329 (syms_of_callint): ditto.
13331 2000-04-14 Andy Piper <andy@xemacs.org>
13333 * general.c (syms_of_general): add last-command, this-command, let
13336 * lisp.h: declare various symbols.
13338 * glyphs.h: declare Qwidget_callback_current_channel;
13340 * glyphs-widget.c (syms_of_glyphs_widget): add
13341 Qgui_callback_current_channel.
13342 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13344 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13345 widget-callback-current-channel when invoking the interactive
13346 arg. Also bind last-command and next-command when invoking the
13348 * gui-x.c (popup_selection_callback): ditto.
13350 * gui.c (get_gui_callback): massage args so that we are always
13351 calling eval. This allows us to add our own variable bindings
13354 * glyphs-x.c (x_button_instantiate): use
13355 gui_items_to_widget_values since this is GC safe.
13356 (x_progress_gauge_instantiate): ditto.
13357 (x_edit_field_instantiate): ditto.
13358 (x_label_instantiate): ditto.
13360 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13361 (emacs_Xt_event_widget_focus_out): new function
13362 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13364 (emacs_Xt_event_add_widget_actions): new function. add focus
13365 functions as actions.
13366 (init_event_Xt_late): use it.
13368 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13370 * event-stream.c (Fdispatch_event): Doc fix.
13372 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13374 * postgresql.c: Remove all references to PQsetenv*.
13376 * postgresql.h: Remove references to PGsetenvHandler object.
13377 * lrecord.h (lrecord_type): Ditto.
13379 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13381 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13382 real_heigh and real_width members, and accessor macros for these.
13384 * glyphs-msw.c (init_image_instance_geometry): New function.
13385 (init_image_instance_from_dibitmap): Use it.
13386 (mswindows_resource_instantiate): Use it.
13387 (init_image_instance_from_xbm_inline): Use it.
13388 (mswindows_initialize_image_instance_mask): Use real bitmap
13390 (mswindows_create_resized_bitmap): Ditto.
13391 (mswindows_create_resized_mask): Ditto.
13393 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13394 and bitmap to their surface size.
13396 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13398 * process-unix.c (unix_send_process): Guard against process MIA
13399 after Faccept_process_output.
13401 2000-04-11 Ben Wing <ben@xemacs.org>
13403 * eval.c (unbind_to_hairy): fix brokenness introduced by
13404 nanosecond speed improvements.
13406 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13408 * sunplay.c (init_device): To play sounds correctly, the device
13409 apparently needs to be initialized at least once by XEmacs. Make
13412 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13414 * redisplay.c (add_margin_runes): Add text image glyph
13417 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13419 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13420 gcc is newer than 2.5.
13422 2000-04-06 Colin Rafferty <colin@xemacs.org>
13424 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13426 * fns.c (size_bit_vector):
13427 * alloc.c (size_vector):
13428 (make_vector_internal):
13429 (make_bit_vector_internal):
13430 (sweep_bit_vectors_1):
13431 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13433 2000-04-06 Andy Piper <andy@xemacs.org>
13435 * gmalloc.c (malloc): undo previous change.
13440 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13442 * line-number.c (buffer_line_number): Revert to former version.
13444 2000-04-06 Andy Piper <andy@xemacs.org>
13446 * gmalloc.c (malloc): add error checking.
13451 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13452 button_item_to_widget_value arg.
13454 * glyphs-x.c (x_button_instantiate): add extra
13455 button_item_to_widget_value arg.
13456 (x_progress_gauge_instantiate): ditto.
13457 (x_edit_field_instantiate): ditto.
13458 (x_label_instantiate): ditto.
13460 * gui-x.c (gui_items_to_widget_values_1): add extra
13461 button_item_to_widget_value arg.
13462 (button_item_to_widget_value): add extra menu_item_p arg.
13464 * gui-x.h: change signature of button_item_to_widget_value.
13466 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13467 button_item_to_widget_value arg.
13469 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13471 * buffer.h (struct buffer): auto_save_modified should be long.
13473 2000-04-05 Andy Piper <andy@xemacs.org>
13475 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13477 (button_query_geometry): give a little more room so that athena
13480 2000-04-05 Andy Piper <andy@xemacs.org>
13482 * faces.c (complex_vars_of_faces): The widget face should inherit
13483 the font of the gui-element face.
13485 2000-04-04 Andy Piper <andy@xemacs.org>
13487 * glyphs-x.c (x_button_update): new function. unconditionally
13488 update a button's state when the instance is dirty.
13489 (image_instantiator_format_create_glyphs_x): add x_button_update.
13490 (x_widget_instantiate): remove old resize cruft.
13492 2000-04-02 Andy Piper <andy@xemacs.org>
13494 * frame.c (change_frame_size_1): The introduction of gutters means
13495 that we need to allow 0 as a potential frame dimension.
13497 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13499 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13500 image glyph if allow_cursor.
13501 (add_hscroll_rune): Don't allow cursor to border glyph.
13502 (create_text_block): Ditto.
13504 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13505 text not in buffer.
13506 (redisplay_output_layout): Call ensure_face_cachel_complete for
13510 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13512 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13514 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13517 * redisplay-tty.c (tty_output_display_block): Delete the routine
13518 for text image glyph
13519 * redisplay-x.c (x_output_display_block): ditto
13520 * redisplay-msw.c (mswindows_output_display_block): ditto
13522 2000-02-02 Mike Alexander <mta@arbortext.com>
13524 Note: Some of these were committed by accident as part of other
13527 * regex.c (regex_compile): Avoid compiler warnings.
13529 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13531 * nt.h: Declare term_ntproc correctly.
13533 * nt.c: Remove incorrect declaration of get_home_directory which
13534 is declared correctly in lisp.h.
13536 * keymap.c (get_keyelt): Avoid compiler warnings.
13537 (raw_lookup_key_mapper): Avoid compiler warnings.
13539 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13541 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13543 * filemode.c (mode_string): Avoid compiler warnings.
13545 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13548 * events-mod.h: Undef some things that winuser.h defines differently.
13550 * data.c (Faset): Avoid compiler warnings.
13552 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13554 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13556 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13557 Fall through to simple beep on error.
13558 Replace "extern" by real header file.
13560 * linuxplay.c: Use nativesound.h
13561 (play_sound_data): Return error code. Be less verbose on error.
13563 * sunplay.c: Use nativesound.h
13564 (play_sound_data): Return error code. Be less verbose on error.
13566 * ntplay.c: Use nativesound.h
13567 (play_sound_data): Return fake error code
13569 * sgiplay.c: Use nativesound.h
13570 (play_sound_data): Return error code
13572 * hpplay.c: Use nativesound.h, partially implement
13573 new error code. Break compilation until finished.
13574 (play_sound_data): error code.
13576 * nativesound.h (play_sound_file):
13577 (play_sound_data): Prototype in new header.
13579 2000-03-31 Andy Piper <andy@xemacs.org>
13581 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13582 for toggle and radio buttons.
13583 (image_instantiator_buttons): use it.
13585 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13587 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13588 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13589 found. Scrollbar event probably belonged to some old config.
13591 2000-03-31 Andy Piper <andy@xemacs.org>
13593 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13595 (initialize_widget_image_instance): default layout to
13596 LAYOUT_HORIZONTAL rather than 0.
13597 (widget_instantiate): reverse the item list at the end rather than
13599 (layout_layout): re-code for the border text at the front of the
13600 item list rather than at the end.
13601 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13602 provided by the user.
13603 (widget_query_geometry): comment.
13605 2000-03-30 Andy Piper <andy@xemacs.org>
13607 * glyphs-widget.c (image_instantiator_layout): allow standard
13608 widget keywords in layouts.
13610 * gutter.c (output_gutter): cope with nil gutter contents.
13612 * frame.c (Fset_frame_properties): add gutter docs.
13614 2000-03-29 Andy Piper <andy@xemacs.org>
13616 * toolbar-msw.c (TBSTYLE_FLAT): add.
13617 (mswindows_output_toolbar): minor fiddling.
13619 2000-03-29 Andy Piper <andy@xemacs.org>
13621 * gutter.c (output_gutter): force gutter size recalculation if
13622 what we are trying to display won't fit.
13623 (update_gutter_geometry): new function. A per-gutter version of
13624 update_frame_gutter_geometry.
13625 (update_frame_gutter_geometry): use it.
13626 (redraw_exposed_gutter): add extra debugging output.
13628 2000-03-28 Mike Alexander <mta@arbortext.com>
13630 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13631 (pdump_file_unmap): Implement it on Windows
13632 (pdump_file_get): Save alocated handles for pdump_file_unmap
13634 2000-03-28 Andy Piper <andy@xemacs.org>
13636 * gui.c (get_gui_callback): treat Quit specially.
13638 2000-03-27 Andy Piper <andy@xemacs.org>
13640 * glyphs.c (image_instantiate): be careful to check in the same
13643 2000-03-27 Didier Verna <didier@xemacs.org>
13645 * config.h.in: define the proper SMART_INCLUDE macro.
13646 handle renaming of `foo_h_path' to `foo_h_file'.
13648 * database.c: ditto.
13652 * linuxplay.c: ditto.
13654 * terminfo.c: ditto.
13656 * tooltalk.h: ditto.
13658 2000-03-27 Andy Piper <andy@xemacs.org>
13660 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13661 gets updated whenever the face might have changed.
13663 2000-03-26 Mike Alexander <mta@arbortext.com>
13665 * dumper.c (pdump_resource_free): Fix the comment.
13667 2000-03-21 Olivier Galibert <galibert@pobox.com>
13669 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13671 2000-03-22 Mike Alexander <mta@arbortext.com>
13673 * dumper.c: Include Windows headers on Windows
13674 (pdump_resource_free): Add a body to the function
13675 (pdump_load): exe_name -> exe_path and add some comments.
13677 2000-03-25 Mike Alexander <mta@arbortext.com>
13679 * gui.c (copy_gui_item_tree): Return a value in all cases
13681 2000-03-21 Didier Verna <didier@xemacs.org>
13683 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13685 (SMART_INCLUDE): new macro.
13686 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13687 the proper location.
13689 * postgresql.c: use it.
13693 2000-03-24 Andy Piper <andy@xemacs.org>
13695 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13698 2000-03-24 Andy Piper <andy@xemacs.org>
13700 * redisplay-output.c (compare_runes): use image_instance_changed
13701 to detect changes. Do not depend on glyphs_changed, only depend on
13703 (redisplay_output_layout): add debug messages.
13704 (compare_runes): ditto.
13706 * glyphs.h: declare new functions.
13707 (struct Lisp_Image_Instance): remove percent and associated
13710 * gui.h: declare new copying functions.
13712 * gui.c (copy_gui_item_tree): new function.
13713 (copy_gui_item): new function.
13714 (gui_item_id_hash): revert to standard hash.
13715 (gui_item_hash): ditto.
13716 (gui_item_hash_internal): deleted.
13717 (mark_gui_item): mark value.
13718 (gui_item_add_keyval_pair): add value.
13719 (gui_item_init): ditto.
13720 (gui_add_item_keywords_to_plist): ditto.
13721 (gui_item_equal): ditto.
13722 (syms_of_gui): add Q_value.
13724 * glyphs-x.c (x_progress_gauge_update): use pending items and
13725 value for setting the state.
13726 (x_update_widget): don't set items from pending here.
13728 * glyphs-widget.c (update_widget): update items here.
13729 (progress_gauge_set_property): use items for storing value. Put
13730 new value in pending items.
13732 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13733 items for new value. Convert percent -> value.
13734 (mswindows_tab_control_update): don't update items here.
13736 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13737 (update_subwindow): ditto.
13738 (image_instance_changed): new function. Compare hash values and
13739 past and present widget items.
13740 (image_instantiate): We more careful about where we instantiate
13742 (image_instantiate): add error checking.
13744 * gutter.c (syms_of_gutter): use -hook.
13746 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13748 * console-tty.c (Fset_console_tty_input_coding_system): Use
13750 (Fset_console_tty_output_coding_system): Use Qterminal.
13751 (tty_init_console): Use Qkeyboard and Qterminal.
13753 2000-03-21 Ben Wing <ben@xemacs.org>
13755 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13756 From Mike Alexander <mta@arbortext.com>.
13758 2000-03-21 Ben Wing <ben@xemacs.org>
13760 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13761 process brokenness. Proper implementation to come.
13763 Rename call-process-internal to old-call-process-internal.
13764 New impl. in process.el.
13766 2000-03-21 Martin Buchholz <martin@xemacs.org>
13768 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13770 2000-03-20 Andy Piper <andy@xemacs.org>
13772 * glyphs.c (full_list_hash): make hashes of the same elements in
13773 different orders return different values.
13775 2000-03-20 Martin Buchholz <martin@xemacs.org>
13777 * XEmacs 21.2.32 is released.
13779 2000-03-20 Martin Buchholz <martin@xemacs.org>
13781 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13782 (DFC_MALLOC_USE_CONVERTED_DATA):
13783 Add aliasing-safe casts to allow use with char* or unsigned char*
13786 * eldap.c (Fldap_open):
13787 (Fldap_search_basic):
13790 Make C++-compilable.
13791 Make sure GCPRO'ed variables are initialized.
13792 Use temp variables to avoid repeated calls to Flength.
13794 2000-03-16 Martin Buchholz <martin@xemacs.org>
13797 Make sure PATH_MAX is always defined.
13798 Include limits.h for PATH_MAX.
13799 Deprecate use of MAXPATHLEN.
13801 2000-03-10 Martin Buchholz <martin@xemacs.org>
13803 * emacs.c: Add reinit_vars_of_fileio.
13804 * symsinit.h: Add reinit_vars_of_fileio.
13805 * fileio.c (reinit_vars_of_fileio): New.
13806 * fileio.c (Fmake_temp_name):
13807 Initialize temp_name random number from microseconds to make
13808 collisions even less likely. Initialize always at process startup
13809 time. (make-temp-name) used to return the same file name twice in
13811 Random stylistic fiddling.
13814 2000-03-20 Andy Piper <andy@xemacs.org>
13816 * glyphs.c (image_instantiate): allow text glyphs to be
13817 instantiated in the minibuffer window.
13819 2000-03-19 Andy Piper <andy@xemacs.org>
13821 * glyphs.c (image_instance_hash): be careful about which items we
13824 * glyphs-widget.c (tab_control_set_property): record into pending
13825 items rather than the actual items.
13827 * glyphs-x.c (x_update_widget): use pending items to update with.
13829 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13832 * glyphs.c (mark_image_instance): mark pending items.
13834 * window.c (Fset_window_configuration): record the buffer.
13835 (Fselect_window): totally revert previous change which breaks many
13838 2000-03-18 Andy Piper <andy@xemacs.org>
13840 * glyphs-msw.c (mswindows_tab_control_update): force selected
13843 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13844 window domain cache, otherwise we get inconsistencies at
13845 startup. There is something fishy at startup which can lead to the
13846 minibuffer being the selected window when the gutter content is
13849 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13851 (parse_gui_item_tree_children): ditto.
13852 (parse_gui_item_tree_item): ditto.
13854 * glyphs.c (Fupdate_widget_instances): return something.
13856 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13858 * window.c (Fselect_window): Undo 2000-03-17 change.
13860 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13862 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13863 against v7.0 libraries. Insta-coredump city until the postgres
13866 2000-03-17 Andy Piper <andy@xemacs.org>
13868 * faces.c (complex_vars_of_faces): don't give the widget face an
13869 inherited background pixmap.
13871 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13874 * event-stream.c (Fdispatch_non_command_events): return something.
13876 * gutter.c (output_gutter): use widget face.
13877 (clear_gutter): ditto.
13879 * NEWS: adjust again.
13881 * window.c (Fselect_window): make sure this runs to completion to
13882 avoid oddities with Fset_window_configuration.
13883 (Fcurrent_window_configuration): in general do not save the
13884 minibuffer as the selected window.
13886 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13888 2000-03-16 Olivier Galibert <galibert@pobox.com>
13890 * emacs.c (Frunning_temacs_p): Revert previous patch.
13891 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13893 2000-03-16 Andy Piper <andy@xemacs.org>
13895 * glyphs-x.c (x_tab_control_update): if no widget values then
13898 * NEWS: update for new features.
13900 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13901 synthetic event to the native system.
13902 (reinit_vars_of_event_Xt): set force_event_pending to
13903 emacs_Xt_force_event_pending.
13905 * events.h (struct event_stream): add force_event_pending.
13907 * specifier.c (recompute_one_cached_specifier_in_window): add
13910 * redisplay.c (redisplay_frame): don't call
13911 update_frame_subwindows. Reset subwindow cachels when
13912 subwindows_changed, removing this was an optimization too far.
13914 * redisplay-output.c (compare_runes): reorganize so that we catch
13915 glyph changes when we want them. Set optimize_output when this
13916 would help layouts.
13917 (redisplay_output_layout): remove frame_really_changed, use
13918 optimize_output instead.
13920 * redisplay-msw.c (mswindows_output_display_block): reset
13921 optimize_output after outputting a glyph.
13922 * redisplay-x.c (x_output_display_block): ditto.
13923 * redisplay-tty.c (tty_output_display_block): ditto.
13925 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13927 (gutter_specs_changed): do specific gutter positions.
13928 (top_gutter_specs_changed): new function. Only update the
13929 specified gutter specs.
13930 (bottom_gutter_specs_changed): ditto.
13931 (left_gutter_specs_changed): ditto.
13932 (right_gutter_specs_changed): ditto.
13934 * gui.c (gui_item_hash_internal): new function, does a real hash.
13935 (gui_item_id_hash): use it.
13936 (gui_item_hash): hash the eval'ed gui_item.
13938 * gui-x.c (popup_selection_callback): send an eval event to call
13939 Fupdate_widget_instances.
13941 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13942 to call Fupdate_widget_instances.
13944 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13945 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13947 * glyphs.c: (update_frame_subwindows): deleted.
13948 (Fupdate_widget_instances): new function for updating the dirty
13949 state of widgets that might have changed.
13950 (syms_of_glyphs): add Qupdate_widget_instances.
13951 (full_list_hash): hash a list completely.
13952 (image_instance_hash): use it for items and properties.
13954 * frame-msw.c (mswindows_size_frame_internal): remove unused
13957 * faces.h (struct face_cachel): fix comment.
13959 * event-stream.c (Fdispatch_non_command_events): new
13960 function. Process non-command events, forcing an event cycle
13962 (syms_of_event_stream): declare.
13963 (event_stream_force_event_pending): new function. Force an event
13964 on the native event queue so that an event cycle will occur next
13968 (struct ntpipe_shove_stream):
13969 (mswindows_enqueue_dispatch_event):
13970 (mswindows_dequeue_dispatch_event):
13971 (mswindows_cancel_dispatch_event):
13972 (mswindows_pump_outstanding_events):
13973 (mswindows_drain_windows_queue):
13974 (mswindows_handle_paint):
13975 (mswindows_wnd_proc):
13976 (mswindows_key_to_emacs_keysym):
13977 (get_process_input_waitable):
13978 (emacs_mswindows_delete_stream_pair): re-indent file.
13979 (mswindows_need_event): do not process further fds if the windows
13980 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13981 fixes the 100% cpu problem.
13982 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13984 2000-03-15 Olivier Galibert <galibert@pobox.com>
13990 * emacs.c: Moved dump file searching to dumper.c.
13991 (Frunning_temacs_p): Fixed.
13993 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13994 last_lrecord_type_index_assigned.
13996 2000-02-20 Olivier Galibert <galibert@pobox.com>
13998 * symsinit.h: Added reinit parameter to init_console_stream
14001 * lisp.h: Added file parameter to pdump_load declaration.
14003 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14004 support. Added dump file searching.
14006 * config.h.in: Added EMACS_PROGNAME.
14008 * console-stream.c (init_console_stream): Fix reinitialisation
14009 when running from temacs.
14011 * alloc.c (pdump): Add id support.
14012 (pdump_load): Add file parameter and signature/id support.
14014 * Makefile.in.in: Add full pdump support.
14016 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14018 * postgresql.c: Update documentation to reflect latest code
14020 (print_result): Show tuple counts in printed representation when
14022 (Fpq_put_nbytes): MULE-ize.
14023 (Fpq_get_line_async): Ditto.
14025 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14027 * postgresql.c (Fpq_lo_import): Fix return value.
14028 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14030 2000-03-13 Ben Wing <ben@xemacs.org>
14032 * alloc.c (pdump_load):
14033 Fix compile warning under mswin.
14035 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14037 * postgresql.c: Mule-ization, bug fixes.
14038 Use PG_CODING to encapsulate coding system name changes.
14039 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14040 (pg-coding-system): Create.
14042 (Fpq_conn_defaults): Mule-ize.
14043 (Fpq_connectdb): Mule-ize & bug fix.
14044 (Fpq_connect_start): Mule-ize.
14045 (Fpq_set_client_encoding): Mule-ize.
14046 (Fpq_finish): Document `DEAD' connection status.
14047 (Fpq_clear): Ditto.
14048 (Fpq_pgconn): Mule-ize.
14049 (Fpq_exec): Mule-ize & bug fix.
14050 (Fpq_send_query): Ditto.
14051 (Fpq_get_result): Ditto.
14052 (Fpq_res_status): Mule-ize.
14053 (Fpq_result_error_message): Mule-ize.
14054 (Fpq_ntuples): fix comments.
14055 (Fpq_fname): Mule-ize.
14056 (Fpq_fnumber): Mule-ize.
14057 (Fpq_ftype): fix comments.
14058 (Fpq_get_value): Mule-ize.
14059 (Fpq_cmd_status): Ditto.
14060 (Fpq_cmd_tuples): Ditto.
14061 (Fpq_oid_value): Ditto.
14062 (Fpq_notifies): Ditto.
14063 (Fpq_lo_import): Ditto.
14064 (Fpq_lo_export): Ditto.
14065 (Fpq_get_line): Ditto.
14066 (Fpq_put_line): Mule-ize and bug fix.
14067 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14069 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14071 * postgresql.c (vars_of_postgresql): Mule-ize.
14072 (Fpq_conn_defaults): Ditto.
14074 2000-03-12 Ben Wing <ben@xemacs.org>
14076 * alloc.c (Fmake_byte_code):
14077 * alloc.c (debug_string_purity_print):
14078 * alloc.c (pdump_backtrace):
14079 * alloc.c (pdump_get_indirect_count):
14080 * alloc.c (pdump_register_sub):
14081 * alloc.c (pdump_register_object):
14082 * alloc.c (pdump_register_struct):
14083 * alloc.c (pdump_dump_data):
14084 * alloc.c (pdump_reloc_one):
14088 * console-msw.c (GetConsoleHwnd):
14089 * console-msw.c (msw_hide_console):
14090 * console-msw.c (msw_show_console):
14091 * console-msw.c (msw_ensure_console_buffered):
14092 * console-msw.c (msw_output_console_string):
14093 * console-msw.c (console_type_create_mswindows):
14095 a) Added functions to manipulate the console window for use with
14098 b) Added support for writing text to the console, which is now
14099 used under Windows when xemacs is not being run non-interactively,
14100 to write text that would otherwise be destined for stdout because
14101 under these circumstances, text written to stdout tends to
14102 disappear and not be seen.
14106 * event-Xt.c (x_event_to_emacs_event):
14107 * event-Xt.c (describe_event_window):
14108 * events-mod.h (XEMACS_MOD_CONTROL):
14110 * events.c (Fmake_event):
14111 * events.c (character_to_event):
14112 * events.c (event_to_character):
14113 * events.c (format_event_object):
14114 * events.c (Fevent_modifiers):
14116 * events.h (struct key_data):
14117 * events.h (struct button_data):
14118 * events.h (struct misc_user_data):
14119 * frame-x.c (Fcde_start_drag_internal):
14120 * frame-x.c (Foffix_start_drag_internal):
14121 * gpmevent.c (Freceive_gpm_event):
14123 * keymap.c (bucky_sym_to_bucky_bit):
14124 * keymap.c (control_meta_superify):
14125 * keymap.c (make_key_description):
14126 * keymap.c (keymap_lookup_directly):
14127 * keymap.c (create_bucky_submap):
14128 * keymap.c (keymap_store):
14129 * keymap.c (define_key_check_and_coerce_keysym):
14130 * keymap.c (define_key_parser):
14131 * keymap.c (define_key_alternate_name):
14132 * keymap.c (Fdefine_key):
14133 * keymap.c (raw_lookup_key_mapper):
14134 * keymap.c (struct map_keymap_unsorted_closure):
14135 * keymap.c (map_keymap_unsorted_mapper):
14136 * keymap.c (map_keymap_sort_predicate):
14137 * keymap.c (map_keymap_sorted):
14138 * keymap.c (accessible_keymaps_mapper_1):
14139 * keymap.c (where_is_recursive_mapper):
14140 * keymap.c (describe_map_mapper):
14141 * keymap.c (describe_map_sort_predicate):
14142 * keymap.c (describe_map):
14143 * keymap.c (complex_vars_of_keymap):
14144 And a number of other files, the key modifier preprocessor
14145 constants that xemacs uses have names that conflict with constants
14146 defined under MS Windows for other purposes, so they were renamed
14147 to begin with the prefix XEMACS_. The variables that hold such
14148 modifiers were changed to consistently be of type int to fix
14149 various compile warnings.
14151 * console.c (complex_vars_of_console):
14154 * device-msw.c (mswindows_finish_init_device):
14155 * device-msw.c (msw_get_workspace_coords):
14156 * device-msw.c (mswindows_device_system_metrics):
14157 and various other files, added support for a new
14158 device property called offset-workspace which returns the position
14159 of the upper left corner of the workspace area and goes along with
14160 the existing size-workspace property.
14163 * dialog-msw.c (push_bufbyte_string_as_unicode):
14164 * dialog-msw.c (mswindows_popup_dialog_box):
14165 Added support for XEmacs-style accelerator specifications in
14166 button text. Note: I didn't add support for this under X Windows,
14167 and somebody needs to do this.
14170 * dialog.c (Fpopup_dialog_box):
14171 Documented the support for accelerators that was just mentioned.
14173 editfns.c (get_home_directory): Changed behavior under Windows
14174 when HOME not defined; former behavior was irretrievably broken.
14177 * emacs.c (main_1):
14179 * minibuf.c (clear_echo_area_internal):
14180 * minibuf.c (echo_area_append):
14182 * print.c (std_handle_out_external):
14183 * print.c (std_handle_out_va):
14185 * print.c (write_string_to_stdio_stream):
14186 * print.c (output_string):
14187 * print.c (debug_print):
14188 * print.c (debug_backtrace):
14189 * print.c (debug_short_backtrace):
14190 Cleaned up the code that prints text to stdout so that this can be
14191 changed to output into a console window instead under MS Windows,
14192 as described above.
14195 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14196 * eval.c (internal_catch):
14197 * eval.c (unwind_to_catch):
14198 * eval.c (throw_or_bomb_out):
14199 * eval.c (condition_case_1):
14200 * eval.c (signal_1):
14201 * eval.c (check_error_state_sanity):
14202 * eval.c (call_with_suspended_errors_1):
14203 * eval.c (call_with_suspended_errors):
14204 * eval.c (reinit_vars_of_eval):
14205 Added code to catch throw loops and check for a pesky bug that may
14209 * event-msw.c (key_needs_default_processing_p):
14210 * event-msw.c (mswindows_wnd_proc):
14211 * event-msw.c (mswindows_modifier_state):
14212 * event-msw.c (emacs_mswindows_quit_p):
14213 * event-msw.c (vars_of_event_mswindows):
14214 a) Added support for using the alt key to select menu items as is
14215 standard under MS Windows. This is controlled using the variable
14216 menu-accelerator-enabled, just like under X Windows. There is an
14217 option on the options menu to turn this support on. I really
14218 think that it should be on by default under Windows, but I'm not
14219 going to make this change yet.
14221 b) Added support for dynamic display size changes under Windows.
14224 * event-stream.c (maybe_echo_keys):
14225 * event-stream.c (Fnext_event):
14226 * event-stream.c (command_builder_find_leaf):
14227 * event-stream.c (lookup_command_event):
14228 * event-stream.c (execute_command_event):
14229 * event-stream.c (pre_command_hook):
14230 * event-stream.c (post_command_hook):
14231 * event-stream.c (syms_of_event_stream):
14232 * event-stream.c (vars_of_event_stream):
14233 * event-stream.c (complex_vars_of_event_stream):
14234 * events.h (struct command_builder):
14236 a) Tried to clean up a little bit the horribly written x-specific
14237 accelerator code that crept into this file. I moved this code
14238 into menubar-x.c where it belongs. I also needed to move the
14239 command builder structure into the file events.h because it is
14240 accessed directly by this accelerator code. What I didn't do, but
14241 which should be done at some point, is to properly abstract this
14242 code using device methods instead of the kludgy way that it
14243 currently hooks into the event code.
14245 b) Added the lisp variables this-command-properties and
14246 last-command- properties, which should be used to synchronize two
14247 adjacent commands in preference to playing games with the variable
14248 this-command, which is typically what happens.
14250 c) Added some slightly nasty code to hook into the lisp support
14251 for shifted- motion-key selection. This is actually necessary for
14252 somewhat complicated reasons, which are described in
14253 simple.el. (NB: I think the proper thing would be to have the code
14254 that calls the pre and post command hooks also call out to generic
14255 lisp functions in simple.el, where all built-in stuff could be
14256 added. I will think about this more.)
14258 * event-unixoid.c (poll_fds_for_input):
14259 * lread.c (readchar):
14260 * redisplay-tty.c (tty_clear_frame):
14261 * redisplay-x.c (x_get_gc):
14262 * signal.c (interrupt_signal):
14263 And a whole bunch of other files: fixed up places that printed
14264 directly to stderr to instead call the function stderr_out so that
14265 the changes I made under Windows work correctly.
14267 * filemode.c (mode_string):
14271 * frame-msw.c (mswindows_size_frame_internal):
14272 Fixed the computation of frame size and position to keep the frame
14273 within the workspace area, rather than within the physical
14274 dimensions of the screen, so that the frame doesn't overlap window
14275 manager decorations, such as the start menu and toolbar, typically
14276 at the bottom of the screen.
14278 * frame.c (vars_of_frame):
14279 Changed the default frame title format under MS Windows to consist
14280 of buffername-XEmacs, which is standard under MS Windows. I think
14281 it might be a good idea to change this everywhere because I think
14282 it is superior to the current frame title format, but this is the
14283 kind of change that is likely to cause some people to get annoyed,
14284 so I'm not making it.
14286 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14288 * gui-msw.c (mswindows_handle_gui_wm_command):
14289 Fixed compile warnings.
14292 * gui-x.c (strdup_and_add_accel):
14293 * gui-x.c (button_item_to_widget_value):
14295 Added code to automatically put an accelerator onto the beginning
14296 of menu items that don't have one as is now the standard, and is
14297 described more later. Also fixed things so that the menu item
14298 name can be an evaluated expression, again a new standard.
14301 * gui.c (gui_item_add_keyval_pair):
14302 * gui.c (make_gui_item_from_keywords_internal):
14303 * gui.c (gui_add_item_keywords_to_plist):
14304 * gui.c (gui_item_accelerator):
14305 * gui.c (gui_name_accelerator):
14306 * gui.c (gui_item_included_p):
14307 * gui.c (gui_item_display_flush_left):
14308 * gui.c (gui_item_display_flush_right):
14309 * gui.c (parse_gui_item_tree_item):
14310 * gui.c (parse_gui_item_tree_children):
14311 * gui.c (parse_gui_item_tree_list):
14312 Mule-ized. Cleanup. GCPRO addition.
14314 * line-number.c (buffer_line_number):
14316 * lisp.h (EMACS_INT_MAX):
14317 Added the manifest constant EMACS_INT_MIN corresponding to the
14318 existing constant EMACS_INT_MAX. This is partially to fix compile
14319 warnings under Windows, and partly for cleanliness.
14322 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14323 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14324 * menubar-msw.c (displayable_menu_item):
14325 * menubar-msw.c (populate_menu_add_item):
14326 * menubar-msw.c (populate_or_checksum_helper):
14327 * menubar-msw.c (populate_menu):
14328 * menubar-msw.c (update_frame_menubar_maybe):
14329 * menubar-msw.c (prune_menubar):
14330 * menubar-msw.c (msw_char_is_accelerator):
14331 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14332 * menubar-msw.c (mswindows_handle_wm_command):
14333 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14334 * menubar-msw.c (mswindows_handle_wm_initmenu):
14335 * menubar-msw.c (mswindows_update_frame_menubars):
14336 * menubar-msw.c (mswindows_free_frame_menubars):
14337 * menubar-msw.c (mswindows_popup_menu):
14338 Fixed a bug in handling accelerators where an extra character
14339 would be displayed in the menu item. Also generalized the
14340 function displayable_menu_item because it is now used by the
14341 dialog box code as well. And finally, added code in the functions
14342 that create the menubar to extract a list of accelerators for the
14343 top level menubar, which is used in the event code to determine
14344 whether a particular alt-key combination should be used to invoke
14345 a menu item, or should be passed through to access the standard
14346 XEmacs keymap binding for this key combination.
14348 Much needed GCPROing.
14351 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14352 * menubar-x.c (menu_item_descriptor_to_widget_value):
14353 * menubar-x.c (restore_in_menu_callback):
14354 * menubar-x.c (x_popup_menu):
14355 * menubar-x.c (menu_move_up):
14356 * menubar-x.c (menu_move_down):
14357 * menubar-x.c (menu_move_left):
14358 * menubar-x.c (menu_move_right):
14359 * menubar-x.c (menu_select_item):
14360 * menubar-x.c (command_builder_operate_menu_accelerator):
14361 * menubar-x.c (menu_accelerator_junk_on_error):
14362 * menubar-x.c (command_builder_find_menu_accelerator):
14363 * menubar-x.c (Faccelerate_menu):
14365 Moved a whole bunch of code here that was previously in
14366 event-stream.c as described above. There is also code connected
14367 to the new standard of adding an accelerator to the beginning of
14368 menu items that don't have one as described above and below.
14371 * menubar.c (menu_parse_submenu_keywords):
14372 * menubar.c (Fmenu_find_real_submenu):
14373 * menubar.c (Fnormalize_menu_item_name):
14374 * menubar.c (syms_of_menubar):
14375 * menubar.c (vars_of_menubar):
14376 * menubar.c (complex_vars_of_menubar):
14378 a) Cleaned up a bunch of documentation and improved it.
14380 b) XEmacs now automatically adds an accelerator onto the beginning
14381 of any menu items that don't have one. I did this because there
14382 will inevitably be some menu items on the main menubar that don't
14383 have accelerators on them because the package that adds that
14384 particular menu item hasn't yet been fixed up to have accelerators
14385 in them and it looked rather strange to have some items with and
14386 some items without accelerators, especially since even in items
14387 without accelerators, you can, at least under windows, still
14388 access the item through an accelerator corresponding to the first
14389 character in the item's name. If people don't like this behavior,
14390 I can add a variable to turn it off optionally, but I'm not sure
14391 this is a good idea because we really do need to have accelerators
14392 on all of the menu items, and if a package doesn't like the
14393 accelerators being put on the first character, then it should put
14394 the accelerators where they belong.
14396 c) I made a behavior change, which is that the descriptor that
14397 specifies the text of the menu item, which formerly was just a
14398 string, can now also be an evaluated expression. This makes this
14399 descriptor parallel with all of the others, which could also be
14400 evaluated expressions. This also obviates the need for the
14401 keyword :label, which was previously listed in the documentation
14402 as unimplemented, and which was for the same purpose.
14407 * ntproc.c (new_child):
14408 * ntproc.c (sys_spawnve):
14409 * ntproc.c (find_child_console):
14410 * ntproc.c (sys_kill):
14411 Fixed compile warnings. By the way, this file should really go
14412 away entirely, and this will happen as soon as Kirill makes his
14413 final round of process cleanups, which affect the function
14417 * process-nt.c (struct nt_process_data):
14418 * process-nt.c (find_process_from_pid):
14419 * process-nt.c (send_signal_the_nt_way):
14420 * process-nt.c (enable_child_signals):
14421 * process-nt.c (find_child_console):
14422 * process-nt.c (send_signal_the_95_way):
14423 * process-nt.c (nt_finalize_process_data):
14424 * process-nt.c (ensure_console_window_exists):
14425 * process-nt.c (nt_create_process):
14426 * process-nt.c (nt_kill_child_process):
14427 * process-nt.c (nt_kill_process_by_pid):
14428 * process-nt.c (nt_open_network_stream):
14429 * process-nt.c (vars_of_process_nt):
14430 Copied over code from Emacs 20.5 to correctly send signals to sub-
14431 processes under Windows 95. Also added code to automatically
14432 create and hide console window when a sub-process is created under
14433 Windows 95, which obviates the need for the separate runemacs.exe
14434 executable, and finally implemented some variables that were
14435 implemented in Emacs 20.5, but previously not in XEmacs. These
14436 include mswindows- start-process-share-console and
14437 mswindows-start-process-inherit-error-mode. (Both of these only
14438 apply to Windows 95.)
14440 * regex.c (regex_compile): Fixed a compile warning.
14443 * select-msw.c (mswindows_own_selection):
14444 * select-msw.c (mswindows_get_foreign_selection):
14445 * select-msw.c (mswindows_disown_selection):
14446 * select-msw.c (console_type_create_select_mswindows):
14447 * select-msw.c (syms_of_select_mswindows):
14448 Cleaned up the file and implemented the device method
14449 selection_exists_p, which had accidentally been left out. Also
14450 removed four lisp functions that were remnants from before the
14451 time when the selection code was properly device abstracted.
14452 These functions are no longer needed because there are generic
14453 equivalents, and because they were added recently and don't exist
14454 in FSF Emacs, I don't think there's any problem with just deleting
14458 * sysdep.c (sys_subshell):
14459 Fixed a compile warning, although in this case there's probably
14460 something wrong with this code, and it ought to be looked into
14461 more thoroughly by somebody who understands it.
14464 * window.c (Fwindow_text_area_height):
14465 * window.c (Fwindow_width):
14466 * window.c (Fwindow_full_width):
14467 * window.c (Fwindow_pixel_width):
14468 * window.c (debug_print_window):
14469 * window.c (syms_of_window):
14470 Added functions window-text-area-height and window-full-width,
14471 which are functions for returning various width and height
14472 characteristics of a window. (One of these functions is necessary
14473 for making the file dialog box work correctly, and the other one
14474 was added for completeness.) Also added a table to the
14475 documentation for window-height which describes the entire scheme
14476 for accessing width and height characteristics of a window.
14478 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14480 * nt.c (fstat): Added a comment for another problem with
14481 non-encapsulated [f]stat(), reported by Adrian Aichner
14482 <aichner@ecf.teradyne.com>.
14484 2000-03-11 Andy Piper <andy@xemacs.org>
14486 * window.c (make_dummy_parent): initialize subwindow instance
14488 (Fset_window_configuration): zero extent_modiff.
14490 2000-03-10 Andy Piper <andy@xemacs.org>
14492 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14493 more changes can be triggered.
14494 (Fredisplay_frame): ditto.
14495 (Fredraw_device): ditto.
14496 (Fredisplay_device): ditto.
14497 (redisplay_frame): make non-static.
14498 (redisplay_frame): call update_frame_gutter_geometry outside of
14501 * gutter.h: declare update_frame_gutter_geometry.
14503 * redisplay.h: declare redisplay_frame.
14505 * gutter.c (update_frame_gutter_geometry): move geometry changes
14506 in update_frame_gutters here. Geometry changes can only occur
14507 outside of redisplay.
14508 (update_frame_gutters): remove geometry change code.
14509 (Fredisplay_gutter_area): make sure that we are in display when we
14510 update and that we have flushed any size changes.
14512 2000-03-11 Andy Piper <andy@xemacs.org>
14514 * alloc.c (pdump_dump_data): remove i & count shadows.
14516 2000-02-27 Mike Alexander <mta@arbortext.com>
14518 * sysdep.h: Declare pdump_read_file
14520 * sysdep.c (pdump_read_file): New function
14522 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14525 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14527 * lrecord.h: add `lrecord_type_pgsetenv'.
14529 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14531 * symsinit.h: declare (vars|syms)_of* functions.
14532 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14534 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14536 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14538 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14541 * emacs.c (main_1): Call postgres initialization code.
14543 * postgresql.h: New file. PostgreSQL RDBMS support.
14544 * postgresql.c: New file.
14546 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14548 * redisplay-output.c (redisplay_output_display_block): Disable
14551 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14553 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14554 (Fcanna_henkan_next): Ditto.
14555 (Fcanna_bunsetu_henkou): Ditto.
14556 (Fcanna_henkan_kakutei): Ditto.
14557 (Fcanna_henkan_end): Ditto.
14558 (Fcanna_henkan_quit): Ditto.
14559 (Fcanna_henkan_next): Set retun value correctly.
14560 (c2mu): Use unsigned char instead of signed char.
14562 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14564 * emacs.c (main_1): Always call syms_of_gui.
14565 * inline.c: include gui.h
14567 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14569 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14570 converted to Lisp_Object.
14571 (Qtop_bottom): New variable.
14572 (syms_of_redisplay): Initialize it.
14573 * redisplay.h (Vvisible_bell): Ditto.
14574 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14575 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14576 only flash top and bottom.
14578 2000-03-08 Andy Piper <andy@xemacs.org>
14580 * buffer.c (Frename_buffer): record new buffer name the right way.
14582 2000-03-08 Andy Piper <andy@xemacs.org>
14584 * glyphs.c (update_subwindow): increase hash depth so that widget
14585 items get picked up properly.
14587 * redisplay-output.c (compare_runes): increase hash depth so that
14588 widget items get picked up properly.
14590 2000-03-08 Andy Piper <andy@xemacs.org>
14592 * gutter.c (output_gutter): add some debug.
14594 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14595 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14596 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14598 * redisplay-output.c (compare_runes): use display_hash to
14599 determine if glyphs really are not the same.
14601 * glyphs.c (update_subwindow): check display_hash to see if
14602 anything really needs to be updated. If not then do
14603 nothing. Record the display_hash after updating.
14604 (image_instance_equal): compare the image_instance face also.
14606 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14608 * redisplay.h: Fix comment style.
14610 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14612 * consle-msw.h (struct mswindows_frame):
14613 Added new member paint_pending to indicate whether a WM_PAINT
14614 magic event has been queued for this frame.
14616 * event-msw.c (mswindows_drain_windows_queue):
14617 Don't queue a WM_PAINT magic event if one is already queued.
14618 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14620 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14622 2000-03-07 Didier Verna <didier@xemacs.org>
14624 * dired.c: #include `regex.h' after `sysfile.h'.
14626 2000-03-06 Martin Buchholz <martin@xemacs.org>
14628 * sound.c (init_nas_sound): Fix compiler warning.
14630 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14632 (MARK_STRUCT_AS_FREE):
14633 (MARK_STRUCT_AS_NOT_FREE):
14634 Make `gcc -fstrict-aliasing' work properly.
14636 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14638 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14639 (mswindows_delete_device): Call CoUnnitialize().
14641 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14643 2000-02-25 <CraigL@DyCon.com>
14645 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14648 * sysdep.c: This extern declaration for environ prevents MinGW
14649 from finding the variable in CRTDLL.DLL.
14651 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14653 (SHGFI_EXETYPE): ..
14654 (WM_MOUSEWHEEL): ..
14655 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14657 (MMRESULT): Removed, now defined in cygwin's windows headers.
14659 (uid_t,gid_t,pid_t,ssize_t): ..
14660 (_timeb): Removed, MinGW defines both _timeb and timeb.
14661 (HAVE_H_ERRNO): Added.
14662 (HAVE_TZNAME): Added, configure is not detecting this.
14664 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14666 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14667 * syntax.c (syntax_match): Use it.
14669 * cmds.c: Import auto-fill-chars from FSF Emacs.
14670 (Vauto_fill_chars): New variables.
14671 (internal_self_insert): Check Vauto_fill_chars.
14673 Declare auto-fill-chars as a Lisp variable and initialize it.
14675 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14677 * fileio.c (Fmake_symbolic_link):
14679 Run handlers even if local machine doesn't have symlinks.
14681 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14683 * event-msw.c (mswindows_drain_windows_queue):
14684 Don't generate paint magic events for non-XEmacs frames.
14686 2000-03-05 Andy Piper <andy@xemacs.org>
14688 * redisplay.c (redisplay_frame): generate_displayable_area and
14689 friends assumes that we are not in GC, we therefore have to make
14690 sure that this doesn't happen.
14692 * gutter.c (calculate_gutter_size): generate_displayable_area
14693 assumes that we are not in GC, we therefore have to make sure that
14694 this doesn't happen.
14696 2000-03-05 Martin Buchholz <martin@xemacs.org>
14698 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14700 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14702 * redisplay.c (regenerate_window): Make sure we set a sane value
14703 for end_pos even if we jump out of the loop.
14704 (regenerate_window): Answer Ben's question :-).
14705 (start_end_of_last_line): Add may_error argument.
14706 (start_of_last_line):
14707 (end_of_last_line): Pass may_error = 0.
14708 (end_of_last_line_may_error): New function.
14709 (pixel_to_glyph_translation): Use it, so we don't crash in
14712 2000-03-04 Andy Piper <andy@xemacs.org>
14714 * window.h (struct window): add gutter_extent_modiff.
14716 * window.c (allocate_window): zero out gutter_extent_modiff.
14718 * redisplay.h: declare sync_display_line_structs.
14720 * redisplay.c (add_glyph_rune): add a better comment.
14722 * redisplay-output.c (sync_display_line_structs): made non-static.
14723 (compare_runes): remove unneccesary glyph cachel access.
14725 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14727 * gutter.c (output_gutter): don't output the gutter if extent
14728 changes only involve extents in buffers. use 4 sets of display
14730 (gutter_extent_signal_changed_region_maybe): new function. Mark
14731 extents in gutters as changed.
14732 (update_frame_gutters): use 4 sets of display lines.
14733 (reset_gutter_display_lines): ditto.
14734 (free_frame_gutters): ditto.
14735 (redraw_exposed_gutter): force output of gutters.
14737 * frame.h (struct frame): add 4 sets of gutter display lines.
14739 * extents.c: (extent_changed_for_redisplay): signal changes to
14740 extents in strings in the gutter as well as extents in buffers.
14742 2000-03-02 Andy Piper <andy@xemacs.org>
14744 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14746 * frame.c (Fmake_frame): make sure the gutters get initialized
14747 after the frame is visible.
14748 (set_frame_selected_window): re-arrange compilation macros a
14750 (change_frame_size_1): mark gutters changed.
14752 * device.c (Fset_device_class): mark gutters changed.
14754 2000-03-01 Andy Piper <andy@xemacs.org>
14756 * window.c (window_top_frame_gutter_height): deleted.
14757 (window_bottom_frame_gutter_height): ditto.
14758 (window_left_frame_gutter_height): ditto.
14759 (window_right_frame_gutter_height): ditto.
14760 (window_top_gutter_height): don't use them.
14761 (window_bottom_gutter_height): ditto.
14762 (window_left_gutter_width): ditto.
14763 (window_right_gutter_width): ditto.
14764 (Fsplit_window): ditto.
14765 (Fwindow_pixel_edges): don't use border dimensions here.
14767 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14768 (update_scrollbar_instance): ditto.
14770 * redisplay.c (generate_modeline): don't take gutters into account.
14771 (generate_modeline): ditto.
14772 (redisplay_frame): small gutter display optimization.
14774 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14776 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14777 gutters into account.
14779 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14780 for window position and type.
14782 * gutter.c (get_gutter_coords): fix for frame gutters.
14783 (update_frame_gutters): update frame geometry if the gutters have
14785 (init_frame_gutters): record current gutter geometries.
14787 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14789 (mswindows_widget_instantiate): ditto.
14791 * frame.h (struct frame): add current_gutter_bounds.
14793 * frame.c (change_frame_size_1): position window and minibuffer
14794 appropriately taking into account the frame gutters.
14796 * frame-x.c: (x_initialize_frame_size): take into account the
14799 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14801 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14803 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14805 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14807 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14809 * file-coding.c (reset_decoding_stream): Clear previous
14810 detection state when autodetect.
14812 2000-02-29 Didier Verna <didier@xemacs.org>
14814 * extents.c (set_extent_glyph_1): don't require extents to be
14817 2000-02-27 Andy Piper <andy@xemacs.org>
14819 * gutter.c (Fset_default_gutter_position): don't default left and
14820 right gutter visibility to t.
14821 (Fset_default_gutter_position): run
14822 default-gutter-position-changed-hook.
14823 (syms_of_gutter): add default-gutter-position-changed-hook.
14825 2000-02-26 Andy Piper <andy@xemacs.org>
14827 * specifier.c (Fmake_specifier): add gutter references.
14829 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14831 * lisp.h: declare Fvalid_plist_p.
14833 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14835 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14836 well as its visibility so that it gets reconstructed.
14837 (construct_window_gutter_spec): new function. Construct a string
14838 to be displayed in the gutter from a plist of strings. Take care
14839 to only use elements that are declared as visible.
14840 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14842 (gutter_validate): allow plists of strings in the specifier.
14843 (gutter_specs_changed): construct the real_gutter from the gutter
14844 specs using construct_window_gutter_spec.
14845 (gutter_visible_validate): gutter-visible is a new specifier type.
14846 (Fgutter_visible_specifier_p): new function for the new specifier.
14847 (syms_of_gutter): declare gutter-visible and
14848 Fgutter_visible_specifier_p.
14849 (specifier_type_create_gutter): intitalize new gutter-visible
14851 (reinit_specifier_type_create_gutter): ditto.
14852 (specifier_vars_of_gutter): use new specifier type for gutter
14854 (init_frame_gutters): construct real_gutter correctly.
14855 (Fgutter_specifier_p): beef up documentation.
14856 (Fgutter_size_specifier_p): ditto.
14858 * winslots.h: add real_gutter slots.
14860 2000-02-25 Andy Piper <andy@xemacs.org>
14862 * device-msw.c: Be kind to older cygwin versions. From Raymond
14863 Toy <toy@rtp.ericsson.se>.
14865 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14866 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14868 2000-02-25 Martin Buchholz <martin@xemacs.org>
14870 * elhash.c (MARK_OBJ): Practice macro hygiene.
14872 2000-02-24 Martin Buchholz <martin@xemacs.org>
14874 * miscplay.c: s/__inline__/inline/g;
14875 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14876 (get_device_compdc): INLINE ==> static inline
14877 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14878 find -name '*.h' | \
14879 xargs global-replace \
14880 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14882 2000-02-25 Andy Piper <andy@xemacs.org>
14884 * window.c (window_top_frame_gutter_height): new function.
14885 (window_top_window_gutter_height): ditto.
14886 (window_top_gutter_height): use them.
14887 (window_bottom_frame_gutter_height): new function.
14888 (window_bottom_window_gutter_height): ditto.
14889 (window_bottom_gutter_height): use them.
14890 (window_left_window_gutter_width): new function.
14891 (window_left_frame_gutter_width): ditto.
14892 (window_left_gutter_width): use them.
14893 (window_right_window_gutter_width): new function.
14894 (window_right_frame_gutter_width): ditto.
14895 (window_right_gutter_width): use them.
14896 (window_pixel_height): new function. calulate window pixel height
14897 with frame gutter involvement.
14898 (Fsplit_window): calculate new sizes taking frame gutters into
14900 (window_char_height_to_pixel_height): don't include frame gutters.
14901 (window_char_height): use window_pixel_height.
14902 (window_pixheight): rename from window_pixel_height.
14903 (change_window_height): use it.
14904 (window_pixel_height_to_char_height): don't include frame gutters.
14905 (window_char_width_to_pixel_width): ditto.
14907 2000-02-25 Andy Piper <andy@xemacs.org>
14909 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14912 2000-02-24 Martin Buchholz <martin@xemacs.org>
14914 * alloc.c (staticpro):
14915 (staticpro_nodump):
14920 (compact_string_chars):
14921 (pdump_dump_wired):
14922 Convert: if (foo) abort(); ==> assert (! foo);
14924 * eldap.c (Fldap_search_basic):
14928 Fix compiler warnings, and possible crashes if (random) return
14929 value were to be used.
14931 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14933 * device-msw.c: Workaround ResetDC failure.
14935 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14936 applying a devmode.
14938 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14939 (mswindows_text_width): Do not start printer page.
14941 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14943 * glyphs-msw.c: Added image methods to msprinter console and
14944 msprinter-specific image instantiation.
14946 2000-02-20 Mike Alexander <mta@arbortext.com>
14948 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14949 to avoid crashes when selection-sets-clipboard is on
14950 (mswindows_own_selection): ditto
14952 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14955 * redisplay-msw.c (get_frame_dc):
14956 (get_frame_compdc):
14958 * device-msw.c (mswindows_init_device):
14959 (mswindows_delete_device):
14960 (msprinter_init_device):
14961 (msprinter_delete_device):
14962 * frame-msw.c (mswindows_init_frame_1):
14963 (mswindows_delete_frame):
14964 (msprinter_init_frame_3):
14965 (msprinter_delete_frame): Move compatible DC to device object from
14966 frame object, for both mswindows and msprinter. Only one at a time
14967 is needed, it is a real waste to have one per frame!
14969 2000-02-23 Andy Piper <andy@xemacs.org>
14971 * glyphs.c: add dynamic width and height elements.
14972 (image_instance_equal): ditto.
14974 * glyphs-widget.c (widget_query_geometry): calculate width and
14975 height dynamically if required.
14976 (initialize_widget_image_instance): initialize dynamic dimensions.
14977 (widget_instantiate): pick-up dynamic dimensions.
14979 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14980 dynamic determination. Add appropriate macros.
14982 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14984 (WINDOW_GUTTER_SIZE): ditto.
14985 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14987 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14989 (get_frame_dc): ditto.
14991 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14994 2000-02-23 Martin Buchholz <martin@xemacs.org>
14996 * XEmacs 21.2.31 is released.
14998 2000-02-22 Ben Wing <ben@xemacs.org>
15000 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15002 2000-02-22 Andy Piper <andy@xemacs.org>
15004 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15006 2000-02-21 Mike Sperber <mike@xemacs.org>
15010 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15013 2000-02-21 Mike Sperber <mike@xemacs.org>
15015 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15017 2000-02-21 Martin Buchholz <martin@xemacs.org>
15019 * XEmacs 21.2.30 is released.
15021 2000-02-20 Martin Buchholz <martin@xemacs.org>
15023 Performance hacking.
15025 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15026 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15027 * emacs.c (main_1):
15029 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15030 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15031 * symeval.h (DEFVAR_SYMVAL_FWD):
15032 * symbols.c (guts_of_unbound_marker):
15033 Make all c_readonly objects also lisp_readonly and marked for life.
15034 * lrecord.h (struct lrecord_implementation):
15035 Document flags better.
15036 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15037 * lrecord.h (DECLARE_LRECORD):
15038 * lrecord.h (XSETRECORD):
15039 * lrecord.h (RECORDP):
15040 * lrecord.h (RECORD_TYPEP):
15041 * lrecord.h (RECORD_MARKER): New.
15042 * lrecord.h (error_check_*):
15043 * lrecord.h (CONCHECK_NONRECORD):
15044 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15045 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15046 * lrecord.h (set_lheader_implementation):
15047 * lrecord.h (enum lrecord_type): New.
15048 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15049 * alloc.c (disksave_object_finalization_1):
15050 * alloc.c (mark_object):
15051 * alloc.c (lrecord_type_index):
15052 * alloc.c (tick_lcrecord_stats):
15053 * alloc.c (Fgarbage_collect):
15054 * alloc.c (init_alloc_once_early):
15055 * alloc.c (pdump_load):
15056 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15057 * alloc.c (lrecord_type_index): Delete.
15058 Make lisp object type indexes be constant.
15059 Makes (byte-compile) 5% faster.
15060 Put all marker functions into their own array.
15061 Makes (garbage-collect) 5% faster.
15062 Optimize SYMBOL_VALUE_MAGIC_P.
15063 Makes (byte-compile) 2-3% faster.
15064 * config.h.in (gc_checking_assert): New.
15065 * alloc.c: Use gc_checking_assert().
15066 * .dbxrc: Make compatible with new object type implementation.
15067 * .gdbinit: Make compatible with new object type implementation.
15068 * alloc.c: Delete all symbols defined only for debugging, such as
15069 Lisp_Type_Vector and lrecord_charset.
15071 2000-02-21 Andy Piper <andy@xemacs.org>
15073 * gui-msw.c (Fmswindows_shell_execute): fix file location
15076 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15077 unshowing so that set_window_buffer doesn't undo
15078 kill_buffer_hook's hard work.
15080 * glyphs-widget.c (tab_control_query_geometry): don't count the
15081 first item when calculating geometry.
15083 * glyphs.c (map_subwindow): remove redundant code.
15084 (update_frame_subwindows): be more circumspect about when to
15087 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15088 when items haven't changed. Update faces if faces have changed as
15089 well as just the widget face.
15090 (x_tab_control_update): Update faces if faces have changed as well
15091 as just the widget face.
15093 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15095 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15097 (build_syscolor_string): Use mswindows_color_to_string to try to
15099 (mswindows_device_system_metrics): Reverse the foreground and
15100 background colors so that they match the documentation.
15102 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15103 they match the default Windows palette.
15104 (mswindows_color_to_string): New function.
15106 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15108 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15110 2000-02-18 Olivier Galibert <galibert@pobox.com>
15112 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15113 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15115 * symbols.c (init_symbols_once_early): Removed obsolete
15116 DATA_SEG_BITS related kludge.
15117 (defvar_magic): Ditto.
15119 * malloc.c: Removed obsolete DATA_SEG_BITS
15121 * mem-limits.h: Ditto.
15123 * Makefile.in.in: Removed obsolete HAVE_SHM
15126 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15128 * device-msw.c (mswindows_delete_device): Free DDE string
15131 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15133 * keymap.c (get_keyelt):
15134 * unexnt.c (unexec):
15135 * vm-limit.c (memory_warnings):
15136 * ntheap.c (recreate_heap):
15137 * ntheap.h (UNINIT_PTR):
15138 * select-msw.c (Fmswindows_get_clipboard):
15139 (Fmswindows_set_clipboard):
15140 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15142 * menubar-msw.c (displayable_menu_item):
15144 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15145 * sysdep.c (sys_subshell):
15146 * process-nt.c (nt_create_process):
15147 * nt.c (normalize_filename):
15148 (dostounix_filename):
15149 (unixtodos_filename):
15150 * ntproc.c (win32_executable_type):
15151 * ntplay.c (play_sound_data_1):
15153 * editfns.c (get_home_directory):
15154 * event-msw.c (struct winsock_stream):
15155 (mswindows_dde_callback):
15156 * device-msw.c (msprinter_init_device):
15157 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15159 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15160 mswindows_clear_toolbar were swapped!
15162 * objects-msw.c:(colormap_t):
15164 * emacs.c (struct standard_args): Fixed const jumble.
15166 * glyphs-widget.c (update_widget): Fixed comparison notation.
15168 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15170 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15171 __declspec(noreturn) syntax.
15173 2000-02-19 Martin Buchholz <martin@xemacs.org>
15175 * eldap.c (Fldap_open):
15176 (Fldap_search_basic):
15179 Use new coding system conversion macros.
15181 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15183 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15185 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15187 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15188 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15190 * eldap.c (Qadd, Qreplace): New constant symbols
15191 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15192 interruptions by XEmacs signals
15193 Remove unnecessary calls to slow_down_interrupts and
15194 speed_up_interrupts
15195 (Fldap_search_basic): Renamed from Fldap_search_internal
15196 Added new optional parameter VERBOSE that triggers the
15197 display of progress messages
15198 Remove unnecessary calls to slow_down_interrupts and
15199 speed_up_interrupts
15200 LDAP result code analysis rewritten
15201 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15202 (syms_of_eldap): Define the new symbols and functions
15205 2000-02-17 Martin Buchholz <martin@xemacs.org>
15207 * realpath.c: Determine PATH_MAX maximally portably.
15209 * insdel.c (bytecount_to_charcount): Optimize.
15210 The function used to be optimized for entirely ASCII sequences.
15211 Now it is optimized for successive characters from the same
15212 charset. This also wins big for _mostly_ ASCII sequences.
15214 * fileio.c (Ffile_truename): convert return from realpath() using
15215 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15216 - Rewrite GCPROing slightly.
15218 * sysdep.c (sys_open): Do filename conversion, like all other
15219 sys_* functions. Fixes bug:
15220 (let ((file-name-coding-system 'iso-8859-2))
15221 (write-region x y latin2-name))
15222 ==> writes filename using internal encoding.
15224 2000-02-18 Martin Buchholz <martin@xemacs.org>
15226 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15227 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15228 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15229 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15230 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15231 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15232 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15233 (CONST_IF_NOT_DEBUG): Delete.
15234 * alloc.c (this_one_is_unmarkable): Delete.
15235 (mark_object): Don't check for this_one_is_unmarkable. Use the
15236 c_readonly flag instead.
15237 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15239 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15241 * event-msw.c (mswindows_drain_windows_queue):
15242 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15243 away redundant repaint events.
15245 2000-02-17 Andy Piper <andy@xemacs.org>
15247 * redisplay.h: declare mark_redisplay_structs.
15249 * redisplay.c (redisplay_window):
15250 (redisplay_frame): don't check subwindows_state_changed.
15251 (mark_redisplay): mark gutters here.
15253 * glyphs.c: (instantiate_image_instantiator): always layout if we
15254 haven't done so already.
15255 (allocate_image_instance): don't mark as dirty.
15256 (update_subwindow): bind inhibit_quit.
15258 * gutter.c (mark_gutters): new function.
15260 * glyphs-x.c (x_update_widget): Always resize to get round a
15263 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15264 breaking absolutely everything.
15266 * gutter.h: declare mark_gutters.
15268 2000-02-16 Martin Buchholz <martin@xemacs.org>
15270 * XEmacs 21.2.29 is released.
15272 2000-02-15 Olivier Galibert <galibert@pobox.com>
15274 * fns.c (size_bit_vector): Fix computation of the size.
15276 2000-02-15 Martin Buchholz <martin@xemacs.org>
15278 * *.[ch]: Change CONST to const globally.
15279 find -name '*.[ch]' | \
15280 xargs global-replace \
15281 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15282 - Remove vestigial references to CONST_IS_LOSING
15284 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15286 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15287 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15288 events instead of dispatching them directly.
15289 (mswindows_handle_paint): New function to do repainting.
15290 (mswindows_wnd_proc):
15291 (emacs_mswindows_handle_magic_event): Call above function.
15293 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15295 * objects-msw.c (mswindows_create_font_variant): Return the new
15297 (initialize_font_instance): Get font metrics from the underlined
15298 variant of the font to cope with the case where the underlined
15299 font has a bigger descent.
15301 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15303 * gui.c (gui_item_accelerator): Return the first underlined
15304 character in item name.
15306 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15308 * lisp.h: Added Qprinter.
15310 * general.c (syms_of_general): Initialized it.
15312 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15314 (get_frame_compdc): Made inline.
15316 * console.h (struct console_methods): Added eject_page method.
15318 * frame.h: Added FRAME_DISPLAY_P and friends.
15319 Aligned backslahes in many macros in more readable fashion.
15320 Added page_number to struct frame, and an accessor macro
15323 * defice.h: Added DEVICE_DISPLAY_P and friends.
15325 * device.c (Fdevice_printer_p): Used these.
15327 * frame.c (allocate_frame_core): Initialize page number.
15328 (Fprint_job_page_number):
15329 (Fprint_job_eject_page): Implemented.
15331 * frame-msw.c (msprinter_eject_page): Added method.
15332 (msprinter_start_page): Added.
15334 * window.c (Fwindow_truncated_p): Fixed docstring.
15335 (Fwindow_last_line_visible_height): Implemented.
15337 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15339 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15341 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15343 * syntax.c (scan_words): Always advance at least one character.
15345 2000-02-13 Andy Piper <andy@xemacs.org>
15347 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15348 to make sure the glyph is in the cachels.
15350 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15351 global image instance flag.
15352 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15353 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15355 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15356 (Fset_image_instance_property): mark layout as changed.
15357 (invalidate_glyph_geometry_maybe): mark layout as changed.
15358 (glyph_width): use new NEEDS_LAYOUT macro.
15359 (glyph_ascent): ditto.
15360 (glyph_descent): ditto.
15361 (glyph_height): ditto.
15362 (image_instance_layout): mark layout as clean after laying out.
15363 (update_subwindow): don't mark layout as clean here.
15365 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15366 should no longer be needed.
15368 * glyphs-x.c (x_update_widget): sanitize asserts.
15369 (x_finalize_image_instance): sanitize assignment to widgets.
15371 * glyphs-widget.c (widget_instantiate): don't need to clear the
15374 2000-02-13 Martin Buchholz <martin@xemacs.org>
15376 * sysdep.c (getcwd): Use standard prototype.
15377 * sysdep.h (getcwd): Use standard prototype.
15379 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15380 (sequence, start, end).
15381 Remove redundant type checking.
15382 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15383 view of `caller-protects') to avoid a crash where the real fix was
15386 2000-02-12 Martin Buchholz <martin@xemacs.org>
15388 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15390 * s/sol2.h: Remove feature macro initialization.
15392 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15393 (vector_hash): New. Code from internal_hash.
15395 Fix up allocation subsystem comments.
15397 * config.h.in: Add __EXTENSIONS__ for Solaris.
15399 * systime.h (EMACS_GETTIMEOFDAY): New.
15400 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15401 Remove Solaris-specific code.
15402 Use void* for the (ignored) second arg for gettimeofday().
15404 * elhash.c (hash_table_hash): Implement it, finally.
15405 * elhash.c: Use hashcode_t.
15407 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15408 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15410 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15411 * fns.c (size_bit_vector):
15412 * alloc.c (size_vector):
15413 (make_vector_internal):
15414 (make_bit_vector_internal):
15415 (sweep_bit_vectors_1):
15416 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15418 2000-02-10 Martin Buchholz <martin@xemacs.org>
15420 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15421 Include strings.h to avoid warnings for bzero and strcasecmp.
15423 2000-02-10 Olivier Galibert <galibert@pobox.com>
15425 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15426 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15428 * fns.c (size_bit_vector): New. Declare bit vectors as a
15431 2000-02-10 Olivier Galibert <galibert@pobox.com>
15433 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15434 use a value field instead.
15435 (symbol_value_forward_forward): Use value field.
15436 (DEFVAR_SYMVAL_FWD): Use value field.
15437 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15438 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15439 (DEFVAR_CONST_INT): Ditto.
15440 (DEFVAR_BOOL): Ditto.
15441 (DEFVAR_CONST_BOOL): Ditto.
15442 (DEFVAR_INT_MAGIC): Ditto.
15443 (DEFVAR_BOOL_MAGIC): Ditto.
15445 * symbols.c (guts_of_unbound_marker): Use value field.
15446 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15447 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15449 * lisp.h: Declare dumpopaque and noninteractive1.
15451 * alloc.c (dumpopaque): Added.
15452 (pdump_dump_opaquevec): Added.
15453 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15454 (pdump_load): Reload opaque data. Sync noninteractive1 with
15457 2000-02-10 Andy Piper <andy@xemacs.org>
15459 * glyphs.c (image_instance_layout): if the size changes, mark it
15462 * redisplay-output.c (redisplay_output_layout): Update the
15464 (redisplay_output_subwindow): ditto.
15466 * glyphs.c (update_subwindow): make sure we reset flags for
15467 layouts as well as everything else.
15469 * glyphs-widget.c (layout_layout): don't need to set the instances
15472 2000-02-09 Martin Buchholz <martin@xemacs.org>
15474 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15475 not HAVE_DLOPEN, which is a lower-level thing.
15477 * .cvsignore: Ignore gmon.out
15479 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15481 * .cvsignore: Ignore portable dumper xemacs.dmp file
15483 2000-02-09 Andy Piper <andy@xemacs.org>
15485 * redisplay-output.c (redisplay_output_layout): be more clever
15486 about when we output based on the changed flags.
15488 * glyphs.h (struct image_instantiator_methods): add update_method.
15489 (struct Lisp_Image_Instance): add changed flags. Declare new
15490 macros for manipulating them.
15492 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15493 (image_instance_parent_glyph): find an image_instance's parent
15494 glyph or image_instance.
15495 (image_instance_layout): mark the size as changed.
15496 (set_image_instance_dirty_p): new function. mark an image
15497 instance, plus all of its parents, as dirty.
15498 (Fset_image_instance_property): use it.
15499 (Fglyph_animated_timeout_handler): use it.
15500 (update_subwindow): call update_widget and device methods for
15501 update_subwindow. Mark all changed flags as clean.
15502 (Fresize_subwindow): mark size as changed.
15504 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15506 (x_update_subwindow): only resize subwindows here.
15507 (x_update_widget): new function. Update all changed properties of
15509 (x_resize_subwindow): deleted.
15510 (x_widget_set_property): deleted.
15511 (x_progress_gauge_set_property): deleted.
15512 (x_progress_gauge_update): new function. Implement recorded
15514 (x_tab_control_update): ditto.
15515 (x_tab_control_set_property): deleted.
15516 (console_type_create_glyphs_x): declare new functions.
15517 (image_instantiator_format_create_glyphs_x): ditto.
15519 * glyphs-widget.c (widget_set_property): mark text changed.
15520 (update_widget): new function. Update properties of a widget.
15521 (widget_instantiate): for layouts make sure we set their
15522 children's parent correctly.
15523 (tab_control_set_property): new function. Record changes that will
15524 take place under redisplay's control.
15525 (progress_gauge_set_property): ditto.
15526 (image_instantiator_progress_guage): declare new functions.
15527 (image_instantiator_tab_control): ditto.
15529 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15531 (mswindows_update_widget): new function. Update all properties on
15532 a widget that have changed.
15533 (mswindows_button_update): new function. Update a button's set
15535 (mswindows_tab_control_update): new function. Update the items in
15537 (mswindows_tab_control_set_property): deleted.
15538 (mswindows_progress_gauge_update): new function. Update the
15539 progress gauge's progress.
15540 (mswindows_widget_set_property): deleted. This is all done
15541 asynchronously now.
15542 (mswindows_progress_gauge_set_property): ditto.
15543 (console_type_create_glyphs_mswindows): declare new methods.
15544 (image_instantiator_format_create_glyphs_mswindows): ditto.
15546 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15547 (msprinter_set_frame_properties): ditto.
15549 * console.h (struct console_methods): Add update_widget_method.
15551 2000-02-09 Andy Piper <andy@xemacs.org>
15553 * gui-msw.c (Fmswindows_shell_execute): Make
15554 mswindows-shell-execute industrial strength.
15556 2000-02-08 Martin Buchholz <martin@xemacs.org>
15558 * lrecord.h: Make macro argument `props' match member function `plist'.
15561 * fns.c (Fremprop):
15562 * fns.c (Fobject_plist):
15565 Object property list frobbing cleanup.
15566 - Allow any lisp object (compared with `eq'), not just symbols, as
15567 keys in object plists.
15568 - Move symbol plist frobbing into symbols.c, where it belongs.
15569 - Move string plist frobbing into alloc.c, where it belongs.
15570 - Everything's an lrecord now, so no need to test for symbolp, etc.
15571 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15573 * extents.c: Reorder code to remove declarations.
15575 * frame.h (store_in_alist): Remove useless declaration.
15577 2000-02-07 Martin Buchholz <martin@xemacs.org>
15579 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15580 * config.h.in: Add HAVE_XCONVERTCASE.
15582 2000-02-07 Andy Piper <andy@xemacs.org>
15584 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15585 it breaks many things.
15587 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15589 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15590 actually can start a common comment type.
15591 * src/syntax.h (SYNTAX_END_P): ditto for end.
15593 2000-02-07 Martin Buchholz <martin@xemacs.org>
15595 * XEmacs 21.2.28 is released.
15597 2000-02-06 Martin Buchholz <martin@xemacs.org>
15599 * event-Xt.c (x_keysym_to_character): New.
15600 (maybe_define_x_key_as_self_inserting_character): New.
15601 (x_has_keysym): New.
15602 Auto-define all keys on the keyboard as self-insert-key.
15604 2000-02-02 Martin Buchholz <martin@xemacs.org>
15606 * menubar.c (vars_of_menubar): A small code simplification.
15608 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15611 * ExternalClient.c:
15612 * EmacsShell-sub.c:
15615 Use consistent style for specifying X resources.
15617 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15618 This makes (dontusethis-set-symbol-value-handler) actually usable.
15620 * lrecord.h (lrecord_decription_type):
15621 * alloc.c (pdump_register_sub):
15624 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15625 Comply with XEmacs coding style.
15626 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15627 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15629 * keymap.c (Faccessible_keymaps):
15630 Make (accessible-keymaps map "\C-h") do the Right Thing.
15631 Make (accessible-keymaps map []) do the Right Thing.
15632 Make (accessible-keymaps map "") do the Right Thing.
15633 (check_keymap_definition_loop): New function.
15634 (keymap_store_internal): Keep luser from shooting self in foot,
15635 via (define-key ctl-x-4-map "p" global-map).
15636 Remove fullness slot from struct Lisp_Keymap, since hash tables
15638 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15640 2000-01-30 Martin Buchholz <martin@xemacs.org>
15642 * redisplay.c (init_redisplay): Fix small memory leak.
15644 * elhash.c (pdump_reorganize_hash_table):
15645 Rename from reorganize_hash_table. Change prototype.
15646 Reuse the original memory for hentries. Save 100k.
15647 * alloc.c (PDUMP_READ): new macro.
15648 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15649 * alloc.c: No need to #ifndef before #undef.
15651 * print.c: Allow debug_print() to print readably by modifying
15652 debug_print_readably. Use consistent variable names.
15654 * .dbxrc: Try to get things to work even if stopped in a function
15655 without source available by explicitly specifying source files.
15656 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15658 * unexnt.c (_start): Removed bogus code which caused loading heap
15659 from differrent executable file.
15660 Removed bogus assignment to _fmode, which caused inconsistencies.
15662 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15664 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15665 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15666 Do not preliminary `#define signal sigset'.
15668 * systime.h: Do not prototype environ on windows nt and cygwin,
15669 this conflicts with system header.
15671 * syssignal.h: Use correct define for WINDOWSNT
15673 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15674 with system header.
15676 * sysdep.c (near start of file): Fixed commentary and rearranged
15677 ifdefs in readable order.
15678 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15681 (end_of_data): Do not compile in if using PDUMP.
15683 * symsinit.h: Prototyped vars_of_nt().
15685 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15686 (find_child_console): Use it.
15687 (sys_kill): Use it.
15689 * ntheap.h: Do not extern os_subtype.
15691 * ntheap.c (cache_system_info): Do not cache unneeded:
15692 nt_major_version, nt_minor_version and os_subtype.
15693 (recreate_heap): Do not compile in when PDUMPing.
15695 * nt.c (geteuid and friends): Use the new varibale
15696 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15697 (init_user_info): Removed the above mentioned hackery.
15698 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15699 stat has been fixed in the C runtime.
15700 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15702 * file-coding.c (struct file_coding_dump): Do not define
15703 ucs_to_mule_table in the struct if not MULE.
15704 (struct struct lrecord_description fcd_description_1): Do not dump
15707 * emacs.c (main_1): Call vars_of_nt().
15708 (right before Fdump_emacs_data): Don't need lastfile if using both
15709 portabe dumper and system malloc.
15711 * alloc.c (Fmemory_limit): Conditionalized out.
15712 (pdump): Use OPEN_BINARY for the portable dump file.
15713 (pdump_load): Ditto.
15715 2000-02-02 Mike Alexander <mta@arbortext.com>
15717 * nt.c (convert_time): Set tm_isdst before calling mktime and
15718 avoid calling it at all if the compiler supports 64 bit integers.
15719 Also initialize utc_base_ft before using it.
15721 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15723 * frame.c (change_frame_size_1): Take f->internal_border_width
15724 into consideration when calculating the width of the frame.
15726 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15728 * window.c (frame_min_height):
15729 (frame_size_valid_p):
15730 (frame_pixsize_valid_p): Added.
15731 (check_frame_size): Generalized.
15733 * window.h: Prototyped the above.
15736 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15737 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15738 Deleted Vwin32_* and Vbinary_process_* unused variables.
15740 * device-msw.c (msprinter_init_device): Do not get printer font
15741 list; Added DEVMODE functions.
15743 * frame-msw.c: Added lots of printer code.
15745 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15748 * console-msw.h: Added more msprinter device private slots.
15750 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15752 * event-msw.c (key_needs_default_processing_p): Added.
15753 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15755 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15757 * glyphs.c (image_instance_layout): Mark image instance as clean
15759 (glyph_dirty_p): Removed redundant function.
15760 (invalidate_glyph_geometry_maybe): Added.
15761 (update_glyph_cachel_data): Call it.
15763 * glyphs.h: Prototyped it.
15765 * redisplay.c (add_glyph_rune): Call it.
15766 (redisplay_window): Reset glyphs cachels when frame faces have
15767 changed, thus forcing recomputation of built-in border glyphs.
15769 2000-01-30 Martin Buchholz <martin@xemacs.org>
15771 * Makefile.in.in: Make portable dumper and purify play well together.
15772 Add imperfect, but better than nothing, support for pdump.
15773 Remove xemacs.dmp when temacs is re-generated.
15774 Don't ignore errors when dumping xemacs.
15776 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15778 2000-01-28 Andy Piper <andy@xemacs.org>
15780 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15781 (setup_normal_frame): ditto.
15782 (setup_frame_without_minibuffer): ditto.
15783 (setup_minibuffer_frame): ditto.
15784 (delete_frame_internal): ditto.
15785 (Fmake_frame_invisible): ditto.
15786 (Ficonify_frame): ditto.
15788 * window.h: change Fset_window_buffer signature.
15790 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15791 (Fset_window_buffer): allow recording of buffer if the window is
15792 the selected window.
15793 (window_loop): Use new Fset_window signature.
15795 2000-01-23 Daniel Pittman <daniel@danann.net>
15797 * config.h.in: Added template for `HAVE_ATHENA_3D'
15799 2000-01-29 Andy Piper <andy@xemacs.org>
15801 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15803 * gutter.c (output_gutter): Don't output if the window isn't live.
15805 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15807 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15808 of 01/12/00: Moved SetFocus back here where it belongs.
15810 2000-01-23 Andy Piper <andy@xemacs.org>
15812 * s/cygwin32.h: declare printer things.
15814 2000-01-26 Andy Piper <andy@xemacs.org>
15816 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15819 2000-01-24 Andy Piper <andy@xemacs.org>
15821 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15822 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15824 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15826 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15828 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15830 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15831 (mswindows_output_display_block): Avoid local shadows.
15833 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15834 (mswindows_enqueue_mouse_button_event): ditto.
15835 (mswindows_handle_gui_wm_command): remove declaration.
15837 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15840 * console-msw.h: Avoid shadows.
15841 (mswindows_get_toolbar_button_text):
15842 (emacs_mswindows_create_stream_pair):
15843 (emacs_mswindows_delete_stream_pair):
15844 (mswindows_handle_toolbar_wm_command): declare.
15846 * device-msw.c (build_syscolor_string): Avoid shadows.
15848 2000-01-23 Andy Piper <andy@xemacs.org>
15850 * glyphs-widget.c (widget_instantiate): reverse the items for
15851 layouts so that children are in the expected order.
15853 2000-01-28 Martin Buchholz <martin@xemacs.org>
15855 * ralloc.c: safe_bcopy ==> memmove
15856 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15857 * s/msdos.h: Remove BCOPY macros.
15858 * insdel.c (gap_right): Remove BCOPY conditional code.
15859 * insdel.c (gap_left): Remove BCOPY conditional code.
15860 XEmacs demands a working ANSI C compiler - hence memmove.
15862 * regex.c (regex_compile): Remove accidental use of trigraphs.
15864 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15866 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15869 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15871 * event-msw.c (mswindows_drain_windows_queue): Added the
15873 (mswindows_need_event): Commented the call to
15874 mswindows_drain_windows_queue().
15875 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15878 * console-msw.h: Moved a few function prototypes here from
15881 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15882 parameter from unsigned short to unsigned long.
15883 (Fmswindows_shell_execute): Added return value.
15885 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15887 * sysdep.c (init_system_name):
15888 process-unix.c (unix_canonicalized_host_name):
15889 Don't call freeaddrinfo() if getaddrinfo() fails.
15891 * process-unix.c (unix_open_unix_network_stream):
15892 Moved the code to get a port # into address loop.
15894 2000-01-27 Martin Buchholz <martin@xemacs.org>
15896 * buffer.c (reinit_vars_of_buffer):
15897 The right place to initialize conversion_in_dynarr and
15898 conversion_out_dynarr.
15900 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15902 * process-unix.c (unix_canonicalize_host_name): Muleize.
15903 (unix_open_network_stream): Muleize.
15905 * buffer.h: Fix up prototypes for ralloc.c functions.
15907 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15908 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15909 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15910 instead of gethostbyname()
15911 * process-unix.c: In unix_canonicalize_host_name() and
15912 unix_open_network_stream(), add code to use getaddrinfo()
15913 instead of gethostbyname().
15915 2000-01-27 Daniel Pittman <daniel@danann.net>
15917 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15918 libs when built with flat Athena.
15920 2000-01-27 Martin Buchholz <martin@xemacs.org>
15922 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15923 Use coding standards for function prototypes.
15925 2000-01-25 Martin Buchholz <martin@xemacs.org>
15927 * dialog-msw.c (push_lisp_string_as_unicode):
15928 * doc.c (unparesseuxify_doc_string):
15929 * dired.c (Fuser_name_completion_1):
15930 * dired.c (Fuser_name_all_completions):
15931 * dired.c (free_user_cache):
15932 * dired.c (user_name_completion):
15933 * console-x.c (get_display_arg_connection):
15934 * minibuf.c (clear_echo_area_internal):
15935 * minibuf.c (echo_area_append):
15936 * eldap.c (Fldap_open):
15937 * eldap.c (Fldap_search_internal):
15938 * frame-x.c (x_set_frame_text_value):
15939 * frame-x.c (x_set_frame_properties):
15940 * frame-x.c (x_create_widgets):
15941 * redisplay-tty.c (term_get_fkeys_1):
15942 * objects-x.c (x_parse_nearest_color):
15943 * objects-x.c (x_valid_color_name_p):
15944 * objects-x.c (x_initialize_font_instance):
15945 * objects-x.c (x_list_fonts):
15946 * objects-x.c (x_find_charset_font):
15947 * tooltalk.c (Fadd_tooltalk_message_arg):
15948 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15949 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15950 * process-unix.c (unix_create_process):
15951 * ntproc.c (sys_spawnve):
15952 * sound.c (Fplay_sound_file):
15953 * sound.c (Fplay_sound):
15954 * buffer.c (init_initial_directory):
15955 * buffer.c (init_buffer):
15956 * editfns.c (init_editfns):
15957 * editfns.c (Ftemp_directory):
15958 * editfns.c (Fuser_full_name):
15959 * editfns.c (uncache_home_directory):
15960 * editfns.c (get_home_directory):
15961 * editfns.c (Fuser_home_directory):
15962 * editfns.c (Fformat_time_string):
15963 * editfns.c (Fcurrent_time_string):
15964 * gui-x.c (button_item_to_widget_value):
15965 * database.c (Fopen_database):
15966 * event-Xt.c (x_to_emacs_keysym):
15967 * event-Xt.c (x_event_to_emacs_event):
15968 * event-Xt.c (describe_event_window):
15969 * event-msw.c (mswindows_wnd_proc):
15970 * glyphs-eimage.c (jpeg_instantiate):
15971 * glyphs-eimage.c (gif_instantiate):
15972 * glyphs-eimage.c (png_instantiate):
15973 * glyphs-eimage.c (tiff_instantiate):
15974 * glyphs-x.c (xbm_instantiate_1):
15975 * glyphs-x.c (x_xbm_instantiate):
15976 * glyphs-x.c (x_xface_instantiate):
15977 * glyphs-x.c (autodetect_instantiate):
15978 * glyphs-x.c (cursor_font_instantiate):
15979 * glyphs-x.c (x_widget_instantiate):
15980 * glyphs-x.c (x_widget_set_property):
15981 * glyphs-x.c (x_widget_property):
15982 * glyphs-x.c (BUILD_GLYPH_INST):
15983 * print.c (write_string_to_stdio_stream):
15984 * print.c (output_string):
15985 * print.c (Falternate_debugging_output):
15986 * print.c (Fexternal_debugging_output):
15987 * glyphs-msw.c (extract_xpm_color_names):
15988 * glyphs-msw.c (mswindows_xpm_instantiate):
15989 * glyphs-msw.c (bmp_instantiate):
15990 * glyphs-msw.c (resource_name_to_resource):
15991 * glyphs-msw.c (mswindows_resource_instantiate):
15992 * glyphs-msw.c (xbm_instantiate_1):
15993 * glyphs-msw.c (mswindows_xbm_instantiate):
15994 * glyphs-msw.c (mswindows_xface_instantiate):
15995 * glyphs-msw.c (mswindows_widget_instantiate):
15996 * glyphs-msw.c (add_tree_item):
15997 * glyphs-msw.c (add_tab_item):
15998 * glyphs-msw.c (mswindows_combo_box_instantiate):
15999 * glyphs-msw.c (mswindows_widget_property):
16000 * glyphs-msw.c (mswindows_combo_box_property):
16001 * glyphs-msw.c (mswindows_widget_set_property):
16002 * console.c (stuff_buffered_input):
16003 * objects-msw.c (mswindows_initialize_color_instance):
16004 * objects-msw.c (mswindows_valid_color_name_p):
16005 * objects-msw.c (mswindows_list_fonts):
16006 * objects-msw.c (mswindows_font_instance_truename):
16007 * bytecode.c (optimize_compiled_function):
16008 * select-x.c (symbol_to_x_atom):
16009 * select-x.c (x_atom_to_symbol):
16010 * select-x.c (hack_motif_clipboard_selection):
16011 * select-x.c (selection_data_to_lisp_data):
16012 * select-x.c (lisp_data_to_selection_data):
16013 * select-x.c (Fx_get_cutbuffer_internal):
16014 * select-x.c (Fx_store_cutbuffer_internal):
16015 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16016 * buffer.h (TO_INTERNAL_FORMAT): New function.
16017 * emacs.c (make_arg_list_1):
16018 * emacs.c (make_argc_argv):
16019 * emacs.c (main_1):
16020 * emacs.c (Fdump_emacs):
16021 * emacs.c (split_string_by_emchar_1):
16026 * device-x.c (x_init_device):
16027 * device-x.c (Fx_valid_keysym_name_p):
16028 * device-x.c (Fx_get_font_path):
16029 * device-x.c (Fx_set_font_path):
16030 * glyphs.c (bitmap_to_lisp_data):
16031 * glyphs.c (pixmap_to_lisp_data):
16032 * alloc.c (make_ext_string): Use coding system arguments. Update
16034 * alloc.c (build_string):
16035 * callproc.c (child_setup):
16036 * callproc.c (init_callproc):
16037 * fileio.c (lisp_strerror):
16038 * fileio.c (directory_file_name):
16039 * fileio.c (Fexpand_file_name):
16040 * fileio.c (Ffile_truename):
16041 * fileio.c (Fsysnetunam):
16042 * fileio.c (Fdo_auto_save):
16043 * sysdep.c (sys_readdir):
16044 * tests.c: New file. Allow adding C tests.
16045 Replace GET_* macros with a more comprehensible and flexible
16046 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16048 Any coding system can be used to do format conversion.
16049 Eliminate enum external_data_format.
16050 Eliminate convert_to_external_format.
16051 Eliminate convert_to_internal_format.
16052 Make sure file-name, keyboard, terminal, and ctext are always
16053 defined as coding systems or aliases. Make
16054 file-name-coding-system, terminal-coding-system, and
16055 keyboard-coding-system magical variables that are equivalent to
16056 defining the corresponding coding system aliases.
16058 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16059 * file-coding.c (Fcoding_system_alias_p): New function.
16060 * file-coding.c (Fcoding_system_aliasee): New function.
16061 * file-coding.c (append_suffix_to_symbol): New function.
16062 * file-coding.c (dangling_coding_system_alias_p): New function.
16063 * file-coding.c (Ffind_coding_system):
16064 * file-coding.c (Fcopy_coding_system):
16065 * file-coding.c (encode_coding_no_conversion):
16066 * file-coding.c (syms_of_file_coding):
16067 * file-coding.c (vars_of_file_coding):
16068 Rewrite coding system alias code.
16069 Allow nested aliases, like symbolic links.
16070 Allow redefinition of coding system aliases.
16071 Prevent existence of dangling coding system aliases.
16073 * dired.c (Fuser_name_completion_1):
16074 * dired.c (Fuser_name_all_completions):
16075 A crash would happen if user did QUIT in the middle of building
16076 user_name_cache. Remove redundant code in mainline and unwind_protect.
16079 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16081 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16082 an unsigned char *. Update all callers.
16084 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16086 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16088 2000-01-25 Martin Buchholz <martin@xemacs.org>
16090 * elhash.c (hentry_description): Use more portable definition.
16091 (resize_hash_table): Initialize new hentries using
16092 xnew_array_and_zero, thereby simplifying the code.
16094 * mule-charset.c (make_charset): Make sure entire object is
16095 initialized, to avoid Purify warnings.
16097 * alloc.c (resize_string): Fix unlikely crash with big strings.
16099 2000-01-24 Martin Buchholz <martin@xemacs.org>
16101 * realpath.c (xrealpath):
16102 Don't call getwd().
16104 2000-01-25 Martin Buchholz <martin@xemacs.org>
16106 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16108 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16110 * unexelfsgi.c (unexec): Change the way we decide which segment
16111 should be extended.
16113 Assumption that .bss section should be outside the PT_LOADable
16114 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16115 it's present) is inside the 'data' segment. This would fail the
16116 test which was used to find a segment to grow and cover new
16117 heap. Instead of this assumption, I created another one - on IRIX
16118 the segment to grow should start below .bss and it's address
16119 should extent above the end of .bss. Once this segment is
16120 identified, it's grown to accommodate the new heap and new
16121 zero-length .bss section is added at the end of .data2.
16123 2000-01-25 Martin Buchholz <martin@xemacs.org>
16125 * eval.c (Feval): Wrong number of arguments should use original
16126 function, not the indirect_function version of it.
16128 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16130 * glyphs-x.c (x_button_instantiate): Don't add image if
16131 it is not a pixmap.
16132 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16135 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16137 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16139 (DEFVAR_INT_MAGIC): Ditto.
16140 (DEFVAR_BOOL_MAGIC): Ditto.
16141 * glyphs.h: Reindent backslash.
16143 2000-01-24 Martin Buchholz <martin@xemacs.org>
16145 * glyphs-widget.c (layout_query_geometry):
16146 (layout_layout): Use correct types for gheight, gwidth.
16148 2000-01-24 Martin Buchholz <martin@xemacs.org>
16150 * EmacsManager.c (QueryGeometry): Purified.
16152 2000-01-23 Martin Buchholz <martin@xemacs.org>
16154 * alloc.c (make_float): Make sure entire object is initialized, to
16155 avoid Purify warnings.
16156 (pdump_register_sub): Remove useless assignment.
16157 (pdump): Use xmalloc, not malloc.
16158 (pdump_load): Use xmalloc, not malloc.
16160 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16167 * sysdep.c: Removed redundant #include <windows.h>
16169 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16171 * frame.c (delete_frame_internal): Do not delete device when its
16172 implementation so declares.
16173 (delete_frame_internal): Set device selected frame to nil when
16174 last frame goes away.
16176 * device-msw.c (msprinter_device_system_metrics): Implemented.
16177 (mswindows_device_system_metrics): Added 'device-dpi property.
16179 * device.c: (Fdevice_printer_p): Added.
16180 Added 'offset-workspace device metric.
16182 * console.h (device_metrics): Declared DM_offset_workspace.
16184 2000-01-23 Martin Buchholz <martin@xemacs.org>
16186 * fileio.c (Ffile_truename): Remove pointless and confusing
16187 initialization of elen.
16189 * glyphs-widget.c: Compiler warning fixes.
16191 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16193 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16194 instead of a Lisp_Object as argument to make it consistent with
16195 the other LIVE_P macros.
16196 (CHECK_LIVE_PROCESS): New macro.
16198 * process.c: Declare Qprocess_live_p.
16199 (Fprocess_live_p): New function.
16200 (create_process): Use PROCESS_LIVE_P.
16201 (read_process_output): Ditto.
16202 (set_process_filter): Ditto.
16203 (Fdelete_process): Ditto.
16204 (kill_buffer_processes): Ditto
16205 (process_send_signal): Use CHECK_LIVE_PROCESS.
16206 (Fprocess_input_coding_system): Check whether process is still
16207 alive (fix PR#1061).
16208 (Fprocess_output_coding_system): Ditto.
16209 (Fprocess_coding_system): Ditto.
16210 (Fset_process_input_coding_system): Ditto.
16211 (Fset_process_output_coding_system): Ditto.
16213 2000-01-23 Andy Piper <andy@xemacs.org>
16215 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16218 * glyphs.c (mark_image_instance): take into account changed
16219 image_instance format.
16220 (image_instance_equal): ditto.
16221 (image_instance_hash): ditto.
16223 * glyphs-widget.c (widget_instantiate): Incorporate layout
16224 instantiation here. Delay layout of the layout until later.
16225 (layout_instantiate): deleted.
16226 (layout_query_geometry): new function. get the geometry of a
16228 (layout_layout): layout a layout dynamically.
16229 (image_instantiator_widget): New function - splitting up
16230 image_instantiator_format_create_glyphs_widget for netwinder
16232 (image_instantiator_buttons):
16233 (image_instantiator_edit_fields):
16234 (image_instantiator_combo_box):
16235 (image_instantiator_scrollbar):
16236 (image_instantiator_progress_guage):
16237 (image_instantiator_tree_view):
16238 (image_instantiator_tab_control):
16239 (image_instantiator_labels):
16240 (image_instantiator_layout): ditto.
16241 (image_instantiator_format_create_glyphs_widget): Call preceding
16244 2000-01-22 Martin Buchholz <martin@xemacs.org>
16246 * process.c (Fset_process_coding_system):
16247 * device-x.c (Fx_keysym_hash_table):
16250 * lstream.c (Lstream_write): Return documented value, not 0.
16252 * fileio.c (directory_file_name):
16253 (Fsubstitute_in_file_name):
16254 (Fsubstitute_insert_file_contents_internal):
16255 (Fwrite_region_internal):
16260 Remove vestigial APOLLO-conditional code.
16262 2000-01-21 Martin Buchholz <martin@xemacs.org>
16264 * getpagesize.h: Add guard macros.
16265 * libsst.h: Add guard macros.
16266 * libst.h: Add guard macros.
16267 * line-number.h: Add guard macros.
16268 * ndir.h: Add guard macros.
16269 * sysfloat.h: Add guard macros.
16270 * sysfile.h: Add guard macros.
16271 * sysproc.h: Add guard macros.
16272 * syswait.h: Add guard macros.
16273 * xintrinsic.h: Add guard macros.
16274 * xintrinsicp.h: Add guard macros.
16275 * xmmanager.h: Add guard macros.
16276 * xmmanagerp.h: Add guard macros.
16277 * xmprimitive.h: Add guard macros.
16278 * xmu.h: Add guard macros.
16279 * gpmevent.h: Add copyright statement. Add guard macros.
16280 * miscplay.h: Add guard macros.
16281 * *.h: Use consistent C-standards-approved guard macro names.
16283 * opaque.c (make_opaque): Switch parameter order.
16284 * opaque.h (make_opaque): Switch parameter order.
16285 Update all callers.
16286 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16288 * config.h.in (type_checking_assert): Added.
16289 (bufpos_checking_assert): Added.
16291 2000-01-21 Martin Buchholz <martin@xemacs.org>
16293 * alloc.c: Harmless pdump changes.
16295 - spell alignment correctly.
16296 * sysdep.c: Use countof()
16298 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16300 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16301 initially_selected_for_input() console method, default to 0.
16302 (semi_canonicalize_console_connection): Try to delegate to
16303 canonicalize_console_connection if no such console method.
16304 (canonicalize_console_connection): Vice versa.
16305 (print_console): Do not print nil connection.
16307 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16308 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16309 (XDEVIMPF_FRAMELESS_OK): Added.
16310 (CONSOLE_INHERITS_METHOD): Added.
16312 * console-msw.c (mswindows_canonicalize_console_connection):
16314 (mswindows_canonicalize_device_connection): Added.
16316 * console-msw.h (struct msprinter_device): Added this struct and
16318 (mswindows_device): Made fontlist a lisp object.
16320 * device.c (semi_canonicalize_device_connection): Try to delegate
16321 to canonicalize_device_connection if no such console method.
16322 (canonicalize_device_connection): Vice versa.
16323 (print_device): Do not print nil connection.
16325 * device-msw.c (mswindows_init_device): Call InitCommonControls
16327 (mswindows_delete_device): Removed fontlist deallocation.
16328 (mswindows_mark_device): Added.
16330 * events.c (event_equal): Added abort() at unreached code.
16331 (event_hash): Ditto.
16333 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16334 fallback tags of Windows devices.
16336 * general.c (syms_of_general): Initialized Qmsprinter.
16338 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16339 of fallback tags of Windows devices.
16341 * lisp.h: Declared Qmsprinter.
16343 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16345 (mswindows_list_fonts): Ditto.
16346 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16347 that it can be used by both mswindows and msprinter devices.
16348 (initialize_font_instance): Added.
16349 (mswindows_initialize_font_instance): Use it.
16350 (msprinter_initialize_font_instance): Added.
16352 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16353 and implementation flags check.
16354 (redisplay_without_hooks): Changed the call to the above.
16355 (Fredraw_device): Ditto.
16356 (Fredisplay_device): Ditto.
16358 * redisplay-msw.c (get_frame_dc): Implemented.
16359 (get_frame_compdc): Implemented.
16360 (many functions): Use the two functions above to get device
16361 contexts, ether for a window or a printer.
16363 2000-01-21 Olivier Galibert <galibert@pobox.com>
16365 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16366 initialization here.
16367 (init_symbols_once_early): Call it.
16368 * emacs.c (main_1): Call it.
16369 * symsinit.h: Declare it.
16371 2000-01-19 Olivier Galibert <galibert@pobox.com>
16373 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16375 (pdump_backtrace): Ditto.
16376 (pdump_register_object): Ditto. Cleanup use of the pointers.
16377 (pdump_get_entry): Abort if trying to register a null pointer.
16378 (pdump_dump_data): Cleanup types when relocating.
16379 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16380 (pdump_dump_rtables): Remove bad casts.
16381 (pdump_load): Cleanup relocation w.r.t union type. Use a
16382 Lisp_Object instead of a EMACS_INT for the hashtable
16385 2000-01-20 Martin Buchholz <martin@xemacs.org>
16387 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16389 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16391 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16393 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16395 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16397 * faces.h (FACE_STRIKETHRU_P): Added.
16399 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16402 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16403 (mswindows_set_dc_font): New function, aware of font variants,
16404 separated from mswindows_update_dc.
16406 * objects-msw.h (struct mswindows_font_instance_data): Added
16409 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16410 cached fonts and the data structure.
16411 (mswindows_initialize_font_instance): Added creation of font data
16413 (mswindows_print_font_instance): Print at least something.
16414 (mswindows_create_font_variant): Implemented.
16415 (mswindows_get_hfont): Implemented.
16417 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16419 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16420 prototyping problem with msvc.
16422 * emacs.c (main_1): added syms_of_gui_mswindows() call
16424 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16425 syms_of_gui_mswindows() function
16427 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16429 2000-01-18 Martin Buchholz <martin@xemacs.org>
16431 * XEmacs 21.2.27 is released.
16433 2000-01-18 Martin Buchholz <martin@xemacs.org>
16435 * glyphs-eimage.c (struct tiff_error_struct):
16437 (tiff_warning_func):
16438 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16443 * unexec.c: Remove vestigial Lucid C code.
16447 * libsst.c: Ansify.
16448 Remove declarations of errno and strerror().
16450 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16452 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16454 2000-01-16 Martin Buchholz <martin@xemacs.org>
16456 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16459 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16464 Change enum eol_type to eol_type_t.
16466 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16468 * gui.c (get_gui_callback): Check cons before accessing car.
16470 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16472 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16473 (XSETSPECIFIER_TYPE): Ditto.
16475 2000-01-17 Didier Verna <didier@xemacs.org>
16477 * redisplay.c (generate_fstring_runes): compute string size in
16478 characters, not bytes.
16480 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16482 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16484 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16486 * print.c (print_error_message): Call print_prepare().
16488 2000-01-14 Martin Buchholz <martin@xemacs.org>
16490 * .dbxrc: Renamed from dbxrc.
16492 * events.c (event_to_character):
16493 Use `assert (foo)' instead of `if (!foo) abort()'
16495 * .gdbinit (xtype): Add documentation.
16496 * .gdbinit (check-temacs): New function.
16497 * .gdbinit (check-xemacs): New function.
16498 * dbxrc (check-xemacs): New function.
16499 * dbxrc (check-xemacs): New function.
16501 2000-01-14 Andy Piper <andy@xemacs.org>
16503 * glyphs-widget.c (widget_query_geometry): Make sure that we
16504 calculate default dimensions correctly.
16506 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16508 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16510 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16511 pdump_wire'd variable.
16513 * emacs.c: (main_1): Conditionalized calls to
16514 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16516 2000-01-13 Martin Buchholz <martin@xemacs.org>
16518 * window.c (Fset_window_configuration):
16519 * sysdep.c (_start):
16520 * input-method-motif.c (res):
16521 * event-Xt.c (Xt_process_to_emacs_event):
16522 Simple compiler warning fixes.
16524 * bytecode.c (funcall_compiled_function): Use the original
16525 function symbol on the backtrace list in preference to the
16526 compiled_function object in error messages.
16528 2000-01-13 Andy Piper <andy@xemacs.org>
16530 * glyphs-x.c (update_widget_face): Make sure we update the widget
16531 background as well as foreground.
16533 2000-01-13 Andy Piper <andy@xemacs.org>
16535 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16536 fields to subwindow.
16537 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16538 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16539 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16540 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16542 * glyphs-widget.c (check_valid_tab_orientation): new function.
16543 (initialize_widget_image_instance): zero orientation and
16545 (widget_instantiate): pick up orientation.
16546 (tab_control_query_geometry): return appropriate values for
16549 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16550 appropriate creation flags for left, right and bottom tabs.
16552 * s/cygwin32.h: add tab definitions.
16554 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16556 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16557 frame upon hiding a subwindow.
16558 (mswindows_button_instantiate): Changed the push button style to
16560 (mswindows_button_instantiate): Removed button BS_NOTIFY
16562 (mswindows_button_instantiate): Removed redundant check for
16563 a disabled gui item.
16564 (mswindows_button_instantiate): Made use of WS_TABSTOP
16565 consistent: "operable" controls (edit, button, tree, scroll) have
16566 this style, "display-only" ones (static, progress gauge) do
16567 not. This style is currently ignored by XEmacs though. Also,
16568 removed the WS_EX_CONTROLPARENT style - it is not for children,
16569 it is for their parents!
16570 (mswindows_edit_field_instantiate): Ditto.
16571 (mswindows_progress_gauge_instantiate): Ditto.
16572 (mswindows_tree_view_instantiate): Ditto.
16573 (mswindows_tab_control_instantiate): Ditto.
16574 (mswindows_scrollbar_instantiate): Ditto.
16575 (mswindows_combo_box_instantiate): Ditto.
16576 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16577 style to the "clip" window.
16578 (mswindows_button_instantiate): Removed compilation warning by
16579 equally typing terms of the ?: operator.
16581 2000-01-12 Didier Verna <didier@xemacs.org>
16583 * redisplay.c (generate_fstring_runes): new parameter holding the
16584 last modeline-format extent.
16585 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16586 extent, fill the glyph block with it.
16587 (generate_fstring_runes): handle these parameters.
16588 (generate_formatted_string_db): ditto.
16590 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16591 glyphs'extents in the modeline.
16593 1999-01-11 Mike Woolley <mike@bulsara.com>
16595 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16596 256Mb, as a workaround for the non-starting problem many people
16599 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16601 * console-tty.c (Fset_console_tty_output_coding_system):
16602 Force redrawing tty frame.
16604 2000-01-10 Didier Verna <didier@xemacs.org>
16606 * redisplay.c (generate_fstring_runes): fix size computation bug.
16608 2000-01-09 William M. Perry <wmperry@aventail.com>
16610 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16612 2000-01-09 Andy Piper <andy@xemacs.org>
16614 * glyphs-msw.c: index -> i to avoid shadows.
16615 (xbm_create_bitmap_from_data): make static.
16616 (check_valid_string_or_int): deleted.
16617 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16619 * glyphs-x.c (x_update_subwindow): remove unused args.
16621 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16622 back pointer - this is done in allocate_image_instance.
16623 (query_string_font): return Qnil to make the compiler happy.
16624 (unmap_subwindow): set to ~0 to make the compiler happy.
16625 (glyph_query_geometry): comment out until used.
16626 (glyph_layout): ditto.
16628 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16630 * insdel.c (signal_after_change): Remove extraneous unbind_to().