1 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Fput_char_attribute): Convert char-specs in value of
4 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
5 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
6 for `{<-|->}Oracle-Bones[^*]*'.
8 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
10 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
13 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 * text-coding.c (Qccs_priority_list): New variable in XEmacs
17 (Fmake_coding_system): Support new property `ccs-priority-list' in
19 (Fcoding_system_property): Likewise.
20 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
21 Vdefault_coded_charset_priority_list in XEmacs CHISE.
22 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
24 (complex_vars_of_file_coding): Define new coding-system-property
25 `ccs-priority-list' in XEmacs CHISE.
27 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
29 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
31 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
32 changed to normal function.
33 (encode_char_2): Likewise.
35 * mule-charset.c (decoding_table_put_char): Copied from
36 char-ucs.h; changed to normal function.
37 (encode_char_2): Likewise.
39 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
43 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
44 (encode_char_2_search_children): New inline function.
45 (encode_char_2): Refer
46 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
47 and use `encode_char_2_search_children'.
49 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
53 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
54 (vars_of_mule_charset): Add new variable
55 `display-coded-charset-priority-use-inheritance' and
56 `display-coded-charset-priority-use-hierarchy-order'.
58 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
60 * char-ucs.h (Q_subsumptive): New extern.
61 (Q_denotational): Likewise.
62 (encode_char_2): Search children specified by `->subsumptive' and
65 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * mule-charset.c (complex_vars_of_mule_charset): Modify the
68 X-registry of `ucs-bmp'.
70 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * chartab.c (char-variants): Refer `->subsumptive',
73 `->denotational' and `->identical' as same as `->ucs-unified'.
75 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * chartab.c (Fput_char_attribute): Convert char-specs in value of
78 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
81 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * text-coding.c: Add EXFUN for `Fregexp_quote'.
84 (decode_add_er_char): Fix problem about infinite loop when a CCS
85 specified in `coded-charset-entity-reference-alist' is not
88 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
90 * mule-charset.c (syms_of_mule_charset): Rename
91 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
93 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * fns.c (simplify_char_spec): Don't allocate new character-object
96 if specified char_spec does not have any CCS-features.
98 * chartab.h: Add EXFUN for Fdefine_char.
100 * chartab.c: Delete EXFUN for Fdefine_char.
102 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
104 * fns.c (simplify_char_spec): Use Fdefine_char instead of
105 Ffind_char for char-spec.
107 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 * lisp-disunion.h (XCHARVAL): Fix condition about
112 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
114 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
116 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
117 point; use <Emchar> instead of <int> for character-id.
119 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
122 (make_char): Likewise.
123 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
125 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
126 instead of <int> as the type of return value; use <Lisp_Object>
127 instead of <Emchar> as the type of argument.
128 (XCHARVAL[macro version]): Cast the result into <Emchar>.
130 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
131 syntaxcode> instead of <int>.
133 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * chartab.c (put_char_composition): Use DECODE_CHAR to get
136 character corresponding with UCS code point.
137 (Fput_char_attribute): Likewise.
139 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
140 character in the UCS decoding-table if the char-id is not equal to
143 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
146 for aliases; write `description'; write
147 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
150 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * chartab.c (Fsave_char_attribute_table): Don't use
153 `save_charset_properties'.
155 * mule-charset.c (Fsave_charset_properties): Renamed from
156 `save_charset_properties' and changed to Lisp function again;
157 write property `type' as `CCS'; write properties `final-byte' and
158 `mother' if they exists.
159 (syms_of_mule_charset): Revive builtin function
160 `save-charset-properties' when HAVE_LIBCHISE is defined.
162 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
164 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
165 instead of Vexec_directory.
166 (char_attribute_system_db_file): Likewise.
168 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
170 * chartab.c (Fsave_char_attribute_table): Use
171 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
174 * mule-charset.c (save_charset_properties): Renamed from
175 `Fsave_charset_properties'; changed to non-Lisp function.
176 (syms_of_mule_charset): Abolish builtin function
177 `save-charset-properties'.
179 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
181 * mule-charset.c (Fsave_charset_properties): New function when
182 HAVE_LIBCHISE is defined.
183 (syms_of_mule_charset): Add new builtin function
184 `save-charset-properties' when HAVE_LIBCHISE is defined.
186 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * chartab.c (Fput_char_attribute): Convert char-specs in value of
189 `{<-|->}ancient[^*]*' to characters and put reverse links.
190 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
191 for `{<-|->}ancient[^*]*'.
193 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
195 * chartab.c (Fput_char_attribute): Convert char-specs in value of
196 `{<-|->}original[^*]*' to characters and put reverse links.
197 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
198 for `{<-|->}original[^*]*'.
200 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
204 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
206 * mule-charset.c (Qsystem_char_id): New variable.
208 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
209 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
211 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
213 * chartab.c (Fput_char_attribute): When processing a reference of
214 a character, put into the end of the reversed reference of each
217 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
219 * chartab.c (Q_same): Deleted.
220 (Q_same_of): Deleted.
221 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
222 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
224 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
226 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * chartab.c (Q_vulgar): Deleted.
229 (Q_vulgar_of): Deleted.
230 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
231 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
233 (syms_of_chartab): Don't define `{<-|->}vulgar'.
235 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
237 * chartab.c (Fput_char_attribute): Convert char-specs in value of
238 `{<-|->}wrong[^*]*' to characters and put reverse links.
239 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
240 for `{<-|->}wrong[^*]*'.
242 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
244 * chartab.c (Q_vulgar): New variable.
245 (Q_vulgar_of): New variable.
246 (Fput_char_attribute): Convert char-specs in value of
247 `{->|<-}vulgar' to characters and put reverse links.
248 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
250 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
252 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
254 * text-coding.c (decode_add_er_char): Must to quote prefix string
257 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * mule-charset.c (put_char_ccs_code_point): Store characters of
260 =ucs whose code_points >= 0xF0000.
262 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
266 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
268 (complex_vars_of_mule_charset): Add new coded-charset
269 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
270 builtin characters over 0xEFFFF.
272 * chartab.c (syms_of_chartab): Don't define symbol
273 `system-char-id' in every case.
275 * char-ucs.h (Qsystem_char_id): New extern variable.
276 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
278 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
280 * text-coding.c (char_encode_utf8): Try to use entity-references
281 for U-000F0000 ... U-0010FFFF.
283 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * text-coding.c (ER_BUF_SIZE): New macro.
286 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
288 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
289 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
291 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
293 * chartab.c (find_char_feature_in_family): New function.
294 (Fchar_feature): Use `find_char_feature_in_family' with
295 `->identical', `<-subsumptive' and `<-denotational'.
297 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
299 * text-coding.c (char_encode_as_entity_reference): Allow prefix
300 within 8 characters; fix infinite loop.
302 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * chartab.c (Q_same): New variable.
305 (Q_same_of): New variable.
306 (Fput_char_attribute): Convert char-specs in value of
307 `{->|<-}same' to characters and put reverse links.
308 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
310 (syms_of_chartab): Add new symbols `{->|<-}same'.
312 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
314 * chartab.c (Q_component): New variable.
315 (Q_component_of): Likewise.
316 (Fput_char_attribute): Convert char-specs in value of
317 `{->|<-}ideographic-component-forms' to characters and put reverse
319 (syms_of_chartab): Add new symbols
320 `{->|<-}ideographic-component-forms'.
322 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
324 * chartab.c (Q_identical): New variable.
325 (Q_identical_from): New variable.
326 (Fchar_feature): Regard `->identical' as a feature to find
328 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
329 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
330 for `{->|<-}identical'.
331 (syms_of_chartab): Add new symbols `{->|<-}identical'.
333 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * char-ucs.h (encode_char_2): New inline function.
336 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
338 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
340 * chartab.c (Fput_char_attribute): Convert char-specs to
341 characters in value of `ideographic-structure'.
342 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
343 for `{<-|->}simplified(@...)'.
344 (Fdefine_char): Try to use predefined character's id.
346 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
348 * fns.c (simplify_char_spec): Try to convert builtin chars to
351 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
353 * chartab.c (Fput_char_attribute): Convert char-specs in value of
354 `<-simplified[^*]*' to characters and put reverse links.
356 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * chartab.c (Q_subsumptive): Renamed from Q_unified.
359 (Q_subsumptive_from): Renamed from Q_unified_from.
360 (Fchar_feature): Use `Q_subsumptive_from' instead of
362 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
364 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
365 `<-unified' to `<-subsumptive'.
367 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
369 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
370 inheritance itself; fix typo; stop recursive search if cyclic
371 inheritance is found.
373 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * chartab.c (Q_denotational): New variable.
376 (Q_denotational_from): New variable.
377 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
378 (put_char_attribute): New function.
379 (Fput_char_attribute): Use `put_char_attribute'; regard
380 `->denotational' and `<-denotational' as same as `->unified' and
382 (syms_of_chartab): Add new symbols `->denotational' and
385 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
387 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
388 `Fget_char_attribute'.
389 (Fchar_variants): Likewise.
390 (get_char_table): Likewise.
391 (Fchar_feature): New function.
392 (put_char_composition): Use `Fchar_feature' instead of
393 `Fget_char_attribute'.
394 (Fput_char_attribute): Likewise; don't put the target character
395 into its `->unified' value.
396 (syms_of_chartab): Add new builtin function `char-feature'.
398 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
400 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
401 `Fget_char_attribute'.
402 (char_encode_utf8): Likewise.
404 * chartab.h: Add an EXFUN for `Fchar_feature'.
406 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
408 * chartab.c (Vnext_defined_char_id): New variable.
409 (Fput_char_attribute): Accept characters in `->unified'.
410 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
411 new characters which are not related with builtin char-id ranges.
412 (vars_of_chartab): Add new variable `next-defined-char-id'.
414 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * chartab.c (Q_unified): New variable.
417 (Q_unified_from): New variable.
418 (Fput_char_attribute): Add code for `->unified'.
419 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
422 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
424 * mule-charset.c (decode_ccs_conversion): New function.
425 (decode_defined_char): Use `decode_ccs_conversion'.
426 (decode_builtin_char): Likewise.
428 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
430 * char-ucs.h: Change some charset-ids of private coded-charsets.
432 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
434 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
435 (char_encode_as_entity_reference): Likewise.
436 (decode_coding_big5): Modify for `decode_defined_char' and
438 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
439 avoid compiler warning.
440 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
442 * mule-charset.c (decode_defined_char): Add new argument
443 `without_inheritance'.
444 (Fdecode_char): Add new optional argument `without_inheritance'.
445 (Fdecode_builtin_char): Modify for `Fdecode_char'.
447 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
448 (simplify_char_spec): Likewise.
450 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
453 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
454 (map_char_table): Likewise.
455 (Fdefine_char): Use `Fdecode_char' without inheritance.
456 (Ffind_char): Modify for `Fdecode_char'.
458 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
460 * char-ucs.h (decode_defined_char): Add new argument
461 `without_inheritance'.
462 (DECODE_CHAR): Likewise.
463 (MAKE_CHAR): Modify for `DECODE_CHAR'.
465 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
467 * chartab.c (Vchise_system_db_directory): New variable.
468 (vars_of_chartab): Add new variable `chise-system-db-directory'.
470 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
472 * chartab.c: EXFUN `Fmount_char_attribute_table'.
473 (print_chartab_range): Don't define when `UTF2000' is defined.
474 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
477 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
479 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
480 and optional argument `rehash' is specified, call
481 `open_chise_data_source_maybe' before
482 `chise_ds_foreach_char_feature_name' is called.
484 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
486 * chartab.c (char_attribute_list_reset_map_func): New function
487 when HAVE_LIBCHISE is defined.
488 (Fchar_attribute_list): Add new optional argument `rehash' when
489 HAVE_LIBCHISE is defined.
490 (open_chise_data_source_maybe): Use "chise-db" instead of
492 (char_attribute_system_db_file): Likewise.
493 (Fload_char_attribute_table): Use
494 `chise_feature_foreach_char_with_value' instead of
495 `chise_char_feature_value_iterate'.
497 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
499 * chartab.c (Vchise_db_directory): New variable.
500 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
502 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
504 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
505 instead of HAVE_CHISE to specify using with libchise.
507 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
509 * chartab.h: Don't use HAVE_CHISE_CLIENT.
511 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
512 defined or HAVE_LIBCHISE_LIBCHISE is defined.
513 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
515 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
516 HAVE_CHISE to specify using with libchise.
517 (syms_of_chartab): Don't define symbol `system-char-id' when
518 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
520 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
522 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
523 specify CHISE DB support.
524 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
525 of `char_attribute_system_db_file' to check feature DB file.
527 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
528 HAVE_CHISE_CLIENT to specify CHISE DB support.
530 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
531 specify CHISE DB support.
532 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
534 (Freset_char_attribute_table): Use `chise_feature_setup_db'
535 instead of `char_attribute_system_db_file' to check feature DB
538 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
540 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
543 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
546 (Fsave_charset_mapping_table): Don't use
547 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
549 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
550 (HAVE_LIBCHISE): New macro.
552 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
554 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
555 (Fsave_char_attribute_table): Don't use
556 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
558 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
560 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
562 (save_uint16_byte_table): Likewise.
563 (save_byte_table): Likewise.
564 (char_table_get_db): Use `chise_ds_load_char_feature_value'
565 instead of `chise_char_load_feature_value'.
566 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
568 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * chartab.h (struct Lisp_Char_Table): Delete member
571 `feature_table' if CHISE is defined.
573 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
574 (Fcopy_char_table): Likewise.
575 (char_table_open_db_maybe): Likewise.
576 (char_table_close_db_maybe): Likewise.
577 (char_table_get_db): Likewise.
578 (Fmount_char_attribute_table): Likewise.
579 (Fload_char_attribute_table): Likewise.
581 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
583 * mule-charset.c (load_char_decoding_entry_maybe): Use
584 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
587 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
589 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
590 instead of `chise_open_data_source'.
591 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
594 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
596 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
597 instead of `chise_ds_open_feature_table'.
598 (char_table_close_db_maybe): Don't use `chise_ft_close'.
600 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
602 * mule-charset.c (Fsave_charset_mapping_table): Use
603 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
604 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
605 `chise_ccs_sync' instead of `chise_ccst_close'.
606 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
608 * chartab.c (open_chise_data_source_maybe): Modify for
609 `chise_open_data_source'.
610 (char_table_open_db_maybe): Modify for
611 `chise_ds_open_feature_table'.
613 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
615 * mule-charset.c (load_char_decoding_entry_maybe): Use
616 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
619 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
621 * mule-charset.c (Fsave_charset_mapping_table): Use
622 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
623 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
624 `chise_dt_put_char' and `chise_dt_close'.
625 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
626 `chise_ccs_decode' and `chise_ccst_close' instead of
627 `chise_ds_open_decoding_table', `chise_dt_get_char' and
630 * chartab.c (char_table_get_db): Use
631 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
632 (load_char_attribute_table_map_func): Modify for
633 `chise_char_feature_value_iterate'.
634 (Fload_char_attribute_table): Use
635 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
637 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
639 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
641 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
643 * chartab.c (put_char_table): Modify for inherited coded-charsets
646 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
648 * chartab.c (Fput_char_table_map_function): Fixed.
649 (word_boundary_p): Don't check charset in XEmacs CHISE.
651 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
653 * mule-charset.c (Fsave_charset_mapping_table): Use
654 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
655 instead of `chise_open_decoding_table'; refer
656 `default_chise_data_source'; use `chise_dt_close' instead of
657 `chise_close_decoding_table'.
658 (load_char_decoding_entry_maybe): Likewise.
660 * chartab.c (default_chise_data_source): New variable when `CHISE'
662 (Fcopy_char_table): `ct->ds' is deleted.
663 (open_chise_data_source_maybe): New function.
664 (Fclose_char_data_source): New function.
665 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
666 use `chise_ds_open_feature_table' instead of
667 `chise_open_feature_table'.
668 (char_table_close_db_maybe): Use `chise_ft_close' instead of
669 `chise_close_feature_table'; `cit->ds' is deleted.
670 (syms_of_chartab): Add new builtin function
671 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
673 * chartab.h (default_chise_data_source): New extern variable.
674 (open_chise_data_source_maybe): New prototype.
675 (struct Lisp_Char_Table): Delete `ds'.
677 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
679 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
682 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
684 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
685 not defined; add code for non-libchise setting.
686 (char_table_close_db_maybe): Likewise.
687 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
689 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
690 even if `CHISE' is not defined.
691 (Freset_char_attribute_table): Likewise.
692 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
693 `char_table_close_db_maybe' even if `CHISE' is not defined; use
695 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
696 `char_table_close_db_maybe' even if `CHISE' is not defined.
698 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
700 * chartab.c (char_table_open_db_maybe): New function.
701 (char_table_close_db_maybe): New function.
702 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
703 (Freset_char_attribute_table): Likewise.
704 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
705 `char_table_close_db_maybe'.
706 (Fload_char_attribute_table): Likewise.
708 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
710 * chartab.c: Don't include <chise.h> because it is included in
712 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
714 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
716 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
718 (Fclose_char_attribute_table): Close `ct->feature_table' and
719 `ct->ds' when `CHISE' is defined.
720 (Freset_char_attribute_table): Likewise.
721 (load_char_attribute_maybe): Use `cit->ds' and
722 `cit->feature_table' when `CHISE' is defined.
723 (Fload_char_attribute_table): Likewise.
725 * chartab.h: Include <chise.h> when `CHISE' is defined.
726 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
727 when `CHISE' is defined.
729 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
731 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
733 (char_table_description): Likewise.
734 (Fmake_char_table): Likewise.
735 (Fcopy_char_table): Likewise.
736 (Fmount_char_attribute_table): Likewise.
737 (Fclose_char_attribute_table): Likewise.
738 (Freset_char_attribute_table): Likewise.
739 (load_char_attribute_maybe): Likewise.
740 (Fload_char_attribute_table): Likewise.
742 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
745 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
747 * chartab.c (load_char_attribute_table_map_func): New function
748 when CHISE is defined.
749 (Qload_char_attribute_table_map_function): Don't define when CHISE
751 (Fload_char_attribute_table_map_function): Likewise.
752 (Fload_char_attribute_table): Use libchise when `CHISE' is
754 (syms_of_chartab): Don't define
755 `load-char-attribute-table-map-function' when CHISE is defined.
757 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
759 * chartab.c: Include <chise.h> when `CHISE' is defined.
760 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
762 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
764 * mule-charset.c (charset_code_point): Fix problem when searching
765 in mother CCS fails with `defined_only' mode.
767 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
769 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
770 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
771 (put_char_composition): Likewise.
772 (Fput_char_attribute): Likewise.
773 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
775 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
777 * chartab.c (Q_ucs): Deleted.
778 (Fput_char_attribute): Don't refer `->ucs'.
779 (Fdefine_char): Likewise.
780 (Ffind_char): Likewise.
781 (syms_of_chartab): Delete `->ucs'.
783 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
785 * mule-charset.c (Qmap_cns11643_2): Renamed from
786 `Qchinese_cns11643_2'.
787 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
788 `chinese-cns11643-2'.
789 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
792 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
794 * mule-charset.c (Qmap_cns11643_1): Renamed from
795 `Qchinese_cns11643_1'.
796 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
797 `chinese-cns11643-1'.
798 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
801 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
803 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
804 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
806 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
809 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
811 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
812 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
814 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
817 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
819 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
820 (syms_of_mule_charset): Add new symbol `=big5' instead of
822 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
824 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
826 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
827 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
829 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
832 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
834 * mule-charset.c (Qmap_jis_x0212): Renamed from
835 `Qjapanese_jisx0212'.
836 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
838 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
841 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
843 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
844 `Qjapanese_jisx0208'.
845 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
846 of `japanese-jisx0208'.
847 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
850 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
852 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
853 `Qjapanese_jisx0208_1978'.
854 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
855 of `japanese-jisx0208-1978'.
856 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
859 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
861 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
862 only for XEmacs CHISE.
864 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
866 * char-ucs.h: Compact non-ISO-IR charset-ids.
867 (LEADING_BYTE_UCS): Changed to -177.
868 (LEADING_BYTE_CONTROL_1): Changed to -77.
869 (LEADING_BYTE_UCS_BMP): Changed to -176.
870 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
872 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
874 * mule-charset.c (Qiso_ir): New variable.
875 (Fmake_charset): Recognise new property `iso-ir'.
876 (syms_of_mule_charset): Add new symbol `iso-ir'.
878 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
880 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
881 n to -n; charset-id of non ISO-IR sets are changed to positive
884 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
886 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
887 for &MCS-XXXXXXXX; values.
889 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
891 * mule.c (Vxemacs_chise_version): Renamed from
893 (vars_of_mule): Add new variable `xemacs-chise-version'; define
894 `utf-2000-version' as an alias for `xemacs-chise-version'.
896 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
898 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
899 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
902 * config.h.in (CHISE): New macro.
904 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
906 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
908 (Qmap_ucs): New variable.
909 (syms_of_mule_charset): Add new symbol `=ucs'.
910 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
912 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
913 (simplify_char_spec): Likewise.
915 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
917 * char-ucs.h (Qmap_ucs): New extern variable.
919 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
921 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
922 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
923 don't define it when UTF2000 is not defined.
924 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
925 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
926 when UTF2000 is not defined.
927 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
928 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
930 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
932 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
934 * mule-charset.c (Vcharset_ucs_gb): Deleted.
936 (syms_of_mule_charset): Delete `ucs-gb'.
937 (complex_vars_of_mule_charset): Likewise.
939 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
941 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
943 * mule-charset.c (Vcharset_ucs_cns): Deleted.
945 (syms_of_mule_charset): Delete `ucs-cns'.
946 (complex_vars_of_mule_charset): Likewise.
948 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
950 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
952 * mule-charset.c (Vcharset_ucs_jis): Deleted.
954 (syms_of_mule_charset): Delete `ucs-jis'.
955 (complex_vars_of_mule_charset): Likewise.
957 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
959 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
961 * mule-charset.c (Vcharset_ucs_ks): Deleted.
963 (syms_of_mule_charset): Delete `ucs-ks'.
964 (complex_vars_of_mule_charset): Likewise.
966 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
968 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
969 (Qideograph_daikanwa_2): Deleted.
970 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
971 (complex_vars_of_mule_charset): Likewise.
973 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
974 (LEADING_BYTE_DAIKANWA_1): Deleted.
975 (LEADING_BYTE_DAIKANWA_2): Deleted.
976 (MIN_CHAR_DAIKANWA): Deleted.
977 (MAX_CHAR_DAIKANWA): Deleted.
979 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
981 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
982 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
983 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
985 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
986 (Vcharset_ideograph_daikanwa): Deleted.
987 (Qideograph_hanziku_{1..12}): Deleted.
988 (Qideograph_daikanwa): Deleted.
989 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
990 Vcharset_ideograph_daikanwa.
991 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
992 `ideograph-hanziku-{1..12}'.
993 (complex_vars_of_mule_charset): Likewise.
995 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
997 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
999 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1000 (Qideograph_gt_pj_{1..11}): Deleted.
1001 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1002 (complex_vars_of_mule_charset): Likewise.
1004 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1006 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1007 (Vcharset_ideograph_gt): Deleted.
1008 (Qucs_big5): Deleted.
1009 (Qideograph_gt): Deleted.
1010 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1012 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1015 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1016 (LEADING_BYTE_GT): Deleted.
1017 (MIN_CHAR_GT): Deleted.
1018 (MAX_CHAR_GT): Deleted.
1020 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1022 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1024 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1026 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1027 (save_uint16_byte_table): Likewise.
1028 (save_byte_table): Likewise; convert values by it.
1029 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1030 for `ideographic-structure'.
1031 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1032 as the filter for `ideographic-structure'.
1034 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1036 * chartab.c (put_char_composition): New function.
1037 (Fput_char_attribute): Use `put_char_composition'; use
1038 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1040 * fns.c (simplify_char_spec): New function.
1041 (char_ref_simplify_spec): New function.
1042 (Fchar_refs_simplify_char_specs): New function.
1043 (syms_of_fns): Add new builtin function
1044 `char-refs-simplify-char-specs'.
1046 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1048 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1049 (Qideograph_cbeta): Deleted.
1050 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1051 (complex_vars_of_mule_charset): Likewise.
1053 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1054 (MIN_CHAR_CBETA): Comment out.
1055 (MAX_CHAR_CBETA): Likewise.
1057 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1059 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1060 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1061 CHISE client feature.
1063 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1065 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1067 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1069 * mule-charset.c (charset_lookup_description_1): Use
1070 `NUM_LEADING_BYTES' in UTF-2000.
1072 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1074 * char-ucs.h (GC_CHARSETP): Deleted.
1076 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1078 * char-ucs.h (MAX_CHAR_GT): Updated.
1080 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1082 * text-coding.c: Sync with XEmacs 21.4.10.
1084 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1086 * mule-charset.c (Vcharset_china3_jef): Deleted.
1087 (Qchina3_jef): Deleted.
1088 (syms_of_mule_charset): Don't define `china3-jef'.
1089 (complex_vars_of_mule_charset): Likewise.
1091 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1092 (MIN_CHAR_CHINA3_JEF): Comment out.
1093 (MAX_CHAR_CHINA3_JEF): Comment out.
1095 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1097 * mule-charset.c (Vcharset_ucs_gb): New variable.
1098 (Qucs_gb): New variable.
1099 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1100 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1102 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1104 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1106 * mule-charset.c (charset_code_point): if a coded-charset has a
1107 final-byte, don't inherit the builtin range of the mother CCS.
1109 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1111 * mule-charset.c (charset_code_point): Fix problem about
1114 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1116 * mule-charset.c (decode_builtin_char): Reorganized.
1118 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1120 * text-coding.c (char_encode_as_entity_reference): Modify for
1121 `charset_code_point'.
1122 (char_encode_shift_jis): Likewise.
1123 (char_encode_big5): Likewise.
1124 (char_encode_utf8): Likewise.
1125 (char_encode_iso2022): Likewise.
1127 * mule-charset.c (charset_code_point): Add new argument
1129 (Fencode_char): Add new optional argument `defined_only'.
1131 * chartab.c (put_char_table): Modify for `charset_code_point'.
1133 * char-ucs.h (charset_code_point): Add new argument
1135 (encode_char_1): Modify for `charset_code_point'.
1137 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1139 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1140 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1142 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1144 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1145 (Qjis_x0208): Likewise.
1146 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1147 XCHARSET_FINAL(charset).
1148 (charset_code_point): Modify condition for final-byte based
1150 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1151 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1152 in UTF-2000; specify `=jis-x0208' as the mother of
1153 `japanese-jisx0208-1978', `japanese-jisx0208' and
1154 `japanese-jisx0208-1990' in UTF-2000.
1156 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1158 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1160 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1162 * text-coding.c (decode_coding_utf16): Support UTF-16.
1163 (char_encode_utf16): Fixed.
1165 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1167 * text-coding.c (Qutf16): New variable in MULE.
1168 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1169 (Fcoding_system_type): Add `utf-16' in MULE.
1170 (struct detection_state): Add a structure for utf16 in MULE.
1171 (detect_coding_type): Setup st->utf16.mask in MULE.
1172 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1174 (reset_encoding_stream): Use `char_encode_utf16' and
1175 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1176 (detect_coding_utf16): New function [incomplete].
1177 (decode_coding_utf16): New function [support only UCS-2].
1178 (char_encode_utf16): New function.
1179 (char_finish_utf16): New function.
1180 (syms_of_file_coding): Add new symbol `utf-16'; setup
1181 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1183 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1185 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1186 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1188 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1190 * chartab.c (put_char_table): When a charset is specified as a
1191 range in UTF-2000, don't support builtin characters.
1193 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1195 * mule-charset.c (decode_defined_char): Don't refer external
1196 database if Qunbound or Qnil are found.
1197 (Fsave_charset_mapping_table): Don't define it if
1198 HAVE_CHISE_CLIENT is not defined.
1199 (Freset_charset_mapping_table): New function.
1200 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1201 found in external database.
1202 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1203 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1204 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1206 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1208 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1211 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1213 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1214 Q_lowercase, Q_uppercase in UTF-2000.
1216 * chartab.c (get_char_table): Add special code for the standard
1217 case table to use character attribute `->downcase' and
1218 `->uppercase' for case operations in UTF-2000.
1220 * casetab.c (Qflippedcase): New variable in UTF-2000.
1221 (Q_lowercase): Likewise.
1222 (Q_uppercase): Likewise.
1223 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1224 and `->uppercase' in UTF-2000.
1225 (complex_vars_of_casetab): Assign attribute name `downcase' to
1226 downcase and CANON table of Vstandard_case_table in UTF-2000;
1227 assign attribute name `flippedcase' to upcase and EQV table of
1228 Vstandard_case_table in UTF-2000.
1230 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1232 * text-coding.c (decode_add_er_char): Support isolated-chars.
1233 (char_encode_as_entity_reference): Likewise.
1235 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1237 * emacs.c (Vutf_2000_lisp_directory): New variable.
1238 (Vconfigure_utf_2000_lisp_directory): Likewise.
1239 (complex_vars_of_emacs): Add new variable
1240 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1242 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1244 * char-ucs.h (DECODE_CHAR): Delete special code for
1245 `chinese-big5-1' and `chinese-big5-2'.
1247 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1248 (Qbig5_2): Likewise.
1249 (decode_defined_char): Support CONVERSION_BIG5_1 and
1251 (decode_builtin_char): Likewise.
1252 (charset_code_point): Likewise.
1253 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1254 'conversion in UTF-2000.
1255 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1256 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1257 `chinese-big5-2' as children of `chinese-big5'.
1259 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1260 (CONVERSION_BIG5_2): New macro.
1262 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1264 * text-coding.c (char_encode_big5): Support entity-reference.
1266 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1268 * text-coding.c (char_encode_as_entity_reference): New function.
1269 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1271 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1273 * text-coding.c (decode_coding_big5): Support entity-reference
1276 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1278 * text-coding.c (allocate_coding_system): Initialize initial
1279 charsets for CODESYS_UTF8.
1280 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1281 charset-g2 for CODESYS_UTF8.
1282 (decode_coding_utf8): Use charset-g0.
1283 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1284 to force variants to map to UCS.
1286 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1288 * text-coding.c (Qutf_8_mcs): New variable.
1289 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1290 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1291 instead of `utf-8' in UTF-2000.
1293 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1295 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1296 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1297 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1298 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1299 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1300 CONVERSION_96x96x96x96 are introduced.
1301 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1302 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1303 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1305 * char-ucs.h (CONVERSION_94): New macro.
1306 (CONVERSION_96): New macro.
1307 (CONVERSION_94x94): New macro.
1308 (CONVERSION_96x96): New macro.
1309 (CONVERSION_94x94x94): New macro.
1310 (CONVERSION_96x96x96): New macro.
1311 (CONVERSION_94x94x94x60): New macro.
1312 (CONVERSION_94x94x94x94): New macro.
1313 (CONVERSION_96x96x96x96): New macro.
1315 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1317 * chartab.c (Vcharacter_variant_table): Deleted.
1318 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1319 of `Vcharacter_variant_table'.
1320 (Fput_char_attribute): Likewise.
1321 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1322 (complex_vars_of_chartab): Likewise.
1324 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1326 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1328 * fns.c (Qideographic_structure): New variable.
1329 (Qkeyword_char): New variable.
1330 (ids_format_unit): New function.
1331 (Fideographic_structure_to_ids): New function.
1332 (syms_of_fns): Add new symbols `ideographic-structure' and
1333 `:char'; add new builtin function `ideographic-structure-to-ids'.
1335 * data.c (Fchar_ref_p): New function.
1336 (syms_of_data): Add new builtin function `char-ref-p'.
1338 * chartab.h: Add an EXFUN for `Ffind_char'.
1340 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1342 * text-coding.c (Vcharacter_composition_table): Deleted.
1343 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1346 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1348 (Vcharacter_composition_table): Deleted.
1349 (Fget_composite_char): Use the implementation for external-DB
1350 support in every UTF-2000.
1351 (Fput_char_attribute): Likewise.
1352 (char_attribute_system_db_file): Don't define if external-DB
1353 feature is not available.
1354 (Fsave_char_attribute_table): Likewise.
1355 (Fmount_char_attribute_table): Likewise.
1356 (Fclose_char_attribute_table): Likewise.
1357 (Freset_char_attribute_table): Likewise.
1358 (Fload_char_attribute_table): Likewise.
1359 (syms_of_chartab): Don't define `save-char-attribute-table',
1360 `mount-char-attribute-table', `reset-char-attribute-table',
1361 `close-char-attribute-table' and `load-char-attribute-table' if
1362 external-DB feature is not available.
1363 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1365 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1367 * text-coding.c (Qcomposition): Add extern if external-DB feature
1369 (Vcharacter_composition_table): Don't add extern if external-DB
1370 feature is supported.
1371 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1372 character composition rule if external-DB feature is supported.
1374 * chartab.c (Vcharacter_composition_table): Don't define if
1375 external-DB feature is supported.
1376 (Qcomposition): New variable.
1377 (Fget_composite_char): New implementation for external-DB support.
1378 (Fput_char_attribute): Use `composition' property of each
1379 character instead of `Vcharacter_composition_table' to store
1380 character-composition rules if external-DB feature is supported.
1381 (syms_of_chartab): Add new symbol `composition'.
1382 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1383 external-DB feature is supported.
1385 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1387 * chartab.c (Vchar_db_stingy_mode): New variable.
1388 (load_char_attribute_maybe): Close database if
1389 Vchar_db_stingy_mode is not NIL.
1390 (Fload_char_attribute_table_map_function): Use
1391 `get_char_id_table_0' instead of `get_char_id_table'.
1392 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1394 * chartab.h (get_char_id_table_0): New inline function.
1395 (get_char_id_table): Use `get_char_id_table_0'.
1397 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1399 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1400 and `COMPOSE_ADD_CHAR'.
1401 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1403 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1405 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1406 instead of `DECODE_ADD_UCS_CHAR'.
1407 (COMPOSE_ADD_CHAR): Likewise.
1409 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1411 * text-coding.c (decode_flush_er_chars): New inline function.
1412 (decode_add_er_char): New function.
1413 (decode_coding_utf8): Use `decode_flush_er_chars' and
1414 `decode_add_er_char'.
1416 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1418 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1419 done before `decode_output_utf8_partial_char'.
1421 * mule-charset.c (complex_vars_of_mule_charset): Specify
1422 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1423 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1425 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1427 * mule-charset.c (decode_defined_char): New function; search
1429 (decode_builtin_char): Don't search mother if
1430 XCHARSET_MAX_CODE(charset) == 0.
1431 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1432 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1433 (Fdecode_char): Use `decode_defined_char' instead of
1434 `DECODE_DEFINED_CHAR'.
1435 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1436 mother of `Vcharset_ucs_jis'.
1438 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1439 instead of `DECODE_DEFINED_CHAR'.
1441 * char-ucs.h (decode_defined_char): Renamed from
1442 `DECODE_DEFINED_CHAR'; changed to normal function.
1443 (DECODE_CHAR): Use `decode_defined_char' instead of
1444 `DECODE_DEFINED_CHAR'.
1446 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1448 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1450 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1452 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1454 (Quse_entity_reference): New variable.
1458 (coding_system_description): Add description for
1459 `ccs_priority_list'.
1460 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1461 (allocate_coding_system): Initialize `ccs_priority_list' in
1463 (Fmake_coding_system): Add description about
1464 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1466 (Fcoding_system_property): Accept `disable-composition' and
1467 `use-entity-reference' in UTF-2000.
1468 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1470 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1471 (decode_coding_utf8): Decode entity-reference if
1472 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1473 (char_encode_utf8): Encode non-Unicode characters as
1474 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1476 (syms_of_file_coding): Add new symbols `use-entity-reference',
1478 (vars_of_file_coding): Add new variable
1479 `coded-charset-entity-reference-alist'.
1480 (complex_vars_of_file_coding): Declare `disable-composition' and
1481 `use-entity-reference' to be coding-system-properties in UTF-2000.
1483 * file-coding.h (struct Lisp_Coding_System): Add new member
1484 `use_entity_reference' and `ccs_priority_list'.
1485 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1486 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1487 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1489 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1491 * chartab.c (save_uint8_byte_table): Don't clear the table.
1492 (save_uint16_byte_table): Likewise.
1493 (save_byte_table): Likewise.
1494 (Fmount_char_attribute_table): New function.
1495 (syms_of_chartab): Add new builtin function
1496 `mount-char-attribute-table'.
1498 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1500 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1502 (load_char_decoding_entry_maybe): Open database as read-only mode.
1504 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1505 open database as "w+" mode.
1506 (load_char_attribute_maybe): Open database as read-only mode.
1507 (Fload_char_attribute_table): Likewise.
1509 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1511 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1512 (char_table_description): Delete member `db_file'.
1513 (Fmake_char_table): Don't refer `ct->db_file'.
1514 (Fcopy_char_table): Likewise.
1515 (Fsave_char_attribute_table): Likewise.
1516 (Fclose_char_attribute_table): Likewise.
1517 (Freset_char_attribute_table): Likewise.
1518 (load_char_attribute_maybe): Likewise.
1519 (Fload_char_attribute_table): Likewise.
1521 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1523 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1525 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1526 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1528 (load_char_attribute_maybe): Likewise.
1529 (Fload_char_attribute_table): Likewise.
1531 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1533 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1534 `ct->db_file' unconditionally.
1536 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1538 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1540 (char_table_description): Add description for `db_file' and `db'
1542 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1544 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1545 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1546 (Fclose_char_attribute_table): New function.
1547 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1548 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1550 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1551 (syms_of_chartab): Add new builtin function
1552 `Fclose_char_attribute_table'.
1554 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1556 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1558 (load_char_attribute_maybe): Change interface.
1559 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1561 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1563 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1565 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1567 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1568 instead of `DECODE_CHAR' for mother; don't use special code for
1569 chinese-big5 to use code space of chinese-big5-1 and
1571 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1572 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1574 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1575 (MAX_CHAR_BIG5_CDP): Revival.
1577 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1579 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1580 the XLFD registry-encoding name of `chinese-big5'.
1582 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1584 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1585 (Qchinese_big5_cdp): Deleted.
1586 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1587 (complex_vars_of_mule_charset): Delete coded-charset
1590 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1591 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1592 `CHARSET_ID_OFFSET - n' for private CCS.
1593 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1594 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1595 of `MIN_LEADING_BYTE'.
1596 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1597 `(CHARSET_ID_OFFSET - 97)'.
1598 (MIN_CHAR_BIG5_CDP): Deleted.
1599 (MAX_CHAR_BIG5_CDP): Deleted.
1601 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1603 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1605 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1607 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1608 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1611 * chartab.c (Vutf_2000_version): Moved to mule.c.
1612 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1614 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1616 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1617 when HAVE_CHISE_CLIENT is not defined.
1619 * mule.c (vars_of_mule): Provide feature `chise' when
1620 HAVE_CHISE_CLIENT is defined.
1622 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1624 * config.h.in (UTF2000): Add comment.
1625 (HAVE_CHISE_CLIENT): New macro.
1627 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1629 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1631 (Fput_char_attribute): Likewise.
1632 (char_attribute_system_db_file): Encode file-name of attribute.
1633 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1636 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1638 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1639 (Fsave_charset_mapping_table): Use
1640 `char_attribute_system_db_file'.
1641 (load_char_decoding_entry_maybe): Likewise.
1643 * chartab.h (Qsystem_char_id): New external variable.
1644 (char_attribute_system_db_file): New prototype.
1646 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1647 (char_attribute_system_db_file): New function.
1648 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1649 (Freset_char_attribute_table): Likewise.
1650 (load_char_attribute_maybe): Likewise.
1651 (Fload_char_attribute_table): Likewise.
1652 (syms_of_chartab): Add new symbol `system-char-id'.
1654 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1656 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1657 `XCHARSET_GRAPHIC(ccs)'.
1659 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1661 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1663 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1665 * chartab.c (Q_ucs_variants): New variable.
1666 (syms_of_chartab): Add new symbol `->ucs-variants'.
1667 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1668 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1669 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1671 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1673 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1674 `HAVE_DATABASE' is defined.
1675 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1676 `HAVE_DATABASE' is defined.
1678 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1680 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1682 (Freset_char_attribute_table): New function.
1683 (syms_of_chartab): Add new builtin function
1684 `reset-char-attribute-table'.
1686 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1688 * chartab.c (load_char_attribute_maybe): Don't make directories.
1690 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1692 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1694 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1697 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1699 * mule-charset.c (Fsave_charset_mapping_table): Use
1700 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1702 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1703 instead of `XCHARSET_CHARS'.
1705 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1707 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1708 (XCHARSET_BYTE_SIZE): Likewise.
1710 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1712 (XCHARSET_BYTE_SIZE): Likewise.
1714 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1716 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1717 data-directory to store database.
1718 (Fsave_char_attribute_table): Likewise.
1719 (load_char_attribute_maybe): Likewise.
1720 (Fload_char_attribute_table): Likewise.
1722 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1724 * mule-charset.c (Fsave_charset_mapping_table): New function.
1725 (syms_of_mule_charset): Add new builtin function
1726 `save-charset-mapping-table'.
1728 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1730 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1731 (get_ccs_octet_table): New inline function.
1732 (put_ccs_octet_table): Likewise.
1733 (decoding_table_put_char): Use `get_ccs_octet_table' and
1734 `put_ccs_octet_table'.
1735 (decoding_table_remove_char): Use `decoding_table_put_char'.
1736 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1738 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1739 into encoding_table.
1740 (make_charset): Use Qunbound instead Qnil as initial value of
1743 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1745 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1746 element is Qunloaded.
1747 (map_over_uint16_byte_table): Likewise.
1748 (map_over_byte_table): Likewise.
1749 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1750 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1751 database support, load encoding-table of the specified
1752 coded-charset if it is not loaded yet.
1753 (save_uint8_byte_table): New function of UTF-2000 with external
1755 (save_uint16_byte_table): Likewise.
1756 (save_byte_table): Likewise.
1757 (Fput_char_attribute): Don't store value into external database
1758 even if the external database feature is supported in UTF-2000;
1759 set `attribute' as name of char-table if the external database
1760 feature is supported.
1761 (Fsave_char_attribute_table): New function in UTF-2000.
1762 (syms_of_chartab): Add new builtin function
1763 `save-char-attribute-table' in UTF-2000.
1765 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1767 * chartab.c (char_attribute_table_to_put): New variable in
1769 (Qput_char_table_map_function): Likewise.
1770 (value_to_put): Likewise.
1771 (Fput_char_table_map_function): New function in UTF-2000.
1772 (put_char_table): Use `Fmap_char_attribute' for
1773 CHARTAB_RANGE_CHARSET in UTF-2000.
1774 (Fput_char_attribute): Store symbol instead of string in
1775 `XCHAR_TABLE_NAME (table)'.
1776 (load_char_attribute_maybe): Likewise.
1777 (syms_of_chartab): Add new symbol/function
1778 `put-char-table-map-function'.
1780 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1782 * database.h: Add new EXFUN for `Fmap_database'.
1784 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1785 (syms_of_database): Likewise.
1787 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1789 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1790 (XCHAR_TABLE_UNLOADED): Likewise.
1792 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1793 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1794 HAVE_DATABASE is defined.
1795 (char_attribute_table_to_load): New variable of UTF-2000 with
1796 external database support.
1797 (Qload_char_attribute_table_map_function): Likewise.
1798 (Fload_char_attribute_table_map_function): New function of
1799 UTF-2000 with external database support.
1800 (Fload_char_attribute_table): New function of UTF-2000.
1801 (Fmap_char_attribute): Call Fload_char_attribute_table if
1802 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1803 (syms_of_chartab): Add new symbol and function
1804 `load-char-attribute-table-map-function' in UTF-2000 with external
1805 database support; add new function `load-char-attribute-table' in
1808 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1810 * chartab.h (load_char_attribute_maybe): New prototype for
1811 UTF-2000 with DATABASE support.
1812 (get_char_id_table): Use `load_char_attribute_maybe' if
1813 HAVE_DATABASE is defined.
1815 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1816 with DATABASE support.
1818 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1820 * chartab.c (Fput_char_attribute): Use S-expression as key of
1823 * chartab.h (get_char_id_table): Use S-expression as key of
1826 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1828 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1829 if an element is not loaded, load the corresponding attributes
1830 from an external database.
1831 (map_over_uint16_byte_table): Likewise.
1832 (map_over_byte_table): Likewise.
1833 (map_char_table): Modify for `map_over_uint8_byte_table',
1834 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1835 element is not loaded, load the corresponding attributes from an
1837 (Fput_char_attribute): Change initial values to Qunloaded.
1839 * chartab.h (get_char_id_table): If a character attribute is not
1840 loaded and the attribute value is not found in an external
1841 database, store Qunbound as the attribute value.
1843 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1845 * chartab.c (BT_UINT8_unloaded): New macro.
1846 (UINT8_VALUE_P): Accept Qunloaded.
1847 (UINT8_ENCODE): Likewise.
1848 (UINT8_DECODE): Likewise.
1849 (BT_UINT16_unloaded): New macro.
1850 (UINT16_VALUE_P): Accept Qunloaded.
1851 (UINT16_ENCODE): Likewise.
1852 (UINT16_DECODE): Likewise.
1853 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1855 (mark_char_table): Mark `ct->name' in UTF-2000.
1856 (char_table_description): Add `name' in UTF-2000.
1857 (Fmake_char_table): Initialize `ct->name'.
1858 (Fcopy_char_table): Copy `ct->name'.
1859 (Fput_char_attribute): Store value into an external database if
1860 HAVE_DATABASE is defined.
1862 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1864 (CHAR_TABLE_NAME): New macro in UTF-2000.
1865 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1866 (get_char_id_table): Try to read an external database if Qunloaded
1867 is stored in a table.
1869 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1872 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1874 * database.h: Add EXFUN definitions for Fopen_database,
1875 Fput_database, Fget_database and Fclose_database.
1877 * data.c (Qunloaded): New variable in UTF-2000.
1879 * lisp.h (Qunloaded): New variable in UTF-2000.
1881 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1883 * mule-charset.c (put_char_ccs_code_point): Modify for
1884 `decoding_table_remove_char' and `decoding_table_put_char'.
1885 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1887 * char-ucs.h (decoding_table_remove_char): Change arguments to
1888 hide decoding_table vector.
1889 (decoding_table_put_char): Likewise.
1891 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1893 * mule-charset.c (decoding_table_remove_char): Moved to
1895 (decoding_table_put_char): Likewise.
1897 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1898 from mule-charset.c].
1899 (decoding_table_remove_char): New inline function [moved from
1901 (decoding_table_put_char): Likewise.
1903 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1905 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1908 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1910 * mule-charset.c (decode_builtin_char): Support mother charsets.
1912 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1914 * mule-charset.c (Q94x94x60): New variable.
1915 (charset_code_point): Support conversion `94x94x60'.
1916 (Fmake_charset): Likewise.
1917 (syms_of_mule_charset): Add new symbol `94x94x60'.
1919 * char-ucs.h (CONVERSION_94x94x60): New macro.
1921 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1923 * mule-charset.c (charset_code_point): Unify code about
1926 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1928 * mule-charset.c (charset_code_point): Merge code about builtin
1929 characters into code about mother charsets; don't use
1930 `range_charset_code_point'.
1931 (range_charset_code_point): Deleted.
1933 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1935 * mule-charset.c (Qcode_offset): New variable.
1936 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1937 `max-code'; accept new property `code-offset'.
1938 (syms_of_mule_charset): Add new symbol `code-offset'.
1940 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1942 * mule-charset.c (range_charset_code_point): Fixed.
1944 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1946 * mule-charset.c (decode_builtin_char): Change semantics of
1947 code-offset of coded-charset.
1948 (charset_code_point): Likewise.
1949 (range_charset_code_point): Likewise.
1950 (complex_vars_of_mule_charset): Modify for the change.
1952 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1954 * mule-charset.c (Fencode_char): Reverse arguments.
1956 * mule-charset.c (charset_code_point): Fixed.
1958 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1960 * mule-charset.c (Vcharset_mojikyo): Deleted.
1961 (Vcharset_mojikyo_2022_1): Deleted.
1962 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1963 (Qmin_code): New variable in UTF-2000.
1964 (Qmax_code): Likewise.
1965 (Qmother): Likewise.
1966 (Qconversion): Likewise.
1968 (Qmojikyo): Deleted.
1969 (Qmojikyo_2022_1): Deleted.
1970 (Qmojikyo_pj_{1..22}): Deleted.
1971 (mark_charset): Mark `cs->mother'.
1972 (charset_description): Add description for `mother'.
1973 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1974 new arguments `mother' and `conversion'; use
1975 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1976 (charset_code_point): Moved from char-ucs.h; support `mother'
1978 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1979 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1980 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1981 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1982 allow 2 as the value of `graphic' in UTF-2000; add new properties
1983 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1984 require `final' in UTF-2000; modify for `make_charset'.
1985 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1986 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1987 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1988 (Fencode_char): New function.
1989 (syms_of_mule_charset): Add new builtin function `encode-char' in
1990 UTF-2000; add new symbols `min-code', `max-code', `mother',
1991 `conversion' and `94x60'; delete symbols `mojikyo',
1992 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1993 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1994 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1995 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1997 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1998 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2000 * char-ucs.h (Vcharset_mojikyo): Deleted.
2001 (Vcharset_mojikyo_2022_1): Deleted.
2002 (LEADING_BYTE_MOJIKYO): Deleted.
2003 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2004 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2005 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2006 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2007 add new member `mother'; add new member `conversion'.
2008 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2009 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2010 (CHARSET_MOTHER): New macro.
2011 (CHARSET_CONVERSION): New macro.
2012 (CONVERSION_IDENTICAL): New macro.
2013 (CONVERSION_94x60): New macro.
2014 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2015 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2016 (XCHARSET_MOTHER): New macro.
2017 (XCHARSET_CONVERSION): New macro.
2018 (MIN_CHAR_MOJIKYO): Deleted.
2019 (MAX_CHAR_MOJIKYO): Deleted.
2020 (DECODE_MOJIKYO_2022): Deleted.
2021 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2022 (charset_code_point): Changed to non-inline function.
2023 (encode_char_1): Use `charset_code_point'.
2024 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2026 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2028 * lread.c (read_compiled_function): Fix prototype.
2029 (read_vector): Likewise.
2031 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2033 * lrecord.h (struct lrecord_header): Delete `older'.
2034 (set_lheader_implementation): Delete code for `older'.
2035 (set_lheader_older_implementation): Deleted.
2036 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2037 (OLDER_RECORD_P): Deleted.
2038 (OLDER_RECORD_HEADER_P): Deleted.
2039 (alloc_older_lcrecord): Deleted.
2040 (alloc_older_lcrecord_type): Deleted.
2042 * alloc.c (all_older_lcrecords): Deleted.
2043 (alloc_older_lcrecord): Deleted.
2044 (disksave_object_finalization_1): Delete code for older objects.
2045 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2046 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2048 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2050 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2051 instead of `make_older_vector'.
2052 (put_char_ccs_code_point): Likewise.
2053 (mark_charset): Mark `cs->decoding_table'.
2054 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2056 * lisp.h (make_older_vector): Deleted.
2057 (make_vector_newer): Deleted.
2059 * config.h.in (HAVE_GGC): Deleted.
2061 * alloc.c (make_older_vector): Deleted.
2062 (make_vector_newer_1): Deleted.
2063 (make_vector_newer): Deleted.
2065 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2067 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2068 (Qideograph_daikanwa_2): New variable.
2069 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2070 (complex_vars_of_mule_charset): Add new coded-charset
2071 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2072 `LEADING_BYTE_DAIKANWA'.
2074 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2075 (LEADING_BYTE_DAIKANWA_1): New macro.
2076 (LEADING_BYTE_DAIKANWA_2): New macro.
2077 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2079 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2081 * mule-charset.c (complex_vars_of_mule_charset): Change
2082 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2083 the second revised version.
2085 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2087 * mule-charset.c (Vcharset_ucs_smp): New variable.
2088 (Vcharset_ucs_sip): New variable.
2089 (Qucs_smp): New variable.
2090 (Qucs_sip): New variable.
2091 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2092 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2093 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2094 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2095 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2096 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2098 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2099 (LEADING_BYTE_UCS_SIP): New macro.
2100 (MIN_CHAR_SMP): New macro.
2101 (MAX_CHAR_SMP): New macro.
2102 (MIN_CHAR_SIP): New macro.
2103 (MAX_CHAR_SIP): New macro.
2105 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2107 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2110 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2112 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2113 value; don't store value into `encoding_table' of `Lisp_Charset'.
2114 (mark_charset): `encoding_table' was deleted.
2115 (charset_description): Likewise.
2116 (make_charset): Likewise.
2117 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2118 `put_char_ccs_code_point'.
2120 * chartab.h (Fput_char_attribute): New EXFUN.
2122 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2123 is unified with normal symbol space.
2124 (Fget_char_attribute): Likewise.
2125 (Fput_char_attribute): Likewise; behavior of
2126 `put_char_ccs_code_point' is changed.
2128 * char-ucs.h: Include "elhash.h".
2129 (Vchar_attribute_hash_table): New external variable.
2130 (struct Lisp_Charset): Delete `encoding_table'.
2131 (CHARSET_ENCODING_TABLE): New implementation; refer
2132 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2135 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2137 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2140 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2142 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2145 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2147 * chartab.c (uint8_byte_table_description): New constant.
2148 (uint8-byte-table): Use `uint8_byte_table_description'.
2149 (uint16_byte_table_description): New constant.
2150 (uint16-byte-table): Use `uint16_byte_table_description'.
2152 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2154 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2155 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2157 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2159 * mule-charset.c (Vcharset_ucs_ks): New variable.
2160 (Qucs_ks): New variable.
2161 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2162 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2164 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2166 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2168 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2169 (Fdecode_char): Likewise.
2171 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2173 (Fdefine_char): Modify for Fdecode_char.
2174 (Ffind_char): Likewise.
2176 * mule-charset.c (Fdecode_char): Add new optional argument
2178 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2180 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2182 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2183 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2184 (allocate_coding_system): Initialize initial-charsets of
2185 CODESYS_BIG5 in XEmacs UTF-2000.
2186 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2187 CODESYS_BIG5 in XEmacs UTF-2000.
2188 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2189 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2191 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2193 (Qideograph_hanziku_{1 .. 12}): Likewise.
2194 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2196 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2197 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2198 `ideograph-hanziku-{1 .. 12}'.
2200 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2201 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2202 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2203 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2204 (DECODE_DEFINED_CHAR): New inline function.
2205 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2207 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2209 * mule-charset.c (Vcharset_china3_jef): Renamed from
2210 `Vcharset_japanese_jef_china3'.
2211 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2212 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2213 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2214 (syms_of_mule_charset): Rename `china3-jef' from
2215 `japanese-jef-china3'.
2216 (complex_vars_of_mule_charset): Likewise; rename
2217 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2219 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2220 `LEADING_BYTE_JEF_CHINA3'.
2221 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2222 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2224 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2226 * mule-charset.c (encode_builtin_char_1): Comment out special code
2227 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2229 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2230 (MAX_CHAR_MOJIKYO_0): Comment out.
2231 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2232 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2233 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2234 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2236 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2238 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2239 (Qideograph_cbeta): New variable.
2240 (encode_builtin_char_1): Comment out special code for
2241 coded-charset `mojikyo' and `japanese-jef-china3'.
2242 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2243 (complex_vars_of_mule_charset): Add new coded-charset
2246 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2247 (MIN_CHAR_CBETA): New macro.
2248 (MAX_CHAR_CBETA): New macro.
2250 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2252 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2253 (LEADING_BYTE_JEF_CHINA3): New macro.
2254 (MIN_CHAR_JEF_CHINA3): New macro.
2255 (MAX_CHAR_JEF_CHINA3): Likewise.
2256 (DECODE_CHAR): Fixed.
2258 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2260 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2261 (Qjapanese_jef_china3): New variable.
2262 (encode_builtin_char_1): Support `japanese-jef-china3'.
2263 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2264 (complex_vars_of_mule_charset): Add new coded-charset
2265 `japanese-jef-china3'.
2267 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2269 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2270 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2271 94^4, 96^3, 96^4, 128^n and 256^n set.
2272 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2273 (map_char_table): Likewise.
2275 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2277 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2280 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2282 * chartab.h (get_char_id_table): New inline function.
2284 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2287 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2289 * chartab.h (decode_char_table_range): New prototype in XEmacs
2291 (put_char_id_table): New inline function in XEmacs UTF-2000.
2293 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2295 (decode_char_table_range): Delete static declaration in XEmacs
2298 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2300 * chartab.c (put_char_id_table): Use `put_char_table'.
2302 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2304 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2305 (map_over_uint16_byte_table): Likewise.
2306 (map_over_byte_table): Likewise.
2307 (map_char_table): Modify for `map_over_uint8_byte_table',
2308 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2311 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2313 * chartab.c (struct map_char_table_for_charset_arg): New
2315 (map_char_table_for_charset_fun): New function.
2316 (map_char_table): Use `map_char_table' for encoding_table of
2319 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2321 * chartab.c (map_char_table): Check a character is found in
2322 range->charset instead of non default value is defined in
2323 char-table when range is CHARTAB_RANGE_ROW.
2325 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2327 * chartab.c (map_char_id_table): Deleted.
2328 (Fmap_char_attribute): Use `map_char_table' instead of
2329 `map_char_id_table'.
2331 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2333 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2335 (update_syntax_table): Deleted in XEmacs UTF-2000.
2337 * syntax.c (find_defun_start): Use `syntax_table' instead of
2338 `mirror_syntax_table' in XEmacs UTF-2000.
2339 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2341 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2343 (Fmatching_paren): Likewise.
2344 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2346 (find_start_of_comment): Likewise.
2347 (find_end_of_comment): Likewise.
2348 (Fforward_comment): Likewise.
2349 (scan_lists): Likewise.
2350 (char_quoted): Likewise.
2351 (Fbackward_prefix_chars): Likewise.
2352 (scan_sexps_forward): Likewise.
2353 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2354 (update_syntax_table): Likewise.
2356 * search.c (skip_chars): Use `syntax_table' instead of
2357 `mirror_syntax_table' in XEmacs UTF-2000.
2358 (wordify): Likewise.
2359 (Freplace_match): Likewise.
2361 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2362 `mirror_syntax_table' in XEmacs UTF-2000.
2363 (WORDCHAR_P_UNSAFE): Likewise.
2364 (re_match_2_internal): Likewise.
2366 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2367 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2369 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2370 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2372 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2375 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2377 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2378 (char_table_description): Delete `mirror_table' in XEmacs
2380 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2382 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2383 (Fcopy_char_table): Likewise.
2384 (put_char_table): Don't call `update_syntax_table' in XEmacs
2387 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2388 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2389 (casify_region_internal): Likewise.
2391 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2393 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2394 `mirror_syntax_table' in XEmacs UTF-2000.
2396 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2397 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2398 (Fexpand_abbrev): Likewise.
2400 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2402 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2404 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2406 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2407 (map_over_uint16_byte_table): Likewise.
2408 (map_over_byte_table): Likewise.
2409 (get_char_id_table): Refer `cit->default_value'.
2410 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2411 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2412 of character-id ranges.
2413 (mark_char_table): Mark `ct->default_value'.
2414 (char_table_description): Add `default_value'.
2415 (fill_char_table): Use `default_value'.
2416 (decode_char_table_range): Decode `nil' as
2417 `CHARTAB_RANGE_DEFAULT'.
2418 (get_char_id_table): Refer `cit->default_value'.
2419 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2420 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2421 temporary hack; check value of char-table is bound or not.
2422 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2424 * chartab.h (struct Lisp_Char_Table): Add new member
2425 `default_value' in XEmacs UTF-2000.
2426 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2427 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2430 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2432 * chartab.h (Lisp_Char_ID_Table): Deleted.
2434 * chartab.c (char_table_description): Fix typo.
2435 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2436 `Lisp_Char_ID_Table'.
2438 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2440 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2443 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2446 * chartab.h (XCHAR_ID_TABLE): Deleted.
2447 (XSETCHAR_ID_TABLE): Deleted.
2448 (CHAR_ID_TABLE_P): Deleted.
2450 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2452 (Fget_composite_char): Likewise.
2453 (put_char_table): Likewise.
2454 (add_char_attribute_alist_mapper): Fixed.
2455 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2457 (Fget_char_attribute): Likewise.
2458 (Fget_char_attribute): Likewise.
2459 (Fmap_char_attribute): Likewise.
2461 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2463 (encode_char_1): Likewise.
2465 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2467 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2470 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2471 instead of `XCHAR_ID_TABLE'.
2472 (remove_char_ccs): Likewise.
2474 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2476 (Fget_composite_char): Likewise.
2477 (Fchar_variants): Likewise.
2478 (put_char_table): Likewise.
2479 (add_char_attribute_alist_mapper): Likewise.
2480 (Fchar_attribute_alist): Likewise.
2481 (Fget_char_attribute): Likewise.
2482 (Fput_char_attribute): Likewise.
2483 (Fmap_char_attribute): Likewise.
2484 (Fmap_char_attribute): Likewise.
2486 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2488 (encode_char_1): Likewise.
2490 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2492 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2493 `Lisp_Char_ID_Table'.
2494 (mark_char_id_table): Deleted.
2495 (print_char_id_table): Likewise.
2496 (char_id_table_equal): Likewise.
2497 (char_id_table_hash): Likewise.
2498 (char_id_table_description): Likewise.
2499 (char_id_table): Likewise.
2500 (make_char_id_table): Use `Fmake_char_table' and
2502 (get_char_id_table): Use `Lisp_Char_Table' instead of
2503 `Lisp_Char_ID_Table'.
2504 (put_char_id_table): Likewise.
2505 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2507 (Fremove_char_attribute): Likewise.
2508 (syms_of_chartab): Don't define type `char-id-table'.
2510 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2511 (char_id_table): Likewise.
2512 (GC_CHAR_ID_TABLE_P): Likewise.
2513 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2514 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2515 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2516 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2517 (get_char_id_table): Use `Lisp_Char_Table' instead of
2518 `Lisp_Char_ID_Table'.
2519 (put_char_id_table_0): Likewise.
2520 (put_char_id_table): Likewise.
2522 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2524 * chartab.h: Lisp_Byte_Table related codes are moved from
2527 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2529 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2531 * chartab.h: Don't include "chartab.h".
2532 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2533 (Lisp_Char_ID_Table): Likewise.
2534 (char_id_table): Likewise.
2535 (XCHAR_ID_TABLE): Likewise.
2536 (XSETCHAR_ID_TABLE): Likewise.
2537 (CHAR_ID_TABLE_P): Likewise.
2538 (GC_CHAR_ID_TABLE_P): Likewise.
2539 (get_char_id_table): Likewise.
2541 * char-ucs.h: Include "chartab.h".
2542 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2543 (Lisp_Char_ID_Table): Likewise.
2544 (char_id_table): Likewise.
2545 (XCHAR_ID_TABLE): Likewise.
2546 (XSETCHAR_ID_TABLE): Likewise.
2547 (CHAR_ID_TABLE_P): Likewise.
2548 (GC_CHAR_ID_TABLE_P): Likewise.
2549 (get_char_id_table): Likewise.
2551 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2553 * chartab.c (copy_uint8_byte_table): New function.
2554 (copy_uint16_byte_table): New function.
2555 (copy_byte_table): New function.
2556 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2558 (map_over_uint16_byte_table): Likewise.
2559 (map_over_byte_table): Likewise.
2560 (get_byte_table): Move prototype to chartab.h.
2561 (put_byte_table): Likewise.
2562 (put_char_id_table_0): Moved to chartab.h.
2563 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2564 (char_table_entry_equal): Likewise.
2565 (char_table_entry_hash): Likewise.
2566 (char_table_entry_description): Likewise.
2567 (char_table_entry): Likewise.
2568 (make_char_table_entry): Likewise.
2569 (copy_char_table_entry): Likewise.
2570 (get_non_ascii_char_table_value): Likewise.
2571 (map_over_charset_ascii): Likewise.
2572 (map_over_charset_control_1): Likewise.
2573 (map_over_charset_row): Likewise.
2574 (map_over_other_charset): Likewise.
2575 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2576 (print_char_table): Likewise.
2577 (char_table_equal): Likewise.
2578 (char_table_hash): Likewise.
2579 (char_table_description): Likewise.
2580 (fill_char_table): Likewise.
2581 (Fcopy_char_table): Likewise.
2582 (get_char_table): Likewise.
2583 (Fget_range_char_table): Likewise.
2584 (put_char_table): Likewise.
2585 (map_char_table): Likewise.
2586 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2589 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2591 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2592 `Vauto_fill_chars' in XEmacs UTF-2000.
2594 * chartab.h (get_byte_table): New prototype [moved from
2596 (put_byte_table): Likewise [moved from chartab.c].
2597 (put_char_id_table_0): New inline function [moved from chartab.c].
2598 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2599 (Lisp_Char_Table_Entry): Likewise.
2600 (char_table_entry): Likewise.
2601 (XCHAR_TABLE_ENTRY): Likewise.
2602 (XSETCHAR_TABLE_ENTRY): Likewise.
2603 (CHAR_TABLE_ENTRYP): Likewise.
2604 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2605 (NUM_ASCII_CHARS): Likewise.
2606 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2607 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2609 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2611 * chartab.c (get_char_id_table): Change interface.
2612 (put_char_id_table_0): New function.
2613 (put_char_id_table): Change interface; new implementation.
2614 (Fget_composite_char): Modify for interface change of
2615 `get_char_id_table'.
2616 (Fchar_variants): Likewise.
2617 (add_char_attribute_alist_mapper): Likewise.
2618 (Fchar_attribute_alist): Likewise.
2619 (Fget_char_attribute): Likewise.
2620 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2621 as same as character as the first argument like `put-char-table';
2622 modify for interface change of `put_char_id_table'.
2623 (Fremove_char_attribute): Modify for interface change of
2624 `put_char_id_table'.
2626 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2628 * text-coding.c: Sync up with XEmacs 21.2.41.
2629 (COMPOSE_ADD_CHAR): Modify for interface change of
2630 `get_char_id_table'.
2632 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2633 change of `put_char_id_table'.
2634 (remove_char_ccs): Likewise.
2636 * chartab.h (put_char_id_table): Change interface.
2638 * char-ucs.h (get_char_id_table): Change interface.
2639 (charset_code_point): Modify for interface change of
2640 `get_char_id_table'.
2641 (encode_char_1): Likewise.
2643 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2645 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2647 (map_over_uint16_byte_table): Likewise.
2648 (map_over_byte_table): Likewise.
2649 (map_char_id_table): Add new argument `range' like
2651 (Fmap_char_attribute): Add new argument `range' like
2654 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2656 * chartab.c (map_over_uint8_byte_table): Change interface of
2657 mapping function to use struct chartab_range instead of Emchar.
2658 (map_over_uint16_byte_table): Likewise.
2659 (map_over_byte_table): Likewise.
2660 (map_char_id_table): Likewise.
2661 (struct slow_map_char_id_table_arg): Deleted.
2662 (slow_map_char_id_table_fun): Deleted.
2663 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2664 function `slow_map_char_table_fun' instead of struct
2665 `slow_map_char_id_table_arg' and function
2666 `slow_map_char_id_table_fun'.
2668 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2670 * mule-charset.c: Move char-it-table related codes to chartab.c.
2671 (Vutf_2000_version): Moved to chartab.c.
2672 (Fdefine_char): Likewise.
2673 (Ffind_char): Likewise.
2674 (syms_of_mule_charset): Move types `uint8-byte-table',
2675 `uint16-byte-table', `byte-table' and `char-id-table' to
2676 chartab.c; move functions `char_attribute_list,
2677 `find_char_attribute_table, `char_attribute_alist,
2678 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2679 `map_char_attribute, `define_char, `find_char, `char_variants and
2680 `get_composite_char to chartab.c; move symbols `=>ucs',
2681 `->decomposition', `compat', `isolated', `initial', `medial',
2682 `final', `vertical', `noBreak', `fraction', `super', `sub',
2683 `circle', `square', `wide', `narrow', `small' and `font' to
2685 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2686 setting codes for `Vcharacter_composition_table' and
2687 `Vcharacter_variant_table' to chartab.c.
2688 (complex_vars_of_mule_charset): Move setting code for
2689 `Vchar_attribute_hash_table' to chartab.c.
2691 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2692 (make_char_id_table): New prototype.
2693 (put_char_id_table): Likewise.
2694 (Fget_char_attribute): Likewise.
2696 * chartab.c: Move char-id-table related code from mule-charset.c.
2697 (Vutf_2000_version): Moved from mule-charset.c.
2699 * char-ucs.h (Qucs): New external variable.
2700 (put_char_ccs_code_point): New prototype.
2701 (remove_char_ccs): Likewise.
2703 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2705 * mule-charset.c (Vcharset_ucs_jis): New variable.
2706 (Qucs_jis): Likewise.
2707 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2708 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2710 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2712 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2714 * mule-charset.c (map_over_uint8_byte_table): New function.
2715 (map_over_uint16_byte_table): Likewise.
2716 (map_over_byte_table): Likewise.
2717 (map_char_id_table): Likewise.
2718 (slow_map_char_id_table_fun): Likewise.
2719 (Fmap_char_attribute): Likewise.
2720 (syms_of_mule_charset): Add new function `map-char-attribute'.
2722 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2724 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2725 (syms_of_mule_charset): Add new function `find-char'.
2727 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2729 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2731 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2732 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2734 (complex_vars_of_mule_charset): Add new coded-charset
2735 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2736 `ideograph-gt-pj-*'.
2738 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2740 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2742 * mule-charset.c (encode_builtin_char_1): Purge codes about
2743 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2744 {MIN|MAX}_CHAR_HEBREW.
2745 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2746 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2748 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2749 (MAX_CHAR_GREEK): Purged.
2750 (MIN_CHAR_CYRILLIC): Purged.
2751 (MAX_CHAR_CYRILLIC): Purged.
2752 (MIN_CHAR_HEBREW): Commented out.
2753 (MAX_CHAR_HEBREW): Likewise.
2755 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2757 * mule-charset.c (Qto_ucs): New variable.
2758 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2759 (Fdefine_char): Likewise.
2760 (syms_of_mule_charset): Add new symbol `=>ucs'.
2762 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2764 * mule-charset.c (Fdecode_char): Fixed.
2766 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2768 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2769 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2772 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2774 * mule-charset.c (Vcharset_ucs_big5): New variable.
2775 (Qucs_big5): Likewise.
2776 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2777 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2779 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2781 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2783 * mule-charset.c (decode_builtin_char): Check Big5 code range
2784 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2786 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2788 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2789 (Qchinese_gb12345): Likewise.
2790 (Fdecode_builtin_char): Fixed.
2791 (syms_of_mule_charset): Add `chinese-gb12345'.
2792 (complex_vars_of_mule_charset): Add coded-charset
2795 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2796 (LEADING_BYTE_CHINESE_GB12345): New macro.
2798 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2800 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2801 and `latin-viscii-upper' for `latin-viscii'.
2803 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2805 * mule-charset.c (Fdecode_builtin_char): Comment out
2806 regularization code for ISO-IR GR representation.
2808 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2810 * mule-charset.c (decode_builtin_char): New function; renamed from
2811 `make_builtin_char'; return -1 instead of signal.
2812 (Fdecode_builtin_char): Use `decode_builtin_char'.
2814 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2815 `make_builtin_char'.
2816 (DECODE_CHAR): Use `decode_builtin_char' instead of
2817 `make_builtin_char'; use mapping table of `chinese-big5' for
2818 `chinese-big5-{1,2}'.
2820 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2822 * text-coding.c (char_encode_big5): New function.
2823 (char_finish_big5): Likewise.
2824 (reset_encoding_stream): Use `char_encode_big5' and
2825 `char_finish_big5' for CODESYS_BIG5.
2826 (mule_encode): Don't use `encode_coding_big5'.
2827 (encode_coding_big5): Deleted.
2829 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2831 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2832 0x81- in XEmacs UTF-2000.
2833 (detect_coding_big5): Likewise.
2835 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2837 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2838 generate character-id if the CCS property does not have
2839 corresponding predefined character.
2840 (make_builtin_char): Return -1 if corresponding predefined
2841 character is not found.
2842 (Fdecode_char): Return nil if corresponding character is not
2844 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2845 don't map to builtin ucs space.
2847 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2849 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2850 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2852 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2854 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2855 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2856 (Qideograph_gt): Likewise.
2857 (Qideograph_gt_pj_{1..11}): Likewise.
2858 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2859 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2860 `ideograph-gt-pj-11'.
2861 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2862 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2863 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2865 * char-ucs.h (LEADING_BYTE_GT): New macro.
2866 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2867 (MIN_CHAR_GT): Likewise.
2868 (MAX_CHAR_GT): Likewise.
2870 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2872 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2873 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2875 * doprnt.c (unsigned_int_converters): Add `c'.
2876 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2878 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2879 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2881 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2882 (MAX_CHAR_MOJIKYO_0): New macro.
2883 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2885 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2887 * mule-charset.c (Fdefine_char): Delete cemented out code.
2888 (encode_builtin_char_1): Modify for new allocation of builtin
2891 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2893 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2895 * mule-charset.c (Vcharset_ucs_cns): New variable.
2896 (Qucs_cns): New variable.
2897 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2898 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2900 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2902 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2904 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2906 * search.c (search_buffer): Make `charset_base_code' as
2907 character-id >> 6 to eliminate the corresponding last byte in
2908 UTF-8 representation [I'm not sure it is right thing].
2909 (boyer_moore): Likewise.
2911 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2913 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2914 representation in MULE.
2916 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2918 * text-coding.c (Fmake_coding_system): Use
2919 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2920 `EXTERNAL_PROPERTY_LIST_LOOP'.
2922 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2924 * text-coding.c (decode_output_utf8_partial_char): New function.
2925 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2927 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2929 * text-coding.c (decode_coding_utf8): Output original byte
2930 sequence if it is broken; change order of conditions.
2932 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2935 * mb-multibyte.h (BYTE_ASCII_P):
2936 Use bit ops for char-signedness safety.
2937 (BYTE_C0_P): Use bit ops for char-signedness safety.
2938 (BYTE_C1_P): Use bit ops for char-signedness safety.
2940 * character.h: (XCHAR_OR_CHAR_INT):
2941 Always use inline function.
2942 Remove redundant type checking assert() - XINT will abort quite
2945 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2947 * text-coding.c: (Fencode_shift_jis_char):
2948 (Fencode_big5_char):
2949 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2950 Replace 0 with '\0' when working with bytes.
2951 Replace initial "(" with "\(" in docstrings.
2953 (Fmake_coding_system):
2954 When type is ccl and value is vector, register it with a proper
2955 symbol. And checks whether the given ccl program is valid.
2956 (mule_decode): When calling ccl_driver, if src indicates
2957 NULL pointer, set an empty string instead.
2958 (mule_encode): Likewise.
2961 (detect_coding_sjis):
2962 (decode_coding_sjis):
2963 (detect_coding_big5):
2964 (decode_coding_big5):
2965 (detect_coding_ucs4):
2966 (decode_coding_ucs4):
2967 (detect_coding_utf8):
2968 (decode_coding_utf8):
2969 (detect_coding_iso2022):
2970 (decode_coding_iso2022):
2971 (decode_coding_no_conversion):
2973 Make all detecting and decoding functions take an Extbyte * arg.
2974 (text_encode_generic):
2975 (encode_coding_big5):
2976 (encode_coding_no_conversion):
2978 Make all encoding functions take a Bufbyte * arg.
2979 Use size_t instead of unsigned int for memory sizes.
2980 Only cast to unsigned char whenever dereferencing Extbyte *.
2982 (struct lrecord_description fcd_description_1): Use countof.
2983 (complex_vars_of_file_coding):
2984 Use countof instead of sizeof.
2985 Use CHECK_NATNUM instead of CHECK_INT.
2987 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2989 * mule-charset.c (Fget_char_attribute): Add new optional argument
2991 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2992 (remove_char_ccs): Likewise.
2994 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2996 * text-coding.c (char_encode_shift_jis): New implementation in
2998 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3001 * mule-charset.c (Vcharset_chinese_big5): New variable in
3003 (Qchinese_big5): New variable in UTF-2000.
3004 (BIG5_SAME_ROW): New macro in UTF-2000.
3005 (make_builtin_char): Use builtin characters of
3006 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3007 characters of `Vcharset_chinese_big5'.
3008 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3009 (complex_vars_of_mule_charset): Add new coded-charset
3010 `chinese-big5' in UTF-2000.
3012 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3013 (Vcharset_chinese_big5): New external variable declaration.
3014 (Vcharset_japanese_jisx0208_1990): Likewise.
3016 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3018 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3020 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3022 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3024 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3025 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3026 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3029 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3031 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3033 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3035 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3038 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3040 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3041 for `CHARSET_BY_ATTRIBUTES'.
3042 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3043 `CHARSET_BY_ATTRIBUTES'.
3045 * text-coding.c (struct decoding_stream): Rename member `CH' to
3047 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3048 (decode_coding_sjis): Likewise.
3049 (decode_coding_big5): Likewise.
3050 (decode_coding_ucs4): Likewise.
3051 (decode_coding_utf8): Likewise.
3052 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3053 `CHARSET_BY_ATTRIBUTES'.
3054 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3055 `str->counter'; decode 3, 4 bytes sets.
3056 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3058 (decode_coding_no_conversion): Use `str->cpos' instead of
3061 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3062 (Qmojikyo_2022_1): New variable.
3063 (make_charset): Don't use `CHARSET_TYPE_*'.
3064 (range_charset_code_point): Support coded-charset
3066 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3067 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3068 `CHARSET_BY_ATTRIBUTES'.
3069 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3070 `CHARSET_BY_ATTRIBUTES'.
3071 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3072 (complex_vars_of_mule_charset): Add new coded-charset
3075 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3076 interface; changed to inline function.
3078 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3079 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3080 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3081 (CHARSET_TYPE_94): Deleted.
3082 (CHARSET_TYPE_94X94): Deleted.
3083 (CHARSET_TYPE_96): Deleted.
3084 (CHARSET_TYPE_96X96): Deleted.
3085 (CHARSET_TYPE_128): Deleted.
3086 (CHARSET_TYPE_128X128): Deleted.
3087 (CHARSET_TYPE_256): Deleted.
3088 (CHARSET_TYPE_256X256): Deleted.
3089 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3091 (DECODE_MOJIKYO_2022): New inline function.
3092 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3093 `Vcharset_mojikyo_2022_1'.
3095 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3097 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3099 (put_byte_table): Likewise.
3100 (char_id_table_equal): Use `get_byte_table' [new implementation].
3102 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3104 * mule-charset.c: Include <limits.h> in UTF-2000.
3105 (BT_UINT8_MIN): New macro in UTF-2000.
3106 (BT_UINT8_MAX): New macro in UTF-2000.
3107 (BT_UINT8_t): New macro in UTF-2000.
3108 (BT_UINT8_nil): New macro in UTF-2000.
3109 (BT_UINT8_unbound): New macro in UTF-2000.
3110 (INT_UINT8_P): New inline function in UTF-2000.
3111 (UINT8_VALUE_P): New inline function in UTF-2000.
3112 (UINT8_ENCODE): New inline function in UTF-2000.
3113 (UINT8_DECODE): New inline function in UTF-2000.
3114 (mark_uint8_byte_table): New function in UTF-2000.
3115 (print_uint8_byte_table): New function in UTF-2000.
3116 (uint8_byte_table_equal): New function in UTF-2000.
3117 (uint8_byte_table_hash): New function in UTF-2000.
3118 (make_uint8_byte_table): New function in UTF-2000.
3119 (uint8_byte_table_same_value_p): New function in UTF-2000.
3120 (BT_UINT16_MIN): New macro in UTF-2000.
3121 (BT_UINT16_MAX): New macro in UTF-2000.
3122 (BT_UINT16_t): New macro in UTF-2000.
3123 (BT_UINT16_nil): New macro in UTF-2000.
3124 (BT_UINT16_unbound): New macro in UTF-2000.
3125 (INT_UINT16_P): New inline function in UTF-2000.
3126 (UINT16_VALUE_P): New inline function in UTF-2000.
3127 (UINT16_ENCODE): New inline function in UTF-2000.
3128 (UINT16_DECODE): New inline function in UTF-2000.
3129 (UINT8_TO_UINT16): New inline function in UTF-2000.
3130 (mark_uint16_byte_table): New function in UTF-2000.
3131 (print_uint16_byte_table): New function in UTF-2000.
3132 (uint16_byte_table_equal): New function in UTF-2000.
3133 (uint16_byte_table_hash): New function in UTF-2000.
3134 (make_uint16_byte_table): New function in UTF-2000.
3135 (uint16_byte_table_same_value_p): New function in UTF-2000.
3136 (print_byte_table): New function in UTF-2000.
3137 (byte-table): Use `print_byte_table' as printer.
3138 (make_byte_table): Delete second argument `older'.
3139 (byte_table_same_value_p): New function in UTF-2000.
3140 (copy_byte_table): Deleted.
3141 (get_byte_table): New function in UTF-2000.
3142 (put_byte_table): New function in UTF-2000.
3143 (print_char_id_table): New function in UTF-2000.
3144 (char-id-table): Use `print_char_id_table' as printer.
3145 (make_char_id_table): Delete second argument `older'.
3146 (get_char_id_table): Use `get_byte_table [new implementation].
3147 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3149 (Ffind_char_attribute_table): New function in UTF-2000.
3150 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3151 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3152 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3153 (syms_of_mule_charset): Add new function
3154 `find-char-attribute-table' in UTF-2000.
3156 * lrecord.h (enum lrecord_type): Add
3157 `lrecord_type_uint16_byte_table' and
3158 `lrecord_type_uint8_byte_table'.
3160 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3161 (Lisp_Uint8_Byte_Table): New type.
3162 (XUINT8_BYTE_TABLE): New macro.
3163 (XSETUINT8_BYTE_TABLE): New macro.
3164 (UINT8_BYTE_TABLE_P): New macro.
3165 (GC_UINT8_BYTE_TABLE_P): New macro.
3166 (struct Lisp_Uint16_Byte_Table): New structure.
3167 (Lisp_Uint16_Byte_Table): New type.
3168 (XUINT16_BYTE_TABLE): New macro.
3169 (XSETUINT16_BYTE_TABLE): New macro.
3170 (UINT16_BYTE_TABLE_P): New macro.
3171 (GC_UINT16_BYTE_TABLE_P): New macro.
3173 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3175 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3176 (Vcharacter_ideographic_strokes_table): Deleted.
3177 (Vcharacter_total_strokes_table): Deleted.
3178 (Vcharacter_morohashi_daikanwa_table): Deleted.
3179 (Vcharacter_decomposition_table): Deleted.
3180 (Qname): Deleted because it is duplicated.
3181 (Qideographic_radical): Deleted.
3182 (Qideographic_strokes): Deleted.
3183 (Qtotal_strokes): Deleted.
3184 (Qmorohashi_daikanwa): Deleted.
3185 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3186 `ideographic-radical', `ideographic-strokes', `total-strokes',
3187 `morohashi-daikanwa' and `->decomposition'.
3188 (Fget_char_attribute): Likewise.
3189 (Fput_char_attribute): Likewise; use `make-vector' instead of
3190 `make_older_vector' for `->decomposition' value.
3191 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3192 `ideograph-daikanwa'.
3193 (syms_of_mule_charset): Delete builtin symbols `name',
3194 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3195 `morohashi-daikanwa'.
3196 (vars_of_mule_charset): Don't setup
3197 `Vcharacter_ideographic_radical_table',
3198 `Vcharacter_ideographic_strokes_table',
3199 `Vcharacter_total_strokes_table',
3200 `Vcharacter_morohashi_daikanwa_table' and
3201 `Vcharacter_decomposition_table'.
3203 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3205 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3206 `make_older_vector', `make_vector_newer_1' and
3207 `make_vector_newer'.
3209 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3210 `make_older_vector' and `make_vector_newer'.
3212 * config.h.in (HAVE_GGC): New macro.
3214 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3216 * mule-charset.c (struct char_attribute_list_closure): New
3217 structure in UTF-2000.
3218 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3219 (Fchar_attribute_list): Likewise.
3220 (Fset_charset_mapping_table): Use `make_vector_newer'.
3221 (Fdecode_builtin_char): New function in UTF-2000.
3222 (syms_of_mule_charset): Add new function `char-attribute-list' and
3223 `decode-builtin-char' in UTF-2000.
3225 * lisp.h (make_vector_newer): New prototype.
3227 * alloc.c (make_vector_newer_1): New function.
3228 (make_vector_newer): New function.
3230 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3232 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3235 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3237 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3238 (Vcharacter_attribute_table): Deleted.
3239 (Vcharacter_name_table): Deleted.
3240 (put_char_attribute): Deleted.
3241 (remove_char_attribute): Deleted.
3242 (struct char_attribute_alist_closure): New structure.
3243 (add_char_attribute_alist_mapper): New function.
3244 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3245 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3246 (Fget_char_attribute): Likewise.
3247 (Fput_char_attribute): Likewise.
3248 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3249 of `remove_char_attribute'.
3250 (Fdefine_char): Return character.
3251 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3252 and `Vcharacter_name_table'.
3253 (complex_vars_of_mule_charset): Likewise
3254 `Vchar_attribute_hash_table'.
3256 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3258 * character.h (CHARC_CHARSET): New macro.
3259 (CHARC_CHARSET_ID): New macro.
3260 (CHARC_CODE_POINT): New macro.
3261 (CHARC_COLUMNS): New macro.
3262 (CHARC_TO_CHAR): New inline function.
3263 (CHARC_EQ): New inline function.
3264 (CHARC_ASCII_EQ): New inline function.
3265 (CHARC_IS_SPACE): New inline function.
3266 (ASCII_TO_CHARC): New inline function.
3268 * char-ucs.h (encode_char_2): Deleted.
3269 (ENCODE_CHAR): Use `encode_char_1' again.
3270 (breakup_char_1): Likewise.
3271 (CHAR_TO_CHARC): New inline function.
3273 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3275 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3277 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3278 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3279 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3280 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3281 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3283 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3285 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3287 (x_output_display_block): Use `CHARC_CHARSET' and
3290 * redisplay-tty.c (tty_output_display_block): Use
3292 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3294 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3296 * insdel.c (find_charsets_in_charc_string): Use
3298 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3299 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3300 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3301 (convert_charc_string_into_malloced_string): Likewise.
3303 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3305 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3306 instead of <Emchar_dynarr *> for buf; use
3307 `convert_bufbyte_string_into_charc_dynarr' instead of
3308 `convert_bufbyte_string_into_emchar_dynarr'; use
3309 `find_charsets_in_charc_string' instead of
3310 `find_charsets_in_emchar_string'.
3313 - Include "character.h".
3314 (struct rune): New member `cglyph'; delete member `chr'.
3316 * redisplay.c (redisplay_text_width_charc_string): New function;
3317 delete `redisplay_text_width_emchar_string'.
3318 (rtw_charc_dynarr): New variable; renamed from
3319 `rtw_emchar_dynarr'.
3320 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3321 `rtw_emchar_dynarr'; use
3322 `convert_bufbyte_string_into_charc_dynarr' instead of
3323 `convert_bufbyte_string_into_emchar_dynarr'; use
3324 `redisplay_text_width_charc_string' instead of
3325 `redisplay_text_width_emchar_string'.
3326 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3327 instead of `rtw_emchar_dynarr'; use
3328 `convert_bufbyte_string_into_charc_dynarr' instead of
3329 `convert_bufbyte_string_into_emchar_dynarr'.
3330 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3331 `redisplay_text_width_charc_string' instead of
3332 `redisplay_text_width_emchar_string'.
3333 (create_text_block): Modify for <struct rune> change.
3334 (generate_formatted_string_db): Likewise.
3335 (create_string_text_block): Likewise.
3336 (pixel_to_glyph_translation): Likewise.
3338 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3339 instead of <const Emchar *>.
3340 (x_text_width): Likewise.
3341 (x_output_display_block): Use <Charc_dynarr *> instead
3342 <Emchar_dynarr *>; modify for <structure rune> change.
3343 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3346 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3347 <const Emchar *>; use `charc_string_displayed_columns' instead of
3348 `emchar_string_displayed_columns'.
3349 (tty_output_display_block): Use <Charc_dynarr *> instead of
3350 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3351 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3352 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3353 `tty_output_emchar_dynarr_dynarr'.
3354 (tty_output_charc_dynarr): New function; delete
3355 `tty_output_charc_dynarr'.
3357 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3358 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3359 <Emchar_dynarr *> for buf; use
3360 `convert_bufbyte_string_into_charc_dynarr' instead of
3361 `convert_bufbyte_string_into_emchar_dynarr'.
3363 * frame.c (title_string_charc_dynarr): New variable; renamed from
3364 `title_string_emchar_dynarr'.
3365 (generate_title_string): Use `title_string_charc_dynarr' instead
3366 of `title_string_emchar_dynarr'; use
3367 `convert_charc_string_into_malloced_string' instead of
3368 `convert_emchar_string_into_malloced_string'.
3369 (init_frame): Use `title_string_charc_dynarr' instead of
3370 `title_string_emchar_dynarr'.
3373 - Include "character.h".
3374 (struct console_methods): Use <const Charc *> instead of <const
3375 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3376 <Emchar_dynarr *> in output_string_method.
3378 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3381 * console-stream.c (stream_text_width): Use <const Charc *>
3382 instead of <const Emchar *>.
3384 * character.h (Charc_dynarr): New type.
3386 * char-ucs.h (structure Charc): New structure; define new type
3389 * char-lb.h (DECODE_CHAR): New inline function.
3390 (encode_char_1): New inline function.
3391 (ENCODE_CHAR): New macro.
3392 (structure Charc): New structure; define new type `Charc'.
3394 * char-1byte.h (Vcharset_control_1): New macro.
3395 (Vcharset_latin_iso8859_1): New macro.
3396 (DECODE_CHAR): New inline function.
3397 (encode_char_1): New inline function.
3398 (ENCODE_CHAR): New macro.
3399 (structure Charc): New structure; define new type `Charc'.
3401 * insdel.c (find_charsets_in_charc_string): New function; delete
3402 `find_charsets_in_emchar_string'.
3403 (charc_string_displayed_columns): New function; delete
3404 `emchar_string_displayed_columns'.
3405 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3406 `convert_bufbyte_string_into_emchar_dynarr'.
3407 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3408 `convert_charc_string_into_bufbyte_dynarr'.
3409 (convert_charc_string_into_malloced_string): New function; delete
3410 `convert_charc_string_into_malloced_string'.
3412 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3413 `find_charsets_in_emchar_string'.
3414 (charc_string_displayed_columns): New prototype; delete
3415 `emchar_string_displayed_columns'.
3416 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3417 `convert_charc_string_into_bufbyte_dynarr'.
3418 (convert_charc_string_into_malloced_string): New prototype; delete
3419 `convert_charc_string_into_malloced_string'.
3421 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3423 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3425 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3427 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3429 * char-ucs.h: Use <short> for <Charset_ID>.
3431 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3434 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3436 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3439 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3441 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3443 (Qmorohashi_daikanwa): New variable.
3444 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3445 for `morohashi-daikanwa' attribute.
3446 (Fget_char_attribute): Likewise.
3447 (Fput_char_attribute): Likewise.
3448 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3449 has the same value of `ideograph-daikanwa'.
3450 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3451 (vars_of_mule_charset): Setup
3452 `Vcharacter_morohashi_daikanwa_table'.
3454 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3456 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3458 (add_charset_to_list_mapper): Add `key' instead of
3459 `XCHARSET_NAME (value)' to return aliases.
3461 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3463 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3465 (Vcharacter_ideographic_strokes_table): New variable.
3466 (Qideographic_radical): New variable.
3467 (Qideographic_strokes): New variable.
3468 (Fchar_attribute_alist): Use
3469 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3470 attribute; use `Vcharacter_ideographic_strokes_table' for
3471 `ideographic-strokes' attribute.
3472 (Fget_char_attribute): Likewise.
3473 (Fput_char_attribute): Likewise.
3474 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3475 `ideographic-strokes'.
3476 (vars_of_mule_charset): Setup
3477 `Vcharacter_ideographic_radical_table' and
3478 `Vcharacter_ideographic_strokes_table'.
3480 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3482 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3483 (Qtotal_strokes): New variable.
3484 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3485 `total-strokes' attribute.
3486 (Fget_char_attribute): Likewise.
3487 (Fput_char_attribute): Likewise.
3488 (syms_of_mule_charset): Add new symbol `total-strokes'.
3489 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3491 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3493 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3494 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3496 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3497 `->decomposition' attribute.
3498 (Fput_char_attribute): Likewise.
3499 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3501 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3503 * mule-charset.c (decoding_table_check_elements): New function.
3504 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3506 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3508 * mule-charset.c (Fset_charset_mapping_table): Use
3509 `put_char_ccs_code_point'.
3511 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3513 * mule-charset.c (decoding_table_put_char): New inline function.
3514 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3516 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3518 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3519 (XCHARSET_BYTE_SIZE): New macro.
3520 (decoding_table_remove_char): New inline function.
3521 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3522 `decoding_table_remove_char'.
3523 (remove_char_ccs): Use `decoding_table_remove_char'.
3524 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3526 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3528 * mule-charset.c (Vcharacter_name_table): New variable.
3529 (Qname): New variable.
3530 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3532 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3533 `Vcharacter_name_table' for `name' attribute.
3534 (Fremove_char_attribute): Use function `remove_char_ccs'.
3535 (put_char_ccs_code_point): New function.
3536 (remove_char_ccs): New function.
3537 (syms_of_mule_charset): Add new symbol `name'.
3538 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3540 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3542 * mule-charset.c (make_byte_table): Add new argument `older'.
3543 (make_char_id_table): Likewise.
3544 (copy_char_id_table): Comment out because it is not used.
3545 (put_char_id_table): Modify for `make_byte_table'.
3546 (Fput_char_attribute): Make encoding_table as older object;
3547 inherit older bit of `Vcharacter_composition_table'.
3548 (mark_charset): Don't mark `cs->encoding_table'.
3549 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3550 normal object; make `Vcharacter_composition_table' as an older
3551 object; delete staticpro for `Vcharacter_composition_table'; make
3552 `Vcharacter_variant_table' as a normal object.
3554 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3555 (mark_object): Don't check older object in UTF-2000.
3557 * lrecord.h (struct lrecord_header): Add new member `older' in
3559 (set_lheader_implementation): Setup `SLI_header->older' in
3561 (set_lheader_older_implementation): New macro in UTF-2000.
3562 (OLDER_RECORD_P): New macro in UTF-2000.
3563 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3564 (alloc_older_lcrecord): New prototype in UTF-2000.
3565 (alloc_older_lcrecord_type): New macro in UTF-2000.
3567 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3569 * mule-charset.c (byte_table_description): Use
3570 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3571 (char_id_table_description): Delete bogus `, 1'.
3572 (Fget_char_attribute): Refer encoding_table of each coded-charset
3573 to get value of coded-charset attribute of a character.
3574 (Fput_char_attribute): Use `make_older_vector' instead of
3575 `make_vector'; use encoding_table of each coded-charset to store
3576 value of coded-charset attribute of a character.
3577 (Fremove_char_attribute): Use encoding_table of each coded-charset
3578 to store value of coded-charset attribute of a character.
3579 (mark_charset): Mark `cs->encoding_table'; don't mark
3580 `cs->decoding_table'.
3581 (charset_description): Add description of new member
3583 (make_charset): Initialize `encoding_table'.
3585 * char-ucs.h (struct Lisp_Charset): Add new member
3587 (CHARSET_ENCODING_TABLE): New macro.
3588 (XCHARSET_ENCODING_TABLE): New macro.
3589 (charset_code_point): New implementation.
3590 (encode_char_1): Likewise.
3592 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3593 (disksave_object_finalization_1): Call finalizers of
3594 `all_older_lcrecords' in UTF-2000.
3595 (make_older_vector): New function in UTF-2000.
3596 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3599 * lisp.h (make_older_vector): New prototype in UTF-2000.
3601 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3603 * lrecord.h (enum lrecord_type): Rename
3604 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3606 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3607 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3608 `get_char_code_table'.
3610 * mule-charset.c (mark_char_id_table): Renamed from
3611 `mark_char_code_table'.
3612 (char_id_table_equal): Renamed from `char_code_table_equal'.
3613 (char_id_table_hash): Renamed from `char_code_table_hash'.
3614 (make_char_id_table): Renamed from `make_char_code_table'.
3615 (copy_char_id_table): Renamed from `copy_char_code_table'.
3616 (get_char_id_table): Renamed from `get_char_code_table'.
3617 (put_char_id_table): Renamed from `put_char_code_table'.
3618 (to_char_id): Renamed from `to_char_code'.
3620 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3621 `Lisp_Char_Code_Table'.
3622 (char_id_table): Renamed from `char_code_table'.
3623 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3624 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3625 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3626 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3627 (get_char_id_table): Renamed from `get_char_code_table'.
3629 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3631 * lrecord.h (enum lrecord_type): Rename
3632 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3634 * mule-charset.c (mark_byte_table): Renamed from
3635 `mark_char_byte_table'.
3636 (byte_table_equal): Renamed from `char_byte_table_equal'.
3637 (byte_table_hash): Renamed from `byte_table_hash'.
3638 (make_byte_table): Renamed from `make_byte_table'.
3639 (copy_byte_table): Renamed from `copy_char_byte_table'.
3641 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3642 `Lisp_Char_Byte_Table'.
3643 (byte_table): Renamed from `char_byte_table'.
3644 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3645 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3646 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3647 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3649 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3651 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3652 (dfc_convert_to_internal_format): Likewise.
3654 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3655 * text-coding.c (Fcoding_system_alias_p): New function.
3656 * text-coding.c (Fcoding_system_aliasee): New function.
3657 * text-coding.c (append_suffix_to_symbol): New function.
3658 * text-coding.c (dangling_coding_system_alias_p): New function.
3659 * text-coding.c (Ffind_coding_system):
3660 * text-coding.c (Fcopy_coding_system):
3661 * text-coding.c (encode_coding_no_conversion):
3662 * text-coding.c (syms_of_file_coding):
3663 * text-coding.c (vars_of_file_coding):
3664 Rewrite coding system alias code.
3665 Allow nested aliases, like symbolic links.
3666 Allow redefinition of coding system aliases.
3667 Prevent existence of dangling coding system aliases.
3668 Eliminate convert_to_external_format.
3669 Eliminate convert_to_internal_format.
3671 * text-coding.c: Change enum eol_type to eol_type_t.
3673 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3675 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3676 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3678 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3679 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3681 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3683 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3684 `ideograph-daikanwa'.
3686 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3687 (Vcharset_ucs_bmp): Likewise.
3688 (Vcharset_mojikyo): Add new extern variable definition.
3689 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3690 (Vcharset_latin_iso8859_3): Likewise.
3691 (Vcharset_latin_iso8859_4): Likewise.
3692 (Vcharset_latin_iso8859_9): Likewise.
3693 (Vcharset_latin_viscii_lower): Likewise.
3694 (Vcharset_latin_viscii_upper): Likewise.
3695 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3696 `mojikyo' code-point is used to decode.
3697 (encode_char_2): New function [to convert `mojikyo' code-point to
3698 Mojikyo font encoding].
3699 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3700 (breakup_char_1): Likewise.
3701 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3703 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3705 * text-coding.c (Fmake_coding_system): Add document about
3706 `disable-composition' property.
3708 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3710 * text-coding.c (Qdisable_composition): New variable; delete
3712 (Fmake_coding_system): Add new property `disable-composite';
3713 delete property `composite'.
3714 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3715 instead of `!CODING_SYSTEM_COMPOSITE'.
3716 (syms_of_file_coding): Add new symbol `disable-composition';
3717 delete symbol `composite'.
3719 * file-coding.h (struct Lisp_Coding_System): Add
3720 `disable_composition'; delete `enable_composition'.
3721 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3722 `CODING_SYSTEM_COMPOSITE'.
3723 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3724 `XCODING_SYSTEM_COMPOSITE'.
3726 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3728 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3731 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3733 * text-coding.c (Qcomposite): New variable.
3734 (Fmake_coding_system): Add new property `composite'.
3735 (struct decoding_stream): Add `combined_char_count',
3736 `combined_chars' and `combining_table' in UTF-2000.
3737 (COMPOSE_FLUSH_CHARS): New macro.
3738 (COMPOSE_ADD_CHAR): New macro.
3739 (reset_decoding_stream): Reset `str->combined_char_count' and
3740 `str->combining_table' in UTF-2000.
3741 (decode_coding_iso2022): Modify for character-decomposition.
3742 (syms_of_file_coding): Add new symbol `composite'.
3744 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3746 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3747 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3748 of `Vcharacter_composition_table' if `->decomposition' property
3750 (Qlatin_tcvn5712): New variable.
3751 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3752 (complex_vars_of_mule_charset): Add new coded-charset
3755 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3757 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3759 * file-coding.h (struct Lisp_Coding_System): Add
3760 `enable_composition'.
3761 (CODING_SYSTEM_COMPOSITE): New macro.
3762 (XCODING_SYSTEM_COMPOSITE): New macro.
3764 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3766 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3768 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3770 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3771 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3773 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3775 * mule-charset.c (Vcharset_mojikyo): New variable.
3776 (Fdefine_char): Don't use coded-charset which does not have
3777 non-builtin character range to allocate character-id.
3778 (Qmojikyo): New variable.
3779 (syms_of_mule_charset): Add new symbol `mojikyo'.
3780 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3782 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3783 (LEADING_BYTE_MOJIKYO): New macro.
3784 (MIN_CHAR_MOJIKYO): New macro.
3785 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3786 (MAX_CHAR_MOJIKYO): New macro.
3788 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3790 * mule-charset.c (remove_char_attribute): Fixed.
3792 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3794 * mule-charset.c (remove_char_attribute): New function.
3795 (Fremove_char_attribute): New function.
3796 (encode_builtin_char_1): Comment out builtin-support for
3797 greek-iso8859-7 and cyrillic-iso8859-5.
3798 (Fdecode_char): Check `code' is an integer.
3799 (syms_of_mule_charset): Add `remove-char-attribute'.
3800 (MIN_CHAR_GREEK): Deleted.
3801 (MAX_CHAR_GREEK): Likewise.
3802 (MIN_CHAR_CYRILLIC): Likewise.
3803 (MAX_CHAR_CYRILLIC): Likewise.
3804 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3805 MAX_CHAR_GREEK for `greek-iso8859-7'.
3807 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3808 (MAX_CHAR_GREEK): Likewise.
3809 (MIN_CHAR_CYRILLIC): Likewise.
3810 (MAX_CHAR_CYRILLIC): Likewise.
3812 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3814 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3815 format is used without `ucs' property.
3816 (Fdecode_char): Fix problem with GR representation.
3817 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3818 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3820 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3822 * mule-charset.c (make_builtin_char): New function.
3823 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3824 (Fset_charset_mapping_table): Modify for new representation of
3826 (Fdecode_char): New function.
3827 (syms_of_mule_charset): Add new builtin function `decode-char' in
3830 * char-ucs.h (make_builtin_char): New prototype.
3831 (DECODE_CHAR): New inline function.
3832 (MAKE_CHAR): Use `DECODE_CHAR'.
3834 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3836 * text-coding.c (parse_charset_conversion_specs): Use
3837 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3839 (iso2022_designate): Likewise.
3841 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3842 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3844 * mule-charset.c (Vcharset_ucs): New variable.
3845 (print_charset): Change design; use `CHARSET_CHARS' and
3846 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3847 (make_charset): Change signature to specify `chars' and
3848 `dimension' instead of `type'.
3849 (range_charset_code_point): Modify for 256^n-set.
3850 (encode_builtin_char_1): Encode as `ucs' in default.
3851 (Fmake_charset): Modify for `make_charset'.
3852 (Fmake_reverse_direction_charset): Likewise.
3853 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3855 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3858 * char-ucs.h (Vcharset_ucs): New variable.
3859 (LEADING_BYTE_UCS): New macro.
3860 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3861 and `chars' to `unsigned short' from `unsigned int'.
3862 (CHARSET_TYPE): Deleted.
3863 (XCHARSET_TYPE): Deleted.
3865 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3867 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3869 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3870 (ENCODE_CHAR): New macro.
3872 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3874 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3875 to 0.14 (Kawachi-Katakami).
3877 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3879 * text-coding.c (char_encode_shift_jis): Modify for
3880 `charset_code_point'.
3881 (char_encode_iso2022): Likewise.
3883 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3884 (integer) instead of list of <Lisp_Object>s (integers) as the
3885 format of code-point of a coded-charset.
3886 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3887 (encode_builtin_char_1): New function; delete
3888 `split_builtin_char'.
3889 (charset_code_point): Return <int> instead of <Lisp_Object>.
3890 (Fsplit_char): Don't use `SPLIT_CHAR'.
3892 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3893 prototype for `split_builtin_char'.
3894 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3895 (charset_code_point): Likewise.
3896 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3897 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3899 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3901 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3902 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3904 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3906 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3908 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3909 (MAX_CHAR_OBS_94x94): Deleted.
3911 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3913 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3915 * char-ucs.h (MAX_CHAR_BMP): New macro.
3917 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3919 * text-coding.c: Sync with r21-2-24.
3921 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3923 * file-coding.c: Modify for UTF-2000.
3925 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3927 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3930 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3932 * mule-charset.c (split_builtin_char): Delete builtin support for
3933 `katakana-jisx0201'.
3934 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3935 BMP area in builtin representation.
3937 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3938 `Vcharset_katakana_jisx0201'.
3940 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3942 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3943 (Qisolated): New variable.
3944 (Qinitial): New variable.
3945 (Qmedial): New variable.
3946 (Qfinal): New variable.
3947 (Qvertical): New variable.
3948 (Qsmall): New variable.
3949 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3950 `Qvertical' and `Qsmall'.
3951 (Qmojikyo_pj_[1 .. 21]): New variable.
3952 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3953 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3954 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3957 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3959 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3960 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3961 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3963 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3965 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3966 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3968 (Qjapanese_jisx0208_1990): New variable.
3969 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3970 (complex_vars_of_mule_charset): Add new coded-charset
3971 `japanese-jisx0208-1990'.
3973 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3974 (MIN_CHAR_JIS_X0208_1990): New macro.
3975 (MAX_CHAR_JIS_X0208_1990): New macro.
3977 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3979 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3980 coded-charset is not found.
3982 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3984 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3985 (Fdefine_char): Use `Fmake_char'.
3987 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3989 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3990 (Vcharset_hiragana_jisx0208): Deleted.
3991 (Vcharset_katakana_jisx0208): Deleted.
3992 (Qideograph_daikanwa): New variable.
3993 (Qhiragana_jisx0208): Deleted.
3994 (Qkatakana_jisx0208): Deleted.
3995 (split_builtin_char): Split `ideograph-daikanwa'.
3996 (Fsplit_char): New implementation for UTF-2000.
3997 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3998 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3999 (complex_vars_of_mule_charset): Add new coded-charset
4000 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4001 `katakana-jisx0208'.
4003 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4004 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4005 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4006 (MIN_CHAR_DAIKANWA): New macro.
4007 (MAX_CHAR_DAIKANWA): New macro.
4009 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4011 * data.c (Fstring_to_number): Don't recognize floating point if
4014 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4016 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4018 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4020 * mule-charset.c (Qsquare): New variable.
4021 (to_char_code): Add `Qsquare'.
4022 (syms_of_mule_charset): Add new symbol `square'.
4024 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4026 * mule-charset.c (Qcircle): New variable.
4027 (to_char_code): Add `Qcircle'.
4028 (syms_of_mule_charset): Add new symbol `circle'.
4030 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4032 * mule-charset.c (Qfont): New variable.
4033 (to_char_code): Add `Qfont'.
4034 (syms_of_mule_charset): Add new symbol `font'.
4036 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4038 * mule-charset.c (Qsub): New variable.
4039 (to_char_code): Add `Qsub'.
4040 (syms_of_mule_charset): Add new symbol `sub'.
4042 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4044 * mule-charset.c (Fput_char_attribute): Convert each element of
4045 VALUE to GL position if ATTRIBUTE is a GR-set,
4047 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4049 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4050 coded-charset is a GR-set.
4052 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4054 * mule-charset.c (Fput_char_attribute): Check each element of
4055 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4057 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4059 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4061 (Qethiopic_ucs): New variable in UTF-2000.
4062 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4063 (complex_vars_of_mule_charset): Add new coded-charset
4064 `ethiopic-ucs' in UTF-2000.
4066 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4067 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4069 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4071 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4073 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4075 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4078 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4080 * mule-charset.c (Vcharacter_variant_table): New variable.
4081 (Q_ucs): New variable.
4082 (Fchar_variants): New function.
4083 (Fput_char_attribute): Register `->ucs' value to
4084 `Vcharacter_variant_table'.
4085 (syms_of_mule_charset): Add new function `char-variants' and new
4087 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4089 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4091 * mule-charset.c (get_char_code_table): Allow negative character
4093 (put_char_code_table): Likewise.
4094 (Vcharacter_composition_table): New variable.
4095 (Q_decomposition): New variable.
4096 (Qwide): New variable.
4097 (Qnarrow): New variable.
4098 (Qcompat): New variable.
4099 (QnoBreak): New variable.
4100 (Qsuper): New variable.
4101 (Qfraction): New variable.
4102 (to_char_code): New function.
4103 (Fget_composite_char): New function.
4104 (Fput_char_attribute): Register `->decomposition' value to
4105 `Vcharacter_composition_table'.
4106 (syms_of_mule_charset): Add new function `get-composite-char', new
4107 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4108 `super' and `fraction'.
4109 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4111 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4113 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4114 character; copy the return value.
4116 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4118 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4120 * mule-charset.c (range_charset_code_point): Must use make_int.
4121 (split_builtin_char): New function.
4123 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4125 * mule-charset.c (char_byte_table): Change name from
4126 "char-code-table" to "char-byte-table".
4127 (mark_char_code_table): New function.
4128 (char_code_table_equal): New function.
4129 (char_code_table_hash): New function.
4130 (char_code_table_description): New constant.
4131 (char_code_table): New type.
4132 (make_char_code_table): New function.
4133 (copy_char_code_table): New function.
4134 (get_char_code_table): Modify for `char_code_table' type.
4135 (put_char_code_table): Likewise.
4136 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4139 * char-ucs.h (char_code_table): New type.
4140 (XCHAR_CODE_TABLE): New macro.
4141 (XSETCHAR_CODE_TABLE): New macro.
4142 (CHAR_CODE_TABLE_P): New macro.
4143 (GC_CHAR_CODE_TABLE_P): New macro.
4144 (struct Lisp_Char_Code_Table): New structure.
4146 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4148 * mule-charset.c (Fmake_charset): Setup byte_offset for
4151 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4153 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4156 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4158 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4161 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4163 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4164 charset, it is regarded as a charset.
4165 (put_char_attribute): New function in UTF-2000.
4166 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4167 charset, mapping-table of the charset is modified.
4168 (Fdefine_char): New function in UTF-2000.
4169 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4170 `Fput_char_attribute'.
4171 (syms_of_mule_charset): Add new function `define-char' and new
4172 symbol `ucs' in UTF-2000.
4173 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4175 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4177 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4178 non-UTF-2000 configuration.
4180 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4182 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4183 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4185 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4187 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4188 (Fset_charset_mapping_table): Likewise.
4190 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4191 (CHARSET_ENCODING_TABLE): Delete.
4192 (XCHARSET_ENCODING_TABLE): Delete.
4193 (charset_code_point): New interface.
4195 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4197 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4198 instead of `charset_get_byte1' and `charset_get_byte2'.
4200 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4201 (charset_get_byte2): Deleted.
4203 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4205 * char-ucs.h (SPLIT_CHAR): New inline function.
4206 (breakup_char_1): Use `SPLIT_CHAR'.
4208 * mule-charset.c (range_charset_code_point): New function.
4209 (charset_code_point): New function.
4211 * char-ucs.h (range_charset_code_point): New interface.
4212 (breakup_char_1): Use `range_charset_code_point'.
4214 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4216 * mule-charset.c (Fmake_charset): Delete unused local variable
4219 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4220 (breakup_char_1): Find a charset and code-point in
4221 `Vcharacter_attribute_table'.
4223 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4225 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4228 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4230 * mule-charset.c (Vcharacter_attribute_table): New variable.
4231 (Fchar_attribute_alist): New function.
4232 (Fget_char_attribute): New function.
4233 (Fput_char_attribute): New function.
4234 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4236 (syms_of_mule_charset): Add new function `char-attribute-alist',
4237 `get-char-attribute' and `put-char-attribute'.
4238 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4240 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4242 * mule-charset.c (Fmake_charset): Just use
4243 `get_unallocated_leading_byte'.
4245 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4246 sets; don't use final-byte based number for private sets.
4248 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4250 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4253 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4255 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4258 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4260 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4261 of `CHAR_LEADING_BYTE' in UTF-2000.
4263 * insdel.c (find_charsets_in_bufbyte_string): Use
4264 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4265 (find_charsets_in_emchar_string): Likewise.
4267 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4268 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4270 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4271 (CHAR_CHARSET_ID): New macro.
4273 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4275 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4276 charset-id - MIN_LEADING_BYTE.
4277 (put_char_table): Likewise.
4279 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4281 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4282 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4283 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4284 (CHARSET_ID_OFFSET): New macro.
4285 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4286 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4287 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4288 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4290 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4292 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4293 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4294 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4295 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4296 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4298 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4300 * mule-charset.c (next_allocated_leading_byte): New variable in
4302 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4303 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4304 (get_unallocated_leading_byte): Simply use
4305 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4306 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4309 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4310 (MAX_LEADING_BYTE_PRIVATE): New macro.
4311 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4312 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4314 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4316 * mule-charset.c (Fmake_charset): Allocate final-byte based
4317 charset-id for 94-set, 96-set and 94x94-set.
4319 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4321 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4323 (Fmake_charset): Likewise.
4324 (complex_vars_of_mule_charset): Modify the font registry of
4325 `ucs-bmp' not to match `Ethiopic-Unicode'.
4327 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4329 * mule-charset.c (complex_vars_of_mule_charset): Add font
4330 registory of `ucs-bmp'.
4332 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4334 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4335 coded-charsets in `default-coded-charset-priority-list' when
4336 breaking up a character.
4338 * mule-charset.c (Vcharset_latin_viscii): New variable.
4339 (Qlatin_viscii): New variable.
4340 (make_charset): Don't use `decoding_table'.
4341 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4343 (Fset_charset_mapping_table): New implementation.
4344 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4345 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4346 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4347 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4348 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4349 charset `latin_viscii'.
4351 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4352 (CHARSET_TYPE_94X94): Change to 1 from 2.
4353 (CHARSET_TYPE_96): Change to 2 from 1.
4354 (CHARSET_TYPE_128): New macro.
4355 (CHARSET_TYPE_128X128): Change to 5 from 4.
4356 (CHARSET_TYPE_256): New macro.
4357 (CHARSET_TYPE_256X256): Change to 7 from 5.
4358 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4360 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4362 * text-coding.c (char_encode_shift_jis): Refer
4363 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4364 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4366 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4367 (char_byte_table_equal): New function in UTF-2000.
4368 (char_byte_table_hash): New function in UTF-2000.
4369 (char_byte_table_description): New constant in UTF-2000.
4370 (char_byte_table): New type in UTF-2000.
4371 (make_char_byte_table): New function in UTF-2000.
4372 (copy_char_byte_table): New function in UTF-2000.
4373 (make_char_code_table): New macro in UTF-2000.
4374 (get_char_code_table): New function in UTF-2000.
4375 (put_char_code_table): New function in UTF-2000.
4376 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4377 (charset_description): Add setting in UTF-2000.
4378 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4379 `CHARSET_TO_BYTE1_TABLE(cs)'.
4380 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4381 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4382 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4383 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4384 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4385 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4386 `CHARSET_TO_BYTE2_TABLE(cs)'.
4388 * char-ucs.h (char_byte_table): New type.
4389 (XCHAR_BYTE_TABLE): New macro.
4390 (XSETCHAR_BYTE_TABLE): New macro.
4391 (CHAR_BYTE_TABLE_P): New macro.
4392 (GC_CHAR_BYTE_TABLE_P): New macro.
4393 (struct Lisp_Char_Byte_Table): New structure.
4394 (get_char_code_table): New interface.
4395 (Emchar_to_byte_table): Deleted.
4396 (get_byte_from_character_table): Deleted.
4397 (struct Lisp_Charset): Add `encoding_table'; delete
4398 `to_byte1_table' and `to_byte2_table'.
4399 (CHARSET_ENCODING_TABLE): New macro.
4400 (CHARSET_TO_BYTE1_TABLE): Deleted.
4401 (CHARSET_TO_BYTE2_TABLE): Deleted.
4402 (XCHARSET_ENCODING_TABLE): New macro.
4403 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4404 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4406 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4408 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4409 `vietnamese-viscii-*'.
4411 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4413 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4414 (Qvietnamese_viscii_upper): New variable.
4415 (Fdefine_charset_alias): New function.
4416 (syms_of_mule_charset): Add new function `define-charset-alias'.
4417 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4418 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4421 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4423 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4424 (MAX_CHAR_OBS_94x94): New macro.
4425 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4428 * mule-charset.c (put_byte_from_character_table): Change unit size
4430 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4432 (Fmake_reverse_direction_charset): Modify dummy argument of
4433 `make_charset' for non-UTF-2000 environment.
4435 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4437 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4439 * mule-charset.c (destroy_byte_from_character_table): New macro.
4440 (latin_jisx0201_to_ucs): Deleted.
4441 (latin_iso8859_2_to_ucs): Deleted.
4442 (latin_iso8859_3_to_ucs): Deleted.
4443 (latin_iso8859_4_to_ucs): Deleted.
4444 (latin_iso8859_9_to_ucs): Deleted.
4445 (latin_viscii_lower_to_ucs): Deleted.
4446 (latin_viscii_upper_to_ucs): Deleted.
4447 (mark_charset): Mark `cs->decoding_table'.
4448 (Fcharset_mapping_table): Fix DOC-string.
4449 (Fset_charset_mapping_table): New function.
4450 (syms_of_mule_charset): Add nwe function
4451 `set-charset-mapping-table'.
4452 (complex_vars_of_mule_charset): Don't setup and use
4455 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4457 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4460 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4462 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4463 (Vcharset_katakana_jisx0208): New variable.
4464 (Qhiragana_jisx0208): New variable.
4465 (Qkatakana_jisx0208): New variable.
4466 (make_charset): Add new argument `byte_offset'.
4467 (charset_get_byte1): Modify for new coded-charset definition; use
4468 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4469 `XCHARSET_BYTE_OFFSET'.
4470 (Fmake_charset): Modify for `make_charset'.
4471 (Fmake_reverse_direction_charset): Likewise.
4472 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4473 `katakana-jisx0208'.
4474 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4475 `.' in font registry of charset `katakana-jisx0201',
4476 `latin-jisx0201', `vietnamese-viscii-lower' and
4477 `vietnamese-viscii-upper'; modify DOC-string of charset
4478 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4479 registry of charset `japanese-jisx0208' not to use font for JIS
4480 X0208:1990; add new charset `hiragana-jisx0208' and
4481 `katakana-jisx0208'.
4483 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4484 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4485 (struct Lisp_Charset): Add `byte_offset'.
4486 (CHARSET_BYTE_OFFSET): New macro.
4487 (XCHARSET_UCS_MIN): New macro.
4488 (XCHARSET_UCS_MAX): New macro.
4489 (XCHARSET_CODE_OFFSET): New macro.
4490 (XCHARSET_BYTE_OFFSET): New macro.
4491 (MIN_CHAR_HIRAGANA): New macro.
4492 (MAX_CHAR_HIRAGANA): New macro.
4493 (MIN_CHAR_KATAKANA): New macro.
4494 (MAX_CHAR_KATAKANA): New macro.
4495 (MAKE_CHAR): Modify for new coded-charset definition; use
4496 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4497 `XCHARSET_BYTE_OFFSET'.
4499 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4501 * mule-charset.c (CHAR96): Deleted.
4502 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4504 (latin_iso8859_2_to_ucs): Likewise.
4505 (latin_iso8859_3_to_ucs): Likewise.
4506 (latin_iso8859_4_to_ucs): Likewise.
4507 (latin_iso8859_9_to_ucs): Likewise.
4508 (latin_viscii_lower_to_ucs): Likewise.
4509 (latin_viscii_upper_to_ucs): Likewise.
4510 (latin_tcvn5712_to_ucs): Commented out.
4511 (make_charset): Change type of argument `decoding_table' from
4512 <Emchar*> to <Lisp_Object> [vector of characters].
4513 (Fmake_charset): Modify for `make_charset'.
4514 (Fmake_reverse_direction_charset): Likewise.
4515 (Fcharset_mapping_table): New function in UTF-2000.
4516 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4518 (complex_vars_of_mule_charset): Modify for type change of
4519 `*_to_ucs'; modify for `make_charset'.
4521 * char-ucs.h (struct Lisp_Charset): Change type of
4522 `decoding_table' from <Emchar*> to <Lisp_Object>.
4523 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4525 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4527 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4528 error with non-UTF-2000-Mule.
4530 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4532 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4534 (Vcharset_chinese_cns11643_4): Likewise.
4535 (Vcharset_chinese_cns11643_5): Likewise.
4536 (Vcharset_chinese_cns11643_6): Likewise.
4537 (Vcharset_chinese_cns11643_7): Likewise.
4538 (Qchinese_cns11643_3): Likewise.
4539 (Qchinese_cns11643_4): Likewise.
4540 (Qchinese_cns11643_5): Likewise.
4541 (Qchinese_cns11643_6): Likewise.
4542 (Qchinese_cns11643_7): Likewise.
4543 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4544 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4545 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4546 (complex_vars_of_mule_charset): Likewise.
4548 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4550 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4552 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4553 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4555 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4557 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4559 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4560 (breakup_char_1): Likewise.
4562 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4563 one of them includes the specified character.
4565 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4567 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4569 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4571 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4573 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4575 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4576 definition for non-UTF-2000 Mule.
4577 (latin_iso8859_3_to_ucs): Likewise.
4578 (latin_iso8859_4_to_ucs): Likewise.
4579 (latin_iso8859_9_to_ucs): Likewise.
4580 (latin_jisx0201_to_ucs): Likewise.
4581 (MIN_CHAR_THAI): Likewise.
4582 (MAX_CHAR_THAI): Likewise.
4583 (MIN_CHAR_GREEK): Likewise.
4584 (MAX_CHAR_GREEK): Likewise.
4585 (MIN_CHAR_HEBREW): Likewise.
4586 (MAX_CHAR_HEBREW): Likewise.
4587 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4588 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4589 (MIN_CHAR_CYRILLIC): Likewise.
4590 (MAX_CHAR_CYRILLIC): Likewise.
4592 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4594 * char-ucs.h (breakup_char_1): Use
4595 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4596 thai-tis620 and katakana-jisx0201 area.
4598 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4600 * char-ucs.h (breakup_char_1): Use
4601 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4604 * text-coding.c (reset_encoding_stream): Fixed.
4605 (char_encode_ucs4): Delete `& 255'.
4607 * char-ucs.h (breakup_char_1): Use
4608 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4610 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4612 * file-coding.c (Fmake_coding_system): Don't set up
4613 `codesys->fixed.size'.
4614 (encode_coding_no_conversion): Don't refer
4615 `str->codesys->fixed.size'.
4617 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4619 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4620 (latin_a_char_to_byte1): Deleted.
4621 (latin_a_char_to_byte2): Deleted.
4623 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4625 * mule-charset.c (make_charset): Add new argument `ucs_min',
4626 `ucs_max' and `code_offset'.
4627 (charset_get_byte1): New implementation [delete specific charset
4628 depended implementations].
4629 (Fmake_charset): Modify for `make_charset'.
4630 (Fmake_reverse_direction_charset): Likewise.
4631 (complex_vars_of_mule_charset): Likewise.
4633 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4635 (CHARSET_UCS_MIN): New macro.
4636 (CHARSET_UCS_MAX): New macro.
4637 (CHARSET_CODE_OFFSET): New macro.
4638 (MAKE_CHAR): Delete charset depended definitions [except
4641 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4643 * char-ucs.h (breakup_char_1): Use
4644 `Vdefault_coded_charset_priority_list' for C0-Controls,
4645 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4647 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4649 * char-ucs.h (charset_get_byte1): New function.
4650 (XCHARSET_GET_BYTE1): Deleted.
4651 (charset_get_byte2): New function.
4652 (XCHARSET_GET_BYTE2): Deleted.
4653 (Vdefault_coded_charset_priority_list): New external variable.
4654 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4655 `Vdefault_preferred_coded_charset_list'.
4657 * mule-charset.c (charset_get_byte1): New function.
4658 (charset_get_byte2): New function.
4659 (Vdefault_coded_charset_priority_list): New variable.
4660 (vars_of_mule_charset): Add new variable
4661 `default-coded-charset-priority-list'.
4663 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4665 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4666 (XCHARSET_GET_BYTE2): New inline function.
4667 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4668 `XCHARSET_GET_BYTE2'.
4670 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4672 * mule-charset.c (make_charset): Initialize
4673 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4674 NULL if table is not defined.
4676 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4678 * text-coding.c (char_encode_shift_jis): Use
4679 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4680 `ucs_to_latin_jisx0201'.
4682 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4683 (ucs_to_latin_iso8859_2): Deleted.
4684 (ucs_to_latin_iso8859_3): Deleted.
4685 (ucs_to_latin_iso8859_4): Deleted.
4686 (ucs_to_latin_iso8859_9): Deleted.
4687 (ucs_to_latin_viscii_lower): Deleted.
4688 (ucs_to_latin_viscii_upper): Deleted.
4689 (ucs_to_latin_tcvn5712): Deleted.
4690 (make_charset): Add new argument `decoding_table'; set up
4691 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4692 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4693 `decoding_table' is defined in UTF-2000.
4694 (Fmake_charset): Modify for `make_charset'.
4695 (Fmake_reverse_direction_charset): Likewise.
4696 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4697 and `GENERATE_96_SET'.
4699 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4700 (ucs_to_latin_jisx0201): Deleted.
4701 (latin_iso8859_2_to_ucs): Deleted.
4702 (ucs_to_latin_iso8859_2): Deleted.
4703 (latin_iso8859_3_to_ucs): Deleted.
4704 (ucs_to_latin_iso8859_3): Deleted.
4705 (latin_iso8859_4_to_ucs): Deleted.
4706 (ucs_to_latin_iso8859_4): Deleted.
4707 (latin_iso8859_9_to_ucs): Deleted.
4708 (ucs_to_latin_iso8859_9): Deleted.
4709 (latin_viscii_lower_to_ucs): Deleted.
4710 (ucs_to_latin_viscii_lower): Deleted.
4711 (latin_viscii_upper_to_ucs): Deleted.
4712 (ucs_to_latin_viscii_upper): Deleted.
4713 (struct Lisp_Charset): Renamed `encoding_table' to
4714 `to_byte1_table'; add `to_byte2_table'.
4715 (CHARSET_DECODING_TABLE): New macro.
4716 (CHARSET_TO_BYTE1_TABLE): New macro.
4717 (CHARSET_TO_BYTE2_TABLE): New macro.
4718 (XCHARSET_DECODING_TABLE): New macro.
4719 (XCHARSET_TO_BYTE1_TABLE): New macro.
4720 (XCHARSET_TO_BYTE2_TABLE): New macro.
4721 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4723 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4724 don't use `ucs_to_*' tables.
4726 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4728 * text-coding.c (Fmake_coding_system): Don't set up
4729 `codesys->fixed.size'.
4730 (encode_coding_no_conversion): Use `if' instead of `switch'.
4732 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4734 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4736 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4737 (Fmake_charset): Modify for `make_charset'.
4738 (Fmake_reverse_direction_charset): Likewise.
4739 (complex_vars_of_mule_charset): Likewise.
4741 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4743 * text-coding.c (char_encode_shift_jis): Use table
4744 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4746 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4748 * text-coding.c (text_encode_generic): Use `if' instead of
4750 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4753 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4755 * text-coding.c (encode_coding_sjis): Deleted.
4756 (char_encode_shift_jis): New function.
4757 (char_finish_shift_jis): New function.
4758 (reset_encoding_stream): Set up `encode_char' and `finish' for
4759 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4760 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4761 (char_encode_utf8): Treat `eol_type'.
4763 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4765 * file-coding.c (decode_coding_iso2022): Use
4766 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4768 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4770 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4773 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4775 * char-lb.h (CHAR_COLUMNS): New macro.
4777 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4779 * text-coding.c (char_encode_ucs4): New function.
4780 (char_finish_ucs4): New function.
4781 (encode_coding_ucs4): Deleted.
4782 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4783 (text_encode_generic): Delete local variable `charset' and `half'.
4784 (ucs_to_mule_table): Deleted.
4785 (mule_to_ucs_table): Deleted.
4786 (Fset_ucs_char): Deleted.
4787 (ucs_to_char): Deleted.
4788 (Fucs_char): Deleted.
4789 (Fset_char_ucs): Deleted.
4790 (Fchar_ucs): Deleted.
4791 (decode_ucs4): Deleted.
4792 (mule_char_to_ucs4): Deleted.
4793 (encode_ucs4): Deleted.
4794 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4795 (decode_coding_utf8): Likewise.
4796 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4797 (char_encode_iso2022): Fixed.
4798 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4799 `Fset_char_ucs' and `Fchar_ucs'.
4800 (complex_vars_of_file_coding): Don't initialize
4801 `ucs_to_mule_table'.
4803 * objects-tty.c (tty_initialize_font_instance): Don't use
4806 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4809 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4810 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4812 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4813 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4814 (emchar_string_displayed_columns): Likewise.
4816 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4817 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4818 (string_column_at_point): Likewise.
4819 (Fmove_to_column): Likewise.
4821 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4822 `encoding_table' and `decoding_table'.
4823 (CHARSET_REP_BYTES): Deleted.
4824 (XCHARSET_REP_BYTES): Deleted.
4825 (XCHARSET_COLUMNS): Deleted.
4826 (CHAR_COLUMNS): New macro.
4827 (lookup_composite_char): Deleted unconditionally.
4828 (composite_char_string): Likewise.
4830 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4832 * char-ucs.h (Emchar_to_byte_table): New type.
4833 (get_byte_from_character_table): New function interface.
4834 (Vcharset_latin_jisx0201): New variable.
4835 (latin_jisx0201_to_ucs): New variable.
4836 (ucs_to_latin_jisx0201): New variable.
4837 (Vcharset_latin_iso8859_2): New variable.
4838 (latin_iso8859_2_to_ucs): New variable.
4839 (ucs_to_latin_iso8859_2): New variable.
4840 (Vcharset_latin_iso8859_3): New variable.
4841 (latin_iso8859_3_to_ucs): New variable.
4842 (ucs_to_latin_iso8859_3): New variable.
4843 (Vcharset_latin_iso8859_4): New variable.
4844 (latin_iso8859_4_to_ucs): New variable.
4845 (ucs_to_latin_iso8859_4): New variable.
4846 (Vcharset_latin_iso8859_9): New variable.
4847 (latin_iso8859_9_to_ucs): New variable.
4848 (ucs_to_latin_iso8859_9): New variable.
4849 (Vcharset_latin_viscii_lower): New variable.
4850 (latin_viscii_lower_to_ucs): New variable.
4851 (ucs_to_latin_viscii_lower): New variable.
4852 (Vcharset_latin_viscii_upper): New variable.
4853 (latin_viscii_upper_to_ucs): New variable.
4854 (ucs_to_latin_viscii_upper): New variable.
4855 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4856 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4857 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4858 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4859 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4860 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4861 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4862 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4863 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4864 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4866 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4867 (Vcharset_latin_viscii_upper): New variable.
4868 (make_byte_from_character_table): New function.
4869 (put_byte_from_character_table): New function.
4870 (get_byte_from_character_table): New function.
4871 (CHAR96): New macro.
4872 (ucs_to_latin_jisx0201): New variable.
4873 (latin_jisx0201_to_ucs): New variable.
4874 (ucs_to_latin_iso8859_2): New variable.
4875 (latin_iso8859_2_to_ucs): New variable.
4876 (ucs_to_latin_iso8859_3): New variable.
4877 (latin_iso8859_3_to_ucs): New variable.
4878 (ucs_to_latin_iso8859_4): New variable.
4879 (latin_iso8859_4_to_ucs): New variable.
4880 (ucs_to_latin_iso8859_9): New variable.
4881 (latin_iso8859_9_to_ucs): New variable.
4882 (ucs_to_latin_viscii_lower): New variable.
4883 (latin_viscii_lower_to_ucs): New variable.
4884 (ucs_to_latin_viscii_upper): New variable.
4885 (latin_viscii_upper_to_ucs): New variable.
4886 (ucs_to_latin_tcvn5712): New variable.
4887 (latin_tcvn5712_to_ucs): New variable.
4888 (Qlatin_viscii_lower): New variable.
4889 (Qlatin_viscii_upper): New variable.
4890 (syms_of_mule_charset): Set up new symbol
4891 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4892 (complex_vars_of_mule_charset): Set up new charset
4893 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4894 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4895 `ucs_to_<CHARSET>' tables.
4897 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4899 * text-coding.c: New file.
4901 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4903 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4905 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4906 (MAKE_CHAR): Modify for `ucs-bmp'.
4907 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4908 non-MULE characters of BMP.
4910 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4912 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4915 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4918 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4919 - Include character.h for `CHAR_ASCII_P'.
4921 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4923 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4924 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4926 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4927 (BYTE_C0_P): Likewise.
4928 (BYTE_C1_P): Likewise.
4929 (Lstream_get_emchar_1): Likewise.
4930 (Lstream_fput_emchar): Likewise.
4931 (Lstream_funget_emchar): Likewise.
4932 (copy_internal_to_external): Likewise.
4933 (copy_external_to_internal): Likewise.
4935 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4936 (BYTE_C0_P): Likewise.
4937 (BYTE_C1_P): Likewise.
4938 (Lstream_get_emchar_1): Likewise.
4939 (Lstream_fput_emchar): Likewise.
4940 (Lstream_funget_emchar): Likewise.
4941 (copy_internal_to_external): Likewise.
4942 (copy_external_to_internal): Likewise.
4944 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4945 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4947 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4948 (BYTE_ASCII_P): Moved to mb-1byte.h.
4950 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4952 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4954 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4955 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4956 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4957 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4958 (VALIDATE_CHARPTR_FORWARD): Likewise.
4959 (simple_charptr_emchar): Moved to mb-multibyte.h.
4960 (simple_set_charptr_emchar): Likewise.
4961 (simple_charptr_copy_char): Likewise.
4962 (non_ascii_charptr_emchar): Likewise.
4963 (non_ascii_set_charptr_emchar): Likewise.
4964 (non_ascii_charptr_copy_char): Likewise.
4965 (charptr_emchar): Moved to mb-*byte.h.
4966 (set_charptr_emchar): Likewise.
4967 (charptr_copy_char): Likewise.
4969 * mb-1byte.h, mb-multibyte.h: New files.
4971 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4973 * mb-utf-8.h (MULTIBYTE): New macro.
4974 (MAX_EMCHAR_LEN): Moved from buffer.h.
4975 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4977 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4979 * mb-lb.h, multibyte.h: New files.
4981 * char-1byte.h (Charset_ID): Moved from buffer.h.
4982 (MIN_LEADING_BYTE): Likewise.
4983 (LEADING_BYTE_ASCII): Likewise.
4984 (NUM_LEADING_BYTES): Likewise.
4985 (CHARSETP): Likewise.
4986 (CHARSET_BY_LEADING_BYTE): Likewise.
4987 (XCHARSET_LEADING_BYTE): Likewise.
4988 (XCHARSET_GRAPHIC): Likewise.
4989 (XCHARSET_COLUMNS): Likewise.
4990 (XCHARSET_DIMENSION): Likewise.
4991 (CHAR_CHARSET): Likewise.
4992 (CHAR_LEADING_BYTE): Likewise.
4993 (BREAKUP_CHAR): Likewise.
4994 (Vcharset_ascii): Likewise.
4996 * buffer.h: Include multibyte.h unconditionally.
4997 (VALID_CHARPTR_P): Moved to multibyte.h.
4998 (ASSERT_VALID_CHARPTR): Likewise.
4999 (REAL_INC_CHARPTR): Likewise.
5000 (REAL_INC_CHARBYTIND): Likewise.
5001 (REAL_DEC_CHARPTR): Likewise.
5002 (INC_CHARPTR): Likewise.
5003 (INC_CHARBYTIND): Likewise.
5004 (DEC_CHARPTR): Likewise.
5005 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5006 (VALIDATE_CHARPTR_FORWARD): Likewise.
5007 (charptr_n_addr): Likewise.
5008 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5009 (simple_charptr_emchar): Moved to multibyte.h.
5010 (simple_set_charptr_emchar): Likewise.
5011 (simple_charptr_copy_char): Likewise.
5012 (non_ascii_charptr_emchar): Likewise.
5013 (non_ascii_set_charptr_emchar): Likewise.
5014 (non_ascii_charptr_copy_char): Likewise.
5015 (charptr_emchar): Likewise.
5016 (set_charptr_emchar): Likewise.
5017 (charptr_copy_char): Likewise.
5018 (charptr_emchar_n): Likewise.
5019 (Charset_ID): Moved to char-1byte.h.
5020 (Vcharset_ascii): Likewise.
5021 (CHAR_CHARSET): Likewise.
5022 (CHAR_LEADING_BYTE): Likewise.
5023 (LEADING_BYTE_ASCII): Likewise.
5024 (NUM_LEADING_BYTES): Likewise.
5025 (MIN_LEADING_BYTE): Likewise.
5026 (CHARSETP): Likewise.
5027 (CHARSET_BY_LEADING_BYTE): Likewise.
5028 (XCHARSET_LEADING_BYTE): Likewise.
5029 (XCHARSET_GRAPHIC): Likewise.
5030 (XCHARSET_COLUMNS): Likewise.
5031 (XCHARSET_DIMENSION): Likewise.
5032 (BREAKUP_CHAR): Likewise.
5034 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5036 * character.h: Add document about interface for characters.
5038 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5039 (MAKE_CHAR): Delete comment about
5040 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5041 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5042 (BREAKUP_CHAR): Modify name of arguments.
5043 (CHAR_CHARSET): Modify name of argument.
5045 * buffer.h: Delete document about Emchar accessors.
5047 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5049 * character.h (CHAR_INTP): Moved from buffer.h
5050 (CHAR_OR_CHAR_INTP): Likewise.
5051 (XCHAR_OR_CHAR_INT): Likewise.
5052 (CHECK_CHAR_COERCE_INT): Likewise.
5054 * buffer.h (CHAR_INTP): Moved to character.h
5055 (CHAR_OR_CHAR_INTP): Likewise.
5056 (XCHAR_OR_CHAR_INT): Likewise.
5057 (CHECK_CHAR_COERCE_INT): Likewise.
5059 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5062 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5063 - Include char-1byte.h, char-lb.h or char-ucs.h.
5065 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5067 * buffer.h: Include character unconditionally.
5068 (valid_char_p): Moved to char-*.h.
5069 (non_ascii_valid_char_p): Moved to char-lb.h.
5071 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5073 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5075 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5076 in UTF-2000 because it is not ported yet and not to use
5077 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5078 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5079 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5081 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5082 (CHAR_ASCII_P): Moved from character.h.
5084 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5085 (CHAR_ASCII_P): Likewise.
5086 (CHAR_FIELD1_MASK): Deleted.
5087 (CHAR_FIELD2_MASK): Deleted.
5088 (CHAR_FIELD3_MASK): Deleted.
5089 (MAX_CHAR_BASIC_LATIN): New macro.
5090 (CHAR_FIELD1): Deleted.
5091 (CHAR_FIELD2_INTERNAL): Deleted.
5092 (CHAR_FIELD3_INTERNAL): Deleted.
5093 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5094 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5095 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5096 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5097 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5098 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5099 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5100 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5101 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5102 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5103 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5104 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5105 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5106 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5107 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5108 (MIN_CHAR_COMPOSITION): Deleted.
5109 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5110 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5112 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5114 * buffer.h: Include mb-utf-8.h in UTF-2000.
5116 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5118 * mb-utf-8.h: New file.
5120 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5122 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5125 * mule-charset.h, buffer.h (Charset_ID): New type.
5127 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5129 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5130 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5131 instead of `MULE_CHAR_PRIVATE_OFFSET',
5132 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5133 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5134 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5136 * character.h (Vcharset_japanese_jisx0212): New variable
5139 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5141 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5142 (charset_by_attributes): Delete array about direction.
5143 (latin_a_char_to_charset): New variable in UTF-2000.
5144 (latin_a_char_to_byte1): New variable in UTF-2000.
5145 (latin_a_char_to_byte2): New variable in UTF-2000.
5146 (Qucs_bmp): New variable.
5147 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5149 (next_allocated_2_byte_leading_byte): Likewise.
5150 (non_ascii_set_charptr_emchar): Likewise.
5151 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5152 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5153 `charset_by_attributes'.
5154 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5155 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5156 and `CHARSET_BY_LEADING_BYTE'.
5157 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5158 `utf-2000-version' to `vars_of_mule_charset'.
5159 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5160 define `leading-code-private-11' in UTF-2000; move setting of
5161 `utf-2000-version' from `syms_of_mule_charset'.
5162 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5165 * character.h (Charset_ID): New type.
5166 (LEADING_BYTE_UCS_BMP): New macro.
5167 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5168 (CHARSET_ID_OFFSET_94): New macro.
5169 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5170 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5171 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5173 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5174 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5175 (CHARSET_ID_OFFSET_96): New macro.
5176 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5177 CHARSET_ID_OFFSET_96 and final-byte.
5178 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5179 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5180 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5181 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5182 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5183 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5184 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5185 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5186 (LEADING_BYTE_THAI_TIS620): Likewise.
5187 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5188 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5189 (CHARSET_ID_OFFSET_94x94): New macro.
5190 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5191 CHARSET_ID_OFFSET_94x94 and final-byte.
5192 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5193 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5194 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5195 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5196 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5197 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5198 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5199 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5200 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5201 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5202 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5203 (CHARSET_TYPE_128X128): New macro.
5204 (CHARSET_TYPE_256X256): New macro.
5205 (XCHARSET_PRIVATE_P): Delete unconditionally.
5206 (charset_by_attributes): Delete array about direction.
5207 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5208 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5209 (MIN_CHAR_94): New macro.
5210 (MAX_CHAR_94): New macro.
5211 (MIN_CHAR_96): New macro.
5212 (MAX_CHAR_96): New macro.
5213 (MIN_CHAR_94x94): New macro.
5214 (MAX_CHAR_94x94): New macro.
5215 (MIN_CHAR_96x96): New macro.
5216 (MAX_CHAR_96x96): New macro.
5217 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5218 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5219 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5221 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5222 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5223 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5224 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5225 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5226 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5227 `XCHARSET_LEADING_BYTE' to make code-point.
5228 (latin_a_char_to_charset): New variable.
5229 (latin_a_char_to_byte1): New variable.
5230 (latin_a_char_to_byte2): New variable.
5231 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5232 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5233 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5235 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5236 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5237 (find_charsets_in_emchar_string): Likewise.
5238 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5240 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5242 (decode_coding_iso2022): Likewise.
5244 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5247 * redisplay.c (redisplay_text_width_emchar_string): Use
5248 `Charset_ID' instead of `unsigned char'.
5249 (redisplay_frame_text_width_string): Likewise.
5251 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5254 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5255 instead of `unsigned char'.
5256 (face_cachel_charset_font_metric_info): Likewise.
5258 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5259 (get_non_ascii_char_table_value): Likewise.
5260 (get_char_table): Likewise.
5261 (put_char_table): Likewise.
5262 (map_over_other_charset): Likewise.
5263 (map_char_table): Likewise.
5265 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5266 instead of `unsigned char'.
5268 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5270 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5271 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5273 * mule-charset.c (leading_code_private_11): Don't define in
5276 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5277 in UTF-2000 because it is not ported yet and not to use
5278 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5280 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5282 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5284 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5286 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5289 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5290 of unsigned char to store leading-byte.
5292 * chartab.c (get_non_ascii_char_table_value): Don't use
5293 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5295 * file-coding.c (encode_coding_big5): Delete bogus implementation
5298 * character.h (LEADING_BYTE_*): Delete definition for
5300 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5301 (LEADING_BYTE_PREFIX_P): Deleted.
5302 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5303 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5304 (BUFBYTE_LEADING_BYTE_P): Deleted.
5305 (CHARSET_PRIVATE_P): Deleted unconditionally.
5306 (rep_bytes_by_first_byte): Deleted unconditionally.
5307 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5308 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5309 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5310 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5311 (CHAR_FIELD2): Deleted.
5312 (CHAR_FIELD3): Deleted.
5313 (MAKE_CHAR): Delete definition for non-UTF-2000.
5314 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5315 (breakup_char_1): New implementation.
5316 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5317 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5319 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5321 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5324 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5326 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5327 (CHARSET_PRIVATE_P): Likewise.
5328 (XCHARSET_PRIVATE_P): Likewise.
5329 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5331 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5333 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5335 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5337 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5338 (NUM_LEADING_BYTES): Changed from 128 to 256.
5339 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5340 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5342 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5344 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5346 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5347 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5348 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5349 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5350 (Qchinese_cns11643_3): New variable in UTF2000.
5351 (Qchinese_cns11643_4): New variable in UTF2000.
5352 (Qchinese_cns11643_5): New variable in UTF2000.
5353 (Qchinese_cns11643_6): New variable in UTF2000.
5354 (Qchinese_cns11643_7): New variable in UTF2000.
5355 (syms_of_mule_charset): Define `chinese-cns11643-3',
5356 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5357 and `chinese-cns11643-7' in UTF2000.
5358 (vars_of_mule_charset): Initialize
5359 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5361 (complex_vars_of_mule_charset): Setup charset
5362 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5363 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5365 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5367 * mule-charset.c: Move setting for `leading-code-private-11' from
5368 `syms_of_mule_charset' to `vars_of_mule_charset'.
5370 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5372 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5373 and `NUM_LEADING_BYTES' in assert.
5375 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5377 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5379 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5380 `NUM_LEADING_BYTES' instead of 128.
5382 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5384 * mule-charset.h (charset_by_leading_byte): Use
5385 `NUM_LEADING_BYTES' instead of 128.
5386 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5388 * mule-charset.c (charset_by_leading_byte): Use
5389 `NUM_LEADING_BYTES' instead of 128.
5390 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5392 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5395 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5397 * mule-charset.c (syms_of_mule_charset): Update to
5400 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5402 * file-coding.c (encode_coding_sjis): New implementation for
5403 UTF2000. (decode_coding_sjis): Ditto.
5405 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5407 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5408 Don't define in UTF2000.
5410 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5413 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5414 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5417 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5419 * config.h.in (CHAR_IS_UCS4): New macro.
5421 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5422 conventional MULE representation.
5423 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5425 * mule-charset.h: Reverted to original.
5427 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5428 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5429 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5431 * character.h: New file.
5433 * file-coding.c (Fmake_coding_system): Set 1 to
5434 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5436 (encode_coding_no_conversion): New implementation for UTF2000.
5438 * file-coding.h (struct Lisp_Coding_System): Add new member
5441 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5443 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5444 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5445 (encode_coding_iso2022): New implementation for UTF2000.
5447 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5449 * mule-canna.c (c2mu): New implementation for UTF2000.
5452 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5454 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5456 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5458 * file-coding.c (reset_encoding_stream): Set 0 to
5459 `str->iso2022.current_char_boundary' in UTF2000.
5460 (encode_utf8): Don't define in UTF2000.
5461 (encode_coding_utf8): New implementation for UTF-8 representation
5463 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5465 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5467 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5469 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5471 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5473 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5475 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5476 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5477 as UTF-8 in UTF2000.
5478 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5479 (non_ascii_valid_char_p): Don't define in UTF2000.
5480 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5481 (Lstream_get_emchar_1): Likewise.
5482 (utf-2000-version): New variable in UTF2000.
5484 * lread.c (read_escape): Add new reader `u'.
5486 * insdel.c (three_to_one_table): Don't define in UTF2000.
5487 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5488 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5490 (bytind_to_bufpos_func): Likewise.
5491 (buffer_mule_signal_inserted_region): Likewise.
5492 (vars_of_insdel): Don't initialize `three_to_one_table'.
5493 (init_buffer_text): Use `buf->text->mule_size' instead of
5494 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5497 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5498 UTF-8 representation in UTF2000.
5499 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5500 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5501 (decode_coding_iso2022): Don't define local variable `lb' in
5502 UTF2000; don't use LEADING_BYTE in UTF2000; use
5503 `DECODE_ADD_UCS_CHAR' in UTF2000.
5504 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5506 * config.h.in (UTF2000): New macro.
5508 * buffer.h (struct buffer_text): Add new member `mule_size' and
5509 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5510 (valid_char_p): Return always 1 in UTF2000.
5511 (MAX_EMCHAR_LEN): 6 in UTF2000.
5512 (three_to_one_table): Don't define in UTF2000.
5513 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5515 (real_bytind_to_bufpos): Likewise.
5517 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5519 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5521 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5522 representation change.
5523 (Vutf_2000_version): New variable.
5524 (leading_code_private_11): New variable.
5525 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5526 `leading-code-private-11'.
5528 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5529 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5530 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5531 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5532 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5533 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5534 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5535 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5536 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5537 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5538 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5539 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5540 (MIN_CHAR_GREEK): New macro.
5541 (MAX_CHAR_GREEK): New macro.
5542 (MIN_CHAR_CYRILLIC): New macro.
5543 (MAX_CHAR_CYRILLIC): New macro.
5544 (MIN_CHAR_HEBREW): New macro.
5545 (MAX_CHAR_HEBREW): New macro.
5546 (MIN_CHAR_THAI): New macro.
5547 (MAX_CHAR_THAI): New macro.
5548 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5549 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5550 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5551 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5552 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5553 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5554 (CHAR_FIELD2): New inline function.
5555 (CHAR_FIELD3): New inline function.
5556 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5557 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5558 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5559 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5560 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5561 (MIN_CHAR_COMPOSITION): Likewise.
5562 (CHAR_LEADING_BYTE): Modified for character representation change.
5563 (MAKE_CHAR): Likewise.
5565 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5566 (Vcharset_greek_iso8859_7): Likewise.
5567 (Vcharset_cyrillic_iso8859_5): Likewise.
5568 (Vcharset_hebrew_iso8859_8): Likewise.
5569 (Vcharset_thai_tis620): Likewise.
5570 (Vcharset_katakana_jisx0201): Likewise.
5572 2004-02-02 Vin Shelton <acs@xemacs.org>
5574 * XEmacs 21.4.15 is released
5576 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
5578 * device-x.c (x_error_handler): Don't call stderr_out
5580 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
5582 * buffer.c (other-buffer): Clarify documentation of order of
5583 arguments for FSF Emacs.
5585 2003-10-11 Olivier Galibert <galibert@pobox.com>
5587 * window.c (Fdelete_window): Dirty the mirror structure _before_
5588 marking the window deleted.
5590 2003-09-15 Jerry James <james@xemacs.org>
5592 * event-msw.c (debug_mswin_messages): Conditionally compile
5593 messages missing from the Cygwin headers.
5595 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
5597 * data.c (eq_with_ebola_notice): Fix typo in comment.
5598 (Ftrue_list_p): Improve docstring.
5600 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
5602 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
5604 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
5606 * search.c (trivial_regexp_p): Regexps containing "\{" are
5607 nontrivial. Thanks to Manfred Bartz for reporting the bug and
5608 Stefan Monnier for suggesting a diagnosis.
5610 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
5612 * elhash.c (make-hash-table): Clarify use of :test #'equal.
5614 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
5616 * search.c (Fsearch_forward):
5618 Document negative count.
5620 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
5622 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
5624 2003-09-13 Martin Buchholz <martin@xemacs.org>
5626 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
5628 2003-09-15 Vin Shelton <acs@xemacs.org>
5630 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
5633 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5635 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
5636 (re_search_2): Match the first byte of Bufbyte, not Emchar.
5637 (re_match_2_internal): Use TRANSLATE instead of
5638 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
5639 non-ASCII char case conversion.
5641 2003-09-08 Mike Sperber <mike@xemacs.org>
5643 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
5644 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
5646 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
5648 * .gdbinit (pobj): fix printing of symbol name.
5650 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
5652 * frame-x.c (x_layout_widgets): When resizing is about to cause
5653 frame size slip, mark it for redisplay.
5655 2003-08-18 Jerry James <james@xemacs.org>
5657 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
5659 2003-09-03 Vin Shelton <acs@xemacs.org>
5661 * XEmacs 21.4.14 is released
5663 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5665 * config.h.in (REGEX_MALLOC): Make it configure'able.
5667 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5669 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5671 * sysdll.c (dll_init):
5672 * sysdll.c (dll_open):
5673 * sysdll.c (dll_close):
5674 * sysdll.c (dll_function):
5675 * sysdll.c (dll_variable):
5676 * sysdll.c (dll_error):
5677 Add support for loading bundles using Darwin/MacOSX
5680 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5682 * process.c (start-process-internal): Document coding systems.
5684 2003-07-30 Jerry James <james@xemacs.org>
5686 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5688 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5690 * event-msw.c (mswindows_enqueue_mouse_button_event):
5691 * event-msw.c (mswindows_wnd_proc):
5692 enqueue button event when scrollwheel event isn't handled by
5693 mswindows_handle_mousewheel_event, such as when the scrollbars
5696 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5698 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5700 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5702 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5704 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5706 * regex.c (re_match_2_internal): Fix matching degenerate word
5709 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5711 * XEmacs 21.4.13 is released
5713 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5715 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5716 * lisp.h (<inttypes.h>):
5717 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5720 2003-03-15 Martin Buchholz <martin@xemacs.org>
5722 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5723 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5724 Result: "temacs can only be run in -batch mode."
5725 Fix: Check xemacs executable candidate for directory-ness.
5727 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5729 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5730 they conflict with <sys/types.h>.
5732 2003-02-14 Martin Buchholz <martin@xemacs.org>
5734 * database.c: Berkeley DB wants __STDC__ to be defined.
5736 2003-02-13 Martin Buchholz <martin@xemacs.org>
5738 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5740 2003-02-01 Martin Buchholz <martin@xemacs.org>
5742 * process-unix.c (unix_send_process): Fix C++ compile error.
5744 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5746 * Added .dylib as an acceptable shared library file extension
5747 * to support MacOSX.
5749 2003-02-01 Martin Buchholz <martin@xemacs.org>
5751 * EmacsFrameP.h (EmacsFramePart):
5752 Kludge to allow compiling with Motif1, but linking with Motif2.
5754 2003-01-28 Martin Buchholz <martin@xemacs.org>
5756 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5759 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5761 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5763 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5765 * sysdll.c: Included lisp.h to define needed alloca_array.
5767 2003-02-13 Martin Buchholz <martin@xemacs.org>
5769 Make XEmacs redisplay 10 times faster.
5770 If, that is, you're using a slow X connection and MoveOpaque.
5771 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5772 Use compress_motion = TRUE.
5773 * EmacsFrame.c (emacsFrameClassRec):
5774 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5775 * EmacsManager.c (emacsManagerClassRec):
5776 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5778 2003-01-30 Vin Shelton <acs@xemacs.org>
5780 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5782 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5784 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5785 Patch by Martin Buchholz.
5787 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5789 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5790 Thanks to icc for warning and Martin Buchholz for reporting.
5792 2003-01-29 Vin Shelton <acs@xemacs.org>
5794 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5796 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5797 remember to multiply by the element size.
5799 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5801 * XEmacs 21.4.12 "Portable Code" is released.
5803 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5805 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5806 * s/cygwin.sc: new linker file.
5808 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5810 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5812 * redisplay-x.c (x_output_string): Use X11-specified types.
5813 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5814 * emacs.c (__free_hook): Use typeof with Intel compiler.
5815 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5817 2003-01-08 Andy Piper <andy@xemacs.org>
5819 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5820 reserve size during unexec().
5822 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5824 * process-unix.c (unix_create_process): Don't let outchannel block.
5826 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5828 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5829 Needed for IsBadReadPtr().
5831 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5833 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5835 2002-12-14 Ben Wing <ben@xemacs.org>
5837 * callint.c: Declaration error.
5839 * dumper.c (pdump_load): Warning fix.
5840 * process.c: GCPRO error.
5841 * glyphs.c (unmap_subwindow):
5842 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5843 * event-stream.c (maybe_kbd_translate): Wrong argument to
5844 character_to_event().
5846 * alloc.c (garbage_collect_1):
5848 * emacs.c (debug_can_access_memory):
5849 * emacs.c (fatal_error_signal):
5850 * emacs.c (mswindows_handle_hardware_exceptions):
5853 * emacs.c (assert_failed):
5854 * emacs.c (syms_of_emacs):
5857 * print.c (std_handle_out_va):
5858 * print.c (write_string_to_stdio_stream):
5859 * print.c (write_fmt_string):
5860 * print.c (printing_badness):
5861 * print.c (printing_major_badness):
5862 * print.c (print_internal):
5863 * print.c (debug_print_no_newline):
5864 * print.c (debug_backtrace):
5865 Be more defensive in handling bad values when printing. Add code
5866 from trunk involving inhibit_non_essential_printing_operations.
5867 When going down or in debug_print(), don't do external conversion
5868 and such and try really, really hard when printing to avoid core
5869 dumping. Add force-debugging-signal, debug_break().
5871 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5873 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5874 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5876 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5878 * database.c: Fix open_database. Berkeley DB API has changed in
5879 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5881 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5883 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5885 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5887 * event-Xt.c (Xt_timeout):
5888 (Xt_timeout_callback):
5889 (emacs_Xt_add_timeout):
5890 (emacs_Xt_remove_timeout):
5891 (Xt_timeout_to_emacs_event):
5892 Turn completed_timeouts from a stack into a queue. Fixes
5893 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5895 2002-11-07 Wolfram Gloger <wg@malloc.de>
5897 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5898 * emacs.c (main): Assert that mmap'd allocation is disabled.
5900 2002-10-14 Andy Piper <andy@xemacs.org>
5902 * glyphs-widget.c (layout_query_geometry): add in fiddle
5903 factor. Include border text in width layout calculation.
5904 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5906 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5908 * XEmacs 21.4.10 "Military Intelligence" is released.
5910 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5912 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5913 using the NAS private array SoundFileInfo that no longer exists in
5914 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5915 and earlier. This is broken for some versions between 1.5a and
5918 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5920 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5922 * emacs.c (shut_down_emacs): Improve crash message.
5924 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5926 * file-coding.c (determine_real_coding_system): Check for coding
5927 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5928 shebangs and Python PEP 263.
5930 2002-10-08 Andy Piper <andy@xemacs.org>
5932 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5933 if static sizes haven't been set.
5935 2002-08-30 Mike Alexander <mta@arbortext.com>
5937 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5940 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5942 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5944 2002-09-20 Mike Sperber <mike@xemacs.org>
5946 (This partially gets back my patch from 2002-07-20 without the
5948 * callproc.c (child_setup): Remove Ben's comment noting confusion
5949 over the file descriptors >= 3: close_process_descs() doesn't
5950 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5951 * process-unix.c (unix_create_process): Call
5952 begin_dont_check_for_quit to inhibit unwanted interaction (and
5953 thus breaking of X event synchronicity) in the child.
5955 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5957 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5960 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5962 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5963 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5964 the xemacs process did not exit, but looped infinitely here. This
5967 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5969 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5970 (find_context): Improve comments.
5972 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5973 (re_match_2): An XCHAR_TABLE operation was missing.
5975 Many of the following changes were inspired by Andy Piper's (now
5976 obsolete) patch to make syntax-table text property lookup optional.
5980 * syntax.h (top level): Document semantics of syntax flags.
5981 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5982 * syntax.c, syntax.h (top level): Document syntax cache better in
5985 [Instrument syntax caching (temporary change)]
5987 * syntax.h (enum syntax_cache_statistics_functions, struct
5988 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5989 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5990 * syntax.c (scan_words, Fforward_comment, scan_lists,
5991 Fbackward_prefix_characters):
5992 * font-lock.c (find_context):
5993 Use them to instrument syntax caching.
5994 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5995 syntax_cache_statistics_function_names): New type and variables.
5996 * syntax.c (update_syntax_cache): Update and report statistics.
5998 [Major syntax cache optimizations]
6000 syntax.c (lookup_syntax_properties): Default off.
6002 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
6003 * syntax.c (update_syntax_cache):
6004 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
6006 [Minor syntax cache optimizations and code clarifications]
6008 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
6009 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
6010 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
6011 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
6012 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
6013 (Code clarification.)
6015 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
6016 scan_lists): Compute code from syncode, use Boolean macros instead
6017 of redundant masking operations. (Code clarification; any decent
6018 compiler can do this optimization.)
6020 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
6023 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
6024 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
6025 use F*_single_property_change instead of F*_extent_change.
6026 Currently F*_single_property_change is _much_ less efficient.
6028 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6029 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6030 syntax_cache.object properly, don't leave Qt or Qnil.
6031 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6032 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6033 tests for Qt or Qnil.
6035 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6037 * redisplay.c (point_in_line_start_cache):
6038 * extents.c (print_extent_1):
6041 * extents.c (Fset_extent_property): Document `syntax-table' property.
6043 * extents.h (Fnext_single_property_change): EXFUN it.
6045 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6047 * search.c (clear_unused_search_regs): New static function.
6051 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6052 Minor clarifications in comments.
6054 * regex.c (re_match_2_internal): Ensure no stale submatches.
6056 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6058 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6060 2002-08-29 Jerry James <james@xemacs.org>
6062 * lisp.h: structrures -> structures.
6064 2002-06-03 Andy Piper <andy@xemacs.org>
6066 * frame.c (frame_conversion_internal): add conversion appropriate
6067 for setting frame dimensions in pixels.
6069 * console.h (struct console_methods): add device-specific widget
6072 * emacs.c (main_1): initialize glyph vars.
6074 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6075 (handle_focus_event_2): new function. Allow focus to
6076 be set to a particular window and widget.
6077 (enqueue_focus_event): new function. Create a
6078 synthetic focus event.
6079 (emacs_Xt_handle_magic_event): call
6080 handle_focus_event_2.
6082 * frame.c (Fset_frame_pixel_height): new function. Allow
6083 pixel-based sizing. Does the right thing on character-oriented
6085 (Fset_frame_pixel_width): ditto.
6086 (Fset_frame_pixel_size): ditto.
6087 (syms_of_frame): declare.
6089 * general-slots.h: add :vertically-justify and
6090 :horizontally-justify.
6092 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6093 (mswindows_widget_border_width): new function.
6094 (mswindows_combo_box_instantiate): set border widths.
6095 (console_type_create_glyphs_mswindows): declare.
6098 (check_valid_justification): allow vertical and horizontal
6100 (widget_border_width): new function. Call device methods.
6101 (widget_instance_border_width): ditto.
6102 (logical_unit_height): new function. Determine the height of a
6103 logical-unit. Logical units are intended to provide grid-like
6104 layout for subcontrols in a layout. If the layout is
6105 :vertically-justify top then subcontrols will be positioned on
6106 logical-unit boundaries, thus allowing adjacent subcontrols to
6108 (widget_logical_unit_height): ditto for widgets.
6109 (redisplay_widget): misc cleanup.
6110 (widget_spacing): new function. Call device specific
6111 methods. Intended to be the default gap between adjacent widgets.
6112 (widget_query_geometry): use new spacing functions to determine
6113 appropriate geometry.
6114 (initialize_widget_image_instance): initialize horizontal and
6115 vertical justification.
6116 (widget_instantiate): use logica-units where appropriate for
6117 sizing large widgets.
6118 (button_query_geometry): use widget_instance_border_width.
6119 (tree_view_query_geometry): ditto.
6120 (tab_control_query_geometry): ditto.
6121 (edit_field_query_geometry): new function.
6122 (layout_update): pick up :justify, :horizontally-justify and
6123 :vertically-justify none of which worked previously. :justify is
6124 used as a fallback for both horizontal and vertical justification.
6125 (layout_query_geometry): use logical units to size appropriately.
6126 (layout_layout): ditto.
6127 (Fwidget_logical_to_character_width): new function. Allow users to
6128 convert from logical units to characters so that frame sizes can
6129 be set appropriately.
6130 (Fwidget_logical_to_character_height): ditto.
6131 (syms_of_glyphs_widget): declare.
6132 (image_instantiator_edit_fields): add edit_field_query_geometry.
6133 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6134 :horizontally-justify.
6135 (specifier_vars_of_glyphs_widget): new function. Declare
6136 Vwidget_border_width which is not yet used.
6138 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6139 (x_widget_border_width): new function.
6140 (x_widget_instantiate): create a sensible name for widgets.
6141 (console_type_create_glyphs_x): declare x_widget_border_width.
6143 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6144 (struct Lisp_Image_Instance): add :vertically-justify and
6145 :horizontally-justify.
6146 (LAYOUT_JUSTIFY_TOP): new.
6147 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6148 (ROUND_UP): new macro. Round argument up to next integral
6151 * redisplay-output.c (redisplay_output_layout): misc formatting.
6153 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6155 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6157 * XEmacs 21.4.9 "Informed Management" is released.
6159 2002-08-19 Andy Piper <andy@xemacs.org>
6161 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6164 * realpath.c (xrealpath): normalize drive spec also so that dir
6165 sep chars are not mixed on cygwin.
6167 2002-08-06 Jerry James <james@xemacs.org>
6169 * window.c (Fsplit_window): Count only half of the divider width
6170 against the left window when splitting horizontally.
6172 2002-06-24 Andy Piper <andy@xemacs.org>
6174 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6175 toolbar was cleared.
6177 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6178 function. Split out from mswindows_output_frame_toolbars.
6179 (mswindows_output_frame_toolbars): move clear pieces to
6180 mswindows_output_frame_toolbars.
6182 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6183 out from gtk_output_frame_toolbars.
6184 (gtk_output_frame_toolbars): move clear pieces to
6185 gtk_clear_frame_toolbars.
6187 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6188 the frame is cleared. How this ever worked before is a mystery.
6189 (x_output_frame_toolbars): Only output toolbars.
6190 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6192 * gutter.c (update_gutter_geometry):
6193 Mark frame layout changed.
6194 (update_frame_gutter_geometry, update_frame_gutters):
6195 Respect frame_layout_changed.
6197 * console.h (struct console_methods): add
6198 clear_frame_toolbars_method.
6200 * redisplay.c (redisplay_frame): call
6201 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6203 * toolbar.h: declare update_frame_toolbars_geometry.
6205 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6206 out from update_frame_toolbars. Call clear_frame_toolbars.
6207 (update_frame_toolbars): only output, do not change geometry.
6209 * redisplay.c: add frame_layout_changed.
6211 * redisplay.h: add frame_layout_changed.
6212 (CLASS_RESET_CHANGED_FLAGS): set it.
6213 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6214 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6215 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6217 * device.h (struct device): add frame_layout_changed.
6218 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6220 * frame.h (struct frame): add frame_layout_changed.
6221 (MARK_FRAME_LAYOUT_CHANGED): new.
6223 2002-06-30 Mike Alexander <mta@arbortext.com>
6225 * event-msw.c (mswindows_need_event): Don't wait for a new message
6226 if the queue is not empty. Suggested by Paul Moore.
6228 2002-06-12 Andy Piper <andy@xemacs.org>
6230 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6231 for printing on accurately.
6233 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6235 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6236 WM_ACTIVATE message. Make sure that the frame is visible if the
6237 window is visible. This seemss to fix the problem where XEmacs
6238 appears to freeze after switching desktops with certain virtual
6240 (debug_output_mswin_message): Added code to output message
6241 parameters for WM_WINDOWPOSCHANGED,
6242 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6244 2002-05-25 Andy Piper <andy@xemacs.org>
6246 * select-x.c (vars_of_select_x): Fix docstring of
6247 x-selection-strict-motif-ownership
6249 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6251 * keymap.c (get_keymap):
6252 Add comment about do_autoload GCPROs own args.
6254 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6256 * bytecode.c (execute_optimized_program): check_opcode ifdef
6257 ERROR_CHECK_BYTE_CODE.
6259 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6261 Thanks to Ben Wing and Michael Sperber.
6263 * eval.c (Fcommand_execute):
6266 (Fmacroexpand_internal):
6267 (function_argcount):
6268 callint.c (Fcall_interactively):
6269 Add comment about do_autoload GCPROs own args.
6271 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6273 * eval.c (Ffuncall): Extra braces to placate GCC.
6275 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6277 * backtrace.h (grow_specpdl):
6279 * EmacsFrame.c (EmacsFrameSetValues):
6280 * eval.c (grow_specpdl):
6281 * ExternalShell.c (hack_event_masks_1):
6282 * glyphs-x.c (convert_EImage_to_XImage):
6283 (x_finalize_image_instance):
6284 * ralloc.c (page_size):
6286 * xgccache.c (gc_cache_hash):
6287 Fix unsigned comparison warnings.
6289 2002-07-29 Jerry James <james@xemacs.org>
6291 * lread.c (locate_file): Any nonnegative return value indicates
6292 success if MODE is nonnegative.
6294 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6296 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6299 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6301 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6303 * dumper.c (pdump_get_indirect_count):
6304 (pdump_scan_by_alignment):
6305 (pdump_dump_root_struct_ptrs):
6306 (pdump_dump_rtables):
6307 (pdump_dump_root_objects):
6309 * nas.c (WaveOpenDataForReading):
6310 * fns.c (print_bit_vector):
6311 * font-lock.c (SINGLE_SYNTAX_STYLE):
6312 * glyphs.c (check_for_ignored_expose):
6313 (find_matching_subwindow):
6315 * imgproc.c (get_histogram):
6316 * redisplay.c (point_in_line_start_cache):
6317 * redisplay-output.c (redisplay_unmap_subwindows):
6318 * symbols.c (defsymbol_massage_name_1):
6319 (defkeyword_massage_name):
6320 (deferror_massage_name_and_message):
6321 * redisplay-x.c (x_output_string):
6322 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6323 * frame.h (struct frame):
6324 * filelock.c (current_lock_owner):
6325 * doprnt.c (emacs_doprnt_1):
6326 * lisp.h (struct Lisp_Bit_Vector):
6330 2002-02-13 Ben Wing <ben@xemacs.org>
6332 * event-stream.c (reset_key_echo):
6333 * event-stream.c (reset_this_command_keys):
6334 * event-stream.c (execute_command_event):
6335 If console is dead as a result of C-x 5 0, then post-command stuff
6336 needs to be careful and do only non-console-specific stuff.
6338 2002-07-01 Mike Sperber <mike@xemacs.org>
6340 * process-unix.c (unix_send_process): Mark coding_outstream as
6341 non-open upon SIGPIPE.
6343 * event-stream.c (Fnext_event): Reorder switch cases to something
6346 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6348 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6349 Don't bogusly reinitialize ascii_character property.
6351 2002-07-08 Mike Sperber <mike@xemacs.org>
6353 * process.c (Fstart_process_internal): Do error checking before we
6354 fork off the child, so the child can't muck with the state of the
6357 2002-07-08 Mike Sperber <mike@xemacs.org>
6359 * ralloc.c (init_ralloc): Allocate properly for pdump.
6361 2002-06-12 Andy Piper <andy@xemacs.org>
6363 * glyphs.c (query_string_geometry): check the string.
6365 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6368 2002-06-17 Jerry James <james@xemacs.org>
6370 * sysdll.c: Remove RTLD_GLOBAL initialization.
6371 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6373 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6375 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6377 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6379 * sysdep.c (sys_rename): Make sys_rename work for the case where
6380 Windows rename sets errno to EACCES if target file exists.
6382 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6384 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6385 Fix detection of metric units to work on Win95
6387 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6389 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6391 2002-04-25 Andy Piper <andy@xemacs.org>
6393 * redisplay.c (create_text_block): Remove extra comment trailer.
6395 2002-04-24 Andy Piper <andy@xemacs.org>
6397 * redisplay.c (create_text_block): Don't actually add propagation
6398 data if the line ends after we have added a glyph.
6400 2002-04-22 Andy Piper <andy@xemacs.org>
6402 * extents.c (extent_fragment_update): check for glyphs we have
6403 previously displayed.
6404 * extents.c (print_extent_1): warning removal.
6405 * extents.h: change prototype.
6406 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6407 widths correctly for wide glyphs.
6408 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6409 * redisplay.c (prop_type): add PROP_GLYPH.
6410 * redisplay.c (struct prop_block): add glyph type
6411 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6412 to the propagation data.
6413 * redisplay.c (create_text_block): if there is a glyph in the
6414 propagation data use it to salt extent_fragment_update.
6415 * redisplay.c (create_string_text_block): ditto.
6417 2002-04-13 Nix <nix@esperi.demon.co.uk>
6419 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6420 * redisplay-output.c (compare_runes): Compare them.
6421 * redisplay.c: Update copyright date.
6422 * redisplay.c (pos_data): Add need_baseline_computation field.
6423 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6424 need_baseline_computation; zero yoffset. Set max_pixmap_height
6425 for all pixmaps, not just automatically positioned ones.
6426 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6427 * redisplay.c (calculate_baseline): New, compute textual baseline.
6428 * redisplay.c (add_glyph_rune): Call them.
6429 * redisplay.c (create_text_block): Likewise.
6430 * redisplay.c (create_overlay_glyph_block): Likewise.
6431 * redisplay.c (add_margin_runes): Likewise.
6432 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6434 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6435 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6436 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6437 * redisplay-msw.c (mswindows_output_string): Likewise.
6438 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6439 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6440 * redisplay-x.c (x_output_display_block): Likewise.
6442 2002-03-28 Ben Wing <ben@xemacs.org>
6444 * redisplay.c: Fixed bug in redisplay
6445 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6446 and down of the lines, since they're bigger than the line
6447 size. (It was seen most obviously when there's a horizontal scroll
6448 bar, e.g. do C-h a glyph or something like that.) The problem was
6449 that the glyph-contrib-p setting on glyphs was ignored even if it
6450 was set properly, which it wasn't until now.
6452 2002-04-24 Andy Piper <andy@xemacs.org>
6454 * lisp.h (Dynarr_end): Fix definition.
6456 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6458 * redisplay.c (mark_redisplay): Remove call to
6459 update_frame_window_mirror.
6461 2001-11-15 Andy Piper <andy@xemacs.org>
6463 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6466 2002-02-13 Andy Piper <andy@xemacs.org>
6468 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6469 we did in fact enqueue the XM_MAPFRAME event.
6471 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6473 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6474 to fix problem switching between virtual desktops under virtuawin
6475 virtual window manager.
6477 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6479 * event-msw.c: Typo fix.
6480 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6481 magic XM_MAPFRAME event has been sent.
6483 2001-11-23 Andy Piper <andy@xemacs.org>
6485 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6487 2001-11-21 Andy Piper <andy@xemacs.org>
6489 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6490 mouse events outside the frame.
6492 2002-03-20 Andy Piper <andy@xemacs.org>
6494 * menubar-msw.c (mswindows_popup_menu): warning removal.
6495 * dialog-msw.c (dialog_popped_down): ditto.
6497 2001-12-11 Andy Piper <andy@xemacs.org>
6499 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6500 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6502 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6503 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6504 * menubar-msw.c (mswindows_popup_menu): ditto.
6506 2001-10-29 Andy Piper <andy@xemacs.org>
6508 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6511 2002-01-03 Andy Piper <andy@xemacs.org>
6513 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6517 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6519 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6520 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6521 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6522 Detect and handle case where machine is set up for metric units
6524 2002-04-02 Andy Piper <andy@xemacs.org>
6526 * dired-msw.c (mswindows_get_files):
6527 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6528 completely handled by XEmacs. Suggested by Thomas Vogler
6529 <mail@thomas-vogler.de>.
6531 2001-11-14 Andy Piper <andy@xemacs.org>
6533 * nt.c (REG_ROOT): change registry key to XEmacs.
6535 2002-04-27 Andy Piper <andy@xemacs.org>
6537 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6539 2002-04-26 Andy Piper <andy@xemacs.org>
6541 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6544 2002-03-14 Mike Alexander <mta@arbortext.com>
6546 * event-msw.c (mswindows_unwait_process): New, remove process from
6548 * process-nt.c (nt_finalize_process_data): Call
6549 mswindows_unwait_process
6550 * console-msw.h: Declare mswindows_unwait_process
6552 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6554 * editfns.c (Fdecode_time):
6555 (Fformat_time_string):
6556 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6557 (make_time): Warning elimination (change arg name).
6559 2001-11-24 Andy Piper <andy@xemacs.org>
6561 * window.c (Fsplit_window): Doc return type.
6563 2002-04-01 Andy Piper <andy@xemacs.org>
6565 * emacs.c (Fkill_emacs): Only output message box in interactive
6568 2002-04-26 Andy Piper <andy@xemacs.org>
6570 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6573 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6575 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6578 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6580 * XEmacs 21.4.8 "Honest Recruiter" is released.
6582 2002-05-07 Nix <nix@esperi.demon.co.uk>
6584 Supersedes 2002-04-17 patch.
6586 * process.h (PROCESS_LIVE_P): Use the process status as
6587 evidence of health, not the state of the input stream.
6588 (PROCESS_READABLE_P): Say if the process is readable
6589 from. (It may be dead nonetheless.)
6590 (CHECK_READABLE_PROCESS): Test for that condition.
6592 * process.c (create_process): Use PROCESS_READABLE_P.
6593 (read_process_output, set_process_filter): Likewise.
6595 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6596 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6598 This code is #if 0'd, this is not the time to add new functions:
6600 * process.c (Fprocess_readable_p): Report readability status.
6601 * process.c (Qprocess_readable_p): New, associated symbol...
6602 * process.c (syms_of_process): ... initialize it.
6604 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6606 * XEmacs 21.4.7 "Economic Science" is released.
6608 2002-04-17 Nix <nix@esperi.demon.co.uk>
6610 * process.h (PROCESS_LIVE_P): Use the process status as
6611 evidence of health, not the state of the input stream.
6613 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6615 * sysdep.c (sys_siglist): change "signum" to "signal"
6617 2001-04-21 Martin Buchholz <martin@xemacs.org>
6619 * s/darwin.h: New file.
6620 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6622 2002-04-23 Andreas Jaeger <aj@suse.de>
6624 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6625 which use lib64 for 64-bit libs.
6626 (START_FILES): Likewise.
6628 2002-02-11 Mike Sperber <mike@xemacs.org>
6631 (x_IO_error_handler):
6632 (x_init_device): Temporarily keep device in static variable
6633 `device_being_initialized' so we can recover gracefully from
6634 internal XOpenDevice failure. (XOpenDevice is documented to
6635 return NULL on failure, but sometimes calls the IO error handler
6638 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6640 * dired.c (Ffile_name_all_completions): Change documentation --
6641 remove reference to completion-ignored-extensions.
6642 * dired.c (vars_of_dired): Change documentation for
6643 completion-ignored-extensions -- remove reference to
6644 file-name-all-completions.
6646 2002-03-06 Jerry James <james@xemacs.org>
6648 * emodules.c (emodules_load): Fix multiple loading of same module.
6650 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6651 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6652 RTLD_LAZY to avoid incorrect symbol binding when using nested
6653 shared libraries on Solaris.
6655 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6657 * fileio.c (Ffind_file_name_handler): Improve docstring.
6659 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6661 * fns.c (Fmapconcat): Improve docstring.
6663 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6665 * device-gtk.c: Add prototype for
6666 emacs_gtk_selection_clear_event_handle.
6667 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6668 selection. Setup signal handler for "selection_clear_event"
6669 (emacs_gtk_selection_clear_event_handle).
6671 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6672 other applications owning the clipboard (based on
6673 x_handle_selection_clear).
6675 2001-12-23 William M. Perry <wmperry@gnu.org>
6677 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6679 2002-01-04 Martin Buchholz <martin@xemacs.org>
6681 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6683 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6685 * XEmacs 21.4.6 "Common Lisp" is released.
6687 2001-12-16 Torsten Duwe <duwe@caldera.de>
6689 * search.c (Freplace_match): Add missing sub-expression functionality.
6691 * buffer.c (decode_buffer): Add a check for pointer type to
6692 decode_buffer, before gcc's CSE optimization reorders a
6693 dereference in front of the allow_string test.
6695 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6697 * window.c (window_loop): Fix bug that sometimes prevented
6698 window_loop() from iterating across multiple devices. Also, at
6699 Ben's request, changed infloop-detecting code to abort() instead
6700 of silently terminating window_loop().
6702 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6704 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6705 * editfns.c (make_time): New function.
6706 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6707 * lisp.h (make_time): Prototype and comment it.
6708 * dired.c (wasteful_word_to_lisp): Deprecate.
6709 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6711 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6713 * fileio.c (auto_save_1): Use current coding system, not
6716 2001-11-13 Ben Wing <ben@xemacs.org>
6719 * window.c (window_truncation_on):
6720 * window.c (syms_of_window):
6721 truncate-partial-width-windows should respect the buffer being
6722 displayed, like other redisplay vars.
6724 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6726 * event-stream.c (Fread_key_sequence): save current buffer.
6728 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6730 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6732 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6734 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6736 2001-10-26 Mike Alexander <mta@arbortext.com>
6738 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6740 2001-10-25 Andy Piper <andy@xemacs.org>
6743 * dialog-msw.c (handle_directory_proc): new function.
6744 (handle_directory_dialog_box): new fucntion.
6745 (handle_file_dialog_box): use new directory dialog support.
6746 (mswindows_make_dialog_box_internal): ditto.
6747 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6749 (mswindows_find_frame): make global.
6750 * fileio.c (Fexpand_file_name): build fix.
6751 * general-slots.h: add Qdirectory.
6752 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6754 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6755 cygwin not leaving win32 paths unchanged.
6756 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6757 cygwin runtime to do path conversion.
6758 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6759 (syms_of_win32): add new function.
6760 * window.c (window_loop): build fix.
6762 2001-10-15 Andy Piper <andy@xemacs.org>
6764 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6766 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6768 * XEmacs 21.4.5 "Civil Service" is released.
6770 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6772 * glyphs-x.c: Force buffer-tab highlight update when moving the
6773 buffer, avoiding an ugly black border, used for keyboard focus
6774 indication, on a widget that can never have keyboard focus, the
6777 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6779 * process-unix.c (unix_open_multicast_group): Remove too much
6780 conversion between host and network byte order.
6782 2001-09-10 Nix <nix@esperi.demon.co.uk>
6784 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6785 before replacing them.
6787 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6790 * src/window.c (undedicate_windows): Use it.
6791 * src/window.h: Add prototype.
6793 2001-09-17 Ben Wing <ben@xemacs.org>
6795 * fileio.c (normalize_filename):
6796 * fileio.c (Fexpand_file_name):
6797 Fix various C++ compile errors in Andy's recent code.
6799 * callint.c (Fcall_interactively):
6800 * editfns.c (Ftemp_directory):
6801 * editfns.c (Fuser_full_name):
6802 * emacs.c (argmatch):
6803 * lread.c (locate_file_map_suffixes):
6804 * redisplay-x.c (x_ring_bell):
6805 Fix sign-compare warnings.
6807 2001-09-08 Andy Piper <andy@xemacs.org>
6809 * fileio.c (normalize_filename): copied from nt.c
6810 * (Ffile_name_directory): enable win32 paths under cygwin.
6811 * (Ffile_name_nondirectory): ditto.
6812 * (directory_file_name): ditto.
6813 * (Fexpand_file_name): ditto.
6814 * (Ffile_truename): ditto.
6815 * (Fsubstitute_in_file_name): ditto.
6816 * (Ffile_name_absolute_p): ditto.
6817 * (Ffile_readable_p): ditto.
6819 2001-09-08 Andy Piper <andy@xemacs.org>
6821 * device-msw.c (mswindows_finish_init_device): remove dde
6823 * device-msw.c (mswindows_init_dde): factor out from
6824 mswindows_finish_init_device()
6825 * device-msw.c (init_mswindows_very_early): new function
6826 initialize but don't enable dde.
6827 * emacs.c (main_1): call init_mswindows_very_early.
6829 * event-msw.c (mswindows_dde_callback): only execute when we are
6831 * symsinit.h: declare init_mswindows_very_early.
6833 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6835 [sjt: This has been in 21.5 for months with no complaints.]
6837 * console.h (struct console_methods): Added flags member.
6838 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6839 (CONMETH_IMPL_FLAG):
6840 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6841 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6843 * device.c (window_system_pixelated_geometry): Use the above macros.
6845 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6846 implememntation flag.
6847 * device.h (DEVICE_DISPLAY_P): Use it.
6849 * frame.c (delete_frame_internal): Use the above macro.
6851 * redisplay.c (redisplay_device): Use it.
6852 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6853 (redisplay_frame): Ditto.
6855 * device-msw.c (mswindows_device_implementation_flags): Removed.
6856 (msprinter_device_implementation_flags): Removed.
6857 (console_type_create_device_mswindows): Removed references to
6858 implementation_flags methods, set implementation flags here.
6859 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6861 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6862 (console_type_create_device_gtk): Removed method declaration.
6863 Added commented out statement which semantically matches the
6864 commented out statement in the above removed method.
6866 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6868 The attached patch fixes a few warnings.
6870 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6871 * src/frame-gtk.c: guard against GNOME calls in GTK only
6872 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6873 * src/select-gtk.c: prototype lisp_to_time
6875 2001-06-08 Ben Wing <ben@xemacs.org>
6877 ------ gc-in-window-procedure fixes ------
6880 * alloc.c (struct post_gc_action):
6881 * alloc.c (register_post_gc_action):
6882 * alloc.c (run_post_gc_actions):
6883 * alloc.c (garbage_collect_1):
6884 Create "post-gc actions", to avoid those dreaded "GC during window
6885 procedure" problems.
6888 Abort, clean and simple, when GC in window procedure. We want
6889 to flush these puppies out.
6892 * glyphs-msw.c (finalize_destroy_window):
6893 * glyphs-msw.c (mswindows_finalize_image_instance):
6894 Use a post-gc action when destroying subwindows.
6897 Declare register_post_gc_action().
6900 * scrollbar-msw.c (unshow_that_mofo):
6901 Use a post-gc action when unshowing scrollbar windows, if in gc.
6903 * redisplay.c (mark_redisplay):
6904 Add comment about the utter evilness of what's going down here.
6906 ------ cygwin setitimer fixes ------
6908 * Makefile.in.in (sheap_objs):
6909 * Makefile.in.in (profile_objs):
6910 * Makefile.in.in (objs):
6911 Compile profile.c only when HAVE_SETITIMER.
6913 * nt.c (mswindows_sigset):
6914 * nt.c (mswindows_sighold):
6915 * nt.c (mswindows_sigrelse):
6916 * nt.c (mswindows_sigpause):
6917 * nt.c (mswindows_raise):
6918 * nt.c (close_file_data):
6922 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6925 * profile.c (Fstart_profiling):
6926 * profile.c (Fstop_profiling):
6927 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6928 instead of just plain setitimer().
6931 * signal.c (set_one_shot_timer):
6933 Define qxe_setitimer() as an encapsulation around setitimer() --
6934 call setitimer() directly unless Cygwin or MS Win, in which case
6935 we use our simulated version in win32.c.
6938 * systime.h (struct itimerval):
6939 * systime.h (ITIMER_REAL):
6940 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6941 comment about "qxe" and the policy regarding encapsulation.
6944 * win32.c (setitimer_helper_proc):
6945 * win32.c (setitimer_helper_period):
6946 * win32.c (setitimer_helper):
6947 * win32.c (mswindows_setitimer):
6948 Move setitimer() emulation here, so Cygwin can use it.
6949 Rename a couple of functions and variables to be longer and more
6950 descriptive. In setitimer_helper_proc(), send the signal
6951 using either mswindows_raise() or (on Cygwin) kill(). If for
6952 some reason we are still getting lockups, we'll change the kill()
6953 to directly invoke the signal handlers.
6955 ------ windows shell fixes ------
6959 Comments about how these two files must die.
6961 * callproc.c (init_callproc):
6962 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6963 not just COMSPEC. (more correct and closer to FSF.) Don't
6964 force a value for SHELL into the environment. (Comments added
6965 to explain why not.)
6967 * nt.c (init_user_info):
6968 Don't shove a fabricated SHELL into the environment. See above.
6970 2001-06-01 Ben Wing <ben@xemacs.org>
6972 * Makefile.in.in (ldflags):
6973 eliminate that pesky "defaulting to 00401000" warning.
6977 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6979 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6980 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6982 2001-04-24 Jerry James <james@xemacs.org>
6984 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6987 2001-06-01 Ben Wing <ben@xemacs.org>
6989 * event-msw.c (debug_mswin_messages):
6990 conditionalize the messages that were causing compile errors.
6991 (if only macros could generate #ifdef statements ...)
6993 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6995 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6997 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6999 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
7001 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7003 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
7004 * process-unix.c (unix_canonicalize_host_name):
7005 sysdep.c (init_system_name):
7006 Use it to conditionally support IPv6 canonicalization.
7008 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
7011 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
7013 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
7015 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
7016 attempt is made to scroll when no scroll bar is available.
7018 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7020 * input-method-motif.c (XIM_delete_frame): New callback.
7021 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
7022 got deleted from 21.4.3.)
7024 2001-06-01 Ben Wing <ben@xemacs.org>
7026 * nt.c (mswindows_utime):
7027 * nt.c (close_file_data):
7028 fix off-by-one-indirection error.
7030 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7032 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7033 because set_file_times() now takes Lisp_Object path, instead of
7035 * nt.c: Include buffer.h.
7036 * nt.c (convert_from_time_t): New.
7037 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7038 not set mtime correctly.
7039 * nt.h: Declare mswindows_utime().
7040 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7041 path, instead of char*.
7042 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7044 2001-05-30 Ben Wing <ben@xemacs.org>
7048 (Stephen, just take all event-msw.c patches. This includes
7049 the "iconify" fix below.)
7052 * event-msw.c (mswindows_dequeue_dispatch_event):
7053 * event-msw.c (assert):
7054 * event-msw.c (emacs_mswindows_quit_p):
7055 * event-msw.c (debug_mswin_messages):
7056 * event-msw.c (debug_output_mswin_message):
7057 * event-msw.c (vars_of_event_mswindows):
7058 Fix yet more problems with C-g handling.
7059 Implement debug-mswindows-events.
7061 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7063 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7065 2001-05-23 Ben Wing <ben@xemacs.org>
7067 * event-msw.c (winsock_writer):
7068 * event-msw.c (winsock_closer):
7069 prior kludgy code was clobbering the buffer, thinking it was
7070 "unused" space to store an unneeded return value; instead, use
7071 the variable we've already got staring us in the face.
7073 2001-05-17 Andy Piper <andy@xemacs.org>
7075 * sysfile.h: don't assume that file attributes are boolean
7077 2001-05-23 Ben Wing <ben@xemacs.org>
7079 * device-msw.c (msprinter_init_device):
7080 signal an error rather than crash with an unavailable network
7081 printer (from Mike Alexander).
7084 * event-msw.c (struct winsock_stream):
7085 * event-msw.c (winsock_writer):
7086 * event-msw.c (winsock_closer):
7087 * event-msw.c (make_winsock_stream_1):
7088 cleanup headers. fix (hopefully) an error with data corruption
7089 when sending to a network connection.
7091 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7092 to handle the ~user prefix by (a) always assuming we're referencing
7093 ourselves and not even verifying the user -- hence any file with
7094 a tilde as its first char is invalid! (b) if there wasn't a slash
7095 following the filename, the pointer was set *past* the end of
7096 file and we started reading from uninitialized memory. Now we
7097 simply treat these as files, always.
7099 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7101 2001-05-19 Ben Wing <ben@xemacs.org>
7103 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7106 * process-nt.c (vars_of_process_nt):
7107 remove unused mswindows-quote-process-args. rec for 21.4.
7109 2001-05-12 Ben Wing <ben@xemacs.org>
7111 * event-msw.c (mswindows_dde_callback):
7112 * event-msw.c (mswindows_wnd_proc):
7113 eliminate cygwin warnings.
7115 2001-05-06 Ben Wing <ben@xemacs.org>
7119 * device-msw.c (print_dialog_worker):
7120 * device-msw.c (mswindows_handle_print_dialog_box):
7121 * device-msw.c (syms_of_device_mswindows):
7122 * dialog-msw.c (mswindows_make_dialog_box_internal):
7124 implement printing the selection when it's selected.
7126 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7128 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7130 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7132 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7133 EMACS_INT is signed.
7135 2001-04-15 Michael Lausch <mla@1012surf.net>
7137 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7138 gtk_widget_request_size() to give scrollbar >0 width for
7141 2001-05-30 William M. Perry <wmperry@gnu.org>
7143 * event-gtk.c: Check for buttons as modifier keys.
7145 2001-05-25 Craig Lanning <CraigL@Knology.net>
7148 Properly find MinGW's <process.h> inside Cygwin's restructured
7149 include directories. Don't try to include <cygwin/version.h>
7150 since we are dropping support for MinGW in versions of Cygwin
7153 Drop support for MinGW in versions of Cygwin before b21.
7155 Properly find MinGW's <process.h> inside Cygwin's restructured
7156 include directories.
7158 Drop support for MinGW in versions of Cygwin before b21.
7160 Even though a.out.h is no longer detected by configure, allow
7161 MinGW to use it until we figure out how to do the job with Win32.
7163 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7165 * syntax.c (find_start_of_comment):
7166 Fix `unbalanced parentheses' bug when dealing with mixed comment
7167 styles in c++/java/etc. mode
7169 2001-05-29 Mike Alexander <mta@arbortext.com>
7171 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7172 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7174 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7176 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7178 2001-03-31 Mike Sperber <mike@xemacs.org>
7180 * search.c (Freplace_match): Support FSF-style specification of
7181 match subexpression when applied to a buffer.
7183 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7185 * event-stream.c (is_scrollbar_event): add missing semicolon
7187 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7189 * Makefile.in.in: Use TAR macro instead of hardcoding
7190 tar. Allows use of GNU tar instead of system tar
7192 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7194 * event-stream.c (is_scrollbar_event): add missing semicolon
7196 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7198 * XEmacs 21.4.3 "Academic Rigor" is released.
7200 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7202 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7204 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7206 * buffer.c (Vcase_fold_search): Remove obsolete
7207 comment about non ASCII case-fold-search. This
7208 bug has been fixed by case-table changes.
7210 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7212 * event-msw.c: Restore include of events-mod.h.
7214 2001-04-22 zhaoway <zw@debian.org>
7216 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7219 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7221 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7223 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7225 * mule-charset.c (Fmake_charset): Add missing else.
7227 2001-04-23 Ben Wing <ben@xemacs.org>
7229 * event-msw.c (FAKE_MOD_QUIT):
7230 * event-msw.c (mswindows_dequeue_dispatch_event):
7231 * event-msw.c (mswindows_wnd_proc):
7232 * event-msw.c (emacs_mswindows_quit_p):
7233 Get critical quit working.
7235 2001-05-05 Ben Wing <ben@xemacs.org>
7239 * device-msw.c (mswindows_get_default_margin):
7240 * frame-msw.c (mswindows_size_frame_internal):
7241 * frame-msw.c (msprinter_init_frame_1):
7242 * frame-msw.c (vars_of_frame_mswindows):
7243 Change top/bottom margin defaults to 0.5 inches.
7245 2001-05-01 Martin Buchholz <martin@xemacs.org>
7247 Fix link error with gcc 3.0 on Linux.
7248 * terminfo.c (UP): Remove.
7249 * terminfo.c (BC): Remove.
7250 * terminfo.c (PC): Remove.
7251 They weren't used, and in any case, these symbols should be
7252 defined in the *library*.
7254 2001-05-03 Martin Buchholz <martin@xemacs.org>
7256 * s/aix4.h: Fix crash with xlc -O3.
7257 Improve comment explaining how -O3 works.
7259 2001-04-15 Ben Wing <ben@xemacs.org>
7262 * event-stream.c (Fnext_event):
7263 * event-stream.c (is_scrollbar_event):
7264 * event-stream.c (execute_command_event):
7265 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7266 crash' problem. His fix introduces other problems. We filter
7267 out scrollbar events specifically, making them somewhat invisible
7268 to command-building, and not appearing in `this-command-keys'.
7269 More work is still needed (see comments in event-stream.c), but
7270 this fixes all the major problems.
7272 2001-04-20 Ben Wing <ben@xemacs.org>
7274 * .cvsignore: Added stuff for Windows.
7276 2001-04-28 Ben Wing <ben@xemacs.org>
7278 * buffer.c (Ferase_buffer):
7279 * editfns.c (buffer_insert1):
7280 * editfns.c (Finsert_before_markers):
7281 * editfns.c (Finsert_string):
7282 * editfns.c (Finsert_char):
7283 * editfns.c (Fdelete_region):
7284 * editfns.c (Fwiden):
7285 * editfns.c (Fnarrow_to_region):
7286 remove bogus lines setting zmacs_region_stays to 0.
7288 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7290 * process-unix.c (unix_open_network_stream): If connect() fails
7291 invalidate file descriptor after closing it.
7293 2001-03-08 Mike Alexander <mta@arbortext.com>
7295 * event-msw.c (mswindows_need_event_in_modal_loop):
7296 Don't dispatch a message if we didn't get one.
7297 (mswindows_need_event):
7298 Terminate the correct process when one exits instead of the first
7299 one on Vprocess_list and look for process termination when in
7300 mswindows_protect_modal_loop.
7302 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7304 * XEmacs 21.4.1 "Copyleft" is released.
7306 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7308 * input-method-motif.c (XIM_delete_frame): New callback.
7309 (XIM_init_frame): Register it.
7311 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7313 * XEmacs 21.4.0 "Solid Vapor" is released.
7315 2001-04-15 Ben Wing <ben@xemacs.org>
7317 * cmdloop.c (call_command_loop):
7318 Fix braino in bit-rotting code.
7320 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7322 * extents.c (Fset_extent_endpoints): Force creation of extent info
7323 in buffer_or_string.
7325 * extents.c (process_extents_for_insertion_mapper): Correctly
7326 check for open-open zero-length extents.
7328 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7330 * lisp.h: New typedefs Memory_count, Element_count.
7333 Sign-compare warning elimination: several unsigned -> signed.
7334 Based on work by Ben Wing <ben@xemacs.org>.
7336 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7338 * XEmacs 21.2.47 "Zephir" is released.
7340 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7342 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7344 2001-04-03 Mike Sperber <mike@xemacs.org>
7346 * search.c: Revert previous patch due because of release.
7348 2001-03-30 Ben Wing <ben@xemacs.org>
7351 Add missing killpg prototype.
7354 Add a comment about fixing problems when a new entry is added
7357 * frame-msw.c (mswindows_init_frame_1):
7358 Fix compile warnings.
7360 * menubar.c (vars_of_menubar):
7361 Provide `menu-accelerator-support' to indicate that we properly
7362 support %_ in menu specifications, so that package code can
7363 conditionalize on this (and remove %_ from menu specifications
7368 * scrollbar-msw.c (can_scroll):
7370 Fix handling of mouse wheel under Windows to follow standards --
7371 now scrolls window under pointer, not selected window.
7373 2001-03-31 Mike Sperber <mike@xemacs.org>
7375 * search.c (Freplace_match): Support FSF-style specification of
7376 match subexpression when applied to a buffer.
7378 2001-03-15 Martin Buchholz <martin@xemacs.org>
7380 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7381 function to modify KEYMAP, so map over a copy of the hash table.
7383 2001-03-21 Martin Buchholz <martin@xemacs.org>
7385 * XEmacs 21.2.46 "Urania" is released.
7387 2001-03-20 Dan Holmsand <dan@eyebee.com>
7389 * realpath.c (xrealpath): Make file-truename work with symlinks to
7390 /cygdrive paths on cygwin. Always lowercase drive-letters on
7392 (cygwin_readlink): Don't try to find canonical filename unless
7395 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7397 * ChangeLog: Log GTK merge.
7403 Revert gratuitous whitespace changes from GTK merge.
7405 * emacs.c: Document end of complex #ifdef @ l. 1495.
7408 2001-03-12 Andy Piper <andy@xemacs.org>
7410 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7411 have to do likewise.
7413 2001-03-12 Andy Piper <andy@xemacs.org>
7415 * sysdep.c: we only support mingw now.
7417 2001-03-09 Andy Piper <andy@xemacs.org>
7419 * unexcw.c (copy_executable_and_dump_data_section): making approx
7420 overrun a warning only.
7422 2001-03-10 William M. Perry <wmperry@aventail.com>
7424 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7425 satisfy Stephen's identical-after-cpp plea.
7427 2001-03-02 Ben Wing <ben@xemacs.org>
7430 * cmds.c (Fforward_char):
7434 Augment documentation of the most common motion commands to make
7435 note of the shifted-motion support.
7437 2001-03-02 Ben Wing <ben@xemacs.org>
7439 * nt.c (mswindows_fstat):
7440 * nt.c (mswindows_stat):
7441 * search.c (boyer_moore):
7442 Fix compile warnings under Windows.
7444 * sysdep.c (sys_readdir):
7445 Fix buggy filename-conversion code under Mule.
7447 2001-03-09 William M. Perry <wmperry@aventail.com>
7469 * redisplay-output.c:
7475 The Great GTK Merge.
7482 * emacs-widget-accessors.c:
7496 * native-gtk-toolbar.c:
7507 The Great GTK Merge: new files.
7509 2001-02-26 Ben Wing <ben@xemacs.org>
7511 Reapplied Lstream change.
7513 2001-02-26 Ben Wing <ben@xemacs.org>
7515 Undid the last change, since it is more controversial than I
7516 thought. It should be back in at some point soon.
7518 2001-02-25 Ben Wing <ben@xemacs.org>
7521 * callproc.c (Fold_call_process_internal):
7522 * event-msw.c (ntpipe_slurp_reader):
7523 * event-msw.c (ntpipe_shove_writer):
7524 * event-msw.c (winsock_reader):
7525 * event-msw.c (winsock_writer):
7527 * file-coding.c (detect_eol_type):
7528 * file-coding.c (detect_coding_type):
7529 * file-coding.c (determine_real_coding_system):
7530 * file-coding.c (Fdetect_coding_region):
7531 * file-coding.c (decoding_reader):
7532 * file-coding.c (decoding_writer):
7533 * file-coding.c (mule_decode):
7534 * file-coding.c (Fdecode_coding_region):
7535 * file-coding.c (encoding_reader):
7536 * file-coding.c (encoding_writer):
7537 * file-coding.c (mule_encode):
7538 * file-coding.c (Fencode_coding_region):
7539 * file-coding.c (detect_coding_sjis):
7540 * file-coding.c (decode_coding_sjis):
7541 * file-coding.c (encode_coding_sjis):
7542 * file-coding.c (detect_coding_big5):
7543 * file-coding.c (decode_coding_big5):
7544 * file-coding.c (encode_coding_big5):
7545 * file-coding.c (detect_coding_ucs4):
7546 * file-coding.c (decode_coding_ucs4):
7547 * file-coding.c (encode_coding_ucs4):
7548 * file-coding.c (detect_coding_utf8):
7549 * file-coding.c (decode_coding_utf8):
7550 * file-coding.c (encode_coding_utf8):
7551 * file-coding.c (detect_coding_iso2022):
7552 * file-coding.c (decode_coding_iso2022):
7553 * file-coding.c (encode_coding_iso2022):
7554 * file-coding.c (decode_coding_no_conversion):
7555 * file-coding.c (encode_coding_no_conversion):
7556 * glyphs-x.c (write_lisp_string_to_temp_file):
7557 * gpmevent.c (tty_get_foreign_selection):
7560 * lstream.c (Lstream_flush_out):
7561 * lstream.c (Lstream_adding):
7562 * lstream.c (Lstream_write_1):
7563 * lstream.c (Lstream_write):
7564 * lstream.c (Lstream_raw_read):
7565 * lstream.c (Lstream_read_more):
7566 * lstream.c (Lstream_read):
7567 * lstream.c (Lstream_unread):
7568 * lstream.c (Lstream_fputc):
7569 * lstream.c (stdio_reader):
7570 * lstream.c (stdio_writer):
7571 * lstream.c (filedesc_reader):
7572 * lstream.c (filedesc_writer):
7573 * lstream.c (lisp_string_reader):
7574 * lstream.c (struct fixed_buffer_stream):
7575 * lstream.c (make_fixed_buffer_input_stream):
7576 * lstream.c (make_fixed_buffer_output_stream):
7577 * lstream.c (fixed_buffer_reader):
7578 * lstream.c (fixed_buffer_writer):
7579 * lstream.c (struct resizing_buffer_stream):
7580 * lstream.c (resizing_buffer_writer):
7581 * lstream.c (dynarr_writer):
7582 * lstream.c (lisp_buffer_reader):
7583 * lstream.c (lisp_buffer_writer):
7585 * lstream.h (lstream_implementation):
7586 * lstream.h (struct lstream):
7588 * process-nt.c (nt_send_process):
7589 * process-unix.c (unix_send_process):
7591 Correct Lstream lossage due to mixing of signed and unsigned
7592 quantities. All Lstream uses of size_t and ssize_t are now a
7593 single signed data type Lstream_data_count. This fixes problems
7594 under Windows with sending large quantities of data to a process,
7595 and may well fix other subtle bugs.
7597 2001-02-23 Martin Buchholz <martin@xemacs.org>
7599 * XEmacs 21.2.45 "Thelxepeia" is released.
7601 2001-02-21 Martin Buchholz <martin@xemacs.org>
7603 * lisp-union.h (XSETINT):
7606 Reverse previous change of 2001-02-06.
7608 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7610 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7612 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7613 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7614 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7615 * regex.c (POS_AS_IN_BUFFER): removed
7616 * regex.c (re_search_2):
7617 * regex.c (re_match_2):
7618 Don't use an offset of 1 when calculating buffer positions, since
7619 `BI_BUF_BEGV' does it already.
7621 2001-02-18 Wim Dumon <wim@easics.be>
7623 * insdel.c (prepare_to_modify_buffer): Also check for
7624 supersession when clash-detection is enabled.
7626 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7628 * regex.c (re_match_2_internal):
7629 Convert temp characters from 'const unsigned char' to 're_char'.
7630 Fix crashing bug with extended characters under mule.
7631 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7632 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7633 font-lock, pdump, and new syntax-table code.
7634 * syntax.c (find_start_of_comment):
7635 (find_end_of_comment):
7637 Fix crashing bugs involving moving beyond end of buffer.
7638 * syntax.c (find_start_of_comment):
7639 Fixed logic to allow proper detection of cases where the same
7640 character is used to end both a two-char comment start and a
7641 two-char comment end sequence. Fixes `(forward-comment -1)'.
7642 * syntax.c (find_start_of_comment):
7643 Return position just past last comment-end character for all cases
7644 (previously was only done for two-char comment-end sequences).
7645 * syntax.c (forward-comment):
7646 Take value returned from `find_end_of_comment', rather than
7648 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7649 Properly deal with BUFFERP (syntax_cache.object)
7651 2001-02-17 Martin Buchholz <martin@xemacs.org>
7653 * alloc.c (Fgarbage_collect):
7654 * alloc.c (make_bit_vector_from_byte_vector):
7655 -Wsign-compare-correctness.
7657 2001-02-16 Martin Buchholz <martin@xemacs.org>
7659 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7660 (XSETCHAR): Likewise.
7661 (XSETOBJ): Likewise.
7663 2001-02-15 Martin Buchholz <martin@xemacs.org>
7665 * mule-canna.c (canna-func-delete_previous):
7666 Rename to canna-func-delete-previous.
7668 2001-02-14 Martin Buchholz <martin@xemacs.org>
7670 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7672 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7674 * font-lock.c (find_context): Fix C++ compile errors introduced by
7677 2001-02-13 Martin Buchholz <martin@xemacs.org>
7679 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7680 pragma, but earlier ones barf on the same pragma.
7682 2001-02-06 Mike Sperber <mike@xemacs.org>
7684 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7685 `configure-mule-lisp-directory'.
7687 2001-02-12 Martin Buchholz <martin@xemacs.org>
7689 Make sure dump-id.c is compiled in the same way as other .c's.
7690 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7691 * dump-id.h: Remove.
7692 * emacs.c: Move dump-id.h into dumper.h.
7693 * dumper.h: Move dump-id.h into dumper.h.
7695 Use standard .c.o rule for building dump-id.o.
7696 Remove preprocessor flags from link command.
7697 Add dump-id.o to ${otherobjs} if PDUMP.
7699 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7701 Port FSF 20.7 syntax table improvements.
7705 Fixups for new syntax table stuff.
7706 * dired.c: Include syntax.c.
7707 (Fdirectory_files): Initialize regex_match_object and
7709 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7710 and Fget_char_property.
7712 Use ported FSF 20.7 syntax table improvements.
7717 2001-02-09 Martin Buchholz <martin@xemacs.org>
7719 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7720 Unixware's enum boolean from sys/types.h.
7722 2001-02-10 Martin Buchholz <martin@xemacs.org>
7724 Fix support for building with latest Purify.
7725 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7726 (PURIFY_FLAGS): Likewise.
7728 2001-02-09 Martin Buchholz <martin@xemacs.org>
7730 * fileio.c (lisp_string_set_file_times): New.
7731 * fileio.c (Fcopy_file): Use it.
7733 (copy-file filename non-ascii-filename t t)
7734 ==> No such file or directory, non-ascii-filename
7736 2001-02-10 Martin Buchholz <martin@xemacs.org>
7738 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7739 USHRT_MAX seems clearer than ~0 anyways.
7741 2001-02-09 Martin Buchholz <martin@xemacs.org>
7743 dumper improvements. Inspired by Olivier.
7744 * dumper.c (pdump_max_align): New.
7745 * dumper.c (pdump_add_entry): Use pdump_max_align.
7746 * dumper.c (pdump_get_entry_list): Likewise.
7747 * dumper.c (pdump_scan_by_alignment): Likewise.
7748 Don't iterate through unnecessary alignments.
7749 * dumper.c (pdump_file_get): No need to align result of malloc().
7750 * dumper.c (pdump_mallocadr): Remove.
7751 The result of malloc() is guaranteed to be maximally aligned.
7752 * dumper.c: s/elmt/elt/g;
7753 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7754 * dumper.c (pdump_alert_undump_object): Likewise.
7755 * dumper.c (pdump_align_table):
7756 Don't support alignments > 64.
7757 Store ALIGNOF's, not shift counts, in table.
7759 2001-02-09 Martin Buchholz <martin@xemacs.org>
7761 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7762 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7763 * systime.h: Use HAVE_UTIME.
7764 * sysdep.c (struct utimbuf): Remove.
7765 * sysdep.c (set_file_times): Prefer utime() to utimes().
7766 * config.h.in (HAVE_UTIME): New.
7767 * config.h.in (HAVE_UTIME_H): Remove.
7768 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7770 2001-02-09 Martin Buchholz <martin@xemacs.org>
7772 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7774 2001-02-08 Martin Buchholz <martin@xemacs.org>
7776 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7778 2001-02-08 Martin Buchholz <martin@xemacs.org>
7780 * XEmacs 21.2.44 "Thalia" is released.
7782 2001-02-06 Martin Buchholz <martin@xemacs.org>
7784 Fixes crashes in kill-emacs on some systems.
7785 * process-unix.c (unix_kill_child_process):
7786 It's OK for kill() to fail with ESRCH.
7788 2001-02-07 Martin Buchholz <martin@xemacs.org>
7790 Contortions to make .gdbinit tricks work on most systems.
7791 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7792 * alloc.c (dbg_valmask): Make non-const.
7793 * alloc.c (dbg_typemask): Make non-const.
7794 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7795 * alloc.c (dbg_valbits): Make non-const.
7796 * alloc.c (dbg_gctypebits): Make non-const.
7797 * .gdbinit (decode_object): Make it work with AIX cc.
7799 2001-02-06 Martin Buchholz <martin@xemacs.org>
7801 * elhash.c (make_general_lisp_hash_table):
7802 Use simpler and more efficient calloc to clear entries.
7804 2001-02-07 Martin Buchholz <martin@xemacs.org>
7806 * window.c (window_scroll): Work around an AIX C compiler bug.
7807 Fixes 'scroll-up' does nothing problem with xlC.
7809 2001-02-05 Martin Buchholz <martin@xemacs.org>
7811 * .gdbinit: Remove obsolete comment.
7813 2001-01-31 Mike Alexander <mta@arbortext.com>
7815 * select.c (Fown_selection_internal): Set owned_p for device
7818 2001-02-01 Martin Buchholz <martin@xemacs.org>
7821 "not" cannot be used as a macro name as it is an operator in C++
7822 * config.h.in: Stop #defining `not'.
7823 * chartab.c (check_category_char): not ==> not_p
7824 * chartab.h: Likewise.
7825 * regex.c (re_match_2_internal): Likewise.
7827 2001-02-02 Martin Buchholz <martin@xemacs.org>
7829 * lisp-disunion.h: Fix up comments.
7831 2001-01-31 Martin Buchholz <martin@xemacs.org>
7833 * keymap.c (define_key_check_and_coerce_keysym):
7835 Support mouse-6 and mouse-7 bindings in the obvious way.
7837 2001-02-01 Martin Buchholz <martin@xemacs.org>
7839 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7841 2001-01-30 Martin Buchholz <martin@xemacs.org>
7843 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7844 Previous patch missed DEFVAR_INT_MAGIC.
7845 Make sure future DEFVAR_foo use correct types.
7846 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7847 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7848 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7849 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7850 * (DEFVAR_INT): Likewise.
7851 * redisplay.c (vertical_clip): Should be of type Fixnum.
7852 * redisplay.c (horizontal_clip): Likewise.
7853 * lisp.h (dump_add_opaque_int): New.
7854 (dump_add_opaque_fixnum): New.
7856 2001-01-29 Andy Piper <andy@xemacs.org>
7858 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7859 since they can be eval'ed
7861 2001-01-29 Martin Buchholz <martin@xemacs.org>
7863 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7864 Oops, XEmacs redefines `class'. Use `typename' instead.
7866 2001-01-28 Martin Buchholz <martin@xemacs.org>
7868 * dumper.c: Fix C++ compile errors.
7870 2001-01-29 Martin Buchholz <martin@xemacs.org>
7872 * tparam.c: Use correct prototypes.
7874 2001-01-28 Martin Buchholz <martin@xemacs.org>
7876 * sysproc.h: #include util.h for NetBSD's openpty.
7878 2001-01-27 Martin Buchholz <martin@xemacs.org>
7880 More 64-bit correctness.
7881 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7882 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7884 This finally finishes the 64-bit SGI port.
7885 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7886 * symbols.c: Fix up comments and type casts.
7887 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7888 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7889 * symeval.h (Fixnum): New type.
7890 * symeval.h (symbol_value_type): Fix up comment.
7906 * mule-canna.c: A million DEFVAR_INTs here...
7907 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7920 s/int/Fixnum/g in DEFVAR_INT declarations.
7922 2001-01-26 Martin Buchholz <martin@xemacs.org>
7924 Port pdump to SGI alignment-sensitive environment.
7925 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7926 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7928 Define and use aligned reading and writing macros.
7929 Use buffered stdio instead of posix i/o for faster dumping.
7930 Eliminate kludgy 256 byte space for header.
7931 Read and write from dump file using structs for alignment safety.
7932 * dumper.c (pdump_align_stream): New.
7933 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7934 * dumper.c (PDUMP_READ_ALIGNED): New.
7935 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7936 * dumper.c (pdump_static_Lisp_Object): New struct.
7937 * dumper.c (pdump_static_pointer): New struct.
7938 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7939 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7940 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7941 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7943 * dumper.c (pdump_backtrace):
7944 * dumper.c (pdump_get_indirect_count):
7945 * dumper.c (pdump_register_object):
7946 * dumper.c (pdump_register_struct):
7947 * dumper.c (pdump_reloc_one):
7948 * dumper.c (pdump_scan_by_alignment):
7949 * dumper.c (pdump_dump_from_root_struct_ptrs):
7950 * dumper.c (pdump_dump_opaques):
7951 * dumper.c (pdump_dump_rtables):
7952 * dumper.c (pdump_dump_from_root_objects):
7954 * dumper.c (pdump_load_finish):
7955 Use aligned reading and writing.
7957 * dumper.c (pdump_free): Make static.
7958 * dumper.c (pdump_hFile): Likewise.
7959 * dumper.c (pdump_hMap): Likewise.
7961 2001-01-26 Martin Buchholz <martin@xemacs.org>
7963 * XEmacs 21.2.43 "Terspichore" is released.
7965 2001-01-25 Martin Buchholz <martin@xemacs.org>
7967 Type fiddling for window_config.saved_windows_count
7968 * window.c (struct window_config):
7969 Make saved_windows_count member unsigned.
7970 * window.c (sizeof_window_config_for_n_windows):
7971 Make parameter unsigned.
7972 * window.c (mark_window_config):
7973 * window.c (window_config_equal):
7974 * window.c (free_window_configuration):
7975 * window.c (Fset_window_configuration):
7976 * window.c (count_windows):
7977 * window.c (Fcurrent_window_configuration):
7978 * window.c (reinit_vars_of_window):
7979 Update all callers and users.
7981 2001-01-25 Martin Buchholz <martin@xemacs.org>
7983 Alignment correctness for flexible arrays.
7984 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7985 Make alignment-correct. Add interesting comments.
7986 * alloc.c (size_vector):
7987 * alloc.c (make_vector_internal):
7988 * alloc.c (make_bit_vector_internal):
7989 * alloc.c (sweep_bit_vectors_1):
7990 * fns.c (size_bit_vector):
7991 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7992 * window.c (sizeof_window_config_for_n_windows):
7993 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7995 2001-01-24 Martin Buchholz <martin@xemacs.org>
7997 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7999 2001-01-23 Andy Piper <andy@xemacs.org>
8001 * select.c (Fown_selection_internal): pass owned_p
8003 * select-msw.c (mswindows_own_selection): New Signature.
8005 * console.h (struct console_methods): add owned_p to
8008 * select-x.c (x_own_selection): pass owned_p
8009 (hack_motif_clipboard_selection): use owned_p
8010 (vars_of_select_x): new variable -
8011 x_selection_strict_motif_ownership.
8013 2001-01-23 Martin Buchholz <martin@xemacs.org>
8015 * specifier.h (specifier_data_offset): Remove pointless parens.
8016 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
8018 2001-01-24 Martin Buchholz <martin@xemacs.org>
8020 Make Lisp_Object sizeof methods be alignment-correct.
8021 pdump must restore objects to the same alignment as the C compiler
8022 assumes. It really matters on SGIs.
8023 * lstream.c (aligned_sizeof_lstream): New.
8024 (sizeof_lstream): Use aligned_sizeof_lstream.
8025 (Lstream_new): Likewise.
8026 * opaque.c (aligned_sizeof_opaque): New.
8027 (sizeof_opaque): Use aligned_sizeof_opaque.
8028 (make_opaque): Likewise.
8029 * specifier.c (aligned_sizeof_specifier): New.
8030 (sizeof_specifier): Use aligned_sizeof_specifier.
8031 (make_specifier_internal): Likewise.
8033 2001-01-23 Martin Buchholz <martin@xemacs.org>
8035 * lstream.h (struct lstream): Use max_align_t for trailing data.
8036 * specifier.h (struct Lisp_Specifier): Likewise.
8038 2001-01-22 Martin Buchholz <martin@xemacs.org>
8040 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8041 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8042 (CCL_SUSPEND): Likewise.
8043 (CCL_INVALID_CMD): Likewise.
8044 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8045 (ccl_driver): Likewise.
8046 (CCL_WRITE_CHAR): Macro hygiene.
8047 (CCL_WRITE_STRING): Macro hygiene.
8049 2001-01-22 Martin Buchholz <martin@xemacs.org>
8051 Port "portable" dumper to SunOS 4 and HP-UX.
8052 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8053 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8054 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8056 2001-01-22 Martin Buchholz <martin@xemacs.org>
8058 * lisp.h (ALIGNOF): A better definition for C++.
8060 2001-01-20 Martin Buchholz <martin@xemacs.org>
8063 Fix printf warnings: int format, long int arg.
8064 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8065 (PUSH_FAILURE_POINT): Use correct printf formats.
8066 (POP_FAILURE_POINT): Use correct printf formats.
8067 Use do {...} while (0)
8069 2001-01-20 Martin Buchholz <martin@xemacs.org>
8071 * XEmacs 21.2.42 "Poseidon" is released.
8073 2001-01-20 Martin Buchholz <martin@xemacs.org>
8075 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8077 2001-01-19 Martin Buchholz <martin@xemacs.org>
8079 De-kludgify FIXED_TYPE free list frobbing.
8080 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8081 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8082 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8083 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8084 * alloc.c (LRECORD_FREE_P): New.
8085 * alloc.c (MARK_LRECORD_AS_FREE): New.
8086 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8087 * alloc.c (STRUCT_FREE_P): Deleted.
8088 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8089 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8090 * alloc.c (STRING_CHARS_FREE_P): New.
8091 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8092 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8093 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8094 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8095 * alloc.c (resize_string): Use new definitions.
8096 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8097 * alloc.c (verify_string_chars_integrity): Use new definitions.
8098 * alloc.c (compact_string_chars): Use new definitions.
8099 * alloc.c: Update monster comments.
8100 * lrecord.h (lrecord_type): Add some new lrecord types for
8103 2001-01-18 Martin Buchholz <martin@xemacs.org>
8105 Improve alignment hackery.
8106 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8107 (max_align_t): Moved from opaque.h - general purpose.
8108 (ALIGN_PTR): Use size_t, not long.
8109 * opaque.h (max_align_t): Move to lisp.h.
8111 2001-01-18 Norbert Koch <nk@LF.net>
8113 * gui.h: Fix and add prototypes to fix build problems.
8115 2001-01-18 Martin Buchholz <martin@xemacs.org>
8117 temacs is going away, so `dump-temacs' is now a bad name.
8118 * .dbxrc (dump-temacs): Rename to `dmp'.
8119 * .gdbinit (dump-temacs): Rename to `dmp'.
8121 2001-01-17 Andy Piper <andy@xemacs.org>
8123 * glyphs.c (print_image_instance): comment to make martin happy.
8125 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8128 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8130 (mswindows_tab_control_redisplay): warning suppression.
8132 * glyphs-widget.c (widget_update): re-write to cope with updated
8134 (widget_instantiate): use new gui_item functions.
8135 (tab_control_update): deleted.
8136 (progress_gauge_update): deleted.
8137 (image_instantiator_progress_guage): take out update reference.
8138 (image_instantiator_tree_view): ditto.
8139 (image_instantiator_tab_control): ditto.
8141 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8143 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8144 return whether anything was changed.
8145 (update_gui_item_keywords): as it sounds.
8147 * gui.h: declare widget_gui_parse_item_keywords.
8149 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8150 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8152 2001-01-17 Martin Buchholz <martin@xemacs.org>
8154 * XEmacs 21.2.41 "Polyhymnia" is released.
8156 2001-01-16 Didier Verna <didier@xemacs.org>
8158 * glyphs.c (image_instantiate): don't use fallbacks when
8159 instantiating a face's background pixmap by inheritance.
8161 2001-01-14 Mike Sperber <mike@xemacs.org>
8163 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8164 Conditionalize accordingly.
8166 2001-01-16 Martin Buchholz <martin@xemacs.org>
8168 * dumper.c (pdump_file_get): Fix a compiler warning.
8170 2001-01-15 Martin Buchholz <martin@xemacs.org>
8172 Make Purify happy when pdumping.
8173 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8174 iniitalizing all bits of new lisp object memory.
8175 * symbols.c (Fmake_local_variable): Likewise.
8176 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8177 * symbols.c (Fdefvaralias): Likewise.
8178 * mule-charset.c (vars_of_mule_charset): Likewise.
8180 2001-01-15 Martin Buchholz <martin@xemacs.org>
8181 Add the `-nd' flag when running pre-dump operations under the debugger.
8182 * .dbxrc (run-temacs): Add `-nd'.
8183 * .dbxrc (update-elc): Likewise.
8184 * .dbxrc (dump-temacs): Likewise.
8185 * .gdbinit (run-temacs): Likewise.
8186 * .gdbinit (check-temacs): Likewise.
8187 * .gdbinit (update-elc): Likewise.
8188 * .gdbinit (dump-temacs): Likewise.
8190 2001-01-14 Martin Buchholz <martin@xemacs.org>
8192 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8193 export OBJECT_MODE=64
8194 configure --pdump --use-union-type=no
8195 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8196 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8198 * miscplay.c (sndcnv8U_2mono):
8199 Avoid two uses of `++' in the same expression.
8200 Suppresses a GCC warning.
8202 2001-01-13 Martin Buchholz <martin@xemacs.org>
8204 Make sure future compilers don't miscompile alloc.c.
8206 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8207 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8209 2001-01-12 Martin Buchholz <martin@xemacs.org>
8211 * dumper.c: A little post-pdump-rename comment fixup.
8213 2001-01-09 Jerry James <james@eecs.ku.edu>
8215 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8217 2001-01-13 Martin Buchholz <martin@xemacs.org>
8219 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8223 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8226 replace_symbol pdump_wire_lists pdump_weak_object_chains
8227 replace_symbol pdump_wire_list dump_add_weak_object_chain
8229 replace_symbol pdump_wires pdump_root_objects
8230 replace_symbol pdump_wire dump_add_root_object
8232 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8233 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8235 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8236 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8237 replace_symbol dumpstructinfo pdump_root_struct_ptr
8238 replace_symbol dumpstruct dump_add_root_struct_ptr
8240 replace_symbol dumpopaque dump_add_opaque
8241 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8242 replace_symbol dumpopaqueinfos pdump_opaques
8243 replace_symbol dumpopaqueinfo pdump_opaque
8245 replace_symbol nb_structdump nb_root_struct_ptrs
8246 replace_symbol nb_opaquedump nb_opaques
8248 replace_symbol align_table pdump_align_table
8249 replace_symbol dump_header pdump_header
8251 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8252 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8255 2001-01-12 Martin Buchholz <martin@xemacs.org>
8257 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8258 optimizing bytecount_to_charcount().
8260 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8263 (HAVE_DLFCN_H): Removed.
8264 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8266 2001-01-06 Martin Buchholz <martin@xemacs.org>
8268 Portable dumper maintainability improvements.
8269 * alloc.c (staticpro):
8270 * alloc.c (staticpro_nodump):
8271 * alloc.c (garbage_collect_1):
8272 * alloc.c (reinit_alloc_once_early):
8273 * alloc.c (init_alloc_once_early):
8274 * alloc.c: Move dumper functions to alloc.c.
8275 * dumper.c (pdump_backtrace):
8276 * dumper.c (pdump_dump_structs):
8277 * dumper.c (pdump_dump_opaques):
8278 * dumper.c (pdump_dump_rtables):
8279 * dumper.c (pdump_dump_wired):
8281 * dumper.c (pdump_load_check):
8282 * dumper.c (pdump_load_finish):
8283 * dumper.c (pdump_file_unmap):
8284 * dumper.c (pdump_file_get):
8285 * dumper.c (pdump_resource_free):
8286 * dumper.c (pdump_resource_get):
8287 * dumper.c (pdump_file_free):
8288 * dumper.c (pdump_file_try):
8289 * dumper.c (pdump_load):
8290 Remove fixed size limits on staticpro(), staticpro_nodump(),
8291 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8292 Remove custom code for dumping lrecord_implementations_table - use
8294 Remove (most of the) custom code for dumping staticpros - dump it
8295 like any other dynarr.
8297 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8298 * dumper.c: Moved functions from alloc.c.
8299 * alloc.c (dumpstruct): Moved to dumper.c.
8300 * alloc.c (dumpopaque): Likewise.
8301 * alloc.c (pdump_wire): Likewise.
8302 * alloc.c (pdump_wire_list): Likewise.
8304 * lisp.h (Dynarr_sizeof): New.
8305 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8306 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8307 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8309 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8310 * lisp.h (dumpopaque): ditto.
8311 * lisp.h (pdump_wire): ditto.
8312 * lisp.h (pdump_wire_list): ditto.
8314 2001-01-09 Martin Buchholz <martin@xemacs.org>
8316 * make-src-depend (PrintPatternDeps):
8317 Use `sort' to make output independent of perl version.
8319 2001-01-08 Martin Buchholz <martin@xemacs.org>
8322 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8323 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8325 2001-01-03 Didier Verna <didier@xemacs.org>
8327 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8328 that `focus_frame' is alive before thinking of calling
8329 `redisplay_redraw_cursor' on it.
8331 2001-01-08 Martin Buchholz <martin@xemacs.org>
8333 * XEmacs 21.2.40 is released.
8335 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8337 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8339 2001-01-06 Martin Buchholz <martin@xemacs.org>
8341 * alloc.c (dbg_valmask): Make const.
8342 * alloc.c (dbg_typemask): Make const.
8343 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8344 * alloc.c (dbg_valbits): Make const.
8345 * alloc.c (dbg_gctypebits): Make const.
8347 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8349 * redisplay-x.c (x_bevel_area):
8350 redisplay.h (struct rune):
8351 Typo fixes in comments.
8353 2001-01-05 Andy Piper <andy@xemacs.org>
8355 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8358 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8360 2001-01-05 Martin Buchholz <martin@xemacs.org>
8362 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8364 * mule-ccl.c (stack_idx_of_map_multiple):
8365 Non const global data must not be initialized!
8366 Found by MIYASHITA Hisashi.
8368 2001-01-02 Andy Piper <andy@xemacs.org>
8370 * frame.c (change_frame_size): make sure frame size is always
8373 * glyphs.c (image_instance_layout): minor code reuse.
8375 * window.c (Fcurrent_window_configuration): revert previous
8378 2001-01-02 Martin Buchholz <martin@xemacs.org>
8381 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8383 2000-12-31 Andy Piper <andy@xemacs.org>
8385 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8386 when widget gets unmapped.
8388 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8389 function. Make sure widgets losing focus don't just drop it.
8390 (handle_focus_event_1): record the widget with focus.
8392 2000-12-31 Andy Piper <andy@xemacs.org>
8394 * window.c (allocate_window): use
8395 make_image_instance_cache_hash_table.
8396 (make_dummy_parent): ditto.
8397 (Fset_window_configuration): ditto.
8399 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8401 * glyphs.c (process_image_string_instantiator): use
8403 (get_image_instantiator_governing_domain): ditto.
8404 (normalize_image_instantiator): ditto.
8405 (instantiate_image_instantiator): ditto.
8406 (make_image_instance_1): ditto.
8407 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8408 (instantiator_eq_equal): new function for use with instance hash
8410 (instantiator_eq_hash): ditto.
8411 (make_image_instance_cache_hash_table): create a suitable hash
8412 table for storing image instances.
8414 * elhash.h (hash_table_weakness): new internal weakness type
8415 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8416 declare new functions.
8418 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8419 another weakness type for glyphs.
8420 (make_standard_lisp_hash_table): new function split out from
8421 make_general_lisp_hash_table.
8422 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8423 (hash_table_instantiate): ditto.
8424 (Fmake_hash_table): ditto.
8426 2000-12-31 Martin Buchholz <martin@xemacs.org>
8428 * XEmacs 21.2.39 is released.
8430 2000-12-29 Andy Piper <andy@xemacs.org>
8432 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8434 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8435 the frame has changed so that we pick up geometry changes such as
8438 2000-12-28 Andy Piper <andy@xemacs.org>
8440 * lastfile.c (my_ebss): make a char array so we can pad the
8441 bss. Fixes cygwin unexec.
8443 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8445 2000-12-26 Andy Piper <andy@xemacs.org>
8447 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8448 comments and try and be more precise about a non-/SIGIO world.
8449 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8452 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8453 we don't normalize to zero width or height.
8455 2000-12-24 Andy Piper <andy@xemacs.org>
8457 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8459 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8461 * s/sco5.h: SCO 5 has pty support.
8463 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8465 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8466 input-method-xlib.c contains whole contents of input-method-xfs.c,
8467 so we can use input-method-xlib.c's code for USE_XFONTSET
8469 * input-method-xfs.c: removed.
8471 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8473 * file-coding.h (enum coding_category_type): reorder enumerators to
8474 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8475 (now one greater than largest real coding_category_type enumerator).
8476 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8477 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8478 Fcoding_category_list, Fset_coding_priority_list,
8479 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8480 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8482 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8484 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8485 * redisplay-output.c (redisplay_output_window): Clear top of window
8486 when face is changed.
8487 * redisplay-x.c (x_redraw_exposed_window): Call
8488 redisplay_clear_top_of_window.
8489 * redisplay.h: Publish redisplay_clear_top_of_window.
8491 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8493 * buffer.c (Fkill_buffer): Map over all devices.
8494 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8495 (list_windows): New function.
8496 (list_all_windows): Ditto.
8497 (Freplace_buffer_in_windows): Use them.
8499 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8501 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8502 (Fopen_database): Use `db_create' instead of `db_open'.
8503 (syms_of_database): Initialize Qqueue.
8505 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8507 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8508 buffer_local_face_property.
8509 * buffer.h (struct buffer): New member buffer_local_face_property.
8510 * window.c (Fset_window_buffer): Mark window's face as changed
8511 when buffer has buffer local face.
8512 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8513 * objects.c (color_after_change): Set buffer_local_face_property
8514 when locale of face specifier is buffer.
8515 * objects.c (font_after_change): Ditto.
8516 * objects.c (face_boolean_after_change): Ditto.
8517 * glyphs.c (image_after_change): Ditto.
8519 2000-12-09 Dan Holmsand <dan@eyebee.com>
8521 * nt.c (mswindows_fstat): Report file permissions, volume serial
8522 number, etc. Code adapted from FSF Emacs 20.7.
8524 2000-12-09 Dan Holmsand <dan@eyebee.com>
8526 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8527 of stat when we don't have symbolic links, to make sure
8528 mswindows_stat is called on mswindows.
8530 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8532 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8534 2000-12-12 Martin Buchholz <martin@xemacs.org>
8536 * doprnt.c (emacs_doprnt_1): More printing fixes.
8537 Make printing of numbers compatible with libc and FSF Emacs.
8538 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8539 Use the system printf to do most of the hard work of formatting,
8540 instead of doprnt_1().
8541 Calculate memory to allocate for format string.
8542 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8543 (doprnt_1): Cleaner code and documentation.
8545 2000-12-01 Jerry James <james@eecs.ukans.edu>
8547 * Makefile.in.in: Use the loop variable to install headers.
8549 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8551 * window.c (Fsplit_window): Don't invalidate face cache.
8553 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8555 * minibuf.c (Fall_completions): Undo the previous change
8556 which removed checking elements start with space.
8558 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8560 * mule-canna.c: Didier suppression.
8562 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8564 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8565 (warning suppression). Add English comment translations.
8567 2000-12-05 Martin Buchholz <martin@xemacs.org>
8569 * unexelfsgi.c (unexec): Better test for mmap failure.
8571 2000-12-05 Martin Buchholz <martin@xemacs.org>
8573 * XEmacs 21.2.38 is released.
8575 2000-12-05 Martin Buchholz <martin@xemacs.org>
8577 * redisplay.c (bar-cursor): Make a user variable.
8579 * symsinit.h: Add init_postgresql_from_environment.
8581 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8583 * regex.c: Convert to clean C.
8585 2000-12-05 Dan Holmsand <dan@eyebee.com>
8588 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8590 (sys_readlink): renamed to system_readlink to avoid conflict with
8591 the other sys_readlink.
8593 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8595 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8597 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8599 * postgresql.c (init_postgresql_from_environment): new function.
8600 (vars_of_postgresql): Move code initializing Lisp variables out and
8601 into init_postgresql_from_environment.
8602 emacs.c (main_1): Call init_postgresql_from_environment if and only
8603 if running a dumped XEmacs.
8605 2000-08-31 Dan Holmsand <dan@eyebee.com>
8607 * buffer.c: Make find-file-compare-truenames default to true on
8610 * realpath.c (win32_abs_start):
8612 (win32_readlink): New functions.
8613 (xrealpath): Return really real filenames on windows.
8615 * fileio.c (Ffile_truename): Make file-truename work on windows.
8617 2000-11-29 Didier Verna <didier@xemacs.org>
8619 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8620 * faces.c (update_face_cachel_data): use it.
8621 * faces.c (add_face_cachel): use it. Complete background pixmap
8622 frobbing in face cache if `update_face_cachel_data' has not done so.
8624 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8626 * search.c (string_match_1): Don't set last_thing_searched
8629 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8631 * buffer.c: Include casetab.h
8632 (common_init_complex_vars_of_buffer): Use new case-table object.
8633 * buffer.h: Include casetab.h
8634 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8635 (DOWNCASE_TABLE_OF): Ditto.
8636 * bufslots.h: Remove char-tables and add case-table.
8637 * casetab.c: Include casetab.h
8638 (CASE_TABLE_P): Removed.
8639 (mark_case_table): New function.
8640 (allocate_case_table): New function.
8641 (Fcase_table_p): Use new case-table.
8642 (case_table_char): New function.
8643 (Fget_case_table): Ditto.
8644 (Fput_case_table): Ditto.
8645 (Fput_case_table_pair): Ditto.
8646 (Fcopy_case_table): Ditto.
8647 (Fcurrent_case_table): Return case-table.
8648 (Fstandard_case_table): Return case-table.
8649 (Fset_case_table): Fix doc-string.
8650 (set_case_table): Use case-table
8651 (syms_of_casetab): DEFSUBR new functions.
8652 (complex_vars_of_casetab): Set up standard case-table.
8653 * casetab.h: New file.
8654 * editfns.c: Include casetab.h
8655 (Fcompare_buffer_substrings): Use case-table.
8656 * inline.c: Include casetab.h
8657 * lisp.h: Remove bogus extern.
8658 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8659 * search.c: Include casetab.h
8660 (TRANSLATE_ASCII): Removed.
8661 (TRANSLATE): Unconditionally translate character.
8662 (looking_at_1): Use case-table.
8663 (string_match_1): Ditto.
8664 (fast_string_match): Ditto.
8665 (search_command): Ditto.
8666 (search_buffer): Separate boyer_moore. Check whether
8667 boyer_moore is possible.
8668 (simple_search): New function.
8669 (boyer_moore): Separated from search_buffer. Translate char.
8671 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8673 * regex.c (RE_TR_ASCII): Removed.
8674 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8675 (PATFETCH): Call PATFETCH_RAW.
8676 (PATFETCH_RAW): Fetch Emchar.
8677 (PATUNFETCH): Decrement charptr.
8678 (GET_BUFFER_SPACE): Rename b to buf_end.
8680 (BUF_PUSH_2): Ditto.
8681 (BUF_PUSH_3): Ditto.
8682 (EXTEND_BUFFER): Ditto.
8683 (SET_LIST_BIT): Ditto.
8684 (regex_compile): Ditto. Translate non ASCII char.
8685 (compile_range): Ditto.
8686 (re_search_2): Ditto.
8687 (re_match_2_internal): Compare Emchar.
8688 (bcmp_translate): Ditto.
8690 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8692 * lisp.h (basic char/int typedefs): comment improvement.
8694 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8696 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8697 unstomp inhibit_site_lisp. Improve comments.
8699 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8701 * mule-charset.c (Fcharset_property): improve type checking, comments.
8703 2000-11-28 Andy Piper <andy@xemacs.org>
8705 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8706 clipped display for windows in the gutter also.
8707 (redisplay_display_boxes_in_window_p): change semantics of return
8708 codes to be more intuitive.
8710 * gutter.h: declare display_boxes_in_gutter_p.
8712 * gutter.c (display_boxes_in_gutter_p): new function for
8715 2000-11-22 Andy Piper <andy@xemacs.org>
8717 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8720 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8722 * callproc.c (Fold_call_process_internal):
8723 * gpm.c (Freceive_gpm_event):
8724 (tty_get_foreign_selection): Might be just warning supression.
8725 * fileio.c (Fwrite_region_internal):
8726 (Fset_visited_file_modtime):
8727 * keymap.c (event_matches_key_specifier_p):
8728 Initialize GCPROed variable.
8730 * menubar-x.c (command_builder_find_menu_accelerator):
8731 Initialize before use.
8733 2000-11-23 Andy Piper <andy@xemacs.org>
8735 * unexcw.c (unexec): make the resulting executable executable.
8737 2000-11-21 Martin Buchholz <martin@xemacs.org>
8739 * doc.c (get_doc_string):
8740 Use size_t, not int, for result of XSTRING_LENGTH.
8742 * cmds.c (Fdelete_char):
8743 * cmds.c (Fpoint_at_eol):
8744 * cmds.c (Fself_insert_command):
8745 Use EMACS_INT, not int, for result of XINT.
8746 Someday, someone will want to insert more than 2**31 identical characters.
8748 * cmds.c (Fdelete_char):
8749 * cmds.c (Fdelete_backward_char):
8750 * syntax.c (Fforward_word):
8751 * syntax.c (Fforward_comment):
8752 Make COUNT argument optional, for consistency with forward-char et al.
8754 2000-11-22 Martin Buchholz <martin@xemacs.org>
8757 * print.c (long_to_string):
8758 Return a useful value: the pointer at end of data written.
8761 Use `static const char * const' for constant strings.
8762 (union printf_arg): Delete `i', `ui' members.
8765 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8766 Do all printf-ing via the `l' specifier.
8767 Use EMACS_INT instead of int.
8770 2000-11-20 Didier Verna <didier@xemacs.org>
8772 * faces.c (update_face_cachel_data): don't frob the background
8773 pixmap when the window is being created. The face is needed but
8776 2000-11-20 Andy Piper <andy@xemacs.org>
8778 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8779 messing with a debug environment.
8781 2000-11-20 Martin Buchholz <martin@xemacs.org>
8783 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8785 2000-11-20 Martin Buchholz <martin@xemacs.org>
8787 * casetab.c (Fcase_table_p): Fix compile error and crash.
8789 2000-11-18 Philip Aston <philipa@mail.com>
8791 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8793 2000-11-18 Martin Buchholz <martin@xemacs.org>
8795 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8796 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8798 2000-11-17 Martin Buchholz <martin@xemacs.org>
8800 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8801 * unexelf.c: Use HAVE_ELF_H.
8802 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8803 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8804 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8805 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8807 So this is an unexelfsgi.c from a different line of development.
8809 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8811 * regex.c (RE_TR_ASCII): New function.
8812 (RE_TRANSLATE): Call it.
8814 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8816 * buffer.h (TRT_TABLE_OF): Remove assert.
8817 (IN_TRT_TABLE_DOMAIN): Removed.
8819 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8821 * free-hook.c (log_gcpro):
8822 (show_gcprohist): Add support for GCPRO5.
8824 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8826 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8828 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8830 * symeval.h: Declare flush_all_buffer_local_cache.
8832 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8833 (flush_buffer_local_cache): Added.
8834 (flush_all_buffer_local_cache): Added.
8836 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8838 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8839 (pdump_dump_data): Ditto.
8840 (pdump_reloc_one): Ditto.
8841 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8845 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8847 * buffer.c: Remove if 0'ed entry.
8848 * buffer.h: Rewrite TRT to use char-table.
8849 * bufslots.h: Remove mirror tables.
8850 * casetab.c: Remove mirror tables.
8851 (CASE_TABLE_P): New macro.
8852 (Fcase_table_p): Element of a case table is string or char-table.
8853 (make_mirror_trt_table): Removed.
8854 (set_case_table): Setup char-table from strings for backward
8856 * dired.c (Fdirectory_files):
8857 * dired-msw.c: (mswindows_get_files):
8858 * lisp.h: Change prototype of re_pattern_buffer.
8859 * regex.c: (RE_TRANSLATE): New macro.
8860 (TRANSLATE_P): Ditto.
8861 Change translate to type RE_TRANSLATE_TYPE.
8862 * regex.h: Define RE_TRANSLATE_TYPE
8863 * search.c (TRANSLATE): New macro.
8864 (TRANSLATE_ASCII): New macro.
8865 Translate table is changed to Lisp_Object.
8866 (signal_failure): Inhibit return.
8868 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8875 Do UNGCPRO before return.
8877 2000-11-14 Martin Buchholz <martin@xemacs.org>
8879 * XEmacs 21.2.37 is released.
8881 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8883 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8884 Add comments about discarded return value.
8886 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8889 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8891 2000-10-27 Andy Piper <andy@xemacs.org>
8893 * gutter.c (Fset_default_gutter_position): default left and right
8895 (calculate_gutter_size): calculate resonable heuristic for left
8896 and right gutter sizes.
8897 (specifier_vars_of_gutter): change left and right gutter sizes to
8899 (calculate_gutter_size_from_display_lines): new function.
8900 (output_gutter): check for resizing on left and right gutters.
8901 (clear_gutter): don't special case top and left gutters.
8902 (specifier_vars_of_gutter): use new signature for
8903 set_specifier_caching.
8905 * glyphs-x.c (x_redisplay_widget): spelling fix.
8906 * glyphs.c (specifier_vars_of_glyphs):
8907 * menubar.c (specifier_vars_of_menubar):
8908 * redisplay.c (specifier_vars_of_redisplay):
8909 * toolbar.c (specifier_vars_of_toolbar):
8910 * window.c (specifier_vars_of_window):
8911 * scrollbar.c (specifier_vars_of_scrollbar):
8912 (complex_vars_of_scrollbar): use new signature for
8913 set_specifier_caching.
8915 * specifier.c (set_specifier_caching): include recompute flag.
8916 (recompute_one_cached_specifier_in_window): always recompute if
8918 (recompute_one_cached_specifier_in_frame): ditto.
8920 * specifier.h (struct specifier_caching): add recompute flag.
8922 2000-10-24 Andy Piper <andy@xemacs.org>
8924 * unexcw.c (copy_executable_and_dump_data_section): add new
8925 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8928 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8930 * console-x.h (x_device): New member modifier_release_time.
8931 * event-Xt.c (x_handle_sticky_modifiers):
8932 Bound interval modifier keys are sticky.
8933 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8934 * events.h: extern it.
8936 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8938 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8940 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8942 * event-stream.c (execute_command_event): Preserve current_events
8943 and the like when event is misc-user-event.
8944 Inhibit quit during the call to maybe_echo_keys.
8946 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8948 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8949 symlink when buffer is killed.
8950 (inhibit_clash_detection): New variable.
8952 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8954 * console.c (Fset_input_method): Trigger redisplay on tty.
8956 2000-11-07 Martin Buchholz <martin@xemacs.org>
8958 * process.c (Fprocess_status): Revert to previous behavior:
8959 (process-status "nosuchprocess") ==> nil
8961 2000-11-06 Martin Buchholz <martin@xemacs.org>
8963 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8964 Work around another GCC 2.95.2 optimizer bug.
8966 2000-11-02 Martin Buchholz <martin@xemacs.org>
8968 * process.c (Fget_process): Use LIST_LOOP_2.
8969 (kill_buffer_processes): Use LIST_LOOP_2.
8971 * minibuf.c (Fall_completions):
8972 Delete old non-functional code for FSF fourth argument.
8974 * frame.c (frame_matches_frame_spec):
8975 Renamed from `frame_matches_frametype'. Update all callers.
8976 (device_matches_device_spec):
8977 Renamed from 'device_matches_console_spec'. Update all callers.
8979 * doc.c (Fsubstitute_command_keys):
8980 Remove buffer overflow crash. Small code cleanups.
8982 * casetab.c (check_case_table): Simpler code.
8984 * window.c (Freplace_buffer_in_windows):
8985 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8986 (and similar implementation) as Fdelete_windows_on.
8989 * alloc.c (Fmake_list):
8990 * alloc.c (make_vector):
8991 * alloc.c (Fmake_vector):
8992 * alloc.c (make_bit_vector):
8993 * alloc.c (Fmake_bit_vector):
8994 * alloc.c (Fbit_vector):
8995 * alloc.c (Fmake_string):
8996 * alloc.c (Fpurecopy):
8997 * alloc.c (Fmemory_limit):
8999 * buffer.c (Fget_buffer):
9000 * buffer.c (Fkill_buffer):
9001 * buffer.c (complex_vars_of_buffer):
9002 * bytecode.c (Fcompiled_function_stack_depth):
9003 * callint.c (Fprefix_numeric_value):
9005 * event-stream.c (Fread_key_sequence):
9007 * casetab.c (Fcase_table_p):
9008 * casetab.c (check_case_table):
9009 * casetab.c (Fset_case_table):
9010 * casetab.c (Fset_standard_case_table):
9012 * chartab.c (Fchar_table_type):
9013 * chartab.c (Freset_char_table):
9014 * chartab.c (Fget_char_table):
9015 * chartab.c (Fget_range_char_table):
9016 * chartab.c (Fput_char_table):
9017 * chartab.c (Fmap_char_table):
9018 * chartab.c (Fcategory_table_p):
9019 * chartab.c (Fcheck_category_at):
9020 * chartab.c (Fchar_in_category_p):
9021 * chartab.c (Fcategory_table):
9022 * chartab.c (Fcopy_category_table):
9023 * chartab.c (Fset_category_table):
9024 * chartab.c (Fcategory_designator_p):
9025 * chartab.c (Fcategory_table_value_p):
9026 * cmds.c (Fdelete_char):
9027 * cmds.c (Fdelete_backward_char):
9028 * cmds.c (Fself_insert_command):
9029 * cmds.c (Fself_insert_internal):
9030 * console.c (Fvalid_console_type_p):
9031 * console.c (Fcdfw_console):
9032 * console.c (Fconsole_type):
9033 * console.c (Fconsole_name):
9034 * console.c (Fconsole_device_list):
9035 * console.c (Fconsole_on_window_system_p):
9039 * data.c (Fsubr_interactive):
9040 * data.c (Fchar_to_int):
9041 * data.c (Fint_to_char):
9044 * data.c (Fnumber_to_string):
9045 * data.c (Fstring_to_number):
9047 * database.c (mark_database):
9048 * database.c (finalize_database):
9049 * database.c (Fdatabase_live_p):
9050 * database.c (Fdatabasep):
9051 * device-x.c (Fx_get_resource):
9052 * device.c (Fdfw_device):
9054 * dired.c (Ffile_name_completion):
9055 * dired.c (Ffile_name_all_completions):
9056 * dired.c (Fuser_name_completion):
9057 * dired.c (Fuser_name_completion_1):
9058 * dired.c (Fuser_name_all_completions):
9059 * doc.c (Fdocumentation):
9060 * doc.c (Fdocumentation_property):
9061 * doc.c (Fsubstitute_command_keys):
9063 * editfns.c (Fchar_to_string):
9064 * editfns.c (Fstring_to_char):
9065 * editfns.c (Ftemp_directory):
9066 * editfns.c (Finsert_char):
9067 * editfns.c (Fbuffer_substring_no_properties):
9068 * editfns.c (Fnarrow_to_region):
9069 * editfns.c (Fchar_equal):
9070 * editfns.c (Fchar_Equal):
9071 * editfns.c (Ftranspose_regions):
9072 * emacs.c (Fdump_emacs):
9074 * eval.c (Fcommand_execute):
9075 * eval.c (Fautoload):
9076 * eval.c (Fbacktrace):
9077 * eval.c (Fbacktrace_frame):
9079 * events.c (Fcopy_event):
9080 * events.c (Fcharacter_to_event):
9081 * events.c (Fevent_button):
9082 * events.c (Fevent_process):
9084 * extents.c (Fnext_extent_change):
9085 * extents.c (Fextent_property):
9087 * faces.c (Fmake_face):
9089 * file-coding.c (Fencode_shift_jis_char):
9090 * file-coding.c (Fencode_big5_char):
9091 * fileio.c (Ffile_name_directory):
9092 * fileio.c (Ffile_name_nondirectory):
9093 * fileio.c (Ffile_name_as_directory):
9094 * fileio.c (Fdirectory_file_name):
9095 * fileio.c (Ffile_truename):
9096 * fileio.c (Fsubstitute_in_file_name):
9097 * fileio.c (Ffile_modes):
9098 * fileio.c (Fset_file_modes):
9099 * fileio.c (Fset_default_file_modes):
9100 * fileio.c (Fverify_visited_file_modtime):
9101 * floatfns.c (Facos):
9102 * floatfns.c (Fasin):
9103 * floatfns.c (Fatan):
9104 * floatfns.c (Fcos):
9105 * floatfns.c (Fsin):
9106 * floatfns.c (Ftan):
9107 * floatfns.c (Fbessel_j0):
9108 * floatfns.c (Fbessel_j1):
9109 * floatfns.c (Fbessel_jn):
9110 * floatfns.c (Fbessel_y0):
9111 * floatfns.c (Fbessel_y1):
9112 * floatfns.c (Fbessel_yn):
9113 * floatfns.c (Ferf):
9114 * floatfns.c (Ferfc):
9115 * floatfns.c (Flog_gamma):
9116 * floatfns.c (Fexp):
9117 * floatfns.c (Fexpt):
9118 * floatfns.c (Flog):
9119 * floatfns.c (Flog10):
9120 * floatfns.c (Fsqrt):
9121 * floatfns.c (Fcube_root):
9122 * floatfns.c (Facosh):
9123 * floatfns.c (Fasinh):
9124 * floatfns.c (Fatanh):
9125 * floatfns.c (Fcosh):
9126 * floatfns.c (Fsinh):
9127 * floatfns.c (Ftanh):
9128 * floatfns.c (Fabs):
9129 * floatfns.c (Ffloat):
9130 * floatfns.c (Flogb):
9131 * floatfns.c (Fceiling):
9132 * floatfns.c (Ffloor):
9133 * floatfns.c (Fround):
9134 * floatfns.c (Ftruncate):
9135 * floatfns.c (Ffceiling):
9136 * floatfns.c (Fffloor):
9137 * floatfns.c (Ffround):
9138 * floatfns.c (Fftruncate):
9139 * fns.c (Fstring_equal):
9140 * fns.c (Fstring_lessp):
9145 * fns.c (Fsubstring):
9147 * fns.c (Fold_assoc):
9148 * fns.c (assoc_no_quit):
9150 * fns.c (Fold_assq):
9151 * fns.c (assq_no_quit):
9153 * fns.c (Fold_rassoc):
9155 * fns.c (Fold_rassq):
9156 * fns.c (rassq_no_quit):
9157 * fns.c (Fremassoc):
9158 * fns.c (remassoc_no_quit):
9160 * fns.c (remassq_no_quit):
9161 * fns.c (Fremrassoc):
9162 * fns.c (Fremrassq):
9163 * fns.c (remrassq_no_quit):
9165 * fns.c (Fplist_get):
9166 * fns.c (Fplist_put):
9167 * fns.c (Fplist_remprop):
9168 * fns.c (Fplist_member):
9169 * fns.c (Flax_plist_get):
9170 * fns.c (Flax_plist_put):
9171 * fns.c (Flax_plist_remprop):
9172 * fns.c (Flax_plist_member):
9174 * fns.c (Fold_equal):
9176 * fns.c (Fbase64_encode_region):
9177 * fns.c (Fbase64_encode_string):
9178 * fns.c (Fbase64_decode_region):
9180 * frame.c (frame_matches_frame_spec):
9181 * frame.c (device_matches_device_spec):
9182 * frame.c (next_frame):
9183 * frame.c (previous_frame):
9184 * frame.c (Fnext_frame):
9185 * frame.c (Fprevious_frame):
9186 * frame.c (Fframe_property):
9187 * frame.c (Fset_frame_height):
9188 * frame.c (Fset_frame_size):
9192 * glyphs.c (decode_error_behavior_flag):
9193 * glyphs.c (Fmake_image_instance):
9194 * indent.c (Findent_to):
9195 * intl.c (Fignore_defer_gettext):
9196 * keymap.c (Fkeymapp):
9197 * keymap.c (Flookup_key):
9199 * lread.c (Fload_internal):
9200 * lread.c (Feval_buffer):
9201 * lread.c (Feval_region):
9202 * macros.c (Fexecute_kbd_macro):
9203 * marker.c (set_marker_internal):
9204 * marker.c (Fset_marker):
9205 * marker.c (set_marker_restricted):
9206 * marker.c (Fcopy_marker):
9207 * marker.c (noseeum_copy_marker):
9209 * menubar.c (Fpopup_menu):
9211 * mule-charset.c (Fcharset_name):
9212 * mule-charset.c (Fchar_charset):
9213 * mule-charset.c (Fchar_octet):
9214 * mule-charset.c (Fsplit_char):
9215 * mule-wnnfns.c (Fwnn_open):
9216 * mule-wnnfns.c (Fwnn_dict_comment):
9217 * mule-wnnfns.c (Fwnn_quit_henkan):
9218 * mule-wnnfns.c (Fwnn_word_toroku):
9219 * mule-wnnfns.c (Fwnn_word_sakujo):
9220 * mule-wnnfns.c (Fwnn_word_use):
9221 * mule-wnnfns.c (Fwnn_hindo_set):
9223 * objects.c (Fmake_color_instance):
9224 * objects.c (Fmake_font_instance):
9225 * print.c (Fwrite_char):
9227 * process.c (mark_process):
9228 * process.c (print_process):
9229 * process.c (get_process_from_usid):
9230 * process.c (Fprocessp):
9231 * process.c (Fprocess_live_p):
9232 * process.c (Fget_process):
9233 * process.c (Fget_buffer_process):
9234 * process.c (get_process):
9235 * process.c (Fprocess_id):
9236 * process.c (Fprocess_name):
9237 * process.c (Fprocess_command):
9238 * process.c (init_process_io_handles):
9239 * process.c (start_process_unwind):
9240 * process.c (Fstart_process_internal):
9241 * process.c (Fopen_multicast_group_internal):
9242 * process.c (Fset_process_window_size):
9243 * process.c (read_process_output):
9244 * process.c (send_process):
9245 * process.c (Fprocess_tty_name):
9246 * process.c (Fset_process_buffer):
9247 * process.c (Fprocess_buffer):
9248 * process.c (Fprocess_mark):
9249 * process.c (set_process_filter):
9250 * process.c (Fset_process_filter):
9251 * process.c (Fprocess_filter):
9252 * process.c (Fprocess_send_region):
9253 * process.c (Fprocess_send_string):
9254 * process.c (exec_sentinel):
9255 * process.c (Fset_process_sentinel):
9256 * process.c (Fprocess_sentinel):
9257 * process.c (status_notify):
9258 * process.c (Fprocess_status):
9259 * process.c (Fprocess_exit_status):
9260 * process.c (process_send_signal):
9261 * process.c (Fprocess_send_eof):
9262 * process.c (deactivate_process):
9263 * process.c (remove_process):
9264 * process.c (Fdelete_process):
9265 * process.c (kill_buffer_processes):
9266 * process.c (Fprocess_kill_without_query):
9267 * process.c (Fprocess_kill_without_query_p):
9269 * rangetab.c (Fget_range_table):
9270 * rangetab.c (Fput_range_table):
9271 * rangetab.c (Fremove_range_table):
9272 * rangetab.c (Fclear_range_table):
9274 * search.c (Fskip_chars_forward):
9275 * search.c (Fskip_chars_backward):
9276 * search.c (Fskip_syntax_forward):
9277 * search.c (Fskip_syntax_backward):
9278 * search.c (search_command):
9279 * search.c (Freplace_match):
9280 * search.c (Fregexp_quote):
9281 * select.c (Fown_selection_internal):
9282 * select.c (Fselection_owner_p):
9283 * select.c (Fselection_exists_p):
9284 * select.c (Fget_selection_internal):
9287 * symbols.c (Fintern):
9288 * symbols.c (Fintern_soft):
9289 * symbols.c (Funintern):
9290 * symbols.c (Fapropos_internal):
9291 * symbols.c (Fset_default):
9293 * syntax.c (Fsyntax_table_p):
9294 * syntax.c (Fcopy_syntax_table):
9295 * syntax.c (Fset_syntax_table):
9296 * syntax.c (Fchar_syntax):
9297 * syntax.c (syntax_match):
9298 * syntax.c (Fmatching_paren):
9299 * syntax.c (Fforward_word):
9300 * syntax.c (scan_lists):
9301 * syntax.c (Fscan_lists):
9302 * syntax.c (Fscan_sexps):
9303 * syntax.c (Fparse_partial_sexp):
9304 * toolbar.c (Fcheck_toolbar_button_syntax):
9307 * window.c (Fwindowp):
9308 * window.c (Fwindow_live_p):
9309 * window.c (Fwindow_point):
9310 * window.c (Fdelete_window):
9311 * window.c (Fnext_window):
9312 * window.c (Fprevious_window):
9313 * window.c (Fother_window):
9314 * window.c (window_loop):
9315 * window.c (Fget_lru_window):
9316 * window.c (Fsplit_window):
9317 * window.c (Fenlarge_window):
9318 * window.c (Fenlarge_window_pixels):
9319 * window.c (Fshrink_window):
9320 * window.c (Fshrink_window_pixels):
9321 * window.c (change_window_height):
9322 * window.c (Fwindow_configuration_p):
9323 * window.c (Fcurrent_window_configuration):
9325 * casefiddle.c (casify_object):
9326 * casefiddle.c (Fupcase):
9327 * casefiddle.c (Fdowncase):
9328 * casefiddle.c (Fcapitalize):
9329 * casefiddle.c (Fupcase_initials):
9330 * casefiddle.c (casify_region_internal):
9331 * casefiddle.c (casify_region):
9332 * casefiddle.c (Fupcase_region):
9333 * casefiddle.c (Fdowncase_region):
9334 * casefiddle.c (Fcapitalize_region):
9335 * casefiddle.c (Fupcase_initials_region):
9336 * casefiddle.c (Fupcase_word):
9337 * casefiddle.c (Fdowncase_word):
9338 * casefiddle.c (Fcapitalize_word):
9339 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9340 Replace 0 with '\0' when working with bytes.
9341 Replace initial "(" with "\(" in docstrings.
9343 2000-11-01 Martin Buchholz <martin@xemacs.org>
9345 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9347 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9349 2000-10-31 Martin Buchholz <martin@xemacs.org>
9351 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9353 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9355 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9358 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9360 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9361 (inhibit_auto_save_session): New variable.
9362 (vars_of_fileio): Declare and initialize them.
9363 * fileio.c (Fdo_auto_save): Don't create session file if
9364 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9366 2000-10-31 Martin Buchholz <martin@xemacs.org>
9368 * sgiplay.c (play_internal): C++ compilability.
9369 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9370 * callproc.c (Fold_call_process_internal):
9371 Remove unused vars `env', `first'.
9372 * scrollbar.c (update_scrollbar_instance):
9373 #### unused var `current_window'.
9374 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9375 etc. within #ifdef NOT_YET.
9376 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9377 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9378 * specifier.c (specifier_instance):
9379 #### unused var `tag'.
9380 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9382 2000-10-27 Martin Buchholz <martin@xemacs.org>
9385 * fns.c (list_sort):
9386 * fns.c (Ffillarray):
9387 * fns.c (bytecode_nconc2):
9390 * fns.c (Fmapconcat):
9391 Be pedantically 64-bit correct. For the time when someone will
9392 want to have a list with length > 2**32.
9394 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9395 Work around MIPSpro compiler bug.
9397 * process-unix.c (unix_kill_child_process): Add snarky comment.
9398 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9400 * config.h.in: Oops, _getpt ==> _getpty
9402 2000-10-26 Martin Buchholz <martin@xemacs.org>
9406 Use void*, not char*, as return type of alloca().
9408 * alloc.c (free_marker): Side effect inside assert expression!
9410 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9412 * mule-charset.c (Fset_charset_ccl_program): To check
9413 if the given ccl program is valid, use setup_ccl_program()
9414 instead of CHECK_VECTOR().
9415 (Fmake_charset): Likewise.
9417 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9419 * faces.c (get_extent_fragment_face_cache_index):
9420 Fix cachel.merged_faces memory leak.
9422 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9424 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9425 Reset MSB of octets obtained by DECODE_SJIS
9426 because of the incompatibility with Emacs.
9427 (ccl_driver)<CCL_ENCODE_SJIS>:
9428 Set MSB of octets before passing them to
9429 ENCODE_SJIS because of the incompatibility
9432 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9434 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9435 (DECLARE_LRECORD): Undo the last change.
9436 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9438 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9440 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9441 the implementation to lrecord_implementations_table.
9443 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9445 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9446 initial value of `lrecord_type_##c_name' and
9447 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9448 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9449 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9450 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9451 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9453 2000-10-17 Martin Buchholz <martin@xemacs.org>
9455 * miscplay.c (sndcnv8S_2mono):
9456 (sndcnv2monounsigned):
9457 (sndcnvULaw_2linear):
9459 Remove implementation-defined behavior.
9461 2000-10-12 Martin Buchholz <martin@xemacs.org>
9463 * input-method-xlib.c: Warning suppression.
9465 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9467 * mule-ccl.c: Sync up with Emacs 21.0.90.
9468 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9470 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9472 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9473 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9474 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9475 leading char belongs to official 2-dimensional charset.
9476 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9477 write the given character as is. Otherwise,
9478 if it is a multibyte char, convert it by
9479 non_ascii_set_charptr_emchar, then write it.
9480 (CCL_WRITE_STRING): Likewise.
9481 (ccl_get_compiled_code): New function.
9482 (setup_ccl_program): When ccl_prog is invalid,
9484 (Fregister_code_conversion_map): New function.
9485 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9487 * mule-ccl.h: Sync up with Emacs 21.0.90.
9488 (Fregister_ccl_program): export it.
9490 * redisplay-msw.c (separate_textual_runs):
9491 If ccl program is not valid, don't do ccl conversion.
9493 * redisplay-x.c (separate_textual_runs): Ditto.
9495 * file-coding.c (Fmake_coding_system):
9496 When type is ccl and value is vector, register it
9497 with a proper symbol. And checks whether the
9498 given ccl program is valid.
9499 (mule_decode): When calling ccl_driver, if src indicates
9500 NULL pointer, set an empty string instead.
9501 (mule_encode): Likewise.
9503 2000-10-11 Martin Buchholz <martin@xemacs.org>
9505 The following large batch of changes gets us back to a state of
9506 C++ compilability. Extbyte is now a char, which means that
9507 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9509 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9511 * sound.c (Fplay_sound): Type correctness.
9513 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9514 (x_get_window_property): Type correctness.
9515 (receive_incremental_selection): unsigned char ==> Extbyte
9516 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9517 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9518 (Fx_store_cutbuffer_internal): Type correctness.
9520 * process-unix.c (try_to_initialize_subtty): Type correctness.
9522 * objects-x.c (x_print_color_instance): Type correctness.
9523 (x_print_font_instance): Type correctness.
9524 (x_list_fonts): SExtbyte ==> Extbyte.
9525 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9526 (x_find_charset_font): SExtbyte ==> Extbyte.
9527 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9528 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9529 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9532 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9533 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9534 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9535 (BYTE_C0_P): Use bit ops for char-signedness safety.
9536 (BYTE_C1_P): Use bit ops for char-signedness safety.
9537 (CHARSET_BY_LEADING_BYTE):
9538 (CHARSET_BY_ATTRIBUTES):
9539 Always use inline function.
9540 Use type_checking_assert.
9543 * mule-charset.c (non_ascii_charptr_copy_char):
9544 Modify to work with both ASCII and non-ASCII characters.
9545 Improve docs and variable names.
9546 Replace over-clever fall-through switch with a simple loop.
9547 (Lstream_get_emchar_1):
9548 Replace over-clever fall-through switch with a simple loop.
9550 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9551 Warning suppression.
9553 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9554 the return value of Lstream_getc, which could be EOF as well.
9556 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9558 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9559 APIs can be used on Extbytes without casts. Risky!
9563 * input-method-xlib.c (XIM_init_device):
9564 Use Xlib.h instead of IntrinsicP.h.
9565 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9566 which will break in X11R7.
9567 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9568 to call XRegisterIMInstantiateCallback with correct types.
9570 * gui-x.c (button_item_to_widget_value): Type correctness.
9572 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9574 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9575 (xbm_instantiate_1): Type correctness.
9576 (BUILD_GLYPH_INST): Type correctness.
9578 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9581 (decode_coding_sjis):
9582 (decode_coding_big5):
9583 (decode_coding_ucs4):
9584 (decode_coding_utf8):
9585 (decode_coding_iso2022):
9586 (decode_coding_no_conversion):
9587 Make all decoding functions take an Extbyte * arg.
9588 (encode_coding_sjis):
9589 (encode_coding_big5):
9590 (encode_coding_ucs4):
9591 (encode_coding_utf8):
9592 (encode_coding_iso2022):
9593 (encode_coding_no_conversion):
9594 Make all encoding functions take a Bufbyte * arg.
9595 Use size_t instead of unsigned int for memory sizes.
9596 Only cast to unsigned char whenever dereferencing Extbyte *.
9598 * doc.c (unparesseuxify_doc_string): Type correctness.
9600 * console-x.c (split_up_display_spec):
9601 Rewrite without using details of internal string representation.
9602 (x_semi_canonicalize_device_connection): Type correctness.
9605 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9606 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9607 (HAVE_XFREE386): Removed.
9609 * buffer.h (DEC_CHARPTR): `const' correctness.
9610 (bufbyte_strcmp): New.
9611 (bufbyte_memcmp): New.
9613 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9615 * buffer.h (XCHAR_OR_CHAR_INT):
9616 Always use inline function.
9617 Remove redundant type checking assert() - XINT will abort quite nicely.
9619 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9621 * search.c (Freplace_match): Set newtext to an empty string.
9623 2000-10-10 Martin Buchholz <martin@xemacs.org>
9625 * s/decosf1-3.h: Remove #include of stropts.h
9626 * s/ptx.h: Remove #include of stropts.h
9627 * s/usg5-4.h: Remove #include of stropts.h
9630 Use stropts.h, not sys/stropts.h.
9631 Use strtio.h, not sys/strtio.h.
9633 2000-10-04 Martin Buchholz <martin@xemacs.org>
9635 * XEmacs 21.2.36 is released.
9637 2000-09-21 Andy Piper <andy@xemacs.org>
9639 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9640 changes still involve copying the widget tree.
9641 (update_widget_face): make sure a change is register in the widget
9642 tree. Call update_tab_widget_face appropriately.
9643 (update_tab_widget_face): ditto.
9644 (x_tab_control_redisplay): make sure non-structural changes still
9645 involve copying the widget tree.
9647 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9649 * lread.c (locate_file): Check the path element is non-nil.
9651 2000-10-02 Martin Buchholz <martin@xemacs.org>
9653 * lisp.h: Warning suppression for SCO compilers.
9655 * redisplay-tty.c (reset_tty_modes): Fix crash.
9656 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9658 2000-09-27 Martin Buchholz <martin@xemacs.org>
9660 Big signal/process handling overhaul. Bugs fixed:
9661 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9662 M-x comint-kill-subjob should work for both values nil and t of
9663 process-connection-type. It was broken on most platforms.
9664 Testing on Irix and Cygwin still needed. Other plaforms tested.
9665 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9666 * process-unix.c: Signal/Process handling overhaul.
9667 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9668 (allocate_pty): Use all available modern methods of allocating
9669 ptys, falling back to old style BSD allocation as a last resort.
9670 Use allegedly more secure Unix98 pty allocation by default.
9671 (allocate_pty_the_old_fashioned_way): New. the last resort.
9672 (unix_create_process): Push ptem, ldterm, ttcompat where
9673 available. Autoconfiscate.
9674 (try_to_initialize_subtty): New.
9675 (unix_kill_child_process): Proper signal handling for ptys on most
9676 platforms, using special knowledge of AIX, BSD, etc...
9677 (unix_create_process): Always disconnect_controlling_terminal() for
9678 subprocesses, whether using ptys or not.
9679 * process.h: Remove old getpt-dependent PTY code.
9680 * process.c (Fprocess_send_signal): New, obvious generic function.
9681 (decode_signal): New.
9682 (Finterrupt_process):
9686 (Fcontinue_process):
9687 (Fsignal_process): Use decode_signal.
9688 (process_send_signal):
9689 Many docstring corrections.
9690 Allow any signal to be sent to a process object.
9691 * config.h.in: Add symbols for big signal/process overhaul.
9692 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9693 * sysproc.h: Include process-related headers, where available:
9694 sys/stropts.h sys/strtio.h pty.h libutil.h
9702 Remove old S&M pty stuff.
9703 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9704 * systty.h: Simplify cpp hackery, improve comments.
9705 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9707 * editfns.c (Fformat_time_string):
9708 Be a little more paranoid with the return value of ctime.
9710 * fileio.c (check_executable):
9712 Use symbolic constants X_OK, W_OK.
9714 * console-x.c (split_up_display_spec): Fix a warning.
9716 2000-10-02 Martin Buchholz <martin@xemacs.org>
9718 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9719 * ntproc.c (sys_spawnve): make_string ==> build_string
9720 Small clarity improvements.
9722 2000-09-30 Martin Buchholz <martin@xemacs.org>
9724 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9726 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9728 * config.h.in (HAVE_STRCASECMP): Remove.
9730 2000-09-29 Martin Buchholz <martin@xemacs.org>
9732 * redisplay-output.c (redisplay_output_pixmap):
9733 Cleaner and possibly more 64-bit correct code.
9735 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9737 * dumper.c (pdump_load_finish): move restoration of
9738 `noninteractive1' to emacs.c (main_1).
9739 * emacs.c (main_1): protect LISP-visible command-line flags
9742 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9744 * Makefile.in.in (versionclean): Use EXE_TARGET and
9745 DUMP_TARGET instead of literal program names.
9747 2000-09-20 Martin Buchholz <martin@xemacs.org>
9749 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9751 2000-09-19 Martin Buchholz <martin@xemacs.org>
9753 * *: Spelling mega-patch
9755 2000-09-19 Martin Buchholz <martin@xemacs.org>
9757 * fns.c (bad_bad_turtle):
9758 Delete "Eek!" comment, since we fixed the bug to which it refers.
9760 2000-09-16 Martin Buchholz <martin@xemacs.org>
9762 * alloca.c: Replace REGISTER with register.
9764 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9766 * file-coding.c (ucs_to_char): Use countof.
9768 2000-09-16 Martin Buchholz <martin@xemacs.org>
9770 * file-coding.c: (ucs_to_char):
9771 (complex_vars_of_file_coding):
9772 Use countof instead of sizeof.
9773 Use CHECK_NATNUM instead of CHECK_INT.
9775 * sysdep.c (strcasecmp): Remove.
9776 * device-x.c (ascii_strcasecmp): New.
9777 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9778 Avoid using non-standard non-portable strcasecmp.
9780 2000-09-16 Martin Buchholz <martin@xemacs.org>
9782 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9783 * font-lock.c: remove reference to emacsfns.h.
9784 * search.c: small doc improvement.
9785 * event-Xt.c: correct file names in comments.
9786 * console-x.h Correct file names in comments.
9787 * frame.c: Correct file names in comments.
9788 * event-stream.c: remove Energize from comments.
9790 2000-09-15 Martin Buchholz <martin@xemacs.org>
9792 * symeval.h (DEFERROR_STANDARD):
9795 (DEFSYMBOL_NO_DUMP):
9796 (DEFSYMBOL_MULTIWORD_PREDICATE):
9797 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9799 The construct &##name is not sensible C.
9800 Fixes compilation errors with Unixware native compiler.
9802 2000-09-14 Martin Buchholz <martin@xemacs.org>
9804 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9805 (next_frame_internal): Removed. We now just have next_frame.
9807 Write a simpler and cleaner one-pass algorithm.
9808 Remove called_from_delete_device arg and #ifdefed-out code.
9810 Renamed from prev_frame. Update callers.
9811 Cleaned up to have an analogous implementation to next_frame.
9812 (other_visible_frames_internal): Remove the
9813 called_from_delete_device bogus arg, and hence, remove this
9814 function. Just use other_visible_frames().
9816 * window.c (Fnext_window):
9818 Since next_frame() is guaranteed to return a frame, remove check
9819 for nil inserted in previous patch.
9822 Make code look more like Fnext_window.
9824 Respect the `console' arg when iterating through windows.
9825 Fixes bug: (get-buffer-window buffer t device) not respecting
9827 This function needs more work, as others have pointed out.
9829 * frame.h: Rename prev_frame to previous_frame.
9830 device_matches_console_spec no longer takes a `frame' arg.
9835 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9836 From "Golubev I. N." <gin@mo.msk.ru>.
9838 * make-src-depend: Fix typo.
9840 2000-09-13 Martin Buchholz <martin@xemacs.org>
9842 * window.c (Fnext_window):
9843 next_frame() might return nil, not a frame.
9845 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9847 * frame.c (next_frame_internal):
9848 We've passed a frame if we've passed its device.
9850 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9851 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9853 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9855 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9856 Allow option to suppress accelerators in menu/dialog items.
9857 (populate_or_checksum_helper): Pass dialog title through above.
9859 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9861 * event-msw.c (mswindows_key_to_emacs_keysym):
9862 Add "pause" key, fix "menu" key.
9864 2000-09-09 Martin Buchholz <martin@xemacs.org>
9866 * eval.c (reinit_vars_of_eval):
9867 Increase max_lisp_eval_depth to 1000,
9868 required for thai-xtis.el to byte-compile under some circumstances.
9870 2000-09-04 Martin Buchholz <martin@xemacs.org>
9872 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9875 2000-09-01 Martin Buchholz <martin@xemacs.org>
9877 * make-src-depend: Make the generated Makefiles smaller.
9879 * s/hpux.h (SETUP_SLAVE_PTY):
9880 Provide a %d in the format string for the errno argument.
9882 * editfns.c (Ftemp_directory):
9884 Avoid buffer overrun on very long file name.
9886 * input-method-xlib.c (XIM_init_device):
9887 6th parameter of XRegisterIMInstantiateCallback has different
9888 pointer types on different OSes, so simply cast to (void *).
9890 * unexhp9k800.c: Warning fixes. Fiddly changes.
9892 * sysdll.c (dll_open):
9893 shl_load will hang hard if passed a NULL filename.
9894 Simply return NULL for compatibility with dlopen.
9895 * sysdll.c: Conform to XEmacs coding standards.
9897 * sysdep.c (get_pty_max_bytes):
9898 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9900 2000-08-31 Martin Buchholz <martin@xemacs.org>
9902 * tooltalk.c: Add #include <syssignal.h>
9904 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9906 * s/hpux.h: Don't use undefined function sigunblock().
9908 2000-08-31 Martin Buchholz <martin@xemacs.org>
9910 * config.h.in: Add HAVE_BALLOON_HELP.
9911 * emacs.c: Use HAVE_BALLOON_HELP.
9912 * Makefile.in.in (x_objs):
9913 Make Balloon Help conditional on finding shape.h.
9915 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9917 * syntax.c (regex_emacs_buffer_p): New variable.
9918 * syntax.h (regex_emacs_buffer_p): extern.
9919 * search.c (looking_at_1):
9921 (fast_string_match):
9922 (search_buffer): Set regex_emacs_buffer_p.
9923 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9924 when before_dot, at_dot, after_dot.
9926 2000-08-23 Andy Piper <andy@xemacs.org>
9928 * gui-x.c (popup_selection_callback): Only set action_occurred
9929 when we really have an image instance.
9930 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9932 2000-08-23 Andy Piper <andy@xemacs.org>
9934 * gui-msw.c (mswindows_handle_gui_wm_command): set
9936 * gui-x.c (popup_selection_callback): ditto.
9938 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9939 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9940 (struct Lisp_Image_Instance): add action_occurred flag.
9942 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9943 (image_instance_changed): ditto.
9944 (reset_frame_subwindow_instance_cache): only unmap windows - do
9945 not remove them from the cache also.
9947 * glyphs-widget.c (tab_control_update): better debug.
9948 (progress_gauge_update): ditto.
9949 (layout_update): ditto.
9950 (layout_instantiate): ditto.
9951 (tab_control_order_only_changed): cope with null pending items.
9953 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9954 debug. Force selection of an item when an action occurred. Cope
9955 with null pending_items.
9956 (mswindows_progress_gauge_redisplay): better debug.
9957 * glyphs-x.c (x_tab_control_redisplay): ditto.
9959 * redisplay.c (redisplay_frame): reset the frame cache if the
9962 * window.c (Fset_window_configuration): potentially re-enable
9964 (window_unmap_subwindows): need to finalize instances here since
9965 it is only used in mark_window_as_deleted.
9967 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9969 * nas.c (SndOpenDataForReading):
9970 nas.c (WaveOpenDataForReading):
9971 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9972 Somehow escaped from the 2000-08-14 patch.
9974 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9976 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9977 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9979 2000-08-21 Andy Piper <andy@xemacs.org>
9981 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9982 window if it is not already displayed.
9984 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9985 it is not already displayed.
9987 * window.c (Fset_window_configuration): don't reset the frame
9990 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9991 instances from the frame cache if we are actually finalizing them.
9992 (reset_frame_subwindow_instance_cache): reset frame cache only
9993 after unmapping everything.
9994 (map_subwindow): set displayed flag after mapping.
9996 2000-08-21 Martin Buchholz <martin@xemacs.org>
9998 * data.c (indirect_function):
9999 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
10001 * eval.c (function_argcount):
10002 Use original function when signaling errors.
10004 2000-08-18 Andy Piper <andy@xemacs.org>
10006 * frame.c (delete_frame_internal): use new
10007 free_frame_subwindow_instances name.
10009 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
10010 (add_tab_item): make return type correct.
10011 (mswindows_tab_control_instantiate): assert index of tab.
10012 (mswindows_tab_control_redisplay): Re-code to use
10013 gui_item_equal_sans_selected and gui_item_list_find_selected.
10015 * glyphs-widget.c (tab_control_update): Correct comment.
10017 * window.c (window_unmap_subwindows): use new
10018 unmap_subwindow_instance_cache_mapper.
10019 (window_unmap_subwindows_cache_mapper): deleted.
10020 (Fset_window_configuration): comparisons should now be with
10021 EQ. Preserve the subwindow instance cache across configuration
10023 (allocate_window): ditto.
10024 (make_dummy_parent): ditto.
10026 * glyphs.c (free_frame_subwindow_instances): rename from
10027 free_frame_subwindow_instance_cache. finalize all instances rather
10028 than just those in the display cache.
10029 (finalize_all_subwindow_instances): walk windows unmapping and
10030 finalizing subwindows.
10031 (unmap_subwindow_instance_cache_mapper): moved from
10032 window.c. Allow finalization as well as unmapping.
10034 * gui.c (gui_item_list_find_selected): new function.
10036 * gui.h (gui_item_list_find_selected): declare.
10038 * glyphs-x.c (x_tab_control_redisplay): pick tab
10039 explicitly. Re-code to use gui_item_equal_sans_selected and
10040 gui_item_list_find_selected.
10042 * glyphs-x.h: add lwlib-utils.h
10044 * buffer.c (Frecord_buffer): undo previous change.
10046 2000-08-09 Vin Shelton <acs@xemacs.org>
10048 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10049 possible. Create temporary files more securely. The patch was
10050 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10051 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10052 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10055 2000-08-07 Ben Wing <ben@xemacs.org>
10057 * getloadavg.c: remove duplicate (and windows-breaking)
10058 includes of fcntl.h and sys/file.h.
10060 * nt.c: remove duplicate getloadavg() definition.
10062 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10065 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10067 * eval.c (function_argcount): If function needs to be autoloaded
10068 actually use the loaded definition.
10071 2000-08-05 Ben Wing <ben@xemacs.org>
10073 * getloadavg.c: add prototype for getloadavg(). remove
10074 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10075 of the code). remove duplicate header includes.
10077 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10079 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10080 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10081 useful load average.
10083 * alloc.c (reinit_alloc_once_early): removed references to
10084 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10085 the lisp vars are the only things referencing the malloc_sbrk_*
10086 vars, and they were already if 0'd out. these vars only exist
10087 in the older malloc.c, which is basically unused, and they're
10088 only for informational purposes.
10090 * m\*.h: removed useless VIRT_ADDR_VARIES.
10092 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10094 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10096 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10097 color if the image is a mono pixmap.
10099 2000-07-30 Ben Wing <ben@xemacs.org>
10101 * Makefile.in.in (release):
10104 * buffer.c (directory_is_current_directory):
10105 * dired-msw.c (mswindows_get_files):
10107 * dired.c (Fdirectory_files):
10108 * dired.c (file_name_completion_stat):
10109 * dired.c (Ffile_attributes):
10110 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10111 preprocessor tricks, to avoid problems on some machines
10114 * callproc.c (egetenv): GC docs.
10117 * console-msw.h (struct mswindows_dialog_id):
10118 * lrecord.h (lrecord_type):
10119 New object for use with MSW dialogs.
10121 * console.h (struct console_methods):
10122 New enable/disable frame methods, for proper modal dialogs.
10124 * device-msw.c (msprinter_default_printer): Fix to follow
10125 proper Mule conventions.
10128 * device-msw.c (signal_open_printer_error):
10129 * device-msw.c (msprinter_init_device):
10130 * device-msw.c (ensure_not_printing):
10131 * device-msw.c (plist_get_margin):
10132 * device-msw.c (Fmsprinter_select_settings):
10133 * device-msw.c (finalize_devmode):
10134 * device-msw.c (Fmsprinter_settings_despecialize):
10135 * device-msw.c (signal_enum_priner_error):
10136 * extents.c (decode_extent):
10137 * extents.c (decode_map_extents_flags):
10138 * extents.c (decode_extent_at_flag):
10139 * extents.c (Fextent_at):
10140 * extents.c (Fextents_at):
10141 * extents.c (symbol_to_glyph_layout):
10142 [[[[2]]]] Use structured errors.
10145 * dialog-msw.c (mswindows_is_dialog_msg):
10146 * dialog-msw.c (mark_mswindows_dialog_id):
10147 * dialog-msw.c (dialog_proc):
10148 * dialog-msw.c (handle_question_dialog_box):
10149 * dialog-msw.c (syms_of_dialog_mswindows):
10150 Define new object to clean up marking; use it as a dialog identifier.
10151 Call new delete-dialog-box-hook.
10153 * dialog-x.c (dbox_selection_callback):
10154 * dialog-x.c (dbox_descriptor_to_widget_value):
10155 * dialog-x.c (x_make_dialog_box_internal):
10156 Call new delete-dialog-box-hook.
10160 * dialog.c (syms_of_dialog):
10161 * dialog.c (vars_of_dialog):
10162 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10165 * eval.c (signal_call_debugger):
10166 when noninteractive, output stack traces on the console instead
10167 of in a (never-seen) buffer.
10169 * eval.c (signal_type_error):
10170 * eval.c (invalid_argument_2):
10172 new funs for use w/structured errors.
10175 * event-Xt.c (x_to_emacs_keysym):
10176 * event-Xt.c (describe_event):
10177 * event-Xt.c (emacs_Xt_event_handler):
10178 * event-Xt.c (vars_of_event_Xt):
10180 * event-msw.c (mswindows_wnd_proc):
10181 * event-msw.c (vars_of_event_mswindows):
10182 rename {x,mswindows}-debug-events to debug-{}-events for
10183 consistency with other debug-foo variables.
10186 document next-event more clearly.
10188 * fileio.c (Ffile_name_directory):
10189 * fileio.c (Ffile_name_nondirectory):
10190 * fileio.c (Funhandled_file_name_directory):
10191 * fileio.c (file_name_as_directory):
10192 * fileio.c (Ffile_name_as_directory):
10193 * fileio.c (directory_file_name):
10194 * fileio.c (Fdirectory_file_name):
10195 * fileio.c (Fmake_temp_name):
10196 * fileio.c (Ffile_truename):
10197 * fileio.c (Fsubstitute_in_file_name):
10198 * fileio.c (expand_and_dir_to_file):
10199 * fileio.c (barf_or_query_if_file_exists):
10200 * fileio.c (check_executable):
10201 * fileio.c (Ffile_exists_p):
10202 * fileio.c (Ffile_writable_p):
10203 * fileio.c (Ffile_directory_p):
10204 * fileio.c (Ffile_regular_p):
10205 * fileio.c (Ffile_modes):
10206 * fileio.c (Ffile_newer_than_file_p):
10207 * fileio.c (Fverify_visited_file_modtime):
10208 * fileio.c (Fset_visited_file_modtime):
10209 * fileio.c (auto_save_1):
10214 * frame-msw.c (mswindows_init_frame_1):
10215 * frame-msw.c (mswindows_enable_frame):
10216 * frame-msw.c (error_frame_unsizable):
10217 * frame-msw.c (msprinter_init_frame_1):
10218 * frame-msw.c (msprinter_init_frame_3):
10219 * frame-msw.c (console_type_create_frame_mswindows):
10221 implement new enable/disable frame methods.
10224 * frame-x.c (x_enable_frame):
10225 * frame-x.c (console_type_create_frame_x):
10226 implement new enable/disable frame methods.
10229 * frame.c (Fdisable_frame):
10230 * frame.c (syms_of_frame):
10231 * frame.h (struct frame):
10232 implement new enable/disable frame methods/functions.
10237 * glyphs-msw.c (mswindows_widget_instantiate):
10238 comment that initial-focus should be implemented.
10241 * glyphs-widget.c (check_valid_instantiator):
10242 * glyphs-widget.c (check_valid_orientation):
10243 * glyphs-widget.c (check_valid_tab_orientation):
10244 * glyphs-widget.c (check_valid_justification):
10245 * glyphs-widget.c (check_valid_border):
10246 * glyphs-widget.c (check_valid_callback):
10247 * glyphs-widget.c (check_valid_int_or_function):
10248 * glyphs-widget.c (check_valid_string_or_vector):
10249 * glyphs-widget.c (check_valid_item_list_1):
10250 * glyphs-widget.c (widget_validate):
10251 * glyphs-widget.c (combo_box_validate):
10252 * glyphs-widget.c (widget_instantiate):
10253 * glyphs-widget.c (syms_of_glyphs_widget):
10254 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10255 * glyphs-widget.c (image_instantiator_combo_box):
10256 * glyphs-widget.c (image_instantiator_scrollbar):
10257 * glyphs-widget.c (image_instantiator_tab_control):
10258 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10260 support (unimplemented) keyword initial-focus.
10261 reindent long macros.
10263 * glyphs-x.c (x_redisplay_widget):
10264 * glyphs-x.c (x_button_instantiate):
10265 * glyphs-x.c (x_button_redisplay):
10266 * glyphs-x.c (x_progress_gauge_instantiate):
10267 * glyphs-x.c (x_edit_field_instantiate):
10268 * glyphs-x.c (x_combo_box_instantiate):
10269 * glyphs-x.c (x_tab_control_instantiate):
10270 * glyphs-x.c (x_label_instantiate):
10272 * gui-x.c (button_item_to_widget_value):
10273 * gui-x.c (gui_items_to_widget_values_1):
10274 * gui-x.c (gui_item_children_to_widget_values):
10275 * gui-x.c (gui_items_to_widget_values):
10277 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10278 add new flag to gui-parsing routines to indicate whether
10279 accelerator specs should be supported.
10281 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10283 * glyphs.h (struct Lisp_Image_Instance):
10284 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10285 add initial-focus flag.
10288 * gui.c (syms_of_gui):
10289 * gui.c (vars_of_gui):
10290 clean up menu-no-selection-hook.
10293 support delete-dialog-box-hook.
10295 * lread.c (Fload_internal):
10296 * lread.c (locate_file_in_directory_mapper):
10300 * lrecord.h (struct toolbar_button):
10301 * lrecord.h (syms_of_toolbar):
10302 document how to create a new object.
10304 * menubar-msw.c (mswindows_char_is_accelerator):
10305 may be called on frames w/o menus.
10307 * menubar.c (vars_of_menubar):
10308 clean up :filter docs.
10315 * process-nt.c (validate_signal_number):
10316 * process-nt.c (signal_cannot_launch):
10317 * process-nt.c (nt_create_process):
10318 * process-nt.c (nt_send_process):
10319 * process-nt.c (nt_kill_child_process):
10320 * process-nt.c (nt_open_network_stream):
10321 * process-nt.c (syms_of_process_nt):
10323 delete quote-handling. call new lisp code that does it better.
10325 * process-unix.c (connect_to_file_descriptor):
10326 * process-unix.c (allocate_pty):
10327 * process-unix.c (unix_send_process):
10328 * process-unix.c (unix_kill_child_process):
10329 * process-unix.c (unix_open_network_stream):
10330 * process-unix.c (unix_open_multicast_group):
10334 * process.c (Fstart_process_internal):
10335 (2). need to canonicalize process path even if absolute.
10337 * select-msw.c (symbol_to_ms_cf):
10338 * select-msw.c (ms_cf_to_symbol):
10339 * select-msw.c (cf_is_autofreed):
10340 * select-msw.c (mswindows_destroy_selection):
10342 * select.c (syms_of_select):
10344 support dibv5, fix bugs. (from Mike Alexander)
10346 * select.c (Fget_selection_internal):
10347 * select.c (select_convert_out):
10350 * sysdep.c (xemacs_stat):
10353 * sysdep.c (mkdir):
10354 * sysdep.c (rmdir):
10355 but keep original stat() here because we provide encapsulation
10359 * sysfile.h (fstat):
10360 remove stat garbage.
10363 fix X/MSW conflict.
10364 don't include tchar.h. it's inappropriate because it makes
10365 compile-time distinctions when we want runtime distinctions.
10366 (we provide our own tchar replacements)
10369 use default object printer for toolbar-button.
10372 make sure we don't encapsulate.
10374 * window.c (vars_of_window):
10375 emphasize that temp-buffer-show-hook is obsolete.
10377 2000-08-05 Martin Buchholz <martin@xemacs.org>
10379 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10380 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10382 * events.c (Fevent_timestamp_lessp):
10383 Not 64-bit clean. Use EMACS_INT, not int.
10385 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10387 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10388 unsigned int and changed the last enum to
10389 lrecord_type_last_built_in_type.
10390 (lrecord_implementations_table): changed prototype to know how
10391 long the array is supposed to be.
10392 (lrecord_type_count): new unsigned int to keep track of the
10393 current number of lisp lrecord types.
10394 (DEFINE_EXTERNAL_LRECORD):
10395 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10396 dynamic-modules to declare new lisp types. They are the same
10397 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10398 int for each new type, and increment lrecord_type_count by 1.
10400 * alloc.c (lrecord_implementations_table): Changed to reference
10401 lrecord_type_last_built_in_type for the size of the array.
10402 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10404 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10406 * glyphs.h (check_valid_item_list): Renamed from
10407 check_valid_item_list_1.
10409 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10411 * select.c (Qselect_coerce): New.
10412 * select.c (Vselection_coercion_alist): New.
10413 * select.c (syms_of_select): Declare.
10414 * select.c (get-selection-internal): Use it.
10415 Use the new select-coerce functionality.
10417 * select.c (select_coerce): New.
10418 * select.h (select_coerce): Declare.
10419 New function to coerce one type of data into another.
10421 2000-08-03 Martin Buchholz <martin@xemacs.org>
10423 * callproc.c (Fcall_process_internal):
10424 (Fcall_process_internal):
10425 * process-unix.c (unix_create_process):
10426 Save and restore the value of errno, so that error messages are accurate.
10428 2000-08-01 Martin Buchholz <martin@xemacs.org>
10430 * elhash.c (print_hash_table):
10431 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10432 Prettify docstrings and indentation.
10434 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10436 * window.c (Fwindow_pixel_edges): Subtract frame border and
10439 2000-07-31 Andy Piper <andy@xemacs.org>
10441 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10442 will acknowledge the change.
10444 * glyphs.h: declare tab_control_order_only_changed.
10446 * glyphs-x.c (x_tab_control_redisplay): use
10447 tab_control_order_only_changed.
10449 * glyphs-widget.c (tab_control_order_only_changed): new function.
10451 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10452 tab_control_order_only_changed.
10454 * gui.c (gui_item_equal_sans_selected): new function.
10455 (gui_item_equal): use it.
10457 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10458 :properties in favor of :items..
10460 * glyphs-widget.c (check_valid_item_list): rename from
10461 check_valid_item_list_1.
10462 (check_valid_item_list_1): renamed.
10463 (combo_box_validate): deprecate :properties in favor of :items.
10464 (widget_instantiate): ditto.
10465 (tab_control_update): ditto.
10466 (image_instantiator_combo_box): ditto.
10467 (image_instantiator_tree_view): ditto.
10468 (image_instantiator_tab_control): ditto.
10469 (layout_post_instantiate): remove dead code.
10471 * print.c (debug_print_no_newline): only write to debugger if in
10474 * elhash.c (Fmake_hash_table): update doc string.
10476 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10477 messages whilst in GC. This at least stops XEmacs crashing but has
10478 the potential for wierd behaviour.
10480 2000-07-31 Martin Buchholz <martin@xemacs.org>
10483 Make existence of s&m files optional.
10485 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10486 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10487 * s/gnu.h: Remove HAVE_GETLOADAVG.
10488 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10489 * s/sol2.h: Remove HAVE_GETLOADAVG.
10490 * lisp.h: Remove getloadavg() declaration.
10492 Include <sys/loadavg.h> if available.
10493 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10494 * config.h.in: Group together getloadavg()-related macros.
10495 Use only configure-time tests to detect getloadavg().
10497 2000-07-30 Martin Buchholz <martin@xemacs.org>
10499 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10501 2000-07-25 Andy Piper <andy@xemacs.org>
10503 * syswindows.h: add tchar.h for native builds.
10505 * frame.c (syms_of_frame): remove set-glyph-image.
10507 * general-slots.h: add Qset_glyph_image.
10509 * glyphs-widget.c (layout_update): add domain arg to
10511 (syms_of_glyphs_widget): remove set-glyph-image.
10513 2000-07-23 Ben Wing <ben@xemacs.org>
10515 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10518 2000-07-22 Andy Piper <andy@xemacs.org>
10520 * symsinit.h: add syms_of_win32().
10522 * gui-msw.c (syms_of_gui_mswindows): remove
10523 Fmswindows_shell_execute.
10524 (Fmswindows_shell_execute): moved to win32.c.
10526 * emacs.c (main_1): add syms_of_win32 ().
10528 * win32.c (init_potentially_nonexistent_functions): rewrite in
10529 compiler-friendly terms.
10530 (Fmswindows_shell_execute): move here from gui-msw.c.
10531 (syms_of_win32): new.
10533 * device-msw.c (Fmswindows_printer_list): clean up args to
10535 Don't include tchar under cygwin or mingw.
10536 (msprinter_default_printer): make cygwin-friendly.
10538 2000-07-21 Andy Piper <andy@xemacs.org>
10540 * glyphs-widget.c (image_instantiator_tree_view): use tab
10541 control's update function.
10542 (layout_property): new function. Retrieve items.
10544 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10545 function. Re-populate the tree view from the pending items.
10547 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10548 is designated the parent if the domain is an image instance. This
10549 is needed so that dirtiness can be cascade up the hierarchy and
10550 thus for layout children to be redisplayed correctly.
10551 (allocate_image_instance): rename glyph -> parent.
10553 * redisplay.h: change redisplay_output_layout signature.
10555 * redisplay-msw.c (mswindows_output_display_block): use domain
10558 * redisplay-x.c (x_output_display_block): use domain arg.
10560 2000-07-10 Andy Piper <andy@xemacs.org>
10562 * window.c (Fset_window_configuration): add comment.
10564 * redisplay-output.c (compare_runes):
10565 (redisplay_output_subwindow): redisplay rather than update subwindow.
10566 (redisplay_output_layout): ditto.
10568 * redisplay-msw.c (mswindows_frame_output_end):
10569 (mswindows_frame_output_end): make defer window pos optional.
10571 * lisp.h: add Flast.
10573 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10574 normalize method. Change update method to be for changed
10575 instantiators. Add redisplay method. Change signature of layout
10577 (struct Lisp_Image_Instance): add instantiator.
10578 (IMAGE_INSTANCE_INSTANTIATOR): new.
10579 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10580 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10581 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10584 (find_instantiator_differences): new function.
10585 (Fset_instantiator_property): new convenience function.
10586 (check_image_instance_structure): strictly check for vector
10588 (normalize_image_instantiator): make non-static.
10589 (instantiate_image_instantiator): pass on dest_mask and use new
10590 signatures for image_instance_layout and friends.
10591 (mark_image_instance): mark the instantiator. Mark the subwindow
10592 face not the widget face.
10593 (image_instance_equal): add instantiator.
10594 (image_instance_hash): ditto.
10595 (allocate_image_instance): ditto.
10596 (Fset_image_instance_property): removed.
10597 (Fimage_instance_file_name): ditto.
10598 (Fcolorize_image_instance): ditto.
10599 (image_instance_layout): add offsets to be set.
10600 (update_image_instance): new function. update an image instance
10601 from its changed instantiator.
10602 (inherit_normalize): add dest_mask.
10603 (xbm_normalize): ditto.
10604 (xface_normalize): ditto.
10605 (xpm_normalize): ditto.
10606 (text_update): set_property -> update.
10607 (image_instantiate): use the glyph identity as a hash key, not the
10609 (glyph_width): use new image_instance_layout signature.
10610 (glyph_ascent): ditto.
10611 (glyph_descent): ditto.
10612 (glyph_height): ditto.
10613 (glyph_query_geometry): ressurrect.
10614 (glyph_layout): ditto.
10615 (redisplay_subwindow): update -> redisplay.
10616 (syms_of_glyphs): add Fset_instantiator_property.
10617 (image_instantiator_format_create): set_property -> update.
10620 (autodetect_normalize): add dest_maks to signature.
10621 (x_redisplay_subwindow): update -> redisplay.
10622 (x_redisplay_widget): ditto.
10623 (x_button_redisplay): ditto.
10624 (x_progress_gauge_redisplay): ditto.
10625 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10627 (console_type_create_glyphs_x): update -> redisplay.
10628 (image_instantiator_format_create_glyphs_x): ditto.
10631 (check_valid_instantiator): disallow glyphs in the instantiator,
10632 they must now be vectors.
10633 (check_valid_instantiator_list): ditto.
10634 (glyph_instantiator_to_glyph): use internal symbol rather than
10636 (widget_update): renamed from widget_set_property. Call cascaded
10638 (redisplay_widget): renamed from update_widget.
10639 (widget_layout): image_instance_layout now takes position as well
10641 (widget_normalize): ditto.
10642 (widget_instantiate): ditto.
10643 (tab_control_query_geometry) ditto.:
10644 (tab_control_update): renamed from tab_control_set_property.
10645 (progress_gauge_update): set_property -> update.
10646 (layout_normalize): rewrite so that child instantiators are
10648 (layout_update): new function. Create glyphs from the normalized
10649 children and cope with any other layout keywords. We do not
10650 instantiate children here that will be take care of by
10651 redisplay_output_layout.
10652 (layout_instantiate): call layout_update and not much else.
10653 (layout_post_instantiate): not sure whether this is needed
10655 (layout_query_geometry): query glyph geometry rather than
10656 image_instance geometry.
10657 (layout_layout): set offsets from pass in parameters. Use glyph
10658 geometry and layout functions rather than image instance ones.
10659 (native_layout_layout): ditto.
10660 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10661 (image_instantiator_widget): set_property -> update.
10662 (image_instantiator_buttons): ditto.
10663 (image_instantiator_progress_guage): ditto.
10664 (image_instantiator_tab_control): ditto.
10665 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10666 (image_instantiator_layout): add update method.
10668 * glyphs-msw.c (bmp_normalize):
10669 (mswindows_resource_normalize): add dest_mask so that it can be
10670 proprogated by layout_normalize.
10671 (begin_defer_window_pos): make optional because it may not be the
10672 right thing to do and it introduces differences with X.
10673 (mswindows_unmap_subwindow): ditto.
10674 (mswindows_map_subwindow): ditto.
10675 (mswindows_redisplay_subwindow): renamed from
10676 mswindows_update_subwindow.
10677 (mswindows_redisplay_widget): ditto.
10678 (mswindows_button_redisplay): renamed from
10679 mswindows_button_update. Update is now what the instantiation
10680 function does for a changed instantiator.
10681 (mswindows_progress_gauge_instantiate): set the progress value
10682 here if appropriate.
10683 (mswindows_tab_control_redisplay): cope with re-ordering of the
10684 members of the tab widget by simply selecting the new top
10685 widget. This makes things appear ok if you click on a tab.
10686 (mswindows_combo_box_instantiate): image_instance_layout now takes
10687 position as well as size.
10688 (mswindows_progress_gauge_redisplay): renamed from
10689 mswindows_progress_gauge_update.
10690 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10691 (image_instantiator_format_create_glyphs_mswindows): ditto.
10693 * glyphs-eimage.c (jpeg_normalize):
10696 (tiff_normalize): add dest_mask so that it can be proprogated by
10700 (print_hash_table):
10701 (hash_table_weakness_validate):
10702 (decode_hash_table_weakness):
10703 (Fhash_table_weakness):
10704 (Fhash_table_type):
10705 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10707 * console.h (struct console_methods): move update_* to
10710 2000-07-20 Ben Wing <ben@xemacs.org>
10712 * *.[ch] (XSETOBJ): remove unused middle argument.
10713 lisp-disunion.h: correct wrap_object() to one argument.
10715 2000-07-15 Ben Wing <ben@xemacs.org>
10718 * s/cygwin32.h (CYGWIN_CONV_PATH):
10719 Add missing logb prototype for v1.1.
10720 Use post-b20 names and alias to pre-b20 names when pre-b20.
10722 * s/windowsnt.h: [5].
10724 2000-07-15 Ben Wing <ben@xemacs.org>
10726 * Makefile.in.in (x_objs):
10727 * Makefile.in.in (sheap_objs):
10728 * Makefile.in.in (objs):
10729 added win32.o, cosmetic cleanups.
10731 * alloc.c (Fmake_byte_code):
10732 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10733 etc. macros which declare their own args now.
10735 * alloc.c (syms_of_alloc):
10736 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10739 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10741 * buffer.c (Fget_file_buffer):
10742 Fixed GCPRO problem.
10744 * buffer.c (get_truename_buffer):
10745 Fixed comment about GC checking.
10747 * buffer.c (syms_of_buffer):
10748 Undeclared those dedicated frame funs.
10752 Define convenience macros for internal/external conversions.
10753 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10754 and Qenvironment_variable_encoding for cleaner code.
10757 Remove dedicated-frame; in lisp.
10759 * bytecode.c (funcall_compiled_function):
10762 * bytecode.c (syms_of_bytecode):
10766 * console-msw.c (mswindows_show_console): Rewrote.
10768 * console-msw.c (Fmswindows_debugging_output): New.
10769 Sends to OutputDebugString (special MSWin debugger interface).
10771 * console-msw.c (Fmswindows_message_box):
10772 Fixed stupid bugs so it works when called from kill-emacs.
10774 * console-msw.c (syms_of_console_mswindows):
10775 Declare Fmswindows_debugging_output.
10778 New MSWin prototypes.
10780 * console-msw.h (struct mswindows_frame):
10781 New entry last-click-mods for improved button-modifier support.
10783 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10784 New struct entry `popup' with corresponding accessor.
10787 * console-x.c (split_up_display_spec):
10788 * console-x.c (get_display_arg_connection):
10789 * console-x.c (x_semi_canonicalize_console_connection):
10790 * console-x.c (x_canonicalize_device_connection):
10791 [[[6]]]: Change char to more specific type.
10792 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10794 * console-x.c (x_semi_canonicalize_console_connection):
10795 * console-x.c (x_canonicalize_device_connection):
10796 [[[9]]]: Fix up error signalling to use new structured error system.
10799 [[[4]]]: Define codesys aliases:
10800 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10801 Qx_color_name_encoding, Qx_display_name_encoding.
10803 * console.h (struct console_methods):
10804 New method make_dialog_box_internal supersedes older
10805 popup_dialog_box method.
10808 Define many new errors, part of new structured errors.
10810 * data.c (init_errors_once_early):
10811 * data.c (syms_of_data):
10814 * device-msw.c (mswindows_init_device):
10815 [[[5]]]: Cleanup to support NT 3.51.
10817 * device-msw.c (decode_devmode): Cleanup.
10819 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10820 * device-msw.c (mswindows_handle_print_dialog_box):
10821 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10822 * device-msw.c (syms_of_device_mswindows):
10823 Delete the dialog box primitives recently introduced by Kirill and
10824 instead interface to general dialog box interface.
10827 * device-x.c (compute_x_app_name):
10828 * device-x.c (x_init_device):
10829 * device-x.c (Fx_valid_keysym_name_p):
10830 * device-x.c (Fx_set_font_path):
10834 * device.h (wrap_device): New.
10835 First of its kind; meant to replace XSETDEVICE.
10837 * dialog-msw.c: Many file-dialog symbols.
10839 * dialog-msw.c (mswindows_register_popup_frame): New.
10840 * dialog-msw.c (mswindows_is_dialog_msg): New.
10841 For supporting kbd traversal in dialog boxes.
10843 * dialog-msw.c (dialog_proc):
10844 Support hitting ESC in dialogs.
10846 * dialog-msw.c (struct):
10847 Common dialog box errors.
10849 * dialog-msw.c (handle_file_dialog_box): New.
10850 Add file dialog code.
10852 * dialog-msw.c (handle_question_dialog_box):
10853 Redo existing code to support new question dialog syntax.
10855 * dialog-msw.c (console_type_create_dialog_mswindows):
10856 We support new dialog console method.
10858 * dialog-msw.c (syms_of_dialog_mswindows):
10859 * dialog-msw.c (vars_of_dialog_mswindows):
10860 New file dialog symbols, vars.
10863 * dialog-x.c (maybe_run_dbox_text_callback):
10864 * dialog-x.c (dbox_descriptor_to_widget_value):
10865 * dialog-x.c (x_make_dialog_box_internal):
10866 * dialog-x.c (console_type_create_dialog_x):
10867 Mule-ize entire file.
10868 Redo to support question dialog syntax.
10872 * dialog.c (Fmake_dialog_box_internal):
10873 * dialog.c (syms_of_dialog):
10874 Kill old popup-dialog-box, replace with new primitive.
10875 Just call device method or signal error.
10877 * eldap.c (Fldap_open):
10878 * eldap.c (Fldap_search_basic):
10879 * eldap.c (Fldap_add):
10880 * eldap.c (Fldap_modify):
10885 * emacs.c (make_arg_list_1):
10886 * emacs.c (make_arg_list):
10887 Mule-ize call to dll_init().
10891 * emacs.c (make_argc_argv):
10892 * emacs.c (free_argc_argv):
10893 * emacs.c (init_cmdargs):
10894 * emacs.c (main_1):
10895 * emacs.c (Fkill_emacs):
10896 * emacs.c (Fdump_emacs):
10897 Update comments about what can be used in syms_* etc.
10898 Call init_win32() when necessary.
10899 Fix up MS Win dialog box in kill-buffer to actually work right.
10910 * eval.c (condition_case_3):
10912 * eval.c (function_argcount):
10913 * eval.c (funcall_lambda):
10916 * eval.c (type_error): New.
10917 * eval.c (maybe_type_error): New.
10918 * eval.c (continuable_type_error): New.
10919 * eval.c (maybe_continuable_type_error): New.
10920 * eval.c (type_error_with_frob): New.
10921 * eval.c (maybe_type_error_with_frob): New.
10922 * eval.c (continuable_type_error_with_frob): New.
10923 * eval.c (maybe_continuable_type_error_with_frob): New.
10924 New functions for use with structured errors.
10927 * event-Xt.c (x_event_to_emacs_event):
10928 Buttons are now modifiers too.
10930 * event-Xt.c (emacs_Xt_current_event_timestamp):
10931 Implement new event method.
10932 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10935 * event-msw.c (ntpipe_shove_writer): [5].
10936 * event-msw.c (mswindows_enqueue_mouse_button_event):
10937 * event-msw.c (mswindows_drain_windows_queue):
10938 * event-msw.c (mswindows_wnd_proc): [7].
10939 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10940 * event-msw.c (mswindows_modifier_state):
10941 Throughout: support new button modifiers.
10943 * event-msw.c (emacs_mswindows_current_event_timestamp):
10944 Implement new event method.
10945 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10948 * event-stream.c (event_stream_current_event_timestamp): New.
10949 * event-stream.c (maybe_kbd_translate): New functionality.
10950 * event-stream.c (vars_of_event_stream):
10951 Document new kbd-translate-table functionality.
10953 * event-stream.c (Fcurrent_event_timestamp): New.
10954 New primitive for use in fabricated events.
10955 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10957 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10960 * events.c (Fmake_event):
10961 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10965 * events.c (format_event_object): fix gcc warnings.
10967 * events.c (Fevent_timestamp): Document new primitives.
10969 * events.c (TIMESTAMP_HALFSPACE): New.
10971 * events.c (Fevent_timestamp_lessp): New. New primitive for
10972 comparing timestamps correctly (half-space algorithm).
10974 * events.c (Fevent_modifier_bits): Doc fix.
10976 * events.c (Fevent_modifiers): Major doc addition.
10977 * events.c (event_x_y_pixel_internal): Typo fix.
10978 * events.c (syms_of_events): Declare new primitives.
10981 Update long comment for button modifiers, timestamps.
10983 * events.h (struct event_stream):
10984 New current_event_timestamp method.
10987 * extents.c (extent_in_region_p):
10988 * extents.c (decode_extent):
10989 * extents.c (Fset_extent_parent):
10990 * extents.c (decode_map_extents_flags):
10994 * extents.c (struct extent_at_arg):
10995 * extents.c (decode_extent_at_flag):
10996 * extents.c (extent_at_mapper):
10997 * extents.c (extent_at_bytind):
10998 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10999 * extents.c (Fextents_at): New primitive. [9].
11000 * extents.c (symbol_to_glyph_layout): [9].
11001 Support new primitive `extents-at'.
11004 * extents.c (get_text_property_bytind):
11005 extent_at_bytind has another arg.
11008 * extents.c (syms_of_extents): New primitive.
11010 * file-coding.c (Fmake_coding_system): [1].
11011 * file-coding.c (subsidiary_coding_system): fix gcc warning
11012 * file-coding.c (syms_of_file_coding): [2].
11014 * fileio.c (Fexpand_file_name):
11015 * fileio.c (Fsysnetunam):
11016 * fileio.c (Ffile_exists_p):
11017 * fileio.c (Ffile_executable_p):
11018 * fileio.c (Fverify_visited_file_modtime):
11021 * fileio.c (syms_of_fileio): [2].
11023 * filelock.c (lock_file_1):
11024 * filelock.c (current_lock_owner):
11025 * filelock.c (lock_if_free):
11026 * filelock.c (lock_file):
11027 * filelock.c (unlock_file):
11030 * fns.c (concat): Fix gcc warning.
11033 * fns.c (Fold_member):
11035 * fns.c (Fold_memq):
11036 * fns.c (memq_no_quit):
11038 * fns.c (Fold_assoc):
11040 * fns.c (Fold_assq):
11041 * fns.c (assq_no_quit):
11043 * fns.c (Fold_rassoc):
11045 * fns.c (Fold_rassq):
11046 * fns.c (rassq_no_quit):
11048 * fns.c (Fold_delete):
11050 * fns.c (Fold_delq):
11051 * fns.c (delq_no_quit):
11052 * fns.c (Fremassoc):
11053 * fns.c (Fremassq):
11054 * fns.c (remassq_no_quit):
11055 * fns.c (Fremrassoc):
11056 * fns.c (Fremrassq):
11057 * fns.c (remrassq_no_quit):
11058 * fns.c (Freverse):
11062 * frame-msw.c (mswindows_init_frame_1):
11063 * frame-msw.c (mswindows_delete_frame):
11064 Register popups with dialog code so keyboard traversing works.
11066 * frame-tty.c (tty_raise_frame_no_select): [1].
11069 * frame-x.c (x_set_frame_text_value):
11070 * frame-x.c (x_set_frame_properties):
11071 * frame-x.c (x_create_widgets):
11075 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11077 * frame.h (wrap_frame): New.
11078 Macro like wrap_device.
11081 * general.c (SYMBOL):
11082 * general.c (syms_of_general):
11083 Major reorg. This is now just a wrapper and symbols themselves
11084 are listed in general-slots.h.
11086 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11087 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11089 * glyphs-msw.c (mswindows_native_layout_instantiate):
11090 Add DS_CONTROL so keyboard traversal will work.
11093 * glyphs-widget.c (syms_of_glyphs_widget):
11094 Move some symbols to general-slots.h.
11097 * glyphs-x.c (xbm_instantiate_1):
11098 * glyphs-x.c (x_xbm_instantiate):
11099 * glyphs-x.c (x_xface_instantiate):
11100 * glyphs-x.c (autodetect_instantiate):
11101 * glyphs-x.c (cursor_font_instantiate):
11102 * glyphs-x.c (x_update_widget):
11103 * glyphs-x.c (x_widget_instantiate):
11104 * glyphs.c (bitmap_to_lisp_data):
11105 * glyphs.c (pixmap_to_lisp_data):
11108 * glyphs.c (syms_of_glyphs):
11112 * gui-x.c (print_widget_value):
11113 * gui-x.c (menu_separator_style_and_to_external):
11114 * gui-x.c (add_accel_and_to_external):
11115 * gui-x.c (button_item_to_widget_value):
11116 * gui-x.c (gui_items_to_widget_values_1):
11117 * gui-x.c (gui_items_to_widget_values):
11118 * gui-x.c (syms_of_gui_x):
11119 * gui-x.c (vars_of_gui_x):
11120 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11124 Muleize, prototype changes matching gui-x.c.
11127 * gui.c (separator_string_p):
11128 * gui.c (gui_item_add_keyval_pair):
11129 * gui.c (make_gui_item_from_keywords_internal):
11130 * gui.c (signal_too_long_error):
11131 * gui.c (parse_gui_item_tree_item):
11132 * gui.c (syms_of_gui):
11133 * gui.c (vars_of_gui):
11135 menu-no-selection-hook moved here (used by MSWin).
11136 Move some symbols to general-slots.h.
11140 * insdel.c (get_buffer_pos_char):
11141 * insdel.c (get_buffer_range_char):
11144 * keymap.c (keymap_lookup_directly):
11145 * keymap.c (keymap_store):
11146 * keymap.c (ensure_meta_prefix_char_keymapp):
11147 * keymap.c (describe_map):
11149 Support new button modifiers.
11151 * lisp-disunion.h (wrap_object):
11152 * lisp-disunion.h (XSETOBJ):
11153 Rename make_obj to wrap_object.
11156 * lisp-union.h (make_int):
11157 * lisp-union.h (make_char):
11158 Support wrap_object.
11161 * lisp.h (LIST_LOOP):
11162 * lisp.h (EXTERNAL_LIST_LOOP):
11163 * lisp.h (LIST_LOOP_2):
11164 * lisp.h (EXTERNAL_LIST_LOOP_1):
11165 * lisp.h (EXTERNAL_LIST_LOOP_2):
11166 * lisp.h (EXTERNAL_LIST_LOOP_3):
11167 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11168 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11169 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11170 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11171 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11172 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11173 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11174 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11175 * lisp.h (struct Lisp_Symbol):
11176 * lisp.h (maybe_continuable_error_with_frob):
11177 Fix up section comments.
11178 Add new types for char to indicate usage.
11179 Delete symbols auto-generated from general-slots.h.
11180 Add prototypes for structured error functions.
11181 Add long comments describing looping macros and change interface
11182 so that lvalues are automatically declared.
11183 Add NO_DECLARE macro in case callers want to declare lvalues
11186 * lread.c (read_syntax_error):
11187 * lread.c (continuable_read_syntax_error):
11188 * lread.c (read_structure):
11189 * lread.c (sequence_reader):
11190 * lread.c (read_list_conser):
11191 * lread.c (read_compiled_function):
11192 Rename syntax_error and continuable_syntax_error to avoid clash
11193 with same-named structured error functions.
11195 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11196 * menubar-msw.c (populate_menu_add_item):
11197 * menubar-msw.c (populate_or_checksum_helper):
11202 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11203 Mule-ize whole file.
11205 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11207 * mule-charset.c (Fmake_charset):
11208 * mule-wnnfns.c (Fwnn_set_param):
11211 * ntproc.c (create_child):
11212 * ntproc.c (Fwin32_set_current_locale):
11213 Add comments portending doom.
11216 * objects-msw.c (old_font_enum_callback_2):
11217 * objects-msw.c (font_enum_callback_1):
11218 * objects-msw.c (mswindows_enumerate_fonts):
11222 * objects-x.c (allocate_nearest_color):
11223 * objects-x.c (x_parse_nearest_color):
11224 * objects-x.c (x_initialize_color_instance):
11225 * objects-x.c (x_print_color_instance):
11226 * objects-x.c (x_finalize_color_instance):
11227 * objects-x.c (x_valid_color_name_p):
11228 * objects-x.c (x_initialize_font_instance):
11229 * objects-x.c (x_print_font_instance):
11230 * objects-x.c (valid_x_font_name_p):
11231 * objects-x.c (truename_via_FONT_prop):
11232 * objects-x.c (truename_via_random_props):
11233 * objects-x.c (truename_via_XListFonts):
11234 * objects-x.c (x_font_truename):
11235 * objects-x.c (x_font_instance_truename):
11236 * objects-x.c (x_font_instance_properties):
11237 * objects-x.c (x_list_fonts):
11238 * objects-x.c (x_find_charset_font):
11239 Mule-ize entire file.
11246 * print.c (std_handle_out_external):
11247 * print.c (debug_print_no_newline):
11248 * print.c (syms_of_print):
11249 Output to all debugger kinds in debug-print.
11250 Fix console-output code under MSWin to actually work.
11252 * process-nt.c (send_signal):
11253 * process-nt.c (nt_create_process):
11254 Use newer Unicode macros.
11256 * process-unix.c (unix_create_process):
11257 * process-unix.c (unix_canonicalize_host_name):
11258 * process-unix.c (unix_open_network_stream):
11264 * search.c (syms_of_search):
11267 * select-msw.c (mswindows_destroy_selection):
11270 * select-x.c (symbol_to_x_atom):
11273 * select.c (syms_of_select):
11276 * sound.c (Fplay_sound_file):
11280 * specifier.c (decode_specifier_type):
11281 * specifier.c (Fvalid_specifier_locale_type_p):
11282 * specifier.c (check_valid_locale_or_locale_type):
11283 * specifier.c (decode_locale):
11284 * specifier.c (decode_locale_type):
11285 * specifier.c (decode_locale_list):
11286 * specifier.c (check_valid_domain):
11287 * specifier.c (decode_specifier_tag_set):
11288 * specifier.c (Fcanonicalize_tag_set):
11289 * specifier.c (Fdefine_specifier_tag):
11290 * specifier.c (Fspecifier_tag_predicate):
11291 * specifier.c (check_valid_inst_list):
11292 * specifier.c (check_valid_spec_list):
11293 * specifier.c (decode_how_to_add_specification):
11294 * specifier.c (check_modifiable_specifier):
11295 * specifier.c (specifier_add_spec):
11296 * specifier.c (boolean_validate):
11297 * specifier.c (display_table_validate):
11300 * specifier.c (syms_of_specifier):
11301 Move some symbols to general-slots.h.
11305 * symbols.c (Fmapatoms):
11306 * symbols.c (Fapropos_internal):
11309 * symbols.c (set_default_buffer_slot_variable):
11310 * symbols.c (set_default_console_slot_variable):
11313 * symbols.c (defsymbol_massage_name_1):
11314 * symbols.c (defkeyword_massage_name):
11315 * symbols.c (deferror_1):
11316 * symbols.c (deferror):
11317 * symbols.c (deferror_massage_name_and_message):
11319 * symeval.h (DEFSYMBOL):
11320 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11322 * symbols.c (syms_of_symbols):
11326 * symsinit.h (init_win32): New.
11327 Also new is syms_of_dialog_mswindows.
11330 Add new Unicode macros, missing Cygwin wide-char functions,
11331 convenience conversion macros for Qmswindows_tstr, macros for
11332 encapsulating required MSWin <-> Cygwin filename conversions,
11333 prototype for dynamically-extracted (not in NT 3.51) functions.
11338 * tooltalk.c (Fadd_tooltalk_message_arg):
11339 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11340 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11343 * tooltalk.c (syms_of_tooltalk):
11347 * unexnt.c (unexec):
11348 Fix up headers, declaration of unexec() to be more standard.
11350 2000-07-20 Martin Buchholz <martin@xemacs.org>
11352 * offix.h: Revert change to guard macros - they're used in offix.c!
11354 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11356 * lisp.h: Defsubred Fdelete.
11358 * console-msw.h: (msprinter_default_printer): Added.
11360 * console-msw.c (msprinter_canonicalize_console_connection):
11361 (msprinter_canonicalize_device_connection): Added.
11363 * device-msw.c (msprinter_default_printer):
11364 (Fmswingows_get_default_printer):
11365 (signal_enum_priner_error):
11366 (Fmswingows_printer_list): Added.
11368 2000-07-19 Martin Buchholz <martin@xemacs.org>
11370 * XEmacs 21.2.35 is released.
11372 2000-07-19 Martin Buchholz <martin@xemacs.org>
11374 * select-x.c (x_handle_selection_request):
11375 Text selected in xemacs and pasted into xterm failed to appear.
11376 Spelling fixes and cosmetic changes.
11378 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11380 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11381 XEmacs frame (fix for doubling chars in dialog boxes).
11383 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11385 * select.c (select_convert_in, select_convert_out):
11386 Don't call intern() every time.
11388 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11389 * select.c (vars_of_select): Initialise them.
11391 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11393 * select.c (selection-coercible-types): New.
11395 * select.c (own-selection-internal):
11396 * select.c (get-selection-internal):
11397 MULE bug fix - these should default to COMPOUND_TEXT and not
11398 STRING for MULE. I think.
11400 * select.c (select_convert_out): Use selection-coercible-types
11401 to find types that we can attempt to perform coercions on.
11403 2000-07-18 Martin Buchholz <martin@xemacs.org>
11407 Add coding: cookie to identify encoding.
11409 * mule-canna.c (CANNA_mode_keys): make static.
11410 Use proper prototypes, even for functions of no arguments.
11411 Remove external prototype for Fding().
11413 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11415 * select.c (syms_of_select): Add missing DEFSUBR.
11417 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11419 * select.c (get_selection_internal, own_selection_internal):
11420 Make the type default to STRING, rather than placing a nil type
11421 into Vselection_alist.
11423 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11425 * gpmevent.c (tty_selection_exists_p):
11426 * gpmevent.c (tty_own_selection):
11427 Updated parameter lists.
11429 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11431 * select.h (selection-alist): Removed declaration.
11433 * select.h (get_local_selection):
11434 * select.c (get_local_selection):
11437 * select.h (convert_selection): Removed declaration.
11438 * select.c (convert_selection): Removed.
11439 This function belongs in Lisp.
11441 * select.h (select_convert_in): Declare.
11442 * select.h (select_convert_out): Declare.
11443 * select.c (select_convert_in): New.
11444 * select.c (select_convert_out): New.
11445 New conversion functions for other files to call.
11447 * select.h (select_notify_buffer_kill): Declare.
11448 * select.c (select_notify_buffer_kill): New.
11449 New functions that get called from kill-buffer.
11451 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11452 X-specific lisp code.
11454 * select.h: Declare some of the lisp-visible functions for
11457 * select.c (clean_local_selection_data): Removed. This was
11458 a disgusting function, and previously should have been in
11459 select-x.c in any case. The functionality is now provided
11460 in select-convert-from-integer (select.el).
11462 * select.c (available-selection-types): Fixed stupidity where
11463 INTEGER and ATOM got added twice. Also add STRING when we see an
11466 * select.c (get-selection-internal): Removed symbol stripping. No
11467 longer causes conversion when data comes from the internal cache.
11469 * select.c (syms_of_select): Added new functions.
11471 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11472 error checking - previously this called abort!
11474 * select-x.c (x_own_selection): Changed comment.
11476 * select-x.c (x_handle_selection_request): Use select_convert_out.
11477 Don't mess with selection-alist; it's an internal variable of select.c.
11479 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11481 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11482 rather than messing with selection-alist.
11484 * select-msw.c (mswindows_get_foreign_selection):
11485 Use TO_INTERNAL_FORMAT rather than hacking.
11487 2000-07-14 Martin Buchholz <martin@xemacs.org>
11489 * process-unix.c (unix_open_multicast_group):
11490 (unix_open_multicast_group): Remove useless casts.
11492 2000-07-13 Martin Buchholz <martin@xemacs.org>
11494 * sound.c (Fplay_sound): Fix `unused variable' warning.
11496 * emacs.c (main): Use correct type for _environ on SCO5.
11498 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11500 * console.h (own_selection_method):
11501 * console.h (selection_exists_p_method):
11502 * console.h (available_selection_types_method): New.
11503 * console.h (register_selection_data_type_method): New.
11504 * console.h (selection_data_type_name): New.
11506 * console-msw.h (mswindows_destroy_selection): Declare it. New
11507 function & alist to track GlobalAlloc()'d handles that need
11508 releasing when the clipboard data gets replaced or emptied.
11510 * event-msw.c (mswindows_wnd_proc): Call it.
11512 * lisp.h, general.c (Qappend): New symbol representing a
11515 * select.c (own-selection-internal):
11516 * select.c (selection-exists-p):
11517 * select.c (available-selection-types): New.
11518 * select.c (register-selection-data-type): New.
11519 * select.c (selection-data-type-name): New. New functions to deal
11520 with device-specific selection data formats.
11521 * select.c (selection-converter-out-alist): Renamed.
11522 * select.c (selection-converter-in-alist): New.
11523 * select.c (selection-appender-alist): New. Added new alists.
11524 * select.c (syms_of_select, vars_of_select): Added new symbols &
11526 * select.c (get_local_selection): Split.
11527 * select.c: Removed spurious type checking - selections may now be
11528 of any type, not just strings.
11529 * select.c (own-selection-internal):
11531 * select.h, select.c (convert_selection): New. Created
11532 convert_selection() function based on get_local_selection().
11533 * select.h, select.c (QCF_*): New symbols representing mswindows
11535 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11536 symbols representing `how-to-add' modes.
11538 * select-msw.c (x_sym_p): New.
11539 * select-msw.c (symbol_to_ms_cf): New.
11540 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11541 symbols & clipboard formats. Can also handle string names.
11542 * select-msw.c (mswindows_own_selection):
11543 * select-msw.c (mswindows_selection_exists_p):
11544 Added `data-type' parameter. Use it.
11545 * select-msw.c (mswindows_available_selection_types): New.
11546 * select-msw.c (mswindows_register_selection_data_type): New.
11547 * select-msw.c (mswindows_selection_data_type_name): New.
11548 * select-msw.c (mswindows_own_selection):
11549 * select-msw.c (mswindows_get_foreign_selection):
11550 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11551 * select-msw.c (console_create_select_mswindows): Added new methods.
11552 * select-msw.c (mswindows_destroy_selection): New.
11553 * select-msw.c (Vhandle_alist): New list.
11554 * select-msw.c (mswindows_own_selection):
11556 * select-x.c (x_own_selection):
11557 * select-x.c (x_selection_exists_p):
11558 * select-x.c: Added some comments about maybe using new
11560 * select-x.c (x_own_selection):
11562 * specifier.c: Remove definition of Qappend (now in general.c)
11563 * specifier.c (syms_of_specifier): Remove Qappend.
11565 2000-07-12 Martin Buchholz <martin@xemacs.org>
11567 * config.h.in: Add socklen_t.
11569 * s/decosf4-0.h: No special compiler flags needed or desired.
11570 In particular, undefine _BSD for DEC OSF 4.0.
11572 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11574 * redisplay-msw.c (msprinter_frame_output_end): Added.
11575 (console_type_create_redisplay_mswindows): Referred the above.
11577 * frame.c (setup_frame_without_minibuffer): Do not create a
11578 default minibuffer frame on a printer device.
11580 * frame-msw.c (apply_dc_geometry): Added.
11581 (msprinter_start_page):
11582 (msprinter_init_frame_3):
11583 (msprinter_eject_page): Use it.
11585 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11586 and removed residual duplex and orientation properties.
11588 2000-07-11 Martin Buchholz <martin@xemacs.org>
11590 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11592 * unexalpha.c: Remove system prototypes from C sources!
11594 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11596 * eval.c: Remove references to M-x edit-options in DEFUNs for
11597 `defvar' and `defconst'.
11599 2000-07-09 Martin Buchholz <martin@xemacs.org>
11601 * config.h.in: Remove SMART_INCLUDE hackery.
11603 PostgreSQL hacking:
11604 * config.h.in: Don't use SMART_INCLUDE.
11606 * postgresql.h: Include libpq-fe.h here. Fix typo.
11607 * inline.c: Simply #include "postgresql.h"
11609 - Don't use SMART_INCLUDE
11610 - Use simply "const".
11611 - Use standard doc string conventions.
11612 - Use correct type for result of PQstatus.
11614 2000-07-09 Martin Buchholz <martin@xemacs.org>
11616 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11618 C++ compilation changes.
11619 * config.h.in (EXTERN_C): Define.
11620 * config.h.in (not): This is also a C++ keyword.
11621 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11622 * cm.c: Use EXTERN_C.
11623 * redisplay-tty.c: Use EXTERN_C.
11624 * sysdep.c: Use EXTERN_C. Remove Gould support.
11626 2000-07-09 Martin Buchholz <martin@xemacs.org>
11628 * general.c: Remove duplicate definition for Qfunction.
11630 2000-07-08 Ben Wing <ben@xemacs.org>
11632 * device-msw.c (msprinter_init_device):
11633 * device-msw.c (sync_printer_with_devmode):
11634 * device-msw.c (handle_devmode_changes):
11635 * device-msw.c (print_dialog_worker):
11636 * device-msw.c (Fmsprinter_apply_settings):
11637 * device-msw.c (hash_devmode):
11638 * device-msw.c (Fmsprinter_settings_despecialize):
11639 use Qmswindows_tstr, not Qctext.
11641 * vm-limit.c (check_memory_limits):
11642 avoid infinite loop printing warning messages.
11644 2000-07-05 Craig Lanning <lanning@scra.org>
11646 * Makefile.in.in: Add support for including the Windows resources
11647 when building with the cygwin and mingw targets.
11649 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11650 not set or not correct.
11651 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11652 (init_initial_directory): Don't try to use $PWD on the
11653 WIN32_NATIVE target.
11656 [[Add -mwindows to eliminate console window.]] not required --ben
11657 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11658 (MAIL_USE_POP): removed; now handled by configure.
11660 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11661 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11662 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11663 (MAIL_USE_POP): removed; now handled by configure.
11664 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11665 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11666 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11668 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11669 up from <winsock.h> via systime.h.
11670 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11671 (getpagesize): from Dan Holmsand, added.
11672 Added #endif which was left dangling by Ben's mega patch; added
11673 comment to help prevent this in the future.
11675 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11677 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11679 * console-msw.h (struct mswindows_device): Removed unnecessary
11680 cached device geometry values.
11681 Added update_tick and an accessor macro.
11682 (Lisp_Devmode): Added lrecord declaration.
11683 (struct msprinter_device): Contain devmode as a Lisp object.
11684 Added mswindows_get_selected_frame_hwnd();
11686 * console.h (struct console_methods): Indentation nitpicking.
11688 * device-msw.c (mswindows_init_device): Do not initialize geometry
11689 cache. Initialize update tick.
11690 (mswindows_device_system_metrics): Ask the device for its geometry.
11691 (global_free_2_maybe):
11692 (devmode_to_hglobal):
11693 (handle_printer_changes):
11694 (ensure_not_printing):
11695 (print_dialog_worker):
11696 (Fmsprinter_print_setup_dialog):
11697 (Fmsprinter_print_dialog):
11698 (plist_get_margin):
11699 (plist_set_margin):
11700 (Fmsprinter_page_setup_dialog): Added functions.
11701 (sync_printer_with_devmode):
11702 (handle_devmode_changes):
11703 (Fmsprinter_get_settings):
11704 (Fmsprinter_select_settings):
11705 (Fmsprinter_apply_settings):
11706 (allocate_devmode):
11707 (Fmsprinter_settings_copy):
11708 (Fmsprinter_settings_despecialize):
11710 (finalize_devmode):
11712 (hash_devmode): Added functions
11713 (syms_of_device_mswindows): Init devmode lrecord class.
11715 * device.h: Added an exfun for find-device.
11717 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11718 geometry; although, recreate the device compatible DC.
11720 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11721 (msprinter_init_frame_3):
11722 (msprinter_frame_property):
11723 (msprinter_internal_frame_property_p):
11724 (msprinter_frame_properties):
11725 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11726 print job properties (will move to device settings).
11728 * lisp.h: Added symbols.
11730 * general.c (syms_of_general): Declared them.
11732 * hash.c (string_hash): Added.
11734 * lrecord.h (lrecord_type): Added devmode lrecord type.
11736 2000-07-02 Mike Sperber <mike@xemacs.org>
11738 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11741 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11743 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11746 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11748 * data.c (Fstring_to_number): Don't recognize floating point if
11751 2000-06-22 Martin Buchholz <martin@xemacs.org>
11753 * glyphs-widget.c (tab_control_query_geometry):
11754 (widget_query_geometry):
11755 (button_query_geometry):
11756 * glyphs.c (text_query_geometry):
11757 Enforce type correctness.
11759 2000-06-18 Martin Buchholz <martin@xemacs.org>
11761 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11762 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11764 2000-06-17 Martin Buchholz <martin@xemacs.org>
11766 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11767 conflicts with gcc's fixincluded version of FOO.h.
11769 * glyphs.h (image_instance_geometry): Remove trailing `,'
11771 2000-06-08 Mike Alexander <mta@arbortext.com>
11773 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11774 (shove_thread): Don't write the same output twice
11775 (make_ntpipe_output_stream): Increase priority of shove thread
11776 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11778 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11781 2000-06-12 Ben Wing <ben@xemacs.org>
11783 * s\mingw32.h (sigset):
11784 * s\windowsnt.h (sigset):
11785 rename msw_ to mswindows_ for consistency with general convention.
11787 2000-06-12 Ben Wing <ben@xemacs.org>
11790 * console-msw.c (mswindows_get_console_hwnd):
11791 * console-msw.c (mswindows_ensure_console_allocated):
11792 * console-msw.c (mswindows_hide_console):
11793 * console-msw.c (mswindows_show_console):
11794 * console-msw.c (mswindows_ensure_console_buffered):
11795 * console-msw.c (mswindows_output_console_string):
11796 * console-msw.c (mswindows_windows9x_p):
11798 * device-msw.c (mswindows_get_workspace_coords):
11799 * device-msw.c (mswindows_device_system_metrics):
11800 * dialog-msw.c (mswindows_popup_dialog_box):
11801 * event-msw.c (mswindows_wnd_proc):
11802 * frame-msw.c (mswindows_size_frame_internal):
11803 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11804 * menubar-msw.c (displayable_menu_item):
11805 * menubar-msw.c (mswindows_char_is_accelerator):
11807 * nt.c (mswindows_sigset):
11808 * nt.c (mswindows_sigrelse):
11809 * nt.c (mswindows_sigpause):
11810 * nt.c (mswindows_raise):
11811 * nt.c (timer_proc):
11813 * ntproc.c (find_child_console):
11814 * ntproc.c (sys_kill):
11816 * print.c (std_handle_out_external):
11817 * process-nt.c (find_child_console):
11818 * process-nt.c (send_signal_the_95_way):
11819 * process-nt.c (ensure_console_window_exists):
11820 * process-nt.c (nt_create_process):
11822 rename msw_ to mswindows_ for consistency with general convention.
11826 include nt.h, not syswindows.h.
11828 * nt.c (mswindows_fstat):
11829 * nt.c (mswindows_stat):
11830 prefix mswindows_ instead of attempting to directly override the
11831 library functions. fix declarations.
11834 include syswindows.h. move some sysdep.h stuff here.
11837 include syswindows.h, not <windows.h>.
11845 * sysdep.c (sys_fstat):
11846 * sysdep.c (sys_stat):
11847 call mswindows versions when appropriate.
11850 move mswin decls to nt.h.
11853 add long comment describing appropriate use of the various windows
11856 2000-06-11 Ben Wing <ben@xemacs.org>
11858 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11860 2000-06-10 Ben Wing <ben@xemacs.org>
11862 * Makefile.in.in (release):
11863 Correction to make sure xemacs.exe always dumped when correct.
11867 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11869 * buffer.c (set_buffer_internal):
11870 [[[[2]]]]: Remove HAVE_FEP code.
11872 * buffer.c (init_initial_directory):
11876 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11880 * callproc.c (call_process_cleanup):
11881 * callproc.c (Fold_call_process_internal):
11882 * callproc.c (child_setup):
11883 * callproc.c (getenv_internal):
11884 * callproc.c (init_callproc):
11885 * callproc.c (vars_of_callproc):
11886 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11887 __CYGWIN32__ -> CYGWIN.
11888 DOS_NT -> WIN32_NATIVE.
11889 Remove MSDOS support/references, converting to WIN32_NATIVE
11891 __MINGW32__ -> MINGW.
11892 Fix windows.h includes.
11893 Remove bogus HAVE_NTGUI.
11899 mswindows_message_outputted added for use in allowing startup
11900 errors on the console to be seen.
11902 * console-msw.c (msw_ensure_console_allocated):
11903 * console-msw.c (msw_output_console_string):
11904 * console-msw.c (DHEADER):
11905 * console-msw.c (DOPAQUE_DATA):
11906 * console-msw.c (DEVENT):
11907 * console-msw.c (DCONS):
11908 * console-msw.c (DCONSCDR):
11909 * console-msw.c (DSTRING):
11910 * console-msw.c (DVECTOR):
11911 * console-msw.c (DSYMBOL):
11912 * console-msw.c (DSYMNAME):
11915 * console-stream.c (stream_init_console):
11916 Fix text/binary problems.
11919 * device-msw.c (mswindows_finish_init_device):
11920 * device-msw.c (mswindows_delete_device):
11923 * device.c (handle_asynch_device_change):
11927 * dgif_lib.c (DGifOpenFileName):
11928 * dgif_lib.c (DGifOpenFileHandle):
11929 * dgif_lib.c (DGifGetLine):
11930 * dgif_lib.c (DGifGetPixel):
11931 Added config.h/lisp.h, fix up includes.
11938 * dired.c (file_name_completion):
11939 * dired.c (Ffile_attributes):
11940 * dired.c (syms_of_dired):
11944 * dumper.c (pdump_file_unmap):
11945 * dumper.c (pdump_load):
11949 * editfns.c (Ftemp_directory):
11950 * editfns.c (user_login_name):
11951 * editfns.c (Fuser_real_login_name):
11952 * editfns.c (get_home_directory):
11955 * elhash.c (finish_marking_weak_hash_tables):
11956 [[[[5]]]]: Fix GCC warnings.
11959 * emacs.c (mswindows_handle_hardware_exceptions):
11960 * emacs.c (make_arg_list_1):
11961 * emacs.c (main_1):
11962 * emacs.c (Fkill_emacs):
11963 * emacs.c (Fdump_emacs):
11965 Fix problems with nested crashes, add long comment.
11967 * event-Xt.c (init_event_Xt_late):
11971 * event-msw.c (mswindows_dde_callback):
11972 * event-msw.c (mswindows_handle_sticky_modifiers):
11973 * event-msw.c (mswindows_wnd_proc):
11977 * events.c (character_to_event):
11981 * fileio.c (Ffile_name_directory):
11982 * fileio.c (Ffile_name_nondirectory):
11983 * fileio.c (directory_file_name):
11984 * fileio.c (Fexpand_file_name):
11985 * fileio.c (Fsubstitute_in_file_name):
11986 * fileio.c (Ffile_name_absolute_p):
11987 * fileio.c (check_executable):
11988 * fileio.c (Ffile_readable_p):
11989 * fileio.c (Ffile_accessible_directory_p):
11990 * fileio.c (Ffile_modes):
11991 * fileio.c (Funix_sync):
11992 * fileio.c (vars_of_fileio):
11995 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11997 Expand getdefdir defn.
11998 Fix bogus rename() comment.
12000 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
12001 to use standard XEmacs include files, e.g. sysfile.h, rather
12002 than system-specific includes.
12008 * frame.c (vars_of_frame):
12012 * getloadavg.c (getloadavg):
12014 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
12015 (We don't use it elsewhere in the code; just add a comment.)
12022 * glyphs-msw.c (mswindows_resource_instantiate):
12025 * glyphs-x.c (x_native_layout_instantiate):
12028 * gui-msw.c (Fmswindows_shell_execute):
12037 * lread.c (locate_file_in_directory_mapper):
12044 * mem-limits.h (get_lim_data):
12056 * nt.c (rva_to_section):
12057 * nt.c (mswindows_executable_type):
12059 Fix closedir() defn.
12062 [[[[8]]]]: *_OK defs moved to sysfile.h.
12071 * print.c (std_handle_out_external):
12075 * process-nt.c (nt_create_process):
12077 try to fix process quoting somewhat.
12079 * process-unix.c (unix_create_process):
12083 * process.c (vars_of_process):
12090 * realpath.c (xrealpath):
12093 * redisplay-tty.c (init_tty_for_redisplay):
12103 * sheap.c (more_static_core):
12104 * sheap.c (report_sheap_usage):
12108 * signal.c (alarm_signal):
12115 * strftime.c (zone_name):
12118 * symsinit.h (init_sunpro):
12122 commctrl.h not in Cygwin b20.1.
12125 * sysdep.c (endif):
12126 * sysdep.c (sys_subshell):
12127 * sysdep.c (init_baud_rate):
12128 * sysdep.c (emacs_get_tty):
12129 * sysdep.c (emacs_set_tty):
12130 * sysdep.c (tty_init_sys_modes_on_device):
12131 * sysdep.c (init_system_name):
12132 * sysdep.c (sys_open):
12133 * sysdep.c (interruptible_open):
12134 * sysdep.c (sys_fopen):
12135 * sysdep.c (sys_mkdir):
12136 * sysdep.c (sys_rename):
12137 * sysdep.c (get_process_times_1):
12144 * sysdir.h (DIRENTRY_NONEMPTY):
12147 * sysdll.c (dll_init):
12153 added text/binary defs.
12159 * sysproc.h (EDESTADDRREQ):
12160 * sysproc.h (poll_fds_for_input):
12177 Always define WIN32_LEAN_AND_MEAN.
12179 * unexcw.c (unexec):
12183 * unexec.c (copy_text_and_data):
12184 * unexec.c (adjust_lnnoptrs):
12188 * unexnt.c (_start):
12191 2000-06-07 Ben Wing <ben@xemacs.org>
12193 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12194 was used only as a model. We've long since extracted any useful
12195 logic or code out of this. (I just did an exhaustive search.)
12197 * s\msdos.h: Removed.
12199 * s\windows95.h: Removed.
12201 2000-06-10 Ben Wing <ben@xemacs.org>
12205 Don't use extern with fun defs.
12209 Remove nt\inc include.
12210 Remove getdisk, getdefdir. (The former is unused, the latter
12211 expanded in fileio.h.)
12214 * s\windowsnt.h (WIN32_NATIVE):
12215 * s\windowsnt.h (HAVE_STRCASECMP):
12217 Add long comment about preprocessor changes.
12218 Remove getdisk, getdefdir. (The former is unused, the latter
12219 expanded in fileio.h.)
12221 2000-06-10 Ben Wing <ben@xemacs.org>
12230 Remove bogus/unused NO_SOCK_SIGIO.
12232 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12234 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12237 2000-06-04 Mike Sperber <mike@xemacs.org>
12239 * casetab.c (set_case_table): For `set-standard-case-table',
12240 actually deposit the new case tables where the rest of XEmacs can
12243 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12245 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12247 2000-06-05 Ben Wing <ben@xemacs.org>
12249 * callproc.c (child_setup): Don't do close_load_descs() under
12250 MS Windows. Put in a comment explaining why.
12252 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12254 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12255 Toolkit shell" which breaks `kill-compilation' on Windows NT
12256 native, retaining STDERR handling improvements.
12258 2000-06-01 Andreas Jaeger <aj@suse.de>
12260 * s/s390.h: Support for S390, based on a patch by Martin
12261 Schwidefsky <schwidefsky@de.ibm.com>.
12263 2000-05-30 Andy Piper <andy@xemacs.org>
12265 * window.c (allocate_window):
12266 (make_dummy_parent):
12267 (Fset_window_configuration): use new hashtable type.
12269 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12270 (struct image_instantiator_methods):
12271 (struct Lisp_Image_Instance): make instance geometry signed.
12273 * glyphs.c (instantiate_image_instantiator):
12274 (image_instance_query_geometry):
12275 (image_instance_layout):
12276 (image_instance_layout):
12277 (query_string_geometry):
12278 (text_query_geometry):
12279 (image_instantiate):
12280 (image_instantiate):
12281 (cache_subwindow_instance_in_frame_maybe):
12282 (subwindow_query_geometry): make instance geometry signed.
12284 * glyphs-widget.c (widget_query_geometry):
12286 (button_query_geometry):
12287 (tree_view_query_geometry):
12288 (tab_control_query_geometry):
12289 (layout_query_geometry):
12291 (native_layout_layout): make instance geometry signed.
12293 2000-05-29 Olivier Galibert <galibert@pobox.com>
12295 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12298 * general.c (syms_of_general): Add Qfull_assoc symbol.
12300 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12302 (decode_weak_list_type): Decode full-assoc type.
12303 (encode_weak_list_type): Encode full-assoc type.
12304 (Fmake_weak_list): Update doc string.
12306 2000-05-30 Andy Piper <andy@xemacs.org>
12308 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12310 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12311 (decode_hash_table_weakness): ditto.
12312 (Fhash_table_weakness): ditto.
12313 (Fhash_table_type): ditto.
12314 (finish_marking_weak_hash_tables): ditto.
12315 (hash_table_weakness_validate): ditto.
12316 (syms_of_elhash): ditto.
12318 2000-05-28 Martin Buchholz <martin@xemacs.org>
12320 * XEmacs 21.2.34 is released.
12322 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12324 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12326 (updating_line_start_cache): Gone.
12327 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12328 generic code to force a minimum of 1 line laid out in the
12331 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12333 * glyphs.c (instantiate_image_instantiator): Check for initialized
12334 height & width no longer special cases IMAGE_NOTHING.
12335 (nothing_instantiate): Set height and width of instance.
12337 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12339 * unexelf.c (unexec): Search for ".data" section.
12340 Initialize new_data2_offset from old_data_index.
12341 Remove redundant check for ElfW.
12343 2000-05-23 Andy Piper <andy@xemacs.org>
12345 * glyphs.c (get_image_instantiator_governing_domain): allow more
12346 specific domains as the governing domain rather than expecting an
12347 exact match. This fixes problems with layouts.
12349 2000-05-22 Andy Piper <andy@xemacs.org>
12351 * redisplay-output.c (compare_runes): check for non-images
12353 * glyphs.c (set_glyph_dirty_p): ditto.
12354 (update_glyph_cachel_data): ditto.
12356 * glyphs-widget.c (layout_post_instantiate): ditto.
12357 (layout_post_instantiate): ditto.
12359 * event-msw.c (mswindows_wnd_proc): warning removal.
12361 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12363 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12365 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12367 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12369 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12370 (mswindows_executable_type): mingw32 now has enough headers for
12373 2000-05-20 Andy Piper <andy@xemacs.org>
12375 * console-msw.c (mswindows_output_last_error): ; -> ,
12377 2000-05-12 Andy Piper <andy@xemacs.org>
12379 * console-msw.c (FROB): compare ints with ints.
12381 2000-05-11 Andy Piper <andy@xemacs.org>
12383 * glyphs-x.c (x_finalize_image_instance): make minimal build
12386 2000-05-20 Ben Wing <ben@xemacs.org>
12389 * event-Xt.c (vars_of_event_Xt):
12390 move modifier-keys-are-sticky to event-stream.c.
12393 * event-msw.c (mswindows_enqueue_mouse_button_event):
12394 * event-msw.c (key_needs_default_processing_p):
12395 * event-msw.c (XEMSW_LCONTROL):
12396 * event-msw.c (mswindows_handle_sticky_modifiers):
12397 * event-msw.c (FROB):
12398 * event-msw.c (clear_sticky_modifiers):
12399 * event-msw.c (output_modifier_keyboard_state):
12400 * event-msw.c (output_alt_keyboard_state):
12401 * event-msw.c (mswindows_wnd_proc):
12402 * event-msw.c (mswindows_modifier_state):
12403 * event-msw.c (emacs_mswindows_handle_magic_event):
12404 implement sticky modifiers.
12407 * event-stream.c (vars_of_event_stream):
12408 move modifier-keys-are-sticky here.
12411 add CHECK_FUNCTION.
12414 implement map-range-table.
12417 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12419 * redisplay-tty.c (reset_tty_modes):
12420 (tty_redisplay_shutdown): Adjust argument type to
12421 tty_frame_output_end.
12423 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12425 * eval.c (Fbacktrace): Don't output a line with only right
12428 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12430 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12431 (Fpq_reset_poll): Ditto.
12433 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12435 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12437 2000-05-16 Ben Wing <ben@xemacs.org>
12440 * buffer.c (dfc_convert_to/from_internal_format):
12441 * buffer.c (reinit_vars_of_buffer):
12442 Fix conversion functions to allow reentrancy.
12445 * console-msw.c (mswindows_output_last_error):
12446 New fun, generally useful -- output a human-readable
12447 version of GetLastError() on the console.
12450 * console-msw.h (struct mswindows_frame):
12451 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12453 * console-stream.c (stream_output_begin):
12454 * console-stream.c (stream_output_end):
12455 * console-stream.c (stream_output_vertical_divider):
12456 * console-stream.c (stream_clear_region):
12457 * console-stream.c (stream_flash):
12458 * console-stream.c (console_type_create_stream):
12459 Delete blank stream methods, not needed.
12461 * console.h (struct console_methods):
12462 Split begin/end methods into window and frame.
12465 * event-msw.c (mswindows_handle_paint):
12466 * event-msw.c (output_alt_keyboard_state):
12467 * event-msw.c (mswindows_wnd_proc):
12468 * event-msw.c (vars_of_event_mswindows):
12469 Comment about problems with ignored-expose.
12470 Define mswindows-debug-events; not really implemented.
12472 * frame-msw.c (mswindows_init_frame_1):
12476 * glyphs-msw.c (begin_defer_window_pos):
12477 * glyphs-msw.c (mswindows_unmap_subwindow):
12478 * glyphs-msw.c (mswindows_map_subwindow):
12479 * glyphs-msw.c (mswindows_resize_subwindow):
12480 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12482 * glyphs.c (make_image_instance_1):
12485 * gutter.c (Fredisplay_gutter_area):
12486 Use new begin/end methods.
12488 * lisp.h (Dynarr_new2):
12492 * redisplay-msw.c (mswindows_frame_output_begin):
12493 * redisplay-msw.c (mswindows_frame_output_end):
12494 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12495 New begin/end methods -- handle DeferWindowPos.
12497 * redisplay-output.c (redisplay_move_cursor):
12498 * redisplay-output.c (redraw_cursor_in_window):
12499 * redisplay-output.c (redisplay_update_line):
12500 * redisplay-output.c (redisplay_output_window):
12501 New begin/end methods.
12504 * redisplay-tty.c (tty_frame_output_begin):
12505 * redisplay-tty.c (tty_frame_output_end):
12506 * redisplay-tty.c (console_type_create_redisplay_tty):
12507 New begin/end methods.
12510 * redisplay-x.c (x_window_output_begin):
12511 * redisplay-x.c (x_window_output_end):
12512 * redisplay-x.c (console_type_create_redisplay_x):
12513 New begin/end methods.
12515 * redisplay.c (redisplay_frame):
12516 * redisplay.c (Fredisplay_echo_area):
12517 New begin/end methods.
12518 use MAYBE_DEVMETH for clear_frame; it may not exist.
12520 * window.h (WINDOW_XFRAME):
12521 WINDOW_XFOO macros -- get locale and decode struct pointer.
12524 2000-05-12 Ben Wing <ben@xemacs.org>
12527 * emacs.c (ensure_no_quitting_from_now_on):
12528 * emacs.c (fatal_error_signal):
12529 * emacs.c (mswindows_handle_hardware_exceptions):
12531 * emacs.c (Fkill_emacs):
12532 * emacs.c (shut_down_emacs):
12533 * emacs.c (assert_failed):
12534 various improvements in fatal error handling.
12537 move preparing_for_armageddon to emacs.c.
12540 declare fatal_error_in_progress.
12543 * print.c (std_handle_out_external):
12544 * print.c (std_handle_out_va):
12545 * print.c (stderr_out):
12546 * print.c (stdout_out):
12547 use console under mswin when no standard output.
12548 don't do code conversion during fatal error.
12550 * scrollbar.c (Fscrollbar_page_up):
12551 * scrollbar.c (Fscrollbar_page_down):
12552 fix missing else. reindent.
12554 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12558 * glyphs.h (GLYPH_CACHEL_DESCENT):
12559 (GLYPH_CACHEL_DESCENT):
12560 (GLYPH_CACHEL_DESCENT):
12561 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12562 used in case these are inline functions.
12563 Use more absurd values to error check.
12565 include window.h for error check functions.
12567 2000-05-11 Ben Wing <ben@xemacs.org>
12569 * cmdloop.c (Freally_early_error_handler):
12570 Display message box under windows; otherwise, message will disappear
12571 before it can be viewed.
12574 * console-msw.c (Fmswindows_message_box):
12575 * console-msw.c (FROB):
12576 * console-msw.c (syms_of_console_mswindows):
12577 Define new fun `mswindows-message-box'.
12578 #### I will merge this into `popup-dialog-box'; just give me
12582 * general.c (syms_of_general):
12583 Some new symbols used in `mswindows-message-box'.
12586 * glyphs.c (Fset_image_instance_property):
12587 put warning in this fun.
12590 * glyphs.h (GLYPH_CACHEL_WIDTH):
12591 * glyphs.h (GLYPH_CACHEL_ASCENT):
12592 * glyphs.h (GLYPH_CACHEL):
12593 * glyphs.h (GLYPH_CACHEL_GLYPH):
12594 define error-checking versions to try to catch a bug i've seen --
12595 redisplay gets in an infinite loop because the glyph width of the
12596 continuation glyph is 65535.
12599 Extern message-box stuff.
12601 * window.c (allocate_window):
12602 * window.c (make_dummy_parent):
12603 * window.c (Fset_window_configuration):
12604 Use EQUAL not EQ for subwindow caches to make them work a bit
12605 better. (Something is still very broken.)
12608 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12610 * glyphs.c (image_instantiate): Suppress gcc warnings.
12611 (Fmake_image_instance): Fix doc string.
12612 * specifier.c (Fmake_specifier): Ditto.
12614 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12616 * paths.h.in (PATH_LOCK): Removed.
12617 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12618 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12620 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12622 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12623 Document (featurep '(and xemacs 21.02)).
12625 2000-05-09 Ben Wing <ben@xemacs.org>
12627 * buffer.c (complex_vars_of_buffer):
12628 update modeline-format doc.
12631 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12634 timeline of all released versions of Emacs, for use in creating
12635 authorship comments and in synching up.
12637 * glyphs-widget.c (image_instantiator_buttons):
12638 * glyphs-widget.c (image_instantiator_edit_fields):
12639 * glyphs-widget.c (image_instantiator_combo_box):
12640 * glyphs-widget.c (image_instantiator_scrollbar):
12641 * glyphs-widget.c (image_instantiator_progress_guage):
12642 * glyphs-widget.c (image_instantiator_tree_view):
12643 * glyphs-widget.c (image_instantiator_tab_control):
12644 * glyphs-widget.c (image_instantiator_labels):
12645 * glyphs-widget.c (image_instantiator_layout):
12646 * glyphs-widget.c (image_instantiator_native_layout):
12647 rename decode_domain method to governing_domain.
12650 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12651 * glyphs.c (add_entry_to_device_ii_format_list):
12652 make sure we don't put an entry more than once into the list.
12653 * glyphs.c (check_instance_cache_mapper):
12654 *************************************************************
12655 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12657 *************************************************************
12658 * glyphs.c (get_image_instantiator_governing_domain):
12659 clean up, expand on new concept of governing domain.
12660 * glyphs.c (instantiate_image_instantiator):
12661 * glyphs.c (allocate_image_instance):
12662 use governing_domain instead of cache_domain in naming.
12663 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12664 * glyphs.c (make_image_instance_1):
12665 * glyphs.c (Fmake_image_instance):
12666 allow for any domain (not just device), and process the
12667 governing domain correctly. very big doc fix.
12668 * glyphs.c (Fimage_instance_domain):
12669 new primitive, to retrieve the governing domain of an image instance.
12670 * glyphs.c (image_instantiate):
12671 use new governing_domain stuff. this fixes a crash you could get
12672 by instantiating certain widget glyphs in frame locales. (should
12673 signal an error instead of crashing.)
12674 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12675 * glyphs.c (Fglyphp): clean up doc.
12676 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12677 * glyphs.c (syms_of_glyphs):
12678 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12679 * glyphs.c (image_instantiator_format_create): add some comments about
12681 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12682 for current-display-table. (Apparently Hrjove implemented in 1998 a
12683 design I wrote up in 1996, but didn't update the doc string.)
12685 * glyphs.h: clean up a doc string.
12686 * glyphs.h (governing_domain):
12687 * glyphs.h (struct image_instantiator_methods):
12688 changes for governing_domain stuff.
12691 * gutter.c (Fgutter_specifier_p):
12692 * gutter.c (Fgutter_size_specifier_p):
12693 * gutter.c (Fgutter_visible_specifier_p):
12695 * objects.c (Fcolor_specifier_p):
12696 * objects.c (Ffont_specifier_p):
12697 * objects.c (Fface_boolean_specifier_p):
12698 doc strings moved to make-*-specifier.
12700 * redisplay.c (add_disp_table_entry_runes_1):
12701 * redisplay.c (generate_fstring_runes):
12702 * redisplay.c (screen):
12703 add random comments and doc strings.
12706 * specifier.c (Fmake_specifier):
12707 major overhaul of this doc string.
12709 * specifier.c (Fvalid_specifier_domain_p):
12710 comment about the bogosity of image instances being domains.
12711 * specifier.c (decode_domain):
12712 now non-static, used in glyphs.c.
12713 * specifier.c (specifier_instance):
12714 comment about the bogosity of image instances being domains.
12715 * specifier.c (Fgeneric_specifier_p):
12716 move doc string to make-generic-specifier.
12717 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12721 * specifier.h (DOMAIN_FRAME):
12722 * specifier.h (DOMAIN_LIVE_P):
12723 * specifier.h (DOMAIN_XDEVICE):
12725 add comments about problems with these macros.
12726 prototype for decode_domain.
12729 * toolbar.c (Ftoolbar_specifier_p):
12730 move doc string to `make-toolbar-specifier'.
12732 * window.c (window_unmap_subwindows_cache_mapper):
12733 *************************************************************
12734 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12736 *************************************************************
12738 2000-05-09 Andy Piper <andy@xemacs.org>
12740 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12742 * window.c (Fset_window_configuration): reset the frame subwindow
12743 cache and re-initialize the window subwindow caches.
12745 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12747 2000-05-09 Ben Wing <ben@xemacs.org>
12749 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12752 2000-04-26 Mike Woolley <mike@bulsara.com>
12754 * ntheap.c: Changed recreate_heap to limit the amount reserved
12755 for the heap to that which is actually available. Also now
12756 displays a message box (with some dignostics) in the event that
12757 it still can't start.
12759 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12761 * callproc.c (Fold_call_process_internal): GCPRO path
12763 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12765 Patch by Bill Perry.
12767 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12768 back data instead of #ifdef.
12769 (Fscrollbar_page_down): ditto.
12771 2000-05-07 Ben Wing <ben@xemacs.org>
12774 Kludge for defining Qmswindows_tstr.
12777 * nt.c (open_input_file):
12778 * nt.c (open_output_file):
12779 * nt.c (rva_to_section):
12780 * nt.c (mswindows_executable_type):
12781 Move all memory-mapped-file routines here (some were in unexnt.c,
12782 which is bad because they are used by process-nt.c, and unexnt
12783 won't be around when portable dumping). Synched the above routines
12787 Removed ifdef'd out bogus code.
12788 Fixed some prototypes.
12790 * nt.h (file_data):
12791 * nt.h (OFFSET_TO_RVA):
12792 * nt.h (RVA_TO_OFFSET):
12793 * nt.h (RVA_TO_PTR):
12794 Moved the memory-mapped-file structures, macros and prototypes
12795 here, to parallel nt.c. ntheap.h should really be removed
12796 entirely, and it's a non-portable-dumper specific file.
12798 * ntheap.h (round_to_next):
12799 Moved the memory-mapped-file structures, macros and prototypes
12802 * ntproc.c (compare_env):
12803 Moved rva_to_section and mswindows_executable_type to nt.c.
12804 Moved compare_env to process-nt.c.
12805 ntproc.c will die, one day.
12807 * ntproc.c (sys_spawnve):
12808 Account for win32_ -> mswindows_.
12811 * process-nt.c (struct nt_process_data):
12812 * process-nt.c (ensure_console_window_exists):
12813 * process-nt.c (compare_env):
12814 * process-nt.c (nt_create_process):
12815 * process-nt.c (nt_kill_process_by_pid):
12816 * process-nt.c (syms_of_process_nt):
12817 * process-nt.c (vars_of_process_nt):
12818 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12819 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12820 changes). Eliminate our old `nt-quote-process-args' mechanism.
12821 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12822 Move compare_env here from ntproc.c.
12824 * process.c (Fprocess_send_region):
12825 Takes an optional fourth argument, BUFFER, which should fix some
12826 problems with call-process.
12829 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12832 Move ICC_BAR_CLASSES to syscommctrl.h.
12833 Add preliminary macros for MSWindows/Mule. More to come.
12836 * unexnt.c (unexec):
12837 open_output_file moved to nt.c.
12840 2000-05-05 Andy Piper <andy@xemacs.org>
12842 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12843 instance from the frame cache also since GC may catch up too late
12844 to make frame deletion sane.
12846 2000-05-04 Andy Piper <andy@xemacs.org>
12848 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12849 (x_finalize_image_instance): ungcpro on deletion.
12851 * glyphs.c (image_instantiator_format_create): give pointers a
12852 query geometry method so that the geometry is at least set.
12854 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12855 initialize layouts if using widgets.
12857 2000-05-03 Andy Piper <andy@xemacs.org>
12859 * nt.c: remove bogus reference to sysmmsystem.h
12861 * gui-x.c (popup_selection_callback): fix no selection abort.
12863 2000-05-02 Andy Piper <andy@xemacs.org>
12865 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12866 (mswindows_widget_instantiate): ditto.
12868 * glyphs-widget.c (initialize_widget_image_instance): initialize
12869 children correctly.
12870 (widget_instantiate): cope with children and items in the same
12873 * glyphs.c (mark_image_instance): cope with children as a first
12875 (image_instance_equal): ditto.
12876 (image_instance_hash): ditto.
12877 (image_instance_changed): ditto.
12879 2000-04-30 Andy Piper <andy@xemacs.org>
12881 * glyphs.c (subwindow_query_geometry): new function. Return some
12883 (subwindow_instantiate): don't assign dimensions if none have been
12885 (image_instantiator_format_create): add subwindow_query_geometry.
12886 (print_image_instance): cope with layouts as widgets.
12888 2000-04-29 Andy Piper <andy@xemacs.org>
12890 * frame.c (delete_frame_internal): call
12891 free_frame_subwindow_instance_cache so that all subwindows are
12892 finalized before their parent.
12893 (mark_frame): remove subwindow_cachels.
12894 (Fmake_frame): remove subwindow_cachel manipulation.
12895 (allocate_frame_core): subwindow_instance_cache is a weak list.
12896 (delete_frame_internal): set subwindow_instance_cache to nil.
12898 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12900 (mswindows_finalize_image_instance): use the device
12901 not the domain as the domain may have died already.
12903 * glyphs-x.c (x_finalize_image_instance): ditto.
12904 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12907 * redisplay-output.c (redisplay_unmap_subwindows): update for
12908 subwindow instance cache as a weak list.
12909 (redisplay_unmap_subwindows_maybe): ditto.
12910 (redisplay_unmap_subwindows_except_us): ditto.
12912 * glyphs.c (unmap_subwindow): error checking will check the domain
12913 so don't deal with it here. Don't use cachels anymore.
12914 (map_subwindow): ditto.
12915 (update_subwindow_cachel_data): remove old accessor names.
12916 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12917 (Fresize_subwindow): don't update cachel.
12918 (mark_subwindow_cachels):
12919 (update_subwindow_cachel_data):
12920 (add_subwindow_cachel):
12921 (get_subwindow_cachel_index):
12922 (update_subwindow_cachel):
12923 (reset_subwindow_cachels):
12924 (mark_subwindow_cachels_as_not_updated): deleted.
12925 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12926 subwindow instance to the frame cache.
12927 (find_matching_subwindow): update for subwindow instance cache as
12929 (update_widget_instances): ditto.
12930 (image_instance_type_to_mask):inlined.
12931 (free_frame_subwindow_instance_cache): new function. finalize all
12932 subwindows that are instantiated.
12934 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12935 of cachel information.
12936 (IMAGE_INSTANCE_DISPLAY_X):
12937 (IMAGE_INSTANCE_DISPLAY_Y):
12938 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12939 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12940 (XIMAGE_INSTANCE_DISPLAY_X):
12941 (XIMAGE_INSTANCE_DISPLAY_Y):
12942 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12943 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12944 remove subwindow_cachel structure and function references.
12945 (image_instance_type_to_mask): inline from glyphs.c
12947 * redisplay.c (redisplay_frame): remove subwindow_cachel
12950 * frame.h (struct frame): remove subwindow_cachels.
12951 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12953 * frameslots.h: add subwindow_instance_cache.
12955 * window.c (replace_window): check subwindow cache of replacement.
12956 (window_unmap_subwindows_cache_mapper):
12957 (window_unmap_subwindows): new functions. Unmap all subwindows
12958 cached on this window.
12959 (mark_window_as_deleted): unmap all subwindows.
12961 2000-04-27 Andy Piper <andy@xemacs.org>
12963 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12965 * glyphs-widget.c (widget_layout): return something.
12966 (layout_layout): return something. Fail if not initialized.
12967 (layout_query_geometry): ditto.
12968 (image_instantiator_native_layout): new function. Initialized the
12969 native layout type.
12970 (widget_instantiate): don't do layout stuff here.
12972 * glyphs.c (instantiate_image_instantiator): reorded calling or
12973 instantiate and post_instantiate with layout in between.
12974 (image_instance_layout): be more selective about deciding whether
12975 the layout has been done or not.
12977 * glyphs.h (struct image_instantiator_methods): return a value
12978 from layout_method.
12980 2000-04-26 Andy Piper <andy@xemacs.org>
12982 * glyphs.c (allocate_image_instance): make initial width and
12983 height unspecified. Set initialized to 0.
12985 * syscommctrl.h new file. Encapsulates commctrl.h.
12987 * syswindows.h new file. Encapsulates windows.h.
12989 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12991 * console-msw.h: ditto.
12993 * redisplay-tty.c (tty_output_display_block): remove layout references.
12995 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12996 window handle rather than just the frame.
12998 * glyphs.c (mark_image_instance): remove layout references.
12999 (print_image_instance): ditto.
13000 (image_instance_equal): ditto.
13001 (image_instance_hash): ditto.
13002 (decode_image_instance_type): ditto.
13003 (encode_image_instance_type): ditto.
13004 (image_instantiate): ditto.
13005 (allocate_glyph): ditto.
13006 (Fimage_instance_height): ditto.
13007 (Fimage_instance_width): ditto.
13008 (update_subwindow): ditto.
13010 * redisplay-x.c (x_output_display_block): recode for layouts as
13013 * redisplay-output.c (redisplay_output_layout): recode for layouts
13015 (compare_runes): remove layout references.
13017 * redisplay-msw.c (mswindows_output_display_block): recode for
13018 layouts as widgets.
13020 * glyphs-widget.c (image_instantiator_layout): remove
13021 layout_possible_dest_types.
13022 (layout_possible_dest_types): deleted.
13024 * glyphs.h (image_instance_type): remove layout references.
13025 (struct Lisp_Image_Instance): ditto. Add initialized flag.
13026 (IMAGE_INSTANCE_INITIALIZED): new accessor.
13027 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13029 2000-04-25 Andy Piper <andy@xemacs.org>
13031 * glyphs-widget.c (image_instantiator_buttons):
13032 (image_instantiator_edit_fields):
13033 (image_instantiator_combo_box):
13034 (image_instantiator_scrollbar):
13035 (image_instantiator_progress_guage):
13036 (image_instantiator_tree_view):
13037 (image_instantiator_tab_control):
13038 (image_instantiator_labels):
13039 (image_instantiator_layout): call default post_instantiate method.
13040 (widget_post_instantiate): new function. Simply lays out the
13043 * glyphs.h (struct image_instantiator_methods): add
13044 post_instantiate method.
13046 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13049 2000-04-23 Andy Piper <andy@xemacs.org>
13051 * glyphs.h (struct image_instantiator_methods): add
13052 decode_domain_method.
13053 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13054 derived from the domain.
13055 (IMAGE_INSTANCE_FRAME): new accessor.
13056 (XIMAGE_INSTANCE_FRAME): ditto.
13058 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13059 instead of _SUBWINDOW_FRAME.
13060 (finalize_image_instance): ditto.
13061 (Fimage_instance_foreground): ditto.
13062 (Fimage_instance_background): ditto.
13063 (image_instantiate): ditto.
13064 (update_subwindow_cachel): ditto.
13065 (update_subwindow): ditto.
13066 (unmap_subwindow): ditto.
13067 (map_subwindow): ditto
13068 (subwindow_instantiate): ditto.
13069 * glyphs-msw.c (mswindows_update_widget): ditto.
13070 (mswindows_progress_gauge_instantiate): ditto.
13071 (mswindows_tab_control_update): ditto.
13072 * glyphs-x.c (x_update_widget): ditto.
13073 (x_widget_instantiate): ditto.
13074 (x_tab_control_instantiate): ditto.
13075 (x_tab_control_update): ditto.
13076 * event-msw.c (mswindows_wnd_proc): ditto
13078 * glyphs-widget.c (image_instantiator_layout): use
13079 subwindow_decode_domain.
13080 (image_instantiator_buttons): ditto.
13081 (image_instantiator_edit_fields): ditto.
13082 (image_instantiator_combo_box): ditto.
13083 (image_instantiator_scrollbar): ditto.
13084 (image_instantiator_progress_guage): ditto.
13085 (image_instantiator_tree_view): ditto.
13086 (image_instantiator_tab_control): ditto.
13087 (image_instantiator_labels): ditto.
13088 (image_instantiator_layout): ditto.
13090 * glyphs.c: add instance error checking to many functions.
13091 (instantiate_image_instantiator): decode device from cache_domain.
13092 (image_instantiate): partially rewrite by using
13093 decode_image_instantiator_domain to determine what domain the
13094 instance needs to be cached in.
13095 (decode_image_instantiator_domain): new function. Determine what
13096 domain the image needs to be cached in.
13097 (check_window_subwindow_cache): new error checking function.
13098 (check_instance_cache_mapper): ditto.
13099 (check_image_instance_structure): ditto.
13100 (subwindow_decode_domain): new function. Encodes a window as a
13101 subwindow's cache domain.
13102 (image_instantiator_format_create): use it for text and
13105 2000-04-21 Andy Piper <andy@xemacs.org>
13107 * glyphs.c (image_instance_device): new function.
13108 (image_instance_frame): new function.
13109 (image_instance_window): new function.
13110 (image_instance_live_p): new function.
13112 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13115 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13116 (IMAGE_INSTANCE_DOMAIN): new accessor.
13117 (XIMAGE_INSTANCE_DOMAIN): ditto.
13119 * glyphs-x.c (x_finalize_image_instance): device->domain.
13121 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13122 (mswindows_finalize_image_instance): ditto.
13124 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13125 (gif_instantiate): ditto.
13126 (png_instantiate): ditto.
13127 (tiff_instantiate): ditto.
13129 * glyphs.c (instantiate_image_instantiator): use domain rather
13131 (mark_image_instance): device -> domain.
13132 (print_image_instance): ditto.
13133 (finalize_image_instance): ditto.
13134 (image_instance_equal): ditto.
13135 (allocate_image_instance): ditto.
13136 (Fcolorize_image_instance): ditto.
13137 (query_string_geometry): ditto.
13138 (image_instantiate): ditto
13139 (query_string_font): ditto.
13140 (image_instantiate): ditto.
13141 (update_subwindow): ditto.
13142 (unmap_subwindow): ditto.
13143 (map_subwindow): ditto.
13144 (subwindow_instantiate): ditto.
13146 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13147 (DOMAIN_FRAME): ditto.
13148 (DOMAIN_WINDOW): ditto.
13149 (DOMAIN_LIVE_P): ditto.
13150 (XDOMAIN_DEVICE): ditto.
13151 (XDOMAIN_FRAME): ditto.
13152 (XDOMAIN_WINDOW): ditto.
13154 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13155 a valid specifier domain.
13157 2000-04-19 Andy Piper <andy@xemacs.org>
13159 * glyphs-widget.c (syms_of_glyphs_widget): remove
13160 widget-callback-current-channel.
13161 (vars_of_glyphs_widget): ditto.
13164 * gui.c (get_gui_callback): revert to previous behaviour.
13166 2000-04-18 Andy Piper <andy@xemacs.org>
13168 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13169 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13170 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13172 * glyphs.c (image_instance_equal): add margin_width.
13173 (image_instance_hash): ditto.
13175 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13176 (layout_query_geometry): ditto.
13177 (layout_layout): ditto.
13178 (syms_of_glyphs_widget): add margin-width.
13179 (image_instantiator_layout): allow margin-width.
13181 * glyphs.c (update_widget_instances): make a normal function.
13182 (syms_of_glyphs): remove Qupdate_widget_instances.
13185 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13186 so that we don't corrupt ideas about the last event or
13187 command. Remove widget-callback-current-channel fiddling.
13188 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13190 2000-05-01 Martin Buchholz <martin@xemacs.org>
13192 * XEmacs 21.2.33 is released.
13194 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13196 * make-src-depend: Allow dots in header file name.
13198 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13200 * mule-charset.h (struct charset_lookup): Add
13201 next_allocated_1_byte_leading_byte and
13202 next_allocated_2_byte_leading_byte.
13203 * mule-charset.c: Move above two variables so that those values
13206 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13208 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13209 when string length is zero.
13210 (find_charsets_in_emchar_string): Ditto.
13212 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13214 * lisp.h: extern Qdialog and Qmenubar.
13216 * gui-x.c: added events.h.
13217 also fixed typo which made the file uncompilable.
13219 * general.c: Added Qmenubar and Qdialog
13221 2000-04-28 Ben Wing <ben@xemacs.org>
13223 * frame-msw.c (mswindows_init_frame_1):
13224 * frame-msw.c (mswindows_mark_frame):
13225 * event-msw.c (mswindows_enqueue_dispatch_event):
13227 * console-msw.h (struct mswindows_frame):
13228 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13229 there are now three hash tables for callbacks.
13230 mswindows_enqueue_dispatch_event is no longer static.
13232 * dialog-x.c (maybe_run_dbox_text_callback):
13233 * dialog-x.c (dbox_descriptor_to_widget_value):
13234 switch to new cons3 form for callbacks.
13236 * glyphs-msw.c (mswindows_register_gui_item):
13237 * glyphs-msw.c (mswindows_widget_instantiate):
13238 * glyphs-msw.c (add_tree_item):
13239 * glyphs-msw.c (add_tab_item):
13240 new image instance parameter, so it can be passed to callback-ex.
13241 respect :callback-ex as well as :callback.
13243 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13246 * glyphs.c (print_image_instance):
13247 prettify, e.g. now prints widget type.
13250 certain funs have new image instance parameter.
13253 * gui.c (get_gui_callback):
13254 * gui.c (gui_item_add_keyval_pair):
13255 * gui.c (gui_item_init):
13256 * gui.c (gui_add_item_keywords_to_plist):
13257 * gui.c (mark_gui_item):
13258 * gui.c (gui_item_hash):
13259 * gui.c (gui_item_equal):
13260 * gui.c (copy_gui_item):
13261 * gui.c (syms_of_gui):
13262 recognize callback-ex in a number of places.
13263 also, fix the annoying "can't get out of yes-no dialog" bug.
13266 * gui.h (struct Lisp_Gui_Item):
13267 recognize callback-ex in a number of places.
13269 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13270 new parameter in button_item_to_widget_value.
13272 * glyphs-x.c (x_update_widget):
13273 * glyphs-x.c (x_button_instantiate):
13274 * glyphs-x.c (x_button_update):
13275 * glyphs-x.c (x_progress_gauge_instantiate):
13276 * glyphs-x.c (x_edit_field_instantiate):
13277 * glyphs-x.c (x_combo_box_instantiate):
13278 * glyphs-x.c (x_tab_control_instantiate):
13279 * glyphs-x.c (x_label_instantiate):
13280 new image instance parameter in various places.
13283 * event-Xt.c (enqueue_Xt_dispatch_event):
13284 this fun gets exported.
13287 * gui-msw.c (mswindows_handle_gui_wm_command):
13288 handle both :callback and :callback-ex, and generate our own
13289 event because it's one of the callback-ex arguments.
13292 * gui-x.c (popup_selection_callback):
13293 handle both :callback and :callback-ex, and generate our own
13294 event because it's one of the callback-ex arguments.
13295 * gui-x.c (button_item_to_widget_value):
13296 * gui-x.c (gui_items_to_widget_values_1):
13297 * gui-x.c (gui_item_children_to_widget_values):
13298 * gui-x.c (gui_items_to_widget_values):
13299 new image instance parameter in various places.
13301 * fns.c (Freplace_list):
13302 fix small typo in doc string.
13305 declare enqueue_Xt_dispatch_event.
13307 2000-04-28 Ben Wing <ben@xemacs.org>
13310 * buffer.c (Frecord_buffer):
13311 * buffer.c (syms_of_buffer):
13312 delete record-buffer-hook.
13315 * fns.c (Freplace_list):
13316 * fns.c (syms_of_fns):
13317 new primitive replace-list.
13320 slot for old buffer-alist.
13323 exfun replace-list.
13326 * redisplay.c (redisplay_frame):
13327 * redisplay.c (syms_of_redisplay):
13328 * redisplay.c (vars_of_redisplay):
13329 new hook buffer-list-changed-hook.
13332 2000-04-27 Ben Wing <ben@xemacs.org>
13334 * extents.h: extern in_modeline_generation.
13336 * redisplay.c (generate_formatted_string_db): set
13337 in_modeline_generation.
13339 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13340 flags if in modeline generation. otherwise frame-modified-tick
13341 is ticked far too often.
13342 Declare in_modeline_generation.
13344 2000-04-26 Ben Wing <ben@xemacs.org>
13346 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13348 (vars_of_emacs): add quick-build as an error-checking option.
13349 A bit kludgy, but there doesn't seem much point in creating
13350 a real var for this.
13352 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13354 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13356 * redisplay.h (struct display_line): Add a new variable,
13359 * redisplay.c (create_text_block): Set dl->line_continuation if
13360 the line continues.
13361 (create_string_text_block): Ditto.
13362 (regenerate_window_incrementally): Use line_continuation instead
13363 of searching continuation glyph.
13364 (add_margin_runes): Call add_glyph_rune.
13365 (add_glyph_rune): Handle margin glyph.
13367 2000-04-20 Martin Buchholz <martin@xemacs.org>
13369 * filelock.c (fill_in_lock_file_name):
13371 Check for IS_ANY_SEP instead of '/'.
13373 Avoid generating gratuitous garbage. Call user_login_name() directly.
13374 Never check errno without first seeing that system call failed.
13375 (unlock_file): Add GCPRO.
13376 (Flock_buffer): Fix docstring.
13377 (Ffile_locked_p): Fix docstring. Add GCPRO.
13379 2000-04-19 Martin Buchholz <martin@xemacs.org>
13381 * sysdep.c (get_pty_max_bytes):
13382 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13383 strings longer than 252 bytes.
13385 * md5.c: Unconditionally include ANSI header <limits.h>
13387 * glyphs-x.c (convert_EImage_to_XImage):
13388 * lisp-union.h (union Lisp_Object):
13389 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13391 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13393 * filelock.c (current_lock_owner): Remove unused variable o, p.
13395 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13397 * callint.c: Remove multiply defined symbol Qlet
13398 (syms_of_callint): ditto.
13400 2000-04-14 Andy Piper <andy@xemacs.org>
13402 * general.c (syms_of_general): add last-command, this-command, let
13405 * lisp.h: declare various symbols.
13407 * glyphs.h: declare Qwidget_callback_current_channel;
13409 * glyphs-widget.c (syms_of_glyphs_widget): add
13410 Qgui_callback_current_channel.
13411 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13413 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13414 widget-callback-current-channel when invoking the interactive
13415 arg. Also bind last-command and next-command when invoking the
13417 * gui-x.c (popup_selection_callback): ditto.
13419 * gui.c (get_gui_callback): massage args so that we are always
13420 calling eval. This allows us to add our own variable bindings
13423 * glyphs-x.c (x_button_instantiate): use
13424 gui_items_to_widget_values since this is GC safe.
13425 (x_progress_gauge_instantiate): ditto.
13426 (x_edit_field_instantiate): ditto.
13427 (x_label_instantiate): ditto.
13429 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13430 (emacs_Xt_event_widget_focus_out): new function
13431 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13433 (emacs_Xt_event_add_widget_actions): new function. add focus
13434 functions as actions.
13435 (init_event_Xt_late): use it.
13437 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13439 * event-stream.c (Fdispatch_event): Doc fix.
13441 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13443 * postgresql.c: Remove all references to PQsetenv*.
13445 * postgresql.h: Remove references to PGsetenvHandler object.
13446 * lrecord.h (lrecord_type): Ditto.
13448 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13450 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13451 real_heigh and real_width members, and accessor macros for these.
13453 * glyphs-msw.c (init_image_instance_geometry): New function.
13454 (init_image_instance_from_dibitmap): Use it.
13455 (mswindows_resource_instantiate): Use it.
13456 (init_image_instance_from_xbm_inline): Use it.
13457 (mswindows_initialize_image_instance_mask): Use real bitmap
13459 (mswindows_create_resized_bitmap): Ditto.
13460 (mswindows_create_resized_mask): Ditto.
13462 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13463 and bitmap to their surface size.
13465 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13467 * process-unix.c (unix_send_process): Guard against process MIA
13468 after Faccept_process_output.
13470 2000-04-11 Ben Wing <ben@xemacs.org>
13472 * eval.c (unbind_to_hairy): fix brokenness introduced by
13473 nanosecond speed improvements.
13475 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13477 * sunplay.c (init_device): To play sounds correctly, the device
13478 apparently needs to be initialized at least once by XEmacs. Make
13481 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13483 * redisplay.c (add_margin_runes): Add text image glyph
13486 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13488 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13489 gcc is newer than 2.5.
13491 2000-04-06 Colin Rafferty <colin@xemacs.org>
13493 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13495 * fns.c (size_bit_vector):
13496 * alloc.c (size_vector):
13497 (make_vector_internal):
13498 (make_bit_vector_internal):
13499 (sweep_bit_vectors_1):
13500 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13502 2000-04-06 Andy Piper <andy@xemacs.org>
13504 * gmalloc.c (malloc): undo previous change.
13509 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13511 * line-number.c (buffer_line_number): Revert to former version.
13513 2000-04-06 Andy Piper <andy@xemacs.org>
13515 * gmalloc.c (malloc): add error checking.
13520 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13521 button_item_to_widget_value arg.
13523 * glyphs-x.c (x_button_instantiate): add extra
13524 button_item_to_widget_value arg.
13525 (x_progress_gauge_instantiate): ditto.
13526 (x_edit_field_instantiate): ditto.
13527 (x_label_instantiate): ditto.
13529 * gui-x.c (gui_items_to_widget_values_1): add extra
13530 button_item_to_widget_value arg.
13531 (button_item_to_widget_value): add extra menu_item_p arg.
13533 * gui-x.h: change signature of button_item_to_widget_value.
13535 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13536 button_item_to_widget_value arg.
13538 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13540 * buffer.h (struct buffer): auto_save_modified should be long.
13542 2000-04-05 Andy Piper <andy@xemacs.org>
13544 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13546 (button_query_geometry): give a little more room so that athena
13549 2000-04-05 Andy Piper <andy@xemacs.org>
13551 * faces.c (complex_vars_of_faces): The widget face should inherit
13552 the font of the gui-element face.
13554 2000-04-04 Andy Piper <andy@xemacs.org>
13556 * glyphs-x.c (x_button_update): new function. unconditionally
13557 update a button's state when the instance is dirty.
13558 (image_instantiator_format_create_glyphs_x): add x_button_update.
13559 (x_widget_instantiate): remove old resize cruft.
13561 2000-04-02 Andy Piper <andy@xemacs.org>
13563 * frame.c (change_frame_size_1): The introduction of gutters means
13564 that we need to allow 0 as a potential frame dimension.
13566 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13568 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13569 image glyph if allow_cursor.
13570 (add_hscroll_rune): Don't allow cursor to border glyph.
13571 (create_text_block): Ditto.
13573 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13574 text not in buffer.
13575 (redisplay_output_layout): Call ensure_face_cachel_complete for
13579 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13581 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13583 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13586 * redisplay-tty.c (tty_output_display_block): Delete the routine
13587 for text image glyph
13588 * redisplay-x.c (x_output_display_block): ditto
13589 * redisplay-msw.c (mswindows_output_display_block): ditto
13591 2000-02-02 Mike Alexander <mta@arbortext.com>
13593 Note: Some of these were committed by accident as part of other
13596 * regex.c (regex_compile): Avoid compiler warnings.
13598 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13600 * nt.h: Declare term_ntproc correctly.
13602 * nt.c: Remove incorrect declaration of get_home_directory which
13603 is declared correctly in lisp.h.
13605 * keymap.c (get_keyelt): Avoid compiler warnings.
13606 (raw_lookup_key_mapper): Avoid compiler warnings.
13608 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13610 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13612 * filemode.c (mode_string): Avoid compiler warnings.
13614 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13617 * events-mod.h: Undef some things that winuser.h defines differently.
13619 * data.c (Faset): Avoid compiler warnings.
13621 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13623 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13625 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13626 Fall through to simple beep on error.
13627 Replace "extern" by real header file.
13629 * linuxplay.c: Use nativesound.h
13630 (play_sound_data): Return error code. Be less verbose on error.
13632 * sunplay.c: Use nativesound.h
13633 (play_sound_data): Return error code. Be less verbose on error.
13635 * ntplay.c: Use nativesound.h
13636 (play_sound_data): Return fake error code
13638 * sgiplay.c: Use nativesound.h
13639 (play_sound_data): Return error code
13641 * hpplay.c: Use nativesound.h, partially implement
13642 new error code. Break compilation until finished.
13643 (play_sound_data): error code.
13645 * nativesound.h (play_sound_file):
13646 (play_sound_data): Prototype in new header.
13648 2000-03-31 Andy Piper <andy@xemacs.org>
13650 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13651 for toggle and radio buttons.
13652 (image_instantiator_buttons): use it.
13654 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13656 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13657 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13658 found. Scrollbar event probably belonged to some old config.
13660 2000-03-31 Andy Piper <andy@xemacs.org>
13662 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13664 (initialize_widget_image_instance): default layout to
13665 LAYOUT_HORIZONTAL rather than 0.
13666 (widget_instantiate): reverse the item list at the end rather than
13668 (layout_layout): re-code for the border text at the front of the
13669 item list rather than at the end.
13670 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13671 provided by the user.
13672 (widget_query_geometry): comment.
13674 2000-03-30 Andy Piper <andy@xemacs.org>
13676 * glyphs-widget.c (image_instantiator_layout): allow standard
13677 widget keywords in layouts.
13679 * gutter.c (output_gutter): cope with nil gutter contents.
13681 * frame.c (Fset_frame_properties): add gutter docs.
13683 2000-03-29 Andy Piper <andy@xemacs.org>
13685 * toolbar-msw.c (TBSTYLE_FLAT): add.
13686 (mswindows_output_toolbar): minor fiddling.
13688 2000-03-29 Andy Piper <andy@xemacs.org>
13690 * gutter.c (output_gutter): force gutter size recalculation if
13691 what we are trying to display won't fit.
13692 (update_gutter_geometry): new function. A per-gutter version of
13693 update_frame_gutter_geometry.
13694 (update_frame_gutter_geometry): use it.
13695 (redraw_exposed_gutter): add extra debugging output.
13697 2000-03-28 Mike Alexander <mta@arbortext.com>
13699 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13700 (pdump_file_unmap): Implement it on Windows
13701 (pdump_file_get): Save alocated handles for pdump_file_unmap
13703 2000-03-28 Andy Piper <andy@xemacs.org>
13705 * gui.c (get_gui_callback): treat Quit specially.
13707 2000-03-27 Andy Piper <andy@xemacs.org>
13709 * glyphs.c (image_instantiate): be careful to check in the same
13712 2000-03-27 Didier Verna <didier@xemacs.org>
13714 * config.h.in: define the proper SMART_INCLUDE macro.
13715 handle renaming of `foo_h_path' to `foo_h_file'.
13717 * database.c: ditto.
13721 * linuxplay.c: ditto.
13723 * terminfo.c: ditto.
13725 * tooltalk.h: ditto.
13727 2000-03-27 Andy Piper <andy@xemacs.org>
13729 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13730 gets updated whenever the face might have changed.
13732 2000-03-26 Mike Alexander <mta@arbortext.com>
13734 * dumper.c (pdump_resource_free): Fix the comment.
13736 2000-03-21 Olivier Galibert <galibert@pobox.com>
13738 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13740 2000-03-22 Mike Alexander <mta@arbortext.com>
13742 * dumper.c: Include Windows headers on Windows
13743 (pdump_resource_free): Add a body to the function
13744 (pdump_load): exe_name -> exe_path and add some comments.
13746 2000-03-25 Mike Alexander <mta@arbortext.com>
13748 * gui.c (copy_gui_item_tree): Return a value in all cases
13750 2000-03-21 Didier Verna <didier@xemacs.org>
13752 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13754 (SMART_INCLUDE): new macro.
13755 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13756 the proper location.
13758 * postgresql.c: use it.
13762 2000-03-24 Andy Piper <andy@xemacs.org>
13764 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13767 2000-03-24 Andy Piper <andy@xemacs.org>
13769 * redisplay-output.c (compare_runes): use image_instance_changed
13770 to detect changes. Do not depend on glyphs_changed, only depend on
13772 (redisplay_output_layout): add debug messages.
13773 (compare_runes): ditto.
13775 * glyphs.h: declare new functions.
13776 (struct Lisp_Image_Instance): remove percent and associated
13779 * gui.h: declare new copying functions.
13781 * gui.c (copy_gui_item_tree): new function.
13782 (copy_gui_item): new function.
13783 (gui_item_id_hash): revert to standard hash.
13784 (gui_item_hash): ditto.
13785 (gui_item_hash_internal): deleted.
13786 (mark_gui_item): mark value.
13787 (gui_item_add_keyval_pair): add value.
13788 (gui_item_init): ditto.
13789 (gui_add_item_keywords_to_plist): ditto.
13790 (gui_item_equal): ditto.
13791 (syms_of_gui): add Q_value.
13793 * glyphs-x.c (x_progress_gauge_update): use pending items and
13794 value for setting the state.
13795 (x_update_widget): don't set items from pending here.
13797 * glyphs-widget.c (update_widget): update items here.
13798 (progress_gauge_set_property): use items for storing value. Put
13799 new value in pending items.
13801 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13802 items for new value. Convert percent -> value.
13803 (mswindows_tab_control_update): don't update items here.
13805 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13806 (update_subwindow): ditto.
13807 (image_instance_changed): new function. Compare hash values and
13808 past and present widget items.
13809 (image_instantiate): We more careful about where we instantiate
13811 (image_instantiate): add error checking.
13813 * gutter.c (syms_of_gutter): use -hook.
13815 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13817 * console-tty.c (Fset_console_tty_input_coding_system): Use
13819 (Fset_console_tty_output_coding_system): Use Qterminal.
13820 (tty_init_console): Use Qkeyboard and Qterminal.
13822 2000-03-21 Ben Wing <ben@xemacs.org>
13824 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13825 From Mike Alexander <mta@arbortext.com>.
13827 2000-03-21 Ben Wing <ben@xemacs.org>
13829 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13830 process brokenness. Proper implementation to come.
13832 Rename call-process-internal to old-call-process-internal.
13833 New impl. in process.el.
13835 2000-03-21 Martin Buchholz <martin@xemacs.org>
13837 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13839 2000-03-20 Andy Piper <andy@xemacs.org>
13841 * glyphs.c (full_list_hash): make hashes of the same elements in
13842 different orders return different values.
13844 2000-03-20 Martin Buchholz <martin@xemacs.org>
13846 * XEmacs 21.2.32 is released.
13848 2000-03-20 Martin Buchholz <martin@xemacs.org>
13850 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13851 (DFC_MALLOC_USE_CONVERTED_DATA):
13852 Add aliasing-safe casts to allow use with char* or unsigned char*
13855 * eldap.c (Fldap_open):
13856 (Fldap_search_basic):
13859 Make C++-compilable.
13860 Make sure GCPRO'ed variables are initialized.
13861 Use temp variables to avoid repeated calls to Flength.
13863 2000-03-16 Martin Buchholz <martin@xemacs.org>
13866 Make sure PATH_MAX is always defined.
13867 Include limits.h for PATH_MAX.
13868 Deprecate use of MAXPATHLEN.
13870 2000-03-10 Martin Buchholz <martin@xemacs.org>
13872 * emacs.c: Add reinit_vars_of_fileio.
13873 * symsinit.h: Add reinit_vars_of_fileio.
13874 * fileio.c (reinit_vars_of_fileio): New.
13875 * fileio.c (Fmake_temp_name):
13876 Initialize temp_name random number from microseconds to make
13877 collisions even less likely. Initialize always at process startup
13878 time. (make-temp-name) used to return the same file name twice in
13880 Random stylistic fiddling.
13883 2000-03-20 Andy Piper <andy@xemacs.org>
13885 * glyphs.c (image_instantiate): allow text glyphs to be
13886 instantiated in the minibuffer window.
13888 2000-03-19 Andy Piper <andy@xemacs.org>
13890 * glyphs.c (image_instance_hash): be careful about which items we
13893 * glyphs-widget.c (tab_control_set_property): record into pending
13894 items rather than the actual items.
13896 * glyphs-x.c (x_update_widget): use pending items to update with.
13898 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13901 * glyphs.c (mark_image_instance): mark pending items.
13903 * window.c (Fset_window_configuration): record the buffer.
13904 (Fselect_window): totally revert previous change which breaks many
13907 2000-03-18 Andy Piper <andy@xemacs.org>
13909 * glyphs-msw.c (mswindows_tab_control_update): force selected
13912 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13913 window domain cache, otherwise we get inconsistencies at
13914 startup. There is something fishy at startup which can lead to the
13915 minibuffer being the selected window when the gutter content is
13918 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13920 (parse_gui_item_tree_children): ditto.
13921 (parse_gui_item_tree_item): ditto.
13923 * glyphs.c (Fupdate_widget_instances): return something.
13925 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13927 * window.c (Fselect_window): Undo 2000-03-17 change.
13929 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13931 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13932 against v7.0 libraries. Insta-coredump city until the postgres
13935 2000-03-17 Andy Piper <andy@xemacs.org>
13937 * faces.c (complex_vars_of_faces): don't give the widget face an
13938 inherited background pixmap.
13940 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13943 * event-stream.c (Fdispatch_non_command_events): return something.
13945 * gutter.c (output_gutter): use widget face.
13946 (clear_gutter): ditto.
13948 * NEWS: adjust again.
13950 * window.c (Fselect_window): make sure this runs to completion to
13951 avoid oddities with Fset_window_configuration.
13952 (Fcurrent_window_configuration): in general do not save the
13953 minibuffer as the selected window.
13955 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13957 2000-03-16 Olivier Galibert <galibert@pobox.com>
13959 * emacs.c (Frunning_temacs_p): Revert previous patch.
13960 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13962 2000-03-16 Andy Piper <andy@xemacs.org>
13964 * glyphs-x.c (x_tab_control_update): if no widget values then
13967 * NEWS: update for new features.
13969 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13970 synthetic event to the native system.
13971 (reinit_vars_of_event_Xt): set force_event_pending to
13972 emacs_Xt_force_event_pending.
13974 * events.h (struct event_stream): add force_event_pending.
13976 * specifier.c (recompute_one_cached_specifier_in_window): add
13979 * redisplay.c (redisplay_frame): don't call
13980 update_frame_subwindows. Reset subwindow cachels when
13981 subwindows_changed, removing this was an optimization too far.
13983 * redisplay-output.c (compare_runes): reorganize so that we catch
13984 glyph changes when we want them. Set optimize_output when this
13985 would help layouts.
13986 (redisplay_output_layout): remove frame_really_changed, use
13987 optimize_output instead.
13989 * redisplay-msw.c (mswindows_output_display_block): reset
13990 optimize_output after outputting a glyph.
13991 * redisplay-x.c (x_output_display_block): ditto.
13992 * redisplay-tty.c (tty_output_display_block): ditto.
13994 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13996 (gutter_specs_changed): do specific gutter positions.
13997 (top_gutter_specs_changed): new function. Only update the
13998 specified gutter specs.
13999 (bottom_gutter_specs_changed): ditto.
14000 (left_gutter_specs_changed): ditto.
14001 (right_gutter_specs_changed): ditto.
14003 * gui.c (gui_item_hash_internal): new function, does a real hash.
14004 (gui_item_id_hash): use it.
14005 (gui_item_hash): hash the eval'ed gui_item.
14007 * gui-x.c (popup_selection_callback): send an eval event to call
14008 Fupdate_widget_instances.
14010 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
14011 to call Fupdate_widget_instances.
14013 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
14014 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
14016 * glyphs.c: (update_frame_subwindows): deleted.
14017 (Fupdate_widget_instances): new function for updating the dirty
14018 state of widgets that might have changed.
14019 (syms_of_glyphs): add Qupdate_widget_instances.
14020 (full_list_hash): hash a list completely.
14021 (image_instance_hash): use it for items and properties.
14023 * frame-msw.c (mswindows_size_frame_internal): remove unused
14026 * faces.h (struct face_cachel): fix comment.
14028 * event-stream.c (Fdispatch_non_command_events): new
14029 function. Process non-command events, forcing an event cycle
14031 (syms_of_event_stream): declare.
14032 (event_stream_force_event_pending): new function. Force an event
14033 on the native event queue so that an event cycle will occur next
14037 (struct ntpipe_shove_stream):
14038 (mswindows_enqueue_dispatch_event):
14039 (mswindows_dequeue_dispatch_event):
14040 (mswindows_cancel_dispatch_event):
14041 (mswindows_pump_outstanding_events):
14042 (mswindows_drain_windows_queue):
14043 (mswindows_handle_paint):
14044 (mswindows_wnd_proc):
14045 (mswindows_key_to_emacs_keysym):
14046 (get_process_input_waitable):
14047 (emacs_mswindows_delete_stream_pair): re-indent file.
14048 (mswindows_need_event): do not process further fds if the windows
14049 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14050 fixes the 100% cpu problem.
14051 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14053 2000-03-15 Olivier Galibert <galibert@pobox.com>
14059 * emacs.c: Moved dump file searching to dumper.c.
14060 (Frunning_temacs_p): Fixed.
14062 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14063 last_lrecord_type_index_assigned.
14065 2000-02-20 Olivier Galibert <galibert@pobox.com>
14067 * symsinit.h: Added reinit parameter to init_console_stream
14070 * lisp.h: Added file parameter to pdump_load declaration.
14072 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14073 support. Added dump file searching.
14075 * config.h.in: Added EMACS_PROGNAME.
14077 * console-stream.c (init_console_stream): Fix reinitialisation
14078 when running from temacs.
14080 * alloc.c (pdump): Add id support.
14081 (pdump_load): Add file parameter and signature/id support.
14083 * Makefile.in.in: Add full pdump support.
14085 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14087 * postgresql.c: Update documentation to reflect latest code
14089 (print_result): Show tuple counts in printed representation when
14091 (Fpq_put_nbytes): MULE-ize.
14092 (Fpq_get_line_async): Ditto.
14094 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14096 * postgresql.c (Fpq_lo_import): Fix return value.
14097 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14099 2000-03-13 Ben Wing <ben@xemacs.org>
14101 * alloc.c (pdump_load):
14102 Fix compile warning under mswin.
14104 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14106 * postgresql.c: Mule-ization, bug fixes.
14107 Use PG_CODING to encapsulate coding system name changes.
14108 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14109 (pg-coding-system): Create.
14111 (Fpq_conn_defaults): Mule-ize.
14112 (Fpq_connectdb): Mule-ize & bug fix.
14113 (Fpq_connect_start): Mule-ize.
14114 (Fpq_set_client_encoding): Mule-ize.
14115 (Fpq_finish): Document `DEAD' connection status.
14116 (Fpq_clear): Ditto.
14117 (Fpq_pgconn): Mule-ize.
14118 (Fpq_exec): Mule-ize & bug fix.
14119 (Fpq_send_query): Ditto.
14120 (Fpq_get_result): Ditto.
14121 (Fpq_res_status): Mule-ize.
14122 (Fpq_result_error_message): Mule-ize.
14123 (Fpq_ntuples): fix comments.
14124 (Fpq_fname): Mule-ize.
14125 (Fpq_fnumber): Mule-ize.
14126 (Fpq_ftype): fix comments.
14127 (Fpq_get_value): Mule-ize.
14128 (Fpq_cmd_status): Ditto.
14129 (Fpq_cmd_tuples): Ditto.
14130 (Fpq_oid_value): Ditto.
14131 (Fpq_notifies): Ditto.
14132 (Fpq_lo_import): Ditto.
14133 (Fpq_lo_export): Ditto.
14134 (Fpq_get_line): Ditto.
14135 (Fpq_put_line): Mule-ize and bug fix.
14136 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14138 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14140 * postgresql.c (vars_of_postgresql): Mule-ize.
14141 (Fpq_conn_defaults): Ditto.
14143 2000-03-12 Ben Wing <ben@xemacs.org>
14145 * alloc.c (Fmake_byte_code):
14146 * alloc.c (debug_string_purity_print):
14147 * alloc.c (pdump_backtrace):
14148 * alloc.c (pdump_get_indirect_count):
14149 * alloc.c (pdump_register_sub):
14150 * alloc.c (pdump_register_object):
14151 * alloc.c (pdump_register_struct):
14152 * alloc.c (pdump_dump_data):
14153 * alloc.c (pdump_reloc_one):
14157 * console-msw.c (GetConsoleHwnd):
14158 * console-msw.c (msw_hide_console):
14159 * console-msw.c (msw_show_console):
14160 * console-msw.c (msw_ensure_console_buffered):
14161 * console-msw.c (msw_output_console_string):
14162 * console-msw.c (console_type_create_mswindows):
14164 a) Added functions to manipulate the console window for use with
14167 b) Added support for writing text to the console, which is now
14168 used under Windows when xemacs is not being run non-interactively,
14169 to write text that would otherwise be destined for stdout because
14170 under these circumstances, text written to stdout tends to
14171 disappear and not be seen.
14175 * event-Xt.c (x_event_to_emacs_event):
14176 * event-Xt.c (describe_event_window):
14177 * events-mod.h (XEMACS_MOD_CONTROL):
14179 * events.c (Fmake_event):
14180 * events.c (character_to_event):
14181 * events.c (event_to_character):
14182 * events.c (format_event_object):
14183 * events.c (Fevent_modifiers):
14185 * events.h (struct key_data):
14186 * events.h (struct button_data):
14187 * events.h (struct misc_user_data):
14188 * frame-x.c (Fcde_start_drag_internal):
14189 * frame-x.c (Foffix_start_drag_internal):
14190 * gpmevent.c (Freceive_gpm_event):
14192 * keymap.c (bucky_sym_to_bucky_bit):
14193 * keymap.c (control_meta_superify):
14194 * keymap.c (make_key_description):
14195 * keymap.c (keymap_lookup_directly):
14196 * keymap.c (create_bucky_submap):
14197 * keymap.c (keymap_store):
14198 * keymap.c (define_key_check_and_coerce_keysym):
14199 * keymap.c (define_key_parser):
14200 * keymap.c (define_key_alternate_name):
14201 * keymap.c (Fdefine_key):
14202 * keymap.c (raw_lookup_key_mapper):
14203 * keymap.c (struct map_keymap_unsorted_closure):
14204 * keymap.c (map_keymap_unsorted_mapper):
14205 * keymap.c (map_keymap_sort_predicate):
14206 * keymap.c (map_keymap_sorted):
14207 * keymap.c (accessible_keymaps_mapper_1):
14208 * keymap.c (where_is_recursive_mapper):
14209 * keymap.c (describe_map_mapper):
14210 * keymap.c (describe_map_sort_predicate):
14211 * keymap.c (describe_map):
14212 * keymap.c (complex_vars_of_keymap):
14213 And a number of other files, the key modifier preprocessor
14214 constants that xemacs uses have names that conflict with constants
14215 defined under MS Windows for other purposes, so they were renamed
14216 to begin with the prefix XEMACS_. The variables that hold such
14217 modifiers were changed to consistently be of type int to fix
14218 various compile warnings.
14220 * console.c (complex_vars_of_console):
14223 * device-msw.c (mswindows_finish_init_device):
14224 * device-msw.c (msw_get_workspace_coords):
14225 * device-msw.c (mswindows_device_system_metrics):
14226 and various other files, added support for a new
14227 device property called offset-workspace which returns the position
14228 of the upper left corner of the workspace area and goes along with
14229 the existing size-workspace property.
14232 * dialog-msw.c (push_bufbyte_string_as_unicode):
14233 * dialog-msw.c (mswindows_popup_dialog_box):
14234 Added support for XEmacs-style accelerator specifications in
14235 button text. Note: I didn't add support for this under X Windows,
14236 and somebody needs to do this.
14239 * dialog.c (Fpopup_dialog_box):
14240 Documented the support for accelerators that was just mentioned.
14242 editfns.c (get_home_directory): Changed behavior under Windows
14243 when HOME not defined; former behavior was irretrievably broken.
14246 * emacs.c (main_1):
14248 * minibuf.c (clear_echo_area_internal):
14249 * minibuf.c (echo_area_append):
14251 * print.c (std_handle_out_external):
14252 * print.c (std_handle_out_va):
14254 * print.c (write_string_to_stdio_stream):
14255 * print.c (output_string):
14256 * print.c (debug_print):
14257 * print.c (debug_backtrace):
14258 * print.c (debug_short_backtrace):
14259 Cleaned up the code that prints text to stdout so that this can be
14260 changed to output into a console window instead under MS Windows,
14261 as described above.
14264 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14265 * eval.c (internal_catch):
14266 * eval.c (unwind_to_catch):
14267 * eval.c (throw_or_bomb_out):
14268 * eval.c (condition_case_1):
14269 * eval.c (signal_1):
14270 * eval.c (check_error_state_sanity):
14271 * eval.c (call_with_suspended_errors_1):
14272 * eval.c (call_with_suspended_errors):
14273 * eval.c (reinit_vars_of_eval):
14274 Added code to catch throw loops and check for a pesky bug that may
14278 * event-msw.c (key_needs_default_processing_p):
14279 * event-msw.c (mswindows_wnd_proc):
14280 * event-msw.c (mswindows_modifier_state):
14281 * event-msw.c (emacs_mswindows_quit_p):
14282 * event-msw.c (vars_of_event_mswindows):
14283 a) Added support for using the alt key to select menu items as is
14284 standard under MS Windows. This is controlled using the variable
14285 menu-accelerator-enabled, just like under X Windows. There is an
14286 option on the options menu to turn this support on. I really
14287 think that it should be on by default under Windows, but I'm not
14288 going to make this change yet.
14290 b) Added support for dynamic display size changes under Windows.
14293 * event-stream.c (maybe_echo_keys):
14294 * event-stream.c (Fnext_event):
14295 * event-stream.c (command_builder_find_leaf):
14296 * event-stream.c (lookup_command_event):
14297 * event-stream.c (execute_command_event):
14298 * event-stream.c (pre_command_hook):
14299 * event-stream.c (post_command_hook):
14300 * event-stream.c (syms_of_event_stream):
14301 * event-stream.c (vars_of_event_stream):
14302 * event-stream.c (complex_vars_of_event_stream):
14303 * events.h (struct command_builder):
14305 a) Tried to clean up a little bit the horribly written x-specific
14306 accelerator code that crept into this file. I moved this code
14307 into menubar-x.c where it belongs. I also needed to move the
14308 command builder structure into the file events.h because it is
14309 accessed directly by this accelerator code. What I didn't do, but
14310 which should be done at some point, is to properly abstract this
14311 code using device methods instead of the kludgy way that it
14312 currently hooks into the event code.
14314 b) Added the lisp variables this-command-properties and
14315 last-command- properties, which should be used to synchronize two
14316 adjacent commands in preference to playing games with the variable
14317 this-command, which is typically what happens.
14319 c) Added some slightly nasty code to hook into the lisp support
14320 for shifted- motion-key selection. This is actually necessary for
14321 somewhat complicated reasons, which are described in
14322 simple.el. (NB: I think the proper thing would be to have the code
14323 that calls the pre and post command hooks also call out to generic
14324 lisp functions in simple.el, where all built-in stuff could be
14325 added. I will think about this more.)
14327 * event-unixoid.c (poll_fds_for_input):
14328 * lread.c (readchar):
14329 * redisplay-tty.c (tty_clear_frame):
14330 * redisplay-x.c (x_get_gc):
14331 * signal.c (interrupt_signal):
14332 And a whole bunch of other files: fixed up places that printed
14333 directly to stderr to instead call the function stderr_out so that
14334 the changes I made under Windows work correctly.
14336 * filemode.c (mode_string):
14340 * frame-msw.c (mswindows_size_frame_internal):
14341 Fixed the computation of frame size and position to keep the frame
14342 within the workspace area, rather than within the physical
14343 dimensions of the screen, so that the frame doesn't overlap window
14344 manager decorations, such as the start menu and toolbar, typically
14345 at the bottom of the screen.
14347 * frame.c (vars_of_frame):
14348 Changed the default frame title format under MS Windows to consist
14349 of buffername-XEmacs, which is standard under MS Windows. I think
14350 it might be a good idea to change this everywhere because I think
14351 it is superior to the current frame title format, but this is the
14352 kind of change that is likely to cause some people to get annoyed,
14353 so I'm not making it.
14355 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14357 * gui-msw.c (mswindows_handle_gui_wm_command):
14358 Fixed compile warnings.
14361 * gui-x.c (strdup_and_add_accel):
14362 * gui-x.c (button_item_to_widget_value):
14364 Added code to automatically put an accelerator onto the beginning
14365 of menu items that don't have one as is now the standard, and is
14366 described more later. Also fixed things so that the menu item
14367 name can be an evaluated expression, again a new standard.
14370 * gui.c (gui_item_add_keyval_pair):
14371 * gui.c (make_gui_item_from_keywords_internal):
14372 * gui.c (gui_add_item_keywords_to_plist):
14373 * gui.c (gui_item_accelerator):
14374 * gui.c (gui_name_accelerator):
14375 * gui.c (gui_item_included_p):
14376 * gui.c (gui_item_display_flush_left):
14377 * gui.c (gui_item_display_flush_right):
14378 * gui.c (parse_gui_item_tree_item):
14379 * gui.c (parse_gui_item_tree_children):
14380 * gui.c (parse_gui_item_tree_list):
14381 Mule-ized. Cleanup. GCPRO addition.
14383 * line-number.c (buffer_line_number):
14385 * lisp.h (EMACS_INT_MAX):
14386 Added the manifest constant EMACS_INT_MIN corresponding to the
14387 existing constant EMACS_INT_MAX. This is partially to fix compile
14388 warnings under Windows, and partly for cleanliness.
14391 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14392 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14393 * menubar-msw.c (displayable_menu_item):
14394 * menubar-msw.c (populate_menu_add_item):
14395 * menubar-msw.c (populate_or_checksum_helper):
14396 * menubar-msw.c (populate_menu):
14397 * menubar-msw.c (update_frame_menubar_maybe):
14398 * menubar-msw.c (prune_menubar):
14399 * menubar-msw.c (msw_char_is_accelerator):
14400 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14401 * menubar-msw.c (mswindows_handle_wm_command):
14402 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14403 * menubar-msw.c (mswindows_handle_wm_initmenu):
14404 * menubar-msw.c (mswindows_update_frame_menubars):
14405 * menubar-msw.c (mswindows_free_frame_menubars):
14406 * menubar-msw.c (mswindows_popup_menu):
14407 Fixed a bug in handling accelerators where an extra character
14408 would be displayed in the menu item. Also generalized the
14409 function displayable_menu_item because it is now used by the
14410 dialog box code as well. And finally, added code in the functions
14411 that create the menubar to extract a list of accelerators for the
14412 top level menubar, which is used in the event code to determine
14413 whether a particular alt-key combination should be used to invoke
14414 a menu item, or should be passed through to access the standard
14415 XEmacs keymap binding for this key combination.
14417 Much needed GCPROing.
14420 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14421 * menubar-x.c (menu_item_descriptor_to_widget_value):
14422 * menubar-x.c (restore_in_menu_callback):
14423 * menubar-x.c (x_popup_menu):
14424 * menubar-x.c (menu_move_up):
14425 * menubar-x.c (menu_move_down):
14426 * menubar-x.c (menu_move_left):
14427 * menubar-x.c (menu_move_right):
14428 * menubar-x.c (menu_select_item):
14429 * menubar-x.c (command_builder_operate_menu_accelerator):
14430 * menubar-x.c (menu_accelerator_junk_on_error):
14431 * menubar-x.c (command_builder_find_menu_accelerator):
14432 * menubar-x.c (Faccelerate_menu):
14434 Moved a whole bunch of code here that was previously in
14435 event-stream.c as described above. There is also code connected
14436 to the new standard of adding an accelerator to the beginning of
14437 menu items that don't have one as described above and below.
14440 * menubar.c (menu_parse_submenu_keywords):
14441 * menubar.c (Fmenu_find_real_submenu):
14442 * menubar.c (Fnormalize_menu_item_name):
14443 * menubar.c (syms_of_menubar):
14444 * menubar.c (vars_of_menubar):
14445 * menubar.c (complex_vars_of_menubar):
14447 a) Cleaned up a bunch of documentation and improved it.
14449 b) XEmacs now automatically adds an accelerator onto the beginning
14450 of any menu items that don't have one. I did this because there
14451 will inevitably be some menu items on the main menubar that don't
14452 have accelerators on them because the package that adds that
14453 particular menu item hasn't yet been fixed up to have accelerators
14454 in them and it looked rather strange to have some items with and
14455 some items without accelerators, especially since even in items
14456 without accelerators, you can, at least under windows, still
14457 access the item through an accelerator corresponding to the first
14458 character in the item's name. If people don't like this behavior,
14459 I can add a variable to turn it off optionally, but I'm not sure
14460 this is a good idea because we really do need to have accelerators
14461 on all of the menu items, and if a package doesn't like the
14462 accelerators being put on the first character, then it should put
14463 the accelerators where they belong.
14465 c) I made a behavior change, which is that the descriptor that
14466 specifies the text of the menu item, which formerly was just a
14467 string, can now also be an evaluated expression. This makes this
14468 descriptor parallel with all of the others, which could also be
14469 evaluated expressions. This also obviates the need for the
14470 keyword :label, which was previously listed in the documentation
14471 as unimplemented, and which was for the same purpose.
14476 * ntproc.c (new_child):
14477 * ntproc.c (sys_spawnve):
14478 * ntproc.c (find_child_console):
14479 * ntproc.c (sys_kill):
14480 Fixed compile warnings. By the way, this file should really go
14481 away entirely, and this will happen as soon as Kirill makes his
14482 final round of process cleanups, which affect the function
14486 * process-nt.c (struct nt_process_data):
14487 * process-nt.c (find_process_from_pid):
14488 * process-nt.c (send_signal_the_nt_way):
14489 * process-nt.c (enable_child_signals):
14490 * process-nt.c (find_child_console):
14491 * process-nt.c (send_signal_the_95_way):
14492 * process-nt.c (nt_finalize_process_data):
14493 * process-nt.c (ensure_console_window_exists):
14494 * process-nt.c (nt_create_process):
14495 * process-nt.c (nt_kill_child_process):
14496 * process-nt.c (nt_kill_process_by_pid):
14497 * process-nt.c (nt_open_network_stream):
14498 * process-nt.c (vars_of_process_nt):
14499 Copied over code from Emacs 20.5 to correctly send signals to sub-
14500 processes under Windows 95. Also added code to automatically
14501 create and hide console window when a sub-process is created under
14502 Windows 95, which obviates the need for the separate runemacs.exe
14503 executable, and finally implemented some variables that were
14504 implemented in Emacs 20.5, but previously not in XEmacs. These
14505 include mswindows- start-process-share-console and
14506 mswindows-start-process-inherit-error-mode. (Both of these only
14507 apply to Windows 95.)
14509 * regex.c (regex_compile): Fixed a compile warning.
14512 * select-msw.c (mswindows_own_selection):
14513 * select-msw.c (mswindows_get_foreign_selection):
14514 * select-msw.c (mswindows_disown_selection):
14515 * select-msw.c (console_type_create_select_mswindows):
14516 * select-msw.c (syms_of_select_mswindows):
14517 Cleaned up the file and implemented the device method
14518 selection_exists_p, which had accidentally been left out. Also
14519 removed four lisp functions that were remnants from before the
14520 time when the selection code was properly device abstracted.
14521 These functions are no longer needed because there are generic
14522 equivalents, and because they were added recently and don't exist
14523 in FSF Emacs, I don't think there's any problem with just deleting
14527 * sysdep.c (sys_subshell):
14528 Fixed a compile warning, although in this case there's probably
14529 something wrong with this code, and it ought to be looked into
14530 more thoroughly by somebody who understands it.
14533 * window.c (Fwindow_text_area_height):
14534 * window.c (Fwindow_width):
14535 * window.c (Fwindow_full_width):
14536 * window.c (Fwindow_pixel_width):
14537 * window.c (debug_print_window):
14538 * window.c (syms_of_window):
14539 Added functions window-text-area-height and window-full-width,
14540 which are functions for returning various width and height
14541 characteristics of a window. (One of these functions is necessary
14542 for making the file dialog box work correctly, and the other one
14543 was added for completeness.) Also added a table to the
14544 documentation for window-height which describes the entire scheme
14545 for accessing width and height characteristics of a window.
14547 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14549 * nt.c (fstat): Added a comment for another problem with
14550 non-encapsulated [f]stat(), reported by Adrian Aichner
14551 <aichner@ecf.teradyne.com>.
14553 2000-03-11 Andy Piper <andy@xemacs.org>
14555 * window.c (make_dummy_parent): initialize subwindow instance
14557 (Fset_window_configuration): zero extent_modiff.
14559 2000-03-10 Andy Piper <andy@xemacs.org>
14561 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14562 more changes can be triggered.
14563 (Fredisplay_frame): ditto.
14564 (Fredraw_device): ditto.
14565 (Fredisplay_device): ditto.
14566 (redisplay_frame): make non-static.
14567 (redisplay_frame): call update_frame_gutter_geometry outside of
14570 * gutter.h: declare update_frame_gutter_geometry.
14572 * redisplay.h: declare redisplay_frame.
14574 * gutter.c (update_frame_gutter_geometry): move geometry changes
14575 in update_frame_gutters here. Geometry changes can only occur
14576 outside of redisplay.
14577 (update_frame_gutters): remove geometry change code.
14578 (Fredisplay_gutter_area): make sure that we are in display when we
14579 update and that we have flushed any size changes.
14581 2000-03-11 Andy Piper <andy@xemacs.org>
14583 * alloc.c (pdump_dump_data): remove i & count shadows.
14585 2000-02-27 Mike Alexander <mta@arbortext.com>
14587 * sysdep.h: Declare pdump_read_file
14589 * sysdep.c (pdump_read_file): New function
14591 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14594 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14596 * lrecord.h: add `lrecord_type_pgsetenv'.
14598 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14600 * symsinit.h: declare (vars|syms)_of* functions.
14601 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14603 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14605 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14607 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14610 * emacs.c (main_1): Call postgres initialization code.
14612 * postgresql.h: New file. PostgreSQL RDBMS support.
14613 * postgresql.c: New file.
14615 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14617 * redisplay-output.c (redisplay_output_display_block): Disable
14620 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14622 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14623 (Fcanna_henkan_next): Ditto.
14624 (Fcanna_bunsetu_henkou): Ditto.
14625 (Fcanna_henkan_kakutei): Ditto.
14626 (Fcanna_henkan_end): Ditto.
14627 (Fcanna_henkan_quit): Ditto.
14628 (Fcanna_henkan_next): Set retun value correctly.
14629 (c2mu): Use unsigned char instead of signed char.
14631 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14633 * emacs.c (main_1): Always call syms_of_gui.
14634 * inline.c: include gui.h
14636 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14638 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14639 converted to Lisp_Object.
14640 (Qtop_bottom): New variable.
14641 (syms_of_redisplay): Initialize it.
14642 * redisplay.h (Vvisible_bell): Ditto.
14643 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14644 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14645 only flash top and bottom.
14647 2000-03-08 Andy Piper <andy@xemacs.org>
14649 * buffer.c (Frename_buffer): record new buffer name the right way.
14651 2000-03-08 Andy Piper <andy@xemacs.org>
14653 * glyphs.c (update_subwindow): increase hash depth so that widget
14654 items get picked up properly.
14656 * redisplay-output.c (compare_runes): increase hash depth so that
14657 widget items get picked up properly.
14659 2000-03-08 Andy Piper <andy@xemacs.org>
14661 * gutter.c (output_gutter): add some debug.
14663 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14664 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14665 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14667 * redisplay-output.c (compare_runes): use display_hash to
14668 determine if glyphs really are not the same.
14670 * glyphs.c (update_subwindow): check display_hash to see if
14671 anything really needs to be updated. If not then do
14672 nothing. Record the display_hash after updating.
14673 (image_instance_equal): compare the image_instance face also.
14675 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14677 * redisplay.h: Fix comment style.
14679 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14681 * consle-msw.h (struct mswindows_frame):
14682 Added new member paint_pending to indicate whether a WM_PAINT
14683 magic event has been queued for this frame.
14685 * event-msw.c (mswindows_drain_windows_queue):
14686 Don't queue a WM_PAINT magic event if one is already queued.
14687 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14689 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14691 2000-03-07 Didier Verna <didier@xemacs.org>
14693 * dired.c: #include `regex.h' after `sysfile.h'.
14695 2000-03-06 Martin Buchholz <martin@xemacs.org>
14697 * sound.c (init_nas_sound): Fix compiler warning.
14699 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14701 (MARK_STRUCT_AS_FREE):
14702 (MARK_STRUCT_AS_NOT_FREE):
14703 Make `gcc -fstrict-aliasing' work properly.
14705 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14707 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14708 (mswindows_delete_device): Call CoUnnitialize().
14710 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14712 2000-02-25 <CraigL@DyCon.com>
14714 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14717 * sysdep.c: This extern declaration for environ prevents MinGW
14718 from finding the variable in CRTDLL.DLL.
14720 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14722 (SHGFI_EXETYPE): ..
14723 (WM_MOUSEWHEEL): ..
14724 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14726 (MMRESULT): Removed, now defined in cygwin's windows headers.
14728 (uid_t,gid_t,pid_t,ssize_t): ..
14729 (_timeb): Removed, MinGW defines both _timeb and timeb.
14730 (HAVE_H_ERRNO): Added.
14731 (HAVE_TZNAME): Added, configure is not detecting this.
14733 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14735 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14736 * syntax.c (syntax_match): Use it.
14738 * cmds.c: Import auto-fill-chars from FSF Emacs.
14739 (Vauto_fill_chars): New variables.
14740 (internal_self_insert): Check Vauto_fill_chars.
14742 Declare auto-fill-chars as a Lisp variable and initialize it.
14744 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14746 * fileio.c (Fmake_symbolic_link):
14748 Run handlers even if local machine doesn't have symlinks.
14750 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14752 * event-msw.c (mswindows_drain_windows_queue):
14753 Don't generate paint magic events for non-XEmacs frames.
14755 2000-03-05 Andy Piper <andy@xemacs.org>
14757 * redisplay.c (redisplay_frame): generate_displayable_area and
14758 friends assumes that we are not in GC, we therefore have to make
14759 sure that this doesn't happen.
14761 * gutter.c (calculate_gutter_size): generate_displayable_area
14762 assumes that we are not in GC, we therefore have to make sure that
14763 this doesn't happen.
14765 2000-03-05 Martin Buchholz <martin@xemacs.org>
14767 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14769 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14771 * redisplay.c (regenerate_window): Make sure we set a sane value
14772 for end_pos even if we jump out of the loop.
14773 (regenerate_window): Answer Ben's question :-).
14774 (start_end_of_last_line): Add may_error argument.
14775 (start_of_last_line):
14776 (end_of_last_line): Pass may_error = 0.
14777 (end_of_last_line_may_error): New function.
14778 (pixel_to_glyph_translation): Use it, so we don't crash in
14781 2000-03-04 Andy Piper <andy@xemacs.org>
14783 * window.h (struct window): add gutter_extent_modiff.
14785 * window.c (allocate_window): zero out gutter_extent_modiff.
14787 * redisplay.h: declare sync_display_line_structs.
14789 * redisplay.c (add_glyph_rune): add a better comment.
14791 * redisplay-output.c (sync_display_line_structs): made non-static.
14792 (compare_runes): remove unneccesary glyph cachel access.
14794 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14796 * gutter.c (output_gutter): don't output the gutter if extent
14797 changes only involve extents in buffers. use 4 sets of display
14799 (gutter_extent_signal_changed_region_maybe): new function. Mark
14800 extents in gutters as changed.
14801 (update_frame_gutters): use 4 sets of display lines.
14802 (reset_gutter_display_lines): ditto.
14803 (free_frame_gutters): ditto.
14804 (redraw_exposed_gutter): force output of gutters.
14806 * frame.h (struct frame): add 4 sets of gutter display lines.
14808 * extents.c: (extent_changed_for_redisplay): signal changes to
14809 extents in strings in the gutter as well as extents in buffers.
14811 2000-03-02 Andy Piper <andy@xemacs.org>
14813 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14815 * frame.c (Fmake_frame): make sure the gutters get initialized
14816 after the frame is visible.
14817 (set_frame_selected_window): re-arrange compilation macros a
14819 (change_frame_size_1): mark gutters changed.
14821 * device.c (Fset_device_class): mark gutters changed.
14823 2000-03-01 Andy Piper <andy@xemacs.org>
14825 * window.c (window_top_frame_gutter_height): deleted.
14826 (window_bottom_frame_gutter_height): ditto.
14827 (window_left_frame_gutter_height): ditto.
14828 (window_right_frame_gutter_height): ditto.
14829 (window_top_gutter_height): don't use them.
14830 (window_bottom_gutter_height): ditto.
14831 (window_left_gutter_width): ditto.
14832 (window_right_gutter_width): ditto.
14833 (Fsplit_window): ditto.
14834 (Fwindow_pixel_edges): don't use border dimensions here.
14836 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14837 (update_scrollbar_instance): ditto.
14839 * redisplay.c (generate_modeline): don't take gutters into account.
14840 (generate_modeline): ditto.
14841 (redisplay_frame): small gutter display optimization.
14843 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14845 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14846 gutters into account.
14848 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14849 for window position and type.
14851 * gutter.c (get_gutter_coords): fix for frame gutters.
14852 (update_frame_gutters): update frame geometry if the gutters have
14854 (init_frame_gutters): record current gutter geometries.
14856 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14858 (mswindows_widget_instantiate): ditto.
14860 * frame.h (struct frame): add current_gutter_bounds.
14862 * frame.c (change_frame_size_1): position window and minibuffer
14863 appropriately taking into account the frame gutters.
14865 * frame-x.c: (x_initialize_frame_size): take into account the
14868 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14870 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14872 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14874 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14876 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14878 * file-coding.c (reset_decoding_stream): Clear previous
14879 detection state when autodetect.
14881 2000-02-29 Didier Verna <didier@xemacs.org>
14883 * extents.c (set_extent_glyph_1): don't require extents to be
14886 2000-02-27 Andy Piper <andy@xemacs.org>
14888 * gutter.c (Fset_default_gutter_position): don't default left and
14889 right gutter visibility to t.
14890 (Fset_default_gutter_position): run
14891 default-gutter-position-changed-hook.
14892 (syms_of_gutter): add default-gutter-position-changed-hook.
14894 2000-02-26 Andy Piper <andy@xemacs.org>
14896 * specifier.c (Fmake_specifier): add gutter references.
14898 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14900 * lisp.h: declare Fvalid_plist_p.
14902 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14904 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14905 well as its visibility so that it gets reconstructed.
14906 (construct_window_gutter_spec): new function. Construct a string
14907 to be displayed in the gutter from a plist of strings. Take care
14908 to only use elements that are declared as visible.
14909 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14911 (gutter_validate): allow plists of strings in the specifier.
14912 (gutter_specs_changed): construct the real_gutter from the gutter
14913 specs using construct_window_gutter_spec.
14914 (gutter_visible_validate): gutter-visible is a new specifier type.
14915 (Fgutter_visible_specifier_p): new function for the new specifier.
14916 (syms_of_gutter): declare gutter-visible and
14917 Fgutter_visible_specifier_p.
14918 (specifier_type_create_gutter): intitalize new gutter-visible
14920 (reinit_specifier_type_create_gutter): ditto.
14921 (specifier_vars_of_gutter): use new specifier type for gutter
14923 (init_frame_gutters): construct real_gutter correctly.
14924 (Fgutter_specifier_p): beef up documentation.
14925 (Fgutter_size_specifier_p): ditto.
14927 * winslots.h: add real_gutter slots.
14929 2000-02-25 Andy Piper <andy@xemacs.org>
14931 * device-msw.c: Be kind to older cygwin versions. From Raymond
14932 Toy <toy@rtp.ericsson.se>.
14934 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14935 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14937 2000-02-25 Martin Buchholz <martin@xemacs.org>
14939 * elhash.c (MARK_OBJ): Practice macro hygiene.
14941 2000-02-24 Martin Buchholz <martin@xemacs.org>
14943 * miscplay.c: s/__inline__/inline/g;
14944 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14945 (get_device_compdc): INLINE ==> static inline
14946 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14947 find -name '*.h' | \
14948 xargs global-replace \
14949 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14951 2000-02-25 Andy Piper <andy@xemacs.org>
14953 * window.c (window_top_frame_gutter_height): new function.
14954 (window_top_window_gutter_height): ditto.
14955 (window_top_gutter_height): use them.
14956 (window_bottom_frame_gutter_height): new function.
14957 (window_bottom_window_gutter_height): ditto.
14958 (window_bottom_gutter_height): use them.
14959 (window_left_window_gutter_width): new function.
14960 (window_left_frame_gutter_width): ditto.
14961 (window_left_gutter_width): use them.
14962 (window_right_window_gutter_width): new function.
14963 (window_right_frame_gutter_width): ditto.
14964 (window_right_gutter_width): use them.
14965 (window_pixel_height): new function. calulate window pixel height
14966 with frame gutter involvement.
14967 (Fsplit_window): calculate new sizes taking frame gutters into
14969 (window_char_height_to_pixel_height): don't include frame gutters.
14970 (window_char_height): use window_pixel_height.
14971 (window_pixheight): rename from window_pixel_height.
14972 (change_window_height): use it.
14973 (window_pixel_height_to_char_height): don't include frame gutters.
14974 (window_char_width_to_pixel_width): ditto.
14976 2000-02-25 Andy Piper <andy@xemacs.org>
14978 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14981 2000-02-24 Martin Buchholz <martin@xemacs.org>
14983 * alloc.c (staticpro):
14984 (staticpro_nodump):
14989 (compact_string_chars):
14990 (pdump_dump_wired):
14991 Convert: if (foo) abort(); ==> assert (! foo);
14993 * eldap.c (Fldap_search_basic):
14997 Fix compiler warnings, and possible crashes if (random) return
14998 value were to be used.
15000 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15002 * device-msw.c: Workaround ResetDC failure.
15004 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
15005 applying a devmode.
15007 * redisplay-msw.c (get_frame_dc): Added start_page_p.
15008 (mswindows_text_width): Do not start printer page.
15010 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
15012 * glyphs-msw.c: Added image methods to msprinter console and
15013 msprinter-specific image instantiation.
15015 2000-02-20 Mike Alexander <mta@arbortext.com>
15017 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
15018 to avoid crashes when selection-sets-clipboard is on
15019 (mswindows_own_selection): ditto
15021 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15024 * redisplay-msw.c (get_frame_dc):
15025 (get_frame_compdc):
15027 * device-msw.c (mswindows_init_device):
15028 (mswindows_delete_device):
15029 (msprinter_init_device):
15030 (msprinter_delete_device):
15031 * frame-msw.c (mswindows_init_frame_1):
15032 (mswindows_delete_frame):
15033 (msprinter_init_frame_3):
15034 (msprinter_delete_frame): Move compatible DC to device object from
15035 frame object, for both mswindows and msprinter. Only one at a time
15036 is needed, it is a real waste to have one per frame!
15038 2000-02-23 Andy Piper <andy@xemacs.org>
15040 * glyphs.c: add dynamic width and height elements.
15041 (image_instance_equal): ditto.
15043 * glyphs-widget.c (widget_query_geometry): calculate width and
15044 height dynamically if required.
15045 (initialize_widget_image_instance): initialize dynamic dimensions.
15046 (widget_instantiate): pick-up dynamic dimensions.
15048 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15049 dynamic determination. Add appropriate macros.
15051 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15053 (WINDOW_GUTTER_SIZE): ditto.
15054 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15056 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15058 (get_frame_dc): ditto.
15060 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15063 2000-02-23 Martin Buchholz <martin@xemacs.org>
15065 * XEmacs 21.2.31 is released.
15067 2000-02-22 Ben Wing <ben@xemacs.org>
15069 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15071 2000-02-22 Andy Piper <andy@xemacs.org>
15073 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15075 2000-02-21 Mike Sperber <mike@xemacs.org>
15079 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15082 2000-02-21 Mike Sperber <mike@xemacs.org>
15084 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15086 2000-02-21 Martin Buchholz <martin@xemacs.org>
15088 * XEmacs 21.2.30 is released.
15090 2000-02-20 Martin Buchholz <martin@xemacs.org>
15092 Performance hacking.
15094 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15095 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15096 * emacs.c (main_1):
15098 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15099 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15100 * symeval.h (DEFVAR_SYMVAL_FWD):
15101 * symbols.c (guts_of_unbound_marker):
15102 Make all c_readonly objects also lisp_readonly and marked for life.
15103 * lrecord.h (struct lrecord_implementation):
15104 Document flags better.
15105 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15106 * lrecord.h (DECLARE_LRECORD):
15107 * lrecord.h (XSETRECORD):
15108 * lrecord.h (RECORDP):
15109 * lrecord.h (RECORD_TYPEP):
15110 * lrecord.h (RECORD_MARKER): New.
15111 * lrecord.h (error_check_*):
15112 * lrecord.h (CONCHECK_NONRECORD):
15113 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15114 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15115 * lrecord.h (set_lheader_implementation):
15116 * lrecord.h (enum lrecord_type): New.
15117 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15118 * alloc.c (disksave_object_finalization_1):
15119 * alloc.c (mark_object):
15120 * alloc.c (lrecord_type_index):
15121 * alloc.c (tick_lcrecord_stats):
15122 * alloc.c (Fgarbage_collect):
15123 * alloc.c (init_alloc_once_early):
15124 * alloc.c (pdump_load):
15125 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15126 * alloc.c (lrecord_type_index): Delete.
15127 Make lisp object type indexes be constant.
15128 Makes (byte-compile) 5% faster.
15129 Put all marker functions into their own array.
15130 Makes (garbage-collect) 5% faster.
15131 Optimize SYMBOL_VALUE_MAGIC_P.
15132 Makes (byte-compile) 2-3% faster.
15133 * config.h.in (gc_checking_assert): New.
15134 * alloc.c: Use gc_checking_assert().
15135 * .dbxrc: Make compatible with new object type implementation.
15136 * .gdbinit: Make compatible with new object type implementation.
15137 * alloc.c: Delete all symbols defined only for debugging, such as
15138 Lisp_Type_Vector and lrecord_charset.
15140 2000-02-21 Andy Piper <andy@xemacs.org>
15142 * gui-msw.c (Fmswindows_shell_execute): fix file location
15145 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15146 unshowing so that set_window_buffer doesn't undo
15147 kill_buffer_hook's hard work.
15149 * glyphs-widget.c (tab_control_query_geometry): don't count the
15150 first item when calculating geometry.
15152 * glyphs.c (map_subwindow): remove redundant code.
15153 (update_frame_subwindows): be more circumspect about when to
15156 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15157 when items haven't changed. Update faces if faces have changed as
15158 well as just the widget face.
15159 (x_tab_control_update): Update faces if faces have changed as well
15160 as just the widget face.
15162 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15164 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15166 (build_syscolor_string): Use mswindows_color_to_string to try to
15168 (mswindows_device_system_metrics): Reverse the foreground and
15169 background colors so that they match the documentation.
15171 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15172 they match the default Windows palette.
15173 (mswindows_color_to_string): New function.
15175 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15177 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15179 2000-02-18 Olivier Galibert <galibert@pobox.com>
15181 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15182 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15184 * symbols.c (init_symbols_once_early): Removed obsolete
15185 DATA_SEG_BITS related kludge.
15186 (defvar_magic): Ditto.
15188 * malloc.c: Removed obsolete DATA_SEG_BITS
15190 * mem-limits.h: Ditto.
15192 * Makefile.in.in: Removed obsolete HAVE_SHM
15195 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15197 * device-msw.c (mswindows_delete_device): Free DDE string
15200 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15202 * keymap.c (get_keyelt):
15203 * unexnt.c (unexec):
15204 * vm-limit.c (memory_warnings):
15205 * ntheap.c (recreate_heap):
15206 * ntheap.h (UNINIT_PTR):
15207 * select-msw.c (Fmswindows_get_clipboard):
15208 (Fmswindows_set_clipboard):
15209 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15211 * menubar-msw.c (displayable_menu_item):
15213 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15214 * sysdep.c (sys_subshell):
15215 * process-nt.c (nt_create_process):
15216 * nt.c (normalize_filename):
15217 (dostounix_filename):
15218 (unixtodos_filename):
15219 * ntproc.c (win32_executable_type):
15220 * ntplay.c (play_sound_data_1):
15222 * editfns.c (get_home_directory):
15223 * event-msw.c (struct winsock_stream):
15224 (mswindows_dde_callback):
15225 * device-msw.c (msprinter_init_device):
15226 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15228 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15229 mswindows_clear_toolbar were swapped!
15231 * objects-msw.c:(colormap_t):
15233 * emacs.c (struct standard_args): Fixed const jumble.
15235 * glyphs-widget.c (update_widget): Fixed comparison notation.
15237 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15239 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15240 __declspec(noreturn) syntax.
15242 2000-02-19 Martin Buchholz <martin@xemacs.org>
15244 * eldap.c (Fldap_open):
15245 (Fldap_search_basic):
15248 Use new coding system conversion macros.
15250 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15252 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15254 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15256 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15257 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15259 * eldap.c (Qadd, Qreplace): New constant symbols
15260 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15261 interruptions by XEmacs signals
15262 Remove unnecessary calls to slow_down_interrupts and
15263 speed_up_interrupts
15264 (Fldap_search_basic): Renamed from Fldap_search_internal
15265 Added new optional parameter VERBOSE that triggers the
15266 display of progress messages
15267 Remove unnecessary calls to slow_down_interrupts and
15268 speed_up_interrupts
15269 LDAP result code analysis rewritten
15270 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15271 (syms_of_eldap): Define the new symbols and functions
15274 2000-02-17 Martin Buchholz <martin@xemacs.org>
15276 * realpath.c: Determine PATH_MAX maximally portably.
15278 * insdel.c (bytecount_to_charcount): Optimize.
15279 The function used to be optimized for entirely ASCII sequences.
15280 Now it is optimized for successive characters from the same
15281 charset. This also wins big for _mostly_ ASCII sequences.
15283 * fileio.c (Ffile_truename): convert return from realpath() using
15284 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15285 - Rewrite GCPROing slightly.
15287 * sysdep.c (sys_open): Do filename conversion, like all other
15288 sys_* functions. Fixes bug:
15289 (let ((file-name-coding-system 'iso-8859-2))
15290 (write-region x y latin2-name))
15291 ==> writes filename using internal encoding.
15293 2000-02-18 Martin Buchholz <martin@xemacs.org>
15295 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15296 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15297 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15298 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15299 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15300 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15301 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15302 (CONST_IF_NOT_DEBUG): Delete.
15303 * alloc.c (this_one_is_unmarkable): Delete.
15304 (mark_object): Don't check for this_one_is_unmarkable. Use the
15305 c_readonly flag instead.
15306 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15308 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15310 * event-msw.c (mswindows_drain_windows_queue):
15311 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15312 away redundant repaint events.
15314 2000-02-17 Andy Piper <andy@xemacs.org>
15316 * redisplay.h: declare mark_redisplay_structs.
15318 * redisplay.c (redisplay_window):
15319 (redisplay_frame): don't check subwindows_state_changed.
15320 (mark_redisplay): mark gutters here.
15322 * glyphs.c: (instantiate_image_instantiator): always layout if we
15323 haven't done so already.
15324 (allocate_image_instance): don't mark as dirty.
15325 (update_subwindow): bind inhibit_quit.
15327 * gutter.c (mark_gutters): new function.
15329 * glyphs-x.c (x_update_widget): Always resize to get round a
15332 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15333 breaking absolutely everything.
15335 * gutter.h: declare mark_gutters.
15337 2000-02-16 Martin Buchholz <martin@xemacs.org>
15339 * XEmacs 21.2.29 is released.
15341 2000-02-15 Olivier Galibert <galibert@pobox.com>
15343 * fns.c (size_bit_vector): Fix computation of the size.
15345 2000-02-15 Martin Buchholz <martin@xemacs.org>
15347 * *.[ch]: Change CONST to const globally.
15348 find -name '*.[ch]' | \
15349 xargs global-replace \
15350 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15351 - Remove vestigial references to CONST_IS_LOSING
15353 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15355 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15356 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15357 events instead of dispatching them directly.
15358 (mswindows_handle_paint): New function to do repainting.
15359 (mswindows_wnd_proc):
15360 (emacs_mswindows_handle_magic_event): Call above function.
15362 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15364 * objects-msw.c (mswindows_create_font_variant): Return the new
15366 (initialize_font_instance): Get font metrics from the underlined
15367 variant of the font to cope with the case where the underlined
15368 font has a bigger descent.
15370 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15372 * gui.c (gui_item_accelerator): Return the first underlined
15373 character in item name.
15375 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15377 * lisp.h: Added Qprinter.
15379 * general.c (syms_of_general): Initialized it.
15381 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15383 (get_frame_compdc): Made inline.
15385 * console.h (struct console_methods): Added eject_page method.
15387 * frame.h: Added FRAME_DISPLAY_P and friends.
15388 Aligned backslahes in many macros in more readable fashion.
15389 Added page_number to struct frame, and an accessor macro
15392 * defice.h: Added DEVICE_DISPLAY_P and friends.
15394 * device.c (Fdevice_printer_p): Used these.
15396 * frame.c (allocate_frame_core): Initialize page number.
15397 (Fprint_job_page_number):
15398 (Fprint_job_eject_page): Implemented.
15400 * frame-msw.c (msprinter_eject_page): Added method.
15401 (msprinter_start_page): Added.
15403 * window.c (Fwindow_truncated_p): Fixed docstring.
15404 (Fwindow_last_line_visible_height): Implemented.
15406 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15408 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15410 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15412 * syntax.c (scan_words): Always advance at least one character.
15414 2000-02-13 Andy Piper <andy@xemacs.org>
15416 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15417 to make sure the glyph is in the cachels.
15419 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15420 global image instance flag.
15421 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15422 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15424 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15425 (Fset_image_instance_property): mark layout as changed.
15426 (invalidate_glyph_geometry_maybe): mark layout as changed.
15427 (glyph_width): use new NEEDS_LAYOUT macro.
15428 (glyph_ascent): ditto.
15429 (glyph_descent): ditto.
15430 (glyph_height): ditto.
15431 (image_instance_layout): mark layout as clean after laying out.
15432 (update_subwindow): don't mark layout as clean here.
15434 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15435 should no longer be needed.
15437 * glyphs-x.c (x_update_widget): sanitize asserts.
15438 (x_finalize_image_instance): sanitize assignment to widgets.
15440 * glyphs-widget.c (widget_instantiate): don't need to clear the
15443 2000-02-13 Martin Buchholz <martin@xemacs.org>
15445 * sysdep.c (getcwd): Use standard prototype.
15446 * sysdep.h (getcwd): Use standard prototype.
15448 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15449 (sequence, start, end).
15450 Remove redundant type checking.
15451 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15452 view of `caller-protects') to avoid a crash where the real fix was
15455 2000-02-12 Martin Buchholz <martin@xemacs.org>
15457 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15459 * s/sol2.h: Remove feature macro initialization.
15461 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15462 (vector_hash): New. Code from internal_hash.
15464 Fix up allocation subsystem comments.
15466 * config.h.in: Add __EXTENSIONS__ for Solaris.
15468 * systime.h (EMACS_GETTIMEOFDAY): New.
15469 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15470 Remove Solaris-specific code.
15471 Use void* for the (ignored) second arg for gettimeofday().
15473 * elhash.c (hash_table_hash): Implement it, finally.
15474 * elhash.c: Use hashcode_t.
15476 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15477 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15479 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15480 * fns.c (size_bit_vector):
15481 * alloc.c (size_vector):
15482 (make_vector_internal):
15483 (make_bit_vector_internal):
15484 (sweep_bit_vectors_1):
15485 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15487 2000-02-10 Martin Buchholz <martin@xemacs.org>
15489 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15490 Include strings.h to avoid warnings for bzero and strcasecmp.
15492 2000-02-10 Olivier Galibert <galibert@pobox.com>
15494 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15495 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15497 * fns.c (size_bit_vector): New. Declare bit vectors as a
15500 2000-02-10 Olivier Galibert <galibert@pobox.com>
15502 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15503 use a value field instead.
15504 (symbol_value_forward_forward): Use value field.
15505 (DEFVAR_SYMVAL_FWD): Use value field.
15506 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15507 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15508 (DEFVAR_CONST_INT): Ditto.
15509 (DEFVAR_BOOL): Ditto.
15510 (DEFVAR_CONST_BOOL): Ditto.
15511 (DEFVAR_INT_MAGIC): Ditto.
15512 (DEFVAR_BOOL_MAGIC): Ditto.
15514 * symbols.c (guts_of_unbound_marker): Use value field.
15515 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15516 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15518 * lisp.h: Declare dumpopaque and noninteractive1.
15520 * alloc.c (dumpopaque): Added.
15521 (pdump_dump_opaquevec): Added.
15522 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15523 (pdump_load): Reload opaque data. Sync noninteractive1 with
15526 2000-02-10 Andy Piper <andy@xemacs.org>
15528 * glyphs.c (image_instance_layout): if the size changes, mark it
15531 * redisplay-output.c (redisplay_output_layout): Update the
15533 (redisplay_output_subwindow): ditto.
15535 * glyphs.c (update_subwindow): make sure we reset flags for
15536 layouts as well as everything else.
15538 * glyphs-widget.c (layout_layout): don't need to set the instances
15541 2000-02-09 Martin Buchholz <martin@xemacs.org>
15543 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15544 not HAVE_DLOPEN, which is a lower-level thing.
15546 * .cvsignore: Ignore gmon.out
15548 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15550 * .cvsignore: Ignore portable dumper xemacs.dmp file
15552 2000-02-09 Andy Piper <andy@xemacs.org>
15554 * redisplay-output.c (redisplay_output_layout): be more clever
15555 about when we output based on the changed flags.
15557 * glyphs.h (struct image_instantiator_methods): add update_method.
15558 (struct Lisp_Image_Instance): add changed flags. Declare new
15559 macros for manipulating them.
15561 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15562 (image_instance_parent_glyph): find an image_instance's parent
15563 glyph or image_instance.
15564 (image_instance_layout): mark the size as changed.
15565 (set_image_instance_dirty_p): new function. mark an image
15566 instance, plus all of its parents, as dirty.
15567 (Fset_image_instance_property): use it.
15568 (Fglyph_animated_timeout_handler): use it.
15569 (update_subwindow): call update_widget and device methods for
15570 update_subwindow. Mark all changed flags as clean.
15571 (Fresize_subwindow): mark size as changed.
15573 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15575 (x_update_subwindow): only resize subwindows here.
15576 (x_update_widget): new function. Update all changed properties of
15578 (x_resize_subwindow): deleted.
15579 (x_widget_set_property): deleted.
15580 (x_progress_gauge_set_property): deleted.
15581 (x_progress_gauge_update): new function. Implement recorded
15583 (x_tab_control_update): ditto.
15584 (x_tab_control_set_property): deleted.
15585 (console_type_create_glyphs_x): declare new functions.
15586 (image_instantiator_format_create_glyphs_x): ditto.
15588 * glyphs-widget.c (widget_set_property): mark text changed.
15589 (update_widget): new function. Update properties of a widget.
15590 (widget_instantiate): for layouts make sure we set their
15591 children's parent correctly.
15592 (tab_control_set_property): new function. Record changes that will
15593 take place under redisplay's control.
15594 (progress_gauge_set_property): ditto.
15595 (image_instantiator_progress_guage): declare new functions.
15596 (image_instantiator_tab_control): ditto.
15598 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15600 (mswindows_update_widget): new function. Update all properties on
15601 a widget that have changed.
15602 (mswindows_button_update): new function. Update a button's set
15604 (mswindows_tab_control_update): new function. Update the items in
15606 (mswindows_tab_control_set_property): deleted.
15607 (mswindows_progress_gauge_update): new function. Update the
15608 progress gauge's progress.
15609 (mswindows_widget_set_property): deleted. This is all done
15610 asynchronously now.
15611 (mswindows_progress_gauge_set_property): ditto.
15612 (console_type_create_glyphs_mswindows): declare new methods.
15613 (image_instantiator_format_create_glyphs_mswindows): ditto.
15615 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15616 (msprinter_set_frame_properties): ditto.
15618 * console.h (struct console_methods): Add update_widget_method.
15620 2000-02-09 Andy Piper <andy@xemacs.org>
15622 * gui-msw.c (Fmswindows_shell_execute): Make
15623 mswindows-shell-execute industrial strength.
15625 2000-02-08 Martin Buchholz <martin@xemacs.org>
15627 * lrecord.h: Make macro argument `props' match member function `plist'.
15630 * fns.c (Fremprop):
15631 * fns.c (Fobject_plist):
15634 Object property list frobbing cleanup.
15635 - Allow any lisp object (compared with `eq'), not just symbols, as
15636 keys in object plists.
15637 - Move symbol plist frobbing into symbols.c, where it belongs.
15638 - Move string plist frobbing into alloc.c, where it belongs.
15639 - Everything's an lrecord now, so no need to test for symbolp, etc.
15640 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15642 * extents.c: Reorder code to remove declarations.
15644 * frame.h (store_in_alist): Remove useless declaration.
15646 2000-02-07 Martin Buchholz <martin@xemacs.org>
15648 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15649 * config.h.in: Add HAVE_XCONVERTCASE.
15651 2000-02-07 Andy Piper <andy@xemacs.org>
15653 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15654 it breaks many things.
15656 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15658 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15659 actually can start a common comment type.
15660 * src/syntax.h (SYNTAX_END_P): ditto for end.
15662 2000-02-07 Martin Buchholz <martin@xemacs.org>
15664 * XEmacs 21.2.28 is released.
15666 2000-02-06 Martin Buchholz <martin@xemacs.org>
15668 * event-Xt.c (x_keysym_to_character): New.
15669 (maybe_define_x_key_as_self_inserting_character): New.
15670 (x_has_keysym): New.
15671 Auto-define all keys on the keyboard as self-insert-key.
15673 2000-02-02 Martin Buchholz <martin@xemacs.org>
15675 * menubar.c (vars_of_menubar): A small code simplification.
15677 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15680 * ExternalClient.c:
15681 * EmacsShell-sub.c:
15684 Use consistent style for specifying X resources.
15686 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15687 This makes (dontusethis-set-symbol-value-handler) actually usable.
15689 * lrecord.h (lrecord_decription_type):
15690 * alloc.c (pdump_register_sub):
15693 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15694 Comply with XEmacs coding style.
15695 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15696 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15698 * keymap.c (Faccessible_keymaps):
15699 Make (accessible-keymaps map "\C-h") do the Right Thing.
15700 Make (accessible-keymaps map []) do the Right Thing.
15701 Make (accessible-keymaps map "") do the Right Thing.
15702 (check_keymap_definition_loop): New function.
15703 (keymap_store_internal): Keep luser from shooting self in foot,
15704 via (define-key ctl-x-4-map "p" global-map).
15705 Remove fullness slot from struct Lisp_Keymap, since hash tables
15707 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15709 2000-01-30 Martin Buchholz <martin@xemacs.org>
15711 * redisplay.c (init_redisplay): Fix small memory leak.
15713 * elhash.c (pdump_reorganize_hash_table):
15714 Rename from reorganize_hash_table. Change prototype.
15715 Reuse the original memory for hentries. Save 100k.
15716 * alloc.c (PDUMP_READ): new macro.
15717 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15718 * alloc.c: No need to #ifndef before #undef.
15720 * print.c: Allow debug_print() to print readably by modifying
15721 debug_print_readably. Use consistent variable names.
15723 * .dbxrc: Try to get things to work even if stopped in a function
15724 without source available by explicitly specifying source files.
15725 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15727 * unexnt.c (_start): Removed bogus code which caused loading heap
15728 from differrent executable file.
15729 Removed bogus assignment to _fmode, which caused inconsistencies.
15731 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15733 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15734 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15735 Do not preliminary `#define signal sigset'.
15737 * systime.h: Do not prototype environ on windows nt and cygwin,
15738 this conflicts with system header.
15740 * syssignal.h: Use correct define for WINDOWSNT
15742 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15743 with system header.
15745 * sysdep.c (near start of file): Fixed commentary and rearranged
15746 ifdefs in readable order.
15747 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15750 (end_of_data): Do not compile in if using PDUMP.
15752 * symsinit.h: Prototyped vars_of_nt().
15754 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15755 (find_child_console): Use it.
15756 (sys_kill): Use it.
15758 * ntheap.h: Do not extern os_subtype.
15760 * ntheap.c (cache_system_info): Do not cache unneeded:
15761 nt_major_version, nt_minor_version and os_subtype.
15762 (recreate_heap): Do not compile in when PDUMPing.
15764 * nt.c (geteuid and friends): Use the new varibale
15765 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15766 (init_user_info): Removed the above mentioned hackery.
15767 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15768 stat has been fixed in the C runtime.
15769 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15771 * file-coding.c (struct file_coding_dump): Do not define
15772 ucs_to_mule_table in the struct if not MULE.
15773 (struct struct lrecord_description fcd_description_1): Do not dump
15776 * emacs.c (main_1): Call vars_of_nt().
15777 (right before Fdump_emacs_data): Don't need lastfile if using both
15778 portabe dumper and system malloc.
15780 * alloc.c (Fmemory_limit): Conditionalized out.
15781 (pdump): Use OPEN_BINARY for the portable dump file.
15782 (pdump_load): Ditto.
15784 2000-02-02 Mike Alexander <mta@arbortext.com>
15786 * nt.c (convert_time): Set tm_isdst before calling mktime and
15787 avoid calling it at all if the compiler supports 64 bit integers.
15788 Also initialize utc_base_ft before using it.
15790 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15792 * frame.c (change_frame_size_1): Take f->internal_border_width
15793 into consideration when calculating the width of the frame.
15795 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15797 * window.c (frame_min_height):
15798 (frame_size_valid_p):
15799 (frame_pixsize_valid_p): Added.
15800 (check_frame_size): Generalized.
15802 * window.h: Prototyped the above.
15805 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15806 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15807 Deleted Vwin32_* and Vbinary_process_* unused variables.
15809 * device-msw.c (msprinter_init_device): Do not get printer font
15810 list; Added DEVMODE functions.
15812 * frame-msw.c: Added lots of printer code.
15814 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15817 * console-msw.h: Added more msprinter device private slots.
15819 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15821 * event-msw.c (key_needs_default_processing_p): Added.
15822 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15824 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15826 * glyphs.c (image_instance_layout): Mark image instance as clean
15828 (glyph_dirty_p): Removed redundant function.
15829 (invalidate_glyph_geometry_maybe): Added.
15830 (update_glyph_cachel_data): Call it.
15832 * glyphs.h: Prototyped it.
15834 * redisplay.c (add_glyph_rune): Call it.
15835 (redisplay_window): Reset glyphs cachels when frame faces have
15836 changed, thus forcing recomputation of built-in border glyphs.
15838 2000-01-30 Martin Buchholz <martin@xemacs.org>
15840 * Makefile.in.in: Make portable dumper and purify play well together.
15841 Add imperfect, but better than nothing, support for pdump.
15842 Remove xemacs.dmp when temacs is re-generated.
15843 Don't ignore errors when dumping xemacs.
15845 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15847 2000-01-28 Andy Piper <andy@xemacs.org>
15849 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15850 (setup_normal_frame): ditto.
15851 (setup_frame_without_minibuffer): ditto.
15852 (setup_minibuffer_frame): ditto.
15853 (delete_frame_internal): ditto.
15854 (Fmake_frame_invisible): ditto.
15855 (Ficonify_frame): ditto.
15857 * window.h: change Fset_window_buffer signature.
15859 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15860 (Fset_window_buffer): allow recording of buffer if the window is
15861 the selected window.
15862 (window_loop): Use new Fset_window signature.
15864 2000-01-23 Daniel Pittman <daniel@danann.net>
15866 * config.h.in: Added template for `HAVE_ATHENA_3D'
15868 2000-01-29 Andy Piper <andy@xemacs.org>
15870 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15872 * gutter.c (output_gutter): Don't output if the window isn't live.
15874 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15876 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15877 of 01/12/00: Moved SetFocus back here where it belongs.
15879 2000-01-23 Andy Piper <andy@xemacs.org>
15881 * s/cygwin32.h: declare printer things.
15883 2000-01-26 Andy Piper <andy@xemacs.org>
15885 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15888 2000-01-24 Andy Piper <andy@xemacs.org>
15890 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15891 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15893 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15895 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15897 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15899 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15900 (mswindows_output_display_block): Avoid local shadows.
15902 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15903 (mswindows_enqueue_mouse_button_event): ditto.
15904 (mswindows_handle_gui_wm_command): remove declaration.
15906 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15909 * console-msw.h: Avoid shadows.
15910 (mswindows_get_toolbar_button_text):
15911 (emacs_mswindows_create_stream_pair):
15912 (emacs_mswindows_delete_stream_pair):
15913 (mswindows_handle_toolbar_wm_command): declare.
15915 * device-msw.c (build_syscolor_string): Avoid shadows.
15917 2000-01-23 Andy Piper <andy@xemacs.org>
15919 * glyphs-widget.c (widget_instantiate): reverse the items for
15920 layouts so that children are in the expected order.
15922 2000-01-28 Martin Buchholz <martin@xemacs.org>
15924 * ralloc.c: safe_bcopy ==> memmove
15925 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15926 * s/msdos.h: Remove BCOPY macros.
15927 * insdel.c (gap_right): Remove BCOPY conditional code.
15928 * insdel.c (gap_left): Remove BCOPY conditional code.
15929 XEmacs demands a working ANSI C compiler - hence memmove.
15931 * regex.c (regex_compile): Remove accidental use of trigraphs.
15933 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15935 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15938 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15940 * event-msw.c (mswindows_drain_windows_queue): Added the
15942 (mswindows_need_event): Commented the call to
15943 mswindows_drain_windows_queue().
15944 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15947 * console-msw.h: Moved a few function prototypes here from
15950 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15951 parameter from unsigned short to unsigned long.
15952 (Fmswindows_shell_execute): Added return value.
15954 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15956 * sysdep.c (init_system_name):
15957 process-unix.c (unix_canonicalized_host_name):
15958 Don't call freeaddrinfo() if getaddrinfo() fails.
15960 * process-unix.c (unix_open_unix_network_stream):
15961 Moved the code to get a port # into address loop.
15963 2000-01-27 Martin Buchholz <martin@xemacs.org>
15965 * buffer.c (reinit_vars_of_buffer):
15966 The right place to initialize conversion_in_dynarr and
15967 conversion_out_dynarr.
15969 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15971 * process-unix.c (unix_canonicalize_host_name): Muleize.
15972 (unix_open_network_stream): Muleize.
15974 * buffer.h: Fix up prototypes for ralloc.c functions.
15976 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15977 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15978 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15979 instead of gethostbyname()
15980 * process-unix.c: In unix_canonicalize_host_name() and
15981 unix_open_network_stream(), add code to use getaddrinfo()
15982 instead of gethostbyname().
15984 2000-01-27 Daniel Pittman <daniel@danann.net>
15986 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15987 libs when built with flat Athena.
15989 2000-01-27 Martin Buchholz <martin@xemacs.org>
15991 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15992 Use coding standards for function prototypes.
15994 2000-01-25 Martin Buchholz <martin@xemacs.org>
15996 * dialog-msw.c (push_lisp_string_as_unicode):
15997 * doc.c (unparesseuxify_doc_string):
15998 * dired.c (Fuser_name_completion_1):
15999 * dired.c (Fuser_name_all_completions):
16000 * dired.c (free_user_cache):
16001 * dired.c (user_name_completion):
16002 * console-x.c (get_display_arg_connection):
16003 * minibuf.c (clear_echo_area_internal):
16004 * minibuf.c (echo_area_append):
16005 * eldap.c (Fldap_open):
16006 * eldap.c (Fldap_search_internal):
16007 * frame-x.c (x_set_frame_text_value):
16008 * frame-x.c (x_set_frame_properties):
16009 * frame-x.c (x_create_widgets):
16010 * redisplay-tty.c (term_get_fkeys_1):
16011 * objects-x.c (x_parse_nearest_color):
16012 * objects-x.c (x_valid_color_name_p):
16013 * objects-x.c (x_initialize_font_instance):
16014 * objects-x.c (x_list_fonts):
16015 * objects-x.c (x_find_charset_font):
16016 * tooltalk.c (Fadd_tooltalk_message_arg):
16017 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
16018 * tooltalk.c (Fadd_tooltalk_pattern_arg):
16019 * process-unix.c (unix_create_process):
16020 * ntproc.c (sys_spawnve):
16021 * sound.c (Fplay_sound_file):
16022 * sound.c (Fplay_sound):
16023 * buffer.c (init_initial_directory):
16024 * buffer.c (init_buffer):
16025 * editfns.c (init_editfns):
16026 * editfns.c (Ftemp_directory):
16027 * editfns.c (Fuser_full_name):
16028 * editfns.c (uncache_home_directory):
16029 * editfns.c (get_home_directory):
16030 * editfns.c (Fuser_home_directory):
16031 * editfns.c (Fformat_time_string):
16032 * editfns.c (Fcurrent_time_string):
16033 * gui-x.c (button_item_to_widget_value):
16034 * database.c (Fopen_database):
16035 * event-Xt.c (x_to_emacs_keysym):
16036 * event-Xt.c (x_event_to_emacs_event):
16037 * event-Xt.c (describe_event_window):
16038 * event-msw.c (mswindows_wnd_proc):
16039 * glyphs-eimage.c (jpeg_instantiate):
16040 * glyphs-eimage.c (gif_instantiate):
16041 * glyphs-eimage.c (png_instantiate):
16042 * glyphs-eimage.c (tiff_instantiate):
16043 * glyphs-x.c (xbm_instantiate_1):
16044 * glyphs-x.c (x_xbm_instantiate):
16045 * glyphs-x.c (x_xface_instantiate):
16046 * glyphs-x.c (autodetect_instantiate):
16047 * glyphs-x.c (cursor_font_instantiate):
16048 * glyphs-x.c (x_widget_instantiate):
16049 * glyphs-x.c (x_widget_set_property):
16050 * glyphs-x.c (x_widget_property):
16051 * glyphs-x.c (BUILD_GLYPH_INST):
16052 * print.c (write_string_to_stdio_stream):
16053 * print.c (output_string):
16054 * print.c (Falternate_debugging_output):
16055 * print.c (Fexternal_debugging_output):
16056 * glyphs-msw.c (extract_xpm_color_names):
16057 * glyphs-msw.c (mswindows_xpm_instantiate):
16058 * glyphs-msw.c (bmp_instantiate):
16059 * glyphs-msw.c (resource_name_to_resource):
16060 * glyphs-msw.c (mswindows_resource_instantiate):
16061 * glyphs-msw.c (xbm_instantiate_1):
16062 * glyphs-msw.c (mswindows_xbm_instantiate):
16063 * glyphs-msw.c (mswindows_xface_instantiate):
16064 * glyphs-msw.c (mswindows_widget_instantiate):
16065 * glyphs-msw.c (add_tree_item):
16066 * glyphs-msw.c (add_tab_item):
16067 * glyphs-msw.c (mswindows_combo_box_instantiate):
16068 * glyphs-msw.c (mswindows_widget_property):
16069 * glyphs-msw.c (mswindows_combo_box_property):
16070 * glyphs-msw.c (mswindows_widget_set_property):
16071 * console.c (stuff_buffered_input):
16072 * objects-msw.c (mswindows_initialize_color_instance):
16073 * objects-msw.c (mswindows_valid_color_name_p):
16074 * objects-msw.c (mswindows_list_fonts):
16075 * objects-msw.c (mswindows_font_instance_truename):
16076 * bytecode.c (optimize_compiled_function):
16077 * select-x.c (symbol_to_x_atom):
16078 * select-x.c (x_atom_to_symbol):
16079 * select-x.c (hack_motif_clipboard_selection):
16080 * select-x.c (selection_data_to_lisp_data):
16081 * select-x.c (lisp_data_to_selection_data):
16082 * select-x.c (Fx_get_cutbuffer_internal):
16083 * select-x.c (Fx_store_cutbuffer_internal):
16084 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16085 * buffer.h (TO_INTERNAL_FORMAT): New function.
16086 * emacs.c (make_arg_list_1):
16087 * emacs.c (make_argc_argv):
16088 * emacs.c (main_1):
16089 * emacs.c (Fdump_emacs):
16090 * emacs.c (split_string_by_emchar_1):
16095 * device-x.c (x_init_device):
16096 * device-x.c (Fx_valid_keysym_name_p):
16097 * device-x.c (Fx_get_font_path):
16098 * device-x.c (Fx_set_font_path):
16099 * glyphs.c (bitmap_to_lisp_data):
16100 * glyphs.c (pixmap_to_lisp_data):
16101 * alloc.c (make_ext_string): Use coding system arguments. Update
16103 * alloc.c (build_string):
16104 * callproc.c (child_setup):
16105 * callproc.c (init_callproc):
16106 * fileio.c (lisp_strerror):
16107 * fileio.c (directory_file_name):
16108 * fileio.c (Fexpand_file_name):
16109 * fileio.c (Ffile_truename):
16110 * fileio.c (Fsysnetunam):
16111 * fileio.c (Fdo_auto_save):
16112 * sysdep.c (sys_readdir):
16113 * tests.c: New file. Allow adding C tests.
16114 Replace GET_* macros with a more comprehensible and flexible
16115 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16117 Any coding system can be used to do format conversion.
16118 Eliminate enum external_data_format.
16119 Eliminate convert_to_external_format.
16120 Eliminate convert_to_internal_format.
16121 Make sure file-name, keyboard, terminal, and ctext are always
16122 defined as coding systems or aliases. Make
16123 file-name-coding-system, terminal-coding-system, and
16124 keyboard-coding-system magical variables that are equivalent to
16125 defining the corresponding coding system aliases.
16127 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16128 * file-coding.c (Fcoding_system_alias_p): New function.
16129 * file-coding.c (Fcoding_system_aliasee): New function.
16130 * file-coding.c (append_suffix_to_symbol): New function.
16131 * file-coding.c (dangling_coding_system_alias_p): New function.
16132 * file-coding.c (Ffind_coding_system):
16133 * file-coding.c (Fcopy_coding_system):
16134 * file-coding.c (encode_coding_no_conversion):
16135 * file-coding.c (syms_of_file_coding):
16136 * file-coding.c (vars_of_file_coding):
16137 Rewrite coding system alias code.
16138 Allow nested aliases, like symbolic links.
16139 Allow redefinition of coding system aliases.
16140 Prevent existence of dangling coding system aliases.
16142 * dired.c (Fuser_name_completion_1):
16143 * dired.c (Fuser_name_all_completions):
16144 A crash would happen if user did QUIT in the middle of building
16145 user_name_cache. Remove redundant code in mainline and unwind_protect.
16148 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16150 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16151 an unsigned char *. Update all callers.
16153 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16155 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16157 2000-01-25 Martin Buchholz <martin@xemacs.org>
16159 * elhash.c (hentry_description): Use more portable definition.
16160 (resize_hash_table): Initialize new hentries using
16161 xnew_array_and_zero, thereby simplifying the code.
16163 * mule-charset.c (make_charset): Make sure entire object is
16164 initialized, to avoid Purify warnings.
16166 * alloc.c (resize_string): Fix unlikely crash with big strings.
16168 2000-01-24 Martin Buchholz <martin@xemacs.org>
16170 * realpath.c (xrealpath):
16171 Don't call getwd().
16173 2000-01-25 Martin Buchholz <martin@xemacs.org>
16175 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16177 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16179 * unexelfsgi.c (unexec): Change the way we decide which segment
16180 should be extended.
16182 Assumption that .bss section should be outside the PT_LOADable
16183 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16184 it's present) is inside the 'data' segment. This would fail the
16185 test which was used to find a segment to grow and cover new
16186 heap. Instead of this assumption, I created another one - on IRIX
16187 the segment to grow should start below .bss and it's address
16188 should extent above the end of .bss. Once this segment is
16189 identified, it's grown to accommodate the new heap and new
16190 zero-length .bss section is added at the end of .data2.
16192 2000-01-25 Martin Buchholz <martin@xemacs.org>
16194 * eval.c (Feval): Wrong number of arguments should use original
16195 function, not the indirect_function version of it.
16197 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16199 * glyphs-x.c (x_button_instantiate): Don't add image if
16200 it is not a pixmap.
16201 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16204 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16206 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16208 (DEFVAR_INT_MAGIC): Ditto.
16209 (DEFVAR_BOOL_MAGIC): Ditto.
16210 * glyphs.h: Reindent backslash.
16212 2000-01-24 Martin Buchholz <martin@xemacs.org>
16214 * glyphs-widget.c (layout_query_geometry):
16215 (layout_layout): Use correct types for gheight, gwidth.
16217 2000-01-24 Martin Buchholz <martin@xemacs.org>
16219 * EmacsManager.c (QueryGeometry): Purified.
16221 2000-01-23 Martin Buchholz <martin@xemacs.org>
16223 * alloc.c (make_float): Make sure entire object is initialized, to
16224 avoid Purify warnings.
16225 (pdump_register_sub): Remove useless assignment.
16226 (pdump): Use xmalloc, not malloc.
16227 (pdump_load): Use xmalloc, not malloc.
16229 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16236 * sysdep.c: Removed redundant #include <windows.h>
16238 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16240 * frame.c (delete_frame_internal): Do not delete device when its
16241 implementation so declares.
16242 (delete_frame_internal): Set device selected frame to nil when
16243 last frame goes away.
16245 * device-msw.c (msprinter_device_system_metrics): Implemented.
16246 (mswindows_device_system_metrics): Added 'device-dpi property.
16248 * device.c: (Fdevice_printer_p): Added.
16249 Added 'offset-workspace device metric.
16251 * console.h (device_metrics): Declared DM_offset_workspace.
16253 2000-01-23 Martin Buchholz <martin@xemacs.org>
16255 * fileio.c (Ffile_truename): Remove pointless and confusing
16256 initialization of elen.
16258 * glyphs-widget.c: Compiler warning fixes.
16260 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16262 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16263 instead of a Lisp_Object as argument to make it consistent with
16264 the other LIVE_P macros.
16265 (CHECK_LIVE_PROCESS): New macro.
16267 * process.c: Declare Qprocess_live_p.
16268 (Fprocess_live_p): New function.
16269 (create_process): Use PROCESS_LIVE_P.
16270 (read_process_output): Ditto.
16271 (set_process_filter): Ditto.
16272 (Fdelete_process): Ditto.
16273 (kill_buffer_processes): Ditto
16274 (process_send_signal): Use CHECK_LIVE_PROCESS.
16275 (Fprocess_input_coding_system): Check whether process is still
16276 alive (fix PR#1061).
16277 (Fprocess_output_coding_system): Ditto.
16278 (Fprocess_coding_system): Ditto.
16279 (Fset_process_input_coding_system): Ditto.
16280 (Fset_process_output_coding_system): Ditto.
16282 2000-01-23 Andy Piper <andy@xemacs.org>
16284 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16287 * glyphs.c (mark_image_instance): take into account changed
16288 image_instance format.
16289 (image_instance_equal): ditto.
16290 (image_instance_hash): ditto.
16292 * glyphs-widget.c (widget_instantiate): Incorporate layout
16293 instantiation here. Delay layout of the layout until later.
16294 (layout_instantiate): deleted.
16295 (layout_query_geometry): new function. get the geometry of a
16297 (layout_layout): layout a layout dynamically.
16298 (image_instantiator_widget): New function - splitting up
16299 image_instantiator_format_create_glyphs_widget for netwinder
16301 (image_instantiator_buttons):
16302 (image_instantiator_edit_fields):
16303 (image_instantiator_combo_box):
16304 (image_instantiator_scrollbar):
16305 (image_instantiator_progress_guage):
16306 (image_instantiator_tree_view):
16307 (image_instantiator_tab_control):
16308 (image_instantiator_labels):
16309 (image_instantiator_layout): ditto.
16310 (image_instantiator_format_create_glyphs_widget): Call preceding
16313 2000-01-22 Martin Buchholz <martin@xemacs.org>
16315 * process.c (Fset_process_coding_system):
16316 * device-x.c (Fx_keysym_hash_table):
16319 * lstream.c (Lstream_write): Return documented value, not 0.
16321 * fileio.c (directory_file_name):
16322 (Fsubstitute_in_file_name):
16323 (Fsubstitute_insert_file_contents_internal):
16324 (Fwrite_region_internal):
16329 Remove vestigial APOLLO-conditional code.
16331 2000-01-21 Martin Buchholz <martin@xemacs.org>
16333 * getpagesize.h: Add guard macros.
16334 * libsst.h: Add guard macros.
16335 * libst.h: Add guard macros.
16336 * line-number.h: Add guard macros.
16337 * ndir.h: Add guard macros.
16338 * sysfloat.h: Add guard macros.
16339 * sysfile.h: Add guard macros.
16340 * sysproc.h: Add guard macros.
16341 * syswait.h: Add guard macros.
16342 * xintrinsic.h: Add guard macros.
16343 * xintrinsicp.h: Add guard macros.
16344 * xmmanager.h: Add guard macros.
16345 * xmmanagerp.h: Add guard macros.
16346 * xmprimitive.h: Add guard macros.
16347 * xmu.h: Add guard macros.
16348 * gpmevent.h: Add copyright statement. Add guard macros.
16349 * miscplay.h: Add guard macros.
16350 * *.h: Use consistent C-standards-approved guard macro names.
16352 * opaque.c (make_opaque): Switch parameter order.
16353 * opaque.h (make_opaque): Switch parameter order.
16354 Update all callers.
16355 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16357 * config.h.in (type_checking_assert): Added.
16358 (bufpos_checking_assert): Added.
16360 2000-01-21 Martin Buchholz <martin@xemacs.org>
16362 * alloc.c: Harmless pdump changes.
16364 - spell alignment correctly.
16365 * sysdep.c: Use countof()
16367 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16369 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16370 initially_selected_for_input() console method, default to 0.
16371 (semi_canonicalize_console_connection): Try to delegate to
16372 canonicalize_console_connection if no such console method.
16373 (canonicalize_console_connection): Vice versa.
16374 (print_console): Do not print nil connection.
16376 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16377 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16378 (XDEVIMPF_FRAMELESS_OK): Added.
16379 (CONSOLE_INHERITS_METHOD): Added.
16381 * console-msw.c (mswindows_canonicalize_console_connection):
16383 (mswindows_canonicalize_device_connection): Added.
16385 * console-msw.h (struct msprinter_device): Added this struct and
16387 (mswindows_device): Made fontlist a lisp object.
16389 * device.c (semi_canonicalize_device_connection): Try to delegate
16390 to canonicalize_device_connection if no such console method.
16391 (canonicalize_device_connection): Vice versa.
16392 (print_device): Do not print nil connection.
16394 * device-msw.c (mswindows_init_device): Call InitCommonControls
16396 (mswindows_delete_device): Removed fontlist deallocation.
16397 (mswindows_mark_device): Added.
16399 * events.c (event_equal): Added abort() at unreached code.
16400 (event_hash): Ditto.
16402 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16403 fallback tags of Windows devices.
16405 * general.c (syms_of_general): Initialized Qmsprinter.
16407 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16408 of fallback tags of Windows devices.
16410 * lisp.h: Declared Qmsprinter.
16412 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16414 (mswindows_list_fonts): Ditto.
16415 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16416 that it can be used by both mswindows and msprinter devices.
16417 (initialize_font_instance): Added.
16418 (mswindows_initialize_font_instance): Use it.
16419 (msprinter_initialize_font_instance): Added.
16421 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16422 and implementation flags check.
16423 (redisplay_without_hooks): Changed the call to the above.
16424 (Fredraw_device): Ditto.
16425 (Fredisplay_device): Ditto.
16427 * redisplay-msw.c (get_frame_dc): Implemented.
16428 (get_frame_compdc): Implemented.
16429 (many functions): Use the two functions above to get device
16430 contexts, ether for a window or a printer.
16432 2000-01-21 Olivier Galibert <galibert@pobox.com>
16434 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16435 initialization here.
16436 (init_symbols_once_early): Call it.
16437 * emacs.c (main_1): Call it.
16438 * symsinit.h: Declare it.
16440 2000-01-19 Olivier Galibert <galibert@pobox.com>
16442 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16444 (pdump_backtrace): Ditto.
16445 (pdump_register_object): Ditto. Cleanup use of the pointers.
16446 (pdump_get_entry): Abort if trying to register a null pointer.
16447 (pdump_dump_data): Cleanup types when relocating.
16448 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16449 (pdump_dump_rtables): Remove bad casts.
16450 (pdump_load): Cleanup relocation w.r.t union type. Use a
16451 Lisp_Object instead of a EMACS_INT for the hashtable
16454 2000-01-20 Martin Buchholz <martin@xemacs.org>
16456 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16458 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16460 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16462 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16464 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16466 * faces.h (FACE_STRIKETHRU_P): Added.
16468 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16471 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16472 (mswindows_set_dc_font): New function, aware of font variants,
16473 separated from mswindows_update_dc.
16475 * objects-msw.h (struct mswindows_font_instance_data): Added
16478 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16479 cached fonts and the data structure.
16480 (mswindows_initialize_font_instance): Added creation of font data
16482 (mswindows_print_font_instance): Print at least something.
16483 (mswindows_create_font_variant): Implemented.
16484 (mswindows_get_hfont): Implemented.
16486 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16488 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16489 prototyping problem with msvc.
16491 * emacs.c (main_1): added syms_of_gui_mswindows() call
16493 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16494 syms_of_gui_mswindows() function
16496 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16498 2000-01-18 Martin Buchholz <martin@xemacs.org>
16500 * XEmacs 21.2.27 is released.
16502 2000-01-18 Martin Buchholz <martin@xemacs.org>
16504 * glyphs-eimage.c (struct tiff_error_struct):
16506 (tiff_warning_func):
16507 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16512 * unexec.c: Remove vestigial Lucid C code.
16516 * libsst.c: Ansify.
16517 Remove declarations of errno and strerror().
16519 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16521 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16523 2000-01-16 Martin Buchholz <martin@xemacs.org>
16525 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16528 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16533 Change enum eol_type to eol_type_t.
16535 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16537 * gui.c (get_gui_callback): Check cons before accessing car.
16539 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16541 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16542 (XSETSPECIFIER_TYPE): Ditto.
16544 2000-01-17 Didier Verna <didier@xemacs.org>
16546 * redisplay.c (generate_fstring_runes): compute string size in
16547 characters, not bytes.
16549 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16551 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16553 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16555 * print.c (print_error_message): Call print_prepare().
16557 2000-01-14 Martin Buchholz <martin@xemacs.org>
16559 * .dbxrc: Renamed from dbxrc.
16561 * events.c (event_to_character):
16562 Use `assert (foo)' instead of `if (!foo) abort()'
16564 * .gdbinit (xtype): Add documentation.
16565 * .gdbinit (check-temacs): New function.
16566 * .gdbinit (check-xemacs): New function.
16567 * dbxrc (check-xemacs): New function.
16568 * dbxrc (check-xemacs): New function.
16570 2000-01-14 Andy Piper <andy@xemacs.org>
16572 * glyphs-widget.c (widget_query_geometry): Make sure that we
16573 calculate default dimensions correctly.
16575 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16577 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16579 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16580 pdump_wire'd variable.
16582 * emacs.c: (main_1): Conditionalized calls to
16583 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16585 2000-01-13 Martin Buchholz <martin@xemacs.org>
16587 * window.c (Fset_window_configuration):
16588 * sysdep.c (_start):
16589 * input-method-motif.c (res):
16590 * event-Xt.c (Xt_process_to_emacs_event):
16591 Simple compiler warning fixes.
16593 * bytecode.c (funcall_compiled_function): Use the original
16594 function symbol on the backtrace list in preference to the
16595 compiled_function object in error messages.
16597 2000-01-13 Andy Piper <andy@xemacs.org>
16599 * glyphs-x.c (update_widget_face): Make sure we update the widget
16600 background as well as foreground.
16602 2000-01-13 Andy Piper <andy@xemacs.org>
16604 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16605 fields to subwindow.
16606 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16607 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16608 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16609 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16611 * glyphs-widget.c (check_valid_tab_orientation): new function.
16612 (initialize_widget_image_instance): zero orientation and
16614 (widget_instantiate): pick up orientation.
16615 (tab_control_query_geometry): return appropriate values for
16618 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16619 appropriate creation flags for left, right and bottom tabs.
16621 * s/cygwin32.h: add tab definitions.
16623 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16625 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16626 frame upon hiding a subwindow.
16627 (mswindows_button_instantiate): Changed the push button style to
16629 (mswindows_button_instantiate): Removed button BS_NOTIFY
16631 (mswindows_button_instantiate): Removed redundant check for
16632 a disabled gui item.
16633 (mswindows_button_instantiate): Made use of WS_TABSTOP
16634 consistent: "operable" controls (edit, button, tree, scroll) have
16635 this style, "display-only" ones (static, progress gauge) do
16636 not. This style is currently ignored by XEmacs though. Also,
16637 removed the WS_EX_CONTROLPARENT style - it is not for children,
16638 it is for their parents!
16639 (mswindows_edit_field_instantiate): Ditto.
16640 (mswindows_progress_gauge_instantiate): Ditto.
16641 (mswindows_tree_view_instantiate): Ditto.
16642 (mswindows_tab_control_instantiate): Ditto.
16643 (mswindows_scrollbar_instantiate): Ditto.
16644 (mswindows_combo_box_instantiate): Ditto.
16645 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16646 style to the "clip" window.
16647 (mswindows_button_instantiate): Removed compilation warning by
16648 equally typing terms of the ?: operator.
16650 2000-01-12 Didier Verna <didier@xemacs.org>
16652 * redisplay.c (generate_fstring_runes): new parameter holding the
16653 last modeline-format extent.
16654 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16655 extent, fill the glyph block with it.
16656 (generate_fstring_runes): handle these parameters.
16657 (generate_formatted_string_db): ditto.
16659 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16660 glyphs'extents in the modeline.
16662 1999-01-11 Mike Woolley <mike@bulsara.com>
16664 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16665 256Mb, as a workaround for the non-starting problem many people
16668 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16670 * console-tty.c (Fset_console_tty_output_coding_system):
16671 Force redrawing tty frame.
16673 2000-01-10 Didier Verna <didier@xemacs.org>
16675 * redisplay.c (generate_fstring_runes): fix size computation bug.
16677 2000-01-09 William M. Perry <wmperry@aventail.com>
16679 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16681 2000-01-09 Andy Piper <andy@xemacs.org>
16683 * glyphs-msw.c: index -> i to avoid shadows.
16684 (xbm_create_bitmap_from_data): make static.
16685 (check_valid_string_or_int): deleted.
16686 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16688 * glyphs-x.c (x_update_subwindow): remove unused args.
16690 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16691 back pointer - this is done in allocate_image_instance.
16692 (query_string_font): return Qnil to make the compiler happy.
16693 (unmap_subwindow): set to ~0 to make the compiler happy.
16694 (glyph_query_geometry): comment out until used.
16695 (glyph_layout): ditto.
16697 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16699 * insdel.c (signal_after_change): Remove extraneous unbind_to().