1 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
5 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
6 (encode_char_2_search_children): New inline function.
8 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
9 and use `encode_char_2_search_children'.
11 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
15 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
16 (vars_of_mule_charset): Add new variable
17 `display-coded-charset-priority-use-inheritance' and
18 `display-coded-charset-priority-use-hierarchy-order'.
20 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
22 * char-ucs.h (Q_subsumptive): New extern.
23 (Q_denotational): Likewise.
24 (encode_char_2): Search children specified by `->subsumptive' and
27 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * mule-charset.c (complex_vars_of_mule_charset): Modify the
30 X-registry of `ucs-bmp'.
32 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * chartab.c (char-variants): Refer `->subsumptive',
35 `->denotational' and `->identical' as same as `->ucs-unified'.
37 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * chartab.c (Fput_char_attribute): Convert char-specs in value of
40 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
43 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * text-coding.c: Add EXFUN for `Fregexp_quote'.
46 (decode_add_er_char): Fix problem about infinite loop when a CCS
47 specified in `coded-charset-entity-reference-alist' is not
50 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * mule-charset.c (syms_of_mule_charset): Rename
53 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
55 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
57 * fns.c (simplify_char_spec): Don't allocate new character-object
58 if specified char_spec does not have any CCS-features.
60 * chartab.h: Add EXFUN for Fdefine_char.
62 * chartab.c: Delete EXFUN for Fdefine_char.
64 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * fns.c (simplify_char_spec): Use Fdefine_char instead of
67 Ffind_char for char-spec.
69 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
71 * lisp-disunion.h (XCHARVAL): Fix condition about
74 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
78 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
79 point; use <Emchar> instead of <int> for character-id.
81 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
84 (make_char): Likewise.
85 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
87 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
88 instead of <int> as the type of return value; use <Lisp_Object>
89 instead of <Emchar> as the type of argument.
90 (XCHARVAL[macro version]): Cast the result into <Emchar>.
92 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
93 syntaxcode> instead of <int>.
95 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
97 * chartab.c (put_char_composition): Use DECODE_CHAR to get
98 character corresponding with UCS code point.
99 (Fput_char_attribute): Likewise.
101 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
102 character in the UCS decoding-table if the char-id is not equal to
105 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
108 for aliases; write `description'; write
109 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
112 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
114 * chartab.c (Fsave_char_attribute_table): Don't use
115 `save_charset_properties'.
117 * mule-charset.c (Fsave_charset_properties): Renamed from
118 `save_charset_properties' and changed to Lisp function again;
119 write property `type' as `CCS'; write properties `final-byte' and
120 `mother' if they exists.
121 (syms_of_mule_charset): Revive builtin function
122 `save-charset-properties' when HAVE_LIBCHISE is defined.
124 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
126 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
127 instead of Vexec_directory.
128 (char_attribute_system_db_file): Likewise.
130 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * chartab.c (Fsave_char_attribute_table): Use
133 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
136 * mule-charset.c (save_charset_properties): Renamed from
137 `Fsave_charset_properties'; changed to non-Lisp function.
138 (syms_of_mule_charset): Abolish builtin function
139 `save-charset-properties'.
141 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * mule-charset.c (Fsave_charset_properties): New function when
144 HAVE_LIBCHISE is defined.
145 (syms_of_mule_charset): Add new builtin function
146 `save-charset-properties' when HAVE_LIBCHISE is defined.
148 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * chartab.c (Fput_char_attribute): Convert char-specs in value of
151 `{<-|->}ancient[^*]*' to characters and put reverse links.
152 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
153 for `{<-|->}ancient[^*]*'.
155 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * chartab.c (Fput_char_attribute): Convert char-specs in value of
158 `{<-|->}original[^*]*' to characters and put reverse links.
159 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
160 for `{<-|->}original[^*]*'.
162 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
164 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
166 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * mule-charset.c (Qsystem_char_id): New variable.
170 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
171 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
173 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
175 * chartab.c (Fput_char_attribute): When processing a reference of
176 a character, put into the end of the reversed reference of each
179 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
181 * chartab.c (Q_same): Deleted.
182 (Q_same_of): Deleted.
183 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
184 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
186 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
188 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
190 * chartab.c (Q_vulgar): Deleted.
191 (Q_vulgar_of): Deleted.
192 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
193 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
195 (syms_of_chartab): Don't define `{<-|->}vulgar'.
197 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * chartab.c (Fput_char_attribute): Convert char-specs in value of
200 `{<-|->}wrong[^*]*' to characters and put reverse links.
201 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
202 for `{<-|->}wrong[^*]*'.
204 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
206 * chartab.c (Q_vulgar): New variable.
207 (Q_vulgar_of): New variable.
208 (Fput_char_attribute): Convert char-specs in value of
209 `{->|<-}vulgar' to characters and put reverse links.
210 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
212 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
214 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * text-coding.c (decode_add_er_char): Must to quote prefix string
219 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * mule-charset.c (put_char_ccs_code_point): Store characters of
222 =ucs whose code_points >= 0xF0000.
224 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
228 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
230 (complex_vars_of_mule_charset): Add new coded-charset
231 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
232 builtin characters over 0xEFFFF.
234 * chartab.c (syms_of_chartab): Don't define symbol
235 `system-char-id' in every case.
237 * char-ucs.h (Qsystem_char_id): New extern variable.
238 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
240 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
242 * text-coding.c (char_encode_utf8): Try to use entity-references
243 for U-000F0000 ... U-0010FFFF.
245 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * text-coding.c (ER_BUF_SIZE): New macro.
248 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
250 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
251 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
253 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * chartab.c (find_char_feature_in_family): New function.
256 (Fchar_feature): Use `find_char_feature_in_family' with
257 `->identical', `<-subsumptive' and `<-denotational'.
259 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * text-coding.c (char_encode_as_entity_reference): Allow prefix
262 within 8 characters; fix infinite loop.
264 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * chartab.c (Q_same): New variable.
267 (Q_same_of): New variable.
268 (Fput_char_attribute): Convert char-specs in value of
269 `{->|<-}same' to characters and put reverse links.
270 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
272 (syms_of_chartab): Add new symbols `{->|<-}same'.
274 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * chartab.c (Q_component): New variable.
277 (Q_component_of): Likewise.
278 (Fput_char_attribute): Convert char-specs in value of
279 `{->|<-}ideographic-component-forms' to characters and put reverse
281 (syms_of_chartab): Add new symbols
282 `{->|<-}ideographic-component-forms'.
284 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
286 * chartab.c (Q_identical): New variable.
287 (Q_identical_from): New variable.
288 (Fchar_feature): Regard `->identical' as a feature to find
290 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
291 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
292 for `{->|<-}identical'.
293 (syms_of_chartab): Add new symbols `{->|<-}identical'.
295 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
297 * char-ucs.h (encode_char_2): New inline function.
298 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
300 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
302 * chartab.c (Fput_char_attribute): Convert char-specs to
303 characters in value of `ideographic-structure'.
304 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
305 for `{<-|->}simplified(@...)'.
306 (Fdefine_char): bTry to use predefined character's id.
308 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
310 * fns.c (simplify_char_spec): Try to convert builtin chars to
313 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
315 * chartab.c (Fput_char_attribute): Convert char-specs in value of
316 `<-simplified[^*]*' to characters and put reverse links.
318 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
320 * chartab.c (Q_subsumptive): Renamed from Q_unified.
321 (Q_subsumptive_from): Renamed from Q_unified_from.
322 (Fchar_feature): Use `Q_subsumptive_from' instead of
324 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
326 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
327 `<-unified' to `<-subsumptive'.
329 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
332 inheritance itself; fix typo; stop recursive search if cyclic
333 inheritance is found.
335 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
337 * chartab.c (Q_denotational): New variable.
338 (Q_denotational_from): New variable.
339 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
340 (put_char_attribute): New function.
341 (Fput_char_attribute): Use `put_char_attribute'; regard
342 `->denotational' and `<-denotational' as same as `->unified' and
344 (syms_of_chartab): Add new symbols `->denotational' and
347 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
349 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
350 `Fget_char_attribute'.
351 (Fchar_variants): Likewise.
352 (get_char_table): Likewise.
353 (Fchar_feature): New function.
354 (put_char_composition): Use `Fchar_feature' instead of
355 `Fget_char_attribute'.
356 (Fput_char_attribute): Likewise; don't put the target character
357 into its `->unified' value.
358 (syms_of_chartab): Add new builtin function `char-feature'.
360 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
363 `Fget_char_attribute'.
364 (char_encode_utf8): Likewise.
366 * chartab.h: Add an EXFUN for `Fchar_feature'.
368 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
370 * chartab.c (Vnext_defined_char_id): New variable.
371 (Fput_char_attribute): Accept characters in `->unified'.
372 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
373 new characters which are not related with builtin char-id ranges.
374 (vars_of_chartab): Add new variable `next-defined-char-id'.
376 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * chartab.c (Q_unified): New variable.
379 (Q_unified_from): New variable.
380 (Fput_char_attribute): Add code for `->unified'.
381 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
384 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
386 * mule-charset.c (decode_ccs_conversion): New function.
387 (decode_defined_char): Use `decode_ccs_conversion'.
388 (decode_builtin_char): Likewise.
390 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
392 * char-ucs.h: Change some charset-ids of private coded-charsets.
394 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
397 (char_encode_as_entity_reference): Likewise.
398 (decode_coding_big5): Modify for `decode_defined_char' and
400 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
401 avoid compiler warning.
402 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
404 * mule-charset.c (decode_defined_char): Add new argument
405 `without_inheritance'.
406 (Fdecode_char): Add new optional argument `without_inheritance'.
407 (Fdecode_builtin_char): Modify for `Fdecode_char'.
409 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
410 (simplify_char_spec): Likewise.
412 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
415 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
416 (map_char_table): Likewise.
417 (Fdefine_char): Use `Fdecode_char' without inheritance.
418 (Ffind_char): Modify for `Fdecode_char'.
420 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
422 * char-ucs.h (decode_defined_char): Add new argument
423 `without_inheritance'.
424 (DECODE_CHAR): Likewise.
425 (MAKE_CHAR): Modify for `DECODE_CHAR'.
427 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
429 * chartab.c (Vchise_system_db_directory): New variable.
430 (vars_of_chartab): Add new variable `chise-system-db-directory'.
432 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
434 * chartab.c: EXFUN `Fmount_char_attribute_table'.
435 (print_chartab_range): Don't define when `UTF2000' is defined.
436 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
439 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
441 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
442 and optional argument `rehash' is specified, call
443 `open_chise_data_source_maybe' before
444 `chise_ds_foreach_char_feature_name' is called.
446 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
448 * chartab.c (char_attribute_list_reset_map_func): New function
449 when HAVE_LIBCHISE is defined.
450 (Fchar_attribute_list): Add new optional argument `rehash' when
451 HAVE_LIBCHISE is defined.
452 (open_chise_data_source_maybe): Use "chise-db" instead of
454 (char_attribute_system_db_file): Likewise.
455 (Fload_char_attribute_table): Use
456 `chise_feature_foreach_char_with_value' instead of
457 `chise_char_feature_value_iterate'.
459 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * chartab.c (Vchise_db_directory): New variable.
462 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
464 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
466 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
467 instead of HAVE_CHISE to specify using with libchise.
469 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
471 * chartab.h: Don't use HAVE_CHISE_CLIENT.
473 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
474 defined or HAVE_LIBCHISE_LIBCHISE is defined.
475 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
477 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
478 HAVE_CHISE to specify using with libchise.
479 (syms_of_chartab): Don't define symbol `system-char-id' when
480 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
482 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
484 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
485 specify CHISE DB support.
486 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
487 of `char_attribute_system_db_file' to check feature DB file.
489 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
490 HAVE_CHISE_CLIENT to specify CHISE DB support.
492 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
493 specify CHISE DB support.
494 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
496 (Freset_char_attribute_table): Use `chise_feature_setup_db'
497 instead of `char_attribute_system_db_file' to check feature DB
500 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
502 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
505 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
507 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
508 (Fsave_charset_mapping_table): Don't use
509 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
511 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
512 (HAVE_LIBCHISE): New macro.
514 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
516 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
517 (Fsave_char_attribute_table): Don't use
518 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
520 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
522 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
524 (save_uint16_byte_table): Likewise.
525 (save_byte_table): Likewise.
526 (char_table_get_db): Use `chise_ds_load_char_feature_value'
527 instead of `chise_char_load_feature_value'.
528 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
530 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
532 * chartab.h (struct Lisp_Char_Table): Delete member
533 `feature_table' if CHISE is defined.
535 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
536 (Fcopy_char_table): Likewise.
537 (char_table_open_db_maybe): Likewise.
538 (char_table_close_db_maybe): Likewise.
539 (char_table_get_db): Likewise.
540 (Fmount_char_attribute_table): Likewise.
541 (Fload_char_attribute_table): Likewise.
543 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * mule-charset.c (load_char_decoding_entry_maybe): Use
546 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
549 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
551 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
552 instead of `chise_open_data_source'.
553 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
556 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
558 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
559 instead of `chise_ds_open_feature_table'.
560 (char_table_close_db_maybe): Don't use `chise_ft_close'.
562 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
564 * mule-charset.c (Fsave_charset_mapping_table): Use
565 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
566 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
567 `chise_ccs_sync' instead of `chise_ccst_close'.
568 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
570 * chartab.c (open_chise_data_source_maybe): Modify for
571 `chise_open_data_source'.
572 (char_table_open_db_maybe): Modify for
573 `chise_ds_open_feature_table'.
575 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
577 * mule-charset.c (load_char_decoding_entry_maybe): Use
578 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
581 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
583 * mule-charset.c (Fsave_charset_mapping_table): Use
584 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
585 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
586 `chise_dt_put_char' and `chise_dt_close'.
587 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
588 `chise_ccs_decode' and `chise_ccst_close' instead of
589 `chise_ds_open_decoding_table', `chise_dt_get_char' and
592 * chartab.c (char_table_get_db): Use
593 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
594 (load_char_attribute_table_map_func): Modify for
595 `chise_char_feature_value_iterate'.
596 (Fload_char_attribute_table): Use
597 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
599 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
601 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
603 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
605 * chartab.c (put_char_table): Modify for inherited coded-charsets
608 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
610 * chartab.c (Fput_char_table_map_function): Fixed.
611 (word_boundary_p): Don't check charset in XEmacs CHISE.
613 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
615 * mule-charset.c (Fsave_charset_mapping_table): Use
616 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
617 instead of `chise_open_decoding_table'; refer
618 `default_chise_data_source'; use `chise_dt_close' instead of
619 `chise_close_decoding_table'.
620 (load_char_decoding_entry_maybe): Likewise.
622 * chartab.c (default_chise_data_source): New variable when `CHISE'
624 (Fcopy_char_table): `ct->ds' is deleted.
625 (open_chise_data_source_maybe): New function.
626 (Fclose_char_data_source): New function.
627 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
628 use `chise_ds_open_feature_table' instead of
629 `chise_open_feature_table'.
630 (char_table_close_db_maybe): Use `chise_ft_close' instead of
631 `chise_close_feature_table'; `cit->ds' is deleted.
632 (syms_of_chartab): Add new builtin function
633 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
635 * chartab.h (default_chise_data_source): New extern variable.
636 (open_chise_data_source_maybe): New prototype.
637 (struct Lisp_Char_Table): Delete `ds'.
639 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
641 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
644 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
646 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
647 not defined; add code for non-libchise setting.
648 (char_table_close_db_maybe): Likewise.
649 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
651 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
652 even if `CHISE' is not defined.
653 (Freset_char_attribute_table): Likewise.
654 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
655 `char_table_close_db_maybe' even if `CHISE' is not defined; use
657 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
658 `char_table_close_db_maybe' even if `CHISE' is not defined.
660 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
662 * chartab.c (char_table_open_db_maybe): New function.
663 (char_table_close_db_maybe): New function.
664 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
665 (Freset_char_attribute_table): Likewise.
666 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
667 `char_table_close_db_maybe'.
668 (Fload_char_attribute_table): Likewise.
670 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
672 * chartab.c: Don't include <chise.h> because it is included in
674 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
676 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
678 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
680 (Fclose_char_attribute_table): Close `ct->feature_table' and
681 `ct->ds' when `CHISE' is defined.
682 (Freset_char_attribute_table): Likewise.
683 (load_char_attribute_maybe): Use `cit->ds' and
684 `cit->feature_table' when `CHISE' is defined.
685 (Fload_char_attribute_table): Likewise.
687 * chartab.h: Include <chise.h> when `CHISE' is defined.
688 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
689 when `CHISE' is defined.
691 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
693 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
695 (char_table_description): Likewise.
696 (Fmake_char_table): Likewise.
697 (Fcopy_char_table): Likewise.
698 (Fmount_char_attribute_table): Likewise.
699 (Fclose_char_attribute_table): Likewise.
700 (Freset_char_attribute_table): Likewise.
701 (load_char_attribute_maybe): Likewise.
702 (Fload_char_attribute_table): Likewise.
704 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
707 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
709 * chartab.c (load_char_attribute_table_map_func): New function
710 when CHISE is defined.
711 (Qload_char_attribute_table_map_function): Don't define when CHISE
713 (Fload_char_attribute_table_map_function): Likewise.
714 (Fload_char_attribute_table): Use libchise when `CHISE' is
716 (syms_of_chartab): Don't define
717 `load-char-attribute-table-map-function' when CHISE is defined.
719 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
721 * chartab.c: Include <chise.h> when `CHISE' is defined.
722 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
724 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
726 * mule-charset.c (charset_code_point): Fix problem when searching
727 in mother CCS fails with `defined_only' mode.
729 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
731 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
732 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
733 (put_char_composition): Likewise.
734 (Fput_char_attribute): Likewise.
735 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
737 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
739 * chartab.c (Q_ucs): Deleted.
740 (Fput_char_attribute): Don't refer `->ucs'.
741 (Fdefine_char): Likewise.
742 (Ffind_char): Likewise.
743 (syms_of_chartab): Delete `->ucs'.
745 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
747 * mule-charset.c (Qmap_cns11643_2): Renamed from
748 `Qchinese_cns11643_2'.
749 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
750 `chinese-cns11643-2'.
751 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
754 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
756 * mule-charset.c (Qmap_cns11643_1): Renamed from
757 `Qchinese_cns11643_1'.
758 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
759 `chinese-cns11643-1'.
760 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
763 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
765 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
766 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
768 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
771 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
773 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
774 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
776 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
779 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
781 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
782 (syms_of_mule_charset): Add new symbol `=big5' instead of
784 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
786 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
788 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
789 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
791 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
794 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
796 * mule-charset.c (Qmap_jis_x0212): Renamed from
797 `Qjapanese_jisx0212'.
798 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
800 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
803 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
805 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
806 `Qjapanese_jisx0208'.
807 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
808 of `japanese-jisx0208'.
809 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
812 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
814 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
815 `Qjapanese_jisx0208_1978'.
816 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
817 of `japanese-jisx0208-1978'.
818 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
821 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
823 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
824 only for XEmacs CHISE.
826 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
828 * char-ucs.h: Compact non-ISO-IR charset-ids.
829 (LEADING_BYTE_UCS): Changed to -177.
830 (LEADING_BYTE_CONTROL_1): Changed to -77.
831 (LEADING_BYTE_UCS_BMP): Changed to -176.
832 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
834 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
836 * mule-charset.c (Qiso_ir): New variable.
837 (Fmake_charset): Recognise new property `iso-ir'.
838 (syms_of_mule_charset): Add new symbol `iso-ir'.
840 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
842 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
843 n to -n; charset-id of non ISO-IR sets are changed to positive
846 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
848 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
849 for &MCS-XXXXXXXX; values.
851 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
853 * mule.c (Vxemacs_chise_version): Renamed from
855 (vars_of_mule): Add new variable `xemacs-chise-version'; define
856 `utf-2000-version' as an alias for `xemacs-chise-version'.
858 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
860 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
861 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
864 * config.h.in (CHISE): New macro.
866 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
868 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
870 (Qmap_ucs): New variable.
871 (syms_of_mule_charset): Add new symbol `=ucs'.
872 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
874 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
875 (simplify_char_spec): Likewise.
877 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
879 * char-ucs.h (Qmap_ucs): New extern variable.
881 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
883 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
884 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
885 don't define it when UTF2000 is not defined.
886 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
887 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
888 when UTF2000 is not defined.
889 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
890 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
892 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
894 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
896 * mule-charset.c (Vcharset_ucs_gb): Deleted.
898 (syms_of_mule_charset): Delete `ucs-gb'.
899 (complex_vars_of_mule_charset): Likewise.
901 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
903 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
905 * mule-charset.c (Vcharset_ucs_cns): Deleted.
907 (syms_of_mule_charset): Delete `ucs-cns'.
908 (complex_vars_of_mule_charset): Likewise.
910 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
912 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
914 * mule-charset.c (Vcharset_ucs_jis): Deleted.
916 (syms_of_mule_charset): Delete `ucs-jis'.
917 (complex_vars_of_mule_charset): Likewise.
919 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
921 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
923 * mule-charset.c (Vcharset_ucs_ks): Deleted.
925 (syms_of_mule_charset): Delete `ucs-ks'.
926 (complex_vars_of_mule_charset): Likewise.
928 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
930 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
931 (Qideograph_daikanwa_2): Deleted.
932 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
933 (complex_vars_of_mule_charset): Likewise.
935 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
936 (LEADING_BYTE_DAIKANWA_1): Deleted.
937 (LEADING_BYTE_DAIKANWA_2): Deleted.
938 (MIN_CHAR_DAIKANWA): Deleted.
939 (MAX_CHAR_DAIKANWA): Deleted.
941 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
943 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
944 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
945 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
947 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
948 (Vcharset_ideograph_daikanwa): Deleted.
949 (Qideograph_hanziku_{1..12}): Deleted.
950 (Qideograph_daikanwa): Deleted.
951 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
952 Vcharset_ideograph_daikanwa.
953 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
954 `ideograph-hanziku-{1..12}'.
955 (complex_vars_of_mule_charset): Likewise.
957 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
959 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
961 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
962 (Qideograph_gt_pj_{1..11}): Deleted.
963 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
964 (complex_vars_of_mule_charset): Likewise.
966 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
968 * mule-charset.c (Vcharset_ucs_big5): Deleted.
969 (Vcharset_ideograph_gt): Deleted.
970 (Qucs_big5): Deleted.
971 (Qideograph_gt): Deleted.
972 (syms_of_mule_charset): Delete symbol `ucs-big5' and
974 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
977 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
978 (LEADING_BYTE_GT): Deleted.
979 (MIN_CHAR_GT): Deleted.
980 (MAX_CHAR_GT): Deleted.
982 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
984 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
986 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
988 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
989 (save_uint16_byte_table): Likewise.
990 (save_byte_table): Likewise; convert values by it.
991 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
992 for `ideographic-structure'.
993 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
994 as the filter for `ideographic-structure'.
996 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
998 * chartab.c (put_char_composition): New function.
999 (Fput_char_attribute): Use `put_char_composition'; use
1000 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1002 * fns.c (simplify_char_spec): New function.
1003 (char_ref_simplify_spec): New function.
1004 (Fchar_refs_simplify_char_specs): New function.
1005 (syms_of_fns): Add new builtin function
1006 `char-refs-simplify-char-specs'.
1008 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1010 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1011 (Qideograph_cbeta): Deleted.
1012 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1013 (complex_vars_of_mule_charset): Likewise.
1015 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1016 (MIN_CHAR_CBETA): Comment out.
1017 (MAX_CHAR_CBETA): Likewise.
1019 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1021 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1022 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1023 CHISE client feature.
1025 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1027 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1029 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1031 * mule-charset.c (charset_lookup_description_1): Use
1032 `NUM_LEADING_BYTES' in UTF-2000.
1034 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1036 * char-ucs.h (GC_CHARSETP): Deleted.
1038 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1040 * char-ucs.h (MAX_CHAR_GT): Updated.
1042 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1044 * text-coding.c: Sync with XEmacs 21.4.10.
1046 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1048 * mule-charset.c (Vcharset_china3_jef): Deleted.
1049 (Qchina3_jef): Deleted.
1050 (syms_of_mule_charset): Don't define `china3-jef'.
1051 (complex_vars_of_mule_charset): Likewise.
1053 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1054 (MIN_CHAR_CHINA3_JEF): Comment out.
1055 (MAX_CHAR_CHINA3_JEF): Comment out.
1057 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1059 * mule-charset.c (Vcharset_ucs_gb): New variable.
1060 (Qucs_gb): New variable.
1061 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1062 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1064 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1066 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1068 * mule-charset.c (charset_code_point): if a coded-charset has a
1069 final-byte, don't inherit the builtin range of the mother CCS.
1071 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1073 * mule-charset.c (charset_code_point): Fix problem about
1076 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1078 * mule-charset.c (decode_builtin_char): Reorganized.
1080 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1082 * text-coding.c (char_encode_as_entity_reference): Modify for
1083 `charset_code_point'.
1084 (char_encode_shift_jis): Likewise.
1085 (char_encode_big5): Likewise.
1086 (char_encode_utf8): Likewise.
1087 (char_encode_iso2022): Likewise.
1089 * mule-charset.c (charset_code_point): Add new argument
1091 (Fencode_char): Add new optional argument `defined_only'.
1093 * chartab.c (put_char_table): Modify for `charset_code_point'.
1095 * char-ucs.h (charset_code_point): Add new argument
1097 (encode_char_1): Modify for `charset_code_point'.
1099 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1101 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1102 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1104 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1106 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1107 (Qjis_x0208): Likewise.
1108 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1109 XCHARSET_FINAL(charset).
1110 (charset_code_point): Modify condition for final-byte based
1112 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1113 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1114 in UTF-2000; specify `=jis-x0208' as the mother of
1115 `japanese-jisx0208-1978', `japanese-jisx0208' and
1116 `japanese-jisx0208-1990' in UTF-2000.
1118 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1120 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1122 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1124 * text-coding.c (decode_coding_utf16): Support UTF-16.
1125 (char_encode_utf16): Fixed.
1127 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1129 * text-coding.c (Qutf16): New variable in MULE.
1130 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1131 (Fcoding_system_type): Add `utf-16' in MULE.
1132 (struct detection_state): Add a structure for utf16 in MULE.
1133 (detect_coding_type): Setup st->utf16.mask in MULE.
1134 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1136 (reset_encoding_stream): Use `char_encode_utf16' and
1137 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1138 (detect_coding_utf16): New function [incomplete].
1139 (decode_coding_utf16): New function [support only UCS-2].
1140 (char_encode_utf16): New function.
1141 (char_finish_utf16): New function.
1142 (syms_of_file_coding): Add new symbol `utf-16'; setup
1143 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1145 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1147 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1148 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1150 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1152 * chartab.c (put_char_table): When a charset is specified as a
1153 range in UTF-2000, don't support builtin characters.
1155 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1157 * mule-charset.c (decode_defined_char): Don't refer external
1158 database if Qunbound or Qnil are found.
1159 (Fsave_charset_mapping_table): Don't define it if
1160 HAVE_CHISE_CLIENT is not defined.
1161 (Freset_charset_mapping_table): New function.
1162 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1163 found in external database.
1164 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1165 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1166 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1168 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1170 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1173 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1175 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1176 Q_lowercase, Q_uppercase in UTF-2000.
1178 * chartab.c (get_char_table): Add special code for the standard
1179 case table to use character attribute `->downcase' and
1180 `->uppercase' for case operations in UTF-2000.
1182 * casetab.c (Qflippedcase): New variable in UTF-2000.
1183 (Q_lowercase): Likewise.
1184 (Q_uppercase): Likewise.
1185 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1186 and `->uppercase' in UTF-2000.
1187 (complex_vars_of_casetab): Assign attribute name `downcase' to
1188 downcase and CANON table of Vstandard_case_table in UTF-2000;
1189 assign attribute name `flippedcase' to upcase and EQV table of
1190 Vstandard_case_table in UTF-2000.
1192 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1194 * text-coding.c (decode_add_er_char): Support isolated-chars.
1195 (char_encode_as_entity_reference): Likewise.
1197 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1199 * emacs.c (Vutf_2000_lisp_directory): New variable.
1200 (Vconfigure_utf_2000_lisp_directory): Likewise.
1201 (complex_vars_of_emacs): Add new variable
1202 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1204 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1206 * char-ucs.h (DECODE_CHAR): Delete special code for
1207 `chinese-big5-1' and `chinese-big5-2'.
1209 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1210 (Qbig5_2): Likewise.
1211 (decode_defined_char): Support CONVERSION_BIG5_1 and
1213 (decode_builtin_char): Likewise.
1214 (charset_code_point): Likewise.
1215 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1216 'conversion in UTF-2000.
1217 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1218 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1219 `chinese-big5-2' as children of `chinese-big5'.
1221 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1222 (CONVERSION_BIG5_2): New macro.
1224 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1226 * text-coding.c (char_encode_big5): Support entity-reference.
1228 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1230 * text-coding.c (char_encode_as_entity_reference): New function.
1231 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1233 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1235 * text-coding.c (decode_coding_big5): Support entity-reference
1238 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1240 * text-coding.c (allocate_coding_system): Initialize initial
1241 charsets for CODESYS_UTF8.
1242 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1243 charset-g2 for CODESYS_UTF8.
1244 (decode_coding_utf8): Use charset-g0.
1245 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1246 to force variants to map to UCS.
1248 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1250 * text-coding.c (Qutf_8_mcs): New variable.
1251 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1252 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1253 instead of `utf-8' in UTF-2000.
1255 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1257 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1258 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1259 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1260 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1261 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1262 CONVERSION_96x96x96x96 are introduced.
1263 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1264 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1265 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1267 * char-ucs.h (CONVERSION_94): New macro.
1268 (CONVERSION_96): New macro.
1269 (CONVERSION_94x94): New macro.
1270 (CONVERSION_96x96): New macro.
1271 (CONVERSION_94x94x94): New macro.
1272 (CONVERSION_96x96x96): New macro.
1273 (CONVERSION_94x94x94x60): New macro.
1274 (CONVERSION_94x94x94x94): New macro.
1275 (CONVERSION_96x96x96x96): New macro.
1277 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1279 * chartab.c (Vcharacter_variant_table): Deleted.
1280 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1281 of `Vcharacter_variant_table'.
1282 (Fput_char_attribute): Likewise.
1283 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1284 (complex_vars_of_chartab): Likewise.
1286 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1288 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1290 * fns.c (Qideographic_structure): New variable.
1291 (Qkeyword_char): New variable.
1292 (ids_format_unit): New function.
1293 (Fideographic_structure_to_ids): New function.
1294 (syms_of_fns): Add new symbols `ideographic-structure' and
1295 `:char'; add new builtin function `ideographic-structure-to-ids'.
1297 * data.c (Fchar_ref_p): New function.
1298 (syms_of_data): Add new builtin function `char-ref-p'.
1300 * chartab.h: Add an EXFUN for `Ffind_char'.
1302 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1304 * text-coding.c (Vcharacter_composition_table): Deleted.
1305 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1308 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1310 (Vcharacter_composition_table): Deleted.
1311 (Fget_composite_char): Use the implementation for external-DB
1312 support in every UTF-2000.
1313 (Fput_char_attribute): Likewise.
1314 (char_attribute_system_db_file): Don't define if external-DB
1315 feature is not available.
1316 (Fsave_char_attribute_table): Likewise.
1317 (Fmount_char_attribute_table): Likewise.
1318 (Fclose_char_attribute_table): Likewise.
1319 (Freset_char_attribute_table): Likewise.
1320 (Fload_char_attribute_table): Likewise.
1321 (syms_of_chartab): Don't define `save-char-attribute-table',
1322 `mount-char-attribute-table', `reset-char-attribute-table',
1323 `close-char-attribute-table' and `load-char-attribute-table' if
1324 external-DB feature is not available.
1325 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1327 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1329 * text-coding.c (Qcomposition): Add extern if external-DB feature
1331 (Vcharacter_composition_table): Don't add extern if external-DB
1332 feature is supported.
1333 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1334 character composition rule if external-DB feature is supported.
1336 * chartab.c (Vcharacter_composition_table): Don't define if
1337 external-DB feature is supported.
1338 (Qcomposition): New variable.
1339 (Fget_composite_char): New implementation for external-DB support.
1340 (Fput_char_attribute): Use `composition' property of each
1341 character instead of `Vcharacter_composition_table' to store
1342 character-composition rules if external-DB feature is supported.
1343 (syms_of_chartab): Add new symbol `composition'.
1344 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1345 external-DB feature is supported.
1347 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1349 * chartab.c (Vchar_db_stingy_mode): New variable.
1350 (load_char_attribute_maybe): Close database if
1351 Vchar_db_stingy_mode is not NIL.
1352 (Fload_char_attribute_table_map_function): Use
1353 `get_char_id_table_0' instead of `get_char_id_table'.
1354 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1356 * chartab.h (get_char_id_table_0): New inline function.
1357 (get_char_id_table): Use `get_char_id_table_0'.
1359 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1361 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1362 and `COMPOSE_ADD_CHAR'.
1363 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1365 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1367 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1368 instead of `DECODE_ADD_UCS_CHAR'.
1369 (COMPOSE_ADD_CHAR): Likewise.
1371 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1373 * text-coding.c (decode_flush_er_chars): New inline function.
1374 (decode_add_er_char): New function.
1375 (decode_coding_utf8): Use `decode_flush_er_chars' and
1376 `decode_add_er_char'.
1378 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1380 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1381 done before `decode_output_utf8_partial_char'.
1383 * mule-charset.c (complex_vars_of_mule_charset): Specify
1384 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1385 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1387 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1389 * mule-charset.c (decode_defined_char): New function; search
1391 (decode_builtin_char): Don't search mother if
1392 XCHARSET_MAX_CODE(charset) == 0.
1393 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1394 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1395 (Fdecode_char): Use `decode_defined_char' instead of
1396 `DECODE_DEFINED_CHAR'.
1397 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1398 mother of `Vcharset_ucs_jis'.
1400 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1401 instead of `DECODE_DEFINED_CHAR'.
1403 * char-ucs.h (decode_defined_char): Renamed from
1404 `DECODE_DEFINED_CHAR'; changed to normal function.
1405 (DECODE_CHAR): Use `decode_defined_char' instead of
1406 `DECODE_DEFINED_CHAR'.
1408 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1410 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1412 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1414 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1416 (Quse_entity_reference): New variable.
1420 (coding_system_description): Add description for
1421 `ccs_priority_list'.
1422 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1423 (allocate_coding_system): Initialize `ccs_priority_list' in
1425 (Fmake_coding_system): Add description about
1426 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1428 (Fcoding_system_property): Accept `disable-composition' and
1429 `use-entity-reference' in UTF-2000.
1430 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1432 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1433 (decode_coding_utf8): Decode entity-reference if
1434 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1435 (char_encode_utf8): Encode non-Unicode characters as
1436 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1438 (syms_of_file_coding): Add new symbols `use-entity-reference',
1440 (vars_of_file_coding): Add new variable
1441 `coded-charset-entity-reference-alist'.
1442 (complex_vars_of_file_coding): Declare `disable-composition' and
1443 `use-entity-reference' to be coding-system-properties in UTF-2000.
1445 * file-coding.h (struct Lisp_Coding_System): Add new member
1446 `use_entity_reference' and `ccs_priority_list'.
1447 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1448 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1449 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1451 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1453 * chartab.c (save_uint8_byte_table): Don't clear the table.
1454 (save_uint16_byte_table): Likewise.
1455 (save_byte_table): Likewise.
1456 (Fmount_char_attribute_table): New function.
1457 (syms_of_chartab): Add new builtin function
1458 `mount-char-attribute-table'.
1460 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1462 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1464 (load_char_decoding_entry_maybe): Open database as read-only mode.
1466 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1467 open database as "w+" mode.
1468 (load_char_attribute_maybe): Open database as read-only mode.
1469 (Fload_char_attribute_table): Likewise.
1471 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1473 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1474 (char_table_description): Delete member `db_file'.
1475 (Fmake_char_table): Don't refer `ct->db_file'.
1476 (Fcopy_char_table): Likewise.
1477 (Fsave_char_attribute_table): Likewise.
1478 (Fclose_char_attribute_table): Likewise.
1479 (Freset_char_attribute_table): Likewise.
1480 (load_char_attribute_maybe): Likewise.
1481 (Fload_char_attribute_table): Likewise.
1483 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1485 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1487 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1488 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1490 (load_char_attribute_maybe): Likewise.
1491 (Fload_char_attribute_table): Likewise.
1493 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1495 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1496 `ct->db_file' unconditionally.
1498 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1500 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1502 (char_table_description): Add description for `db_file' and `db'
1504 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1506 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1507 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1508 (Fclose_char_attribute_table): New function.
1509 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1510 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1512 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1513 (syms_of_chartab): Add new builtin function
1514 `Fclose_char_attribute_table'.
1516 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1518 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1520 (load_char_attribute_maybe): Change interface.
1521 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1523 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1525 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1527 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1529 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1530 instead of `DECODE_CHAR' for mother; don't use special code for
1531 chinese-big5 to use code space of chinese-big5-1 and
1533 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1534 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1536 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1537 (MAX_CHAR_BIG5_CDP): Revival.
1539 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1541 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1542 the XLFD registry-encoding name of `chinese-big5'.
1544 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1546 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1547 (Qchinese_big5_cdp): Deleted.
1548 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1549 (complex_vars_of_mule_charset): Delete coded-charset
1552 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1553 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1554 `CHARSET_ID_OFFSET - n' for private CCS.
1555 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1556 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1557 of `MIN_LEADING_BYTE'.
1558 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1559 `(CHARSET_ID_OFFSET - 97)'.
1560 (MIN_CHAR_BIG5_CDP): Deleted.
1561 (MAX_CHAR_BIG5_CDP): Deleted.
1563 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1565 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1567 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1569 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1570 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1573 * chartab.c (Vutf_2000_version): Moved to mule.c.
1574 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1576 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1578 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1579 when HAVE_CHISE_CLIENT is not defined.
1581 * mule.c (vars_of_mule): Provide feature `chise' when
1582 HAVE_CHISE_CLIENT is defined.
1584 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1586 * config.h.in (UTF2000): Add comment.
1587 (HAVE_CHISE_CLIENT): New macro.
1589 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1591 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1593 (Fput_char_attribute): Likewise.
1594 (char_attribute_system_db_file): Encode file-name of attribute.
1595 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1598 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1600 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1601 (Fsave_charset_mapping_table): Use
1602 `char_attribute_system_db_file'.
1603 (load_char_decoding_entry_maybe): Likewise.
1605 * chartab.h (Qsystem_char_id): New external variable.
1606 (char_attribute_system_db_file): New prototype.
1608 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1609 (char_attribute_system_db_file): New function.
1610 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1611 (Freset_char_attribute_table): Likewise.
1612 (load_char_attribute_maybe): Likewise.
1613 (Fload_char_attribute_table): Likewise.
1614 (syms_of_chartab): Add new symbol `system-char-id'.
1616 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1618 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1619 `XCHARSET_GRAPHIC(ccs)'.
1621 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1623 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1625 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1627 * chartab.c (Q_ucs_variants): New variable.
1628 (syms_of_chartab): Add new symbol `->ucs-variants'.
1629 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1630 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1631 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1633 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1635 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1636 `HAVE_DATABASE' is defined.
1637 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1638 `HAVE_DATABASE' is defined.
1640 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1642 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1644 (Freset_char_attribute_table): New function.
1645 (syms_of_chartab): Add new builtin function
1646 `reset-char-attribute-table'.
1648 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1650 * chartab.c (load_char_attribute_maybe): Don't make directories.
1652 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1654 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1656 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1659 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1661 * mule-charset.c (Fsave_charset_mapping_table): Use
1662 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1664 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1665 instead of `XCHARSET_CHARS'.
1667 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1669 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1670 (XCHARSET_BYTE_SIZE): Likewise.
1672 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1674 (XCHARSET_BYTE_SIZE): Likewise.
1676 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1678 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1679 data-directory to store database.
1680 (Fsave_char_attribute_table): Likewise.
1681 (load_char_attribute_maybe): Likewise.
1682 (Fload_char_attribute_table): Likewise.
1684 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1686 * mule-charset.c (Fsave_charset_mapping_table): New function.
1687 (syms_of_mule_charset): Add new builtin function
1688 `save-charset-mapping-table'.
1690 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1692 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1693 (get_ccs_octet_table): New inline function.
1694 (put_ccs_octet_table): Likewise.
1695 (decoding_table_put_char): Use `get_ccs_octet_table' and
1696 `put_ccs_octet_table'.
1697 (decoding_table_remove_char): Use `decoding_table_put_char'.
1698 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1700 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1701 into encoding_table.
1702 (make_charset): Use Qunbound instead Qnil as initial value of
1705 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1707 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1708 element is Qunloaded.
1709 (map_over_uint16_byte_table): Likewise.
1710 (map_over_byte_table): Likewise.
1711 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1712 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1713 database support, load encoding-table of the specified
1714 coded-charset if it is not loaded yet.
1715 (save_uint8_byte_table): New function of UTF-2000 with external
1717 (save_uint16_byte_table): Likewise.
1718 (save_byte_table): Likewise.
1719 (Fput_char_attribute): Don't store value into external database
1720 even if the external database feature is supported in UTF-2000;
1721 set `attribute' as name of char-table if the external database
1722 feature is supported.
1723 (Fsave_char_attribute_table): New function in UTF-2000.
1724 (syms_of_chartab): Add new builtin function
1725 `save-char-attribute-table' in UTF-2000.
1727 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1729 * chartab.c (char_attribute_table_to_put): New variable in
1731 (Qput_char_table_map_function): Likewise.
1732 (value_to_put): Likewise.
1733 (Fput_char_table_map_function): New function in UTF-2000.
1734 (put_char_table): Use `Fmap_char_attribute' for
1735 CHARTAB_RANGE_CHARSET in UTF-2000.
1736 (Fput_char_attribute): Store symbol instead of string in
1737 `XCHAR_TABLE_NAME (table)'.
1738 (load_char_attribute_maybe): Likewise.
1739 (syms_of_chartab): Add new symbol/function
1740 `put-char-table-map-function'.
1742 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1744 * database.h: Add new EXFUN for `Fmap_database'.
1746 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1747 (syms_of_database): Likewise.
1749 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1751 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1752 (XCHAR_TABLE_UNLOADED): Likewise.
1754 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1755 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1756 HAVE_DATABASE is defined.
1757 (char_attribute_table_to_load): New variable of UTF-2000 with
1758 external database support.
1759 (Qload_char_attribute_table_map_function): Likewise.
1760 (Fload_char_attribute_table_map_function): New function of
1761 UTF-2000 with external database support.
1762 (Fload_char_attribute_table): New function of UTF-2000.
1763 (Fmap_char_attribute): Call Fload_char_attribute_table if
1764 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1765 (syms_of_chartab): Add new symbol and function
1766 `load-char-attribute-table-map-function' in UTF-2000 with external
1767 database support; add new function `load-char-attribute-table' in
1770 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1772 * chartab.h (load_char_attribute_maybe): New prototype for
1773 UTF-2000 with DATABASE support.
1774 (get_char_id_table): Use `load_char_attribute_maybe' if
1775 HAVE_DATABASE is defined.
1777 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1778 with DATABASE support.
1780 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1782 * chartab.c (Fput_char_attribute): Use S-expression as key of
1785 * chartab.h (get_char_id_table): Use S-expression as key of
1788 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1790 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1791 if an element is not loaded, load the corresponding attributes
1792 from an external database.
1793 (map_over_uint16_byte_table): Likewise.
1794 (map_over_byte_table): Likewise.
1795 (map_char_table): Modify for `map_over_uint8_byte_table',
1796 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1797 element is not loaded, load the corresponding attributes from an
1799 (Fput_char_attribute): Change initial values to Qunloaded.
1801 * chartab.h (get_char_id_table): If a character attribute is not
1802 loaded and the attribute value is not found in an external
1803 database, store Qunbound as the attribute value.
1805 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1807 * chartab.c (BT_UINT8_unloaded): New macro.
1808 (UINT8_VALUE_P): Accept Qunloaded.
1809 (UINT8_ENCODE): Likewise.
1810 (UINT8_DECODE): Likewise.
1811 (BT_UINT16_unloaded): New macro.
1812 (UINT16_VALUE_P): Accept Qunloaded.
1813 (UINT16_ENCODE): Likewise.
1814 (UINT16_DECODE): Likewise.
1815 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1817 (mark_char_table): Mark `ct->name' in UTF-2000.
1818 (char_table_description): Add `name' in UTF-2000.
1819 (Fmake_char_table): Initialize `ct->name'.
1820 (Fcopy_char_table): Copy `ct->name'.
1821 (Fput_char_attribute): Store value into an external database if
1822 HAVE_DATABASE is defined.
1824 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1826 (CHAR_TABLE_NAME): New macro in UTF-2000.
1827 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1828 (get_char_id_table): Try to read an external database if Qunloaded
1829 is stored in a table.
1831 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1834 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1836 * database.h: Add EXFUN definitions for Fopen_database,
1837 Fput_database, Fget_database and Fclose_database.
1839 * data.c (Qunloaded): New variable in UTF-2000.
1841 * lisp.h (Qunloaded): New variable in UTF-2000.
1843 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1845 * mule-charset.c (put_char_ccs_code_point): Modify for
1846 `decoding_table_remove_char' and `decoding_table_put_char'.
1847 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1849 * char-ucs.h (decoding_table_remove_char): Change arguments to
1850 hide decoding_table vector.
1851 (decoding_table_put_char): Likewise.
1853 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1855 * mule-charset.c (decoding_table_remove_char): Moved to
1857 (decoding_table_put_char): Likewise.
1859 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1860 from mule-charset.c].
1861 (decoding_table_remove_char): New inline function [moved from
1863 (decoding_table_put_char): Likewise.
1865 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1867 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1870 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1872 * mule-charset.c (decode_builtin_char): Support mother charsets.
1874 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1876 * mule-charset.c (Q94x94x60): New variable.
1877 (charset_code_point): Support conversion `94x94x60'.
1878 (Fmake_charset): Likewise.
1879 (syms_of_mule_charset): Add new symbol `94x94x60'.
1881 * char-ucs.h (CONVERSION_94x94x60): New macro.
1883 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1885 * mule-charset.c (charset_code_point): Unify code about
1888 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1890 * mule-charset.c (charset_code_point): Merge code about builtin
1891 characters into code about mother charsets; don't use
1892 `range_charset_code_point'.
1893 (range_charset_code_point): Deleted.
1895 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1897 * mule-charset.c (Qcode_offset): New variable.
1898 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1899 `max-code'; accept new property `code-offset'.
1900 (syms_of_mule_charset): Add new symbol `code-offset'.
1902 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1904 * mule-charset.c (range_charset_code_point): Fixed.
1906 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1908 * mule-charset.c (decode_builtin_char): Change semantics of
1909 code-offset of coded-charset.
1910 (charset_code_point): Likewise.
1911 (range_charset_code_point): Likewise.
1912 (complex_vars_of_mule_charset): Modify for the change.
1914 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1916 * mule-charset.c (Fencode_char): Reverse arguments.
1918 * mule-charset.c (charset_code_point): Fixed.
1920 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1922 * mule-charset.c (Vcharset_mojikyo): Deleted.
1923 (Vcharset_mojikyo_2022_1): Deleted.
1924 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1925 (Qmin_code): New variable in UTF-2000.
1926 (Qmax_code): Likewise.
1927 (Qmother): Likewise.
1928 (Qconversion): Likewise.
1930 (Qmojikyo): Deleted.
1931 (Qmojikyo_2022_1): Deleted.
1932 (Qmojikyo_pj_{1..22}): Deleted.
1933 (mark_charset): Mark `cs->mother'.
1934 (charset_description): Add description for `mother'.
1935 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1936 new arguments `mother' and `conversion'; use
1937 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1938 (charset_code_point): Moved from char-ucs.h; support `mother'
1940 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1941 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1942 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1943 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1944 allow 2 as the value of `graphic' in UTF-2000; add new properties
1945 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1946 require `final' in UTF-2000; modify for `make_charset'.
1947 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1948 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1949 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1950 (Fencode_char): New function.
1951 (syms_of_mule_charset): Add new builtin function `encode-char' in
1952 UTF-2000; add new symbols `min-code', `max-code', `mother',
1953 `conversion' and `94x60'; delete symbols `mojikyo',
1954 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1955 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1956 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1957 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1959 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1960 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1962 * char-ucs.h (Vcharset_mojikyo): Deleted.
1963 (Vcharset_mojikyo_2022_1): Deleted.
1964 (LEADING_BYTE_MOJIKYO): Deleted.
1965 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1966 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1967 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1968 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1969 add new member `mother'; add new member `conversion'.
1970 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1971 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1972 (CHARSET_MOTHER): New macro.
1973 (CHARSET_CONVERSION): New macro.
1974 (CONVERSION_IDENTICAL): New macro.
1975 (CONVERSION_94x60): New macro.
1976 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1977 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1978 (XCHARSET_MOTHER): New macro.
1979 (XCHARSET_CONVERSION): New macro.
1980 (MIN_CHAR_MOJIKYO): Deleted.
1981 (MAX_CHAR_MOJIKYO): Deleted.
1982 (DECODE_MOJIKYO_2022): Deleted.
1983 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1984 (charset_code_point): Changed to non-inline function.
1985 (encode_char_1): Use `charset_code_point'.
1986 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1988 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1990 * lread.c (read_compiled_function): Fix prototype.
1991 (read_vector): Likewise.
1993 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1995 * lrecord.h (struct lrecord_header): Delete `older'.
1996 (set_lheader_implementation): Delete code for `older'.
1997 (set_lheader_older_implementation): Deleted.
1998 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1999 (OLDER_RECORD_P): Deleted.
2000 (OLDER_RECORD_HEADER_P): Deleted.
2001 (alloc_older_lcrecord): Deleted.
2002 (alloc_older_lcrecord_type): Deleted.
2004 * alloc.c (all_older_lcrecords): Deleted.
2005 (alloc_older_lcrecord): Deleted.
2006 (disksave_object_finalization_1): Delete code for older objects.
2007 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2008 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2010 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2012 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2013 instead of `make_older_vector'.
2014 (put_char_ccs_code_point): Likewise.
2015 (mark_charset): Mark `cs->decoding_table'.
2016 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2018 * lisp.h (make_older_vector): Deleted.
2019 (make_vector_newer): Deleted.
2021 * config.h.in (HAVE_GGC): Deleted.
2023 * alloc.c (make_older_vector): Deleted.
2024 (make_vector_newer_1): Deleted.
2025 (make_vector_newer): Deleted.
2027 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2029 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2030 (Qideograph_daikanwa_2): New variable.
2031 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2032 (complex_vars_of_mule_charset): Add new coded-charset
2033 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2034 `LEADING_BYTE_DAIKANWA'.
2036 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2037 (LEADING_BYTE_DAIKANWA_1): New macro.
2038 (LEADING_BYTE_DAIKANWA_2): New macro.
2039 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2041 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2043 * mule-charset.c (complex_vars_of_mule_charset): Change
2044 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2045 the second revised version.
2047 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2049 * mule-charset.c (Vcharset_ucs_smp): New variable.
2050 (Vcharset_ucs_sip): New variable.
2051 (Qucs_smp): New variable.
2052 (Qucs_sip): New variable.
2053 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2054 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2055 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2056 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2057 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2058 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2060 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2061 (LEADING_BYTE_UCS_SIP): New macro.
2062 (MIN_CHAR_SMP): New macro.
2063 (MAX_CHAR_SMP): New macro.
2064 (MIN_CHAR_SIP): New macro.
2065 (MAX_CHAR_SIP): New macro.
2067 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2069 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2072 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2074 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2075 value; don't store value into `encoding_table' of `Lisp_Charset'.
2076 (mark_charset): `encoding_table' was deleted.
2077 (charset_description): Likewise.
2078 (make_charset): Likewise.
2079 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2080 `put_char_ccs_code_point'.
2082 * chartab.h (Fput_char_attribute): New EXFUN.
2084 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2085 is unified with normal symbol space.
2086 (Fget_char_attribute): Likewise.
2087 (Fput_char_attribute): Likewise; behavior of
2088 `put_char_ccs_code_point' is changed.
2090 * char-ucs.h: Include "elhash.h".
2091 (Vchar_attribute_hash_table): New external variable.
2092 (struct Lisp_Charset): Delete `encoding_table'.
2093 (CHARSET_ENCODING_TABLE): New implementation; refer
2094 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2097 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2099 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2102 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2104 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2107 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2109 * chartab.c (uint8_byte_table_description): New constant.
2110 (uint8-byte-table): Use `uint8_byte_table_description'.
2111 (uint16_byte_table_description): New constant.
2112 (uint16-byte-table): Use `uint16_byte_table_description'.
2114 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2116 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2117 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2119 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2121 * mule-charset.c (Vcharset_ucs_ks): New variable.
2122 (Qucs_ks): New variable.
2123 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2124 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2126 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2128 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2130 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2131 (Fdecode_char): Likewise.
2133 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2135 (Fdefine_char): Modify for Fdecode_char.
2136 (Ffind_char): Likewise.
2138 * mule-charset.c (Fdecode_char): Add new optional argument
2140 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2142 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2144 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2145 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2146 (allocate_coding_system): Initialize initial-charsets of
2147 CODESYS_BIG5 in XEmacs UTF-2000.
2148 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2149 CODESYS_BIG5 in XEmacs UTF-2000.
2150 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2151 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2153 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2155 (Qideograph_hanziku_{1 .. 12}): Likewise.
2156 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2158 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2159 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2160 `ideograph-hanziku-{1 .. 12}'.
2162 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2163 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2164 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2165 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2166 (DECODE_DEFINED_CHAR): New inline function.
2167 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2169 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2171 * mule-charset.c (Vcharset_china3_jef): Renamed from
2172 `Vcharset_japanese_jef_china3'.
2173 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2174 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2175 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2176 (syms_of_mule_charset): Rename `china3-jef' from
2177 `japanese-jef-china3'.
2178 (complex_vars_of_mule_charset): Likewise; rename
2179 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2181 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2182 `LEADING_BYTE_JEF_CHINA3'.
2183 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2184 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2186 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2188 * mule-charset.c (encode_builtin_char_1): Comment out special code
2189 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2191 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2192 (MAX_CHAR_MOJIKYO_0): Comment out.
2193 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2194 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2195 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2196 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2198 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2200 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2201 (Qideograph_cbeta): New variable.
2202 (encode_builtin_char_1): Comment out special code for
2203 coded-charset `mojikyo' and `japanese-jef-china3'.
2204 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2205 (complex_vars_of_mule_charset): Add new coded-charset
2208 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2209 (MIN_CHAR_CBETA): New macro.
2210 (MAX_CHAR_CBETA): New macro.
2212 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2214 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2215 (LEADING_BYTE_JEF_CHINA3): New macro.
2216 (MIN_CHAR_JEF_CHINA3): New macro.
2217 (MAX_CHAR_JEF_CHINA3): Likewise.
2218 (DECODE_CHAR): Fixed.
2220 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2222 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2223 (Qjapanese_jef_china3): New variable.
2224 (encode_builtin_char_1): Support `japanese-jef-china3'.
2225 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2226 (complex_vars_of_mule_charset): Add new coded-charset
2227 `japanese-jef-china3'.
2229 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2231 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2232 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2233 94^4, 96^3, 96^4, 128^n and 256^n set.
2234 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2235 (map_char_table): Likewise.
2237 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2239 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2242 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2244 * chartab.h (get_char_id_table): New inline function.
2246 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2249 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2251 * chartab.h (decode_char_table_range): New prototype in XEmacs
2253 (put_char_id_table): New inline function in XEmacs UTF-2000.
2255 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2257 (decode_char_table_range): Delete static declaration in XEmacs
2260 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2262 * chartab.c (put_char_id_table): Use `put_char_table'.
2264 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2266 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2267 (map_over_uint16_byte_table): Likewise.
2268 (map_over_byte_table): Likewise.
2269 (map_char_table): Modify for `map_over_uint8_byte_table',
2270 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2273 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2275 * chartab.c (struct map_char_table_for_charset_arg): New
2277 (map_char_table_for_charset_fun): New function.
2278 (map_char_table): Use `map_char_table' for encoding_table of
2281 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2283 * chartab.c (map_char_table): Check a character is found in
2284 range->charset instead of non default value is defined in
2285 char-table when range is CHARTAB_RANGE_ROW.
2287 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2289 * chartab.c (map_char_id_table): Deleted.
2290 (Fmap_char_attribute): Use `map_char_table' instead of
2291 `map_char_id_table'.
2293 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2295 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2297 (update_syntax_table): Deleted in XEmacs UTF-2000.
2299 * syntax.c (find_defun_start): Use `syntax_table' instead of
2300 `mirror_syntax_table' in XEmacs UTF-2000.
2301 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2303 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2305 (Fmatching_paren): Likewise.
2306 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2308 (find_start_of_comment): Likewise.
2309 (find_end_of_comment): Likewise.
2310 (Fforward_comment): Likewise.
2311 (scan_lists): Likewise.
2312 (char_quoted): Likewise.
2313 (Fbackward_prefix_chars): Likewise.
2314 (scan_sexps_forward): Likewise.
2315 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2316 (update_syntax_table): Likewise.
2318 * search.c (skip_chars): Use `syntax_table' instead of
2319 `mirror_syntax_table' in XEmacs UTF-2000.
2320 (wordify): Likewise.
2321 (Freplace_match): Likewise.
2323 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2324 `mirror_syntax_table' in XEmacs UTF-2000.
2325 (WORDCHAR_P_UNSAFE): Likewise.
2326 (re_match_2_internal): Likewise.
2328 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2329 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2331 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2332 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2334 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2337 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2339 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2340 (char_table_description): Delete `mirror_table' in XEmacs
2342 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2344 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2345 (Fcopy_char_table): Likewise.
2346 (put_char_table): Don't call `update_syntax_table' in XEmacs
2349 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2350 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2351 (casify_region_internal): Likewise.
2353 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2355 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2356 `mirror_syntax_table' in XEmacs UTF-2000.
2358 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2359 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2360 (Fexpand_abbrev): Likewise.
2362 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2364 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2366 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2368 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2369 (map_over_uint16_byte_table): Likewise.
2370 (map_over_byte_table): Likewise.
2371 (get_char_id_table): Refer `cit->default_value'.
2372 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2373 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2374 of character-id ranges.
2375 (mark_char_table): Mark `ct->default_value'.
2376 (char_table_description): Add `default_value'.
2377 (fill_char_table): Use `default_value'.
2378 (decode_char_table_range): Decode `nil' as
2379 `CHARTAB_RANGE_DEFAULT'.
2380 (get_char_id_table): Refer `cit->default_value'.
2381 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2382 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2383 temporary hack; check value of char-table is bound or not.
2384 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2386 * chartab.h (struct Lisp_Char_Table): Add new member
2387 `default_value' in XEmacs UTF-2000.
2388 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2389 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2392 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2394 * chartab.h (Lisp_Char_ID_Table): Deleted.
2396 * chartab.c (char_table_description): Fix typo.
2397 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2398 `Lisp_Char_ID_Table'.
2400 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2402 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2405 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2408 * chartab.h (XCHAR_ID_TABLE): Deleted.
2409 (XSETCHAR_ID_TABLE): Deleted.
2410 (CHAR_ID_TABLE_P): Deleted.
2412 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2414 (Fget_composite_char): Likewise.
2415 (put_char_table): Likewise.
2416 (add_char_attribute_alist_mapper): Fixed.
2417 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2419 (Fget_char_attribute): Likewise.
2420 (Fget_char_attribute): Likewise.
2421 (Fmap_char_attribute): Likewise.
2423 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2425 (encode_char_1): Likewise.
2427 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2429 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2432 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2433 instead of `XCHAR_ID_TABLE'.
2434 (remove_char_ccs): Likewise.
2436 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2438 (Fget_composite_char): Likewise.
2439 (Fchar_variants): Likewise.
2440 (put_char_table): Likewise.
2441 (add_char_attribute_alist_mapper): Likewise.
2442 (Fchar_attribute_alist): Likewise.
2443 (Fget_char_attribute): Likewise.
2444 (Fput_char_attribute): Likewise.
2445 (Fmap_char_attribute): Likewise.
2446 (Fmap_char_attribute): Likewise.
2448 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2450 (encode_char_1): Likewise.
2452 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2454 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2455 `Lisp_Char_ID_Table'.
2456 (mark_char_id_table): Deleted.
2457 (print_char_id_table): Likewise.
2458 (char_id_table_equal): Likewise.
2459 (char_id_table_hash): Likewise.
2460 (char_id_table_description): Likewise.
2461 (char_id_table): Likewise.
2462 (make_char_id_table): Use `Fmake_char_table' and
2464 (get_char_id_table): Use `Lisp_Char_Table' instead of
2465 `Lisp_Char_ID_Table'.
2466 (put_char_id_table): Likewise.
2467 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2469 (Fremove_char_attribute): Likewise.
2470 (syms_of_chartab): Don't define type `char-id-table'.
2472 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2473 (char_id_table): Likewise.
2474 (GC_CHAR_ID_TABLE_P): Likewise.
2475 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2476 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2477 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2478 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2479 (get_char_id_table): Use `Lisp_Char_Table' instead of
2480 `Lisp_Char_ID_Table'.
2481 (put_char_id_table_0): Likewise.
2482 (put_char_id_table): Likewise.
2484 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2486 * chartab.h: Lisp_Byte_Table related codes are moved from
2489 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2491 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2493 * chartab.h: Don't include "chartab.h".
2494 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2495 (Lisp_Char_ID_Table): Likewise.
2496 (char_id_table): Likewise.
2497 (XCHAR_ID_TABLE): Likewise.
2498 (XSETCHAR_ID_TABLE): Likewise.
2499 (CHAR_ID_TABLE_P): Likewise.
2500 (GC_CHAR_ID_TABLE_P): Likewise.
2501 (get_char_id_table): Likewise.
2503 * char-ucs.h: Include "chartab.h".
2504 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2505 (Lisp_Char_ID_Table): Likewise.
2506 (char_id_table): Likewise.
2507 (XCHAR_ID_TABLE): Likewise.
2508 (XSETCHAR_ID_TABLE): Likewise.
2509 (CHAR_ID_TABLE_P): Likewise.
2510 (GC_CHAR_ID_TABLE_P): Likewise.
2511 (get_char_id_table): Likewise.
2513 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2515 * chartab.c (copy_uint8_byte_table): New function.
2516 (copy_uint16_byte_table): New function.
2517 (copy_byte_table): New function.
2518 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2520 (map_over_uint16_byte_table): Likewise.
2521 (map_over_byte_table): Likewise.
2522 (get_byte_table): Move prototype to chartab.h.
2523 (put_byte_table): Likewise.
2524 (put_char_id_table_0): Moved to chartab.h.
2525 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2526 (char_table_entry_equal): Likewise.
2527 (char_table_entry_hash): Likewise.
2528 (char_table_entry_description): Likewise.
2529 (char_table_entry): Likewise.
2530 (make_char_table_entry): Likewise.
2531 (copy_char_table_entry): Likewise.
2532 (get_non_ascii_char_table_value): Likewise.
2533 (map_over_charset_ascii): Likewise.
2534 (map_over_charset_control_1): Likewise.
2535 (map_over_charset_row): Likewise.
2536 (map_over_other_charset): Likewise.
2537 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2538 (print_char_table): Likewise.
2539 (char_table_equal): Likewise.
2540 (char_table_hash): Likewise.
2541 (char_table_description): Likewise.
2542 (fill_char_table): Likewise.
2543 (Fcopy_char_table): Likewise.
2544 (get_char_table): Likewise.
2545 (Fget_range_char_table): Likewise.
2546 (put_char_table): Likewise.
2547 (map_char_table): Likewise.
2548 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2551 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2553 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2554 `Vauto_fill_chars' in XEmacs UTF-2000.
2556 * chartab.h (get_byte_table): New prototype [moved from
2558 (put_byte_table): Likewise [moved from chartab.c].
2559 (put_char_id_table_0): New inline function [moved from chartab.c].
2560 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2561 (Lisp_Char_Table_Entry): Likewise.
2562 (char_table_entry): Likewise.
2563 (XCHAR_TABLE_ENTRY): Likewise.
2564 (XSETCHAR_TABLE_ENTRY): Likewise.
2565 (CHAR_TABLE_ENTRYP): Likewise.
2566 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2567 (NUM_ASCII_CHARS): Likewise.
2568 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2569 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2571 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2573 * chartab.c (get_char_id_table): Change interface.
2574 (put_char_id_table_0): New function.
2575 (put_char_id_table): Change interface; new implementation.
2576 (Fget_composite_char): Modify for interface change of
2577 `get_char_id_table'.
2578 (Fchar_variants): Likewise.
2579 (add_char_attribute_alist_mapper): Likewise.
2580 (Fchar_attribute_alist): Likewise.
2581 (Fget_char_attribute): Likewise.
2582 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2583 as same as character as the first argument like `put-char-table';
2584 modify for interface change of `put_char_id_table'.
2585 (Fremove_char_attribute): Modify for interface change of
2586 `put_char_id_table'.
2588 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2590 * text-coding.c: Sync up with XEmacs 21.2.41.
2591 (COMPOSE_ADD_CHAR): Modify for interface change of
2592 `get_char_id_table'.
2594 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2595 change of `put_char_id_table'.
2596 (remove_char_ccs): Likewise.
2598 * chartab.h (put_char_id_table): Change interface.
2600 * char-ucs.h (get_char_id_table): Change interface.
2601 (charset_code_point): Modify for interface change of
2602 `get_char_id_table'.
2603 (encode_char_1): Likewise.
2605 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2607 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2609 (map_over_uint16_byte_table): Likewise.
2610 (map_over_byte_table): Likewise.
2611 (map_char_id_table): Add new argument `range' like
2613 (Fmap_char_attribute): Add new argument `range' like
2616 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2618 * chartab.c (map_over_uint8_byte_table): Change interface of
2619 mapping function to use struct chartab_range instead of Emchar.
2620 (map_over_uint16_byte_table): Likewise.
2621 (map_over_byte_table): Likewise.
2622 (map_char_id_table): Likewise.
2623 (struct slow_map_char_id_table_arg): Deleted.
2624 (slow_map_char_id_table_fun): Deleted.
2625 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2626 function `slow_map_char_table_fun' instead of struct
2627 `slow_map_char_id_table_arg' and function
2628 `slow_map_char_id_table_fun'.
2630 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2632 * mule-charset.c: Move char-it-table related codes to chartab.c.
2633 (Vutf_2000_version): Moved to chartab.c.
2634 (Fdefine_char): Likewise.
2635 (Ffind_char): Likewise.
2636 (syms_of_mule_charset): Move types `uint8-byte-table',
2637 `uint16-byte-table', `byte-table' and `char-id-table' to
2638 chartab.c; move functions `char_attribute_list,
2639 `find_char_attribute_table, `char_attribute_alist,
2640 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2641 `map_char_attribute, `define_char, `find_char, `char_variants and
2642 `get_composite_char to chartab.c; move symbols `=>ucs',
2643 `->decomposition', `compat', `isolated', `initial', `medial',
2644 `final', `vertical', `noBreak', `fraction', `super', `sub',
2645 `circle', `square', `wide', `narrow', `small' and `font' to
2647 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2648 setting codes for `Vcharacter_composition_table' and
2649 `Vcharacter_variant_table' to chartab.c.
2650 (complex_vars_of_mule_charset): Move setting code for
2651 `Vchar_attribute_hash_table' to chartab.c.
2653 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2654 (make_char_id_table): New prototype.
2655 (put_char_id_table): Likewise.
2656 (Fget_char_attribute): Likewise.
2658 * chartab.c: Move char-id-table related code from mule-charset.c.
2659 (Vutf_2000_version): Moved from mule-charset.c.
2661 * char-ucs.h (Qucs): New external variable.
2662 (put_char_ccs_code_point): New prototype.
2663 (remove_char_ccs): Likewise.
2665 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2667 * mule-charset.c (Vcharset_ucs_jis): New variable.
2668 (Qucs_jis): Likewise.
2669 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2670 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2672 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2674 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2676 * mule-charset.c (map_over_uint8_byte_table): New function.
2677 (map_over_uint16_byte_table): Likewise.
2678 (map_over_byte_table): Likewise.
2679 (map_char_id_table): Likewise.
2680 (slow_map_char_id_table_fun): Likewise.
2681 (Fmap_char_attribute): Likewise.
2682 (syms_of_mule_charset): Add new function `map-char-attribute'.
2684 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2686 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2687 (syms_of_mule_charset): Add new function `find-char'.
2689 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2691 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2693 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2694 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2696 (complex_vars_of_mule_charset): Add new coded-charset
2697 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2698 `ideograph-gt-pj-*'.
2700 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2702 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2704 * mule-charset.c (encode_builtin_char_1): Purge codes about
2705 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2706 {MIN|MAX}_CHAR_HEBREW.
2707 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2708 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2710 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2711 (MAX_CHAR_GREEK): Purged.
2712 (MIN_CHAR_CYRILLIC): Purged.
2713 (MAX_CHAR_CYRILLIC): Purged.
2714 (MIN_CHAR_HEBREW): Commented out.
2715 (MAX_CHAR_HEBREW): Likewise.
2717 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2719 * mule-charset.c (Qto_ucs): New variable.
2720 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2721 (Fdefine_char): Likewise.
2722 (syms_of_mule_charset): Add new symbol `=>ucs'.
2724 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2726 * mule-charset.c (Fdecode_char): Fixed.
2728 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2730 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2731 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2734 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2736 * mule-charset.c (Vcharset_ucs_big5): New variable.
2737 (Qucs_big5): Likewise.
2738 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2739 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2741 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2743 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2745 * mule-charset.c (decode_builtin_char): Check Big5 code range
2746 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2748 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2750 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2751 (Qchinese_gb12345): Likewise.
2752 (Fdecode_builtin_char): Fixed.
2753 (syms_of_mule_charset): Add `chinese-gb12345'.
2754 (complex_vars_of_mule_charset): Add coded-charset
2757 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2758 (LEADING_BYTE_CHINESE_GB12345): New macro.
2760 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2762 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2763 and `latin-viscii-upper' for `latin-viscii'.
2765 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2767 * mule-charset.c (Fdecode_builtin_char): Comment out
2768 regularization code for ISO-IR GR representation.
2770 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2772 * mule-charset.c (decode_builtin_char): New function; renamed from
2773 `make_builtin_char'; return -1 instead of signal.
2774 (Fdecode_builtin_char): Use `decode_builtin_char'.
2776 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2777 `make_builtin_char'.
2778 (DECODE_CHAR): Use `decode_builtin_char' instead of
2779 `make_builtin_char'; use mapping table of `chinese-big5' for
2780 `chinese-big5-{1,2}'.
2782 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2784 * text-coding.c (char_encode_big5): New function.
2785 (char_finish_big5): Likewise.
2786 (reset_encoding_stream): Use `char_encode_big5' and
2787 `char_finish_big5' for CODESYS_BIG5.
2788 (mule_encode): Don't use `encode_coding_big5'.
2789 (encode_coding_big5): Deleted.
2791 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2793 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2794 0x81- in XEmacs UTF-2000.
2795 (detect_coding_big5): Likewise.
2797 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2799 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2800 generate character-id if the CCS property does not have
2801 corresponding predefined character.
2802 (make_builtin_char): Return -1 if corresponding predefined
2803 character is not found.
2804 (Fdecode_char): Return nil if corresponding character is not
2806 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2807 don't map to builtin ucs space.
2809 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2811 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2812 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2814 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2816 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2817 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2818 (Qideograph_gt): Likewise.
2819 (Qideograph_gt_pj_{1..11}): Likewise.
2820 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2821 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2822 `ideograph-gt-pj-11'.
2823 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2824 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2825 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2827 * char-ucs.h (LEADING_BYTE_GT): New macro.
2828 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2829 (MIN_CHAR_GT): Likewise.
2830 (MAX_CHAR_GT): Likewise.
2832 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2834 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2835 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2837 * doprnt.c (unsigned_int_converters): Add `c'.
2838 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2840 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2841 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2843 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2844 (MAX_CHAR_MOJIKYO_0): New macro.
2845 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2847 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2849 * mule-charset.c (Fdefine_char): Delete cemented out code.
2850 (encode_builtin_char_1): Modify for new allocation of builtin
2853 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2855 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2857 * mule-charset.c (Vcharset_ucs_cns): New variable.
2858 (Qucs_cns): New variable.
2859 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2860 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2862 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2864 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2866 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2868 * search.c (search_buffer): Make `charset_base_code' as
2869 character-id >> 6 to eliminate the corresponding last byte in
2870 UTF-8 representation [I'm not sure it is right thing].
2871 (boyer_moore): Likewise.
2873 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2875 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2876 representation in MULE.
2878 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2880 * text-coding.c (Fmake_coding_system): Use
2881 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2882 `EXTERNAL_PROPERTY_LIST_LOOP'.
2884 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2886 * text-coding.c (decode_output_utf8_partial_char): New function.
2887 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2889 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2891 * text-coding.c (decode_coding_utf8): Output original byte
2892 sequence if it is broken; change order of conditions.
2894 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2897 * mb-multibyte.h (BYTE_ASCII_P):
2898 Use bit ops for char-signedness safety.
2899 (BYTE_C0_P): Use bit ops for char-signedness safety.
2900 (BYTE_C1_P): Use bit ops for char-signedness safety.
2902 * character.h: (XCHAR_OR_CHAR_INT):
2903 Always use inline function.
2904 Remove redundant type checking assert() - XINT will abort quite
2907 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2909 * text-coding.c: (Fencode_shift_jis_char):
2910 (Fencode_big5_char):
2911 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2912 Replace 0 with '\0' when working with bytes.
2913 Replace initial "(" with "\(" in docstrings.
2915 (Fmake_coding_system):
2916 When type is ccl and value is vector, register it with a proper
2917 symbol. And checks whether the given ccl program is valid.
2918 (mule_decode): When calling ccl_driver, if src indicates
2919 NULL pointer, set an empty string instead.
2920 (mule_encode): Likewise.
2923 (detect_coding_sjis):
2924 (decode_coding_sjis):
2925 (detect_coding_big5):
2926 (decode_coding_big5):
2927 (detect_coding_ucs4):
2928 (decode_coding_ucs4):
2929 (detect_coding_utf8):
2930 (decode_coding_utf8):
2931 (detect_coding_iso2022):
2932 (decode_coding_iso2022):
2933 (decode_coding_no_conversion):
2935 Make all detecting and decoding functions take an Extbyte * arg.
2936 (text_encode_generic):
2937 (encode_coding_big5):
2938 (encode_coding_no_conversion):
2940 Make all encoding functions take a Bufbyte * arg.
2941 Use size_t instead of unsigned int for memory sizes.
2942 Only cast to unsigned char whenever dereferencing Extbyte *.
2944 (struct lrecord_description fcd_description_1): Use countof.
2945 (complex_vars_of_file_coding):
2946 Use countof instead of sizeof.
2947 Use CHECK_NATNUM instead of CHECK_INT.
2949 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2951 * mule-charset.c (Fget_char_attribute): Add new optional argument
2953 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2954 (remove_char_ccs): Likewise.
2956 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2958 * text-coding.c (char_encode_shift_jis): New implementation in
2960 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2963 * mule-charset.c (Vcharset_chinese_big5): New variable in
2965 (Qchinese_big5): New variable in UTF-2000.
2966 (BIG5_SAME_ROW): New macro in UTF-2000.
2967 (make_builtin_char): Use builtin characters of
2968 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2969 characters of `Vcharset_chinese_big5'.
2970 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2971 (complex_vars_of_mule_charset): Add new coded-charset
2972 `chinese-big5' in UTF-2000.
2974 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2975 (Vcharset_chinese_big5): New external variable declaration.
2976 (Vcharset_japanese_jisx0208_1990): Likewise.
2978 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2980 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2982 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2984 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2986 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2987 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2988 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2991 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2993 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2995 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2997 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3000 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3002 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3003 for `CHARSET_BY_ATTRIBUTES'.
3004 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3005 `CHARSET_BY_ATTRIBUTES'.
3007 * text-coding.c (struct decoding_stream): Rename member `CH' to
3009 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3010 (decode_coding_sjis): Likewise.
3011 (decode_coding_big5): Likewise.
3012 (decode_coding_ucs4): Likewise.
3013 (decode_coding_utf8): Likewise.
3014 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3015 `CHARSET_BY_ATTRIBUTES'.
3016 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3017 `str->counter'; decode 3, 4 bytes sets.
3018 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3020 (decode_coding_no_conversion): Use `str->cpos' instead of
3023 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3024 (Qmojikyo_2022_1): New variable.
3025 (make_charset): Don't use `CHARSET_TYPE_*'.
3026 (range_charset_code_point): Support coded-charset
3028 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3029 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3030 `CHARSET_BY_ATTRIBUTES'.
3031 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3032 `CHARSET_BY_ATTRIBUTES'.
3033 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3034 (complex_vars_of_mule_charset): Add new coded-charset
3037 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3038 interface; changed to inline function.
3040 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3041 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3042 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3043 (CHARSET_TYPE_94): Deleted.
3044 (CHARSET_TYPE_94X94): Deleted.
3045 (CHARSET_TYPE_96): Deleted.
3046 (CHARSET_TYPE_96X96): Deleted.
3047 (CHARSET_TYPE_128): Deleted.
3048 (CHARSET_TYPE_128X128): Deleted.
3049 (CHARSET_TYPE_256): Deleted.
3050 (CHARSET_TYPE_256X256): Deleted.
3051 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3053 (DECODE_MOJIKYO_2022): New inline function.
3054 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3055 `Vcharset_mojikyo_2022_1'.
3057 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3059 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3061 (put_byte_table): Likewise.
3062 (char_id_table_equal): Use `get_byte_table' [new implementation].
3064 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3066 * mule-charset.c: Include <limits.h> in UTF-2000.
3067 (BT_UINT8_MIN): New macro in UTF-2000.
3068 (BT_UINT8_MAX): New macro in UTF-2000.
3069 (BT_UINT8_t): New macro in UTF-2000.
3070 (BT_UINT8_nil): New macro in UTF-2000.
3071 (BT_UINT8_unbound): New macro in UTF-2000.
3072 (INT_UINT8_P): New inline function in UTF-2000.
3073 (UINT8_VALUE_P): New inline function in UTF-2000.
3074 (UINT8_ENCODE): New inline function in UTF-2000.
3075 (UINT8_DECODE): New inline function in UTF-2000.
3076 (mark_uint8_byte_table): New function in UTF-2000.
3077 (print_uint8_byte_table): New function in UTF-2000.
3078 (uint8_byte_table_equal): New function in UTF-2000.
3079 (uint8_byte_table_hash): New function in UTF-2000.
3080 (make_uint8_byte_table): New function in UTF-2000.
3081 (uint8_byte_table_same_value_p): New function in UTF-2000.
3082 (BT_UINT16_MIN): New macro in UTF-2000.
3083 (BT_UINT16_MAX): New macro in UTF-2000.
3084 (BT_UINT16_t): New macro in UTF-2000.
3085 (BT_UINT16_nil): New macro in UTF-2000.
3086 (BT_UINT16_unbound): New macro in UTF-2000.
3087 (INT_UINT16_P): New inline function in UTF-2000.
3088 (UINT16_VALUE_P): New inline function in UTF-2000.
3089 (UINT16_ENCODE): New inline function in UTF-2000.
3090 (UINT16_DECODE): New inline function in UTF-2000.
3091 (UINT8_TO_UINT16): New inline function in UTF-2000.
3092 (mark_uint16_byte_table): New function in UTF-2000.
3093 (print_uint16_byte_table): New function in UTF-2000.
3094 (uint16_byte_table_equal): New function in UTF-2000.
3095 (uint16_byte_table_hash): New function in UTF-2000.
3096 (make_uint16_byte_table): New function in UTF-2000.
3097 (uint16_byte_table_same_value_p): New function in UTF-2000.
3098 (print_byte_table): New function in UTF-2000.
3099 (byte-table): Use `print_byte_table' as printer.
3100 (make_byte_table): Delete second argument `older'.
3101 (byte_table_same_value_p): New function in UTF-2000.
3102 (copy_byte_table): Deleted.
3103 (get_byte_table): New function in UTF-2000.
3104 (put_byte_table): New function in UTF-2000.
3105 (print_char_id_table): New function in UTF-2000.
3106 (char-id-table): Use `print_char_id_table' as printer.
3107 (make_char_id_table): Delete second argument `older'.
3108 (get_char_id_table): Use `get_byte_table [new implementation].
3109 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3111 (Ffind_char_attribute_table): New function in UTF-2000.
3112 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3113 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3114 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3115 (syms_of_mule_charset): Add new function
3116 `find-char-attribute-table' in UTF-2000.
3118 * lrecord.h (enum lrecord_type): Add
3119 `lrecord_type_uint16_byte_table' and
3120 `lrecord_type_uint8_byte_table'.
3122 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3123 (Lisp_Uint8_Byte_Table): New type.
3124 (XUINT8_BYTE_TABLE): New macro.
3125 (XSETUINT8_BYTE_TABLE): New macro.
3126 (UINT8_BYTE_TABLE_P): New macro.
3127 (GC_UINT8_BYTE_TABLE_P): New macro.
3128 (struct Lisp_Uint16_Byte_Table): New structure.
3129 (Lisp_Uint16_Byte_Table): New type.
3130 (XUINT16_BYTE_TABLE): New macro.
3131 (XSETUINT16_BYTE_TABLE): New macro.
3132 (UINT16_BYTE_TABLE_P): New macro.
3133 (GC_UINT16_BYTE_TABLE_P): New macro.
3135 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3137 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3138 (Vcharacter_ideographic_strokes_table): Deleted.
3139 (Vcharacter_total_strokes_table): Deleted.
3140 (Vcharacter_morohashi_daikanwa_table): Deleted.
3141 (Vcharacter_decomposition_table): Deleted.
3142 (Qname): Deleted because it is duplicated.
3143 (Qideographic_radical): Deleted.
3144 (Qideographic_strokes): Deleted.
3145 (Qtotal_strokes): Deleted.
3146 (Qmorohashi_daikanwa): Deleted.
3147 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3148 `ideographic-radical', `ideographic-strokes', `total-strokes',
3149 `morohashi-daikanwa' and `->decomposition'.
3150 (Fget_char_attribute): Likewise.
3151 (Fput_char_attribute): Likewise; use `make-vector' instead of
3152 `make_older_vector' for `->decomposition' value.
3153 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3154 `ideograph-daikanwa'.
3155 (syms_of_mule_charset): Delete builtin symbols `name',
3156 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3157 `morohashi-daikanwa'.
3158 (vars_of_mule_charset): Don't setup
3159 `Vcharacter_ideographic_radical_table',
3160 `Vcharacter_ideographic_strokes_table',
3161 `Vcharacter_total_strokes_table',
3162 `Vcharacter_morohashi_daikanwa_table' and
3163 `Vcharacter_decomposition_table'.
3165 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3167 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3168 `make_older_vector', `make_vector_newer_1' and
3169 `make_vector_newer'.
3171 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3172 `make_older_vector' and `make_vector_newer'.
3174 * config.h.in (HAVE_GGC): New macro.
3176 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3178 * mule-charset.c (struct char_attribute_list_closure): New
3179 structure in UTF-2000.
3180 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3181 (Fchar_attribute_list): Likewise.
3182 (Fset_charset_mapping_table): Use `make_vector_newer'.
3183 (Fdecode_builtin_char): New function in UTF-2000.
3184 (syms_of_mule_charset): Add new function `char-attribute-list' and
3185 `decode-builtin-char' in UTF-2000.
3187 * lisp.h (make_vector_newer): New prototype.
3189 * alloc.c (make_vector_newer_1): New function.
3190 (make_vector_newer): New function.
3192 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3194 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3197 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3199 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3200 (Vcharacter_attribute_table): Deleted.
3201 (Vcharacter_name_table): Deleted.
3202 (put_char_attribute): Deleted.
3203 (remove_char_attribute): Deleted.
3204 (struct char_attribute_alist_closure): New structure.
3205 (add_char_attribute_alist_mapper): New function.
3206 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3207 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3208 (Fget_char_attribute): Likewise.
3209 (Fput_char_attribute): Likewise.
3210 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3211 of `remove_char_attribute'.
3212 (Fdefine_char): Return character.
3213 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3214 and `Vcharacter_name_table'.
3215 (complex_vars_of_mule_charset): Likewise
3216 `Vchar_attribute_hash_table'.
3218 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3220 * character.h (CHARC_CHARSET): New macro.
3221 (CHARC_CHARSET_ID): New macro.
3222 (CHARC_CODE_POINT): New macro.
3223 (CHARC_COLUMNS): New macro.
3224 (CHARC_TO_CHAR): New inline function.
3225 (CHARC_EQ): New inline function.
3226 (CHARC_ASCII_EQ): New inline function.
3227 (CHARC_IS_SPACE): New inline function.
3228 (ASCII_TO_CHARC): New inline function.
3230 * char-ucs.h (encode_char_2): Deleted.
3231 (ENCODE_CHAR): Use `encode_char_1' again.
3232 (breakup_char_1): Likewise.
3233 (CHAR_TO_CHARC): New inline function.
3235 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3237 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3239 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3240 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3241 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3242 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3243 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3245 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3247 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3249 (x_output_display_block): Use `CHARC_CHARSET' and
3252 * redisplay-tty.c (tty_output_display_block): Use
3254 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3256 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3258 * insdel.c (find_charsets_in_charc_string): Use
3260 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3261 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3262 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3263 (convert_charc_string_into_malloced_string): Likewise.
3265 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3267 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3268 instead of <Emchar_dynarr *> for buf; use
3269 `convert_bufbyte_string_into_charc_dynarr' instead of
3270 `convert_bufbyte_string_into_emchar_dynarr'; use
3271 `find_charsets_in_charc_string' instead of
3272 `find_charsets_in_emchar_string'.
3275 - Include "character.h".
3276 (struct rune): New member `cglyph'; delete member `chr'.
3278 * redisplay.c (redisplay_text_width_charc_string): New function;
3279 delete `redisplay_text_width_emchar_string'.
3280 (rtw_charc_dynarr): New variable; renamed from
3281 `rtw_emchar_dynarr'.
3282 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3283 `rtw_emchar_dynarr'; use
3284 `convert_bufbyte_string_into_charc_dynarr' instead of
3285 `convert_bufbyte_string_into_emchar_dynarr'; use
3286 `redisplay_text_width_charc_string' instead of
3287 `redisplay_text_width_emchar_string'.
3288 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3289 instead of `rtw_emchar_dynarr'; use
3290 `convert_bufbyte_string_into_charc_dynarr' instead of
3291 `convert_bufbyte_string_into_emchar_dynarr'.
3292 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3293 `redisplay_text_width_charc_string' instead of
3294 `redisplay_text_width_emchar_string'.
3295 (create_text_block): Modify for <struct rune> change.
3296 (generate_formatted_string_db): Likewise.
3297 (create_string_text_block): Likewise.
3298 (pixel_to_glyph_translation): Likewise.
3300 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3301 instead of <const Emchar *>.
3302 (x_text_width): Likewise.
3303 (x_output_display_block): Use <Charc_dynarr *> instead
3304 <Emchar_dynarr *>; modify for <structure rune> change.
3305 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3308 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3309 <const Emchar *>; use `charc_string_displayed_columns' instead of
3310 `emchar_string_displayed_columns'.
3311 (tty_output_display_block): Use <Charc_dynarr *> instead of
3312 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3313 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3314 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3315 `tty_output_emchar_dynarr_dynarr'.
3316 (tty_output_charc_dynarr): New function; delete
3317 `tty_output_charc_dynarr'.
3319 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3320 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3321 <Emchar_dynarr *> for buf; use
3322 `convert_bufbyte_string_into_charc_dynarr' instead of
3323 `convert_bufbyte_string_into_emchar_dynarr'.
3325 * frame.c (title_string_charc_dynarr): New variable; renamed from
3326 `title_string_emchar_dynarr'.
3327 (generate_title_string): Use `title_string_charc_dynarr' instead
3328 of `title_string_emchar_dynarr'; use
3329 `convert_charc_string_into_malloced_string' instead of
3330 `convert_emchar_string_into_malloced_string'.
3331 (init_frame): Use `title_string_charc_dynarr' instead of
3332 `title_string_emchar_dynarr'.
3335 - Include "character.h".
3336 (struct console_methods): Use <const Charc *> instead of <const
3337 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3338 <Emchar_dynarr *> in output_string_method.
3340 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3343 * console-stream.c (stream_text_width): Use <const Charc *>
3344 instead of <const Emchar *>.
3346 * character.h (Charc_dynarr): New type.
3348 * char-ucs.h (structure Charc): New structure; define new type
3351 * char-lb.h (DECODE_CHAR): New inline function.
3352 (encode_char_1): New inline function.
3353 (ENCODE_CHAR): New macro.
3354 (structure Charc): New structure; define new type `Charc'.
3356 * char-1byte.h (Vcharset_control_1): New macro.
3357 (Vcharset_latin_iso8859_1): New macro.
3358 (DECODE_CHAR): New inline function.
3359 (encode_char_1): New inline function.
3360 (ENCODE_CHAR): New macro.
3361 (structure Charc): New structure; define new type `Charc'.
3363 * insdel.c (find_charsets_in_charc_string): New function; delete
3364 `find_charsets_in_emchar_string'.
3365 (charc_string_displayed_columns): New function; delete
3366 `emchar_string_displayed_columns'.
3367 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3368 `convert_bufbyte_string_into_emchar_dynarr'.
3369 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3370 `convert_charc_string_into_bufbyte_dynarr'.
3371 (convert_charc_string_into_malloced_string): New function; delete
3372 `convert_charc_string_into_malloced_string'.
3374 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3375 `find_charsets_in_emchar_string'.
3376 (charc_string_displayed_columns): New prototype; delete
3377 `emchar_string_displayed_columns'.
3378 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3379 `convert_charc_string_into_bufbyte_dynarr'.
3380 (convert_charc_string_into_malloced_string): New prototype; delete
3381 `convert_charc_string_into_malloced_string'.
3383 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3385 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3387 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3389 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3391 * char-ucs.h: Use <short> for <Charset_ID>.
3393 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3396 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3398 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3401 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3403 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3405 (Qmorohashi_daikanwa): New variable.
3406 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3407 for `morohashi-daikanwa' attribute.
3408 (Fget_char_attribute): Likewise.
3409 (Fput_char_attribute): Likewise.
3410 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3411 has the same value of `ideograph-daikanwa'.
3412 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3413 (vars_of_mule_charset): Setup
3414 `Vcharacter_morohashi_daikanwa_table'.
3416 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3418 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3420 (add_charset_to_list_mapper): Add `key' instead of
3421 `XCHARSET_NAME (value)' to return aliases.
3423 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3425 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3427 (Vcharacter_ideographic_strokes_table): New variable.
3428 (Qideographic_radical): New variable.
3429 (Qideographic_strokes): New variable.
3430 (Fchar_attribute_alist): Use
3431 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3432 attribute; use `Vcharacter_ideographic_strokes_table' for
3433 `ideographic-strokes' attribute.
3434 (Fget_char_attribute): Likewise.
3435 (Fput_char_attribute): Likewise.
3436 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3437 `ideographic-strokes'.
3438 (vars_of_mule_charset): Setup
3439 `Vcharacter_ideographic_radical_table' and
3440 `Vcharacter_ideographic_strokes_table'.
3442 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3444 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3445 (Qtotal_strokes): New variable.
3446 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3447 `total-strokes' attribute.
3448 (Fget_char_attribute): Likewise.
3449 (Fput_char_attribute): Likewise.
3450 (syms_of_mule_charset): Add new symbol `total-strokes'.
3451 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3453 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3455 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3456 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3458 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3459 `->decomposition' attribute.
3460 (Fput_char_attribute): Likewise.
3461 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3463 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3465 * mule-charset.c (decoding_table_check_elements): New function.
3466 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3468 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3470 * mule-charset.c (Fset_charset_mapping_table): Use
3471 `put_char_ccs_code_point'.
3473 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3475 * mule-charset.c (decoding_table_put_char): New inline function.
3476 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3478 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3480 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3481 (XCHARSET_BYTE_SIZE): New macro.
3482 (decoding_table_remove_char): New inline function.
3483 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3484 `decoding_table_remove_char'.
3485 (remove_char_ccs): Use `decoding_table_remove_char'.
3486 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3488 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3490 * mule-charset.c (Vcharacter_name_table): New variable.
3491 (Qname): New variable.
3492 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3494 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3495 `Vcharacter_name_table' for `name' attribute.
3496 (Fremove_char_attribute): Use function `remove_char_ccs'.
3497 (put_char_ccs_code_point): New function.
3498 (remove_char_ccs): New function.
3499 (syms_of_mule_charset): Add new symbol `name'.
3500 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3502 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3504 * mule-charset.c (make_byte_table): Add new argument `older'.
3505 (make_char_id_table): Likewise.
3506 (copy_char_id_table): Comment out because it is not used.
3507 (put_char_id_table): Modify for `make_byte_table'.
3508 (Fput_char_attribute): Make encoding_table as older object;
3509 inherit older bit of `Vcharacter_composition_table'.
3510 (mark_charset): Don't mark `cs->encoding_table'.
3511 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3512 normal object; make `Vcharacter_composition_table' as an older
3513 object; delete staticpro for `Vcharacter_composition_table'; make
3514 `Vcharacter_variant_table' as a normal object.
3516 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3517 (mark_object): Don't check older object in UTF-2000.
3519 * lrecord.h (struct lrecord_header): Add new member `older' in
3521 (set_lheader_implementation): Setup `SLI_header->older' in
3523 (set_lheader_older_implementation): New macro in UTF-2000.
3524 (OLDER_RECORD_P): New macro in UTF-2000.
3525 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3526 (alloc_older_lcrecord): New prototype in UTF-2000.
3527 (alloc_older_lcrecord_type): New macro in UTF-2000.
3529 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3531 * mule-charset.c (byte_table_description): Use
3532 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3533 (char_id_table_description): Delete bogus `, 1'.
3534 (Fget_char_attribute): Refer encoding_table of each coded-charset
3535 to get value of coded-charset attribute of a character.
3536 (Fput_char_attribute): Use `make_older_vector' instead of
3537 `make_vector'; use encoding_table of each coded-charset to store
3538 value of coded-charset attribute of a character.
3539 (Fremove_char_attribute): Use encoding_table of each coded-charset
3540 to store value of coded-charset attribute of a character.
3541 (mark_charset): Mark `cs->encoding_table'; don't mark
3542 `cs->decoding_table'.
3543 (charset_description): Add description of new member
3545 (make_charset): Initialize `encoding_table'.
3547 * char-ucs.h (struct Lisp_Charset): Add new member
3549 (CHARSET_ENCODING_TABLE): New macro.
3550 (XCHARSET_ENCODING_TABLE): New macro.
3551 (charset_code_point): New implementation.
3552 (encode_char_1): Likewise.
3554 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3555 (disksave_object_finalization_1): Call finalizers of
3556 `all_older_lcrecords' in UTF-2000.
3557 (make_older_vector): New function in UTF-2000.
3558 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3561 * lisp.h (make_older_vector): New prototype in UTF-2000.
3563 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3565 * lrecord.h (enum lrecord_type): Rename
3566 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3568 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3569 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3570 `get_char_code_table'.
3572 * mule-charset.c (mark_char_id_table): Renamed from
3573 `mark_char_code_table'.
3574 (char_id_table_equal): Renamed from `char_code_table_equal'.
3575 (char_id_table_hash): Renamed from `char_code_table_hash'.
3576 (make_char_id_table): Renamed from `make_char_code_table'.
3577 (copy_char_id_table): Renamed from `copy_char_code_table'.
3578 (get_char_id_table): Renamed from `get_char_code_table'.
3579 (put_char_id_table): Renamed from `put_char_code_table'.
3580 (to_char_id): Renamed from `to_char_code'.
3582 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3583 `Lisp_Char_Code_Table'.
3584 (char_id_table): Renamed from `char_code_table'.
3585 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3586 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3587 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3588 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3589 (get_char_id_table): Renamed from `get_char_code_table'.
3591 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3593 * lrecord.h (enum lrecord_type): Rename
3594 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3596 * mule-charset.c (mark_byte_table): Renamed from
3597 `mark_char_byte_table'.
3598 (byte_table_equal): Renamed from `char_byte_table_equal'.
3599 (byte_table_hash): Renamed from `byte_table_hash'.
3600 (make_byte_table): Renamed from `make_byte_table'.
3601 (copy_byte_table): Renamed from `copy_char_byte_table'.
3603 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3604 `Lisp_Char_Byte_Table'.
3605 (byte_table): Renamed from `char_byte_table'.
3606 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3607 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3608 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3609 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3611 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3613 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3614 (dfc_convert_to_internal_format): Likewise.
3616 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3617 * text-coding.c (Fcoding_system_alias_p): New function.
3618 * text-coding.c (Fcoding_system_aliasee): New function.
3619 * text-coding.c (append_suffix_to_symbol): New function.
3620 * text-coding.c (dangling_coding_system_alias_p): New function.
3621 * text-coding.c (Ffind_coding_system):
3622 * text-coding.c (Fcopy_coding_system):
3623 * text-coding.c (encode_coding_no_conversion):
3624 * text-coding.c (syms_of_file_coding):
3625 * text-coding.c (vars_of_file_coding):
3626 Rewrite coding system alias code.
3627 Allow nested aliases, like symbolic links.
3628 Allow redefinition of coding system aliases.
3629 Prevent existence of dangling coding system aliases.
3630 Eliminate convert_to_external_format.
3631 Eliminate convert_to_internal_format.
3633 * text-coding.c: Change enum eol_type to eol_type_t.
3635 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3637 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3638 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3640 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3641 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3643 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3645 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3646 `ideograph-daikanwa'.
3648 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3649 (Vcharset_ucs_bmp): Likewise.
3650 (Vcharset_mojikyo): Add new extern variable definition.
3651 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3652 (Vcharset_latin_iso8859_3): Likewise.
3653 (Vcharset_latin_iso8859_4): Likewise.
3654 (Vcharset_latin_iso8859_9): Likewise.
3655 (Vcharset_latin_viscii_lower): Likewise.
3656 (Vcharset_latin_viscii_upper): Likewise.
3657 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3658 `mojikyo' code-point is used to decode.
3659 (encode_char_2): New function [to convert `mojikyo' code-point to
3660 Mojikyo font encoding].
3661 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3662 (breakup_char_1): Likewise.
3663 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3665 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3667 * text-coding.c (Fmake_coding_system): Add document about
3668 `disable-composition' property.
3670 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3672 * text-coding.c (Qdisable_composition): New variable; delete
3674 (Fmake_coding_system): Add new property `disable-composite';
3675 delete property `composite'.
3676 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3677 instead of `!CODING_SYSTEM_COMPOSITE'.
3678 (syms_of_file_coding): Add new symbol `disable-composition';
3679 delete symbol `composite'.
3681 * file-coding.h (struct Lisp_Coding_System): Add
3682 `disable_composition'; delete `enable_composition'.
3683 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3684 `CODING_SYSTEM_COMPOSITE'.
3685 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3686 `XCODING_SYSTEM_COMPOSITE'.
3688 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3690 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3693 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3695 * text-coding.c (Qcomposite): New variable.
3696 (Fmake_coding_system): Add new property `composite'.
3697 (struct decoding_stream): Add `combined_char_count',
3698 `combined_chars' and `combining_table' in UTF-2000.
3699 (COMPOSE_FLUSH_CHARS): New macro.
3700 (COMPOSE_ADD_CHAR): New macro.
3701 (reset_decoding_stream): Reset `str->combined_char_count' and
3702 `str->combining_table' in UTF-2000.
3703 (decode_coding_iso2022): Modify for character-decomposition.
3704 (syms_of_file_coding): Add new symbol `composite'.
3706 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3708 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3709 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3710 of `Vcharacter_composition_table' if `->decomposition' property
3712 (Qlatin_tcvn5712): New variable.
3713 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3714 (complex_vars_of_mule_charset): Add new coded-charset
3717 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3719 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3721 * file-coding.h (struct Lisp_Coding_System): Add
3722 `enable_composition'.
3723 (CODING_SYSTEM_COMPOSITE): New macro.
3724 (XCODING_SYSTEM_COMPOSITE): New macro.
3726 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3728 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3730 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3732 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3733 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3735 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3737 * mule-charset.c (Vcharset_mojikyo): New variable.
3738 (Fdefine_char): Don't use coded-charset which does not have
3739 non-builtin character range to allocate character-id.
3740 (Qmojikyo): New variable.
3741 (syms_of_mule_charset): Add new symbol `mojikyo'.
3742 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3744 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3745 (LEADING_BYTE_MOJIKYO): New macro.
3746 (MIN_CHAR_MOJIKYO): New macro.
3747 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3748 (MAX_CHAR_MOJIKYO): New macro.
3750 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3752 * mule-charset.c (remove_char_attribute): Fixed.
3754 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3756 * mule-charset.c (remove_char_attribute): New function.
3757 (Fremove_char_attribute): New function.
3758 (encode_builtin_char_1): Comment out builtin-support for
3759 greek-iso8859-7 and cyrillic-iso8859-5.
3760 (Fdecode_char): Check `code' is an integer.
3761 (syms_of_mule_charset): Add `remove-char-attribute'.
3762 (MIN_CHAR_GREEK): Deleted.
3763 (MAX_CHAR_GREEK): Likewise.
3764 (MIN_CHAR_CYRILLIC): Likewise.
3765 (MAX_CHAR_CYRILLIC): Likewise.
3766 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3767 MAX_CHAR_GREEK for `greek-iso8859-7'.
3769 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3770 (MAX_CHAR_GREEK): Likewise.
3771 (MIN_CHAR_CYRILLIC): Likewise.
3772 (MAX_CHAR_CYRILLIC): Likewise.
3774 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3776 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3777 format is used without `ucs' property.
3778 (Fdecode_char): Fix problem with GR representation.
3779 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3780 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3782 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3784 * mule-charset.c (make_builtin_char): New function.
3785 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3786 (Fset_charset_mapping_table): Modify for new representation of
3788 (Fdecode_char): New function.
3789 (syms_of_mule_charset): Add new builtin function `decode-char' in
3792 * char-ucs.h (make_builtin_char): New prototype.
3793 (DECODE_CHAR): New inline function.
3794 (MAKE_CHAR): Use `DECODE_CHAR'.
3796 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3798 * text-coding.c (parse_charset_conversion_specs): Use
3799 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3801 (iso2022_designate): Likewise.
3803 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3804 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3806 * mule-charset.c (Vcharset_ucs): New variable.
3807 (print_charset): Change design; use `CHARSET_CHARS' and
3808 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3809 (make_charset): Change signature to specify `chars' and
3810 `dimension' instead of `type'.
3811 (range_charset_code_point): Modify for 256^n-set.
3812 (encode_builtin_char_1): Encode as `ucs' in default.
3813 (Fmake_charset): Modify for `make_charset'.
3814 (Fmake_reverse_direction_charset): Likewise.
3815 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3817 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3820 * char-ucs.h (Vcharset_ucs): New variable.
3821 (LEADING_BYTE_UCS): New macro.
3822 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3823 and `chars' to `unsigned short' from `unsigned int'.
3824 (CHARSET_TYPE): Deleted.
3825 (XCHARSET_TYPE): Deleted.
3827 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3829 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3831 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3832 (ENCODE_CHAR): New macro.
3834 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3836 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3837 to 0.14 (Kawachi-Katakami).
3839 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3841 * text-coding.c (char_encode_shift_jis): Modify for
3842 `charset_code_point'.
3843 (char_encode_iso2022): Likewise.
3845 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3846 (integer) instead of list of <Lisp_Object>s (integers) as the
3847 format of code-point of a coded-charset.
3848 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3849 (encode_builtin_char_1): New function; delete
3850 `split_builtin_char'.
3851 (charset_code_point): Return <int> instead of <Lisp_Object>.
3852 (Fsplit_char): Don't use `SPLIT_CHAR'.
3854 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3855 prototype for `split_builtin_char'.
3856 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3857 (charset_code_point): Likewise.
3858 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3859 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3861 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3863 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3864 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3866 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3868 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3870 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3871 (MAX_CHAR_OBS_94x94): Deleted.
3873 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3875 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3877 * char-ucs.h (MAX_CHAR_BMP): New macro.
3879 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3881 * text-coding.c: Sync with r21-2-24.
3883 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3885 * file-coding.c: Modify for UTF-2000.
3887 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3889 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3892 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3894 * mule-charset.c (split_builtin_char): Delete builtin support for
3895 `katakana-jisx0201'.
3896 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3897 BMP area in builtin representation.
3899 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3900 `Vcharset_katakana_jisx0201'.
3902 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3904 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3905 (Qisolated): New variable.
3906 (Qinitial): New variable.
3907 (Qmedial): New variable.
3908 (Qfinal): New variable.
3909 (Qvertical): New variable.
3910 (Qsmall): New variable.
3911 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3912 `Qvertical' and `Qsmall'.
3913 (Qmojikyo_pj_[1 .. 21]): New variable.
3914 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3915 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3916 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3919 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3921 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3922 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3923 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3925 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3927 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3928 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3930 (Qjapanese_jisx0208_1990): New variable.
3931 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3932 (complex_vars_of_mule_charset): Add new coded-charset
3933 `japanese-jisx0208-1990'.
3935 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3936 (MIN_CHAR_JIS_X0208_1990): New macro.
3937 (MAX_CHAR_JIS_X0208_1990): New macro.
3939 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3941 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3942 coded-charset is not found.
3944 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3946 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3947 (Fdefine_char): Use `Fmake_char'.
3949 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3951 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3952 (Vcharset_hiragana_jisx0208): Deleted.
3953 (Vcharset_katakana_jisx0208): Deleted.
3954 (Qideograph_daikanwa): New variable.
3955 (Qhiragana_jisx0208): Deleted.
3956 (Qkatakana_jisx0208): Deleted.
3957 (split_builtin_char): Split `ideograph-daikanwa'.
3958 (Fsplit_char): New implementation for UTF-2000.
3959 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3960 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3961 (complex_vars_of_mule_charset): Add new coded-charset
3962 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3963 `katakana-jisx0208'.
3965 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3966 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3967 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3968 (MIN_CHAR_DAIKANWA): New macro.
3969 (MAX_CHAR_DAIKANWA): New macro.
3971 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3973 * data.c (Fstring_to_number): Don't recognize floating point if
3976 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3978 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3980 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3982 * mule-charset.c (Qsquare): New variable.
3983 (to_char_code): Add `Qsquare'.
3984 (syms_of_mule_charset): Add new symbol `square'.
3986 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3988 * mule-charset.c (Qcircle): New variable.
3989 (to_char_code): Add `Qcircle'.
3990 (syms_of_mule_charset): Add new symbol `circle'.
3992 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3994 * mule-charset.c (Qfont): New variable.
3995 (to_char_code): Add `Qfont'.
3996 (syms_of_mule_charset): Add new symbol `font'.
3998 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4000 * mule-charset.c (Qsub): New variable.
4001 (to_char_code): Add `Qsub'.
4002 (syms_of_mule_charset): Add new symbol `sub'.
4004 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4006 * mule-charset.c (Fput_char_attribute): Convert each element of
4007 VALUE to GL position if ATTRIBUTE is a GR-set,
4009 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4011 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4012 coded-charset is a GR-set.
4014 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4016 * mule-charset.c (Fput_char_attribute): Check each element of
4017 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4019 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4021 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4023 (Qethiopic_ucs): New variable in UTF-2000.
4024 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4025 (complex_vars_of_mule_charset): Add new coded-charset
4026 `ethiopic-ucs' in UTF-2000.
4028 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4029 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4031 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4033 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4035 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4037 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4040 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4042 * mule-charset.c (Vcharacter_variant_table): New variable.
4043 (Q_ucs): New variable.
4044 (Fchar_variants): New function.
4045 (Fput_char_attribute): Register `->ucs' value to
4046 `Vcharacter_variant_table'.
4047 (syms_of_mule_charset): Add new function `char-variants' and new
4049 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4051 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4053 * mule-charset.c (get_char_code_table): Allow negative character
4055 (put_char_code_table): Likewise.
4056 (Vcharacter_composition_table): New variable.
4057 (Q_decomposition): New variable.
4058 (Qwide): New variable.
4059 (Qnarrow): New variable.
4060 (Qcompat): New variable.
4061 (QnoBreak): New variable.
4062 (Qsuper): New variable.
4063 (Qfraction): New variable.
4064 (to_char_code): New function.
4065 (Fget_composite_char): New function.
4066 (Fput_char_attribute): Register `->decomposition' value to
4067 `Vcharacter_composition_table'.
4068 (syms_of_mule_charset): Add new function `get-composite-char', new
4069 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4070 `super' and `fraction'.
4071 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4073 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4075 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4076 character; copy the return value.
4078 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4080 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4082 * mule-charset.c (range_charset_code_point): Must use make_int.
4083 (split_builtin_char): New function.
4085 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4087 * mule-charset.c (char_byte_table): Change name from
4088 "char-code-table" to "char-byte-table".
4089 (mark_char_code_table): New function.
4090 (char_code_table_equal): New function.
4091 (char_code_table_hash): New function.
4092 (char_code_table_description): New constant.
4093 (char_code_table): New type.
4094 (make_char_code_table): New function.
4095 (copy_char_code_table): New function.
4096 (get_char_code_table): Modify for `char_code_table' type.
4097 (put_char_code_table): Likewise.
4098 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4101 * char-ucs.h (char_code_table): New type.
4102 (XCHAR_CODE_TABLE): New macro.
4103 (XSETCHAR_CODE_TABLE): New macro.
4104 (CHAR_CODE_TABLE_P): New macro.
4105 (GC_CHAR_CODE_TABLE_P): New macro.
4106 (struct Lisp_Char_Code_Table): New structure.
4108 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4110 * mule-charset.c (Fmake_charset): Setup byte_offset for
4113 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4115 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4118 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4120 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4123 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4125 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4126 charset, it is regarded as a charset.
4127 (put_char_attribute): New function in UTF-2000.
4128 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4129 charset, mapping-table of the charset is modified.
4130 (Fdefine_char): New function in UTF-2000.
4131 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4132 `Fput_char_attribute'.
4133 (syms_of_mule_charset): Add new function `define-char' and new
4134 symbol `ucs' in UTF-2000.
4135 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4137 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4139 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4140 non-UTF-2000 configuration.
4142 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4144 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4145 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4147 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4149 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4150 (Fset_charset_mapping_table): Likewise.
4152 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4153 (CHARSET_ENCODING_TABLE): Delete.
4154 (XCHARSET_ENCODING_TABLE): Delete.
4155 (charset_code_point): New interface.
4157 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4159 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4160 instead of `charset_get_byte1' and `charset_get_byte2'.
4162 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4163 (charset_get_byte2): Deleted.
4165 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4167 * char-ucs.h (SPLIT_CHAR): New inline function.
4168 (breakup_char_1): Use `SPLIT_CHAR'.
4170 * mule-charset.c (range_charset_code_point): New function.
4171 (charset_code_point): New function.
4173 * char-ucs.h (range_charset_code_point): New interface.
4174 (breakup_char_1): Use `range_charset_code_point'.
4176 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4178 * mule-charset.c (Fmake_charset): Delete unused local variable
4181 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4182 (breakup_char_1): Find a charset and code-point in
4183 `Vcharacter_attribute_table'.
4185 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4187 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4190 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4192 * mule-charset.c (Vcharacter_attribute_table): New variable.
4193 (Fchar_attribute_alist): New function.
4194 (Fget_char_attribute): New function.
4195 (Fput_char_attribute): New function.
4196 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4198 (syms_of_mule_charset): Add new function `char-attribute-alist',
4199 `get-char-attribute' and `put-char-attribute'.
4200 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4202 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4204 * mule-charset.c (Fmake_charset): Just use
4205 `get_unallocated_leading_byte'.
4207 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4208 sets; don't use final-byte based number for private sets.
4210 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4212 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4215 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4217 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4220 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4222 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4223 of `CHAR_LEADING_BYTE' in UTF-2000.
4225 * insdel.c (find_charsets_in_bufbyte_string): Use
4226 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4227 (find_charsets_in_emchar_string): Likewise.
4229 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4230 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4232 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4233 (CHAR_CHARSET_ID): New macro.
4235 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4237 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4238 charset-id - MIN_LEADING_BYTE.
4239 (put_char_table): Likewise.
4241 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4243 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4244 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4245 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4246 (CHARSET_ID_OFFSET): New macro.
4247 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4248 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4249 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4250 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4252 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4254 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4255 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4256 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4257 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4258 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4260 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4262 * mule-charset.c (next_allocated_leading_byte): New variable in
4264 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4265 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4266 (get_unallocated_leading_byte): Simply use
4267 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4268 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4271 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4272 (MAX_LEADING_BYTE_PRIVATE): New macro.
4273 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4274 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4276 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4278 * mule-charset.c (Fmake_charset): Allocate final-byte based
4279 charset-id for 94-set, 96-set and 94x94-set.
4281 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4283 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4285 (Fmake_charset): Likewise.
4286 (complex_vars_of_mule_charset): Modify the font registry of
4287 `ucs-bmp' not to match `Ethiopic-Unicode'.
4289 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4291 * mule-charset.c (complex_vars_of_mule_charset): Add font
4292 registory of `ucs-bmp'.
4294 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4296 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4297 coded-charsets in `default-coded-charset-priority-list' when
4298 breaking up a character.
4300 * mule-charset.c (Vcharset_latin_viscii): New variable.
4301 (Qlatin_viscii): New variable.
4302 (make_charset): Don't use `decoding_table'.
4303 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4305 (Fset_charset_mapping_table): New implementation.
4306 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4307 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4308 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4309 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4310 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4311 charset `latin_viscii'.
4313 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4314 (CHARSET_TYPE_94X94): Change to 1 from 2.
4315 (CHARSET_TYPE_96): Change to 2 from 1.
4316 (CHARSET_TYPE_128): New macro.
4317 (CHARSET_TYPE_128X128): Change to 5 from 4.
4318 (CHARSET_TYPE_256): New macro.
4319 (CHARSET_TYPE_256X256): Change to 7 from 5.
4320 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4322 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4324 * text-coding.c (char_encode_shift_jis): Refer
4325 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4326 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4328 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4329 (char_byte_table_equal): New function in UTF-2000.
4330 (char_byte_table_hash): New function in UTF-2000.
4331 (char_byte_table_description): New constant in UTF-2000.
4332 (char_byte_table): New type in UTF-2000.
4333 (make_char_byte_table): New function in UTF-2000.
4334 (copy_char_byte_table): New function in UTF-2000.
4335 (make_char_code_table): New macro in UTF-2000.
4336 (get_char_code_table): New function in UTF-2000.
4337 (put_char_code_table): New function in UTF-2000.
4338 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4339 (charset_description): Add setting in UTF-2000.
4340 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4341 `CHARSET_TO_BYTE1_TABLE(cs)'.
4342 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4343 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4344 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4345 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4346 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4347 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4348 `CHARSET_TO_BYTE2_TABLE(cs)'.
4350 * char-ucs.h (char_byte_table): New type.
4351 (XCHAR_BYTE_TABLE): New macro.
4352 (XSETCHAR_BYTE_TABLE): New macro.
4353 (CHAR_BYTE_TABLE_P): New macro.
4354 (GC_CHAR_BYTE_TABLE_P): New macro.
4355 (struct Lisp_Char_Byte_Table): New structure.
4356 (get_char_code_table): New interface.
4357 (Emchar_to_byte_table): Deleted.
4358 (get_byte_from_character_table): Deleted.
4359 (struct Lisp_Charset): Add `encoding_table'; delete
4360 `to_byte1_table' and `to_byte2_table'.
4361 (CHARSET_ENCODING_TABLE): New macro.
4362 (CHARSET_TO_BYTE1_TABLE): Deleted.
4363 (CHARSET_TO_BYTE2_TABLE): Deleted.
4364 (XCHARSET_ENCODING_TABLE): New macro.
4365 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4366 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4368 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4370 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4371 `vietnamese-viscii-*'.
4373 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4375 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4376 (Qvietnamese_viscii_upper): New variable.
4377 (Fdefine_charset_alias): New function.
4378 (syms_of_mule_charset): Add new function `define-charset-alias'.
4379 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4380 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4383 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4385 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4386 (MAX_CHAR_OBS_94x94): New macro.
4387 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4390 * mule-charset.c (put_byte_from_character_table): Change unit size
4392 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4394 (Fmake_reverse_direction_charset): Modify dummy argument of
4395 `make_charset' for non-UTF-2000 environment.
4397 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4399 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4401 * mule-charset.c (destroy_byte_from_character_table): New macro.
4402 (latin_jisx0201_to_ucs): Deleted.
4403 (latin_iso8859_2_to_ucs): Deleted.
4404 (latin_iso8859_3_to_ucs): Deleted.
4405 (latin_iso8859_4_to_ucs): Deleted.
4406 (latin_iso8859_9_to_ucs): Deleted.
4407 (latin_viscii_lower_to_ucs): Deleted.
4408 (latin_viscii_upper_to_ucs): Deleted.
4409 (mark_charset): Mark `cs->decoding_table'.
4410 (Fcharset_mapping_table): Fix DOC-string.
4411 (Fset_charset_mapping_table): New function.
4412 (syms_of_mule_charset): Add nwe function
4413 `set-charset-mapping-table'.
4414 (complex_vars_of_mule_charset): Don't setup and use
4417 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4419 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4422 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4424 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4425 (Vcharset_katakana_jisx0208): New variable.
4426 (Qhiragana_jisx0208): New variable.
4427 (Qkatakana_jisx0208): New variable.
4428 (make_charset): Add new argument `byte_offset'.
4429 (charset_get_byte1): Modify for new coded-charset definition; use
4430 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4431 `XCHARSET_BYTE_OFFSET'.
4432 (Fmake_charset): Modify for `make_charset'.
4433 (Fmake_reverse_direction_charset): Likewise.
4434 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4435 `katakana-jisx0208'.
4436 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4437 `.' in font registry of charset `katakana-jisx0201',
4438 `latin-jisx0201', `vietnamese-viscii-lower' and
4439 `vietnamese-viscii-upper'; modify DOC-string of charset
4440 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4441 registry of charset `japanese-jisx0208' not to use font for JIS
4442 X0208:1990; add new charset `hiragana-jisx0208' and
4443 `katakana-jisx0208'.
4445 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4446 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4447 (struct Lisp_Charset): Add `byte_offset'.
4448 (CHARSET_BYTE_OFFSET): New macro.
4449 (XCHARSET_UCS_MIN): New macro.
4450 (XCHARSET_UCS_MAX): New macro.
4451 (XCHARSET_CODE_OFFSET): New macro.
4452 (XCHARSET_BYTE_OFFSET): New macro.
4453 (MIN_CHAR_HIRAGANA): New macro.
4454 (MAX_CHAR_HIRAGANA): New macro.
4455 (MIN_CHAR_KATAKANA): New macro.
4456 (MAX_CHAR_KATAKANA): New macro.
4457 (MAKE_CHAR): Modify for new coded-charset definition; use
4458 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4459 `XCHARSET_BYTE_OFFSET'.
4461 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4463 * mule-charset.c (CHAR96): Deleted.
4464 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4466 (latin_iso8859_2_to_ucs): Likewise.
4467 (latin_iso8859_3_to_ucs): Likewise.
4468 (latin_iso8859_4_to_ucs): Likewise.
4469 (latin_iso8859_9_to_ucs): Likewise.
4470 (latin_viscii_lower_to_ucs): Likewise.
4471 (latin_viscii_upper_to_ucs): Likewise.
4472 (latin_tcvn5712_to_ucs): Commented out.
4473 (make_charset): Change type of argument `decoding_table' from
4474 <Emchar*> to <Lisp_Object> [vector of characters].
4475 (Fmake_charset): Modify for `make_charset'.
4476 (Fmake_reverse_direction_charset): Likewise.
4477 (Fcharset_mapping_table): New function in UTF-2000.
4478 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4480 (complex_vars_of_mule_charset): Modify for type change of
4481 `*_to_ucs'; modify for `make_charset'.
4483 * char-ucs.h (struct Lisp_Charset): Change type of
4484 `decoding_table' from <Emchar*> to <Lisp_Object>.
4485 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4487 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4489 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4490 error with non-UTF-2000-Mule.
4492 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4494 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4496 (Vcharset_chinese_cns11643_4): Likewise.
4497 (Vcharset_chinese_cns11643_5): Likewise.
4498 (Vcharset_chinese_cns11643_6): Likewise.
4499 (Vcharset_chinese_cns11643_7): Likewise.
4500 (Qchinese_cns11643_3): Likewise.
4501 (Qchinese_cns11643_4): Likewise.
4502 (Qchinese_cns11643_5): Likewise.
4503 (Qchinese_cns11643_6): Likewise.
4504 (Qchinese_cns11643_7): Likewise.
4505 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4506 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4507 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4508 (complex_vars_of_mule_charset): Likewise.
4510 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4512 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4514 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4515 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4517 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4519 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4521 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4522 (breakup_char_1): Likewise.
4524 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4525 one of them includes the specified character.
4527 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4529 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4531 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4533 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4535 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4537 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4538 definition for non-UTF-2000 Mule.
4539 (latin_iso8859_3_to_ucs): Likewise.
4540 (latin_iso8859_4_to_ucs): Likewise.
4541 (latin_iso8859_9_to_ucs): Likewise.
4542 (latin_jisx0201_to_ucs): Likewise.
4543 (MIN_CHAR_THAI): Likewise.
4544 (MAX_CHAR_THAI): Likewise.
4545 (MIN_CHAR_GREEK): Likewise.
4546 (MAX_CHAR_GREEK): Likewise.
4547 (MIN_CHAR_HEBREW): Likewise.
4548 (MAX_CHAR_HEBREW): Likewise.
4549 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4550 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4551 (MIN_CHAR_CYRILLIC): Likewise.
4552 (MAX_CHAR_CYRILLIC): Likewise.
4554 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4556 * char-ucs.h (breakup_char_1): Use
4557 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4558 thai-tis620 and katakana-jisx0201 area.
4560 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4562 * char-ucs.h (breakup_char_1): Use
4563 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4566 * text-coding.c (reset_encoding_stream): Fixed.
4567 (char_encode_ucs4): Delete `& 255'.
4569 * char-ucs.h (breakup_char_1): Use
4570 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4572 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4574 * file-coding.c (Fmake_coding_system): Don't set up
4575 `codesys->fixed.size'.
4576 (encode_coding_no_conversion): Don't refer
4577 `str->codesys->fixed.size'.
4579 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4581 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4582 (latin_a_char_to_byte1): Deleted.
4583 (latin_a_char_to_byte2): Deleted.
4585 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4587 * mule-charset.c (make_charset): Add new argument `ucs_min',
4588 `ucs_max' and `code_offset'.
4589 (charset_get_byte1): New implementation [delete specific charset
4590 depended implementations].
4591 (Fmake_charset): Modify for `make_charset'.
4592 (Fmake_reverse_direction_charset): Likewise.
4593 (complex_vars_of_mule_charset): Likewise.
4595 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4597 (CHARSET_UCS_MIN): New macro.
4598 (CHARSET_UCS_MAX): New macro.
4599 (CHARSET_CODE_OFFSET): New macro.
4600 (MAKE_CHAR): Delete charset depended definitions [except
4603 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4605 * char-ucs.h (breakup_char_1): Use
4606 `Vdefault_coded_charset_priority_list' for C0-Controls,
4607 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4609 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4611 * char-ucs.h (charset_get_byte1): New function.
4612 (XCHARSET_GET_BYTE1): Deleted.
4613 (charset_get_byte2): New function.
4614 (XCHARSET_GET_BYTE2): Deleted.
4615 (Vdefault_coded_charset_priority_list): New external variable.
4616 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4617 `Vdefault_preferred_coded_charset_list'.
4619 * mule-charset.c (charset_get_byte1): New function.
4620 (charset_get_byte2): New function.
4621 (Vdefault_coded_charset_priority_list): New variable.
4622 (vars_of_mule_charset): Add new variable
4623 `default-coded-charset-priority-list'.
4625 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4627 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4628 (XCHARSET_GET_BYTE2): New inline function.
4629 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4630 `XCHARSET_GET_BYTE2'.
4632 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4634 * mule-charset.c (make_charset): Initialize
4635 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4636 NULL if table is not defined.
4638 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4640 * text-coding.c (char_encode_shift_jis): Use
4641 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4642 `ucs_to_latin_jisx0201'.
4644 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4645 (ucs_to_latin_iso8859_2): Deleted.
4646 (ucs_to_latin_iso8859_3): Deleted.
4647 (ucs_to_latin_iso8859_4): Deleted.
4648 (ucs_to_latin_iso8859_9): Deleted.
4649 (ucs_to_latin_viscii_lower): Deleted.
4650 (ucs_to_latin_viscii_upper): Deleted.
4651 (ucs_to_latin_tcvn5712): Deleted.
4652 (make_charset): Add new argument `decoding_table'; set up
4653 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4654 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4655 `decoding_table' is defined in UTF-2000.
4656 (Fmake_charset): Modify for `make_charset'.
4657 (Fmake_reverse_direction_charset): Likewise.
4658 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4659 and `GENERATE_96_SET'.
4661 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4662 (ucs_to_latin_jisx0201): Deleted.
4663 (latin_iso8859_2_to_ucs): Deleted.
4664 (ucs_to_latin_iso8859_2): Deleted.
4665 (latin_iso8859_3_to_ucs): Deleted.
4666 (ucs_to_latin_iso8859_3): Deleted.
4667 (latin_iso8859_4_to_ucs): Deleted.
4668 (ucs_to_latin_iso8859_4): Deleted.
4669 (latin_iso8859_9_to_ucs): Deleted.
4670 (ucs_to_latin_iso8859_9): Deleted.
4671 (latin_viscii_lower_to_ucs): Deleted.
4672 (ucs_to_latin_viscii_lower): Deleted.
4673 (latin_viscii_upper_to_ucs): Deleted.
4674 (ucs_to_latin_viscii_upper): Deleted.
4675 (struct Lisp_Charset): Renamed `encoding_table' to
4676 `to_byte1_table'; add `to_byte2_table'.
4677 (CHARSET_DECODING_TABLE): New macro.
4678 (CHARSET_TO_BYTE1_TABLE): New macro.
4679 (CHARSET_TO_BYTE2_TABLE): New macro.
4680 (XCHARSET_DECODING_TABLE): New macro.
4681 (XCHARSET_TO_BYTE1_TABLE): New macro.
4682 (XCHARSET_TO_BYTE2_TABLE): New macro.
4683 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4685 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4686 don't use `ucs_to_*' tables.
4688 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4690 * text-coding.c (Fmake_coding_system): Don't set up
4691 `codesys->fixed.size'.
4692 (encode_coding_no_conversion): Use `if' instead of `switch'.
4694 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4696 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4698 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4699 (Fmake_charset): Modify for `make_charset'.
4700 (Fmake_reverse_direction_charset): Likewise.
4701 (complex_vars_of_mule_charset): Likewise.
4703 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4705 * text-coding.c (char_encode_shift_jis): Use table
4706 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4708 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4710 * text-coding.c (text_encode_generic): Use `if' instead of
4712 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4715 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4717 * text-coding.c (encode_coding_sjis): Deleted.
4718 (char_encode_shift_jis): New function.
4719 (char_finish_shift_jis): New function.
4720 (reset_encoding_stream): Set up `encode_char' and `finish' for
4721 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4722 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4723 (char_encode_utf8): Treat `eol_type'.
4725 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4727 * file-coding.c (decode_coding_iso2022): Use
4728 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4730 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4732 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4735 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4737 * char-lb.h (CHAR_COLUMNS): New macro.
4739 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4741 * text-coding.c (char_encode_ucs4): New function.
4742 (char_finish_ucs4): New function.
4743 (encode_coding_ucs4): Deleted.
4744 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4745 (text_encode_generic): Delete local variable `charset' and `half'.
4746 (ucs_to_mule_table): Deleted.
4747 (mule_to_ucs_table): Deleted.
4748 (Fset_ucs_char): Deleted.
4749 (ucs_to_char): Deleted.
4750 (Fucs_char): Deleted.
4751 (Fset_char_ucs): Deleted.
4752 (Fchar_ucs): Deleted.
4753 (decode_ucs4): Deleted.
4754 (mule_char_to_ucs4): Deleted.
4755 (encode_ucs4): Deleted.
4756 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4757 (decode_coding_utf8): Likewise.
4758 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4759 (char_encode_iso2022): Fixed.
4760 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4761 `Fset_char_ucs' and `Fchar_ucs'.
4762 (complex_vars_of_file_coding): Don't initialize
4763 `ucs_to_mule_table'.
4765 * objects-tty.c (tty_initialize_font_instance): Don't use
4768 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4771 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4772 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4774 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4775 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4776 (emchar_string_displayed_columns): Likewise.
4778 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4779 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4780 (string_column_at_point): Likewise.
4781 (Fmove_to_column): Likewise.
4783 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4784 `encoding_table' and `decoding_table'.
4785 (CHARSET_REP_BYTES): Deleted.
4786 (XCHARSET_REP_BYTES): Deleted.
4787 (XCHARSET_COLUMNS): Deleted.
4788 (CHAR_COLUMNS): New macro.
4789 (lookup_composite_char): Deleted unconditionally.
4790 (composite_char_string): Likewise.
4792 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4794 * char-ucs.h (Emchar_to_byte_table): New type.
4795 (get_byte_from_character_table): New function interface.
4796 (Vcharset_latin_jisx0201): New variable.
4797 (latin_jisx0201_to_ucs): New variable.
4798 (ucs_to_latin_jisx0201): New variable.
4799 (Vcharset_latin_iso8859_2): New variable.
4800 (latin_iso8859_2_to_ucs): New variable.
4801 (ucs_to_latin_iso8859_2): New variable.
4802 (Vcharset_latin_iso8859_3): New variable.
4803 (latin_iso8859_3_to_ucs): New variable.
4804 (ucs_to_latin_iso8859_3): New variable.
4805 (Vcharset_latin_iso8859_4): New variable.
4806 (latin_iso8859_4_to_ucs): New variable.
4807 (ucs_to_latin_iso8859_4): New variable.
4808 (Vcharset_latin_iso8859_9): New variable.
4809 (latin_iso8859_9_to_ucs): New variable.
4810 (ucs_to_latin_iso8859_9): New variable.
4811 (Vcharset_latin_viscii_lower): New variable.
4812 (latin_viscii_lower_to_ucs): New variable.
4813 (ucs_to_latin_viscii_lower): New variable.
4814 (Vcharset_latin_viscii_upper): New variable.
4815 (latin_viscii_upper_to_ucs): New variable.
4816 (ucs_to_latin_viscii_upper): New variable.
4817 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4818 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4819 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4820 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4821 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4822 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4823 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4824 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4825 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4826 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4828 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4829 (Vcharset_latin_viscii_upper): New variable.
4830 (make_byte_from_character_table): New function.
4831 (put_byte_from_character_table): New function.
4832 (get_byte_from_character_table): New function.
4833 (CHAR96): New macro.
4834 (ucs_to_latin_jisx0201): New variable.
4835 (latin_jisx0201_to_ucs): New variable.
4836 (ucs_to_latin_iso8859_2): New variable.
4837 (latin_iso8859_2_to_ucs): New variable.
4838 (ucs_to_latin_iso8859_3): New variable.
4839 (latin_iso8859_3_to_ucs): New variable.
4840 (ucs_to_latin_iso8859_4): New variable.
4841 (latin_iso8859_4_to_ucs): New variable.
4842 (ucs_to_latin_iso8859_9): New variable.
4843 (latin_iso8859_9_to_ucs): New variable.
4844 (ucs_to_latin_viscii_lower): New variable.
4845 (latin_viscii_lower_to_ucs): New variable.
4846 (ucs_to_latin_viscii_upper): New variable.
4847 (latin_viscii_upper_to_ucs): New variable.
4848 (ucs_to_latin_tcvn5712): New variable.
4849 (latin_tcvn5712_to_ucs): New variable.
4850 (Qlatin_viscii_lower): New variable.
4851 (Qlatin_viscii_upper): New variable.
4852 (syms_of_mule_charset): Set up new symbol
4853 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4854 (complex_vars_of_mule_charset): Set up new charset
4855 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4856 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4857 `ucs_to_<CHARSET>' tables.
4859 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4861 * text-coding.c: New file.
4863 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4865 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4867 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4868 (MAKE_CHAR): Modify for `ucs-bmp'.
4869 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4870 non-MULE characters of BMP.
4872 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4874 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4877 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4880 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4881 - Include character.h for `CHAR_ASCII_P'.
4883 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4885 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4886 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4888 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4889 (BYTE_C0_P): Likewise.
4890 (BYTE_C1_P): Likewise.
4891 (Lstream_get_emchar_1): Likewise.
4892 (Lstream_fput_emchar): Likewise.
4893 (Lstream_funget_emchar): Likewise.
4894 (copy_internal_to_external): Likewise.
4895 (copy_external_to_internal): Likewise.
4897 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4898 (BYTE_C0_P): Likewise.
4899 (BYTE_C1_P): Likewise.
4900 (Lstream_get_emchar_1): Likewise.
4901 (Lstream_fput_emchar): Likewise.
4902 (Lstream_funget_emchar): Likewise.
4903 (copy_internal_to_external): Likewise.
4904 (copy_external_to_internal): Likewise.
4906 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4907 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4909 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4910 (BYTE_ASCII_P): Moved to mb-1byte.h.
4912 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4914 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4916 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4917 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4918 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4919 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4920 (VALIDATE_CHARPTR_FORWARD): Likewise.
4921 (simple_charptr_emchar): Moved to mb-multibyte.h.
4922 (simple_set_charptr_emchar): Likewise.
4923 (simple_charptr_copy_char): Likewise.
4924 (non_ascii_charptr_emchar): Likewise.
4925 (non_ascii_set_charptr_emchar): Likewise.
4926 (non_ascii_charptr_copy_char): Likewise.
4927 (charptr_emchar): Moved to mb-*byte.h.
4928 (set_charptr_emchar): Likewise.
4929 (charptr_copy_char): Likewise.
4931 * mb-1byte.h, mb-multibyte.h: New files.
4933 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4935 * mb-utf-8.h (MULTIBYTE): New macro.
4936 (MAX_EMCHAR_LEN): Moved from buffer.h.
4937 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4939 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4941 * mb-lb.h, multibyte.h: New files.
4943 * char-1byte.h (Charset_ID): Moved from buffer.h.
4944 (MIN_LEADING_BYTE): Likewise.
4945 (LEADING_BYTE_ASCII): Likewise.
4946 (NUM_LEADING_BYTES): Likewise.
4947 (CHARSETP): Likewise.
4948 (CHARSET_BY_LEADING_BYTE): Likewise.
4949 (XCHARSET_LEADING_BYTE): Likewise.
4950 (XCHARSET_GRAPHIC): Likewise.
4951 (XCHARSET_COLUMNS): Likewise.
4952 (XCHARSET_DIMENSION): Likewise.
4953 (CHAR_CHARSET): Likewise.
4954 (CHAR_LEADING_BYTE): Likewise.
4955 (BREAKUP_CHAR): Likewise.
4956 (Vcharset_ascii): Likewise.
4958 * buffer.h: Include multibyte.h unconditionally.
4959 (VALID_CHARPTR_P): Moved to multibyte.h.
4960 (ASSERT_VALID_CHARPTR): Likewise.
4961 (REAL_INC_CHARPTR): Likewise.
4962 (REAL_INC_CHARBYTIND): Likewise.
4963 (REAL_DEC_CHARPTR): Likewise.
4964 (INC_CHARPTR): Likewise.
4965 (INC_CHARBYTIND): Likewise.
4966 (DEC_CHARPTR): Likewise.
4967 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4968 (VALIDATE_CHARPTR_FORWARD): Likewise.
4969 (charptr_n_addr): Likewise.
4970 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4971 (simple_charptr_emchar): Moved to multibyte.h.
4972 (simple_set_charptr_emchar): Likewise.
4973 (simple_charptr_copy_char): Likewise.
4974 (non_ascii_charptr_emchar): Likewise.
4975 (non_ascii_set_charptr_emchar): Likewise.
4976 (non_ascii_charptr_copy_char): Likewise.
4977 (charptr_emchar): Likewise.
4978 (set_charptr_emchar): Likewise.
4979 (charptr_copy_char): Likewise.
4980 (charptr_emchar_n): Likewise.
4981 (Charset_ID): Moved to char-1byte.h.
4982 (Vcharset_ascii): Likewise.
4983 (CHAR_CHARSET): Likewise.
4984 (CHAR_LEADING_BYTE): Likewise.
4985 (LEADING_BYTE_ASCII): Likewise.
4986 (NUM_LEADING_BYTES): Likewise.
4987 (MIN_LEADING_BYTE): Likewise.
4988 (CHARSETP): Likewise.
4989 (CHARSET_BY_LEADING_BYTE): Likewise.
4990 (XCHARSET_LEADING_BYTE): Likewise.
4991 (XCHARSET_GRAPHIC): Likewise.
4992 (XCHARSET_COLUMNS): Likewise.
4993 (XCHARSET_DIMENSION): Likewise.
4994 (BREAKUP_CHAR): Likewise.
4996 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4998 * character.h: Add document about interface for characters.
5000 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5001 (MAKE_CHAR): Delete comment about
5002 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5003 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5004 (BREAKUP_CHAR): Modify name of arguments.
5005 (CHAR_CHARSET): Modify name of argument.
5007 * buffer.h: Delete document about Emchar accessors.
5009 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5011 * character.h (CHAR_INTP): Moved from buffer.h
5012 (CHAR_OR_CHAR_INTP): Likewise.
5013 (XCHAR_OR_CHAR_INT): Likewise.
5014 (CHECK_CHAR_COERCE_INT): Likewise.
5016 * buffer.h (CHAR_INTP): Moved to character.h
5017 (CHAR_OR_CHAR_INTP): Likewise.
5018 (XCHAR_OR_CHAR_INT): Likewise.
5019 (CHECK_CHAR_COERCE_INT): Likewise.
5021 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5024 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5025 - Include char-1byte.h, char-lb.h or char-ucs.h.
5027 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5029 * buffer.h: Include character unconditionally.
5030 (valid_char_p): Moved to char-*.h.
5031 (non_ascii_valid_char_p): Moved to char-lb.h.
5033 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5035 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5037 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5038 in UTF-2000 because it is not ported yet and not to use
5039 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5040 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5041 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5043 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5044 (CHAR_ASCII_P): Moved from character.h.
5046 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5047 (CHAR_ASCII_P): Likewise.
5048 (CHAR_FIELD1_MASK): Deleted.
5049 (CHAR_FIELD2_MASK): Deleted.
5050 (CHAR_FIELD3_MASK): Deleted.
5051 (MAX_CHAR_BASIC_LATIN): New macro.
5052 (CHAR_FIELD1): Deleted.
5053 (CHAR_FIELD2_INTERNAL): Deleted.
5054 (CHAR_FIELD3_INTERNAL): Deleted.
5055 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5056 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5057 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5058 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5059 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5060 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5061 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5062 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5063 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5064 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5065 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5066 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5067 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5068 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5069 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5070 (MIN_CHAR_COMPOSITION): Deleted.
5071 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5072 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5074 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5076 * buffer.h: Include mb-utf-8.h in UTF-2000.
5078 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5080 * mb-utf-8.h: New file.
5082 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5084 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5087 * mule-charset.h, buffer.h (Charset_ID): New type.
5089 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5091 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5092 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5093 instead of `MULE_CHAR_PRIVATE_OFFSET',
5094 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5095 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5096 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5098 * character.h (Vcharset_japanese_jisx0212): New variable
5101 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5103 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5104 (charset_by_attributes): Delete array about direction.
5105 (latin_a_char_to_charset): New variable in UTF-2000.
5106 (latin_a_char_to_byte1): New variable in UTF-2000.
5107 (latin_a_char_to_byte2): New variable in UTF-2000.
5108 (Qucs_bmp): New variable.
5109 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5111 (next_allocated_2_byte_leading_byte): Likewise.
5112 (non_ascii_set_charptr_emchar): Likewise.
5113 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5114 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5115 `charset_by_attributes'.
5116 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5117 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5118 and `CHARSET_BY_LEADING_BYTE'.
5119 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5120 `utf-2000-version' to `vars_of_mule_charset'.
5121 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5122 define `leading-code-private-11' in UTF-2000; move setting of
5123 `utf-2000-version' from `syms_of_mule_charset'.
5124 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5127 * character.h (Charset_ID): New type.
5128 (LEADING_BYTE_UCS_BMP): New macro.
5129 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5130 (CHARSET_ID_OFFSET_94): New macro.
5131 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5132 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5133 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5135 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5136 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5137 (CHARSET_ID_OFFSET_96): New macro.
5138 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5139 CHARSET_ID_OFFSET_96 and final-byte.
5140 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5141 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5142 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5143 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5144 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5145 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5146 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5147 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5148 (LEADING_BYTE_THAI_TIS620): Likewise.
5149 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5150 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5151 (CHARSET_ID_OFFSET_94x94): New macro.
5152 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5153 CHARSET_ID_OFFSET_94x94 and final-byte.
5154 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5155 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5156 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5157 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5158 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5159 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5160 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5161 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5162 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5163 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5164 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5165 (CHARSET_TYPE_128X128): New macro.
5166 (CHARSET_TYPE_256X256): New macro.
5167 (XCHARSET_PRIVATE_P): Delete unconditionally.
5168 (charset_by_attributes): Delete array about direction.
5169 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5170 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5171 (MIN_CHAR_94): New macro.
5172 (MAX_CHAR_94): New macro.
5173 (MIN_CHAR_96): New macro.
5174 (MAX_CHAR_96): New macro.
5175 (MIN_CHAR_94x94): New macro.
5176 (MAX_CHAR_94x94): New macro.
5177 (MIN_CHAR_96x96): New macro.
5178 (MAX_CHAR_96x96): New macro.
5179 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5180 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5181 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5183 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5184 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5185 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5186 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5187 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5188 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5189 `XCHARSET_LEADING_BYTE' to make code-point.
5190 (latin_a_char_to_charset): New variable.
5191 (latin_a_char_to_byte1): New variable.
5192 (latin_a_char_to_byte2): New variable.
5193 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5194 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5195 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5197 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5198 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5199 (find_charsets_in_emchar_string): Likewise.
5200 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5202 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5204 (decode_coding_iso2022): Likewise.
5206 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5209 * redisplay.c (redisplay_text_width_emchar_string): Use
5210 `Charset_ID' instead of `unsigned char'.
5211 (redisplay_frame_text_width_string): Likewise.
5213 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5216 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5217 instead of `unsigned char'.
5218 (face_cachel_charset_font_metric_info): Likewise.
5220 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5221 (get_non_ascii_char_table_value): Likewise.
5222 (get_char_table): Likewise.
5223 (put_char_table): Likewise.
5224 (map_over_other_charset): Likewise.
5225 (map_char_table): Likewise.
5227 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5228 instead of `unsigned char'.
5230 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5232 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5233 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5235 * mule-charset.c (leading_code_private_11): Don't define in
5238 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5239 in UTF-2000 because it is not ported yet and not to use
5240 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5242 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5244 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5246 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5248 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5251 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5252 of unsigned char to store leading-byte.
5254 * chartab.c (get_non_ascii_char_table_value): Don't use
5255 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5257 * file-coding.c (encode_coding_big5): Delete bogus implementation
5260 * character.h (LEADING_BYTE_*): Delete definition for
5262 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5263 (LEADING_BYTE_PREFIX_P): Deleted.
5264 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5265 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5266 (BUFBYTE_LEADING_BYTE_P): Deleted.
5267 (CHARSET_PRIVATE_P): Deleted unconditionally.
5268 (rep_bytes_by_first_byte): Deleted unconditionally.
5269 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5270 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5271 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5272 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5273 (CHAR_FIELD2): Deleted.
5274 (CHAR_FIELD3): Deleted.
5275 (MAKE_CHAR): Delete definition for non-UTF-2000.
5276 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5277 (breakup_char_1): New implementation.
5278 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5279 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5281 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5283 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5286 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5288 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5289 (CHARSET_PRIVATE_P): Likewise.
5290 (XCHARSET_PRIVATE_P): Likewise.
5291 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5293 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5295 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5297 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5299 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5300 (NUM_LEADING_BYTES): Changed from 128 to 256.
5301 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5302 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5304 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5306 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5308 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5309 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5310 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5311 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5312 (Qchinese_cns11643_3): New variable in UTF2000.
5313 (Qchinese_cns11643_4): New variable in UTF2000.
5314 (Qchinese_cns11643_5): New variable in UTF2000.
5315 (Qchinese_cns11643_6): New variable in UTF2000.
5316 (Qchinese_cns11643_7): New variable in UTF2000.
5317 (syms_of_mule_charset): Define `chinese-cns11643-3',
5318 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5319 and `chinese-cns11643-7' in UTF2000.
5320 (vars_of_mule_charset): Initialize
5321 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5323 (complex_vars_of_mule_charset): Setup charset
5324 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5325 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5327 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5329 * mule-charset.c: Move setting for `leading-code-private-11' from
5330 `syms_of_mule_charset' to `vars_of_mule_charset'.
5332 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5334 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5335 and `NUM_LEADING_BYTES' in assert.
5337 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5339 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5341 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5342 `NUM_LEADING_BYTES' instead of 128.
5344 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5346 * mule-charset.h (charset_by_leading_byte): Use
5347 `NUM_LEADING_BYTES' instead of 128.
5348 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5350 * mule-charset.c (charset_by_leading_byte): Use
5351 `NUM_LEADING_BYTES' instead of 128.
5352 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5354 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5357 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5359 * mule-charset.c (syms_of_mule_charset): Update to
5362 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5364 * file-coding.c (encode_coding_sjis): New implementation for
5365 UTF2000. (decode_coding_sjis): Ditto.
5367 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5369 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5370 Don't define in UTF2000.
5372 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5375 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5376 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5379 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5381 * config.h.in (CHAR_IS_UCS4): New macro.
5383 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5384 conventional MULE representation.
5385 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5387 * mule-charset.h: Reverted to original.
5389 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5390 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5391 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5393 * character.h: New file.
5395 * file-coding.c (Fmake_coding_system): Set 1 to
5396 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5398 (encode_coding_no_conversion): New implementation for UTF2000.
5400 * file-coding.h (struct Lisp_Coding_System): Add new member
5403 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5405 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5406 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5407 (encode_coding_iso2022): New implementation for UTF2000.
5409 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5411 * mule-canna.c (c2mu): New implementation for UTF2000.
5414 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5416 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5418 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5420 * file-coding.c (reset_encoding_stream): Set 0 to
5421 `str->iso2022.current_char_boundary' in UTF2000.
5422 (encode_utf8): Don't define in UTF2000.
5423 (encode_coding_utf8): New implementation for UTF-8 representation
5425 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5427 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5429 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5431 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5433 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5435 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5437 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5438 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5439 as UTF-8 in UTF2000.
5440 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5441 (non_ascii_valid_char_p): Don't define in UTF2000.
5442 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5443 (Lstream_get_emchar_1): Likewise.
5444 (utf-2000-version): New variable in UTF2000.
5446 * lread.c (read_escape): Add new reader `u'.
5448 * insdel.c (three_to_one_table): Don't define in UTF2000.
5449 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5450 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5452 (bytind_to_bufpos_func): Likewise.
5453 (buffer_mule_signal_inserted_region): Likewise.
5454 (vars_of_insdel): Don't initialize `three_to_one_table'.
5455 (init_buffer_text): Use `buf->text->mule_size' instead of
5456 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5459 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5460 UTF-8 representation in UTF2000.
5461 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5462 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5463 (decode_coding_iso2022): Don't define local variable `lb' in
5464 UTF2000; don't use LEADING_BYTE in UTF2000; use
5465 `DECODE_ADD_UCS_CHAR' in UTF2000.
5466 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5468 * config.h.in (UTF2000): New macro.
5470 * buffer.h (struct buffer_text): Add new member `mule_size' and
5471 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5472 (valid_char_p): Return always 1 in UTF2000.
5473 (MAX_EMCHAR_LEN): 6 in UTF2000.
5474 (three_to_one_table): Don't define in UTF2000.
5475 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5477 (real_bytind_to_bufpos): Likewise.
5479 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5481 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5483 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5484 representation change.
5485 (Vutf_2000_version): New variable.
5486 (leading_code_private_11): New variable.
5487 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5488 `leading-code-private-11'.
5490 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5491 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5492 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5493 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5494 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5495 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5496 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5497 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5498 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5499 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5500 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5501 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5502 (MIN_CHAR_GREEK): New macro.
5503 (MAX_CHAR_GREEK): New macro.
5504 (MIN_CHAR_CYRILLIC): New macro.
5505 (MAX_CHAR_CYRILLIC): New macro.
5506 (MIN_CHAR_HEBREW): New macro.
5507 (MAX_CHAR_HEBREW): New macro.
5508 (MIN_CHAR_THAI): New macro.
5509 (MAX_CHAR_THAI): New macro.
5510 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5511 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5512 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5513 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5514 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5515 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5516 (CHAR_FIELD2): New inline function.
5517 (CHAR_FIELD3): New inline function.
5518 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5519 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5520 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5521 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5522 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5523 (MIN_CHAR_COMPOSITION): Likewise.
5524 (CHAR_LEADING_BYTE): Modified for character representation change.
5525 (MAKE_CHAR): Likewise.
5527 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5528 (Vcharset_greek_iso8859_7): Likewise.
5529 (Vcharset_cyrillic_iso8859_5): Likewise.
5530 (Vcharset_hebrew_iso8859_8): Likewise.
5531 (Vcharset_thai_tis620): Likewise.
5532 (Vcharset_katakana_jisx0201): Likewise.
5534 2004-02-02 Vin Shelton <acs@xemacs.org>
5536 * XEmacs 21.4.15 is released
5538 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
5540 * device-x.c (x_error_handler): Don't call stderr_out
5542 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
5544 * buffer.c (other-buffer): Clarify documentation of order of
5545 arguments for FSF Emacs.
5547 2003-10-11 Olivier Galibert <galibert@pobox.com>
5549 * window.c (Fdelete_window): Dirty the mirror structure _before_
5550 marking the window deleted.
5552 2003-09-15 Jerry James <james@xemacs.org>
5554 * event-msw.c (debug_mswin_messages): Conditionally compile
5555 messages missing from the Cygwin headers.
5557 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
5559 * data.c (eq_with_ebola_notice): Fix typo in comment.
5560 (Ftrue_list_p): Improve docstring.
5562 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
5564 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
5566 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
5568 * search.c (trivial_regexp_p): Regexps containing "\{" are
5569 nontrivial. Thanks to Manfred Bartz for reporting the bug and
5570 Stefan Monnier for suggesting a diagnosis.
5572 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
5574 * elhash.c (make-hash-table): Clarify use of :test #'equal.
5576 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
5578 * search.c (Fsearch_forward):
5580 Document negative count.
5582 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
5584 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
5586 2003-09-13 Martin Buchholz <martin@xemacs.org>
5588 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
5590 2003-09-15 Vin Shelton <acs@xemacs.org>
5592 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
5595 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5597 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
5598 (re_search_2): Match the first byte of Bufbyte, not Emchar.
5599 (re_match_2_internal): Use TRANSLATE instead of
5600 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
5601 non-ASCII char case conversion.
5603 2003-09-08 Mike Sperber <mike@xemacs.org>
5605 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
5606 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
5608 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
5610 * .gdbinit (pobj): fix printing of symbol name.
5612 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
5614 * frame-x.c (x_layout_widgets): When resizing is about to cause
5615 frame size slip, mark it for redisplay.
5617 2003-08-18 Jerry James <james@xemacs.org>
5619 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
5621 2003-09-03 Vin Shelton <acs@xemacs.org>
5623 * XEmacs 21.4.14 is released
5625 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5627 * config.h.in (REGEX_MALLOC): Make it configure'able.
5629 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5631 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5633 * sysdll.c (dll_init):
5634 * sysdll.c (dll_open):
5635 * sysdll.c (dll_close):
5636 * sysdll.c (dll_function):
5637 * sysdll.c (dll_variable):
5638 * sysdll.c (dll_error):
5639 Add support for loading bundles using Darwin/MacOSX
5642 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5644 * process.c (start-process-internal): Document coding systems.
5646 2003-07-30 Jerry James <james@xemacs.org>
5648 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5650 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5652 * event-msw.c (mswindows_enqueue_mouse_button_event):
5653 * event-msw.c (mswindows_wnd_proc):
5654 enqueue button event when scrollwheel event isn't handled by
5655 mswindows_handle_mousewheel_event, such as when the scrollbars
5658 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5660 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5662 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5664 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5666 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5668 * regex.c (re_match_2_internal): Fix matching degenerate word
5671 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5673 * XEmacs 21.4.13 is released
5675 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5677 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5678 * lisp.h (<inttypes.h>):
5679 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5682 2003-03-15 Martin Buchholz <martin@xemacs.org>
5684 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5685 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5686 Result: "temacs can only be run in -batch mode."
5687 Fix: Check xemacs executable candidate for directory-ness.
5689 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5691 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5692 they conflict with <sys/types.h>.
5694 2003-02-14 Martin Buchholz <martin@xemacs.org>
5696 * database.c: Berkeley DB wants __STDC__ to be defined.
5698 2003-02-13 Martin Buchholz <martin@xemacs.org>
5700 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5702 2003-02-01 Martin Buchholz <martin@xemacs.org>
5704 * process-unix.c (unix_send_process): Fix C++ compile error.
5706 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5708 * Added .dylib as an acceptable shared library file extension
5709 * to support MacOSX.
5711 2003-02-01 Martin Buchholz <martin@xemacs.org>
5713 * EmacsFrameP.h (EmacsFramePart):
5714 Kludge to allow compiling with Motif1, but linking with Motif2.
5716 2003-01-28 Martin Buchholz <martin@xemacs.org>
5718 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5721 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5723 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5725 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5727 * sysdll.c: Included lisp.h to define needed alloca_array.
5729 2003-02-13 Martin Buchholz <martin@xemacs.org>
5731 Make XEmacs redisplay 10 times faster.
5732 If, that is, you're using a slow X connection and MoveOpaque.
5733 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5734 Use compress_motion = TRUE.
5735 * EmacsFrame.c (emacsFrameClassRec):
5736 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5737 * EmacsManager.c (emacsManagerClassRec):
5738 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5740 2003-01-30 Vin Shelton <acs@xemacs.org>
5742 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5744 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5746 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5747 Patch by Martin Buchholz.
5749 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5751 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5752 Thanks to icc for warning and Martin Buchholz for reporting.
5754 2003-01-29 Vin Shelton <acs@xemacs.org>
5756 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5758 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5759 remember to multiply by the element size.
5761 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5763 * XEmacs 21.4.12 "Portable Code" is released.
5765 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5767 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5768 * s/cygwin.sc: new linker file.
5770 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5772 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5774 * redisplay-x.c (x_output_string): Use X11-specified types.
5775 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5776 * emacs.c (__free_hook): Use typeof with Intel compiler.
5777 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5779 2003-01-08 Andy Piper <andy@xemacs.org>
5781 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5782 reserve size during unexec().
5784 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5786 * process-unix.c (unix_create_process): Don't let outchannel block.
5788 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5790 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5791 Needed for IsBadReadPtr().
5793 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5795 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5797 2002-12-14 Ben Wing <ben@xemacs.org>
5799 * callint.c: Declaration error.
5801 * dumper.c (pdump_load): Warning fix.
5802 * process.c: GCPRO error.
5803 * glyphs.c (unmap_subwindow):
5804 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5805 * event-stream.c (maybe_kbd_translate): Wrong argument to
5806 character_to_event().
5808 * alloc.c (garbage_collect_1):
5810 * emacs.c (debug_can_access_memory):
5811 * emacs.c (fatal_error_signal):
5812 * emacs.c (mswindows_handle_hardware_exceptions):
5815 * emacs.c (assert_failed):
5816 * emacs.c (syms_of_emacs):
5819 * print.c (std_handle_out_va):
5820 * print.c (write_string_to_stdio_stream):
5821 * print.c (write_fmt_string):
5822 * print.c (printing_badness):
5823 * print.c (printing_major_badness):
5824 * print.c (print_internal):
5825 * print.c (debug_print_no_newline):
5826 * print.c (debug_backtrace):
5827 Be more defensive in handling bad values when printing. Add code
5828 from trunk involving inhibit_non_essential_printing_operations.
5829 When going down or in debug_print(), don't do external conversion
5830 and such and try really, really hard when printing to avoid core
5831 dumping. Add force-debugging-signal, debug_break().
5833 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5835 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5836 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5838 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5840 * database.c: Fix open_database. Berkeley DB API has changed in
5841 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5843 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5845 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5847 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5849 * event-Xt.c (Xt_timeout):
5850 (Xt_timeout_callback):
5851 (emacs_Xt_add_timeout):
5852 (emacs_Xt_remove_timeout):
5853 (Xt_timeout_to_emacs_event):
5854 Turn completed_timeouts from a stack into a queue. Fixes
5855 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5857 2002-11-07 Wolfram Gloger <wg@malloc.de>
5859 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5860 * emacs.c (main): Assert that mmap'd allocation is disabled.
5862 2002-10-14 Andy Piper <andy@xemacs.org>
5864 * glyphs-widget.c (layout_query_geometry): add in fiddle
5865 factor. Include border text in width layout calculation.
5866 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5868 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5870 * XEmacs 21.4.10 "Military Intelligence" is released.
5872 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5874 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5875 using the NAS private array SoundFileInfo that no longer exists in
5876 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5877 and earlier. This is broken for some versions between 1.5a and
5880 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5882 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5884 * emacs.c (shut_down_emacs): Improve crash message.
5886 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5888 * file-coding.c (determine_real_coding_system): Check for coding
5889 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5890 shebangs and Python PEP 263.
5892 2002-10-08 Andy Piper <andy@xemacs.org>
5894 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5895 if static sizes haven't been set.
5897 2002-08-30 Mike Alexander <mta@arbortext.com>
5899 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5902 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5904 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5906 2002-09-20 Mike Sperber <mike@xemacs.org>
5908 (This partially gets back my patch from 2002-07-20 without the
5910 * callproc.c (child_setup): Remove Ben's comment noting confusion
5911 over the file descriptors >= 3: close_process_descs() doesn't
5912 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5913 * process-unix.c (unix_create_process): Call
5914 begin_dont_check_for_quit to inhibit unwanted interaction (and
5915 thus breaking of X event synchronicity) in the child.
5917 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5919 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5922 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5924 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5925 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5926 the xemacs process did not exit, but looped infinitely here. This
5929 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5931 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5932 (find_context): Improve comments.
5934 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5935 (re_match_2): An XCHAR_TABLE operation was missing.
5937 Many of the following changes were inspired by Andy Piper's (now
5938 obsolete) patch to make syntax-table text property lookup optional.
5942 * syntax.h (top level): Document semantics of syntax flags.
5943 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5944 * syntax.c, syntax.h (top level): Document syntax cache better in
5947 [Instrument syntax caching (temporary change)]
5949 * syntax.h (enum syntax_cache_statistics_functions, struct
5950 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5951 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5952 * syntax.c (scan_words, Fforward_comment, scan_lists,
5953 Fbackward_prefix_characters):
5954 * font-lock.c (find_context):
5955 Use them to instrument syntax caching.
5956 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5957 syntax_cache_statistics_function_names): New type and variables.
5958 * syntax.c (update_syntax_cache): Update and report statistics.
5960 [Major syntax cache optimizations]
5962 syntax.c (lookup_syntax_properties): Default off.
5964 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5965 * syntax.c (update_syntax_cache):
5966 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5968 [Minor syntax cache optimizations and code clarifications]
5970 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5971 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5972 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5973 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5974 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5975 (Code clarification.)
5977 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5978 scan_lists): Compute code from syncode, use Boolean macros instead
5979 of redundant masking operations. (Code clarification; any decent
5980 compiler can do this optimization.)
5982 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5985 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5986 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5987 use F*_single_property_change instead of F*_extent_change.
5988 Currently F*_single_property_change is _much_ less efficient.
5990 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5991 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5992 syntax_cache.object properly, don't leave Qt or Qnil.
5993 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5994 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5995 tests for Qt or Qnil.
5997 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5999 * redisplay.c (point_in_line_start_cache):
6000 * extents.c (print_extent_1):
6003 * extents.c (Fset_extent_property): Document `syntax-table' property.
6005 * extents.h (Fnext_single_property_change): EXFUN it.
6007 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6009 * search.c (clear_unused_search_regs): New static function.
6013 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6014 Minor clarifications in comments.
6016 * regex.c (re_match_2_internal): Ensure no stale submatches.
6018 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6020 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6022 2002-08-29 Jerry James <james@xemacs.org>
6024 * lisp.h: structrures -> structures.
6026 2002-06-03 Andy Piper <andy@xemacs.org>
6028 * frame.c (frame_conversion_internal): add conversion appropriate
6029 for setting frame dimensions in pixels.
6031 * console.h (struct console_methods): add device-specific widget
6034 * emacs.c (main_1): initialize glyph vars.
6036 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6037 (handle_focus_event_2): new function. Allow focus to
6038 be set to a particular window and widget.
6039 (enqueue_focus_event): new function. Create a
6040 synthetic focus event.
6041 (emacs_Xt_handle_magic_event): call
6042 handle_focus_event_2.
6044 * frame.c (Fset_frame_pixel_height): new function. Allow
6045 pixel-based sizing. Does the right thing on character-oriented
6047 (Fset_frame_pixel_width): ditto.
6048 (Fset_frame_pixel_size): ditto.
6049 (syms_of_frame): declare.
6051 * general-slots.h: add :vertically-justify and
6052 :horizontally-justify.
6054 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6055 (mswindows_widget_border_width): new function.
6056 (mswindows_combo_box_instantiate): set border widths.
6057 (console_type_create_glyphs_mswindows): declare.
6060 (check_valid_justification): allow vertical and horizontal
6062 (widget_border_width): new function. Call device methods.
6063 (widget_instance_border_width): ditto.
6064 (logical_unit_height): new function. Determine the height of a
6065 logical-unit. Logical units are intended to provide grid-like
6066 layout for subcontrols in a layout. If the layout is
6067 :vertically-justify top then subcontrols will be positioned on
6068 logical-unit boundaries, thus allowing adjacent subcontrols to
6070 (widget_logical_unit_height): ditto for widgets.
6071 (redisplay_widget): misc cleanup.
6072 (widget_spacing): new function. Call device specific
6073 methods. Intended to be the default gap between adjacent widgets.
6074 (widget_query_geometry): use new spacing functions to determine
6075 appropriate geometry.
6076 (initialize_widget_image_instance): initialize horizontal and
6077 vertical justification.
6078 (widget_instantiate): use logica-units where appropriate for
6079 sizing large widgets.
6080 (button_query_geometry): use widget_instance_border_width.
6081 (tree_view_query_geometry): ditto.
6082 (tab_control_query_geometry): ditto.
6083 (edit_field_query_geometry): new function.
6084 (layout_update): pick up :justify, :horizontally-justify and
6085 :vertically-justify none of which worked previously. :justify is
6086 used as a fallback for both horizontal and vertical justification.
6087 (layout_query_geometry): use logical units to size appropriately.
6088 (layout_layout): ditto.
6089 (Fwidget_logical_to_character_width): new function. Allow users to
6090 convert from logical units to characters so that frame sizes can
6091 be set appropriately.
6092 (Fwidget_logical_to_character_height): ditto.
6093 (syms_of_glyphs_widget): declare.
6094 (image_instantiator_edit_fields): add edit_field_query_geometry.
6095 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6096 :horizontally-justify.
6097 (specifier_vars_of_glyphs_widget): new function. Declare
6098 Vwidget_border_width which is not yet used.
6100 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6101 (x_widget_border_width): new function.
6102 (x_widget_instantiate): create a sensible name for widgets.
6103 (console_type_create_glyphs_x): declare x_widget_border_width.
6105 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6106 (struct Lisp_Image_Instance): add :vertically-justify and
6107 :horizontally-justify.
6108 (LAYOUT_JUSTIFY_TOP): new.
6109 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6110 (ROUND_UP): new macro. Round argument up to next integral
6113 * redisplay-output.c (redisplay_output_layout): misc formatting.
6115 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6117 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6119 * XEmacs 21.4.9 "Informed Management" is released.
6121 2002-08-19 Andy Piper <andy@xemacs.org>
6123 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6126 * realpath.c (xrealpath): normalize drive spec also so that dir
6127 sep chars are not mixed on cygwin.
6129 2002-08-06 Jerry James <james@xemacs.org>
6131 * window.c (Fsplit_window): Count only half of the divider width
6132 against the left window when splitting horizontally.
6134 2002-06-24 Andy Piper <andy@xemacs.org>
6136 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6137 toolbar was cleared.
6139 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6140 function. Split out from mswindows_output_frame_toolbars.
6141 (mswindows_output_frame_toolbars): move clear pieces to
6142 mswindows_output_frame_toolbars.
6144 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6145 out from gtk_output_frame_toolbars.
6146 (gtk_output_frame_toolbars): move clear pieces to
6147 gtk_clear_frame_toolbars.
6149 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6150 the frame is cleared. How this ever worked before is a mystery.
6151 (x_output_frame_toolbars): Only output toolbars.
6152 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6154 * gutter.c (update_gutter_geometry):
6155 Mark frame layout changed.
6156 (update_frame_gutter_geometry, update_frame_gutters):
6157 Respect frame_layout_changed.
6159 * console.h (struct console_methods): add
6160 clear_frame_toolbars_method.
6162 * redisplay.c (redisplay_frame): call
6163 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6165 * toolbar.h: declare update_frame_toolbars_geometry.
6167 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6168 out from update_frame_toolbars. Call clear_frame_toolbars.
6169 (update_frame_toolbars): only output, do not change geometry.
6171 * redisplay.c: add frame_layout_changed.
6173 * redisplay.h: add frame_layout_changed.
6174 (CLASS_RESET_CHANGED_FLAGS): set it.
6175 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6176 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6177 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6179 * device.h (struct device): add frame_layout_changed.
6180 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6182 * frame.h (struct frame): add frame_layout_changed.
6183 (MARK_FRAME_LAYOUT_CHANGED): new.
6185 2002-06-30 Mike Alexander <mta@arbortext.com>
6187 * event-msw.c (mswindows_need_event): Don't wait for a new message
6188 if the queue is not empty. Suggested by Paul Moore.
6190 2002-06-12 Andy Piper <andy@xemacs.org>
6192 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6193 for printing on accurately.
6195 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6197 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6198 WM_ACTIVATE message. Make sure that the frame is visible if the
6199 window is visible. This seemss to fix the problem where XEmacs
6200 appears to freeze after switching desktops with certain virtual
6202 (debug_output_mswin_message): Added code to output message
6203 parameters for WM_WINDOWPOSCHANGED,
6204 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6206 2002-05-25 Andy Piper <andy@xemacs.org>
6208 * select-x.c (vars_of_select_x): Fix docstring of
6209 x-selection-strict-motif-ownership
6211 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6213 * keymap.c (get_keymap):
6214 Add comment about do_autoload GCPROs own args.
6216 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6218 * bytecode.c (execute_optimized_program): check_opcode ifdef
6219 ERROR_CHECK_BYTE_CODE.
6221 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6223 Thanks to Ben Wing and Michael Sperber.
6225 * eval.c (Fcommand_execute):
6228 (Fmacroexpand_internal):
6229 (function_argcount):
6230 callint.c (Fcall_interactively):
6231 Add comment about do_autoload GCPROs own args.
6233 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6235 * eval.c (Ffuncall): Extra braces to placate GCC.
6237 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6239 * backtrace.h (grow_specpdl):
6241 * EmacsFrame.c (EmacsFrameSetValues):
6242 * eval.c (grow_specpdl):
6243 * ExternalShell.c (hack_event_masks_1):
6244 * glyphs-x.c (convert_EImage_to_XImage):
6245 (x_finalize_image_instance):
6246 * ralloc.c (page_size):
6248 * xgccache.c (gc_cache_hash):
6249 Fix unsigned comparison warnings.
6251 2002-07-29 Jerry James <james@xemacs.org>
6253 * lread.c (locate_file): Any nonnegative return value indicates
6254 success if MODE is nonnegative.
6256 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6258 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6261 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6263 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6265 * dumper.c (pdump_get_indirect_count):
6266 (pdump_scan_by_alignment):
6267 (pdump_dump_root_struct_ptrs):
6268 (pdump_dump_rtables):
6269 (pdump_dump_root_objects):
6271 * nas.c (WaveOpenDataForReading):
6272 * fns.c (print_bit_vector):
6273 * font-lock.c (SINGLE_SYNTAX_STYLE):
6274 * glyphs.c (check_for_ignored_expose):
6275 (find_matching_subwindow):
6277 * imgproc.c (get_histogram):
6278 * redisplay.c (point_in_line_start_cache):
6279 * redisplay-output.c (redisplay_unmap_subwindows):
6280 * symbols.c (defsymbol_massage_name_1):
6281 (defkeyword_massage_name):
6282 (deferror_massage_name_and_message):
6283 * redisplay-x.c (x_output_string):
6284 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6285 * frame.h (struct frame):
6286 * filelock.c (current_lock_owner):
6287 * doprnt.c (emacs_doprnt_1):
6288 * lisp.h (struct Lisp_Bit_Vector):
6292 2002-02-13 Ben Wing <ben@xemacs.org>
6294 * event-stream.c (reset_key_echo):
6295 * event-stream.c (reset_this_command_keys):
6296 * event-stream.c (execute_command_event):
6297 If console is dead as a result of C-x 5 0, then post-command stuff
6298 needs to be careful and do only non-console-specific stuff.
6300 2002-07-01 Mike Sperber <mike@xemacs.org>
6302 * process-unix.c (unix_send_process): Mark coding_outstream as
6303 non-open upon SIGPIPE.
6305 * event-stream.c (Fnext_event): Reorder switch cases to something
6308 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6310 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6311 Don't bogusly reinitialize ascii_character property.
6313 2002-07-08 Mike Sperber <mike@xemacs.org>
6315 * process.c (Fstart_process_internal): Do error checking before we
6316 fork off the child, so the child can't muck with the state of the
6319 2002-07-08 Mike Sperber <mike@xemacs.org>
6321 * ralloc.c (init_ralloc): Allocate properly for pdump.
6323 2002-06-12 Andy Piper <andy@xemacs.org>
6325 * glyphs.c (query_string_geometry): check the string.
6327 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6330 2002-06-17 Jerry James <james@xemacs.org>
6332 * sysdll.c: Remove RTLD_GLOBAL initialization.
6333 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6335 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6337 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6339 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6341 * sysdep.c (sys_rename): Make sys_rename work for the case where
6342 Windows rename sets errno to EACCES if target file exists.
6344 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6346 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6347 Fix detection of metric units to work on Win95
6349 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6351 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6353 2002-04-25 Andy Piper <andy@xemacs.org>
6355 * redisplay.c (create_text_block): Remove extra comment trailer.
6357 2002-04-24 Andy Piper <andy@xemacs.org>
6359 * redisplay.c (create_text_block): Don't actually add propagation
6360 data if the line ends after we have added a glyph.
6362 2002-04-22 Andy Piper <andy@xemacs.org>
6364 * extents.c (extent_fragment_update): check for glyphs we have
6365 previously displayed.
6366 * extents.c (print_extent_1): warning removal.
6367 * extents.h: change prototype.
6368 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6369 widths correctly for wide glyphs.
6370 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6371 * redisplay.c (prop_type): add PROP_GLYPH.
6372 * redisplay.c (struct prop_block): add glyph type
6373 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6374 to the propagation data.
6375 * redisplay.c (create_text_block): if there is a glyph in the
6376 propagation data use it to salt extent_fragment_update.
6377 * redisplay.c (create_string_text_block): ditto.
6379 2002-04-13 Nix <nix@esperi.demon.co.uk>
6381 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6382 * redisplay-output.c (compare_runes): Compare them.
6383 * redisplay.c: Update copyright date.
6384 * redisplay.c (pos_data): Add need_baseline_computation field.
6385 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6386 need_baseline_computation; zero yoffset. Set max_pixmap_height
6387 for all pixmaps, not just automatically positioned ones.
6388 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6389 * redisplay.c (calculate_baseline): New, compute textual baseline.
6390 * redisplay.c (add_glyph_rune): Call them.
6391 * redisplay.c (create_text_block): Likewise.
6392 * redisplay.c (create_overlay_glyph_block): Likewise.
6393 * redisplay.c (add_margin_runes): Likewise.
6394 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6396 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6397 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6398 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6399 * redisplay-msw.c (mswindows_output_string): Likewise.
6400 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6401 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6402 * redisplay-x.c (x_output_display_block): Likewise.
6404 2002-03-28 Ben Wing <ben@xemacs.org>
6406 * redisplay.c: Fixed bug in redisplay
6407 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6408 and down of the lines, since they're bigger than the line
6409 size. (It was seen most obviously when there's a horizontal scroll
6410 bar, e.g. do C-h a glyph or something like that.) The problem was
6411 that the glyph-contrib-p setting on glyphs was ignored even if it
6412 was set properly, which it wasn't until now.
6414 2002-04-24 Andy Piper <andy@xemacs.org>
6416 * lisp.h (Dynarr_end): Fix definition.
6418 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6420 * redisplay.c (mark_redisplay): Remove call to
6421 update_frame_window_mirror.
6423 2001-11-15 Andy Piper <andy@xemacs.org>
6425 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6428 2002-02-13 Andy Piper <andy@xemacs.org>
6430 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6431 we did in fact enqueue the XM_MAPFRAME event.
6433 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6435 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6436 to fix problem switching between virtual desktops under virtuawin
6437 virtual window manager.
6439 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6441 * event-msw.c: Typo fix.
6442 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6443 magic XM_MAPFRAME event has been sent.
6445 2001-11-23 Andy Piper <andy@xemacs.org>
6447 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6449 2001-11-21 Andy Piper <andy@xemacs.org>
6451 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6452 mouse events outside the frame.
6454 2002-03-20 Andy Piper <andy@xemacs.org>
6456 * menubar-msw.c (mswindows_popup_menu): warning removal.
6457 * dialog-msw.c (dialog_popped_down): ditto.
6459 2001-12-11 Andy Piper <andy@xemacs.org>
6461 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6462 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6464 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6465 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6466 * menubar-msw.c (mswindows_popup_menu): ditto.
6468 2001-10-29 Andy Piper <andy@xemacs.org>
6470 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6473 2002-01-03 Andy Piper <andy@xemacs.org>
6475 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6479 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6481 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6482 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6483 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6484 Detect and handle case where machine is set up for metric units
6486 2002-04-02 Andy Piper <andy@xemacs.org>
6488 * dired-msw.c (mswindows_get_files):
6489 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6490 completely handled by XEmacs. Suggested by Thomas Vogler
6491 <mail@thomas-vogler.de>.
6493 2001-11-14 Andy Piper <andy@xemacs.org>
6495 * nt.c (REG_ROOT): change registry key to XEmacs.
6497 2002-04-27 Andy Piper <andy@xemacs.org>
6499 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6501 2002-04-26 Andy Piper <andy@xemacs.org>
6503 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6506 2002-03-14 Mike Alexander <mta@arbortext.com>
6508 * event-msw.c (mswindows_unwait_process): New, remove process from
6510 * process-nt.c (nt_finalize_process_data): Call
6511 mswindows_unwait_process
6512 * console-msw.h: Declare mswindows_unwait_process
6514 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6516 * editfns.c (Fdecode_time):
6517 (Fformat_time_string):
6518 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6519 (make_time): Warning elimination (change arg name).
6521 2001-11-24 Andy Piper <andy@xemacs.org>
6523 * window.c (Fsplit_window): Doc return type.
6525 2002-04-01 Andy Piper <andy@xemacs.org>
6527 * emacs.c (Fkill_emacs): Only output message box in interactive
6530 2002-04-26 Andy Piper <andy@xemacs.org>
6532 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6535 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6537 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6540 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6542 * XEmacs 21.4.8 "Honest Recruiter" is released.
6544 2002-05-07 Nix <nix@esperi.demon.co.uk>
6546 Supersedes 2002-04-17 patch.
6548 * process.h (PROCESS_LIVE_P): Use the process status as
6549 evidence of health, not the state of the input stream.
6550 (PROCESS_READABLE_P): Say if the process is readable
6551 from. (It may be dead nonetheless.)
6552 (CHECK_READABLE_PROCESS): Test for that condition.
6554 * process.c (create_process): Use PROCESS_READABLE_P.
6555 (read_process_output, set_process_filter): Likewise.
6557 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6558 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6560 This code is #if 0'd, this is not the time to add new functions:
6562 * process.c (Fprocess_readable_p): Report readability status.
6563 * process.c (Qprocess_readable_p): New, associated symbol...
6564 * process.c (syms_of_process): ... initialize it.
6566 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6568 * XEmacs 21.4.7 "Economic Science" is released.
6570 2002-04-17 Nix <nix@esperi.demon.co.uk>
6572 * process.h (PROCESS_LIVE_P): Use the process status as
6573 evidence of health, not the state of the input stream.
6575 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6577 * sysdep.c (sys_siglist): change "signum" to "signal"
6579 2001-04-21 Martin Buchholz <martin@xemacs.org>
6581 * s/darwin.h: New file.
6582 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6584 2002-04-23 Andreas Jaeger <aj@suse.de>
6586 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6587 which use lib64 for 64-bit libs.
6588 (START_FILES): Likewise.
6590 2002-02-11 Mike Sperber <mike@xemacs.org>
6593 (x_IO_error_handler):
6594 (x_init_device): Temporarily keep device in static variable
6595 `device_being_initialized' so we can recover gracefully from
6596 internal XOpenDevice failure. (XOpenDevice is documented to
6597 return NULL on failure, but sometimes calls the IO error handler
6600 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6602 * dired.c (Ffile_name_all_completions): Change documentation --
6603 remove reference to completion-ignored-extensions.
6604 * dired.c (vars_of_dired): Change documentation for
6605 completion-ignored-extensions -- remove reference to
6606 file-name-all-completions.
6608 2002-03-06 Jerry James <james@xemacs.org>
6610 * emodules.c (emodules_load): Fix multiple loading of same module.
6612 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6613 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6614 RTLD_LAZY to avoid incorrect symbol binding when using nested
6615 shared libraries on Solaris.
6617 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6619 * fileio.c (Ffind_file_name_handler): Improve docstring.
6621 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6623 * fns.c (Fmapconcat): Improve docstring.
6625 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6627 * device-gtk.c: Add prototype for
6628 emacs_gtk_selection_clear_event_handle.
6629 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6630 selection. Setup signal handler for "selection_clear_event"
6631 (emacs_gtk_selection_clear_event_handle).
6633 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6634 other applications owning the clipboard (based on
6635 x_handle_selection_clear).
6637 2001-12-23 William M. Perry <wmperry@gnu.org>
6639 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6641 2002-01-04 Martin Buchholz <martin@xemacs.org>
6643 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6645 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6647 * XEmacs 21.4.6 "Common Lisp" is released.
6649 2001-12-16 Torsten Duwe <duwe@caldera.de>
6651 * search.c (Freplace_match): Add missing sub-expression functionality.
6653 * buffer.c (decode_buffer): Add a check for pointer type to
6654 decode_buffer, before gcc's CSE optimization reorders a
6655 dereference in front of the allow_string test.
6657 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6659 * window.c (window_loop): Fix bug that sometimes prevented
6660 window_loop() from iterating across multiple devices. Also, at
6661 Ben's request, changed infloop-detecting code to abort() instead
6662 of silently terminating window_loop().
6664 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6666 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6667 * editfns.c (make_time): New function.
6668 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6669 * lisp.h (make_time): Prototype and comment it.
6670 * dired.c (wasteful_word_to_lisp): Deprecate.
6671 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6673 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6675 * fileio.c (auto_save_1): Use current coding system, not
6678 2001-11-13 Ben Wing <ben@xemacs.org>
6681 * window.c (window_truncation_on):
6682 * window.c (syms_of_window):
6683 truncate-partial-width-windows should respect the buffer being
6684 displayed, like other redisplay vars.
6686 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6688 * event-stream.c (Fread_key_sequence): save current buffer.
6690 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6692 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6694 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6696 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6698 2001-10-26 Mike Alexander <mta@arbortext.com>
6700 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6702 2001-10-25 Andy Piper <andy@xemacs.org>
6705 * dialog-msw.c (handle_directory_proc): new function.
6706 (handle_directory_dialog_box): new fucntion.
6707 (handle_file_dialog_box): use new directory dialog support.
6708 (mswindows_make_dialog_box_internal): ditto.
6709 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6711 (mswindows_find_frame): make global.
6712 * fileio.c (Fexpand_file_name): build fix.
6713 * general-slots.h: add Qdirectory.
6714 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6716 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6717 cygwin not leaving win32 paths unchanged.
6718 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6719 cygwin runtime to do path conversion.
6720 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6721 (syms_of_win32): add new function.
6722 * window.c (window_loop): build fix.
6724 2001-10-15 Andy Piper <andy@xemacs.org>
6726 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6728 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6730 * XEmacs 21.4.5 "Civil Service" is released.
6732 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6734 * glyphs-x.c: Force buffer-tab highlight update when moving the
6735 buffer, avoiding an ugly black border, used for keyboard focus
6736 indication, on a widget that can never have keyboard focus, the
6739 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6741 * process-unix.c (unix_open_multicast_group): Remove too much
6742 conversion between host and network byte order.
6744 2001-09-10 Nix <nix@esperi.demon.co.uk>
6746 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6747 before replacing them.
6749 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6752 * src/window.c (undedicate_windows): Use it.
6753 * src/window.h: Add prototype.
6755 2001-09-17 Ben Wing <ben@xemacs.org>
6757 * fileio.c (normalize_filename):
6758 * fileio.c (Fexpand_file_name):
6759 Fix various C++ compile errors in Andy's recent code.
6761 * callint.c (Fcall_interactively):
6762 * editfns.c (Ftemp_directory):
6763 * editfns.c (Fuser_full_name):
6764 * emacs.c (argmatch):
6765 * lread.c (locate_file_map_suffixes):
6766 * redisplay-x.c (x_ring_bell):
6767 Fix sign-compare warnings.
6769 2001-09-08 Andy Piper <andy@xemacs.org>
6771 * fileio.c (normalize_filename): copied from nt.c
6772 * (Ffile_name_directory): enable win32 paths under cygwin.
6773 * (Ffile_name_nondirectory): ditto.
6774 * (directory_file_name): ditto.
6775 * (Fexpand_file_name): ditto.
6776 * (Ffile_truename): ditto.
6777 * (Fsubstitute_in_file_name): ditto.
6778 * (Ffile_name_absolute_p): ditto.
6779 * (Ffile_readable_p): ditto.
6781 2001-09-08 Andy Piper <andy@xemacs.org>
6783 * device-msw.c (mswindows_finish_init_device): remove dde
6785 * device-msw.c (mswindows_init_dde): factor out from
6786 mswindows_finish_init_device()
6787 * device-msw.c (init_mswindows_very_early): new function
6788 initialize but don't enable dde.
6789 * emacs.c (main_1): call init_mswindows_very_early.
6791 * event-msw.c (mswindows_dde_callback): only execute when we are
6793 * symsinit.h: declare init_mswindows_very_early.
6795 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6797 [sjt: This has been in 21.5 for months with no complaints.]
6799 * console.h (struct console_methods): Added flags member.
6800 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6801 (CONMETH_IMPL_FLAG):
6802 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6803 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6805 * device.c (window_system_pixelated_geometry): Use the above macros.
6807 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6808 implememntation flag.
6809 * device.h (DEVICE_DISPLAY_P): Use it.
6811 * frame.c (delete_frame_internal): Use the above macro.
6813 * redisplay.c (redisplay_device): Use it.
6814 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6815 (redisplay_frame): Ditto.
6817 * device-msw.c (mswindows_device_implementation_flags): Removed.
6818 (msprinter_device_implementation_flags): Removed.
6819 (console_type_create_device_mswindows): Removed references to
6820 implementation_flags methods, set implementation flags here.
6821 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6823 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6824 (console_type_create_device_gtk): Removed method declaration.
6825 Added commented out statement which semantically matches the
6826 commented out statement in the above removed method.
6828 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6830 The attached patch fixes a few warnings.
6832 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6833 * src/frame-gtk.c: guard against GNOME calls in GTK only
6834 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6835 * src/select-gtk.c: prototype lisp_to_time
6837 2001-06-08 Ben Wing <ben@xemacs.org>
6839 ------ gc-in-window-procedure fixes ------
6842 * alloc.c (struct post_gc_action):
6843 * alloc.c (register_post_gc_action):
6844 * alloc.c (run_post_gc_actions):
6845 * alloc.c (garbage_collect_1):
6846 Create "post-gc actions", to avoid those dreaded "GC during window
6847 procedure" problems.
6850 Abort, clean and simple, when GC in window procedure. We want
6851 to flush these puppies out.
6854 * glyphs-msw.c (finalize_destroy_window):
6855 * glyphs-msw.c (mswindows_finalize_image_instance):
6856 Use a post-gc action when destroying subwindows.
6859 Declare register_post_gc_action().
6862 * scrollbar-msw.c (unshow_that_mofo):
6863 Use a post-gc action when unshowing scrollbar windows, if in gc.
6865 * redisplay.c (mark_redisplay):
6866 Add comment about the utter evilness of what's going down here.
6868 ------ cygwin setitimer fixes ------
6870 * Makefile.in.in (sheap_objs):
6871 * Makefile.in.in (profile_objs):
6872 * Makefile.in.in (objs):
6873 Compile profile.c only when HAVE_SETITIMER.
6875 * nt.c (mswindows_sigset):
6876 * nt.c (mswindows_sighold):
6877 * nt.c (mswindows_sigrelse):
6878 * nt.c (mswindows_sigpause):
6879 * nt.c (mswindows_raise):
6880 * nt.c (close_file_data):
6884 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6887 * profile.c (Fstart_profiling):
6888 * profile.c (Fstop_profiling):
6889 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6890 instead of just plain setitimer().
6893 * signal.c (set_one_shot_timer):
6895 Define qxe_setitimer() as an encapsulation around setitimer() --
6896 call setitimer() directly unless Cygwin or MS Win, in which case
6897 we use our simulated version in win32.c.
6900 * systime.h (struct itimerval):
6901 * systime.h (ITIMER_REAL):
6902 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6903 comment about "qxe" and the policy regarding encapsulation.
6906 * win32.c (setitimer_helper_proc):
6907 * win32.c (setitimer_helper_period):
6908 * win32.c (setitimer_helper):
6909 * win32.c (mswindows_setitimer):
6910 Move setitimer() emulation here, so Cygwin can use it.
6911 Rename a couple of functions and variables to be longer and more
6912 descriptive. In setitimer_helper_proc(), send the signal
6913 using either mswindows_raise() or (on Cygwin) kill(). If for
6914 some reason we are still getting lockups, we'll change the kill()
6915 to directly invoke the signal handlers.
6917 ------ windows shell fixes ------
6921 Comments about how these two files must die.
6923 * callproc.c (init_callproc):
6924 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6925 not just COMSPEC. (more correct and closer to FSF.) Don't
6926 force a value for SHELL into the environment. (Comments added
6927 to explain why not.)
6929 * nt.c (init_user_info):
6930 Don't shove a fabricated SHELL into the environment. See above.
6932 2001-06-01 Ben Wing <ben@xemacs.org>
6934 * Makefile.in.in (ldflags):
6935 eliminate that pesky "defaulting to 00401000" warning.
6939 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6941 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6942 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6944 2001-04-24 Jerry James <james@xemacs.org>
6946 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6949 2001-06-01 Ben Wing <ben@xemacs.org>
6951 * event-msw.c (debug_mswin_messages):
6952 conditionalize the messages that were causing compile errors.
6953 (if only macros could generate #ifdef statements ...)
6955 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6957 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6959 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6961 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6963 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6965 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6966 * process-unix.c (unix_canonicalize_host_name):
6967 sysdep.c (init_system_name):
6968 Use it to conditionally support IPv6 canonicalization.
6970 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6973 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6975 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6977 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6978 attempt is made to scroll when no scroll bar is available.
6980 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6982 * input-method-motif.c (XIM_delete_frame): New callback.
6983 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6984 got deleted from 21.4.3.)
6986 2001-06-01 Ben Wing <ben@xemacs.org>
6988 * nt.c (mswindows_utime):
6989 * nt.c (close_file_data):
6990 fix off-by-one-indirection error.
6992 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6994 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6995 because set_file_times() now takes Lisp_Object path, instead of
6997 * nt.c: Include buffer.h.
6998 * nt.c (convert_from_time_t): New.
6999 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7000 not set mtime correctly.
7001 * nt.h: Declare mswindows_utime().
7002 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7003 path, instead of char*.
7004 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7006 2001-05-30 Ben Wing <ben@xemacs.org>
7010 (Stephen, just take all event-msw.c patches. This includes
7011 the "iconify" fix below.)
7014 * event-msw.c (mswindows_dequeue_dispatch_event):
7015 * event-msw.c (assert):
7016 * event-msw.c (emacs_mswindows_quit_p):
7017 * event-msw.c (debug_mswin_messages):
7018 * event-msw.c (debug_output_mswin_message):
7019 * event-msw.c (vars_of_event_mswindows):
7020 Fix yet more problems with C-g handling.
7021 Implement debug-mswindows-events.
7023 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7025 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7027 2001-05-23 Ben Wing <ben@xemacs.org>
7029 * event-msw.c (winsock_writer):
7030 * event-msw.c (winsock_closer):
7031 prior kludgy code was clobbering the buffer, thinking it was
7032 "unused" space to store an unneeded return value; instead, use
7033 the variable we've already got staring us in the face.
7035 2001-05-17 Andy Piper <andy@xemacs.org>
7037 * sysfile.h: don't assume that file attributes are boolean
7039 2001-05-23 Ben Wing <ben@xemacs.org>
7041 * device-msw.c (msprinter_init_device):
7042 signal an error rather than crash with an unavailable network
7043 printer (from Mike Alexander).
7046 * event-msw.c (struct winsock_stream):
7047 * event-msw.c (winsock_writer):
7048 * event-msw.c (winsock_closer):
7049 * event-msw.c (make_winsock_stream_1):
7050 cleanup headers. fix (hopefully) an error with data corruption
7051 when sending to a network connection.
7053 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7054 to handle the ~user prefix by (a) always assuming we're referencing
7055 ourselves and not even verifying the user -- hence any file with
7056 a tilde as its first char is invalid! (b) if there wasn't a slash
7057 following the filename, the pointer was set *past* the end of
7058 file and we started reading from uninitialized memory. Now we
7059 simply treat these as files, always.
7061 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7063 2001-05-19 Ben Wing <ben@xemacs.org>
7065 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7068 * process-nt.c (vars_of_process_nt):
7069 remove unused mswindows-quote-process-args. rec for 21.4.
7071 2001-05-12 Ben Wing <ben@xemacs.org>
7073 * event-msw.c (mswindows_dde_callback):
7074 * event-msw.c (mswindows_wnd_proc):
7075 eliminate cygwin warnings.
7077 2001-05-06 Ben Wing <ben@xemacs.org>
7081 * device-msw.c (print_dialog_worker):
7082 * device-msw.c (mswindows_handle_print_dialog_box):
7083 * device-msw.c (syms_of_device_mswindows):
7084 * dialog-msw.c (mswindows_make_dialog_box_internal):
7086 implement printing the selection when it's selected.
7088 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7090 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7092 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7094 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7095 EMACS_INT is signed.
7097 2001-04-15 Michael Lausch <mla@1012surf.net>
7099 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7100 gtk_widget_request_size() to give scrollbar >0 width for
7103 2001-05-30 William M. Perry <wmperry@gnu.org>
7105 * event-gtk.c: Check for buttons as modifier keys.
7107 2001-05-25 Craig Lanning <CraigL@Knology.net>
7110 Properly find MinGW's <process.h> inside Cygwin's restructured
7111 include directories. Don't try to include <cygwin/version.h>
7112 since we are dropping support for MinGW in versions of Cygwin
7115 Drop support for MinGW in versions of Cygwin before b21.
7117 Properly find MinGW's <process.h> inside Cygwin's restructured
7118 include directories.
7120 Drop support for MinGW in versions of Cygwin before b21.
7122 Even though a.out.h is no longer detected by configure, allow
7123 MinGW to use it until we figure out how to do the job with Win32.
7125 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7127 * syntax.c (find_start_of_comment):
7128 Fix `unbalanced parentheses' bug when dealing with mixed comment
7129 styles in c++/java/etc. mode
7131 2001-05-29 Mike Alexander <mta@arbortext.com>
7133 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7134 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7136 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7138 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7140 2001-03-31 Mike Sperber <mike@xemacs.org>
7142 * search.c (Freplace_match): Support FSF-style specification of
7143 match subexpression when applied to a buffer.
7145 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7147 * event-stream.c (is_scrollbar_event): add missing semicolon
7149 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7151 * Makefile.in.in: Use TAR macro instead of hardcoding
7152 tar. Allows use of GNU tar instead of system tar
7154 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7156 * event-stream.c (is_scrollbar_event): add missing semicolon
7158 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7160 * XEmacs 21.4.3 "Academic Rigor" is released.
7162 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7164 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7166 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7168 * buffer.c (Vcase_fold_search): Remove obsolete
7169 comment about non ASCII case-fold-search. This
7170 bug has been fixed by case-table changes.
7172 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7174 * event-msw.c: Restore include of events-mod.h.
7176 2001-04-22 zhaoway <zw@debian.org>
7178 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7181 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7183 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7185 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7187 * mule-charset.c (Fmake_charset): Add missing else.
7189 2001-04-23 Ben Wing <ben@xemacs.org>
7191 * event-msw.c (FAKE_MOD_QUIT):
7192 * event-msw.c (mswindows_dequeue_dispatch_event):
7193 * event-msw.c (mswindows_wnd_proc):
7194 * event-msw.c (emacs_mswindows_quit_p):
7195 Get critical quit working.
7197 2001-05-05 Ben Wing <ben@xemacs.org>
7201 * device-msw.c (mswindows_get_default_margin):
7202 * frame-msw.c (mswindows_size_frame_internal):
7203 * frame-msw.c (msprinter_init_frame_1):
7204 * frame-msw.c (vars_of_frame_mswindows):
7205 Change top/bottom margin defaults to 0.5 inches.
7207 2001-05-01 Martin Buchholz <martin@xemacs.org>
7209 Fix link error with gcc 3.0 on Linux.
7210 * terminfo.c (UP): Remove.
7211 * terminfo.c (BC): Remove.
7212 * terminfo.c (PC): Remove.
7213 They weren't used, and in any case, these symbols should be
7214 defined in the *library*.
7216 2001-05-03 Martin Buchholz <martin@xemacs.org>
7218 * s/aix4.h: Fix crash with xlc -O3.
7219 Improve comment explaining how -O3 works.
7221 2001-04-15 Ben Wing <ben@xemacs.org>
7224 * event-stream.c (Fnext_event):
7225 * event-stream.c (is_scrollbar_event):
7226 * event-stream.c (execute_command_event):
7227 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7228 crash' problem. His fix introduces other problems. We filter
7229 out scrollbar events specifically, making them somewhat invisible
7230 to command-building, and not appearing in `this-command-keys'.
7231 More work is still needed (see comments in event-stream.c), but
7232 this fixes all the major problems.
7234 2001-04-20 Ben Wing <ben@xemacs.org>
7236 * .cvsignore: Added stuff for Windows.
7238 2001-04-28 Ben Wing <ben@xemacs.org>
7240 * buffer.c (Ferase_buffer):
7241 * editfns.c (buffer_insert1):
7242 * editfns.c (Finsert_before_markers):
7243 * editfns.c (Finsert_string):
7244 * editfns.c (Finsert_char):
7245 * editfns.c (Fdelete_region):
7246 * editfns.c (Fwiden):
7247 * editfns.c (Fnarrow_to_region):
7248 remove bogus lines setting zmacs_region_stays to 0.
7250 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7252 * process-unix.c (unix_open_network_stream): If connect() fails
7253 invalidate file descriptor after closing it.
7255 2001-03-08 Mike Alexander <mta@arbortext.com>
7257 * event-msw.c (mswindows_need_event_in_modal_loop):
7258 Don't dispatch a message if we didn't get one.
7259 (mswindows_need_event):
7260 Terminate the correct process when one exits instead of the first
7261 one on Vprocess_list and look for process termination when in
7262 mswindows_protect_modal_loop.
7264 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7266 * XEmacs 21.4.1 "Copyleft" is released.
7268 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7270 * input-method-motif.c (XIM_delete_frame): New callback.
7271 (XIM_init_frame): Register it.
7273 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7275 * XEmacs 21.4.0 "Solid Vapor" is released.
7277 2001-04-15 Ben Wing <ben@xemacs.org>
7279 * cmdloop.c (call_command_loop):
7280 Fix braino in bit-rotting code.
7282 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7284 * extents.c (Fset_extent_endpoints): Force creation of extent info
7285 in buffer_or_string.
7287 * extents.c (process_extents_for_insertion_mapper): Correctly
7288 check for open-open zero-length extents.
7290 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7292 * lisp.h: New typedefs Memory_count, Element_count.
7295 Sign-compare warning elimination: several unsigned -> signed.
7296 Based on work by Ben Wing <ben@xemacs.org>.
7298 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7300 * XEmacs 21.2.47 "Zephir" is released.
7302 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7304 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7306 2001-04-03 Mike Sperber <mike@xemacs.org>
7308 * search.c: Revert previous patch due because of release.
7310 2001-03-30 Ben Wing <ben@xemacs.org>
7313 Add missing killpg prototype.
7316 Add a comment about fixing problems when a new entry is added
7319 * frame-msw.c (mswindows_init_frame_1):
7320 Fix compile warnings.
7322 * menubar.c (vars_of_menubar):
7323 Provide `menu-accelerator-support' to indicate that we properly
7324 support %_ in menu specifications, so that package code can
7325 conditionalize on this (and remove %_ from menu specifications
7330 * scrollbar-msw.c (can_scroll):
7332 Fix handling of mouse wheel under Windows to follow standards --
7333 now scrolls window under pointer, not selected window.
7335 2001-03-31 Mike Sperber <mike@xemacs.org>
7337 * search.c (Freplace_match): Support FSF-style specification of
7338 match subexpression when applied to a buffer.
7340 2001-03-15 Martin Buchholz <martin@xemacs.org>
7342 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7343 function to modify KEYMAP, so map over a copy of the hash table.
7345 2001-03-21 Martin Buchholz <martin@xemacs.org>
7347 * XEmacs 21.2.46 "Urania" is released.
7349 2001-03-20 Dan Holmsand <dan@eyebee.com>
7351 * realpath.c (xrealpath): Make file-truename work with symlinks to
7352 /cygdrive paths on cygwin. Always lowercase drive-letters on
7354 (cygwin_readlink): Don't try to find canonical filename unless
7357 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7359 * ChangeLog: Log GTK merge.
7365 Revert gratuitous whitespace changes from GTK merge.
7367 * emacs.c: Document end of complex #ifdef @ l. 1495.
7370 2001-03-12 Andy Piper <andy@xemacs.org>
7372 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7373 have to do likewise.
7375 2001-03-12 Andy Piper <andy@xemacs.org>
7377 * sysdep.c: we only support mingw now.
7379 2001-03-09 Andy Piper <andy@xemacs.org>
7381 * unexcw.c (copy_executable_and_dump_data_section): making approx
7382 overrun a warning only.
7384 2001-03-10 William M. Perry <wmperry@aventail.com>
7386 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7387 satisfy Stephen's identical-after-cpp plea.
7389 2001-03-02 Ben Wing <ben@xemacs.org>
7392 * cmds.c (Fforward_char):
7396 Augment documentation of the most common motion commands to make
7397 note of the shifted-motion support.
7399 2001-03-02 Ben Wing <ben@xemacs.org>
7401 * nt.c (mswindows_fstat):
7402 * nt.c (mswindows_stat):
7403 * search.c (boyer_moore):
7404 Fix compile warnings under Windows.
7406 * sysdep.c (sys_readdir):
7407 Fix buggy filename-conversion code under Mule.
7409 2001-03-09 William M. Perry <wmperry@aventail.com>
7431 * redisplay-output.c:
7437 The Great GTK Merge.
7444 * emacs-widget-accessors.c:
7458 * native-gtk-toolbar.c:
7469 The Great GTK Merge: new files.
7471 2001-02-26 Ben Wing <ben@xemacs.org>
7473 Reapplied Lstream change.
7475 2001-02-26 Ben Wing <ben@xemacs.org>
7477 Undid the last change, since it is more controversial than I
7478 thought. It should be back in at some point soon.
7480 2001-02-25 Ben Wing <ben@xemacs.org>
7483 * callproc.c (Fold_call_process_internal):
7484 * event-msw.c (ntpipe_slurp_reader):
7485 * event-msw.c (ntpipe_shove_writer):
7486 * event-msw.c (winsock_reader):
7487 * event-msw.c (winsock_writer):
7489 * file-coding.c (detect_eol_type):
7490 * file-coding.c (detect_coding_type):
7491 * file-coding.c (determine_real_coding_system):
7492 * file-coding.c (Fdetect_coding_region):
7493 * file-coding.c (decoding_reader):
7494 * file-coding.c (decoding_writer):
7495 * file-coding.c (mule_decode):
7496 * file-coding.c (Fdecode_coding_region):
7497 * file-coding.c (encoding_reader):
7498 * file-coding.c (encoding_writer):
7499 * file-coding.c (mule_encode):
7500 * file-coding.c (Fencode_coding_region):
7501 * file-coding.c (detect_coding_sjis):
7502 * file-coding.c (decode_coding_sjis):
7503 * file-coding.c (encode_coding_sjis):
7504 * file-coding.c (detect_coding_big5):
7505 * file-coding.c (decode_coding_big5):
7506 * file-coding.c (encode_coding_big5):
7507 * file-coding.c (detect_coding_ucs4):
7508 * file-coding.c (decode_coding_ucs4):
7509 * file-coding.c (encode_coding_ucs4):
7510 * file-coding.c (detect_coding_utf8):
7511 * file-coding.c (decode_coding_utf8):
7512 * file-coding.c (encode_coding_utf8):
7513 * file-coding.c (detect_coding_iso2022):
7514 * file-coding.c (decode_coding_iso2022):
7515 * file-coding.c (encode_coding_iso2022):
7516 * file-coding.c (decode_coding_no_conversion):
7517 * file-coding.c (encode_coding_no_conversion):
7518 * glyphs-x.c (write_lisp_string_to_temp_file):
7519 * gpmevent.c (tty_get_foreign_selection):
7522 * lstream.c (Lstream_flush_out):
7523 * lstream.c (Lstream_adding):
7524 * lstream.c (Lstream_write_1):
7525 * lstream.c (Lstream_write):
7526 * lstream.c (Lstream_raw_read):
7527 * lstream.c (Lstream_read_more):
7528 * lstream.c (Lstream_read):
7529 * lstream.c (Lstream_unread):
7530 * lstream.c (Lstream_fputc):
7531 * lstream.c (stdio_reader):
7532 * lstream.c (stdio_writer):
7533 * lstream.c (filedesc_reader):
7534 * lstream.c (filedesc_writer):
7535 * lstream.c (lisp_string_reader):
7536 * lstream.c (struct fixed_buffer_stream):
7537 * lstream.c (make_fixed_buffer_input_stream):
7538 * lstream.c (make_fixed_buffer_output_stream):
7539 * lstream.c (fixed_buffer_reader):
7540 * lstream.c (fixed_buffer_writer):
7541 * lstream.c (struct resizing_buffer_stream):
7542 * lstream.c (resizing_buffer_writer):
7543 * lstream.c (dynarr_writer):
7544 * lstream.c (lisp_buffer_reader):
7545 * lstream.c (lisp_buffer_writer):
7547 * lstream.h (lstream_implementation):
7548 * lstream.h (struct lstream):
7550 * process-nt.c (nt_send_process):
7551 * process-unix.c (unix_send_process):
7553 Correct Lstream lossage due to mixing of signed and unsigned
7554 quantities. All Lstream uses of size_t and ssize_t are now a
7555 single signed data type Lstream_data_count. This fixes problems
7556 under Windows with sending large quantities of data to a process,
7557 and may well fix other subtle bugs.
7559 2001-02-23 Martin Buchholz <martin@xemacs.org>
7561 * XEmacs 21.2.45 "Thelxepeia" is released.
7563 2001-02-21 Martin Buchholz <martin@xemacs.org>
7565 * lisp-union.h (XSETINT):
7568 Reverse previous change of 2001-02-06.
7570 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7572 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7574 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7575 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7576 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7577 * regex.c (POS_AS_IN_BUFFER): removed
7578 * regex.c (re_search_2):
7579 * regex.c (re_match_2):
7580 Don't use an offset of 1 when calculating buffer positions, since
7581 `BI_BUF_BEGV' does it already.
7583 2001-02-18 Wim Dumon <wim@easics.be>
7585 * insdel.c (prepare_to_modify_buffer): Also check for
7586 supersession when clash-detection is enabled.
7588 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7590 * regex.c (re_match_2_internal):
7591 Convert temp characters from 'const unsigned char' to 're_char'.
7592 Fix crashing bug with extended characters under mule.
7593 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7594 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7595 font-lock, pdump, and new syntax-table code.
7596 * syntax.c (find_start_of_comment):
7597 (find_end_of_comment):
7599 Fix crashing bugs involving moving beyond end of buffer.
7600 * syntax.c (find_start_of_comment):
7601 Fixed logic to allow proper detection of cases where the same
7602 character is used to end both a two-char comment start and a
7603 two-char comment end sequence. Fixes `(forward-comment -1)'.
7604 * syntax.c (find_start_of_comment):
7605 Return position just past last comment-end character for all cases
7606 (previously was only done for two-char comment-end sequences).
7607 * syntax.c (forward-comment):
7608 Take value returned from `find_end_of_comment', rather than
7610 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7611 Properly deal with BUFFERP (syntax_cache.object)
7613 2001-02-17 Martin Buchholz <martin@xemacs.org>
7615 * alloc.c (Fgarbage_collect):
7616 * alloc.c (make_bit_vector_from_byte_vector):
7617 -Wsign-compare-correctness.
7619 2001-02-16 Martin Buchholz <martin@xemacs.org>
7621 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7622 (XSETCHAR): Likewise.
7623 (XSETOBJ): Likewise.
7625 2001-02-15 Martin Buchholz <martin@xemacs.org>
7627 * mule-canna.c (canna-func-delete_previous):
7628 Rename to canna-func-delete-previous.
7630 2001-02-14 Martin Buchholz <martin@xemacs.org>
7632 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7634 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7636 * font-lock.c (find_context): Fix C++ compile errors introduced by
7639 2001-02-13 Martin Buchholz <martin@xemacs.org>
7641 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7642 pragma, but earlier ones barf on the same pragma.
7644 2001-02-06 Mike Sperber <mike@xemacs.org>
7646 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7647 `configure-mule-lisp-directory'.
7649 2001-02-12 Martin Buchholz <martin@xemacs.org>
7651 Make sure dump-id.c is compiled in the same way as other .c's.
7652 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7653 * dump-id.h: Remove.
7654 * emacs.c: Move dump-id.h into dumper.h.
7655 * dumper.h: Move dump-id.h into dumper.h.
7657 Use standard .c.o rule for building dump-id.o.
7658 Remove preprocessor flags from link command.
7659 Add dump-id.o to ${otherobjs} if PDUMP.
7661 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7663 Port FSF 20.7 syntax table improvements.
7667 Fixups for new syntax table stuff.
7668 * dired.c: Include syntax.c.
7669 (Fdirectory_files): Initialize regex_match_object and
7671 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7672 and Fget_char_property.
7674 Use ported FSF 20.7 syntax table improvements.
7679 2001-02-09 Martin Buchholz <martin@xemacs.org>
7681 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7682 Unixware's enum boolean from sys/types.h.
7684 2001-02-10 Martin Buchholz <martin@xemacs.org>
7686 Fix support for building with latest Purify.
7687 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7688 (PURIFY_FLAGS): Likewise.
7690 2001-02-09 Martin Buchholz <martin@xemacs.org>
7692 * fileio.c (lisp_string_set_file_times): New.
7693 * fileio.c (Fcopy_file): Use it.
7695 (copy-file filename non-ascii-filename t t)
7696 ==> No such file or directory, non-ascii-filename
7698 2001-02-10 Martin Buchholz <martin@xemacs.org>
7700 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7701 USHRT_MAX seems clearer than ~0 anyways.
7703 2001-02-09 Martin Buchholz <martin@xemacs.org>
7705 dumper improvements. Inspired by Olivier.
7706 * dumper.c (pdump_max_align): New.
7707 * dumper.c (pdump_add_entry): Use pdump_max_align.
7708 * dumper.c (pdump_get_entry_list): Likewise.
7709 * dumper.c (pdump_scan_by_alignment): Likewise.
7710 Don't iterate through unnecessary alignments.
7711 * dumper.c (pdump_file_get): No need to align result of malloc().
7712 * dumper.c (pdump_mallocadr): Remove.
7713 The result of malloc() is guaranteed to be maximally aligned.
7714 * dumper.c: s/elmt/elt/g;
7715 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7716 * dumper.c (pdump_alert_undump_object): Likewise.
7717 * dumper.c (pdump_align_table):
7718 Don't support alignments > 64.
7719 Store ALIGNOF's, not shift counts, in table.
7721 2001-02-09 Martin Buchholz <martin@xemacs.org>
7723 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7724 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7725 * systime.h: Use HAVE_UTIME.
7726 * sysdep.c (struct utimbuf): Remove.
7727 * sysdep.c (set_file_times): Prefer utime() to utimes().
7728 * config.h.in (HAVE_UTIME): New.
7729 * config.h.in (HAVE_UTIME_H): Remove.
7730 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7732 2001-02-09 Martin Buchholz <martin@xemacs.org>
7734 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7736 2001-02-08 Martin Buchholz <martin@xemacs.org>
7738 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7740 2001-02-08 Martin Buchholz <martin@xemacs.org>
7742 * XEmacs 21.2.44 "Thalia" is released.
7744 2001-02-06 Martin Buchholz <martin@xemacs.org>
7746 Fixes crashes in kill-emacs on some systems.
7747 * process-unix.c (unix_kill_child_process):
7748 It's OK for kill() to fail with ESRCH.
7750 2001-02-07 Martin Buchholz <martin@xemacs.org>
7752 Contortions to make .gdbinit tricks work on most systems.
7753 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7754 * alloc.c (dbg_valmask): Make non-const.
7755 * alloc.c (dbg_typemask): Make non-const.
7756 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7757 * alloc.c (dbg_valbits): Make non-const.
7758 * alloc.c (dbg_gctypebits): Make non-const.
7759 * .gdbinit (decode_object): Make it work with AIX cc.
7761 2001-02-06 Martin Buchholz <martin@xemacs.org>
7763 * elhash.c (make_general_lisp_hash_table):
7764 Use simpler and more efficient calloc to clear entries.
7766 2001-02-07 Martin Buchholz <martin@xemacs.org>
7768 * window.c (window_scroll): Work around an AIX C compiler bug.
7769 Fixes 'scroll-up' does nothing problem with xlC.
7771 2001-02-05 Martin Buchholz <martin@xemacs.org>
7773 * .gdbinit: Remove obsolete comment.
7775 2001-01-31 Mike Alexander <mta@arbortext.com>
7777 * select.c (Fown_selection_internal): Set owned_p for device
7780 2001-02-01 Martin Buchholz <martin@xemacs.org>
7783 "not" cannot be used as a macro name as it is an operator in C++
7784 * config.h.in: Stop #defining `not'.
7785 * chartab.c (check_category_char): not ==> not_p
7786 * chartab.h: Likewise.
7787 * regex.c (re_match_2_internal): Likewise.
7789 2001-02-02 Martin Buchholz <martin@xemacs.org>
7791 * lisp-disunion.h: Fix up comments.
7793 2001-01-31 Martin Buchholz <martin@xemacs.org>
7795 * keymap.c (define_key_check_and_coerce_keysym):
7797 Support mouse-6 and mouse-7 bindings in the obvious way.
7799 2001-02-01 Martin Buchholz <martin@xemacs.org>
7801 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7803 2001-01-30 Martin Buchholz <martin@xemacs.org>
7805 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7806 Previous patch missed DEFVAR_INT_MAGIC.
7807 Make sure future DEFVAR_foo use correct types.
7808 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7809 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7810 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7811 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7812 * (DEFVAR_INT): Likewise.
7813 * redisplay.c (vertical_clip): Should be of type Fixnum.
7814 * redisplay.c (horizontal_clip): Likewise.
7815 * lisp.h (dump_add_opaque_int): New.
7816 (dump_add_opaque_fixnum): New.
7818 2001-01-29 Andy Piper <andy@xemacs.org>
7820 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7821 since they can be eval'ed
7823 2001-01-29 Martin Buchholz <martin@xemacs.org>
7825 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7826 Oops, XEmacs redefines `class'. Use `typename' instead.
7828 2001-01-28 Martin Buchholz <martin@xemacs.org>
7830 * dumper.c: Fix C++ compile errors.
7832 2001-01-29 Martin Buchholz <martin@xemacs.org>
7834 * tparam.c: Use correct prototypes.
7836 2001-01-28 Martin Buchholz <martin@xemacs.org>
7838 * sysproc.h: #include util.h for NetBSD's openpty.
7840 2001-01-27 Martin Buchholz <martin@xemacs.org>
7842 More 64-bit correctness.
7843 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7844 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7846 This finally finishes the 64-bit SGI port.
7847 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7848 * symbols.c: Fix up comments and type casts.
7849 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7850 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7851 * symeval.h (Fixnum): New type.
7852 * symeval.h (symbol_value_type): Fix up comment.
7868 * mule-canna.c: A million DEFVAR_INTs here...
7869 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7882 s/int/Fixnum/g in DEFVAR_INT declarations.
7884 2001-01-26 Martin Buchholz <martin@xemacs.org>
7886 Port pdump to SGI alignment-sensitive environment.
7887 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7888 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7890 Define and use aligned reading and writing macros.
7891 Use buffered stdio instead of posix i/o for faster dumping.
7892 Eliminate kludgy 256 byte space for header.
7893 Read and write from dump file using structs for alignment safety.
7894 * dumper.c (pdump_align_stream): New.
7895 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7896 * dumper.c (PDUMP_READ_ALIGNED): New.
7897 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7898 * dumper.c (pdump_static_Lisp_Object): New struct.
7899 * dumper.c (pdump_static_pointer): New struct.
7900 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7901 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7902 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7903 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7905 * dumper.c (pdump_backtrace):
7906 * dumper.c (pdump_get_indirect_count):
7907 * dumper.c (pdump_register_object):
7908 * dumper.c (pdump_register_struct):
7909 * dumper.c (pdump_reloc_one):
7910 * dumper.c (pdump_scan_by_alignment):
7911 * dumper.c (pdump_dump_from_root_struct_ptrs):
7912 * dumper.c (pdump_dump_opaques):
7913 * dumper.c (pdump_dump_rtables):
7914 * dumper.c (pdump_dump_from_root_objects):
7916 * dumper.c (pdump_load_finish):
7917 Use aligned reading and writing.
7919 * dumper.c (pdump_free): Make static.
7920 * dumper.c (pdump_hFile): Likewise.
7921 * dumper.c (pdump_hMap): Likewise.
7923 2001-01-26 Martin Buchholz <martin@xemacs.org>
7925 * XEmacs 21.2.43 "Terspichore" is released.
7927 2001-01-25 Martin Buchholz <martin@xemacs.org>
7929 Type fiddling for window_config.saved_windows_count
7930 * window.c (struct window_config):
7931 Make saved_windows_count member unsigned.
7932 * window.c (sizeof_window_config_for_n_windows):
7933 Make parameter unsigned.
7934 * window.c (mark_window_config):
7935 * window.c (window_config_equal):
7936 * window.c (free_window_configuration):
7937 * window.c (Fset_window_configuration):
7938 * window.c (count_windows):
7939 * window.c (Fcurrent_window_configuration):
7940 * window.c (reinit_vars_of_window):
7941 Update all callers and users.
7943 2001-01-25 Martin Buchholz <martin@xemacs.org>
7945 Alignment correctness for flexible arrays.
7946 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7947 Make alignment-correct. Add interesting comments.
7948 * alloc.c (size_vector):
7949 * alloc.c (make_vector_internal):
7950 * alloc.c (make_bit_vector_internal):
7951 * alloc.c (sweep_bit_vectors_1):
7952 * fns.c (size_bit_vector):
7953 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7954 * window.c (sizeof_window_config_for_n_windows):
7955 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7957 2001-01-24 Martin Buchholz <martin@xemacs.org>
7959 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7961 2001-01-23 Andy Piper <andy@xemacs.org>
7963 * select.c (Fown_selection_internal): pass owned_p
7965 * select-msw.c (mswindows_own_selection): New Signature.
7967 * console.h (struct console_methods): add owned_p to
7970 * select-x.c (x_own_selection): pass owned_p
7971 (hack_motif_clipboard_selection): use owned_p
7972 (vars_of_select_x): new variable -
7973 x_selection_strict_motif_ownership.
7975 2001-01-23 Martin Buchholz <martin@xemacs.org>
7977 * specifier.h (specifier_data_offset): Remove pointless parens.
7978 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7980 2001-01-24 Martin Buchholz <martin@xemacs.org>
7982 Make Lisp_Object sizeof methods be alignment-correct.
7983 pdump must restore objects to the same alignment as the C compiler
7984 assumes. It really matters on SGIs.
7985 * lstream.c (aligned_sizeof_lstream): New.
7986 (sizeof_lstream): Use aligned_sizeof_lstream.
7987 (Lstream_new): Likewise.
7988 * opaque.c (aligned_sizeof_opaque): New.
7989 (sizeof_opaque): Use aligned_sizeof_opaque.
7990 (make_opaque): Likewise.
7991 * specifier.c (aligned_sizeof_specifier): New.
7992 (sizeof_specifier): Use aligned_sizeof_specifier.
7993 (make_specifier_internal): Likewise.
7995 2001-01-23 Martin Buchholz <martin@xemacs.org>
7997 * lstream.h (struct lstream): Use max_align_t for trailing data.
7998 * specifier.h (struct Lisp_Specifier): Likewise.
8000 2001-01-22 Martin Buchholz <martin@xemacs.org>
8002 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8003 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8004 (CCL_SUSPEND): Likewise.
8005 (CCL_INVALID_CMD): Likewise.
8006 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8007 (ccl_driver): Likewise.
8008 (CCL_WRITE_CHAR): Macro hygiene.
8009 (CCL_WRITE_STRING): Macro hygiene.
8011 2001-01-22 Martin Buchholz <martin@xemacs.org>
8013 Port "portable" dumper to SunOS 4 and HP-UX.
8014 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8015 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8016 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8018 2001-01-22 Martin Buchholz <martin@xemacs.org>
8020 * lisp.h (ALIGNOF): A better definition for C++.
8022 2001-01-20 Martin Buchholz <martin@xemacs.org>
8025 Fix printf warnings: int format, long int arg.
8026 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8027 (PUSH_FAILURE_POINT): Use correct printf formats.
8028 (POP_FAILURE_POINT): Use correct printf formats.
8029 Use do {...} while (0)
8031 2001-01-20 Martin Buchholz <martin@xemacs.org>
8033 * XEmacs 21.2.42 "Poseidon" is released.
8035 2001-01-20 Martin Buchholz <martin@xemacs.org>
8037 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8039 2001-01-19 Martin Buchholz <martin@xemacs.org>
8041 De-kludgify FIXED_TYPE free list frobbing.
8042 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8043 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8044 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8045 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8046 * alloc.c (LRECORD_FREE_P): New.
8047 * alloc.c (MARK_LRECORD_AS_FREE): New.
8048 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8049 * alloc.c (STRUCT_FREE_P): Deleted.
8050 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8051 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8052 * alloc.c (STRING_CHARS_FREE_P): New.
8053 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8054 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8055 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8056 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8057 * alloc.c (resize_string): Use new definitions.
8058 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8059 * alloc.c (verify_string_chars_integrity): Use new definitions.
8060 * alloc.c (compact_string_chars): Use new definitions.
8061 * alloc.c: Update monster comments.
8062 * lrecord.h (lrecord_type): Add some new lrecord types for
8065 2001-01-18 Martin Buchholz <martin@xemacs.org>
8067 Improve alignment hackery.
8068 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8069 (max_align_t): Moved from opaque.h - general purpose.
8070 (ALIGN_PTR): Use size_t, not long.
8071 * opaque.h (max_align_t): Move to lisp.h.
8073 2001-01-18 Norbert Koch <nk@LF.net>
8075 * gui.h: Fix and add prototypes to fix build problems.
8077 2001-01-18 Martin Buchholz <martin@xemacs.org>
8079 temacs is going away, so `dump-temacs' is now a bad name.
8080 * .dbxrc (dump-temacs): Rename to `dmp'.
8081 * .gdbinit (dump-temacs): Rename to `dmp'.
8083 2001-01-17 Andy Piper <andy@xemacs.org>
8085 * glyphs.c (print_image_instance): comment to make martin happy.
8087 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8090 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8092 (mswindows_tab_control_redisplay): warning suppression.
8094 * glyphs-widget.c (widget_update): re-write to cope with updated
8096 (widget_instantiate): use new gui_item functions.
8097 (tab_control_update): deleted.
8098 (progress_gauge_update): deleted.
8099 (image_instantiator_progress_guage): take out update reference.
8100 (image_instantiator_tree_view): ditto.
8101 (image_instantiator_tab_control): ditto.
8103 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8105 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8106 return whether anything was changed.
8107 (update_gui_item_keywords): as it sounds.
8109 * gui.h: declare widget_gui_parse_item_keywords.
8111 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8112 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8114 2001-01-17 Martin Buchholz <martin@xemacs.org>
8116 * XEmacs 21.2.41 "Polyhymnia" is released.
8118 2001-01-16 Didier Verna <didier@xemacs.org>
8120 * glyphs.c (image_instantiate): don't use fallbacks when
8121 instantiating a face's background pixmap by inheritance.
8123 2001-01-14 Mike Sperber <mike@xemacs.org>
8125 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8126 Conditionalize accordingly.
8128 2001-01-16 Martin Buchholz <martin@xemacs.org>
8130 * dumper.c (pdump_file_get): Fix a compiler warning.
8132 2001-01-15 Martin Buchholz <martin@xemacs.org>
8134 Make Purify happy when pdumping.
8135 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8136 iniitalizing all bits of new lisp object memory.
8137 * symbols.c (Fmake_local_variable): Likewise.
8138 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8139 * symbols.c (Fdefvaralias): Likewise.
8140 * mule-charset.c (vars_of_mule_charset): Likewise.
8142 2001-01-15 Martin Buchholz <martin@xemacs.org>
8143 Add the `-nd' flag when running pre-dump operations under the debugger.
8144 * .dbxrc (run-temacs): Add `-nd'.
8145 * .dbxrc (update-elc): Likewise.
8146 * .dbxrc (dump-temacs): Likewise.
8147 * .gdbinit (run-temacs): Likewise.
8148 * .gdbinit (check-temacs): Likewise.
8149 * .gdbinit (update-elc): Likewise.
8150 * .gdbinit (dump-temacs): Likewise.
8152 2001-01-14 Martin Buchholz <martin@xemacs.org>
8154 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8155 export OBJECT_MODE=64
8156 configure --pdump --use-union-type=no
8157 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8158 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8160 * miscplay.c (sndcnv8U_2mono):
8161 Avoid two uses of `++' in the same expression.
8162 Suppresses a GCC warning.
8164 2001-01-13 Martin Buchholz <martin@xemacs.org>
8166 Make sure future compilers don't miscompile alloc.c.
8168 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8169 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8171 2001-01-12 Martin Buchholz <martin@xemacs.org>
8173 * dumper.c: A little post-pdump-rename comment fixup.
8175 2001-01-09 Jerry James <james@eecs.ku.edu>
8177 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8179 2001-01-13 Martin Buchholz <martin@xemacs.org>
8181 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8185 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8188 replace_symbol pdump_wire_lists pdump_weak_object_chains
8189 replace_symbol pdump_wire_list dump_add_weak_object_chain
8191 replace_symbol pdump_wires pdump_root_objects
8192 replace_symbol pdump_wire dump_add_root_object
8194 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8195 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8197 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8198 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8199 replace_symbol dumpstructinfo pdump_root_struct_ptr
8200 replace_symbol dumpstruct dump_add_root_struct_ptr
8202 replace_symbol dumpopaque dump_add_opaque
8203 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8204 replace_symbol dumpopaqueinfos pdump_opaques
8205 replace_symbol dumpopaqueinfo pdump_opaque
8207 replace_symbol nb_structdump nb_root_struct_ptrs
8208 replace_symbol nb_opaquedump nb_opaques
8210 replace_symbol align_table pdump_align_table
8211 replace_symbol dump_header pdump_header
8213 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8214 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8217 2001-01-12 Martin Buchholz <martin@xemacs.org>
8219 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8220 optimizing bytecount_to_charcount().
8222 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8225 (HAVE_DLFCN_H): Removed.
8226 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8228 2001-01-06 Martin Buchholz <martin@xemacs.org>
8230 Portable dumper maintainability improvements.
8231 * alloc.c (staticpro):
8232 * alloc.c (staticpro_nodump):
8233 * alloc.c (garbage_collect_1):
8234 * alloc.c (reinit_alloc_once_early):
8235 * alloc.c (init_alloc_once_early):
8236 * alloc.c: Move dumper functions to alloc.c.
8237 * dumper.c (pdump_backtrace):
8238 * dumper.c (pdump_dump_structs):
8239 * dumper.c (pdump_dump_opaques):
8240 * dumper.c (pdump_dump_rtables):
8241 * dumper.c (pdump_dump_wired):
8243 * dumper.c (pdump_load_check):
8244 * dumper.c (pdump_load_finish):
8245 * dumper.c (pdump_file_unmap):
8246 * dumper.c (pdump_file_get):
8247 * dumper.c (pdump_resource_free):
8248 * dumper.c (pdump_resource_get):
8249 * dumper.c (pdump_file_free):
8250 * dumper.c (pdump_file_try):
8251 * dumper.c (pdump_load):
8252 Remove fixed size limits on staticpro(), staticpro_nodump(),
8253 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8254 Remove custom code for dumping lrecord_implementations_table - use
8256 Remove (most of the) custom code for dumping staticpros - dump it
8257 like any other dynarr.
8259 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8260 * dumper.c: Moved functions from alloc.c.
8261 * alloc.c (dumpstruct): Moved to dumper.c.
8262 * alloc.c (dumpopaque): Likewise.
8263 * alloc.c (pdump_wire): Likewise.
8264 * alloc.c (pdump_wire_list): Likewise.
8266 * lisp.h (Dynarr_sizeof): New.
8267 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8268 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8269 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8271 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8272 * lisp.h (dumpopaque): ditto.
8273 * lisp.h (pdump_wire): ditto.
8274 * lisp.h (pdump_wire_list): ditto.
8276 2001-01-09 Martin Buchholz <martin@xemacs.org>
8278 * make-src-depend (PrintPatternDeps):
8279 Use `sort' to make output independent of perl version.
8281 2001-01-08 Martin Buchholz <martin@xemacs.org>
8284 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8285 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8287 2001-01-03 Didier Verna <didier@xemacs.org>
8289 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8290 that `focus_frame' is alive before thinking of calling
8291 `redisplay_redraw_cursor' on it.
8293 2001-01-08 Martin Buchholz <martin@xemacs.org>
8295 * XEmacs 21.2.40 is released.
8297 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8299 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8301 2001-01-06 Martin Buchholz <martin@xemacs.org>
8303 * alloc.c (dbg_valmask): Make const.
8304 * alloc.c (dbg_typemask): Make const.
8305 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8306 * alloc.c (dbg_valbits): Make const.
8307 * alloc.c (dbg_gctypebits): Make const.
8309 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8311 * redisplay-x.c (x_bevel_area):
8312 redisplay.h (struct rune):
8313 Typo fixes in comments.
8315 2001-01-05 Andy Piper <andy@xemacs.org>
8317 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8320 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8322 2001-01-05 Martin Buchholz <martin@xemacs.org>
8324 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8326 * mule-ccl.c (stack_idx_of_map_multiple):
8327 Non const global data must not be initialized!
8328 Found by MIYASHITA Hisashi.
8330 2001-01-02 Andy Piper <andy@xemacs.org>
8332 * frame.c (change_frame_size): make sure frame size is always
8335 * glyphs.c (image_instance_layout): minor code reuse.
8337 * window.c (Fcurrent_window_configuration): revert previous
8340 2001-01-02 Martin Buchholz <martin@xemacs.org>
8343 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8345 2000-12-31 Andy Piper <andy@xemacs.org>
8347 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8348 when widget gets unmapped.
8350 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8351 function. Make sure widgets losing focus don't just drop it.
8352 (handle_focus_event_1): record the widget with focus.
8354 2000-12-31 Andy Piper <andy@xemacs.org>
8356 * window.c (allocate_window): use
8357 make_image_instance_cache_hash_table.
8358 (make_dummy_parent): ditto.
8359 (Fset_window_configuration): ditto.
8361 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8363 * glyphs.c (process_image_string_instantiator): use
8365 (get_image_instantiator_governing_domain): ditto.
8366 (normalize_image_instantiator): ditto.
8367 (instantiate_image_instantiator): ditto.
8368 (make_image_instance_1): ditto.
8369 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8370 (instantiator_eq_equal): new function for use with instance hash
8372 (instantiator_eq_hash): ditto.
8373 (make_image_instance_cache_hash_table): create a suitable hash
8374 table for storing image instances.
8376 * elhash.h (hash_table_weakness): new internal weakness type
8377 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8378 declare new functions.
8380 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8381 another weakness type for glyphs.
8382 (make_standard_lisp_hash_table): new function split out from
8383 make_general_lisp_hash_table.
8384 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8385 (hash_table_instantiate): ditto.
8386 (Fmake_hash_table): ditto.
8388 2000-12-31 Martin Buchholz <martin@xemacs.org>
8390 * XEmacs 21.2.39 is released.
8392 2000-12-29 Andy Piper <andy@xemacs.org>
8394 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8396 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8397 the frame has changed so that we pick up geometry changes such as
8400 2000-12-28 Andy Piper <andy@xemacs.org>
8402 * lastfile.c (my_ebss): make a char array so we can pad the
8403 bss. Fixes cygwin unexec.
8405 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8407 2000-12-26 Andy Piper <andy@xemacs.org>
8409 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8410 comments and try and be more precise about a non-/SIGIO world.
8411 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8414 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8415 we don't normalize to zero width or height.
8417 2000-12-24 Andy Piper <andy@xemacs.org>
8419 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8421 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8423 * s/sco5.h: SCO 5 has pty support.
8425 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8427 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8428 input-method-xlib.c contains whole contents of input-method-xfs.c,
8429 so we can use input-method-xlib.c's code for USE_XFONTSET
8431 * input-method-xfs.c: removed.
8433 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8435 * file-coding.h (enum coding_category_type): reorder enumerators to
8436 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8437 (now one greater than largest real coding_category_type enumerator).
8438 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8439 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8440 Fcoding_category_list, Fset_coding_priority_list,
8441 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8442 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8444 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8446 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8447 * redisplay-output.c (redisplay_output_window): Clear top of window
8448 when face is changed.
8449 * redisplay-x.c (x_redraw_exposed_window): Call
8450 redisplay_clear_top_of_window.
8451 * redisplay.h: Publish redisplay_clear_top_of_window.
8453 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8455 * buffer.c (Fkill_buffer): Map over all devices.
8456 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8457 (list_windows): New function.
8458 (list_all_windows): Ditto.
8459 (Freplace_buffer_in_windows): Use them.
8461 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8463 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8464 (Fopen_database): Use `db_create' instead of `db_open'.
8465 (syms_of_database): Initialize Qqueue.
8467 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8469 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8470 buffer_local_face_property.
8471 * buffer.h (struct buffer): New member buffer_local_face_property.
8472 * window.c (Fset_window_buffer): Mark window's face as changed
8473 when buffer has buffer local face.
8474 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8475 * objects.c (color_after_change): Set buffer_local_face_property
8476 when locale of face specifier is buffer.
8477 * objects.c (font_after_change): Ditto.
8478 * objects.c (face_boolean_after_change): Ditto.
8479 * glyphs.c (image_after_change): Ditto.
8481 2000-12-09 Dan Holmsand <dan@eyebee.com>
8483 * nt.c (mswindows_fstat): Report file permissions, volume serial
8484 number, etc. Code adapted from FSF Emacs 20.7.
8486 2000-12-09 Dan Holmsand <dan@eyebee.com>
8488 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8489 of stat when we don't have symbolic links, to make sure
8490 mswindows_stat is called on mswindows.
8492 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8494 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8496 2000-12-12 Martin Buchholz <martin@xemacs.org>
8498 * doprnt.c (emacs_doprnt_1): More printing fixes.
8499 Make printing of numbers compatible with libc and FSF Emacs.
8500 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8501 Use the system printf to do most of the hard work of formatting,
8502 instead of doprnt_1().
8503 Calculate memory to allocate for format string.
8504 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8505 (doprnt_1): Cleaner code and documentation.
8507 2000-12-01 Jerry James <james@eecs.ukans.edu>
8509 * Makefile.in.in: Use the loop variable to install headers.
8511 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8513 * window.c (Fsplit_window): Don't invalidate face cache.
8515 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8517 * minibuf.c (Fall_completions): Undo the previous change
8518 which removed checking elements start with space.
8520 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8522 * mule-canna.c: Didier suppression.
8524 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8526 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8527 (warning suppression). Add English comment translations.
8529 2000-12-05 Martin Buchholz <martin@xemacs.org>
8531 * unexelfsgi.c (unexec): Better test for mmap failure.
8533 2000-12-05 Martin Buchholz <martin@xemacs.org>
8535 * XEmacs 21.2.38 is released.
8537 2000-12-05 Martin Buchholz <martin@xemacs.org>
8539 * redisplay.c (bar-cursor): Make a user variable.
8541 * symsinit.h: Add init_postgresql_from_environment.
8543 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8545 * regex.c: Convert to clean C.
8547 2000-12-05 Dan Holmsand <dan@eyebee.com>
8550 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8552 (sys_readlink): renamed to system_readlink to avoid conflict with
8553 the other sys_readlink.
8555 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8557 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8559 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8561 * postgresql.c (init_postgresql_from_environment): new function.
8562 (vars_of_postgresql): Move code initializing Lisp variables out and
8563 into init_postgresql_from_environment.
8564 emacs.c (main_1): Call init_postgresql_from_environment if and only
8565 if running a dumped XEmacs.
8567 2000-08-31 Dan Holmsand <dan@eyebee.com>
8569 * buffer.c: Make find-file-compare-truenames default to true on
8572 * realpath.c (win32_abs_start):
8574 (win32_readlink): New functions.
8575 (xrealpath): Return really real filenames on windows.
8577 * fileio.c (Ffile_truename): Make file-truename work on windows.
8579 2000-11-29 Didier Verna <didier@xemacs.org>
8581 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8582 * faces.c (update_face_cachel_data): use it.
8583 * faces.c (add_face_cachel): use it. Complete background pixmap
8584 frobbing in face cache if `update_face_cachel_data' has not done so.
8586 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8588 * search.c (string_match_1): Don't set last_thing_searched
8591 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8593 * buffer.c: Include casetab.h
8594 (common_init_complex_vars_of_buffer): Use new case-table object.
8595 * buffer.h: Include casetab.h
8596 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8597 (DOWNCASE_TABLE_OF): Ditto.
8598 * bufslots.h: Remove char-tables and add case-table.
8599 * casetab.c: Include casetab.h
8600 (CASE_TABLE_P): Removed.
8601 (mark_case_table): New function.
8602 (allocate_case_table): New function.
8603 (Fcase_table_p): Use new case-table.
8604 (case_table_char): New function.
8605 (Fget_case_table): Ditto.
8606 (Fput_case_table): Ditto.
8607 (Fput_case_table_pair): Ditto.
8608 (Fcopy_case_table): Ditto.
8609 (Fcurrent_case_table): Return case-table.
8610 (Fstandard_case_table): Return case-table.
8611 (Fset_case_table): Fix doc-string.
8612 (set_case_table): Use case-table
8613 (syms_of_casetab): DEFSUBR new functions.
8614 (complex_vars_of_casetab): Set up standard case-table.
8615 * casetab.h: New file.
8616 * editfns.c: Include casetab.h
8617 (Fcompare_buffer_substrings): Use case-table.
8618 * inline.c: Include casetab.h
8619 * lisp.h: Remove bogus extern.
8620 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8621 * search.c: Include casetab.h
8622 (TRANSLATE_ASCII): Removed.
8623 (TRANSLATE): Unconditionally translate character.
8624 (looking_at_1): Use case-table.
8625 (string_match_1): Ditto.
8626 (fast_string_match): Ditto.
8627 (search_command): Ditto.
8628 (search_buffer): Separate boyer_moore. Check whether
8629 boyer_moore is possible.
8630 (simple_search): New function.
8631 (boyer_moore): Separated from search_buffer. Translate char.
8633 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8635 * regex.c (RE_TR_ASCII): Removed.
8636 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8637 (PATFETCH): Call PATFETCH_RAW.
8638 (PATFETCH_RAW): Fetch Emchar.
8639 (PATUNFETCH): Decrement charptr.
8640 (GET_BUFFER_SPACE): Rename b to buf_end.
8642 (BUF_PUSH_2): Ditto.
8643 (BUF_PUSH_3): Ditto.
8644 (EXTEND_BUFFER): Ditto.
8645 (SET_LIST_BIT): Ditto.
8646 (regex_compile): Ditto. Translate non ASCII char.
8647 (compile_range): Ditto.
8648 (re_search_2): Ditto.
8649 (re_match_2_internal): Compare Emchar.
8650 (bcmp_translate): Ditto.
8652 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8654 * lisp.h (basic char/int typedefs): comment improvement.
8656 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8658 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8659 unstomp inhibit_site_lisp. Improve comments.
8661 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8663 * mule-charset.c (Fcharset_property): improve type checking, comments.
8665 2000-11-28 Andy Piper <andy@xemacs.org>
8667 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8668 clipped display for windows in the gutter also.
8669 (redisplay_display_boxes_in_window_p): change semantics of return
8670 codes to be more intuitive.
8672 * gutter.h: declare display_boxes_in_gutter_p.
8674 * gutter.c (display_boxes_in_gutter_p): new function for
8677 2000-11-22 Andy Piper <andy@xemacs.org>
8679 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8682 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8684 * callproc.c (Fold_call_process_internal):
8685 * gpm.c (Freceive_gpm_event):
8686 (tty_get_foreign_selection): Might be just warning supression.
8687 * fileio.c (Fwrite_region_internal):
8688 (Fset_visited_file_modtime):
8689 * keymap.c (event_matches_key_specifier_p):
8690 Initialize GCPROed variable.
8692 * menubar-x.c (command_builder_find_menu_accelerator):
8693 Initialize before use.
8695 2000-11-23 Andy Piper <andy@xemacs.org>
8697 * unexcw.c (unexec): make the resulting executable executable.
8699 2000-11-21 Martin Buchholz <martin@xemacs.org>
8701 * doc.c (get_doc_string):
8702 Use size_t, not int, for result of XSTRING_LENGTH.
8704 * cmds.c (Fdelete_char):
8705 * cmds.c (Fpoint_at_eol):
8706 * cmds.c (Fself_insert_command):
8707 Use EMACS_INT, not int, for result of XINT.
8708 Someday, someone will want to insert more than 2**31 identical characters.
8710 * cmds.c (Fdelete_char):
8711 * cmds.c (Fdelete_backward_char):
8712 * syntax.c (Fforward_word):
8713 * syntax.c (Fforward_comment):
8714 Make COUNT argument optional, for consistency with forward-char et al.
8716 2000-11-22 Martin Buchholz <martin@xemacs.org>
8719 * print.c (long_to_string):
8720 Return a useful value: the pointer at end of data written.
8723 Use `static const char * const' for constant strings.
8724 (union printf_arg): Delete `i', `ui' members.
8727 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8728 Do all printf-ing via the `l' specifier.
8729 Use EMACS_INT instead of int.
8732 2000-11-20 Didier Verna <didier@xemacs.org>
8734 * faces.c (update_face_cachel_data): don't frob the background
8735 pixmap when the window is being created. The face is needed but
8738 2000-11-20 Andy Piper <andy@xemacs.org>
8740 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8741 messing with a debug environment.
8743 2000-11-20 Martin Buchholz <martin@xemacs.org>
8745 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8747 2000-11-20 Martin Buchholz <martin@xemacs.org>
8749 * casetab.c (Fcase_table_p): Fix compile error and crash.
8751 2000-11-18 Philip Aston <philipa@mail.com>
8753 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8755 2000-11-18 Martin Buchholz <martin@xemacs.org>
8757 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8758 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8760 2000-11-17 Martin Buchholz <martin@xemacs.org>
8762 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8763 * unexelf.c: Use HAVE_ELF_H.
8764 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8765 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8766 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8767 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8769 So this is an unexelfsgi.c from a different line of development.
8771 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8773 * regex.c (RE_TR_ASCII): New function.
8774 (RE_TRANSLATE): Call it.
8776 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8778 * buffer.h (TRT_TABLE_OF): Remove assert.
8779 (IN_TRT_TABLE_DOMAIN): Removed.
8781 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8783 * free-hook.c (log_gcpro):
8784 (show_gcprohist): Add support for GCPRO5.
8786 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8788 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8790 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8792 * symeval.h: Declare flush_all_buffer_local_cache.
8794 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8795 (flush_buffer_local_cache): Added.
8796 (flush_all_buffer_local_cache): Added.
8798 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8800 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8801 (pdump_dump_data): Ditto.
8802 (pdump_reloc_one): Ditto.
8803 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8807 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8809 * buffer.c: Remove if 0'ed entry.
8810 * buffer.h: Rewrite TRT to use char-table.
8811 * bufslots.h: Remove mirror tables.
8812 * casetab.c: Remove mirror tables.
8813 (CASE_TABLE_P): New macro.
8814 (Fcase_table_p): Element of a case table is string or char-table.
8815 (make_mirror_trt_table): Removed.
8816 (set_case_table): Setup char-table from strings for backward
8818 * dired.c (Fdirectory_files):
8819 * dired-msw.c: (mswindows_get_files):
8820 * lisp.h: Change prototype of re_pattern_buffer.
8821 * regex.c: (RE_TRANSLATE): New macro.
8822 (TRANSLATE_P): Ditto.
8823 Change translate to type RE_TRANSLATE_TYPE.
8824 * regex.h: Define RE_TRANSLATE_TYPE
8825 * search.c (TRANSLATE): New macro.
8826 (TRANSLATE_ASCII): New macro.
8827 Translate table is changed to Lisp_Object.
8828 (signal_failure): Inhibit return.
8830 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8837 Do UNGCPRO before return.
8839 2000-11-14 Martin Buchholz <martin@xemacs.org>
8841 * XEmacs 21.2.37 is released.
8843 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8845 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8846 Add comments about discarded return value.
8848 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8851 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8853 2000-10-27 Andy Piper <andy@xemacs.org>
8855 * gutter.c (Fset_default_gutter_position): default left and right
8857 (calculate_gutter_size): calculate resonable heuristic for left
8858 and right gutter sizes.
8859 (specifier_vars_of_gutter): change left and right gutter sizes to
8861 (calculate_gutter_size_from_display_lines): new function.
8862 (output_gutter): check for resizing on left and right gutters.
8863 (clear_gutter): don't special case top and left gutters.
8864 (specifier_vars_of_gutter): use new signature for
8865 set_specifier_caching.
8867 * glyphs-x.c (x_redisplay_widget): spelling fix.
8868 * glyphs.c (specifier_vars_of_glyphs):
8869 * menubar.c (specifier_vars_of_menubar):
8870 * redisplay.c (specifier_vars_of_redisplay):
8871 * toolbar.c (specifier_vars_of_toolbar):
8872 * window.c (specifier_vars_of_window):
8873 * scrollbar.c (specifier_vars_of_scrollbar):
8874 (complex_vars_of_scrollbar): use new signature for
8875 set_specifier_caching.
8877 * specifier.c (set_specifier_caching): include recompute flag.
8878 (recompute_one_cached_specifier_in_window): always recompute if
8880 (recompute_one_cached_specifier_in_frame): ditto.
8882 * specifier.h (struct specifier_caching): add recompute flag.
8884 2000-10-24 Andy Piper <andy@xemacs.org>
8886 * unexcw.c (copy_executable_and_dump_data_section): add new
8887 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8890 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8892 * console-x.h (x_device): New member modifier_release_time.
8893 * event-Xt.c (x_handle_sticky_modifiers):
8894 Bound interval modifier keys are sticky.
8895 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8896 * events.h: extern it.
8898 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8900 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8902 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8904 * event-stream.c (execute_command_event): Preserve current_events
8905 and the like when event is misc-user-event.
8906 Inhibit quit during the call to maybe_echo_keys.
8908 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8910 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8911 symlink when buffer is killed.
8912 (inhibit_clash_detection): New variable.
8914 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8916 * console.c (Fset_input_method): Trigger redisplay on tty.
8918 2000-11-07 Martin Buchholz <martin@xemacs.org>
8920 * process.c (Fprocess_status): Revert to previous behavior:
8921 (process-status "nosuchprocess") ==> nil
8923 2000-11-06 Martin Buchholz <martin@xemacs.org>
8925 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8926 Work around another GCC 2.95.2 optimizer bug.
8928 2000-11-02 Martin Buchholz <martin@xemacs.org>
8930 * process.c (Fget_process): Use LIST_LOOP_2.
8931 (kill_buffer_processes): Use LIST_LOOP_2.
8933 * minibuf.c (Fall_completions):
8934 Delete old non-functional code for FSF fourth argument.
8936 * frame.c (frame_matches_frame_spec):
8937 Renamed from `frame_matches_frametype'. Update all callers.
8938 (device_matches_device_spec):
8939 Renamed from 'device_matches_console_spec'. Update all callers.
8941 * doc.c (Fsubstitute_command_keys):
8942 Remove buffer overflow crash. Small code cleanups.
8944 * casetab.c (check_case_table): Simpler code.
8946 * window.c (Freplace_buffer_in_windows):
8947 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8948 (and similar implementation) as Fdelete_windows_on.
8951 * alloc.c (Fmake_list):
8952 * alloc.c (make_vector):
8953 * alloc.c (Fmake_vector):
8954 * alloc.c (make_bit_vector):
8955 * alloc.c (Fmake_bit_vector):
8956 * alloc.c (Fbit_vector):
8957 * alloc.c (Fmake_string):
8958 * alloc.c (Fpurecopy):
8959 * alloc.c (Fmemory_limit):
8961 * buffer.c (Fget_buffer):
8962 * buffer.c (Fkill_buffer):
8963 * buffer.c (complex_vars_of_buffer):
8964 * bytecode.c (Fcompiled_function_stack_depth):
8965 * callint.c (Fprefix_numeric_value):
8967 * event-stream.c (Fread_key_sequence):
8969 * casetab.c (Fcase_table_p):
8970 * casetab.c (check_case_table):
8971 * casetab.c (Fset_case_table):
8972 * casetab.c (Fset_standard_case_table):
8974 * chartab.c (Fchar_table_type):
8975 * chartab.c (Freset_char_table):
8976 * chartab.c (Fget_char_table):
8977 * chartab.c (Fget_range_char_table):
8978 * chartab.c (Fput_char_table):
8979 * chartab.c (Fmap_char_table):
8980 * chartab.c (Fcategory_table_p):
8981 * chartab.c (Fcheck_category_at):
8982 * chartab.c (Fchar_in_category_p):
8983 * chartab.c (Fcategory_table):
8984 * chartab.c (Fcopy_category_table):
8985 * chartab.c (Fset_category_table):
8986 * chartab.c (Fcategory_designator_p):
8987 * chartab.c (Fcategory_table_value_p):
8988 * cmds.c (Fdelete_char):
8989 * cmds.c (Fdelete_backward_char):
8990 * cmds.c (Fself_insert_command):
8991 * cmds.c (Fself_insert_internal):
8992 * console.c (Fvalid_console_type_p):
8993 * console.c (Fcdfw_console):
8994 * console.c (Fconsole_type):
8995 * console.c (Fconsole_name):
8996 * console.c (Fconsole_device_list):
8997 * console.c (Fconsole_on_window_system_p):
9001 * data.c (Fsubr_interactive):
9002 * data.c (Fchar_to_int):
9003 * data.c (Fint_to_char):
9006 * data.c (Fnumber_to_string):
9007 * data.c (Fstring_to_number):
9009 * database.c (mark_database):
9010 * database.c (finalize_database):
9011 * database.c (Fdatabase_live_p):
9012 * database.c (Fdatabasep):
9013 * device-x.c (Fx_get_resource):
9014 * device.c (Fdfw_device):
9016 * dired.c (Ffile_name_completion):
9017 * dired.c (Ffile_name_all_completions):
9018 * dired.c (Fuser_name_completion):
9019 * dired.c (Fuser_name_completion_1):
9020 * dired.c (Fuser_name_all_completions):
9021 * doc.c (Fdocumentation):
9022 * doc.c (Fdocumentation_property):
9023 * doc.c (Fsubstitute_command_keys):
9025 * editfns.c (Fchar_to_string):
9026 * editfns.c (Fstring_to_char):
9027 * editfns.c (Ftemp_directory):
9028 * editfns.c (Finsert_char):
9029 * editfns.c (Fbuffer_substring_no_properties):
9030 * editfns.c (Fnarrow_to_region):
9031 * editfns.c (Fchar_equal):
9032 * editfns.c (Fchar_Equal):
9033 * editfns.c (Ftranspose_regions):
9034 * emacs.c (Fdump_emacs):
9036 * eval.c (Fcommand_execute):
9037 * eval.c (Fautoload):
9038 * eval.c (Fbacktrace):
9039 * eval.c (Fbacktrace_frame):
9041 * events.c (Fcopy_event):
9042 * events.c (Fcharacter_to_event):
9043 * events.c (Fevent_button):
9044 * events.c (Fevent_process):
9046 * extents.c (Fnext_extent_change):
9047 * extents.c (Fextent_property):
9049 * faces.c (Fmake_face):
9051 * file-coding.c (Fencode_shift_jis_char):
9052 * file-coding.c (Fencode_big5_char):
9053 * fileio.c (Ffile_name_directory):
9054 * fileio.c (Ffile_name_nondirectory):
9055 * fileio.c (Ffile_name_as_directory):
9056 * fileio.c (Fdirectory_file_name):
9057 * fileio.c (Ffile_truename):
9058 * fileio.c (Fsubstitute_in_file_name):
9059 * fileio.c (Ffile_modes):
9060 * fileio.c (Fset_file_modes):
9061 * fileio.c (Fset_default_file_modes):
9062 * fileio.c (Fverify_visited_file_modtime):
9063 * floatfns.c (Facos):
9064 * floatfns.c (Fasin):
9065 * floatfns.c (Fatan):
9066 * floatfns.c (Fcos):
9067 * floatfns.c (Fsin):
9068 * floatfns.c (Ftan):
9069 * floatfns.c (Fbessel_j0):
9070 * floatfns.c (Fbessel_j1):
9071 * floatfns.c (Fbessel_jn):
9072 * floatfns.c (Fbessel_y0):
9073 * floatfns.c (Fbessel_y1):
9074 * floatfns.c (Fbessel_yn):
9075 * floatfns.c (Ferf):
9076 * floatfns.c (Ferfc):
9077 * floatfns.c (Flog_gamma):
9078 * floatfns.c (Fexp):
9079 * floatfns.c (Fexpt):
9080 * floatfns.c (Flog):
9081 * floatfns.c (Flog10):
9082 * floatfns.c (Fsqrt):
9083 * floatfns.c (Fcube_root):
9084 * floatfns.c (Facosh):
9085 * floatfns.c (Fasinh):
9086 * floatfns.c (Fatanh):
9087 * floatfns.c (Fcosh):
9088 * floatfns.c (Fsinh):
9089 * floatfns.c (Ftanh):
9090 * floatfns.c (Fabs):
9091 * floatfns.c (Ffloat):
9092 * floatfns.c (Flogb):
9093 * floatfns.c (Fceiling):
9094 * floatfns.c (Ffloor):
9095 * floatfns.c (Fround):
9096 * floatfns.c (Ftruncate):
9097 * floatfns.c (Ffceiling):
9098 * floatfns.c (Fffloor):
9099 * floatfns.c (Ffround):
9100 * floatfns.c (Fftruncate):
9101 * fns.c (Fstring_equal):
9102 * fns.c (Fstring_lessp):
9107 * fns.c (Fsubstring):
9109 * fns.c (Fold_assoc):
9110 * fns.c (assoc_no_quit):
9112 * fns.c (Fold_assq):
9113 * fns.c (assq_no_quit):
9115 * fns.c (Fold_rassoc):
9117 * fns.c (Fold_rassq):
9118 * fns.c (rassq_no_quit):
9119 * fns.c (Fremassoc):
9120 * fns.c (remassoc_no_quit):
9122 * fns.c (remassq_no_quit):
9123 * fns.c (Fremrassoc):
9124 * fns.c (Fremrassq):
9125 * fns.c (remrassq_no_quit):
9127 * fns.c (Fplist_get):
9128 * fns.c (Fplist_put):
9129 * fns.c (Fplist_remprop):
9130 * fns.c (Fplist_member):
9131 * fns.c (Flax_plist_get):
9132 * fns.c (Flax_plist_put):
9133 * fns.c (Flax_plist_remprop):
9134 * fns.c (Flax_plist_member):
9136 * fns.c (Fold_equal):
9138 * fns.c (Fbase64_encode_region):
9139 * fns.c (Fbase64_encode_string):
9140 * fns.c (Fbase64_decode_region):
9142 * frame.c (frame_matches_frame_spec):
9143 * frame.c (device_matches_device_spec):
9144 * frame.c (next_frame):
9145 * frame.c (previous_frame):
9146 * frame.c (Fnext_frame):
9147 * frame.c (Fprevious_frame):
9148 * frame.c (Fframe_property):
9149 * frame.c (Fset_frame_height):
9150 * frame.c (Fset_frame_size):
9154 * glyphs.c (decode_error_behavior_flag):
9155 * glyphs.c (Fmake_image_instance):
9156 * indent.c (Findent_to):
9157 * intl.c (Fignore_defer_gettext):
9158 * keymap.c (Fkeymapp):
9159 * keymap.c (Flookup_key):
9161 * lread.c (Fload_internal):
9162 * lread.c (Feval_buffer):
9163 * lread.c (Feval_region):
9164 * macros.c (Fexecute_kbd_macro):
9165 * marker.c (set_marker_internal):
9166 * marker.c (Fset_marker):
9167 * marker.c (set_marker_restricted):
9168 * marker.c (Fcopy_marker):
9169 * marker.c (noseeum_copy_marker):
9171 * menubar.c (Fpopup_menu):
9173 * mule-charset.c (Fcharset_name):
9174 * mule-charset.c (Fchar_charset):
9175 * mule-charset.c (Fchar_octet):
9176 * mule-charset.c (Fsplit_char):
9177 * mule-wnnfns.c (Fwnn_open):
9178 * mule-wnnfns.c (Fwnn_dict_comment):
9179 * mule-wnnfns.c (Fwnn_quit_henkan):
9180 * mule-wnnfns.c (Fwnn_word_toroku):
9181 * mule-wnnfns.c (Fwnn_word_sakujo):
9182 * mule-wnnfns.c (Fwnn_word_use):
9183 * mule-wnnfns.c (Fwnn_hindo_set):
9185 * objects.c (Fmake_color_instance):
9186 * objects.c (Fmake_font_instance):
9187 * print.c (Fwrite_char):
9189 * process.c (mark_process):
9190 * process.c (print_process):
9191 * process.c (get_process_from_usid):
9192 * process.c (Fprocessp):
9193 * process.c (Fprocess_live_p):
9194 * process.c (Fget_process):
9195 * process.c (Fget_buffer_process):
9196 * process.c (get_process):
9197 * process.c (Fprocess_id):
9198 * process.c (Fprocess_name):
9199 * process.c (Fprocess_command):
9200 * process.c (init_process_io_handles):
9201 * process.c (start_process_unwind):
9202 * process.c (Fstart_process_internal):
9203 * process.c (Fopen_multicast_group_internal):
9204 * process.c (Fset_process_window_size):
9205 * process.c (read_process_output):
9206 * process.c (send_process):
9207 * process.c (Fprocess_tty_name):
9208 * process.c (Fset_process_buffer):
9209 * process.c (Fprocess_buffer):
9210 * process.c (Fprocess_mark):
9211 * process.c (set_process_filter):
9212 * process.c (Fset_process_filter):
9213 * process.c (Fprocess_filter):
9214 * process.c (Fprocess_send_region):
9215 * process.c (Fprocess_send_string):
9216 * process.c (exec_sentinel):
9217 * process.c (Fset_process_sentinel):
9218 * process.c (Fprocess_sentinel):
9219 * process.c (status_notify):
9220 * process.c (Fprocess_status):
9221 * process.c (Fprocess_exit_status):
9222 * process.c (process_send_signal):
9223 * process.c (Fprocess_send_eof):
9224 * process.c (deactivate_process):
9225 * process.c (remove_process):
9226 * process.c (Fdelete_process):
9227 * process.c (kill_buffer_processes):
9228 * process.c (Fprocess_kill_without_query):
9229 * process.c (Fprocess_kill_without_query_p):
9231 * rangetab.c (Fget_range_table):
9232 * rangetab.c (Fput_range_table):
9233 * rangetab.c (Fremove_range_table):
9234 * rangetab.c (Fclear_range_table):
9236 * search.c (Fskip_chars_forward):
9237 * search.c (Fskip_chars_backward):
9238 * search.c (Fskip_syntax_forward):
9239 * search.c (Fskip_syntax_backward):
9240 * search.c (search_command):
9241 * search.c (Freplace_match):
9242 * search.c (Fregexp_quote):
9243 * select.c (Fown_selection_internal):
9244 * select.c (Fselection_owner_p):
9245 * select.c (Fselection_exists_p):
9246 * select.c (Fget_selection_internal):
9249 * symbols.c (Fintern):
9250 * symbols.c (Fintern_soft):
9251 * symbols.c (Funintern):
9252 * symbols.c (Fapropos_internal):
9253 * symbols.c (Fset_default):
9255 * syntax.c (Fsyntax_table_p):
9256 * syntax.c (Fcopy_syntax_table):
9257 * syntax.c (Fset_syntax_table):
9258 * syntax.c (Fchar_syntax):
9259 * syntax.c (syntax_match):
9260 * syntax.c (Fmatching_paren):
9261 * syntax.c (Fforward_word):
9262 * syntax.c (scan_lists):
9263 * syntax.c (Fscan_lists):
9264 * syntax.c (Fscan_sexps):
9265 * syntax.c (Fparse_partial_sexp):
9266 * toolbar.c (Fcheck_toolbar_button_syntax):
9269 * window.c (Fwindowp):
9270 * window.c (Fwindow_live_p):
9271 * window.c (Fwindow_point):
9272 * window.c (Fdelete_window):
9273 * window.c (Fnext_window):
9274 * window.c (Fprevious_window):
9275 * window.c (Fother_window):
9276 * window.c (window_loop):
9277 * window.c (Fget_lru_window):
9278 * window.c (Fsplit_window):
9279 * window.c (Fenlarge_window):
9280 * window.c (Fenlarge_window_pixels):
9281 * window.c (Fshrink_window):
9282 * window.c (Fshrink_window_pixels):
9283 * window.c (change_window_height):
9284 * window.c (Fwindow_configuration_p):
9285 * window.c (Fcurrent_window_configuration):
9287 * casefiddle.c (casify_object):
9288 * casefiddle.c (Fupcase):
9289 * casefiddle.c (Fdowncase):
9290 * casefiddle.c (Fcapitalize):
9291 * casefiddle.c (Fupcase_initials):
9292 * casefiddle.c (casify_region_internal):
9293 * casefiddle.c (casify_region):
9294 * casefiddle.c (Fupcase_region):
9295 * casefiddle.c (Fdowncase_region):
9296 * casefiddle.c (Fcapitalize_region):
9297 * casefiddle.c (Fupcase_initials_region):
9298 * casefiddle.c (Fupcase_word):
9299 * casefiddle.c (Fdowncase_word):
9300 * casefiddle.c (Fcapitalize_word):
9301 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9302 Replace 0 with '\0' when working with bytes.
9303 Replace initial "(" with "\(" in docstrings.
9305 2000-11-01 Martin Buchholz <martin@xemacs.org>
9307 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9309 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9311 2000-10-31 Martin Buchholz <martin@xemacs.org>
9313 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9315 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9317 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9320 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9322 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9323 (inhibit_auto_save_session): New variable.
9324 (vars_of_fileio): Declare and initialize them.
9325 * fileio.c (Fdo_auto_save): Don't create session file if
9326 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9328 2000-10-31 Martin Buchholz <martin@xemacs.org>
9330 * sgiplay.c (play_internal): C++ compilability.
9331 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9332 * callproc.c (Fold_call_process_internal):
9333 Remove unused vars `env', `first'.
9334 * scrollbar.c (update_scrollbar_instance):
9335 #### unused var `current_window'.
9336 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9337 etc. within #ifdef NOT_YET.
9338 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9339 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9340 * specifier.c (specifier_instance):
9341 #### unused var `tag'.
9342 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9344 2000-10-27 Martin Buchholz <martin@xemacs.org>
9347 * fns.c (list_sort):
9348 * fns.c (Ffillarray):
9349 * fns.c (bytecode_nconc2):
9352 * fns.c (Fmapconcat):
9353 Be pedantically 64-bit correct. For the time when someone will
9354 want to have a list with length > 2**32.
9356 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9357 Work around MIPSpro compiler bug.
9359 * process-unix.c (unix_kill_child_process): Add snarky comment.
9360 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9362 * config.h.in: Oops, _getpt ==> _getpty
9364 2000-10-26 Martin Buchholz <martin@xemacs.org>
9368 Use void*, not char*, as return type of alloca().
9370 * alloc.c (free_marker): Side effect inside assert expression!
9372 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9374 * mule-charset.c (Fset_charset_ccl_program): To check
9375 if the given ccl program is valid, use setup_ccl_program()
9376 instead of CHECK_VECTOR().
9377 (Fmake_charset): Likewise.
9379 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9381 * faces.c (get_extent_fragment_face_cache_index):
9382 Fix cachel.merged_faces memory leak.
9384 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9386 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9387 Reset MSB of octets obtained by DECODE_SJIS
9388 because of the incompatibility with Emacs.
9389 (ccl_driver)<CCL_ENCODE_SJIS>:
9390 Set MSB of octets before passing them to
9391 ENCODE_SJIS because of the incompatibility
9394 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9396 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9397 (DECLARE_LRECORD): Undo the last change.
9398 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9400 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9402 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9403 the implementation to lrecord_implementations_table.
9405 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9407 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9408 initial value of `lrecord_type_##c_name' and
9409 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9410 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9411 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9412 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9413 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9415 2000-10-17 Martin Buchholz <martin@xemacs.org>
9417 * miscplay.c (sndcnv8S_2mono):
9418 (sndcnv2monounsigned):
9419 (sndcnvULaw_2linear):
9421 Remove implementation-defined behavior.
9423 2000-10-12 Martin Buchholz <martin@xemacs.org>
9425 * input-method-xlib.c: Warning suppression.
9427 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9429 * mule-ccl.c: Sync up with Emacs 21.0.90.
9430 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9432 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9434 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9435 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9436 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9437 leading char belongs to official 2-dimensional charset.
9438 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9439 write the given character as is. Otherwise,
9440 if it is a multibyte char, convert it by
9441 non_ascii_set_charptr_emchar, then write it.
9442 (CCL_WRITE_STRING): Likewise.
9443 (ccl_get_compiled_code): New function.
9444 (setup_ccl_program): When ccl_prog is invalid,
9446 (Fregister_code_conversion_map): New function.
9447 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9449 * mule-ccl.h: Sync up with Emacs 21.0.90.
9450 (Fregister_ccl_program): export it.
9452 * redisplay-msw.c (separate_textual_runs):
9453 If ccl program is not valid, don't do ccl conversion.
9455 * redisplay-x.c (separate_textual_runs): Ditto.
9457 * file-coding.c (Fmake_coding_system):
9458 When type is ccl and value is vector, register it
9459 with a proper symbol. And checks whether the
9460 given ccl program is valid.
9461 (mule_decode): When calling ccl_driver, if src indicates
9462 NULL pointer, set an empty string instead.
9463 (mule_encode): Likewise.
9465 2000-10-11 Martin Buchholz <martin@xemacs.org>
9467 The following large batch of changes gets us back to a state of
9468 C++ compilability. Extbyte is now a char, which means that
9469 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9471 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9473 * sound.c (Fplay_sound): Type correctness.
9475 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9476 (x_get_window_property): Type correctness.
9477 (receive_incremental_selection): unsigned char ==> Extbyte
9478 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9479 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9480 (Fx_store_cutbuffer_internal): Type correctness.
9482 * process-unix.c (try_to_initialize_subtty): Type correctness.
9484 * objects-x.c (x_print_color_instance): Type correctness.
9485 (x_print_font_instance): Type correctness.
9486 (x_list_fonts): SExtbyte ==> Extbyte.
9487 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9488 (x_find_charset_font): SExtbyte ==> Extbyte.
9489 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9490 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9491 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9494 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9495 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9496 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9497 (BYTE_C0_P): Use bit ops for char-signedness safety.
9498 (BYTE_C1_P): Use bit ops for char-signedness safety.
9499 (CHARSET_BY_LEADING_BYTE):
9500 (CHARSET_BY_ATTRIBUTES):
9501 Always use inline function.
9502 Use type_checking_assert.
9505 * mule-charset.c (non_ascii_charptr_copy_char):
9506 Modify to work with both ASCII and non-ASCII characters.
9507 Improve docs and variable names.
9508 Replace over-clever fall-through switch with a simple loop.
9509 (Lstream_get_emchar_1):
9510 Replace over-clever fall-through switch with a simple loop.
9512 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9513 Warning suppression.
9515 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9516 the return value of Lstream_getc, which could be EOF as well.
9518 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9520 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9521 APIs can be used on Extbytes without casts. Risky!
9525 * input-method-xlib.c (XIM_init_device):
9526 Use Xlib.h instead of IntrinsicP.h.
9527 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9528 which will break in X11R7.
9529 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9530 to call XRegisterIMInstantiateCallback with correct types.
9532 * gui-x.c (button_item_to_widget_value): Type correctness.
9534 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9536 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9537 (xbm_instantiate_1): Type correctness.
9538 (BUILD_GLYPH_INST): Type correctness.
9540 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9543 (decode_coding_sjis):
9544 (decode_coding_big5):
9545 (decode_coding_ucs4):
9546 (decode_coding_utf8):
9547 (decode_coding_iso2022):
9548 (decode_coding_no_conversion):
9549 Make all decoding functions take an Extbyte * arg.
9550 (encode_coding_sjis):
9551 (encode_coding_big5):
9552 (encode_coding_ucs4):
9553 (encode_coding_utf8):
9554 (encode_coding_iso2022):
9555 (encode_coding_no_conversion):
9556 Make all encoding functions take a Bufbyte * arg.
9557 Use size_t instead of unsigned int for memory sizes.
9558 Only cast to unsigned char whenever dereferencing Extbyte *.
9560 * doc.c (unparesseuxify_doc_string): Type correctness.
9562 * console-x.c (split_up_display_spec):
9563 Rewrite without using details of internal string representation.
9564 (x_semi_canonicalize_device_connection): Type correctness.
9567 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9568 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9569 (HAVE_XFREE386): Removed.
9571 * buffer.h (DEC_CHARPTR): `const' correctness.
9572 (bufbyte_strcmp): New.
9573 (bufbyte_memcmp): New.
9575 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9577 * buffer.h (XCHAR_OR_CHAR_INT):
9578 Always use inline function.
9579 Remove redundant type checking assert() - XINT will abort quite nicely.
9581 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9583 * search.c (Freplace_match): Set newtext to an empty string.
9585 2000-10-10 Martin Buchholz <martin@xemacs.org>
9587 * s/decosf1-3.h: Remove #include of stropts.h
9588 * s/ptx.h: Remove #include of stropts.h
9589 * s/usg5-4.h: Remove #include of stropts.h
9592 Use stropts.h, not sys/stropts.h.
9593 Use strtio.h, not sys/strtio.h.
9595 2000-10-04 Martin Buchholz <martin@xemacs.org>
9597 * XEmacs 21.2.36 is released.
9599 2000-09-21 Andy Piper <andy@xemacs.org>
9601 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9602 changes still involve copying the widget tree.
9603 (update_widget_face): make sure a change is register in the widget
9604 tree. Call update_tab_widget_face appropriately.
9605 (update_tab_widget_face): ditto.
9606 (x_tab_control_redisplay): make sure non-structural changes still
9607 involve copying the widget tree.
9609 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9611 * lread.c (locate_file): Check the path element is non-nil.
9613 2000-10-02 Martin Buchholz <martin@xemacs.org>
9615 * lisp.h: Warning suppression for SCO compilers.
9617 * redisplay-tty.c (reset_tty_modes): Fix crash.
9618 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9620 2000-09-27 Martin Buchholz <martin@xemacs.org>
9622 Big signal/process handling overhaul. Bugs fixed:
9623 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9624 M-x comint-kill-subjob should work for both values nil and t of
9625 process-connection-type. It was broken on most platforms.
9626 Testing on Irix and Cygwin still needed. Other plaforms tested.
9627 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9628 * process-unix.c: Signal/Process handling overhaul.
9629 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9630 (allocate_pty): Use all available modern methods of allocating
9631 ptys, falling back to old style BSD allocation as a last resort.
9632 Use allegedly more secure Unix98 pty allocation by default.
9633 (allocate_pty_the_old_fashioned_way): New. the last resort.
9634 (unix_create_process): Push ptem, ldterm, ttcompat where
9635 available. Autoconfiscate.
9636 (try_to_initialize_subtty): New.
9637 (unix_kill_child_process): Proper signal handling for ptys on most
9638 platforms, using special knowledge of AIX, BSD, etc...
9639 (unix_create_process): Always disconnect_controlling_terminal() for
9640 subprocesses, whether using ptys or not.
9641 * process.h: Remove old getpt-dependent PTY code.
9642 * process.c (Fprocess_send_signal): New, obvious generic function.
9643 (decode_signal): New.
9644 (Finterrupt_process):
9648 (Fcontinue_process):
9649 (Fsignal_process): Use decode_signal.
9650 (process_send_signal):
9651 Many docstring corrections.
9652 Allow any signal to be sent to a process object.
9653 * config.h.in: Add symbols for big signal/process overhaul.
9654 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9655 * sysproc.h: Include process-related headers, where available:
9656 sys/stropts.h sys/strtio.h pty.h libutil.h
9664 Remove old S&M pty stuff.
9665 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9666 * systty.h: Simplify cpp hackery, improve comments.
9667 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9669 * editfns.c (Fformat_time_string):
9670 Be a little more paranoid with the return value of ctime.
9672 * fileio.c (check_executable):
9674 Use symbolic constants X_OK, W_OK.
9676 * console-x.c (split_up_display_spec): Fix a warning.
9678 2000-10-02 Martin Buchholz <martin@xemacs.org>
9680 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9681 * ntproc.c (sys_spawnve): make_string ==> build_string
9682 Small clarity improvements.
9684 2000-09-30 Martin Buchholz <martin@xemacs.org>
9686 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9688 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9690 * config.h.in (HAVE_STRCASECMP): Remove.
9692 2000-09-29 Martin Buchholz <martin@xemacs.org>
9694 * redisplay-output.c (redisplay_output_pixmap):
9695 Cleaner and possibly more 64-bit correct code.
9697 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9699 * dumper.c (pdump_load_finish): move restoration of
9700 `noninteractive1' to emacs.c (main_1).
9701 * emacs.c (main_1): protect LISP-visible command-line flags
9704 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9706 * Makefile.in.in (versionclean): Use EXE_TARGET and
9707 DUMP_TARGET instead of literal program names.
9709 2000-09-20 Martin Buchholz <martin@xemacs.org>
9711 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9713 2000-09-19 Martin Buchholz <martin@xemacs.org>
9715 * *: Spelling mega-patch
9717 2000-09-19 Martin Buchholz <martin@xemacs.org>
9719 * fns.c (bad_bad_turtle):
9720 Delete "Eek!" comment, since we fixed the bug to which it refers.
9722 2000-09-16 Martin Buchholz <martin@xemacs.org>
9724 * alloca.c: Replace REGISTER with register.
9726 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9728 * file-coding.c (ucs_to_char): Use countof.
9730 2000-09-16 Martin Buchholz <martin@xemacs.org>
9732 * file-coding.c: (ucs_to_char):
9733 (complex_vars_of_file_coding):
9734 Use countof instead of sizeof.
9735 Use CHECK_NATNUM instead of CHECK_INT.
9737 * sysdep.c (strcasecmp): Remove.
9738 * device-x.c (ascii_strcasecmp): New.
9739 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9740 Avoid using non-standard non-portable strcasecmp.
9742 2000-09-16 Martin Buchholz <martin@xemacs.org>
9744 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9745 * font-lock.c: remove reference to emacsfns.h.
9746 * search.c: small doc improvement.
9747 * event-Xt.c: correct file names in comments.
9748 * console-x.h Correct file names in comments.
9749 * frame.c: Correct file names in comments.
9750 * event-stream.c: remove Energize from comments.
9752 2000-09-15 Martin Buchholz <martin@xemacs.org>
9754 * symeval.h (DEFERROR_STANDARD):
9757 (DEFSYMBOL_NO_DUMP):
9758 (DEFSYMBOL_MULTIWORD_PREDICATE):
9759 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9761 The construct &##name is not sensible C.
9762 Fixes compilation errors with Unixware native compiler.
9764 2000-09-14 Martin Buchholz <martin@xemacs.org>
9766 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9767 (next_frame_internal): Removed. We now just have next_frame.
9769 Write a simpler and cleaner one-pass algorithm.
9770 Remove called_from_delete_device arg and #ifdefed-out code.
9772 Renamed from prev_frame. Update callers.
9773 Cleaned up to have an analogous implementation to next_frame.
9774 (other_visible_frames_internal): Remove the
9775 called_from_delete_device bogus arg, and hence, remove this
9776 function. Just use other_visible_frames().
9778 * window.c (Fnext_window):
9780 Since next_frame() is guaranteed to return a frame, remove check
9781 for nil inserted in previous patch.
9784 Make code look more like Fnext_window.
9786 Respect the `console' arg when iterating through windows.
9787 Fixes bug: (get-buffer-window buffer t device) not respecting
9789 This function needs more work, as others have pointed out.
9791 * frame.h: Rename prev_frame to previous_frame.
9792 device_matches_console_spec no longer takes a `frame' arg.
9797 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9798 From "Golubev I. N." <gin@mo.msk.ru>.
9800 * make-src-depend: Fix typo.
9802 2000-09-13 Martin Buchholz <martin@xemacs.org>
9804 * window.c (Fnext_window):
9805 next_frame() might return nil, not a frame.
9807 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9809 * frame.c (next_frame_internal):
9810 We've passed a frame if we've passed its device.
9812 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9813 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9815 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9817 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9818 Allow option to suppress accelerators in menu/dialog items.
9819 (populate_or_checksum_helper): Pass dialog title through above.
9821 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9823 * event-msw.c (mswindows_key_to_emacs_keysym):
9824 Add "pause" key, fix "menu" key.
9826 2000-09-09 Martin Buchholz <martin@xemacs.org>
9828 * eval.c (reinit_vars_of_eval):
9829 Increase max_lisp_eval_depth to 1000,
9830 required for thai-xtis.el to byte-compile under some circumstances.
9832 2000-09-04 Martin Buchholz <martin@xemacs.org>
9834 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9837 2000-09-01 Martin Buchholz <martin@xemacs.org>
9839 * make-src-depend: Make the generated Makefiles smaller.
9841 * s/hpux.h (SETUP_SLAVE_PTY):
9842 Provide a %d in the format string for the errno argument.
9844 * editfns.c (Ftemp_directory):
9846 Avoid buffer overrun on very long file name.
9848 * input-method-xlib.c (XIM_init_device):
9849 6th parameter of XRegisterIMInstantiateCallback has different
9850 pointer types on different OSes, so simply cast to (void *).
9852 * unexhp9k800.c: Warning fixes. Fiddly changes.
9854 * sysdll.c (dll_open):
9855 shl_load will hang hard if passed a NULL filename.
9856 Simply return NULL for compatibility with dlopen.
9857 * sysdll.c: Conform to XEmacs coding standards.
9859 * sysdep.c (get_pty_max_bytes):
9860 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9862 2000-08-31 Martin Buchholz <martin@xemacs.org>
9864 * tooltalk.c: Add #include <syssignal.h>
9866 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9868 * s/hpux.h: Don't use undefined function sigunblock().
9870 2000-08-31 Martin Buchholz <martin@xemacs.org>
9872 * config.h.in: Add HAVE_BALLOON_HELP.
9873 * emacs.c: Use HAVE_BALLOON_HELP.
9874 * Makefile.in.in (x_objs):
9875 Make Balloon Help conditional on finding shape.h.
9877 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9879 * syntax.c (regex_emacs_buffer_p): New variable.
9880 * syntax.h (regex_emacs_buffer_p): extern.
9881 * search.c (looking_at_1):
9883 (fast_string_match):
9884 (search_buffer): Set regex_emacs_buffer_p.
9885 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9886 when before_dot, at_dot, after_dot.
9888 2000-08-23 Andy Piper <andy@xemacs.org>
9890 * gui-x.c (popup_selection_callback): Only set action_occurred
9891 when we really have an image instance.
9892 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9894 2000-08-23 Andy Piper <andy@xemacs.org>
9896 * gui-msw.c (mswindows_handle_gui_wm_command): set
9898 * gui-x.c (popup_selection_callback): ditto.
9900 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9901 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9902 (struct Lisp_Image_Instance): add action_occurred flag.
9904 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9905 (image_instance_changed): ditto.
9906 (reset_frame_subwindow_instance_cache): only unmap windows - do
9907 not remove them from the cache also.
9909 * glyphs-widget.c (tab_control_update): better debug.
9910 (progress_gauge_update): ditto.
9911 (layout_update): ditto.
9912 (layout_instantiate): ditto.
9913 (tab_control_order_only_changed): cope with null pending items.
9915 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9916 debug. Force selection of an item when an action occurred. Cope
9917 with null pending_items.
9918 (mswindows_progress_gauge_redisplay): better debug.
9919 * glyphs-x.c (x_tab_control_redisplay): ditto.
9921 * redisplay.c (redisplay_frame): reset the frame cache if the
9924 * window.c (Fset_window_configuration): potentially re-enable
9926 (window_unmap_subwindows): need to finalize instances here since
9927 it is only used in mark_window_as_deleted.
9929 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9931 * nas.c (SndOpenDataForReading):
9932 nas.c (WaveOpenDataForReading):
9933 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9934 Somehow escaped from the 2000-08-14 patch.
9936 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9938 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9939 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9941 2000-08-21 Andy Piper <andy@xemacs.org>
9943 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9944 window if it is not already displayed.
9946 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9947 it is not already displayed.
9949 * window.c (Fset_window_configuration): don't reset the frame
9952 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9953 instances from the frame cache if we are actually finalizing them.
9954 (reset_frame_subwindow_instance_cache): reset frame cache only
9955 after unmapping everything.
9956 (map_subwindow): set displayed flag after mapping.
9958 2000-08-21 Martin Buchholz <martin@xemacs.org>
9960 * data.c (indirect_function):
9961 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9963 * eval.c (function_argcount):
9964 Use original function when signaling errors.
9966 2000-08-18 Andy Piper <andy@xemacs.org>
9968 * frame.c (delete_frame_internal): use new
9969 free_frame_subwindow_instances name.
9971 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9972 (add_tab_item): make return type correct.
9973 (mswindows_tab_control_instantiate): assert index of tab.
9974 (mswindows_tab_control_redisplay): Re-code to use
9975 gui_item_equal_sans_selected and gui_item_list_find_selected.
9977 * glyphs-widget.c (tab_control_update): Correct comment.
9979 * window.c (window_unmap_subwindows): use new
9980 unmap_subwindow_instance_cache_mapper.
9981 (window_unmap_subwindows_cache_mapper): deleted.
9982 (Fset_window_configuration): comparisons should now be with
9983 EQ. Preserve the subwindow instance cache across configuration
9985 (allocate_window): ditto.
9986 (make_dummy_parent): ditto.
9988 * glyphs.c (free_frame_subwindow_instances): rename from
9989 free_frame_subwindow_instance_cache. finalize all instances rather
9990 than just those in the display cache.
9991 (finalize_all_subwindow_instances): walk windows unmapping and
9992 finalizing subwindows.
9993 (unmap_subwindow_instance_cache_mapper): moved from
9994 window.c. Allow finalization as well as unmapping.
9996 * gui.c (gui_item_list_find_selected): new function.
9998 * gui.h (gui_item_list_find_selected): declare.
10000 * glyphs-x.c (x_tab_control_redisplay): pick tab
10001 explicitly. Re-code to use gui_item_equal_sans_selected and
10002 gui_item_list_find_selected.
10004 * glyphs-x.h: add lwlib-utils.h
10006 * buffer.c (Frecord_buffer): undo previous change.
10008 2000-08-09 Vin Shelton <acs@xemacs.org>
10010 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10011 possible. Create temporary files more securely. The patch was
10012 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10013 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10014 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10017 2000-08-07 Ben Wing <ben@xemacs.org>
10019 * getloadavg.c: remove duplicate (and windows-breaking)
10020 includes of fcntl.h and sys/file.h.
10022 * nt.c: remove duplicate getloadavg() definition.
10024 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10027 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10029 * eval.c (function_argcount): If function needs to be autoloaded
10030 actually use the loaded definition.
10033 2000-08-05 Ben Wing <ben@xemacs.org>
10035 * getloadavg.c: add prototype for getloadavg(). remove
10036 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10037 of the code). remove duplicate header includes.
10039 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10041 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10042 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10043 useful load average.
10045 * alloc.c (reinit_alloc_once_early): removed references to
10046 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10047 the lisp vars are the only things referencing the malloc_sbrk_*
10048 vars, and they were already if 0'd out. these vars only exist
10049 in the older malloc.c, which is basically unused, and they're
10050 only for informational purposes.
10052 * m\*.h: removed useless VIRT_ADDR_VARIES.
10054 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10056 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10058 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10059 color if the image is a mono pixmap.
10061 2000-07-30 Ben Wing <ben@xemacs.org>
10063 * Makefile.in.in (release):
10066 * buffer.c (directory_is_current_directory):
10067 * dired-msw.c (mswindows_get_files):
10069 * dired.c (Fdirectory_files):
10070 * dired.c (file_name_completion_stat):
10071 * dired.c (Ffile_attributes):
10072 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10073 preprocessor tricks, to avoid problems on some machines
10076 * callproc.c (egetenv): GC docs.
10079 * console-msw.h (struct mswindows_dialog_id):
10080 * lrecord.h (lrecord_type):
10081 New object for use with MSW dialogs.
10083 * console.h (struct console_methods):
10084 New enable/disable frame methods, for proper modal dialogs.
10086 * device-msw.c (msprinter_default_printer): Fix to follow
10087 proper Mule conventions.
10090 * device-msw.c (signal_open_printer_error):
10091 * device-msw.c (msprinter_init_device):
10092 * device-msw.c (ensure_not_printing):
10093 * device-msw.c (plist_get_margin):
10094 * device-msw.c (Fmsprinter_select_settings):
10095 * device-msw.c (finalize_devmode):
10096 * device-msw.c (Fmsprinter_settings_despecialize):
10097 * device-msw.c (signal_enum_priner_error):
10098 * extents.c (decode_extent):
10099 * extents.c (decode_map_extents_flags):
10100 * extents.c (decode_extent_at_flag):
10101 * extents.c (Fextent_at):
10102 * extents.c (Fextents_at):
10103 * extents.c (symbol_to_glyph_layout):
10104 [[[[2]]]] Use structured errors.
10107 * dialog-msw.c (mswindows_is_dialog_msg):
10108 * dialog-msw.c (mark_mswindows_dialog_id):
10109 * dialog-msw.c (dialog_proc):
10110 * dialog-msw.c (handle_question_dialog_box):
10111 * dialog-msw.c (syms_of_dialog_mswindows):
10112 Define new object to clean up marking; use it as a dialog identifier.
10113 Call new delete-dialog-box-hook.
10115 * dialog-x.c (dbox_selection_callback):
10116 * dialog-x.c (dbox_descriptor_to_widget_value):
10117 * dialog-x.c (x_make_dialog_box_internal):
10118 Call new delete-dialog-box-hook.
10122 * dialog.c (syms_of_dialog):
10123 * dialog.c (vars_of_dialog):
10124 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10127 * eval.c (signal_call_debugger):
10128 when noninteractive, output stack traces on the console instead
10129 of in a (never-seen) buffer.
10131 * eval.c (signal_type_error):
10132 * eval.c (invalid_argument_2):
10134 new funs for use w/structured errors.
10137 * event-Xt.c (x_to_emacs_keysym):
10138 * event-Xt.c (describe_event):
10139 * event-Xt.c (emacs_Xt_event_handler):
10140 * event-Xt.c (vars_of_event_Xt):
10142 * event-msw.c (mswindows_wnd_proc):
10143 * event-msw.c (vars_of_event_mswindows):
10144 rename {x,mswindows}-debug-events to debug-{}-events for
10145 consistency with other debug-foo variables.
10148 document next-event more clearly.
10150 * fileio.c (Ffile_name_directory):
10151 * fileio.c (Ffile_name_nondirectory):
10152 * fileio.c (Funhandled_file_name_directory):
10153 * fileio.c (file_name_as_directory):
10154 * fileio.c (Ffile_name_as_directory):
10155 * fileio.c (directory_file_name):
10156 * fileio.c (Fdirectory_file_name):
10157 * fileio.c (Fmake_temp_name):
10158 * fileio.c (Ffile_truename):
10159 * fileio.c (Fsubstitute_in_file_name):
10160 * fileio.c (expand_and_dir_to_file):
10161 * fileio.c (barf_or_query_if_file_exists):
10162 * fileio.c (check_executable):
10163 * fileio.c (Ffile_exists_p):
10164 * fileio.c (Ffile_writable_p):
10165 * fileio.c (Ffile_directory_p):
10166 * fileio.c (Ffile_regular_p):
10167 * fileio.c (Ffile_modes):
10168 * fileio.c (Ffile_newer_than_file_p):
10169 * fileio.c (Fverify_visited_file_modtime):
10170 * fileio.c (Fset_visited_file_modtime):
10171 * fileio.c (auto_save_1):
10176 * frame-msw.c (mswindows_init_frame_1):
10177 * frame-msw.c (mswindows_enable_frame):
10178 * frame-msw.c (error_frame_unsizable):
10179 * frame-msw.c (msprinter_init_frame_1):
10180 * frame-msw.c (msprinter_init_frame_3):
10181 * frame-msw.c (console_type_create_frame_mswindows):
10183 implement new enable/disable frame methods.
10186 * frame-x.c (x_enable_frame):
10187 * frame-x.c (console_type_create_frame_x):
10188 implement new enable/disable frame methods.
10191 * frame.c (Fdisable_frame):
10192 * frame.c (syms_of_frame):
10193 * frame.h (struct frame):
10194 implement new enable/disable frame methods/functions.
10199 * glyphs-msw.c (mswindows_widget_instantiate):
10200 comment that initial-focus should be implemented.
10203 * glyphs-widget.c (check_valid_instantiator):
10204 * glyphs-widget.c (check_valid_orientation):
10205 * glyphs-widget.c (check_valid_tab_orientation):
10206 * glyphs-widget.c (check_valid_justification):
10207 * glyphs-widget.c (check_valid_border):
10208 * glyphs-widget.c (check_valid_callback):
10209 * glyphs-widget.c (check_valid_int_or_function):
10210 * glyphs-widget.c (check_valid_string_or_vector):
10211 * glyphs-widget.c (check_valid_item_list_1):
10212 * glyphs-widget.c (widget_validate):
10213 * glyphs-widget.c (combo_box_validate):
10214 * glyphs-widget.c (widget_instantiate):
10215 * glyphs-widget.c (syms_of_glyphs_widget):
10216 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10217 * glyphs-widget.c (image_instantiator_combo_box):
10218 * glyphs-widget.c (image_instantiator_scrollbar):
10219 * glyphs-widget.c (image_instantiator_tab_control):
10220 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10222 support (unimplemented) keyword initial-focus.
10223 reindent long macros.
10225 * glyphs-x.c (x_redisplay_widget):
10226 * glyphs-x.c (x_button_instantiate):
10227 * glyphs-x.c (x_button_redisplay):
10228 * glyphs-x.c (x_progress_gauge_instantiate):
10229 * glyphs-x.c (x_edit_field_instantiate):
10230 * glyphs-x.c (x_combo_box_instantiate):
10231 * glyphs-x.c (x_tab_control_instantiate):
10232 * glyphs-x.c (x_label_instantiate):
10234 * gui-x.c (button_item_to_widget_value):
10235 * gui-x.c (gui_items_to_widget_values_1):
10236 * gui-x.c (gui_item_children_to_widget_values):
10237 * gui-x.c (gui_items_to_widget_values):
10239 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10240 add new flag to gui-parsing routines to indicate whether
10241 accelerator specs should be supported.
10243 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10245 * glyphs.h (struct Lisp_Image_Instance):
10246 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10247 add initial-focus flag.
10250 * gui.c (syms_of_gui):
10251 * gui.c (vars_of_gui):
10252 clean up menu-no-selection-hook.
10255 support delete-dialog-box-hook.
10257 * lread.c (Fload_internal):
10258 * lread.c (locate_file_in_directory_mapper):
10262 * lrecord.h (struct toolbar_button):
10263 * lrecord.h (syms_of_toolbar):
10264 document how to create a new object.
10266 * menubar-msw.c (mswindows_char_is_accelerator):
10267 may be called on frames w/o menus.
10269 * menubar.c (vars_of_menubar):
10270 clean up :filter docs.
10277 * process-nt.c (validate_signal_number):
10278 * process-nt.c (signal_cannot_launch):
10279 * process-nt.c (nt_create_process):
10280 * process-nt.c (nt_send_process):
10281 * process-nt.c (nt_kill_child_process):
10282 * process-nt.c (nt_open_network_stream):
10283 * process-nt.c (syms_of_process_nt):
10285 delete quote-handling. call new lisp code that does it better.
10287 * process-unix.c (connect_to_file_descriptor):
10288 * process-unix.c (allocate_pty):
10289 * process-unix.c (unix_send_process):
10290 * process-unix.c (unix_kill_child_process):
10291 * process-unix.c (unix_open_network_stream):
10292 * process-unix.c (unix_open_multicast_group):
10296 * process.c (Fstart_process_internal):
10297 (2). need to canonicalize process path even if absolute.
10299 * select-msw.c (symbol_to_ms_cf):
10300 * select-msw.c (ms_cf_to_symbol):
10301 * select-msw.c (cf_is_autofreed):
10302 * select-msw.c (mswindows_destroy_selection):
10304 * select.c (syms_of_select):
10306 support dibv5, fix bugs. (from Mike Alexander)
10308 * select.c (Fget_selection_internal):
10309 * select.c (select_convert_out):
10312 * sysdep.c (xemacs_stat):
10315 * sysdep.c (mkdir):
10316 * sysdep.c (rmdir):
10317 but keep original stat() here because we provide encapsulation
10321 * sysfile.h (fstat):
10322 remove stat garbage.
10325 fix X/MSW conflict.
10326 don't include tchar.h. it's inappropriate because it makes
10327 compile-time distinctions when we want runtime distinctions.
10328 (we provide our own tchar replacements)
10331 use default object printer for toolbar-button.
10334 make sure we don't encapsulate.
10336 * window.c (vars_of_window):
10337 emphasize that temp-buffer-show-hook is obsolete.
10339 2000-08-05 Martin Buchholz <martin@xemacs.org>
10341 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10342 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10344 * events.c (Fevent_timestamp_lessp):
10345 Not 64-bit clean. Use EMACS_INT, not int.
10347 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10349 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10350 unsigned int and changed the last enum to
10351 lrecord_type_last_built_in_type.
10352 (lrecord_implementations_table): changed prototype to know how
10353 long the array is supposed to be.
10354 (lrecord_type_count): new unsigned int to keep track of the
10355 current number of lisp lrecord types.
10356 (DEFINE_EXTERNAL_LRECORD):
10357 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10358 dynamic-modules to declare new lisp types. They are the same
10359 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10360 int for each new type, and increment lrecord_type_count by 1.
10362 * alloc.c (lrecord_implementations_table): Changed to reference
10363 lrecord_type_last_built_in_type for the size of the array.
10364 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10366 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10368 * glyphs.h (check_valid_item_list): Renamed from
10369 check_valid_item_list_1.
10371 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10373 * select.c (Qselect_coerce): New.
10374 * select.c (Vselection_coercion_alist): New.
10375 * select.c (syms_of_select): Declare.
10376 * select.c (get-selection-internal): Use it.
10377 Use the new select-coerce functionality.
10379 * select.c (select_coerce): New.
10380 * select.h (select_coerce): Declare.
10381 New function to coerce one type of data into another.
10383 2000-08-03 Martin Buchholz <martin@xemacs.org>
10385 * callproc.c (Fcall_process_internal):
10386 (Fcall_process_internal):
10387 * process-unix.c (unix_create_process):
10388 Save and restore the value of errno, so that error messages are accurate.
10390 2000-08-01 Martin Buchholz <martin@xemacs.org>
10392 * elhash.c (print_hash_table):
10393 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10394 Prettify docstrings and indentation.
10396 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10398 * window.c (Fwindow_pixel_edges): Subtract frame border and
10401 2000-07-31 Andy Piper <andy@xemacs.org>
10403 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10404 will acknowledge the change.
10406 * glyphs.h: declare tab_control_order_only_changed.
10408 * glyphs-x.c (x_tab_control_redisplay): use
10409 tab_control_order_only_changed.
10411 * glyphs-widget.c (tab_control_order_only_changed): new function.
10413 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10414 tab_control_order_only_changed.
10416 * gui.c (gui_item_equal_sans_selected): new function.
10417 (gui_item_equal): use it.
10419 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10420 :properties in favor of :items..
10422 * glyphs-widget.c (check_valid_item_list): rename from
10423 check_valid_item_list_1.
10424 (check_valid_item_list_1): renamed.
10425 (combo_box_validate): deprecate :properties in favor of :items.
10426 (widget_instantiate): ditto.
10427 (tab_control_update): ditto.
10428 (image_instantiator_combo_box): ditto.
10429 (image_instantiator_tree_view): ditto.
10430 (image_instantiator_tab_control): ditto.
10431 (layout_post_instantiate): remove dead code.
10433 * print.c (debug_print_no_newline): only write to debugger if in
10436 * elhash.c (Fmake_hash_table): update doc string.
10438 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10439 messages whilst in GC. This at least stops XEmacs crashing but has
10440 the potential for wierd behaviour.
10442 2000-07-31 Martin Buchholz <martin@xemacs.org>
10445 Make existence of s&m files optional.
10447 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10448 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10449 * s/gnu.h: Remove HAVE_GETLOADAVG.
10450 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10451 * s/sol2.h: Remove HAVE_GETLOADAVG.
10452 * lisp.h: Remove getloadavg() declaration.
10454 Include <sys/loadavg.h> if available.
10455 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10456 * config.h.in: Group together getloadavg()-related macros.
10457 Use only configure-time tests to detect getloadavg().
10459 2000-07-30 Martin Buchholz <martin@xemacs.org>
10461 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10463 2000-07-25 Andy Piper <andy@xemacs.org>
10465 * syswindows.h: add tchar.h for native builds.
10467 * frame.c (syms_of_frame): remove set-glyph-image.
10469 * general-slots.h: add Qset_glyph_image.
10471 * glyphs-widget.c (layout_update): add domain arg to
10473 (syms_of_glyphs_widget): remove set-glyph-image.
10475 2000-07-23 Ben Wing <ben@xemacs.org>
10477 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10480 2000-07-22 Andy Piper <andy@xemacs.org>
10482 * symsinit.h: add syms_of_win32().
10484 * gui-msw.c (syms_of_gui_mswindows): remove
10485 Fmswindows_shell_execute.
10486 (Fmswindows_shell_execute): moved to win32.c.
10488 * emacs.c (main_1): add syms_of_win32 ().
10490 * win32.c (init_potentially_nonexistent_functions): rewrite in
10491 compiler-friendly terms.
10492 (Fmswindows_shell_execute): move here from gui-msw.c.
10493 (syms_of_win32): new.
10495 * device-msw.c (Fmswindows_printer_list): clean up args to
10497 Don't include tchar under cygwin or mingw.
10498 (msprinter_default_printer): make cygwin-friendly.
10500 2000-07-21 Andy Piper <andy@xemacs.org>
10502 * glyphs-widget.c (image_instantiator_tree_view): use tab
10503 control's update function.
10504 (layout_property): new function. Retrieve items.
10506 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10507 function. Re-populate the tree view from the pending items.
10509 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10510 is designated the parent if the domain is an image instance. This
10511 is needed so that dirtiness can be cascade up the hierarchy and
10512 thus for layout children to be redisplayed correctly.
10513 (allocate_image_instance): rename glyph -> parent.
10515 * redisplay.h: change redisplay_output_layout signature.
10517 * redisplay-msw.c (mswindows_output_display_block): use domain
10520 * redisplay-x.c (x_output_display_block): use domain arg.
10522 2000-07-10 Andy Piper <andy@xemacs.org>
10524 * window.c (Fset_window_configuration): add comment.
10526 * redisplay-output.c (compare_runes):
10527 (redisplay_output_subwindow): redisplay rather than update subwindow.
10528 (redisplay_output_layout): ditto.
10530 * redisplay-msw.c (mswindows_frame_output_end):
10531 (mswindows_frame_output_end): make defer window pos optional.
10533 * lisp.h: add Flast.
10535 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10536 normalize method. Change update method to be for changed
10537 instantiators. Add redisplay method. Change signature of layout
10539 (struct Lisp_Image_Instance): add instantiator.
10540 (IMAGE_INSTANCE_INSTANTIATOR): new.
10541 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10542 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10543 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10546 (find_instantiator_differences): new function.
10547 (Fset_instantiator_property): new convenience function.
10548 (check_image_instance_structure): strictly check for vector
10550 (normalize_image_instantiator): make non-static.
10551 (instantiate_image_instantiator): pass on dest_mask and use new
10552 signatures for image_instance_layout and friends.
10553 (mark_image_instance): mark the instantiator. Mark the subwindow
10554 face not the widget face.
10555 (image_instance_equal): add instantiator.
10556 (image_instance_hash): ditto.
10557 (allocate_image_instance): ditto.
10558 (Fset_image_instance_property): removed.
10559 (Fimage_instance_file_name): ditto.
10560 (Fcolorize_image_instance): ditto.
10561 (image_instance_layout): add offsets to be set.
10562 (update_image_instance): new function. update an image instance
10563 from its changed instantiator.
10564 (inherit_normalize): add dest_mask.
10565 (xbm_normalize): ditto.
10566 (xface_normalize): ditto.
10567 (xpm_normalize): ditto.
10568 (text_update): set_property -> update.
10569 (image_instantiate): use the glyph identity as a hash key, not the
10571 (glyph_width): use new image_instance_layout signature.
10572 (glyph_ascent): ditto.
10573 (glyph_descent): ditto.
10574 (glyph_height): ditto.
10575 (glyph_query_geometry): ressurrect.
10576 (glyph_layout): ditto.
10577 (redisplay_subwindow): update -> redisplay.
10578 (syms_of_glyphs): add Fset_instantiator_property.
10579 (image_instantiator_format_create): set_property -> update.
10582 (autodetect_normalize): add dest_maks to signature.
10583 (x_redisplay_subwindow): update -> redisplay.
10584 (x_redisplay_widget): ditto.
10585 (x_button_redisplay): ditto.
10586 (x_progress_gauge_redisplay): ditto.
10587 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10589 (console_type_create_glyphs_x): update -> redisplay.
10590 (image_instantiator_format_create_glyphs_x): ditto.
10593 (check_valid_instantiator): disallow glyphs in the instantiator,
10594 they must now be vectors.
10595 (check_valid_instantiator_list): ditto.
10596 (glyph_instantiator_to_glyph): use internal symbol rather than
10598 (widget_update): renamed from widget_set_property. Call cascaded
10600 (redisplay_widget): renamed from update_widget.
10601 (widget_layout): image_instance_layout now takes position as well
10603 (widget_normalize): ditto.
10604 (widget_instantiate): ditto.
10605 (tab_control_query_geometry) ditto.:
10606 (tab_control_update): renamed from tab_control_set_property.
10607 (progress_gauge_update): set_property -> update.
10608 (layout_normalize): rewrite so that child instantiators are
10610 (layout_update): new function. Create glyphs from the normalized
10611 children and cope with any other layout keywords. We do not
10612 instantiate children here that will be take care of by
10613 redisplay_output_layout.
10614 (layout_instantiate): call layout_update and not much else.
10615 (layout_post_instantiate): not sure whether this is needed
10617 (layout_query_geometry): query glyph geometry rather than
10618 image_instance geometry.
10619 (layout_layout): set offsets from pass in parameters. Use glyph
10620 geometry and layout functions rather than image instance ones.
10621 (native_layout_layout): ditto.
10622 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10623 (image_instantiator_widget): set_property -> update.
10624 (image_instantiator_buttons): ditto.
10625 (image_instantiator_progress_guage): ditto.
10626 (image_instantiator_tab_control): ditto.
10627 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10628 (image_instantiator_layout): add update method.
10630 * glyphs-msw.c (bmp_normalize):
10631 (mswindows_resource_normalize): add dest_mask so that it can be
10632 proprogated by layout_normalize.
10633 (begin_defer_window_pos): make optional because it may not be the
10634 right thing to do and it introduces differences with X.
10635 (mswindows_unmap_subwindow): ditto.
10636 (mswindows_map_subwindow): ditto.
10637 (mswindows_redisplay_subwindow): renamed from
10638 mswindows_update_subwindow.
10639 (mswindows_redisplay_widget): ditto.
10640 (mswindows_button_redisplay): renamed from
10641 mswindows_button_update. Update is now what the instantiation
10642 function does for a changed instantiator.
10643 (mswindows_progress_gauge_instantiate): set the progress value
10644 here if appropriate.
10645 (mswindows_tab_control_redisplay): cope with re-ordering of the
10646 members of the tab widget by simply selecting the new top
10647 widget. This makes things appear ok if you click on a tab.
10648 (mswindows_combo_box_instantiate): image_instance_layout now takes
10649 position as well as size.
10650 (mswindows_progress_gauge_redisplay): renamed from
10651 mswindows_progress_gauge_update.
10652 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10653 (image_instantiator_format_create_glyphs_mswindows): ditto.
10655 * glyphs-eimage.c (jpeg_normalize):
10658 (tiff_normalize): add dest_mask so that it can be proprogated by
10662 (print_hash_table):
10663 (hash_table_weakness_validate):
10664 (decode_hash_table_weakness):
10665 (Fhash_table_weakness):
10666 (Fhash_table_type):
10667 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10669 * console.h (struct console_methods): move update_* to
10672 2000-07-20 Ben Wing <ben@xemacs.org>
10674 * *.[ch] (XSETOBJ): remove unused middle argument.
10675 lisp-disunion.h: correct wrap_object() to one argument.
10677 2000-07-15 Ben Wing <ben@xemacs.org>
10680 * s/cygwin32.h (CYGWIN_CONV_PATH):
10681 Add missing logb prototype for v1.1.
10682 Use post-b20 names and alias to pre-b20 names when pre-b20.
10684 * s/windowsnt.h: [5].
10686 2000-07-15 Ben Wing <ben@xemacs.org>
10688 * Makefile.in.in (x_objs):
10689 * Makefile.in.in (sheap_objs):
10690 * Makefile.in.in (objs):
10691 added win32.o, cosmetic cleanups.
10693 * alloc.c (Fmake_byte_code):
10694 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10695 etc. macros which declare their own args now.
10697 * alloc.c (syms_of_alloc):
10698 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10701 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10703 * buffer.c (Fget_file_buffer):
10704 Fixed GCPRO problem.
10706 * buffer.c (get_truename_buffer):
10707 Fixed comment about GC checking.
10709 * buffer.c (syms_of_buffer):
10710 Undeclared those dedicated frame funs.
10714 Define convenience macros for internal/external conversions.
10715 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10716 and Qenvironment_variable_encoding for cleaner code.
10719 Remove dedicated-frame; in lisp.
10721 * bytecode.c (funcall_compiled_function):
10724 * bytecode.c (syms_of_bytecode):
10728 * console-msw.c (mswindows_show_console): Rewrote.
10730 * console-msw.c (Fmswindows_debugging_output): New.
10731 Sends to OutputDebugString (special MSWin debugger interface).
10733 * console-msw.c (Fmswindows_message_box):
10734 Fixed stupid bugs so it works when called from kill-emacs.
10736 * console-msw.c (syms_of_console_mswindows):
10737 Declare Fmswindows_debugging_output.
10740 New MSWin prototypes.
10742 * console-msw.h (struct mswindows_frame):
10743 New entry last-click-mods for improved button-modifier support.
10745 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10746 New struct entry `popup' with corresponding accessor.
10749 * console-x.c (split_up_display_spec):
10750 * console-x.c (get_display_arg_connection):
10751 * console-x.c (x_semi_canonicalize_console_connection):
10752 * console-x.c (x_canonicalize_device_connection):
10753 [[[6]]]: Change char to more specific type.
10754 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10756 * console-x.c (x_semi_canonicalize_console_connection):
10757 * console-x.c (x_canonicalize_device_connection):
10758 [[[9]]]: Fix up error signalling to use new structured error system.
10761 [[[4]]]: Define codesys aliases:
10762 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10763 Qx_color_name_encoding, Qx_display_name_encoding.
10765 * console.h (struct console_methods):
10766 New method make_dialog_box_internal supersedes older
10767 popup_dialog_box method.
10770 Define many new errors, part of new structured errors.
10772 * data.c (init_errors_once_early):
10773 * data.c (syms_of_data):
10776 * device-msw.c (mswindows_init_device):
10777 [[[5]]]: Cleanup to support NT 3.51.
10779 * device-msw.c (decode_devmode): Cleanup.
10781 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10782 * device-msw.c (mswindows_handle_print_dialog_box):
10783 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10784 * device-msw.c (syms_of_device_mswindows):
10785 Delete the dialog box primitives recently introduced by Kirill and
10786 instead interface to general dialog box interface.
10789 * device-x.c (compute_x_app_name):
10790 * device-x.c (x_init_device):
10791 * device-x.c (Fx_valid_keysym_name_p):
10792 * device-x.c (Fx_set_font_path):
10796 * device.h (wrap_device): New.
10797 First of its kind; meant to replace XSETDEVICE.
10799 * dialog-msw.c: Many file-dialog symbols.
10801 * dialog-msw.c (mswindows_register_popup_frame): New.
10802 * dialog-msw.c (mswindows_is_dialog_msg): New.
10803 For supporting kbd traversal in dialog boxes.
10805 * dialog-msw.c (dialog_proc):
10806 Support hitting ESC in dialogs.
10808 * dialog-msw.c (struct):
10809 Common dialog box errors.
10811 * dialog-msw.c (handle_file_dialog_box): New.
10812 Add file dialog code.
10814 * dialog-msw.c (handle_question_dialog_box):
10815 Redo existing code to support new question dialog syntax.
10817 * dialog-msw.c (console_type_create_dialog_mswindows):
10818 We support new dialog console method.
10820 * dialog-msw.c (syms_of_dialog_mswindows):
10821 * dialog-msw.c (vars_of_dialog_mswindows):
10822 New file dialog symbols, vars.
10825 * dialog-x.c (maybe_run_dbox_text_callback):
10826 * dialog-x.c (dbox_descriptor_to_widget_value):
10827 * dialog-x.c (x_make_dialog_box_internal):
10828 * dialog-x.c (console_type_create_dialog_x):
10829 Mule-ize entire file.
10830 Redo to support question dialog syntax.
10834 * dialog.c (Fmake_dialog_box_internal):
10835 * dialog.c (syms_of_dialog):
10836 Kill old popup-dialog-box, replace with new primitive.
10837 Just call device method or signal error.
10839 * eldap.c (Fldap_open):
10840 * eldap.c (Fldap_search_basic):
10841 * eldap.c (Fldap_add):
10842 * eldap.c (Fldap_modify):
10847 * emacs.c (make_arg_list_1):
10848 * emacs.c (make_arg_list):
10849 Mule-ize call to dll_init().
10853 * emacs.c (make_argc_argv):
10854 * emacs.c (free_argc_argv):
10855 * emacs.c (init_cmdargs):
10856 * emacs.c (main_1):
10857 * emacs.c (Fkill_emacs):
10858 * emacs.c (Fdump_emacs):
10859 Update comments about what can be used in syms_* etc.
10860 Call init_win32() when necessary.
10861 Fix up MS Win dialog box in kill-buffer to actually work right.
10872 * eval.c (condition_case_3):
10874 * eval.c (function_argcount):
10875 * eval.c (funcall_lambda):
10878 * eval.c (type_error): New.
10879 * eval.c (maybe_type_error): New.
10880 * eval.c (continuable_type_error): New.
10881 * eval.c (maybe_continuable_type_error): New.
10882 * eval.c (type_error_with_frob): New.
10883 * eval.c (maybe_type_error_with_frob): New.
10884 * eval.c (continuable_type_error_with_frob): New.
10885 * eval.c (maybe_continuable_type_error_with_frob): New.
10886 New functions for use with structured errors.
10889 * event-Xt.c (x_event_to_emacs_event):
10890 Buttons are now modifiers too.
10892 * event-Xt.c (emacs_Xt_current_event_timestamp):
10893 Implement new event method.
10894 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10897 * event-msw.c (ntpipe_shove_writer): [5].
10898 * event-msw.c (mswindows_enqueue_mouse_button_event):
10899 * event-msw.c (mswindows_drain_windows_queue):
10900 * event-msw.c (mswindows_wnd_proc): [7].
10901 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10902 * event-msw.c (mswindows_modifier_state):
10903 Throughout: support new button modifiers.
10905 * event-msw.c (emacs_mswindows_current_event_timestamp):
10906 Implement new event method.
10907 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10910 * event-stream.c (event_stream_current_event_timestamp): New.
10911 * event-stream.c (maybe_kbd_translate): New functionality.
10912 * event-stream.c (vars_of_event_stream):
10913 Document new kbd-translate-table functionality.
10915 * event-stream.c (Fcurrent_event_timestamp): New.
10916 New primitive for use in fabricated events.
10917 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10919 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10922 * events.c (Fmake_event):
10923 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10927 * events.c (format_event_object): fix gcc warnings.
10929 * events.c (Fevent_timestamp): Document new primitives.
10931 * events.c (TIMESTAMP_HALFSPACE): New.
10933 * events.c (Fevent_timestamp_lessp): New. New primitive for
10934 comparing timestamps correctly (half-space algorithm).
10936 * events.c (Fevent_modifier_bits): Doc fix.
10938 * events.c (Fevent_modifiers): Major doc addition.
10939 * events.c (event_x_y_pixel_internal): Typo fix.
10940 * events.c (syms_of_events): Declare new primitives.
10943 Update long comment for button modifiers, timestamps.
10945 * events.h (struct event_stream):
10946 New current_event_timestamp method.
10949 * extents.c (extent_in_region_p):
10950 * extents.c (decode_extent):
10951 * extents.c (Fset_extent_parent):
10952 * extents.c (decode_map_extents_flags):
10956 * extents.c (struct extent_at_arg):
10957 * extents.c (decode_extent_at_flag):
10958 * extents.c (extent_at_mapper):
10959 * extents.c (extent_at_bytind):
10960 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10961 * extents.c (Fextents_at): New primitive. [9].
10962 * extents.c (symbol_to_glyph_layout): [9].
10963 Support new primitive `extents-at'.
10966 * extents.c (get_text_property_bytind):
10967 extent_at_bytind has another arg.
10970 * extents.c (syms_of_extents): New primitive.
10972 * file-coding.c (Fmake_coding_system): [1].
10973 * file-coding.c (subsidiary_coding_system): fix gcc warning
10974 * file-coding.c (syms_of_file_coding): [2].
10976 * fileio.c (Fexpand_file_name):
10977 * fileio.c (Fsysnetunam):
10978 * fileio.c (Ffile_exists_p):
10979 * fileio.c (Ffile_executable_p):
10980 * fileio.c (Fverify_visited_file_modtime):
10983 * fileio.c (syms_of_fileio): [2].
10985 * filelock.c (lock_file_1):
10986 * filelock.c (current_lock_owner):
10987 * filelock.c (lock_if_free):
10988 * filelock.c (lock_file):
10989 * filelock.c (unlock_file):
10992 * fns.c (concat): Fix gcc warning.
10995 * fns.c (Fold_member):
10997 * fns.c (Fold_memq):
10998 * fns.c (memq_no_quit):
11000 * fns.c (Fold_assoc):
11002 * fns.c (Fold_assq):
11003 * fns.c (assq_no_quit):
11005 * fns.c (Fold_rassoc):
11007 * fns.c (Fold_rassq):
11008 * fns.c (rassq_no_quit):
11010 * fns.c (Fold_delete):
11012 * fns.c (Fold_delq):
11013 * fns.c (delq_no_quit):
11014 * fns.c (Fremassoc):
11015 * fns.c (Fremassq):
11016 * fns.c (remassq_no_quit):
11017 * fns.c (Fremrassoc):
11018 * fns.c (Fremrassq):
11019 * fns.c (remrassq_no_quit):
11020 * fns.c (Freverse):
11024 * frame-msw.c (mswindows_init_frame_1):
11025 * frame-msw.c (mswindows_delete_frame):
11026 Register popups with dialog code so keyboard traversing works.
11028 * frame-tty.c (tty_raise_frame_no_select): [1].
11031 * frame-x.c (x_set_frame_text_value):
11032 * frame-x.c (x_set_frame_properties):
11033 * frame-x.c (x_create_widgets):
11037 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11039 * frame.h (wrap_frame): New.
11040 Macro like wrap_device.
11043 * general.c (SYMBOL):
11044 * general.c (syms_of_general):
11045 Major reorg. This is now just a wrapper and symbols themselves
11046 are listed in general-slots.h.
11048 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11049 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11051 * glyphs-msw.c (mswindows_native_layout_instantiate):
11052 Add DS_CONTROL so keyboard traversal will work.
11055 * glyphs-widget.c (syms_of_glyphs_widget):
11056 Move some symbols to general-slots.h.
11059 * glyphs-x.c (xbm_instantiate_1):
11060 * glyphs-x.c (x_xbm_instantiate):
11061 * glyphs-x.c (x_xface_instantiate):
11062 * glyphs-x.c (autodetect_instantiate):
11063 * glyphs-x.c (cursor_font_instantiate):
11064 * glyphs-x.c (x_update_widget):
11065 * glyphs-x.c (x_widget_instantiate):
11066 * glyphs.c (bitmap_to_lisp_data):
11067 * glyphs.c (pixmap_to_lisp_data):
11070 * glyphs.c (syms_of_glyphs):
11074 * gui-x.c (print_widget_value):
11075 * gui-x.c (menu_separator_style_and_to_external):
11076 * gui-x.c (add_accel_and_to_external):
11077 * gui-x.c (button_item_to_widget_value):
11078 * gui-x.c (gui_items_to_widget_values_1):
11079 * gui-x.c (gui_items_to_widget_values):
11080 * gui-x.c (syms_of_gui_x):
11081 * gui-x.c (vars_of_gui_x):
11082 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11086 Muleize, prototype changes matching gui-x.c.
11089 * gui.c (separator_string_p):
11090 * gui.c (gui_item_add_keyval_pair):
11091 * gui.c (make_gui_item_from_keywords_internal):
11092 * gui.c (signal_too_long_error):
11093 * gui.c (parse_gui_item_tree_item):
11094 * gui.c (syms_of_gui):
11095 * gui.c (vars_of_gui):
11097 menu-no-selection-hook moved here (used by MSWin).
11098 Move some symbols to general-slots.h.
11102 * insdel.c (get_buffer_pos_char):
11103 * insdel.c (get_buffer_range_char):
11106 * keymap.c (keymap_lookup_directly):
11107 * keymap.c (keymap_store):
11108 * keymap.c (ensure_meta_prefix_char_keymapp):
11109 * keymap.c (describe_map):
11111 Support new button modifiers.
11113 * lisp-disunion.h (wrap_object):
11114 * lisp-disunion.h (XSETOBJ):
11115 Rename make_obj to wrap_object.
11118 * lisp-union.h (make_int):
11119 * lisp-union.h (make_char):
11120 Support wrap_object.
11123 * lisp.h (LIST_LOOP):
11124 * lisp.h (EXTERNAL_LIST_LOOP):
11125 * lisp.h (LIST_LOOP_2):
11126 * lisp.h (EXTERNAL_LIST_LOOP_1):
11127 * lisp.h (EXTERNAL_LIST_LOOP_2):
11128 * lisp.h (EXTERNAL_LIST_LOOP_3):
11129 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11130 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11131 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11132 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11133 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11134 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11135 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11136 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11137 * lisp.h (struct Lisp_Symbol):
11138 * lisp.h (maybe_continuable_error_with_frob):
11139 Fix up section comments.
11140 Add new types for char to indicate usage.
11141 Delete symbols auto-generated from general-slots.h.
11142 Add prototypes for structured error functions.
11143 Add long comments describing looping macros and change interface
11144 so that lvalues are automatically declared.
11145 Add NO_DECLARE macro in case callers want to declare lvalues
11148 * lread.c (read_syntax_error):
11149 * lread.c (continuable_read_syntax_error):
11150 * lread.c (read_structure):
11151 * lread.c (sequence_reader):
11152 * lread.c (read_list_conser):
11153 * lread.c (read_compiled_function):
11154 Rename syntax_error and continuable_syntax_error to avoid clash
11155 with same-named structured error functions.
11157 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11158 * menubar-msw.c (populate_menu_add_item):
11159 * menubar-msw.c (populate_or_checksum_helper):
11164 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11165 Mule-ize whole file.
11167 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11169 * mule-charset.c (Fmake_charset):
11170 * mule-wnnfns.c (Fwnn_set_param):
11173 * ntproc.c (create_child):
11174 * ntproc.c (Fwin32_set_current_locale):
11175 Add comments portending doom.
11178 * objects-msw.c (old_font_enum_callback_2):
11179 * objects-msw.c (font_enum_callback_1):
11180 * objects-msw.c (mswindows_enumerate_fonts):
11184 * objects-x.c (allocate_nearest_color):
11185 * objects-x.c (x_parse_nearest_color):
11186 * objects-x.c (x_initialize_color_instance):
11187 * objects-x.c (x_print_color_instance):
11188 * objects-x.c (x_finalize_color_instance):
11189 * objects-x.c (x_valid_color_name_p):
11190 * objects-x.c (x_initialize_font_instance):
11191 * objects-x.c (x_print_font_instance):
11192 * objects-x.c (valid_x_font_name_p):
11193 * objects-x.c (truename_via_FONT_prop):
11194 * objects-x.c (truename_via_random_props):
11195 * objects-x.c (truename_via_XListFonts):
11196 * objects-x.c (x_font_truename):
11197 * objects-x.c (x_font_instance_truename):
11198 * objects-x.c (x_font_instance_properties):
11199 * objects-x.c (x_list_fonts):
11200 * objects-x.c (x_find_charset_font):
11201 Mule-ize entire file.
11208 * print.c (std_handle_out_external):
11209 * print.c (debug_print_no_newline):
11210 * print.c (syms_of_print):
11211 Output to all debugger kinds in debug-print.
11212 Fix console-output code under MSWin to actually work.
11214 * process-nt.c (send_signal):
11215 * process-nt.c (nt_create_process):
11216 Use newer Unicode macros.
11218 * process-unix.c (unix_create_process):
11219 * process-unix.c (unix_canonicalize_host_name):
11220 * process-unix.c (unix_open_network_stream):
11226 * search.c (syms_of_search):
11229 * select-msw.c (mswindows_destroy_selection):
11232 * select-x.c (symbol_to_x_atom):
11235 * select.c (syms_of_select):
11238 * sound.c (Fplay_sound_file):
11242 * specifier.c (decode_specifier_type):
11243 * specifier.c (Fvalid_specifier_locale_type_p):
11244 * specifier.c (check_valid_locale_or_locale_type):
11245 * specifier.c (decode_locale):
11246 * specifier.c (decode_locale_type):
11247 * specifier.c (decode_locale_list):
11248 * specifier.c (check_valid_domain):
11249 * specifier.c (decode_specifier_tag_set):
11250 * specifier.c (Fcanonicalize_tag_set):
11251 * specifier.c (Fdefine_specifier_tag):
11252 * specifier.c (Fspecifier_tag_predicate):
11253 * specifier.c (check_valid_inst_list):
11254 * specifier.c (check_valid_spec_list):
11255 * specifier.c (decode_how_to_add_specification):
11256 * specifier.c (check_modifiable_specifier):
11257 * specifier.c (specifier_add_spec):
11258 * specifier.c (boolean_validate):
11259 * specifier.c (display_table_validate):
11262 * specifier.c (syms_of_specifier):
11263 Move some symbols to general-slots.h.
11267 * symbols.c (Fmapatoms):
11268 * symbols.c (Fapropos_internal):
11271 * symbols.c (set_default_buffer_slot_variable):
11272 * symbols.c (set_default_console_slot_variable):
11275 * symbols.c (defsymbol_massage_name_1):
11276 * symbols.c (defkeyword_massage_name):
11277 * symbols.c (deferror_1):
11278 * symbols.c (deferror):
11279 * symbols.c (deferror_massage_name_and_message):
11281 * symeval.h (DEFSYMBOL):
11282 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11284 * symbols.c (syms_of_symbols):
11288 * symsinit.h (init_win32): New.
11289 Also new is syms_of_dialog_mswindows.
11292 Add new Unicode macros, missing Cygwin wide-char functions,
11293 convenience conversion macros for Qmswindows_tstr, macros for
11294 encapsulating required MSWin <-> Cygwin filename conversions,
11295 prototype for dynamically-extracted (not in NT 3.51) functions.
11300 * tooltalk.c (Fadd_tooltalk_message_arg):
11301 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11302 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11305 * tooltalk.c (syms_of_tooltalk):
11309 * unexnt.c (unexec):
11310 Fix up headers, declaration of unexec() to be more standard.
11312 2000-07-20 Martin Buchholz <martin@xemacs.org>
11314 * offix.h: Revert change to guard macros - they're used in offix.c!
11316 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11318 * lisp.h: Defsubred Fdelete.
11320 * console-msw.h: (msprinter_default_printer): Added.
11322 * console-msw.c (msprinter_canonicalize_console_connection):
11323 (msprinter_canonicalize_device_connection): Added.
11325 * device-msw.c (msprinter_default_printer):
11326 (Fmswingows_get_default_printer):
11327 (signal_enum_priner_error):
11328 (Fmswingows_printer_list): Added.
11330 2000-07-19 Martin Buchholz <martin@xemacs.org>
11332 * XEmacs 21.2.35 is released.
11334 2000-07-19 Martin Buchholz <martin@xemacs.org>
11336 * select-x.c (x_handle_selection_request):
11337 Text selected in xemacs and pasted into xterm failed to appear.
11338 Spelling fixes and cosmetic changes.
11340 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11342 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11343 XEmacs frame (fix for doubling chars in dialog boxes).
11345 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11347 * select.c (select_convert_in, select_convert_out):
11348 Don't call intern() every time.
11350 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11351 * select.c (vars_of_select): Initialise them.
11353 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11355 * select.c (selection-coercible-types): New.
11357 * select.c (own-selection-internal):
11358 * select.c (get-selection-internal):
11359 MULE bug fix - these should default to COMPOUND_TEXT and not
11360 STRING for MULE. I think.
11362 * select.c (select_convert_out): Use selection-coercible-types
11363 to find types that we can attempt to perform coercions on.
11365 2000-07-18 Martin Buchholz <martin@xemacs.org>
11369 Add coding: cookie to identify encoding.
11371 * mule-canna.c (CANNA_mode_keys): make static.
11372 Use proper prototypes, even for functions of no arguments.
11373 Remove external prototype for Fding().
11375 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11377 * select.c (syms_of_select): Add missing DEFSUBR.
11379 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11381 * select.c (get_selection_internal, own_selection_internal):
11382 Make the type default to STRING, rather than placing a nil type
11383 into Vselection_alist.
11385 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11387 * gpmevent.c (tty_selection_exists_p):
11388 * gpmevent.c (tty_own_selection):
11389 Updated parameter lists.
11391 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11393 * select.h (selection-alist): Removed declaration.
11395 * select.h (get_local_selection):
11396 * select.c (get_local_selection):
11399 * select.h (convert_selection): Removed declaration.
11400 * select.c (convert_selection): Removed.
11401 This function belongs in Lisp.
11403 * select.h (select_convert_in): Declare.
11404 * select.h (select_convert_out): Declare.
11405 * select.c (select_convert_in): New.
11406 * select.c (select_convert_out): New.
11407 New conversion functions for other files to call.
11409 * select.h (select_notify_buffer_kill): Declare.
11410 * select.c (select_notify_buffer_kill): New.
11411 New functions that get called from kill-buffer.
11413 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11414 X-specific lisp code.
11416 * select.h: Declare some of the lisp-visible functions for
11419 * select.c (clean_local_selection_data): Removed. This was
11420 a disgusting function, and previously should have been in
11421 select-x.c in any case. The functionality is now provided
11422 in select-convert-from-integer (select.el).
11424 * select.c (available-selection-types): Fixed stupidity where
11425 INTEGER and ATOM got added twice. Also add STRING when we see an
11428 * select.c (get-selection-internal): Removed symbol stripping. No
11429 longer causes conversion when data comes from the internal cache.
11431 * select.c (syms_of_select): Added new functions.
11433 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11434 error checking - previously this called abort!
11436 * select-x.c (x_own_selection): Changed comment.
11438 * select-x.c (x_handle_selection_request): Use select_convert_out.
11439 Don't mess with selection-alist; it's an internal variable of select.c.
11441 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11443 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11444 rather than messing with selection-alist.
11446 * select-msw.c (mswindows_get_foreign_selection):
11447 Use TO_INTERNAL_FORMAT rather than hacking.
11449 2000-07-14 Martin Buchholz <martin@xemacs.org>
11451 * process-unix.c (unix_open_multicast_group):
11452 (unix_open_multicast_group): Remove useless casts.
11454 2000-07-13 Martin Buchholz <martin@xemacs.org>
11456 * sound.c (Fplay_sound): Fix `unused variable' warning.
11458 * emacs.c (main): Use correct type for _environ on SCO5.
11460 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11462 * console.h (own_selection_method):
11463 * console.h (selection_exists_p_method):
11464 * console.h (available_selection_types_method): New.
11465 * console.h (register_selection_data_type_method): New.
11466 * console.h (selection_data_type_name): New.
11468 * console-msw.h (mswindows_destroy_selection): Declare it. New
11469 function & alist to track GlobalAlloc()'d handles that need
11470 releasing when the clipboard data gets replaced or emptied.
11472 * event-msw.c (mswindows_wnd_proc): Call it.
11474 * lisp.h, general.c (Qappend): New symbol representing a
11477 * select.c (own-selection-internal):
11478 * select.c (selection-exists-p):
11479 * select.c (available-selection-types): New.
11480 * select.c (register-selection-data-type): New.
11481 * select.c (selection-data-type-name): New. New functions to deal
11482 with device-specific selection data formats.
11483 * select.c (selection-converter-out-alist): Renamed.
11484 * select.c (selection-converter-in-alist): New.
11485 * select.c (selection-appender-alist): New. Added new alists.
11486 * select.c (syms_of_select, vars_of_select): Added new symbols &
11488 * select.c (get_local_selection): Split.
11489 * select.c: Removed spurious type checking - selections may now be
11490 of any type, not just strings.
11491 * select.c (own-selection-internal):
11493 * select.h, select.c (convert_selection): New. Created
11494 convert_selection() function based on get_local_selection().
11495 * select.h, select.c (QCF_*): New symbols representing mswindows
11497 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11498 symbols representing `how-to-add' modes.
11500 * select-msw.c (x_sym_p): New.
11501 * select-msw.c (symbol_to_ms_cf): New.
11502 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11503 symbols & clipboard formats. Can also handle string names.
11504 * select-msw.c (mswindows_own_selection):
11505 * select-msw.c (mswindows_selection_exists_p):
11506 Added `data-type' parameter. Use it.
11507 * select-msw.c (mswindows_available_selection_types): New.
11508 * select-msw.c (mswindows_register_selection_data_type): New.
11509 * select-msw.c (mswindows_selection_data_type_name): New.
11510 * select-msw.c (mswindows_own_selection):
11511 * select-msw.c (mswindows_get_foreign_selection):
11512 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11513 * select-msw.c (console_create_select_mswindows): Added new methods.
11514 * select-msw.c (mswindows_destroy_selection): New.
11515 * select-msw.c (Vhandle_alist): New list.
11516 * select-msw.c (mswindows_own_selection):
11518 * select-x.c (x_own_selection):
11519 * select-x.c (x_selection_exists_p):
11520 * select-x.c: Added some comments about maybe using new
11522 * select-x.c (x_own_selection):
11524 * specifier.c: Remove definition of Qappend (now in general.c)
11525 * specifier.c (syms_of_specifier): Remove Qappend.
11527 2000-07-12 Martin Buchholz <martin@xemacs.org>
11529 * config.h.in: Add socklen_t.
11531 * s/decosf4-0.h: No special compiler flags needed or desired.
11532 In particular, undefine _BSD for DEC OSF 4.0.
11534 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11536 * redisplay-msw.c (msprinter_frame_output_end): Added.
11537 (console_type_create_redisplay_mswindows): Referred the above.
11539 * frame.c (setup_frame_without_minibuffer): Do not create a
11540 default minibuffer frame on a printer device.
11542 * frame-msw.c (apply_dc_geometry): Added.
11543 (msprinter_start_page):
11544 (msprinter_init_frame_3):
11545 (msprinter_eject_page): Use it.
11547 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11548 and removed residual duplex and orientation properties.
11550 2000-07-11 Martin Buchholz <martin@xemacs.org>
11552 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11554 * unexalpha.c: Remove system prototypes from C sources!
11556 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11558 * eval.c: Remove references to M-x edit-options in DEFUNs for
11559 `defvar' and `defconst'.
11561 2000-07-09 Martin Buchholz <martin@xemacs.org>
11563 * config.h.in: Remove SMART_INCLUDE hackery.
11565 PostgreSQL hacking:
11566 * config.h.in: Don't use SMART_INCLUDE.
11568 * postgresql.h: Include libpq-fe.h here. Fix typo.
11569 * inline.c: Simply #include "postgresql.h"
11571 - Don't use SMART_INCLUDE
11572 - Use simply "const".
11573 - Use standard doc string conventions.
11574 - Use correct type for result of PQstatus.
11576 2000-07-09 Martin Buchholz <martin@xemacs.org>
11578 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11580 C++ compilation changes.
11581 * config.h.in (EXTERN_C): Define.
11582 * config.h.in (not): This is also a C++ keyword.
11583 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11584 * cm.c: Use EXTERN_C.
11585 * redisplay-tty.c: Use EXTERN_C.
11586 * sysdep.c: Use EXTERN_C. Remove Gould support.
11588 2000-07-09 Martin Buchholz <martin@xemacs.org>
11590 * general.c: Remove duplicate definition for Qfunction.
11592 2000-07-08 Ben Wing <ben@xemacs.org>
11594 * device-msw.c (msprinter_init_device):
11595 * device-msw.c (sync_printer_with_devmode):
11596 * device-msw.c (handle_devmode_changes):
11597 * device-msw.c (print_dialog_worker):
11598 * device-msw.c (Fmsprinter_apply_settings):
11599 * device-msw.c (hash_devmode):
11600 * device-msw.c (Fmsprinter_settings_despecialize):
11601 use Qmswindows_tstr, not Qctext.
11603 * vm-limit.c (check_memory_limits):
11604 avoid infinite loop printing warning messages.
11606 2000-07-05 Craig Lanning <lanning@scra.org>
11608 * Makefile.in.in: Add support for including the Windows resources
11609 when building with the cygwin and mingw targets.
11611 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11612 not set or not correct.
11613 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11614 (init_initial_directory): Don't try to use $PWD on the
11615 WIN32_NATIVE target.
11618 [[Add -mwindows to eliminate console window.]] not required --ben
11619 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11620 (MAIL_USE_POP): removed; now handled by configure.
11622 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11623 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11624 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11625 (MAIL_USE_POP): removed; now handled by configure.
11626 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11627 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11628 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11630 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11631 up from <winsock.h> via systime.h.
11632 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11633 (getpagesize): from Dan Holmsand, added.
11634 Added #endif which was left dangling by Ben's mega patch; added
11635 comment to help prevent this in the future.
11637 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11639 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11641 * console-msw.h (struct mswindows_device): Removed unnecessary
11642 cached device geometry values.
11643 Added update_tick and an accessor macro.
11644 (Lisp_Devmode): Added lrecord declaration.
11645 (struct msprinter_device): Contain devmode as a Lisp object.
11646 Added mswindows_get_selected_frame_hwnd();
11648 * console.h (struct console_methods): Indentation nitpicking.
11650 * device-msw.c (mswindows_init_device): Do not initialize geometry
11651 cache. Initialize update tick.
11652 (mswindows_device_system_metrics): Ask the device for its geometry.
11653 (global_free_2_maybe):
11654 (devmode_to_hglobal):
11655 (handle_printer_changes):
11656 (ensure_not_printing):
11657 (print_dialog_worker):
11658 (Fmsprinter_print_setup_dialog):
11659 (Fmsprinter_print_dialog):
11660 (plist_get_margin):
11661 (plist_set_margin):
11662 (Fmsprinter_page_setup_dialog): Added functions.
11663 (sync_printer_with_devmode):
11664 (handle_devmode_changes):
11665 (Fmsprinter_get_settings):
11666 (Fmsprinter_select_settings):
11667 (Fmsprinter_apply_settings):
11668 (allocate_devmode):
11669 (Fmsprinter_settings_copy):
11670 (Fmsprinter_settings_despecialize):
11672 (finalize_devmode):
11674 (hash_devmode): Added functions
11675 (syms_of_device_mswindows): Init devmode lrecord class.
11677 * device.h: Added an exfun for find-device.
11679 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11680 geometry; although, recreate the device compatible DC.
11682 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11683 (msprinter_init_frame_3):
11684 (msprinter_frame_property):
11685 (msprinter_internal_frame_property_p):
11686 (msprinter_frame_properties):
11687 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11688 print job properties (will move to device settings).
11690 * lisp.h: Added symbols.
11692 * general.c (syms_of_general): Declared them.
11694 * hash.c (string_hash): Added.
11696 * lrecord.h (lrecord_type): Added devmode lrecord type.
11698 2000-07-02 Mike Sperber <mike@xemacs.org>
11700 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11703 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11705 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11708 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11710 * data.c (Fstring_to_number): Don't recognize floating point if
11713 2000-06-22 Martin Buchholz <martin@xemacs.org>
11715 * glyphs-widget.c (tab_control_query_geometry):
11716 (widget_query_geometry):
11717 (button_query_geometry):
11718 * glyphs.c (text_query_geometry):
11719 Enforce type correctness.
11721 2000-06-18 Martin Buchholz <martin@xemacs.org>
11723 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11724 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11726 2000-06-17 Martin Buchholz <martin@xemacs.org>
11728 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11729 conflicts with gcc's fixincluded version of FOO.h.
11731 * glyphs.h (image_instance_geometry): Remove trailing `,'
11733 2000-06-08 Mike Alexander <mta@arbortext.com>
11735 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11736 (shove_thread): Don't write the same output twice
11737 (make_ntpipe_output_stream): Increase priority of shove thread
11738 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11740 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11743 2000-06-12 Ben Wing <ben@xemacs.org>
11745 * s\mingw32.h (sigset):
11746 * s\windowsnt.h (sigset):
11747 rename msw_ to mswindows_ for consistency with general convention.
11749 2000-06-12 Ben Wing <ben@xemacs.org>
11752 * console-msw.c (mswindows_get_console_hwnd):
11753 * console-msw.c (mswindows_ensure_console_allocated):
11754 * console-msw.c (mswindows_hide_console):
11755 * console-msw.c (mswindows_show_console):
11756 * console-msw.c (mswindows_ensure_console_buffered):
11757 * console-msw.c (mswindows_output_console_string):
11758 * console-msw.c (mswindows_windows9x_p):
11760 * device-msw.c (mswindows_get_workspace_coords):
11761 * device-msw.c (mswindows_device_system_metrics):
11762 * dialog-msw.c (mswindows_popup_dialog_box):
11763 * event-msw.c (mswindows_wnd_proc):
11764 * frame-msw.c (mswindows_size_frame_internal):
11765 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11766 * menubar-msw.c (displayable_menu_item):
11767 * menubar-msw.c (mswindows_char_is_accelerator):
11769 * nt.c (mswindows_sigset):
11770 * nt.c (mswindows_sigrelse):
11771 * nt.c (mswindows_sigpause):
11772 * nt.c (mswindows_raise):
11773 * nt.c (timer_proc):
11775 * ntproc.c (find_child_console):
11776 * ntproc.c (sys_kill):
11778 * print.c (std_handle_out_external):
11779 * process-nt.c (find_child_console):
11780 * process-nt.c (send_signal_the_95_way):
11781 * process-nt.c (ensure_console_window_exists):
11782 * process-nt.c (nt_create_process):
11784 rename msw_ to mswindows_ for consistency with general convention.
11788 include nt.h, not syswindows.h.
11790 * nt.c (mswindows_fstat):
11791 * nt.c (mswindows_stat):
11792 prefix mswindows_ instead of attempting to directly override the
11793 library functions. fix declarations.
11796 include syswindows.h. move some sysdep.h stuff here.
11799 include syswindows.h, not <windows.h>.
11807 * sysdep.c (sys_fstat):
11808 * sysdep.c (sys_stat):
11809 call mswindows versions when appropriate.
11812 move mswin decls to nt.h.
11815 add long comment describing appropriate use of the various windows
11818 2000-06-11 Ben Wing <ben@xemacs.org>
11820 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11822 2000-06-10 Ben Wing <ben@xemacs.org>
11824 * Makefile.in.in (release):
11825 Correction to make sure xemacs.exe always dumped when correct.
11829 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11831 * buffer.c (set_buffer_internal):
11832 [[[[2]]]]: Remove HAVE_FEP code.
11834 * buffer.c (init_initial_directory):
11838 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11842 * callproc.c (call_process_cleanup):
11843 * callproc.c (Fold_call_process_internal):
11844 * callproc.c (child_setup):
11845 * callproc.c (getenv_internal):
11846 * callproc.c (init_callproc):
11847 * callproc.c (vars_of_callproc):
11848 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11849 __CYGWIN32__ -> CYGWIN.
11850 DOS_NT -> WIN32_NATIVE.
11851 Remove MSDOS support/references, converting to WIN32_NATIVE
11853 __MINGW32__ -> MINGW.
11854 Fix windows.h includes.
11855 Remove bogus HAVE_NTGUI.
11861 mswindows_message_outputted added for use in allowing startup
11862 errors on the console to be seen.
11864 * console-msw.c (msw_ensure_console_allocated):
11865 * console-msw.c (msw_output_console_string):
11866 * console-msw.c (DHEADER):
11867 * console-msw.c (DOPAQUE_DATA):
11868 * console-msw.c (DEVENT):
11869 * console-msw.c (DCONS):
11870 * console-msw.c (DCONSCDR):
11871 * console-msw.c (DSTRING):
11872 * console-msw.c (DVECTOR):
11873 * console-msw.c (DSYMBOL):
11874 * console-msw.c (DSYMNAME):
11877 * console-stream.c (stream_init_console):
11878 Fix text/binary problems.
11881 * device-msw.c (mswindows_finish_init_device):
11882 * device-msw.c (mswindows_delete_device):
11885 * device.c (handle_asynch_device_change):
11889 * dgif_lib.c (DGifOpenFileName):
11890 * dgif_lib.c (DGifOpenFileHandle):
11891 * dgif_lib.c (DGifGetLine):
11892 * dgif_lib.c (DGifGetPixel):
11893 Added config.h/lisp.h, fix up includes.
11900 * dired.c (file_name_completion):
11901 * dired.c (Ffile_attributes):
11902 * dired.c (syms_of_dired):
11906 * dumper.c (pdump_file_unmap):
11907 * dumper.c (pdump_load):
11911 * editfns.c (Ftemp_directory):
11912 * editfns.c (user_login_name):
11913 * editfns.c (Fuser_real_login_name):
11914 * editfns.c (get_home_directory):
11917 * elhash.c (finish_marking_weak_hash_tables):
11918 [[[[5]]]]: Fix GCC warnings.
11921 * emacs.c (mswindows_handle_hardware_exceptions):
11922 * emacs.c (make_arg_list_1):
11923 * emacs.c (main_1):
11924 * emacs.c (Fkill_emacs):
11925 * emacs.c (Fdump_emacs):
11927 Fix problems with nested crashes, add long comment.
11929 * event-Xt.c (init_event_Xt_late):
11933 * event-msw.c (mswindows_dde_callback):
11934 * event-msw.c (mswindows_handle_sticky_modifiers):
11935 * event-msw.c (mswindows_wnd_proc):
11939 * events.c (character_to_event):
11943 * fileio.c (Ffile_name_directory):
11944 * fileio.c (Ffile_name_nondirectory):
11945 * fileio.c (directory_file_name):
11946 * fileio.c (Fexpand_file_name):
11947 * fileio.c (Fsubstitute_in_file_name):
11948 * fileio.c (Ffile_name_absolute_p):
11949 * fileio.c (check_executable):
11950 * fileio.c (Ffile_readable_p):
11951 * fileio.c (Ffile_accessible_directory_p):
11952 * fileio.c (Ffile_modes):
11953 * fileio.c (Funix_sync):
11954 * fileio.c (vars_of_fileio):
11957 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11959 Expand getdefdir defn.
11960 Fix bogus rename() comment.
11962 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11963 to use standard XEmacs include files, e.g. sysfile.h, rather
11964 than system-specific includes.
11970 * frame.c (vars_of_frame):
11974 * getloadavg.c (getloadavg):
11976 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11977 (We don't use it elsewhere in the code; just add a comment.)
11984 * glyphs-msw.c (mswindows_resource_instantiate):
11987 * glyphs-x.c (x_native_layout_instantiate):
11990 * gui-msw.c (Fmswindows_shell_execute):
11999 * lread.c (locate_file_in_directory_mapper):
12006 * mem-limits.h (get_lim_data):
12018 * nt.c (rva_to_section):
12019 * nt.c (mswindows_executable_type):
12021 Fix closedir() defn.
12024 [[[[8]]]]: *_OK defs moved to sysfile.h.
12033 * print.c (std_handle_out_external):
12037 * process-nt.c (nt_create_process):
12039 try to fix process quoting somewhat.
12041 * process-unix.c (unix_create_process):
12045 * process.c (vars_of_process):
12052 * realpath.c (xrealpath):
12055 * redisplay-tty.c (init_tty_for_redisplay):
12065 * sheap.c (more_static_core):
12066 * sheap.c (report_sheap_usage):
12070 * signal.c (alarm_signal):
12077 * strftime.c (zone_name):
12080 * symsinit.h (init_sunpro):
12084 commctrl.h not in Cygwin b20.1.
12087 * sysdep.c (endif):
12088 * sysdep.c (sys_subshell):
12089 * sysdep.c (init_baud_rate):
12090 * sysdep.c (emacs_get_tty):
12091 * sysdep.c (emacs_set_tty):
12092 * sysdep.c (tty_init_sys_modes_on_device):
12093 * sysdep.c (init_system_name):
12094 * sysdep.c (sys_open):
12095 * sysdep.c (interruptible_open):
12096 * sysdep.c (sys_fopen):
12097 * sysdep.c (sys_mkdir):
12098 * sysdep.c (sys_rename):
12099 * sysdep.c (get_process_times_1):
12106 * sysdir.h (DIRENTRY_NONEMPTY):
12109 * sysdll.c (dll_init):
12115 added text/binary defs.
12121 * sysproc.h (EDESTADDRREQ):
12122 * sysproc.h (poll_fds_for_input):
12139 Always define WIN32_LEAN_AND_MEAN.
12141 * unexcw.c (unexec):
12145 * unexec.c (copy_text_and_data):
12146 * unexec.c (adjust_lnnoptrs):
12150 * unexnt.c (_start):
12153 2000-06-07 Ben Wing <ben@xemacs.org>
12155 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12156 was used only as a model. We've long since extracted any useful
12157 logic or code out of this. (I just did an exhaustive search.)
12159 * s\msdos.h: Removed.
12161 * s\windows95.h: Removed.
12163 2000-06-10 Ben Wing <ben@xemacs.org>
12167 Don't use extern with fun defs.
12171 Remove nt\inc include.
12172 Remove getdisk, getdefdir. (The former is unused, the latter
12173 expanded in fileio.h.)
12176 * s\windowsnt.h (WIN32_NATIVE):
12177 * s\windowsnt.h (HAVE_STRCASECMP):
12179 Add long comment about preprocessor changes.
12180 Remove getdisk, getdefdir. (The former is unused, the latter
12181 expanded in fileio.h.)
12183 2000-06-10 Ben Wing <ben@xemacs.org>
12192 Remove bogus/unused NO_SOCK_SIGIO.
12194 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12196 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12199 2000-06-04 Mike Sperber <mike@xemacs.org>
12201 * casetab.c (set_case_table): For `set-standard-case-table',
12202 actually deposit the new case tables where the rest of XEmacs can
12205 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12207 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12209 2000-06-05 Ben Wing <ben@xemacs.org>
12211 * callproc.c (child_setup): Don't do close_load_descs() under
12212 MS Windows. Put in a comment explaining why.
12214 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12216 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12217 Toolkit shell" which breaks `kill-compilation' on Windows NT
12218 native, retaining STDERR handling improvements.
12220 2000-06-01 Andreas Jaeger <aj@suse.de>
12222 * s/s390.h: Support for S390, based on a patch by Martin
12223 Schwidefsky <schwidefsky@de.ibm.com>.
12225 2000-05-30 Andy Piper <andy@xemacs.org>
12227 * window.c (allocate_window):
12228 (make_dummy_parent):
12229 (Fset_window_configuration): use new hashtable type.
12231 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12232 (struct image_instantiator_methods):
12233 (struct Lisp_Image_Instance): make instance geometry signed.
12235 * glyphs.c (instantiate_image_instantiator):
12236 (image_instance_query_geometry):
12237 (image_instance_layout):
12238 (image_instance_layout):
12239 (query_string_geometry):
12240 (text_query_geometry):
12241 (image_instantiate):
12242 (image_instantiate):
12243 (cache_subwindow_instance_in_frame_maybe):
12244 (subwindow_query_geometry): make instance geometry signed.
12246 * glyphs-widget.c (widget_query_geometry):
12248 (button_query_geometry):
12249 (tree_view_query_geometry):
12250 (tab_control_query_geometry):
12251 (layout_query_geometry):
12253 (native_layout_layout): make instance geometry signed.
12255 2000-05-29 Olivier Galibert <galibert@pobox.com>
12257 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12260 * general.c (syms_of_general): Add Qfull_assoc symbol.
12262 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12264 (decode_weak_list_type): Decode full-assoc type.
12265 (encode_weak_list_type): Encode full-assoc type.
12266 (Fmake_weak_list): Update doc string.
12268 2000-05-30 Andy Piper <andy@xemacs.org>
12270 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12272 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12273 (decode_hash_table_weakness): ditto.
12274 (Fhash_table_weakness): ditto.
12275 (Fhash_table_type): ditto.
12276 (finish_marking_weak_hash_tables): ditto.
12277 (hash_table_weakness_validate): ditto.
12278 (syms_of_elhash): ditto.
12280 2000-05-28 Martin Buchholz <martin@xemacs.org>
12282 * XEmacs 21.2.34 is released.
12284 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12286 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12288 (updating_line_start_cache): Gone.
12289 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12290 generic code to force a minimum of 1 line laid out in the
12293 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12295 * glyphs.c (instantiate_image_instantiator): Check for initialized
12296 height & width no longer special cases IMAGE_NOTHING.
12297 (nothing_instantiate): Set height and width of instance.
12299 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12301 * unexelf.c (unexec): Search for ".data" section.
12302 Initialize new_data2_offset from old_data_index.
12303 Remove redundant check for ElfW.
12305 2000-05-23 Andy Piper <andy@xemacs.org>
12307 * glyphs.c (get_image_instantiator_governing_domain): allow more
12308 specific domains as the governing domain rather than expecting an
12309 exact match. This fixes problems with layouts.
12311 2000-05-22 Andy Piper <andy@xemacs.org>
12313 * redisplay-output.c (compare_runes): check for non-images
12315 * glyphs.c (set_glyph_dirty_p): ditto.
12316 (update_glyph_cachel_data): ditto.
12318 * glyphs-widget.c (layout_post_instantiate): ditto.
12319 (layout_post_instantiate): ditto.
12321 * event-msw.c (mswindows_wnd_proc): warning removal.
12323 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12325 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12327 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12329 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12331 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12332 (mswindows_executable_type): mingw32 now has enough headers for
12335 2000-05-20 Andy Piper <andy@xemacs.org>
12337 * console-msw.c (mswindows_output_last_error): ; -> ,
12339 2000-05-12 Andy Piper <andy@xemacs.org>
12341 * console-msw.c (FROB): compare ints with ints.
12343 2000-05-11 Andy Piper <andy@xemacs.org>
12345 * glyphs-x.c (x_finalize_image_instance): make minimal build
12348 2000-05-20 Ben Wing <ben@xemacs.org>
12351 * event-Xt.c (vars_of_event_Xt):
12352 move modifier-keys-are-sticky to event-stream.c.
12355 * event-msw.c (mswindows_enqueue_mouse_button_event):
12356 * event-msw.c (key_needs_default_processing_p):
12357 * event-msw.c (XEMSW_LCONTROL):
12358 * event-msw.c (mswindows_handle_sticky_modifiers):
12359 * event-msw.c (FROB):
12360 * event-msw.c (clear_sticky_modifiers):
12361 * event-msw.c (output_modifier_keyboard_state):
12362 * event-msw.c (output_alt_keyboard_state):
12363 * event-msw.c (mswindows_wnd_proc):
12364 * event-msw.c (mswindows_modifier_state):
12365 * event-msw.c (emacs_mswindows_handle_magic_event):
12366 implement sticky modifiers.
12369 * event-stream.c (vars_of_event_stream):
12370 move modifier-keys-are-sticky here.
12373 add CHECK_FUNCTION.
12376 implement map-range-table.
12379 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12381 * redisplay-tty.c (reset_tty_modes):
12382 (tty_redisplay_shutdown): Adjust argument type to
12383 tty_frame_output_end.
12385 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12387 * eval.c (Fbacktrace): Don't output a line with only right
12390 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12392 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12393 (Fpq_reset_poll): Ditto.
12395 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12397 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12399 2000-05-16 Ben Wing <ben@xemacs.org>
12402 * buffer.c (dfc_convert_to/from_internal_format):
12403 * buffer.c (reinit_vars_of_buffer):
12404 Fix conversion functions to allow reentrancy.
12407 * console-msw.c (mswindows_output_last_error):
12408 New fun, generally useful -- output a human-readable
12409 version of GetLastError() on the console.
12412 * console-msw.h (struct mswindows_frame):
12413 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12415 * console-stream.c (stream_output_begin):
12416 * console-stream.c (stream_output_end):
12417 * console-stream.c (stream_output_vertical_divider):
12418 * console-stream.c (stream_clear_region):
12419 * console-stream.c (stream_flash):
12420 * console-stream.c (console_type_create_stream):
12421 Delete blank stream methods, not needed.
12423 * console.h (struct console_methods):
12424 Split begin/end methods into window and frame.
12427 * event-msw.c (mswindows_handle_paint):
12428 * event-msw.c (output_alt_keyboard_state):
12429 * event-msw.c (mswindows_wnd_proc):
12430 * event-msw.c (vars_of_event_mswindows):
12431 Comment about problems with ignored-expose.
12432 Define mswindows-debug-events; not really implemented.
12434 * frame-msw.c (mswindows_init_frame_1):
12438 * glyphs-msw.c (begin_defer_window_pos):
12439 * glyphs-msw.c (mswindows_unmap_subwindow):
12440 * glyphs-msw.c (mswindows_map_subwindow):
12441 * glyphs-msw.c (mswindows_resize_subwindow):
12442 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12444 * glyphs.c (make_image_instance_1):
12447 * gutter.c (Fredisplay_gutter_area):
12448 Use new begin/end methods.
12450 * lisp.h (Dynarr_new2):
12454 * redisplay-msw.c (mswindows_frame_output_begin):
12455 * redisplay-msw.c (mswindows_frame_output_end):
12456 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12457 New begin/end methods -- handle DeferWindowPos.
12459 * redisplay-output.c (redisplay_move_cursor):
12460 * redisplay-output.c (redraw_cursor_in_window):
12461 * redisplay-output.c (redisplay_update_line):
12462 * redisplay-output.c (redisplay_output_window):
12463 New begin/end methods.
12466 * redisplay-tty.c (tty_frame_output_begin):
12467 * redisplay-tty.c (tty_frame_output_end):
12468 * redisplay-tty.c (console_type_create_redisplay_tty):
12469 New begin/end methods.
12472 * redisplay-x.c (x_window_output_begin):
12473 * redisplay-x.c (x_window_output_end):
12474 * redisplay-x.c (console_type_create_redisplay_x):
12475 New begin/end methods.
12477 * redisplay.c (redisplay_frame):
12478 * redisplay.c (Fredisplay_echo_area):
12479 New begin/end methods.
12480 use MAYBE_DEVMETH for clear_frame; it may not exist.
12482 * window.h (WINDOW_XFRAME):
12483 WINDOW_XFOO macros -- get locale and decode struct pointer.
12486 2000-05-12 Ben Wing <ben@xemacs.org>
12489 * emacs.c (ensure_no_quitting_from_now_on):
12490 * emacs.c (fatal_error_signal):
12491 * emacs.c (mswindows_handle_hardware_exceptions):
12493 * emacs.c (Fkill_emacs):
12494 * emacs.c (shut_down_emacs):
12495 * emacs.c (assert_failed):
12496 various improvements in fatal error handling.
12499 move preparing_for_armageddon to emacs.c.
12502 declare fatal_error_in_progress.
12505 * print.c (std_handle_out_external):
12506 * print.c (std_handle_out_va):
12507 * print.c (stderr_out):
12508 * print.c (stdout_out):
12509 use console under mswin when no standard output.
12510 don't do code conversion during fatal error.
12512 * scrollbar.c (Fscrollbar_page_up):
12513 * scrollbar.c (Fscrollbar_page_down):
12514 fix missing else. reindent.
12516 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12520 * glyphs.h (GLYPH_CACHEL_DESCENT):
12521 (GLYPH_CACHEL_DESCENT):
12522 (GLYPH_CACHEL_DESCENT):
12523 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12524 used in case these are inline functions.
12525 Use more absurd values to error check.
12527 include window.h for error check functions.
12529 2000-05-11 Ben Wing <ben@xemacs.org>
12531 * cmdloop.c (Freally_early_error_handler):
12532 Display message box under windows; otherwise, message will disappear
12533 before it can be viewed.
12536 * console-msw.c (Fmswindows_message_box):
12537 * console-msw.c (FROB):
12538 * console-msw.c (syms_of_console_mswindows):
12539 Define new fun `mswindows-message-box'.
12540 #### I will merge this into `popup-dialog-box'; just give me
12544 * general.c (syms_of_general):
12545 Some new symbols used in `mswindows-message-box'.
12548 * glyphs.c (Fset_image_instance_property):
12549 put warning in this fun.
12552 * glyphs.h (GLYPH_CACHEL_WIDTH):
12553 * glyphs.h (GLYPH_CACHEL_ASCENT):
12554 * glyphs.h (GLYPH_CACHEL):
12555 * glyphs.h (GLYPH_CACHEL_GLYPH):
12556 define error-checking versions to try to catch a bug i've seen --
12557 redisplay gets in an infinite loop because the glyph width of the
12558 continuation glyph is 65535.
12561 Extern message-box stuff.
12563 * window.c (allocate_window):
12564 * window.c (make_dummy_parent):
12565 * window.c (Fset_window_configuration):
12566 Use EQUAL not EQ for subwindow caches to make them work a bit
12567 better. (Something is still very broken.)
12570 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12572 * glyphs.c (image_instantiate): Suppress gcc warnings.
12573 (Fmake_image_instance): Fix doc string.
12574 * specifier.c (Fmake_specifier): Ditto.
12576 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12578 * paths.h.in (PATH_LOCK): Removed.
12579 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12580 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12582 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12584 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12585 Document (featurep '(and xemacs 21.02)).
12587 2000-05-09 Ben Wing <ben@xemacs.org>
12589 * buffer.c (complex_vars_of_buffer):
12590 update modeline-format doc.
12593 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12596 timeline of all released versions of Emacs, for use in creating
12597 authorship comments and in synching up.
12599 * glyphs-widget.c (image_instantiator_buttons):
12600 * glyphs-widget.c (image_instantiator_edit_fields):
12601 * glyphs-widget.c (image_instantiator_combo_box):
12602 * glyphs-widget.c (image_instantiator_scrollbar):
12603 * glyphs-widget.c (image_instantiator_progress_guage):
12604 * glyphs-widget.c (image_instantiator_tree_view):
12605 * glyphs-widget.c (image_instantiator_tab_control):
12606 * glyphs-widget.c (image_instantiator_labels):
12607 * glyphs-widget.c (image_instantiator_layout):
12608 * glyphs-widget.c (image_instantiator_native_layout):
12609 rename decode_domain method to governing_domain.
12612 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12613 * glyphs.c (add_entry_to_device_ii_format_list):
12614 make sure we don't put an entry more than once into the list.
12615 * glyphs.c (check_instance_cache_mapper):
12616 *************************************************************
12617 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12619 *************************************************************
12620 * glyphs.c (get_image_instantiator_governing_domain):
12621 clean up, expand on new concept of governing domain.
12622 * glyphs.c (instantiate_image_instantiator):
12623 * glyphs.c (allocate_image_instance):
12624 use governing_domain instead of cache_domain in naming.
12625 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12626 * glyphs.c (make_image_instance_1):
12627 * glyphs.c (Fmake_image_instance):
12628 allow for any domain (not just device), and process the
12629 governing domain correctly. very big doc fix.
12630 * glyphs.c (Fimage_instance_domain):
12631 new primitive, to retrieve the governing domain of an image instance.
12632 * glyphs.c (image_instantiate):
12633 use new governing_domain stuff. this fixes a crash you could get
12634 by instantiating certain widget glyphs in frame locales. (should
12635 signal an error instead of crashing.)
12636 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12637 * glyphs.c (Fglyphp): clean up doc.
12638 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12639 * glyphs.c (syms_of_glyphs):
12640 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12641 * glyphs.c (image_instantiator_format_create): add some comments about
12643 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12644 for current-display-table. (Apparently Hrjove implemented in 1998 a
12645 design I wrote up in 1996, but didn't update the doc string.)
12647 * glyphs.h: clean up a doc string.
12648 * glyphs.h (governing_domain):
12649 * glyphs.h (struct image_instantiator_methods):
12650 changes for governing_domain stuff.
12653 * gutter.c (Fgutter_specifier_p):
12654 * gutter.c (Fgutter_size_specifier_p):
12655 * gutter.c (Fgutter_visible_specifier_p):
12657 * objects.c (Fcolor_specifier_p):
12658 * objects.c (Ffont_specifier_p):
12659 * objects.c (Fface_boolean_specifier_p):
12660 doc strings moved to make-*-specifier.
12662 * redisplay.c (add_disp_table_entry_runes_1):
12663 * redisplay.c (generate_fstring_runes):
12664 * redisplay.c (screen):
12665 add random comments and doc strings.
12668 * specifier.c (Fmake_specifier):
12669 major overhaul of this doc string.
12671 * specifier.c (Fvalid_specifier_domain_p):
12672 comment about the bogosity of image instances being domains.
12673 * specifier.c (decode_domain):
12674 now non-static, used in glyphs.c.
12675 * specifier.c (specifier_instance):
12676 comment about the bogosity of image instances being domains.
12677 * specifier.c (Fgeneric_specifier_p):
12678 move doc string to make-generic-specifier.
12679 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12683 * specifier.h (DOMAIN_FRAME):
12684 * specifier.h (DOMAIN_LIVE_P):
12685 * specifier.h (DOMAIN_XDEVICE):
12687 add comments about problems with these macros.
12688 prototype for decode_domain.
12691 * toolbar.c (Ftoolbar_specifier_p):
12692 move doc string to `make-toolbar-specifier'.
12694 * window.c (window_unmap_subwindows_cache_mapper):
12695 *************************************************************
12696 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12698 *************************************************************
12700 2000-05-09 Andy Piper <andy@xemacs.org>
12702 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12704 * window.c (Fset_window_configuration): reset the frame subwindow
12705 cache and re-initialize the window subwindow caches.
12707 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12709 2000-05-09 Ben Wing <ben@xemacs.org>
12711 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12714 2000-04-26 Mike Woolley <mike@bulsara.com>
12716 * ntheap.c: Changed recreate_heap to limit the amount reserved
12717 for the heap to that which is actually available. Also now
12718 displays a message box (with some dignostics) in the event that
12719 it still can't start.
12721 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12723 * callproc.c (Fold_call_process_internal): GCPRO path
12725 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12727 Patch by Bill Perry.
12729 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12730 back data instead of #ifdef.
12731 (Fscrollbar_page_down): ditto.
12733 2000-05-07 Ben Wing <ben@xemacs.org>
12736 Kludge for defining Qmswindows_tstr.
12739 * nt.c (open_input_file):
12740 * nt.c (open_output_file):
12741 * nt.c (rva_to_section):
12742 * nt.c (mswindows_executable_type):
12743 Move all memory-mapped-file routines here (some were in unexnt.c,
12744 which is bad because they are used by process-nt.c, and unexnt
12745 won't be around when portable dumping). Synched the above routines
12749 Removed ifdef'd out bogus code.
12750 Fixed some prototypes.
12752 * nt.h (file_data):
12753 * nt.h (OFFSET_TO_RVA):
12754 * nt.h (RVA_TO_OFFSET):
12755 * nt.h (RVA_TO_PTR):
12756 Moved the memory-mapped-file structures, macros and prototypes
12757 here, to parallel nt.c. ntheap.h should really be removed
12758 entirely, and it's a non-portable-dumper specific file.
12760 * ntheap.h (round_to_next):
12761 Moved the memory-mapped-file structures, macros and prototypes
12764 * ntproc.c (compare_env):
12765 Moved rva_to_section and mswindows_executable_type to nt.c.
12766 Moved compare_env to process-nt.c.
12767 ntproc.c will die, one day.
12769 * ntproc.c (sys_spawnve):
12770 Account for win32_ -> mswindows_.
12773 * process-nt.c (struct nt_process_data):
12774 * process-nt.c (ensure_console_window_exists):
12775 * process-nt.c (compare_env):
12776 * process-nt.c (nt_create_process):
12777 * process-nt.c (nt_kill_process_by_pid):
12778 * process-nt.c (syms_of_process_nt):
12779 * process-nt.c (vars_of_process_nt):
12780 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12781 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12782 changes). Eliminate our old `nt-quote-process-args' mechanism.
12783 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12784 Move compare_env here from ntproc.c.
12786 * process.c (Fprocess_send_region):
12787 Takes an optional fourth argument, BUFFER, which should fix some
12788 problems with call-process.
12791 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12794 Move ICC_BAR_CLASSES to syscommctrl.h.
12795 Add preliminary macros for MSWindows/Mule. More to come.
12798 * unexnt.c (unexec):
12799 open_output_file moved to nt.c.
12802 2000-05-05 Andy Piper <andy@xemacs.org>
12804 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12805 instance from the frame cache also since GC may catch up too late
12806 to make frame deletion sane.
12808 2000-05-04 Andy Piper <andy@xemacs.org>
12810 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12811 (x_finalize_image_instance): ungcpro on deletion.
12813 * glyphs.c (image_instantiator_format_create): give pointers a
12814 query geometry method so that the geometry is at least set.
12816 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12817 initialize layouts if using widgets.
12819 2000-05-03 Andy Piper <andy@xemacs.org>
12821 * nt.c: remove bogus reference to sysmmsystem.h
12823 * gui-x.c (popup_selection_callback): fix no selection abort.
12825 2000-05-02 Andy Piper <andy@xemacs.org>
12827 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12828 (mswindows_widget_instantiate): ditto.
12830 * glyphs-widget.c (initialize_widget_image_instance): initialize
12831 children correctly.
12832 (widget_instantiate): cope with children and items in the same
12835 * glyphs.c (mark_image_instance): cope with children as a first
12837 (image_instance_equal): ditto.
12838 (image_instance_hash): ditto.
12839 (image_instance_changed): ditto.
12841 2000-04-30 Andy Piper <andy@xemacs.org>
12843 * glyphs.c (subwindow_query_geometry): new function. Return some
12845 (subwindow_instantiate): don't assign dimensions if none have been
12847 (image_instantiator_format_create): add subwindow_query_geometry.
12848 (print_image_instance): cope with layouts as widgets.
12850 2000-04-29 Andy Piper <andy@xemacs.org>
12852 * frame.c (delete_frame_internal): call
12853 free_frame_subwindow_instance_cache so that all subwindows are
12854 finalized before their parent.
12855 (mark_frame): remove subwindow_cachels.
12856 (Fmake_frame): remove subwindow_cachel manipulation.
12857 (allocate_frame_core): subwindow_instance_cache is a weak list.
12858 (delete_frame_internal): set subwindow_instance_cache to nil.
12860 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12862 (mswindows_finalize_image_instance): use the device
12863 not the domain as the domain may have died already.
12865 * glyphs-x.c (x_finalize_image_instance): ditto.
12866 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12869 * redisplay-output.c (redisplay_unmap_subwindows): update for
12870 subwindow instance cache as a weak list.
12871 (redisplay_unmap_subwindows_maybe): ditto.
12872 (redisplay_unmap_subwindows_except_us): ditto.
12874 * glyphs.c (unmap_subwindow): error checking will check the domain
12875 so don't deal with it here. Don't use cachels anymore.
12876 (map_subwindow): ditto.
12877 (update_subwindow_cachel_data): remove old accessor names.
12878 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12879 (Fresize_subwindow): don't update cachel.
12880 (mark_subwindow_cachels):
12881 (update_subwindow_cachel_data):
12882 (add_subwindow_cachel):
12883 (get_subwindow_cachel_index):
12884 (update_subwindow_cachel):
12885 (reset_subwindow_cachels):
12886 (mark_subwindow_cachels_as_not_updated): deleted.
12887 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12888 subwindow instance to the frame cache.
12889 (find_matching_subwindow): update for subwindow instance cache as
12891 (update_widget_instances): ditto.
12892 (image_instance_type_to_mask):inlined.
12893 (free_frame_subwindow_instance_cache): new function. finalize all
12894 subwindows that are instantiated.
12896 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12897 of cachel information.
12898 (IMAGE_INSTANCE_DISPLAY_X):
12899 (IMAGE_INSTANCE_DISPLAY_Y):
12900 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12901 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12902 (XIMAGE_INSTANCE_DISPLAY_X):
12903 (XIMAGE_INSTANCE_DISPLAY_Y):
12904 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12905 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12906 remove subwindow_cachel structure and function references.
12907 (image_instance_type_to_mask): inline from glyphs.c
12909 * redisplay.c (redisplay_frame): remove subwindow_cachel
12912 * frame.h (struct frame): remove subwindow_cachels.
12913 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12915 * frameslots.h: add subwindow_instance_cache.
12917 * window.c (replace_window): check subwindow cache of replacement.
12918 (window_unmap_subwindows_cache_mapper):
12919 (window_unmap_subwindows): new functions. Unmap all subwindows
12920 cached on this window.
12921 (mark_window_as_deleted): unmap all subwindows.
12923 2000-04-27 Andy Piper <andy@xemacs.org>
12925 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12927 * glyphs-widget.c (widget_layout): return something.
12928 (layout_layout): return something. Fail if not initialized.
12929 (layout_query_geometry): ditto.
12930 (image_instantiator_native_layout): new function. Initialized the
12931 native layout type.
12932 (widget_instantiate): don't do layout stuff here.
12934 * glyphs.c (instantiate_image_instantiator): reorded calling or
12935 instantiate and post_instantiate with layout in between.
12936 (image_instance_layout): be more selective about deciding whether
12937 the layout has been done or not.
12939 * glyphs.h (struct image_instantiator_methods): return a value
12940 from layout_method.
12942 2000-04-26 Andy Piper <andy@xemacs.org>
12944 * glyphs.c (allocate_image_instance): make initial width and
12945 height unspecified. Set initialized to 0.
12947 * syscommctrl.h new file. Encapsulates commctrl.h.
12949 * syswindows.h new file. Encapsulates windows.h.
12951 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12953 * console-msw.h: ditto.
12955 * redisplay-tty.c (tty_output_display_block): remove layout references.
12957 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12958 window handle rather than just the frame.
12960 * glyphs.c (mark_image_instance): remove layout references.
12961 (print_image_instance): ditto.
12962 (image_instance_equal): ditto.
12963 (image_instance_hash): ditto.
12964 (decode_image_instance_type): ditto.
12965 (encode_image_instance_type): ditto.
12966 (image_instantiate): ditto.
12967 (allocate_glyph): ditto.
12968 (Fimage_instance_height): ditto.
12969 (Fimage_instance_width): ditto.
12970 (update_subwindow): ditto.
12972 * redisplay-x.c (x_output_display_block): recode for layouts as
12975 * redisplay-output.c (redisplay_output_layout): recode for layouts
12977 (compare_runes): remove layout references.
12979 * redisplay-msw.c (mswindows_output_display_block): recode for
12980 layouts as widgets.
12982 * glyphs-widget.c (image_instantiator_layout): remove
12983 layout_possible_dest_types.
12984 (layout_possible_dest_types): deleted.
12986 * glyphs.h (image_instance_type): remove layout references.
12987 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12988 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12989 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12991 2000-04-25 Andy Piper <andy@xemacs.org>
12993 * glyphs-widget.c (image_instantiator_buttons):
12994 (image_instantiator_edit_fields):
12995 (image_instantiator_combo_box):
12996 (image_instantiator_scrollbar):
12997 (image_instantiator_progress_guage):
12998 (image_instantiator_tree_view):
12999 (image_instantiator_tab_control):
13000 (image_instantiator_labels):
13001 (image_instantiator_layout): call default post_instantiate method.
13002 (widget_post_instantiate): new function. Simply lays out the
13005 * glyphs.h (struct image_instantiator_methods): add
13006 post_instantiate method.
13008 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13011 2000-04-23 Andy Piper <andy@xemacs.org>
13013 * glyphs.h (struct image_instantiator_methods): add
13014 decode_domain_method.
13015 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13016 derived from the domain.
13017 (IMAGE_INSTANCE_FRAME): new accessor.
13018 (XIMAGE_INSTANCE_FRAME): ditto.
13020 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13021 instead of _SUBWINDOW_FRAME.
13022 (finalize_image_instance): ditto.
13023 (Fimage_instance_foreground): ditto.
13024 (Fimage_instance_background): ditto.
13025 (image_instantiate): ditto.
13026 (update_subwindow_cachel): ditto.
13027 (update_subwindow): ditto.
13028 (unmap_subwindow): ditto.
13029 (map_subwindow): ditto
13030 (subwindow_instantiate): ditto.
13031 * glyphs-msw.c (mswindows_update_widget): ditto.
13032 (mswindows_progress_gauge_instantiate): ditto.
13033 (mswindows_tab_control_update): ditto.
13034 * glyphs-x.c (x_update_widget): ditto.
13035 (x_widget_instantiate): ditto.
13036 (x_tab_control_instantiate): ditto.
13037 (x_tab_control_update): ditto.
13038 * event-msw.c (mswindows_wnd_proc): ditto
13040 * glyphs-widget.c (image_instantiator_layout): use
13041 subwindow_decode_domain.
13042 (image_instantiator_buttons): ditto.
13043 (image_instantiator_edit_fields): ditto.
13044 (image_instantiator_combo_box): ditto.
13045 (image_instantiator_scrollbar): ditto.
13046 (image_instantiator_progress_guage): ditto.
13047 (image_instantiator_tree_view): ditto.
13048 (image_instantiator_tab_control): ditto.
13049 (image_instantiator_labels): ditto.
13050 (image_instantiator_layout): ditto.
13052 * glyphs.c: add instance error checking to many functions.
13053 (instantiate_image_instantiator): decode device from cache_domain.
13054 (image_instantiate): partially rewrite by using
13055 decode_image_instantiator_domain to determine what domain the
13056 instance needs to be cached in.
13057 (decode_image_instantiator_domain): new function. Determine what
13058 domain the image needs to be cached in.
13059 (check_window_subwindow_cache): new error checking function.
13060 (check_instance_cache_mapper): ditto.
13061 (check_image_instance_structure): ditto.
13062 (subwindow_decode_domain): new function. Encodes a window as a
13063 subwindow's cache domain.
13064 (image_instantiator_format_create): use it for text and
13067 2000-04-21 Andy Piper <andy@xemacs.org>
13069 * glyphs.c (image_instance_device): new function.
13070 (image_instance_frame): new function.
13071 (image_instance_window): new function.
13072 (image_instance_live_p): new function.
13074 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13077 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13078 (IMAGE_INSTANCE_DOMAIN): new accessor.
13079 (XIMAGE_INSTANCE_DOMAIN): ditto.
13081 * glyphs-x.c (x_finalize_image_instance): device->domain.
13083 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13084 (mswindows_finalize_image_instance): ditto.
13086 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13087 (gif_instantiate): ditto.
13088 (png_instantiate): ditto.
13089 (tiff_instantiate): ditto.
13091 * glyphs.c (instantiate_image_instantiator): use domain rather
13093 (mark_image_instance): device -> domain.
13094 (print_image_instance): ditto.
13095 (finalize_image_instance): ditto.
13096 (image_instance_equal): ditto.
13097 (allocate_image_instance): ditto.
13098 (Fcolorize_image_instance): ditto.
13099 (query_string_geometry): ditto.
13100 (image_instantiate): ditto
13101 (query_string_font): ditto.
13102 (image_instantiate): ditto.
13103 (update_subwindow): ditto.
13104 (unmap_subwindow): ditto.
13105 (map_subwindow): ditto.
13106 (subwindow_instantiate): ditto.
13108 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13109 (DOMAIN_FRAME): ditto.
13110 (DOMAIN_WINDOW): ditto.
13111 (DOMAIN_LIVE_P): ditto.
13112 (XDOMAIN_DEVICE): ditto.
13113 (XDOMAIN_FRAME): ditto.
13114 (XDOMAIN_WINDOW): ditto.
13116 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13117 a valid specifier domain.
13119 2000-04-19 Andy Piper <andy@xemacs.org>
13121 * glyphs-widget.c (syms_of_glyphs_widget): remove
13122 widget-callback-current-channel.
13123 (vars_of_glyphs_widget): ditto.
13126 * gui.c (get_gui_callback): revert to previous behaviour.
13128 2000-04-18 Andy Piper <andy@xemacs.org>
13130 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13131 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13132 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13134 * glyphs.c (image_instance_equal): add margin_width.
13135 (image_instance_hash): ditto.
13137 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13138 (layout_query_geometry): ditto.
13139 (layout_layout): ditto.
13140 (syms_of_glyphs_widget): add margin-width.
13141 (image_instantiator_layout): allow margin-width.
13143 * glyphs.c (update_widget_instances): make a normal function.
13144 (syms_of_glyphs): remove Qupdate_widget_instances.
13147 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13148 so that we don't corrupt ideas about the last event or
13149 command. Remove widget-callback-current-channel fiddling.
13150 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13152 2000-05-01 Martin Buchholz <martin@xemacs.org>
13154 * XEmacs 21.2.33 is released.
13156 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13158 * make-src-depend: Allow dots in header file name.
13160 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13162 * mule-charset.h (struct charset_lookup): Add
13163 next_allocated_1_byte_leading_byte and
13164 next_allocated_2_byte_leading_byte.
13165 * mule-charset.c: Move above two variables so that those values
13168 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13170 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13171 when string length is zero.
13172 (find_charsets_in_emchar_string): Ditto.
13174 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13176 * lisp.h: extern Qdialog and Qmenubar.
13178 * gui-x.c: added events.h.
13179 also fixed typo which made the file uncompilable.
13181 * general.c: Added Qmenubar and Qdialog
13183 2000-04-28 Ben Wing <ben@xemacs.org>
13185 * frame-msw.c (mswindows_init_frame_1):
13186 * frame-msw.c (mswindows_mark_frame):
13187 * event-msw.c (mswindows_enqueue_dispatch_event):
13189 * console-msw.h (struct mswindows_frame):
13190 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13191 there are now three hash tables for callbacks.
13192 mswindows_enqueue_dispatch_event is no longer static.
13194 * dialog-x.c (maybe_run_dbox_text_callback):
13195 * dialog-x.c (dbox_descriptor_to_widget_value):
13196 switch to new cons3 form for callbacks.
13198 * glyphs-msw.c (mswindows_register_gui_item):
13199 * glyphs-msw.c (mswindows_widget_instantiate):
13200 * glyphs-msw.c (add_tree_item):
13201 * glyphs-msw.c (add_tab_item):
13202 new image instance parameter, so it can be passed to callback-ex.
13203 respect :callback-ex as well as :callback.
13205 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13208 * glyphs.c (print_image_instance):
13209 prettify, e.g. now prints widget type.
13212 certain funs have new image instance parameter.
13215 * gui.c (get_gui_callback):
13216 * gui.c (gui_item_add_keyval_pair):
13217 * gui.c (gui_item_init):
13218 * gui.c (gui_add_item_keywords_to_plist):
13219 * gui.c (mark_gui_item):
13220 * gui.c (gui_item_hash):
13221 * gui.c (gui_item_equal):
13222 * gui.c (copy_gui_item):
13223 * gui.c (syms_of_gui):
13224 recognize callback-ex in a number of places.
13225 also, fix the annoying "can't get out of yes-no dialog" bug.
13228 * gui.h (struct Lisp_Gui_Item):
13229 recognize callback-ex in a number of places.
13231 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13232 new parameter in button_item_to_widget_value.
13234 * glyphs-x.c (x_update_widget):
13235 * glyphs-x.c (x_button_instantiate):
13236 * glyphs-x.c (x_button_update):
13237 * glyphs-x.c (x_progress_gauge_instantiate):
13238 * glyphs-x.c (x_edit_field_instantiate):
13239 * glyphs-x.c (x_combo_box_instantiate):
13240 * glyphs-x.c (x_tab_control_instantiate):
13241 * glyphs-x.c (x_label_instantiate):
13242 new image instance parameter in various places.
13245 * event-Xt.c (enqueue_Xt_dispatch_event):
13246 this fun gets exported.
13249 * gui-msw.c (mswindows_handle_gui_wm_command):
13250 handle both :callback and :callback-ex, and generate our own
13251 event because it's one of the callback-ex arguments.
13254 * gui-x.c (popup_selection_callback):
13255 handle both :callback and :callback-ex, and generate our own
13256 event because it's one of the callback-ex arguments.
13257 * gui-x.c (button_item_to_widget_value):
13258 * gui-x.c (gui_items_to_widget_values_1):
13259 * gui-x.c (gui_item_children_to_widget_values):
13260 * gui-x.c (gui_items_to_widget_values):
13261 new image instance parameter in various places.
13263 * fns.c (Freplace_list):
13264 fix small typo in doc string.
13267 declare enqueue_Xt_dispatch_event.
13269 2000-04-28 Ben Wing <ben@xemacs.org>
13272 * buffer.c (Frecord_buffer):
13273 * buffer.c (syms_of_buffer):
13274 delete record-buffer-hook.
13277 * fns.c (Freplace_list):
13278 * fns.c (syms_of_fns):
13279 new primitive replace-list.
13282 slot for old buffer-alist.
13285 exfun replace-list.
13288 * redisplay.c (redisplay_frame):
13289 * redisplay.c (syms_of_redisplay):
13290 * redisplay.c (vars_of_redisplay):
13291 new hook buffer-list-changed-hook.
13294 2000-04-27 Ben Wing <ben@xemacs.org>
13296 * extents.h: extern in_modeline_generation.
13298 * redisplay.c (generate_formatted_string_db): set
13299 in_modeline_generation.
13301 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13302 flags if in modeline generation. otherwise frame-modified-tick
13303 is ticked far too often.
13304 Declare in_modeline_generation.
13306 2000-04-26 Ben Wing <ben@xemacs.org>
13308 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13310 (vars_of_emacs): add quick-build as an error-checking option.
13311 A bit kludgy, but there doesn't seem much point in creating
13312 a real var for this.
13314 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13316 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13318 * redisplay.h (struct display_line): Add a new variable,
13321 * redisplay.c (create_text_block): Set dl->line_continuation if
13322 the line continues.
13323 (create_string_text_block): Ditto.
13324 (regenerate_window_incrementally): Use line_continuation instead
13325 of searching continuation glyph.
13326 (add_margin_runes): Call add_glyph_rune.
13327 (add_glyph_rune): Handle margin glyph.
13329 2000-04-20 Martin Buchholz <martin@xemacs.org>
13331 * filelock.c (fill_in_lock_file_name):
13333 Check for IS_ANY_SEP instead of '/'.
13335 Avoid generating gratuitous garbage. Call user_login_name() directly.
13336 Never check errno without first seeing that system call failed.
13337 (unlock_file): Add GCPRO.
13338 (Flock_buffer): Fix docstring.
13339 (Ffile_locked_p): Fix docstring. Add GCPRO.
13341 2000-04-19 Martin Buchholz <martin@xemacs.org>
13343 * sysdep.c (get_pty_max_bytes):
13344 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13345 strings longer than 252 bytes.
13347 * md5.c: Unconditionally include ANSI header <limits.h>
13349 * glyphs-x.c (convert_EImage_to_XImage):
13350 * lisp-union.h (union Lisp_Object):
13351 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13353 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13355 * filelock.c (current_lock_owner): Remove unused variable o, p.
13357 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13359 * callint.c: Remove multiply defined symbol Qlet
13360 (syms_of_callint): ditto.
13362 2000-04-14 Andy Piper <andy@xemacs.org>
13364 * general.c (syms_of_general): add last-command, this-command, let
13367 * lisp.h: declare various symbols.
13369 * glyphs.h: declare Qwidget_callback_current_channel;
13371 * glyphs-widget.c (syms_of_glyphs_widget): add
13372 Qgui_callback_current_channel.
13373 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13375 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13376 widget-callback-current-channel when invoking the interactive
13377 arg. Also bind last-command and next-command when invoking the
13379 * gui-x.c (popup_selection_callback): ditto.
13381 * gui.c (get_gui_callback): massage args so that we are always
13382 calling eval. This allows us to add our own variable bindings
13385 * glyphs-x.c (x_button_instantiate): use
13386 gui_items_to_widget_values since this is GC safe.
13387 (x_progress_gauge_instantiate): ditto.
13388 (x_edit_field_instantiate): ditto.
13389 (x_label_instantiate): ditto.
13391 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13392 (emacs_Xt_event_widget_focus_out): new function
13393 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13395 (emacs_Xt_event_add_widget_actions): new function. add focus
13396 functions as actions.
13397 (init_event_Xt_late): use it.
13399 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13401 * event-stream.c (Fdispatch_event): Doc fix.
13403 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13405 * postgresql.c: Remove all references to PQsetenv*.
13407 * postgresql.h: Remove references to PGsetenvHandler object.
13408 * lrecord.h (lrecord_type): Ditto.
13410 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13412 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13413 real_heigh and real_width members, and accessor macros for these.
13415 * glyphs-msw.c (init_image_instance_geometry): New function.
13416 (init_image_instance_from_dibitmap): Use it.
13417 (mswindows_resource_instantiate): Use it.
13418 (init_image_instance_from_xbm_inline): Use it.
13419 (mswindows_initialize_image_instance_mask): Use real bitmap
13421 (mswindows_create_resized_bitmap): Ditto.
13422 (mswindows_create_resized_mask): Ditto.
13424 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13425 and bitmap to their surface size.
13427 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13429 * process-unix.c (unix_send_process): Guard against process MIA
13430 after Faccept_process_output.
13432 2000-04-11 Ben Wing <ben@xemacs.org>
13434 * eval.c (unbind_to_hairy): fix brokenness introduced by
13435 nanosecond speed improvements.
13437 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13439 * sunplay.c (init_device): To play sounds correctly, the device
13440 apparently needs to be initialized at least once by XEmacs. Make
13443 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13445 * redisplay.c (add_margin_runes): Add text image glyph
13448 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13450 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13451 gcc is newer than 2.5.
13453 2000-04-06 Colin Rafferty <colin@xemacs.org>
13455 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13457 * fns.c (size_bit_vector):
13458 * alloc.c (size_vector):
13459 (make_vector_internal):
13460 (make_bit_vector_internal):
13461 (sweep_bit_vectors_1):
13462 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13464 2000-04-06 Andy Piper <andy@xemacs.org>
13466 * gmalloc.c (malloc): undo previous change.
13471 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13473 * line-number.c (buffer_line_number): Revert to former version.
13475 2000-04-06 Andy Piper <andy@xemacs.org>
13477 * gmalloc.c (malloc): add error checking.
13482 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13483 button_item_to_widget_value arg.
13485 * glyphs-x.c (x_button_instantiate): add extra
13486 button_item_to_widget_value arg.
13487 (x_progress_gauge_instantiate): ditto.
13488 (x_edit_field_instantiate): ditto.
13489 (x_label_instantiate): ditto.
13491 * gui-x.c (gui_items_to_widget_values_1): add extra
13492 button_item_to_widget_value arg.
13493 (button_item_to_widget_value): add extra menu_item_p arg.
13495 * gui-x.h: change signature of button_item_to_widget_value.
13497 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13498 button_item_to_widget_value arg.
13500 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13502 * buffer.h (struct buffer): auto_save_modified should be long.
13504 2000-04-05 Andy Piper <andy@xemacs.org>
13506 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13508 (button_query_geometry): give a little more room so that athena
13511 2000-04-05 Andy Piper <andy@xemacs.org>
13513 * faces.c (complex_vars_of_faces): The widget face should inherit
13514 the font of the gui-element face.
13516 2000-04-04 Andy Piper <andy@xemacs.org>
13518 * glyphs-x.c (x_button_update): new function. unconditionally
13519 update a button's state when the instance is dirty.
13520 (image_instantiator_format_create_glyphs_x): add x_button_update.
13521 (x_widget_instantiate): remove old resize cruft.
13523 2000-04-02 Andy Piper <andy@xemacs.org>
13525 * frame.c (change_frame_size_1): The introduction of gutters means
13526 that we need to allow 0 as a potential frame dimension.
13528 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13530 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13531 image glyph if allow_cursor.
13532 (add_hscroll_rune): Don't allow cursor to border glyph.
13533 (create_text_block): Ditto.
13535 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13536 text not in buffer.
13537 (redisplay_output_layout): Call ensure_face_cachel_complete for
13541 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13543 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13545 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13548 * redisplay-tty.c (tty_output_display_block): Delete the routine
13549 for text image glyph
13550 * redisplay-x.c (x_output_display_block): ditto
13551 * redisplay-msw.c (mswindows_output_display_block): ditto
13553 2000-02-02 Mike Alexander <mta@arbortext.com>
13555 Note: Some of these were committed by accident as part of other
13558 * regex.c (regex_compile): Avoid compiler warnings.
13560 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13562 * nt.h: Declare term_ntproc correctly.
13564 * nt.c: Remove incorrect declaration of get_home_directory which
13565 is declared correctly in lisp.h.
13567 * keymap.c (get_keyelt): Avoid compiler warnings.
13568 (raw_lookup_key_mapper): Avoid compiler warnings.
13570 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13572 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13574 * filemode.c (mode_string): Avoid compiler warnings.
13576 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13579 * events-mod.h: Undef some things that winuser.h defines differently.
13581 * data.c (Faset): Avoid compiler warnings.
13583 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13585 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13587 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13588 Fall through to simple beep on error.
13589 Replace "extern" by real header file.
13591 * linuxplay.c: Use nativesound.h
13592 (play_sound_data): Return error code. Be less verbose on error.
13594 * sunplay.c: Use nativesound.h
13595 (play_sound_data): Return error code. Be less verbose on error.
13597 * ntplay.c: Use nativesound.h
13598 (play_sound_data): Return fake error code
13600 * sgiplay.c: Use nativesound.h
13601 (play_sound_data): Return error code
13603 * hpplay.c: Use nativesound.h, partially implement
13604 new error code. Break compilation until finished.
13605 (play_sound_data): error code.
13607 * nativesound.h (play_sound_file):
13608 (play_sound_data): Prototype in new header.
13610 2000-03-31 Andy Piper <andy@xemacs.org>
13612 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13613 for toggle and radio buttons.
13614 (image_instantiator_buttons): use it.
13616 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13618 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13619 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13620 found. Scrollbar event probably belonged to some old config.
13622 2000-03-31 Andy Piper <andy@xemacs.org>
13624 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13626 (initialize_widget_image_instance): default layout to
13627 LAYOUT_HORIZONTAL rather than 0.
13628 (widget_instantiate): reverse the item list at the end rather than
13630 (layout_layout): re-code for the border text at the front of the
13631 item list rather than at the end.
13632 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13633 provided by the user.
13634 (widget_query_geometry): comment.
13636 2000-03-30 Andy Piper <andy@xemacs.org>
13638 * glyphs-widget.c (image_instantiator_layout): allow standard
13639 widget keywords in layouts.
13641 * gutter.c (output_gutter): cope with nil gutter contents.
13643 * frame.c (Fset_frame_properties): add gutter docs.
13645 2000-03-29 Andy Piper <andy@xemacs.org>
13647 * toolbar-msw.c (TBSTYLE_FLAT): add.
13648 (mswindows_output_toolbar): minor fiddling.
13650 2000-03-29 Andy Piper <andy@xemacs.org>
13652 * gutter.c (output_gutter): force gutter size recalculation if
13653 what we are trying to display won't fit.
13654 (update_gutter_geometry): new function. A per-gutter version of
13655 update_frame_gutter_geometry.
13656 (update_frame_gutter_geometry): use it.
13657 (redraw_exposed_gutter): add extra debugging output.
13659 2000-03-28 Mike Alexander <mta@arbortext.com>
13661 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13662 (pdump_file_unmap): Implement it on Windows
13663 (pdump_file_get): Save alocated handles for pdump_file_unmap
13665 2000-03-28 Andy Piper <andy@xemacs.org>
13667 * gui.c (get_gui_callback): treat Quit specially.
13669 2000-03-27 Andy Piper <andy@xemacs.org>
13671 * glyphs.c (image_instantiate): be careful to check in the same
13674 2000-03-27 Didier Verna <didier@xemacs.org>
13676 * config.h.in: define the proper SMART_INCLUDE macro.
13677 handle renaming of `foo_h_path' to `foo_h_file'.
13679 * database.c: ditto.
13683 * linuxplay.c: ditto.
13685 * terminfo.c: ditto.
13687 * tooltalk.h: ditto.
13689 2000-03-27 Andy Piper <andy@xemacs.org>
13691 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13692 gets updated whenever the face might have changed.
13694 2000-03-26 Mike Alexander <mta@arbortext.com>
13696 * dumper.c (pdump_resource_free): Fix the comment.
13698 2000-03-21 Olivier Galibert <galibert@pobox.com>
13700 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13702 2000-03-22 Mike Alexander <mta@arbortext.com>
13704 * dumper.c: Include Windows headers on Windows
13705 (pdump_resource_free): Add a body to the function
13706 (pdump_load): exe_name -> exe_path and add some comments.
13708 2000-03-25 Mike Alexander <mta@arbortext.com>
13710 * gui.c (copy_gui_item_tree): Return a value in all cases
13712 2000-03-21 Didier Verna <didier@xemacs.org>
13714 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13716 (SMART_INCLUDE): new macro.
13717 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13718 the proper location.
13720 * postgresql.c: use it.
13724 2000-03-24 Andy Piper <andy@xemacs.org>
13726 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13729 2000-03-24 Andy Piper <andy@xemacs.org>
13731 * redisplay-output.c (compare_runes): use image_instance_changed
13732 to detect changes. Do not depend on glyphs_changed, only depend on
13734 (redisplay_output_layout): add debug messages.
13735 (compare_runes): ditto.
13737 * glyphs.h: declare new functions.
13738 (struct Lisp_Image_Instance): remove percent and associated
13741 * gui.h: declare new copying functions.
13743 * gui.c (copy_gui_item_tree): new function.
13744 (copy_gui_item): new function.
13745 (gui_item_id_hash): revert to standard hash.
13746 (gui_item_hash): ditto.
13747 (gui_item_hash_internal): deleted.
13748 (mark_gui_item): mark value.
13749 (gui_item_add_keyval_pair): add value.
13750 (gui_item_init): ditto.
13751 (gui_add_item_keywords_to_plist): ditto.
13752 (gui_item_equal): ditto.
13753 (syms_of_gui): add Q_value.
13755 * glyphs-x.c (x_progress_gauge_update): use pending items and
13756 value for setting the state.
13757 (x_update_widget): don't set items from pending here.
13759 * glyphs-widget.c (update_widget): update items here.
13760 (progress_gauge_set_property): use items for storing value. Put
13761 new value in pending items.
13763 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13764 items for new value. Convert percent -> value.
13765 (mswindows_tab_control_update): don't update items here.
13767 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13768 (update_subwindow): ditto.
13769 (image_instance_changed): new function. Compare hash values and
13770 past and present widget items.
13771 (image_instantiate): We more careful about where we instantiate
13773 (image_instantiate): add error checking.
13775 * gutter.c (syms_of_gutter): use -hook.
13777 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13779 * console-tty.c (Fset_console_tty_input_coding_system): Use
13781 (Fset_console_tty_output_coding_system): Use Qterminal.
13782 (tty_init_console): Use Qkeyboard and Qterminal.
13784 2000-03-21 Ben Wing <ben@xemacs.org>
13786 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13787 From Mike Alexander <mta@arbortext.com>.
13789 2000-03-21 Ben Wing <ben@xemacs.org>
13791 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13792 process brokenness. Proper implementation to come.
13794 Rename call-process-internal to old-call-process-internal.
13795 New impl. in process.el.
13797 2000-03-21 Martin Buchholz <martin@xemacs.org>
13799 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13801 2000-03-20 Andy Piper <andy@xemacs.org>
13803 * glyphs.c (full_list_hash): make hashes of the same elements in
13804 different orders return different values.
13806 2000-03-20 Martin Buchholz <martin@xemacs.org>
13808 * XEmacs 21.2.32 is released.
13810 2000-03-20 Martin Buchholz <martin@xemacs.org>
13812 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13813 (DFC_MALLOC_USE_CONVERTED_DATA):
13814 Add aliasing-safe casts to allow use with char* or unsigned char*
13817 * eldap.c (Fldap_open):
13818 (Fldap_search_basic):
13821 Make C++-compilable.
13822 Make sure GCPRO'ed variables are initialized.
13823 Use temp variables to avoid repeated calls to Flength.
13825 2000-03-16 Martin Buchholz <martin@xemacs.org>
13828 Make sure PATH_MAX is always defined.
13829 Include limits.h for PATH_MAX.
13830 Deprecate use of MAXPATHLEN.
13832 2000-03-10 Martin Buchholz <martin@xemacs.org>
13834 * emacs.c: Add reinit_vars_of_fileio.
13835 * symsinit.h: Add reinit_vars_of_fileio.
13836 * fileio.c (reinit_vars_of_fileio): New.
13837 * fileio.c (Fmake_temp_name):
13838 Initialize temp_name random number from microseconds to make
13839 collisions even less likely. Initialize always at process startup
13840 time. (make-temp-name) used to return the same file name twice in
13842 Random stylistic fiddling.
13845 2000-03-20 Andy Piper <andy@xemacs.org>
13847 * glyphs.c (image_instantiate): allow text glyphs to be
13848 instantiated in the minibuffer window.
13850 2000-03-19 Andy Piper <andy@xemacs.org>
13852 * glyphs.c (image_instance_hash): be careful about which items we
13855 * glyphs-widget.c (tab_control_set_property): record into pending
13856 items rather than the actual items.
13858 * glyphs-x.c (x_update_widget): use pending items to update with.
13860 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13863 * glyphs.c (mark_image_instance): mark pending items.
13865 * window.c (Fset_window_configuration): record the buffer.
13866 (Fselect_window): totally revert previous change which breaks many
13869 2000-03-18 Andy Piper <andy@xemacs.org>
13871 * glyphs-msw.c (mswindows_tab_control_update): force selected
13874 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13875 window domain cache, otherwise we get inconsistencies at
13876 startup. There is something fishy at startup which can lead to the
13877 minibuffer being the selected window when the gutter content is
13880 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13882 (parse_gui_item_tree_children): ditto.
13883 (parse_gui_item_tree_item): ditto.
13885 * glyphs.c (Fupdate_widget_instances): return something.
13887 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13889 * window.c (Fselect_window): Undo 2000-03-17 change.
13891 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13893 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13894 against v7.0 libraries. Insta-coredump city until the postgres
13897 2000-03-17 Andy Piper <andy@xemacs.org>
13899 * faces.c (complex_vars_of_faces): don't give the widget face an
13900 inherited background pixmap.
13902 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13905 * event-stream.c (Fdispatch_non_command_events): return something.
13907 * gutter.c (output_gutter): use widget face.
13908 (clear_gutter): ditto.
13910 * NEWS: adjust again.
13912 * window.c (Fselect_window): make sure this runs to completion to
13913 avoid oddities with Fset_window_configuration.
13914 (Fcurrent_window_configuration): in general do not save the
13915 minibuffer as the selected window.
13917 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13919 2000-03-16 Olivier Galibert <galibert@pobox.com>
13921 * emacs.c (Frunning_temacs_p): Revert previous patch.
13922 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13924 2000-03-16 Andy Piper <andy@xemacs.org>
13926 * glyphs-x.c (x_tab_control_update): if no widget values then
13929 * NEWS: update for new features.
13931 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13932 synthetic event to the native system.
13933 (reinit_vars_of_event_Xt): set force_event_pending to
13934 emacs_Xt_force_event_pending.
13936 * events.h (struct event_stream): add force_event_pending.
13938 * specifier.c (recompute_one_cached_specifier_in_window): add
13941 * redisplay.c (redisplay_frame): don't call
13942 update_frame_subwindows. Reset subwindow cachels when
13943 subwindows_changed, removing this was an optimization too far.
13945 * redisplay-output.c (compare_runes): reorganize so that we catch
13946 glyph changes when we want them. Set optimize_output when this
13947 would help layouts.
13948 (redisplay_output_layout): remove frame_really_changed, use
13949 optimize_output instead.
13951 * redisplay-msw.c (mswindows_output_display_block): reset
13952 optimize_output after outputting a glyph.
13953 * redisplay-x.c (x_output_display_block): ditto.
13954 * redisplay-tty.c (tty_output_display_block): ditto.
13956 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13958 (gutter_specs_changed): do specific gutter positions.
13959 (top_gutter_specs_changed): new function. Only update the
13960 specified gutter specs.
13961 (bottom_gutter_specs_changed): ditto.
13962 (left_gutter_specs_changed): ditto.
13963 (right_gutter_specs_changed): ditto.
13965 * gui.c (gui_item_hash_internal): new function, does a real hash.
13966 (gui_item_id_hash): use it.
13967 (gui_item_hash): hash the eval'ed gui_item.
13969 * gui-x.c (popup_selection_callback): send an eval event to call
13970 Fupdate_widget_instances.
13972 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13973 to call Fupdate_widget_instances.
13975 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13976 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13978 * glyphs.c: (update_frame_subwindows): deleted.
13979 (Fupdate_widget_instances): new function for updating the dirty
13980 state of widgets that might have changed.
13981 (syms_of_glyphs): add Qupdate_widget_instances.
13982 (full_list_hash): hash a list completely.
13983 (image_instance_hash): use it for items and properties.
13985 * frame-msw.c (mswindows_size_frame_internal): remove unused
13988 * faces.h (struct face_cachel): fix comment.
13990 * event-stream.c (Fdispatch_non_command_events): new
13991 function. Process non-command events, forcing an event cycle
13993 (syms_of_event_stream): declare.
13994 (event_stream_force_event_pending): new function. Force an event
13995 on the native event queue so that an event cycle will occur next
13999 (struct ntpipe_shove_stream):
14000 (mswindows_enqueue_dispatch_event):
14001 (mswindows_dequeue_dispatch_event):
14002 (mswindows_cancel_dispatch_event):
14003 (mswindows_pump_outstanding_events):
14004 (mswindows_drain_windows_queue):
14005 (mswindows_handle_paint):
14006 (mswindows_wnd_proc):
14007 (mswindows_key_to_emacs_keysym):
14008 (get_process_input_waitable):
14009 (emacs_mswindows_delete_stream_pair): re-indent file.
14010 (mswindows_need_event): do not process further fds if the windows
14011 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14012 fixes the 100% cpu problem.
14013 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14015 2000-03-15 Olivier Galibert <galibert@pobox.com>
14021 * emacs.c: Moved dump file searching to dumper.c.
14022 (Frunning_temacs_p): Fixed.
14024 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14025 last_lrecord_type_index_assigned.
14027 2000-02-20 Olivier Galibert <galibert@pobox.com>
14029 * symsinit.h: Added reinit parameter to init_console_stream
14032 * lisp.h: Added file parameter to pdump_load declaration.
14034 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14035 support. Added dump file searching.
14037 * config.h.in: Added EMACS_PROGNAME.
14039 * console-stream.c (init_console_stream): Fix reinitialisation
14040 when running from temacs.
14042 * alloc.c (pdump): Add id support.
14043 (pdump_load): Add file parameter and signature/id support.
14045 * Makefile.in.in: Add full pdump support.
14047 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14049 * postgresql.c: Update documentation to reflect latest code
14051 (print_result): Show tuple counts in printed representation when
14053 (Fpq_put_nbytes): MULE-ize.
14054 (Fpq_get_line_async): Ditto.
14056 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14058 * postgresql.c (Fpq_lo_import): Fix return value.
14059 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14061 2000-03-13 Ben Wing <ben@xemacs.org>
14063 * alloc.c (pdump_load):
14064 Fix compile warning under mswin.
14066 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14068 * postgresql.c: Mule-ization, bug fixes.
14069 Use PG_CODING to encapsulate coding system name changes.
14070 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14071 (pg-coding-system): Create.
14073 (Fpq_conn_defaults): Mule-ize.
14074 (Fpq_connectdb): Mule-ize & bug fix.
14075 (Fpq_connect_start): Mule-ize.
14076 (Fpq_set_client_encoding): Mule-ize.
14077 (Fpq_finish): Document `DEAD' connection status.
14078 (Fpq_clear): Ditto.
14079 (Fpq_pgconn): Mule-ize.
14080 (Fpq_exec): Mule-ize & bug fix.
14081 (Fpq_send_query): Ditto.
14082 (Fpq_get_result): Ditto.
14083 (Fpq_res_status): Mule-ize.
14084 (Fpq_result_error_message): Mule-ize.
14085 (Fpq_ntuples): fix comments.
14086 (Fpq_fname): Mule-ize.
14087 (Fpq_fnumber): Mule-ize.
14088 (Fpq_ftype): fix comments.
14089 (Fpq_get_value): Mule-ize.
14090 (Fpq_cmd_status): Ditto.
14091 (Fpq_cmd_tuples): Ditto.
14092 (Fpq_oid_value): Ditto.
14093 (Fpq_notifies): Ditto.
14094 (Fpq_lo_import): Ditto.
14095 (Fpq_lo_export): Ditto.
14096 (Fpq_get_line): Ditto.
14097 (Fpq_put_line): Mule-ize and bug fix.
14098 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14100 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14102 * postgresql.c (vars_of_postgresql): Mule-ize.
14103 (Fpq_conn_defaults): Ditto.
14105 2000-03-12 Ben Wing <ben@xemacs.org>
14107 * alloc.c (Fmake_byte_code):
14108 * alloc.c (debug_string_purity_print):
14109 * alloc.c (pdump_backtrace):
14110 * alloc.c (pdump_get_indirect_count):
14111 * alloc.c (pdump_register_sub):
14112 * alloc.c (pdump_register_object):
14113 * alloc.c (pdump_register_struct):
14114 * alloc.c (pdump_dump_data):
14115 * alloc.c (pdump_reloc_one):
14119 * console-msw.c (GetConsoleHwnd):
14120 * console-msw.c (msw_hide_console):
14121 * console-msw.c (msw_show_console):
14122 * console-msw.c (msw_ensure_console_buffered):
14123 * console-msw.c (msw_output_console_string):
14124 * console-msw.c (console_type_create_mswindows):
14126 a) Added functions to manipulate the console window for use with
14129 b) Added support for writing text to the console, which is now
14130 used under Windows when xemacs is not being run non-interactively,
14131 to write text that would otherwise be destined for stdout because
14132 under these circumstances, text written to stdout tends to
14133 disappear and not be seen.
14137 * event-Xt.c (x_event_to_emacs_event):
14138 * event-Xt.c (describe_event_window):
14139 * events-mod.h (XEMACS_MOD_CONTROL):
14141 * events.c (Fmake_event):
14142 * events.c (character_to_event):
14143 * events.c (event_to_character):
14144 * events.c (format_event_object):
14145 * events.c (Fevent_modifiers):
14147 * events.h (struct key_data):
14148 * events.h (struct button_data):
14149 * events.h (struct misc_user_data):
14150 * frame-x.c (Fcde_start_drag_internal):
14151 * frame-x.c (Foffix_start_drag_internal):
14152 * gpmevent.c (Freceive_gpm_event):
14154 * keymap.c (bucky_sym_to_bucky_bit):
14155 * keymap.c (control_meta_superify):
14156 * keymap.c (make_key_description):
14157 * keymap.c (keymap_lookup_directly):
14158 * keymap.c (create_bucky_submap):
14159 * keymap.c (keymap_store):
14160 * keymap.c (define_key_check_and_coerce_keysym):
14161 * keymap.c (define_key_parser):
14162 * keymap.c (define_key_alternate_name):
14163 * keymap.c (Fdefine_key):
14164 * keymap.c (raw_lookup_key_mapper):
14165 * keymap.c (struct map_keymap_unsorted_closure):
14166 * keymap.c (map_keymap_unsorted_mapper):
14167 * keymap.c (map_keymap_sort_predicate):
14168 * keymap.c (map_keymap_sorted):
14169 * keymap.c (accessible_keymaps_mapper_1):
14170 * keymap.c (where_is_recursive_mapper):
14171 * keymap.c (describe_map_mapper):
14172 * keymap.c (describe_map_sort_predicate):
14173 * keymap.c (describe_map):
14174 * keymap.c (complex_vars_of_keymap):
14175 And a number of other files, the key modifier preprocessor
14176 constants that xemacs uses have names that conflict with constants
14177 defined under MS Windows for other purposes, so they were renamed
14178 to begin with the prefix XEMACS_. The variables that hold such
14179 modifiers were changed to consistently be of type int to fix
14180 various compile warnings.
14182 * console.c (complex_vars_of_console):
14185 * device-msw.c (mswindows_finish_init_device):
14186 * device-msw.c (msw_get_workspace_coords):
14187 * device-msw.c (mswindows_device_system_metrics):
14188 and various other files, added support for a new
14189 device property called offset-workspace which returns the position
14190 of the upper left corner of the workspace area and goes along with
14191 the existing size-workspace property.
14194 * dialog-msw.c (push_bufbyte_string_as_unicode):
14195 * dialog-msw.c (mswindows_popup_dialog_box):
14196 Added support for XEmacs-style accelerator specifications in
14197 button text. Note: I didn't add support for this under X Windows,
14198 and somebody needs to do this.
14201 * dialog.c (Fpopup_dialog_box):
14202 Documented the support for accelerators that was just mentioned.
14204 editfns.c (get_home_directory): Changed behavior under Windows
14205 when HOME not defined; former behavior was irretrievably broken.
14208 * emacs.c (main_1):
14210 * minibuf.c (clear_echo_area_internal):
14211 * minibuf.c (echo_area_append):
14213 * print.c (std_handle_out_external):
14214 * print.c (std_handle_out_va):
14216 * print.c (write_string_to_stdio_stream):
14217 * print.c (output_string):
14218 * print.c (debug_print):
14219 * print.c (debug_backtrace):
14220 * print.c (debug_short_backtrace):
14221 Cleaned up the code that prints text to stdout so that this can be
14222 changed to output into a console window instead under MS Windows,
14223 as described above.
14226 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14227 * eval.c (internal_catch):
14228 * eval.c (unwind_to_catch):
14229 * eval.c (throw_or_bomb_out):
14230 * eval.c (condition_case_1):
14231 * eval.c (signal_1):
14232 * eval.c (check_error_state_sanity):
14233 * eval.c (call_with_suspended_errors_1):
14234 * eval.c (call_with_suspended_errors):
14235 * eval.c (reinit_vars_of_eval):
14236 Added code to catch throw loops and check for a pesky bug that may
14240 * event-msw.c (key_needs_default_processing_p):
14241 * event-msw.c (mswindows_wnd_proc):
14242 * event-msw.c (mswindows_modifier_state):
14243 * event-msw.c (emacs_mswindows_quit_p):
14244 * event-msw.c (vars_of_event_mswindows):
14245 a) Added support for using the alt key to select menu items as is
14246 standard under MS Windows. This is controlled using the variable
14247 menu-accelerator-enabled, just like under X Windows. There is an
14248 option on the options menu to turn this support on. I really
14249 think that it should be on by default under Windows, but I'm not
14250 going to make this change yet.
14252 b) Added support for dynamic display size changes under Windows.
14255 * event-stream.c (maybe_echo_keys):
14256 * event-stream.c (Fnext_event):
14257 * event-stream.c (command_builder_find_leaf):
14258 * event-stream.c (lookup_command_event):
14259 * event-stream.c (execute_command_event):
14260 * event-stream.c (pre_command_hook):
14261 * event-stream.c (post_command_hook):
14262 * event-stream.c (syms_of_event_stream):
14263 * event-stream.c (vars_of_event_stream):
14264 * event-stream.c (complex_vars_of_event_stream):
14265 * events.h (struct command_builder):
14267 a) Tried to clean up a little bit the horribly written x-specific
14268 accelerator code that crept into this file. I moved this code
14269 into menubar-x.c where it belongs. I also needed to move the
14270 command builder structure into the file events.h because it is
14271 accessed directly by this accelerator code. What I didn't do, but
14272 which should be done at some point, is to properly abstract this
14273 code using device methods instead of the kludgy way that it
14274 currently hooks into the event code.
14276 b) Added the lisp variables this-command-properties and
14277 last-command- properties, which should be used to synchronize two
14278 adjacent commands in preference to playing games with the variable
14279 this-command, which is typically what happens.
14281 c) Added some slightly nasty code to hook into the lisp support
14282 for shifted- motion-key selection. This is actually necessary for
14283 somewhat complicated reasons, which are described in
14284 simple.el. (NB: I think the proper thing would be to have the code
14285 that calls the pre and post command hooks also call out to generic
14286 lisp functions in simple.el, where all built-in stuff could be
14287 added. I will think about this more.)
14289 * event-unixoid.c (poll_fds_for_input):
14290 * lread.c (readchar):
14291 * redisplay-tty.c (tty_clear_frame):
14292 * redisplay-x.c (x_get_gc):
14293 * signal.c (interrupt_signal):
14294 And a whole bunch of other files: fixed up places that printed
14295 directly to stderr to instead call the function stderr_out so that
14296 the changes I made under Windows work correctly.
14298 * filemode.c (mode_string):
14302 * frame-msw.c (mswindows_size_frame_internal):
14303 Fixed the computation of frame size and position to keep the frame
14304 within the workspace area, rather than within the physical
14305 dimensions of the screen, so that the frame doesn't overlap window
14306 manager decorations, such as the start menu and toolbar, typically
14307 at the bottom of the screen.
14309 * frame.c (vars_of_frame):
14310 Changed the default frame title format under MS Windows to consist
14311 of buffername-XEmacs, which is standard under MS Windows. I think
14312 it might be a good idea to change this everywhere because I think
14313 it is superior to the current frame title format, but this is the
14314 kind of change that is likely to cause some people to get annoyed,
14315 so I'm not making it.
14317 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14319 * gui-msw.c (mswindows_handle_gui_wm_command):
14320 Fixed compile warnings.
14323 * gui-x.c (strdup_and_add_accel):
14324 * gui-x.c (button_item_to_widget_value):
14326 Added code to automatically put an accelerator onto the beginning
14327 of menu items that don't have one as is now the standard, and is
14328 described more later. Also fixed things so that the menu item
14329 name can be an evaluated expression, again a new standard.
14332 * gui.c (gui_item_add_keyval_pair):
14333 * gui.c (make_gui_item_from_keywords_internal):
14334 * gui.c (gui_add_item_keywords_to_plist):
14335 * gui.c (gui_item_accelerator):
14336 * gui.c (gui_name_accelerator):
14337 * gui.c (gui_item_included_p):
14338 * gui.c (gui_item_display_flush_left):
14339 * gui.c (gui_item_display_flush_right):
14340 * gui.c (parse_gui_item_tree_item):
14341 * gui.c (parse_gui_item_tree_children):
14342 * gui.c (parse_gui_item_tree_list):
14343 Mule-ized. Cleanup. GCPRO addition.
14345 * line-number.c (buffer_line_number):
14347 * lisp.h (EMACS_INT_MAX):
14348 Added the manifest constant EMACS_INT_MIN corresponding to the
14349 existing constant EMACS_INT_MAX. This is partially to fix compile
14350 warnings under Windows, and partly for cleanliness.
14353 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14354 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14355 * menubar-msw.c (displayable_menu_item):
14356 * menubar-msw.c (populate_menu_add_item):
14357 * menubar-msw.c (populate_or_checksum_helper):
14358 * menubar-msw.c (populate_menu):
14359 * menubar-msw.c (update_frame_menubar_maybe):
14360 * menubar-msw.c (prune_menubar):
14361 * menubar-msw.c (msw_char_is_accelerator):
14362 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14363 * menubar-msw.c (mswindows_handle_wm_command):
14364 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14365 * menubar-msw.c (mswindows_handle_wm_initmenu):
14366 * menubar-msw.c (mswindows_update_frame_menubars):
14367 * menubar-msw.c (mswindows_free_frame_menubars):
14368 * menubar-msw.c (mswindows_popup_menu):
14369 Fixed a bug in handling accelerators where an extra character
14370 would be displayed in the menu item. Also generalized the
14371 function displayable_menu_item because it is now used by the
14372 dialog box code as well. And finally, added code in the functions
14373 that create the menubar to extract a list of accelerators for the
14374 top level menubar, which is used in the event code to determine
14375 whether a particular alt-key combination should be used to invoke
14376 a menu item, or should be passed through to access the standard
14377 XEmacs keymap binding for this key combination.
14379 Much needed GCPROing.
14382 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14383 * menubar-x.c (menu_item_descriptor_to_widget_value):
14384 * menubar-x.c (restore_in_menu_callback):
14385 * menubar-x.c (x_popup_menu):
14386 * menubar-x.c (menu_move_up):
14387 * menubar-x.c (menu_move_down):
14388 * menubar-x.c (menu_move_left):
14389 * menubar-x.c (menu_move_right):
14390 * menubar-x.c (menu_select_item):
14391 * menubar-x.c (command_builder_operate_menu_accelerator):
14392 * menubar-x.c (menu_accelerator_junk_on_error):
14393 * menubar-x.c (command_builder_find_menu_accelerator):
14394 * menubar-x.c (Faccelerate_menu):
14396 Moved a whole bunch of code here that was previously in
14397 event-stream.c as described above. There is also code connected
14398 to the new standard of adding an accelerator to the beginning of
14399 menu items that don't have one as described above and below.
14402 * menubar.c (menu_parse_submenu_keywords):
14403 * menubar.c (Fmenu_find_real_submenu):
14404 * menubar.c (Fnormalize_menu_item_name):
14405 * menubar.c (syms_of_menubar):
14406 * menubar.c (vars_of_menubar):
14407 * menubar.c (complex_vars_of_menubar):
14409 a) Cleaned up a bunch of documentation and improved it.
14411 b) XEmacs now automatically adds an accelerator onto the beginning
14412 of any menu items that don't have one. I did this because there
14413 will inevitably be some menu items on the main menubar that don't
14414 have accelerators on them because the package that adds that
14415 particular menu item hasn't yet been fixed up to have accelerators
14416 in them and it looked rather strange to have some items with and
14417 some items without accelerators, especially since even in items
14418 without accelerators, you can, at least under windows, still
14419 access the item through an accelerator corresponding to the first
14420 character in the item's name. If people don't like this behavior,
14421 I can add a variable to turn it off optionally, but I'm not sure
14422 this is a good idea because we really do need to have accelerators
14423 on all of the menu items, and if a package doesn't like the
14424 accelerators being put on the first character, then it should put
14425 the accelerators where they belong.
14427 c) I made a behavior change, which is that the descriptor that
14428 specifies the text of the menu item, which formerly was just a
14429 string, can now also be an evaluated expression. This makes this
14430 descriptor parallel with all of the others, which could also be
14431 evaluated expressions. This also obviates the need for the
14432 keyword :label, which was previously listed in the documentation
14433 as unimplemented, and which was for the same purpose.
14438 * ntproc.c (new_child):
14439 * ntproc.c (sys_spawnve):
14440 * ntproc.c (find_child_console):
14441 * ntproc.c (sys_kill):
14442 Fixed compile warnings. By the way, this file should really go
14443 away entirely, and this will happen as soon as Kirill makes his
14444 final round of process cleanups, which affect the function
14448 * process-nt.c (struct nt_process_data):
14449 * process-nt.c (find_process_from_pid):
14450 * process-nt.c (send_signal_the_nt_way):
14451 * process-nt.c (enable_child_signals):
14452 * process-nt.c (find_child_console):
14453 * process-nt.c (send_signal_the_95_way):
14454 * process-nt.c (nt_finalize_process_data):
14455 * process-nt.c (ensure_console_window_exists):
14456 * process-nt.c (nt_create_process):
14457 * process-nt.c (nt_kill_child_process):
14458 * process-nt.c (nt_kill_process_by_pid):
14459 * process-nt.c (nt_open_network_stream):
14460 * process-nt.c (vars_of_process_nt):
14461 Copied over code from Emacs 20.5 to correctly send signals to sub-
14462 processes under Windows 95. Also added code to automatically
14463 create and hide console window when a sub-process is created under
14464 Windows 95, which obviates the need for the separate runemacs.exe
14465 executable, and finally implemented some variables that were
14466 implemented in Emacs 20.5, but previously not in XEmacs. These
14467 include mswindows- start-process-share-console and
14468 mswindows-start-process-inherit-error-mode. (Both of these only
14469 apply to Windows 95.)
14471 * regex.c (regex_compile): Fixed a compile warning.
14474 * select-msw.c (mswindows_own_selection):
14475 * select-msw.c (mswindows_get_foreign_selection):
14476 * select-msw.c (mswindows_disown_selection):
14477 * select-msw.c (console_type_create_select_mswindows):
14478 * select-msw.c (syms_of_select_mswindows):
14479 Cleaned up the file and implemented the device method
14480 selection_exists_p, which had accidentally been left out. Also
14481 removed four lisp functions that were remnants from before the
14482 time when the selection code was properly device abstracted.
14483 These functions are no longer needed because there are generic
14484 equivalents, and because they were added recently and don't exist
14485 in FSF Emacs, I don't think there's any problem with just deleting
14489 * sysdep.c (sys_subshell):
14490 Fixed a compile warning, although in this case there's probably
14491 something wrong with this code, and it ought to be looked into
14492 more thoroughly by somebody who understands it.
14495 * window.c (Fwindow_text_area_height):
14496 * window.c (Fwindow_width):
14497 * window.c (Fwindow_full_width):
14498 * window.c (Fwindow_pixel_width):
14499 * window.c (debug_print_window):
14500 * window.c (syms_of_window):
14501 Added functions window-text-area-height and window-full-width,
14502 which are functions for returning various width and height
14503 characteristics of a window. (One of these functions is necessary
14504 for making the file dialog box work correctly, and the other one
14505 was added for completeness.) Also added a table to the
14506 documentation for window-height which describes the entire scheme
14507 for accessing width and height characteristics of a window.
14509 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14511 * nt.c (fstat): Added a comment for another problem with
14512 non-encapsulated [f]stat(), reported by Adrian Aichner
14513 <aichner@ecf.teradyne.com>.
14515 2000-03-11 Andy Piper <andy@xemacs.org>
14517 * window.c (make_dummy_parent): initialize subwindow instance
14519 (Fset_window_configuration): zero extent_modiff.
14521 2000-03-10 Andy Piper <andy@xemacs.org>
14523 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14524 more changes can be triggered.
14525 (Fredisplay_frame): ditto.
14526 (Fredraw_device): ditto.
14527 (Fredisplay_device): ditto.
14528 (redisplay_frame): make non-static.
14529 (redisplay_frame): call update_frame_gutter_geometry outside of
14532 * gutter.h: declare update_frame_gutter_geometry.
14534 * redisplay.h: declare redisplay_frame.
14536 * gutter.c (update_frame_gutter_geometry): move geometry changes
14537 in update_frame_gutters here. Geometry changes can only occur
14538 outside of redisplay.
14539 (update_frame_gutters): remove geometry change code.
14540 (Fredisplay_gutter_area): make sure that we are in display when we
14541 update and that we have flushed any size changes.
14543 2000-03-11 Andy Piper <andy@xemacs.org>
14545 * alloc.c (pdump_dump_data): remove i & count shadows.
14547 2000-02-27 Mike Alexander <mta@arbortext.com>
14549 * sysdep.h: Declare pdump_read_file
14551 * sysdep.c (pdump_read_file): New function
14553 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14556 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14558 * lrecord.h: add `lrecord_type_pgsetenv'.
14560 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14562 * symsinit.h: declare (vars|syms)_of* functions.
14563 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14565 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14567 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14569 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14572 * emacs.c (main_1): Call postgres initialization code.
14574 * postgresql.h: New file. PostgreSQL RDBMS support.
14575 * postgresql.c: New file.
14577 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14579 * redisplay-output.c (redisplay_output_display_block): Disable
14582 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14584 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14585 (Fcanna_henkan_next): Ditto.
14586 (Fcanna_bunsetu_henkou): Ditto.
14587 (Fcanna_henkan_kakutei): Ditto.
14588 (Fcanna_henkan_end): Ditto.
14589 (Fcanna_henkan_quit): Ditto.
14590 (Fcanna_henkan_next): Set retun value correctly.
14591 (c2mu): Use unsigned char instead of signed char.
14593 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14595 * emacs.c (main_1): Always call syms_of_gui.
14596 * inline.c: include gui.h
14598 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14600 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14601 converted to Lisp_Object.
14602 (Qtop_bottom): New variable.
14603 (syms_of_redisplay): Initialize it.
14604 * redisplay.h (Vvisible_bell): Ditto.
14605 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14606 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14607 only flash top and bottom.
14609 2000-03-08 Andy Piper <andy@xemacs.org>
14611 * buffer.c (Frename_buffer): record new buffer name the right way.
14613 2000-03-08 Andy Piper <andy@xemacs.org>
14615 * glyphs.c (update_subwindow): increase hash depth so that widget
14616 items get picked up properly.
14618 * redisplay-output.c (compare_runes): increase hash depth so that
14619 widget items get picked up properly.
14621 2000-03-08 Andy Piper <andy@xemacs.org>
14623 * gutter.c (output_gutter): add some debug.
14625 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14626 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14627 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14629 * redisplay-output.c (compare_runes): use display_hash to
14630 determine if glyphs really are not the same.
14632 * glyphs.c (update_subwindow): check display_hash to see if
14633 anything really needs to be updated. If not then do
14634 nothing. Record the display_hash after updating.
14635 (image_instance_equal): compare the image_instance face also.
14637 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14639 * redisplay.h: Fix comment style.
14641 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14643 * consle-msw.h (struct mswindows_frame):
14644 Added new member paint_pending to indicate whether a WM_PAINT
14645 magic event has been queued for this frame.
14647 * event-msw.c (mswindows_drain_windows_queue):
14648 Don't queue a WM_PAINT magic event if one is already queued.
14649 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14651 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14653 2000-03-07 Didier Verna <didier@xemacs.org>
14655 * dired.c: #include `regex.h' after `sysfile.h'.
14657 2000-03-06 Martin Buchholz <martin@xemacs.org>
14659 * sound.c (init_nas_sound): Fix compiler warning.
14661 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14663 (MARK_STRUCT_AS_FREE):
14664 (MARK_STRUCT_AS_NOT_FREE):
14665 Make `gcc -fstrict-aliasing' work properly.
14667 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14669 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14670 (mswindows_delete_device): Call CoUnnitialize().
14672 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14674 2000-02-25 <CraigL@DyCon.com>
14676 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14679 * sysdep.c: This extern declaration for environ prevents MinGW
14680 from finding the variable in CRTDLL.DLL.
14682 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14684 (SHGFI_EXETYPE): ..
14685 (WM_MOUSEWHEEL): ..
14686 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14688 (MMRESULT): Removed, now defined in cygwin's windows headers.
14690 (uid_t,gid_t,pid_t,ssize_t): ..
14691 (_timeb): Removed, MinGW defines both _timeb and timeb.
14692 (HAVE_H_ERRNO): Added.
14693 (HAVE_TZNAME): Added, configure is not detecting this.
14695 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14697 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14698 * syntax.c (syntax_match): Use it.
14700 * cmds.c: Import auto-fill-chars from FSF Emacs.
14701 (Vauto_fill_chars): New variables.
14702 (internal_self_insert): Check Vauto_fill_chars.
14704 Declare auto-fill-chars as a Lisp variable and initialize it.
14706 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14708 * fileio.c (Fmake_symbolic_link):
14710 Run handlers even if local machine doesn't have symlinks.
14712 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14714 * event-msw.c (mswindows_drain_windows_queue):
14715 Don't generate paint magic events for non-XEmacs frames.
14717 2000-03-05 Andy Piper <andy@xemacs.org>
14719 * redisplay.c (redisplay_frame): generate_displayable_area and
14720 friends assumes that we are not in GC, we therefore have to make
14721 sure that this doesn't happen.
14723 * gutter.c (calculate_gutter_size): generate_displayable_area
14724 assumes that we are not in GC, we therefore have to make sure that
14725 this doesn't happen.
14727 2000-03-05 Martin Buchholz <martin@xemacs.org>
14729 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14731 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14733 * redisplay.c (regenerate_window): Make sure we set a sane value
14734 for end_pos even if we jump out of the loop.
14735 (regenerate_window): Answer Ben's question :-).
14736 (start_end_of_last_line): Add may_error argument.
14737 (start_of_last_line):
14738 (end_of_last_line): Pass may_error = 0.
14739 (end_of_last_line_may_error): New function.
14740 (pixel_to_glyph_translation): Use it, so we don't crash in
14743 2000-03-04 Andy Piper <andy@xemacs.org>
14745 * window.h (struct window): add gutter_extent_modiff.
14747 * window.c (allocate_window): zero out gutter_extent_modiff.
14749 * redisplay.h: declare sync_display_line_structs.
14751 * redisplay.c (add_glyph_rune): add a better comment.
14753 * redisplay-output.c (sync_display_line_structs): made non-static.
14754 (compare_runes): remove unneccesary glyph cachel access.
14756 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14758 * gutter.c (output_gutter): don't output the gutter if extent
14759 changes only involve extents in buffers. use 4 sets of display
14761 (gutter_extent_signal_changed_region_maybe): new function. Mark
14762 extents in gutters as changed.
14763 (update_frame_gutters): use 4 sets of display lines.
14764 (reset_gutter_display_lines): ditto.
14765 (free_frame_gutters): ditto.
14766 (redraw_exposed_gutter): force output of gutters.
14768 * frame.h (struct frame): add 4 sets of gutter display lines.
14770 * extents.c: (extent_changed_for_redisplay): signal changes to
14771 extents in strings in the gutter as well as extents in buffers.
14773 2000-03-02 Andy Piper <andy@xemacs.org>
14775 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14777 * frame.c (Fmake_frame): make sure the gutters get initialized
14778 after the frame is visible.
14779 (set_frame_selected_window): re-arrange compilation macros a
14781 (change_frame_size_1): mark gutters changed.
14783 * device.c (Fset_device_class): mark gutters changed.
14785 2000-03-01 Andy Piper <andy@xemacs.org>
14787 * window.c (window_top_frame_gutter_height): deleted.
14788 (window_bottom_frame_gutter_height): ditto.
14789 (window_left_frame_gutter_height): ditto.
14790 (window_right_frame_gutter_height): ditto.
14791 (window_top_gutter_height): don't use them.
14792 (window_bottom_gutter_height): ditto.
14793 (window_left_gutter_width): ditto.
14794 (window_right_gutter_width): ditto.
14795 (Fsplit_window): ditto.
14796 (Fwindow_pixel_edges): don't use border dimensions here.
14798 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14799 (update_scrollbar_instance): ditto.
14801 * redisplay.c (generate_modeline): don't take gutters into account.
14802 (generate_modeline): ditto.
14803 (redisplay_frame): small gutter display optimization.
14805 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14807 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14808 gutters into account.
14810 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14811 for window position and type.
14813 * gutter.c (get_gutter_coords): fix for frame gutters.
14814 (update_frame_gutters): update frame geometry if the gutters have
14816 (init_frame_gutters): record current gutter geometries.
14818 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14820 (mswindows_widget_instantiate): ditto.
14822 * frame.h (struct frame): add current_gutter_bounds.
14824 * frame.c (change_frame_size_1): position window and minibuffer
14825 appropriately taking into account the frame gutters.
14827 * frame-x.c: (x_initialize_frame_size): take into account the
14830 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14832 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14834 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14836 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14838 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14840 * file-coding.c (reset_decoding_stream): Clear previous
14841 detection state when autodetect.
14843 2000-02-29 Didier Verna <didier@xemacs.org>
14845 * extents.c (set_extent_glyph_1): don't require extents to be
14848 2000-02-27 Andy Piper <andy@xemacs.org>
14850 * gutter.c (Fset_default_gutter_position): don't default left and
14851 right gutter visibility to t.
14852 (Fset_default_gutter_position): run
14853 default-gutter-position-changed-hook.
14854 (syms_of_gutter): add default-gutter-position-changed-hook.
14856 2000-02-26 Andy Piper <andy@xemacs.org>
14858 * specifier.c (Fmake_specifier): add gutter references.
14860 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14862 * lisp.h: declare Fvalid_plist_p.
14864 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14866 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14867 well as its visibility so that it gets reconstructed.
14868 (construct_window_gutter_spec): new function. Construct a string
14869 to be displayed in the gutter from a plist of strings. Take care
14870 to only use elements that are declared as visible.
14871 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14873 (gutter_validate): allow plists of strings in the specifier.
14874 (gutter_specs_changed): construct the real_gutter from the gutter
14875 specs using construct_window_gutter_spec.
14876 (gutter_visible_validate): gutter-visible is a new specifier type.
14877 (Fgutter_visible_specifier_p): new function for the new specifier.
14878 (syms_of_gutter): declare gutter-visible and
14879 Fgutter_visible_specifier_p.
14880 (specifier_type_create_gutter): intitalize new gutter-visible
14882 (reinit_specifier_type_create_gutter): ditto.
14883 (specifier_vars_of_gutter): use new specifier type for gutter
14885 (init_frame_gutters): construct real_gutter correctly.
14886 (Fgutter_specifier_p): beef up documentation.
14887 (Fgutter_size_specifier_p): ditto.
14889 * winslots.h: add real_gutter slots.
14891 2000-02-25 Andy Piper <andy@xemacs.org>
14893 * device-msw.c: Be kind to older cygwin versions. From Raymond
14894 Toy <toy@rtp.ericsson.se>.
14896 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14897 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14899 2000-02-25 Martin Buchholz <martin@xemacs.org>
14901 * elhash.c (MARK_OBJ): Practice macro hygiene.
14903 2000-02-24 Martin Buchholz <martin@xemacs.org>
14905 * miscplay.c: s/__inline__/inline/g;
14906 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14907 (get_device_compdc): INLINE ==> static inline
14908 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14909 find -name '*.h' | \
14910 xargs global-replace \
14911 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14913 2000-02-25 Andy Piper <andy@xemacs.org>
14915 * window.c (window_top_frame_gutter_height): new function.
14916 (window_top_window_gutter_height): ditto.
14917 (window_top_gutter_height): use them.
14918 (window_bottom_frame_gutter_height): new function.
14919 (window_bottom_window_gutter_height): ditto.
14920 (window_bottom_gutter_height): use them.
14921 (window_left_window_gutter_width): new function.
14922 (window_left_frame_gutter_width): ditto.
14923 (window_left_gutter_width): use them.
14924 (window_right_window_gutter_width): new function.
14925 (window_right_frame_gutter_width): ditto.
14926 (window_right_gutter_width): use them.
14927 (window_pixel_height): new function. calulate window pixel height
14928 with frame gutter involvement.
14929 (Fsplit_window): calculate new sizes taking frame gutters into
14931 (window_char_height_to_pixel_height): don't include frame gutters.
14932 (window_char_height): use window_pixel_height.
14933 (window_pixheight): rename from window_pixel_height.
14934 (change_window_height): use it.
14935 (window_pixel_height_to_char_height): don't include frame gutters.
14936 (window_char_width_to_pixel_width): ditto.
14938 2000-02-25 Andy Piper <andy@xemacs.org>
14940 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14943 2000-02-24 Martin Buchholz <martin@xemacs.org>
14945 * alloc.c (staticpro):
14946 (staticpro_nodump):
14951 (compact_string_chars):
14952 (pdump_dump_wired):
14953 Convert: if (foo) abort(); ==> assert (! foo);
14955 * eldap.c (Fldap_search_basic):
14959 Fix compiler warnings, and possible crashes if (random) return
14960 value were to be used.
14962 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14964 * device-msw.c: Workaround ResetDC failure.
14966 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14967 applying a devmode.
14969 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14970 (mswindows_text_width): Do not start printer page.
14972 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14974 * glyphs-msw.c: Added image methods to msprinter console and
14975 msprinter-specific image instantiation.
14977 2000-02-20 Mike Alexander <mta@arbortext.com>
14979 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14980 to avoid crashes when selection-sets-clipboard is on
14981 (mswindows_own_selection): ditto
14983 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14986 * redisplay-msw.c (get_frame_dc):
14987 (get_frame_compdc):
14989 * device-msw.c (mswindows_init_device):
14990 (mswindows_delete_device):
14991 (msprinter_init_device):
14992 (msprinter_delete_device):
14993 * frame-msw.c (mswindows_init_frame_1):
14994 (mswindows_delete_frame):
14995 (msprinter_init_frame_3):
14996 (msprinter_delete_frame): Move compatible DC to device object from
14997 frame object, for both mswindows and msprinter. Only one at a time
14998 is needed, it is a real waste to have one per frame!
15000 2000-02-23 Andy Piper <andy@xemacs.org>
15002 * glyphs.c: add dynamic width and height elements.
15003 (image_instance_equal): ditto.
15005 * glyphs-widget.c (widget_query_geometry): calculate width and
15006 height dynamically if required.
15007 (initialize_widget_image_instance): initialize dynamic dimensions.
15008 (widget_instantiate): pick-up dynamic dimensions.
15010 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15011 dynamic determination. Add appropriate macros.
15013 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15015 (WINDOW_GUTTER_SIZE): ditto.
15016 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15018 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15020 (get_frame_dc): ditto.
15022 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15025 2000-02-23 Martin Buchholz <martin@xemacs.org>
15027 * XEmacs 21.2.31 is released.
15029 2000-02-22 Ben Wing <ben@xemacs.org>
15031 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15033 2000-02-22 Andy Piper <andy@xemacs.org>
15035 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15037 2000-02-21 Mike Sperber <mike@xemacs.org>
15041 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15044 2000-02-21 Mike Sperber <mike@xemacs.org>
15046 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15048 2000-02-21 Martin Buchholz <martin@xemacs.org>
15050 * XEmacs 21.2.30 is released.
15052 2000-02-20 Martin Buchholz <martin@xemacs.org>
15054 Performance hacking.
15056 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15057 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15058 * emacs.c (main_1):
15060 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15061 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15062 * symeval.h (DEFVAR_SYMVAL_FWD):
15063 * symbols.c (guts_of_unbound_marker):
15064 Make all c_readonly objects also lisp_readonly and marked for life.
15065 * lrecord.h (struct lrecord_implementation):
15066 Document flags better.
15067 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15068 * lrecord.h (DECLARE_LRECORD):
15069 * lrecord.h (XSETRECORD):
15070 * lrecord.h (RECORDP):
15071 * lrecord.h (RECORD_TYPEP):
15072 * lrecord.h (RECORD_MARKER): New.
15073 * lrecord.h (error_check_*):
15074 * lrecord.h (CONCHECK_NONRECORD):
15075 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15076 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15077 * lrecord.h (set_lheader_implementation):
15078 * lrecord.h (enum lrecord_type): New.
15079 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15080 * alloc.c (disksave_object_finalization_1):
15081 * alloc.c (mark_object):
15082 * alloc.c (lrecord_type_index):
15083 * alloc.c (tick_lcrecord_stats):
15084 * alloc.c (Fgarbage_collect):
15085 * alloc.c (init_alloc_once_early):
15086 * alloc.c (pdump_load):
15087 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15088 * alloc.c (lrecord_type_index): Delete.
15089 Make lisp object type indexes be constant.
15090 Makes (byte-compile) 5% faster.
15091 Put all marker functions into their own array.
15092 Makes (garbage-collect) 5% faster.
15093 Optimize SYMBOL_VALUE_MAGIC_P.
15094 Makes (byte-compile) 2-3% faster.
15095 * config.h.in (gc_checking_assert): New.
15096 * alloc.c: Use gc_checking_assert().
15097 * .dbxrc: Make compatible with new object type implementation.
15098 * .gdbinit: Make compatible with new object type implementation.
15099 * alloc.c: Delete all symbols defined only for debugging, such as
15100 Lisp_Type_Vector and lrecord_charset.
15102 2000-02-21 Andy Piper <andy@xemacs.org>
15104 * gui-msw.c (Fmswindows_shell_execute): fix file location
15107 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15108 unshowing so that set_window_buffer doesn't undo
15109 kill_buffer_hook's hard work.
15111 * glyphs-widget.c (tab_control_query_geometry): don't count the
15112 first item when calculating geometry.
15114 * glyphs.c (map_subwindow): remove redundant code.
15115 (update_frame_subwindows): be more circumspect about when to
15118 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15119 when items haven't changed. Update faces if faces have changed as
15120 well as just the widget face.
15121 (x_tab_control_update): Update faces if faces have changed as well
15122 as just the widget face.
15124 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15126 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15128 (build_syscolor_string): Use mswindows_color_to_string to try to
15130 (mswindows_device_system_metrics): Reverse the foreground and
15131 background colors so that they match the documentation.
15133 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15134 they match the default Windows palette.
15135 (mswindows_color_to_string): New function.
15137 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15139 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15141 2000-02-18 Olivier Galibert <galibert@pobox.com>
15143 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15144 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15146 * symbols.c (init_symbols_once_early): Removed obsolete
15147 DATA_SEG_BITS related kludge.
15148 (defvar_magic): Ditto.
15150 * malloc.c: Removed obsolete DATA_SEG_BITS
15152 * mem-limits.h: Ditto.
15154 * Makefile.in.in: Removed obsolete HAVE_SHM
15157 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15159 * device-msw.c (mswindows_delete_device): Free DDE string
15162 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15164 * keymap.c (get_keyelt):
15165 * unexnt.c (unexec):
15166 * vm-limit.c (memory_warnings):
15167 * ntheap.c (recreate_heap):
15168 * ntheap.h (UNINIT_PTR):
15169 * select-msw.c (Fmswindows_get_clipboard):
15170 (Fmswindows_set_clipboard):
15171 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15173 * menubar-msw.c (displayable_menu_item):
15175 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15176 * sysdep.c (sys_subshell):
15177 * process-nt.c (nt_create_process):
15178 * nt.c (normalize_filename):
15179 (dostounix_filename):
15180 (unixtodos_filename):
15181 * ntproc.c (win32_executable_type):
15182 * ntplay.c (play_sound_data_1):
15184 * editfns.c (get_home_directory):
15185 * event-msw.c (struct winsock_stream):
15186 (mswindows_dde_callback):
15187 * device-msw.c (msprinter_init_device):
15188 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15190 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15191 mswindows_clear_toolbar were swapped!
15193 * objects-msw.c:(colormap_t):
15195 * emacs.c (struct standard_args): Fixed const jumble.
15197 * glyphs-widget.c (update_widget): Fixed comparison notation.
15199 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15201 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15202 __declspec(noreturn) syntax.
15204 2000-02-19 Martin Buchholz <martin@xemacs.org>
15206 * eldap.c (Fldap_open):
15207 (Fldap_search_basic):
15210 Use new coding system conversion macros.
15212 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15214 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15216 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15218 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15219 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15221 * eldap.c (Qadd, Qreplace): New constant symbols
15222 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15223 interruptions by XEmacs signals
15224 Remove unnecessary calls to slow_down_interrupts and
15225 speed_up_interrupts
15226 (Fldap_search_basic): Renamed from Fldap_search_internal
15227 Added new optional parameter VERBOSE that triggers the
15228 display of progress messages
15229 Remove unnecessary calls to slow_down_interrupts and
15230 speed_up_interrupts
15231 LDAP result code analysis rewritten
15232 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15233 (syms_of_eldap): Define the new symbols and functions
15236 2000-02-17 Martin Buchholz <martin@xemacs.org>
15238 * realpath.c: Determine PATH_MAX maximally portably.
15240 * insdel.c (bytecount_to_charcount): Optimize.
15241 The function used to be optimized for entirely ASCII sequences.
15242 Now it is optimized for successive characters from the same
15243 charset. This also wins big for _mostly_ ASCII sequences.
15245 * fileio.c (Ffile_truename): convert return from realpath() using
15246 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15247 - Rewrite GCPROing slightly.
15249 * sysdep.c (sys_open): Do filename conversion, like all other
15250 sys_* functions. Fixes bug:
15251 (let ((file-name-coding-system 'iso-8859-2))
15252 (write-region x y latin2-name))
15253 ==> writes filename using internal encoding.
15255 2000-02-18 Martin Buchholz <martin@xemacs.org>
15257 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15258 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15259 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15260 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15261 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15262 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15263 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15264 (CONST_IF_NOT_DEBUG): Delete.
15265 * alloc.c (this_one_is_unmarkable): Delete.
15266 (mark_object): Don't check for this_one_is_unmarkable. Use the
15267 c_readonly flag instead.
15268 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15270 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15272 * event-msw.c (mswindows_drain_windows_queue):
15273 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15274 away redundant repaint events.
15276 2000-02-17 Andy Piper <andy@xemacs.org>
15278 * redisplay.h: declare mark_redisplay_structs.
15280 * redisplay.c (redisplay_window):
15281 (redisplay_frame): don't check subwindows_state_changed.
15282 (mark_redisplay): mark gutters here.
15284 * glyphs.c: (instantiate_image_instantiator): always layout if we
15285 haven't done so already.
15286 (allocate_image_instance): don't mark as dirty.
15287 (update_subwindow): bind inhibit_quit.
15289 * gutter.c (mark_gutters): new function.
15291 * glyphs-x.c (x_update_widget): Always resize to get round a
15294 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15295 breaking absolutely everything.
15297 * gutter.h: declare mark_gutters.
15299 2000-02-16 Martin Buchholz <martin@xemacs.org>
15301 * XEmacs 21.2.29 is released.
15303 2000-02-15 Olivier Galibert <galibert@pobox.com>
15305 * fns.c (size_bit_vector): Fix computation of the size.
15307 2000-02-15 Martin Buchholz <martin@xemacs.org>
15309 * *.[ch]: Change CONST to const globally.
15310 find -name '*.[ch]' | \
15311 xargs global-replace \
15312 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15313 - Remove vestigial references to CONST_IS_LOSING
15315 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15317 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15318 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15319 events instead of dispatching them directly.
15320 (mswindows_handle_paint): New function to do repainting.
15321 (mswindows_wnd_proc):
15322 (emacs_mswindows_handle_magic_event): Call above function.
15324 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15326 * objects-msw.c (mswindows_create_font_variant): Return the new
15328 (initialize_font_instance): Get font metrics from the underlined
15329 variant of the font to cope with the case where the underlined
15330 font has a bigger descent.
15332 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15334 * gui.c (gui_item_accelerator): Return the first underlined
15335 character in item name.
15337 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15339 * lisp.h: Added Qprinter.
15341 * general.c (syms_of_general): Initialized it.
15343 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15345 (get_frame_compdc): Made inline.
15347 * console.h (struct console_methods): Added eject_page method.
15349 * frame.h: Added FRAME_DISPLAY_P and friends.
15350 Aligned backslahes in many macros in more readable fashion.
15351 Added page_number to struct frame, and an accessor macro
15354 * defice.h: Added DEVICE_DISPLAY_P and friends.
15356 * device.c (Fdevice_printer_p): Used these.
15358 * frame.c (allocate_frame_core): Initialize page number.
15359 (Fprint_job_page_number):
15360 (Fprint_job_eject_page): Implemented.
15362 * frame-msw.c (msprinter_eject_page): Added method.
15363 (msprinter_start_page): Added.
15365 * window.c (Fwindow_truncated_p): Fixed docstring.
15366 (Fwindow_last_line_visible_height): Implemented.
15368 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15370 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15372 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15374 * syntax.c (scan_words): Always advance at least one character.
15376 2000-02-13 Andy Piper <andy@xemacs.org>
15378 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15379 to make sure the glyph is in the cachels.
15381 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15382 global image instance flag.
15383 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15384 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15386 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15387 (Fset_image_instance_property): mark layout as changed.
15388 (invalidate_glyph_geometry_maybe): mark layout as changed.
15389 (glyph_width): use new NEEDS_LAYOUT macro.
15390 (glyph_ascent): ditto.
15391 (glyph_descent): ditto.
15392 (glyph_height): ditto.
15393 (image_instance_layout): mark layout as clean after laying out.
15394 (update_subwindow): don't mark layout as clean here.
15396 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15397 should no longer be needed.
15399 * glyphs-x.c (x_update_widget): sanitize asserts.
15400 (x_finalize_image_instance): sanitize assignment to widgets.
15402 * glyphs-widget.c (widget_instantiate): don't need to clear the
15405 2000-02-13 Martin Buchholz <martin@xemacs.org>
15407 * sysdep.c (getcwd): Use standard prototype.
15408 * sysdep.h (getcwd): Use standard prototype.
15410 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15411 (sequence, start, end).
15412 Remove redundant type checking.
15413 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15414 view of `caller-protects') to avoid a crash where the real fix was
15417 2000-02-12 Martin Buchholz <martin@xemacs.org>
15419 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15421 * s/sol2.h: Remove feature macro initialization.
15423 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15424 (vector_hash): New. Code from internal_hash.
15426 Fix up allocation subsystem comments.
15428 * config.h.in: Add __EXTENSIONS__ for Solaris.
15430 * systime.h (EMACS_GETTIMEOFDAY): New.
15431 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15432 Remove Solaris-specific code.
15433 Use void* for the (ignored) second arg for gettimeofday().
15435 * elhash.c (hash_table_hash): Implement it, finally.
15436 * elhash.c: Use hashcode_t.
15438 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15439 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15441 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15442 * fns.c (size_bit_vector):
15443 * alloc.c (size_vector):
15444 (make_vector_internal):
15445 (make_bit_vector_internal):
15446 (sweep_bit_vectors_1):
15447 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15449 2000-02-10 Martin Buchholz <martin@xemacs.org>
15451 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15452 Include strings.h to avoid warnings for bzero and strcasecmp.
15454 2000-02-10 Olivier Galibert <galibert@pobox.com>
15456 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15457 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15459 * fns.c (size_bit_vector): New. Declare bit vectors as a
15462 2000-02-10 Olivier Galibert <galibert@pobox.com>
15464 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15465 use a value field instead.
15466 (symbol_value_forward_forward): Use value field.
15467 (DEFVAR_SYMVAL_FWD): Use value field.
15468 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15469 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15470 (DEFVAR_CONST_INT): Ditto.
15471 (DEFVAR_BOOL): Ditto.
15472 (DEFVAR_CONST_BOOL): Ditto.
15473 (DEFVAR_INT_MAGIC): Ditto.
15474 (DEFVAR_BOOL_MAGIC): Ditto.
15476 * symbols.c (guts_of_unbound_marker): Use value field.
15477 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15478 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15480 * lisp.h: Declare dumpopaque and noninteractive1.
15482 * alloc.c (dumpopaque): Added.
15483 (pdump_dump_opaquevec): Added.
15484 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15485 (pdump_load): Reload opaque data. Sync noninteractive1 with
15488 2000-02-10 Andy Piper <andy@xemacs.org>
15490 * glyphs.c (image_instance_layout): if the size changes, mark it
15493 * redisplay-output.c (redisplay_output_layout): Update the
15495 (redisplay_output_subwindow): ditto.
15497 * glyphs.c (update_subwindow): make sure we reset flags for
15498 layouts as well as everything else.
15500 * glyphs-widget.c (layout_layout): don't need to set the instances
15503 2000-02-09 Martin Buchholz <martin@xemacs.org>
15505 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15506 not HAVE_DLOPEN, which is a lower-level thing.
15508 * .cvsignore: Ignore gmon.out
15510 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15512 * .cvsignore: Ignore portable dumper xemacs.dmp file
15514 2000-02-09 Andy Piper <andy@xemacs.org>
15516 * redisplay-output.c (redisplay_output_layout): be more clever
15517 about when we output based on the changed flags.
15519 * glyphs.h (struct image_instantiator_methods): add update_method.
15520 (struct Lisp_Image_Instance): add changed flags. Declare new
15521 macros for manipulating them.
15523 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15524 (image_instance_parent_glyph): find an image_instance's parent
15525 glyph or image_instance.
15526 (image_instance_layout): mark the size as changed.
15527 (set_image_instance_dirty_p): new function. mark an image
15528 instance, plus all of its parents, as dirty.
15529 (Fset_image_instance_property): use it.
15530 (Fglyph_animated_timeout_handler): use it.
15531 (update_subwindow): call update_widget and device methods for
15532 update_subwindow. Mark all changed flags as clean.
15533 (Fresize_subwindow): mark size as changed.
15535 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15537 (x_update_subwindow): only resize subwindows here.
15538 (x_update_widget): new function. Update all changed properties of
15540 (x_resize_subwindow): deleted.
15541 (x_widget_set_property): deleted.
15542 (x_progress_gauge_set_property): deleted.
15543 (x_progress_gauge_update): new function. Implement recorded
15545 (x_tab_control_update): ditto.
15546 (x_tab_control_set_property): deleted.
15547 (console_type_create_glyphs_x): declare new functions.
15548 (image_instantiator_format_create_glyphs_x): ditto.
15550 * glyphs-widget.c (widget_set_property): mark text changed.
15551 (update_widget): new function. Update properties of a widget.
15552 (widget_instantiate): for layouts make sure we set their
15553 children's parent correctly.
15554 (tab_control_set_property): new function. Record changes that will
15555 take place under redisplay's control.
15556 (progress_gauge_set_property): ditto.
15557 (image_instantiator_progress_guage): declare new functions.
15558 (image_instantiator_tab_control): ditto.
15560 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15562 (mswindows_update_widget): new function. Update all properties on
15563 a widget that have changed.
15564 (mswindows_button_update): new function. Update a button's set
15566 (mswindows_tab_control_update): new function. Update the items in
15568 (mswindows_tab_control_set_property): deleted.
15569 (mswindows_progress_gauge_update): new function. Update the
15570 progress gauge's progress.
15571 (mswindows_widget_set_property): deleted. This is all done
15572 asynchronously now.
15573 (mswindows_progress_gauge_set_property): ditto.
15574 (console_type_create_glyphs_mswindows): declare new methods.
15575 (image_instantiator_format_create_glyphs_mswindows): ditto.
15577 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15578 (msprinter_set_frame_properties): ditto.
15580 * console.h (struct console_methods): Add update_widget_method.
15582 2000-02-09 Andy Piper <andy@xemacs.org>
15584 * gui-msw.c (Fmswindows_shell_execute): Make
15585 mswindows-shell-execute industrial strength.
15587 2000-02-08 Martin Buchholz <martin@xemacs.org>
15589 * lrecord.h: Make macro argument `props' match member function `plist'.
15592 * fns.c (Fremprop):
15593 * fns.c (Fobject_plist):
15596 Object property list frobbing cleanup.
15597 - Allow any lisp object (compared with `eq'), not just symbols, as
15598 keys in object plists.
15599 - Move symbol plist frobbing into symbols.c, where it belongs.
15600 - Move string plist frobbing into alloc.c, where it belongs.
15601 - Everything's an lrecord now, so no need to test for symbolp, etc.
15602 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15604 * extents.c: Reorder code to remove declarations.
15606 * frame.h (store_in_alist): Remove useless declaration.
15608 2000-02-07 Martin Buchholz <martin@xemacs.org>
15610 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15611 * config.h.in: Add HAVE_XCONVERTCASE.
15613 2000-02-07 Andy Piper <andy@xemacs.org>
15615 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15616 it breaks many things.
15618 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15620 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15621 actually can start a common comment type.
15622 * src/syntax.h (SYNTAX_END_P): ditto for end.
15624 2000-02-07 Martin Buchholz <martin@xemacs.org>
15626 * XEmacs 21.2.28 is released.
15628 2000-02-06 Martin Buchholz <martin@xemacs.org>
15630 * event-Xt.c (x_keysym_to_character): New.
15631 (maybe_define_x_key_as_self_inserting_character): New.
15632 (x_has_keysym): New.
15633 Auto-define all keys on the keyboard as self-insert-key.
15635 2000-02-02 Martin Buchholz <martin@xemacs.org>
15637 * menubar.c (vars_of_menubar): A small code simplification.
15639 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15642 * ExternalClient.c:
15643 * EmacsShell-sub.c:
15646 Use consistent style for specifying X resources.
15648 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15649 This makes (dontusethis-set-symbol-value-handler) actually usable.
15651 * lrecord.h (lrecord_decription_type):
15652 * alloc.c (pdump_register_sub):
15655 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15656 Comply with XEmacs coding style.
15657 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15658 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15660 * keymap.c (Faccessible_keymaps):
15661 Make (accessible-keymaps map "\C-h") do the Right Thing.
15662 Make (accessible-keymaps map []) do the Right Thing.
15663 Make (accessible-keymaps map "") do the Right Thing.
15664 (check_keymap_definition_loop): New function.
15665 (keymap_store_internal): Keep luser from shooting self in foot,
15666 via (define-key ctl-x-4-map "p" global-map).
15667 Remove fullness slot from struct Lisp_Keymap, since hash tables
15669 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15671 2000-01-30 Martin Buchholz <martin@xemacs.org>
15673 * redisplay.c (init_redisplay): Fix small memory leak.
15675 * elhash.c (pdump_reorganize_hash_table):
15676 Rename from reorganize_hash_table. Change prototype.
15677 Reuse the original memory for hentries. Save 100k.
15678 * alloc.c (PDUMP_READ): new macro.
15679 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15680 * alloc.c: No need to #ifndef before #undef.
15682 * print.c: Allow debug_print() to print readably by modifying
15683 debug_print_readably. Use consistent variable names.
15685 * .dbxrc: Try to get things to work even if stopped in a function
15686 without source available by explicitly specifying source files.
15687 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15689 * unexnt.c (_start): Removed bogus code which caused loading heap
15690 from differrent executable file.
15691 Removed bogus assignment to _fmode, which caused inconsistencies.
15693 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15695 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15696 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15697 Do not preliminary `#define signal sigset'.
15699 * systime.h: Do not prototype environ on windows nt and cygwin,
15700 this conflicts with system header.
15702 * syssignal.h: Use correct define for WINDOWSNT
15704 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15705 with system header.
15707 * sysdep.c (near start of file): Fixed commentary and rearranged
15708 ifdefs in readable order.
15709 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15712 (end_of_data): Do not compile in if using PDUMP.
15714 * symsinit.h: Prototyped vars_of_nt().
15716 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15717 (find_child_console): Use it.
15718 (sys_kill): Use it.
15720 * ntheap.h: Do not extern os_subtype.
15722 * ntheap.c (cache_system_info): Do not cache unneeded:
15723 nt_major_version, nt_minor_version and os_subtype.
15724 (recreate_heap): Do not compile in when PDUMPing.
15726 * nt.c (geteuid and friends): Use the new varibale
15727 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15728 (init_user_info): Removed the above mentioned hackery.
15729 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15730 stat has been fixed in the C runtime.
15731 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15733 * file-coding.c (struct file_coding_dump): Do not define
15734 ucs_to_mule_table in the struct if not MULE.
15735 (struct struct lrecord_description fcd_description_1): Do not dump
15738 * emacs.c (main_1): Call vars_of_nt().
15739 (right before Fdump_emacs_data): Don't need lastfile if using both
15740 portabe dumper and system malloc.
15742 * alloc.c (Fmemory_limit): Conditionalized out.
15743 (pdump): Use OPEN_BINARY for the portable dump file.
15744 (pdump_load): Ditto.
15746 2000-02-02 Mike Alexander <mta@arbortext.com>
15748 * nt.c (convert_time): Set tm_isdst before calling mktime and
15749 avoid calling it at all if the compiler supports 64 bit integers.
15750 Also initialize utc_base_ft before using it.
15752 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15754 * frame.c (change_frame_size_1): Take f->internal_border_width
15755 into consideration when calculating the width of the frame.
15757 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15759 * window.c (frame_min_height):
15760 (frame_size_valid_p):
15761 (frame_pixsize_valid_p): Added.
15762 (check_frame_size): Generalized.
15764 * window.h: Prototyped the above.
15767 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15768 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15769 Deleted Vwin32_* and Vbinary_process_* unused variables.
15771 * device-msw.c (msprinter_init_device): Do not get printer font
15772 list; Added DEVMODE functions.
15774 * frame-msw.c: Added lots of printer code.
15776 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15779 * console-msw.h: Added more msprinter device private slots.
15781 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15783 * event-msw.c (key_needs_default_processing_p): Added.
15784 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15786 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15788 * glyphs.c (image_instance_layout): Mark image instance as clean
15790 (glyph_dirty_p): Removed redundant function.
15791 (invalidate_glyph_geometry_maybe): Added.
15792 (update_glyph_cachel_data): Call it.
15794 * glyphs.h: Prototyped it.
15796 * redisplay.c (add_glyph_rune): Call it.
15797 (redisplay_window): Reset glyphs cachels when frame faces have
15798 changed, thus forcing recomputation of built-in border glyphs.
15800 2000-01-30 Martin Buchholz <martin@xemacs.org>
15802 * Makefile.in.in: Make portable dumper and purify play well together.
15803 Add imperfect, but better than nothing, support for pdump.
15804 Remove xemacs.dmp when temacs is re-generated.
15805 Don't ignore errors when dumping xemacs.
15807 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15809 2000-01-28 Andy Piper <andy@xemacs.org>
15811 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15812 (setup_normal_frame): ditto.
15813 (setup_frame_without_minibuffer): ditto.
15814 (setup_minibuffer_frame): ditto.
15815 (delete_frame_internal): ditto.
15816 (Fmake_frame_invisible): ditto.
15817 (Ficonify_frame): ditto.
15819 * window.h: change Fset_window_buffer signature.
15821 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15822 (Fset_window_buffer): allow recording of buffer if the window is
15823 the selected window.
15824 (window_loop): Use new Fset_window signature.
15826 2000-01-23 Daniel Pittman <daniel@danann.net>
15828 * config.h.in: Added template for `HAVE_ATHENA_3D'
15830 2000-01-29 Andy Piper <andy@xemacs.org>
15832 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15834 * gutter.c (output_gutter): Don't output if the window isn't live.
15836 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15838 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15839 of 01/12/00: Moved SetFocus back here where it belongs.
15841 2000-01-23 Andy Piper <andy@xemacs.org>
15843 * s/cygwin32.h: declare printer things.
15845 2000-01-26 Andy Piper <andy@xemacs.org>
15847 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15850 2000-01-24 Andy Piper <andy@xemacs.org>
15852 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15853 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15855 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15857 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15859 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15861 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15862 (mswindows_output_display_block): Avoid local shadows.
15864 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15865 (mswindows_enqueue_mouse_button_event): ditto.
15866 (mswindows_handle_gui_wm_command): remove declaration.
15868 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15871 * console-msw.h: Avoid shadows.
15872 (mswindows_get_toolbar_button_text):
15873 (emacs_mswindows_create_stream_pair):
15874 (emacs_mswindows_delete_stream_pair):
15875 (mswindows_handle_toolbar_wm_command): declare.
15877 * device-msw.c (build_syscolor_string): Avoid shadows.
15879 2000-01-23 Andy Piper <andy@xemacs.org>
15881 * glyphs-widget.c (widget_instantiate): reverse the items for
15882 layouts so that children are in the expected order.
15884 2000-01-28 Martin Buchholz <martin@xemacs.org>
15886 * ralloc.c: safe_bcopy ==> memmove
15887 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15888 * s/msdos.h: Remove BCOPY macros.
15889 * insdel.c (gap_right): Remove BCOPY conditional code.
15890 * insdel.c (gap_left): Remove BCOPY conditional code.
15891 XEmacs demands a working ANSI C compiler - hence memmove.
15893 * regex.c (regex_compile): Remove accidental use of trigraphs.
15895 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15897 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15900 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15902 * event-msw.c (mswindows_drain_windows_queue): Added the
15904 (mswindows_need_event): Commented the call to
15905 mswindows_drain_windows_queue().
15906 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15909 * console-msw.h: Moved a few function prototypes here from
15912 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15913 parameter from unsigned short to unsigned long.
15914 (Fmswindows_shell_execute): Added return value.
15916 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15918 * sysdep.c (init_system_name):
15919 process-unix.c (unix_canonicalized_host_name):
15920 Don't call freeaddrinfo() if getaddrinfo() fails.
15922 * process-unix.c (unix_open_unix_network_stream):
15923 Moved the code to get a port # into address loop.
15925 2000-01-27 Martin Buchholz <martin@xemacs.org>
15927 * buffer.c (reinit_vars_of_buffer):
15928 The right place to initialize conversion_in_dynarr and
15929 conversion_out_dynarr.
15931 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15933 * process-unix.c (unix_canonicalize_host_name): Muleize.
15934 (unix_open_network_stream): Muleize.
15936 * buffer.h: Fix up prototypes for ralloc.c functions.
15938 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15939 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15940 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15941 instead of gethostbyname()
15942 * process-unix.c: In unix_canonicalize_host_name() and
15943 unix_open_network_stream(), add code to use getaddrinfo()
15944 instead of gethostbyname().
15946 2000-01-27 Daniel Pittman <daniel@danann.net>
15948 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15949 libs when built with flat Athena.
15951 2000-01-27 Martin Buchholz <martin@xemacs.org>
15953 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15954 Use coding standards for function prototypes.
15956 2000-01-25 Martin Buchholz <martin@xemacs.org>
15958 * dialog-msw.c (push_lisp_string_as_unicode):
15959 * doc.c (unparesseuxify_doc_string):
15960 * dired.c (Fuser_name_completion_1):
15961 * dired.c (Fuser_name_all_completions):
15962 * dired.c (free_user_cache):
15963 * dired.c (user_name_completion):
15964 * console-x.c (get_display_arg_connection):
15965 * minibuf.c (clear_echo_area_internal):
15966 * minibuf.c (echo_area_append):
15967 * eldap.c (Fldap_open):
15968 * eldap.c (Fldap_search_internal):
15969 * frame-x.c (x_set_frame_text_value):
15970 * frame-x.c (x_set_frame_properties):
15971 * frame-x.c (x_create_widgets):
15972 * redisplay-tty.c (term_get_fkeys_1):
15973 * objects-x.c (x_parse_nearest_color):
15974 * objects-x.c (x_valid_color_name_p):
15975 * objects-x.c (x_initialize_font_instance):
15976 * objects-x.c (x_list_fonts):
15977 * objects-x.c (x_find_charset_font):
15978 * tooltalk.c (Fadd_tooltalk_message_arg):
15979 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15980 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15981 * process-unix.c (unix_create_process):
15982 * ntproc.c (sys_spawnve):
15983 * sound.c (Fplay_sound_file):
15984 * sound.c (Fplay_sound):
15985 * buffer.c (init_initial_directory):
15986 * buffer.c (init_buffer):
15987 * editfns.c (init_editfns):
15988 * editfns.c (Ftemp_directory):
15989 * editfns.c (Fuser_full_name):
15990 * editfns.c (uncache_home_directory):
15991 * editfns.c (get_home_directory):
15992 * editfns.c (Fuser_home_directory):
15993 * editfns.c (Fformat_time_string):
15994 * editfns.c (Fcurrent_time_string):
15995 * gui-x.c (button_item_to_widget_value):
15996 * database.c (Fopen_database):
15997 * event-Xt.c (x_to_emacs_keysym):
15998 * event-Xt.c (x_event_to_emacs_event):
15999 * event-Xt.c (describe_event_window):
16000 * event-msw.c (mswindows_wnd_proc):
16001 * glyphs-eimage.c (jpeg_instantiate):
16002 * glyphs-eimage.c (gif_instantiate):
16003 * glyphs-eimage.c (png_instantiate):
16004 * glyphs-eimage.c (tiff_instantiate):
16005 * glyphs-x.c (xbm_instantiate_1):
16006 * glyphs-x.c (x_xbm_instantiate):
16007 * glyphs-x.c (x_xface_instantiate):
16008 * glyphs-x.c (autodetect_instantiate):
16009 * glyphs-x.c (cursor_font_instantiate):
16010 * glyphs-x.c (x_widget_instantiate):
16011 * glyphs-x.c (x_widget_set_property):
16012 * glyphs-x.c (x_widget_property):
16013 * glyphs-x.c (BUILD_GLYPH_INST):
16014 * print.c (write_string_to_stdio_stream):
16015 * print.c (output_string):
16016 * print.c (Falternate_debugging_output):
16017 * print.c (Fexternal_debugging_output):
16018 * glyphs-msw.c (extract_xpm_color_names):
16019 * glyphs-msw.c (mswindows_xpm_instantiate):
16020 * glyphs-msw.c (bmp_instantiate):
16021 * glyphs-msw.c (resource_name_to_resource):
16022 * glyphs-msw.c (mswindows_resource_instantiate):
16023 * glyphs-msw.c (xbm_instantiate_1):
16024 * glyphs-msw.c (mswindows_xbm_instantiate):
16025 * glyphs-msw.c (mswindows_xface_instantiate):
16026 * glyphs-msw.c (mswindows_widget_instantiate):
16027 * glyphs-msw.c (add_tree_item):
16028 * glyphs-msw.c (add_tab_item):
16029 * glyphs-msw.c (mswindows_combo_box_instantiate):
16030 * glyphs-msw.c (mswindows_widget_property):
16031 * glyphs-msw.c (mswindows_combo_box_property):
16032 * glyphs-msw.c (mswindows_widget_set_property):
16033 * console.c (stuff_buffered_input):
16034 * objects-msw.c (mswindows_initialize_color_instance):
16035 * objects-msw.c (mswindows_valid_color_name_p):
16036 * objects-msw.c (mswindows_list_fonts):
16037 * objects-msw.c (mswindows_font_instance_truename):
16038 * bytecode.c (optimize_compiled_function):
16039 * select-x.c (symbol_to_x_atom):
16040 * select-x.c (x_atom_to_symbol):
16041 * select-x.c (hack_motif_clipboard_selection):
16042 * select-x.c (selection_data_to_lisp_data):
16043 * select-x.c (lisp_data_to_selection_data):
16044 * select-x.c (Fx_get_cutbuffer_internal):
16045 * select-x.c (Fx_store_cutbuffer_internal):
16046 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16047 * buffer.h (TO_INTERNAL_FORMAT): New function.
16048 * emacs.c (make_arg_list_1):
16049 * emacs.c (make_argc_argv):
16050 * emacs.c (main_1):
16051 * emacs.c (Fdump_emacs):
16052 * emacs.c (split_string_by_emchar_1):
16057 * device-x.c (x_init_device):
16058 * device-x.c (Fx_valid_keysym_name_p):
16059 * device-x.c (Fx_get_font_path):
16060 * device-x.c (Fx_set_font_path):
16061 * glyphs.c (bitmap_to_lisp_data):
16062 * glyphs.c (pixmap_to_lisp_data):
16063 * alloc.c (make_ext_string): Use coding system arguments. Update
16065 * alloc.c (build_string):
16066 * callproc.c (child_setup):
16067 * callproc.c (init_callproc):
16068 * fileio.c (lisp_strerror):
16069 * fileio.c (directory_file_name):
16070 * fileio.c (Fexpand_file_name):
16071 * fileio.c (Ffile_truename):
16072 * fileio.c (Fsysnetunam):
16073 * fileio.c (Fdo_auto_save):
16074 * sysdep.c (sys_readdir):
16075 * tests.c: New file. Allow adding C tests.
16076 Replace GET_* macros with a more comprehensible and flexible
16077 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16079 Any coding system can be used to do format conversion.
16080 Eliminate enum external_data_format.
16081 Eliminate convert_to_external_format.
16082 Eliminate convert_to_internal_format.
16083 Make sure file-name, keyboard, terminal, and ctext are always
16084 defined as coding systems or aliases. Make
16085 file-name-coding-system, terminal-coding-system, and
16086 keyboard-coding-system magical variables that are equivalent to
16087 defining the corresponding coding system aliases.
16089 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16090 * file-coding.c (Fcoding_system_alias_p): New function.
16091 * file-coding.c (Fcoding_system_aliasee): New function.
16092 * file-coding.c (append_suffix_to_symbol): New function.
16093 * file-coding.c (dangling_coding_system_alias_p): New function.
16094 * file-coding.c (Ffind_coding_system):
16095 * file-coding.c (Fcopy_coding_system):
16096 * file-coding.c (encode_coding_no_conversion):
16097 * file-coding.c (syms_of_file_coding):
16098 * file-coding.c (vars_of_file_coding):
16099 Rewrite coding system alias code.
16100 Allow nested aliases, like symbolic links.
16101 Allow redefinition of coding system aliases.
16102 Prevent existence of dangling coding system aliases.
16104 * dired.c (Fuser_name_completion_1):
16105 * dired.c (Fuser_name_all_completions):
16106 A crash would happen if user did QUIT in the middle of building
16107 user_name_cache. Remove redundant code in mainline and unwind_protect.
16110 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16112 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16113 an unsigned char *. Update all callers.
16115 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16117 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16119 2000-01-25 Martin Buchholz <martin@xemacs.org>
16121 * elhash.c (hentry_description): Use more portable definition.
16122 (resize_hash_table): Initialize new hentries using
16123 xnew_array_and_zero, thereby simplifying the code.
16125 * mule-charset.c (make_charset): Make sure entire object is
16126 initialized, to avoid Purify warnings.
16128 * alloc.c (resize_string): Fix unlikely crash with big strings.
16130 2000-01-24 Martin Buchholz <martin@xemacs.org>
16132 * realpath.c (xrealpath):
16133 Don't call getwd().
16135 2000-01-25 Martin Buchholz <martin@xemacs.org>
16137 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16139 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16141 * unexelfsgi.c (unexec): Change the way we decide which segment
16142 should be extended.
16144 Assumption that .bss section should be outside the PT_LOADable
16145 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16146 it's present) is inside the 'data' segment. This would fail the
16147 test which was used to find a segment to grow and cover new
16148 heap. Instead of this assumption, I created another one - on IRIX
16149 the segment to grow should start below .bss and it's address
16150 should extent above the end of .bss. Once this segment is
16151 identified, it's grown to accommodate the new heap and new
16152 zero-length .bss section is added at the end of .data2.
16154 2000-01-25 Martin Buchholz <martin@xemacs.org>
16156 * eval.c (Feval): Wrong number of arguments should use original
16157 function, not the indirect_function version of it.
16159 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16161 * glyphs-x.c (x_button_instantiate): Don't add image if
16162 it is not a pixmap.
16163 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16166 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16168 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16170 (DEFVAR_INT_MAGIC): Ditto.
16171 (DEFVAR_BOOL_MAGIC): Ditto.
16172 * glyphs.h: Reindent backslash.
16174 2000-01-24 Martin Buchholz <martin@xemacs.org>
16176 * glyphs-widget.c (layout_query_geometry):
16177 (layout_layout): Use correct types for gheight, gwidth.
16179 2000-01-24 Martin Buchholz <martin@xemacs.org>
16181 * EmacsManager.c (QueryGeometry): Purified.
16183 2000-01-23 Martin Buchholz <martin@xemacs.org>
16185 * alloc.c (make_float): Make sure entire object is initialized, to
16186 avoid Purify warnings.
16187 (pdump_register_sub): Remove useless assignment.
16188 (pdump): Use xmalloc, not malloc.
16189 (pdump_load): Use xmalloc, not malloc.
16191 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16198 * sysdep.c: Removed redundant #include <windows.h>
16200 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16202 * frame.c (delete_frame_internal): Do not delete device when its
16203 implementation so declares.
16204 (delete_frame_internal): Set device selected frame to nil when
16205 last frame goes away.
16207 * device-msw.c (msprinter_device_system_metrics): Implemented.
16208 (mswindows_device_system_metrics): Added 'device-dpi property.
16210 * device.c: (Fdevice_printer_p): Added.
16211 Added 'offset-workspace device metric.
16213 * console.h (device_metrics): Declared DM_offset_workspace.
16215 2000-01-23 Martin Buchholz <martin@xemacs.org>
16217 * fileio.c (Ffile_truename): Remove pointless and confusing
16218 initialization of elen.
16220 * glyphs-widget.c: Compiler warning fixes.
16222 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16224 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16225 instead of a Lisp_Object as argument to make it consistent with
16226 the other LIVE_P macros.
16227 (CHECK_LIVE_PROCESS): New macro.
16229 * process.c: Declare Qprocess_live_p.
16230 (Fprocess_live_p): New function.
16231 (create_process): Use PROCESS_LIVE_P.
16232 (read_process_output): Ditto.
16233 (set_process_filter): Ditto.
16234 (Fdelete_process): Ditto.
16235 (kill_buffer_processes): Ditto
16236 (process_send_signal): Use CHECK_LIVE_PROCESS.
16237 (Fprocess_input_coding_system): Check whether process is still
16238 alive (fix PR#1061).
16239 (Fprocess_output_coding_system): Ditto.
16240 (Fprocess_coding_system): Ditto.
16241 (Fset_process_input_coding_system): Ditto.
16242 (Fset_process_output_coding_system): Ditto.
16244 2000-01-23 Andy Piper <andy@xemacs.org>
16246 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16249 * glyphs.c (mark_image_instance): take into account changed
16250 image_instance format.
16251 (image_instance_equal): ditto.
16252 (image_instance_hash): ditto.
16254 * glyphs-widget.c (widget_instantiate): Incorporate layout
16255 instantiation here. Delay layout of the layout until later.
16256 (layout_instantiate): deleted.
16257 (layout_query_geometry): new function. get the geometry of a
16259 (layout_layout): layout a layout dynamically.
16260 (image_instantiator_widget): New function - splitting up
16261 image_instantiator_format_create_glyphs_widget for netwinder
16263 (image_instantiator_buttons):
16264 (image_instantiator_edit_fields):
16265 (image_instantiator_combo_box):
16266 (image_instantiator_scrollbar):
16267 (image_instantiator_progress_guage):
16268 (image_instantiator_tree_view):
16269 (image_instantiator_tab_control):
16270 (image_instantiator_labels):
16271 (image_instantiator_layout): ditto.
16272 (image_instantiator_format_create_glyphs_widget): Call preceding
16275 2000-01-22 Martin Buchholz <martin@xemacs.org>
16277 * process.c (Fset_process_coding_system):
16278 * device-x.c (Fx_keysym_hash_table):
16281 * lstream.c (Lstream_write): Return documented value, not 0.
16283 * fileio.c (directory_file_name):
16284 (Fsubstitute_in_file_name):
16285 (Fsubstitute_insert_file_contents_internal):
16286 (Fwrite_region_internal):
16291 Remove vestigial APOLLO-conditional code.
16293 2000-01-21 Martin Buchholz <martin@xemacs.org>
16295 * getpagesize.h: Add guard macros.
16296 * libsst.h: Add guard macros.
16297 * libst.h: Add guard macros.
16298 * line-number.h: Add guard macros.
16299 * ndir.h: Add guard macros.
16300 * sysfloat.h: Add guard macros.
16301 * sysfile.h: Add guard macros.
16302 * sysproc.h: Add guard macros.
16303 * syswait.h: Add guard macros.
16304 * xintrinsic.h: Add guard macros.
16305 * xintrinsicp.h: Add guard macros.
16306 * xmmanager.h: Add guard macros.
16307 * xmmanagerp.h: Add guard macros.
16308 * xmprimitive.h: Add guard macros.
16309 * xmu.h: Add guard macros.
16310 * gpmevent.h: Add copyright statement. Add guard macros.
16311 * miscplay.h: Add guard macros.
16312 * *.h: Use consistent C-standards-approved guard macro names.
16314 * opaque.c (make_opaque): Switch parameter order.
16315 * opaque.h (make_opaque): Switch parameter order.
16316 Update all callers.
16317 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16319 * config.h.in (type_checking_assert): Added.
16320 (bufpos_checking_assert): Added.
16322 2000-01-21 Martin Buchholz <martin@xemacs.org>
16324 * alloc.c: Harmless pdump changes.
16326 - spell alignment correctly.
16327 * sysdep.c: Use countof()
16329 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16331 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16332 initially_selected_for_input() console method, default to 0.
16333 (semi_canonicalize_console_connection): Try to delegate to
16334 canonicalize_console_connection if no such console method.
16335 (canonicalize_console_connection): Vice versa.
16336 (print_console): Do not print nil connection.
16338 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16339 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16340 (XDEVIMPF_FRAMELESS_OK): Added.
16341 (CONSOLE_INHERITS_METHOD): Added.
16343 * console-msw.c (mswindows_canonicalize_console_connection):
16345 (mswindows_canonicalize_device_connection): Added.
16347 * console-msw.h (struct msprinter_device): Added this struct and
16349 (mswindows_device): Made fontlist a lisp object.
16351 * device.c (semi_canonicalize_device_connection): Try to delegate
16352 to canonicalize_device_connection if no such console method.
16353 (canonicalize_device_connection): Vice versa.
16354 (print_device): Do not print nil connection.
16356 * device-msw.c (mswindows_init_device): Call InitCommonControls
16358 (mswindows_delete_device): Removed fontlist deallocation.
16359 (mswindows_mark_device): Added.
16361 * events.c (event_equal): Added abort() at unreached code.
16362 (event_hash): Ditto.
16364 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16365 fallback tags of Windows devices.
16367 * general.c (syms_of_general): Initialized Qmsprinter.
16369 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16370 of fallback tags of Windows devices.
16372 * lisp.h: Declared Qmsprinter.
16374 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16376 (mswindows_list_fonts): Ditto.
16377 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16378 that it can be used by both mswindows and msprinter devices.
16379 (initialize_font_instance): Added.
16380 (mswindows_initialize_font_instance): Use it.
16381 (msprinter_initialize_font_instance): Added.
16383 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16384 and implementation flags check.
16385 (redisplay_without_hooks): Changed the call to the above.
16386 (Fredraw_device): Ditto.
16387 (Fredisplay_device): Ditto.
16389 * redisplay-msw.c (get_frame_dc): Implemented.
16390 (get_frame_compdc): Implemented.
16391 (many functions): Use the two functions above to get device
16392 contexts, ether for a window or a printer.
16394 2000-01-21 Olivier Galibert <galibert@pobox.com>
16396 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16397 initialization here.
16398 (init_symbols_once_early): Call it.
16399 * emacs.c (main_1): Call it.
16400 * symsinit.h: Declare it.
16402 2000-01-19 Olivier Galibert <galibert@pobox.com>
16404 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16406 (pdump_backtrace): Ditto.
16407 (pdump_register_object): Ditto. Cleanup use of the pointers.
16408 (pdump_get_entry): Abort if trying to register a null pointer.
16409 (pdump_dump_data): Cleanup types when relocating.
16410 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16411 (pdump_dump_rtables): Remove bad casts.
16412 (pdump_load): Cleanup relocation w.r.t union type. Use a
16413 Lisp_Object instead of a EMACS_INT for the hashtable
16416 2000-01-20 Martin Buchholz <martin@xemacs.org>
16418 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16420 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16422 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16424 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16426 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16428 * faces.h (FACE_STRIKETHRU_P): Added.
16430 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16433 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16434 (mswindows_set_dc_font): New function, aware of font variants,
16435 separated from mswindows_update_dc.
16437 * objects-msw.h (struct mswindows_font_instance_data): Added
16440 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16441 cached fonts and the data structure.
16442 (mswindows_initialize_font_instance): Added creation of font data
16444 (mswindows_print_font_instance): Print at least something.
16445 (mswindows_create_font_variant): Implemented.
16446 (mswindows_get_hfont): Implemented.
16448 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16450 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16451 prototyping problem with msvc.
16453 * emacs.c (main_1): added syms_of_gui_mswindows() call
16455 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16456 syms_of_gui_mswindows() function
16458 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16460 2000-01-18 Martin Buchholz <martin@xemacs.org>
16462 * XEmacs 21.2.27 is released.
16464 2000-01-18 Martin Buchholz <martin@xemacs.org>
16466 * glyphs-eimage.c (struct tiff_error_struct):
16468 (tiff_warning_func):
16469 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16474 * unexec.c: Remove vestigial Lucid C code.
16478 * libsst.c: Ansify.
16479 Remove declarations of errno and strerror().
16481 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16483 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16485 2000-01-16 Martin Buchholz <martin@xemacs.org>
16487 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16490 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16495 Change enum eol_type to eol_type_t.
16497 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16499 * gui.c (get_gui_callback): Check cons before accessing car.
16501 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16503 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16504 (XSETSPECIFIER_TYPE): Ditto.
16506 2000-01-17 Didier Verna <didier@xemacs.org>
16508 * redisplay.c (generate_fstring_runes): compute string size in
16509 characters, not bytes.
16511 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16513 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16515 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16517 * print.c (print_error_message): Call print_prepare().
16519 2000-01-14 Martin Buchholz <martin@xemacs.org>
16521 * .dbxrc: Renamed from dbxrc.
16523 * events.c (event_to_character):
16524 Use `assert (foo)' instead of `if (!foo) abort()'
16526 * .gdbinit (xtype): Add documentation.
16527 * .gdbinit (check-temacs): New function.
16528 * .gdbinit (check-xemacs): New function.
16529 * dbxrc (check-xemacs): New function.
16530 * dbxrc (check-xemacs): New function.
16532 2000-01-14 Andy Piper <andy@xemacs.org>
16534 * glyphs-widget.c (widget_query_geometry): Make sure that we
16535 calculate default dimensions correctly.
16537 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16539 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16541 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16542 pdump_wire'd variable.
16544 * emacs.c: (main_1): Conditionalized calls to
16545 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16547 2000-01-13 Martin Buchholz <martin@xemacs.org>
16549 * window.c (Fset_window_configuration):
16550 * sysdep.c (_start):
16551 * input-method-motif.c (res):
16552 * event-Xt.c (Xt_process_to_emacs_event):
16553 Simple compiler warning fixes.
16555 * bytecode.c (funcall_compiled_function): Use the original
16556 function symbol on the backtrace list in preference to the
16557 compiled_function object in error messages.
16559 2000-01-13 Andy Piper <andy@xemacs.org>
16561 * glyphs-x.c (update_widget_face): Make sure we update the widget
16562 background as well as foreground.
16564 2000-01-13 Andy Piper <andy@xemacs.org>
16566 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16567 fields to subwindow.
16568 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16569 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16570 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16571 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16573 * glyphs-widget.c (check_valid_tab_orientation): new function.
16574 (initialize_widget_image_instance): zero orientation and
16576 (widget_instantiate): pick up orientation.
16577 (tab_control_query_geometry): return appropriate values for
16580 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16581 appropriate creation flags for left, right and bottom tabs.
16583 * s/cygwin32.h: add tab definitions.
16585 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16587 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16588 frame upon hiding a subwindow.
16589 (mswindows_button_instantiate): Changed the push button style to
16591 (mswindows_button_instantiate): Removed button BS_NOTIFY
16593 (mswindows_button_instantiate): Removed redundant check for
16594 a disabled gui item.
16595 (mswindows_button_instantiate): Made use of WS_TABSTOP
16596 consistent: "operable" controls (edit, button, tree, scroll) have
16597 this style, "display-only" ones (static, progress gauge) do
16598 not. This style is currently ignored by XEmacs though. Also,
16599 removed the WS_EX_CONTROLPARENT style - it is not for children,
16600 it is for their parents!
16601 (mswindows_edit_field_instantiate): Ditto.
16602 (mswindows_progress_gauge_instantiate): Ditto.
16603 (mswindows_tree_view_instantiate): Ditto.
16604 (mswindows_tab_control_instantiate): Ditto.
16605 (mswindows_scrollbar_instantiate): Ditto.
16606 (mswindows_combo_box_instantiate): Ditto.
16607 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16608 style to the "clip" window.
16609 (mswindows_button_instantiate): Removed compilation warning by
16610 equally typing terms of the ?: operator.
16612 2000-01-12 Didier Verna <didier@xemacs.org>
16614 * redisplay.c (generate_fstring_runes): new parameter holding the
16615 last modeline-format extent.
16616 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16617 extent, fill the glyph block with it.
16618 (generate_fstring_runes): handle these parameters.
16619 (generate_formatted_string_db): ditto.
16621 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16622 glyphs'extents in the modeline.
16624 1999-01-11 Mike Woolley <mike@bulsara.com>
16626 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16627 256Mb, as a workaround for the non-starting problem many people
16630 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16632 * console-tty.c (Fset_console_tty_output_coding_system):
16633 Force redrawing tty frame.
16635 2000-01-10 Didier Verna <didier@xemacs.org>
16637 * redisplay.c (generate_fstring_runes): fix size computation bug.
16639 2000-01-09 William M. Perry <wmperry@aventail.com>
16641 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16643 2000-01-09 Andy Piper <andy@xemacs.org>
16645 * glyphs-msw.c: index -> i to avoid shadows.
16646 (xbm_create_bitmap_from_data): make static.
16647 (check_valid_string_or_int): deleted.
16648 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16650 * glyphs-x.c (x_update_subwindow): remove unused args.
16652 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16653 back pointer - this is done in allocate_image_instance.
16654 (query_string_font): return Qnil to make the compiler happy.
16655 (unmap_subwindow): set to ~0 to make the compiler happy.
16656 (glyph_query_geometry): comment out until used.
16657 (glyph_layout): ditto.
16659 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16661 * insdel.c (signal_after_change): Remove extraneous unbind_to().