1 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Fget_range_char_table): Fix serious problem when
6 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * chartab.c (char_table_get_db): Use `read_from_c_string'.
10 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
12 * lread.c (read_from_c_string): New function.
14 * lisp.h (read_from_c_string): New prototype.
16 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * chartab.c (Fput_char_attribute): Convert char-specs in value of
19 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
20 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
21 for `{<-|->}Oracle-Bones[^*]*'.
23 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
28 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
30 * text-coding.c (Qccs_priority_list): New variable in XEmacs
32 (Fmake_coding_system): Support new property `ccs-priority-list' in
34 (Fcoding_system_property): Likewise.
35 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
36 Vdefault_coded_charset_priority_list in XEmacs CHISE.
37 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
39 (complex_vars_of_file_coding): Define new coding-system-property
40 `ccs-priority-list' in XEmacs CHISE.
42 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
44 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
47 changed to normal function.
48 (encode_char_2): Likewise.
50 * mule-charset.c (decoding_table_put_char): Copied from
51 char-ucs.h; changed to normal function.
52 (encode_char_2): Likewise.
54 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
58 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
59 (encode_char_2_search_children): New inline function.
60 (encode_char_2): Refer
61 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
62 and use `encode_char_2_search_children'.
64 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
68 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
69 (vars_of_mule_charset): Add new variable
70 `display-coded-charset-priority-use-inheritance' and
71 `display-coded-charset-priority-use-hierarchy-order'.
73 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
75 * char-ucs.h (Q_subsumptive): New extern.
76 (Q_denotational): Likewise.
77 (encode_char_2): Search children specified by `->subsumptive' and
80 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * mule-charset.c (complex_vars_of_mule_charset): Modify the
83 X-registry of `ucs-bmp'.
85 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * chartab.c (char-variants): Refer `->subsumptive',
88 `->denotational' and `->identical' as same as `->ucs-unified'.
90 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
92 * chartab.c (Fput_char_attribute): Convert char-specs in value of
93 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
96 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * text-coding.c: Add EXFUN for `Fregexp_quote'.
99 (decode_add_er_char): Fix problem about infinite loop when a CCS
100 specified in `coded-charset-entity-reference-alist' is not
103 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
105 * mule-charset.c (syms_of_mule_charset): Rename
106 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
108 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
110 * fns.c (simplify_char_spec): Don't allocate new character-object
111 if specified char_spec does not have any CCS-features.
113 * chartab.h: Add EXFUN for Fdefine_char.
115 * chartab.c: Delete EXFUN for Fdefine_char.
117 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
119 * fns.c (simplify_char_spec): Use Fdefine_char instead of
120 Ffind_char for char-spec.
122 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * lisp-disunion.h (XCHARVAL): Fix condition about
127 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
131 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
132 point; use <Emchar> instead of <int> for character-id.
134 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
136 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
137 (make_char): Likewise.
138 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
140 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
141 instead of <int> as the type of return value; use <Lisp_Object>
142 instead of <Emchar> as the type of argument.
143 (XCHARVAL[macro version]): Cast the result into <Emchar>.
145 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
146 syntaxcode> instead of <int>.
148 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * chartab.c (put_char_composition): Use DECODE_CHAR to get
151 character corresponding with UCS code point.
152 (Fput_char_attribute): Likewise.
154 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
155 character in the UCS decoding-table if the char-id is not equal to
158 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
160 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
161 for aliases; write `description'; write
162 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
165 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * chartab.c (Fsave_char_attribute_table): Don't use
168 `save_charset_properties'.
170 * mule-charset.c (Fsave_charset_properties): Renamed from
171 `save_charset_properties' and changed to Lisp function again;
172 write property `type' as `CCS'; write properties `final-byte' and
173 `mother' if they exists.
174 (syms_of_mule_charset): Revive builtin function
175 `save-charset-properties' when HAVE_LIBCHISE is defined.
177 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
179 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
180 instead of Vexec_directory.
181 (char_attribute_system_db_file): Likewise.
183 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
185 * chartab.c (Fsave_char_attribute_table): Use
186 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
189 * mule-charset.c (save_charset_properties): Renamed from
190 `Fsave_charset_properties'; changed to non-Lisp function.
191 (syms_of_mule_charset): Abolish builtin function
192 `save-charset-properties'.
194 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
196 * mule-charset.c (Fsave_charset_properties): New function when
197 HAVE_LIBCHISE is defined.
198 (syms_of_mule_charset): Add new builtin function
199 `save-charset-properties' when HAVE_LIBCHISE is defined.
201 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
203 * chartab.c (Fput_char_attribute): Convert char-specs in value of
204 `{<-|->}ancient[^*]*' to characters and put reverse links.
205 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
206 for `{<-|->}ancient[^*]*'.
208 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * chartab.c (Fput_char_attribute): Convert char-specs in value of
211 `{<-|->}original[^*]*' to characters and put reverse links.
212 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
213 for `{<-|->}original[^*]*'.
215 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
219 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * mule-charset.c (Qsystem_char_id): New variable.
223 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
224 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
226 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * chartab.c (Fput_char_attribute): When processing a reference of
229 a character, put into the end of the reversed reference of each
232 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * chartab.c (Q_same): Deleted.
235 (Q_same_of): Deleted.
236 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
237 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
239 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
241 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * chartab.c (Q_vulgar): Deleted.
244 (Q_vulgar_of): Deleted.
245 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
246 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
248 (syms_of_chartab): Don't define `{<-|->}vulgar'.
250 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * chartab.c (Fput_char_attribute): Convert char-specs in value of
253 `{<-|->}wrong[^*]*' to characters and put reverse links.
254 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
255 for `{<-|->}wrong[^*]*'.
257 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * chartab.c (Q_vulgar): New variable.
260 (Q_vulgar_of): New variable.
261 (Fput_char_attribute): Convert char-specs in value of
262 `{->|<-}vulgar' to characters and put reverse links.
263 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
265 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
267 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * text-coding.c (decode_add_er_char): Must to quote prefix string
272 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * mule-charset.c (put_char_ccs_code_point): Store characters of
275 =ucs whose code_points >= 0xF0000.
277 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
281 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
283 (complex_vars_of_mule_charset): Add new coded-charset
284 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
285 builtin characters over 0xEFFFF.
287 * chartab.c (syms_of_chartab): Don't define symbol
288 `system-char-id' in every case.
290 * char-ucs.h (Qsystem_char_id): New extern variable.
291 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
293 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * text-coding.c (char_encode_utf8): Try to use entity-references
296 for U-000F0000 ... U-0010FFFF.
298 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * text-coding.c (ER_BUF_SIZE): New macro.
301 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
303 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
304 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
306 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
308 * chartab.c (find_char_feature_in_family): New function.
309 (Fchar_feature): Use `find_char_feature_in_family' with
310 `->identical', `<-subsumptive' and `<-denotational'.
312 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
314 * text-coding.c (char_encode_as_entity_reference): Allow prefix
315 within 8 characters; fix infinite loop.
317 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * chartab.c (Q_same): New variable.
320 (Q_same_of): New variable.
321 (Fput_char_attribute): Convert char-specs in value of
322 `{->|<-}same' to characters and put reverse links.
323 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
325 (syms_of_chartab): Add new symbols `{->|<-}same'.
327 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
329 * chartab.c (Q_component): New variable.
330 (Q_component_of): Likewise.
331 (Fput_char_attribute): Convert char-specs in value of
332 `{->|<-}ideographic-component-forms' to characters and put reverse
334 (syms_of_chartab): Add new symbols
335 `{->|<-}ideographic-component-forms'.
337 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
339 * chartab.c (Q_identical): New variable.
340 (Q_identical_from): New variable.
341 (Fchar_feature): Regard `->identical' as a feature to find
343 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
344 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
345 for `{->|<-}identical'.
346 (syms_of_chartab): Add new symbols `{->|<-}identical'.
348 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * char-ucs.h (encode_char_2): New inline function.
351 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
353 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * chartab.c (Fput_char_attribute): Convert char-specs to
356 characters in value of `ideographic-structure'.
357 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
358 for `{<-|->}simplified(@...)'.
359 (Fdefine_char): Try to use predefined character's id.
361 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * fns.c (simplify_char_spec): Try to convert builtin chars to
366 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
368 * chartab.c (Fput_char_attribute): Convert char-specs in value of
369 `<-simplified[^*]*' to characters and put reverse links.
371 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
373 * chartab.c (Q_subsumptive): Renamed from Q_unified.
374 (Q_subsumptive_from): Renamed from Q_unified_from.
375 (Fchar_feature): Use `Q_subsumptive_from' instead of
377 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
379 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
380 `<-unified' to `<-subsumptive'.
382 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
384 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
385 inheritance itself; fix typo; stop recursive search if cyclic
386 inheritance is found.
388 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * chartab.c (Q_denotational): New variable.
391 (Q_denotational_from): New variable.
392 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
393 (put_char_attribute): New function.
394 (Fput_char_attribute): Use `put_char_attribute'; regard
395 `->denotational' and `<-denotational' as same as `->unified' and
397 (syms_of_chartab): Add new symbols `->denotational' and
400 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
402 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
403 `Fget_char_attribute'.
404 (Fchar_variants): Likewise.
405 (get_char_table): Likewise.
406 (Fchar_feature): New function.
407 (put_char_composition): Use `Fchar_feature' instead of
408 `Fget_char_attribute'.
409 (Fput_char_attribute): Likewise; don't put the target character
410 into its `->unified' value.
411 (syms_of_chartab): Add new builtin function `char-feature'.
413 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
416 `Fget_char_attribute'.
417 (char_encode_utf8): Likewise.
419 * chartab.h: Add an EXFUN for `Fchar_feature'.
421 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
423 * chartab.c (Vnext_defined_char_id): New variable.
424 (Fput_char_attribute): Accept characters in `->unified'.
425 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
426 new characters which are not related with builtin char-id ranges.
427 (vars_of_chartab): Add new variable `next-defined-char-id'.
429 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * chartab.c (Q_unified): New variable.
432 (Q_unified_from): New variable.
433 (Fput_char_attribute): Add code for `->unified'.
434 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
437 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * mule-charset.c (decode_ccs_conversion): New function.
440 (decode_defined_char): Use `decode_ccs_conversion'.
441 (decode_builtin_char): Likewise.
443 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
445 * char-ucs.h: Change some charset-ids of private coded-charsets.
447 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
449 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
450 (char_encode_as_entity_reference): Likewise.
451 (decode_coding_big5): Modify for `decode_defined_char' and
453 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
454 avoid compiler warning.
455 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
457 * mule-charset.c (decode_defined_char): Add new argument
458 `without_inheritance'.
459 (Fdecode_char): Add new optional argument `without_inheritance'.
460 (Fdecode_builtin_char): Modify for `Fdecode_char'.
462 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
463 (simplify_char_spec): Likewise.
465 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
468 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
469 (map_char_table): Likewise.
470 (Fdefine_char): Use `Fdecode_char' without inheritance.
471 (Ffind_char): Modify for `Fdecode_char'.
473 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
475 * char-ucs.h (decode_defined_char): Add new argument
476 `without_inheritance'.
477 (DECODE_CHAR): Likewise.
478 (MAKE_CHAR): Modify for `DECODE_CHAR'.
480 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
482 * chartab.c (Vchise_system_db_directory): New variable.
483 (vars_of_chartab): Add new variable `chise-system-db-directory'.
485 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * chartab.c: EXFUN `Fmount_char_attribute_table'.
488 (print_chartab_range): Don't define when `UTF2000' is defined.
489 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
492 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
495 and optional argument `rehash' is specified, call
496 `open_chise_data_source_maybe' before
497 `chise_ds_foreach_char_feature_name' is called.
499 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
501 * chartab.c (char_attribute_list_reset_map_func): New function
502 when HAVE_LIBCHISE is defined.
503 (Fchar_attribute_list): Add new optional argument `rehash' when
504 HAVE_LIBCHISE is defined.
505 (open_chise_data_source_maybe): Use "chise-db" instead of
507 (char_attribute_system_db_file): Likewise.
508 (Fload_char_attribute_table): Use
509 `chise_feature_foreach_char_with_value' instead of
510 `chise_char_feature_value_iterate'.
512 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
514 * chartab.c (Vchise_db_directory): New variable.
515 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
517 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
519 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
520 instead of HAVE_CHISE to specify using with libchise.
522 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
524 * chartab.h: Don't use HAVE_CHISE_CLIENT.
526 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
527 defined or HAVE_LIBCHISE_LIBCHISE is defined.
528 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
530 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
531 HAVE_CHISE to specify using with libchise.
532 (syms_of_chartab): Don't define symbol `system-char-id' when
533 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
535 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
538 specify CHISE DB support.
539 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
540 of `char_attribute_system_db_file' to check feature DB file.
542 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
543 HAVE_CHISE_CLIENT to specify CHISE DB support.
545 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
546 specify CHISE DB support.
547 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
549 (Freset_char_attribute_table): Use `chise_feature_setup_db'
550 instead of `char_attribute_system_db_file' to check feature DB
553 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
555 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
558 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
560 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
561 (Fsave_charset_mapping_table): Don't use
562 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
564 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
565 (HAVE_LIBCHISE): New macro.
567 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
569 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
570 (Fsave_char_attribute_table): Don't use
571 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
573 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
575 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
577 (save_uint16_byte_table): Likewise.
578 (save_byte_table): Likewise.
579 (char_table_get_db): Use `chise_ds_load_char_feature_value'
580 instead of `chise_char_load_feature_value'.
581 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
583 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
585 * chartab.h (struct Lisp_Char_Table): Delete member
586 `feature_table' if CHISE is defined.
588 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
589 (Fcopy_char_table): Likewise.
590 (char_table_open_db_maybe): Likewise.
591 (char_table_close_db_maybe): Likewise.
592 (char_table_get_db): Likewise.
593 (Fmount_char_attribute_table): Likewise.
594 (Fload_char_attribute_table): Likewise.
596 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
598 * mule-charset.c (load_char_decoding_entry_maybe): Use
599 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
602 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
604 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
605 instead of `chise_open_data_source'.
606 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
609 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
611 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
612 instead of `chise_ds_open_feature_table'.
613 (char_table_close_db_maybe): Don't use `chise_ft_close'.
615 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
617 * mule-charset.c (Fsave_charset_mapping_table): Use
618 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
619 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
620 `chise_ccs_sync' instead of `chise_ccst_close'.
621 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
623 * chartab.c (open_chise_data_source_maybe): Modify for
624 `chise_open_data_source'.
625 (char_table_open_db_maybe): Modify for
626 `chise_ds_open_feature_table'.
628 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
630 * mule-charset.c (load_char_decoding_entry_maybe): Use
631 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
634 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
636 * mule-charset.c (Fsave_charset_mapping_table): Use
637 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
638 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
639 `chise_dt_put_char' and `chise_dt_close'.
640 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
641 `chise_ccs_decode' and `chise_ccst_close' instead of
642 `chise_ds_open_decoding_table', `chise_dt_get_char' and
645 * chartab.c (char_table_get_db): Use
646 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
647 (load_char_attribute_table_map_func): Modify for
648 `chise_char_feature_value_iterate'.
649 (Fload_char_attribute_table): Use
650 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
652 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
654 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
656 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
658 * chartab.c (put_char_table): Modify for inherited coded-charsets
661 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
663 * chartab.c (Fput_char_table_map_function): Fixed.
664 (word_boundary_p): Don't check charset in XEmacs CHISE.
666 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
668 * mule-charset.c (Fsave_charset_mapping_table): Use
669 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
670 instead of `chise_open_decoding_table'; refer
671 `default_chise_data_source'; use `chise_dt_close' instead of
672 `chise_close_decoding_table'.
673 (load_char_decoding_entry_maybe): Likewise.
675 * chartab.c (default_chise_data_source): New variable when `CHISE'
677 (Fcopy_char_table): `ct->ds' is deleted.
678 (open_chise_data_source_maybe): New function.
679 (Fclose_char_data_source): New function.
680 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
681 use `chise_ds_open_feature_table' instead of
682 `chise_open_feature_table'.
683 (char_table_close_db_maybe): Use `chise_ft_close' instead of
684 `chise_close_feature_table'; `cit->ds' is deleted.
685 (syms_of_chartab): Add new builtin function
686 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
688 * chartab.h (default_chise_data_source): New extern variable.
689 (open_chise_data_source_maybe): New prototype.
690 (struct Lisp_Char_Table): Delete `ds'.
692 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
694 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
697 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
699 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
700 not defined; add code for non-libchise setting.
701 (char_table_close_db_maybe): Likewise.
702 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
704 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
705 even if `CHISE' is not defined.
706 (Freset_char_attribute_table): Likewise.
707 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
708 `char_table_close_db_maybe' even if `CHISE' is not defined; use
710 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
711 `char_table_close_db_maybe' even if `CHISE' is not defined.
713 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
715 * chartab.c (char_table_open_db_maybe): New function.
716 (char_table_close_db_maybe): New function.
717 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
718 (Freset_char_attribute_table): Likewise.
719 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
720 `char_table_close_db_maybe'.
721 (Fload_char_attribute_table): Likewise.
723 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
725 * chartab.c: Don't include <chise.h> because it is included in
727 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
729 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
731 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
733 (Fclose_char_attribute_table): Close `ct->feature_table' and
734 `ct->ds' when `CHISE' is defined.
735 (Freset_char_attribute_table): Likewise.
736 (load_char_attribute_maybe): Use `cit->ds' and
737 `cit->feature_table' when `CHISE' is defined.
738 (Fload_char_attribute_table): Likewise.
740 * chartab.h: Include <chise.h> when `CHISE' is defined.
741 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
742 when `CHISE' is defined.
744 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
746 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
748 (char_table_description): Likewise.
749 (Fmake_char_table): Likewise.
750 (Fcopy_char_table): Likewise.
751 (Fmount_char_attribute_table): Likewise.
752 (Fclose_char_attribute_table): Likewise.
753 (Freset_char_attribute_table): Likewise.
754 (load_char_attribute_maybe): Likewise.
755 (Fload_char_attribute_table): Likewise.
757 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
760 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
762 * chartab.c (load_char_attribute_table_map_func): New function
763 when CHISE is defined.
764 (Qload_char_attribute_table_map_function): Don't define when CHISE
766 (Fload_char_attribute_table_map_function): Likewise.
767 (Fload_char_attribute_table): Use libchise when `CHISE' is
769 (syms_of_chartab): Don't define
770 `load-char-attribute-table-map-function' when CHISE is defined.
772 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
774 * chartab.c: Include <chise.h> when `CHISE' is defined.
775 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
777 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
779 * mule-charset.c (charset_code_point): Fix problem when searching
780 in mother CCS fails with `defined_only' mode.
782 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
784 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
785 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
786 (put_char_composition): Likewise.
787 (Fput_char_attribute): Likewise.
788 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
790 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
792 * chartab.c (Q_ucs): Deleted.
793 (Fput_char_attribute): Don't refer `->ucs'.
794 (Fdefine_char): Likewise.
795 (Ffind_char): Likewise.
796 (syms_of_chartab): Delete `->ucs'.
798 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
800 * mule-charset.c (Qmap_cns11643_2): Renamed from
801 `Qchinese_cns11643_2'.
802 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
803 `chinese-cns11643-2'.
804 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
807 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
809 * mule-charset.c (Qmap_cns11643_1): Renamed from
810 `Qchinese_cns11643_1'.
811 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
812 `chinese-cns11643-1'.
813 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
816 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
818 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
819 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
821 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
824 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
826 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
827 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
829 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
832 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
834 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
835 (syms_of_mule_charset): Add new symbol `=big5' instead of
837 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
839 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
841 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
842 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
844 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
847 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
849 * mule-charset.c (Qmap_jis_x0212): Renamed from
850 `Qjapanese_jisx0212'.
851 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
853 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
856 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
858 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
859 `Qjapanese_jisx0208'.
860 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
861 of `japanese-jisx0208'.
862 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
865 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
867 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
868 `Qjapanese_jisx0208_1978'.
869 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
870 of `japanese-jisx0208-1978'.
871 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
874 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
876 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
877 only for XEmacs CHISE.
879 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
881 * char-ucs.h: Compact non-ISO-IR charset-ids.
882 (LEADING_BYTE_UCS): Changed to -177.
883 (LEADING_BYTE_CONTROL_1): Changed to -77.
884 (LEADING_BYTE_UCS_BMP): Changed to -176.
885 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
887 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
889 * mule-charset.c (Qiso_ir): New variable.
890 (Fmake_charset): Recognise new property `iso-ir'.
891 (syms_of_mule_charset): Add new symbol `iso-ir'.
893 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
895 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
896 n to -n; charset-id of non ISO-IR sets are changed to positive
899 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
901 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
902 for &MCS-XXXXXXXX; values.
904 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
906 * mule.c (Vxemacs_chise_version): Renamed from
908 (vars_of_mule): Add new variable `xemacs-chise-version'; define
909 `utf-2000-version' as an alias for `xemacs-chise-version'.
911 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
913 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
914 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
917 * config.h.in (CHISE): New macro.
919 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
921 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
923 (Qmap_ucs): New variable.
924 (syms_of_mule_charset): Add new symbol `=ucs'.
925 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
927 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
928 (simplify_char_spec): Likewise.
930 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
932 * char-ucs.h (Qmap_ucs): New extern variable.
934 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
936 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
937 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
938 don't define it when UTF2000 is not defined.
939 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
940 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
941 when UTF2000 is not defined.
942 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
943 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
945 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
947 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
949 * mule-charset.c (Vcharset_ucs_gb): Deleted.
951 (syms_of_mule_charset): Delete `ucs-gb'.
952 (complex_vars_of_mule_charset): Likewise.
954 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
956 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
958 * mule-charset.c (Vcharset_ucs_cns): Deleted.
960 (syms_of_mule_charset): Delete `ucs-cns'.
961 (complex_vars_of_mule_charset): Likewise.
963 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
965 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
967 * mule-charset.c (Vcharset_ucs_jis): Deleted.
969 (syms_of_mule_charset): Delete `ucs-jis'.
970 (complex_vars_of_mule_charset): Likewise.
972 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
974 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
976 * mule-charset.c (Vcharset_ucs_ks): Deleted.
978 (syms_of_mule_charset): Delete `ucs-ks'.
979 (complex_vars_of_mule_charset): Likewise.
981 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
983 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
984 (Qideograph_daikanwa_2): Deleted.
985 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
986 (complex_vars_of_mule_charset): Likewise.
988 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
989 (LEADING_BYTE_DAIKANWA_1): Deleted.
990 (LEADING_BYTE_DAIKANWA_2): Deleted.
991 (MIN_CHAR_DAIKANWA): Deleted.
992 (MAX_CHAR_DAIKANWA): Deleted.
994 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
996 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
997 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
998 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1000 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1001 (Vcharset_ideograph_daikanwa): Deleted.
1002 (Qideograph_hanziku_{1..12}): Deleted.
1003 (Qideograph_daikanwa): Deleted.
1004 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1005 Vcharset_ideograph_daikanwa.
1006 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1007 `ideograph-hanziku-{1..12}'.
1008 (complex_vars_of_mule_charset): Likewise.
1010 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1012 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1014 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1015 (Qideograph_gt_pj_{1..11}): Deleted.
1016 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1017 (complex_vars_of_mule_charset): Likewise.
1019 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1021 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1022 (Vcharset_ideograph_gt): Deleted.
1023 (Qucs_big5): Deleted.
1024 (Qideograph_gt): Deleted.
1025 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1027 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1030 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1031 (LEADING_BYTE_GT): Deleted.
1032 (MIN_CHAR_GT): Deleted.
1033 (MAX_CHAR_GT): Deleted.
1035 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1037 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1039 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1041 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1042 (save_uint16_byte_table): Likewise.
1043 (save_byte_table): Likewise; convert values by it.
1044 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1045 for `ideographic-structure'.
1046 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1047 as the filter for `ideographic-structure'.
1049 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1051 * chartab.c (put_char_composition): New function.
1052 (Fput_char_attribute): Use `put_char_composition'; use
1053 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1055 * fns.c (simplify_char_spec): New function.
1056 (char_ref_simplify_spec): New function.
1057 (Fchar_refs_simplify_char_specs): New function.
1058 (syms_of_fns): Add new builtin function
1059 `char-refs-simplify-char-specs'.
1061 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1063 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1064 (Qideograph_cbeta): Deleted.
1065 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1066 (complex_vars_of_mule_charset): Likewise.
1068 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1069 (MIN_CHAR_CBETA): Comment out.
1070 (MAX_CHAR_CBETA): Likewise.
1072 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1074 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1075 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1076 CHISE client feature.
1078 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1080 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1082 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1084 * mule-charset.c (charset_lookup_description_1): Use
1085 `NUM_LEADING_BYTES' in UTF-2000.
1087 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1089 * char-ucs.h (GC_CHARSETP): Deleted.
1091 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * char-ucs.h (MAX_CHAR_GT): Updated.
1095 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1097 * text-coding.c: Sync with XEmacs 21.4.10.
1099 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1101 * mule-charset.c (Vcharset_china3_jef): Deleted.
1102 (Qchina3_jef): Deleted.
1103 (syms_of_mule_charset): Don't define `china3-jef'.
1104 (complex_vars_of_mule_charset): Likewise.
1106 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1107 (MIN_CHAR_CHINA3_JEF): Comment out.
1108 (MAX_CHAR_CHINA3_JEF): Comment out.
1110 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1112 * mule-charset.c (Vcharset_ucs_gb): New variable.
1113 (Qucs_gb): New variable.
1114 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1115 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1117 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1119 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1121 * mule-charset.c (charset_code_point): if a coded-charset has a
1122 final-byte, don't inherit the builtin range of the mother CCS.
1124 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1126 * mule-charset.c (charset_code_point): Fix problem about
1129 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1131 * mule-charset.c (decode_builtin_char): Reorganized.
1133 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1135 * text-coding.c (char_encode_as_entity_reference): Modify for
1136 `charset_code_point'.
1137 (char_encode_shift_jis): Likewise.
1138 (char_encode_big5): Likewise.
1139 (char_encode_utf8): Likewise.
1140 (char_encode_iso2022): Likewise.
1142 * mule-charset.c (charset_code_point): Add new argument
1144 (Fencode_char): Add new optional argument `defined_only'.
1146 * chartab.c (put_char_table): Modify for `charset_code_point'.
1148 * char-ucs.h (charset_code_point): Add new argument
1150 (encode_char_1): Modify for `charset_code_point'.
1152 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1155 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1157 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1159 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1160 (Qjis_x0208): Likewise.
1161 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1162 XCHARSET_FINAL(charset).
1163 (charset_code_point): Modify condition for final-byte based
1165 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1166 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1167 in UTF-2000; specify `=jis-x0208' as the mother of
1168 `japanese-jisx0208-1978', `japanese-jisx0208' and
1169 `japanese-jisx0208-1990' in UTF-2000.
1171 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1173 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1175 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1177 * text-coding.c (decode_coding_utf16): Support UTF-16.
1178 (char_encode_utf16): Fixed.
1180 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1182 * text-coding.c (Qutf16): New variable in MULE.
1183 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1184 (Fcoding_system_type): Add `utf-16' in MULE.
1185 (struct detection_state): Add a structure for utf16 in MULE.
1186 (detect_coding_type): Setup st->utf16.mask in MULE.
1187 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1189 (reset_encoding_stream): Use `char_encode_utf16' and
1190 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1191 (detect_coding_utf16): New function [incomplete].
1192 (decode_coding_utf16): New function [support only UCS-2].
1193 (char_encode_utf16): New function.
1194 (char_finish_utf16): New function.
1195 (syms_of_file_coding): Add new symbol `utf-16'; setup
1196 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1198 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1200 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1201 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1203 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1205 * chartab.c (put_char_table): When a charset is specified as a
1206 range in UTF-2000, don't support builtin characters.
1208 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1210 * mule-charset.c (decode_defined_char): Don't refer external
1211 database if Qunbound or Qnil are found.
1212 (Fsave_charset_mapping_table): Don't define it if
1213 HAVE_CHISE_CLIENT is not defined.
1214 (Freset_charset_mapping_table): New function.
1215 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1216 found in external database.
1217 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1218 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1219 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1221 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1223 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1226 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1228 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1229 Q_lowercase, Q_uppercase in UTF-2000.
1231 * chartab.c (get_char_table): Add special code for the standard
1232 case table to use character attribute `->downcase' and
1233 `->uppercase' for case operations in UTF-2000.
1235 * casetab.c (Qflippedcase): New variable in UTF-2000.
1236 (Q_lowercase): Likewise.
1237 (Q_uppercase): Likewise.
1238 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1239 and `->uppercase' in UTF-2000.
1240 (complex_vars_of_casetab): Assign attribute name `downcase' to
1241 downcase and CANON table of Vstandard_case_table in UTF-2000;
1242 assign attribute name `flippedcase' to upcase and EQV table of
1243 Vstandard_case_table in UTF-2000.
1245 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1247 * text-coding.c (decode_add_er_char): Support isolated-chars.
1248 (char_encode_as_entity_reference): Likewise.
1250 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * emacs.c (Vutf_2000_lisp_directory): New variable.
1253 (Vconfigure_utf_2000_lisp_directory): Likewise.
1254 (complex_vars_of_emacs): Add new variable
1255 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1257 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1259 * char-ucs.h (DECODE_CHAR): Delete special code for
1260 `chinese-big5-1' and `chinese-big5-2'.
1262 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1263 (Qbig5_2): Likewise.
1264 (decode_defined_char): Support CONVERSION_BIG5_1 and
1266 (decode_builtin_char): Likewise.
1267 (charset_code_point): Likewise.
1268 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1269 'conversion in UTF-2000.
1270 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1271 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1272 `chinese-big5-2' as children of `chinese-big5'.
1274 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1275 (CONVERSION_BIG5_2): New macro.
1277 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1279 * text-coding.c (char_encode_big5): Support entity-reference.
1281 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1283 * text-coding.c (char_encode_as_entity_reference): New function.
1284 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1286 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1288 * text-coding.c (decode_coding_big5): Support entity-reference
1291 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1293 * text-coding.c (allocate_coding_system): Initialize initial
1294 charsets for CODESYS_UTF8.
1295 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1296 charset-g2 for CODESYS_UTF8.
1297 (decode_coding_utf8): Use charset-g0.
1298 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1299 to force variants to map to UCS.
1301 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1303 * text-coding.c (Qutf_8_mcs): New variable.
1304 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1305 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1306 instead of `utf-8' in UTF-2000.
1308 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1310 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1311 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1312 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1313 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1314 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1315 CONVERSION_96x96x96x96 are introduced.
1316 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1317 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1318 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1320 * char-ucs.h (CONVERSION_94): New macro.
1321 (CONVERSION_96): New macro.
1322 (CONVERSION_94x94): New macro.
1323 (CONVERSION_96x96): New macro.
1324 (CONVERSION_94x94x94): New macro.
1325 (CONVERSION_96x96x96): New macro.
1326 (CONVERSION_94x94x94x60): New macro.
1327 (CONVERSION_94x94x94x94): New macro.
1328 (CONVERSION_96x96x96x96): New macro.
1330 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1332 * chartab.c (Vcharacter_variant_table): Deleted.
1333 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1334 of `Vcharacter_variant_table'.
1335 (Fput_char_attribute): Likewise.
1336 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1337 (complex_vars_of_chartab): Likewise.
1339 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1341 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1343 * fns.c (Qideographic_structure): New variable.
1344 (Qkeyword_char): New variable.
1345 (ids_format_unit): New function.
1346 (Fideographic_structure_to_ids): New function.
1347 (syms_of_fns): Add new symbols `ideographic-structure' and
1348 `:char'; add new builtin function `ideographic-structure-to-ids'.
1350 * data.c (Fchar_ref_p): New function.
1351 (syms_of_data): Add new builtin function `char-ref-p'.
1353 * chartab.h: Add an EXFUN for `Ffind_char'.
1355 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1357 * text-coding.c (Vcharacter_composition_table): Deleted.
1358 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1361 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1363 (Vcharacter_composition_table): Deleted.
1364 (Fget_composite_char): Use the implementation for external-DB
1365 support in every UTF-2000.
1366 (Fput_char_attribute): Likewise.
1367 (char_attribute_system_db_file): Don't define if external-DB
1368 feature is not available.
1369 (Fsave_char_attribute_table): Likewise.
1370 (Fmount_char_attribute_table): Likewise.
1371 (Fclose_char_attribute_table): Likewise.
1372 (Freset_char_attribute_table): Likewise.
1373 (Fload_char_attribute_table): Likewise.
1374 (syms_of_chartab): Don't define `save-char-attribute-table',
1375 `mount-char-attribute-table', `reset-char-attribute-table',
1376 `close-char-attribute-table' and `load-char-attribute-table' if
1377 external-DB feature is not available.
1378 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1380 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1382 * text-coding.c (Qcomposition): Add extern if external-DB feature
1384 (Vcharacter_composition_table): Don't add extern if external-DB
1385 feature is supported.
1386 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1387 character composition rule if external-DB feature is supported.
1389 * chartab.c (Vcharacter_composition_table): Don't define if
1390 external-DB feature is supported.
1391 (Qcomposition): New variable.
1392 (Fget_composite_char): New implementation for external-DB support.
1393 (Fput_char_attribute): Use `composition' property of each
1394 character instead of `Vcharacter_composition_table' to store
1395 character-composition rules if external-DB feature is supported.
1396 (syms_of_chartab): Add new symbol `composition'.
1397 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1398 external-DB feature is supported.
1400 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1402 * chartab.c (Vchar_db_stingy_mode): New variable.
1403 (load_char_attribute_maybe): Close database if
1404 Vchar_db_stingy_mode is not NIL.
1405 (Fload_char_attribute_table_map_function): Use
1406 `get_char_id_table_0' instead of `get_char_id_table'.
1407 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1409 * chartab.h (get_char_id_table_0): New inline function.
1410 (get_char_id_table): Use `get_char_id_table_0'.
1412 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1414 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1415 and `COMPOSE_ADD_CHAR'.
1416 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1418 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1420 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1421 instead of `DECODE_ADD_UCS_CHAR'.
1422 (COMPOSE_ADD_CHAR): Likewise.
1424 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1426 * text-coding.c (decode_flush_er_chars): New inline function.
1427 (decode_add_er_char): New function.
1428 (decode_coding_utf8): Use `decode_flush_er_chars' and
1429 `decode_add_er_char'.
1431 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1433 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1434 done before `decode_output_utf8_partial_char'.
1436 * mule-charset.c (complex_vars_of_mule_charset): Specify
1437 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1438 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1440 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1442 * mule-charset.c (decode_defined_char): New function; search
1444 (decode_builtin_char): Don't search mother if
1445 XCHARSET_MAX_CODE(charset) == 0.
1446 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1447 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1448 (Fdecode_char): Use `decode_defined_char' instead of
1449 `DECODE_DEFINED_CHAR'.
1450 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1451 mother of `Vcharset_ucs_jis'.
1453 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1454 instead of `DECODE_DEFINED_CHAR'.
1456 * char-ucs.h (decode_defined_char): Renamed from
1457 `DECODE_DEFINED_CHAR'; changed to normal function.
1458 (DECODE_CHAR): Use `decode_defined_char' instead of
1459 `DECODE_DEFINED_CHAR'.
1461 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1463 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1465 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1467 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1469 (Quse_entity_reference): New variable.
1473 (coding_system_description): Add description for
1474 `ccs_priority_list'.
1475 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1476 (allocate_coding_system): Initialize `ccs_priority_list' in
1478 (Fmake_coding_system): Add description about
1479 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1481 (Fcoding_system_property): Accept `disable-composition' and
1482 `use-entity-reference' in UTF-2000.
1483 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1485 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1486 (decode_coding_utf8): Decode entity-reference if
1487 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1488 (char_encode_utf8): Encode non-Unicode characters as
1489 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1491 (syms_of_file_coding): Add new symbols `use-entity-reference',
1493 (vars_of_file_coding): Add new variable
1494 `coded-charset-entity-reference-alist'.
1495 (complex_vars_of_file_coding): Declare `disable-composition' and
1496 `use-entity-reference' to be coding-system-properties in UTF-2000.
1498 * file-coding.h (struct Lisp_Coding_System): Add new member
1499 `use_entity_reference' and `ccs_priority_list'.
1500 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1501 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1502 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1504 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1506 * chartab.c (save_uint8_byte_table): Don't clear the table.
1507 (save_uint16_byte_table): Likewise.
1508 (save_byte_table): Likewise.
1509 (Fmount_char_attribute_table): New function.
1510 (syms_of_chartab): Add new builtin function
1511 `mount-char-attribute-table'.
1513 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1515 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1517 (load_char_decoding_entry_maybe): Open database as read-only mode.
1519 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1520 open database as "w+" mode.
1521 (load_char_attribute_maybe): Open database as read-only mode.
1522 (Fload_char_attribute_table): Likewise.
1524 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1526 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1527 (char_table_description): Delete member `db_file'.
1528 (Fmake_char_table): Don't refer `ct->db_file'.
1529 (Fcopy_char_table): Likewise.
1530 (Fsave_char_attribute_table): Likewise.
1531 (Fclose_char_attribute_table): Likewise.
1532 (Freset_char_attribute_table): Likewise.
1533 (load_char_attribute_maybe): Likewise.
1534 (Fload_char_attribute_table): Likewise.
1536 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1538 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1540 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1541 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1543 (load_char_attribute_maybe): Likewise.
1544 (Fload_char_attribute_table): Likewise.
1546 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1548 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1549 `ct->db_file' unconditionally.
1551 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1553 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1555 (char_table_description): Add description for `db_file' and `db'
1557 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1559 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1560 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1561 (Fclose_char_attribute_table): New function.
1562 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1563 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1565 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1566 (syms_of_chartab): Add new builtin function
1567 `Fclose_char_attribute_table'.
1569 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1571 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1573 (load_char_attribute_maybe): Change interface.
1574 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1576 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1578 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1580 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1582 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1583 instead of `DECODE_CHAR' for mother; don't use special code for
1584 chinese-big5 to use code space of chinese-big5-1 and
1586 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1587 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1589 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1590 (MAX_CHAR_BIG5_CDP): Revival.
1592 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1594 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1595 the XLFD registry-encoding name of `chinese-big5'.
1597 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1599 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1600 (Qchinese_big5_cdp): Deleted.
1601 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1602 (complex_vars_of_mule_charset): Delete coded-charset
1605 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1606 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1607 `CHARSET_ID_OFFSET - n' for private CCS.
1608 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1609 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1610 of `MIN_LEADING_BYTE'.
1611 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1612 `(CHARSET_ID_OFFSET - 97)'.
1613 (MIN_CHAR_BIG5_CDP): Deleted.
1614 (MAX_CHAR_BIG5_CDP): Deleted.
1616 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1618 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1620 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1622 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1623 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1626 * chartab.c (Vutf_2000_version): Moved to mule.c.
1627 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1629 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1631 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1632 when HAVE_CHISE_CLIENT is not defined.
1634 * mule.c (vars_of_mule): Provide feature `chise' when
1635 HAVE_CHISE_CLIENT is defined.
1637 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1639 * config.h.in (UTF2000): Add comment.
1640 (HAVE_CHISE_CLIENT): New macro.
1642 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1644 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1646 (Fput_char_attribute): Likewise.
1647 (char_attribute_system_db_file): Encode file-name of attribute.
1648 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1651 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1653 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1654 (Fsave_charset_mapping_table): Use
1655 `char_attribute_system_db_file'.
1656 (load_char_decoding_entry_maybe): Likewise.
1658 * chartab.h (Qsystem_char_id): New external variable.
1659 (char_attribute_system_db_file): New prototype.
1661 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1662 (char_attribute_system_db_file): New function.
1663 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1664 (Freset_char_attribute_table): Likewise.
1665 (load_char_attribute_maybe): Likewise.
1666 (Fload_char_attribute_table): Likewise.
1667 (syms_of_chartab): Add new symbol `system-char-id'.
1669 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1671 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1672 `XCHARSET_GRAPHIC(ccs)'.
1674 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1676 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1678 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1680 * chartab.c (Q_ucs_variants): New variable.
1681 (syms_of_chartab): Add new symbol `->ucs-variants'.
1682 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1683 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1684 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1686 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1688 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1689 `HAVE_DATABASE' is defined.
1690 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1691 `HAVE_DATABASE' is defined.
1693 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1695 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1697 (Freset_char_attribute_table): New function.
1698 (syms_of_chartab): Add new builtin function
1699 `reset-char-attribute-table'.
1701 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1703 * chartab.c (load_char_attribute_maybe): Don't make directories.
1705 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1707 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1709 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1712 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1714 * mule-charset.c (Fsave_charset_mapping_table): Use
1715 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1717 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1718 instead of `XCHARSET_CHARS'.
1720 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1722 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1723 (XCHARSET_BYTE_SIZE): Likewise.
1725 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1727 (XCHARSET_BYTE_SIZE): Likewise.
1729 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1731 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1732 data-directory to store database.
1733 (Fsave_char_attribute_table): Likewise.
1734 (load_char_attribute_maybe): Likewise.
1735 (Fload_char_attribute_table): Likewise.
1737 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1739 * mule-charset.c (Fsave_charset_mapping_table): New function.
1740 (syms_of_mule_charset): Add new builtin function
1741 `save-charset-mapping-table'.
1743 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1745 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1746 (get_ccs_octet_table): New inline function.
1747 (put_ccs_octet_table): Likewise.
1748 (decoding_table_put_char): Use `get_ccs_octet_table' and
1749 `put_ccs_octet_table'.
1750 (decoding_table_remove_char): Use `decoding_table_put_char'.
1751 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1753 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1754 into encoding_table.
1755 (make_charset): Use Qunbound instead Qnil as initial value of
1758 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1760 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1761 element is Qunloaded.
1762 (map_over_uint16_byte_table): Likewise.
1763 (map_over_byte_table): Likewise.
1764 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1765 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1766 database support, load encoding-table of the specified
1767 coded-charset if it is not loaded yet.
1768 (save_uint8_byte_table): New function of UTF-2000 with external
1770 (save_uint16_byte_table): Likewise.
1771 (save_byte_table): Likewise.
1772 (Fput_char_attribute): Don't store value into external database
1773 even if the external database feature is supported in UTF-2000;
1774 set `attribute' as name of char-table if the external database
1775 feature is supported.
1776 (Fsave_char_attribute_table): New function in UTF-2000.
1777 (syms_of_chartab): Add new builtin function
1778 `save-char-attribute-table' in UTF-2000.
1780 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1782 * chartab.c (char_attribute_table_to_put): New variable in
1784 (Qput_char_table_map_function): Likewise.
1785 (value_to_put): Likewise.
1786 (Fput_char_table_map_function): New function in UTF-2000.
1787 (put_char_table): Use `Fmap_char_attribute' for
1788 CHARTAB_RANGE_CHARSET in UTF-2000.
1789 (Fput_char_attribute): Store symbol instead of string in
1790 `XCHAR_TABLE_NAME (table)'.
1791 (load_char_attribute_maybe): Likewise.
1792 (syms_of_chartab): Add new symbol/function
1793 `put-char-table-map-function'.
1795 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1797 * database.h: Add new EXFUN for `Fmap_database'.
1799 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1800 (syms_of_database): Likewise.
1802 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1804 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1805 (XCHAR_TABLE_UNLOADED): Likewise.
1807 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1808 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1809 HAVE_DATABASE is defined.
1810 (char_attribute_table_to_load): New variable of UTF-2000 with
1811 external database support.
1812 (Qload_char_attribute_table_map_function): Likewise.
1813 (Fload_char_attribute_table_map_function): New function of
1814 UTF-2000 with external database support.
1815 (Fload_char_attribute_table): New function of UTF-2000.
1816 (Fmap_char_attribute): Call Fload_char_attribute_table if
1817 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1818 (syms_of_chartab): Add new symbol and function
1819 `load-char-attribute-table-map-function' in UTF-2000 with external
1820 database support; add new function `load-char-attribute-table' in
1823 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1825 * chartab.h (load_char_attribute_maybe): New prototype for
1826 UTF-2000 with DATABASE support.
1827 (get_char_id_table): Use `load_char_attribute_maybe' if
1828 HAVE_DATABASE is defined.
1830 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1831 with DATABASE support.
1833 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1835 * chartab.c (Fput_char_attribute): Use S-expression as key of
1838 * chartab.h (get_char_id_table): Use S-expression as key of
1841 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1843 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1844 if an element is not loaded, load the corresponding attributes
1845 from an external database.
1846 (map_over_uint16_byte_table): Likewise.
1847 (map_over_byte_table): Likewise.
1848 (map_char_table): Modify for `map_over_uint8_byte_table',
1849 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1850 element is not loaded, load the corresponding attributes from an
1852 (Fput_char_attribute): Change initial values to Qunloaded.
1854 * chartab.h (get_char_id_table): If a character attribute is not
1855 loaded and the attribute value is not found in an external
1856 database, store Qunbound as the attribute value.
1858 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1860 * chartab.c (BT_UINT8_unloaded): New macro.
1861 (UINT8_VALUE_P): Accept Qunloaded.
1862 (UINT8_ENCODE): Likewise.
1863 (UINT8_DECODE): Likewise.
1864 (BT_UINT16_unloaded): New macro.
1865 (UINT16_VALUE_P): Accept Qunloaded.
1866 (UINT16_ENCODE): Likewise.
1867 (UINT16_DECODE): Likewise.
1868 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1870 (mark_char_table): Mark `ct->name' in UTF-2000.
1871 (char_table_description): Add `name' in UTF-2000.
1872 (Fmake_char_table): Initialize `ct->name'.
1873 (Fcopy_char_table): Copy `ct->name'.
1874 (Fput_char_attribute): Store value into an external database if
1875 HAVE_DATABASE is defined.
1877 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1879 (CHAR_TABLE_NAME): New macro in UTF-2000.
1880 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1881 (get_char_id_table): Try to read an external database if Qunloaded
1882 is stored in a table.
1884 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1887 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1889 * database.h: Add EXFUN definitions for Fopen_database,
1890 Fput_database, Fget_database and Fclose_database.
1892 * data.c (Qunloaded): New variable in UTF-2000.
1894 * lisp.h (Qunloaded): New variable in UTF-2000.
1896 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1898 * mule-charset.c (put_char_ccs_code_point): Modify for
1899 `decoding_table_remove_char' and `decoding_table_put_char'.
1900 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1902 * char-ucs.h (decoding_table_remove_char): Change arguments to
1903 hide decoding_table vector.
1904 (decoding_table_put_char): Likewise.
1906 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1908 * mule-charset.c (decoding_table_remove_char): Moved to
1910 (decoding_table_put_char): Likewise.
1912 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1913 from mule-charset.c].
1914 (decoding_table_remove_char): New inline function [moved from
1916 (decoding_table_put_char): Likewise.
1918 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1920 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1923 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1925 * mule-charset.c (decode_builtin_char): Support mother charsets.
1927 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1929 * mule-charset.c (Q94x94x60): New variable.
1930 (charset_code_point): Support conversion `94x94x60'.
1931 (Fmake_charset): Likewise.
1932 (syms_of_mule_charset): Add new symbol `94x94x60'.
1934 * char-ucs.h (CONVERSION_94x94x60): New macro.
1936 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1938 * mule-charset.c (charset_code_point): Unify code about
1941 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1943 * mule-charset.c (charset_code_point): Merge code about builtin
1944 characters into code about mother charsets; don't use
1945 `range_charset_code_point'.
1946 (range_charset_code_point): Deleted.
1948 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1950 * mule-charset.c (Qcode_offset): New variable.
1951 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1952 `max-code'; accept new property `code-offset'.
1953 (syms_of_mule_charset): Add new symbol `code-offset'.
1955 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1957 * mule-charset.c (range_charset_code_point): Fixed.
1959 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1961 * mule-charset.c (decode_builtin_char): Change semantics of
1962 code-offset of coded-charset.
1963 (charset_code_point): Likewise.
1964 (range_charset_code_point): Likewise.
1965 (complex_vars_of_mule_charset): Modify for the change.
1967 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1969 * mule-charset.c (Fencode_char): Reverse arguments.
1971 * mule-charset.c (charset_code_point): Fixed.
1973 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1975 * mule-charset.c (Vcharset_mojikyo): Deleted.
1976 (Vcharset_mojikyo_2022_1): Deleted.
1977 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1978 (Qmin_code): New variable in UTF-2000.
1979 (Qmax_code): Likewise.
1980 (Qmother): Likewise.
1981 (Qconversion): Likewise.
1983 (Qmojikyo): Deleted.
1984 (Qmojikyo_2022_1): Deleted.
1985 (Qmojikyo_pj_{1..22}): Deleted.
1986 (mark_charset): Mark `cs->mother'.
1987 (charset_description): Add description for `mother'.
1988 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1989 new arguments `mother' and `conversion'; use
1990 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1991 (charset_code_point): Moved from char-ucs.h; support `mother'
1993 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1994 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1995 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1996 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1997 allow 2 as the value of `graphic' in UTF-2000; add new properties
1998 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1999 require `final' in UTF-2000; modify for `make_charset'.
2000 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2001 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2002 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2003 (Fencode_char): New function.
2004 (syms_of_mule_charset): Add new builtin function `encode-char' in
2005 UTF-2000; add new symbols `min-code', `max-code', `mother',
2006 `conversion' and `94x60'; delete symbols `mojikyo',
2007 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2008 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2009 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2010 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2012 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2013 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2015 * char-ucs.h (Vcharset_mojikyo): Deleted.
2016 (Vcharset_mojikyo_2022_1): Deleted.
2017 (LEADING_BYTE_MOJIKYO): Deleted.
2018 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2019 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2020 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2021 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2022 add new member `mother'; add new member `conversion'.
2023 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2024 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2025 (CHARSET_MOTHER): New macro.
2026 (CHARSET_CONVERSION): New macro.
2027 (CONVERSION_IDENTICAL): New macro.
2028 (CONVERSION_94x60): New macro.
2029 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2030 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2031 (XCHARSET_MOTHER): New macro.
2032 (XCHARSET_CONVERSION): New macro.
2033 (MIN_CHAR_MOJIKYO): Deleted.
2034 (MAX_CHAR_MOJIKYO): Deleted.
2035 (DECODE_MOJIKYO_2022): Deleted.
2036 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2037 (charset_code_point): Changed to non-inline function.
2038 (encode_char_1): Use `charset_code_point'.
2039 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2041 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2043 * lread.c (read_compiled_function): Fix prototype.
2044 (read_vector): Likewise.
2046 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2048 * lrecord.h (struct lrecord_header): Delete `older'.
2049 (set_lheader_implementation): Delete code for `older'.
2050 (set_lheader_older_implementation): Deleted.
2051 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2052 (OLDER_RECORD_P): Deleted.
2053 (OLDER_RECORD_HEADER_P): Deleted.
2054 (alloc_older_lcrecord): Deleted.
2055 (alloc_older_lcrecord_type): Deleted.
2057 * alloc.c (all_older_lcrecords): Deleted.
2058 (alloc_older_lcrecord): Deleted.
2059 (disksave_object_finalization_1): Delete code for older objects.
2060 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2061 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2063 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2065 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2066 instead of `make_older_vector'.
2067 (put_char_ccs_code_point): Likewise.
2068 (mark_charset): Mark `cs->decoding_table'.
2069 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2071 * lisp.h (make_older_vector): Deleted.
2072 (make_vector_newer): Deleted.
2074 * config.h.in (HAVE_GGC): Deleted.
2076 * alloc.c (make_older_vector): Deleted.
2077 (make_vector_newer_1): Deleted.
2078 (make_vector_newer): Deleted.
2080 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2082 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2083 (Qideograph_daikanwa_2): New variable.
2084 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2085 (complex_vars_of_mule_charset): Add new coded-charset
2086 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2087 `LEADING_BYTE_DAIKANWA'.
2089 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2090 (LEADING_BYTE_DAIKANWA_1): New macro.
2091 (LEADING_BYTE_DAIKANWA_2): New macro.
2092 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2094 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2096 * mule-charset.c (complex_vars_of_mule_charset): Change
2097 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2098 the second revised version.
2100 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2102 * mule-charset.c (Vcharset_ucs_smp): New variable.
2103 (Vcharset_ucs_sip): New variable.
2104 (Qucs_smp): New variable.
2105 (Qucs_sip): New variable.
2106 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2107 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2108 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2109 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2110 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2111 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2113 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2114 (LEADING_BYTE_UCS_SIP): New macro.
2115 (MIN_CHAR_SMP): New macro.
2116 (MAX_CHAR_SMP): New macro.
2117 (MIN_CHAR_SIP): New macro.
2118 (MAX_CHAR_SIP): New macro.
2120 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2122 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2125 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2127 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2128 value; don't store value into `encoding_table' of `Lisp_Charset'.
2129 (mark_charset): `encoding_table' was deleted.
2130 (charset_description): Likewise.
2131 (make_charset): Likewise.
2132 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2133 `put_char_ccs_code_point'.
2135 * chartab.h (Fput_char_attribute): New EXFUN.
2137 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2138 is unified with normal symbol space.
2139 (Fget_char_attribute): Likewise.
2140 (Fput_char_attribute): Likewise; behavior of
2141 `put_char_ccs_code_point' is changed.
2143 * char-ucs.h: Include "elhash.h".
2144 (Vchar_attribute_hash_table): New external variable.
2145 (struct Lisp_Charset): Delete `encoding_table'.
2146 (CHARSET_ENCODING_TABLE): New implementation; refer
2147 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2150 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2152 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2155 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2157 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2160 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2162 * chartab.c (uint8_byte_table_description): New constant.
2163 (uint8-byte-table): Use `uint8_byte_table_description'.
2164 (uint16_byte_table_description): New constant.
2165 (uint16-byte-table): Use `uint16_byte_table_description'.
2167 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2169 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2170 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2172 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2174 * mule-charset.c (Vcharset_ucs_ks): New variable.
2175 (Qucs_ks): New variable.
2176 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2177 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2179 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2181 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2183 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2184 (Fdecode_char): Likewise.
2186 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2188 (Fdefine_char): Modify for Fdecode_char.
2189 (Ffind_char): Likewise.
2191 * mule-charset.c (Fdecode_char): Add new optional argument
2193 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2195 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2197 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2198 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2199 (allocate_coding_system): Initialize initial-charsets of
2200 CODESYS_BIG5 in XEmacs UTF-2000.
2201 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2202 CODESYS_BIG5 in XEmacs UTF-2000.
2203 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2204 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2206 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2208 (Qideograph_hanziku_{1 .. 12}): Likewise.
2209 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2211 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2212 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2213 `ideograph-hanziku-{1 .. 12}'.
2215 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2216 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2217 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2218 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2219 (DECODE_DEFINED_CHAR): New inline function.
2220 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2222 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2224 * mule-charset.c (Vcharset_china3_jef): Renamed from
2225 `Vcharset_japanese_jef_china3'.
2226 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2227 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2228 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2229 (syms_of_mule_charset): Rename `china3-jef' from
2230 `japanese-jef-china3'.
2231 (complex_vars_of_mule_charset): Likewise; rename
2232 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2234 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2235 `LEADING_BYTE_JEF_CHINA3'.
2236 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2237 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2239 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2241 * mule-charset.c (encode_builtin_char_1): Comment out special code
2242 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2244 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2245 (MAX_CHAR_MOJIKYO_0): Comment out.
2246 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2247 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2248 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2249 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2251 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2253 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2254 (Qideograph_cbeta): New variable.
2255 (encode_builtin_char_1): Comment out special code for
2256 coded-charset `mojikyo' and `japanese-jef-china3'.
2257 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2258 (complex_vars_of_mule_charset): Add new coded-charset
2261 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2262 (MIN_CHAR_CBETA): New macro.
2263 (MAX_CHAR_CBETA): New macro.
2265 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2267 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2268 (LEADING_BYTE_JEF_CHINA3): New macro.
2269 (MIN_CHAR_JEF_CHINA3): New macro.
2270 (MAX_CHAR_JEF_CHINA3): Likewise.
2271 (DECODE_CHAR): Fixed.
2273 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2275 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2276 (Qjapanese_jef_china3): New variable.
2277 (encode_builtin_char_1): Support `japanese-jef-china3'.
2278 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2279 (complex_vars_of_mule_charset): Add new coded-charset
2280 `japanese-jef-china3'.
2282 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2284 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2285 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2286 94^4, 96^3, 96^4, 128^n and 256^n set.
2287 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2288 (map_char_table): Likewise.
2290 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2292 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2295 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2297 * chartab.h (get_char_id_table): New inline function.
2299 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2302 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2304 * chartab.h (decode_char_table_range): New prototype in XEmacs
2306 (put_char_id_table): New inline function in XEmacs UTF-2000.
2308 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2310 (decode_char_table_range): Delete static declaration in XEmacs
2313 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2315 * chartab.c (put_char_id_table): Use `put_char_table'.
2317 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2319 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2320 (map_over_uint16_byte_table): Likewise.
2321 (map_over_byte_table): Likewise.
2322 (map_char_table): Modify for `map_over_uint8_byte_table',
2323 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2326 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2328 * chartab.c (struct map_char_table_for_charset_arg): New
2330 (map_char_table_for_charset_fun): New function.
2331 (map_char_table): Use `map_char_table' for encoding_table of
2334 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2336 * chartab.c (map_char_table): Check a character is found in
2337 range->charset instead of non default value is defined in
2338 char-table when range is CHARTAB_RANGE_ROW.
2340 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2342 * chartab.c (map_char_id_table): Deleted.
2343 (Fmap_char_attribute): Use `map_char_table' instead of
2344 `map_char_id_table'.
2346 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2348 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2350 (update_syntax_table): Deleted in XEmacs UTF-2000.
2352 * syntax.c (find_defun_start): Use `syntax_table' instead of
2353 `mirror_syntax_table' in XEmacs UTF-2000.
2354 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2356 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2358 (Fmatching_paren): Likewise.
2359 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2361 (find_start_of_comment): Likewise.
2362 (find_end_of_comment): Likewise.
2363 (Fforward_comment): Likewise.
2364 (scan_lists): Likewise.
2365 (char_quoted): Likewise.
2366 (Fbackward_prefix_chars): Likewise.
2367 (scan_sexps_forward): Likewise.
2368 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2369 (update_syntax_table): Likewise.
2371 * search.c (skip_chars): Use `syntax_table' instead of
2372 `mirror_syntax_table' in XEmacs UTF-2000.
2373 (wordify): Likewise.
2374 (Freplace_match): Likewise.
2376 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2377 `mirror_syntax_table' in XEmacs UTF-2000.
2378 (WORDCHAR_P_UNSAFE): Likewise.
2379 (re_match_2_internal): Likewise.
2381 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2382 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2384 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2385 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2387 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2390 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2392 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2393 (char_table_description): Delete `mirror_table' in XEmacs
2395 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2397 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2398 (Fcopy_char_table): Likewise.
2399 (put_char_table): Don't call `update_syntax_table' in XEmacs
2402 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2403 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2404 (casify_region_internal): Likewise.
2406 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2408 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2409 `mirror_syntax_table' in XEmacs UTF-2000.
2411 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2412 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2413 (Fexpand_abbrev): Likewise.
2415 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2417 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2419 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2421 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2422 (map_over_uint16_byte_table): Likewise.
2423 (map_over_byte_table): Likewise.
2424 (get_char_id_table): Refer `cit->default_value'.
2425 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2426 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2427 of character-id ranges.
2428 (mark_char_table): Mark `ct->default_value'.
2429 (char_table_description): Add `default_value'.
2430 (fill_char_table): Use `default_value'.
2431 (decode_char_table_range): Decode `nil' as
2432 `CHARTAB_RANGE_DEFAULT'.
2433 (get_char_id_table): Refer `cit->default_value'.
2434 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2435 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2436 temporary hack; check value of char-table is bound or not.
2437 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2439 * chartab.h (struct Lisp_Char_Table): Add new member
2440 `default_value' in XEmacs UTF-2000.
2441 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2442 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2445 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2447 * chartab.h (Lisp_Char_ID_Table): Deleted.
2449 * chartab.c (char_table_description): Fix typo.
2450 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2451 `Lisp_Char_ID_Table'.
2453 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2455 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2458 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2461 * chartab.h (XCHAR_ID_TABLE): Deleted.
2462 (XSETCHAR_ID_TABLE): Deleted.
2463 (CHAR_ID_TABLE_P): Deleted.
2465 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2467 (Fget_composite_char): Likewise.
2468 (put_char_table): Likewise.
2469 (add_char_attribute_alist_mapper): Fixed.
2470 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2472 (Fget_char_attribute): Likewise.
2473 (Fget_char_attribute): Likewise.
2474 (Fmap_char_attribute): Likewise.
2476 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2478 (encode_char_1): Likewise.
2480 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2482 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2485 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2486 instead of `XCHAR_ID_TABLE'.
2487 (remove_char_ccs): Likewise.
2489 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2491 (Fget_composite_char): Likewise.
2492 (Fchar_variants): Likewise.
2493 (put_char_table): Likewise.
2494 (add_char_attribute_alist_mapper): Likewise.
2495 (Fchar_attribute_alist): Likewise.
2496 (Fget_char_attribute): Likewise.
2497 (Fput_char_attribute): Likewise.
2498 (Fmap_char_attribute): Likewise.
2499 (Fmap_char_attribute): Likewise.
2501 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2503 (encode_char_1): Likewise.
2505 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2507 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2508 `Lisp_Char_ID_Table'.
2509 (mark_char_id_table): Deleted.
2510 (print_char_id_table): Likewise.
2511 (char_id_table_equal): Likewise.
2512 (char_id_table_hash): Likewise.
2513 (char_id_table_description): Likewise.
2514 (char_id_table): Likewise.
2515 (make_char_id_table): Use `Fmake_char_table' and
2517 (get_char_id_table): Use `Lisp_Char_Table' instead of
2518 `Lisp_Char_ID_Table'.
2519 (put_char_id_table): Likewise.
2520 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2522 (Fremove_char_attribute): Likewise.
2523 (syms_of_chartab): Don't define type `char-id-table'.
2525 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2526 (char_id_table): Likewise.
2527 (GC_CHAR_ID_TABLE_P): Likewise.
2528 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2529 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2530 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2531 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2532 (get_char_id_table): Use `Lisp_Char_Table' instead of
2533 `Lisp_Char_ID_Table'.
2534 (put_char_id_table_0): Likewise.
2535 (put_char_id_table): Likewise.
2537 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2539 * chartab.h: Lisp_Byte_Table related codes are moved from
2542 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2544 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2546 * chartab.h: Don't include "chartab.h".
2547 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2548 (Lisp_Char_ID_Table): Likewise.
2549 (char_id_table): Likewise.
2550 (XCHAR_ID_TABLE): Likewise.
2551 (XSETCHAR_ID_TABLE): Likewise.
2552 (CHAR_ID_TABLE_P): Likewise.
2553 (GC_CHAR_ID_TABLE_P): Likewise.
2554 (get_char_id_table): Likewise.
2556 * char-ucs.h: Include "chartab.h".
2557 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2558 (Lisp_Char_ID_Table): Likewise.
2559 (char_id_table): Likewise.
2560 (XCHAR_ID_TABLE): Likewise.
2561 (XSETCHAR_ID_TABLE): Likewise.
2562 (CHAR_ID_TABLE_P): Likewise.
2563 (GC_CHAR_ID_TABLE_P): Likewise.
2564 (get_char_id_table): Likewise.
2566 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2568 * chartab.c (copy_uint8_byte_table): New function.
2569 (copy_uint16_byte_table): New function.
2570 (copy_byte_table): New function.
2571 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2573 (map_over_uint16_byte_table): Likewise.
2574 (map_over_byte_table): Likewise.
2575 (get_byte_table): Move prototype to chartab.h.
2576 (put_byte_table): Likewise.
2577 (put_char_id_table_0): Moved to chartab.h.
2578 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2579 (char_table_entry_equal): Likewise.
2580 (char_table_entry_hash): Likewise.
2581 (char_table_entry_description): Likewise.
2582 (char_table_entry): Likewise.
2583 (make_char_table_entry): Likewise.
2584 (copy_char_table_entry): Likewise.
2585 (get_non_ascii_char_table_value): Likewise.
2586 (map_over_charset_ascii): Likewise.
2587 (map_over_charset_control_1): Likewise.
2588 (map_over_charset_row): Likewise.
2589 (map_over_other_charset): Likewise.
2590 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2591 (print_char_table): Likewise.
2592 (char_table_equal): Likewise.
2593 (char_table_hash): Likewise.
2594 (char_table_description): Likewise.
2595 (fill_char_table): Likewise.
2596 (Fcopy_char_table): Likewise.
2597 (get_char_table): Likewise.
2598 (Fget_range_char_table): Likewise.
2599 (put_char_table): Likewise.
2600 (map_char_table): Likewise.
2601 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2604 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2606 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2607 `Vauto_fill_chars' in XEmacs UTF-2000.
2609 * chartab.h (get_byte_table): New prototype [moved from
2611 (put_byte_table): Likewise [moved from chartab.c].
2612 (put_char_id_table_0): New inline function [moved from chartab.c].
2613 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2614 (Lisp_Char_Table_Entry): Likewise.
2615 (char_table_entry): Likewise.
2616 (XCHAR_TABLE_ENTRY): Likewise.
2617 (XSETCHAR_TABLE_ENTRY): Likewise.
2618 (CHAR_TABLE_ENTRYP): Likewise.
2619 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2620 (NUM_ASCII_CHARS): Likewise.
2621 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2622 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2624 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2626 * chartab.c (get_char_id_table): Change interface.
2627 (put_char_id_table_0): New function.
2628 (put_char_id_table): Change interface; new implementation.
2629 (Fget_composite_char): Modify for interface change of
2630 `get_char_id_table'.
2631 (Fchar_variants): Likewise.
2632 (add_char_attribute_alist_mapper): Likewise.
2633 (Fchar_attribute_alist): Likewise.
2634 (Fget_char_attribute): Likewise.
2635 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2636 as same as character as the first argument like `put-char-table';
2637 modify for interface change of `put_char_id_table'.
2638 (Fremove_char_attribute): Modify for interface change of
2639 `put_char_id_table'.
2641 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2643 * text-coding.c: Sync up with XEmacs 21.2.41.
2644 (COMPOSE_ADD_CHAR): Modify for interface change of
2645 `get_char_id_table'.
2647 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2648 change of `put_char_id_table'.
2649 (remove_char_ccs): Likewise.
2651 * chartab.h (put_char_id_table): Change interface.
2653 * char-ucs.h (get_char_id_table): Change interface.
2654 (charset_code_point): Modify for interface change of
2655 `get_char_id_table'.
2656 (encode_char_1): Likewise.
2658 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2660 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2662 (map_over_uint16_byte_table): Likewise.
2663 (map_over_byte_table): Likewise.
2664 (map_char_id_table): Add new argument `range' like
2666 (Fmap_char_attribute): Add new argument `range' like
2669 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2671 * chartab.c (map_over_uint8_byte_table): Change interface of
2672 mapping function to use struct chartab_range instead of Emchar.
2673 (map_over_uint16_byte_table): Likewise.
2674 (map_over_byte_table): Likewise.
2675 (map_char_id_table): Likewise.
2676 (struct slow_map_char_id_table_arg): Deleted.
2677 (slow_map_char_id_table_fun): Deleted.
2678 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2679 function `slow_map_char_table_fun' instead of struct
2680 `slow_map_char_id_table_arg' and function
2681 `slow_map_char_id_table_fun'.
2683 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2685 * mule-charset.c: Move char-it-table related codes to chartab.c.
2686 (Vutf_2000_version): Moved to chartab.c.
2687 (Fdefine_char): Likewise.
2688 (Ffind_char): Likewise.
2689 (syms_of_mule_charset): Move types `uint8-byte-table',
2690 `uint16-byte-table', `byte-table' and `char-id-table' to
2691 chartab.c; move functions `char_attribute_list,
2692 `find_char_attribute_table, `char_attribute_alist,
2693 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2694 `map_char_attribute, `define_char, `find_char, `char_variants and
2695 `get_composite_char to chartab.c; move symbols `=>ucs',
2696 `->decomposition', `compat', `isolated', `initial', `medial',
2697 `final', `vertical', `noBreak', `fraction', `super', `sub',
2698 `circle', `square', `wide', `narrow', `small' and `font' to
2700 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2701 setting codes for `Vcharacter_composition_table' and
2702 `Vcharacter_variant_table' to chartab.c.
2703 (complex_vars_of_mule_charset): Move setting code for
2704 `Vchar_attribute_hash_table' to chartab.c.
2706 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2707 (make_char_id_table): New prototype.
2708 (put_char_id_table): Likewise.
2709 (Fget_char_attribute): Likewise.
2711 * chartab.c: Move char-id-table related code from mule-charset.c.
2712 (Vutf_2000_version): Moved from mule-charset.c.
2714 * char-ucs.h (Qucs): New external variable.
2715 (put_char_ccs_code_point): New prototype.
2716 (remove_char_ccs): Likewise.
2718 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2720 * mule-charset.c (Vcharset_ucs_jis): New variable.
2721 (Qucs_jis): Likewise.
2722 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2723 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2725 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2727 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2729 * mule-charset.c (map_over_uint8_byte_table): New function.
2730 (map_over_uint16_byte_table): Likewise.
2731 (map_over_byte_table): Likewise.
2732 (map_char_id_table): Likewise.
2733 (slow_map_char_id_table_fun): Likewise.
2734 (Fmap_char_attribute): Likewise.
2735 (syms_of_mule_charset): Add new function `map-char-attribute'.
2737 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2739 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2740 (syms_of_mule_charset): Add new function `find-char'.
2742 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2744 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2746 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2747 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2749 (complex_vars_of_mule_charset): Add new coded-charset
2750 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2751 `ideograph-gt-pj-*'.
2753 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2755 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2757 * mule-charset.c (encode_builtin_char_1): Purge codes about
2758 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2759 {MIN|MAX}_CHAR_HEBREW.
2760 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2761 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2763 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2764 (MAX_CHAR_GREEK): Purged.
2765 (MIN_CHAR_CYRILLIC): Purged.
2766 (MAX_CHAR_CYRILLIC): Purged.
2767 (MIN_CHAR_HEBREW): Commented out.
2768 (MAX_CHAR_HEBREW): Likewise.
2770 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2772 * mule-charset.c (Qto_ucs): New variable.
2773 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2774 (Fdefine_char): Likewise.
2775 (syms_of_mule_charset): Add new symbol `=>ucs'.
2777 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2779 * mule-charset.c (Fdecode_char): Fixed.
2781 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2783 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2784 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2787 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2789 * mule-charset.c (Vcharset_ucs_big5): New variable.
2790 (Qucs_big5): Likewise.
2791 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2792 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2794 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2796 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2798 * mule-charset.c (decode_builtin_char): Check Big5 code range
2799 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2801 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2803 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2804 (Qchinese_gb12345): Likewise.
2805 (Fdecode_builtin_char): Fixed.
2806 (syms_of_mule_charset): Add `chinese-gb12345'.
2807 (complex_vars_of_mule_charset): Add coded-charset
2810 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2811 (LEADING_BYTE_CHINESE_GB12345): New macro.
2813 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2815 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2816 and `latin-viscii-upper' for `latin-viscii'.
2818 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2820 * mule-charset.c (Fdecode_builtin_char): Comment out
2821 regularization code for ISO-IR GR representation.
2823 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2825 * mule-charset.c (decode_builtin_char): New function; renamed from
2826 `make_builtin_char'; return -1 instead of signal.
2827 (Fdecode_builtin_char): Use `decode_builtin_char'.
2829 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2830 `make_builtin_char'.
2831 (DECODE_CHAR): Use `decode_builtin_char' instead of
2832 `make_builtin_char'; use mapping table of `chinese-big5' for
2833 `chinese-big5-{1,2}'.
2835 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2837 * text-coding.c (char_encode_big5): New function.
2838 (char_finish_big5): Likewise.
2839 (reset_encoding_stream): Use `char_encode_big5' and
2840 `char_finish_big5' for CODESYS_BIG5.
2841 (mule_encode): Don't use `encode_coding_big5'.
2842 (encode_coding_big5): Deleted.
2844 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2846 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2847 0x81- in XEmacs UTF-2000.
2848 (detect_coding_big5): Likewise.
2850 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2852 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2853 generate character-id if the CCS property does not have
2854 corresponding predefined character.
2855 (make_builtin_char): Return -1 if corresponding predefined
2856 character is not found.
2857 (Fdecode_char): Return nil if corresponding character is not
2859 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2860 don't map to builtin ucs space.
2862 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2864 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2865 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2867 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2869 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2870 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2871 (Qideograph_gt): Likewise.
2872 (Qideograph_gt_pj_{1..11}): Likewise.
2873 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2874 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2875 `ideograph-gt-pj-11'.
2876 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2877 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2878 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2880 * char-ucs.h (LEADING_BYTE_GT): New macro.
2881 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2882 (MIN_CHAR_GT): Likewise.
2883 (MAX_CHAR_GT): Likewise.
2885 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2887 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2888 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2890 * doprnt.c (unsigned_int_converters): Add `c'.
2891 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2893 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2894 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2896 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2897 (MAX_CHAR_MOJIKYO_0): New macro.
2898 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2900 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2902 * mule-charset.c (Fdefine_char): Delete cemented out code.
2903 (encode_builtin_char_1): Modify for new allocation of builtin
2906 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2908 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2910 * mule-charset.c (Vcharset_ucs_cns): New variable.
2911 (Qucs_cns): New variable.
2912 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2913 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2915 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2917 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2919 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2921 * search.c (search_buffer): Make `charset_base_code' as
2922 character-id >> 6 to eliminate the corresponding last byte in
2923 UTF-8 representation [I'm not sure it is right thing].
2924 (boyer_moore): Likewise.
2926 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2928 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2929 representation in MULE.
2931 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2933 * text-coding.c (Fmake_coding_system): Use
2934 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2935 `EXTERNAL_PROPERTY_LIST_LOOP'.
2937 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2939 * text-coding.c (decode_output_utf8_partial_char): New function.
2940 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2942 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2944 * text-coding.c (decode_coding_utf8): Output original byte
2945 sequence if it is broken; change order of conditions.
2947 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2950 * mb-multibyte.h (BYTE_ASCII_P):
2951 Use bit ops for char-signedness safety.
2952 (BYTE_C0_P): Use bit ops for char-signedness safety.
2953 (BYTE_C1_P): Use bit ops for char-signedness safety.
2955 * character.h: (XCHAR_OR_CHAR_INT):
2956 Always use inline function.
2957 Remove redundant type checking assert() - XINT will abort quite
2960 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2962 * text-coding.c: (Fencode_shift_jis_char):
2963 (Fencode_big5_char):
2964 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2965 Replace 0 with '\0' when working with bytes.
2966 Replace initial "(" with "\(" in docstrings.
2968 (Fmake_coding_system):
2969 When type is ccl and value is vector, register it with a proper
2970 symbol. And checks whether the given ccl program is valid.
2971 (mule_decode): When calling ccl_driver, if src indicates
2972 NULL pointer, set an empty string instead.
2973 (mule_encode): Likewise.
2976 (detect_coding_sjis):
2977 (decode_coding_sjis):
2978 (detect_coding_big5):
2979 (decode_coding_big5):
2980 (detect_coding_ucs4):
2981 (decode_coding_ucs4):
2982 (detect_coding_utf8):
2983 (decode_coding_utf8):
2984 (detect_coding_iso2022):
2985 (decode_coding_iso2022):
2986 (decode_coding_no_conversion):
2988 Make all detecting and decoding functions take an Extbyte * arg.
2989 (text_encode_generic):
2990 (encode_coding_big5):
2991 (encode_coding_no_conversion):
2993 Make all encoding functions take a Bufbyte * arg.
2994 Use size_t instead of unsigned int for memory sizes.
2995 Only cast to unsigned char whenever dereferencing Extbyte *.
2997 (struct lrecord_description fcd_description_1): Use countof.
2998 (complex_vars_of_file_coding):
2999 Use countof instead of sizeof.
3000 Use CHECK_NATNUM instead of CHECK_INT.
3002 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3004 * mule-charset.c (Fget_char_attribute): Add new optional argument
3006 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3007 (remove_char_ccs): Likewise.
3009 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3011 * text-coding.c (char_encode_shift_jis): New implementation in
3013 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3016 * mule-charset.c (Vcharset_chinese_big5): New variable in
3018 (Qchinese_big5): New variable in UTF-2000.
3019 (BIG5_SAME_ROW): New macro in UTF-2000.
3020 (make_builtin_char): Use builtin characters of
3021 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3022 characters of `Vcharset_chinese_big5'.
3023 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3024 (complex_vars_of_mule_charset): Add new coded-charset
3025 `chinese-big5' in UTF-2000.
3027 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3028 (Vcharset_chinese_big5): New external variable declaration.
3029 (Vcharset_japanese_jisx0208_1990): Likewise.
3031 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3033 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3035 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3037 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3039 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3040 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3041 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3044 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3046 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3048 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3050 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3053 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3055 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3056 for `CHARSET_BY_ATTRIBUTES'.
3057 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3058 `CHARSET_BY_ATTRIBUTES'.
3060 * text-coding.c (struct decoding_stream): Rename member `CH' to
3062 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3063 (decode_coding_sjis): Likewise.
3064 (decode_coding_big5): Likewise.
3065 (decode_coding_ucs4): Likewise.
3066 (decode_coding_utf8): Likewise.
3067 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3068 `CHARSET_BY_ATTRIBUTES'.
3069 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3070 `str->counter'; decode 3, 4 bytes sets.
3071 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3073 (decode_coding_no_conversion): Use `str->cpos' instead of
3076 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3077 (Qmojikyo_2022_1): New variable.
3078 (make_charset): Don't use `CHARSET_TYPE_*'.
3079 (range_charset_code_point): Support coded-charset
3081 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3082 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3083 `CHARSET_BY_ATTRIBUTES'.
3084 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3085 `CHARSET_BY_ATTRIBUTES'.
3086 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3087 (complex_vars_of_mule_charset): Add new coded-charset
3090 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3091 interface; changed to inline function.
3093 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3094 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3095 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3096 (CHARSET_TYPE_94): Deleted.
3097 (CHARSET_TYPE_94X94): Deleted.
3098 (CHARSET_TYPE_96): Deleted.
3099 (CHARSET_TYPE_96X96): Deleted.
3100 (CHARSET_TYPE_128): Deleted.
3101 (CHARSET_TYPE_128X128): Deleted.
3102 (CHARSET_TYPE_256): Deleted.
3103 (CHARSET_TYPE_256X256): Deleted.
3104 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3106 (DECODE_MOJIKYO_2022): New inline function.
3107 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3108 `Vcharset_mojikyo_2022_1'.
3110 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3112 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3114 (put_byte_table): Likewise.
3115 (char_id_table_equal): Use `get_byte_table' [new implementation].
3117 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3119 * mule-charset.c: Include <limits.h> in UTF-2000.
3120 (BT_UINT8_MIN): New macro in UTF-2000.
3121 (BT_UINT8_MAX): New macro in UTF-2000.
3122 (BT_UINT8_t): New macro in UTF-2000.
3123 (BT_UINT8_nil): New macro in UTF-2000.
3124 (BT_UINT8_unbound): New macro in UTF-2000.
3125 (INT_UINT8_P): New inline function in UTF-2000.
3126 (UINT8_VALUE_P): New inline function in UTF-2000.
3127 (UINT8_ENCODE): New inline function in UTF-2000.
3128 (UINT8_DECODE): New inline function in UTF-2000.
3129 (mark_uint8_byte_table): New function in UTF-2000.
3130 (print_uint8_byte_table): New function in UTF-2000.
3131 (uint8_byte_table_equal): New function in UTF-2000.
3132 (uint8_byte_table_hash): New function in UTF-2000.
3133 (make_uint8_byte_table): New function in UTF-2000.
3134 (uint8_byte_table_same_value_p): New function in UTF-2000.
3135 (BT_UINT16_MIN): New macro in UTF-2000.
3136 (BT_UINT16_MAX): New macro in UTF-2000.
3137 (BT_UINT16_t): New macro in UTF-2000.
3138 (BT_UINT16_nil): New macro in UTF-2000.
3139 (BT_UINT16_unbound): New macro in UTF-2000.
3140 (INT_UINT16_P): New inline function in UTF-2000.
3141 (UINT16_VALUE_P): New inline function in UTF-2000.
3142 (UINT16_ENCODE): New inline function in UTF-2000.
3143 (UINT16_DECODE): New inline function in UTF-2000.
3144 (UINT8_TO_UINT16): New inline function in UTF-2000.
3145 (mark_uint16_byte_table): New function in UTF-2000.
3146 (print_uint16_byte_table): New function in UTF-2000.
3147 (uint16_byte_table_equal): New function in UTF-2000.
3148 (uint16_byte_table_hash): New function in UTF-2000.
3149 (make_uint16_byte_table): New function in UTF-2000.
3150 (uint16_byte_table_same_value_p): New function in UTF-2000.
3151 (print_byte_table): New function in UTF-2000.
3152 (byte-table): Use `print_byte_table' as printer.
3153 (make_byte_table): Delete second argument `older'.
3154 (byte_table_same_value_p): New function in UTF-2000.
3155 (copy_byte_table): Deleted.
3156 (get_byte_table): New function in UTF-2000.
3157 (put_byte_table): New function in UTF-2000.
3158 (print_char_id_table): New function in UTF-2000.
3159 (char-id-table): Use `print_char_id_table' as printer.
3160 (make_char_id_table): Delete second argument `older'.
3161 (get_char_id_table): Use `get_byte_table [new implementation].
3162 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3164 (Ffind_char_attribute_table): New function in UTF-2000.
3165 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3166 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3167 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3168 (syms_of_mule_charset): Add new function
3169 `find-char-attribute-table' in UTF-2000.
3171 * lrecord.h (enum lrecord_type): Add
3172 `lrecord_type_uint16_byte_table' and
3173 `lrecord_type_uint8_byte_table'.
3175 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3176 (Lisp_Uint8_Byte_Table): New type.
3177 (XUINT8_BYTE_TABLE): New macro.
3178 (XSETUINT8_BYTE_TABLE): New macro.
3179 (UINT8_BYTE_TABLE_P): New macro.
3180 (GC_UINT8_BYTE_TABLE_P): New macro.
3181 (struct Lisp_Uint16_Byte_Table): New structure.
3182 (Lisp_Uint16_Byte_Table): New type.
3183 (XUINT16_BYTE_TABLE): New macro.
3184 (XSETUINT16_BYTE_TABLE): New macro.
3185 (UINT16_BYTE_TABLE_P): New macro.
3186 (GC_UINT16_BYTE_TABLE_P): New macro.
3188 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3190 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3191 (Vcharacter_ideographic_strokes_table): Deleted.
3192 (Vcharacter_total_strokes_table): Deleted.
3193 (Vcharacter_morohashi_daikanwa_table): Deleted.
3194 (Vcharacter_decomposition_table): Deleted.
3195 (Qname): Deleted because it is duplicated.
3196 (Qideographic_radical): Deleted.
3197 (Qideographic_strokes): Deleted.
3198 (Qtotal_strokes): Deleted.
3199 (Qmorohashi_daikanwa): Deleted.
3200 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3201 `ideographic-radical', `ideographic-strokes', `total-strokes',
3202 `morohashi-daikanwa' and `->decomposition'.
3203 (Fget_char_attribute): Likewise.
3204 (Fput_char_attribute): Likewise; use `make-vector' instead of
3205 `make_older_vector' for `->decomposition' value.
3206 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3207 `ideograph-daikanwa'.
3208 (syms_of_mule_charset): Delete builtin symbols `name',
3209 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3210 `morohashi-daikanwa'.
3211 (vars_of_mule_charset): Don't setup
3212 `Vcharacter_ideographic_radical_table',
3213 `Vcharacter_ideographic_strokes_table',
3214 `Vcharacter_total_strokes_table',
3215 `Vcharacter_morohashi_daikanwa_table' and
3216 `Vcharacter_decomposition_table'.
3218 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3220 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3221 `make_older_vector', `make_vector_newer_1' and
3222 `make_vector_newer'.
3224 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3225 `make_older_vector' and `make_vector_newer'.
3227 * config.h.in (HAVE_GGC): New macro.
3229 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3231 * mule-charset.c (struct char_attribute_list_closure): New
3232 structure in UTF-2000.
3233 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3234 (Fchar_attribute_list): Likewise.
3235 (Fset_charset_mapping_table): Use `make_vector_newer'.
3236 (Fdecode_builtin_char): New function in UTF-2000.
3237 (syms_of_mule_charset): Add new function `char-attribute-list' and
3238 `decode-builtin-char' in UTF-2000.
3240 * lisp.h (make_vector_newer): New prototype.
3242 * alloc.c (make_vector_newer_1): New function.
3243 (make_vector_newer): New function.
3245 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3247 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3250 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3252 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3253 (Vcharacter_attribute_table): Deleted.
3254 (Vcharacter_name_table): Deleted.
3255 (put_char_attribute): Deleted.
3256 (remove_char_attribute): Deleted.
3257 (struct char_attribute_alist_closure): New structure.
3258 (add_char_attribute_alist_mapper): New function.
3259 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3260 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3261 (Fget_char_attribute): Likewise.
3262 (Fput_char_attribute): Likewise.
3263 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3264 of `remove_char_attribute'.
3265 (Fdefine_char): Return character.
3266 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3267 and `Vcharacter_name_table'.
3268 (complex_vars_of_mule_charset): Likewise
3269 `Vchar_attribute_hash_table'.
3271 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3273 * character.h (CHARC_CHARSET): New macro.
3274 (CHARC_CHARSET_ID): New macro.
3275 (CHARC_CODE_POINT): New macro.
3276 (CHARC_COLUMNS): New macro.
3277 (CHARC_TO_CHAR): New inline function.
3278 (CHARC_EQ): New inline function.
3279 (CHARC_ASCII_EQ): New inline function.
3280 (CHARC_IS_SPACE): New inline function.
3281 (ASCII_TO_CHARC): New inline function.
3283 * char-ucs.h (encode_char_2): Deleted.
3284 (ENCODE_CHAR): Use `encode_char_1' again.
3285 (breakup_char_1): Likewise.
3286 (CHAR_TO_CHARC): New inline function.
3288 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3290 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3292 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3293 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3294 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3295 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3296 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3298 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3300 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3302 (x_output_display_block): Use `CHARC_CHARSET' and
3305 * redisplay-tty.c (tty_output_display_block): Use
3307 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3309 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3311 * insdel.c (find_charsets_in_charc_string): Use
3313 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3314 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3315 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3316 (convert_charc_string_into_malloced_string): Likewise.
3318 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3320 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3321 instead of <Emchar_dynarr *> for buf; use
3322 `convert_bufbyte_string_into_charc_dynarr' instead of
3323 `convert_bufbyte_string_into_emchar_dynarr'; use
3324 `find_charsets_in_charc_string' instead of
3325 `find_charsets_in_emchar_string'.
3328 - Include "character.h".
3329 (struct rune): New member `cglyph'; delete member `chr'.
3331 * redisplay.c (redisplay_text_width_charc_string): New function;
3332 delete `redisplay_text_width_emchar_string'.
3333 (rtw_charc_dynarr): New variable; renamed from
3334 `rtw_emchar_dynarr'.
3335 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3336 `rtw_emchar_dynarr'; use
3337 `convert_bufbyte_string_into_charc_dynarr' instead of
3338 `convert_bufbyte_string_into_emchar_dynarr'; use
3339 `redisplay_text_width_charc_string' instead of
3340 `redisplay_text_width_emchar_string'.
3341 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3342 instead of `rtw_emchar_dynarr'; use
3343 `convert_bufbyte_string_into_charc_dynarr' instead of
3344 `convert_bufbyte_string_into_emchar_dynarr'.
3345 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3346 `redisplay_text_width_charc_string' instead of
3347 `redisplay_text_width_emchar_string'.
3348 (create_text_block): Modify for <struct rune> change.
3349 (generate_formatted_string_db): Likewise.
3350 (create_string_text_block): Likewise.
3351 (pixel_to_glyph_translation): Likewise.
3353 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3354 instead of <const Emchar *>.
3355 (x_text_width): Likewise.
3356 (x_output_display_block): Use <Charc_dynarr *> instead
3357 <Emchar_dynarr *>; modify for <structure rune> change.
3358 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3361 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3362 <const Emchar *>; use `charc_string_displayed_columns' instead of
3363 `emchar_string_displayed_columns'.
3364 (tty_output_display_block): Use <Charc_dynarr *> instead of
3365 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3366 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3367 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3368 `tty_output_emchar_dynarr_dynarr'.
3369 (tty_output_charc_dynarr): New function; delete
3370 `tty_output_charc_dynarr'.
3372 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3373 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3374 <Emchar_dynarr *> for buf; use
3375 `convert_bufbyte_string_into_charc_dynarr' instead of
3376 `convert_bufbyte_string_into_emchar_dynarr'.
3378 * frame.c (title_string_charc_dynarr): New variable; renamed from
3379 `title_string_emchar_dynarr'.
3380 (generate_title_string): Use `title_string_charc_dynarr' instead
3381 of `title_string_emchar_dynarr'; use
3382 `convert_charc_string_into_malloced_string' instead of
3383 `convert_emchar_string_into_malloced_string'.
3384 (init_frame): Use `title_string_charc_dynarr' instead of
3385 `title_string_emchar_dynarr'.
3388 - Include "character.h".
3389 (struct console_methods): Use <const Charc *> instead of <const
3390 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3391 <Emchar_dynarr *> in output_string_method.
3393 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3396 * console-stream.c (stream_text_width): Use <const Charc *>
3397 instead of <const Emchar *>.
3399 * character.h (Charc_dynarr): New type.
3401 * char-ucs.h (structure Charc): New structure; define new type
3404 * char-lb.h (DECODE_CHAR): New inline function.
3405 (encode_char_1): New inline function.
3406 (ENCODE_CHAR): New macro.
3407 (structure Charc): New structure; define new type `Charc'.
3409 * char-1byte.h (Vcharset_control_1): New macro.
3410 (Vcharset_latin_iso8859_1): New macro.
3411 (DECODE_CHAR): New inline function.
3412 (encode_char_1): New inline function.
3413 (ENCODE_CHAR): New macro.
3414 (structure Charc): New structure; define new type `Charc'.
3416 * insdel.c (find_charsets_in_charc_string): New function; delete
3417 `find_charsets_in_emchar_string'.
3418 (charc_string_displayed_columns): New function; delete
3419 `emchar_string_displayed_columns'.
3420 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3421 `convert_bufbyte_string_into_emchar_dynarr'.
3422 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3423 `convert_charc_string_into_bufbyte_dynarr'.
3424 (convert_charc_string_into_malloced_string): New function; delete
3425 `convert_charc_string_into_malloced_string'.
3427 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3428 `find_charsets_in_emchar_string'.
3429 (charc_string_displayed_columns): New prototype; delete
3430 `emchar_string_displayed_columns'.
3431 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3432 `convert_charc_string_into_bufbyte_dynarr'.
3433 (convert_charc_string_into_malloced_string): New prototype; delete
3434 `convert_charc_string_into_malloced_string'.
3436 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3438 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3440 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3442 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3444 * char-ucs.h: Use <short> for <Charset_ID>.
3446 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3449 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3451 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3454 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3456 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3458 (Qmorohashi_daikanwa): New variable.
3459 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3460 for `morohashi-daikanwa' attribute.
3461 (Fget_char_attribute): Likewise.
3462 (Fput_char_attribute): Likewise.
3463 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3464 has the same value of `ideograph-daikanwa'.
3465 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3466 (vars_of_mule_charset): Setup
3467 `Vcharacter_morohashi_daikanwa_table'.
3469 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3471 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3473 (add_charset_to_list_mapper): Add `key' instead of
3474 `XCHARSET_NAME (value)' to return aliases.
3476 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3478 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3480 (Vcharacter_ideographic_strokes_table): New variable.
3481 (Qideographic_radical): New variable.
3482 (Qideographic_strokes): New variable.
3483 (Fchar_attribute_alist): Use
3484 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3485 attribute; use `Vcharacter_ideographic_strokes_table' for
3486 `ideographic-strokes' attribute.
3487 (Fget_char_attribute): Likewise.
3488 (Fput_char_attribute): Likewise.
3489 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3490 `ideographic-strokes'.
3491 (vars_of_mule_charset): Setup
3492 `Vcharacter_ideographic_radical_table' and
3493 `Vcharacter_ideographic_strokes_table'.
3495 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3497 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3498 (Qtotal_strokes): New variable.
3499 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3500 `total-strokes' attribute.
3501 (Fget_char_attribute): Likewise.
3502 (Fput_char_attribute): Likewise.
3503 (syms_of_mule_charset): Add new symbol `total-strokes'.
3504 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3506 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3508 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3509 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3511 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3512 `->decomposition' attribute.
3513 (Fput_char_attribute): Likewise.
3514 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3516 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3518 * mule-charset.c (decoding_table_check_elements): New function.
3519 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3521 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3523 * mule-charset.c (Fset_charset_mapping_table): Use
3524 `put_char_ccs_code_point'.
3526 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3528 * mule-charset.c (decoding_table_put_char): New inline function.
3529 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3531 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3533 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3534 (XCHARSET_BYTE_SIZE): New macro.
3535 (decoding_table_remove_char): New inline function.
3536 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3537 `decoding_table_remove_char'.
3538 (remove_char_ccs): Use `decoding_table_remove_char'.
3539 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3541 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3543 * mule-charset.c (Vcharacter_name_table): New variable.
3544 (Qname): New variable.
3545 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3547 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3548 `Vcharacter_name_table' for `name' attribute.
3549 (Fremove_char_attribute): Use function `remove_char_ccs'.
3550 (put_char_ccs_code_point): New function.
3551 (remove_char_ccs): New function.
3552 (syms_of_mule_charset): Add new symbol `name'.
3553 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3555 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3557 * mule-charset.c (make_byte_table): Add new argument `older'.
3558 (make_char_id_table): Likewise.
3559 (copy_char_id_table): Comment out because it is not used.
3560 (put_char_id_table): Modify for `make_byte_table'.
3561 (Fput_char_attribute): Make encoding_table as older object;
3562 inherit older bit of `Vcharacter_composition_table'.
3563 (mark_charset): Don't mark `cs->encoding_table'.
3564 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3565 normal object; make `Vcharacter_composition_table' as an older
3566 object; delete staticpro for `Vcharacter_composition_table'; make
3567 `Vcharacter_variant_table' as a normal object.
3569 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3570 (mark_object): Don't check older object in UTF-2000.
3572 * lrecord.h (struct lrecord_header): Add new member `older' in
3574 (set_lheader_implementation): Setup `SLI_header->older' in
3576 (set_lheader_older_implementation): New macro in UTF-2000.
3577 (OLDER_RECORD_P): New macro in UTF-2000.
3578 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3579 (alloc_older_lcrecord): New prototype in UTF-2000.
3580 (alloc_older_lcrecord_type): New macro in UTF-2000.
3582 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3584 * mule-charset.c (byte_table_description): Use
3585 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3586 (char_id_table_description): Delete bogus `, 1'.
3587 (Fget_char_attribute): Refer encoding_table of each coded-charset
3588 to get value of coded-charset attribute of a character.
3589 (Fput_char_attribute): Use `make_older_vector' instead of
3590 `make_vector'; use encoding_table of each coded-charset to store
3591 value of coded-charset attribute of a character.
3592 (Fremove_char_attribute): Use encoding_table of each coded-charset
3593 to store value of coded-charset attribute of a character.
3594 (mark_charset): Mark `cs->encoding_table'; don't mark
3595 `cs->decoding_table'.
3596 (charset_description): Add description of new member
3598 (make_charset): Initialize `encoding_table'.
3600 * char-ucs.h (struct Lisp_Charset): Add new member
3602 (CHARSET_ENCODING_TABLE): New macro.
3603 (XCHARSET_ENCODING_TABLE): New macro.
3604 (charset_code_point): New implementation.
3605 (encode_char_1): Likewise.
3607 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3608 (disksave_object_finalization_1): Call finalizers of
3609 `all_older_lcrecords' in UTF-2000.
3610 (make_older_vector): New function in UTF-2000.
3611 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3614 * lisp.h (make_older_vector): New prototype in UTF-2000.
3616 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3618 * lrecord.h (enum lrecord_type): Rename
3619 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3621 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3622 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3623 `get_char_code_table'.
3625 * mule-charset.c (mark_char_id_table): Renamed from
3626 `mark_char_code_table'.
3627 (char_id_table_equal): Renamed from `char_code_table_equal'.
3628 (char_id_table_hash): Renamed from `char_code_table_hash'.
3629 (make_char_id_table): Renamed from `make_char_code_table'.
3630 (copy_char_id_table): Renamed from `copy_char_code_table'.
3631 (get_char_id_table): Renamed from `get_char_code_table'.
3632 (put_char_id_table): Renamed from `put_char_code_table'.
3633 (to_char_id): Renamed from `to_char_code'.
3635 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3636 `Lisp_Char_Code_Table'.
3637 (char_id_table): Renamed from `char_code_table'.
3638 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3639 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3640 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3641 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3642 (get_char_id_table): Renamed from `get_char_code_table'.
3644 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3646 * lrecord.h (enum lrecord_type): Rename
3647 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3649 * mule-charset.c (mark_byte_table): Renamed from
3650 `mark_char_byte_table'.
3651 (byte_table_equal): Renamed from `char_byte_table_equal'.
3652 (byte_table_hash): Renamed from `byte_table_hash'.
3653 (make_byte_table): Renamed from `make_byte_table'.
3654 (copy_byte_table): Renamed from `copy_char_byte_table'.
3656 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3657 `Lisp_Char_Byte_Table'.
3658 (byte_table): Renamed from `char_byte_table'.
3659 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3660 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3661 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3662 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3664 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3666 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3667 (dfc_convert_to_internal_format): Likewise.
3669 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3670 * text-coding.c (Fcoding_system_alias_p): New function.
3671 * text-coding.c (Fcoding_system_aliasee): New function.
3672 * text-coding.c (append_suffix_to_symbol): New function.
3673 * text-coding.c (dangling_coding_system_alias_p): New function.
3674 * text-coding.c (Ffind_coding_system):
3675 * text-coding.c (Fcopy_coding_system):
3676 * text-coding.c (encode_coding_no_conversion):
3677 * text-coding.c (syms_of_file_coding):
3678 * text-coding.c (vars_of_file_coding):
3679 Rewrite coding system alias code.
3680 Allow nested aliases, like symbolic links.
3681 Allow redefinition of coding system aliases.
3682 Prevent existence of dangling coding system aliases.
3683 Eliminate convert_to_external_format.
3684 Eliminate convert_to_internal_format.
3686 * text-coding.c: Change enum eol_type to eol_type_t.
3688 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3690 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3691 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3693 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3694 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3696 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3698 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3699 `ideograph-daikanwa'.
3701 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3702 (Vcharset_ucs_bmp): Likewise.
3703 (Vcharset_mojikyo): Add new extern variable definition.
3704 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3705 (Vcharset_latin_iso8859_3): Likewise.
3706 (Vcharset_latin_iso8859_4): Likewise.
3707 (Vcharset_latin_iso8859_9): Likewise.
3708 (Vcharset_latin_viscii_lower): Likewise.
3709 (Vcharset_latin_viscii_upper): Likewise.
3710 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3711 `mojikyo' code-point is used to decode.
3712 (encode_char_2): New function [to convert `mojikyo' code-point to
3713 Mojikyo font encoding].
3714 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3715 (breakup_char_1): Likewise.
3716 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3718 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3720 * text-coding.c (Fmake_coding_system): Add document about
3721 `disable-composition' property.
3723 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3725 * text-coding.c (Qdisable_composition): New variable; delete
3727 (Fmake_coding_system): Add new property `disable-composite';
3728 delete property `composite'.
3729 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3730 instead of `!CODING_SYSTEM_COMPOSITE'.
3731 (syms_of_file_coding): Add new symbol `disable-composition';
3732 delete symbol `composite'.
3734 * file-coding.h (struct Lisp_Coding_System): Add
3735 `disable_composition'; delete `enable_composition'.
3736 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3737 `CODING_SYSTEM_COMPOSITE'.
3738 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3739 `XCODING_SYSTEM_COMPOSITE'.
3741 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3743 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3746 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3748 * text-coding.c (Qcomposite): New variable.
3749 (Fmake_coding_system): Add new property `composite'.
3750 (struct decoding_stream): Add `combined_char_count',
3751 `combined_chars' and `combining_table' in UTF-2000.
3752 (COMPOSE_FLUSH_CHARS): New macro.
3753 (COMPOSE_ADD_CHAR): New macro.
3754 (reset_decoding_stream): Reset `str->combined_char_count' and
3755 `str->combining_table' in UTF-2000.
3756 (decode_coding_iso2022): Modify for character-decomposition.
3757 (syms_of_file_coding): Add new symbol `composite'.
3759 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3761 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3762 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3763 of `Vcharacter_composition_table' if `->decomposition' property
3765 (Qlatin_tcvn5712): New variable.
3766 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3767 (complex_vars_of_mule_charset): Add new coded-charset
3770 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3772 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3774 * file-coding.h (struct Lisp_Coding_System): Add
3775 `enable_composition'.
3776 (CODING_SYSTEM_COMPOSITE): New macro.
3777 (XCODING_SYSTEM_COMPOSITE): New macro.
3779 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3781 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3783 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3785 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3786 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3788 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3790 * mule-charset.c (Vcharset_mojikyo): New variable.
3791 (Fdefine_char): Don't use coded-charset which does not have
3792 non-builtin character range to allocate character-id.
3793 (Qmojikyo): New variable.
3794 (syms_of_mule_charset): Add new symbol `mojikyo'.
3795 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3797 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3798 (LEADING_BYTE_MOJIKYO): New macro.
3799 (MIN_CHAR_MOJIKYO): New macro.
3800 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3801 (MAX_CHAR_MOJIKYO): New macro.
3803 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3805 * mule-charset.c (remove_char_attribute): Fixed.
3807 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3809 * mule-charset.c (remove_char_attribute): New function.
3810 (Fremove_char_attribute): New function.
3811 (encode_builtin_char_1): Comment out builtin-support for
3812 greek-iso8859-7 and cyrillic-iso8859-5.
3813 (Fdecode_char): Check `code' is an integer.
3814 (syms_of_mule_charset): Add `remove-char-attribute'.
3815 (MIN_CHAR_GREEK): Deleted.
3816 (MAX_CHAR_GREEK): Likewise.
3817 (MIN_CHAR_CYRILLIC): Likewise.
3818 (MAX_CHAR_CYRILLIC): Likewise.
3819 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3820 MAX_CHAR_GREEK for `greek-iso8859-7'.
3822 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3823 (MAX_CHAR_GREEK): Likewise.
3824 (MIN_CHAR_CYRILLIC): Likewise.
3825 (MAX_CHAR_CYRILLIC): Likewise.
3827 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3829 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3830 format is used without `ucs' property.
3831 (Fdecode_char): Fix problem with GR representation.
3832 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3833 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3835 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3837 * mule-charset.c (make_builtin_char): New function.
3838 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3839 (Fset_charset_mapping_table): Modify for new representation of
3841 (Fdecode_char): New function.
3842 (syms_of_mule_charset): Add new builtin function `decode-char' in
3845 * char-ucs.h (make_builtin_char): New prototype.
3846 (DECODE_CHAR): New inline function.
3847 (MAKE_CHAR): Use `DECODE_CHAR'.
3849 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3851 * text-coding.c (parse_charset_conversion_specs): Use
3852 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3854 (iso2022_designate): Likewise.
3856 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3857 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3859 * mule-charset.c (Vcharset_ucs): New variable.
3860 (print_charset): Change design; use `CHARSET_CHARS' and
3861 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3862 (make_charset): Change signature to specify `chars' and
3863 `dimension' instead of `type'.
3864 (range_charset_code_point): Modify for 256^n-set.
3865 (encode_builtin_char_1): Encode as `ucs' in default.
3866 (Fmake_charset): Modify for `make_charset'.
3867 (Fmake_reverse_direction_charset): Likewise.
3868 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3870 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3873 * char-ucs.h (Vcharset_ucs): New variable.
3874 (LEADING_BYTE_UCS): New macro.
3875 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3876 and `chars' to `unsigned short' from `unsigned int'.
3877 (CHARSET_TYPE): Deleted.
3878 (XCHARSET_TYPE): Deleted.
3880 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3882 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3884 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3885 (ENCODE_CHAR): New macro.
3887 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3889 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3890 to 0.14 (Kawachi-Katakami).
3892 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3894 * text-coding.c (char_encode_shift_jis): Modify for
3895 `charset_code_point'.
3896 (char_encode_iso2022): Likewise.
3898 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3899 (integer) instead of list of <Lisp_Object>s (integers) as the
3900 format of code-point of a coded-charset.
3901 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3902 (encode_builtin_char_1): New function; delete
3903 `split_builtin_char'.
3904 (charset_code_point): Return <int> instead of <Lisp_Object>.
3905 (Fsplit_char): Don't use `SPLIT_CHAR'.
3907 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3908 prototype for `split_builtin_char'.
3909 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3910 (charset_code_point): Likewise.
3911 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3912 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3914 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3916 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3917 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3919 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3921 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3923 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3924 (MAX_CHAR_OBS_94x94): Deleted.
3926 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3928 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3930 * char-ucs.h (MAX_CHAR_BMP): New macro.
3932 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3934 * text-coding.c: Sync with r21-2-24.
3936 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3938 * file-coding.c: Modify for UTF-2000.
3940 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3942 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3945 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3947 * mule-charset.c (split_builtin_char): Delete builtin support for
3948 `katakana-jisx0201'.
3949 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3950 BMP area in builtin representation.
3952 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3953 `Vcharset_katakana_jisx0201'.
3955 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3957 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3958 (Qisolated): New variable.
3959 (Qinitial): New variable.
3960 (Qmedial): New variable.
3961 (Qfinal): New variable.
3962 (Qvertical): New variable.
3963 (Qsmall): New variable.
3964 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3965 `Qvertical' and `Qsmall'.
3966 (Qmojikyo_pj_[1 .. 21]): New variable.
3967 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3968 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3969 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3972 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3974 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3975 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3976 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3978 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3980 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3981 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3983 (Qjapanese_jisx0208_1990): New variable.
3984 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3985 (complex_vars_of_mule_charset): Add new coded-charset
3986 `japanese-jisx0208-1990'.
3988 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3989 (MIN_CHAR_JIS_X0208_1990): New macro.
3990 (MAX_CHAR_JIS_X0208_1990): New macro.
3992 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3994 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3995 coded-charset is not found.
3997 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3999 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4000 (Fdefine_char): Use `Fmake_char'.
4002 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4004 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4005 (Vcharset_hiragana_jisx0208): Deleted.
4006 (Vcharset_katakana_jisx0208): Deleted.
4007 (Qideograph_daikanwa): New variable.
4008 (Qhiragana_jisx0208): Deleted.
4009 (Qkatakana_jisx0208): Deleted.
4010 (split_builtin_char): Split `ideograph-daikanwa'.
4011 (Fsplit_char): New implementation for UTF-2000.
4012 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4013 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4014 (complex_vars_of_mule_charset): Add new coded-charset
4015 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4016 `katakana-jisx0208'.
4018 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4019 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4020 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4021 (MIN_CHAR_DAIKANWA): New macro.
4022 (MAX_CHAR_DAIKANWA): New macro.
4024 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4026 * data.c (Fstring_to_number): Don't recognize floating point if
4029 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4031 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4033 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4035 * mule-charset.c (Qsquare): New variable.
4036 (to_char_code): Add `Qsquare'.
4037 (syms_of_mule_charset): Add new symbol `square'.
4039 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4041 * mule-charset.c (Qcircle): New variable.
4042 (to_char_code): Add `Qcircle'.
4043 (syms_of_mule_charset): Add new symbol `circle'.
4045 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4047 * mule-charset.c (Qfont): New variable.
4048 (to_char_code): Add `Qfont'.
4049 (syms_of_mule_charset): Add new symbol `font'.
4051 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4053 * mule-charset.c (Qsub): New variable.
4054 (to_char_code): Add `Qsub'.
4055 (syms_of_mule_charset): Add new symbol `sub'.
4057 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4059 * mule-charset.c (Fput_char_attribute): Convert each element of
4060 VALUE to GL position if ATTRIBUTE is a GR-set,
4062 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4064 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4065 coded-charset is a GR-set.
4067 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4069 * mule-charset.c (Fput_char_attribute): Check each element of
4070 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4072 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4074 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4076 (Qethiopic_ucs): New variable in UTF-2000.
4077 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4078 (complex_vars_of_mule_charset): Add new coded-charset
4079 `ethiopic-ucs' in UTF-2000.
4081 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4082 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4084 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4086 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4088 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4090 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4093 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4095 * mule-charset.c (Vcharacter_variant_table): New variable.
4096 (Q_ucs): New variable.
4097 (Fchar_variants): New function.
4098 (Fput_char_attribute): Register `->ucs' value to
4099 `Vcharacter_variant_table'.
4100 (syms_of_mule_charset): Add new function `char-variants' and new
4102 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4104 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4106 * mule-charset.c (get_char_code_table): Allow negative character
4108 (put_char_code_table): Likewise.
4109 (Vcharacter_composition_table): New variable.
4110 (Q_decomposition): New variable.
4111 (Qwide): New variable.
4112 (Qnarrow): New variable.
4113 (Qcompat): New variable.
4114 (QnoBreak): New variable.
4115 (Qsuper): New variable.
4116 (Qfraction): New variable.
4117 (to_char_code): New function.
4118 (Fget_composite_char): New function.
4119 (Fput_char_attribute): Register `->decomposition' value to
4120 `Vcharacter_composition_table'.
4121 (syms_of_mule_charset): Add new function `get-composite-char', new
4122 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4123 `super' and `fraction'.
4124 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4126 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4128 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4129 character; copy the return value.
4131 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4133 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4135 * mule-charset.c (range_charset_code_point): Must use make_int.
4136 (split_builtin_char): New function.
4138 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4140 * mule-charset.c (char_byte_table): Change name from
4141 "char-code-table" to "char-byte-table".
4142 (mark_char_code_table): New function.
4143 (char_code_table_equal): New function.
4144 (char_code_table_hash): New function.
4145 (char_code_table_description): New constant.
4146 (char_code_table): New type.
4147 (make_char_code_table): New function.
4148 (copy_char_code_table): New function.
4149 (get_char_code_table): Modify for `char_code_table' type.
4150 (put_char_code_table): Likewise.
4151 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4154 * char-ucs.h (char_code_table): New type.
4155 (XCHAR_CODE_TABLE): New macro.
4156 (XSETCHAR_CODE_TABLE): New macro.
4157 (CHAR_CODE_TABLE_P): New macro.
4158 (GC_CHAR_CODE_TABLE_P): New macro.
4159 (struct Lisp_Char_Code_Table): New structure.
4161 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4163 * mule-charset.c (Fmake_charset): Setup byte_offset for
4166 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4168 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4171 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4173 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4176 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4178 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4179 charset, it is regarded as a charset.
4180 (put_char_attribute): New function in UTF-2000.
4181 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4182 charset, mapping-table of the charset is modified.
4183 (Fdefine_char): New function in UTF-2000.
4184 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4185 `Fput_char_attribute'.
4186 (syms_of_mule_charset): Add new function `define-char' and new
4187 symbol `ucs' in UTF-2000.
4188 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4190 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4192 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4193 non-UTF-2000 configuration.
4195 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4197 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4198 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4200 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4202 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4203 (Fset_charset_mapping_table): Likewise.
4205 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4206 (CHARSET_ENCODING_TABLE): Delete.
4207 (XCHARSET_ENCODING_TABLE): Delete.
4208 (charset_code_point): New interface.
4210 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4212 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4213 instead of `charset_get_byte1' and `charset_get_byte2'.
4215 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4216 (charset_get_byte2): Deleted.
4218 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4220 * char-ucs.h (SPLIT_CHAR): New inline function.
4221 (breakup_char_1): Use `SPLIT_CHAR'.
4223 * mule-charset.c (range_charset_code_point): New function.
4224 (charset_code_point): New function.
4226 * char-ucs.h (range_charset_code_point): New interface.
4227 (breakup_char_1): Use `range_charset_code_point'.
4229 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4231 * mule-charset.c (Fmake_charset): Delete unused local variable
4234 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4235 (breakup_char_1): Find a charset and code-point in
4236 `Vcharacter_attribute_table'.
4238 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4240 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4243 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4245 * mule-charset.c (Vcharacter_attribute_table): New variable.
4246 (Fchar_attribute_alist): New function.
4247 (Fget_char_attribute): New function.
4248 (Fput_char_attribute): New function.
4249 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4251 (syms_of_mule_charset): Add new function `char-attribute-alist',
4252 `get-char-attribute' and `put-char-attribute'.
4253 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4255 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4257 * mule-charset.c (Fmake_charset): Just use
4258 `get_unallocated_leading_byte'.
4260 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4261 sets; don't use final-byte based number for private sets.
4263 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4265 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4268 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4270 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4273 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4275 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4276 of `CHAR_LEADING_BYTE' in UTF-2000.
4278 * insdel.c (find_charsets_in_bufbyte_string): Use
4279 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4280 (find_charsets_in_emchar_string): Likewise.
4282 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4283 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4285 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4286 (CHAR_CHARSET_ID): New macro.
4288 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4290 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4291 charset-id - MIN_LEADING_BYTE.
4292 (put_char_table): Likewise.
4294 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4296 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4297 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4298 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4299 (CHARSET_ID_OFFSET): New macro.
4300 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4301 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4302 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4303 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4305 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4307 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4308 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4309 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4310 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4311 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4313 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4315 * mule-charset.c (next_allocated_leading_byte): New variable in
4317 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4318 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4319 (get_unallocated_leading_byte): Simply use
4320 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4321 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4324 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4325 (MAX_LEADING_BYTE_PRIVATE): New macro.
4326 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4327 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4329 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4331 * mule-charset.c (Fmake_charset): Allocate final-byte based
4332 charset-id for 94-set, 96-set and 94x94-set.
4334 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4336 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4338 (Fmake_charset): Likewise.
4339 (complex_vars_of_mule_charset): Modify the font registry of
4340 `ucs-bmp' not to match `Ethiopic-Unicode'.
4342 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4344 * mule-charset.c (complex_vars_of_mule_charset): Add font
4345 registory of `ucs-bmp'.
4347 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4349 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4350 coded-charsets in `default-coded-charset-priority-list' when
4351 breaking up a character.
4353 * mule-charset.c (Vcharset_latin_viscii): New variable.
4354 (Qlatin_viscii): New variable.
4355 (make_charset): Don't use `decoding_table'.
4356 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4358 (Fset_charset_mapping_table): New implementation.
4359 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4360 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4361 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4362 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4363 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4364 charset `latin_viscii'.
4366 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4367 (CHARSET_TYPE_94X94): Change to 1 from 2.
4368 (CHARSET_TYPE_96): Change to 2 from 1.
4369 (CHARSET_TYPE_128): New macro.
4370 (CHARSET_TYPE_128X128): Change to 5 from 4.
4371 (CHARSET_TYPE_256): New macro.
4372 (CHARSET_TYPE_256X256): Change to 7 from 5.
4373 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4375 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4377 * text-coding.c (char_encode_shift_jis): Refer
4378 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4379 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4381 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4382 (char_byte_table_equal): New function in UTF-2000.
4383 (char_byte_table_hash): New function in UTF-2000.
4384 (char_byte_table_description): New constant in UTF-2000.
4385 (char_byte_table): New type in UTF-2000.
4386 (make_char_byte_table): New function in UTF-2000.
4387 (copy_char_byte_table): New function in UTF-2000.
4388 (make_char_code_table): New macro in UTF-2000.
4389 (get_char_code_table): New function in UTF-2000.
4390 (put_char_code_table): New function in UTF-2000.
4391 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4392 (charset_description): Add setting in UTF-2000.
4393 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4394 `CHARSET_TO_BYTE1_TABLE(cs)'.
4395 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4396 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4397 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4398 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4399 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4400 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4401 `CHARSET_TO_BYTE2_TABLE(cs)'.
4403 * char-ucs.h (char_byte_table): New type.
4404 (XCHAR_BYTE_TABLE): New macro.
4405 (XSETCHAR_BYTE_TABLE): New macro.
4406 (CHAR_BYTE_TABLE_P): New macro.
4407 (GC_CHAR_BYTE_TABLE_P): New macro.
4408 (struct Lisp_Char_Byte_Table): New structure.
4409 (get_char_code_table): New interface.
4410 (Emchar_to_byte_table): Deleted.
4411 (get_byte_from_character_table): Deleted.
4412 (struct Lisp_Charset): Add `encoding_table'; delete
4413 `to_byte1_table' and `to_byte2_table'.
4414 (CHARSET_ENCODING_TABLE): New macro.
4415 (CHARSET_TO_BYTE1_TABLE): Deleted.
4416 (CHARSET_TO_BYTE2_TABLE): Deleted.
4417 (XCHARSET_ENCODING_TABLE): New macro.
4418 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4419 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4421 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4423 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4424 `vietnamese-viscii-*'.
4426 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4428 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4429 (Qvietnamese_viscii_upper): New variable.
4430 (Fdefine_charset_alias): New function.
4431 (syms_of_mule_charset): Add new function `define-charset-alias'.
4432 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4433 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4436 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4438 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4439 (MAX_CHAR_OBS_94x94): New macro.
4440 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4443 * mule-charset.c (put_byte_from_character_table): Change unit size
4445 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4447 (Fmake_reverse_direction_charset): Modify dummy argument of
4448 `make_charset' for non-UTF-2000 environment.
4450 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4452 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4454 * mule-charset.c (destroy_byte_from_character_table): New macro.
4455 (latin_jisx0201_to_ucs): Deleted.
4456 (latin_iso8859_2_to_ucs): Deleted.
4457 (latin_iso8859_3_to_ucs): Deleted.
4458 (latin_iso8859_4_to_ucs): Deleted.
4459 (latin_iso8859_9_to_ucs): Deleted.
4460 (latin_viscii_lower_to_ucs): Deleted.
4461 (latin_viscii_upper_to_ucs): Deleted.
4462 (mark_charset): Mark `cs->decoding_table'.
4463 (Fcharset_mapping_table): Fix DOC-string.
4464 (Fset_charset_mapping_table): New function.
4465 (syms_of_mule_charset): Add nwe function
4466 `set-charset-mapping-table'.
4467 (complex_vars_of_mule_charset): Don't setup and use
4470 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4472 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4475 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4477 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4478 (Vcharset_katakana_jisx0208): New variable.
4479 (Qhiragana_jisx0208): New variable.
4480 (Qkatakana_jisx0208): New variable.
4481 (make_charset): Add new argument `byte_offset'.
4482 (charset_get_byte1): Modify for new coded-charset definition; use
4483 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4484 `XCHARSET_BYTE_OFFSET'.
4485 (Fmake_charset): Modify for `make_charset'.
4486 (Fmake_reverse_direction_charset): Likewise.
4487 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4488 `katakana-jisx0208'.
4489 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4490 `.' in font registry of charset `katakana-jisx0201',
4491 `latin-jisx0201', `vietnamese-viscii-lower' and
4492 `vietnamese-viscii-upper'; modify DOC-string of charset
4493 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4494 registry of charset `japanese-jisx0208' not to use font for JIS
4495 X0208:1990; add new charset `hiragana-jisx0208' and
4496 `katakana-jisx0208'.
4498 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4499 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4500 (struct Lisp_Charset): Add `byte_offset'.
4501 (CHARSET_BYTE_OFFSET): New macro.
4502 (XCHARSET_UCS_MIN): New macro.
4503 (XCHARSET_UCS_MAX): New macro.
4504 (XCHARSET_CODE_OFFSET): New macro.
4505 (XCHARSET_BYTE_OFFSET): New macro.
4506 (MIN_CHAR_HIRAGANA): New macro.
4507 (MAX_CHAR_HIRAGANA): New macro.
4508 (MIN_CHAR_KATAKANA): New macro.
4509 (MAX_CHAR_KATAKANA): New macro.
4510 (MAKE_CHAR): Modify for new coded-charset definition; use
4511 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4512 `XCHARSET_BYTE_OFFSET'.
4514 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4516 * mule-charset.c (CHAR96): Deleted.
4517 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4519 (latin_iso8859_2_to_ucs): Likewise.
4520 (latin_iso8859_3_to_ucs): Likewise.
4521 (latin_iso8859_4_to_ucs): Likewise.
4522 (latin_iso8859_9_to_ucs): Likewise.
4523 (latin_viscii_lower_to_ucs): Likewise.
4524 (latin_viscii_upper_to_ucs): Likewise.
4525 (latin_tcvn5712_to_ucs): Commented out.
4526 (make_charset): Change type of argument `decoding_table' from
4527 <Emchar*> to <Lisp_Object> [vector of characters].
4528 (Fmake_charset): Modify for `make_charset'.
4529 (Fmake_reverse_direction_charset): Likewise.
4530 (Fcharset_mapping_table): New function in UTF-2000.
4531 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4533 (complex_vars_of_mule_charset): Modify for type change of
4534 `*_to_ucs'; modify for `make_charset'.
4536 * char-ucs.h (struct Lisp_Charset): Change type of
4537 `decoding_table' from <Emchar*> to <Lisp_Object>.
4538 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4540 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4542 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4543 error with non-UTF-2000-Mule.
4545 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4547 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4549 (Vcharset_chinese_cns11643_4): Likewise.
4550 (Vcharset_chinese_cns11643_5): Likewise.
4551 (Vcharset_chinese_cns11643_6): Likewise.
4552 (Vcharset_chinese_cns11643_7): Likewise.
4553 (Qchinese_cns11643_3): Likewise.
4554 (Qchinese_cns11643_4): Likewise.
4555 (Qchinese_cns11643_5): Likewise.
4556 (Qchinese_cns11643_6): Likewise.
4557 (Qchinese_cns11643_7): Likewise.
4558 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4559 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4560 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4561 (complex_vars_of_mule_charset): Likewise.
4563 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4565 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4567 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4568 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4570 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4572 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4574 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4575 (breakup_char_1): Likewise.
4577 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4578 one of them includes the specified character.
4580 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4582 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4584 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4586 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4588 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4590 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4591 definition for non-UTF-2000 Mule.
4592 (latin_iso8859_3_to_ucs): Likewise.
4593 (latin_iso8859_4_to_ucs): Likewise.
4594 (latin_iso8859_9_to_ucs): Likewise.
4595 (latin_jisx0201_to_ucs): Likewise.
4596 (MIN_CHAR_THAI): Likewise.
4597 (MAX_CHAR_THAI): Likewise.
4598 (MIN_CHAR_GREEK): Likewise.
4599 (MAX_CHAR_GREEK): Likewise.
4600 (MIN_CHAR_HEBREW): Likewise.
4601 (MAX_CHAR_HEBREW): Likewise.
4602 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4603 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4604 (MIN_CHAR_CYRILLIC): Likewise.
4605 (MAX_CHAR_CYRILLIC): Likewise.
4607 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4609 * char-ucs.h (breakup_char_1): Use
4610 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4611 thai-tis620 and katakana-jisx0201 area.
4613 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4615 * char-ucs.h (breakup_char_1): Use
4616 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4619 * text-coding.c (reset_encoding_stream): Fixed.
4620 (char_encode_ucs4): Delete `& 255'.
4622 * char-ucs.h (breakup_char_1): Use
4623 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4625 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4627 * file-coding.c (Fmake_coding_system): Don't set up
4628 `codesys->fixed.size'.
4629 (encode_coding_no_conversion): Don't refer
4630 `str->codesys->fixed.size'.
4632 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4634 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4635 (latin_a_char_to_byte1): Deleted.
4636 (latin_a_char_to_byte2): Deleted.
4638 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4640 * mule-charset.c (make_charset): Add new argument `ucs_min',
4641 `ucs_max' and `code_offset'.
4642 (charset_get_byte1): New implementation [delete specific charset
4643 depended implementations].
4644 (Fmake_charset): Modify for `make_charset'.
4645 (Fmake_reverse_direction_charset): Likewise.
4646 (complex_vars_of_mule_charset): Likewise.
4648 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4650 (CHARSET_UCS_MIN): New macro.
4651 (CHARSET_UCS_MAX): New macro.
4652 (CHARSET_CODE_OFFSET): New macro.
4653 (MAKE_CHAR): Delete charset depended definitions [except
4656 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4658 * char-ucs.h (breakup_char_1): Use
4659 `Vdefault_coded_charset_priority_list' for C0-Controls,
4660 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4662 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4664 * char-ucs.h (charset_get_byte1): New function.
4665 (XCHARSET_GET_BYTE1): Deleted.
4666 (charset_get_byte2): New function.
4667 (XCHARSET_GET_BYTE2): Deleted.
4668 (Vdefault_coded_charset_priority_list): New external variable.
4669 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4670 `Vdefault_preferred_coded_charset_list'.
4672 * mule-charset.c (charset_get_byte1): New function.
4673 (charset_get_byte2): New function.
4674 (Vdefault_coded_charset_priority_list): New variable.
4675 (vars_of_mule_charset): Add new variable
4676 `default-coded-charset-priority-list'.
4678 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4680 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4681 (XCHARSET_GET_BYTE2): New inline function.
4682 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4683 `XCHARSET_GET_BYTE2'.
4685 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4687 * mule-charset.c (make_charset): Initialize
4688 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4689 NULL if table is not defined.
4691 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4693 * text-coding.c (char_encode_shift_jis): Use
4694 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4695 `ucs_to_latin_jisx0201'.
4697 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4698 (ucs_to_latin_iso8859_2): Deleted.
4699 (ucs_to_latin_iso8859_3): Deleted.
4700 (ucs_to_latin_iso8859_4): Deleted.
4701 (ucs_to_latin_iso8859_9): Deleted.
4702 (ucs_to_latin_viscii_lower): Deleted.
4703 (ucs_to_latin_viscii_upper): Deleted.
4704 (ucs_to_latin_tcvn5712): Deleted.
4705 (make_charset): Add new argument `decoding_table'; set up
4706 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4707 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4708 `decoding_table' is defined in UTF-2000.
4709 (Fmake_charset): Modify for `make_charset'.
4710 (Fmake_reverse_direction_charset): Likewise.
4711 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4712 and `GENERATE_96_SET'.
4714 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4715 (ucs_to_latin_jisx0201): Deleted.
4716 (latin_iso8859_2_to_ucs): Deleted.
4717 (ucs_to_latin_iso8859_2): Deleted.
4718 (latin_iso8859_3_to_ucs): Deleted.
4719 (ucs_to_latin_iso8859_3): Deleted.
4720 (latin_iso8859_4_to_ucs): Deleted.
4721 (ucs_to_latin_iso8859_4): Deleted.
4722 (latin_iso8859_9_to_ucs): Deleted.
4723 (ucs_to_latin_iso8859_9): Deleted.
4724 (latin_viscii_lower_to_ucs): Deleted.
4725 (ucs_to_latin_viscii_lower): Deleted.
4726 (latin_viscii_upper_to_ucs): Deleted.
4727 (ucs_to_latin_viscii_upper): Deleted.
4728 (struct Lisp_Charset): Renamed `encoding_table' to
4729 `to_byte1_table'; add `to_byte2_table'.
4730 (CHARSET_DECODING_TABLE): New macro.
4731 (CHARSET_TO_BYTE1_TABLE): New macro.
4732 (CHARSET_TO_BYTE2_TABLE): New macro.
4733 (XCHARSET_DECODING_TABLE): New macro.
4734 (XCHARSET_TO_BYTE1_TABLE): New macro.
4735 (XCHARSET_TO_BYTE2_TABLE): New macro.
4736 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4738 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4739 don't use `ucs_to_*' tables.
4741 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4743 * text-coding.c (Fmake_coding_system): Don't set up
4744 `codesys->fixed.size'.
4745 (encode_coding_no_conversion): Use `if' instead of `switch'.
4747 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4749 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4751 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4752 (Fmake_charset): Modify for `make_charset'.
4753 (Fmake_reverse_direction_charset): Likewise.
4754 (complex_vars_of_mule_charset): Likewise.
4756 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4758 * text-coding.c (char_encode_shift_jis): Use table
4759 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4761 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4763 * text-coding.c (text_encode_generic): Use `if' instead of
4765 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4768 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4770 * text-coding.c (encode_coding_sjis): Deleted.
4771 (char_encode_shift_jis): New function.
4772 (char_finish_shift_jis): New function.
4773 (reset_encoding_stream): Set up `encode_char' and `finish' for
4774 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4775 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4776 (char_encode_utf8): Treat `eol_type'.
4778 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4780 * file-coding.c (decode_coding_iso2022): Use
4781 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4783 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4785 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4788 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4790 * char-lb.h (CHAR_COLUMNS): New macro.
4792 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4794 * text-coding.c (char_encode_ucs4): New function.
4795 (char_finish_ucs4): New function.
4796 (encode_coding_ucs4): Deleted.
4797 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4798 (text_encode_generic): Delete local variable `charset' and `half'.
4799 (ucs_to_mule_table): Deleted.
4800 (mule_to_ucs_table): Deleted.
4801 (Fset_ucs_char): Deleted.
4802 (ucs_to_char): Deleted.
4803 (Fucs_char): Deleted.
4804 (Fset_char_ucs): Deleted.
4805 (Fchar_ucs): Deleted.
4806 (decode_ucs4): Deleted.
4807 (mule_char_to_ucs4): Deleted.
4808 (encode_ucs4): Deleted.
4809 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4810 (decode_coding_utf8): Likewise.
4811 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4812 (char_encode_iso2022): Fixed.
4813 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4814 `Fset_char_ucs' and `Fchar_ucs'.
4815 (complex_vars_of_file_coding): Don't initialize
4816 `ucs_to_mule_table'.
4818 * objects-tty.c (tty_initialize_font_instance): Don't use
4821 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4824 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4825 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4827 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4828 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4829 (emchar_string_displayed_columns): Likewise.
4831 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4832 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4833 (string_column_at_point): Likewise.
4834 (Fmove_to_column): Likewise.
4836 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4837 `encoding_table' and `decoding_table'.
4838 (CHARSET_REP_BYTES): Deleted.
4839 (XCHARSET_REP_BYTES): Deleted.
4840 (XCHARSET_COLUMNS): Deleted.
4841 (CHAR_COLUMNS): New macro.
4842 (lookup_composite_char): Deleted unconditionally.
4843 (composite_char_string): Likewise.
4845 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4847 * char-ucs.h (Emchar_to_byte_table): New type.
4848 (get_byte_from_character_table): New function interface.
4849 (Vcharset_latin_jisx0201): New variable.
4850 (latin_jisx0201_to_ucs): New variable.
4851 (ucs_to_latin_jisx0201): New variable.
4852 (Vcharset_latin_iso8859_2): New variable.
4853 (latin_iso8859_2_to_ucs): New variable.
4854 (ucs_to_latin_iso8859_2): New variable.
4855 (Vcharset_latin_iso8859_3): New variable.
4856 (latin_iso8859_3_to_ucs): New variable.
4857 (ucs_to_latin_iso8859_3): New variable.
4858 (Vcharset_latin_iso8859_4): New variable.
4859 (latin_iso8859_4_to_ucs): New variable.
4860 (ucs_to_latin_iso8859_4): New variable.
4861 (Vcharset_latin_iso8859_9): New variable.
4862 (latin_iso8859_9_to_ucs): New variable.
4863 (ucs_to_latin_iso8859_9): New variable.
4864 (Vcharset_latin_viscii_lower): New variable.
4865 (latin_viscii_lower_to_ucs): New variable.
4866 (ucs_to_latin_viscii_lower): New variable.
4867 (Vcharset_latin_viscii_upper): New variable.
4868 (latin_viscii_upper_to_ucs): New variable.
4869 (ucs_to_latin_viscii_upper): New variable.
4870 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4871 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4872 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4873 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4874 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4875 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4876 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4877 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4878 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4879 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4881 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4882 (Vcharset_latin_viscii_upper): New variable.
4883 (make_byte_from_character_table): New function.
4884 (put_byte_from_character_table): New function.
4885 (get_byte_from_character_table): New function.
4886 (CHAR96): New macro.
4887 (ucs_to_latin_jisx0201): New variable.
4888 (latin_jisx0201_to_ucs): New variable.
4889 (ucs_to_latin_iso8859_2): New variable.
4890 (latin_iso8859_2_to_ucs): New variable.
4891 (ucs_to_latin_iso8859_3): New variable.
4892 (latin_iso8859_3_to_ucs): New variable.
4893 (ucs_to_latin_iso8859_4): New variable.
4894 (latin_iso8859_4_to_ucs): New variable.
4895 (ucs_to_latin_iso8859_9): New variable.
4896 (latin_iso8859_9_to_ucs): New variable.
4897 (ucs_to_latin_viscii_lower): New variable.
4898 (latin_viscii_lower_to_ucs): New variable.
4899 (ucs_to_latin_viscii_upper): New variable.
4900 (latin_viscii_upper_to_ucs): New variable.
4901 (ucs_to_latin_tcvn5712): New variable.
4902 (latin_tcvn5712_to_ucs): New variable.
4903 (Qlatin_viscii_lower): New variable.
4904 (Qlatin_viscii_upper): New variable.
4905 (syms_of_mule_charset): Set up new symbol
4906 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4907 (complex_vars_of_mule_charset): Set up new charset
4908 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4909 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4910 `ucs_to_<CHARSET>' tables.
4912 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4914 * text-coding.c: New file.
4916 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4918 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4920 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4921 (MAKE_CHAR): Modify for `ucs-bmp'.
4922 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4923 non-MULE characters of BMP.
4925 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4927 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4930 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4933 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4934 - Include character.h for `CHAR_ASCII_P'.
4936 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4938 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4939 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4941 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4942 (BYTE_C0_P): Likewise.
4943 (BYTE_C1_P): Likewise.
4944 (Lstream_get_emchar_1): Likewise.
4945 (Lstream_fput_emchar): Likewise.
4946 (Lstream_funget_emchar): Likewise.
4947 (copy_internal_to_external): Likewise.
4948 (copy_external_to_internal): Likewise.
4950 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4951 (BYTE_C0_P): Likewise.
4952 (BYTE_C1_P): Likewise.
4953 (Lstream_get_emchar_1): Likewise.
4954 (Lstream_fput_emchar): Likewise.
4955 (Lstream_funget_emchar): Likewise.
4956 (copy_internal_to_external): Likewise.
4957 (copy_external_to_internal): Likewise.
4959 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4960 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4962 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4963 (BYTE_ASCII_P): Moved to mb-1byte.h.
4965 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4967 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4969 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4970 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4971 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4972 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4973 (VALIDATE_CHARPTR_FORWARD): Likewise.
4974 (simple_charptr_emchar): Moved to mb-multibyte.h.
4975 (simple_set_charptr_emchar): Likewise.
4976 (simple_charptr_copy_char): Likewise.
4977 (non_ascii_charptr_emchar): Likewise.
4978 (non_ascii_set_charptr_emchar): Likewise.
4979 (non_ascii_charptr_copy_char): Likewise.
4980 (charptr_emchar): Moved to mb-*byte.h.
4981 (set_charptr_emchar): Likewise.
4982 (charptr_copy_char): Likewise.
4984 * mb-1byte.h, mb-multibyte.h: New files.
4986 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4988 * mb-utf-8.h (MULTIBYTE): New macro.
4989 (MAX_EMCHAR_LEN): Moved from buffer.h.
4990 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4992 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4994 * mb-lb.h, multibyte.h: New files.
4996 * char-1byte.h (Charset_ID): Moved from buffer.h.
4997 (MIN_LEADING_BYTE): Likewise.
4998 (LEADING_BYTE_ASCII): Likewise.
4999 (NUM_LEADING_BYTES): Likewise.
5000 (CHARSETP): Likewise.
5001 (CHARSET_BY_LEADING_BYTE): Likewise.
5002 (XCHARSET_LEADING_BYTE): Likewise.
5003 (XCHARSET_GRAPHIC): Likewise.
5004 (XCHARSET_COLUMNS): Likewise.
5005 (XCHARSET_DIMENSION): Likewise.
5006 (CHAR_CHARSET): Likewise.
5007 (CHAR_LEADING_BYTE): Likewise.
5008 (BREAKUP_CHAR): Likewise.
5009 (Vcharset_ascii): Likewise.
5011 * buffer.h: Include multibyte.h unconditionally.
5012 (VALID_CHARPTR_P): Moved to multibyte.h.
5013 (ASSERT_VALID_CHARPTR): Likewise.
5014 (REAL_INC_CHARPTR): Likewise.
5015 (REAL_INC_CHARBYTIND): Likewise.
5016 (REAL_DEC_CHARPTR): Likewise.
5017 (INC_CHARPTR): Likewise.
5018 (INC_CHARBYTIND): Likewise.
5019 (DEC_CHARPTR): Likewise.
5020 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5021 (VALIDATE_CHARPTR_FORWARD): Likewise.
5022 (charptr_n_addr): Likewise.
5023 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5024 (simple_charptr_emchar): Moved to multibyte.h.
5025 (simple_set_charptr_emchar): Likewise.
5026 (simple_charptr_copy_char): Likewise.
5027 (non_ascii_charptr_emchar): Likewise.
5028 (non_ascii_set_charptr_emchar): Likewise.
5029 (non_ascii_charptr_copy_char): Likewise.
5030 (charptr_emchar): Likewise.
5031 (set_charptr_emchar): Likewise.
5032 (charptr_copy_char): Likewise.
5033 (charptr_emchar_n): Likewise.
5034 (Charset_ID): Moved to char-1byte.h.
5035 (Vcharset_ascii): Likewise.
5036 (CHAR_CHARSET): Likewise.
5037 (CHAR_LEADING_BYTE): Likewise.
5038 (LEADING_BYTE_ASCII): Likewise.
5039 (NUM_LEADING_BYTES): Likewise.
5040 (MIN_LEADING_BYTE): Likewise.
5041 (CHARSETP): Likewise.
5042 (CHARSET_BY_LEADING_BYTE): Likewise.
5043 (XCHARSET_LEADING_BYTE): Likewise.
5044 (XCHARSET_GRAPHIC): Likewise.
5045 (XCHARSET_COLUMNS): Likewise.
5046 (XCHARSET_DIMENSION): Likewise.
5047 (BREAKUP_CHAR): Likewise.
5049 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5051 * character.h: Add document about interface for characters.
5053 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5054 (MAKE_CHAR): Delete comment about
5055 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5056 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5057 (BREAKUP_CHAR): Modify name of arguments.
5058 (CHAR_CHARSET): Modify name of argument.
5060 * buffer.h: Delete document about Emchar accessors.
5062 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5064 * character.h (CHAR_INTP): Moved from buffer.h
5065 (CHAR_OR_CHAR_INTP): Likewise.
5066 (XCHAR_OR_CHAR_INT): Likewise.
5067 (CHECK_CHAR_COERCE_INT): Likewise.
5069 * buffer.h (CHAR_INTP): Moved to character.h
5070 (CHAR_OR_CHAR_INTP): Likewise.
5071 (XCHAR_OR_CHAR_INT): Likewise.
5072 (CHECK_CHAR_COERCE_INT): Likewise.
5074 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5077 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5078 - Include char-1byte.h, char-lb.h or char-ucs.h.
5080 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5082 * buffer.h: Include character unconditionally.
5083 (valid_char_p): Moved to char-*.h.
5084 (non_ascii_valid_char_p): Moved to char-lb.h.
5086 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5088 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5090 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5091 in UTF-2000 because it is not ported yet and not to use
5092 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5093 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5094 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5096 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5097 (CHAR_ASCII_P): Moved from character.h.
5099 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5100 (CHAR_ASCII_P): Likewise.
5101 (CHAR_FIELD1_MASK): Deleted.
5102 (CHAR_FIELD2_MASK): Deleted.
5103 (CHAR_FIELD3_MASK): Deleted.
5104 (MAX_CHAR_BASIC_LATIN): New macro.
5105 (CHAR_FIELD1): Deleted.
5106 (CHAR_FIELD2_INTERNAL): Deleted.
5107 (CHAR_FIELD3_INTERNAL): Deleted.
5108 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5109 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5110 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5111 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5112 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5113 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5114 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5115 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5116 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5117 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5118 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5119 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5120 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5121 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5122 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5123 (MIN_CHAR_COMPOSITION): Deleted.
5124 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5125 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5127 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5129 * buffer.h: Include mb-utf-8.h in UTF-2000.
5131 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5133 * mb-utf-8.h: New file.
5135 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5137 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5140 * mule-charset.h, buffer.h (Charset_ID): New type.
5142 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5144 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5145 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5146 instead of `MULE_CHAR_PRIVATE_OFFSET',
5147 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5148 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5149 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5151 * character.h (Vcharset_japanese_jisx0212): New variable
5154 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5156 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5157 (charset_by_attributes): Delete array about direction.
5158 (latin_a_char_to_charset): New variable in UTF-2000.
5159 (latin_a_char_to_byte1): New variable in UTF-2000.
5160 (latin_a_char_to_byte2): New variable in UTF-2000.
5161 (Qucs_bmp): New variable.
5162 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5164 (next_allocated_2_byte_leading_byte): Likewise.
5165 (non_ascii_set_charptr_emchar): Likewise.
5166 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5167 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5168 `charset_by_attributes'.
5169 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5170 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5171 and `CHARSET_BY_LEADING_BYTE'.
5172 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5173 `utf-2000-version' to `vars_of_mule_charset'.
5174 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5175 define `leading-code-private-11' in UTF-2000; move setting of
5176 `utf-2000-version' from `syms_of_mule_charset'.
5177 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5180 * character.h (Charset_ID): New type.
5181 (LEADING_BYTE_UCS_BMP): New macro.
5182 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5183 (CHARSET_ID_OFFSET_94): New macro.
5184 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5185 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5186 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5188 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5189 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5190 (CHARSET_ID_OFFSET_96): New macro.
5191 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5192 CHARSET_ID_OFFSET_96 and final-byte.
5193 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5194 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5195 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5196 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5197 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5198 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5199 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5200 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5201 (LEADING_BYTE_THAI_TIS620): Likewise.
5202 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5203 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5204 (CHARSET_ID_OFFSET_94x94): New macro.
5205 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5206 CHARSET_ID_OFFSET_94x94 and final-byte.
5207 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5208 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5209 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5210 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5211 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5212 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5213 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5214 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5215 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5216 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5217 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5218 (CHARSET_TYPE_128X128): New macro.
5219 (CHARSET_TYPE_256X256): New macro.
5220 (XCHARSET_PRIVATE_P): Delete unconditionally.
5221 (charset_by_attributes): Delete array about direction.
5222 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5223 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5224 (MIN_CHAR_94): New macro.
5225 (MAX_CHAR_94): New macro.
5226 (MIN_CHAR_96): New macro.
5227 (MAX_CHAR_96): New macro.
5228 (MIN_CHAR_94x94): New macro.
5229 (MAX_CHAR_94x94): New macro.
5230 (MIN_CHAR_96x96): New macro.
5231 (MAX_CHAR_96x96): New macro.
5232 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5233 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5234 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5236 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5237 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5238 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5239 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5240 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5241 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5242 `XCHARSET_LEADING_BYTE' to make code-point.
5243 (latin_a_char_to_charset): New variable.
5244 (latin_a_char_to_byte1): New variable.
5245 (latin_a_char_to_byte2): New variable.
5246 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5247 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5248 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5250 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5251 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5252 (find_charsets_in_emchar_string): Likewise.
5253 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5255 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5257 (decode_coding_iso2022): Likewise.
5259 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5262 * redisplay.c (redisplay_text_width_emchar_string): Use
5263 `Charset_ID' instead of `unsigned char'.
5264 (redisplay_frame_text_width_string): Likewise.
5266 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5269 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5270 instead of `unsigned char'.
5271 (face_cachel_charset_font_metric_info): Likewise.
5273 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5274 (get_non_ascii_char_table_value): Likewise.
5275 (get_char_table): Likewise.
5276 (put_char_table): Likewise.
5277 (map_over_other_charset): Likewise.
5278 (map_char_table): Likewise.
5280 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5281 instead of `unsigned char'.
5283 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5285 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5286 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5288 * mule-charset.c (leading_code_private_11): Don't define in
5291 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5292 in UTF-2000 because it is not ported yet and not to use
5293 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5295 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5297 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5299 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5301 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5304 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5305 of unsigned char to store leading-byte.
5307 * chartab.c (get_non_ascii_char_table_value): Don't use
5308 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5310 * file-coding.c (encode_coding_big5): Delete bogus implementation
5313 * character.h (LEADING_BYTE_*): Delete definition for
5315 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5316 (LEADING_BYTE_PREFIX_P): Deleted.
5317 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5318 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5319 (BUFBYTE_LEADING_BYTE_P): Deleted.
5320 (CHARSET_PRIVATE_P): Deleted unconditionally.
5321 (rep_bytes_by_first_byte): Deleted unconditionally.
5322 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5323 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5324 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5325 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5326 (CHAR_FIELD2): Deleted.
5327 (CHAR_FIELD3): Deleted.
5328 (MAKE_CHAR): Delete definition for non-UTF-2000.
5329 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5330 (breakup_char_1): New implementation.
5331 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5332 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5334 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5336 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5339 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5341 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5342 (CHARSET_PRIVATE_P): Likewise.
5343 (XCHARSET_PRIVATE_P): Likewise.
5344 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5346 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5348 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5350 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5352 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5353 (NUM_LEADING_BYTES): Changed from 128 to 256.
5354 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5355 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5357 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5359 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5361 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5362 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5363 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5364 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5365 (Qchinese_cns11643_3): New variable in UTF2000.
5366 (Qchinese_cns11643_4): New variable in UTF2000.
5367 (Qchinese_cns11643_5): New variable in UTF2000.
5368 (Qchinese_cns11643_6): New variable in UTF2000.
5369 (Qchinese_cns11643_7): New variable in UTF2000.
5370 (syms_of_mule_charset): Define `chinese-cns11643-3',
5371 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5372 and `chinese-cns11643-7' in UTF2000.
5373 (vars_of_mule_charset): Initialize
5374 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5376 (complex_vars_of_mule_charset): Setup charset
5377 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5378 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5380 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5382 * mule-charset.c: Move setting for `leading-code-private-11' from
5383 `syms_of_mule_charset' to `vars_of_mule_charset'.
5385 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5387 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5388 and `NUM_LEADING_BYTES' in assert.
5390 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5392 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5394 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5395 `NUM_LEADING_BYTES' instead of 128.
5397 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5399 * mule-charset.h (charset_by_leading_byte): Use
5400 `NUM_LEADING_BYTES' instead of 128.
5401 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5403 * mule-charset.c (charset_by_leading_byte): Use
5404 `NUM_LEADING_BYTES' instead of 128.
5405 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5407 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5410 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5412 * mule-charset.c (syms_of_mule_charset): Update to
5415 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5417 * file-coding.c (encode_coding_sjis): New implementation for
5418 UTF2000. (decode_coding_sjis): Ditto.
5420 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5422 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5423 Don't define in UTF2000.
5425 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5428 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5429 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5432 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5434 * config.h.in (CHAR_IS_UCS4): New macro.
5436 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5437 conventional MULE representation.
5438 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5440 * mule-charset.h: Reverted to original.
5442 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5443 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5444 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5446 * character.h: New file.
5448 * file-coding.c (Fmake_coding_system): Set 1 to
5449 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5451 (encode_coding_no_conversion): New implementation for UTF2000.
5453 * file-coding.h (struct Lisp_Coding_System): Add new member
5456 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5458 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5459 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5460 (encode_coding_iso2022): New implementation for UTF2000.
5462 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5464 * mule-canna.c (c2mu): New implementation for UTF2000.
5467 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5469 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5471 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5473 * file-coding.c (reset_encoding_stream): Set 0 to
5474 `str->iso2022.current_char_boundary' in UTF2000.
5475 (encode_utf8): Don't define in UTF2000.
5476 (encode_coding_utf8): New implementation for UTF-8 representation
5478 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5480 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5482 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5484 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5486 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5488 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5490 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5491 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5492 as UTF-8 in UTF2000.
5493 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5494 (non_ascii_valid_char_p): Don't define in UTF2000.
5495 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5496 (Lstream_get_emchar_1): Likewise.
5497 (utf-2000-version): New variable in UTF2000.
5499 * lread.c (read_escape): Add new reader `u'.
5501 * insdel.c (three_to_one_table): Don't define in UTF2000.
5502 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5503 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5505 (bytind_to_bufpos_func): Likewise.
5506 (buffer_mule_signal_inserted_region): Likewise.
5507 (vars_of_insdel): Don't initialize `three_to_one_table'.
5508 (init_buffer_text): Use `buf->text->mule_size' instead of
5509 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5512 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5513 UTF-8 representation in UTF2000.
5514 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5515 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5516 (decode_coding_iso2022): Don't define local variable `lb' in
5517 UTF2000; don't use LEADING_BYTE in UTF2000; use
5518 `DECODE_ADD_UCS_CHAR' in UTF2000.
5519 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5521 * config.h.in (UTF2000): New macro.
5523 * buffer.h (struct buffer_text): Add new member `mule_size' and
5524 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5525 (valid_char_p): Return always 1 in UTF2000.
5526 (MAX_EMCHAR_LEN): 6 in UTF2000.
5527 (three_to_one_table): Don't define in UTF2000.
5528 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5530 (real_bytind_to_bufpos): Likewise.
5532 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5534 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5536 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5537 representation change.
5538 (Vutf_2000_version): New variable.
5539 (leading_code_private_11): New variable.
5540 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5541 `leading-code-private-11'.
5543 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5544 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5545 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5546 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5547 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5548 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5549 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5550 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5551 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5552 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5553 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5554 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5555 (MIN_CHAR_GREEK): New macro.
5556 (MAX_CHAR_GREEK): New macro.
5557 (MIN_CHAR_CYRILLIC): New macro.
5558 (MAX_CHAR_CYRILLIC): New macro.
5559 (MIN_CHAR_HEBREW): New macro.
5560 (MAX_CHAR_HEBREW): New macro.
5561 (MIN_CHAR_THAI): New macro.
5562 (MAX_CHAR_THAI): New macro.
5563 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5564 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5565 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5566 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5567 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5568 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5569 (CHAR_FIELD2): New inline function.
5570 (CHAR_FIELD3): New inline function.
5571 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5572 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5573 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5574 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5575 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5576 (MIN_CHAR_COMPOSITION): Likewise.
5577 (CHAR_LEADING_BYTE): Modified for character representation change.
5578 (MAKE_CHAR): Likewise.
5580 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5581 (Vcharset_greek_iso8859_7): Likewise.
5582 (Vcharset_cyrillic_iso8859_5): Likewise.
5583 (Vcharset_hebrew_iso8859_8): Likewise.
5584 (Vcharset_thai_tis620): Likewise.
5585 (Vcharset_katakana_jisx0201): Likewise.
5587 2005-02-06 Vin Shelton <acs@xemacs.org>
5589 * XEmacs 21.4.17 is released
5591 2005-01-31 Ben Wing <ben@xemacs.org>
5594 Define assert_failed() always.
5596 Always define ABORT().
5598 2005-01-25 Ben Wing <ben@xemacs.org>
5601 * Makefile.in.in (%.o):
5602 Don't compile executable as Windows (-mwindows) under Cygwin.
5603 Semi-recent changes to Cygwin's executable-startup handling make
5604 it impossible to access the TTY this way.
5606 Don't use special linker file under Cygwin (cygwin.sc) except
5607 when non-PDUMP (even in this case it is highly questionable); you
5610 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
5611 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
5613 2005-01-29 Ben Wing <ben@xemacs.org>
5615 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5617 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
5619 2005-01-29 Ben Wing <ben@xemacs.org>
5621 * bytecode.c (optimize_compiled_function):
5623 * print.c (long_to_string):
5624 Add casts to avoid warning.
5627 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
5628 #### The better solution is to move the TIFF and JPEG code to
5631 * glyphs-msw.c (mswindows_xbm_instantiate):
5632 Define __STDC__ to avoid problems with compface.h.
5634 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
5636 * EmacsShell-sub.c (ABORT):
5637 * EmacsShell-sub.c (SuperClassRootGeometryManager):
5638 * EmacsShell-sub.c (RootGeometryManager):
5640 * EmacsShell.c (ABORT):
5641 * EmacsShell.c (EmacsShellUpdateSizeHints):
5642 * alloc.c (free_lcrecord):
5643 * alloca.c (i00afunc):
5644 * buffer.c (delete_from_buffer_alist):
5645 * buffer.c (MARKED_SLOT):
5646 * bytecode.c (execute_rare_opcode):
5647 * bytecode.c (optimize_byte_code):
5648 * bytecode.c (Ffetch_bytecode):
5649 * chartab.c (char_table_type_to_symbol):
5650 * chartab.c (Freset_char_table):
5651 * chartab.c (decode_char_table_range):
5652 * chartab.c (Fget_range_char_table):
5653 * chartab.c (check_valid_char_table_value):
5654 * chartab.c (map_char_table):
5655 * chartab.c (slow_map_char_table_fun):
5656 * chartab.c (chartab_instantiate):
5657 * cm.c (cmcheckmagic):
5658 * console-msw.c (DHEADER):
5659 * console.c (MARKED_SLOT):
5660 * data.c (finish_marking_weak_lists):
5661 * data.c (encode_weak_list_type):
5662 * debug.h (DASSERT):
5663 * device-gtk.c (gtk_init_device):
5664 * device-msw.c (mswindows_get_default_margin):
5665 * device-tty.c (tty_init_device):
5666 * device-x.c (get_device_from_display):
5667 * device-x.c (x_get_visual_depth):
5668 * doprnt.c (parse_doprnt_spec):
5669 * doprnt.c (get_doprnt_args):
5670 * dumper.c (pdump_get_indirect_count):
5671 * dumper.c (pdump_register_sub):
5672 * dumper.c (pdump_register_object):
5673 * dumper.c (pdump_register_struct):
5674 * dumper.c (pdump_dump_data):
5675 * dumper.c (pdump_reloc_one):
5676 * elhash.c (print_hash_table):
5677 * elhash.c (make_standard_lisp_hash_table):
5678 * elhash.c (hash_table_instantiate):
5680 * emacs.c (Fforce_debugging_signal):
5681 * emacs.c (sort_args):
5683 * emacs.c (assert_failed):
5684 * eval.c (throw_or_bomb_out):
5685 * eval.c (signal_1):
5688 * event-Xt.c (emacs_Xt_mapping_action):
5689 * event-Xt.c (Xt_process_to_emacs_event):
5691 * event-stream.c (check_event_stream_ok):
5692 * event-stream.c (Fadd_timeout):
5693 * event-stream.c (Fadd_async_timeout):
5694 * event-stream.c (Fdiscard_input):
5695 * event-stream.c (execute_internal_event):
5696 * event-stream.c (Frecent_keys):
5697 * event-stream.c (extract_this_command_keys_nth_mouse_event):
5698 * event-stream.c (lookup_command_event):
5699 * event-unixoid.c (poll_fds_for_input):
5701 * events.c (mark_event):
5702 * events.c (event_equal):
5703 * events.c (event_hash):
5704 * events.c (Fmake_event):
5705 * events.c (Fdeallocate_event):
5706 * events.c (event_chain_find_previous):
5707 * events.c (event_to_character):
5708 * events.c (format_event_object):
5709 * events.c (Fevent_type):
5710 * events.c (event_pixel_translation):
5711 * events.c (Fevent_properties):
5712 * extents.c (extent_in_region_p):
5713 * extents.c (print_extent):
5714 * extents.c (process_extents_for_insertion_mapper):
5715 * extents.c (report_extent_modification_mapper):
5716 * extents.c (glyph_layout_to_symbol):
5717 * faces.c (face_validate):
5718 * file-coding.c (eol_type_to_symbol):
5719 * file-coding.c (subsidiary_coding_system):
5720 * file-coding.c (Fcoding_system_type):
5721 * file-coding.c (Fcoding_system_property):
5722 * file-coding.c (mule_decode):
5723 * file-coding.c (mule_encode):
5724 * file-coding.c (encode_coding_ucs4):
5725 * file-coding.c (encode_coding_utf8):
5726 * file-coding.c (parse_iso2022_esc):
5727 * file-coding.c (encode_coding_iso2022):
5732 * fns.c (Fbase64_encode_region):
5733 * fns.c (Fbase64_encode_string):
5734 * fns.c (Fbase64_decode_region):
5735 * fns.c (Fbase64_decode_string):
5736 * font-lock.c (find_context):
5737 * font-lock.c (context_to_symbol):
5738 * frame-gtk.c (gtk_set_frame_pointer):
5739 * frame-gtk.c (gtk_update_frame_external_traits):
5740 * frame-x.c (x_wm_mark_shell_size_user_specified):
5741 * frame-x.c (x_wm_mark_shell_position_user_specified):
5742 * frame-x.c (x_wm_set_shell_iconic_p):
5743 * frame-x.c (x_wm_set_cell_size):
5744 * frame-x.c (x_wm_set_variable_size):
5745 * frame-x.c (x_wm_store_class_hints):
5746 * frame-x.c (x_wm_maybe_store_wm_command):
5747 * frame-x.c (x_initialize_frame_size):
5748 * frame-x.c (x_update_frame_external_traits):
5750 * frame.c (delete_frame_internal):
5751 * frame.c (mouse_pixel_position_1):
5752 * frame.c (change_frame_size_1):
5753 * free-hook.c (check_free):
5754 * free-hook.c (check_realloc):
5755 * free-hook.c (note_block_input):
5756 * free-hook.c (log_gcpro):
5757 * gccache-gtk.c (gc_cache_lookup):
5758 * glyphs-eimage.c (tiff_memory_write):
5759 * glyphs-gtk.c (gtk_finalize_image_instance):
5760 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
5761 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
5762 * glyphs-gtk.c (gtk_xpm_instantiate):
5763 * glyphs-gtk.c (gtk_unmap_subwindow):
5764 * glyphs-gtk.c (gtk_map_subwindow):
5765 * glyphs-gtk.c (gtk_button_redisplay):
5767 * glyphs-msw.c (init_image_instance_from_xbm_inline):
5768 * glyphs-x.c (init_image_instance_from_xbm_inline):
5769 * glyphs-x.c (extract_xpm_color_names):
5770 * glyphs-x.c (x_xpm_instantiate):
5771 * glyphs.c (get_image_instantiator_governing_domain):
5772 * glyphs.c (print_image_instance):
5773 * glyphs.c (image_instance_equal):
5774 * glyphs.c (image_instance_hash):
5775 * glyphs.c (encode_image_instance_type):
5776 * glyphs.c (make_image_instance_1):
5777 * glyphs.c (inherit_instantiate):
5778 * glyphs.c (image_instantiate):
5779 * glyphs.c (allocate_glyph):
5780 * glyphs.c (Fglyph_type):
5781 * glyphs.c (redisplay_subwindow):
5782 * glyphs.c (display_table_entry):
5783 * gtk-glue.c (xemacs_list_to_gtklist):
5784 * gtk-glue.c (xemacs_gtklist_to_list):
5785 * gtk-glue.c (xemacs_list_to_array):
5786 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
5787 * gutter.c (gutter_was_visible):
5788 * gutter.c (get_gutter_coords):
5789 * input-method-xlib.c (get_XIM_input):
5790 * insdel.c (bufpos_to_bytind_func):
5791 * insdel.c (bytind_to_bufpos_func):
5792 * insdel.c (move_gap):
5793 * intl.c (x_get_composed_input):
5794 * keymap.c (keymap_lookup_directly):
5795 * keymap.c (keymap_delete_inverse_internal):
5796 * keymap.c (ensure_meta_prefix_char_keymapp):
5797 * keymap.c (accessible_keymaps_mapper_1):
5798 * keymap.c (where_is_recursive_mapper):
5801 * lread.c (read_atom):
5802 * lstream.c (Lstream_delete):
5803 * lstream.c (make_lisp_buffer_stream_1):
5804 * macros.c (pop_kbd_macro_event):
5805 * malloc.c (malloc):
5807 * marker.c (bi_marker_position):
5808 * marker.c (set_bi_marker_position):
5809 * menubar-gtk.c (menu_descriptor_to_widget_1):
5810 * menubar-msw.c (prune_menubar):
5811 * menubar-x.c (set_frame_menubar):
5812 * mule-charset.c (get_unallocated_leading_byte):
5813 * mule-charset.h (CHAR_LEADING_BYTE):
5814 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5815 * nt.c (init_environment):
5816 * nt.c (generate_inode_val):
5817 * ntproc.c (delete_child):
5818 * ntproc.c (_sys_read_ahead):
5819 * ntproc.c (create_child):
5820 * objects.c (color_instantiate):
5821 * objects.c (font_instantiate):
5822 * objects.c (face_boolean_instantiate):
5823 * print.c (printing_major_badness):
5824 * process-nt.c (nt_send_process):
5825 * process-unix.c (unix_send_process):
5826 * process.c (get_process):
5827 * ralloc.c (obtain):
5828 * ralloc.c (relinquish):
5829 * ralloc.c (relocate_blocs):
5830 * ralloc.c (resize_bloc):
5831 * ralloc.c (r_alloc_free):
5832 * ralloc.c (r_re_alloc):
5833 * ralloc.c (r_alloc_thaw):
5834 * ralloc.c (init_ralloc):
5835 * ralloc.c (Free_Addr_Block):
5836 * ralloc.c (r_alloc):
5837 * redisplay-gtk.c (gtk_output_display_block):
5838 * redisplay-msw.c (mswindows_output_display_block):
5839 * redisplay-output.c (get_next_display_block):
5840 * redisplay-output.c (get_cursor_size_and_location):
5841 * redisplay-output.c (redisplay_output_layout):
5842 * redisplay-output.c (redisplay_clear_region):
5843 * redisplay-tty.c (tty_output_display_block):
5844 * redisplay-x.c (x_output_display_block):
5845 * redisplay.c (add_propagation_runes):
5846 * redisplay.c (add_glyph_rune):
5847 * redisplay.c (create_text_block):
5848 * redisplay.c (add_margin_runes):
5849 * redisplay.c (create_left_glyph_block):
5850 * redisplay.c (create_right_glyph_block):
5851 * redisplay.c (create_string_text_block):
5852 * redisplay.c (regenerate_window):
5853 * redisplay.c (REGEN_INC_FIND_START_END):
5854 * redisplay.c (redisplay_frame):
5855 * redisplay.c (point_in_line_start_cache):
5858 * regex.c (re_compile_fastmap):
5859 * regex.c (re_match_2_internal):
5860 * regex.c (regerror):
5861 * scrollbar-gtk.c (gtk_scrollbar_loop):
5862 * scrollbar-gtk.c (scrollbar_cb):
5863 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
5864 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
5865 * scrollbar-x.c (x_update_scrollbar_instance_status):
5866 * scrollbar-x.c (x_scrollbar_loop):
5867 * scrollbar-x.c (x_update_frame_scrollbars):
5868 * search.c (search_command):
5869 * search.c (Fmatch_data):
5870 * select-x.c (motif_clipboard_cb):
5871 * signal.c (interrupt_signal):
5872 * specifier.c (specifier_add_spec):
5873 * specifier.c (specifier_instance_from_inst_list):
5874 * specifier.c (specifier_instance):
5876 * specifier.h (struct specifier_methods):
5877 * strftime.c (add_num_time_t):
5878 * sunplay.c (init_device):
5879 * symbols.c (Fsetplist):
5880 * symbols.c (do_symval_forwarding):
5881 * symbols.c (store_symval_forwarding):
5883 * symbols.c (Fbuilt_in_variable_type):
5884 * symbols.c (decode_magic_handler_type):
5885 * symbols.c (handler_type_from_function_symbol):
5886 * syntax.c (update_syntax_cache):
5887 * sysdep.c (init_baud_rate):
5888 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5889 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5890 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5891 * toolbar.c (get_toolbar_coords):
5892 * ui-gtk.c (build_gtk_boxed):
5893 * ui-gtk.c (describe_gtk_arg):
5894 * ui-gtk.c (gtk_type_to_lisp):
5895 * ui-gtk.c (lisp_to_gtk_type):
5896 * ui-gtk.c (lisp_to_gtk_ret_type):
5897 * ui-gtk.c (lisp_to_flag):
5898 * unexnt.c (read_in_bss):
5899 * unexnt.c (map_in_heap):
5900 * window.c (real_window):
5901 * window.c (window_display_lines):
5902 * window.c (window_display_buffer):
5903 * window.c (set_window_display_buffer):
5904 * window.c (window_modeline_height):
5905 * window.c (unshow_buffer):
5906 * window.c (window_loop):
5907 * window.c (Fget_lru_window):
5908 * window.c (Fsplit_window):
5909 * window.c (Fset_window_configuration):
5910 * window.c (saved_window_index):
5911 * xgccache.c (gc_cache_lookup):
5912 abort() -> ABORT(). Eliminate preprocessor games with abort()
5913 since it creates huge problems in VC7, solvable only by including
5914 massive amounts of files in every compile (and not worth it).
5918 Inclusion of process.h does not need to be before lisp.h any more.
5919 Move later and remove comment about abort().
5921 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
5923 * regex.c (re_match_2_internal):
5924 Correctly initialize loop which clears uninitialized registers.
5926 2005-01-28 Vin Shelton <acs@xemacs.org>
5928 * sheap.c (more_static_core): Applied Ben's version of the long
5931 2005-01-24 Vin Shelton <acs@xemacs.org>
5933 * sheap.c (more_static_core): Reformatted printf string so
5934 gcc-3.3.3 will compile this on Cygwin.
5936 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
5938 * console.c (function_key_map): Reference `key-binding'.
5940 * keymap.c (Vkey_translation_map): Improve docstring.
5942 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
5944 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
5945 * window.c (window_loop): [fix] Take into account
5946 `allow-deletion-of-last-visible-frame' variable.
5947 * window.c (replace-buffer-in-windows): Ditto.
5949 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
5951 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
5953 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
5955 * event-gtk.c: Recognise AltGr as a valid modifier.
5957 2005-01-12 Ville Skyttä <scop@xemacs.org>
5959 * console-x.h: #include X11/keysym.h before xintrinsic.h.
5961 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
5963 Fix backreference bug caught by test suite.
5965 * regex.c (regex_compile):
5966 Make backref duplicate internal register.
5968 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
5970 Documentation, code clarification, and warning suppression.
5972 * regex.c (regex_compile):
5974 (re_match_2_internal):
5975 Improve comments and avoid redundant braces. [Most of the big hunk
5976 at l. 4710 is indentation; use diff -w to see the real changes.]
5977 (alt_match_null_string_p):
5978 (common_op_match_null_string_p):
5979 Avoid shadowing global on Mac OS X 10.4, at least.
5981 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
5983 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
5984 introduced with shy groups fix). [Already applied, probably
5985 with the second "fix shy groups" patch of 2004-10-07.]
5987 2005-01-10 Steve Youngs <steve@sxemacs.org>
5989 From Andrey Slusar <anrays@gmail.com>:
5991 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
5993 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
5995 * Makefile (RECURSIVE_MAKE): Removed.
5996 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
5997 handling parallel builds.
5999 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6001 * Makefile.in.in: Enable support for parallel builds.
6003 2005-01-09 Steve Youngs <steve@sxemacs.org>
6005 From Andrey Slusar <anrays@gmail.com>:
6007 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6008 FreeBSD version is >= 199701 _and_ < 600006.
6010 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6012 * scrollbar.c (compute_scrollbar_instance_usage):
6013 Only call device method compute_scrollbar_instance_usage() if it
6016 2004-12-05 Vin Shelton <acs@xemacs.org>
6018 * XEmacs 21.4.16 is released
6020 2004-12-04 Vin Shelton <acs@xemacs.org>
6022 * depend: Regenerated.
6024 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6026 * regex.c (re_match_2_internal): Map internal to external
6027 registers. Fixes bug identified by Steve Youngs 2004-09-30
6028 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6030 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6032 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6033 to fix a crash. Also, check the buffer is live and it
6034 really exists in buffer_list. If the buffer is not in the list,
6037 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6039 Fix shy groups by implementing recording of all groups for
6040 repetition and backtracking. Backport from 21.5.
6042 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6043 external_to_internal_register, external_to_internal_register_size,
6044 and update comments for re_nsub.
6046 * regex.c (re_opcode_t): Update comments.
6047 (print_compiled_pattern): Ouput external_to_internal_register,
6048 external_to_internal_register_size, and re_ngroups for debugging.
6049 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6050 (regex_compile): Update header comment.
6051 Ensure that all groups are recorded so that repeat matches and
6052 backtracking work correctly. Comment related warning for groups >
6054 (re_search_2): Construct map of API indexes (which count only
6055 nonshy groups) to internal register numbers, and keep it updated.
6057 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6059 * frame-gtk.c (gtk_make_frame_visible):
6060 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6061 show/hide. This is what X uses and is prevents previously hidden
6062 widgets from suddenly reappearing.
6063 * gtk-xemacs.c (gtk_xemacs_paint):
6064 * gtk-xemacs.c (gtk_xemacs_draw):
6065 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6067 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6068 size and location changes so that they can be seen before the next
6069 idle event. Without this rapid changes to scrollbar properties
6072 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6075 * console-gtk.h (struct gtk_frame):
6076 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6077 Add hash tables track tab_control callback data.
6078 Added #defines for GTK object data names.
6079 Declaration of gtk_widget_to_frame().
6080 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6081 * frame-gtk.c (gtk_widget_to_frame): New.
6082 * frame-gtk.c (gtk_create_widgets):
6083 * frame-gtk.c (allocate_gtk_frame_struct):
6084 * frame-gtk.c (gtk_mark_frame):
6085 Manage frame callbakc hash tables.
6086 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6087 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6088 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6090 * glyphs-gtk.c (gtk_widget_query_geometry): New
6091 * glyphs-gtk.c (gtk_register_gui_item): New
6092 * glyphs-gtk.c (gtk_add_tab_item): New
6093 * glyphs-gtk.c (gtk_tab_control_callback): New
6094 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6095 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6096 Use correct list when loading item.
6097 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6098 Register new methods.
6099 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6100 default size, for widgets.
6101 * gui-x.c: Improved comment.
6102 * menubar-gtk.c (__generic_button_callback): Use
6103 gtk_widget_to_frame instead of __get_channel.
6105 * ui-gtk.c: Use symbolic names for GTK object data.
6107 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6109 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6111 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6113 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6115 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6117 * malloc.c (morecore): siz is a long because in some architectures
6118 (eg ia-64) an int cannot hold the address range. Additional patch
6119 from the SuSe distribution.
6121 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6124 * malloc.c: lim_data is a long because in some architectures
6125 (eg ia-64) an int cannot hold the address range.
6126 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6127 instead of ulimit() because ulimit() always returns -1.
6129 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6131 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6133 2004-06-11 David Kastrup <dak@gnu.org>
6135 * search.c (match_limit): Don't flag an error if match-data
6136 exceeding the allocated search_regs.num_regs gets requested, just
6139 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6141 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6142 replace symbolic color entries with the real colors specified in
6143 xpm-color-symbols, before passing the XPM to gtk.
6144 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6145 instead of a GTK specific field, so that it is used in by generic
6148 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6150 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6151 coredump from deref of NULL ptr (ExtData)
6153 2004-04-19 Jerry James <james@xemacs.org>
6155 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6156 VALBITS to compute the location of the sign bit.
6157 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6158 of VALBITS with EMACS_INT_MAX.
6159 * events.c (Fevent_timestamp): Ditto.
6160 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6161 compute the halfway point to timestamp wraparound.
6162 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6163 EMACS_INT_MIN instead of using VALBITS.
6164 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6165 incorrect number with VALBITS.
6166 * fns.c (Frandom): Correct number of integer bits in docstring.
6167 Use INT_VALBITS instead of VALBITS to compute the denominator.
6168 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6169 build random numbers.
6171 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6173 * event-gtk.c (gtk_event_to_emacs_event):
6175 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6176 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6177 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6178 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6179 * menubar-gtk.c (__activate_menu):
6180 * menubar-gtk.c (convert_underscores):
6181 * menubar-gtk.c (remove_underscores):
6182 * menubar-gtk.c (menu_convert):
6183 * menubar-gtk.c (menu_descriptor_to_widget_1):
6184 * menubar-gtk.c (menu_descriptor_to_widget):
6185 * menubar-gtk.c (menu_can_reuse_widget):
6186 * menubar-gtk.c (menu_create_menubar):
6187 * menubar-gtk.c (gtk_popup_menu):
6188 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6189 Added support for Gtk menu bar and menu item mnemonics.
6191 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6193 * sysdll.c: (dll_function): Added support for finding symbols in
6194 Darwin shared libraries as well in Darwin bundles.
6195 * sysdll.c (image_for_address): New
6196 * sysdll.c (my_find_image): New
6197 * sysdll.c (search_linked_libs): New
6199 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6201 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6202 return to GTK requires a different API to marshalling data to use
6204 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6206 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6208 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6210 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6212 * glyphs.c (process_image_string_instantiator):
6213 (Fset_console_type_image_conversion_list):
6214 Stop GCC from warning about shadowing of `exp'.
6216 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6218 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6220 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6222 2004-02-03 Vin Shelton <acs@xemacs.org>
6224 * glyphs.c (image_instance_layout): Remove pointless assertion.
6225 * regex.c (regex_grow_registers): Return type is void.
6227 2004-02-02 Vin Shelton <acs@xemacs.org>
6229 * XEmacs 21.4.15 is released
6231 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6233 * device-x.c (x_error_handler): Don't call stderr_out
6235 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6237 * buffer.c (other-buffer): Clarify documentation of order of
6238 arguments for FSF Emacs.
6240 2003-10-11 Olivier Galibert <galibert@pobox.com>
6242 * window.c (Fdelete_window): Dirty the mirror structure _before_
6243 marking the window deleted.
6245 2003-09-15 Jerry James <james@xemacs.org>
6247 * event-msw.c (debug_mswin_messages): Conditionally compile
6248 messages missing from the Cygwin headers.
6250 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6252 * data.c (eq_with_ebola_notice): Fix typo in comment.
6253 (Ftrue_list_p): Improve docstring.
6255 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6257 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6259 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6261 * search.c (trivial_regexp_p): Regexps containing "\{" are
6262 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6263 Stefan Monnier for suggesting a diagnosis.
6265 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6267 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6269 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6271 * search.c (Fsearch_forward):
6273 Document negative count.
6275 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6277 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6279 2003-09-13 Martin Buchholz <martin@xemacs.org>
6281 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6283 2003-09-15 Vin Shelton <acs@xemacs.org>
6285 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6288 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6290 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6291 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6292 (re_match_2_internal): Use TRANSLATE instead of
6293 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6294 non-ASCII char case conversion.
6296 2003-09-08 Mike Sperber <mike@xemacs.org>
6298 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6299 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6301 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6303 * .gdbinit (pobj): fix printing of symbol name.
6305 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6307 * frame-x.c (x_layout_widgets): When resizing is about to cause
6308 frame size slip, mark it for redisplay.
6310 2003-08-18 Jerry James <james@xemacs.org>
6312 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6314 2003-09-03 Vin Shelton <acs@xemacs.org>
6316 * XEmacs 21.4.14 is released
6318 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6320 * config.h.in (REGEX_MALLOC): Make it configure'able.
6322 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6324 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6326 * sysdll.c (dll_init):
6327 * sysdll.c (dll_open):
6328 * sysdll.c (dll_close):
6329 * sysdll.c (dll_function):
6330 * sysdll.c (dll_variable):
6331 * sysdll.c (dll_error):
6332 Add support for loading bundles using Darwin/MacOSX
6335 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6337 * process.c (start-process-internal): Document coding systems.
6339 2003-07-30 Jerry James <james@xemacs.org>
6341 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6343 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6345 * event-msw.c (mswindows_enqueue_mouse_button_event):
6346 * event-msw.c (mswindows_wnd_proc):
6347 enqueue button event when scrollwheel event isn't handled by
6348 mswindows_handle_mousewheel_event, such as when the scrollbars
6351 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6353 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6355 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6357 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6359 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6361 * regex.c (re_match_2_internal): Fix matching degenerate word
6364 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6366 * XEmacs 21.4.13 is released
6368 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6370 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6371 * lisp.h (<inttypes.h>):
6372 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6375 2003-03-15 Martin Buchholz <martin@xemacs.org>
6377 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6378 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6379 Result: "temacs can only be run in -batch mode."
6380 Fix: Check xemacs executable candidate for directory-ness.
6382 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6384 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6385 they conflict with <sys/types.h>.
6387 2003-02-14 Martin Buchholz <martin@xemacs.org>
6389 * database.c: Berkeley DB wants __STDC__ to be defined.
6391 2003-02-13 Martin Buchholz <martin@xemacs.org>
6393 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6395 2003-02-01 Martin Buchholz <martin@xemacs.org>
6397 * process-unix.c (unix_send_process): Fix C++ compile error.
6399 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6401 * Added .dylib as an acceptable shared library file extension
6402 * to support MacOSX.
6404 2003-02-01 Martin Buchholz <martin@xemacs.org>
6406 * EmacsFrameP.h (EmacsFramePart):
6407 Kludge to allow compiling with Motif1, but linking with Motif2.
6409 2003-01-28 Martin Buchholz <martin@xemacs.org>
6411 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6414 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6416 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6418 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6420 * sysdll.c: Included lisp.h to define needed alloca_array.
6422 2003-02-13 Martin Buchholz <martin@xemacs.org>
6424 Make XEmacs redisplay 10 times faster.
6425 If, that is, you're using a slow X connection and MoveOpaque.
6426 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6427 Use compress_motion = TRUE.
6428 * EmacsFrame.c (emacsFrameClassRec):
6429 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6430 * EmacsManager.c (emacsManagerClassRec):
6431 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6433 2003-01-30 Vin Shelton <acs@xemacs.org>
6435 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6437 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6439 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6440 Patch by Martin Buchholz.
6442 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6444 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6445 Thanks to icc for warning and Martin Buchholz for reporting.
6447 2003-01-29 Vin Shelton <acs@xemacs.org>
6449 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6451 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6452 remember to multiply by the element size.
6454 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6456 * XEmacs 21.4.12 "Portable Code" is released.
6458 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6460 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6461 * s/cygwin.sc: new linker file.
6463 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6465 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6467 * redisplay-x.c (x_output_string): Use X11-specified types.
6468 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6469 * emacs.c (__free_hook): Use typeof with Intel compiler.
6470 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6472 2003-01-08 Andy Piper <andy@xemacs.org>
6474 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6475 reserve size during unexec().
6477 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6479 * process-unix.c (unix_create_process): Don't let outchannel block.
6481 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6483 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6484 Needed for IsBadReadPtr().
6486 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6488 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6490 2002-12-14 Ben Wing <ben@xemacs.org>
6492 * callint.c: Declaration error.
6494 * dumper.c (pdump_load): Warning fix.
6495 * process.c: GCPRO error.
6496 * glyphs.c (unmap_subwindow):
6497 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6498 * event-stream.c (maybe_kbd_translate): Wrong argument to
6499 character_to_event().
6501 * alloc.c (garbage_collect_1):
6503 * emacs.c (debug_can_access_memory):
6504 * emacs.c (fatal_error_signal):
6505 * emacs.c (mswindows_handle_hardware_exceptions):
6508 * emacs.c (assert_failed):
6509 * emacs.c (syms_of_emacs):
6512 * print.c (std_handle_out_va):
6513 * print.c (write_string_to_stdio_stream):
6514 * print.c (write_fmt_string):
6515 * print.c (printing_badness):
6516 * print.c (printing_major_badness):
6517 * print.c (print_internal):
6518 * print.c (debug_print_no_newline):
6519 * print.c (debug_backtrace):
6520 Be more defensive in handling bad values when printing. Add code
6521 from trunk involving inhibit_non_essential_printing_operations.
6522 When going down or in debug_print(), don't do external conversion
6523 and such and try really, really hard when printing to avoid core
6524 dumping. Add force-debugging-signal, debug_break().
6526 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6528 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6529 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6531 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6533 * database.c: Fix open_database. Berkeley DB API has changed in
6534 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6536 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6538 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6540 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6542 * event-Xt.c (Xt_timeout):
6543 (Xt_timeout_callback):
6544 (emacs_Xt_add_timeout):
6545 (emacs_Xt_remove_timeout):
6546 (Xt_timeout_to_emacs_event):
6547 Turn completed_timeouts from a stack into a queue. Fixes
6548 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6550 2002-11-07 Wolfram Gloger <wg@malloc.de>
6552 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6553 * emacs.c (main): Assert that mmap'd allocation is disabled.
6555 2002-10-14 Andy Piper <andy@xemacs.org>
6557 * glyphs-widget.c (layout_query_geometry): add in fiddle
6558 factor. Include border text in width layout calculation.
6559 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
6561 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
6563 * XEmacs 21.4.10 "Military Intelligence" is released.
6565 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
6567 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
6568 using the NAS private array SoundFileInfo that no longer exists in
6569 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
6570 and earlier. This is broken for some versions between 1.5a and
6573 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
6575 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
6577 * emacs.c (shut_down_emacs): Improve crash message.
6579 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
6581 * file-coding.c (determine_real_coding_system): Check for coding
6582 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
6583 shebangs and Python PEP 263.
6585 2002-10-08 Andy Piper <andy@xemacs.org>
6587 * glyphs-widget.c (layout_query_geometry): only resize dynamically
6588 if static sizes haven't been set.
6590 2002-08-30 Mike Alexander <mta@arbortext.com>
6592 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
6595 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
6597 * callproc.c (child_setup): 21.4 doesn't have retry_close.
6599 2002-09-20 Mike Sperber <mike@xemacs.org>
6601 (This partially gets back my patch from 2002-07-20 without the
6603 * callproc.c (child_setup): Remove Ben's comment noting confusion
6604 over the file descriptors >= 3: close_process_descs() doesn't
6605 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
6606 * process-unix.c (unix_create_process): Call
6607 begin_dont_check_for_quit to inhibit unwanted interaction (and
6608 thus breaking of X event synchronicity) in the child.
6610 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
6612 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
6615 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
6617 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
6618 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
6619 the xemacs process did not exit, but looped infinitely here. This
6622 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6624 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
6625 (find_context): Improve comments.
6627 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
6628 (re_match_2): An XCHAR_TABLE operation was missing.
6630 Many of the following changes were inspired by Andy Piper's (now
6631 obsolete) patch to make syntax-table text property lookup optional.
6635 * syntax.h (top level): Document semantics of syntax flags.
6636 * syntax.c (comstr_start, Fforward_comment): Improve comments.
6637 * syntax.c, syntax.h (top level): Document syntax cache better in
6640 [Instrument syntax caching (temporary change)]
6642 * syntax.h (enum syntax_cache_statistics_functions, struct
6643 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
6644 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
6645 * syntax.c (scan_words, Fforward_comment, scan_lists,
6646 Fbackward_prefix_characters):
6647 * font-lock.c (find_context):
6648 Use them to instrument syntax caching.
6649 * syntax.c (struct syntax_cache_statistics, scs_statistics,
6650 syntax_cache_statistics_function_names): New type and variables.
6651 * syntax.c (update_syntax_cache): Update and report statistics.
6653 [Major syntax cache optimizations]
6655 syntax.c (lookup_syntax_properties): Default off.
6657 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
6658 * syntax.c (update_syntax_cache):
6659 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
6661 [Minor syntax cache optimizations and code clarifications]
6663 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
6664 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
6665 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
6666 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
6667 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
6668 (Code clarification.)
6670 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
6671 scan_lists): Compute code from syncode, use Boolean macros instead
6672 of redundant masking operations. (Code clarification; any decent
6673 compiler can do this optimization.)
6675 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
6678 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
6679 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
6680 use F*_single_property_change instead of F*_extent_change.
6681 Currently F*_single_property_change is _much_ less efficient.
6683 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6684 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6685 syntax_cache.object properly, don't leave Qt or Qnil.
6686 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6687 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6688 tests for Qt or Qnil.
6690 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6692 * redisplay.c (point_in_line_start_cache):
6693 * extents.c (print_extent_1):
6696 * extents.c (Fset_extent_property): Document `syntax-table' property.
6698 * extents.h (Fnext_single_property_change): EXFUN it.
6700 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6702 * search.c (clear_unused_search_regs): New static function.
6706 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6707 Minor clarifications in comments.
6709 * regex.c (re_match_2_internal): Ensure no stale submatches.
6711 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6713 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6715 2002-08-29 Jerry James <james@xemacs.org>
6717 * lisp.h: structrures -> structures.
6719 2002-06-03 Andy Piper <andy@xemacs.org>
6721 * frame.c (frame_conversion_internal): add conversion appropriate
6722 for setting frame dimensions in pixels.
6724 * console.h (struct console_methods): add device-specific widget
6727 * emacs.c (main_1): initialize glyph vars.
6729 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6730 (handle_focus_event_2): new function. Allow focus to
6731 be set to a particular window and widget.
6732 (enqueue_focus_event): new function. Create a
6733 synthetic focus event.
6734 (emacs_Xt_handle_magic_event): call
6735 handle_focus_event_2.
6737 * frame.c (Fset_frame_pixel_height): new function. Allow
6738 pixel-based sizing. Does the right thing on character-oriented
6740 (Fset_frame_pixel_width): ditto.
6741 (Fset_frame_pixel_size): ditto.
6742 (syms_of_frame): declare.
6744 * general-slots.h: add :vertically-justify and
6745 :horizontally-justify.
6747 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6748 (mswindows_widget_border_width): new function.
6749 (mswindows_combo_box_instantiate): set border widths.
6750 (console_type_create_glyphs_mswindows): declare.
6753 (check_valid_justification): allow vertical and horizontal
6755 (widget_border_width): new function. Call device methods.
6756 (widget_instance_border_width): ditto.
6757 (logical_unit_height): new function. Determine the height of a
6758 logical-unit. Logical units are intended to provide grid-like
6759 layout for subcontrols in a layout. If the layout is
6760 :vertically-justify top then subcontrols will be positioned on
6761 logical-unit boundaries, thus allowing adjacent subcontrols to
6763 (widget_logical_unit_height): ditto for widgets.
6764 (redisplay_widget): misc cleanup.
6765 (widget_spacing): new function. Call device specific
6766 methods. Intended to be the default gap between adjacent widgets.
6767 (widget_query_geometry): use new spacing functions to determine
6768 appropriate geometry.
6769 (initialize_widget_image_instance): initialize horizontal and
6770 vertical justification.
6771 (widget_instantiate): use logica-units where appropriate for
6772 sizing large widgets.
6773 (button_query_geometry): use widget_instance_border_width.
6774 (tree_view_query_geometry): ditto.
6775 (tab_control_query_geometry): ditto.
6776 (edit_field_query_geometry): new function.
6777 (layout_update): pick up :justify, :horizontally-justify and
6778 :vertically-justify none of which worked previously. :justify is
6779 used as a fallback for both horizontal and vertical justification.
6780 (layout_query_geometry): use logical units to size appropriately.
6781 (layout_layout): ditto.
6782 (Fwidget_logical_to_character_width): new function. Allow users to
6783 convert from logical units to characters so that frame sizes can
6784 be set appropriately.
6785 (Fwidget_logical_to_character_height): ditto.
6786 (syms_of_glyphs_widget): declare.
6787 (image_instantiator_edit_fields): add edit_field_query_geometry.
6788 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6789 :horizontally-justify.
6790 (specifier_vars_of_glyphs_widget): new function. Declare
6791 Vwidget_border_width which is not yet used.
6793 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6794 (x_widget_border_width): new function.
6795 (x_widget_instantiate): create a sensible name for widgets.
6796 (console_type_create_glyphs_x): declare x_widget_border_width.
6798 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6799 (struct Lisp_Image_Instance): add :vertically-justify and
6800 :horizontally-justify.
6801 (LAYOUT_JUSTIFY_TOP): new.
6802 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6803 (ROUND_UP): new macro. Round argument up to next integral
6806 * redisplay-output.c (redisplay_output_layout): misc formatting.
6808 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6810 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6812 * XEmacs 21.4.9 "Informed Management" is released.
6814 2002-08-19 Andy Piper <andy@xemacs.org>
6816 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6819 * realpath.c (xrealpath): normalize drive spec also so that dir
6820 sep chars are not mixed on cygwin.
6822 2002-08-06 Jerry James <james@xemacs.org>
6824 * window.c (Fsplit_window): Count only half of the divider width
6825 against the left window when splitting horizontally.
6827 2002-06-24 Andy Piper <andy@xemacs.org>
6829 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6830 toolbar was cleared.
6832 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6833 function. Split out from mswindows_output_frame_toolbars.
6834 (mswindows_output_frame_toolbars): move clear pieces to
6835 mswindows_output_frame_toolbars.
6837 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6838 out from gtk_output_frame_toolbars.
6839 (gtk_output_frame_toolbars): move clear pieces to
6840 gtk_clear_frame_toolbars.
6842 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6843 the frame is cleared. How this ever worked before is a mystery.
6844 (x_output_frame_toolbars): Only output toolbars.
6845 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6847 * gutter.c (update_gutter_geometry):
6848 Mark frame layout changed.
6849 (update_frame_gutter_geometry, update_frame_gutters):
6850 Respect frame_layout_changed.
6852 * console.h (struct console_methods): add
6853 clear_frame_toolbars_method.
6855 * redisplay.c (redisplay_frame): call
6856 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6858 * toolbar.h: declare update_frame_toolbars_geometry.
6860 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6861 out from update_frame_toolbars. Call clear_frame_toolbars.
6862 (update_frame_toolbars): only output, do not change geometry.
6864 * redisplay.c: add frame_layout_changed.
6866 * redisplay.h: add frame_layout_changed.
6867 (CLASS_RESET_CHANGED_FLAGS): set it.
6868 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6869 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6870 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6872 * device.h (struct device): add frame_layout_changed.
6873 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6875 * frame.h (struct frame): add frame_layout_changed.
6876 (MARK_FRAME_LAYOUT_CHANGED): new.
6878 2002-06-30 Mike Alexander <mta@arbortext.com>
6880 * event-msw.c (mswindows_need_event): Don't wait for a new message
6881 if the queue is not empty. Suggested by Paul Moore.
6883 2002-06-12 Andy Piper <andy@xemacs.org>
6885 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6886 for printing on accurately.
6888 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6890 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6891 WM_ACTIVATE message. Make sure that the frame is visible if the
6892 window is visible. This seemss to fix the problem where XEmacs
6893 appears to freeze after switching desktops with certain virtual
6895 (debug_output_mswin_message): Added code to output message
6896 parameters for WM_WINDOWPOSCHANGED,
6897 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6899 2002-05-25 Andy Piper <andy@xemacs.org>
6901 * select-x.c (vars_of_select_x): Fix docstring of
6902 x-selection-strict-motif-ownership
6904 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6906 * keymap.c (get_keymap):
6907 Add comment about do_autoload GCPROs own args.
6909 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6911 * bytecode.c (execute_optimized_program): check_opcode ifdef
6912 ERROR_CHECK_BYTE_CODE.
6914 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6916 Thanks to Ben Wing and Michael Sperber.
6918 * eval.c (Fcommand_execute):
6921 (Fmacroexpand_internal):
6922 (function_argcount):
6923 callint.c (Fcall_interactively):
6924 Add comment about do_autoload GCPROs own args.
6926 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6928 * eval.c (Ffuncall): Extra braces to placate GCC.
6930 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6932 * backtrace.h (grow_specpdl):
6934 * EmacsFrame.c (EmacsFrameSetValues):
6935 * eval.c (grow_specpdl):
6936 * ExternalShell.c (hack_event_masks_1):
6937 * glyphs-x.c (convert_EImage_to_XImage):
6938 (x_finalize_image_instance):
6939 * ralloc.c (page_size):
6941 * xgccache.c (gc_cache_hash):
6942 Fix unsigned comparison warnings.
6944 2002-07-29 Jerry James <james@xemacs.org>
6946 * lread.c (locate_file): Any nonnegative return value indicates
6947 success if MODE is nonnegative.
6949 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6951 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6954 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6956 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6958 * dumper.c (pdump_get_indirect_count):
6959 (pdump_scan_by_alignment):
6960 (pdump_dump_root_struct_ptrs):
6961 (pdump_dump_rtables):
6962 (pdump_dump_root_objects):
6964 * nas.c (WaveOpenDataForReading):
6965 * fns.c (print_bit_vector):
6966 * font-lock.c (SINGLE_SYNTAX_STYLE):
6967 * glyphs.c (check_for_ignored_expose):
6968 (find_matching_subwindow):
6970 * imgproc.c (get_histogram):
6971 * redisplay.c (point_in_line_start_cache):
6972 * redisplay-output.c (redisplay_unmap_subwindows):
6973 * symbols.c (defsymbol_massage_name_1):
6974 (defkeyword_massage_name):
6975 (deferror_massage_name_and_message):
6976 * redisplay-x.c (x_output_string):
6977 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6978 * frame.h (struct frame):
6979 * filelock.c (current_lock_owner):
6980 * doprnt.c (emacs_doprnt_1):
6981 * lisp.h (struct Lisp_Bit_Vector):
6985 2002-02-13 Ben Wing <ben@xemacs.org>
6987 * event-stream.c (reset_key_echo):
6988 * event-stream.c (reset_this_command_keys):
6989 * event-stream.c (execute_command_event):
6990 If console is dead as a result of C-x 5 0, then post-command stuff
6991 needs to be careful and do only non-console-specific stuff.
6993 2002-07-01 Mike Sperber <mike@xemacs.org>
6995 * process-unix.c (unix_send_process): Mark coding_outstream as
6996 non-open upon SIGPIPE.
6998 * event-stream.c (Fnext_event): Reorder switch cases to something
7001 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7003 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7004 Don't bogusly reinitialize ascii_character property.
7006 2002-07-08 Mike Sperber <mike@xemacs.org>
7008 * process.c (Fstart_process_internal): Do error checking before we
7009 fork off the child, so the child can't muck with the state of the
7012 2002-07-08 Mike Sperber <mike@xemacs.org>
7014 * ralloc.c (init_ralloc): Allocate properly for pdump.
7016 2002-06-12 Andy Piper <andy@xemacs.org>
7018 * glyphs.c (query_string_geometry): check the string.
7020 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7023 2002-06-17 Jerry James <james@xemacs.org>
7025 * sysdll.c: Remove RTLD_GLOBAL initialization.
7026 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7028 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7030 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7032 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7034 * sysdep.c (sys_rename): Make sys_rename work for the case where
7035 Windows rename sets errno to EACCES if target file exists.
7037 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7039 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7040 Fix detection of metric units to work on Win95
7042 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7044 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7046 2002-04-25 Andy Piper <andy@xemacs.org>
7048 * redisplay.c (create_text_block): Remove extra comment trailer.
7050 2002-04-24 Andy Piper <andy@xemacs.org>
7052 * redisplay.c (create_text_block): Don't actually add propagation
7053 data if the line ends after we have added a glyph.
7055 2002-04-22 Andy Piper <andy@xemacs.org>
7057 * extents.c (extent_fragment_update): check for glyphs we have
7058 previously displayed.
7059 * extents.c (print_extent_1): warning removal.
7060 * extents.h: change prototype.
7061 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7062 widths correctly for wide glyphs.
7063 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7064 * redisplay.c (prop_type): add PROP_GLYPH.
7065 * redisplay.c (struct prop_block): add glyph type
7066 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7067 to the propagation data.
7068 * redisplay.c (create_text_block): if there is a glyph in the
7069 propagation data use it to salt extent_fragment_update.
7070 * redisplay.c (create_string_text_block): ditto.
7072 2002-04-13 Nix <nix@esperi.demon.co.uk>
7074 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7075 * redisplay-output.c (compare_runes): Compare them.
7076 * redisplay.c: Update copyright date.
7077 * redisplay.c (pos_data): Add need_baseline_computation field.
7078 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7079 need_baseline_computation; zero yoffset. Set max_pixmap_height
7080 for all pixmaps, not just automatically positioned ones.
7081 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7082 * redisplay.c (calculate_baseline): New, compute textual baseline.
7083 * redisplay.c (add_glyph_rune): Call them.
7084 * redisplay.c (create_text_block): Likewise.
7085 * redisplay.c (create_overlay_glyph_block): Likewise.
7086 * redisplay.c (add_margin_runes): Likewise.
7087 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7089 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7090 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7091 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7092 * redisplay-msw.c (mswindows_output_string): Likewise.
7093 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7094 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7095 * redisplay-x.c (x_output_display_block): Likewise.
7097 2002-03-28 Ben Wing <ben@xemacs.org>
7099 * redisplay.c: Fixed bug in redisplay
7100 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7101 and down of the lines, since they're bigger than the line
7102 size. (It was seen most obviously when there's a horizontal scroll
7103 bar, e.g. do C-h a glyph or something like that.) The problem was
7104 that the glyph-contrib-p setting on glyphs was ignored even if it
7105 was set properly, which it wasn't until now.
7107 2002-04-24 Andy Piper <andy@xemacs.org>
7109 * lisp.h (Dynarr_end): Fix definition.
7111 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7113 * redisplay.c (mark_redisplay): Remove call to
7114 update_frame_window_mirror.
7116 2001-11-15 Andy Piper <andy@xemacs.org>
7118 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7121 2002-02-13 Andy Piper <andy@xemacs.org>
7123 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7124 we did in fact enqueue the XM_MAPFRAME event.
7126 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7128 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7129 to fix problem switching between virtual desktops under virtuawin
7130 virtual window manager.
7132 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7134 * event-msw.c: Typo fix.
7135 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7136 magic XM_MAPFRAME event has been sent.
7138 2001-11-23 Andy Piper <andy@xemacs.org>
7140 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7142 2001-11-21 Andy Piper <andy@xemacs.org>
7144 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7145 mouse events outside the frame.
7147 2002-03-20 Andy Piper <andy@xemacs.org>
7149 * menubar-msw.c (mswindows_popup_menu): warning removal.
7150 * dialog-msw.c (dialog_popped_down): ditto.
7152 2001-12-11 Andy Piper <andy@xemacs.org>
7154 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7155 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7157 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7158 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7159 * menubar-msw.c (mswindows_popup_menu): ditto.
7161 2001-10-29 Andy Piper <andy@xemacs.org>
7163 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7166 2002-01-03 Andy Piper <andy@xemacs.org>
7168 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7172 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7174 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7175 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7176 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7177 Detect and handle case where machine is set up for metric units
7179 2002-04-02 Andy Piper <andy@xemacs.org>
7181 * dired-msw.c (mswindows_get_files):
7182 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7183 completely handled by XEmacs. Suggested by Thomas Vogler
7184 <mail@thomas-vogler.de>.
7186 2001-11-14 Andy Piper <andy@xemacs.org>
7188 * nt.c (REG_ROOT): change registry key to XEmacs.
7190 2002-04-27 Andy Piper <andy@xemacs.org>
7192 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7194 2002-04-26 Andy Piper <andy@xemacs.org>
7196 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7199 2002-03-14 Mike Alexander <mta@arbortext.com>
7201 * event-msw.c (mswindows_unwait_process): New, remove process from
7203 * process-nt.c (nt_finalize_process_data): Call
7204 mswindows_unwait_process
7205 * console-msw.h: Declare mswindows_unwait_process
7207 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7209 * editfns.c (Fdecode_time):
7210 (Fformat_time_string):
7211 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7212 (make_time): Warning elimination (change arg name).
7214 2001-11-24 Andy Piper <andy@xemacs.org>
7216 * window.c (Fsplit_window): Doc return type.
7218 2002-04-01 Andy Piper <andy@xemacs.org>
7220 * emacs.c (Fkill_emacs): Only output message box in interactive
7223 2002-04-26 Andy Piper <andy@xemacs.org>
7225 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7228 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7230 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7233 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7235 * XEmacs 21.4.8 "Honest Recruiter" is released.
7237 2002-05-07 Nix <nix@esperi.demon.co.uk>
7239 Supersedes 2002-04-17 patch.
7241 * process.h (PROCESS_LIVE_P): Use the process status as
7242 evidence of health, not the state of the input stream.
7243 (PROCESS_READABLE_P): Say if the process is readable
7244 from. (It may be dead nonetheless.)
7245 (CHECK_READABLE_PROCESS): Test for that condition.
7247 * process.c (create_process): Use PROCESS_READABLE_P.
7248 (read_process_output, set_process_filter): Likewise.
7250 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7251 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7253 This code is #if 0'd, this is not the time to add new functions:
7255 * process.c (Fprocess_readable_p): Report readability status.
7256 * process.c (Qprocess_readable_p): New, associated symbol...
7257 * process.c (syms_of_process): ... initialize it.
7259 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7261 * XEmacs 21.4.7 "Economic Science" is released.
7263 2002-04-17 Nix <nix@esperi.demon.co.uk>
7265 * process.h (PROCESS_LIVE_P): Use the process status as
7266 evidence of health, not the state of the input stream.
7268 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7270 * sysdep.c (sys_siglist): change "signum" to "signal"
7272 2001-04-21 Martin Buchholz <martin@xemacs.org>
7274 * s/darwin.h: New file.
7275 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7277 2002-04-23 Andreas Jaeger <aj@suse.de>
7279 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7280 which use lib64 for 64-bit libs.
7281 (START_FILES): Likewise.
7283 2002-02-11 Mike Sperber <mike@xemacs.org>
7286 (x_IO_error_handler):
7287 (x_init_device): Temporarily keep device in static variable
7288 `device_being_initialized' so we can recover gracefully from
7289 internal XOpenDevice failure. (XOpenDevice is documented to
7290 return NULL on failure, but sometimes calls the IO error handler
7293 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7295 * dired.c (Ffile_name_all_completions): Change documentation --
7296 remove reference to completion-ignored-extensions.
7297 * dired.c (vars_of_dired): Change documentation for
7298 completion-ignored-extensions -- remove reference to
7299 file-name-all-completions.
7301 2002-03-06 Jerry James <james@xemacs.org>
7303 * emodules.c (emodules_load): Fix multiple loading of same module.
7305 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7306 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7307 RTLD_LAZY to avoid incorrect symbol binding when using nested
7308 shared libraries on Solaris.
7310 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7312 * fileio.c (Ffind_file_name_handler): Improve docstring.
7314 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7316 * fns.c (Fmapconcat): Improve docstring.
7318 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7320 * device-gtk.c: Add prototype for
7321 emacs_gtk_selection_clear_event_handle.
7322 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7323 selection. Setup signal handler for "selection_clear_event"
7324 (emacs_gtk_selection_clear_event_handle).
7326 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7327 other applications owning the clipboard (based on
7328 x_handle_selection_clear).
7330 2001-12-23 William M. Perry <wmperry@gnu.org>
7332 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7334 2002-01-04 Martin Buchholz <martin@xemacs.org>
7336 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7338 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7340 * XEmacs 21.4.6 "Common Lisp" is released.
7342 2001-12-16 Torsten Duwe <duwe@caldera.de>
7344 * search.c (Freplace_match): Add missing sub-expression functionality.
7346 * buffer.c (decode_buffer): Add a check for pointer type to
7347 decode_buffer, before gcc's CSE optimization reorders a
7348 dereference in front of the allow_string test.
7350 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7352 * window.c (window_loop): Fix bug that sometimes prevented
7353 window_loop() from iterating across multiple devices. Also, at
7354 Ben's request, changed infloop-detecting code to abort() instead
7355 of silently terminating window_loop().
7357 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7359 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7360 * editfns.c (make_time): New function.
7361 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7362 * lisp.h (make_time): Prototype and comment it.
7363 * dired.c (wasteful_word_to_lisp): Deprecate.
7364 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7366 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7368 * fileio.c (auto_save_1): Use current coding system, not
7371 2001-11-13 Ben Wing <ben@xemacs.org>
7374 * window.c (window_truncation_on):
7375 * window.c (syms_of_window):
7376 truncate-partial-width-windows should respect the buffer being
7377 displayed, like other redisplay vars.
7379 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7381 * event-stream.c (Fread_key_sequence): save current buffer.
7383 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7385 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7387 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7389 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7391 2001-10-26 Mike Alexander <mta@arbortext.com>
7393 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7395 2001-10-25 Andy Piper <andy@xemacs.org>
7398 * dialog-msw.c (handle_directory_proc): new function.
7399 (handle_directory_dialog_box): new fucntion.
7400 (handle_file_dialog_box): use new directory dialog support.
7401 (mswindows_make_dialog_box_internal): ditto.
7402 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7404 (mswindows_find_frame): make global.
7405 * fileio.c (Fexpand_file_name): build fix.
7406 * general-slots.h: add Qdirectory.
7407 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7409 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7410 cygwin not leaving win32 paths unchanged.
7411 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7412 cygwin runtime to do path conversion.
7413 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7414 (syms_of_win32): add new function.
7415 * window.c (window_loop): build fix.
7417 2001-10-15 Andy Piper <andy@xemacs.org>
7419 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7421 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7423 * XEmacs 21.4.5 "Civil Service" is released.
7425 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7427 * glyphs-x.c: Force buffer-tab highlight update when moving the
7428 buffer, avoiding an ugly black border, used for keyboard focus
7429 indication, on a widget that can never have keyboard focus, the
7432 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7434 * process-unix.c (unix_open_multicast_group): Remove too much
7435 conversion between host and network byte order.
7437 2001-09-10 Nix <nix@esperi.demon.co.uk>
7439 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7440 before replacing them.
7442 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7445 * src/window.c (undedicate_windows): Use it.
7446 * src/window.h: Add prototype.
7448 2001-09-17 Ben Wing <ben@xemacs.org>
7450 * fileio.c (normalize_filename):
7451 * fileio.c (Fexpand_file_name):
7452 Fix various C++ compile errors in Andy's recent code.
7454 * callint.c (Fcall_interactively):
7455 * editfns.c (Ftemp_directory):
7456 * editfns.c (Fuser_full_name):
7457 * emacs.c (argmatch):
7458 * lread.c (locate_file_map_suffixes):
7459 * redisplay-x.c (x_ring_bell):
7460 Fix sign-compare warnings.
7462 2001-09-08 Andy Piper <andy@xemacs.org>
7464 * fileio.c (normalize_filename): copied from nt.c
7465 * (Ffile_name_directory): enable win32 paths under cygwin.
7466 * (Ffile_name_nondirectory): ditto.
7467 * (directory_file_name): ditto.
7468 * (Fexpand_file_name): ditto.
7469 * (Ffile_truename): ditto.
7470 * (Fsubstitute_in_file_name): ditto.
7471 * (Ffile_name_absolute_p): ditto.
7472 * (Ffile_readable_p): ditto.
7474 2001-09-08 Andy Piper <andy@xemacs.org>
7476 * device-msw.c (mswindows_finish_init_device): remove dde
7478 * device-msw.c (mswindows_init_dde): factor out from
7479 mswindows_finish_init_device()
7480 * device-msw.c (init_mswindows_very_early): new function
7481 initialize but don't enable dde.
7482 * emacs.c (main_1): call init_mswindows_very_early.
7484 * event-msw.c (mswindows_dde_callback): only execute when we are
7486 * symsinit.h: declare init_mswindows_very_early.
7488 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7490 [sjt: This has been in 21.5 for months with no complaints.]
7492 * console.h (struct console_methods): Added flags member.
7493 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7494 (CONMETH_IMPL_FLAG):
7495 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7496 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7498 * device.c (window_system_pixelated_geometry): Use the above macros.
7500 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7501 implememntation flag.
7502 * device.h (DEVICE_DISPLAY_P): Use it.
7504 * frame.c (delete_frame_internal): Use the above macro.
7506 * redisplay.c (redisplay_device): Use it.
7507 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7508 (redisplay_frame): Ditto.
7510 * device-msw.c (mswindows_device_implementation_flags): Removed.
7511 (msprinter_device_implementation_flags): Removed.
7512 (console_type_create_device_mswindows): Removed references to
7513 implementation_flags methods, set implementation flags here.
7514 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7516 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7517 (console_type_create_device_gtk): Removed method declaration.
7518 Added commented out statement which semantically matches the
7519 commented out statement in the above removed method.
7521 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7523 The attached patch fixes a few warnings.
7525 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7526 * src/frame-gtk.c: guard against GNOME calls in GTK only
7527 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7528 * src/select-gtk.c: prototype lisp_to_time
7530 2001-06-08 Ben Wing <ben@xemacs.org>
7532 ------ gc-in-window-procedure fixes ------
7535 * alloc.c (struct post_gc_action):
7536 * alloc.c (register_post_gc_action):
7537 * alloc.c (run_post_gc_actions):
7538 * alloc.c (garbage_collect_1):
7539 Create "post-gc actions", to avoid those dreaded "GC during window
7540 procedure" problems.
7543 Abort, clean and simple, when GC in window procedure. We want
7544 to flush these puppies out.
7547 * glyphs-msw.c (finalize_destroy_window):
7548 * glyphs-msw.c (mswindows_finalize_image_instance):
7549 Use a post-gc action when destroying subwindows.
7552 Declare register_post_gc_action().
7555 * scrollbar-msw.c (unshow_that_mofo):
7556 Use a post-gc action when unshowing scrollbar windows, if in gc.
7558 * redisplay.c (mark_redisplay):
7559 Add comment about the utter evilness of what's going down here.
7561 ------ cygwin setitimer fixes ------
7563 * Makefile.in.in (sheap_objs):
7564 * Makefile.in.in (profile_objs):
7565 * Makefile.in.in (objs):
7566 Compile profile.c only when HAVE_SETITIMER.
7568 * nt.c (mswindows_sigset):
7569 * nt.c (mswindows_sighold):
7570 * nt.c (mswindows_sigrelse):
7571 * nt.c (mswindows_sigpause):
7572 * nt.c (mswindows_raise):
7573 * nt.c (close_file_data):
7577 Move setitimer() emulation to win32.c, because Cygwin needs it too.
7580 * profile.c (Fstart_profiling):
7581 * profile.c (Fstop_profiling):
7582 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
7583 instead of just plain setitimer().
7586 * signal.c (set_one_shot_timer):
7588 Define qxe_setitimer() as an encapsulation around setitimer() --
7589 call setitimer() directly unless Cygwin or MS Win, in which case
7590 we use our simulated version in win32.c.
7593 * systime.h (struct itimerval):
7594 * systime.h (ITIMER_REAL):
7595 Prototype mswindows_setitimer() and qxe_setitimer(). Long
7596 comment about "qxe" and the policy regarding encapsulation.
7599 * win32.c (setitimer_helper_proc):
7600 * win32.c (setitimer_helper_period):
7601 * win32.c (setitimer_helper):
7602 * win32.c (mswindows_setitimer):
7603 Move setitimer() emulation here, so Cygwin can use it.
7604 Rename a couple of functions and variables to be longer and more
7605 descriptive. In setitimer_helper_proc(), send the signal
7606 using either mswindows_raise() or (on Cygwin) kill(). If for
7607 some reason we are still getting lockups, we'll change the kill()
7608 to directly invoke the signal handlers.
7610 ------ windows shell fixes ------
7614 Comments about how these two files must die.
7616 * callproc.c (init_callproc):
7617 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
7618 not just COMSPEC. (more correct and closer to FSF.) Don't
7619 force a value for SHELL into the environment. (Comments added
7620 to explain why not.)
7622 * nt.c (init_user_info):
7623 Don't shove a fabricated SHELL into the environment. See above.
7625 2001-06-01 Ben Wing <ben@xemacs.org>
7627 * Makefile.in.in (ldflags):
7628 eliminate that pesky "defaulting to 00401000" warning.
7632 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
7634 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
7635 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
7637 2001-04-24 Jerry James <james@xemacs.org>
7639 * faces.h: pass parameters to Fadd_spec_to_specifier in the
7642 2001-06-01 Ben Wing <ben@xemacs.org>
7644 * event-msw.c (debug_mswin_messages):
7645 conditionalize the messages that were causing compile errors.
7646 (if only macros could generate #ifdef statements ...)
7648 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
7650 * XEmacs 21.4.4 "Artificial Intelligence" is released.
7652 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7654 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
7656 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7658 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
7659 * process-unix.c (unix_canonicalize_host_name):
7660 sysdep.c (init_system_name):
7661 Use it to conditionally support IPv6 canonicalization.
7663 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
7666 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
7668 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
7670 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
7671 attempt is made to scroll when no scroll bar is available.
7673 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7675 * input-method-motif.c (XIM_delete_frame): New callback.
7676 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
7677 got deleted from 21.4.3.)
7679 2001-06-01 Ben Wing <ben@xemacs.org>
7681 * nt.c (mswindows_utime):
7682 * nt.c (close_file_data):
7683 fix off-by-one-indirection error.
7685 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7687 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7688 because set_file_times() now takes Lisp_Object path, instead of
7690 * nt.c: Include buffer.h.
7691 * nt.c (convert_from_time_t): New.
7692 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7693 not set mtime correctly.
7694 * nt.h: Declare mswindows_utime().
7695 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7696 path, instead of char*.
7697 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7699 2001-05-30 Ben Wing <ben@xemacs.org>
7703 (Stephen, just take all event-msw.c patches. This includes
7704 the "iconify" fix below.)
7707 * event-msw.c (mswindows_dequeue_dispatch_event):
7708 * event-msw.c (assert):
7709 * event-msw.c (emacs_mswindows_quit_p):
7710 * event-msw.c (debug_mswin_messages):
7711 * event-msw.c (debug_output_mswin_message):
7712 * event-msw.c (vars_of_event_mswindows):
7713 Fix yet more problems with C-g handling.
7714 Implement debug-mswindows-events.
7716 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7718 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7720 2001-05-23 Ben Wing <ben@xemacs.org>
7722 * event-msw.c (winsock_writer):
7723 * event-msw.c (winsock_closer):
7724 prior kludgy code was clobbering the buffer, thinking it was
7725 "unused" space to store an unneeded return value; instead, use
7726 the variable we've already got staring us in the face.
7728 2001-05-17 Andy Piper <andy@xemacs.org>
7730 * sysfile.h: don't assume that file attributes are boolean
7732 2001-05-23 Ben Wing <ben@xemacs.org>
7734 * device-msw.c (msprinter_init_device):
7735 signal an error rather than crash with an unavailable network
7736 printer (from Mike Alexander).
7739 * event-msw.c (struct winsock_stream):
7740 * event-msw.c (winsock_writer):
7741 * event-msw.c (winsock_closer):
7742 * event-msw.c (make_winsock_stream_1):
7743 cleanup headers. fix (hopefully) an error with data corruption
7744 when sending to a network connection.
7746 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7747 to handle the ~user prefix by (a) always assuming we're referencing
7748 ourselves and not even verifying the user -- hence any file with
7749 a tilde as its first char is invalid! (b) if there wasn't a slash
7750 following the filename, the pointer was set *past* the end of
7751 file and we started reading from uninitialized memory. Now we
7752 simply treat these as files, always.
7754 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7756 2001-05-19 Ben Wing <ben@xemacs.org>
7758 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7761 * process-nt.c (vars_of_process_nt):
7762 remove unused mswindows-quote-process-args. rec for 21.4.
7764 2001-05-12 Ben Wing <ben@xemacs.org>
7766 * event-msw.c (mswindows_dde_callback):
7767 * event-msw.c (mswindows_wnd_proc):
7768 eliminate cygwin warnings.
7770 2001-05-06 Ben Wing <ben@xemacs.org>
7774 * device-msw.c (print_dialog_worker):
7775 * device-msw.c (mswindows_handle_print_dialog_box):
7776 * device-msw.c (syms_of_device_mswindows):
7777 * dialog-msw.c (mswindows_make_dialog_box_internal):
7779 implement printing the selection when it's selected.
7781 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7783 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7785 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7787 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7788 EMACS_INT is signed.
7790 2001-04-15 Michael Lausch <mla@1012surf.net>
7792 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7793 gtk_widget_request_size() to give scrollbar >0 width for
7796 2001-05-30 William M. Perry <wmperry@gnu.org>
7798 * event-gtk.c: Check for buttons as modifier keys.
7800 2001-05-25 Craig Lanning <CraigL@Knology.net>
7803 Properly find MinGW's <process.h> inside Cygwin's restructured
7804 include directories. Don't try to include <cygwin/version.h>
7805 since we are dropping support for MinGW in versions of Cygwin
7808 Drop support for MinGW in versions of Cygwin before b21.
7810 Properly find MinGW's <process.h> inside Cygwin's restructured
7811 include directories.
7813 Drop support for MinGW in versions of Cygwin before b21.
7815 Even though a.out.h is no longer detected by configure, allow
7816 MinGW to use it until we figure out how to do the job with Win32.
7818 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7820 * syntax.c (find_start_of_comment):
7821 Fix `unbalanced parentheses' bug when dealing with mixed comment
7822 styles in c++/java/etc. mode
7824 2001-05-29 Mike Alexander <mta@arbortext.com>
7826 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7827 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7829 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7831 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7833 2001-03-31 Mike Sperber <mike@xemacs.org>
7835 * search.c (Freplace_match): Support FSF-style specification of
7836 match subexpression when applied to a buffer.
7838 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7840 * event-stream.c (is_scrollbar_event): add missing semicolon
7842 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7844 * Makefile.in.in: Use TAR macro instead of hardcoding
7845 tar. Allows use of GNU tar instead of system tar
7847 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7849 * event-stream.c (is_scrollbar_event): add missing semicolon
7851 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7853 * XEmacs 21.4.3 "Academic Rigor" is released.
7855 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7857 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7859 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7861 * buffer.c (Vcase_fold_search): Remove obsolete
7862 comment about non ASCII case-fold-search. This
7863 bug has been fixed by case-table changes.
7865 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7867 * event-msw.c: Restore include of events-mod.h.
7869 2001-04-22 zhaoway <zw@debian.org>
7871 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7874 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7876 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7878 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7880 * mule-charset.c (Fmake_charset): Add missing else.
7882 2001-04-23 Ben Wing <ben@xemacs.org>
7884 * event-msw.c (FAKE_MOD_QUIT):
7885 * event-msw.c (mswindows_dequeue_dispatch_event):
7886 * event-msw.c (mswindows_wnd_proc):
7887 * event-msw.c (emacs_mswindows_quit_p):
7888 Get critical quit working.
7890 2001-05-05 Ben Wing <ben@xemacs.org>
7894 * device-msw.c (mswindows_get_default_margin):
7895 * frame-msw.c (mswindows_size_frame_internal):
7896 * frame-msw.c (msprinter_init_frame_1):
7897 * frame-msw.c (vars_of_frame_mswindows):
7898 Change top/bottom margin defaults to 0.5 inches.
7900 2001-05-01 Martin Buchholz <martin@xemacs.org>
7902 Fix link error with gcc 3.0 on Linux.
7903 * terminfo.c (UP): Remove.
7904 * terminfo.c (BC): Remove.
7905 * terminfo.c (PC): Remove.
7906 They weren't used, and in any case, these symbols should be
7907 defined in the *library*.
7909 2001-05-03 Martin Buchholz <martin@xemacs.org>
7911 * s/aix4.h: Fix crash with xlc -O3.
7912 Improve comment explaining how -O3 works.
7914 2001-04-15 Ben Wing <ben@xemacs.org>
7917 * event-stream.c (Fnext_event):
7918 * event-stream.c (is_scrollbar_event):
7919 * event-stream.c (execute_command_event):
7920 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7921 crash' problem. His fix introduces other problems. We filter
7922 out scrollbar events specifically, making them somewhat invisible
7923 to command-building, and not appearing in `this-command-keys'.
7924 More work is still needed (see comments in event-stream.c), but
7925 this fixes all the major problems.
7927 2001-04-20 Ben Wing <ben@xemacs.org>
7929 * .cvsignore: Added stuff for Windows.
7931 2001-04-28 Ben Wing <ben@xemacs.org>
7933 * buffer.c (Ferase_buffer):
7934 * editfns.c (buffer_insert1):
7935 * editfns.c (Finsert_before_markers):
7936 * editfns.c (Finsert_string):
7937 * editfns.c (Finsert_char):
7938 * editfns.c (Fdelete_region):
7939 * editfns.c (Fwiden):
7940 * editfns.c (Fnarrow_to_region):
7941 remove bogus lines setting zmacs_region_stays to 0.
7943 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7945 * process-unix.c (unix_open_network_stream): If connect() fails
7946 invalidate file descriptor after closing it.
7948 2001-03-08 Mike Alexander <mta@arbortext.com>
7950 * event-msw.c (mswindows_need_event_in_modal_loop):
7951 Don't dispatch a message if we didn't get one.
7952 (mswindows_need_event):
7953 Terminate the correct process when one exits instead of the first
7954 one on Vprocess_list and look for process termination when in
7955 mswindows_protect_modal_loop.
7957 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7959 * XEmacs 21.4.1 "Copyleft" is released.
7961 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7963 * input-method-motif.c (XIM_delete_frame): New callback.
7964 (XIM_init_frame): Register it.
7966 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7968 * XEmacs 21.4.0 "Solid Vapor" is released.
7970 2001-04-15 Ben Wing <ben@xemacs.org>
7972 * cmdloop.c (call_command_loop):
7973 Fix braino in bit-rotting code.
7975 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7977 * extents.c (Fset_extent_endpoints): Force creation of extent info
7978 in buffer_or_string.
7980 * extents.c (process_extents_for_insertion_mapper): Correctly
7981 check for open-open zero-length extents.
7983 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7985 * lisp.h: New typedefs Memory_count, Element_count.
7988 Sign-compare warning elimination: several unsigned -> signed.
7989 Based on work by Ben Wing <ben@xemacs.org>.
7991 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7993 * XEmacs 21.2.47 "Zephir" is released.
7995 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7997 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7999 2001-04-03 Mike Sperber <mike@xemacs.org>
8001 * search.c: Revert previous patch due because of release.
8003 2001-03-30 Ben Wing <ben@xemacs.org>
8006 Add missing killpg prototype.
8009 Add a comment about fixing problems when a new entry is added
8012 * frame-msw.c (mswindows_init_frame_1):
8013 Fix compile warnings.
8015 * menubar.c (vars_of_menubar):
8016 Provide `menu-accelerator-support' to indicate that we properly
8017 support %_ in menu specifications, so that package code can
8018 conditionalize on this (and remove %_ from menu specifications
8023 * scrollbar-msw.c (can_scroll):
8025 Fix handling of mouse wheel under Windows to follow standards --
8026 now scrolls window under pointer, not selected window.
8028 2001-03-31 Mike Sperber <mike@xemacs.org>
8030 * search.c (Freplace_match): Support FSF-style specification of
8031 match subexpression when applied to a buffer.
8033 2001-03-15 Martin Buchholz <martin@xemacs.org>
8035 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8036 function to modify KEYMAP, so map over a copy of the hash table.
8038 2001-03-21 Martin Buchholz <martin@xemacs.org>
8040 * XEmacs 21.2.46 "Urania" is released.
8042 2001-03-20 Dan Holmsand <dan@eyebee.com>
8044 * realpath.c (xrealpath): Make file-truename work with symlinks to
8045 /cygdrive paths on cygwin. Always lowercase drive-letters on
8047 (cygwin_readlink): Don't try to find canonical filename unless
8050 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8052 * ChangeLog: Log GTK merge.
8058 Revert gratuitous whitespace changes from GTK merge.
8060 * emacs.c: Document end of complex #ifdef @ l. 1495.
8063 2001-03-12 Andy Piper <andy@xemacs.org>
8065 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8066 have to do likewise.
8068 2001-03-12 Andy Piper <andy@xemacs.org>
8070 * sysdep.c: we only support mingw now.
8072 2001-03-09 Andy Piper <andy@xemacs.org>
8074 * unexcw.c (copy_executable_and_dump_data_section): making approx
8075 overrun a warning only.
8077 2001-03-10 William M. Perry <wmperry@aventail.com>
8079 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8080 satisfy Stephen's identical-after-cpp plea.
8082 2001-03-02 Ben Wing <ben@xemacs.org>
8085 * cmds.c (Fforward_char):
8089 Augment documentation of the most common motion commands to make
8090 note of the shifted-motion support.
8092 2001-03-02 Ben Wing <ben@xemacs.org>
8094 * nt.c (mswindows_fstat):
8095 * nt.c (mswindows_stat):
8096 * search.c (boyer_moore):
8097 Fix compile warnings under Windows.
8099 * sysdep.c (sys_readdir):
8100 Fix buggy filename-conversion code under Mule.
8102 2001-03-09 William M. Perry <wmperry@aventail.com>
8124 * redisplay-output.c:
8130 The Great GTK Merge.
8137 * emacs-widget-accessors.c:
8151 * native-gtk-toolbar.c:
8162 The Great GTK Merge: new files.
8164 2001-02-26 Ben Wing <ben@xemacs.org>
8166 Reapplied Lstream change.
8168 2001-02-26 Ben Wing <ben@xemacs.org>
8170 Undid the last change, since it is more controversial than I
8171 thought. It should be back in at some point soon.
8173 2001-02-25 Ben Wing <ben@xemacs.org>
8176 * callproc.c (Fold_call_process_internal):
8177 * event-msw.c (ntpipe_slurp_reader):
8178 * event-msw.c (ntpipe_shove_writer):
8179 * event-msw.c (winsock_reader):
8180 * event-msw.c (winsock_writer):
8182 * file-coding.c (detect_eol_type):
8183 * file-coding.c (detect_coding_type):
8184 * file-coding.c (determine_real_coding_system):
8185 * file-coding.c (Fdetect_coding_region):
8186 * file-coding.c (decoding_reader):
8187 * file-coding.c (decoding_writer):
8188 * file-coding.c (mule_decode):
8189 * file-coding.c (Fdecode_coding_region):
8190 * file-coding.c (encoding_reader):
8191 * file-coding.c (encoding_writer):
8192 * file-coding.c (mule_encode):
8193 * file-coding.c (Fencode_coding_region):
8194 * file-coding.c (detect_coding_sjis):
8195 * file-coding.c (decode_coding_sjis):
8196 * file-coding.c (encode_coding_sjis):
8197 * file-coding.c (detect_coding_big5):
8198 * file-coding.c (decode_coding_big5):
8199 * file-coding.c (encode_coding_big5):
8200 * file-coding.c (detect_coding_ucs4):
8201 * file-coding.c (decode_coding_ucs4):
8202 * file-coding.c (encode_coding_ucs4):
8203 * file-coding.c (detect_coding_utf8):
8204 * file-coding.c (decode_coding_utf8):
8205 * file-coding.c (encode_coding_utf8):
8206 * file-coding.c (detect_coding_iso2022):
8207 * file-coding.c (decode_coding_iso2022):
8208 * file-coding.c (encode_coding_iso2022):
8209 * file-coding.c (decode_coding_no_conversion):
8210 * file-coding.c (encode_coding_no_conversion):
8211 * glyphs-x.c (write_lisp_string_to_temp_file):
8212 * gpmevent.c (tty_get_foreign_selection):
8215 * lstream.c (Lstream_flush_out):
8216 * lstream.c (Lstream_adding):
8217 * lstream.c (Lstream_write_1):
8218 * lstream.c (Lstream_write):
8219 * lstream.c (Lstream_raw_read):
8220 * lstream.c (Lstream_read_more):
8221 * lstream.c (Lstream_read):
8222 * lstream.c (Lstream_unread):
8223 * lstream.c (Lstream_fputc):
8224 * lstream.c (stdio_reader):
8225 * lstream.c (stdio_writer):
8226 * lstream.c (filedesc_reader):
8227 * lstream.c (filedesc_writer):
8228 * lstream.c (lisp_string_reader):
8229 * lstream.c (struct fixed_buffer_stream):
8230 * lstream.c (make_fixed_buffer_input_stream):
8231 * lstream.c (make_fixed_buffer_output_stream):
8232 * lstream.c (fixed_buffer_reader):
8233 * lstream.c (fixed_buffer_writer):
8234 * lstream.c (struct resizing_buffer_stream):
8235 * lstream.c (resizing_buffer_writer):
8236 * lstream.c (dynarr_writer):
8237 * lstream.c (lisp_buffer_reader):
8238 * lstream.c (lisp_buffer_writer):
8240 * lstream.h (lstream_implementation):
8241 * lstream.h (struct lstream):
8243 * process-nt.c (nt_send_process):
8244 * process-unix.c (unix_send_process):
8246 Correct Lstream lossage due to mixing of signed and unsigned
8247 quantities. All Lstream uses of size_t and ssize_t are now a
8248 single signed data type Lstream_data_count. This fixes problems
8249 under Windows with sending large quantities of data to a process,
8250 and may well fix other subtle bugs.
8252 2001-02-23 Martin Buchholz <martin@xemacs.org>
8254 * XEmacs 21.2.45 "Thelxepeia" is released.
8256 2001-02-21 Martin Buchholz <martin@xemacs.org>
8258 * lisp-union.h (XSETINT):
8261 Reverse previous change of 2001-02-06.
8263 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8265 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8267 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8268 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8269 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8270 * regex.c (POS_AS_IN_BUFFER): removed
8271 * regex.c (re_search_2):
8272 * regex.c (re_match_2):
8273 Don't use an offset of 1 when calculating buffer positions, since
8274 `BI_BUF_BEGV' does it already.
8276 2001-02-18 Wim Dumon <wim@easics.be>
8278 * insdel.c (prepare_to_modify_buffer): Also check for
8279 supersession when clash-detection is enabled.
8281 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8283 * regex.c (re_match_2_internal):
8284 Convert temp characters from 'const unsigned char' to 're_char'.
8285 Fix crashing bug with extended characters under mule.
8286 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8287 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8288 font-lock, pdump, and new syntax-table code.
8289 * syntax.c (find_start_of_comment):
8290 (find_end_of_comment):
8292 Fix crashing bugs involving moving beyond end of buffer.
8293 * syntax.c (find_start_of_comment):
8294 Fixed logic to allow proper detection of cases where the same
8295 character is used to end both a two-char comment start and a
8296 two-char comment end sequence. Fixes `(forward-comment -1)'.
8297 * syntax.c (find_start_of_comment):
8298 Return position just past last comment-end character for all cases
8299 (previously was only done for two-char comment-end sequences).
8300 * syntax.c (forward-comment):
8301 Take value returned from `find_end_of_comment', rather than
8303 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8304 Properly deal with BUFFERP (syntax_cache.object)
8306 2001-02-17 Martin Buchholz <martin@xemacs.org>
8308 * alloc.c (Fgarbage_collect):
8309 * alloc.c (make_bit_vector_from_byte_vector):
8310 -Wsign-compare-correctness.
8312 2001-02-16 Martin Buchholz <martin@xemacs.org>
8314 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8315 (XSETCHAR): Likewise.
8316 (XSETOBJ): Likewise.
8318 2001-02-15 Martin Buchholz <martin@xemacs.org>
8320 * mule-canna.c (canna-func-delete_previous):
8321 Rename to canna-func-delete-previous.
8323 2001-02-14 Martin Buchholz <martin@xemacs.org>
8325 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8327 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8329 * font-lock.c (find_context): Fix C++ compile errors introduced by
8332 2001-02-13 Martin Buchholz <martin@xemacs.org>
8334 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8335 pragma, but earlier ones barf on the same pragma.
8337 2001-02-06 Mike Sperber <mike@xemacs.org>
8339 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8340 `configure-mule-lisp-directory'.
8342 2001-02-12 Martin Buchholz <martin@xemacs.org>
8344 Make sure dump-id.c is compiled in the same way as other .c's.
8345 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8346 * dump-id.h: Remove.
8347 * emacs.c: Move dump-id.h into dumper.h.
8348 * dumper.h: Move dump-id.h into dumper.h.
8350 Use standard .c.o rule for building dump-id.o.
8351 Remove preprocessor flags from link command.
8352 Add dump-id.o to ${otherobjs} if PDUMP.
8354 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8356 Port FSF 20.7 syntax table improvements.
8360 Fixups for new syntax table stuff.
8361 * dired.c: Include syntax.c.
8362 (Fdirectory_files): Initialize regex_match_object and
8364 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8365 and Fget_char_property.
8367 Use ported FSF 20.7 syntax table improvements.
8372 2001-02-09 Martin Buchholz <martin@xemacs.org>
8374 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8375 Unixware's enum boolean from sys/types.h.
8377 2001-02-10 Martin Buchholz <martin@xemacs.org>
8379 Fix support for building with latest Purify.
8380 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8381 (PURIFY_FLAGS): Likewise.
8383 2001-02-09 Martin Buchholz <martin@xemacs.org>
8385 * fileio.c (lisp_string_set_file_times): New.
8386 * fileio.c (Fcopy_file): Use it.
8388 (copy-file filename non-ascii-filename t t)
8389 ==> No such file or directory, non-ascii-filename
8391 2001-02-10 Martin Buchholz <martin@xemacs.org>
8393 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8394 USHRT_MAX seems clearer than ~0 anyways.
8396 2001-02-09 Martin Buchholz <martin@xemacs.org>
8398 dumper improvements. Inspired by Olivier.
8399 * dumper.c (pdump_max_align): New.
8400 * dumper.c (pdump_add_entry): Use pdump_max_align.
8401 * dumper.c (pdump_get_entry_list): Likewise.
8402 * dumper.c (pdump_scan_by_alignment): Likewise.
8403 Don't iterate through unnecessary alignments.
8404 * dumper.c (pdump_file_get): No need to align result of malloc().
8405 * dumper.c (pdump_mallocadr): Remove.
8406 The result of malloc() is guaranteed to be maximally aligned.
8407 * dumper.c: s/elmt/elt/g;
8408 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8409 * dumper.c (pdump_alert_undump_object): Likewise.
8410 * dumper.c (pdump_align_table):
8411 Don't support alignments > 64.
8412 Store ALIGNOF's, not shift counts, in table.
8414 2001-02-09 Martin Buchholz <martin@xemacs.org>
8416 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8417 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8418 * systime.h: Use HAVE_UTIME.
8419 * sysdep.c (struct utimbuf): Remove.
8420 * sysdep.c (set_file_times): Prefer utime() to utimes().
8421 * config.h.in (HAVE_UTIME): New.
8422 * config.h.in (HAVE_UTIME_H): Remove.
8423 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8425 2001-02-09 Martin Buchholz <martin@xemacs.org>
8427 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8429 2001-02-08 Martin Buchholz <martin@xemacs.org>
8431 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8433 2001-02-08 Martin Buchholz <martin@xemacs.org>
8435 * XEmacs 21.2.44 "Thalia" is released.
8437 2001-02-06 Martin Buchholz <martin@xemacs.org>
8439 Fixes crashes in kill-emacs on some systems.
8440 * process-unix.c (unix_kill_child_process):
8441 It's OK for kill() to fail with ESRCH.
8443 2001-02-07 Martin Buchholz <martin@xemacs.org>
8445 Contortions to make .gdbinit tricks work on most systems.
8446 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8447 * alloc.c (dbg_valmask): Make non-const.
8448 * alloc.c (dbg_typemask): Make non-const.
8449 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8450 * alloc.c (dbg_valbits): Make non-const.
8451 * alloc.c (dbg_gctypebits): Make non-const.
8452 * .gdbinit (decode_object): Make it work with AIX cc.
8454 2001-02-06 Martin Buchholz <martin@xemacs.org>
8456 * elhash.c (make_general_lisp_hash_table):
8457 Use simpler and more efficient calloc to clear entries.
8459 2001-02-07 Martin Buchholz <martin@xemacs.org>
8461 * window.c (window_scroll): Work around an AIX C compiler bug.
8462 Fixes 'scroll-up' does nothing problem with xlC.
8464 2001-02-05 Martin Buchholz <martin@xemacs.org>
8466 * .gdbinit: Remove obsolete comment.
8468 2001-01-31 Mike Alexander <mta@arbortext.com>
8470 * select.c (Fown_selection_internal): Set owned_p for device
8473 2001-02-01 Martin Buchholz <martin@xemacs.org>
8476 "not" cannot be used as a macro name as it is an operator in C++
8477 * config.h.in: Stop #defining `not'.
8478 * chartab.c (check_category_char): not ==> not_p
8479 * chartab.h: Likewise.
8480 * regex.c (re_match_2_internal): Likewise.
8482 2001-02-02 Martin Buchholz <martin@xemacs.org>
8484 * lisp-disunion.h: Fix up comments.
8486 2001-01-31 Martin Buchholz <martin@xemacs.org>
8488 * keymap.c (define_key_check_and_coerce_keysym):
8490 Support mouse-6 and mouse-7 bindings in the obvious way.
8492 2001-02-01 Martin Buchholz <martin@xemacs.org>
8494 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8496 2001-01-30 Martin Buchholz <martin@xemacs.org>
8498 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8499 Previous patch missed DEFVAR_INT_MAGIC.
8500 Make sure future DEFVAR_foo use correct types.
8501 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8502 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8503 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8504 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8505 * (DEFVAR_INT): Likewise.
8506 * redisplay.c (vertical_clip): Should be of type Fixnum.
8507 * redisplay.c (horizontal_clip): Likewise.
8508 * lisp.h (dump_add_opaque_int): New.
8509 (dump_add_opaque_fixnum): New.
8511 2001-01-29 Andy Piper <andy@xemacs.org>
8513 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8514 since they can be eval'ed
8516 2001-01-29 Martin Buchholz <martin@xemacs.org>
8518 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8519 Oops, XEmacs redefines `class'. Use `typename' instead.
8521 2001-01-28 Martin Buchholz <martin@xemacs.org>
8523 * dumper.c: Fix C++ compile errors.
8525 2001-01-29 Martin Buchholz <martin@xemacs.org>
8527 * tparam.c: Use correct prototypes.
8529 2001-01-28 Martin Buchholz <martin@xemacs.org>
8531 * sysproc.h: #include util.h for NetBSD's openpty.
8533 2001-01-27 Martin Buchholz <martin@xemacs.org>
8535 More 64-bit correctness.
8536 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8537 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8539 This finally finishes the 64-bit SGI port.
8540 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8541 * symbols.c: Fix up comments and type casts.
8542 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8543 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8544 * symeval.h (Fixnum): New type.
8545 * symeval.h (symbol_value_type): Fix up comment.
8561 * mule-canna.c: A million DEFVAR_INTs here...
8562 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
8575 s/int/Fixnum/g in DEFVAR_INT declarations.
8577 2001-01-26 Martin Buchholz <martin@xemacs.org>
8579 Port pdump to SGI alignment-sensitive environment.
8580 Lisp Object sizeof methods now return aligned sizes. Rely on that.
8581 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
8583 Define and use aligned reading and writing macros.
8584 Use buffered stdio instead of posix i/o for faster dumping.
8585 Eliminate kludgy 256 byte space for header.
8586 Read and write from dump file using structs for alignment safety.
8587 * dumper.c (pdump_align_stream): New.
8588 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
8589 * dumper.c (PDUMP_READ_ALIGNED): New.
8590 * dumper.c (PDUMP_WRITE_ALIGNED): New.
8591 * dumper.c (pdump_static_Lisp_Object): New struct.
8592 * dumper.c (pdump_static_pointer): New struct.
8593 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
8594 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
8595 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
8596 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
8598 * dumper.c (pdump_backtrace):
8599 * dumper.c (pdump_get_indirect_count):
8600 * dumper.c (pdump_register_object):
8601 * dumper.c (pdump_register_struct):
8602 * dumper.c (pdump_reloc_one):
8603 * dumper.c (pdump_scan_by_alignment):
8604 * dumper.c (pdump_dump_from_root_struct_ptrs):
8605 * dumper.c (pdump_dump_opaques):
8606 * dumper.c (pdump_dump_rtables):
8607 * dumper.c (pdump_dump_from_root_objects):
8609 * dumper.c (pdump_load_finish):
8610 Use aligned reading and writing.
8612 * dumper.c (pdump_free): Make static.
8613 * dumper.c (pdump_hFile): Likewise.
8614 * dumper.c (pdump_hMap): Likewise.
8616 2001-01-26 Martin Buchholz <martin@xemacs.org>
8618 * XEmacs 21.2.43 "Terspichore" is released.
8620 2001-01-25 Martin Buchholz <martin@xemacs.org>
8622 Type fiddling for window_config.saved_windows_count
8623 * window.c (struct window_config):
8624 Make saved_windows_count member unsigned.
8625 * window.c (sizeof_window_config_for_n_windows):
8626 Make parameter unsigned.
8627 * window.c (mark_window_config):
8628 * window.c (window_config_equal):
8629 * window.c (free_window_configuration):
8630 * window.c (Fset_window_configuration):
8631 * window.c (count_windows):
8632 * window.c (Fcurrent_window_configuration):
8633 * window.c (reinit_vars_of_window):
8634 Update all callers and users.
8636 2001-01-25 Martin Buchholz <martin@xemacs.org>
8638 Alignment correctness for flexible arrays.
8639 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
8640 Make alignment-correct. Add interesting comments.
8641 * alloc.c (size_vector):
8642 * alloc.c (make_vector_internal):
8643 * alloc.c (make_bit_vector_internal):
8644 * alloc.c (sweep_bit_vectors_1):
8645 * fns.c (size_bit_vector):
8646 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
8647 * window.c (sizeof_window_config_for_n_windows):
8648 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
8650 2001-01-24 Martin Buchholz <martin@xemacs.org>
8652 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
8654 2001-01-23 Andy Piper <andy@xemacs.org>
8656 * select.c (Fown_selection_internal): pass owned_p
8658 * select-msw.c (mswindows_own_selection): New Signature.
8660 * console.h (struct console_methods): add owned_p to
8663 * select-x.c (x_own_selection): pass owned_p
8664 (hack_motif_clipboard_selection): use owned_p
8665 (vars_of_select_x): new variable -
8666 x_selection_strict_motif_ownership.
8668 2001-01-23 Martin Buchholz <martin@xemacs.org>
8670 * specifier.h (specifier_data_offset): Remove pointless parens.
8671 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
8673 2001-01-24 Martin Buchholz <martin@xemacs.org>
8675 Make Lisp_Object sizeof methods be alignment-correct.
8676 pdump must restore objects to the same alignment as the C compiler
8677 assumes. It really matters on SGIs.
8678 * lstream.c (aligned_sizeof_lstream): New.
8679 (sizeof_lstream): Use aligned_sizeof_lstream.
8680 (Lstream_new): Likewise.
8681 * opaque.c (aligned_sizeof_opaque): New.
8682 (sizeof_opaque): Use aligned_sizeof_opaque.
8683 (make_opaque): Likewise.
8684 * specifier.c (aligned_sizeof_specifier): New.
8685 (sizeof_specifier): Use aligned_sizeof_specifier.
8686 (make_specifier_internal): Likewise.
8688 2001-01-23 Martin Buchholz <martin@xemacs.org>
8690 * lstream.h (struct lstream): Use max_align_t for trailing data.
8691 * specifier.h (struct Lisp_Specifier): Likewise.
8693 2001-01-22 Martin Buchholz <martin@xemacs.org>
8695 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8696 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8697 (CCL_SUSPEND): Likewise.
8698 (CCL_INVALID_CMD): Likewise.
8699 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8700 (ccl_driver): Likewise.
8701 (CCL_WRITE_CHAR): Macro hygiene.
8702 (CCL_WRITE_STRING): Macro hygiene.
8704 2001-01-22 Martin Buchholz <martin@xemacs.org>
8706 Port "portable" dumper to SunOS 4 and HP-UX.
8707 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8708 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8709 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8711 2001-01-22 Martin Buchholz <martin@xemacs.org>
8713 * lisp.h (ALIGNOF): A better definition for C++.
8715 2001-01-20 Martin Buchholz <martin@xemacs.org>
8718 Fix printf warnings: int format, long int arg.
8719 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8720 (PUSH_FAILURE_POINT): Use correct printf formats.
8721 (POP_FAILURE_POINT): Use correct printf formats.
8722 Use do {...} while (0)
8724 2001-01-20 Martin Buchholz <martin@xemacs.org>
8726 * XEmacs 21.2.42 "Poseidon" is released.
8728 2001-01-20 Martin Buchholz <martin@xemacs.org>
8730 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8732 2001-01-19 Martin Buchholz <martin@xemacs.org>
8734 De-kludgify FIXED_TYPE free list frobbing.
8735 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8736 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8737 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8738 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8739 * alloc.c (LRECORD_FREE_P): New.
8740 * alloc.c (MARK_LRECORD_AS_FREE): New.
8741 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8742 * alloc.c (STRUCT_FREE_P): Deleted.
8743 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8744 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8745 * alloc.c (STRING_CHARS_FREE_P): New.
8746 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8747 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8748 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8749 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8750 * alloc.c (resize_string): Use new definitions.
8751 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8752 * alloc.c (verify_string_chars_integrity): Use new definitions.
8753 * alloc.c (compact_string_chars): Use new definitions.
8754 * alloc.c: Update monster comments.
8755 * lrecord.h (lrecord_type): Add some new lrecord types for
8758 2001-01-18 Martin Buchholz <martin@xemacs.org>
8760 Improve alignment hackery.
8761 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8762 (max_align_t): Moved from opaque.h - general purpose.
8763 (ALIGN_PTR): Use size_t, not long.
8764 * opaque.h (max_align_t): Move to lisp.h.
8766 2001-01-18 Norbert Koch <nk@LF.net>
8768 * gui.h: Fix and add prototypes to fix build problems.
8770 2001-01-18 Martin Buchholz <martin@xemacs.org>
8772 temacs is going away, so `dump-temacs' is now a bad name.
8773 * .dbxrc (dump-temacs): Rename to `dmp'.
8774 * .gdbinit (dump-temacs): Rename to `dmp'.
8776 2001-01-17 Andy Piper <andy@xemacs.org>
8778 * glyphs.c (print_image_instance): comment to make martin happy.
8780 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8783 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8785 (mswindows_tab_control_redisplay): warning suppression.
8787 * glyphs-widget.c (widget_update): re-write to cope with updated
8789 (widget_instantiate): use new gui_item functions.
8790 (tab_control_update): deleted.
8791 (progress_gauge_update): deleted.
8792 (image_instantiator_progress_guage): take out update reference.
8793 (image_instantiator_tree_view): ditto.
8794 (image_instantiator_tab_control): ditto.
8796 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8798 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8799 return whether anything was changed.
8800 (update_gui_item_keywords): as it sounds.
8802 * gui.h: declare widget_gui_parse_item_keywords.
8804 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8805 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8807 2001-01-17 Martin Buchholz <martin@xemacs.org>
8809 * XEmacs 21.2.41 "Polyhymnia" is released.
8811 2001-01-16 Didier Verna <didier@xemacs.org>
8813 * glyphs.c (image_instantiate): don't use fallbacks when
8814 instantiating a face's background pixmap by inheritance.
8816 2001-01-14 Mike Sperber <mike@xemacs.org>
8818 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8819 Conditionalize accordingly.
8821 2001-01-16 Martin Buchholz <martin@xemacs.org>
8823 * dumper.c (pdump_file_get): Fix a compiler warning.
8825 2001-01-15 Martin Buchholz <martin@xemacs.org>
8827 Make Purify happy when pdumping.
8828 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8829 iniitalizing all bits of new lisp object memory.
8830 * symbols.c (Fmake_local_variable): Likewise.
8831 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8832 * symbols.c (Fdefvaralias): Likewise.
8833 * mule-charset.c (vars_of_mule_charset): Likewise.
8835 2001-01-15 Martin Buchholz <martin@xemacs.org>
8836 Add the `-nd' flag when running pre-dump operations under the debugger.
8837 * .dbxrc (run-temacs): Add `-nd'.
8838 * .dbxrc (update-elc): Likewise.
8839 * .dbxrc (dump-temacs): Likewise.
8840 * .gdbinit (run-temacs): Likewise.
8841 * .gdbinit (check-temacs): Likewise.
8842 * .gdbinit (update-elc): Likewise.
8843 * .gdbinit (dump-temacs): Likewise.
8845 2001-01-14 Martin Buchholz <martin@xemacs.org>
8847 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8848 export OBJECT_MODE=64
8849 configure --pdump --use-union-type=no
8850 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8851 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8853 * miscplay.c (sndcnv8U_2mono):
8854 Avoid two uses of `++' in the same expression.
8855 Suppresses a GCC warning.
8857 2001-01-13 Martin Buchholz <martin@xemacs.org>
8859 Make sure future compilers don't miscompile alloc.c.
8861 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8862 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8864 2001-01-12 Martin Buchholz <martin@xemacs.org>
8866 * dumper.c: A little post-pdump-rename comment fixup.
8868 2001-01-09 Jerry James <james@eecs.ku.edu>
8870 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8872 2001-01-13 Martin Buchholz <martin@xemacs.org>
8874 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8878 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8881 replace_symbol pdump_wire_lists pdump_weak_object_chains
8882 replace_symbol pdump_wire_list dump_add_weak_object_chain
8884 replace_symbol pdump_wires pdump_root_objects
8885 replace_symbol pdump_wire dump_add_root_object
8887 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8888 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8890 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8891 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8892 replace_symbol dumpstructinfo pdump_root_struct_ptr
8893 replace_symbol dumpstruct dump_add_root_struct_ptr
8895 replace_symbol dumpopaque dump_add_opaque
8896 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8897 replace_symbol dumpopaqueinfos pdump_opaques
8898 replace_symbol dumpopaqueinfo pdump_opaque
8900 replace_symbol nb_structdump nb_root_struct_ptrs
8901 replace_symbol nb_opaquedump nb_opaques
8903 replace_symbol align_table pdump_align_table
8904 replace_symbol dump_header pdump_header
8906 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8907 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8910 2001-01-12 Martin Buchholz <martin@xemacs.org>
8912 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8913 optimizing bytecount_to_charcount().
8915 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8918 (HAVE_DLFCN_H): Removed.
8919 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8921 2001-01-06 Martin Buchholz <martin@xemacs.org>
8923 Portable dumper maintainability improvements.
8924 * alloc.c (staticpro):
8925 * alloc.c (staticpro_nodump):
8926 * alloc.c (garbage_collect_1):
8927 * alloc.c (reinit_alloc_once_early):
8928 * alloc.c (init_alloc_once_early):
8929 * alloc.c: Move dumper functions to alloc.c.
8930 * dumper.c (pdump_backtrace):
8931 * dumper.c (pdump_dump_structs):
8932 * dumper.c (pdump_dump_opaques):
8933 * dumper.c (pdump_dump_rtables):
8934 * dumper.c (pdump_dump_wired):
8936 * dumper.c (pdump_load_check):
8937 * dumper.c (pdump_load_finish):
8938 * dumper.c (pdump_file_unmap):
8939 * dumper.c (pdump_file_get):
8940 * dumper.c (pdump_resource_free):
8941 * dumper.c (pdump_resource_get):
8942 * dumper.c (pdump_file_free):
8943 * dumper.c (pdump_file_try):
8944 * dumper.c (pdump_load):
8945 Remove fixed size limits on staticpro(), staticpro_nodump(),
8946 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8947 Remove custom code for dumping lrecord_implementations_table - use
8949 Remove (most of the) custom code for dumping staticpros - dump it
8950 like any other dynarr.
8952 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8953 * dumper.c: Moved functions from alloc.c.
8954 * alloc.c (dumpstruct): Moved to dumper.c.
8955 * alloc.c (dumpopaque): Likewise.
8956 * alloc.c (pdump_wire): Likewise.
8957 * alloc.c (pdump_wire_list): Likewise.
8959 * lisp.h (Dynarr_sizeof): New.
8960 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8961 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8962 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8964 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8965 * lisp.h (dumpopaque): ditto.
8966 * lisp.h (pdump_wire): ditto.
8967 * lisp.h (pdump_wire_list): ditto.
8969 2001-01-09 Martin Buchholz <martin@xemacs.org>
8971 * make-src-depend (PrintPatternDeps):
8972 Use `sort' to make output independent of perl version.
8974 2001-01-08 Martin Buchholz <martin@xemacs.org>
8977 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8978 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8980 2001-01-03 Didier Verna <didier@xemacs.org>
8982 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8983 that `focus_frame' is alive before thinking of calling
8984 `redisplay_redraw_cursor' on it.
8986 2001-01-08 Martin Buchholz <martin@xemacs.org>
8988 * XEmacs 21.2.40 is released.
8990 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8992 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8994 2001-01-06 Martin Buchholz <martin@xemacs.org>
8996 * alloc.c (dbg_valmask): Make const.
8997 * alloc.c (dbg_typemask): Make const.
8998 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8999 * alloc.c (dbg_valbits): Make const.
9000 * alloc.c (dbg_gctypebits): Make const.
9002 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9004 * redisplay-x.c (x_bevel_area):
9005 redisplay.h (struct rune):
9006 Typo fixes in comments.
9008 2001-01-05 Andy Piper <andy@xemacs.org>
9010 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9013 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9015 2001-01-05 Martin Buchholz <martin@xemacs.org>
9017 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9019 * mule-ccl.c (stack_idx_of_map_multiple):
9020 Non const global data must not be initialized!
9021 Found by MIYASHITA Hisashi.
9023 2001-01-02 Andy Piper <andy@xemacs.org>
9025 * frame.c (change_frame_size): make sure frame size is always
9028 * glyphs.c (image_instance_layout): minor code reuse.
9030 * window.c (Fcurrent_window_configuration): revert previous
9033 2001-01-02 Martin Buchholz <martin@xemacs.org>
9036 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9038 2000-12-31 Andy Piper <andy@xemacs.org>
9040 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9041 when widget gets unmapped.
9043 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9044 function. Make sure widgets losing focus don't just drop it.
9045 (handle_focus_event_1): record the widget with focus.
9047 2000-12-31 Andy Piper <andy@xemacs.org>
9049 * window.c (allocate_window): use
9050 make_image_instance_cache_hash_table.
9051 (make_dummy_parent): ditto.
9052 (Fset_window_configuration): ditto.
9054 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9056 * glyphs.c (process_image_string_instantiator): use
9058 (get_image_instantiator_governing_domain): ditto.
9059 (normalize_image_instantiator): ditto.
9060 (instantiate_image_instantiator): ditto.
9061 (make_image_instance_1): ditto.
9062 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9063 (instantiator_eq_equal): new function for use with instance hash
9065 (instantiator_eq_hash): ditto.
9066 (make_image_instance_cache_hash_table): create a suitable hash
9067 table for storing image instances.
9069 * elhash.h (hash_table_weakness): new internal weakness type
9070 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9071 declare new functions.
9073 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9074 another weakness type for glyphs.
9075 (make_standard_lisp_hash_table): new function split out from
9076 make_general_lisp_hash_table.
9077 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9078 (hash_table_instantiate): ditto.
9079 (Fmake_hash_table): ditto.
9081 2000-12-31 Martin Buchholz <martin@xemacs.org>
9083 * XEmacs 21.2.39 is released.
9085 2000-12-29 Andy Piper <andy@xemacs.org>
9087 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9089 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9090 the frame has changed so that we pick up geometry changes such as
9093 2000-12-28 Andy Piper <andy@xemacs.org>
9095 * lastfile.c (my_ebss): make a char array so we can pad the
9096 bss. Fixes cygwin unexec.
9098 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9100 2000-12-26 Andy Piper <andy@xemacs.org>
9102 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9103 comments and try and be more precise about a non-/SIGIO world.
9104 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9107 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9108 we don't normalize to zero width or height.
9110 2000-12-24 Andy Piper <andy@xemacs.org>
9112 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9114 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9116 * s/sco5.h: SCO 5 has pty support.
9118 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9120 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9121 input-method-xlib.c contains whole contents of input-method-xfs.c,
9122 so we can use input-method-xlib.c's code for USE_XFONTSET
9124 * input-method-xfs.c: removed.
9126 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9128 * file-coding.h (enum coding_category_type): reorder enumerators to
9129 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9130 (now one greater than largest real coding_category_type enumerator).
9131 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9132 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9133 Fcoding_category_list, Fset_coding_priority_list,
9134 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9135 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9137 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9139 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9140 * redisplay-output.c (redisplay_output_window): Clear top of window
9141 when face is changed.
9142 * redisplay-x.c (x_redraw_exposed_window): Call
9143 redisplay_clear_top_of_window.
9144 * redisplay.h: Publish redisplay_clear_top_of_window.
9146 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9148 * buffer.c (Fkill_buffer): Map over all devices.
9149 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9150 (list_windows): New function.
9151 (list_all_windows): Ditto.
9152 (Freplace_buffer_in_windows): Use them.
9154 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9156 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9157 (Fopen_database): Use `db_create' instead of `db_open'.
9158 (syms_of_database): Initialize Qqueue.
9160 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9162 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9163 buffer_local_face_property.
9164 * buffer.h (struct buffer): New member buffer_local_face_property.
9165 * window.c (Fset_window_buffer): Mark window's face as changed
9166 when buffer has buffer local face.
9167 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9168 * objects.c (color_after_change): Set buffer_local_face_property
9169 when locale of face specifier is buffer.
9170 * objects.c (font_after_change): Ditto.
9171 * objects.c (face_boolean_after_change): Ditto.
9172 * glyphs.c (image_after_change): Ditto.
9174 2000-12-09 Dan Holmsand <dan@eyebee.com>
9176 * nt.c (mswindows_fstat): Report file permissions, volume serial
9177 number, etc. Code adapted from FSF Emacs 20.7.
9179 2000-12-09 Dan Holmsand <dan@eyebee.com>
9181 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9182 of stat when we don't have symbolic links, to make sure
9183 mswindows_stat is called on mswindows.
9185 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9187 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9189 2000-12-12 Martin Buchholz <martin@xemacs.org>
9191 * doprnt.c (emacs_doprnt_1): More printing fixes.
9192 Make printing of numbers compatible with libc and FSF Emacs.
9193 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9194 Use the system printf to do most of the hard work of formatting,
9195 instead of doprnt_1().
9196 Calculate memory to allocate for format string.
9197 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9198 (doprnt_1): Cleaner code and documentation.
9200 2000-12-01 Jerry James <james@eecs.ukans.edu>
9202 * Makefile.in.in: Use the loop variable to install headers.
9204 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9206 * window.c (Fsplit_window): Don't invalidate face cache.
9208 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9210 * minibuf.c (Fall_completions): Undo the previous change
9211 which removed checking elements start with space.
9213 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9215 * mule-canna.c: Didier suppression.
9217 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9219 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9220 (warning suppression). Add English comment translations.
9222 2000-12-05 Martin Buchholz <martin@xemacs.org>
9224 * unexelfsgi.c (unexec): Better test for mmap failure.
9226 2000-12-05 Martin Buchholz <martin@xemacs.org>
9228 * XEmacs 21.2.38 is released.
9230 2000-12-05 Martin Buchholz <martin@xemacs.org>
9232 * redisplay.c (bar-cursor): Make a user variable.
9234 * symsinit.h: Add init_postgresql_from_environment.
9236 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9238 * regex.c: Convert to clean C.
9240 2000-12-05 Dan Holmsand <dan@eyebee.com>
9243 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9245 (sys_readlink): renamed to system_readlink to avoid conflict with
9246 the other sys_readlink.
9248 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9250 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9252 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9254 * postgresql.c (init_postgresql_from_environment): new function.
9255 (vars_of_postgresql): Move code initializing Lisp variables out and
9256 into init_postgresql_from_environment.
9257 emacs.c (main_1): Call init_postgresql_from_environment if and only
9258 if running a dumped XEmacs.
9260 2000-08-31 Dan Holmsand <dan@eyebee.com>
9262 * buffer.c: Make find-file-compare-truenames default to true on
9265 * realpath.c (win32_abs_start):
9267 (win32_readlink): New functions.
9268 (xrealpath): Return really real filenames on windows.
9270 * fileio.c (Ffile_truename): Make file-truename work on windows.
9272 2000-11-29 Didier Verna <didier@xemacs.org>
9274 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9275 * faces.c (update_face_cachel_data): use it.
9276 * faces.c (add_face_cachel): use it. Complete background pixmap
9277 frobbing in face cache if `update_face_cachel_data' has not done so.
9279 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9281 * search.c (string_match_1): Don't set last_thing_searched
9284 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9286 * buffer.c: Include casetab.h
9287 (common_init_complex_vars_of_buffer): Use new case-table object.
9288 * buffer.h: Include casetab.h
9289 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9290 (DOWNCASE_TABLE_OF): Ditto.
9291 * bufslots.h: Remove char-tables and add case-table.
9292 * casetab.c: Include casetab.h
9293 (CASE_TABLE_P): Removed.
9294 (mark_case_table): New function.
9295 (allocate_case_table): New function.
9296 (Fcase_table_p): Use new case-table.
9297 (case_table_char): New function.
9298 (Fget_case_table): Ditto.
9299 (Fput_case_table): Ditto.
9300 (Fput_case_table_pair): Ditto.
9301 (Fcopy_case_table): Ditto.
9302 (Fcurrent_case_table): Return case-table.
9303 (Fstandard_case_table): Return case-table.
9304 (Fset_case_table): Fix doc-string.
9305 (set_case_table): Use case-table
9306 (syms_of_casetab): DEFSUBR new functions.
9307 (complex_vars_of_casetab): Set up standard case-table.
9308 * casetab.h: New file.
9309 * editfns.c: Include casetab.h
9310 (Fcompare_buffer_substrings): Use case-table.
9311 * inline.c: Include casetab.h
9312 * lisp.h: Remove bogus extern.
9313 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9314 * search.c: Include casetab.h
9315 (TRANSLATE_ASCII): Removed.
9316 (TRANSLATE): Unconditionally translate character.
9317 (looking_at_1): Use case-table.
9318 (string_match_1): Ditto.
9319 (fast_string_match): Ditto.
9320 (search_command): Ditto.
9321 (search_buffer): Separate boyer_moore. Check whether
9322 boyer_moore is possible.
9323 (simple_search): New function.
9324 (boyer_moore): Separated from search_buffer. Translate char.
9326 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9328 * regex.c (RE_TR_ASCII): Removed.
9329 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9330 (PATFETCH): Call PATFETCH_RAW.
9331 (PATFETCH_RAW): Fetch Emchar.
9332 (PATUNFETCH): Decrement charptr.
9333 (GET_BUFFER_SPACE): Rename b to buf_end.
9335 (BUF_PUSH_2): Ditto.
9336 (BUF_PUSH_3): Ditto.
9337 (EXTEND_BUFFER): Ditto.
9338 (SET_LIST_BIT): Ditto.
9339 (regex_compile): Ditto. Translate non ASCII char.
9340 (compile_range): Ditto.
9341 (re_search_2): Ditto.
9342 (re_match_2_internal): Compare Emchar.
9343 (bcmp_translate): Ditto.
9345 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9347 * lisp.h (basic char/int typedefs): comment improvement.
9349 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9351 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9352 unstomp inhibit_site_lisp. Improve comments.
9354 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9356 * mule-charset.c (Fcharset_property): improve type checking, comments.
9358 2000-11-28 Andy Piper <andy@xemacs.org>
9360 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9361 clipped display for windows in the gutter also.
9362 (redisplay_display_boxes_in_window_p): change semantics of return
9363 codes to be more intuitive.
9365 * gutter.h: declare display_boxes_in_gutter_p.
9367 * gutter.c (display_boxes_in_gutter_p): new function for
9370 2000-11-22 Andy Piper <andy@xemacs.org>
9372 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9375 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9377 * callproc.c (Fold_call_process_internal):
9378 * gpm.c (Freceive_gpm_event):
9379 (tty_get_foreign_selection): Might be just warning supression.
9380 * fileio.c (Fwrite_region_internal):
9381 (Fset_visited_file_modtime):
9382 * keymap.c (event_matches_key_specifier_p):
9383 Initialize GCPROed variable.
9385 * menubar-x.c (command_builder_find_menu_accelerator):
9386 Initialize before use.
9388 2000-11-23 Andy Piper <andy@xemacs.org>
9390 * unexcw.c (unexec): make the resulting executable executable.
9392 2000-11-21 Martin Buchholz <martin@xemacs.org>
9394 * doc.c (get_doc_string):
9395 Use size_t, not int, for result of XSTRING_LENGTH.
9397 * cmds.c (Fdelete_char):
9398 * cmds.c (Fpoint_at_eol):
9399 * cmds.c (Fself_insert_command):
9400 Use EMACS_INT, not int, for result of XINT.
9401 Someday, someone will want to insert more than 2**31 identical characters.
9403 * cmds.c (Fdelete_char):
9404 * cmds.c (Fdelete_backward_char):
9405 * syntax.c (Fforward_word):
9406 * syntax.c (Fforward_comment):
9407 Make COUNT argument optional, for consistency with forward-char et al.
9409 2000-11-22 Martin Buchholz <martin@xemacs.org>
9412 * print.c (long_to_string):
9413 Return a useful value: the pointer at end of data written.
9416 Use `static const char * const' for constant strings.
9417 (union printf_arg): Delete `i', `ui' members.
9420 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9421 Do all printf-ing via the `l' specifier.
9422 Use EMACS_INT instead of int.
9425 2000-11-20 Didier Verna <didier@xemacs.org>
9427 * faces.c (update_face_cachel_data): don't frob the background
9428 pixmap when the window is being created. The face is needed but
9431 2000-11-20 Andy Piper <andy@xemacs.org>
9433 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9434 messing with a debug environment.
9436 2000-11-20 Martin Buchholz <martin@xemacs.org>
9438 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9440 2000-11-20 Martin Buchholz <martin@xemacs.org>
9442 * casetab.c (Fcase_table_p): Fix compile error and crash.
9444 2000-11-18 Philip Aston <philipa@mail.com>
9446 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9448 2000-11-18 Martin Buchholz <martin@xemacs.org>
9450 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9451 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9453 2000-11-17 Martin Buchholz <martin@xemacs.org>
9455 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9456 * unexelf.c: Use HAVE_ELF_H.
9457 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9458 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9459 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9460 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9462 So this is an unexelfsgi.c from a different line of development.
9464 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9466 * regex.c (RE_TR_ASCII): New function.
9467 (RE_TRANSLATE): Call it.
9469 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9471 * buffer.h (TRT_TABLE_OF): Remove assert.
9472 (IN_TRT_TABLE_DOMAIN): Removed.
9474 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9476 * free-hook.c (log_gcpro):
9477 (show_gcprohist): Add support for GCPRO5.
9479 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9481 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9483 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9485 * symeval.h: Declare flush_all_buffer_local_cache.
9487 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9488 (flush_buffer_local_cache): Added.
9489 (flush_all_buffer_local_cache): Added.
9491 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9493 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9494 (pdump_dump_data): Ditto.
9495 (pdump_reloc_one): Ditto.
9496 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9500 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9502 * buffer.c: Remove if 0'ed entry.
9503 * buffer.h: Rewrite TRT to use char-table.
9504 * bufslots.h: Remove mirror tables.
9505 * casetab.c: Remove mirror tables.
9506 (CASE_TABLE_P): New macro.
9507 (Fcase_table_p): Element of a case table is string or char-table.
9508 (make_mirror_trt_table): Removed.
9509 (set_case_table): Setup char-table from strings for backward
9511 * dired.c (Fdirectory_files):
9512 * dired-msw.c: (mswindows_get_files):
9513 * lisp.h: Change prototype of re_pattern_buffer.
9514 * regex.c: (RE_TRANSLATE): New macro.
9515 (TRANSLATE_P): Ditto.
9516 Change translate to type RE_TRANSLATE_TYPE.
9517 * regex.h: Define RE_TRANSLATE_TYPE
9518 * search.c (TRANSLATE): New macro.
9519 (TRANSLATE_ASCII): New macro.
9520 Translate table is changed to Lisp_Object.
9521 (signal_failure): Inhibit return.
9523 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9530 Do UNGCPRO before return.
9532 2000-11-14 Martin Buchholz <martin@xemacs.org>
9534 * XEmacs 21.2.37 is released.
9536 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9538 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9539 Add comments about discarded return value.
9541 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9544 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9546 2000-10-27 Andy Piper <andy@xemacs.org>
9548 * gutter.c (Fset_default_gutter_position): default left and right
9550 (calculate_gutter_size): calculate resonable heuristic for left
9551 and right gutter sizes.
9552 (specifier_vars_of_gutter): change left and right gutter sizes to
9554 (calculate_gutter_size_from_display_lines): new function.
9555 (output_gutter): check for resizing on left and right gutters.
9556 (clear_gutter): don't special case top and left gutters.
9557 (specifier_vars_of_gutter): use new signature for
9558 set_specifier_caching.
9560 * glyphs-x.c (x_redisplay_widget): spelling fix.
9561 * glyphs.c (specifier_vars_of_glyphs):
9562 * menubar.c (specifier_vars_of_menubar):
9563 * redisplay.c (specifier_vars_of_redisplay):
9564 * toolbar.c (specifier_vars_of_toolbar):
9565 * window.c (specifier_vars_of_window):
9566 * scrollbar.c (specifier_vars_of_scrollbar):
9567 (complex_vars_of_scrollbar): use new signature for
9568 set_specifier_caching.
9570 * specifier.c (set_specifier_caching): include recompute flag.
9571 (recompute_one_cached_specifier_in_window): always recompute if
9573 (recompute_one_cached_specifier_in_frame): ditto.
9575 * specifier.h (struct specifier_caching): add recompute flag.
9577 2000-10-24 Andy Piper <andy@xemacs.org>
9579 * unexcw.c (copy_executable_and_dump_data_section): add new
9580 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
9583 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9585 * console-x.h (x_device): New member modifier_release_time.
9586 * event-Xt.c (x_handle_sticky_modifiers):
9587 Bound interval modifier keys are sticky.
9588 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
9589 * events.h: extern it.
9591 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9593 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
9595 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9597 * event-stream.c (execute_command_event): Preserve current_events
9598 and the like when event is misc-user-event.
9599 Inhibit quit during the call to maybe_echo_keys.
9601 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9603 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
9604 symlink when buffer is killed.
9605 (inhibit_clash_detection): New variable.
9607 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9609 * console.c (Fset_input_method): Trigger redisplay on tty.
9611 2000-11-07 Martin Buchholz <martin@xemacs.org>
9613 * process.c (Fprocess_status): Revert to previous behavior:
9614 (process-status "nosuchprocess") ==> nil
9616 2000-11-06 Martin Buchholz <martin@xemacs.org>
9618 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
9619 Work around another GCC 2.95.2 optimizer bug.
9621 2000-11-02 Martin Buchholz <martin@xemacs.org>
9623 * process.c (Fget_process): Use LIST_LOOP_2.
9624 (kill_buffer_processes): Use LIST_LOOP_2.
9626 * minibuf.c (Fall_completions):
9627 Delete old non-functional code for FSF fourth argument.
9629 * frame.c (frame_matches_frame_spec):
9630 Renamed from `frame_matches_frametype'. Update all callers.
9631 (device_matches_device_spec):
9632 Renamed from 'device_matches_console_spec'. Update all callers.
9634 * doc.c (Fsubstitute_command_keys):
9635 Remove buffer overflow crash. Small code cleanups.
9637 * casetab.c (check_case_table): Simpler code.
9639 * window.c (Freplace_buffer_in_windows):
9640 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
9641 (and similar implementation) as Fdelete_windows_on.
9644 * alloc.c (Fmake_list):
9645 * alloc.c (make_vector):
9646 * alloc.c (Fmake_vector):
9647 * alloc.c (make_bit_vector):
9648 * alloc.c (Fmake_bit_vector):
9649 * alloc.c (Fbit_vector):
9650 * alloc.c (Fmake_string):
9651 * alloc.c (Fpurecopy):
9652 * alloc.c (Fmemory_limit):
9654 * buffer.c (Fget_buffer):
9655 * buffer.c (Fkill_buffer):
9656 * buffer.c (complex_vars_of_buffer):
9657 * bytecode.c (Fcompiled_function_stack_depth):
9658 * callint.c (Fprefix_numeric_value):
9660 * event-stream.c (Fread_key_sequence):
9662 * casetab.c (Fcase_table_p):
9663 * casetab.c (check_case_table):
9664 * casetab.c (Fset_case_table):
9665 * casetab.c (Fset_standard_case_table):
9667 * chartab.c (Fchar_table_type):
9668 * chartab.c (Freset_char_table):
9669 * chartab.c (Fget_char_table):
9670 * chartab.c (Fget_range_char_table):
9671 * chartab.c (Fput_char_table):
9672 * chartab.c (Fmap_char_table):
9673 * chartab.c (Fcategory_table_p):
9674 * chartab.c (Fcheck_category_at):
9675 * chartab.c (Fchar_in_category_p):
9676 * chartab.c (Fcategory_table):
9677 * chartab.c (Fcopy_category_table):
9678 * chartab.c (Fset_category_table):
9679 * chartab.c (Fcategory_designator_p):
9680 * chartab.c (Fcategory_table_value_p):
9681 * cmds.c (Fdelete_char):
9682 * cmds.c (Fdelete_backward_char):
9683 * cmds.c (Fself_insert_command):
9684 * cmds.c (Fself_insert_internal):
9685 * console.c (Fvalid_console_type_p):
9686 * console.c (Fcdfw_console):
9687 * console.c (Fconsole_type):
9688 * console.c (Fconsole_name):
9689 * console.c (Fconsole_device_list):
9690 * console.c (Fconsole_on_window_system_p):
9694 * data.c (Fsubr_interactive):
9695 * data.c (Fchar_to_int):
9696 * data.c (Fint_to_char):
9699 * data.c (Fnumber_to_string):
9700 * data.c (Fstring_to_number):
9702 * database.c (mark_database):
9703 * database.c (finalize_database):
9704 * database.c (Fdatabase_live_p):
9705 * database.c (Fdatabasep):
9706 * device-x.c (Fx_get_resource):
9707 * device.c (Fdfw_device):
9709 * dired.c (Ffile_name_completion):
9710 * dired.c (Ffile_name_all_completions):
9711 * dired.c (Fuser_name_completion):
9712 * dired.c (Fuser_name_completion_1):
9713 * dired.c (Fuser_name_all_completions):
9714 * doc.c (Fdocumentation):
9715 * doc.c (Fdocumentation_property):
9716 * doc.c (Fsubstitute_command_keys):
9718 * editfns.c (Fchar_to_string):
9719 * editfns.c (Fstring_to_char):
9720 * editfns.c (Ftemp_directory):
9721 * editfns.c (Finsert_char):
9722 * editfns.c (Fbuffer_substring_no_properties):
9723 * editfns.c (Fnarrow_to_region):
9724 * editfns.c (Fchar_equal):
9725 * editfns.c (Fchar_Equal):
9726 * editfns.c (Ftranspose_regions):
9727 * emacs.c (Fdump_emacs):
9729 * eval.c (Fcommand_execute):
9730 * eval.c (Fautoload):
9731 * eval.c (Fbacktrace):
9732 * eval.c (Fbacktrace_frame):
9734 * events.c (Fcopy_event):
9735 * events.c (Fcharacter_to_event):
9736 * events.c (Fevent_button):
9737 * events.c (Fevent_process):
9739 * extents.c (Fnext_extent_change):
9740 * extents.c (Fextent_property):
9742 * faces.c (Fmake_face):
9744 * file-coding.c (Fencode_shift_jis_char):
9745 * file-coding.c (Fencode_big5_char):
9746 * fileio.c (Ffile_name_directory):
9747 * fileio.c (Ffile_name_nondirectory):
9748 * fileio.c (Ffile_name_as_directory):
9749 * fileio.c (Fdirectory_file_name):
9750 * fileio.c (Ffile_truename):
9751 * fileio.c (Fsubstitute_in_file_name):
9752 * fileio.c (Ffile_modes):
9753 * fileio.c (Fset_file_modes):
9754 * fileio.c (Fset_default_file_modes):
9755 * fileio.c (Fverify_visited_file_modtime):
9756 * floatfns.c (Facos):
9757 * floatfns.c (Fasin):
9758 * floatfns.c (Fatan):
9759 * floatfns.c (Fcos):
9760 * floatfns.c (Fsin):
9761 * floatfns.c (Ftan):
9762 * floatfns.c (Fbessel_j0):
9763 * floatfns.c (Fbessel_j1):
9764 * floatfns.c (Fbessel_jn):
9765 * floatfns.c (Fbessel_y0):
9766 * floatfns.c (Fbessel_y1):
9767 * floatfns.c (Fbessel_yn):
9768 * floatfns.c (Ferf):
9769 * floatfns.c (Ferfc):
9770 * floatfns.c (Flog_gamma):
9771 * floatfns.c (Fexp):
9772 * floatfns.c (Fexpt):
9773 * floatfns.c (Flog):
9774 * floatfns.c (Flog10):
9775 * floatfns.c (Fsqrt):
9776 * floatfns.c (Fcube_root):
9777 * floatfns.c (Facosh):
9778 * floatfns.c (Fasinh):
9779 * floatfns.c (Fatanh):
9780 * floatfns.c (Fcosh):
9781 * floatfns.c (Fsinh):
9782 * floatfns.c (Ftanh):
9783 * floatfns.c (Fabs):
9784 * floatfns.c (Ffloat):
9785 * floatfns.c (Flogb):
9786 * floatfns.c (Fceiling):
9787 * floatfns.c (Ffloor):
9788 * floatfns.c (Fround):
9789 * floatfns.c (Ftruncate):
9790 * floatfns.c (Ffceiling):
9791 * floatfns.c (Fffloor):
9792 * floatfns.c (Ffround):
9793 * floatfns.c (Fftruncate):
9794 * fns.c (Fstring_equal):
9795 * fns.c (Fstring_lessp):
9800 * fns.c (Fsubstring):
9802 * fns.c (Fold_assoc):
9803 * fns.c (assoc_no_quit):
9805 * fns.c (Fold_assq):
9806 * fns.c (assq_no_quit):
9808 * fns.c (Fold_rassoc):
9810 * fns.c (Fold_rassq):
9811 * fns.c (rassq_no_quit):
9812 * fns.c (Fremassoc):
9813 * fns.c (remassoc_no_quit):
9815 * fns.c (remassq_no_quit):
9816 * fns.c (Fremrassoc):
9817 * fns.c (Fremrassq):
9818 * fns.c (remrassq_no_quit):
9820 * fns.c (Fplist_get):
9821 * fns.c (Fplist_put):
9822 * fns.c (Fplist_remprop):
9823 * fns.c (Fplist_member):
9824 * fns.c (Flax_plist_get):
9825 * fns.c (Flax_plist_put):
9826 * fns.c (Flax_plist_remprop):
9827 * fns.c (Flax_plist_member):
9829 * fns.c (Fold_equal):
9831 * fns.c (Fbase64_encode_region):
9832 * fns.c (Fbase64_encode_string):
9833 * fns.c (Fbase64_decode_region):
9835 * frame.c (frame_matches_frame_spec):
9836 * frame.c (device_matches_device_spec):
9837 * frame.c (next_frame):
9838 * frame.c (previous_frame):
9839 * frame.c (Fnext_frame):
9840 * frame.c (Fprevious_frame):
9841 * frame.c (Fframe_property):
9842 * frame.c (Fset_frame_height):
9843 * frame.c (Fset_frame_size):
9847 * glyphs.c (decode_error_behavior_flag):
9848 * glyphs.c (Fmake_image_instance):
9849 * indent.c (Findent_to):
9850 * intl.c (Fignore_defer_gettext):
9851 * keymap.c (Fkeymapp):
9852 * keymap.c (Flookup_key):
9854 * lread.c (Fload_internal):
9855 * lread.c (Feval_buffer):
9856 * lread.c (Feval_region):
9857 * macros.c (Fexecute_kbd_macro):
9858 * marker.c (set_marker_internal):
9859 * marker.c (Fset_marker):
9860 * marker.c (set_marker_restricted):
9861 * marker.c (Fcopy_marker):
9862 * marker.c (noseeum_copy_marker):
9864 * menubar.c (Fpopup_menu):
9866 * mule-charset.c (Fcharset_name):
9867 * mule-charset.c (Fchar_charset):
9868 * mule-charset.c (Fchar_octet):
9869 * mule-charset.c (Fsplit_char):
9870 * mule-wnnfns.c (Fwnn_open):
9871 * mule-wnnfns.c (Fwnn_dict_comment):
9872 * mule-wnnfns.c (Fwnn_quit_henkan):
9873 * mule-wnnfns.c (Fwnn_word_toroku):
9874 * mule-wnnfns.c (Fwnn_word_sakujo):
9875 * mule-wnnfns.c (Fwnn_word_use):
9876 * mule-wnnfns.c (Fwnn_hindo_set):
9878 * objects.c (Fmake_color_instance):
9879 * objects.c (Fmake_font_instance):
9880 * print.c (Fwrite_char):
9882 * process.c (mark_process):
9883 * process.c (print_process):
9884 * process.c (get_process_from_usid):
9885 * process.c (Fprocessp):
9886 * process.c (Fprocess_live_p):
9887 * process.c (Fget_process):
9888 * process.c (Fget_buffer_process):
9889 * process.c (get_process):
9890 * process.c (Fprocess_id):
9891 * process.c (Fprocess_name):
9892 * process.c (Fprocess_command):
9893 * process.c (init_process_io_handles):
9894 * process.c (start_process_unwind):
9895 * process.c (Fstart_process_internal):
9896 * process.c (Fopen_multicast_group_internal):
9897 * process.c (Fset_process_window_size):
9898 * process.c (read_process_output):
9899 * process.c (send_process):
9900 * process.c (Fprocess_tty_name):
9901 * process.c (Fset_process_buffer):
9902 * process.c (Fprocess_buffer):
9903 * process.c (Fprocess_mark):
9904 * process.c (set_process_filter):
9905 * process.c (Fset_process_filter):
9906 * process.c (Fprocess_filter):
9907 * process.c (Fprocess_send_region):
9908 * process.c (Fprocess_send_string):
9909 * process.c (exec_sentinel):
9910 * process.c (Fset_process_sentinel):
9911 * process.c (Fprocess_sentinel):
9912 * process.c (status_notify):
9913 * process.c (Fprocess_status):
9914 * process.c (Fprocess_exit_status):
9915 * process.c (process_send_signal):
9916 * process.c (Fprocess_send_eof):
9917 * process.c (deactivate_process):
9918 * process.c (remove_process):
9919 * process.c (Fdelete_process):
9920 * process.c (kill_buffer_processes):
9921 * process.c (Fprocess_kill_without_query):
9922 * process.c (Fprocess_kill_without_query_p):
9924 * rangetab.c (Fget_range_table):
9925 * rangetab.c (Fput_range_table):
9926 * rangetab.c (Fremove_range_table):
9927 * rangetab.c (Fclear_range_table):
9929 * search.c (Fskip_chars_forward):
9930 * search.c (Fskip_chars_backward):
9931 * search.c (Fskip_syntax_forward):
9932 * search.c (Fskip_syntax_backward):
9933 * search.c (search_command):
9934 * search.c (Freplace_match):
9935 * search.c (Fregexp_quote):
9936 * select.c (Fown_selection_internal):
9937 * select.c (Fselection_owner_p):
9938 * select.c (Fselection_exists_p):
9939 * select.c (Fget_selection_internal):
9942 * symbols.c (Fintern):
9943 * symbols.c (Fintern_soft):
9944 * symbols.c (Funintern):
9945 * symbols.c (Fapropos_internal):
9946 * symbols.c (Fset_default):
9948 * syntax.c (Fsyntax_table_p):
9949 * syntax.c (Fcopy_syntax_table):
9950 * syntax.c (Fset_syntax_table):
9951 * syntax.c (Fchar_syntax):
9952 * syntax.c (syntax_match):
9953 * syntax.c (Fmatching_paren):
9954 * syntax.c (Fforward_word):
9955 * syntax.c (scan_lists):
9956 * syntax.c (Fscan_lists):
9957 * syntax.c (Fscan_sexps):
9958 * syntax.c (Fparse_partial_sexp):
9959 * toolbar.c (Fcheck_toolbar_button_syntax):
9962 * window.c (Fwindowp):
9963 * window.c (Fwindow_live_p):
9964 * window.c (Fwindow_point):
9965 * window.c (Fdelete_window):
9966 * window.c (Fnext_window):
9967 * window.c (Fprevious_window):
9968 * window.c (Fother_window):
9969 * window.c (window_loop):
9970 * window.c (Fget_lru_window):
9971 * window.c (Fsplit_window):
9972 * window.c (Fenlarge_window):
9973 * window.c (Fenlarge_window_pixels):
9974 * window.c (Fshrink_window):
9975 * window.c (Fshrink_window_pixels):
9976 * window.c (change_window_height):
9977 * window.c (Fwindow_configuration_p):
9978 * window.c (Fcurrent_window_configuration):
9980 * casefiddle.c (casify_object):
9981 * casefiddle.c (Fupcase):
9982 * casefiddle.c (Fdowncase):
9983 * casefiddle.c (Fcapitalize):
9984 * casefiddle.c (Fupcase_initials):
9985 * casefiddle.c (casify_region_internal):
9986 * casefiddle.c (casify_region):
9987 * casefiddle.c (Fupcase_region):
9988 * casefiddle.c (Fdowncase_region):
9989 * casefiddle.c (Fcapitalize_region):
9990 * casefiddle.c (Fupcase_initials_region):
9991 * casefiddle.c (Fupcase_word):
9992 * casefiddle.c (Fdowncase_word):
9993 * casefiddle.c (Fcapitalize_word):
9994 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9995 Replace 0 with '\0' when working with bytes.
9996 Replace initial "(" with "\(" in docstrings.
9998 2000-11-01 Martin Buchholz <martin@xemacs.org>
10000 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10002 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10004 2000-10-31 Martin Buchholz <martin@xemacs.org>
10006 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10008 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10010 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10013 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10015 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10016 (inhibit_auto_save_session): New variable.
10017 (vars_of_fileio): Declare and initialize them.
10018 * fileio.c (Fdo_auto_save): Don't create session file if
10019 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10021 2000-10-31 Martin Buchholz <martin@xemacs.org>
10023 * sgiplay.c (play_internal): C++ compilability.
10024 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10025 * callproc.c (Fold_call_process_internal):
10026 Remove unused vars `env', `first'.
10027 * scrollbar.c (update_scrollbar_instance):
10028 #### unused var `current_window'.
10029 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10030 etc. within #ifdef NOT_YET.
10031 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10032 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10033 * specifier.c (specifier_instance):
10034 #### unused var `tag'.
10035 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10037 2000-10-27 Martin Buchholz <martin@xemacs.org>
10039 * fns.c (Fbutlast):
10040 * fns.c (list_sort):
10041 * fns.c (Ffillarray):
10042 * fns.c (bytecode_nconc2):
10045 * fns.c (Fmapconcat):
10046 Be pedantically 64-bit correct. For the time when someone will
10047 want to have a list with length > 2**32.
10049 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10050 Work around MIPSpro compiler bug.
10052 * process-unix.c (unix_kill_child_process): Add snarky comment.
10053 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10055 * config.h.in: Oops, _getpt ==> _getpty
10057 2000-10-26 Martin Buchholz <martin@xemacs.org>
10061 Use void*, not char*, as return type of alloca().
10063 * alloc.c (free_marker): Side effect inside assert expression!
10065 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10067 * mule-charset.c (Fset_charset_ccl_program): To check
10068 if the given ccl program is valid, use setup_ccl_program()
10069 instead of CHECK_VECTOR().
10070 (Fmake_charset): Likewise.
10072 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10074 * faces.c (get_extent_fragment_face_cache_index):
10075 Fix cachel.merged_faces memory leak.
10077 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10079 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10080 Reset MSB of octets obtained by DECODE_SJIS
10081 because of the incompatibility with Emacs.
10082 (ccl_driver)<CCL_ENCODE_SJIS>:
10083 Set MSB of octets before passing them to
10084 ENCODE_SJIS because of the incompatibility
10087 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10089 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10090 (DECLARE_LRECORD): Undo the last change.
10091 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10093 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10095 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10096 the implementation to lrecord_implementations_table.
10098 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10100 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10101 initial value of `lrecord_type_##c_name' and
10102 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10103 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10104 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10105 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10106 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10108 2000-10-17 Martin Buchholz <martin@xemacs.org>
10110 * miscplay.c (sndcnv8S_2mono):
10111 (sndcnv2monounsigned):
10112 (sndcnvULaw_2linear):
10114 Remove implementation-defined behavior.
10116 2000-10-12 Martin Buchholz <martin@xemacs.org>
10118 * input-method-xlib.c: Warning suppression.
10120 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10122 * mule-ccl.c: Sync up with Emacs 21.0.90.
10123 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10125 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10127 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10128 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10129 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10130 leading char belongs to official 2-dimensional charset.
10131 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10132 write the given character as is. Otherwise,
10133 if it is a multibyte char, convert it by
10134 non_ascii_set_charptr_emchar, then write it.
10135 (CCL_WRITE_STRING): Likewise.
10136 (ccl_get_compiled_code): New function.
10137 (setup_ccl_program): When ccl_prog is invalid,
10139 (Fregister_code_conversion_map): New function.
10140 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10142 * mule-ccl.h: Sync up with Emacs 21.0.90.
10143 (Fregister_ccl_program): export it.
10145 * redisplay-msw.c (separate_textual_runs):
10146 If ccl program is not valid, don't do ccl conversion.
10148 * redisplay-x.c (separate_textual_runs): Ditto.
10150 * file-coding.c (Fmake_coding_system):
10151 When type is ccl and value is vector, register it
10152 with a proper symbol. And checks whether the
10153 given ccl program is valid.
10154 (mule_decode): When calling ccl_driver, if src indicates
10155 NULL pointer, set an empty string instead.
10156 (mule_encode): Likewise.
10158 2000-10-11 Martin Buchholz <martin@xemacs.org>
10160 The following large batch of changes gets us back to a state of
10161 C++ compilability. Extbyte is now a char, which means that
10162 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10164 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10166 * sound.c (Fplay_sound): Type correctness.
10168 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10169 (x_get_window_property): Type correctness.
10170 (receive_incremental_selection): unsigned char ==> Extbyte
10171 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10172 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10173 (Fx_store_cutbuffer_internal): Type correctness.
10175 * process-unix.c (try_to_initialize_subtty): Type correctness.
10177 * objects-x.c (x_print_color_instance): Type correctness.
10178 (x_print_font_instance): Type correctness.
10179 (x_list_fonts): SExtbyte ==> Extbyte.
10180 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10181 (x_find_charset_font): SExtbyte ==> Extbyte.
10182 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10183 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10184 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10185 Use bufbyte_strcmp.
10187 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10188 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10189 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10190 (BYTE_C0_P): Use bit ops for char-signedness safety.
10191 (BYTE_C1_P): Use bit ops for char-signedness safety.
10192 (CHARSET_BY_LEADING_BYTE):
10193 (CHARSET_BY_ATTRIBUTES):
10194 Always use inline function.
10195 Use type_checking_assert.
10198 * mule-charset.c (non_ascii_charptr_copy_char):
10199 Modify to work with both ASCII and non-ASCII characters.
10200 Improve docs and variable names.
10201 Replace over-clever fall-through switch with a simple loop.
10202 (Lstream_get_emchar_1):
10203 Replace over-clever fall-through switch with a simple loop.
10205 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10206 Warning suppression.
10208 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10209 the return value of Lstream_getc, which could be EOF as well.
10211 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10213 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10214 APIs can be used on Extbytes without casts. Risky!
10215 (SExtbyte): Remove.
10216 (UExtbyte): Remove.
10218 * input-method-xlib.c (XIM_init_device):
10219 Use Xlib.h instead of IntrinsicP.h.
10220 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10221 which will break in X11R7.
10222 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10223 to call XRegisterIMInstantiateCallback with correct types.
10225 * gui-x.c (button_item_to_widget_value): Type correctness.
10227 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10229 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10230 (xbm_instantiate_1): Type correctness.
10231 (BUILD_GLYPH_INST): Type correctness.
10233 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10236 (decode_coding_sjis):
10237 (decode_coding_big5):
10238 (decode_coding_ucs4):
10239 (decode_coding_utf8):
10240 (decode_coding_iso2022):
10241 (decode_coding_no_conversion):
10242 Make all decoding functions take an Extbyte * arg.
10243 (encode_coding_sjis):
10244 (encode_coding_big5):
10245 (encode_coding_ucs4):
10246 (encode_coding_utf8):
10247 (encode_coding_iso2022):
10248 (encode_coding_no_conversion):
10249 Make all encoding functions take a Bufbyte * arg.
10250 Use size_t instead of unsigned int for memory sizes.
10251 Only cast to unsigned char whenever dereferencing Extbyte *.
10253 * doc.c (unparesseuxify_doc_string): Type correctness.
10255 * console-x.c (split_up_display_spec):
10256 Rewrite without using details of internal string representation.
10257 (x_semi_canonicalize_device_connection): Type correctness.
10260 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10261 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10262 (HAVE_XFREE386): Removed.
10264 * buffer.h (DEC_CHARPTR): `const' correctness.
10265 (bufbyte_strcmp): New.
10266 (bufbyte_memcmp): New.
10268 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10270 * buffer.h (XCHAR_OR_CHAR_INT):
10271 Always use inline function.
10272 Remove redundant type checking assert() - XINT will abort quite nicely.
10274 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10276 * search.c (Freplace_match): Set newtext to an empty string.
10278 2000-10-10 Martin Buchholz <martin@xemacs.org>
10280 * s/decosf1-3.h: Remove #include of stropts.h
10281 * s/ptx.h: Remove #include of stropts.h
10282 * s/usg5-4.h: Remove #include of stropts.h
10285 Use stropts.h, not sys/stropts.h.
10286 Use strtio.h, not sys/strtio.h.
10288 2000-10-04 Martin Buchholz <martin@xemacs.org>
10290 * XEmacs 21.2.36 is released.
10292 2000-09-21 Andy Piper <andy@xemacs.org>
10294 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10295 changes still involve copying the widget tree.
10296 (update_widget_face): make sure a change is register in the widget
10297 tree. Call update_tab_widget_face appropriately.
10298 (update_tab_widget_face): ditto.
10299 (x_tab_control_redisplay): make sure non-structural changes still
10300 involve copying the widget tree.
10302 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10304 * lread.c (locate_file): Check the path element is non-nil.
10306 2000-10-02 Martin Buchholz <martin@xemacs.org>
10308 * lisp.h: Warning suppression for SCO compilers.
10310 * redisplay-tty.c (reset_tty_modes): Fix crash.
10311 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10313 2000-09-27 Martin Buchholz <martin@xemacs.org>
10315 Big signal/process handling overhaul. Bugs fixed:
10316 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10317 M-x comint-kill-subjob should work for both values nil and t of
10318 process-connection-type. It was broken on most platforms.
10319 Testing on Irix and Cygwin still needed. Other plaforms tested.
10320 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10321 * process-unix.c: Signal/Process handling overhaul.
10322 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10323 (allocate_pty): Use all available modern methods of allocating
10324 ptys, falling back to old style BSD allocation as a last resort.
10325 Use allegedly more secure Unix98 pty allocation by default.
10326 (allocate_pty_the_old_fashioned_way): New. the last resort.
10327 (unix_create_process): Push ptem, ldterm, ttcompat where
10328 available. Autoconfiscate.
10329 (try_to_initialize_subtty): New.
10330 (unix_kill_child_process): Proper signal handling for ptys on most
10331 platforms, using special knowledge of AIX, BSD, etc...
10332 (unix_create_process): Always disconnect_controlling_terminal() for
10333 subprocesses, whether using ptys or not.
10334 * process.h: Remove old getpt-dependent PTY code.
10335 * process.c (Fprocess_send_signal): New, obvious generic function.
10336 (decode_signal): New.
10337 (Finterrupt_process):
10341 (Fcontinue_process):
10342 (Fsignal_process): Use decode_signal.
10343 (process_send_signal):
10344 Many docstring corrections.
10345 Allow any signal to be sent to a process object.
10346 * config.h.in: Add symbols for big signal/process overhaul.
10347 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10348 * sysproc.h: Include process-related headers, where available:
10349 sys/stropts.h sys/strtio.h pty.h libutil.h
10357 Remove old S&M pty stuff.
10358 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10359 * systty.h: Simplify cpp hackery, improve comments.
10360 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10362 * editfns.c (Fformat_time_string):
10363 Be a little more paranoid with the return value of ctime.
10365 * fileio.c (check_executable):
10367 Use symbolic constants X_OK, W_OK.
10369 * console-x.c (split_up_display_spec): Fix a warning.
10371 2000-10-02 Martin Buchholz <martin@xemacs.org>
10373 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10374 * ntproc.c (sys_spawnve): make_string ==> build_string
10375 Small clarity improvements.
10377 2000-09-30 Martin Buchholz <martin@xemacs.org>
10379 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10381 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10383 * config.h.in (HAVE_STRCASECMP): Remove.
10385 2000-09-29 Martin Buchholz <martin@xemacs.org>
10387 * redisplay-output.c (redisplay_output_pixmap):
10388 Cleaner and possibly more 64-bit correct code.
10390 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10392 * dumper.c (pdump_load_finish): move restoration of
10393 `noninteractive1' to emacs.c (main_1).
10394 * emacs.c (main_1): protect LISP-visible command-line flags
10397 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10399 * Makefile.in.in (versionclean): Use EXE_TARGET and
10400 DUMP_TARGET instead of literal program names.
10402 2000-09-20 Martin Buchholz <martin@xemacs.org>
10404 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10406 2000-09-19 Martin Buchholz <martin@xemacs.org>
10408 * *: Spelling mega-patch
10410 2000-09-19 Martin Buchholz <martin@xemacs.org>
10412 * fns.c (bad_bad_turtle):
10413 Delete "Eek!" comment, since we fixed the bug to which it refers.
10415 2000-09-16 Martin Buchholz <martin@xemacs.org>
10417 * alloca.c: Replace REGISTER with register.
10419 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10421 * file-coding.c (ucs_to_char): Use countof.
10423 2000-09-16 Martin Buchholz <martin@xemacs.org>
10425 * file-coding.c: (ucs_to_char):
10426 (complex_vars_of_file_coding):
10427 Use countof instead of sizeof.
10428 Use CHECK_NATNUM instead of CHECK_INT.
10430 * sysdep.c (strcasecmp): Remove.
10431 * device-x.c (ascii_strcasecmp): New.
10432 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10433 Avoid using non-standard non-portable strcasecmp.
10435 2000-09-16 Martin Buchholz <martin@xemacs.org>
10437 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10438 * font-lock.c: remove reference to emacsfns.h.
10439 * search.c: small doc improvement.
10440 * event-Xt.c: correct file names in comments.
10441 * console-x.h Correct file names in comments.
10442 * frame.c: Correct file names in comments.
10443 * event-stream.c: remove Energize from comments.
10445 2000-09-15 Martin Buchholz <martin@xemacs.org>
10447 * symeval.h (DEFERROR_STANDARD):
10450 (DEFSYMBOL_NO_DUMP):
10451 (DEFSYMBOL_MULTIWORD_PREDICATE):
10452 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10454 The construct &##name is not sensible C.
10455 Fixes compilation errors with Unixware native compiler.
10457 2000-09-14 Martin Buchholz <martin@xemacs.org>
10459 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10460 (next_frame_internal): Removed. We now just have next_frame.
10462 Write a simpler and cleaner one-pass algorithm.
10463 Remove called_from_delete_device arg and #ifdefed-out code.
10465 Renamed from prev_frame. Update callers.
10466 Cleaned up to have an analogous implementation to next_frame.
10467 (other_visible_frames_internal): Remove the
10468 called_from_delete_device bogus arg, and hence, remove this
10469 function. Just use other_visible_frames().
10471 * window.c (Fnext_window):
10472 Prettify docstring.
10473 Since next_frame() is guaranteed to return a frame, remove check
10474 for nil inserted in previous patch.
10475 (Fprevious_window):
10476 Prettify docstring.
10477 Make code look more like Fnext_window.
10479 Respect the `console' arg when iterating through windows.
10480 Fixes bug: (get-buffer-window buffer t device) not respecting
10482 This function needs more work, as others have pointed out.
10484 * frame.h: Rename prev_frame to previous_frame.
10485 device_matches_console_spec no longer takes a `frame' arg.
10490 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10491 From "Golubev I. N." <gin@mo.msk.ru>.
10493 * make-src-depend: Fix typo.
10495 2000-09-13 Martin Buchholz <martin@xemacs.org>
10497 * window.c (Fnext_window):
10498 next_frame() might return nil, not a frame.
10500 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10502 * frame.c (next_frame_internal):
10503 We've passed a frame if we've passed its device.
10505 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10506 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10508 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10510 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10511 Allow option to suppress accelerators in menu/dialog items.
10512 (populate_or_checksum_helper): Pass dialog title through above.
10514 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10516 * event-msw.c (mswindows_key_to_emacs_keysym):
10517 Add "pause" key, fix "menu" key.
10519 2000-09-09 Martin Buchholz <martin@xemacs.org>
10521 * eval.c (reinit_vars_of_eval):
10522 Increase max_lisp_eval_depth to 1000,
10523 required for thai-xtis.el to byte-compile under some circumstances.
10525 2000-09-04 Martin Buchholz <martin@xemacs.org>
10527 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10528 From Kenichi Handa.
10530 2000-09-01 Martin Buchholz <martin@xemacs.org>
10532 * make-src-depend: Make the generated Makefiles smaller.
10534 * s/hpux.h (SETUP_SLAVE_PTY):
10535 Provide a %d in the format string for the errno argument.
10537 * editfns.c (Ftemp_directory):
10539 Avoid buffer overrun on very long file name.
10541 * input-method-xlib.c (XIM_init_device):
10542 6th parameter of XRegisterIMInstantiateCallback has different
10543 pointer types on different OSes, so simply cast to (void *).
10545 * unexhp9k800.c: Warning fixes. Fiddly changes.
10547 * sysdll.c (dll_open):
10548 shl_load will hang hard if passed a NULL filename.
10549 Simply return NULL for compatibility with dlopen.
10550 * sysdll.c: Conform to XEmacs coding standards.
10552 * sysdep.c (get_pty_max_bytes):
10553 Support pty input lines longer than 512 bytes on HP-UX 10.20.
10555 2000-08-31 Martin Buchholz <martin@xemacs.org>
10557 * tooltalk.c: Add #include <syssignal.h>
10559 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
10561 * s/hpux.h: Don't use undefined function sigunblock().
10563 2000-08-31 Martin Buchholz <martin@xemacs.org>
10565 * config.h.in: Add HAVE_BALLOON_HELP.
10566 * emacs.c: Use HAVE_BALLOON_HELP.
10567 * Makefile.in.in (x_objs):
10568 Make Balloon Help conditional on finding shape.h.
10570 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
10572 * syntax.c (regex_emacs_buffer_p): New variable.
10573 * syntax.h (regex_emacs_buffer_p): extern.
10574 * search.c (looking_at_1):
10576 (fast_string_match):
10577 (search_buffer): Set regex_emacs_buffer_p.
10578 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
10579 when before_dot, at_dot, after_dot.
10581 2000-08-23 Andy Piper <andy@xemacs.org>
10583 * gui-x.c (popup_selection_callback): Only set action_occurred
10584 when we really have an image instance.
10585 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
10587 2000-08-23 Andy Piper <andy@xemacs.org>
10589 * gui-msw.c (mswindows_handle_gui_wm_command): set
10591 * gui-x.c (popup_selection_callback): ditto.
10593 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
10594 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
10595 (struct Lisp_Image_Instance): add action_occurred flag.
10597 * glyphs.c (redisplay_subwindow): use action_occurred flag.
10598 (image_instance_changed): ditto.
10599 (reset_frame_subwindow_instance_cache): only unmap windows - do
10600 not remove them from the cache also.
10602 * glyphs-widget.c (tab_control_update): better debug.
10603 (progress_gauge_update): ditto.
10604 (layout_update): ditto.
10605 (layout_instantiate): ditto.
10606 (tab_control_order_only_changed): cope with null pending items.
10608 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
10609 debug. Force selection of an item when an action occurred. Cope
10610 with null pending_items.
10611 (mswindows_progress_gauge_redisplay): better debug.
10612 * glyphs-x.c (x_tab_control_redisplay): ditto.
10614 * redisplay.c (redisplay_frame): reset the frame cache if the
10617 * window.c (Fset_window_configuration): potentially re-enable
10619 (window_unmap_subwindows): need to finalize instances here since
10620 it is only used in mark_window_as_deleted.
10622 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
10624 * nas.c (SndOpenDataForReading):
10625 nas.c (WaveOpenDataForReading):
10626 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
10627 Somehow escaped from the 2000-08-14 patch.
10629 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
10631 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
10632 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
10634 2000-08-21 Andy Piper <andy@xemacs.org>
10636 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
10637 window if it is not already displayed.
10639 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
10640 it is not already displayed.
10642 * window.c (Fset_window_configuration): don't reset the frame
10645 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
10646 instances from the frame cache if we are actually finalizing them.
10647 (reset_frame_subwindow_instance_cache): reset frame cache only
10648 after unmapping everything.
10649 (map_subwindow): set displayed flag after mapping.
10651 2000-08-21 Martin Buchholz <martin@xemacs.org>
10653 * data.c (indirect_function):
10654 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
10656 * eval.c (function_argcount):
10657 Use original function when signaling errors.
10659 2000-08-18 Andy Piper <andy@xemacs.org>
10661 * frame.c (delete_frame_internal): use new
10662 free_frame_subwindow_instances name.
10664 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
10665 (add_tab_item): make return type correct.
10666 (mswindows_tab_control_instantiate): assert index of tab.
10667 (mswindows_tab_control_redisplay): Re-code to use
10668 gui_item_equal_sans_selected and gui_item_list_find_selected.
10670 * glyphs-widget.c (tab_control_update): Correct comment.
10672 * window.c (window_unmap_subwindows): use new
10673 unmap_subwindow_instance_cache_mapper.
10674 (window_unmap_subwindows_cache_mapper): deleted.
10675 (Fset_window_configuration): comparisons should now be with
10676 EQ. Preserve the subwindow instance cache across configuration
10678 (allocate_window): ditto.
10679 (make_dummy_parent): ditto.
10681 * glyphs.c (free_frame_subwindow_instances): rename from
10682 free_frame_subwindow_instance_cache. finalize all instances rather
10683 than just those in the display cache.
10684 (finalize_all_subwindow_instances): walk windows unmapping and
10685 finalizing subwindows.
10686 (unmap_subwindow_instance_cache_mapper): moved from
10687 window.c. Allow finalization as well as unmapping.
10689 * gui.c (gui_item_list_find_selected): new function.
10691 * gui.h (gui_item_list_find_selected): declare.
10693 * glyphs-x.c (x_tab_control_redisplay): pick tab
10694 explicitly. Re-code to use gui_item_equal_sans_selected and
10695 gui_item_list_find_selected.
10697 * glyphs-x.h: add lwlib-utils.h
10699 * buffer.c (Frecord_buffer): undo previous change.
10701 2000-08-09 Vin Shelton <acs@xemacs.org>
10703 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10704 possible. Create temporary files more securely. The patch was
10705 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10706 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10707 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10710 2000-08-07 Ben Wing <ben@xemacs.org>
10712 * getloadavg.c: remove duplicate (and windows-breaking)
10713 includes of fcntl.h and sys/file.h.
10715 * nt.c: remove duplicate getloadavg() definition.
10717 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10720 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10722 * eval.c (function_argcount): If function needs to be autoloaded
10723 actually use the loaded definition.
10726 2000-08-05 Ben Wing <ben@xemacs.org>
10728 * getloadavg.c: add prototype for getloadavg(). remove
10729 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10730 of the code). remove duplicate header includes.
10732 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10734 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10735 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10736 useful load average.
10738 * alloc.c (reinit_alloc_once_early): removed references to
10739 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10740 the lisp vars are the only things referencing the malloc_sbrk_*
10741 vars, and they were already if 0'd out. these vars only exist
10742 in the older malloc.c, which is basically unused, and they're
10743 only for informational purposes.
10745 * m\*.h: removed useless VIRT_ADDR_VARIES.
10747 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10749 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10751 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10752 color if the image is a mono pixmap.
10754 2000-07-30 Ben Wing <ben@xemacs.org>
10756 * Makefile.in.in (release):
10759 * buffer.c (directory_is_current_directory):
10760 * dired-msw.c (mswindows_get_files):
10762 * dired.c (Fdirectory_files):
10763 * dired.c (file_name_completion_stat):
10764 * dired.c (Ffile_attributes):
10765 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10766 preprocessor tricks, to avoid problems on some machines
10769 * callproc.c (egetenv): GC docs.
10772 * console-msw.h (struct mswindows_dialog_id):
10773 * lrecord.h (lrecord_type):
10774 New object for use with MSW dialogs.
10776 * console.h (struct console_methods):
10777 New enable/disable frame methods, for proper modal dialogs.
10779 * device-msw.c (msprinter_default_printer): Fix to follow
10780 proper Mule conventions.
10783 * device-msw.c (signal_open_printer_error):
10784 * device-msw.c (msprinter_init_device):
10785 * device-msw.c (ensure_not_printing):
10786 * device-msw.c (plist_get_margin):
10787 * device-msw.c (Fmsprinter_select_settings):
10788 * device-msw.c (finalize_devmode):
10789 * device-msw.c (Fmsprinter_settings_despecialize):
10790 * device-msw.c (signal_enum_priner_error):
10791 * extents.c (decode_extent):
10792 * extents.c (decode_map_extents_flags):
10793 * extents.c (decode_extent_at_flag):
10794 * extents.c (Fextent_at):
10795 * extents.c (Fextents_at):
10796 * extents.c (symbol_to_glyph_layout):
10797 [[[[2]]]] Use structured errors.
10800 * dialog-msw.c (mswindows_is_dialog_msg):
10801 * dialog-msw.c (mark_mswindows_dialog_id):
10802 * dialog-msw.c (dialog_proc):
10803 * dialog-msw.c (handle_question_dialog_box):
10804 * dialog-msw.c (syms_of_dialog_mswindows):
10805 Define new object to clean up marking; use it as a dialog identifier.
10806 Call new delete-dialog-box-hook.
10808 * dialog-x.c (dbox_selection_callback):
10809 * dialog-x.c (dbox_descriptor_to_widget_value):
10810 * dialog-x.c (x_make_dialog_box_internal):
10811 Call new delete-dialog-box-hook.
10815 * dialog.c (syms_of_dialog):
10816 * dialog.c (vars_of_dialog):
10817 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10820 * eval.c (signal_call_debugger):
10821 when noninteractive, output stack traces on the console instead
10822 of in a (never-seen) buffer.
10824 * eval.c (signal_type_error):
10825 * eval.c (invalid_argument_2):
10827 new funs for use w/structured errors.
10830 * event-Xt.c (x_to_emacs_keysym):
10831 * event-Xt.c (describe_event):
10832 * event-Xt.c (emacs_Xt_event_handler):
10833 * event-Xt.c (vars_of_event_Xt):
10835 * event-msw.c (mswindows_wnd_proc):
10836 * event-msw.c (vars_of_event_mswindows):
10837 rename {x,mswindows}-debug-events to debug-{}-events for
10838 consistency with other debug-foo variables.
10841 document next-event more clearly.
10843 * fileio.c (Ffile_name_directory):
10844 * fileio.c (Ffile_name_nondirectory):
10845 * fileio.c (Funhandled_file_name_directory):
10846 * fileio.c (file_name_as_directory):
10847 * fileio.c (Ffile_name_as_directory):
10848 * fileio.c (directory_file_name):
10849 * fileio.c (Fdirectory_file_name):
10850 * fileio.c (Fmake_temp_name):
10851 * fileio.c (Ffile_truename):
10852 * fileio.c (Fsubstitute_in_file_name):
10853 * fileio.c (expand_and_dir_to_file):
10854 * fileio.c (barf_or_query_if_file_exists):
10855 * fileio.c (check_executable):
10856 * fileio.c (Ffile_exists_p):
10857 * fileio.c (Ffile_writable_p):
10858 * fileio.c (Ffile_directory_p):
10859 * fileio.c (Ffile_regular_p):
10860 * fileio.c (Ffile_modes):
10861 * fileio.c (Ffile_newer_than_file_p):
10862 * fileio.c (Fverify_visited_file_modtime):
10863 * fileio.c (Fset_visited_file_modtime):
10864 * fileio.c (auto_save_1):
10869 * frame-msw.c (mswindows_init_frame_1):
10870 * frame-msw.c (mswindows_enable_frame):
10871 * frame-msw.c (error_frame_unsizable):
10872 * frame-msw.c (msprinter_init_frame_1):
10873 * frame-msw.c (msprinter_init_frame_3):
10874 * frame-msw.c (console_type_create_frame_mswindows):
10876 implement new enable/disable frame methods.
10879 * frame-x.c (x_enable_frame):
10880 * frame-x.c (console_type_create_frame_x):
10881 implement new enable/disable frame methods.
10884 * frame.c (Fdisable_frame):
10885 * frame.c (syms_of_frame):
10886 * frame.h (struct frame):
10887 implement new enable/disable frame methods/functions.
10892 * glyphs-msw.c (mswindows_widget_instantiate):
10893 comment that initial-focus should be implemented.
10896 * glyphs-widget.c (check_valid_instantiator):
10897 * glyphs-widget.c (check_valid_orientation):
10898 * glyphs-widget.c (check_valid_tab_orientation):
10899 * glyphs-widget.c (check_valid_justification):
10900 * glyphs-widget.c (check_valid_border):
10901 * glyphs-widget.c (check_valid_callback):
10902 * glyphs-widget.c (check_valid_int_or_function):
10903 * glyphs-widget.c (check_valid_string_or_vector):
10904 * glyphs-widget.c (check_valid_item_list_1):
10905 * glyphs-widget.c (widget_validate):
10906 * glyphs-widget.c (combo_box_validate):
10907 * glyphs-widget.c (widget_instantiate):
10908 * glyphs-widget.c (syms_of_glyphs_widget):
10909 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10910 * glyphs-widget.c (image_instantiator_combo_box):
10911 * glyphs-widget.c (image_instantiator_scrollbar):
10912 * glyphs-widget.c (image_instantiator_tab_control):
10913 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10915 support (unimplemented) keyword initial-focus.
10916 reindent long macros.
10918 * glyphs-x.c (x_redisplay_widget):
10919 * glyphs-x.c (x_button_instantiate):
10920 * glyphs-x.c (x_button_redisplay):
10921 * glyphs-x.c (x_progress_gauge_instantiate):
10922 * glyphs-x.c (x_edit_field_instantiate):
10923 * glyphs-x.c (x_combo_box_instantiate):
10924 * glyphs-x.c (x_tab_control_instantiate):
10925 * glyphs-x.c (x_label_instantiate):
10927 * gui-x.c (button_item_to_widget_value):
10928 * gui-x.c (gui_items_to_widget_values_1):
10929 * gui-x.c (gui_item_children_to_widget_values):
10930 * gui-x.c (gui_items_to_widget_values):
10932 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10933 add new flag to gui-parsing routines to indicate whether
10934 accelerator specs should be supported.
10936 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10938 * glyphs.h (struct Lisp_Image_Instance):
10939 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10940 add initial-focus flag.
10943 * gui.c (syms_of_gui):
10944 * gui.c (vars_of_gui):
10945 clean up menu-no-selection-hook.
10948 support delete-dialog-box-hook.
10950 * lread.c (Fload_internal):
10951 * lread.c (locate_file_in_directory_mapper):
10955 * lrecord.h (struct toolbar_button):
10956 * lrecord.h (syms_of_toolbar):
10957 document how to create a new object.
10959 * menubar-msw.c (mswindows_char_is_accelerator):
10960 may be called on frames w/o menus.
10962 * menubar.c (vars_of_menubar):
10963 clean up :filter docs.
10970 * process-nt.c (validate_signal_number):
10971 * process-nt.c (signal_cannot_launch):
10972 * process-nt.c (nt_create_process):
10973 * process-nt.c (nt_send_process):
10974 * process-nt.c (nt_kill_child_process):
10975 * process-nt.c (nt_open_network_stream):
10976 * process-nt.c (syms_of_process_nt):
10978 delete quote-handling. call new lisp code that does it better.
10980 * process-unix.c (connect_to_file_descriptor):
10981 * process-unix.c (allocate_pty):
10982 * process-unix.c (unix_send_process):
10983 * process-unix.c (unix_kill_child_process):
10984 * process-unix.c (unix_open_network_stream):
10985 * process-unix.c (unix_open_multicast_group):
10989 * process.c (Fstart_process_internal):
10990 (2). need to canonicalize process path even if absolute.
10992 * select-msw.c (symbol_to_ms_cf):
10993 * select-msw.c (ms_cf_to_symbol):
10994 * select-msw.c (cf_is_autofreed):
10995 * select-msw.c (mswindows_destroy_selection):
10997 * select.c (syms_of_select):
10999 support dibv5, fix bugs. (from Mike Alexander)
11001 * select.c (Fget_selection_internal):
11002 * select.c (select_convert_out):
11005 * sysdep.c (xemacs_stat):
11008 * sysdep.c (mkdir):
11009 * sysdep.c (rmdir):
11010 but keep original stat() here because we provide encapsulation
11014 * sysfile.h (fstat):
11015 remove stat garbage.
11018 fix X/MSW conflict.
11019 don't include tchar.h. it's inappropriate because it makes
11020 compile-time distinctions when we want runtime distinctions.
11021 (we provide our own tchar replacements)
11024 use default object printer for toolbar-button.
11027 make sure we don't encapsulate.
11029 * window.c (vars_of_window):
11030 emphasize that temp-buffer-show-hook is obsolete.
11032 2000-08-05 Martin Buchholz <martin@xemacs.org>
11034 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11035 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11037 * events.c (Fevent_timestamp_lessp):
11038 Not 64-bit clean. Use EMACS_INT, not int.
11040 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11042 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11043 unsigned int and changed the last enum to
11044 lrecord_type_last_built_in_type.
11045 (lrecord_implementations_table): changed prototype to know how
11046 long the array is supposed to be.
11047 (lrecord_type_count): new unsigned int to keep track of the
11048 current number of lisp lrecord types.
11049 (DEFINE_EXTERNAL_LRECORD):
11050 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11051 dynamic-modules to declare new lisp types. They are the same
11052 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11053 int for each new type, and increment lrecord_type_count by 1.
11055 * alloc.c (lrecord_implementations_table): Changed to reference
11056 lrecord_type_last_built_in_type for the size of the array.
11057 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11059 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11061 * glyphs.h (check_valid_item_list): Renamed from
11062 check_valid_item_list_1.
11064 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11066 * select.c (Qselect_coerce): New.
11067 * select.c (Vselection_coercion_alist): New.
11068 * select.c (syms_of_select): Declare.
11069 * select.c (get-selection-internal): Use it.
11070 Use the new select-coerce functionality.
11072 * select.c (select_coerce): New.
11073 * select.h (select_coerce): Declare.
11074 New function to coerce one type of data into another.
11076 2000-08-03 Martin Buchholz <martin@xemacs.org>
11078 * callproc.c (Fcall_process_internal):
11079 (Fcall_process_internal):
11080 * process-unix.c (unix_create_process):
11081 Save and restore the value of errno, so that error messages are accurate.
11083 2000-08-01 Martin Buchholz <martin@xemacs.org>
11085 * elhash.c (print_hash_table):
11086 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11087 Prettify docstrings and indentation.
11089 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11091 * window.c (Fwindow_pixel_edges): Subtract frame border and
11094 2000-07-31 Andy Piper <andy@xemacs.org>
11096 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11097 will acknowledge the change.
11099 * glyphs.h: declare tab_control_order_only_changed.
11101 * glyphs-x.c (x_tab_control_redisplay): use
11102 tab_control_order_only_changed.
11104 * glyphs-widget.c (tab_control_order_only_changed): new function.
11106 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11107 tab_control_order_only_changed.
11109 * gui.c (gui_item_equal_sans_selected): new function.
11110 (gui_item_equal): use it.
11112 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11113 :properties in favor of :items..
11115 * glyphs-widget.c (check_valid_item_list): rename from
11116 check_valid_item_list_1.
11117 (check_valid_item_list_1): renamed.
11118 (combo_box_validate): deprecate :properties in favor of :items.
11119 (widget_instantiate): ditto.
11120 (tab_control_update): ditto.
11121 (image_instantiator_combo_box): ditto.
11122 (image_instantiator_tree_view): ditto.
11123 (image_instantiator_tab_control): ditto.
11124 (layout_post_instantiate): remove dead code.
11126 * print.c (debug_print_no_newline): only write to debugger if in
11129 * elhash.c (Fmake_hash_table): update doc string.
11131 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11132 messages whilst in GC. This at least stops XEmacs crashing but has
11133 the potential for wierd behaviour.
11135 2000-07-31 Martin Buchholz <martin@xemacs.org>
11138 Make existence of s&m files optional.
11140 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11141 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11142 * s/gnu.h: Remove HAVE_GETLOADAVG.
11143 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11144 * s/sol2.h: Remove HAVE_GETLOADAVG.
11145 * lisp.h: Remove getloadavg() declaration.
11147 Include <sys/loadavg.h> if available.
11148 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11149 * config.h.in: Group together getloadavg()-related macros.
11150 Use only configure-time tests to detect getloadavg().
11152 2000-07-30 Martin Buchholz <martin@xemacs.org>
11154 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11156 2000-07-25 Andy Piper <andy@xemacs.org>
11158 * syswindows.h: add tchar.h for native builds.
11160 * frame.c (syms_of_frame): remove set-glyph-image.
11162 * general-slots.h: add Qset_glyph_image.
11164 * glyphs-widget.c (layout_update): add domain arg to
11166 (syms_of_glyphs_widget): remove set-glyph-image.
11168 2000-07-23 Ben Wing <ben@xemacs.org>
11170 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11173 2000-07-22 Andy Piper <andy@xemacs.org>
11175 * symsinit.h: add syms_of_win32().
11177 * gui-msw.c (syms_of_gui_mswindows): remove
11178 Fmswindows_shell_execute.
11179 (Fmswindows_shell_execute): moved to win32.c.
11181 * emacs.c (main_1): add syms_of_win32 ().
11183 * win32.c (init_potentially_nonexistent_functions): rewrite in
11184 compiler-friendly terms.
11185 (Fmswindows_shell_execute): move here from gui-msw.c.
11186 (syms_of_win32): new.
11188 * device-msw.c (Fmswindows_printer_list): clean up args to
11190 Don't include tchar under cygwin or mingw.
11191 (msprinter_default_printer): make cygwin-friendly.
11193 2000-07-21 Andy Piper <andy@xemacs.org>
11195 * glyphs-widget.c (image_instantiator_tree_view): use tab
11196 control's update function.
11197 (layout_property): new function. Retrieve items.
11199 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11200 function. Re-populate the tree view from the pending items.
11202 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11203 is designated the parent if the domain is an image instance. This
11204 is needed so that dirtiness can be cascade up the hierarchy and
11205 thus for layout children to be redisplayed correctly.
11206 (allocate_image_instance): rename glyph -> parent.
11208 * redisplay.h: change redisplay_output_layout signature.
11210 * redisplay-msw.c (mswindows_output_display_block): use domain
11213 * redisplay-x.c (x_output_display_block): use domain arg.
11215 2000-07-10 Andy Piper <andy@xemacs.org>
11217 * window.c (Fset_window_configuration): add comment.
11219 * redisplay-output.c (compare_runes):
11220 (redisplay_output_subwindow): redisplay rather than update subwindow.
11221 (redisplay_output_layout): ditto.
11223 * redisplay-msw.c (mswindows_frame_output_end):
11224 (mswindows_frame_output_end): make defer window pos optional.
11226 * lisp.h: add Flast.
11228 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11229 normalize method. Change update method to be for changed
11230 instantiators. Add redisplay method. Change signature of layout
11232 (struct Lisp_Image_Instance): add instantiator.
11233 (IMAGE_INSTANCE_INSTANTIATOR): new.
11234 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11235 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11236 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11239 (find_instantiator_differences): new function.
11240 (Fset_instantiator_property): new convenience function.
11241 (check_image_instance_structure): strictly check for vector
11243 (normalize_image_instantiator): make non-static.
11244 (instantiate_image_instantiator): pass on dest_mask and use new
11245 signatures for image_instance_layout and friends.
11246 (mark_image_instance): mark the instantiator. Mark the subwindow
11247 face not the widget face.
11248 (image_instance_equal): add instantiator.
11249 (image_instance_hash): ditto.
11250 (allocate_image_instance): ditto.
11251 (Fset_image_instance_property): removed.
11252 (Fimage_instance_file_name): ditto.
11253 (Fcolorize_image_instance): ditto.
11254 (image_instance_layout): add offsets to be set.
11255 (update_image_instance): new function. update an image instance
11256 from its changed instantiator.
11257 (inherit_normalize): add dest_mask.
11258 (xbm_normalize): ditto.
11259 (xface_normalize): ditto.
11260 (xpm_normalize): ditto.
11261 (text_update): set_property -> update.
11262 (image_instantiate): use the glyph identity as a hash key, not the
11264 (glyph_width): use new image_instance_layout signature.
11265 (glyph_ascent): ditto.
11266 (glyph_descent): ditto.
11267 (glyph_height): ditto.
11268 (glyph_query_geometry): ressurrect.
11269 (glyph_layout): ditto.
11270 (redisplay_subwindow): update -> redisplay.
11271 (syms_of_glyphs): add Fset_instantiator_property.
11272 (image_instantiator_format_create): set_property -> update.
11275 (autodetect_normalize): add dest_maks to signature.
11276 (x_redisplay_subwindow): update -> redisplay.
11277 (x_redisplay_widget): ditto.
11278 (x_button_redisplay): ditto.
11279 (x_progress_gauge_redisplay): ditto.
11280 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11282 (console_type_create_glyphs_x): update -> redisplay.
11283 (image_instantiator_format_create_glyphs_x): ditto.
11286 (check_valid_instantiator): disallow glyphs in the instantiator,
11287 they must now be vectors.
11288 (check_valid_instantiator_list): ditto.
11289 (glyph_instantiator_to_glyph): use internal symbol rather than
11291 (widget_update): renamed from widget_set_property. Call cascaded
11293 (redisplay_widget): renamed from update_widget.
11294 (widget_layout): image_instance_layout now takes position as well
11296 (widget_normalize): ditto.
11297 (widget_instantiate): ditto.
11298 (tab_control_query_geometry) ditto.:
11299 (tab_control_update): renamed from tab_control_set_property.
11300 (progress_gauge_update): set_property -> update.
11301 (layout_normalize): rewrite so that child instantiators are
11303 (layout_update): new function. Create glyphs from the normalized
11304 children and cope with any other layout keywords. We do not
11305 instantiate children here that will be take care of by
11306 redisplay_output_layout.
11307 (layout_instantiate): call layout_update and not much else.
11308 (layout_post_instantiate): not sure whether this is needed
11310 (layout_query_geometry): query glyph geometry rather than
11311 image_instance geometry.
11312 (layout_layout): set offsets from pass in parameters. Use glyph
11313 geometry and layout functions rather than image instance ones.
11314 (native_layout_layout): ditto.
11315 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11316 (image_instantiator_widget): set_property -> update.
11317 (image_instantiator_buttons): ditto.
11318 (image_instantiator_progress_guage): ditto.
11319 (image_instantiator_tab_control): ditto.
11320 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11321 (image_instantiator_layout): add update method.
11323 * glyphs-msw.c (bmp_normalize):
11324 (mswindows_resource_normalize): add dest_mask so that it can be
11325 proprogated by layout_normalize.
11326 (begin_defer_window_pos): make optional because it may not be the
11327 right thing to do and it introduces differences with X.
11328 (mswindows_unmap_subwindow): ditto.
11329 (mswindows_map_subwindow): ditto.
11330 (mswindows_redisplay_subwindow): renamed from
11331 mswindows_update_subwindow.
11332 (mswindows_redisplay_widget): ditto.
11333 (mswindows_button_redisplay): renamed from
11334 mswindows_button_update. Update is now what the instantiation
11335 function does for a changed instantiator.
11336 (mswindows_progress_gauge_instantiate): set the progress value
11337 here if appropriate.
11338 (mswindows_tab_control_redisplay): cope with re-ordering of the
11339 members of the tab widget by simply selecting the new top
11340 widget. This makes things appear ok if you click on a tab.
11341 (mswindows_combo_box_instantiate): image_instance_layout now takes
11342 position as well as size.
11343 (mswindows_progress_gauge_redisplay): renamed from
11344 mswindows_progress_gauge_update.
11345 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11346 (image_instantiator_format_create_glyphs_mswindows): ditto.
11348 * glyphs-eimage.c (jpeg_normalize):
11351 (tiff_normalize): add dest_mask so that it can be proprogated by
11355 (print_hash_table):
11356 (hash_table_weakness_validate):
11357 (decode_hash_table_weakness):
11358 (Fhash_table_weakness):
11359 (Fhash_table_type):
11360 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11362 * console.h (struct console_methods): move update_* to
11365 2000-07-20 Ben Wing <ben@xemacs.org>
11367 * *.[ch] (XSETOBJ): remove unused middle argument.
11368 lisp-disunion.h: correct wrap_object() to one argument.
11370 2000-07-15 Ben Wing <ben@xemacs.org>
11373 * s/cygwin32.h (CYGWIN_CONV_PATH):
11374 Add missing logb prototype for v1.1.
11375 Use post-b20 names and alias to pre-b20 names when pre-b20.
11377 * s/windowsnt.h: [5].
11379 2000-07-15 Ben Wing <ben@xemacs.org>
11381 * Makefile.in.in (x_objs):
11382 * Makefile.in.in (sheap_objs):
11383 * Makefile.in.in (objs):
11384 added win32.o, cosmetic cleanups.
11386 * alloc.c (Fmake_byte_code):
11387 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11388 etc. macros which declare their own args now.
11390 * alloc.c (syms_of_alloc):
11391 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11394 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11396 * buffer.c (Fget_file_buffer):
11397 Fixed GCPRO problem.
11399 * buffer.c (get_truename_buffer):
11400 Fixed comment about GC checking.
11402 * buffer.c (syms_of_buffer):
11403 Undeclared those dedicated frame funs.
11407 Define convenience macros for internal/external conversions.
11408 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11409 and Qenvironment_variable_encoding for cleaner code.
11412 Remove dedicated-frame; in lisp.
11414 * bytecode.c (funcall_compiled_function):
11417 * bytecode.c (syms_of_bytecode):
11421 * console-msw.c (mswindows_show_console): Rewrote.
11423 * console-msw.c (Fmswindows_debugging_output): New.
11424 Sends to OutputDebugString (special MSWin debugger interface).
11426 * console-msw.c (Fmswindows_message_box):
11427 Fixed stupid bugs so it works when called from kill-emacs.
11429 * console-msw.c (syms_of_console_mswindows):
11430 Declare Fmswindows_debugging_output.
11433 New MSWin prototypes.
11435 * console-msw.h (struct mswindows_frame):
11436 New entry last-click-mods for improved button-modifier support.
11438 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11439 New struct entry `popup' with corresponding accessor.
11442 * console-x.c (split_up_display_spec):
11443 * console-x.c (get_display_arg_connection):
11444 * console-x.c (x_semi_canonicalize_console_connection):
11445 * console-x.c (x_canonicalize_device_connection):
11446 [[[6]]]: Change char to more specific type.
11447 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11449 * console-x.c (x_semi_canonicalize_console_connection):
11450 * console-x.c (x_canonicalize_device_connection):
11451 [[[9]]]: Fix up error signalling to use new structured error system.
11454 [[[4]]]: Define codesys aliases:
11455 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11456 Qx_color_name_encoding, Qx_display_name_encoding.
11458 * console.h (struct console_methods):
11459 New method make_dialog_box_internal supersedes older
11460 popup_dialog_box method.
11463 Define many new errors, part of new structured errors.
11465 * data.c (init_errors_once_early):
11466 * data.c (syms_of_data):
11469 * device-msw.c (mswindows_init_device):
11470 [[[5]]]: Cleanup to support NT 3.51.
11472 * device-msw.c (decode_devmode): Cleanup.
11474 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11475 * device-msw.c (mswindows_handle_print_dialog_box):
11476 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11477 * device-msw.c (syms_of_device_mswindows):
11478 Delete the dialog box primitives recently introduced by Kirill and
11479 instead interface to general dialog box interface.
11482 * device-x.c (compute_x_app_name):
11483 * device-x.c (x_init_device):
11484 * device-x.c (Fx_valid_keysym_name_p):
11485 * device-x.c (Fx_set_font_path):
11489 * device.h (wrap_device): New.
11490 First of its kind; meant to replace XSETDEVICE.
11492 * dialog-msw.c: Many file-dialog symbols.
11494 * dialog-msw.c (mswindows_register_popup_frame): New.
11495 * dialog-msw.c (mswindows_is_dialog_msg): New.
11496 For supporting kbd traversal in dialog boxes.
11498 * dialog-msw.c (dialog_proc):
11499 Support hitting ESC in dialogs.
11501 * dialog-msw.c (struct):
11502 Common dialog box errors.
11504 * dialog-msw.c (handle_file_dialog_box): New.
11505 Add file dialog code.
11507 * dialog-msw.c (handle_question_dialog_box):
11508 Redo existing code to support new question dialog syntax.
11510 * dialog-msw.c (console_type_create_dialog_mswindows):
11511 We support new dialog console method.
11513 * dialog-msw.c (syms_of_dialog_mswindows):
11514 * dialog-msw.c (vars_of_dialog_mswindows):
11515 New file dialog symbols, vars.
11518 * dialog-x.c (maybe_run_dbox_text_callback):
11519 * dialog-x.c (dbox_descriptor_to_widget_value):
11520 * dialog-x.c (x_make_dialog_box_internal):
11521 * dialog-x.c (console_type_create_dialog_x):
11522 Mule-ize entire file.
11523 Redo to support question dialog syntax.
11527 * dialog.c (Fmake_dialog_box_internal):
11528 * dialog.c (syms_of_dialog):
11529 Kill old popup-dialog-box, replace with new primitive.
11530 Just call device method or signal error.
11532 * eldap.c (Fldap_open):
11533 * eldap.c (Fldap_search_basic):
11534 * eldap.c (Fldap_add):
11535 * eldap.c (Fldap_modify):
11540 * emacs.c (make_arg_list_1):
11541 * emacs.c (make_arg_list):
11542 Mule-ize call to dll_init().
11546 * emacs.c (make_argc_argv):
11547 * emacs.c (free_argc_argv):
11548 * emacs.c (init_cmdargs):
11549 * emacs.c (main_1):
11550 * emacs.c (Fkill_emacs):
11551 * emacs.c (Fdump_emacs):
11552 Update comments about what can be used in syms_* etc.
11553 Call init_win32() when necessary.
11554 Fix up MS Win dialog box in kill-buffer to actually work right.
11565 * eval.c (condition_case_3):
11567 * eval.c (function_argcount):
11568 * eval.c (funcall_lambda):
11571 * eval.c (type_error): New.
11572 * eval.c (maybe_type_error): New.
11573 * eval.c (continuable_type_error): New.
11574 * eval.c (maybe_continuable_type_error): New.
11575 * eval.c (type_error_with_frob): New.
11576 * eval.c (maybe_type_error_with_frob): New.
11577 * eval.c (continuable_type_error_with_frob): New.
11578 * eval.c (maybe_continuable_type_error_with_frob): New.
11579 New functions for use with structured errors.
11582 * event-Xt.c (x_event_to_emacs_event):
11583 Buttons are now modifiers too.
11585 * event-Xt.c (emacs_Xt_current_event_timestamp):
11586 Implement new event method.
11587 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
11590 * event-msw.c (ntpipe_shove_writer): [5].
11591 * event-msw.c (mswindows_enqueue_mouse_button_event):
11592 * event-msw.c (mswindows_drain_windows_queue):
11593 * event-msw.c (mswindows_wnd_proc): [7].
11594 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
11595 * event-msw.c (mswindows_modifier_state):
11596 Throughout: support new button modifiers.
11598 * event-msw.c (emacs_mswindows_current_event_timestamp):
11599 Implement new event method.
11600 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
11603 * event-stream.c (event_stream_current_event_timestamp): New.
11604 * event-stream.c (maybe_kbd_translate): New functionality.
11605 * event-stream.c (vars_of_event_stream):
11606 Document new kbd-translate-table functionality.
11608 * event-stream.c (Fcurrent_event_timestamp): New.
11609 New primitive for use in fabricated events.
11610 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
11612 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
11615 * events.c (Fmake_event):
11616 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
11620 * events.c (format_event_object): fix gcc warnings.
11622 * events.c (Fevent_timestamp): Document new primitives.
11624 * events.c (TIMESTAMP_HALFSPACE): New.
11626 * events.c (Fevent_timestamp_lessp): New. New primitive for
11627 comparing timestamps correctly (half-space algorithm).
11629 * events.c (Fevent_modifier_bits): Doc fix.
11631 * events.c (Fevent_modifiers): Major doc addition.
11632 * events.c (event_x_y_pixel_internal): Typo fix.
11633 * events.c (syms_of_events): Declare new primitives.
11636 Update long comment for button modifiers, timestamps.
11638 * events.h (struct event_stream):
11639 New current_event_timestamp method.
11642 * extents.c (extent_in_region_p):
11643 * extents.c (decode_extent):
11644 * extents.c (Fset_extent_parent):
11645 * extents.c (decode_map_extents_flags):
11649 * extents.c (struct extent_at_arg):
11650 * extents.c (decode_extent_at_flag):
11651 * extents.c (extent_at_mapper):
11652 * extents.c (extent_at_bytind):
11653 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
11654 * extents.c (Fextents_at): New primitive. [9].
11655 * extents.c (symbol_to_glyph_layout): [9].
11656 Support new primitive `extents-at'.
11659 * extents.c (get_text_property_bytind):
11660 extent_at_bytind has another arg.
11663 * extents.c (syms_of_extents): New primitive.
11665 * file-coding.c (Fmake_coding_system): [1].
11666 * file-coding.c (subsidiary_coding_system): fix gcc warning
11667 * file-coding.c (syms_of_file_coding): [2].
11669 * fileio.c (Fexpand_file_name):
11670 * fileio.c (Fsysnetunam):
11671 * fileio.c (Ffile_exists_p):
11672 * fileio.c (Ffile_executable_p):
11673 * fileio.c (Fverify_visited_file_modtime):
11676 * fileio.c (syms_of_fileio): [2].
11678 * filelock.c (lock_file_1):
11679 * filelock.c (current_lock_owner):
11680 * filelock.c (lock_if_free):
11681 * filelock.c (lock_file):
11682 * filelock.c (unlock_file):
11685 * fns.c (concat): Fix gcc warning.
11688 * fns.c (Fold_member):
11690 * fns.c (Fold_memq):
11691 * fns.c (memq_no_quit):
11693 * fns.c (Fold_assoc):
11695 * fns.c (Fold_assq):
11696 * fns.c (assq_no_quit):
11698 * fns.c (Fold_rassoc):
11700 * fns.c (Fold_rassq):
11701 * fns.c (rassq_no_quit):
11703 * fns.c (Fold_delete):
11705 * fns.c (Fold_delq):
11706 * fns.c (delq_no_quit):
11707 * fns.c (Fremassoc):
11708 * fns.c (Fremassq):
11709 * fns.c (remassq_no_quit):
11710 * fns.c (Fremrassoc):
11711 * fns.c (Fremrassq):
11712 * fns.c (remrassq_no_quit):
11713 * fns.c (Freverse):
11717 * frame-msw.c (mswindows_init_frame_1):
11718 * frame-msw.c (mswindows_delete_frame):
11719 Register popups with dialog code so keyboard traversing works.
11721 * frame-tty.c (tty_raise_frame_no_select): [1].
11724 * frame-x.c (x_set_frame_text_value):
11725 * frame-x.c (x_set_frame_properties):
11726 * frame-x.c (x_create_widgets):
11730 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11732 * frame.h (wrap_frame): New.
11733 Macro like wrap_device.
11736 * general.c (SYMBOL):
11737 * general.c (syms_of_general):
11738 Major reorg. This is now just a wrapper and symbols themselves
11739 are listed in general-slots.h.
11741 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11742 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11744 * glyphs-msw.c (mswindows_native_layout_instantiate):
11745 Add DS_CONTROL so keyboard traversal will work.
11748 * glyphs-widget.c (syms_of_glyphs_widget):
11749 Move some symbols to general-slots.h.
11752 * glyphs-x.c (xbm_instantiate_1):
11753 * glyphs-x.c (x_xbm_instantiate):
11754 * glyphs-x.c (x_xface_instantiate):
11755 * glyphs-x.c (autodetect_instantiate):
11756 * glyphs-x.c (cursor_font_instantiate):
11757 * glyphs-x.c (x_update_widget):
11758 * glyphs-x.c (x_widget_instantiate):
11759 * glyphs.c (bitmap_to_lisp_data):
11760 * glyphs.c (pixmap_to_lisp_data):
11763 * glyphs.c (syms_of_glyphs):
11767 * gui-x.c (print_widget_value):
11768 * gui-x.c (menu_separator_style_and_to_external):
11769 * gui-x.c (add_accel_and_to_external):
11770 * gui-x.c (button_item_to_widget_value):
11771 * gui-x.c (gui_items_to_widget_values_1):
11772 * gui-x.c (gui_items_to_widget_values):
11773 * gui-x.c (syms_of_gui_x):
11774 * gui-x.c (vars_of_gui_x):
11775 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11779 Muleize, prototype changes matching gui-x.c.
11782 * gui.c (separator_string_p):
11783 * gui.c (gui_item_add_keyval_pair):
11784 * gui.c (make_gui_item_from_keywords_internal):
11785 * gui.c (signal_too_long_error):
11786 * gui.c (parse_gui_item_tree_item):
11787 * gui.c (syms_of_gui):
11788 * gui.c (vars_of_gui):
11790 menu-no-selection-hook moved here (used by MSWin).
11791 Move some symbols to general-slots.h.
11795 * insdel.c (get_buffer_pos_char):
11796 * insdel.c (get_buffer_range_char):
11799 * keymap.c (keymap_lookup_directly):
11800 * keymap.c (keymap_store):
11801 * keymap.c (ensure_meta_prefix_char_keymapp):
11802 * keymap.c (describe_map):
11804 Support new button modifiers.
11806 * lisp-disunion.h (wrap_object):
11807 * lisp-disunion.h (XSETOBJ):
11808 Rename make_obj to wrap_object.
11811 * lisp-union.h (make_int):
11812 * lisp-union.h (make_char):
11813 Support wrap_object.
11816 * lisp.h (LIST_LOOP):
11817 * lisp.h (EXTERNAL_LIST_LOOP):
11818 * lisp.h (LIST_LOOP_2):
11819 * lisp.h (EXTERNAL_LIST_LOOP_1):
11820 * lisp.h (EXTERNAL_LIST_LOOP_2):
11821 * lisp.h (EXTERNAL_LIST_LOOP_3):
11822 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11823 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11824 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11825 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11826 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11827 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11828 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11829 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11830 * lisp.h (struct Lisp_Symbol):
11831 * lisp.h (maybe_continuable_error_with_frob):
11832 Fix up section comments.
11833 Add new types for char to indicate usage.
11834 Delete symbols auto-generated from general-slots.h.
11835 Add prototypes for structured error functions.
11836 Add long comments describing looping macros and change interface
11837 so that lvalues are automatically declared.
11838 Add NO_DECLARE macro in case callers want to declare lvalues
11841 * lread.c (read_syntax_error):
11842 * lread.c (continuable_read_syntax_error):
11843 * lread.c (read_structure):
11844 * lread.c (sequence_reader):
11845 * lread.c (read_list_conser):
11846 * lread.c (read_compiled_function):
11847 Rename syntax_error and continuable_syntax_error to avoid clash
11848 with same-named structured error functions.
11850 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11851 * menubar-msw.c (populate_menu_add_item):
11852 * menubar-msw.c (populate_or_checksum_helper):
11857 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11858 Mule-ize whole file.
11860 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11862 * mule-charset.c (Fmake_charset):
11863 * mule-wnnfns.c (Fwnn_set_param):
11866 * ntproc.c (create_child):
11867 * ntproc.c (Fwin32_set_current_locale):
11868 Add comments portending doom.
11871 * objects-msw.c (old_font_enum_callback_2):
11872 * objects-msw.c (font_enum_callback_1):
11873 * objects-msw.c (mswindows_enumerate_fonts):
11877 * objects-x.c (allocate_nearest_color):
11878 * objects-x.c (x_parse_nearest_color):
11879 * objects-x.c (x_initialize_color_instance):
11880 * objects-x.c (x_print_color_instance):
11881 * objects-x.c (x_finalize_color_instance):
11882 * objects-x.c (x_valid_color_name_p):
11883 * objects-x.c (x_initialize_font_instance):
11884 * objects-x.c (x_print_font_instance):
11885 * objects-x.c (valid_x_font_name_p):
11886 * objects-x.c (truename_via_FONT_prop):
11887 * objects-x.c (truename_via_random_props):
11888 * objects-x.c (truename_via_XListFonts):
11889 * objects-x.c (x_font_truename):
11890 * objects-x.c (x_font_instance_truename):
11891 * objects-x.c (x_font_instance_properties):
11892 * objects-x.c (x_list_fonts):
11893 * objects-x.c (x_find_charset_font):
11894 Mule-ize entire file.
11901 * print.c (std_handle_out_external):
11902 * print.c (debug_print_no_newline):
11903 * print.c (syms_of_print):
11904 Output to all debugger kinds in debug-print.
11905 Fix console-output code under MSWin to actually work.
11907 * process-nt.c (send_signal):
11908 * process-nt.c (nt_create_process):
11909 Use newer Unicode macros.
11911 * process-unix.c (unix_create_process):
11912 * process-unix.c (unix_canonicalize_host_name):
11913 * process-unix.c (unix_open_network_stream):
11919 * search.c (syms_of_search):
11922 * select-msw.c (mswindows_destroy_selection):
11925 * select-x.c (symbol_to_x_atom):
11928 * select.c (syms_of_select):
11931 * sound.c (Fplay_sound_file):
11935 * specifier.c (decode_specifier_type):
11936 * specifier.c (Fvalid_specifier_locale_type_p):
11937 * specifier.c (check_valid_locale_or_locale_type):
11938 * specifier.c (decode_locale):
11939 * specifier.c (decode_locale_type):
11940 * specifier.c (decode_locale_list):
11941 * specifier.c (check_valid_domain):
11942 * specifier.c (decode_specifier_tag_set):
11943 * specifier.c (Fcanonicalize_tag_set):
11944 * specifier.c (Fdefine_specifier_tag):
11945 * specifier.c (Fspecifier_tag_predicate):
11946 * specifier.c (check_valid_inst_list):
11947 * specifier.c (check_valid_spec_list):
11948 * specifier.c (decode_how_to_add_specification):
11949 * specifier.c (check_modifiable_specifier):
11950 * specifier.c (specifier_add_spec):
11951 * specifier.c (boolean_validate):
11952 * specifier.c (display_table_validate):
11955 * specifier.c (syms_of_specifier):
11956 Move some symbols to general-slots.h.
11960 * symbols.c (Fmapatoms):
11961 * symbols.c (Fapropos_internal):
11964 * symbols.c (set_default_buffer_slot_variable):
11965 * symbols.c (set_default_console_slot_variable):
11968 * symbols.c (defsymbol_massage_name_1):
11969 * symbols.c (defkeyword_massage_name):
11970 * symbols.c (deferror_1):
11971 * symbols.c (deferror):
11972 * symbols.c (deferror_massage_name_and_message):
11974 * symeval.h (DEFSYMBOL):
11975 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11977 * symbols.c (syms_of_symbols):
11981 * symsinit.h (init_win32): New.
11982 Also new is syms_of_dialog_mswindows.
11985 Add new Unicode macros, missing Cygwin wide-char functions,
11986 convenience conversion macros for Qmswindows_tstr, macros for
11987 encapsulating required MSWin <-> Cygwin filename conversions,
11988 prototype for dynamically-extracted (not in NT 3.51) functions.
11993 * tooltalk.c (Fadd_tooltalk_message_arg):
11994 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11995 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11998 * tooltalk.c (syms_of_tooltalk):
12002 * unexnt.c (unexec):
12003 Fix up headers, declaration of unexec() to be more standard.
12005 2000-07-20 Martin Buchholz <martin@xemacs.org>
12007 * offix.h: Revert change to guard macros - they're used in offix.c!
12009 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12011 * lisp.h: Defsubred Fdelete.
12013 * console-msw.h: (msprinter_default_printer): Added.
12015 * console-msw.c (msprinter_canonicalize_console_connection):
12016 (msprinter_canonicalize_device_connection): Added.
12018 * device-msw.c (msprinter_default_printer):
12019 (Fmswingows_get_default_printer):
12020 (signal_enum_priner_error):
12021 (Fmswingows_printer_list): Added.
12023 2000-07-19 Martin Buchholz <martin@xemacs.org>
12025 * XEmacs 21.2.35 is released.
12027 2000-07-19 Martin Buchholz <martin@xemacs.org>
12029 * select-x.c (x_handle_selection_request):
12030 Text selected in xemacs and pasted into xterm failed to appear.
12031 Spelling fixes and cosmetic changes.
12033 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12035 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12036 XEmacs frame (fix for doubling chars in dialog boxes).
12038 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12040 * select.c (select_convert_in, select_convert_out):
12041 Don't call intern() every time.
12043 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12044 * select.c (vars_of_select): Initialise them.
12046 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12048 * select.c (selection-coercible-types): New.
12050 * select.c (own-selection-internal):
12051 * select.c (get-selection-internal):
12052 MULE bug fix - these should default to COMPOUND_TEXT and not
12053 STRING for MULE. I think.
12055 * select.c (select_convert_out): Use selection-coercible-types
12056 to find types that we can attempt to perform coercions on.
12058 2000-07-18 Martin Buchholz <martin@xemacs.org>
12062 Add coding: cookie to identify encoding.
12064 * mule-canna.c (CANNA_mode_keys): make static.
12065 Use proper prototypes, even for functions of no arguments.
12066 Remove external prototype for Fding().
12068 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12070 * select.c (syms_of_select): Add missing DEFSUBR.
12072 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12074 * select.c (get_selection_internal, own_selection_internal):
12075 Make the type default to STRING, rather than placing a nil type
12076 into Vselection_alist.
12078 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12080 * gpmevent.c (tty_selection_exists_p):
12081 * gpmevent.c (tty_own_selection):
12082 Updated parameter lists.
12084 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12086 * select.h (selection-alist): Removed declaration.
12088 * select.h (get_local_selection):
12089 * select.c (get_local_selection):
12092 * select.h (convert_selection): Removed declaration.
12093 * select.c (convert_selection): Removed.
12094 This function belongs in Lisp.
12096 * select.h (select_convert_in): Declare.
12097 * select.h (select_convert_out): Declare.
12098 * select.c (select_convert_in): New.
12099 * select.c (select_convert_out): New.
12100 New conversion functions for other files to call.
12102 * select.h (select_notify_buffer_kill): Declare.
12103 * select.c (select_notify_buffer_kill): New.
12104 New functions that get called from kill-buffer.
12106 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12107 X-specific lisp code.
12109 * select.h: Declare some of the lisp-visible functions for
12112 * select.c (clean_local_selection_data): Removed. This was
12113 a disgusting function, and previously should have been in
12114 select-x.c in any case. The functionality is now provided
12115 in select-convert-from-integer (select.el).
12117 * select.c (available-selection-types): Fixed stupidity where
12118 INTEGER and ATOM got added twice. Also add STRING when we see an
12121 * select.c (get-selection-internal): Removed symbol stripping. No
12122 longer causes conversion when data comes from the internal cache.
12124 * select.c (syms_of_select): Added new functions.
12126 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12127 error checking - previously this called abort!
12129 * select-x.c (x_own_selection): Changed comment.
12131 * select-x.c (x_handle_selection_request): Use select_convert_out.
12132 Don't mess with selection-alist; it's an internal variable of select.c.
12134 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12136 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12137 rather than messing with selection-alist.
12139 * select-msw.c (mswindows_get_foreign_selection):
12140 Use TO_INTERNAL_FORMAT rather than hacking.
12142 2000-07-14 Martin Buchholz <martin@xemacs.org>
12144 * process-unix.c (unix_open_multicast_group):
12145 (unix_open_multicast_group): Remove useless casts.
12147 2000-07-13 Martin Buchholz <martin@xemacs.org>
12149 * sound.c (Fplay_sound): Fix `unused variable' warning.
12151 * emacs.c (main): Use correct type for _environ on SCO5.
12153 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12155 * console.h (own_selection_method):
12156 * console.h (selection_exists_p_method):
12157 * console.h (available_selection_types_method): New.
12158 * console.h (register_selection_data_type_method): New.
12159 * console.h (selection_data_type_name): New.
12161 * console-msw.h (mswindows_destroy_selection): Declare it. New
12162 function & alist to track GlobalAlloc()'d handles that need
12163 releasing when the clipboard data gets replaced or emptied.
12165 * event-msw.c (mswindows_wnd_proc): Call it.
12167 * lisp.h, general.c (Qappend): New symbol representing a
12170 * select.c (own-selection-internal):
12171 * select.c (selection-exists-p):
12172 * select.c (available-selection-types): New.
12173 * select.c (register-selection-data-type): New.
12174 * select.c (selection-data-type-name): New. New functions to deal
12175 with device-specific selection data formats.
12176 * select.c (selection-converter-out-alist): Renamed.
12177 * select.c (selection-converter-in-alist): New.
12178 * select.c (selection-appender-alist): New. Added new alists.
12179 * select.c (syms_of_select, vars_of_select): Added new symbols &
12181 * select.c (get_local_selection): Split.
12182 * select.c: Removed spurious type checking - selections may now be
12183 of any type, not just strings.
12184 * select.c (own-selection-internal):
12186 * select.h, select.c (convert_selection): New. Created
12187 convert_selection() function based on get_local_selection().
12188 * select.h, select.c (QCF_*): New symbols representing mswindows
12190 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12191 symbols representing `how-to-add' modes.
12193 * select-msw.c (x_sym_p): New.
12194 * select-msw.c (symbol_to_ms_cf): New.
12195 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12196 symbols & clipboard formats. Can also handle string names.
12197 * select-msw.c (mswindows_own_selection):
12198 * select-msw.c (mswindows_selection_exists_p):
12199 Added `data-type' parameter. Use it.
12200 * select-msw.c (mswindows_available_selection_types): New.
12201 * select-msw.c (mswindows_register_selection_data_type): New.
12202 * select-msw.c (mswindows_selection_data_type_name): New.
12203 * select-msw.c (mswindows_own_selection):
12204 * select-msw.c (mswindows_get_foreign_selection):
12205 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12206 * select-msw.c (console_create_select_mswindows): Added new methods.
12207 * select-msw.c (mswindows_destroy_selection): New.
12208 * select-msw.c (Vhandle_alist): New list.
12209 * select-msw.c (mswindows_own_selection):
12211 * select-x.c (x_own_selection):
12212 * select-x.c (x_selection_exists_p):
12213 * select-x.c: Added some comments about maybe using new
12215 * select-x.c (x_own_selection):
12217 * specifier.c: Remove definition of Qappend (now in general.c)
12218 * specifier.c (syms_of_specifier): Remove Qappend.
12220 2000-07-12 Martin Buchholz <martin@xemacs.org>
12222 * config.h.in: Add socklen_t.
12224 * s/decosf4-0.h: No special compiler flags needed or desired.
12225 In particular, undefine _BSD for DEC OSF 4.0.
12227 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12229 * redisplay-msw.c (msprinter_frame_output_end): Added.
12230 (console_type_create_redisplay_mswindows): Referred the above.
12232 * frame.c (setup_frame_without_minibuffer): Do not create a
12233 default minibuffer frame on a printer device.
12235 * frame-msw.c (apply_dc_geometry): Added.
12236 (msprinter_start_page):
12237 (msprinter_init_frame_3):
12238 (msprinter_eject_page): Use it.
12240 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12241 and removed residual duplex and orientation properties.
12243 2000-07-11 Martin Buchholz <martin@xemacs.org>
12245 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12247 * unexalpha.c: Remove system prototypes from C sources!
12249 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12251 * eval.c: Remove references to M-x edit-options in DEFUNs for
12252 `defvar' and `defconst'.
12254 2000-07-09 Martin Buchholz <martin@xemacs.org>
12256 * config.h.in: Remove SMART_INCLUDE hackery.
12258 PostgreSQL hacking:
12259 * config.h.in: Don't use SMART_INCLUDE.
12261 * postgresql.h: Include libpq-fe.h here. Fix typo.
12262 * inline.c: Simply #include "postgresql.h"
12264 - Don't use SMART_INCLUDE
12265 - Use simply "const".
12266 - Use standard doc string conventions.
12267 - Use correct type for result of PQstatus.
12269 2000-07-09 Martin Buchholz <martin@xemacs.org>
12271 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12273 C++ compilation changes.
12274 * config.h.in (EXTERN_C): Define.
12275 * config.h.in (not): This is also a C++ keyword.
12276 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12277 * cm.c: Use EXTERN_C.
12278 * redisplay-tty.c: Use EXTERN_C.
12279 * sysdep.c: Use EXTERN_C. Remove Gould support.
12281 2000-07-09 Martin Buchholz <martin@xemacs.org>
12283 * general.c: Remove duplicate definition for Qfunction.
12285 2000-07-08 Ben Wing <ben@xemacs.org>
12287 * device-msw.c (msprinter_init_device):
12288 * device-msw.c (sync_printer_with_devmode):
12289 * device-msw.c (handle_devmode_changes):
12290 * device-msw.c (print_dialog_worker):
12291 * device-msw.c (Fmsprinter_apply_settings):
12292 * device-msw.c (hash_devmode):
12293 * device-msw.c (Fmsprinter_settings_despecialize):
12294 use Qmswindows_tstr, not Qctext.
12296 * vm-limit.c (check_memory_limits):
12297 avoid infinite loop printing warning messages.
12299 2000-07-05 Craig Lanning <lanning@scra.org>
12301 * Makefile.in.in: Add support for including the Windows resources
12302 when building with the cygwin and mingw targets.
12304 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12305 not set or not correct.
12306 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12307 (init_initial_directory): Don't try to use $PWD on the
12308 WIN32_NATIVE target.
12311 [[Add -mwindows to eliminate console window.]] not required --ben
12312 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12313 (MAIL_USE_POP): removed; now handled by configure.
12315 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12316 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12317 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12318 (MAIL_USE_POP): removed; now handled by configure.
12319 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12320 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12321 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12323 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12324 up from <winsock.h> via systime.h.
12325 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12326 (getpagesize): from Dan Holmsand, added.
12327 Added #endif which was left dangling by Ben's mega patch; added
12328 comment to help prevent this in the future.
12330 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12332 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12334 * console-msw.h (struct mswindows_device): Removed unnecessary
12335 cached device geometry values.
12336 Added update_tick and an accessor macro.
12337 (Lisp_Devmode): Added lrecord declaration.
12338 (struct msprinter_device): Contain devmode as a Lisp object.
12339 Added mswindows_get_selected_frame_hwnd();
12341 * console.h (struct console_methods): Indentation nitpicking.
12343 * device-msw.c (mswindows_init_device): Do not initialize geometry
12344 cache. Initialize update tick.
12345 (mswindows_device_system_metrics): Ask the device for its geometry.
12346 (global_free_2_maybe):
12347 (devmode_to_hglobal):
12348 (handle_printer_changes):
12349 (ensure_not_printing):
12350 (print_dialog_worker):
12351 (Fmsprinter_print_setup_dialog):
12352 (Fmsprinter_print_dialog):
12353 (plist_get_margin):
12354 (plist_set_margin):
12355 (Fmsprinter_page_setup_dialog): Added functions.
12356 (sync_printer_with_devmode):
12357 (handle_devmode_changes):
12358 (Fmsprinter_get_settings):
12359 (Fmsprinter_select_settings):
12360 (Fmsprinter_apply_settings):
12361 (allocate_devmode):
12362 (Fmsprinter_settings_copy):
12363 (Fmsprinter_settings_despecialize):
12365 (finalize_devmode):
12367 (hash_devmode): Added functions
12368 (syms_of_device_mswindows): Init devmode lrecord class.
12370 * device.h: Added an exfun for find-device.
12372 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12373 geometry; although, recreate the device compatible DC.
12375 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12376 (msprinter_init_frame_3):
12377 (msprinter_frame_property):
12378 (msprinter_internal_frame_property_p):
12379 (msprinter_frame_properties):
12380 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12381 print job properties (will move to device settings).
12383 * lisp.h: Added symbols.
12385 * general.c (syms_of_general): Declared them.
12387 * hash.c (string_hash): Added.
12389 * lrecord.h (lrecord_type): Added devmode lrecord type.
12391 2000-07-02 Mike Sperber <mike@xemacs.org>
12393 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12396 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12398 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12401 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12403 * data.c (Fstring_to_number): Don't recognize floating point if
12406 2000-06-22 Martin Buchholz <martin@xemacs.org>
12408 * glyphs-widget.c (tab_control_query_geometry):
12409 (widget_query_geometry):
12410 (button_query_geometry):
12411 * glyphs.c (text_query_geometry):
12412 Enforce type correctness.
12414 2000-06-18 Martin Buchholz <martin@xemacs.org>
12416 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12417 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12419 2000-06-17 Martin Buchholz <martin@xemacs.org>
12421 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12422 conflicts with gcc's fixincluded version of FOO.h.
12424 * glyphs.h (image_instance_geometry): Remove trailing `,'
12426 2000-06-08 Mike Alexander <mta@arbortext.com>
12428 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12429 (shove_thread): Don't write the same output twice
12430 (make_ntpipe_output_stream): Increase priority of shove thread
12431 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12433 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12436 2000-06-12 Ben Wing <ben@xemacs.org>
12438 * s\mingw32.h (sigset):
12439 * s\windowsnt.h (sigset):
12440 rename msw_ to mswindows_ for consistency with general convention.
12442 2000-06-12 Ben Wing <ben@xemacs.org>
12445 * console-msw.c (mswindows_get_console_hwnd):
12446 * console-msw.c (mswindows_ensure_console_allocated):
12447 * console-msw.c (mswindows_hide_console):
12448 * console-msw.c (mswindows_show_console):
12449 * console-msw.c (mswindows_ensure_console_buffered):
12450 * console-msw.c (mswindows_output_console_string):
12451 * console-msw.c (mswindows_windows9x_p):
12453 * device-msw.c (mswindows_get_workspace_coords):
12454 * device-msw.c (mswindows_device_system_metrics):
12455 * dialog-msw.c (mswindows_popup_dialog_box):
12456 * event-msw.c (mswindows_wnd_proc):
12457 * frame-msw.c (mswindows_size_frame_internal):
12458 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12459 * menubar-msw.c (displayable_menu_item):
12460 * menubar-msw.c (mswindows_char_is_accelerator):
12462 * nt.c (mswindows_sigset):
12463 * nt.c (mswindows_sigrelse):
12464 * nt.c (mswindows_sigpause):
12465 * nt.c (mswindows_raise):
12466 * nt.c (timer_proc):
12468 * ntproc.c (find_child_console):
12469 * ntproc.c (sys_kill):
12471 * print.c (std_handle_out_external):
12472 * process-nt.c (find_child_console):
12473 * process-nt.c (send_signal_the_95_way):
12474 * process-nt.c (ensure_console_window_exists):
12475 * process-nt.c (nt_create_process):
12477 rename msw_ to mswindows_ for consistency with general convention.
12481 include nt.h, not syswindows.h.
12483 * nt.c (mswindows_fstat):
12484 * nt.c (mswindows_stat):
12485 prefix mswindows_ instead of attempting to directly override the
12486 library functions. fix declarations.
12489 include syswindows.h. move some sysdep.h stuff here.
12492 include syswindows.h, not <windows.h>.
12500 * sysdep.c (sys_fstat):
12501 * sysdep.c (sys_stat):
12502 call mswindows versions when appropriate.
12505 move mswin decls to nt.h.
12508 add long comment describing appropriate use of the various windows
12511 2000-06-11 Ben Wing <ben@xemacs.org>
12513 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12515 2000-06-10 Ben Wing <ben@xemacs.org>
12517 * Makefile.in.in (release):
12518 Correction to make sure xemacs.exe always dumped when correct.
12522 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12524 * buffer.c (set_buffer_internal):
12525 [[[[2]]]]: Remove HAVE_FEP code.
12527 * buffer.c (init_initial_directory):
12531 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12535 * callproc.c (call_process_cleanup):
12536 * callproc.c (Fold_call_process_internal):
12537 * callproc.c (child_setup):
12538 * callproc.c (getenv_internal):
12539 * callproc.c (init_callproc):
12540 * callproc.c (vars_of_callproc):
12541 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12542 __CYGWIN32__ -> CYGWIN.
12543 DOS_NT -> WIN32_NATIVE.
12544 Remove MSDOS support/references, converting to WIN32_NATIVE
12546 __MINGW32__ -> MINGW.
12547 Fix windows.h includes.
12548 Remove bogus HAVE_NTGUI.
12554 mswindows_message_outputted added for use in allowing startup
12555 errors on the console to be seen.
12557 * console-msw.c (msw_ensure_console_allocated):
12558 * console-msw.c (msw_output_console_string):
12559 * console-msw.c (DHEADER):
12560 * console-msw.c (DOPAQUE_DATA):
12561 * console-msw.c (DEVENT):
12562 * console-msw.c (DCONS):
12563 * console-msw.c (DCONSCDR):
12564 * console-msw.c (DSTRING):
12565 * console-msw.c (DVECTOR):
12566 * console-msw.c (DSYMBOL):
12567 * console-msw.c (DSYMNAME):
12570 * console-stream.c (stream_init_console):
12571 Fix text/binary problems.
12574 * device-msw.c (mswindows_finish_init_device):
12575 * device-msw.c (mswindows_delete_device):
12578 * device.c (handle_asynch_device_change):
12582 * dgif_lib.c (DGifOpenFileName):
12583 * dgif_lib.c (DGifOpenFileHandle):
12584 * dgif_lib.c (DGifGetLine):
12585 * dgif_lib.c (DGifGetPixel):
12586 Added config.h/lisp.h, fix up includes.
12593 * dired.c (file_name_completion):
12594 * dired.c (Ffile_attributes):
12595 * dired.c (syms_of_dired):
12599 * dumper.c (pdump_file_unmap):
12600 * dumper.c (pdump_load):
12604 * editfns.c (Ftemp_directory):
12605 * editfns.c (user_login_name):
12606 * editfns.c (Fuser_real_login_name):
12607 * editfns.c (get_home_directory):
12610 * elhash.c (finish_marking_weak_hash_tables):
12611 [[[[5]]]]: Fix GCC warnings.
12614 * emacs.c (mswindows_handle_hardware_exceptions):
12615 * emacs.c (make_arg_list_1):
12616 * emacs.c (main_1):
12617 * emacs.c (Fkill_emacs):
12618 * emacs.c (Fdump_emacs):
12620 Fix problems with nested crashes, add long comment.
12622 * event-Xt.c (init_event_Xt_late):
12626 * event-msw.c (mswindows_dde_callback):
12627 * event-msw.c (mswindows_handle_sticky_modifiers):
12628 * event-msw.c (mswindows_wnd_proc):
12632 * events.c (character_to_event):
12636 * fileio.c (Ffile_name_directory):
12637 * fileio.c (Ffile_name_nondirectory):
12638 * fileio.c (directory_file_name):
12639 * fileio.c (Fexpand_file_name):
12640 * fileio.c (Fsubstitute_in_file_name):
12641 * fileio.c (Ffile_name_absolute_p):
12642 * fileio.c (check_executable):
12643 * fileio.c (Ffile_readable_p):
12644 * fileio.c (Ffile_accessible_directory_p):
12645 * fileio.c (Ffile_modes):
12646 * fileio.c (Funix_sync):
12647 * fileio.c (vars_of_fileio):
12650 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
12652 Expand getdefdir defn.
12653 Fix bogus rename() comment.
12655 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
12656 to use standard XEmacs include files, e.g. sysfile.h, rather
12657 than system-specific includes.
12663 * frame.c (vars_of_frame):
12667 * getloadavg.c (getloadavg):
12669 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
12670 (We don't use it elsewhere in the code; just add a comment.)
12677 * glyphs-msw.c (mswindows_resource_instantiate):
12680 * glyphs-x.c (x_native_layout_instantiate):
12683 * gui-msw.c (Fmswindows_shell_execute):
12692 * lread.c (locate_file_in_directory_mapper):
12699 * mem-limits.h (get_lim_data):
12711 * nt.c (rva_to_section):
12712 * nt.c (mswindows_executable_type):
12714 Fix closedir() defn.
12717 [[[[8]]]]: *_OK defs moved to sysfile.h.
12726 * print.c (std_handle_out_external):
12730 * process-nt.c (nt_create_process):
12732 try to fix process quoting somewhat.
12734 * process-unix.c (unix_create_process):
12738 * process.c (vars_of_process):
12745 * realpath.c (xrealpath):
12748 * redisplay-tty.c (init_tty_for_redisplay):
12758 * sheap.c (more_static_core):
12759 * sheap.c (report_sheap_usage):
12763 * signal.c (alarm_signal):
12770 * strftime.c (zone_name):
12773 * symsinit.h (init_sunpro):
12777 commctrl.h not in Cygwin b20.1.
12780 * sysdep.c (endif):
12781 * sysdep.c (sys_subshell):
12782 * sysdep.c (init_baud_rate):
12783 * sysdep.c (emacs_get_tty):
12784 * sysdep.c (emacs_set_tty):
12785 * sysdep.c (tty_init_sys_modes_on_device):
12786 * sysdep.c (init_system_name):
12787 * sysdep.c (sys_open):
12788 * sysdep.c (interruptible_open):
12789 * sysdep.c (sys_fopen):
12790 * sysdep.c (sys_mkdir):
12791 * sysdep.c (sys_rename):
12792 * sysdep.c (get_process_times_1):
12799 * sysdir.h (DIRENTRY_NONEMPTY):
12802 * sysdll.c (dll_init):
12808 added text/binary defs.
12814 * sysproc.h (EDESTADDRREQ):
12815 * sysproc.h (poll_fds_for_input):
12832 Always define WIN32_LEAN_AND_MEAN.
12834 * unexcw.c (unexec):
12838 * unexec.c (copy_text_and_data):
12839 * unexec.c (adjust_lnnoptrs):
12843 * unexnt.c (_start):
12846 2000-06-07 Ben Wing <ben@xemacs.org>
12848 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12849 was used only as a model. We've long since extracted any useful
12850 logic or code out of this. (I just did an exhaustive search.)
12852 * s\msdos.h: Removed.
12854 * s\windows95.h: Removed.
12856 2000-06-10 Ben Wing <ben@xemacs.org>
12860 Don't use extern with fun defs.
12864 Remove nt\inc include.
12865 Remove getdisk, getdefdir. (The former is unused, the latter
12866 expanded in fileio.h.)
12869 * s\windowsnt.h (WIN32_NATIVE):
12870 * s\windowsnt.h (HAVE_STRCASECMP):
12872 Add long comment about preprocessor changes.
12873 Remove getdisk, getdefdir. (The former is unused, the latter
12874 expanded in fileio.h.)
12876 2000-06-10 Ben Wing <ben@xemacs.org>
12885 Remove bogus/unused NO_SOCK_SIGIO.
12887 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12889 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12892 2000-06-04 Mike Sperber <mike@xemacs.org>
12894 * casetab.c (set_case_table): For `set-standard-case-table',
12895 actually deposit the new case tables where the rest of XEmacs can
12898 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12900 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12902 2000-06-05 Ben Wing <ben@xemacs.org>
12904 * callproc.c (child_setup): Don't do close_load_descs() under
12905 MS Windows. Put in a comment explaining why.
12907 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12909 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12910 Toolkit shell" which breaks `kill-compilation' on Windows NT
12911 native, retaining STDERR handling improvements.
12913 2000-06-01 Andreas Jaeger <aj@suse.de>
12915 * s/s390.h: Support for S390, based on a patch by Martin
12916 Schwidefsky <schwidefsky@de.ibm.com>.
12918 2000-05-30 Andy Piper <andy@xemacs.org>
12920 * window.c (allocate_window):
12921 (make_dummy_parent):
12922 (Fset_window_configuration): use new hashtable type.
12924 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12925 (struct image_instantiator_methods):
12926 (struct Lisp_Image_Instance): make instance geometry signed.
12928 * glyphs.c (instantiate_image_instantiator):
12929 (image_instance_query_geometry):
12930 (image_instance_layout):
12931 (image_instance_layout):
12932 (query_string_geometry):
12933 (text_query_geometry):
12934 (image_instantiate):
12935 (image_instantiate):
12936 (cache_subwindow_instance_in_frame_maybe):
12937 (subwindow_query_geometry): make instance geometry signed.
12939 * glyphs-widget.c (widget_query_geometry):
12941 (button_query_geometry):
12942 (tree_view_query_geometry):
12943 (tab_control_query_geometry):
12944 (layout_query_geometry):
12946 (native_layout_layout): make instance geometry signed.
12948 2000-05-29 Olivier Galibert <galibert@pobox.com>
12950 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12953 * general.c (syms_of_general): Add Qfull_assoc symbol.
12955 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12957 (decode_weak_list_type): Decode full-assoc type.
12958 (encode_weak_list_type): Encode full-assoc type.
12959 (Fmake_weak_list): Update doc string.
12961 2000-05-30 Andy Piper <andy@xemacs.org>
12963 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12965 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12966 (decode_hash_table_weakness): ditto.
12967 (Fhash_table_weakness): ditto.
12968 (Fhash_table_type): ditto.
12969 (finish_marking_weak_hash_tables): ditto.
12970 (hash_table_weakness_validate): ditto.
12971 (syms_of_elhash): ditto.
12973 2000-05-28 Martin Buchholz <martin@xemacs.org>
12975 * XEmacs 21.2.34 is released.
12977 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12979 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12981 (updating_line_start_cache): Gone.
12982 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12983 generic code to force a minimum of 1 line laid out in the
12986 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12988 * glyphs.c (instantiate_image_instantiator): Check for initialized
12989 height & width no longer special cases IMAGE_NOTHING.
12990 (nothing_instantiate): Set height and width of instance.
12992 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12994 * unexelf.c (unexec): Search for ".data" section.
12995 Initialize new_data2_offset from old_data_index.
12996 Remove redundant check for ElfW.
12998 2000-05-23 Andy Piper <andy@xemacs.org>
13000 * glyphs.c (get_image_instantiator_governing_domain): allow more
13001 specific domains as the governing domain rather than expecting an
13002 exact match. This fixes problems with layouts.
13004 2000-05-22 Andy Piper <andy@xemacs.org>
13006 * redisplay-output.c (compare_runes): check for non-images
13008 * glyphs.c (set_glyph_dirty_p): ditto.
13009 (update_glyph_cachel_data): ditto.
13011 * glyphs-widget.c (layout_post_instantiate): ditto.
13012 (layout_post_instantiate): ditto.
13014 * event-msw.c (mswindows_wnd_proc): warning removal.
13016 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13018 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13020 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13022 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13024 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13025 (mswindows_executable_type): mingw32 now has enough headers for
13028 2000-05-20 Andy Piper <andy@xemacs.org>
13030 * console-msw.c (mswindows_output_last_error): ; -> ,
13032 2000-05-12 Andy Piper <andy@xemacs.org>
13034 * console-msw.c (FROB): compare ints with ints.
13036 2000-05-11 Andy Piper <andy@xemacs.org>
13038 * glyphs-x.c (x_finalize_image_instance): make minimal build
13041 2000-05-20 Ben Wing <ben@xemacs.org>
13044 * event-Xt.c (vars_of_event_Xt):
13045 move modifier-keys-are-sticky to event-stream.c.
13048 * event-msw.c (mswindows_enqueue_mouse_button_event):
13049 * event-msw.c (key_needs_default_processing_p):
13050 * event-msw.c (XEMSW_LCONTROL):
13051 * event-msw.c (mswindows_handle_sticky_modifiers):
13052 * event-msw.c (FROB):
13053 * event-msw.c (clear_sticky_modifiers):
13054 * event-msw.c (output_modifier_keyboard_state):
13055 * event-msw.c (output_alt_keyboard_state):
13056 * event-msw.c (mswindows_wnd_proc):
13057 * event-msw.c (mswindows_modifier_state):
13058 * event-msw.c (emacs_mswindows_handle_magic_event):
13059 implement sticky modifiers.
13062 * event-stream.c (vars_of_event_stream):
13063 move modifier-keys-are-sticky here.
13066 add CHECK_FUNCTION.
13069 implement map-range-table.
13072 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13074 * redisplay-tty.c (reset_tty_modes):
13075 (tty_redisplay_shutdown): Adjust argument type to
13076 tty_frame_output_end.
13078 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13080 * eval.c (Fbacktrace): Don't output a line with only right
13083 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13085 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13086 (Fpq_reset_poll): Ditto.
13088 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13090 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13092 2000-05-16 Ben Wing <ben@xemacs.org>
13095 * buffer.c (dfc_convert_to/from_internal_format):
13096 * buffer.c (reinit_vars_of_buffer):
13097 Fix conversion functions to allow reentrancy.
13100 * console-msw.c (mswindows_output_last_error):
13101 New fun, generally useful -- output a human-readable
13102 version of GetLastError() on the console.
13105 * console-msw.h (struct mswindows_frame):
13106 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13108 * console-stream.c (stream_output_begin):
13109 * console-stream.c (stream_output_end):
13110 * console-stream.c (stream_output_vertical_divider):
13111 * console-stream.c (stream_clear_region):
13112 * console-stream.c (stream_flash):
13113 * console-stream.c (console_type_create_stream):
13114 Delete blank stream methods, not needed.
13116 * console.h (struct console_methods):
13117 Split begin/end methods into window and frame.
13120 * event-msw.c (mswindows_handle_paint):
13121 * event-msw.c (output_alt_keyboard_state):
13122 * event-msw.c (mswindows_wnd_proc):
13123 * event-msw.c (vars_of_event_mswindows):
13124 Comment about problems with ignored-expose.
13125 Define mswindows-debug-events; not really implemented.
13127 * frame-msw.c (mswindows_init_frame_1):
13131 * glyphs-msw.c (begin_defer_window_pos):
13132 * glyphs-msw.c (mswindows_unmap_subwindow):
13133 * glyphs-msw.c (mswindows_map_subwindow):
13134 * glyphs-msw.c (mswindows_resize_subwindow):
13135 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13137 * glyphs.c (make_image_instance_1):
13140 * gutter.c (Fredisplay_gutter_area):
13141 Use new begin/end methods.
13143 * lisp.h (Dynarr_new2):
13147 * redisplay-msw.c (mswindows_frame_output_begin):
13148 * redisplay-msw.c (mswindows_frame_output_end):
13149 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13150 New begin/end methods -- handle DeferWindowPos.
13152 * redisplay-output.c (redisplay_move_cursor):
13153 * redisplay-output.c (redraw_cursor_in_window):
13154 * redisplay-output.c (redisplay_update_line):
13155 * redisplay-output.c (redisplay_output_window):
13156 New begin/end methods.
13159 * redisplay-tty.c (tty_frame_output_begin):
13160 * redisplay-tty.c (tty_frame_output_end):
13161 * redisplay-tty.c (console_type_create_redisplay_tty):
13162 New begin/end methods.
13165 * redisplay-x.c (x_window_output_begin):
13166 * redisplay-x.c (x_window_output_end):
13167 * redisplay-x.c (console_type_create_redisplay_x):
13168 New begin/end methods.
13170 * redisplay.c (redisplay_frame):
13171 * redisplay.c (Fredisplay_echo_area):
13172 New begin/end methods.
13173 use MAYBE_DEVMETH for clear_frame; it may not exist.
13175 * window.h (WINDOW_XFRAME):
13176 WINDOW_XFOO macros -- get locale and decode struct pointer.
13179 2000-05-12 Ben Wing <ben@xemacs.org>
13182 * emacs.c (ensure_no_quitting_from_now_on):
13183 * emacs.c (fatal_error_signal):
13184 * emacs.c (mswindows_handle_hardware_exceptions):
13186 * emacs.c (Fkill_emacs):
13187 * emacs.c (shut_down_emacs):
13188 * emacs.c (assert_failed):
13189 various improvements in fatal error handling.
13192 move preparing_for_armageddon to emacs.c.
13195 declare fatal_error_in_progress.
13198 * print.c (std_handle_out_external):
13199 * print.c (std_handle_out_va):
13200 * print.c (stderr_out):
13201 * print.c (stdout_out):
13202 use console under mswin when no standard output.
13203 don't do code conversion during fatal error.
13205 * scrollbar.c (Fscrollbar_page_up):
13206 * scrollbar.c (Fscrollbar_page_down):
13207 fix missing else. reindent.
13209 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13213 * glyphs.h (GLYPH_CACHEL_DESCENT):
13214 (GLYPH_CACHEL_DESCENT):
13215 (GLYPH_CACHEL_DESCENT):
13216 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13217 used in case these are inline functions.
13218 Use more absurd values to error check.
13220 include window.h for error check functions.
13222 2000-05-11 Ben Wing <ben@xemacs.org>
13224 * cmdloop.c (Freally_early_error_handler):
13225 Display message box under windows; otherwise, message will disappear
13226 before it can be viewed.
13229 * console-msw.c (Fmswindows_message_box):
13230 * console-msw.c (FROB):
13231 * console-msw.c (syms_of_console_mswindows):
13232 Define new fun `mswindows-message-box'.
13233 #### I will merge this into `popup-dialog-box'; just give me
13237 * general.c (syms_of_general):
13238 Some new symbols used in `mswindows-message-box'.
13241 * glyphs.c (Fset_image_instance_property):
13242 put warning in this fun.
13245 * glyphs.h (GLYPH_CACHEL_WIDTH):
13246 * glyphs.h (GLYPH_CACHEL_ASCENT):
13247 * glyphs.h (GLYPH_CACHEL):
13248 * glyphs.h (GLYPH_CACHEL_GLYPH):
13249 define error-checking versions to try to catch a bug i've seen --
13250 redisplay gets in an infinite loop because the glyph width of the
13251 continuation glyph is 65535.
13254 Extern message-box stuff.
13256 * window.c (allocate_window):
13257 * window.c (make_dummy_parent):
13258 * window.c (Fset_window_configuration):
13259 Use EQUAL not EQ for subwindow caches to make them work a bit
13260 better. (Something is still very broken.)
13263 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13265 * glyphs.c (image_instantiate): Suppress gcc warnings.
13266 (Fmake_image_instance): Fix doc string.
13267 * specifier.c (Fmake_specifier): Ditto.
13269 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13271 * paths.h.in (PATH_LOCK): Removed.
13272 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13273 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13275 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13277 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13278 Document (featurep '(and xemacs 21.02)).
13280 2000-05-09 Ben Wing <ben@xemacs.org>
13282 * buffer.c (complex_vars_of_buffer):
13283 update modeline-format doc.
13286 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13289 timeline of all released versions of Emacs, for use in creating
13290 authorship comments and in synching up.
13292 * glyphs-widget.c (image_instantiator_buttons):
13293 * glyphs-widget.c (image_instantiator_edit_fields):
13294 * glyphs-widget.c (image_instantiator_combo_box):
13295 * glyphs-widget.c (image_instantiator_scrollbar):
13296 * glyphs-widget.c (image_instantiator_progress_guage):
13297 * glyphs-widget.c (image_instantiator_tree_view):
13298 * glyphs-widget.c (image_instantiator_tab_control):
13299 * glyphs-widget.c (image_instantiator_labels):
13300 * glyphs-widget.c (image_instantiator_layout):
13301 * glyphs-widget.c (image_instantiator_native_layout):
13302 rename decode_domain method to governing_domain.
13305 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13306 * glyphs.c (add_entry_to_device_ii_format_list):
13307 make sure we don't put an entry more than once into the list.
13308 * glyphs.c (check_instance_cache_mapper):
13309 *************************************************************
13310 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13312 *************************************************************
13313 * glyphs.c (get_image_instantiator_governing_domain):
13314 clean up, expand on new concept of governing domain.
13315 * glyphs.c (instantiate_image_instantiator):
13316 * glyphs.c (allocate_image_instance):
13317 use governing_domain instead of cache_domain in naming.
13318 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13319 * glyphs.c (make_image_instance_1):
13320 * glyphs.c (Fmake_image_instance):
13321 allow for any domain (not just device), and process the
13322 governing domain correctly. very big doc fix.
13323 * glyphs.c (Fimage_instance_domain):
13324 new primitive, to retrieve the governing domain of an image instance.
13325 * glyphs.c (image_instantiate):
13326 use new governing_domain stuff. this fixes a crash you could get
13327 by instantiating certain widget glyphs in frame locales. (should
13328 signal an error instead of crashing.)
13329 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13330 * glyphs.c (Fglyphp): clean up doc.
13331 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13332 * glyphs.c (syms_of_glyphs):
13333 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13334 * glyphs.c (image_instantiator_format_create): add some comments about
13336 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13337 for current-display-table. (Apparently Hrjove implemented in 1998 a
13338 design I wrote up in 1996, but didn't update the doc string.)
13340 * glyphs.h: clean up a doc string.
13341 * glyphs.h (governing_domain):
13342 * glyphs.h (struct image_instantiator_methods):
13343 changes for governing_domain stuff.
13346 * gutter.c (Fgutter_specifier_p):
13347 * gutter.c (Fgutter_size_specifier_p):
13348 * gutter.c (Fgutter_visible_specifier_p):
13350 * objects.c (Fcolor_specifier_p):
13351 * objects.c (Ffont_specifier_p):
13352 * objects.c (Fface_boolean_specifier_p):
13353 doc strings moved to make-*-specifier.
13355 * redisplay.c (add_disp_table_entry_runes_1):
13356 * redisplay.c (generate_fstring_runes):
13357 * redisplay.c (screen):
13358 add random comments and doc strings.
13361 * specifier.c (Fmake_specifier):
13362 major overhaul of this doc string.
13364 * specifier.c (Fvalid_specifier_domain_p):
13365 comment about the bogosity of image instances being domains.
13366 * specifier.c (decode_domain):
13367 now non-static, used in glyphs.c.
13368 * specifier.c (specifier_instance):
13369 comment about the bogosity of image instances being domains.
13370 * specifier.c (Fgeneric_specifier_p):
13371 move doc string to make-generic-specifier.
13372 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13376 * specifier.h (DOMAIN_FRAME):
13377 * specifier.h (DOMAIN_LIVE_P):
13378 * specifier.h (DOMAIN_XDEVICE):
13380 add comments about problems with these macros.
13381 prototype for decode_domain.
13384 * toolbar.c (Ftoolbar_specifier_p):
13385 move doc string to `make-toolbar-specifier'.
13387 * window.c (window_unmap_subwindows_cache_mapper):
13388 *************************************************************
13389 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13391 *************************************************************
13393 2000-05-09 Andy Piper <andy@xemacs.org>
13395 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13397 * window.c (Fset_window_configuration): reset the frame subwindow
13398 cache and re-initialize the window subwindow caches.
13400 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13402 2000-05-09 Ben Wing <ben@xemacs.org>
13404 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13407 2000-04-26 Mike Woolley <mike@bulsara.com>
13409 * ntheap.c: Changed recreate_heap to limit the amount reserved
13410 for the heap to that which is actually available. Also now
13411 displays a message box (with some dignostics) in the event that
13412 it still can't start.
13414 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13416 * callproc.c (Fold_call_process_internal): GCPRO path
13418 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13420 Patch by Bill Perry.
13422 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13423 back data instead of #ifdef.
13424 (Fscrollbar_page_down): ditto.
13426 2000-05-07 Ben Wing <ben@xemacs.org>
13429 Kludge for defining Qmswindows_tstr.
13432 * nt.c (open_input_file):
13433 * nt.c (open_output_file):
13434 * nt.c (rva_to_section):
13435 * nt.c (mswindows_executable_type):
13436 Move all memory-mapped-file routines here (some were in unexnt.c,
13437 which is bad because they are used by process-nt.c, and unexnt
13438 won't be around when portable dumping). Synched the above routines
13442 Removed ifdef'd out bogus code.
13443 Fixed some prototypes.
13445 * nt.h (file_data):
13446 * nt.h (OFFSET_TO_RVA):
13447 * nt.h (RVA_TO_OFFSET):
13448 * nt.h (RVA_TO_PTR):
13449 Moved the memory-mapped-file structures, macros and prototypes
13450 here, to parallel nt.c. ntheap.h should really be removed
13451 entirely, and it's a non-portable-dumper specific file.
13453 * ntheap.h (round_to_next):
13454 Moved the memory-mapped-file structures, macros and prototypes
13457 * ntproc.c (compare_env):
13458 Moved rva_to_section and mswindows_executable_type to nt.c.
13459 Moved compare_env to process-nt.c.
13460 ntproc.c will die, one day.
13462 * ntproc.c (sys_spawnve):
13463 Account for win32_ -> mswindows_.
13466 * process-nt.c (struct nt_process_data):
13467 * process-nt.c (ensure_console_window_exists):
13468 * process-nt.c (compare_env):
13469 * process-nt.c (nt_create_process):
13470 * process-nt.c (nt_kill_process_by_pid):
13471 * process-nt.c (syms_of_process_nt):
13472 * process-nt.c (vars_of_process_nt):
13473 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13474 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13475 changes). Eliminate our old `nt-quote-process-args' mechanism.
13476 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13477 Move compare_env here from ntproc.c.
13479 * process.c (Fprocess_send_region):
13480 Takes an optional fourth argument, BUFFER, which should fix some
13481 problems with call-process.
13484 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13487 Move ICC_BAR_CLASSES to syscommctrl.h.
13488 Add preliminary macros for MSWindows/Mule. More to come.
13491 * unexnt.c (unexec):
13492 open_output_file moved to nt.c.
13495 2000-05-05 Andy Piper <andy@xemacs.org>
13497 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13498 instance from the frame cache also since GC may catch up too late
13499 to make frame deletion sane.
13501 2000-05-04 Andy Piper <andy@xemacs.org>
13503 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13504 (x_finalize_image_instance): ungcpro on deletion.
13506 * glyphs.c (image_instantiator_format_create): give pointers a
13507 query geometry method so that the geometry is at least set.
13509 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13510 initialize layouts if using widgets.
13512 2000-05-03 Andy Piper <andy@xemacs.org>
13514 * nt.c: remove bogus reference to sysmmsystem.h
13516 * gui-x.c (popup_selection_callback): fix no selection abort.
13518 2000-05-02 Andy Piper <andy@xemacs.org>
13520 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13521 (mswindows_widget_instantiate): ditto.
13523 * glyphs-widget.c (initialize_widget_image_instance): initialize
13524 children correctly.
13525 (widget_instantiate): cope with children and items in the same
13528 * glyphs.c (mark_image_instance): cope with children as a first
13530 (image_instance_equal): ditto.
13531 (image_instance_hash): ditto.
13532 (image_instance_changed): ditto.
13534 2000-04-30 Andy Piper <andy@xemacs.org>
13536 * glyphs.c (subwindow_query_geometry): new function. Return some
13538 (subwindow_instantiate): don't assign dimensions if none have been
13540 (image_instantiator_format_create): add subwindow_query_geometry.
13541 (print_image_instance): cope with layouts as widgets.
13543 2000-04-29 Andy Piper <andy@xemacs.org>
13545 * frame.c (delete_frame_internal): call
13546 free_frame_subwindow_instance_cache so that all subwindows are
13547 finalized before their parent.
13548 (mark_frame): remove subwindow_cachels.
13549 (Fmake_frame): remove subwindow_cachel manipulation.
13550 (allocate_frame_core): subwindow_instance_cache is a weak list.
13551 (delete_frame_internal): set subwindow_instance_cache to nil.
13553 * glyphs-msw.c (mswindows_finalize_image_instance): make double
13555 (mswindows_finalize_image_instance): use the device
13556 not the domain as the domain may have died already.
13558 * glyphs-x.c (x_finalize_image_instance): ditto.
13559 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
13562 * redisplay-output.c (redisplay_unmap_subwindows): update for
13563 subwindow instance cache as a weak list.
13564 (redisplay_unmap_subwindows_maybe): ditto.
13565 (redisplay_unmap_subwindows_except_us): ditto.
13567 * glyphs.c (unmap_subwindow): error checking will check the domain
13568 so don't deal with it here. Don't use cachels anymore.
13569 (map_subwindow): ditto.
13570 (update_subwindow_cachel_data): remove old accessor names.
13571 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
13572 (Fresize_subwindow): don't update cachel.
13573 (mark_subwindow_cachels):
13574 (update_subwindow_cachel_data):
13575 (add_subwindow_cachel):
13576 (get_subwindow_cachel_index):
13577 (update_subwindow_cachel):
13578 (reset_subwindow_cachels):
13579 (mark_subwindow_cachels_as_not_updated): deleted.
13580 (cache_subwindow_instance_in_frame_maybe): new function. Add a
13581 subwindow instance to the frame cache.
13582 (find_matching_subwindow): update for subwindow instance cache as
13584 (update_widget_instances): ditto.
13585 (image_instance_type_to_mask):inlined.
13586 (free_frame_subwindow_instance_cache): new function. finalize all
13587 subwindows that are instantiated.
13589 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
13590 of cachel information.
13591 (IMAGE_INSTANCE_DISPLAY_X):
13592 (IMAGE_INSTANCE_DISPLAY_Y):
13593 (IMAGE_INSTANCE_DISPLAY_WIDTH):
13594 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
13595 (XIMAGE_INSTANCE_DISPLAY_X):
13596 (XIMAGE_INSTANCE_DISPLAY_Y):
13597 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
13598 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
13599 remove subwindow_cachel structure and function references.
13600 (image_instance_type_to_mask): inline from glyphs.c
13602 * redisplay.c (redisplay_frame): remove subwindow_cachel
13605 * frame.h (struct frame): remove subwindow_cachels.
13606 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
13608 * frameslots.h: add subwindow_instance_cache.
13610 * window.c (replace_window): check subwindow cache of replacement.
13611 (window_unmap_subwindows_cache_mapper):
13612 (window_unmap_subwindows): new functions. Unmap all subwindows
13613 cached on this window.
13614 (mark_window_as_deleted): unmap all subwindows.
13616 2000-04-27 Andy Piper <andy@xemacs.org>
13618 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
13620 * glyphs-widget.c (widget_layout): return something.
13621 (layout_layout): return something. Fail if not initialized.
13622 (layout_query_geometry): ditto.
13623 (image_instantiator_native_layout): new function. Initialized the
13624 native layout type.
13625 (widget_instantiate): don't do layout stuff here.
13627 * glyphs.c (instantiate_image_instantiator): reorded calling or
13628 instantiate and post_instantiate with layout in between.
13629 (image_instance_layout): be more selective about deciding whether
13630 the layout has been done or not.
13632 * glyphs.h (struct image_instantiator_methods): return a value
13633 from layout_method.
13635 2000-04-26 Andy Piper <andy@xemacs.org>
13637 * glyphs.c (allocate_image_instance): make initial width and
13638 height unspecified. Set initialized to 0.
13640 * syscommctrl.h new file. Encapsulates commctrl.h.
13642 * syswindows.h new file. Encapsulates windows.h.
13644 * ntplay.c: use new syswindows.h and syscommctrl.h header.
13646 * console-msw.h: ditto.
13648 * redisplay-tty.c (tty_output_display_block): remove layout references.
13650 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
13651 window handle rather than just the frame.
13653 * glyphs.c (mark_image_instance): remove layout references.
13654 (print_image_instance): ditto.
13655 (image_instance_equal): ditto.
13656 (image_instance_hash): ditto.
13657 (decode_image_instance_type): ditto.
13658 (encode_image_instance_type): ditto.
13659 (image_instantiate): ditto.
13660 (allocate_glyph): ditto.
13661 (Fimage_instance_height): ditto.
13662 (Fimage_instance_width): ditto.
13663 (update_subwindow): ditto.
13665 * redisplay-x.c (x_output_display_block): recode for layouts as
13668 * redisplay-output.c (redisplay_output_layout): recode for layouts
13670 (compare_runes): remove layout references.
13672 * redisplay-msw.c (mswindows_output_display_block): recode for
13673 layouts as widgets.
13675 * glyphs-widget.c (image_instantiator_layout): remove
13676 layout_possible_dest_types.
13677 (layout_possible_dest_types): deleted.
13679 * glyphs.h (image_instance_type): remove layout references.
13680 (struct Lisp_Image_Instance): ditto. Add initialized flag.
13681 (IMAGE_INSTANCE_INITIALIZED): new accessor.
13682 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13684 2000-04-25 Andy Piper <andy@xemacs.org>
13686 * glyphs-widget.c (image_instantiator_buttons):
13687 (image_instantiator_edit_fields):
13688 (image_instantiator_combo_box):
13689 (image_instantiator_scrollbar):
13690 (image_instantiator_progress_guage):
13691 (image_instantiator_tree_view):
13692 (image_instantiator_tab_control):
13693 (image_instantiator_labels):
13694 (image_instantiator_layout): call default post_instantiate method.
13695 (widget_post_instantiate): new function. Simply lays out the
13698 * glyphs.h (struct image_instantiator_methods): add
13699 post_instantiate method.
13701 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13704 2000-04-23 Andy Piper <andy@xemacs.org>
13706 * glyphs.h (struct image_instantiator_methods): add
13707 decode_domain_method.
13708 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13709 derived from the domain.
13710 (IMAGE_INSTANCE_FRAME): new accessor.
13711 (XIMAGE_INSTANCE_FRAME): ditto.
13713 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13714 instead of _SUBWINDOW_FRAME.
13715 (finalize_image_instance): ditto.
13716 (Fimage_instance_foreground): ditto.
13717 (Fimage_instance_background): ditto.
13718 (image_instantiate): ditto.
13719 (update_subwindow_cachel): ditto.
13720 (update_subwindow): ditto.
13721 (unmap_subwindow): ditto.
13722 (map_subwindow): ditto
13723 (subwindow_instantiate): ditto.
13724 * glyphs-msw.c (mswindows_update_widget): ditto.
13725 (mswindows_progress_gauge_instantiate): ditto.
13726 (mswindows_tab_control_update): ditto.
13727 * glyphs-x.c (x_update_widget): ditto.
13728 (x_widget_instantiate): ditto.
13729 (x_tab_control_instantiate): ditto.
13730 (x_tab_control_update): ditto.
13731 * event-msw.c (mswindows_wnd_proc): ditto
13733 * glyphs-widget.c (image_instantiator_layout): use
13734 subwindow_decode_domain.
13735 (image_instantiator_buttons): ditto.
13736 (image_instantiator_edit_fields): ditto.
13737 (image_instantiator_combo_box): ditto.
13738 (image_instantiator_scrollbar): ditto.
13739 (image_instantiator_progress_guage): ditto.
13740 (image_instantiator_tree_view): ditto.
13741 (image_instantiator_tab_control): ditto.
13742 (image_instantiator_labels): ditto.
13743 (image_instantiator_layout): ditto.
13745 * glyphs.c: add instance error checking to many functions.
13746 (instantiate_image_instantiator): decode device from cache_domain.
13747 (image_instantiate): partially rewrite by using
13748 decode_image_instantiator_domain to determine what domain the
13749 instance needs to be cached in.
13750 (decode_image_instantiator_domain): new function. Determine what
13751 domain the image needs to be cached in.
13752 (check_window_subwindow_cache): new error checking function.
13753 (check_instance_cache_mapper): ditto.
13754 (check_image_instance_structure): ditto.
13755 (subwindow_decode_domain): new function. Encodes a window as a
13756 subwindow's cache domain.
13757 (image_instantiator_format_create): use it for text and
13760 2000-04-21 Andy Piper <andy@xemacs.org>
13762 * glyphs.c (image_instance_device): new function.
13763 (image_instance_frame): new function.
13764 (image_instance_window): new function.
13765 (image_instance_live_p): new function.
13767 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13770 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13771 (IMAGE_INSTANCE_DOMAIN): new accessor.
13772 (XIMAGE_INSTANCE_DOMAIN): ditto.
13774 * glyphs-x.c (x_finalize_image_instance): device->domain.
13776 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13777 (mswindows_finalize_image_instance): ditto.
13779 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13780 (gif_instantiate): ditto.
13781 (png_instantiate): ditto.
13782 (tiff_instantiate): ditto.
13784 * glyphs.c (instantiate_image_instantiator): use domain rather
13786 (mark_image_instance): device -> domain.
13787 (print_image_instance): ditto.
13788 (finalize_image_instance): ditto.
13789 (image_instance_equal): ditto.
13790 (allocate_image_instance): ditto.
13791 (Fcolorize_image_instance): ditto.
13792 (query_string_geometry): ditto.
13793 (image_instantiate): ditto
13794 (query_string_font): ditto.
13795 (image_instantiate): ditto.
13796 (update_subwindow): ditto.
13797 (unmap_subwindow): ditto.
13798 (map_subwindow): ditto.
13799 (subwindow_instantiate): ditto.
13801 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13802 (DOMAIN_FRAME): ditto.
13803 (DOMAIN_WINDOW): ditto.
13804 (DOMAIN_LIVE_P): ditto.
13805 (XDOMAIN_DEVICE): ditto.
13806 (XDOMAIN_FRAME): ditto.
13807 (XDOMAIN_WINDOW): ditto.
13809 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13810 a valid specifier domain.
13812 2000-04-19 Andy Piper <andy@xemacs.org>
13814 * glyphs-widget.c (syms_of_glyphs_widget): remove
13815 widget-callback-current-channel.
13816 (vars_of_glyphs_widget): ditto.
13819 * gui.c (get_gui_callback): revert to previous behaviour.
13821 2000-04-18 Andy Piper <andy@xemacs.org>
13823 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13824 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13825 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13827 * glyphs.c (image_instance_equal): add margin_width.
13828 (image_instance_hash): ditto.
13830 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13831 (layout_query_geometry): ditto.
13832 (layout_layout): ditto.
13833 (syms_of_glyphs_widget): add margin-width.
13834 (image_instantiator_layout): allow margin-width.
13836 * glyphs.c (update_widget_instances): make a normal function.
13837 (syms_of_glyphs): remove Qupdate_widget_instances.
13840 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13841 so that we don't corrupt ideas about the last event or
13842 command. Remove widget-callback-current-channel fiddling.
13843 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13845 2000-05-01 Martin Buchholz <martin@xemacs.org>
13847 * XEmacs 21.2.33 is released.
13849 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13851 * make-src-depend: Allow dots in header file name.
13853 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13855 * mule-charset.h (struct charset_lookup): Add
13856 next_allocated_1_byte_leading_byte and
13857 next_allocated_2_byte_leading_byte.
13858 * mule-charset.c: Move above two variables so that those values
13861 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13863 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13864 when string length is zero.
13865 (find_charsets_in_emchar_string): Ditto.
13867 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13869 * lisp.h: extern Qdialog and Qmenubar.
13871 * gui-x.c: added events.h.
13872 also fixed typo which made the file uncompilable.
13874 * general.c: Added Qmenubar and Qdialog
13876 2000-04-28 Ben Wing <ben@xemacs.org>
13878 * frame-msw.c (mswindows_init_frame_1):
13879 * frame-msw.c (mswindows_mark_frame):
13880 * event-msw.c (mswindows_enqueue_dispatch_event):
13882 * console-msw.h (struct mswindows_frame):
13883 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13884 there are now three hash tables for callbacks.
13885 mswindows_enqueue_dispatch_event is no longer static.
13887 * dialog-x.c (maybe_run_dbox_text_callback):
13888 * dialog-x.c (dbox_descriptor_to_widget_value):
13889 switch to new cons3 form for callbacks.
13891 * glyphs-msw.c (mswindows_register_gui_item):
13892 * glyphs-msw.c (mswindows_widget_instantiate):
13893 * glyphs-msw.c (add_tree_item):
13894 * glyphs-msw.c (add_tab_item):
13895 new image instance parameter, so it can be passed to callback-ex.
13896 respect :callback-ex as well as :callback.
13898 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13901 * glyphs.c (print_image_instance):
13902 prettify, e.g. now prints widget type.
13905 certain funs have new image instance parameter.
13908 * gui.c (get_gui_callback):
13909 * gui.c (gui_item_add_keyval_pair):
13910 * gui.c (gui_item_init):
13911 * gui.c (gui_add_item_keywords_to_plist):
13912 * gui.c (mark_gui_item):
13913 * gui.c (gui_item_hash):
13914 * gui.c (gui_item_equal):
13915 * gui.c (copy_gui_item):
13916 * gui.c (syms_of_gui):
13917 recognize callback-ex in a number of places.
13918 also, fix the annoying "can't get out of yes-no dialog" bug.
13921 * gui.h (struct Lisp_Gui_Item):
13922 recognize callback-ex in a number of places.
13924 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13925 new parameter in button_item_to_widget_value.
13927 * glyphs-x.c (x_update_widget):
13928 * glyphs-x.c (x_button_instantiate):
13929 * glyphs-x.c (x_button_update):
13930 * glyphs-x.c (x_progress_gauge_instantiate):
13931 * glyphs-x.c (x_edit_field_instantiate):
13932 * glyphs-x.c (x_combo_box_instantiate):
13933 * glyphs-x.c (x_tab_control_instantiate):
13934 * glyphs-x.c (x_label_instantiate):
13935 new image instance parameter in various places.
13938 * event-Xt.c (enqueue_Xt_dispatch_event):
13939 this fun gets exported.
13942 * gui-msw.c (mswindows_handle_gui_wm_command):
13943 handle both :callback and :callback-ex, and generate our own
13944 event because it's one of the callback-ex arguments.
13947 * gui-x.c (popup_selection_callback):
13948 handle both :callback and :callback-ex, and generate our own
13949 event because it's one of the callback-ex arguments.
13950 * gui-x.c (button_item_to_widget_value):
13951 * gui-x.c (gui_items_to_widget_values_1):
13952 * gui-x.c (gui_item_children_to_widget_values):
13953 * gui-x.c (gui_items_to_widget_values):
13954 new image instance parameter in various places.
13956 * fns.c (Freplace_list):
13957 fix small typo in doc string.
13960 declare enqueue_Xt_dispatch_event.
13962 2000-04-28 Ben Wing <ben@xemacs.org>
13965 * buffer.c (Frecord_buffer):
13966 * buffer.c (syms_of_buffer):
13967 delete record-buffer-hook.
13970 * fns.c (Freplace_list):
13971 * fns.c (syms_of_fns):
13972 new primitive replace-list.
13975 slot for old buffer-alist.
13978 exfun replace-list.
13981 * redisplay.c (redisplay_frame):
13982 * redisplay.c (syms_of_redisplay):
13983 * redisplay.c (vars_of_redisplay):
13984 new hook buffer-list-changed-hook.
13987 2000-04-27 Ben Wing <ben@xemacs.org>
13989 * extents.h: extern in_modeline_generation.
13991 * redisplay.c (generate_formatted_string_db): set
13992 in_modeline_generation.
13994 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13995 flags if in modeline generation. otherwise frame-modified-tick
13996 is ticked far too often.
13997 Declare in_modeline_generation.
13999 2000-04-26 Ben Wing <ben@xemacs.org>
14001 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14003 (vars_of_emacs): add quick-build as an error-checking option.
14004 A bit kludgy, but there doesn't seem much point in creating
14005 a real var for this.
14007 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14009 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14011 * redisplay.h (struct display_line): Add a new variable,
14014 * redisplay.c (create_text_block): Set dl->line_continuation if
14015 the line continues.
14016 (create_string_text_block): Ditto.
14017 (regenerate_window_incrementally): Use line_continuation instead
14018 of searching continuation glyph.
14019 (add_margin_runes): Call add_glyph_rune.
14020 (add_glyph_rune): Handle margin glyph.
14022 2000-04-20 Martin Buchholz <martin@xemacs.org>
14024 * filelock.c (fill_in_lock_file_name):
14026 Check for IS_ANY_SEP instead of '/'.
14028 Avoid generating gratuitous garbage. Call user_login_name() directly.
14029 Never check errno without first seeing that system call failed.
14030 (unlock_file): Add GCPRO.
14031 (Flock_buffer): Fix docstring.
14032 (Ffile_locked_p): Fix docstring. Add GCPRO.
14034 2000-04-19 Martin Buchholz <martin@xemacs.org>
14036 * sysdep.c (get_pty_max_bytes):
14037 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14038 strings longer than 252 bytes.
14040 * md5.c: Unconditionally include ANSI header <limits.h>
14042 * glyphs-x.c (convert_EImage_to_XImage):
14043 * lisp-union.h (union Lisp_Object):
14044 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14046 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14048 * filelock.c (current_lock_owner): Remove unused variable o, p.
14050 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14052 * callint.c: Remove multiply defined symbol Qlet
14053 (syms_of_callint): ditto.
14055 2000-04-14 Andy Piper <andy@xemacs.org>
14057 * general.c (syms_of_general): add last-command, this-command, let
14060 * lisp.h: declare various symbols.
14062 * glyphs.h: declare Qwidget_callback_current_channel;
14064 * glyphs-widget.c (syms_of_glyphs_widget): add
14065 Qgui_callback_current_channel.
14066 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14068 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14069 widget-callback-current-channel when invoking the interactive
14070 arg. Also bind last-command and next-command when invoking the
14072 * gui-x.c (popup_selection_callback): ditto.
14074 * gui.c (get_gui_callback): massage args so that we are always
14075 calling eval. This allows us to add our own variable bindings
14078 * glyphs-x.c (x_button_instantiate): use
14079 gui_items_to_widget_values since this is GC safe.
14080 (x_progress_gauge_instantiate): ditto.
14081 (x_edit_field_instantiate): ditto.
14082 (x_label_instantiate): ditto.
14084 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14085 (emacs_Xt_event_widget_focus_out): new function
14086 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14088 (emacs_Xt_event_add_widget_actions): new function. add focus
14089 functions as actions.
14090 (init_event_Xt_late): use it.
14092 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14094 * event-stream.c (Fdispatch_event): Doc fix.
14096 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14098 * postgresql.c: Remove all references to PQsetenv*.
14100 * postgresql.h: Remove references to PGsetenvHandler object.
14101 * lrecord.h (lrecord_type): Ditto.
14103 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14105 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14106 real_heigh and real_width members, and accessor macros for these.
14108 * glyphs-msw.c (init_image_instance_geometry): New function.
14109 (init_image_instance_from_dibitmap): Use it.
14110 (mswindows_resource_instantiate): Use it.
14111 (init_image_instance_from_xbm_inline): Use it.
14112 (mswindows_initialize_image_instance_mask): Use real bitmap
14114 (mswindows_create_resized_bitmap): Ditto.
14115 (mswindows_create_resized_mask): Ditto.
14117 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14118 and bitmap to their surface size.
14120 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14122 * process-unix.c (unix_send_process): Guard against process MIA
14123 after Faccept_process_output.
14125 2000-04-11 Ben Wing <ben@xemacs.org>
14127 * eval.c (unbind_to_hairy): fix brokenness introduced by
14128 nanosecond speed improvements.
14130 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14132 * sunplay.c (init_device): To play sounds correctly, the device
14133 apparently needs to be initialized at least once by XEmacs. Make
14136 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14138 * redisplay.c (add_margin_runes): Add text image glyph
14141 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14143 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14144 gcc is newer than 2.5.
14146 2000-04-06 Colin Rafferty <colin@xemacs.org>
14148 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14150 * fns.c (size_bit_vector):
14151 * alloc.c (size_vector):
14152 (make_vector_internal):
14153 (make_bit_vector_internal):
14154 (sweep_bit_vectors_1):
14155 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14157 2000-04-06 Andy Piper <andy@xemacs.org>
14159 * gmalloc.c (malloc): undo previous change.
14164 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14166 * line-number.c (buffer_line_number): Revert to former version.
14168 2000-04-06 Andy Piper <andy@xemacs.org>
14170 * gmalloc.c (malloc): add error checking.
14175 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14176 button_item_to_widget_value arg.
14178 * glyphs-x.c (x_button_instantiate): add extra
14179 button_item_to_widget_value arg.
14180 (x_progress_gauge_instantiate): ditto.
14181 (x_edit_field_instantiate): ditto.
14182 (x_label_instantiate): ditto.
14184 * gui-x.c (gui_items_to_widget_values_1): add extra
14185 button_item_to_widget_value arg.
14186 (button_item_to_widget_value): add extra menu_item_p arg.
14188 * gui-x.h: change signature of button_item_to_widget_value.
14190 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14191 button_item_to_widget_value arg.
14193 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14195 * buffer.h (struct buffer): auto_save_modified should be long.
14197 2000-04-05 Andy Piper <andy@xemacs.org>
14199 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14201 (button_query_geometry): give a little more room so that athena
14204 2000-04-05 Andy Piper <andy@xemacs.org>
14206 * faces.c (complex_vars_of_faces): The widget face should inherit
14207 the font of the gui-element face.
14209 2000-04-04 Andy Piper <andy@xemacs.org>
14211 * glyphs-x.c (x_button_update): new function. unconditionally
14212 update a button's state when the instance is dirty.
14213 (image_instantiator_format_create_glyphs_x): add x_button_update.
14214 (x_widget_instantiate): remove old resize cruft.
14216 2000-04-02 Andy Piper <andy@xemacs.org>
14218 * frame.c (change_frame_size_1): The introduction of gutters means
14219 that we need to allow 0 as a potential frame dimension.
14221 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14223 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14224 image glyph if allow_cursor.
14225 (add_hscroll_rune): Don't allow cursor to border glyph.
14226 (create_text_block): Ditto.
14228 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14229 text not in buffer.
14230 (redisplay_output_layout): Call ensure_face_cachel_complete for
14234 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14236 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14238 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14241 * redisplay-tty.c (tty_output_display_block): Delete the routine
14242 for text image glyph
14243 * redisplay-x.c (x_output_display_block): ditto
14244 * redisplay-msw.c (mswindows_output_display_block): ditto
14246 2000-02-02 Mike Alexander <mta@arbortext.com>
14248 Note: Some of these were committed by accident as part of other
14251 * regex.c (regex_compile): Avoid compiler warnings.
14253 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14255 * nt.h: Declare term_ntproc correctly.
14257 * nt.c: Remove incorrect declaration of get_home_directory which
14258 is declared correctly in lisp.h.
14260 * keymap.c (get_keyelt): Avoid compiler warnings.
14261 (raw_lookup_key_mapper): Avoid compiler warnings.
14263 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14265 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14267 * filemode.c (mode_string): Avoid compiler warnings.
14269 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14272 * events-mod.h: Undef some things that winuser.h defines differently.
14274 * data.c (Faset): Avoid compiler warnings.
14276 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14278 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14280 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14281 Fall through to simple beep on error.
14282 Replace "extern" by real header file.
14284 * linuxplay.c: Use nativesound.h
14285 (play_sound_data): Return error code. Be less verbose on error.
14287 * sunplay.c: Use nativesound.h
14288 (play_sound_data): Return error code. Be less verbose on error.
14290 * ntplay.c: Use nativesound.h
14291 (play_sound_data): Return fake error code
14293 * sgiplay.c: Use nativesound.h
14294 (play_sound_data): Return error code
14296 * hpplay.c: Use nativesound.h, partially implement
14297 new error code. Break compilation until finished.
14298 (play_sound_data): error code.
14300 * nativesound.h (play_sound_file):
14301 (play_sound_data): Prototype in new header.
14303 2000-03-31 Andy Piper <andy@xemacs.org>
14305 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14306 for toggle and radio buttons.
14307 (image_instantiator_buttons): use it.
14309 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14311 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14312 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14313 found. Scrollbar event probably belonged to some old config.
14315 2000-03-31 Andy Piper <andy@xemacs.org>
14317 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14319 (initialize_widget_image_instance): default layout to
14320 LAYOUT_HORIZONTAL rather than 0.
14321 (widget_instantiate): reverse the item list at the end rather than
14323 (layout_layout): re-code for the border text at the front of the
14324 item list rather than at the end.
14325 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14326 provided by the user.
14327 (widget_query_geometry): comment.
14329 2000-03-30 Andy Piper <andy@xemacs.org>
14331 * glyphs-widget.c (image_instantiator_layout): allow standard
14332 widget keywords in layouts.
14334 * gutter.c (output_gutter): cope with nil gutter contents.
14336 * frame.c (Fset_frame_properties): add gutter docs.
14338 2000-03-29 Andy Piper <andy@xemacs.org>
14340 * toolbar-msw.c (TBSTYLE_FLAT): add.
14341 (mswindows_output_toolbar): minor fiddling.
14343 2000-03-29 Andy Piper <andy@xemacs.org>
14345 * gutter.c (output_gutter): force gutter size recalculation if
14346 what we are trying to display won't fit.
14347 (update_gutter_geometry): new function. A per-gutter version of
14348 update_frame_gutter_geometry.
14349 (update_frame_gutter_geometry): use it.
14350 (redraw_exposed_gutter): add extra debugging output.
14352 2000-03-28 Mike Alexander <mta@arbortext.com>
14354 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14355 (pdump_file_unmap): Implement it on Windows
14356 (pdump_file_get): Save alocated handles for pdump_file_unmap
14358 2000-03-28 Andy Piper <andy@xemacs.org>
14360 * gui.c (get_gui_callback): treat Quit specially.
14362 2000-03-27 Andy Piper <andy@xemacs.org>
14364 * glyphs.c (image_instantiate): be careful to check in the same
14367 2000-03-27 Didier Verna <didier@xemacs.org>
14369 * config.h.in: define the proper SMART_INCLUDE macro.
14370 handle renaming of `foo_h_path' to `foo_h_file'.
14372 * database.c: ditto.
14376 * linuxplay.c: ditto.
14378 * terminfo.c: ditto.
14380 * tooltalk.h: ditto.
14382 2000-03-27 Andy Piper <andy@xemacs.org>
14384 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14385 gets updated whenever the face might have changed.
14387 2000-03-26 Mike Alexander <mta@arbortext.com>
14389 * dumper.c (pdump_resource_free): Fix the comment.
14391 2000-03-21 Olivier Galibert <galibert@pobox.com>
14393 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14395 2000-03-22 Mike Alexander <mta@arbortext.com>
14397 * dumper.c: Include Windows headers on Windows
14398 (pdump_resource_free): Add a body to the function
14399 (pdump_load): exe_name -> exe_path and add some comments.
14401 2000-03-25 Mike Alexander <mta@arbortext.com>
14403 * gui.c (copy_gui_item_tree): Return a value in all cases
14405 2000-03-21 Didier Verna <didier@xemacs.org>
14407 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14409 (SMART_INCLUDE): new macro.
14410 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14411 the proper location.
14413 * postgresql.c: use it.
14417 2000-03-24 Andy Piper <andy@xemacs.org>
14419 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14422 2000-03-24 Andy Piper <andy@xemacs.org>
14424 * redisplay-output.c (compare_runes): use image_instance_changed
14425 to detect changes. Do not depend on glyphs_changed, only depend on
14427 (redisplay_output_layout): add debug messages.
14428 (compare_runes): ditto.
14430 * glyphs.h: declare new functions.
14431 (struct Lisp_Image_Instance): remove percent and associated
14434 * gui.h: declare new copying functions.
14436 * gui.c (copy_gui_item_tree): new function.
14437 (copy_gui_item): new function.
14438 (gui_item_id_hash): revert to standard hash.
14439 (gui_item_hash): ditto.
14440 (gui_item_hash_internal): deleted.
14441 (mark_gui_item): mark value.
14442 (gui_item_add_keyval_pair): add value.
14443 (gui_item_init): ditto.
14444 (gui_add_item_keywords_to_plist): ditto.
14445 (gui_item_equal): ditto.
14446 (syms_of_gui): add Q_value.
14448 * glyphs-x.c (x_progress_gauge_update): use pending items and
14449 value for setting the state.
14450 (x_update_widget): don't set items from pending here.
14452 * glyphs-widget.c (update_widget): update items here.
14453 (progress_gauge_set_property): use items for storing value. Put
14454 new value in pending items.
14456 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14457 items for new value. Convert percent -> value.
14458 (mswindows_tab_control_update): don't update items here.
14460 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14461 (update_subwindow): ditto.
14462 (image_instance_changed): new function. Compare hash values and
14463 past and present widget items.
14464 (image_instantiate): We more careful about where we instantiate
14466 (image_instantiate): add error checking.
14468 * gutter.c (syms_of_gutter): use -hook.
14470 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14472 * console-tty.c (Fset_console_tty_input_coding_system): Use
14474 (Fset_console_tty_output_coding_system): Use Qterminal.
14475 (tty_init_console): Use Qkeyboard and Qterminal.
14477 2000-03-21 Ben Wing <ben@xemacs.org>
14479 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14480 From Mike Alexander <mta@arbortext.com>.
14482 2000-03-21 Ben Wing <ben@xemacs.org>
14484 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14485 process brokenness. Proper implementation to come.
14487 Rename call-process-internal to old-call-process-internal.
14488 New impl. in process.el.
14490 2000-03-21 Martin Buchholz <martin@xemacs.org>
14492 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14494 2000-03-20 Andy Piper <andy@xemacs.org>
14496 * glyphs.c (full_list_hash): make hashes of the same elements in
14497 different orders return different values.
14499 2000-03-20 Martin Buchholz <martin@xemacs.org>
14501 * XEmacs 21.2.32 is released.
14503 2000-03-20 Martin Buchholz <martin@xemacs.org>
14505 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14506 (DFC_MALLOC_USE_CONVERTED_DATA):
14507 Add aliasing-safe casts to allow use with char* or unsigned char*
14510 * eldap.c (Fldap_open):
14511 (Fldap_search_basic):
14514 Make C++-compilable.
14515 Make sure GCPRO'ed variables are initialized.
14516 Use temp variables to avoid repeated calls to Flength.
14518 2000-03-16 Martin Buchholz <martin@xemacs.org>
14521 Make sure PATH_MAX is always defined.
14522 Include limits.h for PATH_MAX.
14523 Deprecate use of MAXPATHLEN.
14525 2000-03-10 Martin Buchholz <martin@xemacs.org>
14527 * emacs.c: Add reinit_vars_of_fileio.
14528 * symsinit.h: Add reinit_vars_of_fileio.
14529 * fileio.c (reinit_vars_of_fileio): New.
14530 * fileio.c (Fmake_temp_name):
14531 Initialize temp_name random number from microseconds to make
14532 collisions even less likely. Initialize always at process startup
14533 time. (make-temp-name) used to return the same file name twice in
14535 Random stylistic fiddling.
14538 2000-03-20 Andy Piper <andy@xemacs.org>
14540 * glyphs.c (image_instantiate): allow text glyphs to be
14541 instantiated in the minibuffer window.
14543 2000-03-19 Andy Piper <andy@xemacs.org>
14545 * glyphs.c (image_instance_hash): be careful about which items we
14548 * glyphs-widget.c (tab_control_set_property): record into pending
14549 items rather than the actual items.
14551 * glyphs-x.c (x_update_widget): use pending items to update with.
14553 * glyphs-msw.c (mswindows_tab_control_update): use pending items
14556 * glyphs.c (mark_image_instance): mark pending items.
14558 * window.c (Fset_window_configuration): record the buffer.
14559 (Fselect_window): totally revert previous change which breaks many
14562 2000-03-18 Andy Piper <andy@xemacs.org>
14564 * glyphs-msw.c (mswindows_tab_control_update): force selected
14567 * glyphs.c (image_instantiate): don't allow the minibuffer as a
14568 window domain cache, otherwise we get inconsistencies at
14569 startup. There is something fishy at startup which can lead to the
14570 minibuffer being the selected window when the gutter content is
14573 * gui.c (parse_gui_item_tree_list): add probably unnecessary
14575 (parse_gui_item_tree_children): ditto.
14576 (parse_gui_item_tree_item): ditto.
14578 * glyphs.c (Fupdate_widget_instances): return something.
14580 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
14582 * window.c (Fselect_window): Undo 2000-03-17 change.
14584 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
14586 * postgresql.c (Fpq_setenv): Remove this turkey when linking
14587 against v7.0 libraries. Insta-coredump city until the postgres
14590 2000-03-17 Andy Piper <andy@xemacs.org>
14592 * faces.c (complex_vars_of_faces): don't give the widget face an
14593 inherited background pixmap.
14595 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
14598 * event-stream.c (Fdispatch_non_command_events): return something.
14600 * gutter.c (output_gutter): use widget face.
14601 (clear_gutter): ditto.
14603 * NEWS: adjust again.
14605 * window.c (Fselect_window): make sure this runs to completion to
14606 avoid oddities with Fset_window_configuration.
14607 (Fcurrent_window_configuration): in general do not save the
14608 minibuffer as the selected window.
14610 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
14612 2000-03-16 Olivier Galibert <galibert@pobox.com>
14614 * emacs.c (Frunning_temacs_p): Revert previous patch.
14615 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
14617 2000-03-16 Andy Piper <andy@xemacs.org>
14619 * glyphs-x.c (x_tab_control_update): if no widget values then
14622 * NEWS: update for new features.
14624 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
14625 synthetic event to the native system.
14626 (reinit_vars_of_event_Xt): set force_event_pending to
14627 emacs_Xt_force_event_pending.
14629 * events.h (struct event_stream): add force_event_pending.
14631 * specifier.c (recompute_one_cached_specifier_in_window): add
14634 * redisplay.c (redisplay_frame): don't call
14635 update_frame_subwindows. Reset subwindow cachels when
14636 subwindows_changed, removing this was an optimization too far.
14638 * redisplay-output.c (compare_runes): reorganize so that we catch
14639 glyph changes when we want them. Set optimize_output when this
14640 would help layouts.
14641 (redisplay_output_layout): remove frame_really_changed, use
14642 optimize_output instead.
14644 * redisplay-msw.c (mswindows_output_display_block): reset
14645 optimize_output after outputting a glyph.
14646 * redisplay-x.c (x_output_display_block): ditto.
14647 * redisplay-tty.c (tty_output_display_block): ditto.
14649 * gutter.c: (specifier_vars_of_gutter): use new spec changed
14651 (gutter_specs_changed): do specific gutter positions.
14652 (top_gutter_specs_changed): new function. Only update the
14653 specified gutter specs.
14654 (bottom_gutter_specs_changed): ditto.
14655 (left_gutter_specs_changed): ditto.
14656 (right_gutter_specs_changed): ditto.
14658 * gui.c (gui_item_hash_internal): new function, does a real hash.
14659 (gui_item_id_hash): use it.
14660 (gui_item_hash): hash the eval'ed gui_item.
14662 * gui-x.c (popup_selection_callback): send an eval event to call
14663 Fupdate_widget_instances.
14665 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
14666 to call Fupdate_widget_instances.
14668 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
14669 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
14671 * glyphs.c: (update_frame_subwindows): deleted.
14672 (Fupdate_widget_instances): new function for updating the dirty
14673 state of widgets that might have changed.
14674 (syms_of_glyphs): add Qupdate_widget_instances.
14675 (full_list_hash): hash a list completely.
14676 (image_instance_hash): use it for items and properties.
14678 * frame-msw.c (mswindows_size_frame_internal): remove unused
14681 * faces.h (struct face_cachel): fix comment.
14683 * event-stream.c (Fdispatch_non_command_events): new
14684 function. Process non-command events, forcing an event cycle
14686 (syms_of_event_stream): declare.
14687 (event_stream_force_event_pending): new function. Force an event
14688 on the native event queue so that an event cycle will occur next
14692 (struct ntpipe_shove_stream):
14693 (mswindows_enqueue_dispatch_event):
14694 (mswindows_dequeue_dispatch_event):
14695 (mswindows_cancel_dispatch_event):
14696 (mswindows_pump_outstanding_events):
14697 (mswindows_drain_windows_queue):
14698 (mswindows_handle_paint):
14699 (mswindows_wnd_proc):
14700 (mswindows_key_to_emacs_keysym):
14701 (get_process_input_waitable):
14702 (emacs_mswindows_delete_stream_pair): re-indent file.
14703 (mswindows_need_event): do not process further fds if the windows
14704 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14705 fixes the 100% cpu problem.
14706 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14708 2000-03-15 Olivier Galibert <galibert@pobox.com>
14714 * emacs.c: Moved dump file searching to dumper.c.
14715 (Frunning_temacs_p): Fixed.
14717 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14718 last_lrecord_type_index_assigned.
14720 2000-02-20 Olivier Galibert <galibert@pobox.com>
14722 * symsinit.h: Added reinit parameter to init_console_stream
14725 * lisp.h: Added file parameter to pdump_load declaration.
14727 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14728 support. Added dump file searching.
14730 * config.h.in: Added EMACS_PROGNAME.
14732 * console-stream.c (init_console_stream): Fix reinitialisation
14733 when running from temacs.
14735 * alloc.c (pdump): Add id support.
14736 (pdump_load): Add file parameter and signature/id support.
14738 * Makefile.in.in: Add full pdump support.
14740 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14742 * postgresql.c: Update documentation to reflect latest code
14744 (print_result): Show tuple counts in printed representation when
14746 (Fpq_put_nbytes): MULE-ize.
14747 (Fpq_get_line_async): Ditto.
14749 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14751 * postgresql.c (Fpq_lo_import): Fix return value.
14752 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14754 2000-03-13 Ben Wing <ben@xemacs.org>
14756 * alloc.c (pdump_load):
14757 Fix compile warning under mswin.
14759 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14761 * postgresql.c: Mule-ization, bug fixes.
14762 Use PG_CODING to encapsulate coding system name changes.
14763 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14764 (pg-coding-system): Create.
14766 (Fpq_conn_defaults): Mule-ize.
14767 (Fpq_connectdb): Mule-ize & bug fix.
14768 (Fpq_connect_start): Mule-ize.
14769 (Fpq_set_client_encoding): Mule-ize.
14770 (Fpq_finish): Document `DEAD' connection status.
14771 (Fpq_clear): Ditto.
14772 (Fpq_pgconn): Mule-ize.
14773 (Fpq_exec): Mule-ize & bug fix.
14774 (Fpq_send_query): Ditto.
14775 (Fpq_get_result): Ditto.
14776 (Fpq_res_status): Mule-ize.
14777 (Fpq_result_error_message): Mule-ize.
14778 (Fpq_ntuples): fix comments.
14779 (Fpq_fname): Mule-ize.
14780 (Fpq_fnumber): Mule-ize.
14781 (Fpq_ftype): fix comments.
14782 (Fpq_get_value): Mule-ize.
14783 (Fpq_cmd_status): Ditto.
14784 (Fpq_cmd_tuples): Ditto.
14785 (Fpq_oid_value): Ditto.
14786 (Fpq_notifies): Ditto.
14787 (Fpq_lo_import): Ditto.
14788 (Fpq_lo_export): Ditto.
14789 (Fpq_get_line): Ditto.
14790 (Fpq_put_line): Mule-ize and bug fix.
14791 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14793 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14795 * postgresql.c (vars_of_postgresql): Mule-ize.
14796 (Fpq_conn_defaults): Ditto.
14798 2000-03-12 Ben Wing <ben@xemacs.org>
14800 * alloc.c (Fmake_byte_code):
14801 * alloc.c (debug_string_purity_print):
14802 * alloc.c (pdump_backtrace):
14803 * alloc.c (pdump_get_indirect_count):
14804 * alloc.c (pdump_register_sub):
14805 * alloc.c (pdump_register_object):
14806 * alloc.c (pdump_register_struct):
14807 * alloc.c (pdump_dump_data):
14808 * alloc.c (pdump_reloc_one):
14812 * console-msw.c (GetConsoleHwnd):
14813 * console-msw.c (msw_hide_console):
14814 * console-msw.c (msw_show_console):
14815 * console-msw.c (msw_ensure_console_buffered):
14816 * console-msw.c (msw_output_console_string):
14817 * console-msw.c (console_type_create_mswindows):
14819 a) Added functions to manipulate the console window for use with
14822 b) Added support for writing text to the console, which is now
14823 used under Windows when xemacs is not being run non-interactively,
14824 to write text that would otherwise be destined for stdout because
14825 under these circumstances, text written to stdout tends to
14826 disappear and not be seen.
14830 * event-Xt.c (x_event_to_emacs_event):
14831 * event-Xt.c (describe_event_window):
14832 * events-mod.h (XEMACS_MOD_CONTROL):
14834 * events.c (Fmake_event):
14835 * events.c (character_to_event):
14836 * events.c (event_to_character):
14837 * events.c (format_event_object):
14838 * events.c (Fevent_modifiers):
14840 * events.h (struct key_data):
14841 * events.h (struct button_data):
14842 * events.h (struct misc_user_data):
14843 * frame-x.c (Fcde_start_drag_internal):
14844 * frame-x.c (Foffix_start_drag_internal):
14845 * gpmevent.c (Freceive_gpm_event):
14847 * keymap.c (bucky_sym_to_bucky_bit):
14848 * keymap.c (control_meta_superify):
14849 * keymap.c (make_key_description):
14850 * keymap.c (keymap_lookup_directly):
14851 * keymap.c (create_bucky_submap):
14852 * keymap.c (keymap_store):
14853 * keymap.c (define_key_check_and_coerce_keysym):
14854 * keymap.c (define_key_parser):
14855 * keymap.c (define_key_alternate_name):
14856 * keymap.c (Fdefine_key):
14857 * keymap.c (raw_lookup_key_mapper):
14858 * keymap.c (struct map_keymap_unsorted_closure):
14859 * keymap.c (map_keymap_unsorted_mapper):
14860 * keymap.c (map_keymap_sort_predicate):
14861 * keymap.c (map_keymap_sorted):
14862 * keymap.c (accessible_keymaps_mapper_1):
14863 * keymap.c (where_is_recursive_mapper):
14864 * keymap.c (describe_map_mapper):
14865 * keymap.c (describe_map_sort_predicate):
14866 * keymap.c (describe_map):
14867 * keymap.c (complex_vars_of_keymap):
14868 And a number of other files, the key modifier preprocessor
14869 constants that xemacs uses have names that conflict with constants
14870 defined under MS Windows for other purposes, so they were renamed
14871 to begin with the prefix XEMACS_. The variables that hold such
14872 modifiers were changed to consistently be of type int to fix
14873 various compile warnings.
14875 * console.c (complex_vars_of_console):
14878 * device-msw.c (mswindows_finish_init_device):
14879 * device-msw.c (msw_get_workspace_coords):
14880 * device-msw.c (mswindows_device_system_metrics):
14881 and various other files, added support for a new
14882 device property called offset-workspace which returns the position
14883 of the upper left corner of the workspace area and goes along with
14884 the existing size-workspace property.
14887 * dialog-msw.c (push_bufbyte_string_as_unicode):
14888 * dialog-msw.c (mswindows_popup_dialog_box):
14889 Added support for XEmacs-style accelerator specifications in
14890 button text. Note: I didn't add support for this under X Windows,
14891 and somebody needs to do this.
14894 * dialog.c (Fpopup_dialog_box):
14895 Documented the support for accelerators that was just mentioned.
14897 editfns.c (get_home_directory): Changed behavior under Windows
14898 when HOME not defined; former behavior was irretrievably broken.
14901 * emacs.c (main_1):
14903 * minibuf.c (clear_echo_area_internal):
14904 * minibuf.c (echo_area_append):
14906 * print.c (std_handle_out_external):
14907 * print.c (std_handle_out_va):
14909 * print.c (write_string_to_stdio_stream):
14910 * print.c (output_string):
14911 * print.c (debug_print):
14912 * print.c (debug_backtrace):
14913 * print.c (debug_short_backtrace):
14914 Cleaned up the code that prints text to stdout so that this can be
14915 changed to output into a console window instead under MS Windows,
14916 as described above.
14919 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14920 * eval.c (internal_catch):
14921 * eval.c (unwind_to_catch):
14922 * eval.c (throw_or_bomb_out):
14923 * eval.c (condition_case_1):
14924 * eval.c (signal_1):
14925 * eval.c (check_error_state_sanity):
14926 * eval.c (call_with_suspended_errors_1):
14927 * eval.c (call_with_suspended_errors):
14928 * eval.c (reinit_vars_of_eval):
14929 Added code to catch throw loops and check for a pesky bug that may
14933 * event-msw.c (key_needs_default_processing_p):
14934 * event-msw.c (mswindows_wnd_proc):
14935 * event-msw.c (mswindows_modifier_state):
14936 * event-msw.c (emacs_mswindows_quit_p):
14937 * event-msw.c (vars_of_event_mswindows):
14938 a) Added support for using the alt key to select menu items as is
14939 standard under MS Windows. This is controlled using the variable
14940 menu-accelerator-enabled, just like under X Windows. There is an
14941 option on the options menu to turn this support on. I really
14942 think that it should be on by default under Windows, but I'm not
14943 going to make this change yet.
14945 b) Added support for dynamic display size changes under Windows.
14948 * event-stream.c (maybe_echo_keys):
14949 * event-stream.c (Fnext_event):
14950 * event-stream.c (command_builder_find_leaf):
14951 * event-stream.c (lookup_command_event):
14952 * event-stream.c (execute_command_event):
14953 * event-stream.c (pre_command_hook):
14954 * event-stream.c (post_command_hook):
14955 * event-stream.c (syms_of_event_stream):
14956 * event-stream.c (vars_of_event_stream):
14957 * event-stream.c (complex_vars_of_event_stream):
14958 * events.h (struct command_builder):
14960 a) Tried to clean up a little bit the horribly written x-specific
14961 accelerator code that crept into this file. I moved this code
14962 into menubar-x.c where it belongs. I also needed to move the
14963 command builder structure into the file events.h because it is
14964 accessed directly by this accelerator code. What I didn't do, but
14965 which should be done at some point, is to properly abstract this
14966 code using device methods instead of the kludgy way that it
14967 currently hooks into the event code.
14969 b) Added the lisp variables this-command-properties and
14970 last-command- properties, which should be used to synchronize two
14971 adjacent commands in preference to playing games with the variable
14972 this-command, which is typically what happens.
14974 c) Added some slightly nasty code to hook into the lisp support
14975 for shifted- motion-key selection. This is actually necessary for
14976 somewhat complicated reasons, which are described in
14977 simple.el. (NB: I think the proper thing would be to have the code
14978 that calls the pre and post command hooks also call out to generic
14979 lisp functions in simple.el, where all built-in stuff could be
14980 added. I will think about this more.)
14982 * event-unixoid.c (poll_fds_for_input):
14983 * lread.c (readchar):
14984 * redisplay-tty.c (tty_clear_frame):
14985 * redisplay-x.c (x_get_gc):
14986 * signal.c (interrupt_signal):
14987 And a whole bunch of other files: fixed up places that printed
14988 directly to stderr to instead call the function stderr_out so that
14989 the changes I made under Windows work correctly.
14991 * filemode.c (mode_string):
14995 * frame-msw.c (mswindows_size_frame_internal):
14996 Fixed the computation of frame size and position to keep the frame
14997 within the workspace area, rather than within the physical
14998 dimensions of the screen, so that the frame doesn't overlap window
14999 manager decorations, such as the start menu and toolbar, typically
15000 at the bottom of the screen.
15002 * frame.c (vars_of_frame):
15003 Changed the default frame title format under MS Windows to consist
15004 of buffername-XEmacs, which is standard under MS Windows. I think
15005 it might be a good idea to change this everywhere because I think
15006 it is superior to the current frame title format, but this is the
15007 kind of change that is likely to cause some people to get annoyed,
15008 so I'm not making it.
15010 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15012 * gui-msw.c (mswindows_handle_gui_wm_command):
15013 Fixed compile warnings.
15016 * gui-x.c (strdup_and_add_accel):
15017 * gui-x.c (button_item_to_widget_value):
15019 Added code to automatically put an accelerator onto the beginning
15020 of menu items that don't have one as is now the standard, and is
15021 described more later. Also fixed things so that the menu item
15022 name can be an evaluated expression, again a new standard.
15025 * gui.c (gui_item_add_keyval_pair):
15026 * gui.c (make_gui_item_from_keywords_internal):
15027 * gui.c (gui_add_item_keywords_to_plist):
15028 * gui.c (gui_item_accelerator):
15029 * gui.c (gui_name_accelerator):
15030 * gui.c (gui_item_included_p):
15031 * gui.c (gui_item_display_flush_left):
15032 * gui.c (gui_item_display_flush_right):
15033 * gui.c (parse_gui_item_tree_item):
15034 * gui.c (parse_gui_item_tree_children):
15035 * gui.c (parse_gui_item_tree_list):
15036 Mule-ized. Cleanup. GCPRO addition.
15038 * line-number.c (buffer_line_number):
15040 * lisp.h (EMACS_INT_MAX):
15041 Added the manifest constant EMACS_INT_MIN corresponding to the
15042 existing constant EMACS_INT_MAX. This is partially to fix compile
15043 warnings under Windows, and partly for cleanliness.
15046 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15047 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15048 * menubar-msw.c (displayable_menu_item):
15049 * menubar-msw.c (populate_menu_add_item):
15050 * menubar-msw.c (populate_or_checksum_helper):
15051 * menubar-msw.c (populate_menu):
15052 * menubar-msw.c (update_frame_menubar_maybe):
15053 * menubar-msw.c (prune_menubar):
15054 * menubar-msw.c (msw_char_is_accelerator):
15055 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15056 * menubar-msw.c (mswindows_handle_wm_command):
15057 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15058 * menubar-msw.c (mswindows_handle_wm_initmenu):
15059 * menubar-msw.c (mswindows_update_frame_menubars):
15060 * menubar-msw.c (mswindows_free_frame_menubars):
15061 * menubar-msw.c (mswindows_popup_menu):
15062 Fixed a bug in handling accelerators where an extra character
15063 would be displayed in the menu item. Also generalized the
15064 function displayable_menu_item because it is now used by the
15065 dialog box code as well. And finally, added code in the functions
15066 that create the menubar to extract a list of accelerators for the
15067 top level menubar, which is used in the event code to determine
15068 whether a particular alt-key combination should be used to invoke
15069 a menu item, or should be passed through to access the standard
15070 XEmacs keymap binding for this key combination.
15072 Much needed GCPROing.
15075 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15076 * menubar-x.c (menu_item_descriptor_to_widget_value):
15077 * menubar-x.c (restore_in_menu_callback):
15078 * menubar-x.c (x_popup_menu):
15079 * menubar-x.c (menu_move_up):
15080 * menubar-x.c (menu_move_down):
15081 * menubar-x.c (menu_move_left):
15082 * menubar-x.c (menu_move_right):
15083 * menubar-x.c (menu_select_item):
15084 * menubar-x.c (command_builder_operate_menu_accelerator):
15085 * menubar-x.c (menu_accelerator_junk_on_error):
15086 * menubar-x.c (command_builder_find_menu_accelerator):
15087 * menubar-x.c (Faccelerate_menu):
15089 Moved a whole bunch of code here that was previously in
15090 event-stream.c as described above. There is also code connected
15091 to the new standard of adding an accelerator to the beginning of
15092 menu items that don't have one as described above and below.
15095 * menubar.c (menu_parse_submenu_keywords):
15096 * menubar.c (Fmenu_find_real_submenu):
15097 * menubar.c (Fnormalize_menu_item_name):
15098 * menubar.c (syms_of_menubar):
15099 * menubar.c (vars_of_menubar):
15100 * menubar.c (complex_vars_of_menubar):
15102 a) Cleaned up a bunch of documentation and improved it.
15104 b) XEmacs now automatically adds an accelerator onto the beginning
15105 of any menu items that don't have one. I did this because there
15106 will inevitably be some menu items on the main menubar that don't
15107 have accelerators on them because the package that adds that
15108 particular menu item hasn't yet been fixed up to have accelerators
15109 in them and it looked rather strange to have some items with and
15110 some items without accelerators, especially since even in items
15111 without accelerators, you can, at least under windows, still
15112 access the item through an accelerator corresponding to the first
15113 character in the item's name. If people don't like this behavior,
15114 I can add a variable to turn it off optionally, but I'm not sure
15115 this is a good idea because we really do need to have accelerators
15116 on all of the menu items, and if a package doesn't like the
15117 accelerators being put on the first character, then it should put
15118 the accelerators where they belong.
15120 c) I made a behavior change, which is that the descriptor that
15121 specifies the text of the menu item, which formerly was just a
15122 string, can now also be an evaluated expression. This makes this
15123 descriptor parallel with all of the others, which could also be
15124 evaluated expressions. This also obviates the need for the
15125 keyword :label, which was previously listed in the documentation
15126 as unimplemented, and which was for the same purpose.
15131 * ntproc.c (new_child):
15132 * ntproc.c (sys_spawnve):
15133 * ntproc.c (find_child_console):
15134 * ntproc.c (sys_kill):
15135 Fixed compile warnings. By the way, this file should really go
15136 away entirely, and this will happen as soon as Kirill makes his
15137 final round of process cleanups, which affect the function
15141 * process-nt.c (struct nt_process_data):
15142 * process-nt.c (find_process_from_pid):
15143 * process-nt.c (send_signal_the_nt_way):
15144 * process-nt.c (enable_child_signals):
15145 * process-nt.c (find_child_console):
15146 * process-nt.c (send_signal_the_95_way):
15147 * process-nt.c (nt_finalize_process_data):
15148 * process-nt.c (ensure_console_window_exists):
15149 * process-nt.c (nt_create_process):
15150 * process-nt.c (nt_kill_child_process):
15151 * process-nt.c (nt_kill_process_by_pid):
15152 * process-nt.c (nt_open_network_stream):
15153 * process-nt.c (vars_of_process_nt):
15154 Copied over code from Emacs 20.5 to correctly send signals to sub-
15155 processes under Windows 95. Also added code to automatically
15156 create and hide console window when a sub-process is created under
15157 Windows 95, which obviates the need for the separate runemacs.exe
15158 executable, and finally implemented some variables that were
15159 implemented in Emacs 20.5, but previously not in XEmacs. These
15160 include mswindows- start-process-share-console and
15161 mswindows-start-process-inherit-error-mode. (Both of these only
15162 apply to Windows 95.)
15164 * regex.c (regex_compile): Fixed a compile warning.
15167 * select-msw.c (mswindows_own_selection):
15168 * select-msw.c (mswindows_get_foreign_selection):
15169 * select-msw.c (mswindows_disown_selection):
15170 * select-msw.c (console_type_create_select_mswindows):
15171 * select-msw.c (syms_of_select_mswindows):
15172 Cleaned up the file and implemented the device method
15173 selection_exists_p, which had accidentally been left out. Also
15174 removed four lisp functions that were remnants from before the
15175 time when the selection code was properly device abstracted.
15176 These functions are no longer needed because there are generic
15177 equivalents, and because they were added recently and don't exist
15178 in FSF Emacs, I don't think there's any problem with just deleting
15182 * sysdep.c (sys_subshell):
15183 Fixed a compile warning, although in this case there's probably
15184 something wrong with this code, and it ought to be looked into
15185 more thoroughly by somebody who understands it.
15188 * window.c (Fwindow_text_area_height):
15189 * window.c (Fwindow_width):
15190 * window.c (Fwindow_full_width):
15191 * window.c (Fwindow_pixel_width):
15192 * window.c (debug_print_window):
15193 * window.c (syms_of_window):
15194 Added functions window-text-area-height and window-full-width,
15195 which are functions for returning various width and height
15196 characteristics of a window. (One of these functions is necessary
15197 for making the file dialog box work correctly, and the other one
15198 was added for completeness.) Also added a table to the
15199 documentation for window-height which describes the entire scheme
15200 for accessing width and height characteristics of a window.
15202 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15204 * nt.c (fstat): Added a comment for another problem with
15205 non-encapsulated [f]stat(), reported by Adrian Aichner
15206 <aichner@ecf.teradyne.com>.
15208 2000-03-11 Andy Piper <andy@xemacs.org>
15210 * window.c (make_dummy_parent): initialize subwindow instance
15212 (Fset_window_configuration): zero extent_modiff.
15214 2000-03-10 Andy Piper <andy@xemacs.org>
15216 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15217 more changes can be triggered.
15218 (Fredisplay_frame): ditto.
15219 (Fredraw_device): ditto.
15220 (Fredisplay_device): ditto.
15221 (redisplay_frame): make non-static.
15222 (redisplay_frame): call update_frame_gutter_geometry outside of
15225 * gutter.h: declare update_frame_gutter_geometry.
15227 * redisplay.h: declare redisplay_frame.
15229 * gutter.c (update_frame_gutter_geometry): move geometry changes
15230 in update_frame_gutters here. Geometry changes can only occur
15231 outside of redisplay.
15232 (update_frame_gutters): remove geometry change code.
15233 (Fredisplay_gutter_area): make sure that we are in display when we
15234 update and that we have flushed any size changes.
15236 2000-03-11 Andy Piper <andy@xemacs.org>
15238 * alloc.c (pdump_dump_data): remove i & count shadows.
15240 2000-02-27 Mike Alexander <mta@arbortext.com>
15242 * sysdep.h: Declare pdump_read_file
15244 * sysdep.c (pdump_read_file): New function
15246 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15249 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15251 * lrecord.h: add `lrecord_type_pgsetenv'.
15253 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15255 * symsinit.h: declare (vars|syms)_of* functions.
15256 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15258 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15260 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15262 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15265 * emacs.c (main_1): Call postgres initialization code.
15267 * postgresql.h: New file. PostgreSQL RDBMS support.
15268 * postgresql.c: New file.
15270 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15272 * redisplay-output.c (redisplay_output_display_block): Disable
15275 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15277 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15278 (Fcanna_henkan_next): Ditto.
15279 (Fcanna_bunsetu_henkou): Ditto.
15280 (Fcanna_henkan_kakutei): Ditto.
15281 (Fcanna_henkan_end): Ditto.
15282 (Fcanna_henkan_quit): Ditto.
15283 (Fcanna_henkan_next): Set retun value correctly.
15284 (c2mu): Use unsigned char instead of signed char.
15286 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15288 * emacs.c (main_1): Always call syms_of_gui.
15289 * inline.c: include gui.h
15291 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15293 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15294 converted to Lisp_Object.
15295 (Qtop_bottom): New variable.
15296 (syms_of_redisplay): Initialize it.
15297 * redisplay.h (Vvisible_bell): Ditto.
15298 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15299 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15300 only flash top and bottom.
15302 2000-03-08 Andy Piper <andy@xemacs.org>
15304 * buffer.c (Frename_buffer): record new buffer name the right way.
15306 2000-03-08 Andy Piper <andy@xemacs.org>
15308 * glyphs.c (update_subwindow): increase hash depth so that widget
15309 items get picked up properly.
15311 * redisplay-output.c (compare_runes): increase hash depth so that
15312 widget items get picked up properly.
15314 2000-03-08 Andy Piper <andy@xemacs.org>
15316 * gutter.c (output_gutter): add some debug.
15318 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15319 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15320 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15322 * redisplay-output.c (compare_runes): use display_hash to
15323 determine if glyphs really are not the same.
15325 * glyphs.c (update_subwindow): check display_hash to see if
15326 anything really needs to be updated. If not then do
15327 nothing. Record the display_hash after updating.
15328 (image_instance_equal): compare the image_instance face also.
15330 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15332 * redisplay.h: Fix comment style.
15334 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15336 * consle-msw.h (struct mswindows_frame):
15337 Added new member paint_pending to indicate whether a WM_PAINT
15338 magic event has been queued for this frame.
15340 * event-msw.c (mswindows_drain_windows_queue):
15341 Don't queue a WM_PAINT magic event if one is already queued.
15342 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15344 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15346 2000-03-07 Didier Verna <didier@xemacs.org>
15348 * dired.c: #include `regex.h' after `sysfile.h'.
15350 2000-03-06 Martin Buchholz <martin@xemacs.org>
15352 * sound.c (init_nas_sound): Fix compiler warning.
15354 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15356 (MARK_STRUCT_AS_FREE):
15357 (MARK_STRUCT_AS_NOT_FREE):
15358 Make `gcc -fstrict-aliasing' work properly.
15360 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15362 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15363 (mswindows_delete_device): Call CoUnnitialize().
15365 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15367 2000-02-25 <CraigL@DyCon.com>
15369 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15372 * sysdep.c: This extern declaration for environ prevents MinGW
15373 from finding the variable in CRTDLL.DLL.
15375 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15377 (SHGFI_EXETYPE): ..
15378 (WM_MOUSEWHEEL): ..
15379 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15381 (MMRESULT): Removed, now defined in cygwin's windows headers.
15383 (uid_t,gid_t,pid_t,ssize_t): ..
15384 (_timeb): Removed, MinGW defines both _timeb and timeb.
15385 (HAVE_H_ERRNO): Added.
15386 (HAVE_TZNAME): Added, configure is not detecting this.
15388 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15390 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15391 * syntax.c (syntax_match): Use it.
15393 * cmds.c: Import auto-fill-chars from FSF Emacs.
15394 (Vauto_fill_chars): New variables.
15395 (internal_self_insert): Check Vauto_fill_chars.
15397 Declare auto-fill-chars as a Lisp variable and initialize it.
15399 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15401 * fileio.c (Fmake_symbolic_link):
15403 Run handlers even if local machine doesn't have symlinks.
15405 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15407 * event-msw.c (mswindows_drain_windows_queue):
15408 Don't generate paint magic events for non-XEmacs frames.
15410 2000-03-05 Andy Piper <andy@xemacs.org>
15412 * redisplay.c (redisplay_frame): generate_displayable_area and
15413 friends assumes that we are not in GC, we therefore have to make
15414 sure that this doesn't happen.
15416 * gutter.c (calculate_gutter_size): generate_displayable_area
15417 assumes that we are not in GC, we therefore have to make sure that
15418 this doesn't happen.
15420 2000-03-05 Martin Buchholz <martin@xemacs.org>
15422 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15424 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15426 * redisplay.c (regenerate_window): Make sure we set a sane value
15427 for end_pos even if we jump out of the loop.
15428 (regenerate_window): Answer Ben's question :-).
15429 (start_end_of_last_line): Add may_error argument.
15430 (start_of_last_line):
15431 (end_of_last_line): Pass may_error = 0.
15432 (end_of_last_line_may_error): New function.
15433 (pixel_to_glyph_translation): Use it, so we don't crash in
15436 2000-03-04 Andy Piper <andy@xemacs.org>
15438 * window.h (struct window): add gutter_extent_modiff.
15440 * window.c (allocate_window): zero out gutter_extent_modiff.
15442 * redisplay.h: declare sync_display_line_structs.
15444 * redisplay.c (add_glyph_rune): add a better comment.
15446 * redisplay-output.c (sync_display_line_structs): made non-static.
15447 (compare_runes): remove unneccesary glyph cachel access.
15449 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15451 * gutter.c (output_gutter): don't output the gutter if extent
15452 changes only involve extents in buffers. use 4 sets of display
15454 (gutter_extent_signal_changed_region_maybe): new function. Mark
15455 extents in gutters as changed.
15456 (update_frame_gutters): use 4 sets of display lines.
15457 (reset_gutter_display_lines): ditto.
15458 (free_frame_gutters): ditto.
15459 (redraw_exposed_gutter): force output of gutters.
15461 * frame.h (struct frame): add 4 sets of gutter display lines.
15463 * extents.c: (extent_changed_for_redisplay): signal changes to
15464 extents in strings in the gutter as well as extents in buffers.
15466 2000-03-02 Andy Piper <andy@xemacs.org>
15468 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15470 * frame.c (Fmake_frame): make sure the gutters get initialized
15471 after the frame is visible.
15472 (set_frame_selected_window): re-arrange compilation macros a
15474 (change_frame_size_1): mark gutters changed.
15476 * device.c (Fset_device_class): mark gutters changed.
15478 2000-03-01 Andy Piper <andy@xemacs.org>
15480 * window.c (window_top_frame_gutter_height): deleted.
15481 (window_bottom_frame_gutter_height): ditto.
15482 (window_left_frame_gutter_height): ditto.
15483 (window_right_frame_gutter_height): ditto.
15484 (window_top_gutter_height): don't use them.
15485 (window_bottom_gutter_height): ditto.
15486 (window_left_gutter_width): ditto.
15487 (window_right_gutter_width): ditto.
15488 (Fsplit_window): ditto.
15489 (Fwindow_pixel_edges): don't use border dimensions here.
15491 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15492 (update_scrollbar_instance): ditto.
15494 * redisplay.c (generate_modeline): don't take gutters into account.
15495 (generate_modeline): ditto.
15496 (redisplay_frame): small gutter display optimization.
15498 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15500 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15501 gutters into account.
15503 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15504 for window position and type.
15506 * gutter.c (get_gutter_coords): fix for frame gutters.
15507 (update_frame_gutters): update frame geometry if the gutters have
15509 (init_frame_gutters): record current gutter geometries.
15511 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15513 (mswindows_widget_instantiate): ditto.
15515 * frame.h (struct frame): add current_gutter_bounds.
15517 * frame.c (change_frame_size_1): position window and minibuffer
15518 appropriately taking into account the frame gutters.
15520 * frame-x.c: (x_initialize_frame_size): take into account the
15523 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15525 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15527 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15529 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15531 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15533 * file-coding.c (reset_decoding_stream): Clear previous
15534 detection state when autodetect.
15536 2000-02-29 Didier Verna <didier@xemacs.org>
15538 * extents.c (set_extent_glyph_1): don't require extents to be
15541 2000-02-27 Andy Piper <andy@xemacs.org>
15543 * gutter.c (Fset_default_gutter_position): don't default left and
15544 right gutter visibility to t.
15545 (Fset_default_gutter_position): run
15546 default-gutter-position-changed-hook.
15547 (syms_of_gutter): add default-gutter-position-changed-hook.
15549 2000-02-26 Andy Piper <andy@xemacs.org>
15551 * specifier.c (Fmake_specifier): add gutter references.
15553 * gutter.h (RAW_WINDOW_GUTTER): new macro.
15555 * lisp.h: declare Fvalid_plist_p.
15557 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
15559 (default_gutter_visible_p_changed_in_window): invalidate gutter as
15560 well as its visibility so that it gets reconstructed.
15561 (construct_window_gutter_spec): new function. Construct a string
15562 to be displayed in the gutter from a plist of strings. Take care
15563 to only use elements that are declared as visible.
15564 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
15566 (gutter_validate): allow plists of strings in the specifier.
15567 (gutter_specs_changed): construct the real_gutter from the gutter
15568 specs using construct_window_gutter_spec.
15569 (gutter_visible_validate): gutter-visible is a new specifier type.
15570 (Fgutter_visible_specifier_p): new function for the new specifier.
15571 (syms_of_gutter): declare gutter-visible and
15572 Fgutter_visible_specifier_p.
15573 (specifier_type_create_gutter): intitalize new gutter-visible
15575 (reinit_specifier_type_create_gutter): ditto.
15576 (specifier_vars_of_gutter): use new specifier type for gutter
15578 (init_frame_gutters): construct real_gutter correctly.
15579 (Fgutter_specifier_p): beef up documentation.
15580 (Fgutter_size_specifier_p): ditto.
15582 * winslots.h: add real_gutter slots.
15584 2000-02-25 Andy Piper <andy@xemacs.org>
15586 * device-msw.c: Be kind to older cygwin versions. From Raymond
15587 Toy <toy@rtp.ericsson.se>.
15589 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
15590 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
15592 2000-02-25 Martin Buchholz <martin@xemacs.org>
15594 * elhash.c (MARK_OBJ): Practice macro hygiene.
15596 2000-02-24 Martin Buchholz <martin@xemacs.org>
15598 * miscplay.c: s/__inline__/inline/g;
15599 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
15600 (get_device_compdc): INLINE ==> static inline
15601 * *.[ch]: Change INLINE to INLINE_HEADER globally.
15602 find -name '*.h' | \
15603 xargs global-replace \
15604 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
15606 2000-02-25 Andy Piper <andy@xemacs.org>
15608 * window.c (window_top_frame_gutter_height): new function.
15609 (window_top_window_gutter_height): ditto.
15610 (window_top_gutter_height): use them.
15611 (window_bottom_frame_gutter_height): new function.
15612 (window_bottom_window_gutter_height): ditto.
15613 (window_bottom_gutter_height): use them.
15614 (window_left_window_gutter_width): new function.
15615 (window_left_frame_gutter_width): ditto.
15616 (window_left_gutter_width): use them.
15617 (window_right_window_gutter_width): new function.
15618 (window_right_frame_gutter_width): ditto.
15619 (window_right_gutter_width): use them.
15620 (window_pixel_height): new function. calulate window pixel height
15621 with frame gutter involvement.
15622 (Fsplit_window): calculate new sizes taking frame gutters into
15624 (window_char_height_to_pixel_height): don't include frame gutters.
15625 (window_char_height): use window_pixel_height.
15626 (window_pixheight): rename from window_pixel_height.
15627 (change_window_height): use it.
15628 (window_pixel_height_to_char_height): don't include frame gutters.
15629 (window_char_width_to_pixel_width): ditto.
15631 2000-02-25 Andy Piper <andy@xemacs.org>
15633 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
15636 2000-02-24 Martin Buchholz <martin@xemacs.org>
15638 * alloc.c (staticpro):
15639 (staticpro_nodump):
15644 (compact_string_chars):
15645 (pdump_dump_wired):
15646 Convert: if (foo) abort(); ==> assert (! foo);
15648 * eldap.c (Fldap_search_basic):
15652 Fix compiler warnings, and possible crashes if (random) return
15653 value were to be used.
15655 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15657 * device-msw.c: Workaround ResetDC failure.
15659 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
15660 applying a devmode.
15662 * redisplay-msw.c (get_frame_dc): Added start_page_p.
15663 (mswindows_text_width): Do not start printer page.
15665 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
15667 * glyphs-msw.c: Added image methods to msprinter console and
15668 msprinter-specific image instantiation.
15670 2000-02-20 Mike Alexander <mta@arbortext.com>
15672 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
15673 to avoid crashes when selection-sets-clipboard is on
15674 (mswindows_own_selection): ditto
15676 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15679 * redisplay-msw.c (get_frame_dc):
15680 (get_frame_compdc):
15682 * device-msw.c (mswindows_init_device):
15683 (mswindows_delete_device):
15684 (msprinter_init_device):
15685 (msprinter_delete_device):
15686 * frame-msw.c (mswindows_init_frame_1):
15687 (mswindows_delete_frame):
15688 (msprinter_init_frame_3):
15689 (msprinter_delete_frame): Move compatible DC to device object from
15690 frame object, for both mswindows and msprinter. Only one at a time
15691 is needed, it is a real waste to have one per frame!
15693 2000-02-23 Andy Piper <andy@xemacs.org>
15695 * glyphs.c: add dynamic width and height elements.
15696 (image_instance_equal): ditto.
15698 * glyphs-widget.c (widget_query_geometry): calculate width and
15699 height dynamically if required.
15700 (initialize_widget_image_instance): initialize dynamic dimensions.
15701 (widget_instantiate): pick-up dynamic dimensions.
15703 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15704 dynamic determination. Add appropriate macros.
15706 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15708 (WINDOW_GUTTER_SIZE): ditto.
15709 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15711 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15713 (get_frame_dc): ditto.
15715 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15718 2000-02-23 Martin Buchholz <martin@xemacs.org>
15720 * XEmacs 21.2.31 is released.
15722 2000-02-22 Ben Wing <ben@xemacs.org>
15724 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15726 2000-02-22 Andy Piper <andy@xemacs.org>
15728 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15730 2000-02-21 Mike Sperber <mike@xemacs.org>
15734 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15737 2000-02-21 Mike Sperber <mike@xemacs.org>
15739 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15741 2000-02-21 Martin Buchholz <martin@xemacs.org>
15743 * XEmacs 21.2.30 is released.
15745 2000-02-20 Martin Buchholz <martin@xemacs.org>
15747 Performance hacking.
15749 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15750 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15751 * emacs.c (main_1):
15753 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15754 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15755 * symeval.h (DEFVAR_SYMVAL_FWD):
15756 * symbols.c (guts_of_unbound_marker):
15757 Make all c_readonly objects also lisp_readonly and marked for life.
15758 * lrecord.h (struct lrecord_implementation):
15759 Document flags better.
15760 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15761 * lrecord.h (DECLARE_LRECORD):
15762 * lrecord.h (XSETRECORD):
15763 * lrecord.h (RECORDP):
15764 * lrecord.h (RECORD_TYPEP):
15765 * lrecord.h (RECORD_MARKER): New.
15766 * lrecord.h (error_check_*):
15767 * lrecord.h (CONCHECK_NONRECORD):
15768 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15769 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15770 * lrecord.h (set_lheader_implementation):
15771 * lrecord.h (enum lrecord_type): New.
15772 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15773 * alloc.c (disksave_object_finalization_1):
15774 * alloc.c (mark_object):
15775 * alloc.c (lrecord_type_index):
15776 * alloc.c (tick_lcrecord_stats):
15777 * alloc.c (Fgarbage_collect):
15778 * alloc.c (init_alloc_once_early):
15779 * alloc.c (pdump_load):
15780 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15781 * alloc.c (lrecord_type_index): Delete.
15782 Make lisp object type indexes be constant.
15783 Makes (byte-compile) 5% faster.
15784 Put all marker functions into their own array.
15785 Makes (garbage-collect) 5% faster.
15786 Optimize SYMBOL_VALUE_MAGIC_P.
15787 Makes (byte-compile) 2-3% faster.
15788 * config.h.in (gc_checking_assert): New.
15789 * alloc.c: Use gc_checking_assert().
15790 * .dbxrc: Make compatible with new object type implementation.
15791 * .gdbinit: Make compatible with new object type implementation.
15792 * alloc.c: Delete all symbols defined only for debugging, such as
15793 Lisp_Type_Vector and lrecord_charset.
15795 2000-02-21 Andy Piper <andy@xemacs.org>
15797 * gui-msw.c (Fmswindows_shell_execute): fix file location
15800 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15801 unshowing so that set_window_buffer doesn't undo
15802 kill_buffer_hook's hard work.
15804 * glyphs-widget.c (tab_control_query_geometry): don't count the
15805 first item when calculating geometry.
15807 * glyphs.c (map_subwindow): remove redundant code.
15808 (update_frame_subwindows): be more circumspect about when to
15811 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15812 when items haven't changed. Update faces if faces have changed as
15813 well as just the widget face.
15814 (x_tab_control_update): Update faces if faces have changed as well
15815 as just the widget face.
15817 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15819 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15821 (build_syscolor_string): Use mswindows_color_to_string to try to
15823 (mswindows_device_system_metrics): Reverse the foreground and
15824 background colors so that they match the documentation.
15826 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15827 they match the default Windows palette.
15828 (mswindows_color_to_string): New function.
15830 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15832 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15834 2000-02-18 Olivier Galibert <galibert@pobox.com>
15836 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15837 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15839 * symbols.c (init_symbols_once_early): Removed obsolete
15840 DATA_SEG_BITS related kludge.
15841 (defvar_magic): Ditto.
15843 * malloc.c: Removed obsolete DATA_SEG_BITS
15845 * mem-limits.h: Ditto.
15847 * Makefile.in.in: Removed obsolete HAVE_SHM
15850 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15852 * device-msw.c (mswindows_delete_device): Free DDE string
15855 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15857 * keymap.c (get_keyelt):
15858 * unexnt.c (unexec):
15859 * vm-limit.c (memory_warnings):
15860 * ntheap.c (recreate_heap):
15861 * ntheap.h (UNINIT_PTR):
15862 * select-msw.c (Fmswindows_get_clipboard):
15863 (Fmswindows_set_clipboard):
15864 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15866 * menubar-msw.c (displayable_menu_item):
15868 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15869 * sysdep.c (sys_subshell):
15870 * process-nt.c (nt_create_process):
15871 * nt.c (normalize_filename):
15872 (dostounix_filename):
15873 (unixtodos_filename):
15874 * ntproc.c (win32_executable_type):
15875 * ntplay.c (play_sound_data_1):
15877 * editfns.c (get_home_directory):
15878 * event-msw.c (struct winsock_stream):
15879 (mswindows_dde_callback):
15880 * device-msw.c (msprinter_init_device):
15881 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15883 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15884 mswindows_clear_toolbar were swapped!
15886 * objects-msw.c:(colormap_t):
15888 * emacs.c (struct standard_args): Fixed const jumble.
15890 * glyphs-widget.c (update_widget): Fixed comparison notation.
15892 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15894 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15895 __declspec(noreturn) syntax.
15897 2000-02-19 Martin Buchholz <martin@xemacs.org>
15899 * eldap.c (Fldap_open):
15900 (Fldap_search_basic):
15903 Use new coding system conversion macros.
15905 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15907 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15909 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15911 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15912 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15914 * eldap.c (Qadd, Qreplace): New constant symbols
15915 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15916 interruptions by XEmacs signals
15917 Remove unnecessary calls to slow_down_interrupts and
15918 speed_up_interrupts
15919 (Fldap_search_basic): Renamed from Fldap_search_internal
15920 Added new optional parameter VERBOSE that triggers the
15921 display of progress messages
15922 Remove unnecessary calls to slow_down_interrupts and
15923 speed_up_interrupts
15924 LDAP result code analysis rewritten
15925 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15926 (syms_of_eldap): Define the new symbols and functions
15929 2000-02-17 Martin Buchholz <martin@xemacs.org>
15931 * realpath.c: Determine PATH_MAX maximally portably.
15933 * insdel.c (bytecount_to_charcount): Optimize.
15934 The function used to be optimized for entirely ASCII sequences.
15935 Now it is optimized for successive characters from the same
15936 charset. This also wins big for _mostly_ ASCII sequences.
15938 * fileio.c (Ffile_truename): convert return from realpath() using
15939 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15940 - Rewrite GCPROing slightly.
15942 * sysdep.c (sys_open): Do filename conversion, like all other
15943 sys_* functions. Fixes bug:
15944 (let ((file-name-coding-system 'iso-8859-2))
15945 (write-region x y latin2-name))
15946 ==> writes filename using internal encoding.
15948 2000-02-18 Martin Buchholz <martin@xemacs.org>
15950 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15951 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15952 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15953 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15954 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15955 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15956 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15957 (CONST_IF_NOT_DEBUG): Delete.
15958 * alloc.c (this_one_is_unmarkable): Delete.
15959 (mark_object): Don't check for this_one_is_unmarkable. Use the
15960 c_readonly flag instead.
15961 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15963 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15965 * event-msw.c (mswindows_drain_windows_queue):
15966 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15967 away redundant repaint events.
15969 2000-02-17 Andy Piper <andy@xemacs.org>
15971 * redisplay.h: declare mark_redisplay_structs.
15973 * redisplay.c (redisplay_window):
15974 (redisplay_frame): don't check subwindows_state_changed.
15975 (mark_redisplay): mark gutters here.
15977 * glyphs.c: (instantiate_image_instantiator): always layout if we
15978 haven't done so already.
15979 (allocate_image_instance): don't mark as dirty.
15980 (update_subwindow): bind inhibit_quit.
15982 * gutter.c (mark_gutters): new function.
15984 * glyphs-x.c (x_update_widget): Always resize to get round a
15987 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15988 breaking absolutely everything.
15990 * gutter.h: declare mark_gutters.
15992 2000-02-16 Martin Buchholz <martin@xemacs.org>
15994 * XEmacs 21.2.29 is released.
15996 2000-02-15 Olivier Galibert <galibert@pobox.com>
15998 * fns.c (size_bit_vector): Fix computation of the size.
16000 2000-02-15 Martin Buchholz <martin@xemacs.org>
16002 * *.[ch]: Change CONST to const globally.
16003 find -name '*.[ch]' | \
16004 xargs global-replace \
16005 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16006 - Remove vestigial references to CONST_IS_LOSING
16008 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16010 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16011 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16012 events instead of dispatching them directly.
16013 (mswindows_handle_paint): New function to do repainting.
16014 (mswindows_wnd_proc):
16015 (emacs_mswindows_handle_magic_event): Call above function.
16017 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16019 * objects-msw.c (mswindows_create_font_variant): Return the new
16021 (initialize_font_instance): Get font metrics from the underlined
16022 variant of the font to cope with the case where the underlined
16023 font has a bigger descent.
16025 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16027 * gui.c (gui_item_accelerator): Return the first underlined
16028 character in item name.
16030 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16032 * lisp.h: Added Qprinter.
16034 * general.c (syms_of_general): Initialized it.
16036 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16038 (get_frame_compdc): Made inline.
16040 * console.h (struct console_methods): Added eject_page method.
16042 * frame.h: Added FRAME_DISPLAY_P and friends.
16043 Aligned backslahes in many macros in more readable fashion.
16044 Added page_number to struct frame, and an accessor macro
16047 * defice.h: Added DEVICE_DISPLAY_P and friends.
16049 * device.c (Fdevice_printer_p): Used these.
16051 * frame.c (allocate_frame_core): Initialize page number.
16052 (Fprint_job_page_number):
16053 (Fprint_job_eject_page): Implemented.
16055 * frame-msw.c (msprinter_eject_page): Added method.
16056 (msprinter_start_page): Added.
16058 * window.c (Fwindow_truncated_p): Fixed docstring.
16059 (Fwindow_last_line_visible_height): Implemented.
16061 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16063 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16065 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16067 * syntax.c (scan_words): Always advance at least one character.
16069 2000-02-13 Andy Piper <andy@xemacs.org>
16071 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16072 to make sure the glyph is in the cachels.
16074 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16075 global image instance flag.
16076 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16077 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16079 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16080 (Fset_image_instance_property): mark layout as changed.
16081 (invalidate_glyph_geometry_maybe): mark layout as changed.
16082 (glyph_width): use new NEEDS_LAYOUT macro.
16083 (glyph_ascent): ditto.
16084 (glyph_descent): ditto.
16085 (glyph_height): ditto.
16086 (image_instance_layout): mark layout as clean after laying out.
16087 (update_subwindow): don't mark layout as clean here.
16089 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16090 should no longer be needed.
16092 * glyphs-x.c (x_update_widget): sanitize asserts.
16093 (x_finalize_image_instance): sanitize assignment to widgets.
16095 * glyphs-widget.c (widget_instantiate): don't need to clear the
16098 2000-02-13 Martin Buchholz <martin@xemacs.org>
16100 * sysdep.c (getcwd): Use standard prototype.
16101 * sysdep.h (getcwd): Use standard prototype.
16103 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16104 (sequence, start, end).
16105 Remove redundant type checking.
16106 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16107 view of `caller-protects') to avoid a crash where the real fix was
16110 2000-02-12 Martin Buchholz <martin@xemacs.org>
16112 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16114 * s/sol2.h: Remove feature macro initialization.
16116 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16117 (vector_hash): New. Code from internal_hash.
16119 Fix up allocation subsystem comments.
16121 * config.h.in: Add __EXTENSIONS__ for Solaris.
16123 * systime.h (EMACS_GETTIMEOFDAY): New.
16124 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16125 Remove Solaris-specific code.
16126 Use void* for the (ignored) second arg for gettimeofday().
16128 * elhash.c (hash_table_hash): Implement it, finally.
16129 * elhash.c: Use hashcode_t.
16131 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16132 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16134 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16135 * fns.c (size_bit_vector):
16136 * alloc.c (size_vector):
16137 (make_vector_internal):
16138 (make_bit_vector_internal):
16139 (sweep_bit_vectors_1):
16140 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16142 2000-02-10 Martin Buchholz <martin@xemacs.org>
16144 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16145 Include strings.h to avoid warnings for bzero and strcasecmp.
16147 2000-02-10 Olivier Galibert <galibert@pobox.com>
16149 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16150 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16152 * fns.c (size_bit_vector): New. Declare bit vectors as a
16155 2000-02-10 Olivier Galibert <galibert@pobox.com>
16157 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16158 use a value field instead.
16159 (symbol_value_forward_forward): Use value field.
16160 (DEFVAR_SYMVAL_FWD): Use value field.
16161 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16162 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16163 (DEFVAR_CONST_INT): Ditto.
16164 (DEFVAR_BOOL): Ditto.
16165 (DEFVAR_CONST_BOOL): Ditto.
16166 (DEFVAR_INT_MAGIC): Ditto.
16167 (DEFVAR_BOOL_MAGIC): Ditto.
16169 * symbols.c (guts_of_unbound_marker): Use value field.
16170 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16171 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16173 * lisp.h: Declare dumpopaque and noninteractive1.
16175 * alloc.c (dumpopaque): Added.
16176 (pdump_dump_opaquevec): Added.
16177 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16178 (pdump_load): Reload opaque data. Sync noninteractive1 with
16181 2000-02-10 Andy Piper <andy@xemacs.org>
16183 * glyphs.c (image_instance_layout): if the size changes, mark it
16186 * redisplay-output.c (redisplay_output_layout): Update the
16188 (redisplay_output_subwindow): ditto.
16190 * glyphs.c (update_subwindow): make sure we reset flags for
16191 layouts as well as everything else.
16193 * glyphs-widget.c (layout_layout): don't need to set the instances
16196 2000-02-09 Martin Buchholz <martin@xemacs.org>
16198 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16199 not HAVE_DLOPEN, which is a lower-level thing.
16201 * .cvsignore: Ignore gmon.out
16203 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16205 * .cvsignore: Ignore portable dumper xemacs.dmp file
16207 2000-02-09 Andy Piper <andy@xemacs.org>
16209 * redisplay-output.c (redisplay_output_layout): be more clever
16210 about when we output based on the changed flags.
16212 * glyphs.h (struct image_instantiator_methods): add update_method.
16213 (struct Lisp_Image_Instance): add changed flags. Declare new
16214 macros for manipulating them.
16216 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16217 (image_instance_parent_glyph): find an image_instance's parent
16218 glyph or image_instance.
16219 (image_instance_layout): mark the size as changed.
16220 (set_image_instance_dirty_p): new function. mark an image
16221 instance, plus all of its parents, as dirty.
16222 (Fset_image_instance_property): use it.
16223 (Fglyph_animated_timeout_handler): use it.
16224 (update_subwindow): call update_widget and device methods for
16225 update_subwindow. Mark all changed flags as clean.
16226 (Fresize_subwindow): mark size as changed.
16228 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16230 (x_update_subwindow): only resize subwindows here.
16231 (x_update_widget): new function. Update all changed properties of
16233 (x_resize_subwindow): deleted.
16234 (x_widget_set_property): deleted.
16235 (x_progress_gauge_set_property): deleted.
16236 (x_progress_gauge_update): new function. Implement recorded
16238 (x_tab_control_update): ditto.
16239 (x_tab_control_set_property): deleted.
16240 (console_type_create_glyphs_x): declare new functions.
16241 (image_instantiator_format_create_glyphs_x): ditto.
16243 * glyphs-widget.c (widget_set_property): mark text changed.
16244 (update_widget): new function. Update properties of a widget.
16245 (widget_instantiate): for layouts make sure we set their
16246 children's parent correctly.
16247 (tab_control_set_property): new function. Record changes that will
16248 take place under redisplay's control.
16249 (progress_gauge_set_property): ditto.
16250 (image_instantiator_progress_guage): declare new functions.
16251 (image_instantiator_tab_control): ditto.
16253 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16255 (mswindows_update_widget): new function. Update all properties on
16256 a widget that have changed.
16257 (mswindows_button_update): new function. Update a button's set
16259 (mswindows_tab_control_update): new function. Update the items in
16261 (mswindows_tab_control_set_property): deleted.
16262 (mswindows_progress_gauge_update): new function. Update the
16263 progress gauge's progress.
16264 (mswindows_widget_set_property): deleted. This is all done
16265 asynchronously now.
16266 (mswindows_progress_gauge_set_property): ditto.
16267 (console_type_create_glyphs_mswindows): declare new methods.
16268 (image_instantiator_format_create_glyphs_mswindows): ditto.
16270 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16271 (msprinter_set_frame_properties): ditto.
16273 * console.h (struct console_methods): Add update_widget_method.
16275 2000-02-09 Andy Piper <andy@xemacs.org>
16277 * gui-msw.c (Fmswindows_shell_execute): Make
16278 mswindows-shell-execute industrial strength.
16280 2000-02-08 Martin Buchholz <martin@xemacs.org>
16282 * lrecord.h: Make macro argument `props' match member function `plist'.
16285 * fns.c (Fremprop):
16286 * fns.c (Fobject_plist):
16289 Object property list frobbing cleanup.
16290 - Allow any lisp object (compared with `eq'), not just symbols, as
16291 keys in object plists.
16292 - Move symbol plist frobbing into symbols.c, where it belongs.
16293 - Move string plist frobbing into alloc.c, where it belongs.
16294 - Everything's an lrecord now, so no need to test for symbolp, etc.
16295 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16297 * extents.c: Reorder code to remove declarations.
16299 * frame.h (store_in_alist): Remove useless declaration.
16301 2000-02-07 Martin Buchholz <martin@xemacs.org>
16303 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16304 * config.h.in: Add HAVE_XCONVERTCASE.
16306 2000-02-07 Andy Piper <andy@xemacs.org>
16308 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16309 it breaks many things.
16311 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16313 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16314 actually can start a common comment type.
16315 * src/syntax.h (SYNTAX_END_P): ditto for end.
16317 2000-02-07 Martin Buchholz <martin@xemacs.org>
16319 * XEmacs 21.2.28 is released.
16321 2000-02-06 Martin Buchholz <martin@xemacs.org>
16323 * event-Xt.c (x_keysym_to_character): New.
16324 (maybe_define_x_key_as_self_inserting_character): New.
16325 (x_has_keysym): New.
16326 Auto-define all keys on the keyboard as self-insert-key.
16328 2000-02-02 Martin Buchholz <martin@xemacs.org>
16330 * menubar.c (vars_of_menubar): A small code simplification.
16332 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16335 * ExternalClient.c:
16336 * EmacsShell-sub.c:
16339 Use consistent style for specifying X resources.
16341 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16342 This makes (dontusethis-set-symbol-value-handler) actually usable.
16344 * lrecord.h (lrecord_decription_type):
16345 * alloc.c (pdump_register_sub):
16348 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16349 Comply with XEmacs coding style.
16350 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16351 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16353 * keymap.c (Faccessible_keymaps):
16354 Make (accessible-keymaps map "\C-h") do the Right Thing.
16355 Make (accessible-keymaps map []) do the Right Thing.
16356 Make (accessible-keymaps map "") do the Right Thing.
16357 (check_keymap_definition_loop): New function.
16358 (keymap_store_internal): Keep luser from shooting self in foot,
16359 via (define-key ctl-x-4-map "p" global-map).
16360 Remove fullness slot from struct Lisp_Keymap, since hash tables
16362 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16364 2000-01-30 Martin Buchholz <martin@xemacs.org>
16366 * redisplay.c (init_redisplay): Fix small memory leak.
16368 * elhash.c (pdump_reorganize_hash_table):
16369 Rename from reorganize_hash_table. Change prototype.
16370 Reuse the original memory for hentries. Save 100k.
16371 * alloc.c (PDUMP_READ): new macro.
16372 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16373 * alloc.c: No need to #ifndef before #undef.
16375 * print.c: Allow debug_print() to print readably by modifying
16376 debug_print_readably. Use consistent variable names.
16378 * .dbxrc: Try to get things to work even if stopped in a function
16379 without source available by explicitly specifying source files.
16380 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16382 * unexnt.c (_start): Removed bogus code which caused loading heap
16383 from differrent executable file.
16384 Removed bogus assignment to _fmode, which caused inconsistencies.
16386 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16388 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16389 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16390 Do not preliminary `#define signal sigset'.
16392 * systime.h: Do not prototype environ on windows nt and cygwin,
16393 this conflicts with system header.
16395 * syssignal.h: Use correct define for WINDOWSNT
16397 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16398 with system header.
16400 * sysdep.c (near start of file): Fixed commentary and rearranged
16401 ifdefs in readable order.
16402 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16405 (end_of_data): Do not compile in if using PDUMP.
16407 * symsinit.h: Prototyped vars_of_nt().
16409 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16410 (find_child_console): Use it.
16411 (sys_kill): Use it.
16413 * ntheap.h: Do not extern os_subtype.
16415 * ntheap.c (cache_system_info): Do not cache unneeded:
16416 nt_major_version, nt_minor_version and os_subtype.
16417 (recreate_heap): Do not compile in when PDUMPing.
16419 * nt.c (geteuid and friends): Use the new varibale
16420 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16421 (init_user_info): Removed the above mentioned hackery.
16422 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16423 stat has been fixed in the C runtime.
16424 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16426 * file-coding.c (struct file_coding_dump): Do not define
16427 ucs_to_mule_table in the struct if not MULE.
16428 (struct struct lrecord_description fcd_description_1): Do not dump
16431 * emacs.c (main_1): Call vars_of_nt().
16432 (right before Fdump_emacs_data): Don't need lastfile if using both
16433 portabe dumper and system malloc.
16435 * alloc.c (Fmemory_limit): Conditionalized out.
16436 (pdump): Use OPEN_BINARY for the portable dump file.
16437 (pdump_load): Ditto.
16439 2000-02-02 Mike Alexander <mta@arbortext.com>
16441 * nt.c (convert_time): Set tm_isdst before calling mktime and
16442 avoid calling it at all if the compiler supports 64 bit integers.
16443 Also initialize utc_base_ft before using it.
16445 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16447 * frame.c (change_frame_size_1): Take f->internal_border_width
16448 into consideration when calculating the width of the frame.
16450 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16452 * window.c (frame_min_height):
16453 (frame_size_valid_p):
16454 (frame_pixsize_valid_p): Added.
16455 (check_frame_size): Generalized.
16457 * window.h: Prototyped the above.
16460 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16461 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16462 Deleted Vwin32_* and Vbinary_process_* unused variables.
16464 * device-msw.c (msprinter_init_device): Do not get printer font
16465 list; Added DEVMODE functions.
16467 * frame-msw.c: Added lots of printer code.
16469 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16472 * console-msw.h: Added more msprinter device private slots.
16474 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16476 * event-msw.c (key_needs_default_processing_p): Added.
16477 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16479 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16481 * glyphs.c (image_instance_layout): Mark image instance as clean
16483 (glyph_dirty_p): Removed redundant function.
16484 (invalidate_glyph_geometry_maybe): Added.
16485 (update_glyph_cachel_data): Call it.
16487 * glyphs.h: Prototyped it.
16489 * redisplay.c (add_glyph_rune): Call it.
16490 (redisplay_window): Reset glyphs cachels when frame faces have
16491 changed, thus forcing recomputation of built-in border glyphs.
16493 2000-01-30 Martin Buchholz <martin@xemacs.org>
16495 * Makefile.in.in: Make portable dumper and purify play well together.
16496 Add imperfect, but better than nothing, support for pdump.
16497 Remove xemacs.dmp when temacs is re-generated.
16498 Don't ignore errors when dumping xemacs.
16500 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16502 2000-01-28 Andy Piper <andy@xemacs.org>
16504 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16505 (setup_normal_frame): ditto.
16506 (setup_frame_without_minibuffer): ditto.
16507 (setup_minibuffer_frame): ditto.
16508 (delete_frame_internal): ditto.
16509 (Fmake_frame_invisible): ditto.
16510 (Ficonify_frame): ditto.
16512 * window.h: change Fset_window_buffer signature.
16514 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16515 (Fset_window_buffer): allow recording of buffer if the window is
16516 the selected window.
16517 (window_loop): Use new Fset_window signature.
16519 2000-01-23 Daniel Pittman <daniel@danann.net>
16521 * config.h.in: Added template for `HAVE_ATHENA_3D'
16523 2000-01-29 Andy Piper <andy@xemacs.org>
16525 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16527 * gutter.c (output_gutter): Don't output if the window isn't live.
16529 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16531 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16532 of 01/12/00: Moved SetFocus back here where it belongs.
16534 2000-01-23 Andy Piper <andy@xemacs.org>
16536 * s/cygwin32.h: declare printer things.
16538 2000-01-26 Andy Piper <andy@xemacs.org>
16540 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16543 2000-01-24 Andy Piper <andy@xemacs.org>
16545 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16546 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16548 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16550 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16552 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16554 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
16555 (mswindows_output_display_block): Avoid local shadows.
16557 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
16558 (mswindows_enqueue_mouse_button_event): ditto.
16559 (mswindows_handle_gui_wm_command): remove declaration.
16561 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
16564 * console-msw.h: Avoid shadows.
16565 (mswindows_get_toolbar_button_text):
16566 (emacs_mswindows_create_stream_pair):
16567 (emacs_mswindows_delete_stream_pair):
16568 (mswindows_handle_toolbar_wm_command): declare.
16570 * device-msw.c (build_syscolor_string): Avoid shadows.
16572 2000-01-23 Andy Piper <andy@xemacs.org>
16574 * glyphs-widget.c (widget_instantiate): reverse the items for
16575 layouts so that children are in the expected order.
16577 2000-01-28 Martin Buchholz <martin@xemacs.org>
16579 * ralloc.c: safe_bcopy ==> memmove
16580 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
16581 * s/msdos.h: Remove BCOPY macros.
16582 * insdel.c (gap_right): Remove BCOPY conditional code.
16583 * insdel.c (gap_left): Remove BCOPY conditional code.
16584 XEmacs demands a working ANSI C compiler - hence memmove.
16586 * regex.c (regex_compile): Remove accidental use of trigraphs.
16588 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16590 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
16593 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16595 * event-msw.c (mswindows_drain_windows_queue): Added the
16597 (mswindows_need_event): Commented the call to
16598 mswindows_drain_windows_queue().
16599 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
16602 * console-msw.h: Moved a few function prototypes here from
16605 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
16606 parameter from unsigned short to unsigned long.
16607 (Fmswindows_shell_execute): Added return value.
16609 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16611 * sysdep.c (init_system_name):
16612 process-unix.c (unix_canonicalized_host_name):
16613 Don't call freeaddrinfo() if getaddrinfo() fails.
16615 * process-unix.c (unix_open_unix_network_stream):
16616 Moved the code to get a port # into address loop.
16618 2000-01-27 Martin Buchholz <martin@xemacs.org>
16620 * buffer.c (reinit_vars_of_buffer):
16621 The right place to initialize conversion_in_dynarr and
16622 conversion_out_dynarr.
16624 * alloc.c (pdump): Use the real open() till sys_open() is functional.
16626 * process-unix.c (unix_canonicalize_host_name): Muleize.
16627 (unix_open_network_stream): Muleize.
16629 * buffer.h: Fix up prototypes for ralloc.c functions.
16631 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16632 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
16633 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
16634 instead of gethostbyname()
16635 * process-unix.c: In unix_canonicalize_host_name() and
16636 unix_open_network_stream(), add code to use getaddrinfo()
16637 instead of gethostbyname().
16639 2000-01-27 Daniel Pittman <daniel@danann.net>
16641 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
16642 libs when built with flat Athena.
16644 2000-01-27 Martin Buchholz <martin@xemacs.org>
16646 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
16647 Use coding standards for function prototypes.
16649 2000-01-25 Martin Buchholz <martin@xemacs.org>
16651 * dialog-msw.c (push_lisp_string_as_unicode):
16652 * doc.c (unparesseuxify_doc_string):
16653 * dired.c (Fuser_name_completion_1):
16654 * dired.c (Fuser_name_all_completions):
16655 * dired.c (free_user_cache):
16656 * dired.c (user_name_completion):
16657 * console-x.c (get_display_arg_connection):
16658 * minibuf.c (clear_echo_area_internal):
16659 * minibuf.c (echo_area_append):
16660 * eldap.c (Fldap_open):
16661 * eldap.c (Fldap_search_internal):
16662 * frame-x.c (x_set_frame_text_value):
16663 * frame-x.c (x_set_frame_properties):
16664 * frame-x.c (x_create_widgets):
16665 * redisplay-tty.c (term_get_fkeys_1):
16666 * objects-x.c (x_parse_nearest_color):
16667 * objects-x.c (x_valid_color_name_p):
16668 * objects-x.c (x_initialize_font_instance):
16669 * objects-x.c (x_list_fonts):
16670 * objects-x.c (x_find_charset_font):
16671 * tooltalk.c (Fadd_tooltalk_message_arg):
16672 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
16673 * tooltalk.c (Fadd_tooltalk_pattern_arg):
16674 * process-unix.c (unix_create_process):
16675 * ntproc.c (sys_spawnve):
16676 * sound.c (Fplay_sound_file):
16677 * sound.c (Fplay_sound):
16678 * buffer.c (init_initial_directory):
16679 * buffer.c (init_buffer):
16680 * editfns.c (init_editfns):
16681 * editfns.c (Ftemp_directory):
16682 * editfns.c (Fuser_full_name):
16683 * editfns.c (uncache_home_directory):
16684 * editfns.c (get_home_directory):
16685 * editfns.c (Fuser_home_directory):
16686 * editfns.c (Fformat_time_string):
16687 * editfns.c (Fcurrent_time_string):
16688 * gui-x.c (button_item_to_widget_value):
16689 * database.c (Fopen_database):
16690 * event-Xt.c (x_to_emacs_keysym):
16691 * event-Xt.c (x_event_to_emacs_event):
16692 * event-Xt.c (describe_event_window):
16693 * event-msw.c (mswindows_wnd_proc):
16694 * glyphs-eimage.c (jpeg_instantiate):
16695 * glyphs-eimage.c (gif_instantiate):
16696 * glyphs-eimage.c (png_instantiate):
16697 * glyphs-eimage.c (tiff_instantiate):
16698 * glyphs-x.c (xbm_instantiate_1):
16699 * glyphs-x.c (x_xbm_instantiate):
16700 * glyphs-x.c (x_xface_instantiate):
16701 * glyphs-x.c (autodetect_instantiate):
16702 * glyphs-x.c (cursor_font_instantiate):
16703 * glyphs-x.c (x_widget_instantiate):
16704 * glyphs-x.c (x_widget_set_property):
16705 * glyphs-x.c (x_widget_property):
16706 * glyphs-x.c (BUILD_GLYPH_INST):
16707 * print.c (write_string_to_stdio_stream):
16708 * print.c (output_string):
16709 * print.c (Falternate_debugging_output):
16710 * print.c (Fexternal_debugging_output):
16711 * glyphs-msw.c (extract_xpm_color_names):
16712 * glyphs-msw.c (mswindows_xpm_instantiate):
16713 * glyphs-msw.c (bmp_instantiate):
16714 * glyphs-msw.c (resource_name_to_resource):
16715 * glyphs-msw.c (mswindows_resource_instantiate):
16716 * glyphs-msw.c (xbm_instantiate_1):
16717 * glyphs-msw.c (mswindows_xbm_instantiate):
16718 * glyphs-msw.c (mswindows_xface_instantiate):
16719 * glyphs-msw.c (mswindows_widget_instantiate):
16720 * glyphs-msw.c (add_tree_item):
16721 * glyphs-msw.c (add_tab_item):
16722 * glyphs-msw.c (mswindows_combo_box_instantiate):
16723 * glyphs-msw.c (mswindows_widget_property):
16724 * glyphs-msw.c (mswindows_combo_box_property):
16725 * glyphs-msw.c (mswindows_widget_set_property):
16726 * console.c (stuff_buffered_input):
16727 * objects-msw.c (mswindows_initialize_color_instance):
16728 * objects-msw.c (mswindows_valid_color_name_p):
16729 * objects-msw.c (mswindows_list_fonts):
16730 * objects-msw.c (mswindows_font_instance_truename):
16731 * bytecode.c (optimize_compiled_function):
16732 * select-x.c (symbol_to_x_atom):
16733 * select-x.c (x_atom_to_symbol):
16734 * select-x.c (hack_motif_clipboard_selection):
16735 * select-x.c (selection_data_to_lisp_data):
16736 * select-x.c (lisp_data_to_selection_data):
16737 * select-x.c (Fx_get_cutbuffer_internal):
16738 * select-x.c (Fx_store_cutbuffer_internal):
16739 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16740 * buffer.h (TO_INTERNAL_FORMAT): New function.
16741 * emacs.c (make_arg_list_1):
16742 * emacs.c (make_argc_argv):
16743 * emacs.c (main_1):
16744 * emacs.c (Fdump_emacs):
16745 * emacs.c (split_string_by_emchar_1):
16750 * device-x.c (x_init_device):
16751 * device-x.c (Fx_valid_keysym_name_p):
16752 * device-x.c (Fx_get_font_path):
16753 * device-x.c (Fx_set_font_path):
16754 * glyphs.c (bitmap_to_lisp_data):
16755 * glyphs.c (pixmap_to_lisp_data):
16756 * alloc.c (make_ext_string): Use coding system arguments. Update
16758 * alloc.c (build_string):
16759 * callproc.c (child_setup):
16760 * callproc.c (init_callproc):
16761 * fileio.c (lisp_strerror):
16762 * fileio.c (directory_file_name):
16763 * fileio.c (Fexpand_file_name):
16764 * fileio.c (Ffile_truename):
16765 * fileio.c (Fsysnetunam):
16766 * fileio.c (Fdo_auto_save):
16767 * sysdep.c (sys_readdir):
16768 * tests.c: New file. Allow adding C tests.
16769 Replace GET_* macros with a more comprehensible and flexible
16770 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16772 Any coding system can be used to do format conversion.
16773 Eliminate enum external_data_format.
16774 Eliminate convert_to_external_format.
16775 Eliminate convert_to_internal_format.
16776 Make sure file-name, keyboard, terminal, and ctext are always
16777 defined as coding systems or aliases. Make
16778 file-name-coding-system, terminal-coding-system, and
16779 keyboard-coding-system magical variables that are equivalent to
16780 defining the corresponding coding system aliases.
16782 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16783 * file-coding.c (Fcoding_system_alias_p): New function.
16784 * file-coding.c (Fcoding_system_aliasee): New function.
16785 * file-coding.c (append_suffix_to_symbol): New function.
16786 * file-coding.c (dangling_coding_system_alias_p): New function.
16787 * file-coding.c (Ffind_coding_system):
16788 * file-coding.c (Fcopy_coding_system):
16789 * file-coding.c (encode_coding_no_conversion):
16790 * file-coding.c (syms_of_file_coding):
16791 * file-coding.c (vars_of_file_coding):
16792 Rewrite coding system alias code.
16793 Allow nested aliases, like symbolic links.
16794 Allow redefinition of coding system aliases.
16795 Prevent existence of dangling coding system aliases.
16797 * dired.c (Fuser_name_completion_1):
16798 * dired.c (Fuser_name_all_completions):
16799 A crash would happen if user did QUIT in the middle of building
16800 user_name_cache. Remove redundant code in mainline and unwind_protect.
16803 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16805 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16806 an unsigned char *. Update all callers.
16808 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16810 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16812 2000-01-25 Martin Buchholz <martin@xemacs.org>
16814 * elhash.c (hentry_description): Use more portable definition.
16815 (resize_hash_table): Initialize new hentries using
16816 xnew_array_and_zero, thereby simplifying the code.
16818 * mule-charset.c (make_charset): Make sure entire object is
16819 initialized, to avoid Purify warnings.
16821 * alloc.c (resize_string): Fix unlikely crash with big strings.
16823 2000-01-24 Martin Buchholz <martin@xemacs.org>
16825 * realpath.c (xrealpath):
16826 Don't call getwd().
16828 2000-01-25 Martin Buchholz <martin@xemacs.org>
16830 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16832 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16834 * unexelfsgi.c (unexec): Change the way we decide which segment
16835 should be extended.
16837 Assumption that .bss section should be outside the PT_LOADable
16838 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16839 it's present) is inside the 'data' segment. This would fail the
16840 test which was used to find a segment to grow and cover new
16841 heap. Instead of this assumption, I created another one - on IRIX
16842 the segment to grow should start below .bss and it's address
16843 should extent above the end of .bss. Once this segment is
16844 identified, it's grown to accommodate the new heap and new
16845 zero-length .bss section is added at the end of .data2.
16847 2000-01-25 Martin Buchholz <martin@xemacs.org>
16849 * eval.c (Feval): Wrong number of arguments should use original
16850 function, not the indirect_function version of it.
16852 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16854 * glyphs-x.c (x_button_instantiate): Don't add image if
16855 it is not a pixmap.
16856 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16859 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16861 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16863 (DEFVAR_INT_MAGIC): Ditto.
16864 (DEFVAR_BOOL_MAGIC): Ditto.
16865 * glyphs.h: Reindent backslash.
16867 2000-01-24 Martin Buchholz <martin@xemacs.org>
16869 * glyphs-widget.c (layout_query_geometry):
16870 (layout_layout): Use correct types for gheight, gwidth.
16872 2000-01-24 Martin Buchholz <martin@xemacs.org>
16874 * EmacsManager.c (QueryGeometry): Purified.
16876 2000-01-23 Martin Buchholz <martin@xemacs.org>
16878 * alloc.c (make_float): Make sure entire object is initialized, to
16879 avoid Purify warnings.
16880 (pdump_register_sub): Remove useless assignment.
16881 (pdump): Use xmalloc, not malloc.
16882 (pdump_load): Use xmalloc, not malloc.
16884 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16891 * sysdep.c: Removed redundant #include <windows.h>
16893 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16895 * frame.c (delete_frame_internal): Do not delete device when its
16896 implementation so declares.
16897 (delete_frame_internal): Set device selected frame to nil when
16898 last frame goes away.
16900 * device-msw.c (msprinter_device_system_metrics): Implemented.
16901 (mswindows_device_system_metrics): Added 'device-dpi property.
16903 * device.c: (Fdevice_printer_p): Added.
16904 Added 'offset-workspace device metric.
16906 * console.h (device_metrics): Declared DM_offset_workspace.
16908 2000-01-23 Martin Buchholz <martin@xemacs.org>
16910 * fileio.c (Ffile_truename): Remove pointless and confusing
16911 initialization of elen.
16913 * glyphs-widget.c: Compiler warning fixes.
16915 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16917 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16918 instead of a Lisp_Object as argument to make it consistent with
16919 the other LIVE_P macros.
16920 (CHECK_LIVE_PROCESS): New macro.
16922 * process.c: Declare Qprocess_live_p.
16923 (Fprocess_live_p): New function.
16924 (create_process): Use PROCESS_LIVE_P.
16925 (read_process_output): Ditto.
16926 (set_process_filter): Ditto.
16927 (Fdelete_process): Ditto.
16928 (kill_buffer_processes): Ditto
16929 (process_send_signal): Use CHECK_LIVE_PROCESS.
16930 (Fprocess_input_coding_system): Check whether process is still
16931 alive (fix PR#1061).
16932 (Fprocess_output_coding_system): Ditto.
16933 (Fprocess_coding_system): Ditto.
16934 (Fset_process_input_coding_system): Ditto.
16935 (Fset_process_output_coding_system): Ditto.
16937 2000-01-23 Andy Piper <andy@xemacs.org>
16939 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16942 * glyphs.c (mark_image_instance): take into account changed
16943 image_instance format.
16944 (image_instance_equal): ditto.
16945 (image_instance_hash): ditto.
16947 * glyphs-widget.c (widget_instantiate): Incorporate layout
16948 instantiation here. Delay layout of the layout until later.
16949 (layout_instantiate): deleted.
16950 (layout_query_geometry): new function. get the geometry of a
16952 (layout_layout): layout a layout dynamically.
16953 (image_instantiator_widget): New function - splitting up
16954 image_instantiator_format_create_glyphs_widget for netwinder
16956 (image_instantiator_buttons):
16957 (image_instantiator_edit_fields):
16958 (image_instantiator_combo_box):
16959 (image_instantiator_scrollbar):
16960 (image_instantiator_progress_guage):
16961 (image_instantiator_tree_view):
16962 (image_instantiator_tab_control):
16963 (image_instantiator_labels):
16964 (image_instantiator_layout): ditto.
16965 (image_instantiator_format_create_glyphs_widget): Call preceding
16968 2000-01-22 Martin Buchholz <martin@xemacs.org>
16970 * process.c (Fset_process_coding_system):
16971 * device-x.c (Fx_keysym_hash_table):
16974 * lstream.c (Lstream_write): Return documented value, not 0.
16976 * fileio.c (directory_file_name):
16977 (Fsubstitute_in_file_name):
16978 (Fsubstitute_insert_file_contents_internal):
16979 (Fwrite_region_internal):
16984 Remove vestigial APOLLO-conditional code.
16986 2000-01-21 Martin Buchholz <martin@xemacs.org>
16988 * getpagesize.h: Add guard macros.
16989 * libsst.h: Add guard macros.
16990 * libst.h: Add guard macros.
16991 * line-number.h: Add guard macros.
16992 * ndir.h: Add guard macros.
16993 * sysfloat.h: Add guard macros.
16994 * sysfile.h: Add guard macros.
16995 * sysproc.h: Add guard macros.
16996 * syswait.h: Add guard macros.
16997 * xintrinsic.h: Add guard macros.
16998 * xintrinsicp.h: Add guard macros.
16999 * xmmanager.h: Add guard macros.
17000 * xmmanagerp.h: Add guard macros.
17001 * xmprimitive.h: Add guard macros.
17002 * xmu.h: Add guard macros.
17003 * gpmevent.h: Add copyright statement. Add guard macros.
17004 * miscplay.h: Add guard macros.
17005 * *.h: Use consistent C-standards-approved guard macro names.
17007 * opaque.c (make_opaque): Switch parameter order.
17008 * opaque.h (make_opaque): Switch parameter order.
17009 Update all callers.
17010 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17012 * config.h.in (type_checking_assert): Added.
17013 (bufpos_checking_assert): Added.
17015 2000-01-21 Martin Buchholz <martin@xemacs.org>
17017 * alloc.c: Harmless pdump changes.
17019 - spell alignment correctly.
17020 * sysdep.c: Use countof()
17022 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17024 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17025 initially_selected_for_input() console method, default to 0.
17026 (semi_canonicalize_console_connection): Try to delegate to
17027 canonicalize_console_connection if no such console method.
17028 (canonicalize_console_connection): Vice versa.
17029 (print_console): Do not print nil connection.
17031 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17032 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17033 (XDEVIMPF_FRAMELESS_OK): Added.
17034 (CONSOLE_INHERITS_METHOD): Added.
17036 * console-msw.c (mswindows_canonicalize_console_connection):
17038 (mswindows_canonicalize_device_connection): Added.
17040 * console-msw.h (struct msprinter_device): Added this struct and
17042 (mswindows_device): Made fontlist a lisp object.
17044 * device.c (semi_canonicalize_device_connection): Try to delegate
17045 to canonicalize_device_connection if no such console method.
17046 (canonicalize_device_connection): Vice versa.
17047 (print_device): Do not print nil connection.
17049 * device-msw.c (mswindows_init_device): Call InitCommonControls
17051 (mswindows_delete_device): Removed fontlist deallocation.
17052 (mswindows_mark_device): Added.
17054 * events.c (event_equal): Added abort() at unreached code.
17055 (event_hash): Ditto.
17057 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17058 fallback tags of Windows devices.
17060 * general.c (syms_of_general): Initialized Qmsprinter.
17062 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17063 of fallback tags of Windows devices.
17065 * lisp.h: Declared Qmsprinter.
17067 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17069 (mswindows_list_fonts): Ditto.
17070 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17071 that it can be used by both mswindows and msprinter devices.
17072 (initialize_font_instance): Added.
17073 (mswindows_initialize_font_instance): Use it.
17074 (msprinter_initialize_font_instance): Added.
17076 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17077 and implementation flags check.
17078 (redisplay_without_hooks): Changed the call to the above.
17079 (Fredraw_device): Ditto.
17080 (Fredisplay_device): Ditto.
17082 * redisplay-msw.c (get_frame_dc): Implemented.
17083 (get_frame_compdc): Implemented.
17084 (many functions): Use the two functions above to get device
17085 contexts, ether for a window or a printer.
17087 2000-01-21 Olivier Galibert <galibert@pobox.com>
17089 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17090 initialization here.
17091 (init_symbols_once_early): Call it.
17092 * emacs.c (main_1): Call it.
17093 * symsinit.h: Declare it.
17095 2000-01-19 Olivier Galibert <galibert@pobox.com>
17097 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17099 (pdump_backtrace): Ditto.
17100 (pdump_register_object): Ditto. Cleanup use of the pointers.
17101 (pdump_get_entry): Abort if trying to register a null pointer.
17102 (pdump_dump_data): Cleanup types when relocating.
17103 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17104 (pdump_dump_rtables): Remove bad casts.
17105 (pdump_load): Cleanup relocation w.r.t union type. Use a
17106 Lisp_Object instead of a EMACS_INT for the hashtable
17109 2000-01-20 Martin Buchholz <martin@xemacs.org>
17111 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17113 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17115 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17117 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17119 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17121 * faces.h (FACE_STRIKETHRU_P): Added.
17123 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17126 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17127 (mswindows_set_dc_font): New function, aware of font variants,
17128 separated from mswindows_update_dc.
17130 * objects-msw.h (struct mswindows_font_instance_data): Added
17133 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17134 cached fonts and the data structure.
17135 (mswindows_initialize_font_instance): Added creation of font data
17137 (mswindows_print_font_instance): Print at least something.
17138 (mswindows_create_font_variant): Implemented.
17139 (mswindows_get_hfont): Implemented.
17141 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17143 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17144 prototyping problem with msvc.
17146 * emacs.c (main_1): added syms_of_gui_mswindows() call
17148 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17149 syms_of_gui_mswindows() function
17151 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17153 2000-01-18 Martin Buchholz <martin@xemacs.org>
17155 * XEmacs 21.2.27 is released.
17157 2000-01-18 Martin Buchholz <martin@xemacs.org>
17159 * glyphs-eimage.c (struct tiff_error_struct):
17161 (tiff_warning_func):
17162 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17167 * unexec.c: Remove vestigial Lucid C code.
17171 * libsst.c: Ansify.
17172 Remove declarations of errno and strerror().
17174 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17176 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17178 2000-01-16 Martin Buchholz <martin@xemacs.org>
17180 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17183 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17188 Change enum eol_type to eol_type_t.
17190 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17192 * gui.c (get_gui_callback): Check cons before accessing car.
17194 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17196 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17197 (XSETSPECIFIER_TYPE): Ditto.
17199 2000-01-17 Didier Verna <didier@xemacs.org>
17201 * redisplay.c (generate_fstring_runes): compute string size in
17202 characters, not bytes.
17204 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17206 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17208 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17210 * print.c (print_error_message): Call print_prepare().
17212 2000-01-14 Martin Buchholz <martin@xemacs.org>
17214 * .dbxrc: Renamed from dbxrc.
17216 * events.c (event_to_character):
17217 Use `assert (foo)' instead of `if (!foo) abort()'
17219 * .gdbinit (xtype): Add documentation.
17220 * .gdbinit (check-temacs): New function.
17221 * .gdbinit (check-xemacs): New function.
17222 * dbxrc (check-xemacs): New function.
17223 * dbxrc (check-xemacs): New function.
17225 2000-01-14 Andy Piper <andy@xemacs.org>
17227 * glyphs-widget.c (widget_query_geometry): Make sure that we
17228 calculate default dimensions correctly.
17230 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17232 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17234 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17235 pdump_wire'd variable.
17237 * emacs.c: (main_1): Conditionalized calls to
17238 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17240 2000-01-13 Martin Buchholz <martin@xemacs.org>
17242 * window.c (Fset_window_configuration):
17243 * sysdep.c (_start):
17244 * input-method-motif.c (res):
17245 * event-Xt.c (Xt_process_to_emacs_event):
17246 Simple compiler warning fixes.
17248 * bytecode.c (funcall_compiled_function): Use the original
17249 function symbol on the backtrace list in preference to the
17250 compiled_function object in error messages.
17252 2000-01-13 Andy Piper <andy@xemacs.org>
17254 * glyphs-x.c (update_widget_face): Make sure we update the widget
17255 background as well as foreground.
17257 2000-01-13 Andy Piper <andy@xemacs.org>
17259 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17260 fields to subwindow.
17261 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17262 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17263 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17264 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17266 * glyphs-widget.c (check_valid_tab_orientation): new function.
17267 (initialize_widget_image_instance): zero orientation and
17269 (widget_instantiate): pick up orientation.
17270 (tab_control_query_geometry): return appropriate values for
17273 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17274 appropriate creation flags for left, right and bottom tabs.
17276 * s/cygwin32.h: add tab definitions.
17278 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17280 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17281 frame upon hiding a subwindow.
17282 (mswindows_button_instantiate): Changed the push button style to
17284 (mswindows_button_instantiate): Removed button BS_NOTIFY
17286 (mswindows_button_instantiate): Removed redundant check for
17287 a disabled gui item.
17288 (mswindows_button_instantiate): Made use of WS_TABSTOP
17289 consistent: "operable" controls (edit, button, tree, scroll) have
17290 this style, "display-only" ones (static, progress gauge) do
17291 not. This style is currently ignored by XEmacs though. Also,
17292 removed the WS_EX_CONTROLPARENT style - it is not for children,
17293 it is for their parents!
17294 (mswindows_edit_field_instantiate): Ditto.
17295 (mswindows_progress_gauge_instantiate): Ditto.
17296 (mswindows_tree_view_instantiate): Ditto.
17297 (mswindows_tab_control_instantiate): Ditto.
17298 (mswindows_scrollbar_instantiate): Ditto.
17299 (mswindows_combo_box_instantiate): Ditto.
17300 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17301 style to the "clip" window.
17302 (mswindows_button_instantiate): Removed compilation warning by
17303 equally typing terms of the ?: operator.
17305 2000-01-12 Didier Verna <didier@xemacs.org>
17307 * redisplay.c (generate_fstring_runes): new parameter holding the
17308 last modeline-format extent.
17309 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17310 extent, fill the glyph block with it.
17311 (generate_fstring_runes): handle these parameters.
17312 (generate_formatted_string_db): ditto.
17314 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17315 glyphs'extents in the modeline.
17317 1999-01-11 Mike Woolley <mike@bulsara.com>
17319 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17320 256Mb, as a workaround for the non-starting problem many people
17323 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17325 * console-tty.c (Fset_console_tty_output_coding_system):
17326 Force redrawing tty frame.
17328 2000-01-10 Didier Verna <didier@xemacs.org>
17330 * redisplay.c (generate_fstring_runes): fix size computation bug.
17332 2000-01-09 William M. Perry <wmperry@aventail.com>
17334 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17336 2000-01-09 Andy Piper <andy@xemacs.org>
17338 * glyphs-msw.c: index -> i to avoid shadows.
17339 (xbm_create_bitmap_from_data): make static.
17340 (check_valid_string_or_int): deleted.
17341 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17343 * glyphs-x.c (x_update_subwindow): remove unused args.
17345 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17346 back pointer - this is done in allocate_image_instance.
17347 (query_string_font): return Qnil to make the compiler happy.
17348 (unmap_subwindow): set to ~0 to make the compiler happy.
17349 (glyph_query_geometry): comment out until used.
17350 (glyph_layout): ditto.
17352 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17354 * insdel.c (signal_after_change): Remove extraneous unbind_to().