1 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Qto_decomposition_at_compat): New variable.
4 (Q_compat_of): Renamed from `Q_compatibility_of'.
5 (put_char_composition): Rename `Q_compatibility_of' to
6 `Q_compat_of'; return `=>decomposition@compat' for compatibility
8 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
10 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
11 `<-compatibility' to `<-compat'.
13 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 * chartab.c (Q_compatibility_of): New variable.
16 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
17 object is proved to be a cons cell; return `<-compatibility' if
18 the first element of argument `value' is `compat'.
19 (Fput_char_attribute): Eliminate the first value if
20 `put_char_composition' returns `<-compatibility'.
21 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
22 for `<-compatibility'.
23 (syms_of_chartab): Add new symbol `<-compatibility'.
25 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * chartab.c (Q_canonical): New variable.
28 (put_char_composition): Return a feature name: return
29 `->canonical' if argument `value' specifies single character.
30 (Fput_char_attribute): Use `put_char_composition' to determine
31 feature name for `=decomposition' or `->denotational'.
32 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
34 (syms_of_chartab): Add new symbol `->canonical'.
36 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
38 * chartab.c (Qmap_decomposition): New variable.
39 (Fput_char_attribute): Convert `->decomposition' to
41 (syms_of_chartab): Add new symbol `=decomposition'.
43 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * chartab.c (Fget_range_char_table): Fix serious problem when
48 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
50 * chartab.c (char_table_get_db): Use `read_from_c_string'.
52 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
54 * lread.c (read_from_c_string): New function.
56 * lisp.h (read_from_c_string): New prototype.
58 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
60 * chartab.c (Fput_char_attribute): Convert char-specs in value of
61 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
62 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
63 for `{<-|->}Oracle-Bones[^*]*'.
65 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
70 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * text-coding.c (Qccs_priority_list): New variable in XEmacs
74 (Fmake_coding_system): Support new property `ccs-priority-list' in
76 (Fcoding_system_property): Likewise.
77 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
78 Vdefault_coded_charset_priority_list in XEmacs CHISE.
79 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
81 (complex_vars_of_file_coding): Define new coding-system-property
82 `ccs-priority-list' in XEmacs CHISE.
84 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
86 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
89 changed to normal function.
90 (encode_char_2): Likewise.
92 * mule-charset.c (decoding_table_put_char): Copied from
93 char-ucs.h; changed to normal function.
94 (encode_char_2): Likewise.
96 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
100 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
101 (encode_char_2_search_children): New inline function.
102 (encode_char_2): Refer
103 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
104 and use `encode_char_2_search_children'.
106 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
110 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
111 (vars_of_mule_charset): Add new variable
112 `display-coded-charset-priority-use-inheritance' and
113 `display-coded-charset-priority-use-hierarchy-order'.
115 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * char-ucs.h (Q_subsumptive): New extern.
118 (Q_denotational): Likewise.
119 (encode_char_2): Search children specified by `->subsumptive' and
122 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * mule-charset.c (complex_vars_of_mule_charset): Modify the
125 X-registry of `ucs-bmp'.
127 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * chartab.c (char-variants): Refer `->subsumptive',
130 `->denotational' and `->identical' as same as `->ucs-unified'.
132 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
134 * chartab.c (Fput_char_attribute): Convert char-specs in value of
135 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
138 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * text-coding.c: Add EXFUN for `Fregexp_quote'.
141 (decode_add_er_char): Fix problem about infinite loop when a CCS
142 specified in `coded-charset-entity-reference-alist' is not
145 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * mule-charset.c (syms_of_mule_charset): Rename
148 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
150 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * fns.c (simplify_char_spec): Don't allocate new character-object
153 if specified char_spec does not have any CCS-features.
155 * chartab.h: Add EXFUN for Fdefine_char.
157 * chartab.c: Delete EXFUN for Fdefine_char.
159 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * fns.c (simplify_char_spec): Use Fdefine_char instead of
162 Ffind_char for char-spec.
164 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
166 * lisp-disunion.h (XCHARVAL): Fix condition about
169 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
171 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
173 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
174 point; use <Emchar> instead of <int> for character-id.
176 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
179 (make_char): Likewise.
180 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
182 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
183 instead of <int> as the type of return value; use <Lisp_Object>
184 instead of <Emchar> as the type of argument.
185 (XCHARVAL[macro version]): Cast the result into <Emchar>.
187 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
188 syntaxcode> instead of <int>.
190 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * chartab.c (put_char_composition): Use DECODE_CHAR to get
193 character corresponding with UCS code point.
194 (Fput_char_attribute): Likewise.
196 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
197 character in the UCS decoding-table if the char-id is not equal to
200 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
203 for aliases; write `description'; write
204 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
207 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * chartab.c (Fsave_char_attribute_table): Don't use
210 `save_charset_properties'.
212 * mule-charset.c (Fsave_charset_properties): Renamed from
213 `save_charset_properties' and changed to Lisp function again;
214 write property `type' as `CCS'; write properties `final-byte' and
215 `mother' if they exists.
216 (syms_of_mule_charset): Revive builtin function
217 `save-charset-properties' when HAVE_LIBCHISE is defined.
219 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
222 instead of Vexec_directory.
223 (char_attribute_system_db_file): Likewise.
225 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * chartab.c (Fsave_char_attribute_table): Use
228 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
231 * mule-charset.c (save_charset_properties): Renamed from
232 `Fsave_charset_properties'; changed to non-Lisp function.
233 (syms_of_mule_charset): Abolish builtin function
234 `save-charset-properties'.
236 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
238 * mule-charset.c (Fsave_charset_properties): New function when
239 HAVE_LIBCHISE is defined.
240 (syms_of_mule_charset): Add new builtin function
241 `save-charset-properties' when HAVE_LIBCHISE is defined.
243 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * chartab.c (Fput_char_attribute): Convert char-specs in value of
246 `{<-|->}ancient[^*]*' to characters and put reverse links.
247 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
248 for `{<-|->}ancient[^*]*'.
250 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * chartab.c (Fput_char_attribute): Convert char-specs in value of
253 `{<-|->}original[^*]*' to characters and put reverse links.
254 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
255 for `{<-|->}original[^*]*'.
257 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
261 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
263 * mule-charset.c (Qsystem_char_id): New variable.
265 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
266 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
268 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
270 * chartab.c (Fput_char_attribute): When processing a reference of
271 a character, put into the end of the reversed reference of each
274 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * chartab.c (Q_same): Deleted.
277 (Q_same_of): Deleted.
278 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
279 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
281 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
283 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * chartab.c (Q_vulgar): Deleted.
286 (Q_vulgar_of): Deleted.
287 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
288 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
290 (syms_of_chartab): Don't define `{<-|->}vulgar'.
292 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
294 * chartab.c (Fput_char_attribute): Convert char-specs in value of
295 `{<-|->}wrong[^*]*' to characters and put reverse links.
296 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
297 for `{<-|->}wrong[^*]*'.
299 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * chartab.c (Q_vulgar): New variable.
302 (Q_vulgar_of): New variable.
303 (Fput_char_attribute): Convert char-specs in value of
304 `{->|<-}vulgar' to characters and put reverse links.
305 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
307 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
309 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * text-coding.c (decode_add_er_char): Must to quote prefix string
314 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
316 * mule-charset.c (put_char_ccs_code_point): Store characters of
317 =ucs whose code_points >= 0xF0000.
319 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
321 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
323 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
325 (complex_vars_of_mule_charset): Add new coded-charset
326 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
327 builtin characters over 0xEFFFF.
329 * chartab.c (syms_of_chartab): Don't define symbol
330 `system-char-id' in every case.
332 * char-ucs.h (Qsystem_char_id): New extern variable.
333 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
335 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
337 * text-coding.c (char_encode_utf8): Try to use entity-references
338 for U-000F0000 ... U-0010FFFF.
340 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * text-coding.c (ER_BUF_SIZE): New macro.
343 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
345 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
346 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
348 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * chartab.c (find_char_feature_in_family): New function.
351 (Fchar_feature): Use `find_char_feature_in_family' with
352 `->identical', `<-subsumptive' and `<-denotational'.
354 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
356 * text-coding.c (char_encode_as_entity_reference): Allow prefix
357 within 8 characters; fix infinite loop.
359 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
361 * chartab.c (Q_same): New variable.
362 (Q_same_of): New variable.
363 (Fput_char_attribute): Convert char-specs in value of
364 `{->|<-}same' to characters and put reverse links.
365 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
367 (syms_of_chartab): Add new symbols `{->|<-}same'.
369 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
371 * chartab.c (Q_component): New variable.
372 (Q_component_of): Likewise.
373 (Fput_char_attribute): Convert char-specs in value of
374 `{->|<-}ideographic-component-forms' to characters and put reverse
376 (syms_of_chartab): Add new symbols
377 `{->|<-}ideographic-component-forms'.
379 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
381 * chartab.c (Q_identical): New variable.
382 (Q_identical_from): New variable.
383 (Fchar_feature): Regard `->identical' as a feature to find
385 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
386 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
387 for `{->|<-}identical'.
388 (syms_of_chartab): Add new symbols `{->|<-}identical'.
390 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
392 * char-ucs.h (encode_char_2): New inline function.
393 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
395 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
397 * chartab.c (Fput_char_attribute): Convert char-specs to
398 characters in value of `ideographic-structure'.
399 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
400 for `{<-|->}simplified(@...)'.
401 (Fdefine_char): Try to use predefined character's id.
403 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * fns.c (simplify_char_spec): Try to convert builtin chars to
408 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * chartab.c (Fput_char_attribute): Convert char-specs in value of
411 `<-simplified[^*]*' to characters and put reverse links.
413 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * chartab.c (Q_subsumptive): Renamed from Q_unified.
416 (Q_subsumptive_from): Renamed from Q_unified_from.
417 (Fchar_feature): Use `Q_subsumptive_from' instead of
419 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
421 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
422 `<-unified' to `<-subsumptive'.
424 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
427 inheritance itself; fix typo; stop recursive search if cyclic
428 inheritance is found.
430 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
432 * chartab.c (Q_denotational): New variable.
433 (Q_denotational_from): New variable.
434 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
435 (put_char_attribute): New function.
436 (Fput_char_attribute): Use `put_char_attribute'; regard
437 `->denotational' and `<-denotational' as same as `->unified' and
439 (syms_of_chartab): Add new symbols `->denotational' and
442 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
445 `Fget_char_attribute'.
446 (Fchar_variants): Likewise.
447 (get_char_table): Likewise.
448 (Fchar_feature): New function.
449 (put_char_composition): Use `Fchar_feature' instead of
450 `Fget_char_attribute'.
451 (Fput_char_attribute): Likewise; don't put the target character
452 into its `->unified' value.
453 (syms_of_chartab): Add new builtin function `char-feature'.
455 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
457 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
458 `Fget_char_attribute'.
459 (char_encode_utf8): Likewise.
461 * chartab.h: Add an EXFUN for `Fchar_feature'.
463 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
465 * chartab.c (Vnext_defined_char_id): New variable.
466 (Fput_char_attribute): Accept characters in `->unified'.
467 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
468 new characters which are not related with builtin char-id ranges.
469 (vars_of_chartab): Add new variable `next-defined-char-id'.
471 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
473 * chartab.c (Q_unified): New variable.
474 (Q_unified_from): New variable.
475 (Fput_char_attribute): Add code for `->unified'.
476 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
479 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
481 * mule-charset.c (decode_ccs_conversion): New function.
482 (decode_defined_char): Use `decode_ccs_conversion'.
483 (decode_builtin_char): Likewise.
485 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * char-ucs.h: Change some charset-ids of private coded-charsets.
489 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
491 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
492 (char_encode_as_entity_reference): Likewise.
493 (decode_coding_big5): Modify for `decode_defined_char' and
495 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
496 avoid compiler warning.
497 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
499 * mule-charset.c (decode_defined_char): Add new argument
500 `without_inheritance'.
501 (Fdecode_char): Add new optional argument `without_inheritance'.
502 (Fdecode_builtin_char): Modify for `Fdecode_char'.
504 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
505 (simplify_char_spec): Likewise.
507 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
510 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
511 (map_char_table): Likewise.
512 (Fdefine_char): Use `Fdecode_char' without inheritance.
513 (Ffind_char): Modify for `Fdecode_char'.
515 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
517 * char-ucs.h (decode_defined_char): Add new argument
518 `without_inheritance'.
519 (DECODE_CHAR): Likewise.
520 (MAKE_CHAR): Modify for `DECODE_CHAR'.
522 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
524 * chartab.c (Vchise_system_db_directory): New variable.
525 (vars_of_chartab): Add new variable `chise-system-db-directory'.
527 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
529 * chartab.c: EXFUN `Fmount_char_attribute_table'.
530 (print_chartab_range): Don't define when `UTF2000' is defined.
531 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
534 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
536 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
537 and optional argument `rehash' is specified, call
538 `open_chise_data_source_maybe' before
539 `chise_ds_foreach_char_feature_name' is called.
541 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
543 * chartab.c (char_attribute_list_reset_map_func): New function
544 when HAVE_LIBCHISE is defined.
545 (Fchar_attribute_list): Add new optional argument `rehash' when
546 HAVE_LIBCHISE is defined.
547 (open_chise_data_source_maybe): Use "chise-db" instead of
549 (char_attribute_system_db_file): Likewise.
550 (Fload_char_attribute_table): Use
551 `chise_feature_foreach_char_with_value' instead of
552 `chise_char_feature_value_iterate'.
554 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * chartab.c (Vchise_db_directory): New variable.
557 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
559 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
561 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
562 instead of HAVE_CHISE to specify using with libchise.
564 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
566 * chartab.h: Don't use HAVE_CHISE_CLIENT.
568 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
569 defined or HAVE_LIBCHISE_LIBCHISE is defined.
570 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
572 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
573 HAVE_CHISE to specify using with libchise.
574 (syms_of_chartab): Don't define symbol `system-char-id' when
575 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
577 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
580 specify CHISE DB support.
581 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
582 of `char_attribute_system_db_file' to check feature DB file.
584 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
585 HAVE_CHISE_CLIENT to specify CHISE DB support.
587 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
588 specify CHISE DB support.
589 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
591 (Freset_char_attribute_table): Use `chise_feature_setup_db'
592 instead of `char_attribute_system_db_file' to check feature DB
595 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
597 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
600 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
602 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
603 (Fsave_charset_mapping_table): Don't use
604 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
606 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
607 (HAVE_LIBCHISE): New macro.
609 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
611 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
612 (Fsave_char_attribute_table): Don't use
613 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
615 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
617 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
619 (save_uint16_byte_table): Likewise.
620 (save_byte_table): Likewise.
621 (char_table_get_db): Use `chise_ds_load_char_feature_value'
622 instead of `chise_char_load_feature_value'.
623 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
625 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
627 * chartab.h (struct Lisp_Char_Table): Delete member
628 `feature_table' if CHISE is defined.
630 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
631 (Fcopy_char_table): Likewise.
632 (char_table_open_db_maybe): Likewise.
633 (char_table_close_db_maybe): Likewise.
634 (char_table_get_db): Likewise.
635 (Fmount_char_attribute_table): Likewise.
636 (Fload_char_attribute_table): Likewise.
638 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
640 * mule-charset.c (load_char_decoding_entry_maybe): Use
641 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
644 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
646 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
647 instead of `chise_open_data_source'.
648 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
651 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
653 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
654 instead of `chise_ds_open_feature_table'.
655 (char_table_close_db_maybe): Don't use `chise_ft_close'.
657 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
659 * mule-charset.c (Fsave_charset_mapping_table): Use
660 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
661 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
662 `chise_ccs_sync' instead of `chise_ccst_close'.
663 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
665 * chartab.c (open_chise_data_source_maybe): Modify for
666 `chise_open_data_source'.
667 (char_table_open_db_maybe): Modify for
668 `chise_ds_open_feature_table'.
670 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
672 * mule-charset.c (load_char_decoding_entry_maybe): Use
673 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
676 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
678 * mule-charset.c (Fsave_charset_mapping_table): Use
679 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
680 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
681 `chise_dt_put_char' and `chise_dt_close'.
682 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
683 `chise_ccs_decode' and `chise_ccst_close' instead of
684 `chise_ds_open_decoding_table', `chise_dt_get_char' and
687 * chartab.c (char_table_get_db): Use
688 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
689 (load_char_attribute_table_map_func): Modify for
690 `chise_char_feature_value_iterate'.
691 (Fload_char_attribute_table): Use
692 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
694 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
698 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
700 * chartab.c (put_char_table): Modify for inherited coded-charsets
703 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
705 * chartab.c (Fput_char_table_map_function): Fixed.
706 (word_boundary_p): Don't check charset in XEmacs CHISE.
708 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
710 * mule-charset.c (Fsave_charset_mapping_table): Use
711 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
712 instead of `chise_open_decoding_table'; refer
713 `default_chise_data_source'; use `chise_dt_close' instead of
714 `chise_close_decoding_table'.
715 (load_char_decoding_entry_maybe): Likewise.
717 * chartab.c (default_chise_data_source): New variable when `CHISE'
719 (Fcopy_char_table): `ct->ds' is deleted.
720 (open_chise_data_source_maybe): New function.
721 (Fclose_char_data_source): New function.
722 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
723 use `chise_ds_open_feature_table' instead of
724 `chise_open_feature_table'.
725 (char_table_close_db_maybe): Use `chise_ft_close' instead of
726 `chise_close_feature_table'; `cit->ds' is deleted.
727 (syms_of_chartab): Add new builtin function
728 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
730 * chartab.h (default_chise_data_source): New extern variable.
731 (open_chise_data_source_maybe): New prototype.
732 (struct Lisp_Char_Table): Delete `ds'.
734 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
736 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
739 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
741 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
742 not defined; add code for non-libchise setting.
743 (char_table_close_db_maybe): Likewise.
744 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
746 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
747 even if `CHISE' is not defined.
748 (Freset_char_attribute_table): Likewise.
749 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
750 `char_table_close_db_maybe' even if `CHISE' is not defined; use
752 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
753 `char_table_close_db_maybe' even if `CHISE' is not defined.
755 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
757 * chartab.c (char_table_open_db_maybe): New function.
758 (char_table_close_db_maybe): New function.
759 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
760 (Freset_char_attribute_table): Likewise.
761 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
762 `char_table_close_db_maybe'.
763 (Fload_char_attribute_table): Likewise.
765 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
767 * chartab.c: Don't include <chise.h> because it is included in
769 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
771 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
773 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
775 (Fclose_char_attribute_table): Close `ct->feature_table' and
776 `ct->ds' when `CHISE' is defined.
777 (Freset_char_attribute_table): Likewise.
778 (load_char_attribute_maybe): Use `cit->ds' and
779 `cit->feature_table' when `CHISE' is defined.
780 (Fload_char_attribute_table): Likewise.
782 * chartab.h: Include <chise.h> when `CHISE' is defined.
783 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
784 when `CHISE' is defined.
786 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
788 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
790 (char_table_description): Likewise.
791 (Fmake_char_table): Likewise.
792 (Fcopy_char_table): Likewise.
793 (Fmount_char_attribute_table): Likewise.
794 (Fclose_char_attribute_table): Likewise.
795 (Freset_char_attribute_table): Likewise.
796 (load_char_attribute_maybe): Likewise.
797 (Fload_char_attribute_table): Likewise.
799 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
802 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
804 * chartab.c (load_char_attribute_table_map_func): New function
805 when CHISE is defined.
806 (Qload_char_attribute_table_map_function): Don't define when CHISE
808 (Fload_char_attribute_table_map_function): Likewise.
809 (Fload_char_attribute_table): Use libchise when `CHISE' is
811 (syms_of_chartab): Don't define
812 `load-char-attribute-table-map-function' when CHISE is defined.
814 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
816 * chartab.c: Include <chise.h> when `CHISE' is defined.
817 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
819 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
821 * mule-charset.c (charset_code_point): Fix problem when searching
822 in mother CCS fails with `defined_only' mode.
824 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
826 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
827 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
828 (put_char_composition): Likewise.
829 (Fput_char_attribute): Likewise.
830 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
832 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
834 * chartab.c (Q_ucs): Deleted.
835 (Fput_char_attribute): Don't refer `->ucs'.
836 (Fdefine_char): Likewise.
837 (Ffind_char): Likewise.
838 (syms_of_chartab): Delete `->ucs'.
840 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
842 * mule-charset.c (Qmap_cns11643_2): Renamed from
843 `Qchinese_cns11643_2'.
844 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
845 `chinese-cns11643-2'.
846 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
849 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
851 * mule-charset.c (Qmap_cns11643_1): Renamed from
852 `Qchinese_cns11643_1'.
853 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
854 `chinese-cns11643-1'.
855 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
858 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
860 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
861 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
863 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
866 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
868 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
869 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
871 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
874 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
876 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
877 (syms_of_mule_charset): Add new symbol `=big5' instead of
879 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
881 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
883 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
884 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
886 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
889 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
891 * mule-charset.c (Qmap_jis_x0212): Renamed from
892 `Qjapanese_jisx0212'.
893 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
895 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
898 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
900 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
901 `Qjapanese_jisx0208'.
902 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
903 of `japanese-jisx0208'.
904 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
907 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
909 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
910 `Qjapanese_jisx0208_1978'.
911 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
912 of `japanese-jisx0208-1978'.
913 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
916 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
918 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
919 only for XEmacs CHISE.
921 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
923 * char-ucs.h: Compact non-ISO-IR charset-ids.
924 (LEADING_BYTE_UCS): Changed to -177.
925 (LEADING_BYTE_CONTROL_1): Changed to -77.
926 (LEADING_BYTE_UCS_BMP): Changed to -176.
927 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
929 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
931 * mule-charset.c (Qiso_ir): New variable.
932 (Fmake_charset): Recognise new property `iso-ir'.
933 (syms_of_mule_charset): Add new symbol `iso-ir'.
935 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
937 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
938 n to -n; charset-id of non ISO-IR sets are changed to positive
941 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
943 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
944 for &MCS-XXXXXXXX; values.
946 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
948 * mule.c (Vxemacs_chise_version): Renamed from
950 (vars_of_mule): Add new variable `xemacs-chise-version'; define
951 `utf-2000-version' as an alias for `xemacs-chise-version'.
953 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
955 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
956 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
959 * config.h.in (CHISE): New macro.
961 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
963 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
965 (Qmap_ucs): New variable.
966 (syms_of_mule_charset): Add new symbol `=ucs'.
967 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
969 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
970 (simplify_char_spec): Likewise.
972 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
974 * char-ucs.h (Qmap_ucs): New extern variable.
976 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
978 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
979 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
980 don't define it when UTF2000 is not defined.
981 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
982 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
983 when UTF2000 is not defined.
984 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
985 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
987 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
989 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
991 * mule-charset.c (Vcharset_ucs_gb): Deleted.
993 (syms_of_mule_charset): Delete `ucs-gb'.
994 (complex_vars_of_mule_charset): Likewise.
996 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
998 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1000 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1001 (Qucs_cns): Deleted.
1002 (syms_of_mule_charset): Delete `ucs-cns'.
1003 (complex_vars_of_mule_charset): Likewise.
1005 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1007 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1009 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1010 (Qucs_jis): Deleted.
1011 (syms_of_mule_charset): Delete `ucs-jis'.
1012 (complex_vars_of_mule_charset): Likewise.
1014 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1016 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1018 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1020 (syms_of_mule_charset): Delete `ucs-ks'.
1021 (complex_vars_of_mule_charset): Likewise.
1023 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1025 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1026 (Qideograph_daikanwa_2): Deleted.
1027 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1028 (complex_vars_of_mule_charset): Likewise.
1030 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1031 (LEADING_BYTE_DAIKANWA_1): Deleted.
1032 (LEADING_BYTE_DAIKANWA_2): Deleted.
1033 (MIN_CHAR_DAIKANWA): Deleted.
1034 (MAX_CHAR_DAIKANWA): Deleted.
1036 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1038 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1039 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1040 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1042 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1043 (Vcharset_ideograph_daikanwa): Deleted.
1044 (Qideograph_hanziku_{1..12}): Deleted.
1045 (Qideograph_daikanwa): Deleted.
1046 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1047 Vcharset_ideograph_daikanwa.
1048 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1049 `ideograph-hanziku-{1..12}'.
1050 (complex_vars_of_mule_charset): Likewise.
1052 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1054 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1056 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1057 (Qideograph_gt_pj_{1..11}): Deleted.
1058 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1059 (complex_vars_of_mule_charset): Likewise.
1061 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1063 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1064 (Vcharset_ideograph_gt): Deleted.
1065 (Qucs_big5): Deleted.
1066 (Qideograph_gt): Deleted.
1067 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1069 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1072 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1073 (LEADING_BYTE_GT): Deleted.
1074 (MIN_CHAR_GT): Deleted.
1075 (MAX_CHAR_GT): Deleted.
1077 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1079 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1081 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1083 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1084 (save_uint16_byte_table): Likewise.
1085 (save_byte_table): Likewise; convert values by it.
1086 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1087 for `ideographic-structure'.
1088 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1089 as the filter for `ideographic-structure'.
1091 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1093 * chartab.c (put_char_composition): New function.
1094 (Fput_char_attribute): Use `put_char_composition'; use
1095 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1097 * fns.c (simplify_char_spec): New function.
1098 (char_ref_simplify_spec): New function.
1099 (Fchar_refs_simplify_char_specs): New function.
1100 (syms_of_fns): Add new builtin function
1101 `char-refs-simplify-char-specs'.
1103 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1105 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1106 (Qideograph_cbeta): Deleted.
1107 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1108 (complex_vars_of_mule_charset): Likewise.
1110 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1111 (MIN_CHAR_CBETA): Comment out.
1112 (MAX_CHAR_CBETA): Likewise.
1114 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1116 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1117 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1118 CHISE client feature.
1120 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1122 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1124 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1126 * mule-charset.c (charset_lookup_description_1): Use
1127 `NUM_LEADING_BYTES' in UTF-2000.
1129 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1131 * char-ucs.h (GC_CHARSETP): Deleted.
1133 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1135 * char-ucs.h (MAX_CHAR_GT): Updated.
1137 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1139 * text-coding.c: Sync with XEmacs 21.4.10.
1141 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1143 * mule-charset.c (Vcharset_china3_jef): Deleted.
1144 (Qchina3_jef): Deleted.
1145 (syms_of_mule_charset): Don't define `china3-jef'.
1146 (complex_vars_of_mule_charset): Likewise.
1148 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1149 (MIN_CHAR_CHINA3_JEF): Comment out.
1150 (MAX_CHAR_CHINA3_JEF): Comment out.
1152 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * mule-charset.c (Vcharset_ucs_gb): New variable.
1155 (Qucs_gb): New variable.
1156 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1157 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1159 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1161 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1163 * mule-charset.c (charset_code_point): if a coded-charset has a
1164 final-byte, don't inherit the builtin range of the mother CCS.
1166 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1168 * mule-charset.c (charset_code_point): Fix problem about
1171 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1173 * mule-charset.c (decode_builtin_char): Reorganized.
1175 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1177 * text-coding.c (char_encode_as_entity_reference): Modify for
1178 `charset_code_point'.
1179 (char_encode_shift_jis): Likewise.
1180 (char_encode_big5): Likewise.
1181 (char_encode_utf8): Likewise.
1182 (char_encode_iso2022): Likewise.
1184 * mule-charset.c (charset_code_point): Add new argument
1186 (Fencode_char): Add new optional argument `defined_only'.
1188 * chartab.c (put_char_table): Modify for `charset_code_point'.
1190 * char-ucs.h (charset_code_point): Add new argument
1192 (encode_char_1): Modify for `charset_code_point'.
1194 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1196 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1197 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1199 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1201 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1202 (Qjis_x0208): Likewise.
1203 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1204 XCHARSET_FINAL(charset).
1205 (charset_code_point): Modify condition for final-byte based
1207 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1208 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1209 in UTF-2000; specify `=jis-x0208' as the mother of
1210 `japanese-jisx0208-1978', `japanese-jisx0208' and
1211 `japanese-jisx0208-1990' in UTF-2000.
1213 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1215 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1217 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1219 * text-coding.c (decode_coding_utf16): Support UTF-16.
1220 (char_encode_utf16): Fixed.
1222 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1224 * text-coding.c (Qutf16): New variable in MULE.
1225 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1226 (Fcoding_system_type): Add `utf-16' in MULE.
1227 (struct detection_state): Add a structure for utf16 in MULE.
1228 (detect_coding_type): Setup st->utf16.mask in MULE.
1229 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1231 (reset_encoding_stream): Use `char_encode_utf16' and
1232 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1233 (detect_coding_utf16): New function [incomplete].
1234 (decode_coding_utf16): New function [support only UCS-2].
1235 (char_encode_utf16): New function.
1236 (char_finish_utf16): New function.
1237 (syms_of_file_coding): Add new symbol `utf-16'; setup
1238 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1240 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1242 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1243 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1245 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1247 * chartab.c (put_char_table): When a charset is specified as a
1248 range in UTF-2000, don't support builtin characters.
1250 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * mule-charset.c (decode_defined_char): Don't refer external
1253 database if Qunbound or Qnil are found.
1254 (Fsave_charset_mapping_table): Don't define it if
1255 HAVE_CHISE_CLIENT is not defined.
1256 (Freset_charset_mapping_table): New function.
1257 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1258 found in external database.
1259 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1260 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1261 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1263 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1265 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1268 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1270 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1271 Q_lowercase, Q_uppercase in UTF-2000.
1273 * chartab.c (get_char_table): Add special code for the standard
1274 case table to use character attribute `->downcase' and
1275 `->uppercase' for case operations in UTF-2000.
1277 * casetab.c (Qflippedcase): New variable in UTF-2000.
1278 (Q_lowercase): Likewise.
1279 (Q_uppercase): Likewise.
1280 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1281 and `->uppercase' in UTF-2000.
1282 (complex_vars_of_casetab): Assign attribute name `downcase' to
1283 downcase and CANON table of Vstandard_case_table in UTF-2000;
1284 assign attribute name `flippedcase' to upcase and EQV table of
1285 Vstandard_case_table in UTF-2000.
1287 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1289 * text-coding.c (decode_add_er_char): Support isolated-chars.
1290 (char_encode_as_entity_reference): Likewise.
1292 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1294 * emacs.c (Vutf_2000_lisp_directory): New variable.
1295 (Vconfigure_utf_2000_lisp_directory): Likewise.
1296 (complex_vars_of_emacs): Add new variable
1297 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1299 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1301 * char-ucs.h (DECODE_CHAR): Delete special code for
1302 `chinese-big5-1' and `chinese-big5-2'.
1304 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1305 (Qbig5_2): Likewise.
1306 (decode_defined_char): Support CONVERSION_BIG5_1 and
1308 (decode_builtin_char): Likewise.
1309 (charset_code_point): Likewise.
1310 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1311 'conversion in UTF-2000.
1312 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1313 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1314 `chinese-big5-2' as children of `chinese-big5'.
1316 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1317 (CONVERSION_BIG5_2): New macro.
1319 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1321 * text-coding.c (char_encode_big5): Support entity-reference.
1323 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1325 * text-coding.c (char_encode_as_entity_reference): New function.
1326 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1328 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1330 * text-coding.c (decode_coding_big5): Support entity-reference
1333 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1335 * text-coding.c (allocate_coding_system): Initialize initial
1336 charsets for CODESYS_UTF8.
1337 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1338 charset-g2 for CODESYS_UTF8.
1339 (decode_coding_utf8): Use charset-g0.
1340 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1341 to force variants to map to UCS.
1343 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1345 * text-coding.c (Qutf_8_mcs): New variable.
1346 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1347 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1348 instead of `utf-8' in UTF-2000.
1350 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1352 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1353 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1354 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1355 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1356 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1357 CONVERSION_96x96x96x96 are introduced.
1358 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1359 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1360 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1362 * char-ucs.h (CONVERSION_94): New macro.
1363 (CONVERSION_96): New macro.
1364 (CONVERSION_94x94): New macro.
1365 (CONVERSION_96x96): New macro.
1366 (CONVERSION_94x94x94): New macro.
1367 (CONVERSION_96x96x96): New macro.
1368 (CONVERSION_94x94x94x60): New macro.
1369 (CONVERSION_94x94x94x94): New macro.
1370 (CONVERSION_96x96x96x96): New macro.
1372 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1374 * chartab.c (Vcharacter_variant_table): Deleted.
1375 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1376 of `Vcharacter_variant_table'.
1377 (Fput_char_attribute): Likewise.
1378 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1379 (complex_vars_of_chartab): Likewise.
1381 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1383 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1385 * fns.c (Qideographic_structure): New variable.
1386 (Qkeyword_char): New variable.
1387 (ids_format_unit): New function.
1388 (Fideographic_structure_to_ids): New function.
1389 (syms_of_fns): Add new symbols `ideographic-structure' and
1390 `:char'; add new builtin function `ideographic-structure-to-ids'.
1392 * data.c (Fchar_ref_p): New function.
1393 (syms_of_data): Add new builtin function `char-ref-p'.
1395 * chartab.h: Add an EXFUN for `Ffind_char'.
1397 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1399 * text-coding.c (Vcharacter_composition_table): Deleted.
1400 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1403 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1405 (Vcharacter_composition_table): Deleted.
1406 (Fget_composite_char): Use the implementation for external-DB
1407 support in every UTF-2000.
1408 (Fput_char_attribute): Likewise.
1409 (char_attribute_system_db_file): Don't define if external-DB
1410 feature is not available.
1411 (Fsave_char_attribute_table): Likewise.
1412 (Fmount_char_attribute_table): Likewise.
1413 (Fclose_char_attribute_table): Likewise.
1414 (Freset_char_attribute_table): Likewise.
1415 (Fload_char_attribute_table): Likewise.
1416 (syms_of_chartab): Don't define `save-char-attribute-table',
1417 `mount-char-attribute-table', `reset-char-attribute-table',
1418 `close-char-attribute-table' and `load-char-attribute-table' if
1419 external-DB feature is not available.
1420 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1422 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1424 * text-coding.c (Qcomposition): Add extern if external-DB feature
1426 (Vcharacter_composition_table): Don't add extern if external-DB
1427 feature is supported.
1428 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1429 character composition rule if external-DB feature is supported.
1431 * chartab.c (Vcharacter_composition_table): Don't define if
1432 external-DB feature is supported.
1433 (Qcomposition): New variable.
1434 (Fget_composite_char): New implementation for external-DB support.
1435 (Fput_char_attribute): Use `composition' property of each
1436 character instead of `Vcharacter_composition_table' to store
1437 character-composition rules if external-DB feature is supported.
1438 (syms_of_chartab): Add new symbol `composition'.
1439 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1440 external-DB feature is supported.
1442 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1444 * chartab.c (Vchar_db_stingy_mode): New variable.
1445 (load_char_attribute_maybe): Close database if
1446 Vchar_db_stingy_mode is not NIL.
1447 (Fload_char_attribute_table_map_function): Use
1448 `get_char_id_table_0' instead of `get_char_id_table'.
1449 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1451 * chartab.h (get_char_id_table_0): New inline function.
1452 (get_char_id_table): Use `get_char_id_table_0'.
1454 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1456 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1457 and `COMPOSE_ADD_CHAR'.
1458 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1460 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1462 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1463 instead of `DECODE_ADD_UCS_CHAR'.
1464 (COMPOSE_ADD_CHAR): Likewise.
1466 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1468 * text-coding.c (decode_flush_er_chars): New inline function.
1469 (decode_add_er_char): New function.
1470 (decode_coding_utf8): Use `decode_flush_er_chars' and
1471 `decode_add_er_char'.
1473 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1475 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1476 done before `decode_output_utf8_partial_char'.
1478 * mule-charset.c (complex_vars_of_mule_charset): Specify
1479 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1480 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1482 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1484 * mule-charset.c (decode_defined_char): New function; search
1486 (decode_builtin_char): Don't search mother if
1487 XCHARSET_MAX_CODE(charset) == 0.
1488 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1489 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1490 (Fdecode_char): Use `decode_defined_char' instead of
1491 `DECODE_DEFINED_CHAR'.
1492 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1493 mother of `Vcharset_ucs_jis'.
1495 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1496 instead of `DECODE_DEFINED_CHAR'.
1498 * char-ucs.h (decode_defined_char): Renamed from
1499 `DECODE_DEFINED_CHAR'; changed to normal function.
1500 (DECODE_CHAR): Use `decode_defined_char' instead of
1501 `DECODE_DEFINED_CHAR'.
1503 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1505 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1507 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1509 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1511 (Quse_entity_reference): New variable.
1515 (coding_system_description): Add description for
1516 `ccs_priority_list'.
1517 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1518 (allocate_coding_system): Initialize `ccs_priority_list' in
1520 (Fmake_coding_system): Add description about
1521 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1523 (Fcoding_system_property): Accept `disable-composition' and
1524 `use-entity-reference' in UTF-2000.
1525 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1527 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1528 (decode_coding_utf8): Decode entity-reference if
1529 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1530 (char_encode_utf8): Encode non-Unicode characters as
1531 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1533 (syms_of_file_coding): Add new symbols `use-entity-reference',
1535 (vars_of_file_coding): Add new variable
1536 `coded-charset-entity-reference-alist'.
1537 (complex_vars_of_file_coding): Declare `disable-composition' and
1538 `use-entity-reference' to be coding-system-properties in UTF-2000.
1540 * file-coding.h (struct Lisp_Coding_System): Add new member
1541 `use_entity_reference' and `ccs_priority_list'.
1542 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1543 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1544 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1546 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1548 * chartab.c (save_uint8_byte_table): Don't clear the table.
1549 (save_uint16_byte_table): Likewise.
1550 (save_byte_table): Likewise.
1551 (Fmount_char_attribute_table): New function.
1552 (syms_of_chartab): Add new builtin function
1553 `mount-char-attribute-table'.
1555 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1557 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1559 (load_char_decoding_entry_maybe): Open database as read-only mode.
1561 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1562 open database as "w+" mode.
1563 (load_char_attribute_maybe): Open database as read-only mode.
1564 (Fload_char_attribute_table): Likewise.
1566 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1568 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1569 (char_table_description): Delete member `db_file'.
1570 (Fmake_char_table): Don't refer `ct->db_file'.
1571 (Fcopy_char_table): Likewise.
1572 (Fsave_char_attribute_table): Likewise.
1573 (Fclose_char_attribute_table): Likewise.
1574 (Freset_char_attribute_table): Likewise.
1575 (load_char_attribute_maybe): Likewise.
1576 (Fload_char_attribute_table): Likewise.
1578 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1580 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1582 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1583 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1585 (load_char_attribute_maybe): Likewise.
1586 (Fload_char_attribute_table): Likewise.
1588 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1590 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1591 `ct->db_file' unconditionally.
1593 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1595 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1597 (char_table_description): Add description for `db_file' and `db'
1599 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1601 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1602 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1603 (Fclose_char_attribute_table): New function.
1604 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1605 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1607 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1608 (syms_of_chartab): Add new builtin function
1609 `Fclose_char_attribute_table'.
1611 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1613 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1615 (load_char_attribute_maybe): Change interface.
1616 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1618 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1620 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1622 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1624 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1625 instead of `DECODE_CHAR' for mother; don't use special code for
1626 chinese-big5 to use code space of chinese-big5-1 and
1628 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1629 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1631 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1632 (MAX_CHAR_BIG5_CDP): Revival.
1634 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1636 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1637 the XLFD registry-encoding name of `chinese-big5'.
1639 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1641 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1642 (Qchinese_big5_cdp): Deleted.
1643 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1644 (complex_vars_of_mule_charset): Delete coded-charset
1647 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1648 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1649 `CHARSET_ID_OFFSET - n' for private CCS.
1650 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1651 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1652 of `MIN_LEADING_BYTE'.
1653 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1654 `(CHARSET_ID_OFFSET - 97)'.
1655 (MIN_CHAR_BIG5_CDP): Deleted.
1656 (MAX_CHAR_BIG5_CDP): Deleted.
1658 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1660 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1662 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1664 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1665 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1668 * chartab.c (Vutf_2000_version): Moved to mule.c.
1669 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1671 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1673 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1674 when HAVE_CHISE_CLIENT is not defined.
1676 * mule.c (vars_of_mule): Provide feature `chise' when
1677 HAVE_CHISE_CLIENT is defined.
1679 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1681 * config.h.in (UTF2000): Add comment.
1682 (HAVE_CHISE_CLIENT): New macro.
1684 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1686 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1688 (Fput_char_attribute): Likewise.
1689 (char_attribute_system_db_file): Encode file-name of attribute.
1690 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1693 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1695 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1696 (Fsave_charset_mapping_table): Use
1697 `char_attribute_system_db_file'.
1698 (load_char_decoding_entry_maybe): Likewise.
1700 * chartab.h (Qsystem_char_id): New external variable.
1701 (char_attribute_system_db_file): New prototype.
1703 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1704 (char_attribute_system_db_file): New function.
1705 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1706 (Freset_char_attribute_table): Likewise.
1707 (load_char_attribute_maybe): Likewise.
1708 (Fload_char_attribute_table): Likewise.
1709 (syms_of_chartab): Add new symbol `system-char-id'.
1711 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1713 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1714 `XCHARSET_GRAPHIC(ccs)'.
1716 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1718 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1720 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1722 * chartab.c (Q_ucs_variants): New variable.
1723 (syms_of_chartab): Add new symbol `->ucs-variants'.
1724 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1725 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1726 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1728 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1730 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1731 `HAVE_DATABASE' is defined.
1732 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1733 `HAVE_DATABASE' is defined.
1735 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1737 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1739 (Freset_char_attribute_table): New function.
1740 (syms_of_chartab): Add new builtin function
1741 `reset-char-attribute-table'.
1743 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1745 * chartab.c (load_char_attribute_maybe): Don't make directories.
1747 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1749 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1751 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1754 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1756 * mule-charset.c (Fsave_charset_mapping_table): Use
1757 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1759 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1760 instead of `XCHARSET_CHARS'.
1762 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1764 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1765 (XCHARSET_BYTE_SIZE): Likewise.
1767 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1769 (XCHARSET_BYTE_SIZE): Likewise.
1771 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1773 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1774 data-directory to store database.
1775 (Fsave_char_attribute_table): Likewise.
1776 (load_char_attribute_maybe): Likewise.
1777 (Fload_char_attribute_table): Likewise.
1779 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1781 * mule-charset.c (Fsave_charset_mapping_table): New function.
1782 (syms_of_mule_charset): Add new builtin function
1783 `save-charset-mapping-table'.
1785 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1787 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1788 (get_ccs_octet_table): New inline function.
1789 (put_ccs_octet_table): Likewise.
1790 (decoding_table_put_char): Use `get_ccs_octet_table' and
1791 `put_ccs_octet_table'.
1792 (decoding_table_remove_char): Use `decoding_table_put_char'.
1793 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1795 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1796 into encoding_table.
1797 (make_charset): Use Qunbound instead Qnil as initial value of
1800 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1802 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1803 element is Qunloaded.
1804 (map_over_uint16_byte_table): Likewise.
1805 (map_over_byte_table): Likewise.
1806 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1807 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1808 database support, load encoding-table of the specified
1809 coded-charset if it is not loaded yet.
1810 (save_uint8_byte_table): New function of UTF-2000 with external
1812 (save_uint16_byte_table): Likewise.
1813 (save_byte_table): Likewise.
1814 (Fput_char_attribute): Don't store value into external database
1815 even if the external database feature is supported in UTF-2000;
1816 set `attribute' as name of char-table if the external database
1817 feature is supported.
1818 (Fsave_char_attribute_table): New function in UTF-2000.
1819 (syms_of_chartab): Add new builtin function
1820 `save-char-attribute-table' in UTF-2000.
1822 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1824 * chartab.c (char_attribute_table_to_put): New variable in
1826 (Qput_char_table_map_function): Likewise.
1827 (value_to_put): Likewise.
1828 (Fput_char_table_map_function): New function in UTF-2000.
1829 (put_char_table): Use `Fmap_char_attribute' for
1830 CHARTAB_RANGE_CHARSET in UTF-2000.
1831 (Fput_char_attribute): Store symbol instead of string in
1832 `XCHAR_TABLE_NAME (table)'.
1833 (load_char_attribute_maybe): Likewise.
1834 (syms_of_chartab): Add new symbol/function
1835 `put-char-table-map-function'.
1837 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1839 * database.h: Add new EXFUN for `Fmap_database'.
1841 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1842 (syms_of_database): Likewise.
1844 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1846 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1847 (XCHAR_TABLE_UNLOADED): Likewise.
1849 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1850 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1851 HAVE_DATABASE is defined.
1852 (char_attribute_table_to_load): New variable of UTF-2000 with
1853 external database support.
1854 (Qload_char_attribute_table_map_function): Likewise.
1855 (Fload_char_attribute_table_map_function): New function of
1856 UTF-2000 with external database support.
1857 (Fload_char_attribute_table): New function of UTF-2000.
1858 (Fmap_char_attribute): Call Fload_char_attribute_table if
1859 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1860 (syms_of_chartab): Add new symbol and function
1861 `load-char-attribute-table-map-function' in UTF-2000 with external
1862 database support; add new function `load-char-attribute-table' in
1865 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1867 * chartab.h (load_char_attribute_maybe): New prototype for
1868 UTF-2000 with DATABASE support.
1869 (get_char_id_table): Use `load_char_attribute_maybe' if
1870 HAVE_DATABASE is defined.
1872 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1873 with DATABASE support.
1875 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1877 * chartab.c (Fput_char_attribute): Use S-expression as key of
1880 * chartab.h (get_char_id_table): Use S-expression as key of
1883 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1885 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1886 if an element is not loaded, load the corresponding attributes
1887 from an external database.
1888 (map_over_uint16_byte_table): Likewise.
1889 (map_over_byte_table): Likewise.
1890 (map_char_table): Modify for `map_over_uint8_byte_table',
1891 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1892 element is not loaded, load the corresponding attributes from an
1894 (Fput_char_attribute): Change initial values to Qunloaded.
1896 * chartab.h (get_char_id_table): If a character attribute is not
1897 loaded and the attribute value is not found in an external
1898 database, store Qunbound as the attribute value.
1900 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1902 * chartab.c (BT_UINT8_unloaded): New macro.
1903 (UINT8_VALUE_P): Accept Qunloaded.
1904 (UINT8_ENCODE): Likewise.
1905 (UINT8_DECODE): Likewise.
1906 (BT_UINT16_unloaded): New macro.
1907 (UINT16_VALUE_P): Accept Qunloaded.
1908 (UINT16_ENCODE): Likewise.
1909 (UINT16_DECODE): Likewise.
1910 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1912 (mark_char_table): Mark `ct->name' in UTF-2000.
1913 (char_table_description): Add `name' in UTF-2000.
1914 (Fmake_char_table): Initialize `ct->name'.
1915 (Fcopy_char_table): Copy `ct->name'.
1916 (Fput_char_attribute): Store value into an external database if
1917 HAVE_DATABASE is defined.
1919 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1921 (CHAR_TABLE_NAME): New macro in UTF-2000.
1922 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1923 (get_char_id_table): Try to read an external database if Qunloaded
1924 is stored in a table.
1926 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1929 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1931 * database.h: Add EXFUN definitions for Fopen_database,
1932 Fput_database, Fget_database and Fclose_database.
1934 * data.c (Qunloaded): New variable in UTF-2000.
1936 * lisp.h (Qunloaded): New variable in UTF-2000.
1938 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1940 * mule-charset.c (put_char_ccs_code_point): Modify for
1941 `decoding_table_remove_char' and `decoding_table_put_char'.
1942 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1944 * char-ucs.h (decoding_table_remove_char): Change arguments to
1945 hide decoding_table vector.
1946 (decoding_table_put_char): Likewise.
1948 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1950 * mule-charset.c (decoding_table_remove_char): Moved to
1952 (decoding_table_put_char): Likewise.
1954 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1955 from mule-charset.c].
1956 (decoding_table_remove_char): New inline function [moved from
1958 (decoding_table_put_char): Likewise.
1960 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1962 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1965 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1967 * mule-charset.c (decode_builtin_char): Support mother charsets.
1969 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1971 * mule-charset.c (Q94x94x60): New variable.
1972 (charset_code_point): Support conversion `94x94x60'.
1973 (Fmake_charset): Likewise.
1974 (syms_of_mule_charset): Add new symbol `94x94x60'.
1976 * char-ucs.h (CONVERSION_94x94x60): New macro.
1978 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1980 * mule-charset.c (charset_code_point): Unify code about
1983 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1985 * mule-charset.c (charset_code_point): Merge code about builtin
1986 characters into code about mother charsets; don't use
1987 `range_charset_code_point'.
1988 (range_charset_code_point): Deleted.
1990 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1992 * mule-charset.c (Qcode_offset): New variable.
1993 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1994 `max-code'; accept new property `code-offset'.
1995 (syms_of_mule_charset): Add new symbol `code-offset'.
1997 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1999 * mule-charset.c (range_charset_code_point): Fixed.
2001 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2003 * mule-charset.c (decode_builtin_char): Change semantics of
2004 code-offset of coded-charset.
2005 (charset_code_point): Likewise.
2006 (range_charset_code_point): Likewise.
2007 (complex_vars_of_mule_charset): Modify for the change.
2009 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2011 * mule-charset.c (Fencode_char): Reverse arguments.
2013 * mule-charset.c (charset_code_point): Fixed.
2015 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2017 * mule-charset.c (Vcharset_mojikyo): Deleted.
2018 (Vcharset_mojikyo_2022_1): Deleted.
2019 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2020 (Qmin_code): New variable in UTF-2000.
2021 (Qmax_code): Likewise.
2022 (Qmother): Likewise.
2023 (Qconversion): Likewise.
2025 (Qmojikyo): Deleted.
2026 (Qmojikyo_2022_1): Deleted.
2027 (Qmojikyo_pj_{1..22}): Deleted.
2028 (mark_charset): Mark `cs->mother'.
2029 (charset_description): Add description for `mother'.
2030 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2031 new arguments `mother' and `conversion'; use
2032 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2033 (charset_code_point): Moved from char-ucs.h; support `mother'
2035 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2036 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2037 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2038 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2039 allow 2 as the value of `graphic' in UTF-2000; add new properties
2040 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2041 require `final' in UTF-2000; modify for `make_charset'.
2042 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2043 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2044 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2045 (Fencode_char): New function.
2046 (syms_of_mule_charset): Add new builtin function `encode-char' in
2047 UTF-2000; add new symbols `min-code', `max-code', `mother',
2048 `conversion' and `94x60'; delete symbols `mojikyo',
2049 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2050 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2051 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2052 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2054 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2055 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2057 * char-ucs.h (Vcharset_mojikyo): Deleted.
2058 (Vcharset_mojikyo_2022_1): Deleted.
2059 (LEADING_BYTE_MOJIKYO): Deleted.
2060 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2061 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2062 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2063 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2064 add new member `mother'; add new member `conversion'.
2065 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2066 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2067 (CHARSET_MOTHER): New macro.
2068 (CHARSET_CONVERSION): New macro.
2069 (CONVERSION_IDENTICAL): New macro.
2070 (CONVERSION_94x60): New macro.
2071 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2072 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2073 (XCHARSET_MOTHER): New macro.
2074 (XCHARSET_CONVERSION): New macro.
2075 (MIN_CHAR_MOJIKYO): Deleted.
2076 (MAX_CHAR_MOJIKYO): Deleted.
2077 (DECODE_MOJIKYO_2022): Deleted.
2078 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2079 (charset_code_point): Changed to non-inline function.
2080 (encode_char_1): Use `charset_code_point'.
2081 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2083 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2085 * lread.c (read_compiled_function): Fix prototype.
2086 (read_vector): Likewise.
2088 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2090 * lrecord.h (struct lrecord_header): Delete `older'.
2091 (set_lheader_implementation): Delete code for `older'.
2092 (set_lheader_older_implementation): Deleted.
2093 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2094 (OLDER_RECORD_P): Deleted.
2095 (OLDER_RECORD_HEADER_P): Deleted.
2096 (alloc_older_lcrecord): Deleted.
2097 (alloc_older_lcrecord_type): Deleted.
2099 * alloc.c (all_older_lcrecords): Deleted.
2100 (alloc_older_lcrecord): Deleted.
2101 (disksave_object_finalization_1): Delete code for older objects.
2102 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2103 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2105 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2107 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2108 instead of `make_older_vector'.
2109 (put_char_ccs_code_point): Likewise.
2110 (mark_charset): Mark `cs->decoding_table'.
2111 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2113 * lisp.h (make_older_vector): Deleted.
2114 (make_vector_newer): Deleted.
2116 * config.h.in (HAVE_GGC): Deleted.
2118 * alloc.c (make_older_vector): Deleted.
2119 (make_vector_newer_1): Deleted.
2120 (make_vector_newer): Deleted.
2122 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2124 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2125 (Qideograph_daikanwa_2): New variable.
2126 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2127 (complex_vars_of_mule_charset): Add new coded-charset
2128 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2129 `LEADING_BYTE_DAIKANWA'.
2131 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2132 (LEADING_BYTE_DAIKANWA_1): New macro.
2133 (LEADING_BYTE_DAIKANWA_2): New macro.
2134 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2136 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2138 * mule-charset.c (complex_vars_of_mule_charset): Change
2139 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2140 the second revised version.
2142 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2144 * mule-charset.c (Vcharset_ucs_smp): New variable.
2145 (Vcharset_ucs_sip): New variable.
2146 (Qucs_smp): New variable.
2147 (Qucs_sip): New variable.
2148 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2149 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2150 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2151 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2152 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2153 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2155 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2156 (LEADING_BYTE_UCS_SIP): New macro.
2157 (MIN_CHAR_SMP): New macro.
2158 (MAX_CHAR_SMP): New macro.
2159 (MIN_CHAR_SIP): New macro.
2160 (MAX_CHAR_SIP): New macro.
2162 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2164 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2167 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2169 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2170 value; don't store value into `encoding_table' of `Lisp_Charset'.
2171 (mark_charset): `encoding_table' was deleted.
2172 (charset_description): Likewise.
2173 (make_charset): Likewise.
2174 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2175 `put_char_ccs_code_point'.
2177 * chartab.h (Fput_char_attribute): New EXFUN.
2179 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2180 is unified with normal symbol space.
2181 (Fget_char_attribute): Likewise.
2182 (Fput_char_attribute): Likewise; behavior of
2183 `put_char_ccs_code_point' is changed.
2185 * char-ucs.h: Include "elhash.h".
2186 (Vchar_attribute_hash_table): New external variable.
2187 (struct Lisp_Charset): Delete `encoding_table'.
2188 (CHARSET_ENCODING_TABLE): New implementation; refer
2189 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2192 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2194 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2197 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2199 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2202 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2204 * chartab.c (uint8_byte_table_description): New constant.
2205 (uint8-byte-table): Use `uint8_byte_table_description'.
2206 (uint16_byte_table_description): New constant.
2207 (uint16-byte-table): Use `uint16_byte_table_description'.
2209 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2211 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2212 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2214 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2216 * mule-charset.c (Vcharset_ucs_ks): New variable.
2217 (Qucs_ks): New variable.
2218 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2219 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2221 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2223 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2225 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2226 (Fdecode_char): Likewise.
2228 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2230 (Fdefine_char): Modify for Fdecode_char.
2231 (Ffind_char): Likewise.
2233 * mule-charset.c (Fdecode_char): Add new optional argument
2235 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2237 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2239 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2240 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2241 (allocate_coding_system): Initialize initial-charsets of
2242 CODESYS_BIG5 in XEmacs UTF-2000.
2243 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2244 CODESYS_BIG5 in XEmacs UTF-2000.
2245 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2246 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2248 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2250 (Qideograph_hanziku_{1 .. 12}): Likewise.
2251 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2253 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2254 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2255 `ideograph-hanziku-{1 .. 12}'.
2257 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2258 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2259 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2260 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2261 (DECODE_DEFINED_CHAR): New inline function.
2262 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2264 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2266 * mule-charset.c (Vcharset_china3_jef): Renamed from
2267 `Vcharset_japanese_jef_china3'.
2268 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2269 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2270 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2271 (syms_of_mule_charset): Rename `china3-jef' from
2272 `japanese-jef-china3'.
2273 (complex_vars_of_mule_charset): Likewise; rename
2274 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2276 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2277 `LEADING_BYTE_JEF_CHINA3'.
2278 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2279 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2281 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2283 * mule-charset.c (encode_builtin_char_1): Comment out special code
2284 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2286 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2287 (MAX_CHAR_MOJIKYO_0): Comment out.
2288 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2289 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2290 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2291 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2293 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2295 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2296 (Qideograph_cbeta): New variable.
2297 (encode_builtin_char_1): Comment out special code for
2298 coded-charset `mojikyo' and `japanese-jef-china3'.
2299 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2300 (complex_vars_of_mule_charset): Add new coded-charset
2303 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2304 (MIN_CHAR_CBETA): New macro.
2305 (MAX_CHAR_CBETA): New macro.
2307 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2309 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2310 (LEADING_BYTE_JEF_CHINA3): New macro.
2311 (MIN_CHAR_JEF_CHINA3): New macro.
2312 (MAX_CHAR_JEF_CHINA3): Likewise.
2313 (DECODE_CHAR): Fixed.
2315 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2317 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2318 (Qjapanese_jef_china3): New variable.
2319 (encode_builtin_char_1): Support `japanese-jef-china3'.
2320 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2321 (complex_vars_of_mule_charset): Add new coded-charset
2322 `japanese-jef-china3'.
2324 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2326 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2327 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2328 94^4, 96^3, 96^4, 128^n and 256^n set.
2329 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2330 (map_char_table): Likewise.
2332 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2334 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2337 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2339 * chartab.h (get_char_id_table): New inline function.
2341 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2344 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2346 * chartab.h (decode_char_table_range): New prototype in XEmacs
2348 (put_char_id_table): New inline function in XEmacs UTF-2000.
2350 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2352 (decode_char_table_range): Delete static declaration in XEmacs
2355 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2357 * chartab.c (put_char_id_table): Use `put_char_table'.
2359 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2361 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2362 (map_over_uint16_byte_table): Likewise.
2363 (map_over_byte_table): Likewise.
2364 (map_char_table): Modify for `map_over_uint8_byte_table',
2365 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2368 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2370 * chartab.c (struct map_char_table_for_charset_arg): New
2372 (map_char_table_for_charset_fun): New function.
2373 (map_char_table): Use `map_char_table' for encoding_table of
2376 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2378 * chartab.c (map_char_table): Check a character is found in
2379 range->charset instead of non default value is defined in
2380 char-table when range is CHARTAB_RANGE_ROW.
2382 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2384 * chartab.c (map_char_id_table): Deleted.
2385 (Fmap_char_attribute): Use `map_char_table' instead of
2386 `map_char_id_table'.
2388 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2390 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2392 (update_syntax_table): Deleted in XEmacs UTF-2000.
2394 * syntax.c (find_defun_start): Use `syntax_table' instead of
2395 `mirror_syntax_table' in XEmacs UTF-2000.
2396 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2398 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2400 (Fmatching_paren): Likewise.
2401 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2403 (find_start_of_comment): Likewise.
2404 (find_end_of_comment): Likewise.
2405 (Fforward_comment): Likewise.
2406 (scan_lists): Likewise.
2407 (char_quoted): Likewise.
2408 (Fbackward_prefix_chars): Likewise.
2409 (scan_sexps_forward): Likewise.
2410 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2411 (update_syntax_table): Likewise.
2413 * search.c (skip_chars): Use `syntax_table' instead of
2414 `mirror_syntax_table' in XEmacs UTF-2000.
2415 (wordify): Likewise.
2416 (Freplace_match): Likewise.
2418 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2419 `mirror_syntax_table' in XEmacs UTF-2000.
2420 (WORDCHAR_P_UNSAFE): Likewise.
2421 (re_match_2_internal): Likewise.
2423 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2424 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2426 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2427 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2429 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2432 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2434 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2435 (char_table_description): Delete `mirror_table' in XEmacs
2437 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2439 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2440 (Fcopy_char_table): Likewise.
2441 (put_char_table): Don't call `update_syntax_table' in XEmacs
2444 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2445 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2446 (casify_region_internal): Likewise.
2448 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2450 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2451 `mirror_syntax_table' in XEmacs UTF-2000.
2453 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2454 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2455 (Fexpand_abbrev): Likewise.
2457 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2459 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2461 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2463 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2464 (map_over_uint16_byte_table): Likewise.
2465 (map_over_byte_table): Likewise.
2466 (get_char_id_table): Refer `cit->default_value'.
2467 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2468 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2469 of character-id ranges.
2470 (mark_char_table): Mark `ct->default_value'.
2471 (char_table_description): Add `default_value'.
2472 (fill_char_table): Use `default_value'.
2473 (decode_char_table_range): Decode `nil' as
2474 `CHARTAB_RANGE_DEFAULT'.
2475 (get_char_id_table): Refer `cit->default_value'.
2476 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2477 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2478 temporary hack; check value of char-table is bound or not.
2479 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2481 * chartab.h (struct Lisp_Char_Table): Add new member
2482 `default_value' in XEmacs UTF-2000.
2483 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2484 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2487 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2489 * chartab.h (Lisp_Char_ID_Table): Deleted.
2491 * chartab.c (char_table_description): Fix typo.
2492 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2493 `Lisp_Char_ID_Table'.
2495 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2497 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2500 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2503 * chartab.h (XCHAR_ID_TABLE): Deleted.
2504 (XSETCHAR_ID_TABLE): Deleted.
2505 (CHAR_ID_TABLE_P): Deleted.
2507 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2509 (Fget_composite_char): Likewise.
2510 (put_char_table): Likewise.
2511 (add_char_attribute_alist_mapper): Fixed.
2512 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2514 (Fget_char_attribute): Likewise.
2515 (Fget_char_attribute): Likewise.
2516 (Fmap_char_attribute): Likewise.
2518 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2520 (encode_char_1): Likewise.
2522 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2524 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2527 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2528 instead of `XCHAR_ID_TABLE'.
2529 (remove_char_ccs): Likewise.
2531 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2533 (Fget_composite_char): Likewise.
2534 (Fchar_variants): Likewise.
2535 (put_char_table): Likewise.
2536 (add_char_attribute_alist_mapper): Likewise.
2537 (Fchar_attribute_alist): Likewise.
2538 (Fget_char_attribute): Likewise.
2539 (Fput_char_attribute): Likewise.
2540 (Fmap_char_attribute): Likewise.
2541 (Fmap_char_attribute): Likewise.
2543 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2545 (encode_char_1): Likewise.
2547 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2549 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2550 `Lisp_Char_ID_Table'.
2551 (mark_char_id_table): Deleted.
2552 (print_char_id_table): Likewise.
2553 (char_id_table_equal): Likewise.
2554 (char_id_table_hash): Likewise.
2555 (char_id_table_description): Likewise.
2556 (char_id_table): Likewise.
2557 (make_char_id_table): Use `Fmake_char_table' and
2559 (get_char_id_table): Use `Lisp_Char_Table' instead of
2560 `Lisp_Char_ID_Table'.
2561 (put_char_id_table): Likewise.
2562 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2564 (Fremove_char_attribute): Likewise.
2565 (syms_of_chartab): Don't define type `char-id-table'.
2567 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2568 (char_id_table): Likewise.
2569 (GC_CHAR_ID_TABLE_P): Likewise.
2570 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2571 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2572 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2573 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2574 (get_char_id_table): Use `Lisp_Char_Table' instead of
2575 `Lisp_Char_ID_Table'.
2576 (put_char_id_table_0): Likewise.
2577 (put_char_id_table): Likewise.
2579 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2581 * chartab.h: Lisp_Byte_Table related codes are moved from
2584 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2586 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2588 * chartab.h: Don't include "chartab.h".
2589 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2590 (Lisp_Char_ID_Table): Likewise.
2591 (char_id_table): Likewise.
2592 (XCHAR_ID_TABLE): Likewise.
2593 (XSETCHAR_ID_TABLE): Likewise.
2594 (CHAR_ID_TABLE_P): Likewise.
2595 (GC_CHAR_ID_TABLE_P): Likewise.
2596 (get_char_id_table): Likewise.
2598 * char-ucs.h: Include "chartab.h".
2599 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2600 (Lisp_Char_ID_Table): Likewise.
2601 (char_id_table): Likewise.
2602 (XCHAR_ID_TABLE): Likewise.
2603 (XSETCHAR_ID_TABLE): Likewise.
2604 (CHAR_ID_TABLE_P): Likewise.
2605 (GC_CHAR_ID_TABLE_P): Likewise.
2606 (get_char_id_table): Likewise.
2608 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2610 * chartab.c (copy_uint8_byte_table): New function.
2611 (copy_uint16_byte_table): New function.
2612 (copy_byte_table): New function.
2613 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2615 (map_over_uint16_byte_table): Likewise.
2616 (map_over_byte_table): Likewise.
2617 (get_byte_table): Move prototype to chartab.h.
2618 (put_byte_table): Likewise.
2619 (put_char_id_table_0): Moved to chartab.h.
2620 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2621 (char_table_entry_equal): Likewise.
2622 (char_table_entry_hash): Likewise.
2623 (char_table_entry_description): Likewise.
2624 (char_table_entry): Likewise.
2625 (make_char_table_entry): Likewise.
2626 (copy_char_table_entry): Likewise.
2627 (get_non_ascii_char_table_value): Likewise.
2628 (map_over_charset_ascii): Likewise.
2629 (map_over_charset_control_1): Likewise.
2630 (map_over_charset_row): Likewise.
2631 (map_over_other_charset): Likewise.
2632 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2633 (print_char_table): Likewise.
2634 (char_table_equal): Likewise.
2635 (char_table_hash): Likewise.
2636 (char_table_description): Likewise.
2637 (fill_char_table): Likewise.
2638 (Fcopy_char_table): Likewise.
2639 (get_char_table): Likewise.
2640 (Fget_range_char_table): Likewise.
2641 (put_char_table): Likewise.
2642 (map_char_table): Likewise.
2643 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2646 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2648 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2649 `Vauto_fill_chars' in XEmacs UTF-2000.
2651 * chartab.h (get_byte_table): New prototype [moved from
2653 (put_byte_table): Likewise [moved from chartab.c].
2654 (put_char_id_table_0): New inline function [moved from chartab.c].
2655 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2656 (Lisp_Char_Table_Entry): Likewise.
2657 (char_table_entry): Likewise.
2658 (XCHAR_TABLE_ENTRY): Likewise.
2659 (XSETCHAR_TABLE_ENTRY): Likewise.
2660 (CHAR_TABLE_ENTRYP): Likewise.
2661 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2662 (NUM_ASCII_CHARS): Likewise.
2663 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2664 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2666 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2668 * chartab.c (get_char_id_table): Change interface.
2669 (put_char_id_table_0): New function.
2670 (put_char_id_table): Change interface; new implementation.
2671 (Fget_composite_char): Modify for interface change of
2672 `get_char_id_table'.
2673 (Fchar_variants): Likewise.
2674 (add_char_attribute_alist_mapper): Likewise.
2675 (Fchar_attribute_alist): Likewise.
2676 (Fget_char_attribute): Likewise.
2677 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2678 as same as character as the first argument like `put-char-table';
2679 modify for interface change of `put_char_id_table'.
2680 (Fremove_char_attribute): Modify for interface change of
2681 `put_char_id_table'.
2683 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2685 * text-coding.c: Sync up with XEmacs 21.2.41.
2686 (COMPOSE_ADD_CHAR): Modify for interface change of
2687 `get_char_id_table'.
2689 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2690 change of `put_char_id_table'.
2691 (remove_char_ccs): Likewise.
2693 * chartab.h (put_char_id_table): Change interface.
2695 * char-ucs.h (get_char_id_table): Change interface.
2696 (charset_code_point): Modify for interface change of
2697 `get_char_id_table'.
2698 (encode_char_1): Likewise.
2700 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2702 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2704 (map_over_uint16_byte_table): Likewise.
2705 (map_over_byte_table): Likewise.
2706 (map_char_id_table): Add new argument `range' like
2708 (Fmap_char_attribute): Add new argument `range' like
2711 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2713 * chartab.c (map_over_uint8_byte_table): Change interface of
2714 mapping function to use struct chartab_range instead of Emchar.
2715 (map_over_uint16_byte_table): Likewise.
2716 (map_over_byte_table): Likewise.
2717 (map_char_id_table): Likewise.
2718 (struct slow_map_char_id_table_arg): Deleted.
2719 (slow_map_char_id_table_fun): Deleted.
2720 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2721 function `slow_map_char_table_fun' instead of struct
2722 `slow_map_char_id_table_arg' and function
2723 `slow_map_char_id_table_fun'.
2725 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2727 * mule-charset.c: Move char-it-table related codes to chartab.c.
2728 (Vutf_2000_version): Moved to chartab.c.
2729 (Fdefine_char): Likewise.
2730 (Ffind_char): Likewise.
2731 (syms_of_mule_charset): Move types `uint8-byte-table',
2732 `uint16-byte-table', `byte-table' and `char-id-table' to
2733 chartab.c; move functions `char_attribute_list,
2734 `find_char_attribute_table, `char_attribute_alist,
2735 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2736 `map_char_attribute, `define_char, `find_char, `char_variants and
2737 `get_composite_char to chartab.c; move symbols `=>ucs',
2738 `->decomposition', `compat', `isolated', `initial', `medial',
2739 `final', `vertical', `noBreak', `fraction', `super', `sub',
2740 `circle', `square', `wide', `narrow', `small' and `font' to
2742 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2743 setting codes for `Vcharacter_composition_table' and
2744 `Vcharacter_variant_table' to chartab.c.
2745 (complex_vars_of_mule_charset): Move setting code for
2746 `Vchar_attribute_hash_table' to chartab.c.
2748 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2749 (make_char_id_table): New prototype.
2750 (put_char_id_table): Likewise.
2751 (Fget_char_attribute): Likewise.
2753 * chartab.c: Move char-id-table related code from mule-charset.c.
2754 (Vutf_2000_version): Moved from mule-charset.c.
2756 * char-ucs.h (Qucs): New external variable.
2757 (put_char_ccs_code_point): New prototype.
2758 (remove_char_ccs): Likewise.
2760 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2762 * mule-charset.c (Vcharset_ucs_jis): New variable.
2763 (Qucs_jis): Likewise.
2764 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2765 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2767 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2769 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2771 * mule-charset.c (map_over_uint8_byte_table): New function.
2772 (map_over_uint16_byte_table): Likewise.
2773 (map_over_byte_table): Likewise.
2774 (map_char_id_table): Likewise.
2775 (slow_map_char_id_table_fun): Likewise.
2776 (Fmap_char_attribute): Likewise.
2777 (syms_of_mule_charset): Add new function `map-char-attribute'.
2779 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2781 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2782 (syms_of_mule_charset): Add new function `find-char'.
2784 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2786 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2788 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2789 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2791 (complex_vars_of_mule_charset): Add new coded-charset
2792 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2793 `ideograph-gt-pj-*'.
2795 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2797 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2799 * mule-charset.c (encode_builtin_char_1): Purge codes about
2800 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2801 {MIN|MAX}_CHAR_HEBREW.
2802 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2803 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2805 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2806 (MAX_CHAR_GREEK): Purged.
2807 (MIN_CHAR_CYRILLIC): Purged.
2808 (MAX_CHAR_CYRILLIC): Purged.
2809 (MIN_CHAR_HEBREW): Commented out.
2810 (MAX_CHAR_HEBREW): Likewise.
2812 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2814 * mule-charset.c (Qto_ucs): New variable.
2815 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2816 (Fdefine_char): Likewise.
2817 (syms_of_mule_charset): Add new symbol `=>ucs'.
2819 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2821 * mule-charset.c (Fdecode_char): Fixed.
2823 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2825 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2826 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2829 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2831 * mule-charset.c (Vcharset_ucs_big5): New variable.
2832 (Qucs_big5): Likewise.
2833 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2834 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2836 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2838 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2840 * mule-charset.c (decode_builtin_char): Check Big5 code range
2841 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2843 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2845 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2846 (Qchinese_gb12345): Likewise.
2847 (Fdecode_builtin_char): Fixed.
2848 (syms_of_mule_charset): Add `chinese-gb12345'.
2849 (complex_vars_of_mule_charset): Add coded-charset
2852 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2853 (LEADING_BYTE_CHINESE_GB12345): New macro.
2855 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2857 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2858 and `latin-viscii-upper' for `latin-viscii'.
2860 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2862 * mule-charset.c (Fdecode_builtin_char): Comment out
2863 regularization code for ISO-IR GR representation.
2865 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2867 * mule-charset.c (decode_builtin_char): New function; renamed from
2868 `make_builtin_char'; return -1 instead of signal.
2869 (Fdecode_builtin_char): Use `decode_builtin_char'.
2871 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2872 `make_builtin_char'.
2873 (DECODE_CHAR): Use `decode_builtin_char' instead of
2874 `make_builtin_char'; use mapping table of `chinese-big5' for
2875 `chinese-big5-{1,2}'.
2877 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2879 * text-coding.c (char_encode_big5): New function.
2880 (char_finish_big5): Likewise.
2881 (reset_encoding_stream): Use `char_encode_big5' and
2882 `char_finish_big5' for CODESYS_BIG5.
2883 (mule_encode): Don't use `encode_coding_big5'.
2884 (encode_coding_big5): Deleted.
2886 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2888 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2889 0x81- in XEmacs UTF-2000.
2890 (detect_coding_big5): Likewise.
2892 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2894 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2895 generate character-id if the CCS property does not have
2896 corresponding predefined character.
2897 (make_builtin_char): Return -1 if corresponding predefined
2898 character is not found.
2899 (Fdecode_char): Return nil if corresponding character is not
2901 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2902 don't map to builtin ucs space.
2904 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2906 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2907 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2909 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2911 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2912 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2913 (Qideograph_gt): Likewise.
2914 (Qideograph_gt_pj_{1..11}): Likewise.
2915 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2916 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2917 `ideograph-gt-pj-11'.
2918 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2919 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2920 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2922 * char-ucs.h (LEADING_BYTE_GT): New macro.
2923 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2924 (MIN_CHAR_GT): Likewise.
2925 (MAX_CHAR_GT): Likewise.
2927 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2929 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2930 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2932 * doprnt.c (unsigned_int_converters): Add `c'.
2933 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2935 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2936 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2938 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2939 (MAX_CHAR_MOJIKYO_0): New macro.
2940 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2942 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2944 * mule-charset.c (Fdefine_char): Delete cemented out code.
2945 (encode_builtin_char_1): Modify for new allocation of builtin
2948 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2950 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2952 * mule-charset.c (Vcharset_ucs_cns): New variable.
2953 (Qucs_cns): New variable.
2954 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2955 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2957 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2959 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2961 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2963 * search.c (search_buffer): Make `charset_base_code' as
2964 character-id >> 6 to eliminate the corresponding last byte in
2965 UTF-8 representation [I'm not sure it is right thing].
2966 (boyer_moore): Likewise.
2968 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2970 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2971 representation in MULE.
2973 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2975 * text-coding.c (Fmake_coding_system): Use
2976 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2977 `EXTERNAL_PROPERTY_LIST_LOOP'.
2979 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2981 * text-coding.c (decode_output_utf8_partial_char): New function.
2982 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2984 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2986 * text-coding.c (decode_coding_utf8): Output original byte
2987 sequence if it is broken; change order of conditions.
2989 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2992 * mb-multibyte.h (BYTE_ASCII_P):
2993 Use bit ops for char-signedness safety.
2994 (BYTE_C0_P): Use bit ops for char-signedness safety.
2995 (BYTE_C1_P): Use bit ops for char-signedness safety.
2997 * character.h: (XCHAR_OR_CHAR_INT):
2998 Always use inline function.
2999 Remove redundant type checking assert() - XINT will abort quite
3002 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3004 * text-coding.c: (Fencode_shift_jis_char):
3005 (Fencode_big5_char):
3006 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3007 Replace 0 with '\0' when working with bytes.
3008 Replace initial "(" with "\(" in docstrings.
3010 (Fmake_coding_system):
3011 When type is ccl and value is vector, register it with a proper
3012 symbol. And checks whether the given ccl program is valid.
3013 (mule_decode): When calling ccl_driver, if src indicates
3014 NULL pointer, set an empty string instead.
3015 (mule_encode): Likewise.
3018 (detect_coding_sjis):
3019 (decode_coding_sjis):
3020 (detect_coding_big5):
3021 (decode_coding_big5):
3022 (detect_coding_ucs4):
3023 (decode_coding_ucs4):
3024 (detect_coding_utf8):
3025 (decode_coding_utf8):
3026 (detect_coding_iso2022):
3027 (decode_coding_iso2022):
3028 (decode_coding_no_conversion):
3030 Make all detecting and decoding functions take an Extbyte * arg.
3031 (text_encode_generic):
3032 (encode_coding_big5):
3033 (encode_coding_no_conversion):
3035 Make all encoding functions take a Bufbyte * arg.
3036 Use size_t instead of unsigned int for memory sizes.
3037 Only cast to unsigned char whenever dereferencing Extbyte *.
3039 (struct lrecord_description fcd_description_1): Use countof.
3040 (complex_vars_of_file_coding):
3041 Use countof instead of sizeof.
3042 Use CHECK_NATNUM instead of CHECK_INT.
3044 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3046 * mule-charset.c (Fget_char_attribute): Add new optional argument
3048 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3049 (remove_char_ccs): Likewise.
3051 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3053 * text-coding.c (char_encode_shift_jis): New implementation in
3055 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3058 * mule-charset.c (Vcharset_chinese_big5): New variable in
3060 (Qchinese_big5): New variable in UTF-2000.
3061 (BIG5_SAME_ROW): New macro in UTF-2000.
3062 (make_builtin_char): Use builtin characters of
3063 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3064 characters of `Vcharset_chinese_big5'.
3065 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3066 (complex_vars_of_mule_charset): Add new coded-charset
3067 `chinese-big5' in UTF-2000.
3069 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3070 (Vcharset_chinese_big5): New external variable declaration.
3071 (Vcharset_japanese_jisx0208_1990): Likewise.
3073 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3075 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3077 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3079 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3081 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3082 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3083 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3086 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3088 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3090 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3092 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3095 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3097 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3098 for `CHARSET_BY_ATTRIBUTES'.
3099 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3100 `CHARSET_BY_ATTRIBUTES'.
3102 * text-coding.c (struct decoding_stream): Rename member `CH' to
3104 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3105 (decode_coding_sjis): Likewise.
3106 (decode_coding_big5): Likewise.
3107 (decode_coding_ucs4): Likewise.
3108 (decode_coding_utf8): Likewise.
3109 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3110 `CHARSET_BY_ATTRIBUTES'.
3111 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3112 `str->counter'; decode 3, 4 bytes sets.
3113 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3115 (decode_coding_no_conversion): Use `str->cpos' instead of
3118 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3119 (Qmojikyo_2022_1): New variable.
3120 (make_charset): Don't use `CHARSET_TYPE_*'.
3121 (range_charset_code_point): Support coded-charset
3123 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3124 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3125 `CHARSET_BY_ATTRIBUTES'.
3126 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3127 `CHARSET_BY_ATTRIBUTES'.
3128 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3129 (complex_vars_of_mule_charset): Add new coded-charset
3132 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3133 interface; changed to inline function.
3135 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3136 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3137 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3138 (CHARSET_TYPE_94): Deleted.
3139 (CHARSET_TYPE_94X94): Deleted.
3140 (CHARSET_TYPE_96): Deleted.
3141 (CHARSET_TYPE_96X96): Deleted.
3142 (CHARSET_TYPE_128): Deleted.
3143 (CHARSET_TYPE_128X128): Deleted.
3144 (CHARSET_TYPE_256): Deleted.
3145 (CHARSET_TYPE_256X256): Deleted.
3146 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3148 (DECODE_MOJIKYO_2022): New inline function.
3149 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3150 `Vcharset_mojikyo_2022_1'.
3152 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3154 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3156 (put_byte_table): Likewise.
3157 (char_id_table_equal): Use `get_byte_table' [new implementation].
3159 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3161 * mule-charset.c: Include <limits.h> in UTF-2000.
3162 (BT_UINT8_MIN): New macro in UTF-2000.
3163 (BT_UINT8_MAX): New macro in UTF-2000.
3164 (BT_UINT8_t): New macro in UTF-2000.
3165 (BT_UINT8_nil): New macro in UTF-2000.
3166 (BT_UINT8_unbound): New macro in UTF-2000.
3167 (INT_UINT8_P): New inline function in UTF-2000.
3168 (UINT8_VALUE_P): New inline function in UTF-2000.
3169 (UINT8_ENCODE): New inline function in UTF-2000.
3170 (UINT8_DECODE): New inline function in UTF-2000.
3171 (mark_uint8_byte_table): New function in UTF-2000.
3172 (print_uint8_byte_table): New function in UTF-2000.
3173 (uint8_byte_table_equal): New function in UTF-2000.
3174 (uint8_byte_table_hash): New function in UTF-2000.
3175 (make_uint8_byte_table): New function in UTF-2000.
3176 (uint8_byte_table_same_value_p): New function in UTF-2000.
3177 (BT_UINT16_MIN): New macro in UTF-2000.
3178 (BT_UINT16_MAX): New macro in UTF-2000.
3179 (BT_UINT16_t): New macro in UTF-2000.
3180 (BT_UINT16_nil): New macro in UTF-2000.
3181 (BT_UINT16_unbound): New macro in UTF-2000.
3182 (INT_UINT16_P): New inline function in UTF-2000.
3183 (UINT16_VALUE_P): New inline function in UTF-2000.
3184 (UINT16_ENCODE): New inline function in UTF-2000.
3185 (UINT16_DECODE): New inline function in UTF-2000.
3186 (UINT8_TO_UINT16): New inline function in UTF-2000.
3187 (mark_uint16_byte_table): New function in UTF-2000.
3188 (print_uint16_byte_table): New function in UTF-2000.
3189 (uint16_byte_table_equal): New function in UTF-2000.
3190 (uint16_byte_table_hash): New function in UTF-2000.
3191 (make_uint16_byte_table): New function in UTF-2000.
3192 (uint16_byte_table_same_value_p): New function in UTF-2000.
3193 (print_byte_table): New function in UTF-2000.
3194 (byte-table): Use `print_byte_table' as printer.
3195 (make_byte_table): Delete second argument `older'.
3196 (byte_table_same_value_p): New function in UTF-2000.
3197 (copy_byte_table): Deleted.
3198 (get_byte_table): New function in UTF-2000.
3199 (put_byte_table): New function in UTF-2000.
3200 (print_char_id_table): New function in UTF-2000.
3201 (char-id-table): Use `print_char_id_table' as printer.
3202 (make_char_id_table): Delete second argument `older'.
3203 (get_char_id_table): Use `get_byte_table [new implementation].
3204 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3206 (Ffind_char_attribute_table): New function in UTF-2000.
3207 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3208 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3209 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3210 (syms_of_mule_charset): Add new function
3211 `find-char-attribute-table' in UTF-2000.
3213 * lrecord.h (enum lrecord_type): Add
3214 `lrecord_type_uint16_byte_table' and
3215 `lrecord_type_uint8_byte_table'.
3217 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3218 (Lisp_Uint8_Byte_Table): New type.
3219 (XUINT8_BYTE_TABLE): New macro.
3220 (XSETUINT8_BYTE_TABLE): New macro.
3221 (UINT8_BYTE_TABLE_P): New macro.
3222 (GC_UINT8_BYTE_TABLE_P): New macro.
3223 (struct Lisp_Uint16_Byte_Table): New structure.
3224 (Lisp_Uint16_Byte_Table): New type.
3225 (XUINT16_BYTE_TABLE): New macro.
3226 (XSETUINT16_BYTE_TABLE): New macro.
3227 (UINT16_BYTE_TABLE_P): New macro.
3228 (GC_UINT16_BYTE_TABLE_P): New macro.
3230 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3232 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3233 (Vcharacter_ideographic_strokes_table): Deleted.
3234 (Vcharacter_total_strokes_table): Deleted.
3235 (Vcharacter_morohashi_daikanwa_table): Deleted.
3236 (Vcharacter_decomposition_table): Deleted.
3237 (Qname): Deleted because it is duplicated.
3238 (Qideographic_radical): Deleted.
3239 (Qideographic_strokes): Deleted.
3240 (Qtotal_strokes): Deleted.
3241 (Qmorohashi_daikanwa): Deleted.
3242 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3243 `ideographic-radical', `ideographic-strokes', `total-strokes',
3244 `morohashi-daikanwa' and `->decomposition'.
3245 (Fget_char_attribute): Likewise.
3246 (Fput_char_attribute): Likewise; use `make-vector' instead of
3247 `make_older_vector' for `->decomposition' value.
3248 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3249 `ideograph-daikanwa'.
3250 (syms_of_mule_charset): Delete builtin symbols `name',
3251 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3252 `morohashi-daikanwa'.
3253 (vars_of_mule_charset): Don't setup
3254 `Vcharacter_ideographic_radical_table',
3255 `Vcharacter_ideographic_strokes_table',
3256 `Vcharacter_total_strokes_table',
3257 `Vcharacter_morohashi_daikanwa_table' and
3258 `Vcharacter_decomposition_table'.
3260 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3262 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3263 `make_older_vector', `make_vector_newer_1' and
3264 `make_vector_newer'.
3266 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3267 `make_older_vector' and `make_vector_newer'.
3269 * config.h.in (HAVE_GGC): New macro.
3271 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3273 * mule-charset.c (struct char_attribute_list_closure): New
3274 structure in UTF-2000.
3275 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3276 (Fchar_attribute_list): Likewise.
3277 (Fset_charset_mapping_table): Use `make_vector_newer'.
3278 (Fdecode_builtin_char): New function in UTF-2000.
3279 (syms_of_mule_charset): Add new function `char-attribute-list' and
3280 `decode-builtin-char' in UTF-2000.
3282 * lisp.h (make_vector_newer): New prototype.
3284 * alloc.c (make_vector_newer_1): New function.
3285 (make_vector_newer): New function.
3287 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3289 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3292 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3294 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3295 (Vcharacter_attribute_table): Deleted.
3296 (Vcharacter_name_table): Deleted.
3297 (put_char_attribute): Deleted.
3298 (remove_char_attribute): Deleted.
3299 (struct char_attribute_alist_closure): New structure.
3300 (add_char_attribute_alist_mapper): New function.
3301 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3302 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3303 (Fget_char_attribute): Likewise.
3304 (Fput_char_attribute): Likewise.
3305 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3306 of `remove_char_attribute'.
3307 (Fdefine_char): Return character.
3308 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3309 and `Vcharacter_name_table'.
3310 (complex_vars_of_mule_charset): Likewise
3311 `Vchar_attribute_hash_table'.
3313 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3315 * character.h (CHARC_CHARSET): New macro.
3316 (CHARC_CHARSET_ID): New macro.
3317 (CHARC_CODE_POINT): New macro.
3318 (CHARC_COLUMNS): New macro.
3319 (CHARC_TO_CHAR): New inline function.
3320 (CHARC_EQ): New inline function.
3321 (CHARC_ASCII_EQ): New inline function.
3322 (CHARC_IS_SPACE): New inline function.
3323 (ASCII_TO_CHARC): New inline function.
3325 * char-ucs.h (encode_char_2): Deleted.
3326 (ENCODE_CHAR): Use `encode_char_1' again.
3327 (breakup_char_1): Likewise.
3328 (CHAR_TO_CHARC): New inline function.
3330 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3332 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3334 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3335 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3336 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3337 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3338 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3340 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3342 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3344 (x_output_display_block): Use `CHARC_CHARSET' and
3347 * redisplay-tty.c (tty_output_display_block): Use
3349 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3351 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3353 * insdel.c (find_charsets_in_charc_string): Use
3355 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3356 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3357 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3358 (convert_charc_string_into_malloced_string): Likewise.
3360 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3362 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3363 instead of <Emchar_dynarr *> for buf; use
3364 `convert_bufbyte_string_into_charc_dynarr' instead of
3365 `convert_bufbyte_string_into_emchar_dynarr'; use
3366 `find_charsets_in_charc_string' instead of
3367 `find_charsets_in_emchar_string'.
3370 - Include "character.h".
3371 (struct rune): New member `cglyph'; delete member `chr'.
3373 * redisplay.c (redisplay_text_width_charc_string): New function;
3374 delete `redisplay_text_width_emchar_string'.
3375 (rtw_charc_dynarr): New variable; renamed from
3376 `rtw_emchar_dynarr'.
3377 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3378 `rtw_emchar_dynarr'; use
3379 `convert_bufbyte_string_into_charc_dynarr' instead of
3380 `convert_bufbyte_string_into_emchar_dynarr'; use
3381 `redisplay_text_width_charc_string' instead of
3382 `redisplay_text_width_emchar_string'.
3383 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3384 instead of `rtw_emchar_dynarr'; use
3385 `convert_bufbyte_string_into_charc_dynarr' instead of
3386 `convert_bufbyte_string_into_emchar_dynarr'.
3387 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3388 `redisplay_text_width_charc_string' instead of
3389 `redisplay_text_width_emchar_string'.
3390 (create_text_block): Modify for <struct rune> change.
3391 (generate_formatted_string_db): Likewise.
3392 (create_string_text_block): Likewise.
3393 (pixel_to_glyph_translation): Likewise.
3395 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3396 instead of <const Emchar *>.
3397 (x_text_width): Likewise.
3398 (x_output_display_block): Use <Charc_dynarr *> instead
3399 <Emchar_dynarr *>; modify for <structure rune> change.
3400 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3403 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3404 <const Emchar *>; use `charc_string_displayed_columns' instead of
3405 `emchar_string_displayed_columns'.
3406 (tty_output_display_block): Use <Charc_dynarr *> instead of
3407 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3408 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3409 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3410 `tty_output_emchar_dynarr_dynarr'.
3411 (tty_output_charc_dynarr): New function; delete
3412 `tty_output_charc_dynarr'.
3414 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3415 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3416 <Emchar_dynarr *> for buf; use
3417 `convert_bufbyte_string_into_charc_dynarr' instead of
3418 `convert_bufbyte_string_into_emchar_dynarr'.
3420 * frame.c (title_string_charc_dynarr): New variable; renamed from
3421 `title_string_emchar_dynarr'.
3422 (generate_title_string): Use `title_string_charc_dynarr' instead
3423 of `title_string_emchar_dynarr'; use
3424 `convert_charc_string_into_malloced_string' instead of
3425 `convert_emchar_string_into_malloced_string'.
3426 (init_frame): Use `title_string_charc_dynarr' instead of
3427 `title_string_emchar_dynarr'.
3430 - Include "character.h".
3431 (struct console_methods): Use <const Charc *> instead of <const
3432 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3433 <Emchar_dynarr *> in output_string_method.
3435 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3438 * console-stream.c (stream_text_width): Use <const Charc *>
3439 instead of <const Emchar *>.
3441 * character.h (Charc_dynarr): New type.
3443 * char-ucs.h (structure Charc): New structure; define new type
3446 * char-lb.h (DECODE_CHAR): New inline function.
3447 (encode_char_1): New inline function.
3448 (ENCODE_CHAR): New macro.
3449 (structure Charc): New structure; define new type `Charc'.
3451 * char-1byte.h (Vcharset_control_1): New macro.
3452 (Vcharset_latin_iso8859_1): New macro.
3453 (DECODE_CHAR): New inline function.
3454 (encode_char_1): New inline function.
3455 (ENCODE_CHAR): New macro.
3456 (structure Charc): New structure; define new type `Charc'.
3458 * insdel.c (find_charsets_in_charc_string): New function; delete
3459 `find_charsets_in_emchar_string'.
3460 (charc_string_displayed_columns): New function; delete
3461 `emchar_string_displayed_columns'.
3462 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3463 `convert_bufbyte_string_into_emchar_dynarr'.
3464 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3465 `convert_charc_string_into_bufbyte_dynarr'.
3466 (convert_charc_string_into_malloced_string): New function; delete
3467 `convert_charc_string_into_malloced_string'.
3469 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3470 `find_charsets_in_emchar_string'.
3471 (charc_string_displayed_columns): New prototype; delete
3472 `emchar_string_displayed_columns'.
3473 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3474 `convert_charc_string_into_bufbyte_dynarr'.
3475 (convert_charc_string_into_malloced_string): New prototype; delete
3476 `convert_charc_string_into_malloced_string'.
3478 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3480 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3482 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3484 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3486 * char-ucs.h: Use <short> for <Charset_ID>.
3488 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3491 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3493 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3496 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3498 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3500 (Qmorohashi_daikanwa): New variable.
3501 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3502 for `morohashi-daikanwa' attribute.
3503 (Fget_char_attribute): Likewise.
3504 (Fput_char_attribute): Likewise.
3505 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3506 has the same value of `ideograph-daikanwa'.
3507 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3508 (vars_of_mule_charset): Setup
3509 `Vcharacter_morohashi_daikanwa_table'.
3511 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3513 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3515 (add_charset_to_list_mapper): Add `key' instead of
3516 `XCHARSET_NAME (value)' to return aliases.
3518 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3520 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3522 (Vcharacter_ideographic_strokes_table): New variable.
3523 (Qideographic_radical): New variable.
3524 (Qideographic_strokes): New variable.
3525 (Fchar_attribute_alist): Use
3526 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3527 attribute; use `Vcharacter_ideographic_strokes_table' for
3528 `ideographic-strokes' attribute.
3529 (Fget_char_attribute): Likewise.
3530 (Fput_char_attribute): Likewise.
3531 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3532 `ideographic-strokes'.
3533 (vars_of_mule_charset): Setup
3534 `Vcharacter_ideographic_radical_table' and
3535 `Vcharacter_ideographic_strokes_table'.
3537 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3539 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3540 (Qtotal_strokes): New variable.
3541 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3542 `total-strokes' attribute.
3543 (Fget_char_attribute): Likewise.
3544 (Fput_char_attribute): Likewise.
3545 (syms_of_mule_charset): Add new symbol `total-strokes'.
3546 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3548 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3550 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3551 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3553 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3554 `->decomposition' attribute.
3555 (Fput_char_attribute): Likewise.
3556 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3558 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3560 * mule-charset.c (decoding_table_check_elements): New function.
3561 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3563 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3565 * mule-charset.c (Fset_charset_mapping_table): Use
3566 `put_char_ccs_code_point'.
3568 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3570 * mule-charset.c (decoding_table_put_char): New inline function.
3571 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3573 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3575 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3576 (XCHARSET_BYTE_SIZE): New macro.
3577 (decoding_table_remove_char): New inline function.
3578 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3579 `decoding_table_remove_char'.
3580 (remove_char_ccs): Use `decoding_table_remove_char'.
3581 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3583 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3585 * mule-charset.c (Vcharacter_name_table): New variable.
3586 (Qname): New variable.
3587 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3589 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3590 `Vcharacter_name_table' for `name' attribute.
3591 (Fremove_char_attribute): Use function `remove_char_ccs'.
3592 (put_char_ccs_code_point): New function.
3593 (remove_char_ccs): New function.
3594 (syms_of_mule_charset): Add new symbol `name'.
3595 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3597 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3599 * mule-charset.c (make_byte_table): Add new argument `older'.
3600 (make_char_id_table): Likewise.
3601 (copy_char_id_table): Comment out because it is not used.
3602 (put_char_id_table): Modify for `make_byte_table'.
3603 (Fput_char_attribute): Make encoding_table as older object;
3604 inherit older bit of `Vcharacter_composition_table'.
3605 (mark_charset): Don't mark `cs->encoding_table'.
3606 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3607 normal object; make `Vcharacter_composition_table' as an older
3608 object; delete staticpro for `Vcharacter_composition_table'; make
3609 `Vcharacter_variant_table' as a normal object.
3611 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3612 (mark_object): Don't check older object in UTF-2000.
3614 * lrecord.h (struct lrecord_header): Add new member `older' in
3616 (set_lheader_implementation): Setup `SLI_header->older' in
3618 (set_lheader_older_implementation): New macro in UTF-2000.
3619 (OLDER_RECORD_P): New macro in UTF-2000.
3620 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3621 (alloc_older_lcrecord): New prototype in UTF-2000.
3622 (alloc_older_lcrecord_type): New macro in UTF-2000.
3624 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3626 * mule-charset.c (byte_table_description): Use
3627 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3628 (char_id_table_description): Delete bogus `, 1'.
3629 (Fget_char_attribute): Refer encoding_table of each coded-charset
3630 to get value of coded-charset attribute of a character.
3631 (Fput_char_attribute): Use `make_older_vector' instead of
3632 `make_vector'; use encoding_table of each coded-charset to store
3633 value of coded-charset attribute of a character.
3634 (Fremove_char_attribute): Use encoding_table of each coded-charset
3635 to store value of coded-charset attribute of a character.
3636 (mark_charset): Mark `cs->encoding_table'; don't mark
3637 `cs->decoding_table'.
3638 (charset_description): Add description of new member
3640 (make_charset): Initialize `encoding_table'.
3642 * char-ucs.h (struct Lisp_Charset): Add new member
3644 (CHARSET_ENCODING_TABLE): New macro.
3645 (XCHARSET_ENCODING_TABLE): New macro.
3646 (charset_code_point): New implementation.
3647 (encode_char_1): Likewise.
3649 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3650 (disksave_object_finalization_1): Call finalizers of
3651 `all_older_lcrecords' in UTF-2000.
3652 (make_older_vector): New function in UTF-2000.
3653 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3656 * lisp.h (make_older_vector): New prototype in UTF-2000.
3658 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3660 * lrecord.h (enum lrecord_type): Rename
3661 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3663 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3664 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3665 `get_char_code_table'.
3667 * mule-charset.c (mark_char_id_table): Renamed from
3668 `mark_char_code_table'.
3669 (char_id_table_equal): Renamed from `char_code_table_equal'.
3670 (char_id_table_hash): Renamed from `char_code_table_hash'.
3671 (make_char_id_table): Renamed from `make_char_code_table'.
3672 (copy_char_id_table): Renamed from `copy_char_code_table'.
3673 (get_char_id_table): Renamed from `get_char_code_table'.
3674 (put_char_id_table): Renamed from `put_char_code_table'.
3675 (to_char_id): Renamed from `to_char_code'.
3677 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3678 `Lisp_Char_Code_Table'.
3679 (char_id_table): Renamed from `char_code_table'.
3680 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3681 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3682 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3683 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3684 (get_char_id_table): Renamed from `get_char_code_table'.
3686 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3688 * lrecord.h (enum lrecord_type): Rename
3689 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3691 * mule-charset.c (mark_byte_table): Renamed from
3692 `mark_char_byte_table'.
3693 (byte_table_equal): Renamed from `char_byte_table_equal'.
3694 (byte_table_hash): Renamed from `byte_table_hash'.
3695 (make_byte_table): Renamed from `make_byte_table'.
3696 (copy_byte_table): Renamed from `copy_char_byte_table'.
3698 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3699 `Lisp_Char_Byte_Table'.
3700 (byte_table): Renamed from `char_byte_table'.
3701 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3702 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3703 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3704 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3706 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3708 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3709 (dfc_convert_to_internal_format): Likewise.
3711 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3712 * text-coding.c (Fcoding_system_alias_p): New function.
3713 * text-coding.c (Fcoding_system_aliasee): New function.
3714 * text-coding.c (append_suffix_to_symbol): New function.
3715 * text-coding.c (dangling_coding_system_alias_p): New function.
3716 * text-coding.c (Ffind_coding_system):
3717 * text-coding.c (Fcopy_coding_system):
3718 * text-coding.c (encode_coding_no_conversion):
3719 * text-coding.c (syms_of_file_coding):
3720 * text-coding.c (vars_of_file_coding):
3721 Rewrite coding system alias code.
3722 Allow nested aliases, like symbolic links.
3723 Allow redefinition of coding system aliases.
3724 Prevent existence of dangling coding system aliases.
3725 Eliminate convert_to_external_format.
3726 Eliminate convert_to_internal_format.
3728 * text-coding.c: Change enum eol_type to eol_type_t.
3730 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3732 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3733 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3735 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3736 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3738 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3740 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3741 `ideograph-daikanwa'.
3743 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3744 (Vcharset_ucs_bmp): Likewise.
3745 (Vcharset_mojikyo): Add new extern variable definition.
3746 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3747 (Vcharset_latin_iso8859_3): Likewise.
3748 (Vcharset_latin_iso8859_4): Likewise.
3749 (Vcharset_latin_iso8859_9): Likewise.
3750 (Vcharset_latin_viscii_lower): Likewise.
3751 (Vcharset_latin_viscii_upper): Likewise.
3752 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3753 `mojikyo' code-point is used to decode.
3754 (encode_char_2): New function [to convert `mojikyo' code-point to
3755 Mojikyo font encoding].
3756 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3757 (breakup_char_1): Likewise.
3758 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3760 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3762 * text-coding.c (Fmake_coding_system): Add document about
3763 `disable-composition' property.
3765 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3767 * text-coding.c (Qdisable_composition): New variable; delete
3769 (Fmake_coding_system): Add new property `disable-composite';
3770 delete property `composite'.
3771 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3772 instead of `!CODING_SYSTEM_COMPOSITE'.
3773 (syms_of_file_coding): Add new symbol `disable-composition';
3774 delete symbol `composite'.
3776 * file-coding.h (struct Lisp_Coding_System): Add
3777 `disable_composition'; delete `enable_composition'.
3778 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3779 `CODING_SYSTEM_COMPOSITE'.
3780 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3781 `XCODING_SYSTEM_COMPOSITE'.
3783 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3785 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3788 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3790 * text-coding.c (Qcomposite): New variable.
3791 (Fmake_coding_system): Add new property `composite'.
3792 (struct decoding_stream): Add `combined_char_count',
3793 `combined_chars' and `combining_table' in UTF-2000.
3794 (COMPOSE_FLUSH_CHARS): New macro.
3795 (COMPOSE_ADD_CHAR): New macro.
3796 (reset_decoding_stream): Reset `str->combined_char_count' and
3797 `str->combining_table' in UTF-2000.
3798 (decode_coding_iso2022): Modify for character-decomposition.
3799 (syms_of_file_coding): Add new symbol `composite'.
3801 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3803 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3804 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3805 of `Vcharacter_composition_table' if `->decomposition' property
3807 (Qlatin_tcvn5712): New variable.
3808 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3809 (complex_vars_of_mule_charset): Add new coded-charset
3812 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3814 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3816 * file-coding.h (struct Lisp_Coding_System): Add
3817 `enable_composition'.
3818 (CODING_SYSTEM_COMPOSITE): New macro.
3819 (XCODING_SYSTEM_COMPOSITE): New macro.
3821 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3823 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3825 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3827 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3828 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3830 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3832 * mule-charset.c (Vcharset_mojikyo): New variable.
3833 (Fdefine_char): Don't use coded-charset which does not have
3834 non-builtin character range to allocate character-id.
3835 (Qmojikyo): New variable.
3836 (syms_of_mule_charset): Add new symbol `mojikyo'.
3837 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3839 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3840 (LEADING_BYTE_MOJIKYO): New macro.
3841 (MIN_CHAR_MOJIKYO): New macro.
3842 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3843 (MAX_CHAR_MOJIKYO): New macro.
3845 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3847 * mule-charset.c (remove_char_attribute): Fixed.
3849 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3851 * mule-charset.c (remove_char_attribute): New function.
3852 (Fremove_char_attribute): New function.
3853 (encode_builtin_char_1): Comment out builtin-support for
3854 greek-iso8859-7 and cyrillic-iso8859-5.
3855 (Fdecode_char): Check `code' is an integer.
3856 (syms_of_mule_charset): Add `remove-char-attribute'.
3857 (MIN_CHAR_GREEK): Deleted.
3858 (MAX_CHAR_GREEK): Likewise.
3859 (MIN_CHAR_CYRILLIC): Likewise.
3860 (MAX_CHAR_CYRILLIC): Likewise.
3861 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3862 MAX_CHAR_GREEK for `greek-iso8859-7'.
3864 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3865 (MAX_CHAR_GREEK): Likewise.
3866 (MIN_CHAR_CYRILLIC): Likewise.
3867 (MAX_CHAR_CYRILLIC): Likewise.
3869 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3871 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3872 format is used without `ucs' property.
3873 (Fdecode_char): Fix problem with GR representation.
3874 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3875 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3877 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3879 * mule-charset.c (make_builtin_char): New function.
3880 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3881 (Fset_charset_mapping_table): Modify for new representation of
3883 (Fdecode_char): New function.
3884 (syms_of_mule_charset): Add new builtin function `decode-char' in
3887 * char-ucs.h (make_builtin_char): New prototype.
3888 (DECODE_CHAR): New inline function.
3889 (MAKE_CHAR): Use `DECODE_CHAR'.
3891 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3893 * text-coding.c (parse_charset_conversion_specs): Use
3894 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3896 (iso2022_designate): Likewise.
3898 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3899 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3901 * mule-charset.c (Vcharset_ucs): New variable.
3902 (print_charset): Change design; use `CHARSET_CHARS' and
3903 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3904 (make_charset): Change signature to specify `chars' and
3905 `dimension' instead of `type'.
3906 (range_charset_code_point): Modify for 256^n-set.
3907 (encode_builtin_char_1): Encode as `ucs' in default.
3908 (Fmake_charset): Modify for `make_charset'.
3909 (Fmake_reverse_direction_charset): Likewise.
3910 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3912 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3915 * char-ucs.h (Vcharset_ucs): New variable.
3916 (LEADING_BYTE_UCS): New macro.
3917 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3918 and `chars' to `unsigned short' from `unsigned int'.
3919 (CHARSET_TYPE): Deleted.
3920 (XCHARSET_TYPE): Deleted.
3922 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3924 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3926 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3927 (ENCODE_CHAR): New macro.
3929 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3931 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3932 to 0.14 (Kawachi-Katakami).
3934 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3936 * text-coding.c (char_encode_shift_jis): Modify for
3937 `charset_code_point'.
3938 (char_encode_iso2022): Likewise.
3940 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3941 (integer) instead of list of <Lisp_Object>s (integers) as the
3942 format of code-point of a coded-charset.
3943 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3944 (encode_builtin_char_1): New function; delete
3945 `split_builtin_char'.
3946 (charset_code_point): Return <int> instead of <Lisp_Object>.
3947 (Fsplit_char): Don't use `SPLIT_CHAR'.
3949 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3950 prototype for `split_builtin_char'.
3951 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3952 (charset_code_point): Likewise.
3953 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3954 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3956 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3958 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3959 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3961 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3963 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3965 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3966 (MAX_CHAR_OBS_94x94): Deleted.
3968 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3970 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3972 * char-ucs.h (MAX_CHAR_BMP): New macro.
3974 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3976 * text-coding.c: Sync with r21-2-24.
3978 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3980 * file-coding.c: Modify for UTF-2000.
3982 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3984 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3987 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3989 * mule-charset.c (split_builtin_char): Delete builtin support for
3990 `katakana-jisx0201'.
3991 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3992 BMP area in builtin representation.
3994 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3995 `Vcharset_katakana_jisx0201'.
3997 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3999 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4000 (Qisolated): New variable.
4001 (Qinitial): New variable.
4002 (Qmedial): New variable.
4003 (Qfinal): New variable.
4004 (Qvertical): New variable.
4005 (Qsmall): New variable.
4006 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4007 `Qvertical' and `Qsmall'.
4008 (Qmojikyo_pj_[1 .. 21]): New variable.
4009 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4010 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4011 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4014 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4016 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4017 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4018 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4020 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4022 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4023 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4025 (Qjapanese_jisx0208_1990): New variable.
4026 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4027 (complex_vars_of_mule_charset): Add new coded-charset
4028 `japanese-jisx0208-1990'.
4030 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4031 (MIN_CHAR_JIS_X0208_1990): New macro.
4032 (MAX_CHAR_JIS_X0208_1990): New macro.
4034 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4036 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4037 coded-charset is not found.
4039 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4041 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4042 (Fdefine_char): Use `Fmake_char'.
4044 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4046 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4047 (Vcharset_hiragana_jisx0208): Deleted.
4048 (Vcharset_katakana_jisx0208): Deleted.
4049 (Qideograph_daikanwa): New variable.
4050 (Qhiragana_jisx0208): Deleted.
4051 (Qkatakana_jisx0208): Deleted.
4052 (split_builtin_char): Split `ideograph-daikanwa'.
4053 (Fsplit_char): New implementation for UTF-2000.
4054 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4055 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4056 (complex_vars_of_mule_charset): Add new coded-charset
4057 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4058 `katakana-jisx0208'.
4060 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4061 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4062 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4063 (MIN_CHAR_DAIKANWA): New macro.
4064 (MAX_CHAR_DAIKANWA): New macro.
4066 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4068 * data.c (Fstring_to_number): Don't recognize floating point if
4071 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4073 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4075 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4077 * mule-charset.c (Qsquare): New variable.
4078 (to_char_code): Add `Qsquare'.
4079 (syms_of_mule_charset): Add new symbol `square'.
4081 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4083 * mule-charset.c (Qcircle): New variable.
4084 (to_char_code): Add `Qcircle'.
4085 (syms_of_mule_charset): Add new symbol `circle'.
4087 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4089 * mule-charset.c (Qfont): New variable.
4090 (to_char_code): Add `Qfont'.
4091 (syms_of_mule_charset): Add new symbol `font'.
4093 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4095 * mule-charset.c (Qsub): New variable.
4096 (to_char_code): Add `Qsub'.
4097 (syms_of_mule_charset): Add new symbol `sub'.
4099 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4101 * mule-charset.c (Fput_char_attribute): Convert each element of
4102 VALUE to GL position if ATTRIBUTE is a GR-set,
4104 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4106 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4107 coded-charset is a GR-set.
4109 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4111 * mule-charset.c (Fput_char_attribute): Check each element of
4112 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4114 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4116 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4118 (Qethiopic_ucs): New variable in UTF-2000.
4119 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4120 (complex_vars_of_mule_charset): Add new coded-charset
4121 `ethiopic-ucs' in UTF-2000.
4123 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4124 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4126 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4128 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4130 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4132 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4135 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4137 * mule-charset.c (Vcharacter_variant_table): New variable.
4138 (Q_ucs): New variable.
4139 (Fchar_variants): New function.
4140 (Fput_char_attribute): Register `->ucs' value to
4141 `Vcharacter_variant_table'.
4142 (syms_of_mule_charset): Add new function `char-variants' and new
4144 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4146 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4148 * mule-charset.c (get_char_code_table): Allow negative character
4150 (put_char_code_table): Likewise.
4151 (Vcharacter_composition_table): New variable.
4152 (Q_decomposition): New variable.
4153 (Qwide): New variable.
4154 (Qnarrow): New variable.
4155 (Qcompat): New variable.
4156 (QnoBreak): New variable.
4157 (Qsuper): New variable.
4158 (Qfraction): New variable.
4159 (to_char_code): New function.
4160 (Fget_composite_char): New function.
4161 (Fput_char_attribute): Register `->decomposition' value to
4162 `Vcharacter_composition_table'.
4163 (syms_of_mule_charset): Add new function `get-composite-char', new
4164 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4165 `super' and `fraction'.
4166 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4168 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4170 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4171 character; copy the return value.
4173 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4175 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4177 * mule-charset.c (range_charset_code_point): Must use make_int.
4178 (split_builtin_char): New function.
4180 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4182 * mule-charset.c (char_byte_table): Change name from
4183 "char-code-table" to "char-byte-table".
4184 (mark_char_code_table): New function.
4185 (char_code_table_equal): New function.
4186 (char_code_table_hash): New function.
4187 (char_code_table_description): New constant.
4188 (char_code_table): New type.
4189 (make_char_code_table): New function.
4190 (copy_char_code_table): New function.
4191 (get_char_code_table): Modify for `char_code_table' type.
4192 (put_char_code_table): Likewise.
4193 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4196 * char-ucs.h (char_code_table): New type.
4197 (XCHAR_CODE_TABLE): New macro.
4198 (XSETCHAR_CODE_TABLE): New macro.
4199 (CHAR_CODE_TABLE_P): New macro.
4200 (GC_CHAR_CODE_TABLE_P): New macro.
4201 (struct Lisp_Char_Code_Table): New structure.
4203 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4205 * mule-charset.c (Fmake_charset): Setup byte_offset for
4208 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4210 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4213 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4215 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4218 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4220 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4221 charset, it is regarded as a charset.
4222 (put_char_attribute): New function in UTF-2000.
4223 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4224 charset, mapping-table of the charset is modified.
4225 (Fdefine_char): New function in UTF-2000.
4226 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4227 `Fput_char_attribute'.
4228 (syms_of_mule_charset): Add new function `define-char' and new
4229 symbol `ucs' in UTF-2000.
4230 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4232 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4234 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4235 non-UTF-2000 configuration.
4237 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4239 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4240 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4242 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4244 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4245 (Fset_charset_mapping_table): Likewise.
4247 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4248 (CHARSET_ENCODING_TABLE): Delete.
4249 (XCHARSET_ENCODING_TABLE): Delete.
4250 (charset_code_point): New interface.
4252 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4254 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4255 instead of `charset_get_byte1' and `charset_get_byte2'.
4257 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4258 (charset_get_byte2): Deleted.
4260 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4262 * char-ucs.h (SPLIT_CHAR): New inline function.
4263 (breakup_char_1): Use `SPLIT_CHAR'.
4265 * mule-charset.c (range_charset_code_point): New function.
4266 (charset_code_point): New function.
4268 * char-ucs.h (range_charset_code_point): New interface.
4269 (breakup_char_1): Use `range_charset_code_point'.
4271 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4273 * mule-charset.c (Fmake_charset): Delete unused local variable
4276 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4277 (breakup_char_1): Find a charset and code-point in
4278 `Vcharacter_attribute_table'.
4280 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4282 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4285 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4287 * mule-charset.c (Vcharacter_attribute_table): New variable.
4288 (Fchar_attribute_alist): New function.
4289 (Fget_char_attribute): New function.
4290 (Fput_char_attribute): New function.
4291 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4293 (syms_of_mule_charset): Add new function `char-attribute-alist',
4294 `get-char-attribute' and `put-char-attribute'.
4295 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4297 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4299 * mule-charset.c (Fmake_charset): Just use
4300 `get_unallocated_leading_byte'.
4302 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4303 sets; don't use final-byte based number for private sets.
4305 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4307 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4310 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4312 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4315 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4317 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4318 of `CHAR_LEADING_BYTE' in UTF-2000.
4320 * insdel.c (find_charsets_in_bufbyte_string): Use
4321 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4322 (find_charsets_in_emchar_string): Likewise.
4324 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4325 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4327 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4328 (CHAR_CHARSET_ID): New macro.
4330 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4332 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4333 charset-id - MIN_LEADING_BYTE.
4334 (put_char_table): Likewise.
4336 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4338 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4339 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4340 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4341 (CHARSET_ID_OFFSET): New macro.
4342 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4343 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4344 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4345 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4347 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4349 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4350 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4351 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4352 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4353 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4355 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4357 * mule-charset.c (next_allocated_leading_byte): New variable in
4359 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4360 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4361 (get_unallocated_leading_byte): Simply use
4362 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4363 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4366 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4367 (MAX_LEADING_BYTE_PRIVATE): New macro.
4368 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4369 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4371 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4373 * mule-charset.c (Fmake_charset): Allocate final-byte based
4374 charset-id for 94-set, 96-set and 94x94-set.
4376 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4378 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4380 (Fmake_charset): Likewise.
4381 (complex_vars_of_mule_charset): Modify the font registry of
4382 `ucs-bmp' not to match `Ethiopic-Unicode'.
4384 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4386 * mule-charset.c (complex_vars_of_mule_charset): Add font
4387 registory of `ucs-bmp'.
4389 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4391 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4392 coded-charsets in `default-coded-charset-priority-list' when
4393 breaking up a character.
4395 * mule-charset.c (Vcharset_latin_viscii): New variable.
4396 (Qlatin_viscii): New variable.
4397 (make_charset): Don't use `decoding_table'.
4398 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4400 (Fset_charset_mapping_table): New implementation.
4401 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4402 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4403 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4404 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4405 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4406 charset `latin_viscii'.
4408 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4409 (CHARSET_TYPE_94X94): Change to 1 from 2.
4410 (CHARSET_TYPE_96): Change to 2 from 1.
4411 (CHARSET_TYPE_128): New macro.
4412 (CHARSET_TYPE_128X128): Change to 5 from 4.
4413 (CHARSET_TYPE_256): New macro.
4414 (CHARSET_TYPE_256X256): Change to 7 from 5.
4415 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4417 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4419 * text-coding.c (char_encode_shift_jis): Refer
4420 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4421 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4423 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4424 (char_byte_table_equal): New function in UTF-2000.
4425 (char_byte_table_hash): New function in UTF-2000.
4426 (char_byte_table_description): New constant in UTF-2000.
4427 (char_byte_table): New type in UTF-2000.
4428 (make_char_byte_table): New function in UTF-2000.
4429 (copy_char_byte_table): New function in UTF-2000.
4430 (make_char_code_table): New macro in UTF-2000.
4431 (get_char_code_table): New function in UTF-2000.
4432 (put_char_code_table): New function in UTF-2000.
4433 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4434 (charset_description): Add setting in UTF-2000.
4435 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4436 `CHARSET_TO_BYTE1_TABLE(cs)'.
4437 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4438 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4439 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4440 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4441 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4442 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4443 `CHARSET_TO_BYTE2_TABLE(cs)'.
4445 * char-ucs.h (char_byte_table): New type.
4446 (XCHAR_BYTE_TABLE): New macro.
4447 (XSETCHAR_BYTE_TABLE): New macro.
4448 (CHAR_BYTE_TABLE_P): New macro.
4449 (GC_CHAR_BYTE_TABLE_P): New macro.
4450 (struct Lisp_Char_Byte_Table): New structure.
4451 (get_char_code_table): New interface.
4452 (Emchar_to_byte_table): Deleted.
4453 (get_byte_from_character_table): Deleted.
4454 (struct Lisp_Charset): Add `encoding_table'; delete
4455 `to_byte1_table' and `to_byte2_table'.
4456 (CHARSET_ENCODING_TABLE): New macro.
4457 (CHARSET_TO_BYTE1_TABLE): Deleted.
4458 (CHARSET_TO_BYTE2_TABLE): Deleted.
4459 (XCHARSET_ENCODING_TABLE): New macro.
4460 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4461 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4463 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4465 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4466 `vietnamese-viscii-*'.
4468 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4470 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4471 (Qvietnamese_viscii_upper): New variable.
4472 (Fdefine_charset_alias): New function.
4473 (syms_of_mule_charset): Add new function `define-charset-alias'.
4474 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4475 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4478 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4480 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4481 (MAX_CHAR_OBS_94x94): New macro.
4482 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4485 * mule-charset.c (put_byte_from_character_table): Change unit size
4487 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4489 (Fmake_reverse_direction_charset): Modify dummy argument of
4490 `make_charset' for non-UTF-2000 environment.
4492 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4494 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4496 * mule-charset.c (destroy_byte_from_character_table): New macro.
4497 (latin_jisx0201_to_ucs): Deleted.
4498 (latin_iso8859_2_to_ucs): Deleted.
4499 (latin_iso8859_3_to_ucs): Deleted.
4500 (latin_iso8859_4_to_ucs): Deleted.
4501 (latin_iso8859_9_to_ucs): Deleted.
4502 (latin_viscii_lower_to_ucs): Deleted.
4503 (latin_viscii_upper_to_ucs): Deleted.
4504 (mark_charset): Mark `cs->decoding_table'.
4505 (Fcharset_mapping_table): Fix DOC-string.
4506 (Fset_charset_mapping_table): New function.
4507 (syms_of_mule_charset): Add nwe function
4508 `set-charset-mapping-table'.
4509 (complex_vars_of_mule_charset): Don't setup and use
4512 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4514 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4517 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4519 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4520 (Vcharset_katakana_jisx0208): New variable.
4521 (Qhiragana_jisx0208): New variable.
4522 (Qkatakana_jisx0208): New variable.
4523 (make_charset): Add new argument `byte_offset'.
4524 (charset_get_byte1): Modify for new coded-charset definition; use
4525 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4526 `XCHARSET_BYTE_OFFSET'.
4527 (Fmake_charset): Modify for `make_charset'.
4528 (Fmake_reverse_direction_charset): Likewise.
4529 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4530 `katakana-jisx0208'.
4531 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4532 `.' in font registry of charset `katakana-jisx0201',
4533 `latin-jisx0201', `vietnamese-viscii-lower' and
4534 `vietnamese-viscii-upper'; modify DOC-string of charset
4535 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4536 registry of charset `japanese-jisx0208' not to use font for JIS
4537 X0208:1990; add new charset `hiragana-jisx0208' and
4538 `katakana-jisx0208'.
4540 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4541 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4542 (struct Lisp_Charset): Add `byte_offset'.
4543 (CHARSET_BYTE_OFFSET): New macro.
4544 (XCHARSET_UCS_MIN): New macro.
4545 (XCHARSET_UCS_MAX): New macro.
4546 (XCHARSET_CODE_OFFSET): New macro.
4547 (XCHARSET_BYTE_OFFSET): New macro.
4548 (MIN_CHAR_HIRAGANA): New macro.
4549 (MAX_CHAR_HIRAGANA): New macro.
4550 (MIN_CHAR_KATAKANA): New macro.
4551 (MAX_CHAR_KATAKANA): New macro.
4552 (MAKE_CHAR): Modify for new coded-charset definition; use
4553 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4554 `XCHARSET_BYTE_OFFSET'.
4556 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4558 * mule-charset.c (CHAR96): Deleted.
4559 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4561 (latin_iso8859_2_to_ucs): Likewise.
4562 (latin_iso8859_3_to_ucs): Likewise.
4563 (latin_iso8859_4_to_ucs): Likewise.
4564 (latin_iso8859_9_to_ucs): Likewise.
4565 (latin_viscii_lower_to_ucs): Likewise.
4566 (latin_viscii_upper_to_ucs): Likewise.
4567 (latin_tcvn5712_to_ucs): Commented out.
4568 (make_charset): Change type of argument `decoding_table' from
4569 <Emchar*> to <Lisp_Object> [vector of characters].
4570 (Fmake_charset): Modify for `make_charset'.
4571 (Fmake_reverse_direction_charset): Likewise.
4572 (Fcharset_mapping_table): New function in UTF-2000.
4573 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4575 (complex_vars_of_mule_charset): Modify for type change of
4576 `*_to_ucs'; modify for `make_charset'.
4578 * char-ucs.h (struct Lisp_Charset): Change type of
4579 `decoding_table' from <Emchar*> to <Lisp_Object>.
4580 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4582 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4584 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4585 error with non-UTF-2000-Mule.
4587 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4589 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4591 (Vcharset_chinese_cns11643_4): Likewise.
4592 (Vcharset_chinese_cns11643_5): Likewise.
4593 (Vcharset_chinese_cns11643_6): Likewise.
4594 (Vcharset_chinese_cns11643_7): Likewise.
4595 (Qchinese_cns11643_3): Likewise.
4596 (Qchinese_cns11643_4): Likewise.
4597 (Qchinese_cns11643_5): Likewise.
4598 (Qchinese_cns11643_6): Likewise.
4599 (Qchinese_cns11643_7): Likewise.
4600 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4601 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4602 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4603 (complex_vars_of_mule_charset): Likewise.
4605 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4607 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4609 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4610 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4612 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4614 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4616 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4617 (breakup_char_1): Likewise.
4619 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4620 one of them includes the specified character.
4622 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4624 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4626 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4628 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4630 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4632 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4633 definition for non-UTF-2000 Mule.
4634 (latin_iso8859_3_to_ucs): Likewise.
4635 (latin_iso8859_4_to_ucs): Likewise.
4636 (latin_iso8859_9_to_ucs): Likewise.
4637 (latin_jisx0201_to_ucs): Likewise.
4638 (MIN_CHAR_THAI): Likewise.
4639 (MAX_CHAR_THAI): Likewise.
4640 (MIN_CHAR_GREEK): Likewise.
4641 (MAX_CHAR_GREEK): Likewise.
4642 (MIN_CHAR_HEBREW): Likewise.
4643 (MAX_CHAR_HEBREW): Likewise.
4644 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4645 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4646 (MIN_CHAR_CYRILLIC): Likewise.
4647 (MAX_CHAR_CYRILLIC): Likewise.
4649 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4651 * char-ucs.h (breakup_char_1): Use
4652 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4653 thai-tis620 and katakana-jisx0201 area.
4655 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4657 * char-ucs.h (breakup_char_1): Use
4658 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4661 * text-coding.c (reset_encoding_stream): Fixed.
4662 (char_encode_ucs4): Delete `& 255'.
4664 * char-ucs.h (breakup_char_1): Use
4665 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4667 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4669 * file-coding.c (Fmake_coding_system): Don't set up
4670 `codesys->fixed.size'.
4671 (encode_coding_no_conversion): Don't refer
4672 `str->codesys->fixed.size'.
4674 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4676 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4677 (latin_a_char_to_byte1): Deleted.
4678 (latin_a_char_to_byte2): Deleted.
4680 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4682 * mule-charset.c (make_charset): Add new argument `ucs_min',
4683 `ucs_max' and `code_offset'.
4684 (charset_get_byte1): New implementation [delete specific charset
4685 depended implementations].
4686 (Fmake_charset): Modify for `make_charset'.
4687 (Fmake_reverse_direction_charset): Likewise.
4688 (complex_vars_of_mule_charset): Likewise.
4690 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4692 (CHARSET_UCS_MIN): New macro.
4693 (CHARSET_UCS_MAX): New macro.
4694 (CHARSET_CODE_OFFSET): New macro.
4695 (MAKE_CHAR): Delete charset depended definitions [except
4698 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4700 * char-ucs.h (breakup_char_1): Use
4701 `Vdefault_coded_charset_priority_list' for C0-Controls,
4702 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4704 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4706 * char-ucs.h (charset_get_byte1): New function.
4707 (XCHARSET_GET_BYTE1): Deleted.
4708 (charset_get_byte2): New function.
4709 (XCHARSET_GET_BYTE2): Deleted.
4710 (Vdefault_coded_charset_priority_list): New external variable.
4711 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4712 `Vdefault_preferred_coded_charset_list'.
4714 * mule-charset.c (charset_get_byte1): New function.
4715 (charset_get_byte2): New function.
4716 (Vdefault_coded_charset_priority_list): New variable.
4717 (vars_of_mule_charset): Add new variable
4718 `default-coded-charset-priority-list'.
4720 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4722 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4723 (XCHARSET_GET_BYTE2): New inline function.
4724 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4725 `XCHARSET_GET_BYTE2'.
4727 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4729 * mule-charset.c (make_charset): Initialize
4730 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4731 NULL if table is not defined.
4733 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4735 * text-coding.c (char_encode_shift_jis): Use
4736 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4737 `ucs_to_latin_jisx0201'.
4739 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4740 (ucs_to_latin_iso8859_2): Deleted.
4741 (ucs_to_latin_iso8859_3): Deleted.
4742 (ucs_to_latin_iso8859_4): Deleted.
4743 (ucs_to_latin_iso8859_9): Deleted.
4744 (ucs_to_latin_viscii_lower): Deleted.
4745 (ucs_to_latin_viscii_upper): Deleted.
4746 (ucs_to_latin_tcvn5712): Deleted.
4747 (make_charset): Add new argument `decoding_table'; set up
4748 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4749 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4750 `decoding_table' is defined in UTF-2000.
4751 (Fmake_charset): Modify for `make_charset'.
4752 (Fmake_reverse_direction_charset): Likewise.
4753 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4754 and `GENERATE_96_SET'.
4756 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4757 (ucs_to_latin_jisx0201): Deleted.
4758 (latin_iso8859_2_to_ucs): Deleted.
4759 (ucs_to_latin_iso8859_2): Deleted.
4760 (latin_iso8859_3_to_ucs): Deleted.
4761 (ucs_to_latin_iso8859_3): Deleted.
4762 (latin_iso8859_4_to_ucs): Deleted.
4763 (ucs_to_latin_iso8859_4): Deleted.
4764 (latin_iso8859_9_to_ucs): Deleted.
4765 (ucs_to_latin_iso8859_9): Deleted.
4766 (latin_viscii_lower_to_ucs): Deleted.
4767 (ucs_to_latin_viscii_lower): Deleted.
4768 (latin_viscii_upper_to_ucs): Deleted.
4769 (ucs_to_latin_viscii_upper): Deleted.
4770 (struct Lisp_Charset): Renamed `encoding_table' to
4771 `to_byte1_table'; add `to_byte2_table'.
4772 (CHARSET_DECODING_TABLE): New macro.
4773 (CHARSET_TO_BYTE1_TABLE): New macro.
4774 (CHARSET_TO_BYTE2_TABLE): New macro.
4775 (XCHARSET_DECODING_TABLE): New macro.
4776 (XCHARSET_TO_BYTE1_TABLE): New macro.
4777 (XCHARSET_TO_BYTE2_TABLE): New macro.
4778 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4780 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4781 don't use `ucs_to_*' tables.
4783 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4785 * text-coding.c (Fmake_coding_system): Don't set up
4786 `codesys->fixed.size'.
4787 (encode_coding_no_conversion): Use `if' instead of `switch'.
4789 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4791 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4793 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4794 (Fmake_charset): Modify for `make_charset'.
4795 (Fmake_reverse_direction_charset): Likewise.
4796 (complex_vars_of_mule_charset): Likewise.
4798 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4800 * text-coding.c (char_encode_shift_jis): Use table
4801 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4803 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4805 * text-coding.c (text_encode_generic): Use `if' instead of
4807 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4810 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4812 * text-coding.c (encode_coding_sjis): Deleted.
4813 (char_encode_shift_jis): New function.
4814 (char_finish_shift_jis): New function.
4815 (reset_encoding_stream): Set up `encode_char' and `finish' for
4816 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4817 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4818 (char_encode_utf8): Treat `eol_type'.
4820 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4822 * file-coding.c (decode_coding_iso2022): Use
4823 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4825 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4827 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4830 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4832 * char-lb.h (CHAR_COLUMNS): New macro.
4834 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4836 * text-coding.c (char_encode_ucs4): New function.
4837 (char_finish_ucs4): New function.
4838 (encode_coding_ucs4): Deleted.
4839 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4840 (text_encode_generic): Delete local variable `charset' and `half'.
4841 (ucs_to_mule_table): Deleted.
4842 (mule_to_ucs_table): Deleted.
4843 (Fset_ucs_char): Deleted.
4844 (ucs_to_char): Deleted.
4845 (Fucs_char): Deleted.
4846 (Fset_char_ucs): Deleted.
4847 (Fchar_ucs): Deleted.
4848 (decode_ucs4): Deleted.
4849 (mule_char_to_ucs4): Deleted.
4850 (encode_ucs4): Deleted.
4851 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4852 (decode_coding_utf8): Likewise.
4853 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4854 (char_encode_iso2022): Fixed.
4855 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4856 `Fset_char_ucs' and `Fchar_ucs'.
4857 (complex_vars_of_file_coding): Don't initialize
4858 `ucs_to_mule_table'.
4860 * objects-tty.c (tty_initialize_font_instance): Don't use
4863 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4866 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4867 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4869 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4870 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4871 (emchar_string_displayed_columns): Likewise.
4873 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4874 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4875 (string_column_at_point): Likewise.
4876 (Fmove_to_column): Likewise.
4878 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4879 `encoding_table' and `decoding_table'.
4880 (CHARSET_REP_BYTES): Deleted.
4881 (XCHARSET_REP_BYTES): Deleted.
4882 (XCHARSET_COLUMNS): Deleted.
4883 (CHAR_COLUMNS): New macro.
4884 (lookup_composite_char): Deleted unconditionally.
4885 (composite_char_string): Likewise.
4887 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4889 * char-ucs.h (Emchar_to_byte_table): New type.
4890 (get_byte_from_character_table): New function interface.
4891 (Vcharset_latin_jisx0201): New variable.
4892 (latin_jisx0201_to_ucs): New variable.
4893 (ucs_to_latin_jisx0201): New variable.
4894 (Vcharset_latin_iso8859_2): New variable.
4895 (latin_iso8859_2_to_ucs): New variable.
4896 (ucs_to_latin_iso8859_2): New variable.
4897 (Vcharset_latin_iso8859_3): New variable.
4898 (latin_iso8859_3_to_ucs): New variable.
4899 (ucs_to_latin_iso8859_3): New variable.
4900 (Vcharset_latin_iso8859_4): New variable.
4901 (latin_iso8859_4_to_ucs): New variable.
4902 (ucs_to_latin_iso8859_4): New variable.
4903 (Vcharset_latin_iso8859_9): New variable.
4904 (latin_iso8859_9_to_ucs): New variable.
4905 (ucs_to_latin_iso8859_9): New variable.
4906 (Vcharset_latin_viscii_lower): New variable.
4907 (latin_viscii_lower_to_ucs): New variable.
4908 (ucs_to_latin_viscii_lower): New variable.
4909 (Vcharset_latin_viscii_upper): New variable.
4910 (latin_viscii_upper_to_ucs): New variable.
4911 (ucs_to_latin_viscii_upper): New variable.
4912 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4913 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4914 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4915 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4916 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4917 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4918 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4919 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4920 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4921 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4923 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4924 (Vcharset_latin_viscii_upper): New variable.
4925 (make_byte_from_character_table): New function.
4926 (put_byte_from_character_table): New function.
4927 (get_byte_from_character_table): New function.
4928 (CHAR96): New macro.
4929 (ucs_to_latin_jisx0201): New variable.
4930 (latin_jisx0201_to_ucs): New variable.
4931 (ucs_to_latin_iso8859_2): New variable.
4932 (latin_iso8859_2_to_ucs): New variable.
4933 (ucs_to_latin_iso8859_3): New variable.
4934 (latin_iso8859_3_to_ucs): New variable.
4935 (ucs_to_latin_iso8859_4): New variable.
4936 (latin_iso8859_4_to_ucs): New variable.
4937 (ucs_to_latin_iso8859_9): New variable.
4938 (latin_iso8859_9_to_ucs): New variable.
4939 (ucs_to_latin_viscii_lower): New variable.
4940 (latin_viscii_lower_to_ucs): New variable.
4941 (ucs_to_latin_viscii_upper): New variable.
4942 (latin_viscii_upper_to_ucs): New variable.
4943 (ucs_to_latin_tcvn5712): New variable.
4944 (latin_tcvn5712_to_ucs): New variable.
4945 (Qlatin_viscii_lower): New variable.
4946 (Qlatin_viscii_upper): New variable.
4947 (syms_of_mule_charset): Set up new symbol
4948 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4949 (complex_vars_of_mule_charset): Set up new charset
4950 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4951 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4952 `ucs_to_<CHARSET>' tables.
4954 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4956 * text-coding.c: New file.
4958 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4960 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4962 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4963 (MAKE_CHAR): Modify for `ucs-bmp'.
4964 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4965 non-MULE characters of BMP.
4967 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4969 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4972 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4975 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4976 - Include character.h for `CHAR_ASCII_P'.
4978 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4980 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4981 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4983 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4984 (BYTE_C0_P): Likewise.
4985 (BYTE_C1_P): Likewise.
4986 (Lstream_get_emchar_1): Likewise.
4987 (Lstream_fput_emchar): Likewise.
4988 (Lstream_funget_emchar): Likewise.
4989 (copy_internal_to_external): Likewise.
4990 (copy_external_to_internal): Likewise.
4992 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4993 (BYTE_C0_P): Likewise.
4994 (BYTE_C1_P): Likewise.
4995 (Lstream_get_emchar_1): Likewise.
4996 (Lstream_fput_emchar): Likewise.
4997 (Lstream_funget_emchar): Likewise.
4998 (copy_internal_to_external): Likewise.
4999 (copy_external_to_internal): Likewise.
5001 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5002 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5004 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5005 (BYTE_ASCII_P): Moved to mb-1byte.h.
5007 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5009 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5011 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5012 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5013 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5014 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5015 (VALIDATE_CHARPTR_FORWARD): Likewise.
5016 (simple_charptr_emchar): Moved to mb-multibyte.h.
5017 (simple_set_charptr_emchar): Likewise.
5018 (simple_charptr_copy_char): Likewise.
5019 (non_ascii_charptr_emchar): Likewise.
5020 (non_ascii_set_charptr_emchar): Likewise.
5021 (non_ascii_charptr_copy_char): Likewise.
5022 (charptr_emchar): Moved to mb-*byte.h.
5023 (set_charptr_emchar): Likewise.
5024 (charptr_copy_char): Likewise.
5026 * mb-1byte.h, mb-multibyte.h: New files.
5028 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5030 * mb-utf-8.h (MULTIBYTE): New macro.
5031 (MAX_EMCHAR_LEN): Moved from buffer.h.
5032 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5034 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5036 * mb-lb.h, multibyte.h: New files.
5038 * char-1byte.h (Charset_ID): Moved from buffer.h.
5039 (MIN_LEADING_BYTE): Likewise.
5040 (LEADING_BYTE_ASCII): Likewise.
5041 (NUM_LEADING_BYTES): Likewise.
5042 (CHARSETP): Likewise.
5043 (CHARSET_BY_LEADING_BYTE): Likewise.
5044 (XCHARSET_LEADING_BYTE): Likewise.
5045 (XCHARSET_GRAPHIC): Likewise.
5046 (XCHARSET_COLUMNS): Likewise.
5047 (XCHARSET_DIMENSION): Likewise.
5048 (CHAR_CHARSET): Likewise.
5049 (CHAR_LEADING_BYTE): Likewise.
5050 (BREAKUP_CHAR): Likewise.
5051 (Vcharset_ascii): Likewise.
5053 * buffer.h: Include multibyte.h unconditionally.
5054 (VALID_CHARPTR_P): Moved to multibyte.h.
5055 (ASSERT_VALID_CHARPTR): Likewise.
5056 (REAL_INC_CHARPTR): Likewise.
5057 (REAL_INC_CHARBYTIND): Likewise.
5058 (REAL_DEC_CHARPTR): Likewise.
5059 (INC_CHARPTR): Likewise.
5060 (INC_CHARBYTIND): Likewise.
5061 (DEC_CHARPTR): Likewise.
5062 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5063 (VALIDATE_CHARPTR_FORWARD): Likewise.
5064 (charptr_n_addr): Likewise.
5065 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5066 (simple_charptr_emchar): Moved to multibyte.h.
5067 (simple_set_charptr_emchar): Likewise.
5068 (simple_charptr_copy_char): Likewise.
5069 (non_ascii_charptr_emchar): Likewise.
5070 (non_ascii_set_charptr_emchar): Likewise.
5071 (non_ascii_charptr_copy_char): Likewise.
5072 (charptr_emchar): Likewise.
5073 (set_charptr_emchar): Likewise.
5074 (charptr_copy_char): Likewise.
5075 (charptr_emchar_n): Likewise.
5076 (Charset_ID): Moved to char-1byte.h.
5077 (Vcharset_ascii): Likewise.
5078 (CHAR_CHARSET): Likewise.
5079 (CHAR_LEADING_BYTE): Likewise.
5080 (LEADING_BYTE_ASCII): Likewise.
5081 (NUM_LEADING_BYTES): Likewise.
5082 (MIN_LEADING_BYTE): Likewise.
5083 (CHARSETP): Likewise.
5084 (CHARSET_BY_LEADING_BYTE): Likewise.
5085 (XCHARSET_LEADING_BYTE): Likewise.
5086 (XCHARSET_GRAPHIC): Likewise.
5087 (XCHARSET_COLUMNS): Likewise.
5088 (XCHARSET_DIMENSION): Likewise.
5089 (BREAKUP_CHAR): Likewise.
5091 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5093 * character.h: Add document about interface for characters.
5095 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5096 (MAKE_CHAR): Delete comment about
5097 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5098 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5099 (BREAKUP_CHAR): Modify name of arguments.
5100 (CHAR_CHARSET): Modify name of argument.
5102 * buffer.h: Delete document about Emchar accessors.
5104 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5106 * character.h (CHAR_INTP): Moved from buffer.h
5107 (CHAR_OR_CHAR_INTP): Likewise.
5108 (XCHAR_OR_CHAR_INT): Likewise.
5109 (CHECK_CHAR_COERCE_INT): Likewise.
5111 * buffer.h (CHAR_INTP): Moved to character.h
5112 (CHAR_OR_CHAR_INTP): Likewise.
5113 (XCHAR_OR_CHAR_INT): Likewise.
5114 (CHECK_CHAR_COERCE_INT): Likewise.
5116 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5119 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5120 - Include char-1byte.h, char-lb.h or char-ucs.h.
5122 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5124 * buffer.h: Include character unconditionally.
5125 (valid_char_p): Moved to char-*.h.
5126 (non_ascii_valid_char_p): Moved to char-lb.h.
5128 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5130 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5132 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5133 in UTF-2000 because it is not ported yet and not to use
5134 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5135 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5136 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5138 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5139 (CHAR_ASCII_P): Moved from character.h.
5141 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5142 (CHAR_ASCII_P): Likewise.
5143 (CHAR_FIELD1_MASK): Deleted.
5144 (CHAR_FIELD2_MASK): Deleted.
5145 (CHAR_FIELD3_MASK): Deleted.
5146 (MAX_CHAR_BASIC_LATIN): New macro.
5147 (CHAR_FIELD1): Deleted.
5148 (CHAR_FIELD2_INTERNAL): Deleted.
5149 (CHAR_FIELD3_INTERNAL): Deleted.
5150 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5151 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5152 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5153 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5154 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5155 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5156 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5157 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5158 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5159 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5160 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5161 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5162 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5163 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5164 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5165 (MIN_CHAR_COMPOSITION): Deleted.
5166 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5167 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5169 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5171 * buffer.h: Include mb-utf-8.h in UTF-2000.
5173 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5175 * mb-utf-8.h: New file.
5177 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5179 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5182 * mule-charset.h, buffer.h (Charset_ID): New type.
5184 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5186 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5187 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5188 instead of `MULE_CHAR_PRIVATE_OFFSET',
5189 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5190 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5191 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5193 * character.h (Vcharset_japanese_jisx0212): New variable
5196 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5198 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5199 (charset_by_attributes): Delete array about direction.
5200 (latin_a_char_to_charset): New variable in UTF-2000.
5201 (latin_a_char_to_byte1): New variable in UTF-2000.
5202 (latin_a_char_to_byte2): New variable in UTF-2000.
5203 (Qucs_bmp): New variable.
5204 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5206 (next_allocated_2_byte_leading_byte): Likewise.
5207 (non_ascii_set_charptr_emchar): Likewise.
5208 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5209 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5210 `charset_by_attributes'.
5211 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5212 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5213 and `CHARSET_BY_LEADING_BYTE'.
5214 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5215 `utf-2000-version' to `vars_of_mule_charset'.
5216 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5217 define `leading-code-private-11' in UTF-2000; move setting of
5218 `utf-2000-version' from `syms_of_mule_charset'.
5219 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5222 * character.h (Charset_ID): New type.
5223 (LEADING_BYTE_UCS_BMP): New macro.
5224 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5225 (CHARSET_ID_OFFSET_94): New macro.
5226 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5227 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5228 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5230 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5231 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5232 (CHARSET_ID_OFFSET_96): New macro.
5233 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5234 CHARSET_ID_OFFSET_96 and final-byte.
5235 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5236 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5237 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5238 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5239 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5240 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5241 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5242 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5243 (LEADING_BYTE_THAI_TIS620): Likewise.
5244 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5245 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5246 (CHARSET_ID_OFFSET_94x94): New macro.
5247 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5248 CHARSET_ID_OFFSET_94x94 and final-byte.
5249 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5250 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5251 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5252 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5253 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5254 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5255 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5256 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5257 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5258 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5259 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5260 (CHARSET_TYPE_128X128): New macro.
5261 (CHARSET_TYPE_256X256): New macro.
5262 (XCHARSET_PRIVATE_P): Delete unconditionally.
5263 (charset_by_attributes): Delete array about direction.
5264 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5265 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5266 (MIN_CHAR_94): New macro.
5267 (MAX_CHAR_94): New macro.
5268 (MIN_CHAR_96): New macro.
5269 (MAX_CHAR_96): New macro.
5270 (MIN_CHAR_94x94): New macro.
5271 (MAX_CHAR_94x94): New macro.
5272 (MIN_CHAR_96x96): New macro.
5273 (MAX_CHAR_96x96): New macro.
5274 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5275 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5276 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5278 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5279 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5280 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5281 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5282 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5283 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5284 `XCHARSET_LEADING_BYTE' to make code-point.
5285 (latin_a_char_to_charset): New variable.
5286 (latin_a_char_to_byte1): New variable.
5287 (latin_a_char_to_byte2): New variable.
5288 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5289 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5290 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5292 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5293 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5294 (find_charsets_in_emchar_string): Likewise.
5295 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5297 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5299 (decode_coding_iso2022): Likewise.
5301 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5304 * redisplay.c (redisplay_text_width_emchar_string): Use
5305 `Charset_ID' instead of `unsigned char'.
5306 (redisplay_frame_text_width_string): Likewise.
5308 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5311 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5312 instead of `unsigned char'.
5313 (face_cachel_charset_font_metric_info): Likewise.
5315 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5316 (get_non_ascii_char_table_value): Likewise.
5317 (get_char_table): Likewise.
5318 (put_char_table): Likewise.
5319 (map_over_other_charset): Likewise.
5320 (map_char_table): Likewise.
5322 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5323 instead of `unsigned char'.
5325 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5327 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5328 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5330 * mule-charset.c (leading_code_private_11): Don't define in
5333 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5334 in UTF-2000 because it is not ported yet and not to use
5335 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5337 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5339 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5341 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5343 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5346 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5347 of unsigned char to store leading-byte.
5349 * chartab.c (get_non_ascii_char_table_value): Don't use
5350 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5352 * file-coding.c (encode_coding_big5): Delete bogus implementation
5355 * character.h (LEADING_BYTE_*): Delete definition for
5357 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5358 (LEADING_BYTE_PREFIX_P): Deleted.
5359 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5360 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5361 (BUFBYTE_LEADING_BYTE_P): Deleted.
5362 (CHARSET_PRIVATE_P): Deleted unconditionally.
5363 (rep_bytes_by_first_byte): Deleted unconditionally.
5364 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5365 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5366 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5367 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5368 (CHAR_FIELD2): Deleted.
5369 (CHAR_FIELD3): Deleted.
5370 (MAKE_CHAR): Delete definition for non-UTF-2000.
5371 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5372 (breakup_char_1): New implementation.
5373 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5374 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5376 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5378 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5381 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5383 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5384 (CHARSET_PRIVATE_P): Likewise.
5385 (XCHARSET_PRIVATE_P): Likewise.
5386 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5388 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5390 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5392 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5394 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5395 (NUM_LEADING_BYTES): Changed from 128 to 256.
5396 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5397 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5399 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5401 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5403 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5404 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5405 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5406 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5407 (Qchinese_cns11643_3): New variable in UTF2000.
5408 (Qchinese_cns11643_4): New variable in UTF2000.
5409 (Qchinese_cns11643_5): New variable in UTF2000.
5410 (Qchinese_cns11643_6): New variable in UTF2000.
5411 (Qchinese_cns11643_7): New variable in UTF2000.
5412 (syms_of_mule_charset): Define `chinese-cns11643-3',
5413 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5414 and `chinese-cns11643-7' in UTF2000.
5415 (vars_of_mule_charset): Initialize
5416 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5418 (complex_vars_of_mule_charset): Setup charset
5419 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5420 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5422 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5424 * mule-charset.c: Move setting for `leading-code-private-11' from
5425 `syms_of_mule_charset' to `vars_of_mule_charset'.
5427 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5429 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5430 and `NUM_LEADING_BYTES' in assert.
5432 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5434 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5436 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5437 `NUM_LEADING_BYTES' instead of 128.
5439 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5441 * mule-charset.h (charset_by_leading_byte): Use
5442 `NUM_LEADING_BYTES' instead of 128.
5443 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5445 * mule-charset.c (charset_by_leading_byte): Use
5446 `NUM_LEADING_BYTES' instead of 128.
5447 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5449 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5452 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5454 * mule-charset.c (syms_of_mule_charset): Update to
5457 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5459 * file-coding.c (encode_coding_sjis): New implementation for
5460 UTF2000. (decode_coding_sjis): Ditto.
5462 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5464 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5465 Don't define in UTF2000.
5467 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5470 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5471 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5474 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5476 * config.h.in (CHAR_IS_UCS4): New macro.
5478 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5479 conventional MULE representation.
5480 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5482 * mule-charset.h: Reverted to original.
5484 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5485 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5486 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5488 * character.h: New file.
5490 * file-coding.c (Fmake_coding_system): Set 1 to
5491 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5493 (encode_coding_no_conversion): New implementation for UTF2000.
5495 * file-coding.h (struct Lisp_Coding_System): Add new member
5498 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5500 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5501 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5502 (encode_coding_iso2022): New implementation for UTF2000.
5504 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5506 * mule-canna.c (c2mu): New implementation for UTF2000.
5509 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5511 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5513 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5515 * file-coding.c (reset_encoding_stream): Set 0 to
5516 `str->iso2022.current_char_boundary' in UTF2000.
5517 (encode_utf8): Don't define in UTF2000.
5518 (encode_coding_utf8): New implementation for UTF-8 representation
5520 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5522 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5524 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5526 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5528 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5530 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5532 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5533 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5534 as UTF-8 in UTF2000.
5535 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5536 (non_ascii_valid_char_p): Don't define in UTF2000.
5537 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5538 (Lstream_get_emchar_1): Likewise.
5539 (utf-2000-version): New variable in UTF2000.
5541 * lread.c (read_escape): Add new reader `u'.
5543 * insdel.c (three_to_one_table): Don't define in UTF2000.
5544 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5545 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5547 (bytind_to_bufpos_func): Likewise.
5548 (buffer_mule_signal_inserted_region): Likewise.
5549 (vars_of_insdel): Don't initialize `three_to_one_table'.
5550 (init_buffer_text): Use `buf->text->mule_size' instead of
5551 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5554 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5555 UTF-8 representation in UTF2000.
5556 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5557 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5558 (decode_coding_iso2022): Don't define local variable `lb' in
5559 UTF2000; don't use LEADING_BYTE in UTF2000; use
5560 `DECODE_ADD_UCS_CHAR' in UTF2000.
5561 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5563 * config.h.in (UTF2000): New macro.
5565 * buffer.h (struct buffer_text): Add new member `mule_size' and
5566 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5567 (valid_char_p): Return always 1 in UTF2000.
5568 (MAX_EMCHAR_LEN): 6 in UTF2000.
5569 (three_to_one_table): Don't define in UTF2000.
5570 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5572 (real_bytind_to_bufpos): Likewise.
5574 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5576 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5578 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5579 representation change.
5580 (Vutf_2000_version): New variable.
5581 (leading_code_private_11): New variable.
5582 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5583 `leading-code-private-11'.
5585 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5586 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5587 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5588 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5589 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5590 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5591 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5592 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5593 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5594 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5595 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5596 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5597 (MIN_CHAR_GREEK): New macro.
5598 (MAX_CHAR_GREEK): New macro.
5599 (MIN_CHAR_CYRILLIC): New macro.
5600 (MAX_CHAR_CYRILLIC): New macro.
5601 (MIN_CHAR_HEBREW): New macro.
5602 (MAX_CHAR_HEBREW): New macro.
5603 (MIN_CHAR_THAI): New macro.
5604 (MAX_CHAR_THAI): New macro.
5605 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5606 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5607 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5608 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5609 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5610 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5611 (CHAR_FIELD2): New inline function.
5612 (CHAR_FIELD3): New inline function.
5613 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5614 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5615 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5616 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5617 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5618 (MIN_CHAR_COMPOSITION): Likewise.
5619 (CHAR_LEADING_BYTE): Modified for character representation change.
5620 (MAKE_CHAR): Likewise.
5622 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5623 (Vcharset_greek_iso8859_7): Likewise.
5624 (Vcharset_cyrillic_iso8859_5): Likewise.
5625 (Vcharset_hebrew_iso8859_8): Likewise.
5626 (Vcharset_thai_tis620): Likewise.
5627 (Vcharset_katakana_jisx0201): Likewise.
5629 2005-02-06 Vin Shelton <acs@xemacs.org>
5631 * XEmacs 21.4.17 is released
5633 2005-01-31 Ben Wing <ben@xemacs.org>
5636 Define assert_failed() always.
5638 Always define ABORT().
5640 2005-01-25 Ben Wing <ben@xemacs.org>
5643 * Makefile.in.in (%.o):
5644 Don't compile executable as Windows (-mwindows) under Cygwin.
5645 Semi-recent changes to Cygwin's executable-startup handling make
5646 it impossible to access the TTY this way.
5648 Don't use special linker file under Cygwin (cygwin.sc) except
5649 when non-PDUMP (even in this case it is highly questionable); you
5652 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
5653 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
5655 2005-01-29 Ben Wing <ben@xemacs.org>
5657 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5659 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
5661 2005-01-29 Ben Wing <ben@xemacs.org>
5663 * bytecode.c (optimize_compiled_function):
5665 * print.c (long_to_string):
5666 Add casts to avoid warning.
5669 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
5670 #### The better solution is to move the TIFF and JPEG code to
5673 * glyphs-msw.c (mswindows_xbm_instantiate):
5674 Define __STDC__ to avoid problems with compface.h.
5676 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
5678 * EmacsShell-sub.c (ABORT):
5679 * EmacsShell-sub.c (SuperClassRootGeometryManager):
5680 * EmacsShell-sub.c (RootGeometryManager):
5682 * EmacsShell.c (ABORT):
5683 * EmacsShell.c (EmacsShellUpdateSizeHints):
5684 * alloc.c (free_lcrecord):
5685 * alloca.c (i00afunc):
5686 * buffer.c (delete_from_buffer_alist):
5687 * buffer.c (MARKED_SLOT):
5688 * bytecode.c (execute_rare_opcode):
5689 * bytecode.c (optimize_byte_code):
5690 * bytecode.c (Ffetch_bytecode):
5691 * chartab.c (char_table_type_to_symbol):
5692 * chartab.c (Freset_char_table):
5693 * chartab.c (decode_char_table_range):
5694 * chartab.c (Fget_range_char_table):
5695 * chartab.c (check_valid_char_table_value):
5696 * chartab.c (map_char_table):
5697 * chartab.c (slow_map_char_table_fun):
5698 * chartab.c (chartab_instantiate):
5699 * cm.c (cmcheckmagic):
5700 * console-msw.c (DHEADER):
5701 * console.c (MARKED_SLOT):
5702 * data.c (finish_marking_weak_lists):
5703 * data.c (encode_weak_list_type):
5704 * debug.h (DASSERT):
5705 * device-gtk.c (gtk_init_device):
5706 * device-msw.c (mswindows_get_default_margin):
5707 * device-tty.c (tty_init_device):
5708 * device-x.c (get_device_from_display):
5709 * device-x.c (x_get_visual_depth):
5710 * doprnt.c (parse_doprnt_spec):
5711 * doprnt.c (get_doprnt_args):
5712 * dumper.c (pdump_get_indirect_count):
5713 * dumper.c (pdump_register_sub):
5714 * dumper.c (pdump_register_object):
5715 * dumper.c (pdump_register_struct):
5716 * dumper.c (pdump_dump_data):
5717 * dumper.c (pdump_reloc_one):
5718 * elhash.c (print_hash_table):
5719 * elhash.c (make_standard_lisp_hash_table):
5720 * elhash.c (hash_table_instantiate):
5722 * emacs.c (Fforce_debugging_signal):
5723 * emacs.c (sort_args):
5725 * emacs.c (assert_failed):
5726 * eval.c (throw_or_bomb_out):
5727 * eval.c (signal_1):
5730 * event-Xt.c (emacs_Xt_mapping_action):
5731 * event-Xt.c (Xt_process_to_emacs_event):
5733 * event-stream.c (check_event_stream_ok):
5734 * event-stream.c (Fadd_timeout):
5735 * event-stream.c (Fadd_async_timeout):
5736 * event-stream.c (Fdiscard_input):
5737 * event-stream.c (execute_internal_event):
5738 * event-stream.c (Frecent_keys):
5739 * event-stream.c (extract_this_command_keys_nth_mouse_event):
5740 * event-stream.c (lookup_command_event):
5741 * event-unixoid.c (poll_fds_for_input):
5743 * events.c (mark_event):
5744 * events.c (event_equal):
5745 * events.c (event_hash):
5746 * events.c (Fmake_event):
5747 * events.c (Fdeallocate_event):
5748 * events.c (event_chain_find_previous):
5749 * events.c (event_to_character):
5750 * events.c (format_event_object):
5751 * events.c (Fevent_type):
5752 * events.c (event_pixel_translation):
5753 * events.c (Fevent_properties):
5754 * extents.c (extent_in_region_p):
5755 * extents.c (print_extent):
5756 * extents.c (process_extents_for_insertion_mapper):
5757 * extents.c (report_extent_modification_mapper):
5758 * extents.c (glyph_layout_to_symbol):
5759 * faces.c (face_validate):
5760 * file-coding.c (eol_type_to_symbol):
5761 * file-coding.c (subsidiary_coding_system):
5762 * file-coding.c (Fcoding_system_type):
5763 * file-coding.c (Fcoding_system_property):
5764 * file-coding.c (mule_decode):
5765 * file-coding.c (mule_encode):
5766 * file-coding.c (encode_coding_ucs4):
5767 * file-coding.c (encode_coding_utf8):
5768 * file-coding.c (parse_iso2022_esc):
5769 * file-coding.c (encode_coding_iso2022):
5774 * fns.c (Fbase64_encode_region):
5775 * fns.c (Fbase64_encode_string):
5776 * fns.c (Fbase64_decode_region):
5777 * fns.c (Fbase64_decode_string):
5778 * font-lock.c (find_context):
5779 * font-lock.c (context_to_symbol):
5780 * frame-gtk.c (gtk_set_frame_pointer):
5781 * frame-gtk.c (gtk_update_frame_external_traits):
5782 * frame-x.c (x_wm_mark_shell_size_user_specified):
5783 * frame-x.c (x_wm_mark_shell_position_user_specified):
5784 * frame-x.c (x_wm_set_shell_iconic_p):
5785 * frame-x.c (x_wm_set_cell_size):
5786 * frame-x.c (x_wm_set_variable_size):
5787 * frame-x.c (x_wm_store_class_hints):
5788 * frame-x.c (x_wm_maybe_store_wm_command):
5789 * frame-x.c (x_initialize_frame_size):
5790 * frame-x.c (x_update_frame_external_traits):
5792 * frame.c (delete_frame_internal):
5793 * frame.c (mouse_pixel_position_1):
5794 * frame.c (change_frame_size_1):
5795 * free-hook.c (check_free):
5796 * free-hook.c (check_realloc):
5797 * free-hook.c (note_block_input):
5798 * free-hook.c (log_gcpro):
5799 * gccache-gtk.c (gc_cache_lookup):
5800 * glyphs-eimage.c (tiff_memory_write):
5801 * glyphs-gtk.c (gtk_finalize_image_instance):
5802 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
5803 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
5804 * glyphs-gtk.c (gtk_xpm_instantiate):
5805 * glyphs-gtk.c (gtk_unmap_subwindow):
5806 * glyphs-gtk.c (gtk_map_subwindow):
5807 * glyphs-gtk.c (gtk_button_redisplay):
5809 * glyphs-msw.c (init_image_instance_from_xbm_inline):
5810 * glyphs-x.c (init_image_instance_from_xbm_inline):
5811 * glyphs-x.c (extract_xpm_color_names):
5812 * glyphs-x.c (x_xpm_instantiate):
5813 * glyphs.c (get_image_instantiator_governing_domain):
5814 * glyphs.c (print_image_instance):
5815 * glyphs.c (image_instance_equal):
5816 * glyphs.c (image_instance_hash):
5817 * glyphs.c (encode_image_instance_type):
5818 * glyphs.c (make_image_instance_1):
5819 * glyphs.c (inherit_instantiate):
5820 * glyphs.c (image_instantiate):
5821 * glyphs.c (allocate_glyph):
5822 * glyphs.c (Fglyph_type):
5823 * glyphs.c (redisplay_subwindow):
5824 * glyphs.c (display_table_entry):
5825 * gtk-glue.c (xemacs_list_to_gtklist):
5826 * gtk-glue.c (xemacs_gtklist_to_list):
5827 * gtk-glue.c (xemacs_list_to_array):
5828 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
5829 * gutter.c (gutter_was_visible):
5830 * gutter.c (get_gutter_coords):
5831 * input-method-xlib.c (get_XIM_input):
5832 * insdel.c (bufpos_to_bytind_func):
5833 * insdel.c (bytind_to_bufpos_func):
5834 * insdel.c (move_gap):
5835 * intl.c (x_get_composed_input):
5836 * keymap.c (keymap_lookup_directly):
5837 * keymap.c (keymap_delete_inverse_internal):
5838 * keymap.c (ensure_meta_prefix_char_keymapp):
5839 * keymap.c (accessible_keymaps_mapper_1):
5840 * keymap.c (where_is_recursive_mapper):
5843 * lread.c (read_atom):
5844 * lstream.c (Lstream_delete):
5845 * lstream.c (make_lisp_buffer_stream_1):
5846 * macros.c (pop_kbd_macro_event):
5847 * malloc.c (malloc):
5849 * marker.c (bi_marker_position):
5850 * marker.c (set_bi_marker_position):
5851 * menubar-gtk.c (menu_descriptor_to_widget_1):
5852 * menubar-msw.c (prune_menubar):
5853 * menubar-x.c (set_frame_menubar):
5854 * mule-charset.c (get_unallocated_leading_byte):
5855 * mule-charset.h (CHAR_LEADING_BYTE):
5856 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5857 * nt.c (init_environment):
5858 * nt.c (generate_inode_val):
5859 * ntproc.c (delete_child):
5860 * ntproc.c (_sys_read_ahead):
5861 * ntproc.c (create_child):
5862 * objects.c (color_instantiate):
5863 * objects.c (font_instantiate):
5864 * objects.c (face_boolean_instantiate):
5865 * print.c (printing_major_badness):
5866 * process-nt.c (nt_send_process):
5867 * process-unix.c (unix_send_process):
5868 * process.c (get_process):
5869 * ralloc.c (obtain):
5870 * ralloc.c (relinquish):
5871 * ralloc.c (relocate_blocs):
5872 * ralloc.c (resize_bloc):
5873 * ralloc.c (r_alloc_free):
5874 * ralloc.c (r_re_alloc):
5875 * ralloc.c (r_alloc_thaw):
5876 * ralloc.c (init_ralloc):
5877 * ralloc.c (Free_Addr_Block):
5878 * ralloc.c (r_alloc):
5879 * redisplay-gtk.c (gtk_output_display_block):
5880 * redisplay-msw.c (mswindows_output_display_block):
5881 * redisplay-output.c (get_next_display_block):
5882 * redisplay-output.c (get_cursor_size_and_location):
5883 * redisplay-output.c (redisplay_output_layout):
5884 * redisplay-output.c (redisplay_clear_region):
5885 * redisplay-tty.c (tty_output_display_block):
5886 * redisplay-x.c (x_output_display_block):
5887 * redisplay.c (add_propagation_runes):
5888 * redisplay.c (add_glyph_rune):
5889 * redisplay.c (create_text_block):
5890 * redisplay.c (add_margin_runes):
5891 * redisplay.c (create_left_glyph_block):
5892 * redisplay.c (create_right_glyph_block):
5893 * redisplay.c (create_string_text_block):
5894 * redisplay.c (regenerate_window):
5895 * redisplay.c (REGEN_INC_FIND_START_END):
5896 * redisplay.c (redisplay_frame):
5897 * redisplay.c (point_in_line_start_cache):
5900 * regex.c (re_compile_fastmap):
5901 * regex.c (re_match_2_internal):
5902 * regex.c (regerror):
5903 * scrollbar-gtk.c (gtk_scrollbar_loop):
5904 * scrollbar-gtk.c (scrollbar_cb):
5905 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
5906 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
5907 * scrollbar-x.c (x_update_scrollbar_instance_status):
5908 * scrollbar-x.c (x_scrollbar_loop):
5909 * scrollbar-x.c (x_update_frame_scrollbars):
5910 * search.c (search_command):
5911 * search.c (Fmatch_data):
5912 * select-x.c (motif_clipboard_cb):
5913 * signal.c (interrupt_signal):
5914 * specifier.c (specifier_add_spec):
5915 * specifier.c (specifier_instance_from_inst_list):
5916 * specifier.c (specifier_instance):
5918 * specifier.h (struct specifier_methods):
5919 * strftime.c (add_num_time_t):
5920 * sunplay.c (init_device):
5921 * symbols.c (Fsetplist):
5922 * symbols.c (do_symval_forwarding):
5923 * symbols.c (store_symval_forwarding):
5925 * symbols.c (Fbuilt_in_variable_type):
5926 * symbols.c (decode_magic_handler_type):
5927 * symbols.c (handler_type_from_function_symbol):
5928 * syntax.c (update_syntax_cache):
5929 * sysdep.c (init_baud_rate):
5930 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5931 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5932 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5933 * toolbar.c (get_toolbar_coords):
5934 * ui-gtk.c (build_gtk_boxed):
5935 * ui-gtk.c (describe_gtk_arg):
5936 * ui-gtk.c (gtk_type_to_lisp):
5937 * ui-gtk.c (lisp_to_gtk_type):
5938 * ui-gtk.c (lisp_to_gtk_ret_type):
5939 * ui-gtk.c (lisp_to_flag):
5940 * unexnt.c (read_in_bss):
5941 * unexnt.c (map_in_heap):
5942 * window.c (real_window):
5943 * window.c (window_display_lines):
5944 * window.c (window_display_buffer):
5945 * window.c (set_window_display_buffer):
5946 * window.c (window_modeline_height):
5947 * window.c (unshow_buffer):
5948 * window.c (window_loop):
5949 * window.c (Fget_lru_window):
5950 * window.c (Fsplit_window):
5951 * window.c (Fset_window_configuration):
5952 * window.c (saved_window_index):
5953 * xgccache.c (gc_cache_lookup):
5954 abort() -> ABORT(). Eliminate preprocessor games with abort()
5955 since it creates huge problems in VC7, solvable only by including
5956 massive amounts of files in every compile (and not worth it).
5960 Inclusion of process.h does not need to be before lisp.h any more.
5961 Move later and remove comment about abort().
5963 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
5965 * regex.c (re_match_2_internal):
5966 Correctly initialize loop which clears uninitialized registers.
5968 2005-01-28 Vin Shelton <acs@xemacs.org>
5970 * sheap.c (more_static_core): Applied Ben's version of the long
5973 2005-01-24 Vin Shelton <acs@xemacs.org>
5975 * sheap.c (more_static_core): Reformatted printf string so
5976 gcc-3.3.3 will compile this on Cygwin.
5978 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
5980 * console.c (function_key_map): Reference `key-binding'.
5982 * keymap.c (Vkey_translation_map): Improve docstring.
5984 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
5986 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
5987 * window.c (window_loop): [fix] Take into account
5988 `allow-deletion-of-last-visible-frame' variable.
5989 * window.c (replace-buffer-in-windows): Ditto.
5991 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
5993 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
5995 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
5997 * event-gtk.c: Recognise AltGr as a valid modifier.
5999 2005-01-12 Ville Skyttä <scop@xemacs.org>
6001 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6003 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6005 Fix backreference bug caught by test suite.
6007 * regex.c (regex_compile):
6008 Make backref duplicate internal register.
6010 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6012 Documentation, code clarification, and warning suppression.
6014 * regex.c (regex_compile):
6016 (re_match_2_internal):
6017 Improve comments and avoid redundant braces. [Most of the big hunk
6018 at l. 4710 is indentation; use diff -w to see the real changes.]
6019 (alt_match_null_string_p):
6020 (common_op_match_null_string_p):
6021 Avoid shadowing global on Mac OS X 10.4, at least.
6023 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6025 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6026 introduced with shy groups fix). [Already applied, probably
6027 with the second "fix shy groups" patch of 2004-10-07.]
6029 2005-01-10 Steve Youngs <steve@sxemacs.org>
6031 From Andrey Slusar <anrays@gmail.com>:
6033 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6035 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6037 * Makefile (RECURSIVE_MAKE): Removed.
6038 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6039 handling parallel builds.
6041 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6043 * Makefile.in.in: Enable support for parallel builds.
6045 2005-01-09 Steve Youngs <steve@sxemacs.org>
6047 From Andrey Slusar <anrays@gmail.com>:
6049 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6050 FreeBSD version is >= 199701 _and_ < 600006.
6052 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6054 * scrollbar.c (compute_scrollbar_instance_usage):
6055 Only call device method compute_scrollbar_instance_usage() if it
6058 2004-12-05 Vin Shelton <acs@xemacs.org>
6060 * XEmacs 21.4.16 is released
6062 2004-12-04 Vin Shelton <acs@xemacs.org>
6064 * depend: Regenerated.
6066 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6068 * regex.c (re_match_2_internal): Map internal to external
6069 registers. Fixes bug identified by Steve Youngs 2004-09-30
6070 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6072 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6074 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6075 to fix a crash. Also, check the buffer is live and it
6076 really exists in buffer_list. If the buffer is not in the list,
6079 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6081 Fix shy groups by implementing recording of all groups for
6082 repetition and backtracking. Backport from 21.5.
6084 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6085 external_to_internal_register, external_to_internal_register_size,
6086 and update comments for re_nsub.
6088 * regex.c (re_opcode_t): Update comments.
6089 (print_compiled_pattern): Ouput external_to_internal_register,
6090 external_to_internal_register_size, and re_ngroups for debugging.
6091 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6092 (regex_compile): Update header comment.
6093 Ensure that all groups are recorded so that repeat matches and
6094 backtracking work correctly. Comment related warning for groups >
6096 (re_search_2): Construct map of API indexes (which count only
6097 nonshy groups) to internal register numbers, and keep it updated.
6099 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6101 * frame-gtk.c (gtk_make_frame_visible):
6102 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6103 show/hide. This is what X uses and is prevents previously hidden
6104 widgets from suddenly reappearing.
6105 * gtk-xemacs.c (gtk_xemacs_paint):
6106 * gtk-xemacs.c (gtk_xemacs_draw):
6107 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6109 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6110 size and location changes so that they can be seen before the next
6111 idle event. Without this rapid changes to scrollbar properties
6114 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6117 * console-gtk.h (struct gtk_frame):
6118 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6119 Add hash tables track tab_control callback data.
6120 Added #defines for GTK object data names.
6121 Declaration of gtk_widget_to_frame().
6122 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6123 * frame-gtk.c (gtk_widget_to_frame): New.
6124 * frame-gtk.c (gtk_create_widgets):
6125 * frame-gtk.c (allocate_gtk_frame_struct):
6126 * frame-gtk.c (gtk_mark_frame):
6127 Manage frame callbakc hash tables.
6128 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6129 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6130 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6132 * glyphs-gtk.c (gtk_widget_query_geometry): New
6133 * glyphs-gtk.c (gtk_register_gui_item): New
6134 * glyphs-gtk.c (gtk_add_tab_item): New
6135 * glyphs-gtk.c (gtk_tab_control_callback): New
6136 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6137 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6138 Use correct list when loading item.
6139 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6140 Register new methods.
6141 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6142 default size, for widgets.
6143 * gui-x.c: Improved comment.
6144 * menubar-gtk.c (__generic_button_callback): Use
6145 gtk_widget_to_frame instead of __get_channel.
6147 * ui-gtk.c: Use symbolic names for GTK object data.
6149 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6151 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6153 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6155 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6157 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6159 * malloc.c (morecore): siz is a long because in some architectures
6160 (eg ia-64) an int cannot hold the address range. Additional patch
6161 from the SuSe distribution.
6163 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6166 * malloc.c: lim_data is a long because in some architectures
6167 (eg ia-64) an int cannot hold the address range.
6168 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6169 instead of ulimit() because ulimit() always returns -1.
6171 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6173 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6175 2004-06-11 David Kastrup <dak@gnu.org>
6177 * search.c (match_limit): Don't flag an error if match-data
6178 exceeding the allocated search_regs.num_regs gets requested, just
6181 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6183 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6184 replace symbolic color entries with the real colors specified in
6185 xpm-color-symbols, before passing the XPM to gtk.
6186 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6187 instead of a GTK specific field, so that it is used in by generic
6190 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6192 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6193 coredump from deref of NULL ptr (ExtData)
6195 2004-04-19 Jerry James <james@xemacs.org>
6197 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6198 VALBITS to compute the location of the sign bit.
6199 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6200 of VALBITS with EMACS_INT_MAX.
6201 * events.c (Fevent_timestamp): Ditto.
6202 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6203 compute the halfway point to timestamp wraparound.
6204 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6205 EMACS_INT_MIN instead of using VALBITS.
6206 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6207 incorrect number with VALBITS.
6208 * fns.c (Frandom): Correct number of integer bits in docstring.
6209 Use INT_VALBITS instead of VALBITS to compute the denominator.
6210 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6211 build random numbers.
6213 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6215 * event-gtk.c (gtk_event_to_emacs_event):
6217 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6218 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6219 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6220 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6221 * menubar-gtk.c (__activate_menu):
6222 * menubar-gtk.c (convert_underscores):
6223 * menubar-gtk.c (remove_underscores):
6224 * menubar-gtk.c (menu_convert):
6225 * menubar-gtk.c (menu_descriptor_to_widget_1):
6226 * menubar-gtk.c (menu_descriptor_to_widget):
6227 * menubar-gtk.c (menu_can_reuse_widget):
6228 * menubar-gtk.c (menu_create_menubar):
6229 * menubar-gtk.c (gtk_popup_menu):
6230 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6231 Added support for Gtk menu bar and menu item mnemonics.
6233 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6235 * sysdll.c: (dll_function): Added support for finding symbols in
6236 Darwin shared libraries as well in Darwin bundles.
6237 * sysdll.c (image_for_address): New
6238 * sysdll.c (my_find_image): New
6239 * sysdll.c (search_linked_libs): New
6241 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6243 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6244 return to GTK requires a different API to marshalling data to use
6246 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6248 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6250 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6252 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6254 * glyphs.c (process_image_string_instantiator):
6255 (Fset_console_type_image_conversion_list):
6256 Stop GCC from warning about shadowing of `exp'.
6258 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6260 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6262 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6264 2004-02-03 Vin Shelton <acs@xemacs.org>
6266 * glyphs.c (image_instance_layout): Remove pointless assertion.
6267 * regex.c (regex_grow_registers): Return type is void.
6269 2004-02-02 Vin Shelton <acs@xemacs.org>
6271 * XEmacs 21.4.15 is released
6273 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6275 * device-x.c (x_error_handler): Don't call stderr_out
6277 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6279 * buffer.c (other-buffer): Clarify documentation of order of
6280 arguments for FSF Emacs.
6282 2003-10-11 Olivier Galibert <galibert@pobox.com>
6284 * window.c (Fdelete_window): Dirty the mirror structure _before_
6285 marking the window deleted.
6287 2003-09-15 Jerry James <james@xemacs.org>
6289 * event-msw.c (debug_mswin_messages): Conditionally compile
6290 messages missing from the Cygwin headers.
6292 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6294 * data.c (eq_with_ebola_notice): Fix typo in comment.
6295 (Ftrue_list_p): Improve docstring.
6297 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6299 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6301 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6303 * search.c (trivial_regexp_p): Regexps containing "\{" are
6304 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6305 Stefan Monnier for suggesting a diagnosis.
6307 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6309 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6311 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6313 * search.c (Fsearch_forward):
6315 Document negative count.
6317 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6319 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6321 2003-09-13 Martin Buchholz <martin@xemacs.org>
6323 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6325 2003-09-15 Vin Shelton <acs@xemacs.org>
6327 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6330 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6332 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6333 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6334 (re_match_2_internal): Use TRANSLATE instead of
6335 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6336 non-ASCII char case conversion.
6338 2003-09-08 Mike Sperber <mike@xemacs.org>
6340 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6341 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6343 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6345 * .gdbinit (pobj): fix printing of symbol name.
6347 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6349 * frame-x.c (x_layout_widgets): When resizing is about to cause
6350 frame size slip, mark it for redisplay.
6352 2003-08-18 Jerry James <james@xemacs.org>
6354 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6356 2003-09-03 Vin Shelton <acs@xemacs.org>
6358 * XEmacs 21.4.14 is released
6360 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6362 * config.h.in (REGEX_MALLOC): Make it configure'able.
6364 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6366 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6368 * sysdll.c (dll_init):
6369 * sysdll.c (dll_open):
6370 * sysdll.c (dll_close):
6371 * sysdll.c (dll_function):
6372 * sysdll.c (dll_variable):
6373 * sysdll.c (dll_error):
6374 Add support for loading bundles using Darwin/MacOSX
6377 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6379 * process.c (start-process-internal): Document coding systems.
6381 2003-07-30 Jerry James <james@xemacs.org>
6383 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6385 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6387 * event-msw.c (mswindows_enqueue_mouse_button_event):
6388 * event-msw.c (mswindows_wnd_proc):
6389 enqueue button event when scrollwheel event isn't handled by
6390 mswindows_handle_mousewheel_event, such as when the scrollbars
6393 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6395 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6397 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6399 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6401 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6403 * regex.c (re_match_2_internal): Fix matching degenerate word
6406 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6408 * XEmacs 21.4.13 is released
6410 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6412 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6413 * lisp.h (<inttypes.h>):
6414 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6417 2003-03-15 Martin Buchholz <martin@xemacs.org>
6419 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6420 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6421 Result: "temacs can only be run in -batch mode."
6422 Fix: Check xemacs executable candidate for directory-ness.
6424 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6426 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6427 they conflict with <sys/types.h>.
6429 2003-02-14 Martin Buchholz <martin@xemacs.org>
6431 * database.c: Berkeley DB wants __STDC__ to be defined.
6433 2003-02-13 Martin Buchholz <martin@xemacs.org>
6435 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6437 2003-02-01 Martin Buchholz <martin@xemacs.org>
6439 * process-unix.c (unix_send_process): Fix C++ compile error.
6441 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6443 * Added .dylib as an acceptable shared library file extension
6444 * to support MacOSX.
6446 2003-02-01 Martin Buchholz <martin@xemacs.org>
6448 * EmacsFrameP.h (EmacsFramePart):
6449 Kludge to allow compiling with Motif1, but linking with Motif2.
6451 2003-01-28 Martin Buchholz <martin@xemacs.org>
6453 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6456 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6458 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6460 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6462 * sysdll.c: Included lisp.h to define needed alloca_array.
6464 2003-02-13 Martin Buchholz <martin@xemacs.org>
6466 Make XEmacs redisplay 10 times faster.
6467 If, that is, you're using a slow X connection and MoveOpaque.
6468 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6469 Use compress_motion = TRUE.
6470 * EmacsFrame.c (emacsFrameClassRec):
6471 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6472 * EmacsManager.c (emacsManagerClassRec):
6473 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6475 2003-01-30 Vin Shelton <acs@xemacs.org>
6477 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6479 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6481 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6482 Patch by Martin Buchholz.
6484 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6486 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6487 Thanks to icc for warning and Martin Buchholz for reporting.
6489 2003-01-29 Vin Shelton <acs@xemacs.org>
6491 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6493 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6494 remember to multiply by the element size.
6496 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6498 * XEmacs 21.4.12 "Portable Code" is released.
6500 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6502 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6503 * s/cygwin.sc: new linker file.
6505 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6507 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6509 * redisplay-x.c (x_output_string): Use X11-specified types.
6510 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6511 * emacs.c (__free_hook): Use typeof with Intel compiler.
6512 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6514 2003-01-08 Andy Piper <andy@xemacs.org>
6516 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6517 reserve size during unexec().
6519 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6521 * process-unix.c (unix_create_process): Don't let outchannel block.
6523 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6525 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6526 Needed for IsBadReadPtr().
6528 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6530 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6532 2002-12-14 Ben Wing <ben@xemacs.org>
6534 * callint.c: Declaration error.
6536 * dumper.c (pdump_load): Warning fix.
6537 * process.c: GCPRO error.
6538 * glyphs.c (unmap_subwindow):
6539 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6540 * event-stream.c (maybe_kbd_translate): Wrong argument to
6541 character_to_event().
6543 * alloc.c (garbage_collect_1):
6545 * emacs.c (debug_can_access_memory):
6546 * emacs.c (fatal_error_signal):
6547 * emacs.c (mswindows_handle_hardware_exceptions):
6550 * emacs.c (assert_failed):
6551 * emacs.c (syms_of_emacs):
6554 * print.c (std_handle_out_va):
6555 * print.c (write_string_to_stdio_stream):
6556 * print.c (write_fmt_string):
6557 * print.c (printing_badness):
6558 * print.c (printing_major_badness):
6559 * print.c (print_internal):
6560 * print.c (debug_print_no_newline):
6561 * print.c (debug_backtrace):
6562 Be more defensive in handling bad values when printing. Add code
6563 from trunk involving inhibit_non_essential_printing_operations.
6564 When going down or in debug_print(), don't do external conversion
6565 and such and try really, really hard when printing to avoid core
6566 dumping. Add force-debugging-signal, debug_break().
6568 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6570 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6571 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6573 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6575 * database.c: Fix open_database. Berkeley DB API has changed in
6576 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6578 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6580 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6582 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6584 * event-Xt.c (Xt_timeout):
6585 (Xt_timeout_callback):
6586 (emacs_Xt_add_timeout):
6587 (emacs_Xt_remove_timeout):
6588 (Xt_timeout_to_emacs_event):
6589 Turn completed_timeouts from a stack into a queue. Fixes
6590 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6592 2002-11-07 Wolfram Gloger <wg@malloc.de>
6594 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6595 * emacs.c (main): Assert that mmap'd allocation is disabled.
6597 2002-10-14 Andy Piper <andy@xemacs.org>
6599 * glyphs-widget.c (layout_query_geometry): add in fiddle
6600 factor. Include border text in width layout calculation.
6601 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
6603 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
6605 * XEmacs 21.4.10 "Military Intelligence" is released.
6607 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
6609 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
6610 using the NAS private array SoundFileInfo that no longer exists in
6611 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
6612 and earlier. This is broken for some versions between 1.5a and
6615 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
6617 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
6619 * emacs.c (shut_down_emacs): Improve crash message.
6621 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
6623 * file-coding.c (determine_real_coding_system): Check for coding
6624 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
6625 shebangs and Python PEP 263.
6627 2002-10-08 Andy Piper <andy@xemacs.org>
6629 * glyphs-widget.c (layout_query_geometry): only resize dynamically
6630 if static sizes haven't been set.
6632 2002-08-30 Mike Alexander <mta@arbortext.com>
6634 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
6637 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
6639 * callproc.c (child_setup): 21.4 doesn't have retry_close.
6641 2002-09-20 Mike Sperber <mike@xemacs.org>
6643 (This partially gets back my patch from 2002-07-20 without the
6645 * callproc.c (child_setup): Remove Ben's comment noting confusion
6646 over the file descriptors >= 3: close_process_descs() doesn't
6647 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
6648 * process-unix.c (unix_create_process): Call
6649 begin_dont_check_for_quit to inhibit unwanted interaction (and
6650 thus breaking of X event synchronicity) in the child.
6652 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
6654 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
6657 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
6659 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
6660 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
6661 the xemacs process did not exit, but looped infinitely here. This
6664 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6666 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
6667 (find_context): Improve comments.
6669 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
6670 (re_match_2): An XCHAR_TABLE operation was missing.
6672 Many of the following changes were inspired by Andy Piper's (now
6673 obsolete) patch to make syntax-table text property lookup optional.
6677 * syntax.h (top level): Document semantics of syntax flags.
6678 * syntax.c (comstr_start, Fforward_comment): Improve comments.
6679 * syntax.c, syntax.h (top level): Document syntax cache better in
6682 [Instrument syntax caching (temporary change)]
6684 * syntax.h (enum syntax_cache_statistics_functions, struct
6685 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
6686 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
6687 * syntax.c (scan_words, Fforward_comment, scan_lists,
6688 Fbackward_prefix_characters):
6689 * font-lock.c (find_context):
6690 Use them to instrument syntax caching.
6691 * syntax.c (struct syntax_cache_statistics, scs_statistics,
6692 syntax_cache_statistics_function_names): New type and variables.
6693 * syntax.c (update_syntax_cache): Update and report statistics.
6695 [Major syntax cache optimizations]
6697 syntax.c (lookup_syntax_properties): Default off.
6699 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
6700 * syntax.c (update_syntax_cache):
6701 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
6703 [Minor syntax cache optimizations and code clarifications]
6705 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
6706 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
6707 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
6708 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
6709 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
6710 (Code clarification.)
6712 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
6713 scan_lists): Compute code from syncode, use Boolean macros instead
6714 of redundant masking operations. (Code clarification; any decent
6715 compiler can do this optimization.)
6717 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
6720 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
6721 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
6722 use F*_single_property_change instead of F*_extent_change.
6723 Currently F*_single_property_change is _much_ less efficient.
6725 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6726 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6727 syntax_cache.object properly, don't leave Qt or Qnil.
6728 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6729 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6730 tests for Qt or Qnil.
6732 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6734 * redisplay.c (point_in_line_start_cache):
6735 * extents.c (print_extent_1):
6738 * extents.c (Fset_extent_property): Document `syntax-table' property.
6740 * extents.h (Fnext_single_property_change): EXFUN it.
6742 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6744 * search.c (clear_unused_search_regs): New static function.
6748 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6749 Minor clarifications in comments.
6751 * regex.c (re_match_2_internal): Ensure no stale submatches.
6753 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6755 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6757 2002-08-29 Jerry James <james@xemacs.org>
6759 * lisp.h: structrures -> structures.
6761 2002-06-03 Andy Piper <andy@xemacs.org>
6763 * frame.c (frame_conversion_internal): add conversion appropriate
6764 for setting frame dimensions in pixels.
6766 * console.h (struct console_methods): add device-specific widget
6769 * emacs.c (main_1): initialize glyph vars.
6771 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6772 (handle_focus_event_2): new function. Allow focus to
6773 be set to a particular window and widget.
6774 (enqueue_focus_event): new function. Create a
6775 synthetic focus event.
6776 (emacs_Xt_handle_magic_event): call
6777 handle_focus_event_2.
6779 * frame.c (Fset_frame_pixel_height): new function. Allow
6780 pixel-based sizing. Does the right thing on character-oriented
6782 (Fset_frame_pixel_width): ditto.
6783 (Fset_frame_pixel_size): ditto.
6784 (syms_of_frame): declare.
6786 * general-slots.h: add :vertically-justify and
6787 :horizontally-justify.
6789 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6790 (mswindows_widget_border_width): new function.
6791 (mswindows_combo_box_instantiate): set border widths.
6792 (console_type_create_glyphs_mswindows): declare.
6795 (check_valid_justification): allow vertical and horizontal
6797 (widget_border_width): new function. Call device methods.
6798 (widget_instance_border_width): ditto.
6799 (logical_unit_height): new function. Determine the height of a
6800 logical-unit. Logical units are intended to provide grid-like
6801 layout for subcontrols in a layout. If the layout is
6802 :vertically-justify top then subcontrols will be positioned on
6803 logical-unit boundaries, thus allowing adjacent subcontrols to
6805 (widget_logical_unit_height): ditto for widgets.
6806 (redisplay_widget): misc cleanup.
6807 (widget_spacing): new function. Call device specific
6808 methods. Intended to be the default gap between adjacent widgets.
6809 (widget_query_geometry): use new spacing functions to determine
6810 appropriate geometry.
6811 (initialize_widget_image_instance): initialize horizontal and
6812 vertical justification.
6813 (widget_instantiate): use logica-units where appropriate for
6814 sizing large widgets.
6815 (button_query_geometry): use widget_instance_border_width.
6816 (tree_view_query_geometry): ditto.
6817 (tab_control_query_geometry): ditto.
6818 (edit_field_query_geometry): new function.
6819 (layout_update): pick up :justify, :horizontally-justify and
6820 :vertically-justify none of which worked previously. :justify is
6821 used as a fallback for both horizontal and vertical justification.
6822 (layout_query_geometry): use logical units to size appropriately.
6823 (layout_layout): ditto.
6824 (Fwidget_logical_to_character_width): new function. Allow users to
6825 convert from logical units to characters so that frame sizes can
6826 be set appropriately.
6827 (Fwidget_logical_to_character_height): ditto.
6828 (syms_of_glyphs_widget): declare.
6829 (image_instantiator_edit_fields): add edit_field_query_geometry.
6830 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6831 :horizontally-justify.
6832 (specifier_vars_of_glyphs_widget): new function. Declare
6833 Vwidget_border_width which is not yet used.
6835 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6836 (x_widget_border_width): new function.
6837 (x_widget_instantiate): create a sensible name for widgets.
6838 (console_type_create_glyphs_x): declare x_widget_border_width.
6840 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6841 (struct Lisp_Image_Instance): add :vertically-justify and
6842 :horizontally-justify.
6843 (LAYOUT_JUSTIFY_TOP): new.
6844 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6845 (ROUND_UP): new macro. Round argument up to next integral
6848 * redisplay-output.c (redisplay_output_layout): misc formatting.
6850 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6852 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6854 * XEmacs 21.4.9 "Informed Management" is released.
6856 2002-08-19 Andy Piper <andy@xemacs.org>
6858 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6861 * realpath.c (xrealpath): normalize drive spec also so that dir
6862 sep chars are not mixed on cygwin.
6864 2002-08-06 Jerry James <james@xemacs.org>
6866 * window.c (Fsplit_window): Count only half of the divider width
6867 against the left window when splitting horizontally.
6869 2002-06-24 Andy Piper <andy@xemacs.org>
6871 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6872 toolbar was cleared.
6874 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6875 function. Split out from mswindows_output_frame_toolbars.
6876 (mswindows_output_frame_toolbars): move clear pieces to
6877 mswindows_output_frame_toolbars.
6879 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6880 out from gtk_output_frame_toolbars.
6881 (gtk_output_frame_toolbars): move clear pieces to
6882 gtk_clear_frame_toolbars.
6884 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6885 the frame is cleared. How this ever worked before is a mystery.
6886 (x_output_frame_toolbars): Only output toolbars.
6887 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6889 * gutter.c (update_gutter_geometry):
6890 Mark frame layout changed.
6891 (update_frame_gutter_geometry, update_frame_gutters):
6892 Respect frame_layout_changed.
6894 * console.h (struct console_methods): add
6895 clear_frame_toolbars_method.
6897 * redisplay.c (redisplay_frame): call
6898 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6900 * toolbar.h: declare update_frame_toolbars_geometry.
6902 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6903 out from update_frame_toolbars. Call clear_frame_toolbars.
6904 (update_frame_toolbars): only output, do not change geometry.
6906 * redisplay.c: add frame_layout_changed.
6908 * redisplay.h: add frame_layout_changed.
6909 (CLASS_RESET_CHANGED_FLAGS): set it.
6910 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6911 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6912 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6914 * device.h (struct device): add frame_layout_changed.
6915 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6917 * frame.h (struct frame): add frame_layout_changed.
6918 (MARK_FRAME_LAYOUT_CHANGED): new.
6920 2002-06-30 Mike Alexander <mta@arbortext.com>
6922 * event-msw.c (mswindows_need_event): Don't wait for a new message
6923 if the queue is not empty. Suggested by Paul Moore.
6925 2002-06-12 Andy Piper <andy@xemacs.org>
6927 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6928 for printing on accurately.
6930 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6932 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6933 WM_ACTIVATE message. Make sure that the frame is visible if the
6934 window is visible. This seemss to fix the problem where XEmacs
6935 appears to freeze after switching desktops with certain virtual
6937 (debug_output_mswin_message): Added code to output message
6938 parameters for WM_WINDOWPOSCHANGED,
6939 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6941 2002-05-25 Andy Piper <andy@xemacs.org>
6943 * select-x.c (vars_of_select_x): Fix docstring of
6944 x-selection-strict-motif-ownership
6946 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6948 * keymap.c (get_keymap):
6949 Add comment about do_autoload GCPROs own args.
6951 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6953 * bytecode.c (execute_optimized_program): check_opcode ifdef
6954 ERROR_CHECK_BYTE_CODE.
6956 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6958 Thanks to Ben Wing and Michael Sperber.
6960 * eval.c (Fcommand_execute):
6963 (Fmacroexpand_internal):
6964 (function_argcount):
6965 callint.c (Fcall_interactively):
6966 Add comment about do_autoload GCPROs own args.
6968 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6970 * eval.c (Ffuncall): Extra braces to placate GCC.
6972 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6974 * backtrace.h (grow_specpdl):
6976 * EmacsFrame.c (EmacsFrameSetValues):
6977 * eval.c (grow_specpdl):
6978 * ExternalShell.c (hack_event_masks_1):
6979 * glyphs-x.c (convert_EImage_to_XImage):
6980 (x_finalize_image_instance):
6981 * ralloc.c (page_size):
6983 * xgccache.c (gc_cache_hash):
6984 Fix unsigned comparison warnings.
6986 2002-07-29 Jerry James <james@xemacs.org>
6988 * lread.c (locate_file): Any nonnegative return value indicates
6989 success if MODE is nonnegative.
6991 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6993 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6996 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6998 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7000 * dumper.c (pdump_get_indirect_count):
7001 (pdump_scan_by_alignment):
7002 (pdump_dump_root_struct_ptrs):
7003 (pdump_dump_rtables):
7004 (pdump_dump_root_objects):
7006 * nas.c (WaveOpenDataForReading):
7007 * fns.c (print_bit_vector):
7008 * font-lock.c (SINGLE_SYNTAX_STYLE):
7009 * glyphs.c (check_for_ignored_expose):
7010 (find_matching_subwindow):
7012 * imgproc.c (get_histogram):
7013 * redisplay.c (point_in_line_start_cache):
7014 * redisplay-output.c (redisplay_unmap_subwindows):
7015 * symbols.c (defsymbol_massage_name_1):
7016 (defkeyword_massage_name):
7017 (deferror_massage_name_and_message):
7018 * redisplay-x.c (x_output_string):
7019 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7020 * frame.h (struct frame):
7021 * filelock.c (current_lock_owner):
7022 * doprnt.c (emacs_doprnt_1):
7023 * lisp.h (struct Lisp_Bit_Vector):
7027 2002-02-13 Ben Wing <ben@xemacs.org>
7029 * event-stream.c (reset_key_echo):
7030 * event-stream.c (reset_this_command_keys):
7031 * event-stream.c (execute_command_event):
7032 If console is dead as a result of C-x 5 0, then post-command stuff
7033 needs to be careful and do only non-console-specific stuff.
7035 2002-07-01 Mike Sperber <mike@xemacs.org>
7037 * process-unix.c (unix_send_process): Mark coding_outstream as
7038 non-open upon SIGPIPE.
7040 * event-stream.c (Fnext_event): Reorder switch cases to something
7043 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7045 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7046 Don't bogusly reinitialize ascii_character property.
7048 2002-07-08 Mike Sperber <mike@xemacs.org>
7050 * process.c (Fstart_process_internal): Do error checking before we
7051 fork off the child, so the child can't muck with the state of the
7054 2002-07-08 Mike Sperber <mike@xemacs.org>
7056 * ralloc.c (init_ralloc): Allocate properly for pdump.
7058 2002-06-12 Andy Piper <andy@xemacs.org>
7060 * glyphs.c (query_string_geometry): check the string.
7062 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7065 2002-06-17 Jerry James <james@xemacs.org>
7067 * sysdll.c: Remove RTLD_GLOBAL initialization.
7068 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7070 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7072 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7074 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7076 * sysdep.c (sys_rename): Make sys_rename work for the case where
7077 Windows rename sets errno to EACCES if target file exists.
7079 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7081 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7082 Fix detection of metric units to work on Win95
7084 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7086 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7088 2002-04-25 Andy Piper <andy@xemacs.org>
7090 * redisplay.c (create_text_block): Remove extra comment trailer.
7092 2002-04-24 Andy Piper <andy@xemacs.org>
7094 * redisplay.c (create_text_block): Don't actually add propagation
7095 data if the line ends after we have added a glyph.
7097 2002-04-22 Andy Piper <andy@xemacs.org>
7099 * extents.c (extent_fragment_update): check for glyphs we have
7100 previously displayed.
7101 * extents.c (print_extent_1): warning removal.
7102 * extents.h: change prototype.
7103 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7104 widths correctly for wide glyphs.
7105 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7106 * redisplay.c (prop_type): add PROP_GLYPH.
7107 * redisplay.c (struct prop_block): add glyph type
7108 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7109 to the propagation data.
7110 * redisplay.c (create_text_block): if there is a glyph in the
7111 propagation data use it to salt extent_fragment_update.
7112 * redisplay.c (create_string_text_block): ditto.
7114 2002-04-13 Nix <nix@esperi.demon.co.uk>
7116 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7117 * redisplay-output.c (compare_runes): Compare them.
7118 * redisplay.c: Update copyright date.
7119 * redisplay.c (pos_data): Add need_baseline_computation field.
7120 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7121 need_baseline_computation; zero yoffset. Set max_pixmap_height
7122 for all pixmaps, not just automatically positioned ones.
7123 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7124 * redisplay.c (calculate_baseline): New, compute textual baseline.
7125 * redisplay.c (add_glyph_rune): Call them.
7126 * redisplay.c (create_text_block): Likewise.
7127 * redisplay.c (create_overlay_glyph_block): Likewise.
7128 * redisplay.c (add_margin_runes): Likewise.
7129 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7131 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7132 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7133 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7134 * redisplay-msw.c (mswindows_output_string): Likewise.
7135 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7136 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7137 * redisplay-x.c (x_output_display_block): Likewise.
7139 2002-03-28 Ben Wing <ben@xemacs.org>
7141 * redisplay.c: Fixed bug in redisplay
7142 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7143 and down of the lines, since they're bigger than the line
7144 size. (It was seen most obviously when there's a horizontal scroll
7145 bar, e.g. do C-h a glyph or something like that.) The problem was
7146 that the glyph-contrib-p setting on glyphs was ignored even if it
7147 was set properly, which it wasn't until now.
7149 2002-04-24 Andy Piper <andy@xemacs.org>
7151 * lisp.h (Dynarr_end): Fix definition.
7153 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7155 * redisplay.c (mark_redisplay): Remove call to
7156 update_frame_window_mirror.
7158 2001-11-15 Andy Piper <andy@xemacs.org>
7160 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7163 2002-02-13 Andy Piper <andy@xemacs.org>
7165 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7166 we did in fact enqueue the XM_MAPFRAME event.
7168 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7170 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7171 to fix problem switching between virtual desktops under virtuawin
7172 virtual window manager.
7174 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7176 * event-msw.c: Typo fix.
7177 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7178 magic XM_MAPFRAME event has been sent.
7180 2001-11-23 Andy Piper <andy@xemacs.org>
7182 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7184 2001-11-21 Andy Piper <andy@xemacs.org>
7186 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7187 mouse events outside the frame.
7189 2002-03-20 Andy Piper <andy@xemacs.org>
7191 * menubar-msw.c (mswindows_popup_menu): warning removal.
7192 * dialog-msw.c (dialog_popped_down): ditto.
7194 2001-12-11 Andy Piper <andy@xemacs.org>
7196 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7197 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7199 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7200 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7201 * menubar-msw.c (mswindows_popup_menu): ditto.
7203 2001-10-29 Andy Piper <andy@xemacs.org>
7205 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7208 2002-01-03 Andy Piper <andy@xemacs.org>
7210 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7214 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7216 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7217 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7218 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7219 Detect and handle case where machine is set up for metric units
7221 2002-04-02 Andy Piper <andy@xemacs.org>
7223 * dired-msw.c (mswindows_get_files):
7224 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7225 completely handled by XEmacs. Suggested by Thomas Vogler
7226 <mail@thomas-vogler.de>.
7228 2001-11-14 Andy Piper <andy@xemacs.org>
7230 * nt.c (REG_ROOT): change registry key to XEmacs.
7232 2002-04-27 Andy Piper <andy@xemacs.org>
7234 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7236 2002-04-26 Andy Piper <andy@xemacs.org>
7238 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7241 2002-03-14 Mike Alexander <mta@arbortext.com>
7243 * event-msw.c (mswindows_unwait_process): New, remove process from
7245 * process-nt.c (nt_finalize_process_data): Call
7246 mswindows_unwait_process
7247 * console-msw.h: Declare mswindows_unwait_process
7249 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7251 * editfns.c (Fdecode_time):
7252 (Fformat_time_string):
7253 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7254 (make_time): Warning elimination (change arg name).
7256 2001-11-24 Andy Piper <andy@xemacs.org>
7258 * window.c (Fsplit_window): Doc return type.
7260 2002-04-01 Andy Piper <andy@xemacs.org>
7262 * emacs.c (Fkill_emacs): Only output message box in interactive
7265 2002-04-26 Andy Piper <andy@xemacs.org>
7267 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7270 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7272 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7275 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7277 * XEmacs 21.4.8 "Honest Recruiter" is released.
7279 2002-05-07 Nix <nix@esperi.demon.co.uk>
7281 Supersedes 2002-04-17 patch.
7283 * process.h (PROCESS_LIVE_P): Use the process status as
7284 evidence of health, not the state of the input stream.
7285 (PROCESS_READABLE_P): Say if the process is readable
7286 from. (It may be dead nonetheless.)
7287 (CHECK_READABLE_PROCESS): Test for that condition.
7289 * process.c (create_process): Use PROCESS_READABLE_P.
7290 (read_process_output, set_process_filter): Likewise.
7292 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7293 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7295 This code is #if 0'd, this is not the time to add new functions:
7297 * process.c (Fprocess_readable_p): Report readability status.
7298 * process.c (Qprocess_readable_p): New, associated symbol...
7299 * process.c (syms_of_process): ... initialize it.
7301 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7303 * XEmacs 21.4.7 "Economic Science" is released.
7305 2002-04-17 Nix <nix@esperi.demon.co.uk>
7307 * process.h (PROCESS_LIVE_P): Use the process status as
7308 evidence of health, not the state of the input stream.
7310 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7312 * sysdep.c (sys_siglist): change "signum" to "signal"
7314 2001-04-21 Martin Buchholz <martin@xemacs.org>
7316 * s/darwin.h: New file.
7317 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7319 2002-04-23 Andreas Jaeger <aj@suse.de>
7321 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7322 which use lib64 for 64-bit libs.
7323 (START_FILES): Likewise.
7325 2002-02-11 Mike Sperber <mike@xemacs.org>
7328 (x_IO_error_handler):
7329 (x_init_device): Temporarily keep device in static variable
7330 `device_being_initialized' so we can recover gracefully from
7331 internal XOpenDevice failure. (XOpenDevice is documented to
7332 return NULL on failure, but sometimes calls the IO error handler
7335 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7337 * dired.c (Ffile_name_all_completions): Change documentation --
7338 remove reference to completion-ignored-extensions.
7339 * dired.c (vars_of_dired): Change documentation for
7340 completion-ignored-extensions -- remove reference to
7341 file-name-all-completions.
7343 2002-03-06 Jerry James <james@xemacs.org>
7345 * emodules.c (emodules_load): Fix multiple loading of same module.
7347 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7348 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7349 RTLD_LAZY to avoid incorrect symbol binding when using nested
7350 shared libraries on Solaris.
7352 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7354 * fileio.c (Ffind_file_name_handler): Improve docstring.
7356 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7358 * fns.c (Fmapconcat): Improve docstring.
7360 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7362 * device-gtk.c: Add prototype for
7363 emacs_gtk_selection_clear_event_handle.
7364 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7365 selection. Setup signal handler for "selection_clear_event"
7366 (emacs_gtk_selection_clear_event_handle).
7368 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7369 other applications owning the clipboard (based on
7370 x_handle_selection_clear).
7372 2001-12-23 William M. Perry <wmperry@gnu.org>
7374 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7376 2002-01-04 Martin Buchholz <martin@xemacs.org>
7378 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7380 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7382 * XEmacs 21.4.6 "Common Lisp" is released.
7384 2001-12-16 Torsten Duwe <duwe@caldera.de>
7386 * search.c (Freplace_match): Add missing sub-expression functionality.
7388 * buffer.c (decode_buffer): Add a check for pointer type to
7389 decode_buffer, before gcc's CSE optimization reorders a
7390 dereference in front of the allow_string test.
7392 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7394 * window.c (window_loop): Fix bug that sometimes prevented
7395 window_loop() from iterating across multiple devices. Also, at
7396 Ben's request, changed infloop-detecting code to abort() instead
7397 of silently terminating window_loop().
7399 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7401 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7402 * editfns.c (make_time): New function.
7403 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7404 * lisp.h (make_time): Prototype and comment it.
7405 * dired.c (wasteful_word_to_lisp): Deprecate.
7406 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7408 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7410 * fileio.c (auto_save_1): Use current coding system, not
7413 2001-11-13 Ben Wing <ben@xemacs.org>
7416 * window.c (window_truncation_on):
7417 * window.c (syms_of_window):
7418 truncate-partial-width-windows should respect the buffer being
7419 displayed, like other redisplay vars.
7421 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7423 * event-stream.c (Fread_key_sequence): save current buffer.
7425 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7427 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7429 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7431 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7433 2001-10-26 Mike Alexander <mta@arbortext.com>
7435 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7437 2001-10-25 Andy Piper <andy@xemacs.org>
7440 * dialog-msw.c (handle_directory_proc): new function.
7441 (handle_directory_dialog_box): new fucntion.
7442 (handle_file_dialog_box): use new directory dialog support.
7443 (mswindows_make_dialog_box_internal): ditto.
7444 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7446 (mswindows_find_frame): make global.
7447 * fileio.c (Fexpand_file_name): build fix.
7448 * general-slots.h: add Qdirectory.
7449 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7451 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7452 cygwin not leaving win32 paths unchanged.
7453 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7454 cygwin runtime to do path conversion.
7455 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7456 (syms_of_win32): add new function.
7457 * window.c (window_loop): build fix.
7459 2001-10-15 Andy Piper <andy@xemacs.org>
7461 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7463 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7465 * XEmacs 21.4.5 "Civil Service" is released.
7467 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7469 * glyphs-x.c: Force buffer-tab highlight update when moving the
7470 buffer, avoiding an ugly black border, used for keyboard focus
7471 indication, on a widget that can never have keyboard focus, the
7474 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7476 * process-unix.c (unix_open_multicast_group): Remove too much
7477 conversion between host and network byte order.
7479 2001-09-10 Nix <nix@esperi.demon.co.uk>
7481 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7482 before replacing them.
7484 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7487 * src/window.c (undedicate_windows): Use it.
7488 * src/window.h: Add prototype.
7490 2001-09-17 Ben Wing <ben@xemacs.org>
7492 * fileio.c (normalize_filename):
7493 * fileio.c (Fexpand_file_name):
7494 Fix various C++ compile errors in Andy's recent code.
7496 * callint.c (Fcall_interactively):
7497 * editfns.c (Ftemp_directory):
7498 * editfns.c (Fuser_full_name):
7499 * emacs.c (argmatch):
7500 * lread.c (locate_file_map_suffixes):
7501 * redisplay-x.c (x_ring_bell):
7502 Fix sign-compare warnings.
7504 2001-09-08 Andy Piper <andy@xemacs.org>
7506 * fileio.c (normalize_filename): copied from nt.c
7507 * (Ffile_name_directory): enable win32 paths under cygwin.
7508 * (Ffile_name_nondirectory): ditto.
7509 * (directory_file_name): ditto.
7510 * (Fexpand_file_name): ditto.
7511 * (Ffile_truename): ditto.
7512 * (Fsubstitute_in_file_name): ditto.
7513 * (Ffile_name_absolute_p): ditto.
7514 * (Ffile_readable_p): ditto.
7516 2001-09-08 Andy Piper <andy@xemacs.org>
7518 * device-msw.c (mswindows_finish_init_device): remove dde
7520 * device-msw.c (mswindows_init_dde): factor out from
7521 mswindows_finish_init_device()
7522 * device-msw.c (init_mswindows_very_early): new function
7523 initialize but don't enable dde.
7524 * emacs.c (main_1): call init_mswindows_very_early.
7526 * event-msw.c (mswindows_dde_callback): only execute when we are
7528 * symsinit.h: declare init_mswindows_very_early.
7530 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7532 [sjt: This has been in 21.5 for months with no complaints.]
7534 * console.h (struct console_methods): Added flags member.
7535 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7536 (CONMETH_IMPL_FLAG):
7537 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7538 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7540 * device.c (window_system_pixelated_geometry): Use the above macros.
7542 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7543 implememntation flag.
7544 * device.h (DEVICE_DISPLAY_P): Use it.
7546 * frame.c (delete_frame_internal): Use the above macro.
7548 * redisplay.c (redisplay_device): Use it.
7549 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7550 (redisplay_frame): Ditto.
7552 * device-msw.c (mswindows_device_implementation_flags): Removed.
7553 (msprinter_device_implementation_flags): Removed.
7554 (console_type_create_device_mswindows): Removed references to
7555 implementation_flags methods, set implementation flags here.
7556 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7558 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7559 (console_type_create_device_gtk): Removed method declaration.
7560 Added commented out statement which semantically matches the
7561 commented out statement in the above removed method.
7563 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7565 The attached patch fixes a few warnings.
7567 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7568 * src/frame-gtk.c: guard against GNOME calls in GTK only
7569 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7570 * src/select-gtk.c: prototype lisp_to_time
7572 2001-06-08 Ben Wing <ben@xemacs.org>
7574 ------ gc-in-window-procedure fixes ------
7577 * alloc.c (struct post_gc_action):
7578 * alloc.c (register_post_gc_action):
7579 * alloc.c (run_post_gc_actions):
7580 * alloc.c (garbage_collect_1):
7581 Create "post-gc actions", to avoid those dreaded "GC during window
7582 procedure" problems.
7585 Abort, clean and simple, when GC in window procedure. We want
7586 to flush these puppies out.
7589 * glyphs-msw.c (finalize_destroy_window):
7590 * glyphs-msw.c (mswindows_finalize_image_instance):
7591 Use a post-gc action when destroying subwindows.
7594 Declare register_post_gc_action().
7597 * scrollbar-msw.c (unshow_that_mofo):
7598 Use a post-gc action when unshowing scrollbar windows, if in gc.
7600 * redisplay.c (mark_redisplay):
7601 Add comment about the utter evilness of what's going down here.
7603 ------ cygwin setitimer fixes ------
7605 * Makefile.in.in (sheap_objs):
7606 * Makefile.in.in (profile_objs):
7607 * Makefile.in.in (objs):
7608 Compile profile.c only when HAVE_SETITIMER.
7610 * nt.c (mswindows_sigset):
7611 * nt.c (mswindows_sighold):
7612 * nt.c (mswindows_sigrelse):
7613 * nt.c (mswindows_sigpause):
7614 * nt.c (mswindows_raise):
7615 * nt.c (close_file_data):
7619 Move setitimer() emulation to win32.c, because Cygwin needs it too.
7622 * profile.c (Fstart_profiling):
7623 * profile.c (Fstop_profiling):
7624 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
7625 instead of just plain setitimer().
7628 * signal.c (set_one_shot_timer):
7630 Define qxe_setitimer() as an encapsulation around setitimer() --
7631 call setitimer() directly unless Cygwin or MS Win, in which case
7632 we use our simulated version in win32.c.
7635 * systime.h (struct itimerval):
7636 * systime.h (ITIMER_REAL):
7637 Prototype mswindows_setitimer() and qxe_setitimer(). Long
7638 comment about "qxe" and the policy regarding encapsulation.
7641 * win32.c (setitimer_helper_proc):
7642 * win32.c (setitimer_helper_period):
7643 * win32.c (setitimer_helper):
7644 * win32.c (mswindows_setitimer):
7645 Move setitimer() emulation here, so Cygwin can use it.
7646 Rename a couple of functions and variables to be longer and more
7647 descriptive. In setitimer_helper_proc(), send the signal
7648 using either mswindows_raise() or (on Cygwin) kill(). If for
7649 some reason we are still getting lockups, we'll change the kill()
7650 to directly invoke the signal handlers.
7652 ------ windows shell fixes ------
7656 Comments about how these two files must die.
7658 * callproc.c (init_callproc):
7659 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
7660 not just COMSPEC. (more correct and closer to FSF.) Don't
7661 force a value for SHELL into the environment. (Comments added
7662 to explain why not.)
7664 * nt.c (init_user_info):
7665 Don't shove a fabricated SHELL into the environment. See above.
7667 2001-06-01 Ben Wing <ben@xemacs.org>
7669 * Makefile.in.in (ldflags):
7670 eliminate that pesky "defaulting to 00401000" warning.
7674 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
7676 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
7677 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
7679 2001-04-24 Jerry James <james@xemacs.org>
7681 * faces.h: pass parameters to Fadd_spec_to_specifier in the
7684 2001-06-01 Ben Wing <ben@xemacs.org>
7686 * event-msw.c (debug_mswin_messages):
7687 conditionalize the messages that were causing compile errors.
7688 (if only macros could generate #ifdef statements ...)
7690 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
7692 * XEmacs 21.4.4 "Artificial Intelligence" is released.
7694 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7696 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
7698 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7700 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
7701 * process-unix.c (unix_canonicalize_host_name):
7702 sysdep.c (init_system_name):
7703 Use it to conditionally support IPv6 canonicalization.
7705 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
7708 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
7710 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
7712 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
7713 attempt is made to scroll when no scroll bar is available.
7715 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7717 * input-method-motif.c (XIM_delete_frame): New callback.
7718 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
7719 got deleted from 21.4.3.)
7721 2001-06-01 Ben Wing <ben@xemacs.org>
7723 * nt.c (mswindows_utime):
7724 * nt.c (close_file_data):
7725 fix off-by-one-indirection error.
7727 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7729 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7730 because set_file_times() now takes Lisp_Object path, instead of
7732 * nt.c: Include buffer.h.
7733 * nt.c (convert_from_time_t): New.
7734 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7735 not set mtime correctly.
7736 * nt.h: Declare mswindows_utime().
7737 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7738 path, instead of char*.
7739 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7741 2001-05-30 Ben Wing <ben@xemacs.org>
7745 (Stephen, just take all event-msw.c patches. This includes
7746 the "iconify" fix below.)
7749 * event-msw.c (mswindows_dequeue_dispatch_event):
7750 * event-msw.c (assert):
7751 * event-msw.c (emacs_mswindows_quit_p):
7752 * event-msw.c (debug_mswin_messages):
7753 * event-msw.c (debug_output_mswin_message):
7754 * event-msw.c (vars_of_event_mswindows):
7755 Fix yet more problems with C-g handling.
7756 Implement debug-mswindows-events.
7758 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7760 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7762 2001-05-23 Ben Wing <ben@xemacs.org>
7764 * event-msw.c (winsock_writer):
7765 * event-msw.c (winsock_closer):
7766 prior kludgy code was clobbering the buffer, thinking it was
7767 "unused" space to store an unneeded return value; instead, use
7768 the variable we've already got staring us in the face.
7770 2001-05-17 Andy Piper <andy@xemacs.org>
7772 * sysfile.h: don't assume that file attributes are boolean
7774 2001-05-23 Ben Wing <ben@xemacs.org>
7776 * device-msw.c (msprinter_init_device):
7777 signal an error rather than crash with an unavailable network
7778 printer (from Mike Alexander).
7781 * event-msw.c (struct winsock_stream):
7782 * event-msw.c (winsock_writer):
7783 * event-msw.c (winsock_closer):
7784 * event-msw.c (make_winsock_stream_1):
7785 cleanup headers. fix (hopefully) an error with data corruption
7786 when sending to a network connection.
7788 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7789 to handle the ~user prefix by (a) always assuming we're referencing
7790 ourselves and not even verifying the user -- hence any file with
7791 a tilde as its first char is invalid! (b) if there wasn't a slash
7792 following the filename, the pointer was set *past* the end of
7793 file and we started reading from uninitialized memory. Now we
7794 simply treat these as files, always.
7796 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7798 2001-05-19 Ben Wing <ben@xemacs.org>
7800 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7803 * process-nt.c (vars_of_process_nt):
7804 remove unused mswindows-quote-process-args. rec for 21.4.
7806 2001-05-12 Ben Wing <ben@xemacs.org>
7808 * event-msw.c (mswindows_dde_callback):
7809 * event-msw.c (mswindows_wnd_proc):
7810 eliminate cygwin warnings.
7812 2001-05-06 Ben Wing <ben@xemacs.org>
7816 * device-msw.c (print_dialog_worker):
7817 * device-msw.c (mswindows_handle_print_dialog_box):
7818 * device-msw.c (syms_of_device_mswindows):
7819 * dialog-msw.c (mswindows_make_dialog_box_internal):
7821 implement printing the selection when it's selected.
7823 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7825 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7827 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7829 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7830 EMACS_INT is signed.
7832 2001-04-15 Michael Lausch <mla@1012surf.net>
7834 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7835 gtk_widget_request_size() to give scrollbar >0 width for
7838 2001-05-30 William M. Perry <wmperry@gnu.org>
7840 * event-gtk.c: Check for buttons as modifier keys.
7842 2001-05-25 Craig Lanning <CraigL@Knology.net>
7845 Properly find MinGW's <process.h> inside Cygwin's restructured
7846 include directories. Don't try to include <cygwin/version.h>
7847 since we are dropping support for MinGW in versions of Cygwin
7850 Drop support for MinGW in versions of Cygwin before b21.
7852 Properly find MinGW's <process.h> inside Cygwin's restructured
7853 include directories.
7855 Drop support for MinGW in versions of Cygwin before b21.
7857 Even though a.out.h is no longer detected by configure, allow
7858 MinGW to use it until we figure out how to do the job with Win32.
7860 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7862 * syntax.c (find_start_of_comment):
7863 Fix `unbalanced parentheses' bug when dealing with mixed comment
7864 styles in c++/java/etc. mode
7866 2001-05-29 Mike Alexander <mta@arbortext.com>
7868 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7869 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7871 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7873 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7875 2001-03-31 Mike Sperber <mike@xemacs.org>
7877 * search.c (Freplace_match): Support FSF-style specification of
7878 match subexpression when applied to a buffer.
7880 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7882 * event-stream.c (is_scrollbar_event): add missing semicolon
7884 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7886 * Makefile.in.in: Use TAR macro instead of hardcoding
7887 tar. Allows use of GNU tar instead of system tar
7889 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7891 * event-stream.c (is_scrollbar_event): add missing semicolon
7893 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7895 * XEmacs 21.4.3 "Academic Rigor" is released.
7897 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7899 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7901 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7903 * buffer.c (Vcase_fold_search): Remove obsolete
7904 comment about non ASCII case-fold-search. This
7905 bug has been fixed by case-table changes.
7907 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7909 * event-msw.c: Restore include of events-mod.h.
7911 2001-04-22 zhaoway <zw@debian.org>
7913 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7916 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7918 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7920 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7922 * mule-charset.c (Fmake_charset): Add missing else.
7924 2001-04-23 Ben Wing <ben@xemacs.org>
7926 * event-msw.c (FAKE_MOD_QUIT):
7927 * event-msw.c (mswindows_dequeue_dispatch_event):
7928 * event-msw.c (mswindows_wnd_proc):
7929 * event-msw.c (emacs_mswindows_quit_p):
7930 Get critical quit working.
7932 2001-05-05 Ben Wing <ben@xemacs.org>
7936 * device-msw.c (mswindows_get_default_margin):
7937 * frame-msw.c (mswindows_size_frame_internal):
7938 * frame-msw.c (msprinter_init_frame_1):
7939 * frame-msw.c (vars_of_frame_mswindows):
7940 Change top/bottom margin defaults to 0.5 inches.
7942 2001-05-01 Martin Buchholz <martin@xemacs.org>
7944 Fix link error with gcc 3.0 on Linux.
7945 * terminfo.c (UP): Remove.
7946 * terminfo.c (BC): Remove.
7947 * terminfo.c (PC): Remove.
7948 They weren't used, and in any case, these symbols should be
7949 defined in the *library*.
7951 2001-05-03 Martin Buchholz <martin@xemacs.org>
7953 * s/aix4.h: Fix crash with xlc -O3.
7954 Improve comment explaining how -O3 works.
7956 2001-04-15 Ben Wing <ben@xemacs.org>
7959 * event-stream.c (Fnext_event):
7960 * event-stream.c (is_scrollbar_event):
7961 * event-stream.c (execute_command_event):
7962 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7963 crash' problem. His fix introduces other problems. We filter
7964 out scrollbar events specifically, making them somewhat invisible
7965 to command-building, and not appearing in `this-command-keys'.
7966 More work is still needed (see comments in event-stream.c), but
7967 this fixes all the major problems.
7969 2001-04-20 Ben Wing <ben@xemacs.org>
7971 * .cvsignore: Added stuff for Windows.
7973 2001-04-28 Ben Wing <ben@xemacs.org>
7975 * buffer.c (Ferase_buffer):
7976 * editfns.c (buffer_insert1):
7977 * editfns.c (Finsert_before_markers):
7978 * editfns.c (Finsert_string):
7979 * editfns.c (Finsert_char):
7980 * editfns.c (Fdelete_region):
7981 * editfns.c (Fwiden):
7982 * editfns.c (Fnarrow_to_region):
7983 remove bogus lines setting zmacs_region_stays to 0.
7985 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7987 * process-unix.c (unix_open_network_stream): If connect() fails
7988 invalidate file descriptor after closing it.
7990 2001-03-08 Mike Alexander <mta@arbortext.com>
7992 * event-msw.c (mswindows_need_event_in_modal_loop):
7993 Don't dispatch a message if we didn't get one.
7994 (mswindows_need_event):
7995 Terminate the correct process when one exits instead of the first
7996 one on Vprocess_list and look for process termination when in
7997 mswindows_protect_modal_loop.
7999 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8001 * XEmacs 21.4.1 "Copyleft" is released.
8003 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8005 * input-method-motif.c (XIM_delete_frame): New callback.
8006 (XIM_init_frame): Register it.
8008 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8010 * XEmacs 21.4.0 "Solid Vapor" is released.
8012 2001-04-15 Ben Wing <ben@xemacs.org>
8014 * cmdloop.c (call_command_loop):
8015 Fix braino in bit-rotting code.
8017 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8019 * extents.c (Fset_extent_endpoints): Force creation of extent info
8020 in buffer_or_string.
8022 * extents.c (process_extents_for_insertion_mapper): Correctly
8023 check for open-open zero-length extents.
8025 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8027 * lisp.h: New typedefs Memory_count, Element_count.
8030 Sign-compare warning elimination: several unsigned -> signed.
8031 Based on work by Ben Wing <ben@xemacs.org>.
8033 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8035 * XEmacs 21.2.47 "Zephir" is released.
8037 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8039 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8041 2001-04-03 Mike Sperber <mike@xemacs.org>
8043 * search.c: Revert previous patch due because of release.
8045 2001-03-30 Ben Wing <ben@xemacs.org>
8048 Add missing killpg prototype.
8051 Add a comment about fixing problems when a new entry is added
8054 * frame-msw.c (mswindows_init_frame_1):
8055 Fix compile warnings.
8057 * menubar.c (vars_of_menubar):
8058 Provide `menu-accelerator-support' to indicate that we properly
8059 support %_ in menu specifications, so that package code can
8060 conditionalize on this (and remove %_ from menu specifications
8065 * scrollbar-msw.c (can_scroll):
8067 Fix handling of mouse wheel under Windows to follow standards --
8068 now scrolls window under pointer, not selected window.
8070 2001-03-31 Mike Sperber <mike@xemacs.org>
8072 * search.c (Freplace_match): Support FSF-style specification of
8073 match subexpression when applied to a buffer.
8075 2001-03-15 Martin Buchholz <martin@xemacs.org>
8077 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8078 function to modify KEYMAP, so map over a copy of the hash table.
8080 2001-03-21 Martin Buchholz <martin@xemacs.org>
8082 * XEmacs 21.2.46 "Urania" is released.
8084 2001-03-20 Dan Holmsand <dan@eyebee.com>
8086 * realpath.c (xrealpath): Make file-truename work with symlinks to
8087 /cygdrive paths on cygwin. Always lowercase drive-letters on
8089 (cygwin_readlink): Don't try to find canonical filename unless
8092 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8094 * ChangeLog: Log GTK merge.
8100 Revert gratuitous whitespace changes from GTK merge.
8102 * emacs.c: Document end of complex #ifdef @ l. 1495.
8105 2001-03-12 Andy Piper <andy@xemacs.org>
8107 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8108 have to do likewise.
8110 2001-03-12 Andy Piper <andy@xemacs.org>
8112 * sysdep.c: we only support mingw now.
8114 2001-03-09 Andy Piper <andy@xemacs.org>
8116 * unexcw.c (copy_executable_and_dump_data_section): making approx
8117 overrun a warning only.
8119 2001-03-10 William M. Perry <wmperry@aventail.com>
8121 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8122 satisfy Stephen's identical-after-cpp plea.
8124 2001-03-02 Ben Wing <ben@xemacs.org>
8127 * cmds.c (Fforward_char):
8131 Augment documentation of the most common motion commands to make
8132 note of the shifted-motion support.
8134 2001-03-02 Ben Wing <ben@xemacs.org>
8136 * nt.c (mswindows_fstat):
8137 * nt.c (mswindows_stat):
8138 * search.c (boyer_moore):
8139 Fix compile warnings under Windows.
8141 * sysdep.c (sys_readdir):
8142 Fix buggy filename-conversion code under Mule.
8144 2001-03-09 William M. Perry <wmperry@aventail.com>
8166 * redisplay-output.c:
8172 The Great GTK Merge.
8179 * emacs-widget-accessors.c:
8193 * native-gtk-toolbar.c:
8204 The Great GTK Merge: new files.
8206 2001-02-26 Ben Wing <ben@xemacs.org>
8208 Reapplied Lstream change.
8210 2001-02-26 Ben Wing <ben@xemacs.org>
8212 Undid the last change, since it is more controversial than I
8213 thought. It should be back in at some point soon.
8215 2001-02-25 Ben Wing <ben@xemacs.org>
8218 * callproc.c (Fold_call_process_internal):
8219 * event-msw.c (ntpipe_slurp_reader):
8220 * event-msw.c (ntpipe_shove_writer):
8221 * event-msw.c (winsock_reader):
8222 * event-msw.c (winsock_writer):
8224 * file-coding.c (detect_eol_type):
8225 * file-coding.c (detect_coding_type):
8226 * file-coding.c (determine_real_coding_system):
8227 * file-coding.c (Fdetect_coding_region):
8228 * file-coding.c (decoding_reader):
8229 * file-coding.c (decoding_writer):
8230 * file-coding.c (mule_decode):
8231 * file-coding.c (Fdecode_coding_region):
8232 * file-coding.c (encoding_reader):
8233 * file-coding.c (encoding_writer):
8234 * file-coding.c (mule_encode):
8235 * file-coding.c (Fencode_coding_region):
8236 * file-coding.c (detect_coding_sjis):
8237 * file-coding.c (decode_coding_sjis):
8238 * file-coding.c (encode_coding_sjis):
8239 * file-coding.c (detect_coding_big5):
8240 * file-coding.c (decode_coding_big5):
8241 * file-coding.c (encode_coding_big5):
8242 * file-coding.c (detect_coding_ucs4):
8243 * file-coding.c (decode_coding_ucs4):
8244 * file-coding.c (encode_coding_ucs4):
8245 * file-coding.c (detect_coding_utf8):
8246 * file-coding.c (decode_coding_utf8):
8247 * file-coding.c (encode_coding_utf8):
8248 * file-coding.c (detect_coding_iso2022):
8249 * file-coding.c (decode_coding_iso2022):
8250 * file-coding.c (encode_coding_iso2022):
8251 * file-coding.c (decode_coding_no_conversion):
8252 * file-coding.c (encode_coding_no_conversion):
8253 * glyphs-x.c (write_lisp_string_to_temp_file):
8254 * gpmevent.c (tty_get_foreign_selection):
8257 * lstream.c (Lstream_flush_out):
8258 * lstream.c (Lstream_adding):
8259 * lstream.c (Lstream_write_1):
8260 * lstream.c (Lstream_write):
8261 * lstream.c (Lstream_raw_read):
8262 * lstream.c (Lstream_read_more):
8263 * lstream.c (Lstream_read):
8264 * lstream.c (Lstream_unread):
8265 * lstream.c (Lstream_fputc):
8266 * lstream.c (stdio_reader):
8267 * lstream.c (stdio_writer):
8268 * lstream.c (filedesc_reader):
8269 * lstream.c (filedesc_writer):
8270 * lstream.c (lisp_string_reader):
8271 * lstream.c (struct fixed_buffer_stream):
8272 * lstream.c (make_fixed_buffer_input_stream):
8273 * lstream.c (make_fixed_buffer_output_stream):
8274 * lstream.c (fixed_buffer_reader):
8275 * lstream.c (fixed_buffer_writer):
8276 * lstream.c (struct resizing_buffer_stream):
8277 * lstream.c (resizing_buffer_writer):
8278 * lstream.c (dynarr_writer):
8279 * lstream.c (lisp_buffer_reader):
8280 * lstream.c (lisp_buffer_writer):
8282 * lstream.h (lstream_implementation):
8283 * lstream.h (struct lstream):
8285 * process-nt.c (nt_send_process):
8286 * process-unix.c (unix_send_process):
8288 Correct Lstream lossage due to mixing of signed and unsigned
8289 quantities. All Lstream uses of size_t and ssize_t are now a
8290 single signed data type Lstream_data_count. This fixes problems
8291 under Windows with sending large quantities of data to a process,
8292 and may well fix other subtle bugs.
8294 2001-02-23 Martin Buchholz <martin@xemacs.org>
8296 * XEmacs 21.2.45 "Thelxepeia" is released.
8298 2001-02-21 Martin Buchholz <martin@xemacs.org>
8300 * lisp-union.h (XSETINT):
8303 Reverse previous change of 2001-02-06.
8305 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8307 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8309 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8310 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8311 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8312 * regex.c (POS_AS_IN_BUFFER): removed
8313 * regex.c (re_search_2):
8314 * regex.c (re_match_2):
8315 Don't use an offset of 1 when calculating buffer positions, since
8316 `BI_BUF_BEGV' does it already.
8318 2001-02-18 Wim Dumon <wim@easics.be>
8320 * insdel.c (prepare_to_modify_buffer): Also check for
8321 supersession when clash-detection is enabled.
8323 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8325 * regex.c (re_match_2_internal):
8326 Convert temp characters from 'const unsigned char' to 're_char'.
8327 Fix crashing bug with extended characters under mule.
8328 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8329 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8330 font-lock, pdump, and new syntax-table code.
8331 * syntax.c (find_start_of_comment):
8332 (find_end_of_comment):
8334 Fix crashing bugs involving moving beyond end of buffer.
8335 * syntax.c (find_start_of_comment):
8336 Fixed logic to allow proper detection of cases where the same
8337 character is used to end both a two-char comment start and a
8338 two-char comment end sequence. Fixes `(forward-comment -1)'.
8339 * syntax.c (find_start_of_comment):
8340 Return position just past last comment-end character for all cases
8341 (previously was only done for two-char comment-end sequences).
8342 * syntax.c (forward-comment):
8343 Take value returned from `find_end_of_comment', rather than
8345 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8346 Properly deal with BUFFERP (syntax_cache.object)
8348 2001-02-17 Martin Buchholz <martin@xemacs.org>
8350 * alloc.c (Fgarbage_collect):
8351 * alloc.c (make_bit_vector_from_byte_vector):
8352 -Wsign-compare-correctness.
8354 2001-02-16 Martin Buchholz <martin@xemacs.org>
8356 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8357 (XSETCHAR): Likewise.
8358 (XSETOBJ): Likewise.
8360 2001-02-15 Martin Buchholz <martin@xemacs.org>
8362 * mule-canna.c (canna-func-delete_previous):
8363 Rename to canna-func-delete-previous.
8365 2001-02-14 Martin Buchholz <martin@xemacs.org>
8367 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8369 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8371 * font-lock.c (find_context): Fix C++ compile errors introduced by
8374 2001-02-13 Martin Buchholz <martin@xemacs.org>
8376 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8377 pragma, but earlier ones barf on the same pragma.
8379 2001-02-06 Mike Sperber <mike@xemacs.org>
8381 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8382 `configure-mule-lisp-directory'.
8384 2001-02-12 Martin Buchholz <martin@xemacs.org>
8386 Make sure dump-id.c is compiled in the same way as other .c's.
8387 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8388 * dump-id.h: Remove.
8389 * emacs.c: Move dump-id.h into dumper.h.
8390 * dumper.h: Move dump-id.h into dumper.h.
8392 Use standard .c.o rule for building dump-id.o.
8393 Remove preprocessor flags from link command.
8394 Add dump-id.o to ${otherobjs} if PDUMP.
8396 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8398 Port FSF 20.7 syntax table improvements.
8402 Fixups for new syntax table stuff.
8403 * dired.c: Include syntax.c.
8404 (Fdirectory_files): Initialize regex_match_object and
8406 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8407 and Fget_char_property.
8409 Use ported FSF 20.7 syntax table improvements.
8414 2001-02-09 Martin Buchholz <martin@xemacs.org>
8416 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8417 Unixware's enum boolean from sys/types.h.
8419 2001-02-10 Martin Buchholz <martin@xemacs.org>
8421 Fix support for building with latest Purify.
8422 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8423 (PURIFY_FLAGS): Likewise.
8425 2001-02-09 Martin Buchholz <martin@xemacs.org>
8427 * fileio.c (lisp_string_set_file_times): New.
8428 * fileio.c (Fcopy_file): Use it.
8430 (copy-file filename non-ascii-filename t t)
8431 ==> No such file or directory, non-ascii-filename
8433 2001-02-10 Martin Buchholz <martin@xemacs.org>
8435 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8436 USHRT_MAX seems clearer than ~0 anyways.
8438 2001-02-09 Martin Buchholz <martin@xemacs.org>
8440 dumper improvements. Inspired by Olivier.
8441 * dumper.c (pdump_max_align): New.
8442 * dumper.c (pdump_add_entry): Use pdump_max_align.
8443 * dumper.c (pdump_get_entry_list): Likewise.
8444 * dumper.c (pdump_scan_by_alignment): Likewise.
8445 Don't iterate through unnecessary alignments.
8446 * dumper.c (pdump_file_get): No need to align result of malloc().
8447 * dumper.c (pdump_mallocadr): Remove.
8448 The result of malloc() is guaranteed to be maximally aligned.
8449 * dumper.c: s/elmt/elt/g;
8450 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8451 * dumper.c (pdump_alert_undump_object): Likewise.
8452 * dumper.c (pdump_align_table):
8453 Don't support alignments > 64.
8454 Store ALIGNOF's, not shift counts, in table.
8456 2001-02-09 Martin Buchholz <martin@xemacs.org>
8458 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8459 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8460 * systime.h: Use HAVE_UTIME.
8461 * sysdep.c (struct utimbuf): Remove.
8462 * sysdep.c (set_file_times): Prefer utime() to utimes().
8463 * config.h.in (HAVE_UTIME): New.
8464 * config.h.in (HAVE_UTIME_H): Remove.
8465 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8467 2001-02-09 Martin Buchholz <martin@xemacs.org>
8469 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8471 2001-02-08 Martin Buchholz <martin@xemacs.org>
8473 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8475 2001-02-08 Martin Buchholz <martin@xemacs.org>
8477 * XEmacs 21.2.44 "Thalia" is released.
8479 2001-02-06 Martin Buchholz <martin@xemacs.org>
8481 Fixes crashes in kill-emacs on some systems.
8482 * process-unix.c (unix_kill_child_process):
8483 It's OK for kill() to fail with ESRCH.
8485 2001-02-07 Martin Buchholz <martin@xemacs.org>
8487 Contortions to make .gdbinit tricks work on most systems.
8488 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8489 * alloc.c (dbg_valmask): Make non-const.
8490 * alloc.c (dbg_typemask): Make non-const.
8491 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8492 * alloc.c (dbg_valbits): Make non-const.
8493 * alloc.c (dbg_gctypebits): Make non-const.
8494 * .gdbinit (decode_object): Make it work with AIX cc.
8496 2001-02-06 Martin Buchholz <martin@xemacs.org>
8498 * elhash.c (make_general_lisp_hash_table):
8499 Use simpler and more efficient calloc to clear entries.
8501 2001-02-07 Martin Buchholz <martin@xemacs.org>
8503 * window.c (window_scroll): Work around an AIX C compiler bug.
8504 Fixes 'scroll-up' does nothing problem with xlC.
8506 2001-02-05 Martin Buchholz <martin@xemacs.org>
8508 * .gdbinit: Remove obsolete comment.
8510 2001-01-31 Mike Alexander <mta@arbortext.com>
8512 * select.c (Fown_selection_internal): Set owned_p for device
8515 2001-02-01 Martin Buchholz <martin@xemacs.org>
8518 "not" cannot be used as a macro name as it is an operator in C++
8519 * config.h.in: Stop #defining `not'.
8520 * chartab.c (check_category_char): not ==> not_p
8521 * chartab.h: Likewise.
8522 * regex.c (re_match_2_internal): Likewise.
8524 2001-02-02 Martin Buchholz <martin@xemacs.org>
8526 * lisp-disunion.h: Fix up comments.
8528 2001-01-31 Martin Buchholz <martin@xemacs.org>
8530 * keymap.c (define_key_check_and_coerce_keysym):
8532 Support mouse-6 and mouse-7 bindings in the obvious way.
8534 2001-02-01 Martin Buchholz <martin@xemacs.org>
8536 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8538 2001-01-30 Martin Buchholz <martin@xemacs.org>
8540 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8541 Previous patch missed DEFVAR_INT_MAGIC.
8542 Make sure future DEFVAR_foo use correct types.
8543 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8544 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8545 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8546 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8547 * (DEFVAR_INT): Likewise.
8548 * redisplay.c (vertical_clip): Should be of type Fixnum.
8549 * redisplay.c (horizontal_clip): Likewise.
8550 * lisp.h (dump_add_opaque_int): New.
8551 (dump_add_opaque_fixnum): New.
8553 2001-01-29 Andy Piper <andy@xemacs.org>
8555 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8556 since they can be eval'ed
8558 2001-01-29 Martin Buchholz <martin@xemacs.org>
8560 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8561 Oops, XEmacs redefines `class'. Use `typename' instead.
8563 2001-01-28 Martin Buchholz <martin@xemacs.org>
8565 * dumper.c: Fix C++ compile errors.
8567 2001-01-29 Martin Buchholz <martin@xemacs.org>
8569 * tparam.c: Use correct prototypes.
8571 2001-01-28 Martin Buchholz <martin@xemacs.org>
8573 * sysproc.h: #include util.h for NetBSD's openpty.
8575 2001-01-27 Martin Buchholz <martin@xemacs.org>
8577 More 64-bit correctness.
8578 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8579 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8581 This finally finishes the 64-bit SGI port.
8582 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8583 * symbols.c: Fix up comments and type casts.
8584 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8585 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8586 * symeval.h (Fixnum): New type.
8587 * symeval.h (symbol_value_type): Fix up comment.
8603 * mule-canna.c: A million DEFVAR_INTs here...
8604 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
8617 s/int/Fixnum/g in DEFVAR_INT declarations.
8619 2001-01-26 Martin Buchholz <martin@xemacs.org>
8621 Port pdump to SGI alignment-sensitive environment.
8622 Lisp Object sizeof methods now return aligned sizes. Rely on that.
8623 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
8625 Define and use aligned reading and writing macros.
8626 Use buffered stdio instead of posix i/o for faster dumping.
8627 Eliminate kludgy 256 byte space for header.
8628 Read and write from dump file using structs for alignment safety.
8629 * dumper.c (pdump_align_stream): New.
8630 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
8631 * dumper.c (PDUMP_READ_ALIGNED): New.
8632 * dumper.c (PDUMP_WRITE_ALIGNED): New.
8633 * dumper.c (pdump_static_Lisp_Object): New struct.
8634 * dumper.c (pdump_static_pointer): New struct.
8635 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
8636 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
8637 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
8638 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
8640 * dumper.c (pdump_backtrace):
8641 * dumper.c (pdump_get_indirect_count):
8642 * dumper.c (pdump_register_object):
8643 * dumper.c (pdump_register_struct):
8644 * dumper.c (pdump_reloc_one):
8645 * dumper.c (pdump_scan_by_alignment):
8646 * dumper.c (pdump_dump_from_root_struct_ptrs):
8647 * dumper.c (pdump_dump_opaques):
8648 * dumper.c (pdump_dump_rtables):
8649 * dumper.c (pdump_dump_from_root_objects):
8651 * dumper.c (pdump_load_finish):
8652 Use aligned reading and writing.
8654 * dumper.c (pdump_free): Make static.
8655 * dumper.c (pdump_hFile): Likewise.
8656 * dumper.c (pdump_hMap): Likewise.
8658 2001-01-26 Martin Buchholz <martin@xemacs.org>
8660 * XEmacs 21.2.43 "Terspichore" is released.
8662 2001-01-25 Martin Buchholz <martin@xemacs.org>
8664 Type fiddling for window_config.saved_windows_count
8665 * window.c (struct window_config):
8666 Make saved_windows_count member unsigned.
8667 * window.c (sizeof_window_config_for_n_windows):
8668 Make parameter unsigned.
8669 * window.c (mark_window_config):
8670 * window.c (window_config_equal):
8671 * window.c (free_window_configuration):
8672 * window.c (Fset_window_configuration):
8673 * window.c (count_windows):
8674 * window.c (Fcurrent_window_configuration):
8675 * window.c (reinit_vars_of_window):
8676 Update all callers and users.
8678 2001-01-25 Martin Buchholz <martin@xemacs.org>
8680 Alignment correctness for flexible arrays.
8681 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
8682 Make alignment-correct. Add interesting comments.
8683 * alloc.c (size_vector):
8684 * alloc.c (make_vector_internal):
8685 * alloc.c (make_bit_vector_internal):
8686 * alloc.c (sweep_bit_vectors_1):
8687 * fns.c (size_bit_vector):
8688 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
8689 * window.c (sizeof_window_config_for_n_windows):
8690 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
8692 2001-01-24 Martin Buchholz <martin@xemacs.org>
8694 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
8696 2001-01-23 Andy Piper <andy@xemacs.org>
8698 * select.c (Fown_selection_internal): pass owned_p
8700 * select-msw.c (mswindows_own_selection): New Signature.
8702 * console.h (struct console_methods): add owned_p to
8705 * select-x.c (x_own_selection): pass owned_p
8706 (hack_motif_clipboard_selection): use owned_p
8707 (vars_of_select_x): new variable -
8708 x_selection_strict_motif_ownership.
8710 2001-01-23 Martin Buchholz <martin@xemacs.org>
8712 * specifier.h (specifier_data_offset): Remove pointless parens.
8713 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
8715 2001-01-24 Martin Buchholz <martin@xemacs.org>
8717 Make Lisp_Object sizeof methods be alignment-correct.
8718 pdump must restore objects to the same alignment as the C compiler
8719 assumes. It really matters on SGIs.
8720 * lstream.c (aligned_sizeof_lstream): New.
8721 (sizeof_lstream): Use aligned_sizeof_lstream.
8722 (Lstream_new): Likewise.
8723 * opaque.c (aligned_sizeof_opaque): New.
8724 (sizeof_opaque): Use aligned_sizeof_opaque.
8725 (make_opaque): Likewise.
8726 * specifier.c (aligned_sizeof_specifier): New.
8727 (sizeof_specifier): Use aligned_sizeof_specifier.
8728 (make_specifier_internal): Likewise.
8730 2001-01-23 Martin Buchholz <martin@xemacs.org>
8732 * lstream.h (struct lstream): Use max_align_t for trailing data.
8733 * specifier.h (struct Lisp_Specifier): Likewise.
8735 2001-01-22 Martin Buchholz <martin@xemacs.org>
8737 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8738 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8739 (CCL_SUSPEND): Likewise.
8740 (CCL_INVALID_CMD): Likewise.
8741 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8742 (ccl_driver): Likewise.
8743 (CCL_WRITE_CHAR): Macro hygiene.
8744 (CCL_WRITE_STRING): Macro hygiene.
8746 2001-01-22 Martin Buchholz <martin@xemacs.org>
8748 Port "portable" dumper to SunOS 4 and HP-UX.
8749 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8750 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8751 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8753 2001-01-22 Martin Buchholz <martin@xemacs.org>
8755 * lisp.h (ALIGNOF): A better definition for C++.
8757 2001-01-20 Martin Buchholz <martin@xemacs.org>
8760 Fix printf warnings: int format, long int arg.
8761 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8762 (PUSH_FAILURE_POINT): Use correct printf formats.
8763 (POP_FAILURE_POINT): Use correct printf formats.
8764 Use do {...} while (0)
8766 2001-01-20 Martin Buchholz <martin@xemacs.org>
8768 * XEmacs 21.2.42 "Poseidon" is released.
8770 2001-01-20 Martin Buchholz <martin@xemacs.org>
8772 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8774 2001-01-19 Martin Buchholz <martin@xemacs.org>
8776 De-kludgify FIXED_TYPE free list frobbing.
8777 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8778 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8779 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8780 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8781 * alloc.c (LRECORD_FREE_P): New.
8782 * alloc.c (MARK_LRECORD_AS_FREE): New.
8783 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8784 * alloc.c (STRUCT_FREE_P): Deleted.
8785 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8786 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8787 * alloc.c (STRING_CHARS_FREE_P): New.
8788 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8789 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8790 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8791 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8792 * alloc.c (resize_string): Use new definitions.
8793 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8794 * alloc.c (verify_string_chars_integrity): Use new definitions.
8795 * alloc.c (compact_string_chars): Use new definitions.
8796 * alloc.c: Update monster comments.
8797 * lrecord.h (lrecord_type): Add some new lrecord types for
8800 2001-01-18 Martin Buchholz <martin@xemacs.org>
8802 Improve alignment hackery.
8803 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8804 (max_align_t): Moved from opaque.h - general purpose.
8805 (ALIGN_PTR): Use size_t, not long.
8806 * opaque.h (max_align_t): Move to lisp.h.
8808 2001-01-18 Norbert Koch <nk@LF.net>
8810 * gui.h: Fix and add prototypes to fix build problems.
8812 2001-01-18 Martin Buchholz <martin@xemacs.org>
8814 temacs is going away, so `dump-temacs' is now a bad name.
8815 * .dbxrc (dump-temacs): Rename to `dmp'.
8816 * .gdbinit (dump-temacs): Rename to `dmp'.
8818 2001-01-17 Andy Piper <andy@xemacs.org>
8820 * glyphs.c (print_image_instance): comment to make martin happy.
8822 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8825 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8827 (mswindows_tab_control_redisplay): warning suppression.
8829 * glyphs-widget.c (widget_update): re-write to cope with updated
8831 (widget_instantiate): use new gui_item functions.
8832 (tab_control_update): deleted.
8833 (progress_gauge_update): deleted.
8834 (image_instantiator_progress_guage): take out update reference.
8835 (image_instantiator_tree_view): ditto.
8836 (image_instantiator_tab_control): ditto.
8838 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8840 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8841 return whether anything was changed.
8842 (update_gui_item_keywords): as it sounds.
8844 * gui.h: declare widget_gui_parse_item_keywords.
8846 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8847 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8849 2001-01-17 Martin Buchholz <martin@xemacs.org>
8851 * XEmacs 21.2.41 "Polyhymnia" is released.
8853 2001-01-16 Didier Verna <didier@xemacs.org>
8855 * glyphs.c (image_instantiate): don't use fallbacks when
8856 instantiating a face's background pixmap by inheritance.
8858 2001-01-14 Mike Sperber <mike@xemacs.org>
8860 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8861 Conditionalize accordingly.
8863 2001-01-16 Martin Buchholz <martin@xemacs.org>
8865 * dumper.c (pdump_file_get): Fix a compiler warning.
8867 2001-01-15 Martin Buchholz <martin@xemacs.org>
8869 Make Purify happy when pdumping.
8870 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8871 iniitalizing all bits of new lisp object memory.
8872 * symbols.c (Fmake_local_variable): Likewise.
8873 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8874 * symbols.c (Fdefvaralias): Likewise.
8875 * mule-charset.c (vars_of_mule_charset): Likewise.
8877 2001-01-15 Martin Buchholz <martin@xemacs.org>
8878 Add the `-nd' flag when running pre-dump operations under the debugger.
8879 * .dbxrc (run-temacs): Add `-nd'.
8880 * .dbxrc (update-elc): Likewise.
8881 * .dbxrc (dump-temacs): Likewise.
8882 * .gdbinit (run-temacs): Likewise.
8883 * .gdbinit (check-temacs): Likewise.
8884 * .gdbinit (update-elc): Likewise.
8885 * .gdbinit (dump-temacs): Likewise.
8887 2001-01-14 Martin Buchholz <martin@xemacs.org>
8889 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8890 export OBJECT_MODE=64
8891 configure --pdump --use-union-type=no
8892 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8893 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8895 * miscplay.c (sndcnv8U_2mono):
8896 Avoid two uses of `++' in the same expression.
8897 Suppresses a GCC warning.
8899 2001-01-13 Martin Buchholz <martin@xemacs.org>
8901 Make sure future compilers don't miscompile alloc.c.
8903 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8904 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8906 2001-01-12 Martin Buchholz <martin@xemacs.org>
8908 * dumper.c: A little post-pdump-rename comment fixup.
8910 2001-01-09 Jerry James <james@eecs.ku.edu>
8912 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8914 2001-01-13 Martin Buchholz <martin@xemacs.org>
8916 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8920 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8923 replace_symbol pdump_wire_lists pdump_weak_object_chains
8924 replace_symbol pdump_wire_list dump_add_weak_object_chain
8926 replace_symbol pdump_wires pdump_root_objects
8927 replace_symbol pdump_wire dump_add_root_object
8929 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8930 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8932 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8933 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8934 replace_symbol dumpstructinfo pdump_root_struct_ptr
8935 replace_symbol dumpstruct dump_add_root_struct_ptr
8937 replace_symbol dumpopaque dump_add_opaque
8938 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8939 replace_symbol dumpopaqueinfos pdump_opaques
8940 replace_symbol dumpopaqueinfo pdump_opaque
8942 replace_symbol nb_structdump nb_root_struct_ptrs
8943 replace_symbol nb_opaquedump nb_opaques
8945 replace_symbol align_table pdump_align_table
8946 replace_symbol dump_header pdump_header
8948 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8949 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8952 2001-01-12 Martin Buchholz <martin@xemacs.org>
8954 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8955 optimizing bytecount_to_charcount().
8957 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8960 (HAVE_DLFCN_H): Removed.
8961 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8963 2001-01-06 Martin Buchholz <martin@xemacs.org>
8965 Portable dumper maintainability improvements.
8966 * alloc.c (staticpro):
8967 * alloc.c (staticpro_nodump):
8968 * alloc.c (garbage_collect_1):
8969 * alloc.c (reinit_alloc_once_early):
8970 * alloc.c (init_alloc_once_early):
8971 * alloc.c: Move dumper functions to alloc.c.
8972 * dumper.c (pdump_backtrace):
8973 * dumper.c (pdump_dump_structs):
8974 * dumper.c (pdump_dump_opaques):
8975 * dumper.c (pdump_dump_rtables):
8976 * dumper.c (pdump_dump_wired):
8978 * dumper.c (pdump_load_check):
8979 * dumper.c (pdump_load_finish):
8980 * dumper.c (pdump_file_unmap):
8981 * dumper.c (pdump_file_get):
8982 * dumper.c (pdump_resource_free):
8983 * dumper.c (pdump_resource_get):
8984 * dumper.c (pdump_file_free):
8985 * dumper.c (pdump_file_try):
8986 * dumper.c (pdump_load):
8987 Remove fixed size limits on staticpro(), staticpro_nodump(),
8988 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8989 Remove custom code for dumping lrecord_implementations_table - use
8991 Remove (most of the) custom code for dumping staticpros - dump it
8992 like any other dynarr.
8994 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8995 * dumper.c: Moved functions from alloc.c.
8996 * alloc.c (dumpstruct): Moved to dumper.c.
8997 * alloc.c (dumpopaque): Likewise.
8998 * alloc.c (pdump_wire): Likewise.
8999 * alloc.c (pdump_wire_list): Likewise.
9001 * lisp.h (Dynarr_sizeof): New.
9002 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9003 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9004 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9006 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9007 * lisp.h (dumpopaque): ditto.
9008 * lisp.h (pdump_wire): ditto.
9009 * lisp.h (pdump_wire_list): ditto.
9011 2001-01-09 Martin Buchholz <martin@xemacs.org>
9013 * make-src-depend (PrintPatternDeps):
9014 Use `sort' to make output independent of perl version.
9016 2001-01-08 Martin Buchholz <martin@xemacs.org>
9019 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9020 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9022 2001-01-03 Didier Verna <didier@xemacs.org>
9024 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9025 that `focus_frame' is alive before thinking of calling
9026 `redisplay_redraw_cursor' on it.
9028 2001-01-08 Martin Buchholz <martin@xemacs.org>
9030 * XEmacs 21.2.40 is released.
9032 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9034 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9036 2001-01-06 Martin Buchholz <martin@xemacs.org>
9038 * alloc.c (dbg_valmask): Make const.
9039 * alloc.c (dbg_typemask): Make const.
9040 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9041 * alloc.c (dbg_valbits): Make const.
9042 * alloc.c (dbg_gctypebits): Make const.
9044 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9046 * redisplay-x.c (x_bevel_area):
9047 redisplay.h (struct rune):
9048 Typo fixes in comments.
9050 2001-01-05 Andy Piper <andy@xemacs.org>
9052 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9055 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9057 2001-01-05 Martin Buchholz <martin@xemacs.org>
9059 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9061 * mule-ccl.c (stack_idx_of_map_multiple):
9062 Non const global data must not be initialized!
9063 Found by MIYASHITA Hisashi.
9065 2001-01-02 Andy Piper <andy@xemacs.org>
9067 * frame.c (change_frame_size): make sure frame size is always
9070 * glyphs.c (image_instance_layout): minor code reuse.
9072 * window.c (Fcurrent_window_configuration): revert previous
9075 2001-01-02 Martin Buchholz <martin@xemacs.org>
9078 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9080 2000-12-31 Andy Piper <andy@xemacs.org>
9082 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9083 when widget gets unmapped.
9085 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9086 function. Make sure widgets losing focus don't just drop it.
9087 (handle_focus_event_1): record the widget with focus.
9089 2000-12-31 Andy Piper <andy@xemacs.org>
9091 * window.c (allocate_window): use
9092 make_image_instance_cache_hash_table.
9093 (make_dummy_parent): ditto.
9094 (Fset_window_configuration): ditto.
9096 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9098 * glyphs.c (process_image_string_instantiator): use
9100 (get_image_instantiator_governing_domain): ditto.
9101 (normalize_image_instantiator): ditto.
9102 (instantiate_image_instantiator): ditto.
9103 (make_image_instance_1): ditto.
9104 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9105 (instantiator_eq_equal): new function for use with instance hash
9107 (instantiator_eq_hash): ditto.
9108 (make_image_instance_cache_hash_table): create a suitable hash
9109 table for storing image instances.
9111 * elhash.h (hash_table_weakness): new internal weakness type
9112 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9113 declare new functions.
9115 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9116 another weakness type for glyphs.
9117 (make_standard_lisp_hash_table): new function split out from
9118 make_general_lisp_hash_table.
9119 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9120 (hash_table_instantiate): ditto.
9121 (Fmake_hash_table): ditto.
9123 2000-12-31 Martin Buchholz <martin@xemacs.org>
9125 * XEmacs 21.2.39 is released.
9127 2000-12-29 Andy Piper <andy@xemacs.org>
9129 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9131 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9132 the frame has changed so that we pick up geometry changes such as
9135 2000-12-28 Andy Piper <andy@xemacs.org>
9137 * lastfile.c (my_ebss): make a char array so we can pad the
9138 bss. Fixes cygwin unexec.
9140 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9142 2000-12-26 Andy Piper <andy@xemacs.org>
9144 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9145 comments and try and be more precise about a non-/SIGIO world.
9146 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9149 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9150 we don't normalize to zero width or height.
9152 2000-12-24 Andy Piper <andy@xemacs.org>
9154 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9156 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9158 * s/sco5.h: SCO 5 has pty support.
9160 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9162 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9163 input-method-xlib.c contains whole contents of input-method-xfs.c,
9164 so we can use input-method-xlib.c's code for USE_XFONTSET
9166 * input-method-xfs.c: removed.
9168 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9170 * file-coding.h (enum coding_category_type): reorder enumerators to
9171 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9172 (now one greater than largest real coding_category_type enumerator).
9173 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9174 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9175 Fcoding_category_list, Fset_coding_priority_list,
9176 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9177 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9179 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9181 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9182 * redisplay-output.c (redisplay_output_window): Clear top of window
9183 when face is changed.
9184 * redisplay-x.c (x_redraw_exposed_window): Call
9185 redisplay_clear_top_of_window.
9186 * redisplay.h: Publish redisplay_clear_top_of_window.
9188 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9190 * buffer.c (Fkill_buffer): Map over all devices.
9191 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9192 (list_windows): New function.
9193 (list_all_windows): Ditto.
9194 (Freplace_buffer_in_windows): Use them.
9196 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9198 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9199 (Fopen_database): Use `db_create' instead of `db_open'.
9200 (syms_of_database): Initialize Qqueue.
9202 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9204 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9205 buffer_local_face_property.
9206 * buffer.h (struct buffer): New member buffer_local_face_property.
9207 * window.c (Fset_window_buffer): Mark window's face as changed
9208 when buffer has buffer local face.
9209 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9210 * objects.c (color_after_change): Set buffer_local_face_property
9211 when locale of face specifier is buffer.
9212 * objects.c (font_after_change): Ditto.
9213 * objects.c (face_boolean_after_change): Ditto.
9214 * glyphs.c (image_after_change): Ditto.
9216 2000-12-09 Dan Holmsand <dan@eyebee.com>
9218 * nt.c (mswindows_fstat): Report file permissions, volume serial
9219 number, etc. Code adapted from FSF Emacs 20.7.
9221 2000-12-09 Dan Holmsand <dan@eyebee.com>
9223 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9224 of stat when we don't have symbolic links, to make sure
9225 mswindows_stat is called on mswindows.
9227 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9229 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9231 2000-12-12 Martin Buchholz <martin@xemacs.org>
9233 * doprnt.c (emacs_doprnt_1): More printing fixes.
9234 Make printing of numbers compatible with libc and FSF Emacs.
9235 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9236 Use the system printf to do most of the hard work of formatting,
9237 instead of doprnt_1().
9238 Calculate memory to allocate for format string.
9239 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9240 (doprnt_1): Cleaner code and documentation.
9242 2000-12-01 Jerry James <james@eecs.ukans.edu>
9244 * Makefile.in.in: Use the loop variable to install headers.
9246 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9248 * window.c (Fsplit_window): Don't invalidate face cache.
9250 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9252 * minibuf.c (Fall_completions): Undo the previous change
9253 which removed checking elements start with space.
9255 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9257 * mule-canna.c: Didier suppression.
9259 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9261 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9262 (warning suppression). Add English comment translations.
9264 2000-12-05 Martin Buchholz <martin@xemacs.org>
9266 * unexelfsgi.c (unexec): Better test for mmap failure.
9268 2000-12-05 Martin Buchholz <martin@xemacs.org>
9270 * XEmacs 21.2.38 is released.
9272 2000-12-05 Martin Buchholz <martin@xemacs.org>
9274 * redisplay.c (bar-cursor): Make a user variable.
9276 * symsinit.h: Add init_postgresql_from_environment.
9278 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9280 * regex.c: Convert to clean C.
9282 2000-12-05 Dan Holmsand <dan@eyebee.com>
9285 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9287 (sys_readlink): renamed to system_readlink to avoid conflict with
9288 the other sys_readlink.
9290 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9292 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9294 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9296 * postgresql.c (init_postgresql_from_environment): new function.
9297 (vars_of_postgresql): Move code initializing Lisp variables out and
9298 into init_postgresql_from_environment.
9299 emacs.c (main_1): Call init_postgresql_from_environment if and only
9300 if running a dumped XEmacs.
9302 2000-08-31 Dan Holmsand <dan@eyebee.com>
9304 * buffer.c: Make find-file-compare-truenames default to true on
9307 * realpath.c (win32_abs_start):
9309 (win32_readlink): New functions.
9310 (xrealpath): Return really real filenames on windows.
9312 * fileio.c (Ffile_truename): Make file-truename work on windows.
9314 2000-11-29 Didier Verna <didier@xemacs.org>
9316 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9317 * faces.c (update_face_cachel_data): use it.
9318 * faces.c (add_face_cachel): use it. Complete background pixmap
9319 frobbing in face cache if `update_face_cachel_data' has not done so.
9321 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9323 * search.c (string_match_1): Don't set last_thing_searched
9326 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9328 * buffer.c: Include casetab.h
9329 (common_init_complex_vars_of_buffer): Use new case-table object.
9330 * buffer.h: Include casetab.h
9331 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9332 (DOWNCASE_TABLE_OF): Ditto.
9333 * bufslots.h: Remove char-tables and add case-table.
9334 * casetab.c: Include casetab.h
9335 (CASE_TABLE_P): Removed.
9336 (mark_case_table): New function.
9337 (allocate_case_table): New function.
9338 (Fcase_table_p): Use new case-table.
9339 (case_table_char): New function.
9340 (Fget_case_table): Ditto.
9341 (Fput_case_table): Ditto.
9342 (Fput_case_table_pair): Ditto.
9343 (Fcopy_case_table): Ditto.
9344 (Fcurrent_case_table): Return case-table.
9345 (Fstandard_case_table): Return case-table.
9346 (Fset_case_table): Fix doc-string.
9347 (set_case_table): Use case-table
9348 (syms_of_casetab): DEFSUBR new functions.
9349 (complex_vars_of_casetab): Set up standard case-table.
9350 * casetab.h: New file.
9351 * editfns.c: Include casetab.h
9352 (Fcompare_buffer_substrings): Use case-table.
9353 * inline.c: Include casetab.h
9354 * lisp.h: Remove bogus extern.
9355 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9356 * search.c: Include casetab.h
9357 (TRANSLATE_ASCII): Removed.
9358 (TRANSLATE): Unconditionally translate character.
9359 (looking_at_1): Use case-table.
9360 (string_match_1): Ditto.
9361 (fast_string_match): Ditto.
9362 (search_command): Ditto.
9363 (search_buffer): Separate boyer_moore. Check whether
9364 boyer_moore is possible.
9365 (simple_search): New function.
9366 (boyer_moore): Separated from search_buffer. Translate char.
9368 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9370 * regex.c (RE_TR_ASCII): Removed.
9371 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9372 (PATFETCH): Call PATFETCH_RAW.
9373 (PATFETCH_RAW): Fetch Emchar.
9374 (PATUNFETCH): Decrement charptr.
9375 (GET_BUFFER_SPACE): Rename b to buf_end.
9377 (BUF_PUSH_2): Ditto.
9378 (BUF_PUSH_3): Ditto.
9379 (EXTEND_BUFFER): Ditto.
9380 (SET_LIST_BIT): Ditto.
9381 (regex_compile): Ditto. Translate non ASCII char.
9382 (compile_range): Ditto.
9383 (re_search_2): Ditto.
9384 (re_match_2_internal): Compare Emchar.
9385 (bcmp_translate): Ditto.
9387 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9389 * lisp.h (basic char/int typedefs): comment improvement.
9391 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9393 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9394 unstomp inhibit_site_lisp. Improve comments.
9396 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9398 * mule-charset.c (Fcharset_property): improve type checking, comments.
9400 2000-11-28 Andy Piper <andy@xemacs.org>
9402 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9403 clipped display for windows in the gutter also.
9404 (redisplay_display_boxes_in_window_p): change semantics of return
9405 codes to be more intuitive.
9407 * gutter.h: declare display_boxes_in_gutter_p.
9409 * gutter.c (display_boxes_in_gutter_p): new function for
9412 2000-11-22 Andy Piper <andy@xemacs.org>
9414 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9417 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9419 * callproc.c (Fold_call_process_internal):
9420 * gpm.c (Freceive_gpm_event):
9421 (tty_get_foreign_selection): Might be just warning supression.
9422 * fileio.c (Fwrite_region_internal):
9423 (Fset_visited_file_modtime):
9424 * keymap.c (event_matches_key_specifier_p):
9425 Initialize GCPROed variable.
9427 * menubar-x.c (command_builder_find_menu_accelerator):
9428 Initialize before use.
9430 2000-11-23 Andy Piper <andy@xemacs.org>
9432 * unexcw.c (unexec): make the resulting executable executable.
9434 2000-11-21 Martin Buchholz <martin@xemacs.org>
9436 * doc.c (get_doc_string):
9437 Use size_t, not int, for result of XSTRING_LENGTH.
9439 * cmds.c (Fdelete_char):
9440 * cmds.c (Fpoint_at_eol):
9441 * cmds.c (Fself_insert_command):
9442 Use EMACS_INT, not int, for result of XINT.
9443 Someday, someone will want to insert more than 2**31 identical characters.
9445 * cmds.c (Fdelete_char):
9446 * cmds.c (Fdelete_backward_char):
9447 * syntax.c (Fforward_word):
9448 * syntax.c (Fforward_comment):
9449 Make COUNT argument optional, for consistency with forward-char et al.
9451 2000-11-22 Martin Buchholz <martin@xemacs.org>
9454 * print.c (long_to_string):
9455 Return a useful value: the pointer at end of data written.
9458 Use `static const char * const' for constant strings.
9459 (union printf_arg): Delete `i', `ui' members.
9462 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9463 Do all printf-ing via the `l' specifier.
9464 Use EMACS_INT instead of int.
9467 2000-11-20 Didier Verna <didier@xemacs.org>
9469 * faces.c (update_face_cachel_data): don't frob the background
9470 pixmap when the window is being created. The face is needed but
9473 2000-11-20 Andy Piper <andy@xemacs.org>
9475 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9476 messing with a debug environment.
9478 2000-11-20 Martin Buchholz <martin@xemacs.org>
9480 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9482 2000-11-20 Martin Buchholz <martin@xemacs.org>
9484 * casetab.c (Fcase_table_p): Fix compile error and crash.
9486 2000-11-18 Philip Aston <philipa@mail.com>
9488 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9490 2000-11-18 Martin Buchholz <martin@xemacs.org>
9492 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9493 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9495 2000-11-17 Martin Buchholz <martin@xemacs.org>
9497 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9498 * unexelf.c: Use HAVE_ELF_H.
9499 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9500 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9501 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9502 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9504 So this is an unexelfsgi.c from a different line of development.
9506 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9508 * regex.c (RE_TR_ASCII): New function.
9509 (RE_TRANSLATE): Call it.
9511 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9513 * buffer.h (TRT_TABLE_OF): Remove assert.
9514 (IN_TRT_TABLE_DOMAIN): Removed.
9516 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9518 * free-hook.c (log_gcpro):
9519 (show_gcprohist): Add support for GCPRO5.
9521 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9523 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9525 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9527 * symeval.h: Declare flush_all_buffer_local_cache.
9529 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9530 (flush_buffer_local_cache): Added.
9531 (flush_all_buffer_local_cache): Added.
9533 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9535 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9536 (pdump_dump_data): Ditto.
9537 (pdump_reloc_one): Ditto.
9538 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9542 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9544 * buffer.c: Remove if 0'ed entry.
9545 * buffer.h: Rewrite TRT to use char-table.
9546 * bufslots.h: Remove mirror tables.
9547 * casetab.c: Remove mirror tables.
9548 (CASE_TABLE_P): New macro.
9549 (Fcase_table_p): Element of a case table is string or char-table.
9550 (make_mirror_trt_table): Removed.
9551 (set_case_table): Setup char-table from strings for backward
9553 * dired.c (Fdirectory_files):
9554 * dired-msw.c: (mswindows_get_files):
9555 * lisp.h: Change prototype of re_pattern_buffer.
9556 * regex.c: (RE_TRANSLATE): New macro.
9557 (TRANSLATE_P): Ditto.
9558 Change translate to type RE_TRANSLATE_TYPE.
9559 * regex.h: Define RE_TRANSLATE_TYPE
9560 * search.c (TRANSLATE): New macro.
9561 (TRANSLATE_ASCII): New macro.
9562 Translate table is changed to Lisp_Object.
9563 (signal_failure): Inhibit return.
9565 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9572 Do UNGCPRO before return.
9574 2000-11-14 Martin Buchholz <martin@xemacs.org>
9576 * XEmacs 21.2.37 is released.
9578 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9580 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9581 Add comments about discarded return value.
9583 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9586 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9588 2000-10-27 Andy Piper <andy@xemacs.org>
9590 * gutter.c (Fset_default_gutter_position): default left and right
9592 (calculate_gutter_size): calculate resonable heuristic for left
9593 and right gutter sizes.
9594 (specifier_vars_of_gutter): change left and right gutter sizes to
9596 (calculate_gutter_size_from_display_lines): new function.
9597 (output_gutter): check for resizing on left and right gutters.
9598 (clear_gutter): don't special case top and left gutters.
9599 (specifier_vars_of_gutter): use new signature for
9600 set_specifier_caching.
9602 * glyphs-x.c (x_redisplay_widget): spelling fix.
9603 * glyphs.c (specifier_vars_of_glyphs):
9604 * menubar.c (specifier_vars_of_menubar):
9605 * redisplay.c (specifier_vars_of_redisplay):
9606 * toolbar.c (specifier_vars_of_toolbar):
9607 * window.c (specifier_vars_of_window):
9608 * scrollbar.c (specifier_vars_of_scrollbar):
9609 (complex_vars_of_scrollbar): use new signature for
9610 set_specifier_caching.
9612 * specifier.c (set_specifier_caching): include recompute flag.
9613 (recompute_one_cached_specifier_in_window): always recompute if
9615 (recompute_one_cached_specifier_in_frame): ditto.
9617 * specifier.h (struct specifier_caching): add recompute flag.
9619 2000-10-24 Andy Piper <andy@xemacs.org>
9621 * unexcw.c (copy_executable_and_dump_data_section): add new
9622 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
9625 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9627 * console-x.h (x_device): New member modifier_release_time.
9628 * event-Xt.c (x_handle_sticky_modifiers):
9629 Bound interval modifier keys are sticky.
9630 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
9631 * events.h: extern it.
9633 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9635 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
9637 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9639 * event-stream.c (execute_command_event): Preserve current_events
9640 and the like when event is misc-user-event.
9641 Inhibit quit during the call to maybe_echo_keys.
9643 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9645 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
9646 symlink when buffer is killed.
9647 (inhibit_clash_detection): New variable.
9649 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9651 * console.c (Fset_input_method): Trigger redisplay on tty.
9653 2000-11-07 Martin Buchholz <martin@xemacs.org>
9655 * process.c (Fprocess_status): Revert to previous behavior:
9656 (process-status "nosuchprocess") ==> nil
9658 2000-11-06 Martin Buchholz <martin@xemacs.org>
9660 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
9661 Work around another GCC 2.95.2 optimizer bug.
9663 2000-11-02 Martin Buchholz <martin@xemacs.org>
9665 * process.c (Fget_process): Use LIST_LOOP_2.
9666 (kill_buffer_processes): Use LIST_LOOP_2.
9668 * minibuf.c (Fall_completions):
9669 Delete old non-functional code for FSF fourth argument.
9671 * frame.c (frame_matches_frame_spec):
9672 Renamed from `frame_matches_frametype'. Update all callers.
9673 (device_matches_device_spec):
9674 Renamed from 'device_matches_console_spec'. Update all callers.
9676 * doc.c (Fsubstitute_command_keys):
9677 Remove buffer overflow crash. Small code cleanups.
9679 * casetab.c (check_case_table): Simpler code.
9681 * window.c (Freplace_buffer_in_windows):
9682 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
9683 (and similar implementation) as Fdelete_windows_on.
9686 * alloc.c (Fmake_list):
9687 * alloc.c (make_vector):
9688 * alloc.c (Fmake_vector):
9689 * alloc.c (make_bit_vector):
9690 * alloc.c (Fmake_bit_vector):
9691 * alloc.c (Fbit_vector):
9692 * alloc.c (Fmake_string):
9693 * alloc.c (Fpurecopy):
9694 * alloc.c (Fmemory_limit):
9696 * buffer.c (Fget_buffer):
9697 * buffer.c (Fkill_buffer):
9698 * buffer.c (complex_vars_of_buffer):
9699 * bytecode.c (Fcompiled_function_stack_depth):
9700 * callint.c (Fprefix_numeric_value):
9702 * event-stream.c (Fread_key_sequence):
9704 * casetab.c (Fcase_table_p):
9705 * casetab.c (check_case_table):
9706 * casetab.c (Fset_case_table):
9707 * casetab.c (Fset_standard_case_table):
9709 * chartab.c (Fchar_table_type):
9710 * chartab.c (Freset_char_table):
9711 * chartab.c (Fget_char_table):
9712 * chartab.c (Fget_range_char_table):
9713 * chartab.c (Fput_char_table):
9714 * chartab.c (Fmap_char_table):
9715 * chartab.c (Fcategory_table_p):
9716 * chartab.c (Fcheck_category_at):
9717 * chartab.c (Fchar_in_category_p):
9718 * chartab.c (Fcategory_table):
9719 * chartab.c (Fcopy_category_table):
9720 * chartab.c (Fset_category_table):
9721 * chartab.c (Fcategory_designator_p):
9722 * chartab.c (Fcategory_table_value_p):
9723 * cmds.c (Fdelete_char):
9724 * cmds.c (Fdelete_backward_char):
9725 * cmds.c (Fself_insert_command):
9726 * cmds.c (Fself_insert_internal):
9727 * console.c (Fvalid_console_type_p):
9728 * console.c (Fcdfw_console):
9729 * console.c (Fconsole_type):
9730 * console.c (Fconsole_name):
9731 * console.c (Fconsole_device_list):
9732 * console.c (Fconsole_on_window_system_p):
9736 * data.c (Fsubr_interactive):
9737 * data.c (Fchar_to_int):
9738 * data.c (Fint_to_char):
9741 * data.c (Fnumber_to_string):
9742 * data.c (Fstring_to_number):
9744 * database.c (mark_database):
9745 * database.c (finalize_database):
9746 * database.c (Fdatabase_live_p):
9747 * database.c (Fdatabasep):
9748 * device-x.c (Fx_get_resource):
9749 * device.c (Fdfw_device):
9751 * dired.c (Ffile_name_completion):
9752 * dired.c (Ffile_name_all_completions):
9753 * dired.c (Fuser_name_completion):
9754 * dired.c (Fuser_name_completion_1):
9755 * dired.c (Fuser_name_all_completions):
9756 * doc.c (Fdocumentation):
9757 * doc.c (Fdocumentation_property):
9758 * doc.c (Fsubstitute_command_keys):
9760 * editfns.c (Fchar_to_string):
9761 * editfns.c (Fstring_to_char):
9762 * editfns.c (Ftemp_directory):
9763 * editfns.c (Finsert_char):
9764 * editfns.c (Fbuffer_substring_no_properties):
9765 * editfns.c (Fnarrow_to_region):
9766 * editfns.c (Fchar_equal):
9767 * editfns.c (Fchar_Equal):
9768 * editfns.c (Ftranspose_regions):
9769 * emacs.c (Fdump_emacs):
9771 * eval.c (Fcommand_execute):
9772 * eval.c (Fautoload):
9773 * eval.c (Fbacktrace):
9774 * eval.c (Fbacktrace_frame):
9776 * events.c (Fcopy_event):
9777 * events.c (Fcharacter_to_event):
9778 * events.c (Fevent_button):
9779 * events.c (Fevent_process):
9781 * extents.c (Fnext_extent_change):
9782 * extents.c (Fextent_property):
9784 * faces.c (Fmake_face):
9786 * file-coding.c (Fencode_shift_jis_char):
9787 * file-coding.c (Fencode_big5_char):
9788 * fileio.c (Ffile_name_directory):
9789 * fileio.c (Ffile_name_nondirectory):
9790 * fileio.c (Ffile_name_as_directory):
9791 * fileio.c (Fdirectory_file_name):
9792 * fileio.c (Ffile_truename):
9793 * fileio.c (Fsubstitute_in_file_name):
9794 * fileio.c (Ffile_modes):
9795 * fileio.c (Fset_file_modes):
9796 * fileio.c (Fset_default_file_modes):
9797 * fileio.c (Fverify_visited_file_modtime):
9798 * floatfns.c (Facos):
9799 * floatfns.c (Fasin):
9800 * floatfns.c (Fatan):
9801 * floatfns.c (Fcos):
9802 * floatfns.c (Fsin):
9803 * floatfns.c (Ftan):
9804 * floatfns.c (Fbessel_j0):
9805 * floatfns.c (Fbessel_j1):
9806 * floatfns.c (Fbessel_jn):
9807 * floatfns.c (Fbessel_y0):
9808 * floatfns.c (Fbessel_y1):
9809 * floatfns.c (Fbessel_yn):
9810 * floatfns.c (Ferf):
9811 * floatfns.c (Ferfc):
9812 * floatfns.c (Flog_gamma):
9813 * floatfns.c (Fexp):
9814 * floatfns.c (Fexpt):
9815 * floatfns.c (Flog):
9816 * floatfns.c (Flog10):
9817 * floatfns.c (Fsqrt):
9818 * floatfns.c (Fcube_root):
9819 * floatfns.c (Facosh):
9820 * floatfns.c (Fasinh):
9821 * floatfns.c (Fatanh):
9822 * floatfns.c (Fcosh):
9823 * floatfns.c (Fsinh):
9824 * floatfns.c (Ftanh):
9825 * floatfns.c (Fabs):
9826 * floatfns.c (Ffloat):
9827 * floatfns.c (Flogb):
9828 * floatfns.c (Fceiling):
9829 * floatfns.c (Ffloor):
9830 * floatfns.c (Fround):
9831 * floatfns.c (Ftruncate):
9832 * floatfns.c (Ffceiling):
9833 * floatfns.c (Fffloor):
9834 * floatfns.c (Ffround):
9835 * floatfns.c (Fftruncate):
9836 * fns.c (Fstring_equal):
9837 * fns.c (Fstring_lessp):
9842 * fns.c (Fsubstring):
9844 * fns.c (Fold_assoc):
9845 * fns.c (assoc_no_quit):
9847 * fns.c (Fold_assq):
9848 * fns.c (assq_no_quit):
9850 * fns.c (Fold_rassoc):
9852 * fns.c (Fold_rassq):
9853 * fns.c (rassq_no_quit):
9854 * fns.c (Fremassoc):
9855 * fns.c (remassoc_no_quit):
9857 * fns.c (remassq_no_quit):
9858 * fns.c (Fremrassoc):
9859 * fns.c (Fremrassq):
9860 * fns.c (remrassq_no_quit):
9862 * fns.c (Fplist_get):
9863 * fns.c (Fplist_put):
9864 * fns.c (Fplist_remprop):
9865 * fns.c (Fplist_member):
9866 * fns.c (Flax_plist_get):
9867 * fns.c (Flax_plist_put):
9868 * fns.c (Flax_plist_remprop):
9869 * fns.c (Flax_plist_member):
9871 * fns.c (Fold_equal):
9873 * fns.c (Fbase64_encode_region):
9874 * fns.c (Fbase64_encode_string):
9875 * fns.c (Fbase64_decode_region):
9877 * frame.c (frame_matches_frame_spec):
9878 * frame.c (device_matches_device_spec):
9879 * frame.c (next_frame):
9880 * frame.c (previous_frame):
9881 * frame.c (Fnext_frame):
9882 * frame.c (Fprevious_frame):
9883 * frame.c (Fframe_property):
9884 * frame.c (Fset_frame_height):
9885 * frame.c (Fset_frame_size):
9889 * glyphs.c (decode_error_behavior_flag):
9890 * glyphs.c (Fmake_image_instance):
9891 * indent.c (Findent_to):
9892 * intl.c (Fignore_defer_gettext):
9893 * keymap.c (Fkeymapp):
9894 * keymap.c (Flookup_key):
9896 * lread.c (Fload_internal):
9897 * lread.c (Feval_buffer):
9898 * lread.c (Feval_region):
9899 * macros.c (Fexecute_kbd_macro):
9900 * marker.c (set_marker_internal):
9901 * marker.c (Fset_marker):
9902 * marker.c (set_marker_restricted):
9903 * marker.c (Fcopy_marker):
9904 * marker.c (noseeum_copy_marker):
9906 * menubar.c (Fpopup_menu):
9908 * mule-charset.c (Fcharset_name):
9909 * mule-charset.c (Fchar_charset):
9910 * mule-charset.c (Fchar_octet):
9911 * mule-charset.c (Fsplit_char):
9912 * mule-wnnfns.c (Fwnn_open):
9913 * mule-wnnfns.c (Fwnn_dict_comment):
9914 * mule-wnnfns.c (Fwnn_quit_henkan):
9915 * mule-wnnfns.c (Fwnn_word_toroku):
9916 * mule-wnnfns.c (Fwnn_word_sakujo):
9917 * mule-wnnfns.c (Fwnn_word_use):
9918 * mule-wnnfns.c (Fwnn_hindo_set):
9920 * objects.c (Fmake_color_instance):
9921 * objects.c (Fmake_font_instance):
9922 * print.c (Fwrite_char):
9924 * process.c (mark_process):
9925 * process.c (print_process):
9926 * process.c (get_process_from_usid):
9927 * process.c (Fprocessp):
9928 * process.c (Fprocess_live_p):
9929 * process.c (Fget_process):
9930 * process.c (Fget_buffer_process):
9931 * process.c (get_process):
9932 * process.c (Fprocess_id):
9933 * process.c (Fprocess_name):
9934 * process.c (Fprocess_command):
9935 * process.c (init_process_io_handles):
9936 * process.c (start_process_unwind):
9937 * process.c (Fstart_process_internal):
9938 * process.c (Fopen_multicast_group_internal):
9939 * process.c (Fset_process_window_size):
9940 * process.c (read_process_output):
9941 * process.c (send_process):
9942 * process.c (Fprocess_tty_name):
9943 * process.c (Fset_process_buffer):
9944 * process.c (Fprocess_buffer):
9945 * process.c (Fprocess_mark):
9946 * process.c (set_process_filter):
9947 * process.c (Fset_process_filter):
9948 * process.c (Fprocess_filter):
9949 * process.c (Fprocess_send_region):
9950 * process.c (Fprocess_send_string):
9951 * process.c (exec_sentinel):
9952 * process.c (Fset_process_sentinel):
9953 * process.c (Fprocess_sentinel):
9954 * process.c (status_notify):
9955 * process.c (Fprocess_status):
9956 * process.c (Fprocess_exit_status):
9957 * process.c (process_send_signal):
9958 * process.c (Fprocess_send_eof):
9959 * process.c (deactivate_process):
9960 * process.c (remove_process):
9961 * process.c (Fdelete_process):
9962 * process.c (kill_buffer_processes):
9963 * process.c (Fprocess_kill_without_query):
9964 * process.c (Fprocess_kill_without_query_p):
9966 * rangetab.c (Fget_range_table):
9967 * rangetab.c (Fput_range_table):
9968 * rangetab.c (Fremove_range_table):
9969 * rangetab.c (Fclear_range_table):
9971 * search.c (Fskip_chars_forward):
9972 * search.c (Fskip_chars_backward):
9973 * search.c (Fskip_syntax_forward):
9974 * search.c (Fskip_syntax_backward):
9975 * search.c (search_command):
9976 * search.c (Freplace_match):
9977 * search.c (Fregexp_quote):
9978 * select.c (Fown_selection_internal):
9979 * select.c (Fselection_owner_p):
9980 * select.c (Fselection_exists_p):
9981 * select.c (Fget_selection_internal):
9984 * symbols.c (Fintern):
9985 * symbols.c (Fintern_soft):
9986 * symbols.c (Funintern):
9987 * symbols.c (Fapropos_internal):
9988 * symbols.c (Fset_default):
9990 * syntax.c (Fsyntax_table_p):
9991 * syntax.c (Fcopy_syntax_table):
9992 * syntax.c (Fset_syntax_table):
9993 * syntax.c (Fchar_syntax):
9994 * syntax.c (syntax_match):
9995 * syntax.c (Fmatching_paren):
9996 * syntax.c (Fforward_word):
9997 * syntax.c (scan_lists):
9998 * syntax.c (Fscan_lists):
9999 * syntax.c (Fscan_sexps):
10000 * syntax.c (Fparse_partial_sexp):
10001 * toolbar.c (Fcheck_toolbar_button_syntax):
10004 * window.c (Fwindowp):
10005 * window.c (Fwindow_live_p):
10006 * window.c (Fwindow_point):
10007 * window.c (Fdelete_window):
10008 * window.c (Fnext_window):
10009 * window.c (Fprevious_window):
10010 * window.c (Fother_window):
10011 * window.c (window_loop):
10012 * window.c (Fget_lru_window):
10013 * window.c (Fsplit_window):
10014 * window.c (Fenlarge_window):
10015 * window.c (Fenlarge_window_pixels):
10016 * window.c (Fshrink_window):
10017 * window.c (Fshrink_window_pixels):
10018 * window.c (change_window_height):
10019 * window.c (Fwindow_configuration_p):
10020 * window.c (Fcurrent_window_configuration):
10022 * casefiddle.c (casify_object):
10023 * casefiddle.c (Fupcase):
10024 * casefiddle.c (Fdowncase):
10025 * casefiddle.c (Fcapitalize):
10026 * casefiddle.c (Fupcase_initials):
10027 * casefiddle.c (casify_region_internal):
10028 * casefiddle.c (casify_region):
10029 * casefiddle.c (Fupcase_region):
10030 * casefiddle.c (Fdowncase_region):
10031 * casefiddle.c (Fcapitalize_region):
10032 * casefiddle.c (Fupcase_initials_region):
10033 * casefiddle.c (Fupcase_word):
10034 * casefiddle.c (Fdowncase_word):
10035 * casefiddle.c (Fcapitalize_word):
10036 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10037 Replace 0 with '\0' when working with bytes.
10038 Replace initial "(" with "\(" in docstrings.
10040 2000-11-01 Martin Buchholz <martin@xemacs.org>
10042 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10044 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10046 2000-10-31 Martin Buchholz <martin@xemacs.org>
10048 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10050 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10052 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10055 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10057 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10058 (inhibit_auto_save_session): New variable.
10059 (vars_of_fileio): Declare and initialize them.
10060 * fileio.c (Fdo_auto_save): Don't create session file if
10061 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10063 2000-10-31 Martin Buchholz <martin@xemacs.org>
10065 * sgiplay.c (play_internal): C++ compilability.
10066 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10067 * callproc.c (Fold_call_process_internal):
10068 Remove unused vars `env', `first'.
10069 * scrollbar.c (update_scrollbar_instance):
10070 #### unused var `current_window'.
10071 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10072 etc. within #ifdef NOT_YET.
10073 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10074 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10075 * specifier.c (specifier_instance):
10076 #### unused var `tag'.
10077 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10079 2000-10-27 Martin Buchholz <martin@xemacs.org>
10081 * fns.c (Fbutlast):
10082 * fns.c (list_sort):
10083 * fns.c (Ffillarray):
10084 * fns.c (bytecode_nconc2):
10087 * fns.c (Fmapconcat):
10088 Be pedantically 64-bit correct. For the time when someone will
10089 want to have a list with length > 2**32.
10091 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10092 Work around MIPSpro compiler bug.
10094 * process-unix.c (unix_kill_child_process): Add snarky comment.
10095 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10097 * config.h.in: Oops, _getpt ==> _getpty
10099 2000-10-26 Martin Buchholz <martin@xemacs.org>
10103 Use void*, not char*, as return type of alloca().
10105 * alloc.c (free_marker): Side effect inside assert expression!
10107 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10109 * mule-charset.c (Fset_charset_ccl_program): To check
10110 if the given ccl program is valid, use setup_ccl_program()
10111 instead of CHECK_VECTOR().
10112 (Fmake_charset): Likewise.
10114 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10116 * faces.c (get_extent_fragment_face_cache_index):
10117 Fix cachel.merged_faces memory leak.
10119 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10121 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10122 Reset MSB of octets obtained by DECODE_SJIS
10123 because of the incompatibility with Emacs.
10124 (ccl_driver)<CCL_ENCODE_SJIS>:
10125 Set MSB of octets before passing them to
10126 ENCODE_SJIS because of the incompatibility
10129 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10131 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10132 (DECLARE_LRECORD): Undo the last change.
10133 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10135 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10137 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10138 the implementation to lrecord_implementations_table.
10140 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10142 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10143 initial value of `lrecord_type_##c_name' and
10144 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10145 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10146 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10147 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10148 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10150 2000-10-17 Martin Buchholz <martin@xemacs.org>
10152 * miscplay.c (sndcnv8S_2mono):
10153 (sndcnv2monounsigned):
10154 (sndcnvULaw_2linear):
10156 Remove implementation-defined behavior.
10158 2000-10-12 Martin Buchholz <martin@xemacs.org>
10160 * input-method-xlib.c: Warning suppression.
10162 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10164 * mule-ccl.c: Sync up with Emacs 21.0.90.
10165 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10167 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10169 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10170 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10171 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10172 leading char belongs to official 2-dimensional charset.
10173 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10174 write the given character as is. Otherwise,
10175 if it is a multibyte char, convert it by
10176 non_ascii_set_charptr_emchar, then write it.
10177 (CCL_WRITE_STRING): Likewise.
10178 (ccl_get_compiled_code): New function.
10179 (setup_ccl_program): When ccl_prog is invalid,
10181 (Fregister_code_conversion_map): New function.
10182 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10184 * mule-ccl.h: Sync up with Emacs 21.0.90.
10185 (Fregister_ccl_program): export it.
10187 * redisplay-msw.c (separate_textual_runs):
10188 If ccl program is not valid, don't do ccl conversion.
10190 * redisplay-x.c (separate_textual_runs): Ditto.
10192 * file-coding.c (Fmake_coding_system):
10193 When type is ccl and value is vector, register it
10194 with a proper symbol. And checks whether the
10195 given ccl program is valid.
10196 (mule_decode): When calling ccl_driver, if src indicates
10197 NULL pointer, set an empty string instead.
10198 (mule_encode): Likewise.
10200 2000-10-11 Martin Buchholz <martin@xemacs.org>
10202 The following large batch of changes gets us back to a state of
10203 C++ compilability. Extbyte is now a char, which means that
10204 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10206 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10208 * sound.c (Fplay_sound): Type correctness.
10210 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10211 (x_get_window_property): Type correctness.
10212 (receive_incremental_selection): unsigned char ==> Extbyte
10213 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10214 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10215 (Fx_store_cutbuffer_internal): Type correctness.
10217 * process-unix.c (try_to_initialize_subtty): Type correctness.
10219 * objects-x.c (x_print_color_instance): Type correctness.
10220 (x_print_font_instance): Type correctness.
10221 (x_list_fonts): SExtbyte ==> Extbyte.
10222 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10223 (x_find_charset_font): SExtbyte ==> Extbyte.
10224 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10225 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10226 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10227 Use bufbyte_strcmp.
10229 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10230 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10231 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10232 (BYTE_C0_P): Use bit ops for char-signedness safety.
10233 (BYTE_C1_P): Use bit ops for char-signedness safety.
10234 (CHARSET_BY_LEADING_BYTE):
10235 (CHARSET_BY_ATTRIBUTES):
10236 Always use inline function.
10237 Use type_checking_assert.
10240 * mule-charset.c (non_ascii_charptr_copy_char):
10241 Modify to work with both ASCII and non-ASCII characters.
10242 Improve docs and variable names.
10243 Replace over-clever fall-through switch with a simple loop.
10244 (Lstream_get_emchar_1):
10245 Replace over-clever fall-through switch with a simple loop.
10247 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10248 Warning suppression.
10250 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10251 the return value of Lstream_getc, which could be EOF as well.
10253 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10255 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10256 APIs can be used on Extbytes without casts. Risky!
10257 (SExtbyte): Remove.
10258 (UExtbyte): Remove.
10260 * input-method-xlib.c (XIM_init_device):
10261 Use Xlib.h instead of IntrinsicP.h.
10262 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10263 which will break in X11R7.
10264 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10265 to call XRegisterIMInstantiateCallback with correct types.
10267 * gui-x.c (button_item_to_widget_value): Type correctness.
10269 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10271 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10272 (xbm_instantiate_1): Type correctness.
10273 (BUILD_GLYPH_INST): Type correctness.
10275 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10278 (decode_coding_sjis):
10279 (decode_coding_big5):
10280 (decode_coding_ucs4):
10281 (decode_coding_utf8):
10282 (decode_coding_iso2022):
10283 (decode_coding_no_conversion):
10284 Make all decoding functions take an Extbyte * arg.
10285 (encode_coding_sjis):
10286 (encode_coding_big5):
10287 (encode_coding_ucs4):
10288 (encode_coding_utf8):
10289 (encode_coding_iso2022):
10290 (encode_coding_no_conversion):
10291 Make all encoding functions take a Bufbyte * arg.
10292 Use size_t instead of unsigned int for memory sizes.
10293 Only cast to unsigned char whenever dereferencing Extbyte *.
10295 * doc.c (unparesseuxify_doc_string): Type correctness.
10297 * console-x.c (split_up_display_spec):
10298 Rewrite without using details of internal string representation.
10299 (x_semi_canonicalize_device_connection): Type correctness.
10302 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10303 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10304 (HAVE_XFREE386): Removed.
10306 * buffer.h (DEC_CHARPTR): `const' correctness.
10307 (bufbyte_strcmp): New.
10308 (bufbyte_memcmp): New.
10310 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10312 * buffer.h (XCHAR_OR_CHAR_INT):
10313 Always use inline function.
10314 Remove redundant type checking assert() - XINT will abort quite nicely.
10316 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10318 * search.c (Freplace_match): Set newtext to an empty string.
10320 2000-10-10 Martin Buchholz <martin@xemacs.org>
10322 * s/decosf1-3.h: Remove #include of stropts.h
10323 * s/ptx.h: Remove #include of stropts.h
10324 * s/usg5-4.h: Remove #include of stropts.h
10327 Use stropts.h, not sys/stropts.h.
10328 Use strtio.h, not sys/strtio.h.
10330 2000-10-04 Martin Buchholz <martin@xemacs.org>
10332 * XEmacs 21.2.36 is released.
10334 2000-09-21 Andy Piper <andy@xemacs.org>
10336 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10337 changes still involve copying the widget tree.
10338 (update_widget_face): make sure a change is register in the widget
10339 tree. Call update_tab_widget_face appropriately.
10340 (update_tab_widget_face): ditto.
10341 (x_tab_control_redisplay): make sure non-structural changes still
10342 involve copying the widget tree.
10344 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10346 * lread.c (locate_file): Check the path element is non-nil.
10348 2000-10-02 Martin Buchholz <martin@xemacs.org>
10350 * lisp.h: Warning suppression for SCO compilers.
10352 * redisplay-tty.c (reset_tty_modes): Fix crash.
10353 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10355 2000-09-27 Martin Buchholz <martin@xemacs.org>
10357 Big signal/process handling overhaul. Bugs fixed:
10358 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10359 M-x comint-kill-subjob should work for both values nil and t of
10360 process-connection-type. It was broken on most platforms.
10361 Testing on Irix and Cygwin still needed. Other plaforms tested.
10362 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10363 * process-unix.c: Signal/Process handling overhaul.
10364 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10365 (allocate_pty): Use all available modern methods of allocating
10366 ptys, falling back to old style BSD allocation as a last resort.
10367 Use allegedly more secure Unix98 pty allocation by default.
10368 (allocate_pty_the_old_fashioned_way): New. the last resort.
10369 (unix_create_process): Push ptem, ldterm, ttcompat where
10370 available. Autoconfiscate.
10371 (try_to_initialize_subtty): New.
10372 (unix_kill_child_process): Proper signal handling for ptys on most
10373 platforms, using special knowledge of AIX, BSD, etc...
10374 (unix_create_process): Always disconnect_controlling_terminal() for
10375 subprocesses, whether using ptys or not.
10376 * process.h: Remove old getpt-dependent PTY code.
10377 * process.c (Fprocess_send_signal): New, obvious generic function.
10378 (decode_signal): New.
10379 (Finterrupt_process):
10383 (Fcontinue_process):
10384 (Fsignal_process): Use decode_signal.
10385 (process_send_signal):
10386 Many docstring corrections.
10387 Allow any signal to be sent to a process object.
10388 * config.h.in: Add symbols for big signal/process overhaul.
10389 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10390 * sysproc.h: Include process-related headers, where available:
10391 sys/stropts.h sys/strtio.h pty.h libutil.h
10399 Remove old S&M pty stuff.
10400 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10401 * systty.h: Simplify cpp hackery, improve comments.
10402 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10404 * editfns.c (Fformat_time_string):
10405 Be a little more paranoid with the return value of ctime.
10407 * fileio.c (check_executable):
10409 Use symbolic constants X_OK, W_OK.
10411 * console-x.c (split_up_display_spec): Fix a warning.
10413 2000-10-02 Martin Buchholz <martin@xemacs.org>
10415 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10416 * ntproc.c (sys_spawnve): make_string ==> build_string
10417 Small clarity improvements.
10419 2000-09-30 Martin Buchholz <martin@xemacs.org>
10421 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10423 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10425 * config.h.in (HAVE_STRCASECMP): Remove.
10427 2000-09-29 Martin Buchholz <martin@xemacs.org>
10429 * redisplay-output.c (redisplay_output_pixmap):
10430 Cleaner and possibly more 64-bit correct code.
10432 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10434 * dumper.c (pdump_load_finish): move restoration of
10435 `noninteractive1' to emacs.c (main_1).
10436 * emacs.c (main_1): protect LISP-visible command-line flags
10439 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10441 * Makefile.in.in (versionclean): Use EXE_TARGET and
10442 DUMP_TARGET instead of literal program names.
10444 2000-09-20 Martin Buchholz <martin@xemacs.org>
10446 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10448 2000-09-19 Martin Buchholz <martin@xemacs.org>
10450 * *: Spelling mega-patch
10452 2000-09-19 Martin Buchholz <martin@xemacs.org>
10454 * fns.c (bad_bad_turtle):
10455 Delete "Eek!" comment, since we fixed the bug to which it refers.
10457 2000-09-16 Martin Buchholz <martin@xemacs.org>
10459 * alloca.c: Replace REGISTER with register.
10461 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10463 * file-coding.c (ucs_to_char): Use countof.
10465 2000-09-16 Martin Buchholz <martin@xemacs.org>
10467 * file-coding.c: (ucs_to_char):
10468 (complex_vars_of_file_coding):
10469 Use countof instead of sizeof.
10470 Use CHECK_NATNUM instead of CHECK_INT.
10472 * sysdep.c (strcasecmp): Remove.
10473 * device-x.c (ascii_strcasecmp): New.
10474 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10475 Avoid using non-standard non-portable strcasecmp.
10477 2000-09-16 Martin Buchholz <martin@xemacs.org>
10479 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10480 * font-lock.c: remove reference to emacsfns.h.
10481 * search.c: small doc improvement.
10482 * event-Xt.c: correct file names in comments.
10483 * console-x.h Correct file names in comments.
10484 * frame.c: Correct file names in comments.
10485 * event-stream.c: remove Energize from comments.
10487 2000-09-15 Martin Buchholz <martin@xemacs.org>
10489 * symeval.h (DEFERROR_STANDARD):
10492 (DEFSYMBOL_NO_DUMP):
10493 (DEFSYMBOL_MULTIWORD_PREDICATE):
10494 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10496 The construct &##name is not sensible C.
10497 Fixes compilation errors with Unixware native compiler.
10499 2000-09-14 Martin Buchholz <martin@xemacs.org>
10501 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10502 (next_frame_internal): Removed. We now just have next_frame.
10504 Write a simpler and cleaner one-pass algorithm.
10505 Remove called_from_delete_device arg and #ifdefed-out code.
10507 Renamed from prev_frame. Update callers.
10508 Cleaned up to have an analogous implementation to next_frame.
10509 (other_visible_frames_internal): Remove the
10510 called_from_delete_device bogus arg, and hence, remove this
10511 function. Just use other_visible_frames().
10513 * window.c (Fnext_window):
10514 Prettify docstring.
10515 Since next_frame() is guaranteed to return a frame, remove check
10516 for nil inserted in previous patch.
10517 (Fprevious_window):
10518 Prettify docstring.
10519 Make code look more like Fnext_window.
10521 Respect the `console' arg when iterating through windows.
10522 Fixes bug: (get-buffer-window buffer t device) not respecting
10524 This function needs more work, as others have pointed out.
10526 * frame.h: Rename prev_frame to previous_frame.
10527 device_matches_console_spec no longer takes a `frame' arg.
10532 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10533 From "Golubev I. N." <gin@mo.msk.ru>.
10535 * make-src-depend: Fix typo.
10537 2000-09-13 Martin Buchholz <martin@xemacs.org>
10539 * window.c (Fnext_window):
10540 next_frame() might return nil, not a frame.
10542 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10544 * frame.c (next_frame_internal):
10545 We've passed a frame if we've passed its device.
10547 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10548 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10550 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10552 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10553 Allow option to suppress accelerators in menu/dialog items.
10554 (populate_or_checksum_helper): Pass dialog title through above.
10556 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10558 * event-msw.c (mswindows_key_to_emacs_keysym):
10559 Add "pause" key, fix "menu" key.
10561 2000-09-09 Martin Buchholz <martin@xemacs.org>
10563 * eval.c (reinit_vars_of_eval):
10564 Increase max_lisp_eval_depth to 1000,
10565 required for thai-xtis.el to byte-compile under some circumstances.
10567 2000-09-04 Martin Buchholz <martin@xemacs.org>
10569 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10570 From Kenichi Handa.
10572 2000-09-01 Martin Buchholz <martin@xemacs.org>
10574 * make-src-depend: Make the generated Makefiles smaller.
10576 * s/hpux.h (SETUP_SLAVE_PTY):
10577 Provide a %d in the format string for the errno argument.
10579 * editfns.c (Ftemp_directory):
10581 Avoid buffer overrun on very long file name.
10583 * input-method-xlib.c (XIM_init_device):
10584 6th parameter of XRegisterIMInstantiateCallback has different
10585 pointer types on different OSes, so simply cast to (void *).
10587 * unexhp9k800.c: Warning fixes. Fiddly changes.
10589 * sysdll.c (dll_open):
10590 shl_load will hang hard if passed a NULL filename.
10591 Simply return NULL for compatibility with dlopen.
10592 * sysdll.c: Conform to XEmacs coding standards.
10594 * sysdep.c (get_pty_max_bytes):
10595 Support pty input lines longer than 512 bytes on HP-UX 10.20.
10597 2000-08-31 Martin Buchholz <martin@xemacs.org>
10599 * tooltalk.c: Add #include <syssignal.h>
10601 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
10603 * s/hpux.h: Don't use undefined function sigunblock().
10605 2000-08-31 Martin Buchholz <martin@xemacs.org>
10607 * config.h.in: Add HAVE_BALLOON_HELP.
10608 * emacs.c: Use HAVE_BALLOON_HELP.
10609 * Makefile.in.in (x_objs):
10610 Make Balloon Help conditional on finding shape.h.
10612 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
10614 * syntax.c (regex_emacs_buffer_p): New variable.
10615 * syntax.h (regex_emacs_buffer_p): extern.
10616 * search.c (looking_at_1):
10618 (fast_string_match):
10619 (search_buffer): Set regex_emacs_buffer_p.
10620 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
10621 when before_dot, at_dot, after_dot.
10623 2000-08-23 Andy Piper <andy@xemacs.org>
10625 * gui-x.c (popup_selection_callback): Only set action_occurred
10626 when we really have an image instance.
10627 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
10629 2000-08-23 Andy Piper <andy@xemacs.org>
10631 * gui-msw.c (mswindows_handle_gui_wm_command): set
10633 * gui-x.c (popup_selection_callback): ditto.
10635 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
10636 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
10637 (struct Lisp_Image_Instance): add action_occurred flag.
10639 * glyphs.c (redisplay_subwindow): use action_occurred flag.
10640 (image_instance_changed): ditto.
10641 (reset_frame_subwindow_instance_cache): only unmap windows - do
10642 not remove them from the cache also.
10644 * glyphs-widget.c (tab_control_update): better debug.
10645 (progress_gauge_update): ditto.
10646 (layout_update): ditto.
10647 (layout_instantiate): ditto.
10648 (tab_control_order_only_changed): cope with null pending items.
10650 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
10651 debug. Force selection of an item when an action occurred. Cope
10652 with null pending_items.
10653 (mswindows_progress_gauge_redisplay): better debug.
10654 * glyphs-x.c (x_tab_control_redisplay): ditto.
10656 * redisplay.c (redisplay_frame): reset the frame cache if the
10659 * window.c (Fset_window_configuration): potentially re-enable
10661 (window_unmap_subwindows): need to finalize instances here since
10662 it is only used in mark_window_as_deleted.
10664 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
10666 * nas.c (SndOpenDataForReading):
10667 nas.c (WaveOpenDataForReading):
10668 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
10669 Somehow escaped from the 2000-08-14 patch.
10671 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
10673 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
10674 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
10676 2000-08-21 Andy Piper <andy@xemacs.org>
10678 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
10679 window if it is not already displayed.
10681 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
10682 it is not already displayed.
10684 * window.c (Fset_window_configuration): don't reset the frame
10687 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
10688 instances from the frame cache if we are actually finalizing them.
10689 (reset_frame_subwindow_instance_cache): reset frame cache only
10690 after unmapping everything.
10691 (map_subwindow): set displayed flag after mapping.
10693 2000-08-21 Martin Buchholz <martin@xemacs.org>
10695 * data.c (indirect_function):
10696 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
10698 * eval.c (function_argcount):
10699 Use original function when signaling errors.
10701 2000-08-18 Andy Piper <andy@xemacs.org>
10703 * frame.c (delete_frame_internal): use new
10704 free_frame_subwindow_instances name.
10706 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
10707 (add_tab_item): make return type correct.
10708 (mswindows_tab_control_instantiate): assert index of tab.
10709 (mswindows_tab_control_redisplay): Re-code to use
10710 gui_item_equal_sans_selected and gui_item_list_find_selected.
10712 * glyphs-widget.c (tab_control_update): Correct comment.
10714 * window.c (window_unmap_subwindows): use new
10715 unmap_subwindow_instance_cache_mapper.
10716 (window_unmap_subwindows_cache_mapper): deleted.
10717 (Fset_window_configuration): comparisons should now be with
10718 EQ. Preserve the subwindow instance cache across configuration
10720 (allocate_window): ditto.
10721 (make_dummy_parent): ditto.
10723 * glyphs.c (free_frame_subwindow_instances): rename from
10724 free_frame_subwindow_instance_cache. finalize all instances rather
10725 than just those in the display cache.
10726 (finalize_all_subwindow_instances): walk windows unmapping and
10727 finalizing subwindows.
10728 (unmap_subwindow_instance_cache_mapper): moved from
10729 window.c. Allow finalization as well as unmapping.
10731 * gui.c (gui_item_list_find_selected): new function.
10733 * gui.h (gui_item_list_find_selected): declare.
10735 * glyphs-x.c (x_tab_control_redisplay): pick tab
10736 explicitly. Re-code to use gui_item_equal_sans_selected and
10737 gui_item_list_find_selected.
10739 * glyphs-x.h: add lwlib-utils.h
10741 * buffer.c (Frecord_buffer): undo previous change.
10743 2000-08-09 Vin Shelton <acs@xemacs.org>
10745 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10746 possible. Create temporary files more securely. The patch was
10747 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10748 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10749 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10752 2000-08-07 Ben Wing <ben@xemacs.org>
10754 * getloadavg.c: remove duplicate (and windows-breaking)
10755 includes of fcntl.h and sys/file.h.
10757 * nt.c: remove duplicate getloadavg() definition.
10759 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10762 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10764 * eval.c (function_argcount): If function needs to be autoloaded
10765 actually use the loaded definition.
10768 2000-08-05 Ben Wing <ben@xemacs.org>
10770 * getloadavg.c: add prototype for getloadavg(). remove
10771 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10772 of the code). remove duplicate header includes.
10774 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10776 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10777 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10778 useful load average.
10780 * alloc.c (reinit_alloc_once_early): removed references to
10781 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10782 the lisp vars are the only things referencing the malloc_sbrk_*
10783 vars, and they were already if 0'd out. these vars only exist
10784 in the older malloc.c, which is basically unused, and they're
10785 only for informational purposes.
10787 * m\*.h: removed useless VIRT_ADDR_VARIES.
10789 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10791 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10793 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10794 color if the image is a mono pixmap.
10796 2000-07-30 Ben Wing <ben@xemacs.org>
10798 * Makefile.in.in (release):
10801 * buffer.c (directory_is_current_directory):
10802 * dired-msw.c (mswindows_get_files):
10804 * dired.c (Fdirectory_files):
10805 * dired.c (file_name_completion_stat):
10806 * dired.c (Ffile_attributes):
10807 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10808 preprocessor tricks, to avoid problems on some machines
10811 * callproc.c (egetenv): GC docs.
10814 * console-msw.h (struct mswindows_dialog_id):
10815 * lrecord.h (lrecord_type):
10816 New object for use with MSW dialogs.
10818 * console.h (struct console_methods):
10819 New enable/disable frame methods, for proper modal dialogs.
10821 * device-msw.c (msprinter_default_printer): Fix to follow
10822 proper Mule conventions.
10825 * device-msw.c (signal_open_printer_error):
10826 * device-msw.c (msprinter_init_device):
10827 * device-msw.c (ensure_not_printing):
10828 * device-msw.c (plist_get_margin):
10829 * device-msw.c (Fmsprinter_select_settings):
10830 * device-msw.c (finalize_devmode):
10831 * device-msw.c (Fmsprinter_settings_despecialize):
10832 * device-msw.c (signal_enum_priner_error):
10833 * extents.c (decode_extent):
10834 * extents.c (decode_map_extents_flags):
10835 * extents.c (decode_extent_at_flag):
10836 * extents.c (Fextent_at):
10837 * extents.c (Fextents_at):
10838 * extents.c (symbol_to_glyph_layout):
10839 [[[[2]]]] Use structured errors.
10842 * dialog-msw.c (mswindows_is_dialog_msg):
10843 * dialog-msw.c (mark_mswindows_dialog_id):
10844 * dialog-msw.c (dialog_proc):
10845 * dialog-msw.c (handle_question_dialog_box):
10846 * dialog-msw.c (syms_of_dialog_mswindows):
10847 Define new object to clean up marking; use it as a dialog identifier.
10848 Call new delete-dialog-box-hook.
10850 * dialog-x.c (dbox_selection_callback):
10851 * dialog-x.c (dbox_descriptor_to_widget_value):
10852 * dialog-x.c (x_make_dialog_box_internal):
10853 Call new delete-dialog-box-hook.
10857 * dialog.c (syms_of_dialog):
10858 * dialog.c (vars_of_dialog):
10859 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10862 * eval.c (signal_call_debugger):
10863 when noninteractive, output stack traces on the console instead
10864 of in a (never-seen) buffer.
10866 * eval.c (signal_type_error):
10867 * eval.c (invalid_argument_2):
10869 new funs for use w/structured errors.
10872 * event-Xt.c (x_to_emacs_keysym):
10873 * event-Xt.c (describe_event):
10874 * event-Xt.c (emacs_Xt_event_handler):
10875 * event-Xt.c (vars_of_event_Xt):
10877 * event-msw.c (mswindows_wnd_proc):
10878 * event-msw.c (vars_of_event_mswindows):
10879 rename {x,mswindows}-debug-events to debug-{}-events for
10880 consistency with other debug-foo variables.
10883 document next-event more clearly.
10885 * fileio.c (Ffile_name_directory):
10886 * fileio.c (Ffile_name_nondirectory):
10887 * fileio.c (Funhandled_file_name_directory):
10888 * fileio.c (file_name_as_directory):
10889 * fileio.c (Ffile_name_as_directory):
10890 * fileio.c (directory_file_name):
10891 * fileio.c (Fdirectory_file_name):
10892 * fileio.c (Fmake_temp_name):
10893 * fileio.c (Ffile_truename):
10894 * fileio.c (Fsubstitute_in_file_name):
10895 * fileio.c (expand_and_dir_to_file):
10896 * fileio.c (barf_or_query_if_file_exists):
10897 * fileio.c (check_executable):
10898 * fileio.c (Ffile_exists_p):
10899 * fileio.c (Ffile_writable_p):
10900 * fileio.c (Ffile_directory_p):
10901 * fileio.c (Ffile_regular_p):
10902 * fileio.c (Ffile_modes):
10903 * fileio.c (Ffile_newer_than_file_p):
10904 * fileio.c (Fverify_visited_file_modtime):
10905 * fileio.c (Fset_visited_file_modtime):
10906 * fileio.c (auto_save_1):
10911 * frame-msw.c (mswindows_init_frame_1):
10912 * frame-msw.c (mswindows_enable_frame):
10913 * frame-msw.c (error_frame_unsizable):
10914 * frame-msw.c (msprinter_init_frame_1):
10915 * frame-msw.c (msprinter_init_frame_3):
10916 * frame-msw.c (console_type_create_frame_mswindows):
10918 implement new enable/disable frame methods.
10921 * frame-x.c (x_enable_frame):
10922 * frame-x.c (console_type_create_frame_x):
10923 implement new enable/disable frame methods.
10926 * frame.c (Fdisable_frame):
10927 * frame.c (syms_of_frame):
10928 * frame.h (struct frame):
10929 implement new enable/disable frame methods/functions.
10934 * glyphs-msw.c (mswindows_widget_instantiate):
10935 comment that initial-focus should be implemented.
10938 * glyphs-widget.c (check_valid_instantiator):
10939 * glyphs-widget.c (check_valid_orientation):
10940 * glyphs-widget.c (check_valid_tab_orientation):
10941 * glyphs-widget.c (check_valid_justification):
10942 * glyphs-widget.c (check_valid_border):
10943 * glyphs-widget.c (check_valid_callback):
10944 * glyphs-widget.c (check_valid_int_or_function):
10945 * glyphs-widget.c (check_valid_string_or_vector):
10946 * glyphs-widget.c (check_valid_item_list_1):
10947 * glyphs-widget.c (widget_validate):
10948 * glyphs-widget.c (combo_box_validate):
10949 * glyphs-widget.c (widget_instantiate):
10950 * glyphs-widget.c (syms_of_glyphs_widget):
10951 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10952 * glyphs-widget.c (image_instantiator_combo_box):
10953 * glyphs-widget.c (image_instantiator_scrollbar):
10954 * glyphs-widget.c (image_instantiator_tab_control):
10955 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10957 support (unimplemented) keyword initial-focus.
10958 reindent long macros.
10960 * glyphs-x.c (x_redisplay_widget):
10961 * glyphs-x.c (x_button_instantiate):
10962 * glyphs-x.c (x_button_redisplay):
10963 * glyphs-x.c (x_progress_gauge_instantiate):
10964 * glyphs-x.c (x_edit_field_instantiate):
10965 * glyphs-x.c (x_combo_box_instantiate):
10966 * glyphs-x.c (x_tab_control_instantiate):
10967 * glyphs-x.c (x_label_instantiate):
10969 * gui-x.c (button_item_to_widget_value):
10970 * gui-x.c (gui_items_to_widget_values_1):
10971 * gui-x.c (gui_item_children_to_widget_values):
10972 * gui-x.c (gui_items_to_widget_values):
10974 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10975 add new flag to gui-parsing routines to indicate whether
10976 accelerator specs should be supported.
10978 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10980 * glyphs.h (struct Lisp_Image_Instance):
10981 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10982 add initial-focus flag.
10985 * gui.c (syms_of_gui):
10986 * gui.c (vars_of_gui):
10987 clean up menu-no-selection-hook.
10990 support delete-dialog-box-hook.
10992 * lread.c (Fload_internal):
10993 * lread.c (locate_file_in_directory_mapper):
10997 * lrecord.h (struct toolbar_button):
10998 * lrecord.h (syms_of_toolbar):
10999 document how to create a new object.
11001 * menubar-msw.c (mswindows_char_is_accelerator):
11002 may be called on frames w/o menus.
11004 * menubar.c (vars_of_menubar):
11005 clean up :filter docs.
11012 * process-nt.c (validate_signal_number):
11013 * process-nt.c (signal_cannot_launch):
11014 * process-nt.c (nt_create_process):
11015 * process-nt.c (nt_send_process):
11016 * process-nt.c (nt_kill_child_process):
11017 * process-nt.c (nt_open_network_stream):
11018 * process-nt.c (syms_of_process_nt):
11020 delete quote-handling. call new lisp code that does it better.
11022 * process-unix.c (connect_to_file_descriptor):
11023 * process-unix.c (allocate_pty):
11024 * process-unix.c (unix_send_process):
11025 * process-unix.c (unix_kill_child_process):
11026 * process-unix.c (unix_open_network_stream):
11027 * process-unix.c (unix_open_multicast_group):
11031 * process.c (Fstart_process_internal):
11032 (2). need to canonicalize process path even if absolute.
11034 * select-msw.c (symbol_to_ms_cf):
11035 * select-msw.c (ms_cf_to_symbol):
11036 * select-msw.c (cf_is_autofreed):
11037 * select-msw.c (mswindows_destroy_selection):
11039 * select.c (syms_of_select):
11041 support dibv5, fix bugs. (from Mike Alexander)
11043 * select.c (Fget_selection_internal):
11044 * select.c (select_convert_out):
11047 * sysdep.c (xemacs_stat):
11050 * sysdep.c (mkdir):
11051 * sysdep.c (rmdir):
11052 but keep original stat() here because we provide encapsulation
11056 * sysfile.h (fstat):
11057 remove stat garbage.
11060 fix X/MSW conflict.
11061 don't include tchar.h. it's inappropriate because it makes
11062 compile-time distinctions when we want runtime distinctions.
11063 (we provide our own tchar replacements)
11066 use default object printer for toolbar-button.
11069 make sure we don't encapsulate.
11071 * window.c (vars_of_window):
11072 emphasize that temp-buffer-show-hook is obsolete.
11074 2000-08-05 Martin Buchholz <martin@xemacs.org>
11076 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11077 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11079 * events.c (Fevent_timestamp_lessp):
11080 Not 64-bit clean. Use EMACS_INT, not int.
11082 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11084 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11085 unsigned int and changed the last enum to
11086 lrecord_type_last_built_in_type.
11087 (lrecord_implementations_table): changed prototype to know how
11088 long the array is supposed to be.
11089 (lrecord_type_count): new unsigned int to keep track of the
11090 current number of lisp lrecord types.
11091 (DEFINE_EXTERNAL_LRECORD):
11092 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11093 dynamic-modules to declare new lisp types. They are the same
11094 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11095 int for each new type, and increment lrecord_type_count by 1.
11097 * alloc.c (lrecord_implementations_table): Changed to reference
11098 lrecord_type_last_built_in_type for the size of the array.
11099 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11101 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11103 * glyphs.h (check_valid_item_list): Renamed from
11104 check_valid_item_list_1.
11106 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11108 * select.c (Qselect_coerce): New.
11109 * select.c (Vselection_coercion_alist): New.
11110 * select.c (syms_of_select): Declare.
11111 * select.c (get-selection-internal): Use it.
11112 Use the new select-coerce functionality.
11114 * select.c (select_coerce): New.
11115 * select.h (select_coerce): Declare.
11116 New function to coerce one type of data into another.
11118 2000-08-03 Martin Buchholz <martin@xemacs.org>
11120 * callproc.c (Fcall_process_internal):
11121 (Fcall_process_internal):
11122 * process-unix.c (unix_create_process):
11123 Save and restore the value of errno, so that error messages are accurate.
11125 2000-08-01 Martin Buchholz <martin@xemacs.org>
11127 * elhash.c (print_hash_table):
11128 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11129 Prettify docstrings and indentation.
11131 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11133 * window.c (Fwindow_pixel_edges): Subtract frame border and
11136 2000-07-31 Andy Piper <andy@xemacs.org>
11138 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11139 will acknowledge the change.
11141 * glyphs.h: declare tab_control_order_only_changed.
11143 * glyphs-x.c (x_tab_control_redisplay): use
11144 tab_control_order_only_changed.
11146 * glyphs-widget.c (tab_control_order_only_changed): new function.
11148 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11149 tab_control_order_only_changed.
11151 * gui.c (gui_item_equal_sans_selected): new function.
11152 (gui_item_equal): use it.
11154 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11155 :properties in favor of :items..
11157 * glyphs-widget.c (check_valid_item_list): rename from
11158 check_valid_item_list_1.
11159 (check_valid_item_list_1): renamed.
11160 (combo_box_validate): deprecate :properties in favor of :items.
11161 (widget_instantiate): ditto.
11162 (tab_control_update): ditto.
11163 (image_instantiator_combo_box): ditto.
11164 (image_instantiator_tree_view): ditto.
11165 (image_instantiator_tab_control): ditto.
11166 (layout_post_instantiate): remove dead code.
11168 * print.c (debug_print_no_newline): only write to debugger if in
11171 * elhash.c (Fmake_hash_table): update doc string.
11173 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11174 messages whilst in GC. This at least stops XEmacs crashing but has
11175 the potential for wierd behaviour.
11177 2000-07-31 Martin Buchholz <martin@xemacs.org>
11180 Make existence of s&m files optional.
11182 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11183 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11184 * s/gnu.h: Remove HAVE_GETLOADAVG.
11185 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11186 * s/sol2.h: Remove HAVE_GETLOADAVG.
11187 * lisp.h: Remove getloadavg() declaration.
11189 Include <sys/loadavg.h> if available.
11190 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11191 * config.h.in: Group together getloadavg()-related macros.
11192 Use only configure-time tests to detect getloadavg().
11194 2000-07-30 Martin Buchholz <martin@xemacs.org>
11196 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11198 2000-07-25 Andy Piper <andy@xemacs.org>
11200 * syswindows.h: add tchar.h for native builds.
11202 * frame.c (syms_of_frame): remove set-glyph-image.
11204 * general-slots.h: add Qset_glyph_image.
11206 * glyphs-widget.c (layout_update): add domain arg to
11208 (syms_of_glyphs_widget): remove set-glyph-image.
11210 2000-07-23 Ben Wing <ben@xemacs.org>
11212 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11215 2000-07-22 Andy Piper <andy@xemacs.org>
11217 * symsinit.h: add syms_of_win32().
11219 * gui-msw.c (syms_of_gui_mswindows): remove
11220 Fmswindows_shell_execute.
11221 (Fmswindows_shell_execute): moved to win32.c.
11223 * emacs.c (main_1): add syms_of_win32 ().
11225 * win32.c (init_potentially_nonexistent_functions): rewrite in
11226 compiler-friendly terms.
11227 (Fmswindows_shell_execute): move here from gui-msw.c.
11228 (syms_of_win32): new.
11230 * device-msw.c (Fmswindows_printer_list): clean up args to
11232 Don't include tchar under cygwin or mingw.
11233 (msprinter_default_printer): make cygwin-friendly.
11235 2000-07-21 Andy Piper <andy@xemacs.org>
11237 * glyphs-widget.c (image_instantiator_tree_view): use tab
11238 control's update function.
11239 (layout_property): new function. Retrieve items.
11241 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11242 function. Re-populate the tree view from the pending items.
11244 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11245 is designated the parent if the domain is an image instance. This
11246 is needed so that dirtiness can be cascade up the hierarchy and
11247 thus for layout children to be redisplayed correctly.
11248 (allocate_image_instance): rename glyph -> parent.
11250 * redisplay.h: change redisplay_output_layout signature.
11252 * redisplay-msw.c (mswindows_output_display_block): use domain
11255 * redisplay-x.c (x_output_display_block): use domain arg.
11257 2000-07-10 Andy Piper <andy@xemacs.org>
11259 * window.c (Fset_window_configuration): add comment.
11261 * redisplay-output.c (compare_runes):
11262 (redisplay_output_subwindow): redisplay rather than update subwindow.
11263 (redisplay_output_layout): ditto.
11265 * redisplay-msw.c (mswindows_frame_output_end):
11266 (mswindows_frame_output_end): make defer window pos optional.
11268 * lisp.h: add Flast.
11270 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11271 normalize method. Change update method to be for changed
11272 instantiators. Add redisplay method. Change signature of layout
11274 (struct Lisp_Image_Instance): add instantiator.
11275 (IMAGE_INSTANCE_INSTANTIATOR): new.
11276 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11277 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11278 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11281 (find_instantiator_differences): new function.
11282 (Fset_instantiator_property): new convenience function.
11283 (check_image_instance_structure): strictly check for vector
11285 (normalize_image_instantiator): make non-static.
11286 (instantiate_image_instantiator): pass on dest_mask and use new
11287 signatures for image_instance_layout and friends.
11288 (mark_image_instance): mark the instantiator. Mark the subwindow
11289 face not the widget face.
11290 (image_instance_equal): add instantiator.
11291 (image_instance_hash): ditto.
11292 (allocate_image_instance): ditto.
11293 (Fset_image_instance_property): removed.
11294 (Fimage_instance_file_name): ditto.
11295 (Fcolorize_image_instance): ditto.
11296 (image_instance_layout): add offsets to be set.
11297 (update_image_instance): new function. update an image instance
11298 from its changed instantiator.
11299 (inherit_normalize): add dest_mask.
11300 (xbm_normalize): ditto.
11301 (xface_normalize): ditto.
11302 (xpm_normalize): ditto.
11303 (text_update): set_property -> update.
11304 (image_instantiate): use the glyph identity as a hash key, not the
11306 (glyph_width): use new image_instance_layout signature.
11307 (glyph_ascent): ditto.
11308 (glyph_descent): ditto.
11309 (glyph_height): ditto.
11310 (glyph_query_geometry): ressurrect.
11311 (glyph_layout): ditto.
11312 (redisplay_subwindow): update -> redisplay.
11313 (syms_of_glyphs): add Fset_instantiator_property.
11314 (image_instantiator_format_create): set_property -> update.
11317 (autodetect_normalize): add dest_maks to signature.
11318 (x_redisplay_subwindow): update -> redisplay.
11319 (x_redisplay_widget): ditto.
11320 (x_button_redisplay): ditto.
11321 (x_progress_gauge_redisplay): ditto.
11322 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11324 (console_type_create_glyphs_x): update -> redisplay.
11325 (image_instantiator_format_create_glyphs_x): ditto.
11328 (check_valid_instantiator): disallow glyphs in the instantiator,
11329 they must now be vectors.
11330 (check_valid_instantiator_list): ditto.
11331 (glyph_instantiator_to_glyph): use internal symbol rather than
11333 (widget_update): renamed from widget_set_property. Call cascaded
11335 (redisplay_widget): renamed from update_widget.
11336 (widget_layout): image_instance_layout now takes position as well
11338 (widget_normalize): ditto.
11339 (widget_instantiate): ditto.
11340 (tab_control_query_geometry) ditto.:
11341 (tab_control_update): renamed from tab_control_set_property.
11342 (progress_gauge_update): set_property -> update.
11343 (layout_normalize): rewrite so that child instantiators are
11345 (layout_update): new function. Create glyphs from the normalized
11346 children and cope with any other layout keywords. We do not
11347 instantiate children here that will be take care of by
11348 redisplay_output_layout.
11349 (layout_instantiate): call layout_update and not much else.
11350 (layout_post_instantiate): not sure whether this is needed
11352 (layout_query_geometry): query glyph geometry rather than
11353 image_instance geometry.
11354 (layout_layout): set offsets from pass in parameters. Use glyph
11355 geometry and layout functions rather than image instance ones.
11356 (native_layout_layout): ditto.
11357 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11358 (image_instantiator_widget): set_property -> update.
11359 (image_instantiator_buttons): ditto.
11360 (image_instantiator_progress_guage): ditto.
11361 (image_instantiator_tab_control): ditto.
11362 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11363 (image_instantiator_layout): add update method.
11365 * glyphs-msw.c (bmp_normalize):
11366 (mswindows_resource_normalize): add dest_mask so that it can be
11367 proprogated by layout_normalize.
11368 (begin_defer_window_pos): make optional because it may not be the
11369 right thing to do and it introduces differences with X.
11370 (mswindows_unmap_subwindow): ditto.
11371 (mswindows_map_subwindow): ditto.
11372 (mswindows_redisplay_subwindow): renamed from
11373 mswindows_update_subwindow.
11374 (mswindows_redisplay_widget): ditto.
11375 (mswindows_button_redisplay): renamed from
11376 mswindows_button_update. Update is now what the instantiation
11377 function does for a changed instantiator.
11378 (mswindows_progress_gauge_instantiate): set the progress value
11379 here if appropriate.
11380 (mswindows_tab_control_redisplay): cope with re-ordering of the
11381 members of the tab widget by simply selecting the new top
11382 widget. This makes things appear ok if you click on a tab.
11383 (mswindows_combo_box_instantiate): image_instance_layout now takes
11384 position as well as size.
11385 (mswindows_progress_gauge_redisplay): renamed from
11386 mswindows_progress_gauge_update.
11387 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11388 (image_instantiator_format_create_glyphs_mswindows): ditto.
11390 * glyphs-eimage.c (jpeg_normalize):
11393 (tiff_normalize): add dest_mask so that it can be proprogated by
11397 (print_hash_table):
11398 (hash_table_weakness_validate):
11399 (decode_hash_table_weakness):
11400 (Fhash_table_weakness):
11401 (Fhash_table_type):
11402 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11404 * console.h (struct console_methods): move update_* to
11407 2000-07-20 Ben Wing <ben@xemacs.org>
11409 * *.[ch] (XSETOBJ): remove unused middle argument.
11410 lisp-disunion.h: correct wrap_object() to one argument.
11412 2000-07-15 Ben Wing <ben@xemacs.org>
11415 * s/cygwin32.h (CYGWIN_CONV_PATH):
11416 Add missing logb prototype for v1.1.
11417 Use post-b20 names and alias to pre-b20 names when pre-b20.
11419 * s/windowsnt.h: [5].
11421 2000-07-15 Ben Wing <ben@xemacs.org>
11423 * Makefile.in.in (x_objs):
11424 * Makefile.in.in (sheap_objs):
11425 * Makefile.in.in (objs):
11426 added win32.o, cosmetic cleanups.
11428 * alloc.c (Fmake_byte_code):
11429 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11430 etc. macros which declare their own args now.
11432 * alloc.c (syms_of_alloc):
11433 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11436 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11438 * buffer.c (Fget_file_buffer):
11439 Fixed GCPRO problem.
11441 * buffer.c (get_truename_buffer):
11442 Fixed comment about GC checking.
11444 * buffer.c (syms_of_buffer):
11445 Undeclared those dedicated frame funs.
11449 Define convenience macros for internal/external conversions.
11450 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11451 and Qenvironment_variable_encoding for cleaner code.
11454 Remove dedicated-frame; in lisp.
11456 * bytecode.c (funcall_compiled_function):
11459 * bytecode.c (syms_of_bytecode):
11463 * console-msw.c (mswindows_show_console): Rewrote.
11465 * console-msw.c (Fmswindows_debugging_output): New.
11466 Sends to OutputDebugString (special MSWin debugger interface).
11468 * console-msw.c (Fmswindows_message_box):
11469 Fixed stupid bugs so it works when called from kill-emacs.
11471 * console-msw.c (syms_of_console_mswindows):
11472 Declare Fmswindows_debugging_output.
11475 New MSWin prototypes.
11477 * console-msw.h (struct mswindows_frame):
11478 New entry last-click-mods for improved button-modifier support.
11480 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11481 New struct entry `popup' with corresponding accessor.
11484 * console-x.c (split_up_display_spec):
11485 * console-x.c (get_display_arg_connection):
11486 * console-x.c (x_semi_canonicalize_console_connection):
11487 * console-x.c (x_canonicalize_device_connection):
11488 [[[6]]]: Change char to more specific type.
11489 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11491 * console-x.c (x_semi_canonicalize_console_connection):
11492 * console-x.c (x_canonicalize_device_connection):
11493 [[[9]]]: Fix up error signalling to use new structured error system.
11496 [[[4]]]: Define codesys aliases:
11497 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11498 Qx_color_name_encoding, Qx_display_name_encoding.
11500 * console.h (struct console_methods):
11501 New method make_dialog_box_internal supersedes older
11502 popup_dialog_box method.
11505 Define many new errors, part of new structured errors.
11507 * data.c (init_errors_once_early):
11508 * data.c (syms_of_data):
11511 * device-msw.c (mswindows_init_device):
11512 [[[5]]]: Cleanup to support NT 3.51.
11514 * device-msw.c (decode_devmode): Cleanup.
11516 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11517 * device-msw.c (mswindows_handle_print_dialog_box):
11518 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11519 * device-msw.c (syms_of_device_mswindows):
11520 Delete the dialog box primitives recently introduced by Kirill and
11521 instead interface to general dialog box interface.
11524 * device-x.c (compute_x_app_name):
11525 * device-x.c (x_init_device):
11526 * device-x.c (Fx_valid_keysym_name_p):
11527 * device-x.c (Fx_set_font_path):
11531 * device.h (wrap_device): New.
11532 First of its kind; meant to replace XSETDEVICE.
11534 * dialog-msw.c: Many file-dialog symbols.
11536 * dialog-msw.c (mswindows_register_popup_frame): New.
11537 * dialog-msw.c (mswindows_is_dialog_msg): New.
11538 For supporting kbd traversal in dialog boxes.
11540 * dialog-msw.c (dialog_proc):
11541 Support hitting ESC in dialogs.
11543 * dialog-msw.c (struct):
11544 Common dialog box errors.
11546 * dialog-msw.c (handle_file_dialog_box): New.
11547 Add file dialog code.
11549 * dialog-msw.c (handle_question_dialog_box):
11550 Redo existing code to support new question dialog syntax.
11552 * dialog-msw.c (console_type_create_dialog_mswindows):
11553 We support new dialog console method.
11555 * dialog-msw.c (syms_of_dialog_mswindows):
11556 * dialog-msw.c (vars_of_dialog_mswindows):
11557 New file dialog symbols, vars.
11560 * dialog-x.c (maybe_run_dbox_text_callback):
11561 * dialog-x.c (dbox_descriptor_to_widget_value):
11562 * dialog-x.c (x_make_dialog_box_internal):
11563 * dialog-x.c (console_type_create_dialog_x):
11564 Mule-ize entire file.
11565 Redo to support question dialog syntax.
11569 * dialog.c (Fmake_dialog_box_internal):
11570 * dialog.c (syms_of_dialog):
11571 Kill old popup-dialog-box, replace with new primitive.
11572 Just call device method or signal error.
11574 * eldap.c (Fldap_open):
11575 * eldap.c (Fldap_search_basic):
11576 * eldap.c (Fldap_add):
11577 * eldap.c (Fldap_modify):
11582 * emacs.c (make_arg_list_1):
11583 * emacs.c (make_arg_list):
11584 Mule-ize call to dll_init().
11588 * emacs.c (make_argc_argv):
11589 * emacs.c (free_argc_argv):
11590 * emacs.c (init_cmdargs):
11591 * emacs.c (main_1):
11592 * emacs.c (Fkill_emacs):
11593 * emacs.c (Fdump_emacs):
11594 Update comments about what can be used in syms_* etc.
11595 Call init_win32() when necessary.
11596 Fix up MS Win dialog box in kill-buffer to actually work right.
11607 * eval.c (condition_case_3):
11609 * eval.c (function_argcount):
11610 * eval.c (funcall_lambda):
11613 * eval.c (type_error): New.
11614 * eval.c (maybe_type_error): New.
11615 * eval.c (continuable_type_error): New.
11616 * eval.c (maybe_continuable_type_error): New.
11617 * eval.c (type_error_with_frob): New.
11618 * eval.c (maybe_type_error_with_frob): New.
11619 * eval.c (continuable_type_error_with_frob): New.
11620 * eval.c (maybe_continuable_type_error_with_frob): New.
11621 New functions for use with structured errors.
11624 * event-Xt.c (x_event_to_emacs_event):
11625 Buttons are now modifiers too.
11627 * event-Xt.c (emacs_Xt_current_event_timestamp):
11628 Implement new event method.
11629 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
11632 * event-msw.c (ntpipe_shove_writer): [5].
11633 * event-msw.c (mswindows_enqueue_mouse_button_event):
11634 * event-msw.c (mswindows_drain_windows_queue):
11635 * event-msw.c (mswindows_wnd_proc): [7].
11636 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
11637 * event-msw.c (mswindows_modifier_state):
11638 Throughout: support new button modifiers.
11640 * event-msw.c (emacs_mswindows_current_event_timestamp):
11641 Implement new event method.
11642 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
11645 * event-stream.c (event_stream_current_event_timestamp): New.
11646 * event-stream.c (maybe_kbd_translate): New functionality.
11647 * event-stream.c (vars_of_event_stream):
11648 Document new kbd-translate-table functionality.
11650 * event-stream.c (Fcurrent_event_timestamp): New.
11651 New primitive for use in fabricated events.
11652 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
11654 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
11657 * events.c (Fmake_event):
11658 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
11662 * events.c (format_event_object): fix gcc warnings.
11664 * events.c (Fevent_timestamp): Document new primitives.
11666 * events.c (TIMESTAMP_HALFSPACE): New.
11668 * events.c (Fevent_timestamp_lessp): New. New primitive for
11669 comparing timestamps correctly (half-space algorithm).
11671 * events.c (Fevent_modifier_bits): Doc fix.
11673 * events.c (Fevent_modifiers): Major doc addition.
11674 * events.c (event_x_y_pixel_internal): Typo fix.
11675 * events.c (syms_of_events): Declare new primitives.
11678 Update long comment for button modifiers, timestamps.
11680 * events.h (struct event_stream):
11681 New current_event_timestamp method.
11684 * extents.c (extent_in_region_p):
11685 * extents.c (decode_extent):
11686 * extents.c (Fset_extent_parent):
11687 * extents.c (decode_map_extents_flags):
11691 * extents.c (struct extent_at_arg):
11692 * extents.c (decode_extent_at_flag):
11693 * extents.c (extent_at_mapper):
11694 * extents.c (extent_at_bytind):
11695 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
11696 * extents.c (Fextents_at): New primitive. [9].
11697 * extents.c (symbol_to_glyph_layout): [9].
11698 Support new primitive `extents-at'.
11701 * extents.c (get_text_property_bytind):
11702 extent_at_bytind has another arg.
11705 * extents.c (syms_of_extents): New primitive.
11707 * file-coding.c (Fmake_coding_system): [1].
11708 * file-coding.c (subsidiary_coding_system): fix gcc warning
11709 * file-coding.c (syms_of_file_coding): [2].
11711 * fileio.c (Fexpand_file_name):
11712 * fileio.c (Fsysnetunam):
11713 * fileio.c (Ffile_exists_p):
11714 * fileio.c (Ffile_executable_p):
11715 * fileio.c (Fverify_visited_file_modtime):
11718 * fileio.c (syms_of_fileio): [2].
11720 * filelock.c (lock_file_1):
11721 * filelock.c (current_lock_owner):
11722 * filelock.c (lock_if_free):
11723 * filelock.c (lock_file):
11724 * filelock.c (unlock_file):
11727 * fns.c (concat): Fix gcc warning.
11730 * fns.c (Fold_member):
11732 * fns.c (Fold_memq):
11733 * fns.c (memq_no_quit):
11735 * fns.c (Fold_assoc):
11737 * fns.c (Fold_assq):
11738 * fns.c (assq_no_quit):
11740 * fns.c (Fold_rassoc):
11742 * fns.c (Fold_rassq):
11743 * fns.c (rassq_no_quit):
11745 * fns.c (Fold_delete):
11747 * fns.c (Fold_delq):
11748 * fns.c (delq_no_quit):
11749 * fns.c (Fremassoc):
11750 * fns.c (Fremassq):
11751 * fns.c (remassq_no_quit):
11752 * fns.c (Fremrassoc):
11753 * fns.c (Fremrassq):
11754 * fns.c (remrassq_no_quit):
11755 * fns.c (Freverse):
11759 * frame-msw.c (mswindows_init_frame_1):
11760 * frame-msw.c (mswindows_delete_frame):
11761 Register popups with dialog code so keyboard traversing works.
11763 * frame-tty.c (tty_raise_frame_no_select): [1].
11766 * frame-x.c (x_set_frame_text_value):
11767 * frame-x.c (x_set_frame_properties):
11768 * frame-x.c (x_create_widgets):
11772 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11774 * frame.h (wrap_frame): New.
11775 Macro like wrap_device.
11778 * general.c (SYMBOL):
11779 * general.c (syms_of_general):
11780 Major reorg. This is now just a wrapper and symbols themselves
11781 are listed in general-slots.h.
11783 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11784 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11786 * glyphs-msw.c (mswindows_native_layout_instantiate):
11787 Add DS_CONTROL so keyboard traversal will work.
11790 * glyphs-widget.c (syms_of_glyphs_widget):
11791 Move some symbols to general-slots.h.
11794 * glyphs-x.c (xbm_instantiate_1):
11795 * glyphs-x.c (x_xbm_instantiate):
11796 * glyphs-x.c (x_xface_instantiate):
11797 * glyphs-x.c (autodetect_instantiate):
11798 * glyphs-x.c (cursor_font_instantiate):
11799 * glyphs-x.c (x_update_widget):
11800 * glyphs-x.c (x_widget_instantiate):
11801 * glyphs.c (bitmap_to_lisp_data):
11802 * glyphs.c (pixmap_to_lisp_data):
11805 * glyphs.c (syms_of_glyphs):
11809 * gui-x.c (print_widget_value):
11810 * gui-x.c (menu_separator_style_and_to_external):
11811 * gui-x.c (add_accel_and_to_external):
11812 * gui-x.c (button_item_to_widget_value):
11813 * gui-x.c (gui_items_to_widget_values_1):
11814 * gui-x.c (gui_items_to_widget_values):
11815 * gui-x.c (syms_of_gui_x):
11816 * gui-x.c (vars_of_gui_x):
11817 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11821 Muleize, prototype changes matching gui-x.c.
11824 * gui.c (separator_string_p):
11825 * gui.c (gui_item_add_keyval_pair):
11826 * gui.c (make_gui_item_from_keywords_internal):
11827 * gui.c (signal_too_long_error):
11828 * gui.c (parse_gui_item_tree_item):
11829 * gui.c (syms_of_gui):
11830 * gui.c (vars_of_gui):
11832 menu-no-selection-hook moved here (used by MSWin).
11833 Move some symbols to general-slots.h.
11837 * insdel.c (get_buffer_pos_char):
11838 * insdel.c (get_buffer_range_char):
11841 * keymap.c (keymap_lookup_directly):
11842 * keymap.c (keymap_store):
11843 * keymap.c (ensure_meta_prefix_char_keymapp):
11844 * keymap.c (describe_map):
11846 Support new button modifiers.
11848 * lisp-disunion.h (wrap_object):
11849 * lisp-disunion.h (XSETOBJ):
11850 Rename make_obj to wrap_object.
11853 * lisp-union.h (make_int):
11854 * lisp-union.h (make_char):
11855 Support wrap_object.
11858 * lisp.h (LIST_LOOP):
11859 * lisp.h (EXTERNAL_LIST_LOOP):
11860 * lisp.h (LIST_LOOP_2):
11861 * lisp.h (EXTERNAL_LIST_LOOP_1):
11862 * lisp.h (EXTERNAL_LIST_LOOP_2):
11863 * lisp.h (EXTERNAL_LIST_LOOP_3):
11864 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11865 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11866 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11867 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11868 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11869 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11870 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11871 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11872 * lisp.h (struct Lisp_Symbol):
11873 * lisp.h (maybe_continuable_error_with_frob):
11874 Fix up section comments.
11875 Add new types for char to indicate usage.
11876 Delete symbols auto-generated from general-slots.h.
11877 Add prototypes for structured error functions.
11878 Add long comments describing looping macros and change interface
11879 so that lvalues are automatically declared.
11880 Add NO_DECLARE macro in case callers want to declare lvalues
11883 * lread.c (read_syntax_error):
11884 * lread.c (continuable_read_syntax_error):
11885 * lread.c (read_structure):
11886 * lread.c (sequence_reader):
11887 * lread.c (read_list_conser):
11888 * lread.c (read_compiled_function):
11889 Rename syntax_error and continuable_syntax_error to avoid clash
11890 with same-named structured error functions.
11892 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11893 * menubar-msw.c (populate_menu_add_item):
11894 * menubar-msw.c (populate_or_checksum_helper):
11899 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11900 Mule-ize whole file.
11902 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11904 * mule-charset.c (Fmake_charset):
11905 * mule-wnnfns.c (Fwnn_set_param):
11908 * ntproc.c (create_child):
11909 * ntproc.c (Fwin32_set_current_locale):
11910 Add comments portending doom.
11913 * objects-msw.c (old_font_enum_callback_2):
11914 * objects-msw.c (font_enum_callback_1):
11915 * objects-msw.c (mswindows_enumerate_fonts):
11919 * objects-x.c (allocate_nearest_color):
11920 * objects-x.c (x_parse_nearest_color):
11921 * objects-x.c (x_initialize_color_instance):
11922 * objects-x.c (x_print_color_instance):
11923 * objects-x.c (x_finalize_color_instance):
11924 * objects-x.c (x_valid_color_name_p):
11925 * objects-x.c (x_initialize_font_instance):
11926 * objects-x.c (x_print_font_instance):
11927 * objects-x.c (valid_x_font_name_p):
11928 * objects-x.c (truename_via_FONT_prop):
11929 * objects-x.c (truename_via_random_props):
11930 * objects-x.c (truename_via_XListFonts):
11931 * objects-x.c (x_font_truename):
11932 * objects-x.c (x_font_instance_truename):
11933 * objects-x.c (x_font_instance_properties):
11934 * objects-x.c (x_list_fonts):
11935 * objects-x.c (x_find_charset_font):
11936 Mule-ize entire file.
11943 * print.c (std_handle_out_external):
11944 * print.c (debug_print_no_newline):
11945 * print.c (syms_of_print):
11946 Output to all debugger kinds in debug-print.
11947 Fix console-output code under MSWin to actually work.
11949 * process-nt.c (send_signal):
11950 * process-nt.c (nt_create_process):
11951 Use newer Unicode macros.
11953 * process-unix.c (unix_create_process):
11954 * process-unix.c (unix_canonicalize_host_name):
11955 * process-unix.c (unix_open_network_stream):
11961 * search.c (syms_of_search):
11964 * select-msw.c (mswindows_destroy_selection):
11967 * select-x.c (symbol_to_x_atom):
11970 * select.c (syms_of_select):
11973 * sound.c (Fplay_sound_file):
11977 * specifier.c (decode_specifier_type):
11978 * specifier.c (Fvalid_specifier_locale_type_p):
11979 * specifier.c (check_valid_locale_or_locale_type):
11980 * specifier.c (decode_locale):
11981 * specifier.c (decode_locale_type):
11982 * specifier.c (decode_locale_list):
11983 * specifier.c (check_valid_domain):
11984 * specifier.c (decode_specifier_tag_set):
11985 * specifier.c (Fcanonicalize_tag_set):
11986 * specifier.c (Fdefine_specifier_tag):
11987 * specifier.c (Fspecifier_tag_predicate):
11988 * specifier.c (check_valid_inst_list):
11989 * specifier.c (check_valid_spec_list):
11990 * specifier.c (decode_how_to_add_specification):
11991 * specifier.c (check_modifiable_specifier):
11992 * specifier.c (specifier_add_spec):
11993 * specifier.c (boolean_validate):
11994 * specifier.c (display_table_validate):
11997 * specifier.c (syms_of_specifier):
11998 Move some symbols to general-slots.h.
12002 * symbols.c (Fmapatoms):
12003 * symbols.c (Fapropos_internal):
12006 * symbols.c (set_default_buffer_slot_variable):
12007 * symbols.c (set_default_console_slot_variable):
12010 * symbols.c (defsymbol_massage_name_1):
12011 * symbols.c (defkeyword_massage_name):
12012 * symbols.c (deferror_1):
12013 * symbols.c (deferror):
12014 * symbols.c (deferror_massage_name_and_message):
12016 * symeval.h (DEFSYMBOL):
12017 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12019 * symbols.c (syms_of_symbols):
12023 * symsinit.h (init_win32): New.
12024 Also new is syms_of_dialog_mswindows.
12027 Add new Unicode macros, missing Cygwin wide-char functions,
12028 convenience conversion macros for Qmswindows_tstr, macros for
12029 encapsulating required MSWin <-> Cygwin filename conversions,
12030 prototype for dynamically-extracted (not in NT 3.51) functions.
12035 * tooltalk.c (Fadd_tooltalk_message_arg):
12036 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12037 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12040 * tooltalk.c (syms_of_tooltalk):
12044 * unexnt.c (unexec):
12045 Fix up headers, declaration of unexec() to be more standard.
12047 2000-07-20 Martin Buchholz <martin@xemacs.org>
12049 * offix.h: Revert change to guard macros - they're used in offix.c!
12051 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12053 * lisp.h: Defsubred Fdelete.
12055 * console-msw.h: (msprinter_default_printer): Added.
12057 * console-msw.c (msprinter_canonicalize_console_connection):
12058 (msprinter_canonicalize_device_connection): Added.
12060 * device-msw.c (msprinter_default_printer):
12061 (Fmswingows_get_default_printer):
12062 (signal_enum_priner_error):
12063 (Fmswingows_printer_list): Added.
12065 2000-07-19 Martin Buchholz <martin@xemacs.org>
12067 * XEmacs 21.2.35 is released.
12069 2000-07-19 Martin Buchholz <martin@xemacs.org>
12071 * select-x.c (x_handle_selection_request):
12072 Text selected in xemacs and pasted into xterm failed to appear.
12073 Spelling fixes and cosmetic changes.
12075 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12077 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12078 XEmacs frame (fix for doubling chars in dialog boxes).
12080 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12082 * select.c (select_convert_in, select_convert_out):
12083 Don't call intern() every time.
12085 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12086 * select.c (vars_of_select): Initialise them.
12088 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12090 * select.c (selection-coercible-types): New.
12092 * select.c (own-selection-internal):
12093 * select.c (get-selection-internal):
12094 MULE bug fix - these should default to COMPOUND_TEXT and not
12095 STRING for MULE. I think.
12097 * select.c (select_convert_out): Use selection-coercible-types
12098 to find types that we can attempt to perform coercions on.
12100 2000-07-18 Martin Buchholz <martin@xemacs.org>
12104 Add coding: cookie to identify encoding.
12106 * mule-canna.c (CANNA_mode_keys): make static.
12107 Use proper prototypes, even for functions of no arguments.
12108 Remove external prototype for Fding().
12110 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12112 * select.c (syms_of_select): Add missing DEFSUBR.
12114 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12116 * select.c (get_selection_internal, own_selection_internal):
12117 Make the type default to STRING, rather than placing a nil type
12118 into Vselection_alist.
12120 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12122 * gpmevent.c (tty_selection_exists_p):
12123 * gpmevent.c (tty_own_selection):
12124 Updated parameter lists.
12126 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12128 * select.h (selection-alist): Removed declaration.
12130 * select.h (get_local_selection):
12131 * select.c (get_local_selection):
12134 * select.h (convert_selection): Removed declaration.
12135 * select.c (convert_selection): Removed.
12136 This function belongs in Lisp.
12138 * select.h (select_convert_in): Declare.
12139 * select.h (select_convert_out): Declare.
12140 * select.c (select_convert_in): New.
12141 * select.c (select_convert_out): New.
12142 New conversion functions for other files to call.
12144 * select.h (select_notify_buffer_kill): Declare.
12145 * select.c (select_notify_buffer_kill): New.
12146 New functions that get called from kill-buffer.
12148 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12149 X-specific lisp code.
12151 * select.h: Declare some of the lisp-visible functions for
12154 * select.c (clean_local_selection_data): Removed. This was
12155 a disgusting function, and previously should have been in
12156 select-x.c in any case. The functionality is now provided
12157 in select-convert-from-integer (select.el).
12159 * select.c (available-selection-types): Fixed stupidity where
12160 INTEGER and ATOM got added twice. Also add STRING when we see an
12163 * select.c (get-selection-internal): Removed symbol stripping. No
12164 longer causes conversion when data comes from the internal cache.
12166 * select.c (syms_of_select): Added new functions.
12168 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12169 error checking - previously this called abort!
12171 * select-x.c (x_own_selection): Changed comment.
12173 * select-x.c (x_handle_selection_request): Use select_convert_out.
12174 Don't mess with selection-alist; it's an internal variable of select.c.
12176 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12178 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12179 rather than messing with selection-alist.
12181 * select-msw.c (mswindows_get_foreign_selection):
12182 Use TO_INTERNAL_FORMAT rather than hacking.
12184 2000-07-14 Martin Buchholz <martin@xemacs.org>
12186 * process-unix.c (unix_open_multicast_group):
12187 (unix_open_multicast_group): Remove useless casts.
12189 2000-07-13 Martin Buchholz <martin@xemacs.org>
12191 * sound.c (Fplay_sound): Fix `unused variable' warning.
12193 * emacs.c (main): Use correct type for _environ on SCO5.
12195 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12197 * console.h (own_selection_method):
12198 * console.h (selection_exists_p_method):
12199 * console.h (available_selection_types_method): New.
12200 * console.h (register_selection_data_type_method): New.
12201 * console.h (selection_data_type_name): New.
12203 * console-msw.h (mswindows_destroy_selection): Declare it. New
12204 function & alist to track GlobalAlloc()'d handles that need
12205 releasing when the clipboard data gets replaced or emptied.
12207 * event-msw.c (mswindows_wnd_proc): Call it.
12209 * lisp.h, general.c (Qappend): New symbol representing a
12212 * select.c (own-selection-internal):
12213 * select.c (selection-exists-p):
12214 * select.c (available-selection-types): New.
12215 * select.c (register-selection-data-type): New.
12216 * select.c (selection-data-type-name): New. New functions to deal
12217 with device-specific selection data formats.
12218 * select.c (selection-converter-out-alist): Renamed.
12219 * select.c (selection-converter-in-alist): New.
12220 * select.c (selection-appender-alist): New. Added new alists.
12221 * select.c (syms_of_select, vars_of_select): Added new symbols &
12223 * select.c (get_local_selection): Split.
12224 * select.c: Removed spurious type checking - selections may now be
12225 of any type, not just strings.
12226 * select.c (own-selection-internal):
12228 * select.h, select.c (convert_selection): New. Created
12229 convert_selection() function based on get_local_selection().
12230 * select.h, select.c (QCF_*): New symbols representing mswindows
12232 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12233 symbols representing `how-to-add' modes.
12235 * select-msw.c (x_sym_p): New.
12236 * select-msw.c (symbol_to_ms_cf): New.
12237 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12238 symbols & clipboard formats. Can also handle string names.
12239 * select-msw.c (mswindows_own_selection):
12240 * select-msw.c (mswindows_selection_exists_p):
12241 Added `data-type' parameter. Use it.
12242 * select-msw.c (mswindows_available_selection_types): New.
12243 * select-msw.c (mswindows_register_selection_data_type): New.
12244 * select-msw.c (mswindows_selection_data_type_name): New.
12245 * select-msw.c (mswindows_own_selection):
12246 * select-msw.c (mswindows_get_foreign_selection):
12247 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12248 * select-msw.c (console_create_select_mswindows): Added new methods.
12249 * select-msw.c (mswindows_destroy_selection): New.
12250 * select-msw.c (Vhandle_alist): New list.
12251 * select-msw.c (mswindows_own_selection):
12253 * select-x.c (x_own_selection):
12254 * select-x.c (x_selection_exists_p):
12255 * select-x.c: Added some comments about maybe using new
12257 * select-x.c (x_own_selection):
12259 * specifier.c: Remove definition of Qappend (now in general.c)
12260 * specifier.c (syms_of_specifier): Remove Qappend.
12262 2000-07-12 Martin Buchholz <martin@xemacs.org>
12264 * config.h.in: Add socklen_t.
12266 * s/decosf4-0.h: No special compiler flags needed or desired.
12267 In particular, undefine _BSD for DEC OSF 4.0.
12269 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12271 * redisplay-msw.c (msprinter_frame_output_end): Added.
12272 (console_type_create_redisplay_mswindows): Referred the above.
12274 * frame.c (setup_frame_without_minibuffer): Do not create a
12275 default minibuffer frame on a printer device.
12277 * frame-msw.c (apply_dc_geometry): Added.
12278 (msprinter_start_page):
12279 (msprinter_init_frame_3):
12280 (msprinter_eject_page): Use it.
12282 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12283 and removed residual duplex and orientation properties.
12285 2000-07-11 Martin Buchholz <martin@xemacs.org>
12287 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12289 * unexalpha.c: Remove system prototypes from C sources!
12291 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12293 * eval.c: Remove references to M-x edit-options in DEFUNs for
12294 `defvar' and `defconst'.
12296 2000-07-09 Martin Buchholz <martin@xemacs.org>
12298 * config.h.in: Remove SMART_INCLUDE hackery.
12300 PostgreSQL hacking:
12301 * config.h.in: Don't use SMART_INCLUDE.
12303 * postgresql.h: Include libpq-fe.h here. Fix typo.
12304 * inline.c: Simply #include "postgresql.h"
12306 - Don't use SMART_INCLUDE
12307 - Use simply "const".
12308 - Use standard doc string conventions.
12309 - Use correct type for result of PQstatus.
12311 2000-07-09 Martin Buchholz <martin@xemacs.org>
12313 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12315 C++ compilation changes.
12316 * config.h.in (EXTERN_C): Define.
12317 * config.h.in (not): This is also a C++ keyword.
12318 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12319 * cm.c: Use EXTERN_C.
12320 * redisplay-tty.c: Use EXTERN_C.
12321 * sysdep.c: Use EXTERN_C. Remove Gould support.
12323 2000-07-09 Martin Buchholz <martin@xemacs.org>
12325 * general.c: Remove duplicate definition for Qfunction.
12327 2000-07-08 Ben Wing <ben@xemacs.org>
12329 * device-msw.c (msprinter_init_device):
12330 * device-msw.c (sync_printer_with_devmode):
12331 * device-msw.c (handle_devmode_changes):
12332 * device-msw.c (print_dialog_worker):
12333 * device-msw.c (Fmsprinter_apply_settings):
12334 * device-msw.c (hash_devmode):
12335 * device-msw.c (Fmsprinter_settings_despecialize):
12336 use Qmswindows_tstr, not Qctext.
12338 * vm-limit.c (check_memory_limits):
12339 avoid infinite loop printing warning messages.
12341 2000-07-05 Craig Lanning <lanning@scra.org>
12343 * Makefile.in.in: Add support for including the Windows resources
12344 when building with the cygwin and mingw targets.
12346 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12347 not set or not correct.
12348 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12349 (init_initial_directory): Don't try to use $PWD on the
12350 WIN32_NATIVE target.
12353 [[Add -mwindows to eliminate console window.]] not required --ben
12354 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12355 (MAIL_USE_POP): removed; now handled by configure.
12357 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12358 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12359 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12360 (MAIL_USE_POP): removed; now handled by configure.
12361 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12362 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12363 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12365 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12366 up from <winsock.h> via systime.h.
12367 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12368 (getpagesize): from Dan Holmsand, added.
12369 Added #endif which was left dangling by Ben's mega patch; added
12370 comment to help prevent this in the future.
12372 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12374 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12376 * console-msw.h (struct mswindows_device): Removed unnecessary
12377 cached device geometry values.
12378 Added update_tick and an accessor macro.
12379 (Lisp_Devmode): Added lrecord declaration.
12380 (struct msprinter_device): Contain devmode as a Lisp object.
12381 Added mswindows_get_selected_frame_hwnd();
12383 * console.h (struct console_methods): Indentation nitpicking.
12385 * device-msw.c (mswindows_init_device): Do not initialize geometry
12386 cache. Initialize update tick.
12387 (mswindows_device_system_metrics): Ask the device for its geometry.
12388 (global_free_2_maybe):
12389 (devmode_to_hglobal):
12390 (handle_printer_changes):
12391 (ensure_not_printing):
12392 (print_dialog_worker):
12393 (Fmsprinter_print_setup_dialog):
12394 (Fmsprinter_print_dialog):
12395 (plist_get_margin):
12396 (plist_set_margin):
12397 (Fmsprinter_page_setup_dialog): Added functions.
12398 (sync_printer_with_devmode):
12399 (handle_devmode_changes):
12400 (Fmsprinter_get_settings):
12401 (Fmsprinter_select_settings):
12402 (Fmsprinter_apply_settings):
12403 (allocate_devmode):
12404 (Fmsprinter_settings_copy):
12405 (Fmsprinter_settings_despecialize):
12407 (finalize_devmode):
12409 (hash_devmode): Added functions
12410 (syms_of_device_mswindows): Init devmode lrecord class.
12412 * device.h: Added an exfun for find-device.
12414 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12415 geometry; although, recreate the device compatible DC.
12417 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12418 (msprinter_init_frame_3):
12419 (msprinter_frame_property):
12420 (msprinter_internal_frame_property_p):
12421 (msprinter_frame_properties):
12422 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12423 print job properties (will move to device settings).
12425 * lisp.h: Added symbols.
12427 * general.c (syms_of_general): Declared them.
12429 * hash.c (string_hash): Added.
12431 * lrecord.h (lrecord_type): Added devmode lrecord type.
12433 2000-07-02 Mike Sperber <mike@xemacs.org>
12435 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12438 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12440 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12443 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12445 * data.c (Fstring_to_number): Don't recognize floating point if
12448 2000-06-22 Martin Buchholz <martin@xemacs.org>
12450 * glyphs-widget.c (tab_control_query_geometry):
12451 (widget_query_geometry):
12452 (button_query_geometry):
12453 * glyphs.c (text_query_geometry):
12454 Enforce type correctness.
12456 2000-06-18 Martin Buchholz <martin@xemacs.org>
12458 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12459 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12461 2000-06-17 Martin Buchholz <martin@xemacs.org>
12463 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12464 conflicts with gcc's fixincluded version of FOO.h.
12466 * glyphs.h (image_instance_geometry): Remove trailing `,'
12468 2000-06-08 Mike Alexander <mta@arbortext.com>
12470 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12471 (shove_thread): Don't write the same output twice
12472 (make_ntpipe_output_stream): Increase priority of shove thread
12473 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12475 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12478 2000-06-12 Ben Wing <ben@xemacs.org>
12480 * s\mingw32.h (sigset):
12481 * s\windowsnt.h (sigset):
12482 rename msw_ to mswindows_ for consistency with general convention.
12484 2000-06-12 Ben Wing <ben@xemacs.org>
12487 * console-msw.c (mswindows_get_console_hwnd):
12488 * console-msw.c (mswindows_ensure_console_allocated):
12489 * console-msw.c (mswindows_hide_console):
12490 * console-msw.c (mswindows_show_console):
12491 * console-msw.c (mswindows_ensure_console_buffered):
12492 * console-msw.c (mswindows_output_console_string):
12493 * console-msw.c (mswindows_windows9x_p):
12495 * device-msw.c (mswindows_get_workspace_coords):
12496 * device-msw.c (mswindows_device_system_metrics):
12497 * dialog-msw.c (mswindows_popup_dialog_box):
12498 * event-msw.c (mswindows_wnd_proc):
12499 * frame-msw.c (mswindows_size_frame_internal):
12500 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12501 * menubar-msw.c (displayable_menu_item):
12502 * menubar-msw.c (mswindows_char_is_accelerator):
12504 * nt.c (mswindows_sigset):
12505 * nt.c (mswindows_sigrelse):
12506 * nt.c (mswindows_sigpause):
12507 * nt.c (mswindows_raise):
12508 * nt.c (timer_proc):
12510 * ntproc.c (find_child_console):
12511 * ntproc.c (sys_kill):
12513 * print.c (std_handle_out_external):
12514 * process-nt.c (find_child_console):
12515 * process-nt.c (send_signal_the_95_way):
12516 * process-nt.c (ensure_console_window_exists):
12517 * process-nt.c (nt_create_process):
12519 rename msw_ to mswindows_ for consistency with general convention.
12523 include nt.h, not syswindows.h.
12525 * nt.c (mswindows_fstat):
12526 * nt.c (mswindows_stat):
12527 prefix mswindows_ instead of attempting to directly override the
12528 library functions. fix declarations.
12531 include syswindows.h. move some sysdep.h stuff here.
12534 include syswindows.h, not <windows.h>.
12542 * sysdep.c (sys_fstat):
12543 * sysdep.c (sys_stat):
12544 call mswindows versions when appropriate.
12547 move mswin decls to nt.h.
12550 add long comment describing appropriate use of the various windows
12553 2000-06-11 Ben Wing <ben@xemacs.org>
12555 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12557 2000-06-10 Ben Wing <ben@xemacs.org>
12559 * Makefile.in.in (release):
12560 Correction to make sure xemacs.exe always dumped when correct.
12564 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12566 * buffer.c (set_buffer_internal):
12567 [[[[2]]]]: Remove HAVE_FEP code.
12569 * buffer.c (init_initial_directory):
12573 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12577 * callproc.c (call_process_cleanup):
12578 * callproc.c (Fold_call_process_internal):
12579 * callproc.c (child_setup):
12580 * callproc.c (getenv_internal):
12581 * callproc.c (init_callproc):
12582 * callproc.c (vars_of_callproc):
12583 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12584 __CYGWIN32__ -> CYGWIN.
12585 DOS_NT -> WIN32_NATIVE.
12586 Remove MSDOS support/references, converting to WIN32_NATIVE
12588 __MINGW32__ -> MINGW.
12589 Fix windows.h includes.
12590 Remove bogus HAVE_NTGUI.
12596 mswindows_message_outputted added for use in allowing startup
12597 errors on the console to be seen.
12599 * console-msw.c (msw_ensure_console_allocated):
12600 * console-msw.c (msw_output_console_string):
12601 * console-msw.c (DHEADER):
12602 * console-msw.c (DOPAQUE_DATA):
12603 * console-msw.c (DEVENT):
12604 * console-msw.c (DCONS):
12605 * console-msw.c (DCONSCDR):
12606 * console-msw.c (DSTRING):
12607 * console-msw.c (DVECTOR):
12608 * console-msw.c (DSYMBOL):
12609 * console-msw.c (DSYMNAME):
12612 * console-stream.c (stream_init_console):
12613 Fix text/binary problems.
12616 * device-msw.c (mswindows_finish_init_device):
12617 * device-msw.c (mswindows_delete_device):
12620 * device.c (handle_asynch_device_change):
12624 * dgif_lib.c (DGifOpenFileName):
12625 * dgif_lib.c (DGifOpenFileHandle):
12626 * dgif_lib.c (DGifGetLine):
12627 * dgif_lib.c (DGifGetPixel):
12628 Added config.h/lisp.h, fix up includes.
12635 * dired.c (file_name_completion):
12636 * dired.c (Ffile_attributes):
12637 * dired.c (syms_of_dired):
12641 * dumper.c (pdump_file_unmap):
12642 * dumper.c (pdump_load):
12646 * editfns.c (Ftemp_directory):
12647 * editfns.c (user_login_name):
12648 * editfns.c (Fuser_real_login_name):
12649 * editfns.c (get_home_directory):
12652 * elhash.c (finish_marking_weak_hash_tables):
12653 [[[[5]]]]: Fix GCC warnings.
12656 * emacs.c (mswindows_handle_hardware_exceptions):
12657 * emacs.c (make_arg_list_1):
12658 * emacs.c (main_1):
12659 * emacs.c (Fkill_emacs):
12660 * emacs.c (Fdump_emacs):
12662 Fix problems with nested crashes, add long comment.
12664 * event-Xt.c (init_event_Xt_late):
12668 * event-msw.c (mswindows_dde_callback):
12669 * event-msw.c (mswindows_handle_sticky_modifiers):
12670 * event-msw.c (mswindows_wnd_proc):
12674 * events.c (character_to_event):
12678 * fileio.c (Ffile_name_directory):
12679 * fileio.c (Ffile_name_nondirectory):
12680 * fileio.c (directory_file_name):
12681 * fileio.c (Fexpand_file_name):
12682 * fileio.c (Fsubstitute_in_file_name):
12683 * fileio.c (Ffile_name_absolute_p):
12684 * fileio.c (check_executable):
12685 * fileio.c (Ffile_readable_p):
12686 * fileio.c (Ffile_accessible_directory_p):
12687 * fileio.c (Ffile_modes):
12688 * fileio.c (Funix_sync):
12689 * fileio.c (vars_of_fileio):
12692 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
12694 Expand getdefdir defn.
12695 Fix bogus rename() comment.
12697 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
12698 to use standard XEmacs include files, e.g. sysfile.h, rather
12699 than system-specific includes.
12705 * frame.c (vars_of_frame):
12709 * getloadavg.c (getloadavg):
12711 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
12712 (We don't use it elsewhere in the code; just add a comment.)
12719 * glyphs-msw.c (mswindows_resource_instantiate):
12722 * glyphs-x.c (x_native_layout_instantiate):
12725 * gui-msw.c (Fmswindows_shell_execute):
12734 * lread.c (locate_file_in_directory_mapper):
12741 * mem-limits.h (get_lim_data):
12753 * nt.c (rva_to_section):
12754 * nt.c (mswindows_executable_type):
12756 Fix closedir() defn.
12759 [[[[8]]]]: *_OK defs moved to sysfile.h.
12768 * print.c (std_handle_out_external):
12772 * process-nt.c (nt_create_process):
12774 try to fix process quoting somewhat.
12776 * process-unix.c (unix_create_process):
12780 * process.c (vars_of_process):
12787 * realpath.c (xrealpath):
12790 * redisplay-tty.c (init_tty_for_redisplay):
12800 * sheap.c (more_static_core):
12801 * sheap.c (report_sheap_usage):
12805 * signal.c (alarm_signal):
12812 * strftime.c (zone_name):
12815 * symsinit.h (init_sunpro):
12819 commctrl.h not in Cygwin b20.1.
12822 * sysdep.c (endif):
12823 * sysdep.c (sys_subshell):
12824 * sysdep.c (init_baud_rate):
12825 * sysdep.c (emacs_get_tty):
12826 * sysdep.c (emacs_set_tty):
12827 * sysdep.c (tty_init_sys_modes_on_device):
12828 * sysdep.c (init_system_name):
12829 * sysdep.c (sys_open):
12830 * sysdep.c (interruptible_open):
12831 * sysdep.c (sys_fopen):
12832 * sysdep.c (sys_mkdir):
12833 * sysdep.c (sys_rename):
12834 * sysdep.c (get_process_times_1):
12841 * sysdir.h (DIRENTRY_NONEMPTY):
12844 * sysdll.c (dll_init):
12850 added text/binary defs.
12856 * sysproc.h (EDESTADDRREQ):
12857 * sysproc.h (poll_fds_for_input):
12874 Always define WIN32_LEAN_AND_MEAN.
12876 * unexcw.c (unexec):
12880 * unexec.c (copy_text_and_data):
12881 * unexec.c (adjust_lnnoptrs):
12885 * unexnt.c (_start):
12888 2000-06-07 Ben Wing <ben@xemacs.org>
12890 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12891 was used only as a model. We've long since extracted any useful
12892 logic or code out of this. (I just did an exhaustive search.)
12894 * s\msdos.h: Removed.
12896 * s\windows95.h: Removed.
12898 2000-06-10 Ben Wing <ben@xemacs.org>
12902 Don't use extern with fun defs.
12906 Remove nt\inc include.
12907 Remove getdisk, getdefdir. (The former is unused, the latter
12908 expanded in fileio.h.)
12911 * s\windowsnt.h (WIN32_NATIVE):
12912 * s\windowsnt.h (HAVE_STRCASECMP):
12914 Add long comment about preprocessor changes.
12915 Remove getdisk, getdefdir. (The former is unused, the latter
12916 expanded in fileio.h.)
12918 2000-06-10 Ben Wing <ben@xemacs.org>
12927 Remove bogus/unused NO_SOCK_SIGIO.
12929 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12931 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12934 2000-06-04 Mike Sperber <mike@xemacs.org>
12936 * casetab.c (set_case_table): For `set-standard-case-table',
12937 actually deposit the new case tables where the rest of XEmacs can
12940 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12942 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12944 2000-06-05 Ben Wing <ben@xemacs.org>
12946 * callproc.c (child_setup): Don't do close_load_descs() under
12947 MS Windows. Put in a comment explaining why.
12949 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12951 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12952 Toolkit shell" which breaks `kill-compilation' on Windows NT
12953 native, retaining STDERR handling improvements.
12955 2000-06-01 Andreas Jaeger <aj@suse.de>
12957 * s/s390.h: Support for S390, based on a patch by Martin
12958 Schwidefsky <schwidefsky@de.ibm.com>.
12960 2000-05-30 Andy Piper <andy@xemacs.org>
12962 * window.c (allocate_window):
12963 (make_dummy_parent):
12964 (Fset_window_configuration): use new hashtable type.
12966 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12967 (struct image_instantiator_methods):
12968 (struct Lisp_Image_Instance): make instance geometry signed.
12970 * glyphs.c (instantiate_image_instantiator):
12971 (image_instance_query_geometry):
12972 (image_instance_layout):
12973 (image_instance_layout):
12974 (query_string_geometry):
12975 (text_query_geometry):
12976 (image_instantiate):
12977 (image_instantiate):
12978 (cache_subwindow_instance_in_frame_maybe):
12979 (subwindow_query_geometry): make instance geometry signed.
12981 * glyphs-widget.c (widget_query_geometry):
12983 (button_query_geometry):
12984 (tree_view_query_geometry):
12985 (tab_control_query_geometry):
12986 (layout_query_geometry):
12988 (native_layout_layout): make instance geometry signed.
12990 2000-05-29 Olivier Galibert <galibert@pobox.com>
12992 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12995 * general.c (syms_of_general): Add Qfull_assoc symbol.
12997 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12999 (decode_weak_list_type): Decode full-assoc type.
13000 (encode_weak_list_type): Encode full-assoc type.
13001 (Fmake_weak_list): Update doc string.
13003 2000-05-30 Andy Piper <andy@xemacs.org>
13005 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13007 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13008 (decode_hash_table_weakness): ditto.
13009 (Fhash_table_weakness): ditto.
13010 (Fhash_table_type): ditto.
13011 (finish_marking_weak_hash_tables): ditto.
13012 (hash_table_weakness_validate): ditto.
13013 (syms_of_elhash): ditto.
13015 2000-05-28 Martin Buchholz <martin@xemacs.org>
13017 * XEmacs 21.2.34 is released.
13019 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13021 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13023 (updating_line_start_cache): Gone.
13024 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13025 generic code to force a minimum of 1 line laid out in the
13028 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13030 * glyphs.c (instantiate_image_instantiator): Check for initialized
13031 height & width no longer special cases IMAGE_NOTHING.
13032 (nothing_instantiate): Set height and width of instance.
13034 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13036 * unexelf.c (unexec): Search for ".data" section.
13037 Initialize new_data2_offset from old_data_index.
13038 Remove redundant check for ElfW.
13040 2000-05-23 Andy Piper <andy@xemacs.org>
13042 * glyphs.c (get_image_instantiator_governing_domain): allow more
13043 specific domains as the governing domain rather than expecting an
13044 exact match. This fixes problems with layouts.
13046 2000-05-22 Andy Piper <andy@xemacs.org>
13048 * redisplay-output.c (compare_runes): check for non-images
13050 * glyphs.c (set_glyph_dirty_p): ditto.
13051 (update_glyph_cachel_data): ditto.
13053 * glyphs-widget.c (layout_post_instantiate): ditto.
13054 (layout_post_instantiate): ditto.
13056 * event-msw.c (mswindows_wnd_proc): warning removal.
13058 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13060 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13062 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13064 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13066 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13067 (mswindows_executable_type): mingw32 now has enough headers for
13070 2000-05-20 Andy Piper <andy@xemacs.org>
13072 * console-msw.c (mswindows_output_last_error): ; -> ,
13074 2000-05-12 Andy Piper <andy@xemacs.org>
13076 * console-msw.c (FROB): compare ints with ints.
13078 2000-05-11 Andy Piper <andy@xemacs.org>
13080 * glyphs-x.c (x_finalize_image_instance): make minimal build
13083 2000-05-20 Ben Wing <ben@xemacs.org>
13086 * event-Xt.c (vars_of_event_Xt):
13087 move modifier-keys-are-sticky to event-stream.c.
13090 * event-msw.c (mswindows_enqueue_mouse_button_event):
13091 * event-msw.c (key_needs_default_processing_p):
13092 * event-msw.c (XEMSW_LCONTROL):
13093 * event-msw.c (mswindows_handle_sticky_modifiers):
13094 * event-msw.c (FROB):
13095 * event-msw.c (clear_sticky_modifiers):
13096 * event-msw.c (output_modifier_keyboard_state):
13097 * event-msw.c (output_alt_keyboard_state):
13098 * event-msw.c (mswindows_wnd_proc):
13099 * event-msw.c (mswindows_modifier_state):
13100 * event-msw.c (emacs_mswindows_handle_magic_event):
13101 implement sticky modifiers.
13104 * event-stream.c (vars_of_event_stream):
13105 move modifier-keys-are-sticky here.
13108 add CHECK_FUNCTION.
13111 implement map-range-table.
13114 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13116 * redisplay-tty.c (reset_tty_modes):
13117 (tty_redisplay_shutdown): Adjust argument type to
13118 tty_frame_output_end.
13120 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13122 * eval.c (Fbacktrace): Don't output a line with only right
13125 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13127 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13128 (Fpq_reset_poll): Ditto.
13130 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13132 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13134 2000-05-16 Ben Wing <ben@xemacs.org>
13137 * buffer.c (dfc_convert_to/from_internal_format):
13138 * buffer.c (reinit_vars_of_buffer):
13139 Fix conversion functions to allow reentrancy.
13142 * console-msw.c (mswindows_output_last_error):
13143 New fun, generally useful -- output a human-readable
13144 version of GetLastError() on the console.
13147 * console-msw.h (struct mswindows_frame):
13148 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13150 * console-stream.c (stream_output_begin):
13151 * console-stream.c (stream_output_end):
13152 * console-stream.c (stream_output_vertical_divider):
13153 * console-stream.c (stream_clear_region):
13154 * console-stream.c (stream_flash):
13155 * console-stream.c (console_type_create_stream):
13156 Delete blank stream methods, not needed.
13158 * console.h (struct console_methods):
13159 Split begin/end methods into window and frame.
13162 * event-msw.c (mswindows_handle_paint):
13163 * event-msw.c (output_alt_keyboard_state):
13164 * event-msw.c (mswindows_wnd_proc):
13165 * event-msw.c (vars_of_event_mswindows):
13166 Comment about problems with ignored-expose.
13167 Define mswindows-debug-events; not really implemented.
13169 * frame-msw.c (mswindows_init_frame_1):
13173 * glyphs-msw.c (begin_defer_window_pos):
13174 * glyphs-msw.c (mswindows_unmap_subwindow):
13175 * glyphs-msw.c (mswindows_map_subwindow):
13176 * glyphs-msw.c (mswindows_resize_subwindow):
13177 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13179 * glyphs.c (make_image_instance_1):
13182 * gutter.c (Fredisplay_gutter_area):
13183 Use new begin/end methods.
13185 * lisp.h (Dynarr_new2):
13189 * redisplay-msw.c (mswindows_frame_output_begin):
13190 * redisplay-msw.c (mswindows_frame_output_end):
13191 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13192 New begin/end methods -- handle DeferWindowPos.
13194 * redisplay-output.c (redisplay_move_cursor):
13195 * redisplay-output.c (redraw_cursor_in_window):
13196 * redisplay-output.c (redisplay_update_line):
13197 * redisplay-output.c (redisplay_output_window):
13198 New begin/end methods.
13201 * redisplay-tty.c (tty_frame_output_begin):
13202 * redisplay-tty.c (tty_frame_output_end):
13203 * redisplay-tty.c (console_type_create_redisplay_tty):
13204 New begin/end methods.
13207 * redisplay-x.c (x_window_output_begin):
13208 * redisplay-x.c (x_window_output_end):
13209 * redisplay-x.c (console_type_create_redisplay_x):
13210 New begin/end methods.
13212 * redisplay.c (redisplay_frame):
13213 * redisplay.c (Fredisplay_echo_area):
13214 New begin/end methods.
13215 use MAYBE_DEVMETH for clear_frame; it may not exist.
13217 * window.h (WINDOW_XFRAME):
13218 WINDOW_XFOO macros -- get locale and decode struct pointer.
13221 2000-05-12 Ben Wing <ben@xemacs.org>
13224 * emacs.c (ensure_no_quitting_from_now_on):
13225 * emacs.c (fatal_error_signal):
13226 * emacs.c (mswindows_handle_hardware_exceptions):
13228 * emacs.c (Fkill_emacs):
13229 * emacs.c (shut_down_emacs):
13230 * emacs.c (assert_failed):
13231 various improvements in fatal error handling.
13234 move preparing_for_armageddon to emacs.c.
13237 declare fatal_error_in_progress.
13240 * print.c (std_handle_out_external):
13241 * print.c (std_handle_out_va):
13242 * print.c (stderr_out):
13243 * print.c (stdout_out):
13244 use console under mswin when no standard output.
13245 don't do code conversion during fatal error.
13247 * scrollbar.c (Fscrollbar_page_up):
13248 * scrollbar.c (Fscrollbar_page_down):
13249 fix missing else. reindent.
13251 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13255 * glyphs.h (GLYPH_CACHEL_DESCENT):
13256 (GLYPH_CACHEL_DESCENT):
13257 (GLYPH_CACHEL_DESCENT):
13258 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13259 used in case these are inline functions.
13260 Use more absurd values to error check.
13262 include window.h for error check functions.
13264 2000-05-11 Ben Wing <ben@xemacs.org>
13266 * cmdloop.c (Freally_early_error_handler):
13267 Display message box under windows; otherwise, message will disappear
13268 before it can be viewed.
13271 * console-msw.c (Fmswindows_message_box):
13272 * console-msw.c (FROB):
13273 * console-msw.c (syms_of_console_mswindows):
13274 Define new fun `mswindows-message-box'.
13275 #### I will merge this into `popup-dialog-box'; just give me
13279 * general.c (syms_of_general):
13280 Some new symbols used in `mswindows-message-box'.
13283 * glyphs.c (Fset_image_instance_property):
13284 put warning in this fun.
13287 * glyphs.h (GLYPH_CACHEL_WIDTH):
13288 * glyphs.h (GLYPH_CACHEL_ASCENT):
13289 * glyphs.h (GLYPH_CACHEL):
13290 * glyphs.h (GLYPH_CACHEL_GLYPH):
13291 define error-checking versions to try to catch a bug i've seen --
13292 redisplay gets in an infinite loop because the glyph width of the
13293 continuation glyph is 65535.
13296 Extern message-box stuff.
13298 * window.c (allocate_window):
13299 * window.c (make_dummy_parent):
13300 * window.c (Fset_window_configuration):
13301 Use EQUAL not EQ for subwindow caches to make them work a bit
13302 better. (Something is still very broken.)
13305 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13307 * glyphs.c (image_instantiate): Suppress gcc warnings.
13308 (Fmake_image_instance): Fix doc string.
13309 * specifier.c (Fmake_specifier): Ditto.
13311 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13313 * paths.h.in (PATH_LOCK): Removed.
13314 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13315 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13317 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13319 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13320 Document (featurep '(and xemacs 21.02)).
13322 2000-05-09 Ben Wing <ben@xemacs.org>
13324 * buffer.c (complex_vars_of_buffer):
13325 update modeline-format doc.
13328 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13331 timeline of all released versions of Emacs, for use in creating
13332 authorship comments and in synching up.
13334 * glyphs-widget.c (image_instantiator_buttons):
13335 * glyphs-widget.c (image_instantiator_edit_fields):
13336 * glyphs-widget.c (image_instantiator_combo_box):
13337 * glyphs-widget.c (image_instantiator_scrollbar):
13338 * glyphs-widget.c (image_instantiator_progress_guage):
13339 * glyphs-widget.c (image_instantiator_tree_view):
13340 * glyphs-widget.c (image_instantiator_tab_control):
13341 * glyphs-widget.c (image_instantiator_labels):
13342 * glyphs-widget.c (image_instantiator_layout):
13343 * glyphs-widget.c (image_instantiator_native_layout):
13344 rename decode_domain method to governing_domain.
13347 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13348 * glyphs.c (add_entry_to_device_ii_format_list):
13349 make sure we don't put an entry more than once into the list.
13350 * glyphs.c (check_instance_cache_mapper):
13351 *************************************************************
13352 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13354 *************************************************************
13355 * glyphs.c (get_image_instantiator_governing_domain):
13356 clean up, expand on new concept of governing domain.
13357 * glyphs.c (instantiate_image_instantiator):
13358 * glyphs.c (allocate_image_instance):
13359 use governing_domain instead of cache_domain in naming.
13360 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13361 * glyphs.c (make_image_instance_1):
13362 * glyphs.c (Fmake_image_instance):
13363 allow for any domain (not just device), and process the
13364 governing domain correctly. very big doc fix.
13365 * glyphs.c (Fimage_instance_domain):
13366 new primitive, to retrieve the governing domain of an image instance.
13367 * glyphs.c (image_instantiate):
13368 use new governing_domain stuff. this fixes a crash you could get
13369 by instantiating certain widget glyphs in frame locales. (should
13370 signal an error instead of crashing.)
13371 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13372 * glyphs.c (Fglyphp): clean up doc.
13373 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13374 * glyphs.c (syms_of_glyphs):
13375 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13376 * glyphs.c (image_instantiator_format_create): add some comments about
13378 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13379 for current-display-table. (Apparently Hrjove implemented in 1998 a
13380 design I wrote up in 1996, but didn't update the doc string.)
13382 * glyphs.h: clean up a doc string.
13383 * glyphs.h (governing_domain):
13384 * glyphs.h (struct image_instantiator_methods):
13385 changes for governing_domain stuff.
13388 * gutter.c (Fgutter_specifier_p):
13389 * gutter.c (Fgutter_size_specifier_p):
13390 * gutter.c (Fgutter_visible_specifier_p):
13392 * objects.c (Fcolor_specifier_p):
13393 * objects.c (Ffont_specifier_p):
13394 * objects.c (Fface_boolean_specifier_p):
13395 doc strings moved to make-*-specifier.
13397 * redisplay.c (add_disp_table_entry_runes_1):
13398 * redisplay.c (generate_fstring_runes):
13399 * redisplay.c (screen):
13400 add random comments and doc strings.
13403 * specifier.c (Fmake_specifier):
13404 major overhaul of this doc string.
13406 * specifier.c (Fvalid_specifier_domain_p):
13407 comment about the bogosity of image instances being domains.
13408 * specifier.c (decode_domain):
13409 now non-static, used in glyphs.c.
13410 * specifier.c (specifier_instance):
13411 comment about the bogosity of image instances being domains.
13412 * specifier.c (Fgeneric_specifier_p):
13413 move doc string to make-generic-specifier.
13414 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13418 * specifier.h (DOMAIN_FRAME):
13419 * specifier.h (DOMAIN_LIVE_P):
13420 * specifier.h (DOMAIN_XDEVICE):
13422 add comments about problems with these macros.
13423 prototype for decode_domain.
13426 * toolbar.c (Ftoolbar_specifier_p):
13427 move doc string to `make-toolbar-specifier'.
13429 * window.c (window_unmap_subwindows_cache_mapper):
13430 *************************************************************
13431 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13433 *************************************************************
13435 2000-05-09 Andy Piper <andy@xemacs.org>
13437 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13439 * window.c (Fset_window_configuration): reset the frame subwindow
13440 cache and re-initialize the window subwindow caches.
13442 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13444 2000-05-09 Ben Wing <ben@xemacs.org>
13446 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13449 2000-04-26 Mike Woolley <mike@bulsara.com>
13451 * ntheap.c: Changed recreate_heap to limit the amount reserved
13452 for the heap to that which is actually available. Also now
13453 displays a message box (with some dignostics) in the event that
13454 it still can't start.
13456 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13458 * callproc.c (Fold_call_process_internal): GCPRO path
13460 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13462 Patch by Bill Perry.
13464 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13465 back data instead of #ifdef.
13466 (Fscrollbar_page_down): ditto.
13468 2000-05-07 Ben Wing <ben@xemacs.org>
13471 Kludge for defining Qmswindows_tstr.
13474 * nt.c (open_input_file):
13475 * nt.c (open_output_file):
13476 * nt.c (rva_to_section):
13477 * nt.c (mswindows_executable_type):
13478 Move all memory-mapped-file routines here (some were in unexnt.c,
13479 which is bad because they are used by process-nt.c, and unexnt
13480 won't be around when portable dumping). Synched the above routines
13484 Removed ifdef'd out bogus code.
13485 Fixed some prototypes.
13487 * nt.h (file_data):
13488 * nt.h (OFFSET_TO_RVA):
13489 * nt.h (RVA_TO_OFFSET):
13490 * nt.h (RVA_TO_PTR):
13491 Moved the memory-mapped-file structures, macros and prototypes
13492 here, to parallel nt.c. ntheap.h should really be removed
13493 entirely, and it's a non-portable-dumper specific file.
13495 * ntheap.h (round_to_next):
13496 Moved the memory-mapped-file structures, macros and prototypes
13499 * ntproc.c (compare_env):
13500 Moved rva_to_section and mswindows_executable_type to nt.c.
13501 Moved compare_env to process-nt.c.
13502 ntproc.c will die, one day.
13504 * ntproc.c (sys_spawnve):
13505 Account for win32_ -> mswindows_.
13508 * process-nt.c (struct nt_process_data):
13509 * process-nt.c (ensure_console_window_exists):
13510 * process-nt.c (compare_env):
13511 * process-nt.c (nt_create_process):
13512 * process-nt.c (nt_kill_process_by_pid):
13513 * process-nt.c (syms_of_process_nt):
13514 * process-nt.c (vars_of_process_nt):
13515 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13516 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13517 changes). Eliminate our old `nt-quote-process-args' mechanism.
13518 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13519 Move compare_env here from ntproc.c.
13521 * process.c (Fprocess_send_region):
13522 Takes an optional fourth argument, BUFFER, which should fix some
13523 problems with call-process.
13526 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13529 Move ICC_BAR_CLASSES to syscommctrl.h.
13530 Add preliminary macros for MSWindows/Mule. More to come.
13533 * unexnt.c (unexec):
13534 open_output_file moved to nt.c.
13537 2000-05-05 Andy Piper <andy@xemacs.org>
13539 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13540 instance from the frame cache also since GC may catch up too late
13541 to make frame deletion sane.
13543 2000-05-04 Andy Piper <andy@xemacs.org>
13545 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13546 (x_finalize_image_instance): ungcpro on deletion.
13548 * glyphs.c (image_instantiator_format_create): give pointers a
13549 query geometry method so that the geometry is at least set.
13551 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13552 initialize layouts if using widgets.
13554 2000-05-03 Andy Piper <andy@xemacs.org>
13556 * nt.c: remove bogus reference to sysmmsystem.h
13558 * gui-x.c (popup_selection_callback): fix no selection abort.
13560 2000-05-02 Andy Piper <andy@xemacs.org>
13562 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13563 (mswindows_widget_instantiate): ditto.
13565 * glyphs-widget.c (initialize_widget_image_instance): initialize
13566 children correctly.
13567 (widget_instantiate): cope with children and items in the same
13570 * glyphs.c (mark_image_instance): cope with children as a first
13572 (image_instance_equal): ditto.
13573 (image_instance_hash): ditto.
13574 (image_instance_changed): ditto.
13576 2000-04-30 Andy Piper <andy@xemacs.org>
13578 * glyphs.c (subwindow_query_geometry): new function. Return some
13580 (subwindow_instantiate): don't assign dimensions if none have been
13582 (image_instantiator_format_create): add subwindow_query_geometry.
13583 (print_image_instance): cope with layouts as widgets.
13585 2000-04-29 Andy Piper <andy@xemacs.org>
13587 * frame.c (delete_frame_internal): call
13588 free_frame_subwindow_instance_cache so that all subwindows are
13589 finalized before their parent.
13590 (mark_frame): remove subwindow_cachels.
13591 (Fmake_frame): remove subwindow_cachel manipulation.
13592 (allocate_frame_core): subwindow_instance_cache is a weak list.
13593 (delete_frame_internal): set subwindow_instance_cache to nil.
13595 * glyphs-msw.c (mswindows_finalize_image_instance): make double
13597 (mswindows_finalize_image_instance): use the device
13598 not the domain as the domain may have died already.
13600 * glyphs-x.c (x_finalize_image_instance): ditto.
13601 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
13604 * redisplay-output.c (redisplay_unmap_subwindows): update for
13605 subwindow instance cache as a weak list.
13606 (redisplay_unmap_subwindows_maybe): ditto.
13607 (redisplay_unmap_subwindows_except_us): ditto.
13609 * glyphs.c (unmap_subwindow): error checking will check the domain
13610 so don't deal with it here. Don't use cachels anymore.
13611 (map_subwindow): ditto.
13612 (update_subwindow_cachel_data): remove old accessor names.
13613 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
13614 (Fresize_subwindow): don't update cachel.
13615 (mark_subwindow_cachels):
13616 (update_subwindow_cachel_data):
13617 (add_subwindow_cachel):
13618 (get_subwindow_cachel_index):
13619 (update_subwindow_cachel):
13620 (reset_subwindow_cachels):
13621 (mark_subwindow_cachels_as_not_updated): deleted.
13622 (cache_subwindow_instance_in_frame_maybe): new function. Add a
13623 subwindow instance to the frame cache.
13624 (find_matching_subwindow): update for subwindow instance cache as
13626 (update_widget_instances): ditto.
13627 (image_instance_type_to_mask):inlined.
13628 (free_frame_subwindow_instance_cache): new function. finalize all
13629 subwindows that are instantiated.
13631 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
13632 of cachel information.
13633 (IMAGE_INSTANCE_DISPLAY_X):
13634 (IMAGE_INSTANCE_DISPLAY_Y):
13635 (IMAGE_INSTANCE_DISPLAY_WIDTH):
13636 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
13637 (XIMAGE_INSTANCE_DISPLAY_X):
13638 (XIMAGE_INSTANCE_DISPLAY_Y):
13639 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
13640 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
13641 remove subwindow_cachel structure and function references.
13642 (image_instance_type_to_mask): inline from glyphs.c
13644 * redisplay.c (redisplay_frame): remove subwindow_cachel
13647 * frame.h (struct frame): remove subwindow_cachels.
13648 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
13650 * frameslots.h: add subwindow_instance_cache.
13652 * window.c (replace_window): check subwindow cache of replacement.
13653 (window_unmap_subwindows_cache_mapper):
13654 (window_unmap_subwindows): new functions. Unmap all subwindows
13655 cached on this window.
13656 (mark_window_as_deleted): unmap all subwindows.
13658 2000-04-27 Andy Piper <andy@xemacs.org>
13660 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
13662 * glyphs-widget.c (widget_layout): return something.
13663 (layout_layout): return something. Fail if not initialized.
13664 (layout_query_geometry): ditto.
13665 (image_instantiator_native_layout): new function. Initialized the
13666 native layout type.
13667 (widget_instantiate): don't do layout stuff here.
13669 * glyphs.c (instantiate_image_instantiator): reorded calling or
13670 instantiate and post_instantiate with layout in between.
13671 (image_instance_layout): be more selective about deciding whether
13672 the layout has been done or not.
13674 * glyphs.h (struct image_instantiator_methods): return a value
13675 from layout_method.
13677 2000-04-26 Andy Piper <andy@xemacs.org>
13679 * glyphs.c (allocate_image_instance): make initial width and
13680 height unspecified. Set initialized to 0.
13682 * syscommctrl.h new file. Encapsulates commctrl.h.
13684 * syswindows.h new file. Encapsulates windows.h.
13686 * ntplay.c: use new syswindows.h and syscommctrl.h header.
13688 * console-msw.h: ditto.
13690 * redisplay-tty.c (tty_output_display_block): remove layout references.
13692 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
13693 window handle rather than just the frame.
13695 * glyphs.c (mark_image_instance): remove layout references.
13696 (print_image_instance): ditto.
13697 (image_instance_equal): ditto.
13698 (image_instance_hash): ditto.
13699 (decode_image_instance_type): ditto.
13700 (encode_image_instance_type): ditto.
13701 (image_instantiate): ditto.
13702 (allocate_glyph): ditto.
13703 (Fimage_instance_height): ditto.
13704 (Fimage_instance_width): ditto.
13705 (update_subwindow): ditto.
13707 * redisplay-x.c (x_output_display_block): recode for layouts as
13710 * redisplay-output.c (redisplay_output_layout): recode for layouts
13712 (compare_runes): remove layout references.
13714 * redisplay-msw.c (mswindows_output_display_block): recode for
13715 layouts as widgets.
13717 * glyphs-widget.c (image_instantiator_layout): remove
13718 layout_possible_dest_types.
13719 (layout_possible_dest_types): deleted.
13721 * glyphs.h (image_instance_type): remove layout references.
13722 (struct Lisp_Image_Instance): ditto. Add initialized flag.
13723 (IMAGE_INSTANCE_INITIALIZED): new accessor.
13724 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13726 2000-04-25 Andy Piper <andy@xemacs.org>
13728 * glyphs-widget.c (image_instantiator_buttons):
13729 (image_instantiator_edit_fields):
13730 (image_instantiator_combo_box):
13731 (image_instantiator_scrollbar):
13732 (image_instantiator_progress_guage):
13733 (image_instantiator_tree_view):
13734 (image_instantiator_tab_control):
13735 (image_instantiator_labels):
13736 (image_instantiator_layout): call default post_instantiate method.
13737 (widget_post_instantiate): new function. Simply lays out the
13740 * glyphs.h (struct image_instantiator_methods): add
13741 post_instantiate method.
13743 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13746 2000-04-23 Andy Piper <andy@xemacs.org>
13748 * glyphs.h (struct image_instantiator_methods): add
13749 decode_domain_method.
13750 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13751 derived from the domain.
13752 (IMAGE_INSTANCE_FRAME): new accessor.
13753 (XIMAGE_INSTANCE_FRAME): ditto.
13755 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13756 instead of _SUBWINDOW_FRAME.
13757 (finalize_image_instance): ditto.
13758 (Fimage_instance_foreground): ditto.
13759 (Fimage_instance_background): ditto.
13760 (image_instantiate): ditto.
13761 (update_subwindow_cachel): ditto.
13762 (update_subwindow): ditto.
13763 (unmap_subwindow): ditto.
13764 (map_subwindow): ditto
13765 (subwindow_instantiate): ditto.
13766 * glyphs-msw.c (mswindows_update_widget): ditto.
13767 (mswindows_progress_gauge_instantiate): ditto.
13768 (mswindows_tab_control_update): ditto.
13769 * glyphs-x.c (x_update_widget): ditto.
13770 (x_widget_instantiate): ditto.
13771 (x_tab_control_instantiate): ditto.
13772 (x_tab_control_update): ditto.
13773 * event-msw.c (mswindows_wnd_proc): ditto
13775 * glyphs-widget.c (image_instantiator_layout): use
13776 subwindow_decode_domain.
13777 (image_instantiator_buttons): ditto.
13778 (image_instantiator_edit_fields): ditto.
13779 (image_instantiator_combo_box): ditto.
13780 (image_instantiator_scrollbar): ditto.
13781 (image_instantiator_progress_guage): ditto.
13782 (image_instantiator_tree_view): ditto.
13783 (image_instantiator_tab_control): ditto.
13784 (image_instantiator_labels): ditto.
13785 (image_instantiator_layout): ditto.
13787 * glyphs.c: add instance error checking to many functions.
13788 (instantiate_image_instantiator): decode device from cache_domain.
13789 (image_instantiate): partially rewrite by using
13790 decode_image_instantiator_domain to determine what domain the
13791 instance needs to be cached in.
13792 (decode_image_instantiator_domain): new function. Determine what
13793 domain the image needs to be cached in.
13794 (check_window_subwindow_cache): new error checking function.
13795 (check_instance_cache_mapper): ditto.
13796 (check_image_instance_structure): ditto.
13797 (subwindow_decode_domain): new function. Encodes a window as a
13798 subwindow's cache domain.
13799 (image_instantiator_format_create): use it for text and
13802 2000-04-21 Andy Piper <andy@xemacs.org>
13804 * glyphs.c (image_instance_device): new function.
13805 (image_instance_frame): new function.
13806 (image_instance_window): new function.
13807 (image_instance_live_p): new function.
13809 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13812 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13813 (IMAGE_INSTANCE_DOMAIN): new accessor.
13814 (XIMAGE_INSTANCE_DOMAIN): ditto.
13816 * glyphs-x.c (x_finalize_image_instance): device->domain.
13818 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13819 (mswindows_finalize_image_instance): ditto.
13821 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13822 (gif_instantiate): ditto.
13823 (png_instantiate): ditto.
13824 (tiff_instantiate): ditto.
13826 * glyphs.c (instantiate_image_instantiator): use domain rather
13828 (mark_image_instance): device -> domain.
13829 (print_image_instance): ditto.
13830 (finalize_image_instance): ditto.
13831 (image_instance_equal): ditto.
13832 (allocate_image_instance): ditto.
13833 (Fcolorize_image_instance): ditto.
13834 (query_string_geometry): ditto.
13835 (image_instantiate): ditto
13836 (query_string_font): ditto.
13837 (image_instantiate): ditto.
13838 (update_subwindow): ditto.
13839 (unmap_subwindow): ditto.
13840 (map_subwindow): ditto.
13841 (subwindow_instantiate): ditto.
13843 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13844 (DOMAIN_FRAME): ditto.
13845 (DOMAIN_WINDOW): ditto.
13846 (DOMAIN_LIVE_P): ditto.
13847 (XDOMAIN_DEVICE): ditto.
13848 (XDOMAIN_FRAME): ditto.
13849 (XDOMAIN_WINDOW): ditto.
13851 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13852 a valid specifier domain.
13854 2000-04-19 Andy Piper <andy@xemacs.org>
13856 * glyphs-widget.c (syms_of_glyphs_widget): remove
13857 widget-callback-current-channel.
13858 (vars_of_glyphs_widget): ditto.
13861 * gui.c (get_gui_callback): revert to previous behaviour.
13863 2000-04-18 Andy Piper <andy@xemacs.org>
13865 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13866 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13867 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13869 * glyphs.c (image_instance_equal): add margin_width.
13870 (image_instance_hash): ditto.
13872 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13873 (layout_query_geometry): ditto.
13874 (layout_layout): ditto.
13875 (syms_of_glyphs_widget): add margin-width.
13876 (image_instantiator_layout): allow margin-width.
13878 * glyphs.c (update_widget_instances): make a normal function.
13879 (syms_of_glyphs): remove Qupdate_widget_instances.
13882 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13883 so that we don't corrupt ideas about the last event or
13884 command. Remove widget-callback-current-channel fiddling.
13885 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13887 2000-05-01 Martin Buchholz <martin@xemacs.org>
13889 * XEmacs 21.2.33 is released.
13891 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13893 * make-src-depend: Allow dots in header file name.
13895 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13897 * mule-charset.h (struct charset_lookup): Add
13898 next_allocated_1_byte_leading_byte and
13899 next_allocated_2_byte_leading_byte.
13900 * mule-charset.c: Move above two variables so that those values
13903 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13905 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13906 when string length is zero.
13907 (find_charsets_in_emchar_string): Ditto.
13909 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13911 * lisp.h: extern Qdialog and Qmenubar.
13913 * gui-x.c: added events.h.
13914 also fixed typo which made the file uncompilable.
13916 * general.c: Added Qmenubar and Qdialog
13918 2000-04-28 Ben Wing <ben@xemacs.org>
13920 * frame-msw.c (mswindows_init_frame_1):
13921 * frame-msw.c (mswindows_mark_frame):
13922 * event-msw.c (mswindows_enqueue_dispatch_event):
13924 * console-msw.h (struct mswindows_frame):
13925 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13926 there are now three hash tables for callbacks.
13927 mswindows_enqueue_dispatch_event is no longer static.
13929 * dialog-x.c (maybe_run_dbox_text_callback):
13930 * dialog-x.c (dbox_descriptor_to_widget_value):
13931 switch to new cons3 form for callbacks.
13933 * glyphs-msw.c (mswindows_register_gui_item):
13934 * glyphs-msw.c (mswindows_widget_instantiate):
13935 * glyphs-msw.c (add_tree_item):
13936 * glyphs-msw.c (add_tab_item):
13937 new image instance parameter, so it can be passed to callback-ex.
13938 respect :callback-ex as well as :callback.
13940 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13943 * glyphs.c (print_image_instance):
13944 prettify, e.g. now prints widget type.
13947 certain funs have new image instance parameter.
13950 * gui.c (get_gui_callback):
13951 * gui.c (gui_item_add_keyval_pair):
13952 * gui.c (gui_item_init):
13953 * gui.c (gui_add_item_keywords_to_plist):
13954 * gui.c (mark_gui_item):
13955 * gui.c (gui_item_hash):
13956 * gui.c (gui_item_equal):
13957 * gui.c (copy_gui_item):
13958 * gui.c (syms_of_gui):
13959 recognize callback-ex in a number of places.
13960 also, fix the annoying "can't get out of yes-no dialog" bug.
13963 * gui.h (struct Lisp_Gui_Item):
13964 recognize callback-ex in a number of places.
13966 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13967 new parameter in button_item_to_widget_value.
13969 * glyphs-x.c (x_update_widget):
13970 * glyphs-x.c (x_button_instantiate):
13971 * glyphs-x.c (x_button_update):
13972 * glyphs-x.c (x_progress_gauge_instantiate):
13973 * glyphs-x.c (x_edit_field_instantiate):
13974 * glyphs-x.c (x_combo_box_instantiate):
13975 * glyphs-x.c (x_tab_control_instantiate):
13976 * glyphs-x.c (x_label_instantiate):
13977 new image instance parameter in various places.
13980 * event-Xt.c (enqueue_Xt_dispatch_event):
13981 this fun gets exported.
13984 * gui-msw.c (mswindows_handle_gui_wm_command):
13985 handle both :callback and :callback-ex, and generate our own
13986 event because it's one of the callback-ex arguments.
13989 * gui-x.c (popup_selection_callback):
13990 handle both :callback and :callback-ex, and generate our own
13991 event because it's one of the callback-ex arguments.
13992 * gui-x.c (button_item_to_widget_value):
13993 * gui-x.c (gui_items_to_widget_values_1):
13994 * gui-x.c (gui_item_children_to_widget_values):
13995 * gui-x.c (gui_items_to_widget_values):
13996 new image instance parameter in various places.
13998 * fns.c (Freplace_list):
13999 fix small typo in doc string.
14002 declare enqueue_Xt_dispatch_event.
14004 2000-04-28 Ben Wing <ben@xemacs.org>
14007 * buffer.c (Frecord_buffer):
14008 * buffer.c (syms_of_buffer):
14009 delete record-buffer-hook.
14012 * fns.c (Freplace_list):
14013 * fns.c (syms_of_fns):
14014 new primitive replace-list.
14017 slot for old buffer-alist.
14020 exfun replace-list.
14023 * redisplay.c (redisplay_frame):
14024 * redisplay.c (syms_of_redisplay):
14025 * redisplay.c (vars_of_redisplay):
14026 new hook buffer-list-changed-hook.
14029 2000-04-27 Ben Wing <ben@xemacs.org>
14031 * extents.h: extern in_modeline_generation.
14033 * redisplay.c (generate_formatted_string_db): set
14034 in_modeline_generation.
14036 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14037 flags if in modeline generation. otherwise frame-modified-tick
14038 is ticked far too often.
14039 Declare in_modeline_generation.
14041 2000-04-26 Ben Wing <ben@xemacs.org>
14043 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14045 (vars_of_emacs): add quick-build as an error-checking option.
14046 A bit kludgy, but there doesn't seem much point in creating
14047 a real var for this.
14049 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14051 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14053 * redisplay.h (struct display_line): Add a new variable,
14056 * redisplay.c (create_text_block): Set dl->line_continuation if
14057 the line continues.
14058 (create_string_text_block): Ditto.
14059 (regenerate_window_incrementally): Use line_continuation instead
14060 of searching continuation glyph.
14061 (add_margin_runes): Call add_glyph_rune.
14062 (add_glyph_rune): Handle margin glyph.
14064 2000-04-20 Martin Buchholz <martin@xemacs.org>
14066 * filelock.c (fill_in_lock_file_name):
14068 Check for IS_ANY_SEP instead of '/'.
14070 Avoid generating gratuitous garbage. Call user_login_name() directly.
14071 Never check errno without first seeing that system call failed.
14072 (unlock_file): Add GCPRO.
14073 (Flock_buffer): Fix docstring.
14074 (Ffile_locked_p): Fix docstring. Add GCPRO.
14076 2000-04-19 Martin Buchholz <martin@xemacs.org>
14078 * sysdep.c (get_pty_max_bytes):
14079 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14080 strings longer than 252 bytes.
14082 * md5.c: Unconditionally include ANSI header <limits.h>
14084 * glyphs-x.c (convert_EImage_to_XImage):
14085 * lisp-union.h (union Lisp_Object):
14086 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14088 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14090 * filelock.c (current_lock_owner): Remove unused variable o, p.
14092 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14094 * callint.c: Remove multiply defined symbol Qlet
14095 (syms_of_callint): ditto.
14097 2000-04-14 Andy Piper <andy@xemacs.org>
14099 * general.c (syms_of_general): add last-command, this-command, let
14102 * lisp.h: declare various symbols.
14104 * glyphs.h: declare Qwidget_callback_current_channel;
14106 * glyphs-widget.c (syms_of_glyphs_widget): add
14107 Qgui_callback_current_channel.
14108 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14110 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14111 widget-callback-current-channel when invoking the interactive
14112 arg. Also bind last-command and next-command when invoking the
14114 * gui-x.c (popup_selection_callback): ditto.
14116 * gui.c (get_gui_callback): massage args so that we are always
14117 calling eval. This allows us to add our own variable bindings
14120 * glyphs-x.c (x_button_instantiate): use
14121 gui_items_to_widget_values since this is GC safe.
14122 (x_progress_gauge_instantiate): ditto.
14123 (x_edit_field_instantiate): ditto.
14124 (x_label_instantiate): ditto.
14126 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14127 (emacs_Xt_event_widget_focus_out): new function
14128 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14130 (emacs_Xt_event_add_widget_actions): new function. add focus
14131 functions as actions.
14132 (init_event_Xt_late): use it.
14134 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14136 * event-stream.c (Fdispatch_event): Doc fix.
14138 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14140 * postgresql.c: Remove all references to PQsetenv*.
14142 * postgresql.h: Remove references to PGsetenvHandler object.
14143 * lrecord.h (lrecord_type): Ditto.
14145 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14147 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14148 real_heigh and real_width members, and accessor macros for these.
14150 * glyphs-msw.c (init_image_instance_geometry): New function.
14151 (init_image_instance_from_dibitmap): Use it.
14152 (mswindows_resource_instantiate): Use it.
14153 (init_image_instance_from_xbm_inline): Use it.
14154 (mswindows_initialize_image_instance_mask): Use real bitmap
14156 (mswindows_create_resized_bitmap): Ditto.
14157 (mswindows_create_resized_mask): Ditto.
14159 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14160 and bitmap to their surface size.
14162 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14164 * process-unix.c (unix_send_process): Guard against process MIA
14165 after Faccept_process_output.
14167 2000-04-11 Ben Wing <ben@xemacs.org>
14169 * eval.c (unbind_to_hairy): fix brokenness introduced by
14170 nanosecond speed improvements.
14172 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14174 * sunplay.c (init_device): To play sounds correctly, the device
14175 apparently needs to be initialized at least once by XEmacs. Make
14178 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14180 * redisplay.c (add_margin_runes): Add text image glyph
14183 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14185 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14186 gcc is newer than 2.5.
14188 2000-04-06 Colin Rafferty <colin@xemacs.org>
14190 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14192 * fns.c (size_bit_vector):
14193 * alloc.c (size_vector):
14194 (make_vector_internal):
14195 (make_bit_vector_internal):
14196 (sweep_bit_vectors_1):
14197 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14199 2000-04-06 Andy Piper <andy@xemacs.org>
14201 * gmalloc.c (malloc): undo previous change.
14206 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14208 * line-number.c (buffer_line_number): Revert to former version.
14210 2000-04-06 Andy Piper <andy@xemacs.org>
14212 * gmalloc.c (malloc): add error checking.
14217 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14218 button_item_to_widget_value arg.
14220 * glyphs-x.c (x_button_instantiate): add extra
14221 button_item_to_widget_value arg.
14222 (x_progress_gauge_instantiate): ditto.
14223 (x_edit_field_instantiate): ditto.
14224 (x_label_instantiate): ditto.
14226 * gui-x.c (gui_items_to_widget_values_1): add extra
14227 button_item_to_widget_value arg.
14228 (button_item_to_widget_value): add extra menu_item_p arg.
14230 * gui-x.h: change signature of button_item_to_widget_value.
14232 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14233 button_item_to_widget_value arg.
14235 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14237 * buffer.h (struct buffer): auto_save_modified should be long.
14239 2000-04-05 Andy Piper <andy@xemacs.org>
14241 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14243 (button_query_geometry): give a little more room so that athena
14246 2000-04-05 Andy Piper <andy@xemacs.org>
14248 * faces.c (complex_vars_of_faces): The widget face should inherit
14249 the font of the gui-element face.
14251 2000-04-04 Andy Piper <andy@xemacs.org>
14253 * glyphs-x.c (x_button_update): new function. unconditionally
14254 update a button's state when the instance is dirty.
14255 (image_instantiator_format_create_glyphs_x): add x_button_update.
14256 (x_widget_instantiate): remove old resize cruft.
14258 2000-04-02 Andy Piper <andy@xemacs.org>
14260 * frame.c (change_frame_size_1): The introduction of gutters means
14261 that we need to allow 0 as a potential frame dimension.
14263 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14265 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14266 image glyph if allow_cursor.
14267 (add_hscroll_rune): Don't allow cursor to border glyph.
14268 (create_text_block): Ditto.
14270 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14271 text not in buffer.
14272 (redisplay_output_layout): Call ensure_face_cachel_complete for
14276 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14278 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14280 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14283 * redisplay-tty.c (tty_output_display_block): Delete the routine
14284 for text image glyph
14285 * redisplay-x.c (x_output_display_block): ditto
14286 * redisplay-msw.c (mswindows_output_display_block): ditto
14288 2000-02-02 Mike Alexander <mta@arbortext.com>
14290 Note: Some of these were committed by accident as part of other
14293 * regex.c (regex_compile): Avoid compiler warnings.
14295 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14297 * nt.h: Declare term_ntproc correctly.
14299 * nt.c: Remove incorrect declaration of get_home_directory which
14300 is declared correctly in lisp.h.
14302 * keymap.c (get_keyelt): Avoid compiler warnings.
14303 (raw_lookup_key_mapper): Avoid compiler warnings.
14305 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14307 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14309 * filemode.c (mode_string): Avoid compiler warnings.
14311 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14314 * events-mod.h: Undef some things that winuser.h defines differently.
14316 * data.c (Faset): Avoid compiler warnings.
14318 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14320 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14322 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14323 Fall through to simple beep on error.
14324 Replace "extern" by real header file.
14326 * linuxplay.c: Use nativesound.h
14327 (play_sound_data): Return error code. Be less verbose on error.
14329 * sunplay.c: Use nativesound.h
14330 (play_sound_data): Return error code. Be less verbose on error.
14332 * ntplay.c: Use nativesound.h
14333 (play_sound_data): Return fake error code
14335 * sgiplay.c: Use nativesound.h
14336 (play_sound_data): Return error code
14338 * hpplay.c: Use nativesound.h, partially implement
14339 new error code. Break compilation until finished.
14340 (play_sound_data): error code.
14342 * nativesound.h (play_sound_file):
14343 (play_sound_data): Prototype in new header.
14345 2000-03-31 Andy Piper <andy@xemacs.org>
14347 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14348 for toggle and radio buttons.
14349 (image_instantiator_buttons): use it.
14351 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14353 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14354 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14355 found. Scrollbar event probably belonged to some old config.
14357 2000-03-31 Andy Piper <andy@xemacs.org>
14359 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14361 (initialize_widget_image_instance): default layout to
14362 LAYOUT_HORIZONTAL rather than 0.
14363 (widget_instantiate): reverse the item list at the end rather than
14365 (layout_layout): re-code for the border text at the front of the
14366 item list rather than at the end.
14367 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14368 provided by the user.
14369 (widget_query_geometry): comment.
14371 2000-03-30 Andy Piper <andy@xemacs.org>
14373 * glyphs-widget.c (image_instantiator_layout): allow standard
14374 widget keywords in layouts.
14376 * gutter.c (output_gutter): cope with nil gutter contents.
14378 * frame.c (Fset_frame_properties): add gutter docs.
14380 2000-03-29 Andy Piper <andy@xemacs.org>
14382 * toolbar-msw.c (TBSTYLE_FLAT): add.
14383 (mswindows_output_toolbar): minor fiddling.
14385 2000-03-29 Andy Piper <andy@xemacs.org>
14387 * gutter.c (output_gutter): force gutter size recalculation if
14388 what we are trying to display won't fit.
14389 (update_gutter_geometry): new function. A per-gutter version of
14390 update_frame_gutter_geometry.
14391 (update_frame_gutter_geometry): use it.
14392 (redraw_exposed_gutter): add extra debugging output.
14394 2000-03-28 Mike Alexander <mta@arbortext.com>
14396 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14397 (pdump_file_unmap): Implement it on Windows
14398 (pdump_file_get): Save alocated handles for pdump_file_unmap
14400 2000-03-28 Andy Piper <andy@xemacs.org>
14402 * gui.c (get_gui_callback): treat Quit specially.
14404 2000-03-27 Andy Piper <andy@xemacs.org>
14406 * glyphs.c (image_instantiate): be careful to check in the same
14409 2000-03-27 Didier Verna <didier@xemacs.org>
14411 * config.h.in: define the proper SMART_INCLUDE macro.
14412 handle renaming of `foo_h_path' to `foo_h_file'.
14414 * database.c: ditto.
14418 * linuxplay.c: ditto.
14420 * terminfo.c: ditto.
14422 * tooltalk.h: ditto.
14424 2000-03-27 Andy Piper <andy@xemacs.org>
14426 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14427 gets updated whenever the face might have changed.
14429 2000-03-26 Mike Alexander <mta@arbortext.com>
14431 * dumper.c (pdump_resource_free): Fix the comment.
14433 2000-03-21 Olivier Galibert <galibert@pobox.com>
14435 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14437 2000-03-22 Mike Alexander <mta@arbortext.com>
14439 * dumper.c: Include Windows headers on Windows
14440 (pdump_resource_free): Add a body to the function
14441 (pdump_load): exe_name -> exe_path and add some comments.
14443 2000-03-25 Mike Alexander <mta@arbortext.com>
14445 * gui.c (copy_gui_item_tree): Return a value in all cases
14447 2000-03-21 Didier Verna <didier@xemacs.org>
14449 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14451 (SMART_INCLUDE): new macro.
14452 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14453 the proper location.
14455 * postgresql.c: use it.
14459 2000-03-24 Andy Piper <andy@xemacs.org>
14461 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14464 2000-03-24 Andy Piper <andy@xemacs.org>
14466 * redisplay-output.c (compare_runes): use image_instance_changed
14467 to detect changes. Do not depend on glyphs_changed, only depend on
14469 (redisplay_output_layout): add debug messages.
14470 (compare_runes): ditto.
14472 * glyphs.h: declare new functions.
14473 (struct Lisp_Image_Instance): remove percent and associated
14476 * gui.h: declare new copying functions.
14478 * gui.c (copy_gui_item_tree): new function.
14479 (copy_gui_item): new function.
14480 (gui_item_id_hash): revert to standard hash.
14481 (gui_item_hash): ditto.
14482 (gui_item_hash_internal): deleted.
14483 (mark_gui_item): mark value.
14484 (gui_item_add_keyval_pair): add value.
14485 (gui_item_init): ditto.
14486 (gui_add_item_keywords_to_plist): ditto.
14487 (gui_item_equal): ditto.
14488 (syms_of_gui): add Q_value.
14490 * glyphs-x.c (x_progress_gauge_update): use pending items and
14491 value for setting the state.
14492 (x_update_widget): don't set items from pending here.
14494 * glyphs-widget.c (update_widget): update items here.
14495 (progress_gauge_set_property): use items for storing value. Put
14496 new value in pending items.
14498 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14499 items for new value. Convert percent -> value.
14500 (mswindows_tab_control_update): don't update items here.
14502 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14503 (update_subwindow): ditto.
14504 (image_instance_changed): new function. Compare hash values and
14505 past and present widget items.
14506 (image_instantiate): We more careful about where we instantiate
14508 (image_instantiate): add error checking.
14510 * gutter.c (syms_of_gutter): use -hook.
14512 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14514 * console-tty.c (Fset_console_tty_input_coding_system): Use
14516 (Fset_console_tty_output_coding_system): Use Qterminal.
14517 (tty_init_console): Use Qkeyboard and Qterminal.
14519 2000-03-21 Ben Wing <ben@xemacs.org>
14521 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14522 From Mike Alexander <mta@arbortext.com>.
14524 2000-03-21 Ben Wing <ben@xemacs.org>
14526 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14527 process brokenness. Proper implementation to come.
14529 Rename call-process-internal to old-call-process-internal.
14530 New impl. in process.el.
14532 2000-03-21 Martin Buchholz <martin@xemacs.org>
14534 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14536 2000-03-20 Andy Piper <andy@xemacs.org>
14538 * glyphs.c (full_list_hash): make hashes of the same elements in
14539 different orders return different values.
14541 2000-03-20 Martin Buchholz <martin@xemacs.org>
14543 * XEmacs 21.2.32 is released.
14545 2000-03-20 Martin Buchholz <martin@xemacs.org>
14547 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14548 (DFC_MALLOC_USE_CONVERTED_DATA):
14549 Add aliasing-safe casts to allow use with char* or unsigned char*
14552 * eldap.c (Fldap_open):
14553 (Fldap_search_basic):
14556 Make C++-compilable.
14557 Make sure GCPRO'ed variables are initialized.
14558 Use temp variables to avoid repeated calls to Flength.
14560 2000-03-16 Martin Buchholz <martin@xemacs.org>
14563 Make sure PATH_MAX is always defined.
14564 Include limits.h for PATH_MAX.
14565 Deprecate use of MAXPATHLEN.
14567 2000-03-10 Martin Buchholz <martin@xemacs.org>
14569 * emacs.c: Add reinit_vars_of_fileio.
14570 * symsinit.h: Add reinit_vars_of_fileio.
14571 * fileio.c (reinit_vars_of_fileio): New.
14572 * fileio.c (Fmake_temp_name):
14573 Initialize temp_name random number from microseconds to make
14574 collisions even less likely. Initialize always at process startup
14575 time. (make-temp-name) used to return the same file name twice in
14577 Random stylistic fiddling.
14580 2000-03-20 Andy Piper <andy@xemacs.org>
14582 * glyphs.c (image_instantiate): allow text glyphs to be
14583 instantiated in the minibuffer window.
14585 2000-03-19 Andy Piper <andy@xemacs.org>
14587 * glyphs.c (image_instance_hash): be careful about which items we
14590 * glyphs-widget.c (tab_control_set_property): record into pending
14591 items rather than the actual items.
14593 * glyphs-x.c (x_update_widget): use pending items to update with.
14595 * glyphs-msw.c (mswindows_tab_control_update): use pending items
14598 * glyphs.c (mark_image_instance): mark pending items.
14600 * window.c (Fset_window_configuration): record the buffer.
14601 (Fselect_window): totally revert previous change which breaks many
14604 2000-03-18 Andy Piper <andy@xemacs.org>
14606 * glyphs-msw.c (mswindows_tab_control_update): force selected
14609 * glyphs.c (image_instantiate): don't allow the minibuffer as a
14610 window domain cache, otherwise we get inconsistencies at
14611 startup. There is something fishy at startup which can lead to the
14612 minibuffer being the selected window when the gutter content is
14615 * gui.c (parse_gui_item_tree_list): add probably unnecessary
14617 (parse_gui_item_tree_children): ditto.
14618 (parse_gui_item_tree_item): ditto.
14620 * glyphs.c (Fupdate_widget_instances): return something.
14622 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
14624 * window.c (Fselect_window): Undo 2000-03-17 change.
14626 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
14628 * postgresql.c (Fpq_setenv): Remove this turkey when linking
14629 against v7.0 libraries. Insta-coredump city until the postgres
14632 2000-03-17 Andy Piper <andy@xemacs.org>
14634 * faces.c (complex_vars_of_faces): don't give the widget face an
14635 inherited background pixmap.
14637 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
14640 * event-stream.c (Fdispatch_non_command_events): return something.
14642 * gutter.c (output_gutter): use widget face.
14643 (clear_gutter): ditto.
14645 * NEWS: adjust again.
14647 * window.c (Fselect_window): make sure this runs to completion to
14648 avoid oddities with Fset_window_configuration.
14649 (Fcurrent_window_configuration): in general do not save the
14650 minibuffer as the selected window.
14652 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
14654 2000-03-16 Olivier Galibert <galibert@pobox.com>
14656 * emacs.c (Frunning_temacs_p): Revert previous patch.
14657 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
14659 2000-03-16 Andy Piper <andy@xemacs.org>
14661 * glyphs-x.c (x_tab_control_update): if no widget values then
14664 * NEWS: update for new features.
14666 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
14667 synthetic event to the native system.
14668 (reinit_vars_of_event_Xt): set force_event_pending to
14669 emacs_Xt_force_event_pending.
14671 * events.h (struct event_stream): add force_event_pending.
14673 * specifier.c (recompute_one_cached_specifier_in_window): add
14676 * redisplay.c (redisplay_frame): don't call
14677 update_frame_subwindows. Reset subwindow cachels when
14678 subwindows_changed, removing this was an optimization too far.
14680 * redisplay-output.c (compare_runes): reorganize so that we catch
14681 glyph changes when we want them. Set optimize_output when this
14682 would help layouts.
14683 (redisplay_output_layout): remove frame_really_changed, use
14684 optimize_output instead.
14686 * redisplay-msw.c (mswindows_output_display_block): reset
14687 optimize_output after outputting a glyph.
14688 * redisplay-x.c (x_output_display_block): ditto.
14689 * redisplay-tty.c (tty_output_display_block): ditto.
14691 * gutter.c: (specifier_vars_of_gutter): use new spec changed
14693 (gutter_specs_changed): do specific gutter positions.
14694 (top_gutter_specs_changed): new function. Only update the
14695 specified gutter specs.
14696 (bottom_gutter_specs_changed): ditto.
14697 (left_gutter_specs_changed): ditto.
14698 (right_gutter_specs_changed): ditto.
14700 * gui.c (gui_item_hash_internal): new function, does a real hash.
14701 (gui_item_id_hash): use it.
14702 (gui_item_hash): hash the eval'ed gui_item.
14704 * gui-x.c (popup_selection_callback): send an eval event to call
14705 Fupdate_widget_instances.
14707 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
14708 to call Fupdate_widget_instances.
14710 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
14711 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
14713 * glyphs.c: (update_frame_subwindows): deleted.
14714 (Fupdate_widget_instances): new function for updating the dirty
14715 state of widgets that might have changed.
14716 (syms_of_glyphs): add Qupdate_widget_instances.
14717 (full_list_hash): hash a list completely.
14718 (image_instance_hash): use it for items and properties.
14720 * frame-msw.c (mswindows_size_frame_internal): remove unused
14723 * faces.h (struct face_cachel): fix comment.
14725 * event-stream.c (Fdispatch_non_command_events): new
14726 function. Process non-command events, forcing an event cycle
14728 (syms_of_event_stream): declare.
14729 (event_stream_force_event_pending): new function. Force an event
14730 on the native event queue so that an event cycle will occur next
14734 (struct ntpipe_shove_stream):
14735 (mswindows_enqueue_dispatch_event):
14736 (mswindows_dequeue_dispatch_event):
14737 (mswindows_cancel_dispatch_event):
14738 (mswindows_pump_outstanding_events):
14739 (mswindows_drain_windows_queue):
14740 (mswindows_handle_paint):
14741 (mswindows_wnd_proc):
14742 (mswindows_key_to_emacs_keysym):
14743 (get_process_input_waitable):
14744 (emacs_mswindows_delete_stream_pair): re-indent file.
14745 (mswindows_need_event): do not process further fds if the windows
14746 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14747 fixes the 100% cpu problem.
14748 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14750 2000-03-15 Olivier Galibert <galibert@pobox.com>
14756 * emacs.c: Moved dump file searching to dumper.c.
14757 (Frunning_temacs_p): Fixed.
14759 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14760 last_lrecord_type_index_assigned.
14762 2000-02-20 Olivier Galibert <galibert@pobox.com>
14764 * symsinit.h: Added reinit parameter to init_console_stream
14767 * lisp.h: Added file parameter to pdump_load declaration.
14769 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14770 support. Added dump file searching.
14772 * config.h.in: Added EMACS_PROGNAME.
14774 * console-stream.c (init_console_stream): Fix reinitialisation
14775 when running from temacs.
14777 * alloc.c (pdump): Add id support.
14778 (pdump_load): Add file parameter and signature/id support.
14780 * Makefile.in.in: Add full pdump support.
14782 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14784 * postgresql.c: Update documentation to reflect latest code
14786 (print_result): Show tuple counts in printed representation when
14788 (Fpq_put_nbytes): MULE-ize.
14789 (Fpq_get_line_async): Ditto.
14791 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14793 * postgresql.c (Fpq_lo_import): Fix return value.
14794 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14796 2000-03-13 Ben Wing <ben@xemacs.org>
14798 * alloc.c (pdump_load):
14799 Fix compile warning under mswin.
14801 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14803 * postgresql.c: Mule-ization, bug fixes.
14804 Use PG_CODING to encapsulate coding system name changes.
14805 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14806 (pg-coding-system): Create.
14808 (Fpq_conn_defaults): Mule-ize.
14809 (Fpq_connectdb): Mule-ize & bug fix.
14810 (Fpq_connect_start): Mule-ize.
14811 (Fpq_set_client_encoding): Mule-ize.
14812 (Fpq_finish): Document `DEAD' connection status.
14813 (Fpq_clear): Ditto.
14814 (Fpq_pgconn): Mule-ize.
14815 (Fpq_exec): Mule-ize & bug fix.
14816 (Fpq_send_query): Ditto.
14817 (Fpq_get_result): Ditto.
14818 (Fpq_res_status): Mule-ize.
14819 (Fpq_result_error_message): Mule-ize.
14820 (Fpq_ntuples): fix comments.
14821 (Fpq_fname): Mule-ize.
14822 (Fpq_fnumber): Mule-ize.
14823 (Fpq_ftype): fix comments.
14824 (Fpq_get_value): Mule-ize.
14825 (Fpq_cmd_status): Ditto.
14826 (Fpq_cmd_tuples): Ditto.
14827 (Fpq_oid_value): Ditto.
14828 (Fpq_notifies): Ditto.
14829 (Fpq_lo_import): Ditto.
14830 (Fpq_lo_export): Ditto.
14831 (Fpq_get_line): Ditto.
14832 (Fpq_put_line): Mule-ize and bug fix.
14833 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14835 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14837 * postgresql.c (vars_of_postgresql): Mule-ize.
14838 (Fpq_conn_defaults): Ditto.
14840 2000-03-12 Ben Wing <ben@xemacs.org>
14842 * alloc.c (Fmake_byte_code):
14843 * alloc.c (debug_string_purity_print):
14844 * alloc.c (pdump_backtrace):
14845 * alloc.c (pdump_get_indirect_count):
14846 * alloc.c (pdump_register_sub):
14847 * alloc.c (pdump_register_object):
14848 * alloc.c (pdump_register_struct):
14849 * alloc.c (pdump_dump_data):
14850 * alloc.c (pdump_reloc_one):
14854 * console-msw.c (GetConsoleHwnd):
14855 * console-msw.c (msw_hide_console):
14856 * console-msw.c (msw_show_console):
14857 * console-msw.c (msw_ensure_console_buffered):
14858 * console-msw.c (msw_output_console_string):
14859 * console-msw.c (console_type_create_mswindows):
14861 a) Added functions to manipulate the console window for use with
14864 b) Added support for writing text to the console, which is now
14865 used under Windows when xemacs is not being run non-interactively,
14866 to write text that would otherwise be destined for stdout because
14867 under these circumstances, text written to stdout tends to
14868 disappear and not be seen.
14872 * event-Xt.c (x_event_to_emacs_event):
14873 * event-Xt.c (describe_event_window):
14874 * events-mod.h (XEMACS_MOD_CONTROL):
14876 * events.c (Fmake_event):
14877 * events.c (character_to_event):
14878 * events.c (event_to_character):
14879 * events.c (format_event_object):
14880 * events.c (Fevent_modifiers):
14882 * events.h (struct key_data):
14883 * events.h (struct button_data):
14884 * events.h (struct misc_user_data):
14885 * frame-x.c (Fcde_start_drag_internal):
14886 * frame-x.c (Foffix_start_drag_internal):
14887 * gpmevent.c (Freceive_gpm_event):
14889 * keymap.c (bucky_sym_to_bucky_bit):
14890 * keymap.c (control_meta_superify):
14891 * keymap.c (make_key_description):
14892 * keymap.c (keymap_lookup_directly):
14893 * keymap.c (create_bucky_submap):
14894 * keymap.c (keymap_store):
14895 * keymap.c (define_key_check_and_coerce_keysym):
14896 * keymap.c (define_key_parser):
14897 * keymap.c (define_key_alternate_name):
14898 * keymap.c (Fdefine_key):
14899 * keymap.c (raw_lookup_key_mapper):
14900 * keymap.c (struct map_keymap_unsorted_closure):
14901 * keymap.c (map_keymap_unsorted_mapper):
14902 * keymap.c (map_keymap_sort_predicate):
14903 * keymap.c (map_keymap_sorted):
14904 * keymap.c (accessible_keymaps_mapper_1):
14905 * keymap.c (where_is_recursive_mapper):
14906 * keymap.c (describe_map_mapper):
14907 * keymap.c (describe_map_sort_predicate):
14908 * keymap.c (describe_map):
14909 * keymap.c (complex_vars_of_keymap):
14910 And a number of other files, the key modifier preprocessor
14911 constants that xemacs uses have names that conflict with constants
14912 defined under MS Windows for other purposes, so they were renamed
14913 to begin with the prefix XEMACS_. The variables that hold such
14914 modifiers were changed to consistently be of type int to fix
14915 various compile warnings.
14917 * console.c (complex_vars_of_console):
14920 * device-msw.c (mswindows_finish_init_device):
14921 * device-msw.c (msw_get_workspace_coords):
14922 * device-msw.c (mswindows_device_system_metrics):
14923 and various other files, added support for a new
14924 device property called offset-workspace which returns the position
14925 of the upper left corner of the workspace area and goes along with
14926 the existing size-workspace property.
14929 * dialog-msw.c (push_bufbyte_string_as_unicode):
14930 * dialog-msw.c (mswindows_popup_dialog_box):
14931 Added support for XEmacs-style accelerator specifications in
14932 button text. Note: I didn't add support for this under X Windows,
14933 and somebody needs to do this.
14936 * dialog.c (Fpopup_dialog_box):
14937 Documented the support for accelerators that was just mentioned.
14939 editfns.c (get_home_directory): Changed behavior under Windows
14940 when HOME not defined; former behavior was irretrievably broken.
14943 * emacs.c (main_1):
14945 * minibuf.c (clear_echo_area_internal):
14946 * minibuf.c (echo_area_append):
14948 * print.c (std_handle_out_external):
14949 * print.c (std_handle_out_va):
14951 * print.c (write_string_to_stdio_stream):
14952 * print.c (output_string):
14953 * print.c (debug_print):
14954 * print.c (debug_backtrace):
14955 * print.c (debug_short_backtrace):
14956 Cleaned up the code that prints text to stdout so that this can be
14957 changed to output into a console window instead under MS Windows,
14958 as described above.
14961 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14962 * eval.c (internal_catch):
14963 * eval.c (unwind_to_catch):
14964 * eval.c (throw_or_bomb_out):
14965 * eval.c (condition_case_1):
14966 * eval.c (signal_1):
14967 * eval.c (check_error_state_sanity):
14968 * eval.c (call_with_suspended_errors_1):
14969 * eval.c (call_with_suspended_errors):
14970 * eval.c (reinit_vars_of_eval):
14971 Added code to catch throw loops and check for a pesky bug that may
14975 * event-msw.c (key_needs_default_processing_p):
14976 * event-msw.c (mswindows_wnd_proc):
14977 * event-msw.c (mswindows_modifier_state):
14978 * event-msw.c (emacs_mswindows_quit_p):
14979 * event-msw.c (vars_of_event_mswindows):
14980 a) Added support for using the alt key to select menu items as is
14981 standard under MS Windows. This is controlled using the variable
14982 menu-accelerator-enabled, just like under X Windows. There is an
14983 option on the options menu to turn this support on. I really
14984 think that it should be on by default under Windows, but I'm not
14985 going to make this change yet.
14987 b) Added support for dynamic display size changes under Windows.
14990 * event-stream.c (maybe_echo_keys):
14991 * event-stream.c (Fnext_event):
14992 * event-stream.c (command_builder_find_leaf):
14993 * event-stream.c (lookup_command_event):
14994 * event-stream.c (execute_command_event):
14995 * event-stream.c (pre_command_hook):
14996 * event-stream.c (post_command_hook):
14997 * event-stream.c (syms_of_event_stream):
14998 * event-stream.c (vars_of_event_stream):
14999 * event-stream.c (complex_vars_of_event_stream):
15000 * events.h (struct command_builder):
15002 a) Tried to clean up a little bit the horribly written x-specific
15003 accelerator code that crept into this file. I moved this code
15004 into menubar-x.c where it belongs. I also needed to move the
15005 command builder structure into the file events.h because it is
15006 accessed directly by this accelerator code. What I didn't do, but
15007 which should be done at some point, is to properly abstract this
15008 code using device methods instead of the kludgy way that it
15009 currently hooks into the event code.
15011 b) Added the lisp variables this-command-properties and
15012 last-command- properties, which should be used to synchronize two
15013 adjacent commands in preference to playing games with the variable
15014 this-command, which is typically what happens.
15016 c) Added some slightly nasty code to hook into the lisp support
15017 for shifted- motion-key selection. This is actually necessary for
15018 somewhat complicated reasons, which are described in
15019 simple.el. (NB: I think the proper thing would be to have the code
15020 that calls the pre and post command hooks also call out to generic
15021 lisp functions in simple.el, where all built-in stuff could be
15022 added. I will think about this more.)
15024 * event-unixoid.c (poll_fds_for_input):
15025 * lread.c (readchar):
15026 * redisplay-tty.c (tty_clear_frame):
15027 * redisplay-x.c (x_get_gc):
15028 * signal.c (interrupt_signal):
15029 And a whole bunch of other files: fixed up places that printed
15030 directly to stderr to instead call the function stderr_out so that
15031 the changes I made under Windows work correctly.
15033 * filemode.c (mode_string):
15037 * frame-msw.c (mswindows_size_frame_internal):
15038 Fixed the computation of frame size and position to keep the frame
15039 within the workspace area, rather than within the physical
15040 dimensions of the screen, so that the frame doesn't overlap window
15041 manager decorations, such as the start menu and toolbar, typically
15042 at the bottom of the screen.
15044 * frame.c (vars_of_frame):
15045 Changed the default frame title format under MS Windows to consist
15046 of buffername-XEmacs, which is standard under MS Windows. I think
15047 it might be a good idea to change this everywhere because I think
15048 it is superior to the current frame title format, but this is the
15049 kind of change that is likely to cause some people to get annoyed,
15050 so I'm not making it.
15052 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15054 * gui-msw.c (mswindows_handle_gui_wm_command):
15055 Fixed compile warnings.
15058 * gui-x.c (strdup_and_add_accel):
15059 * gui-x.c (button_item_to_widget_value):
15061 Added code to automatically put an accelerator onto the beginning
15062 of menu items that don't have one as is now the standard, and is
15063 described more later. Also fixed things so that the menu item
15064 name can be an evaluated expression, again a new standard.
15067 * gui.c (gui_item_add_keyval_pair):
15068 * gui.c (make_gui_item_from_keywords_internal):
15069 * gui.c (gui_add_item_keywords_to_plist):
15070 * gui.c (gui_item_accelerator):
15071 * gui.c (gui_name_accelerator):
15072 * gui.c (gui_item_included_p):
15073 * gui.c (gui_item_display_flush_left):
15074 * gui.c (gui_item_display_flush_right):
15075 * gui.c (parse_gui_item_tree_item):
15076 * gui.c (parse_gui_item_tree_children):
15077 * gui.c (parse_gui_item_tree_list):
15078 Mule-ized. Cleanup. GCPRO addition.
15080 * line-number.c (buffer_line_number):
15082 * lisp.h (EMACS_INT_MAX):
15083 Added the manifest constant EMACS_INT_MIN corresponding to the
15084 existing constant EMACS_INT_MAX. This is partially to fix compile
15085 warnings under Windows, and partly for cleanliness.
15088 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15089 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15090 * menubar-msw.c (displayable_menu_item):
15091 * menubar-msw.c (populate_menu_add_item):
15092 * menubar-msw.c (populate_or_checksum_helper):
15093 * menubar-msw.c (populate_menu):
15094 * menubar-msw.c (update_frame_menubar_maybe):
15095 * menubar-msw.c (prune_menubar):
15096 * menubar-msw.c (msw_char_is_accelerator):
15097 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15098 * menubar-msw.c (mswindows_handle_wm_command):
15099 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15100 * menubar-msw.c (mswindows_handle_wm_initmenu):
15101 * menubar-msw.c (mswindows_update_frame_menubars):
15102 * menubar-msw.c (mswindows_free_frame_menubars):
15103 * menubar-msw.c (mswindows_popup_menu):
15104 Fixed a bug in handling accelerators where an extra character
15105 would be displayed in the menu item. Also generalized the
15106 function displayable_menu_item because it is now used by the
15107 dialog box code as well. And finally, added code in the functions
15108 that create the menubar to extract a list of accelerators for the
15109 top level menubar, which is used in the event code to determine
15110 whether a particular alt-key combination should be used to invoke
15111 a menu item, or should be passed through to access the standard
15112 XEmacs keymap binding for this key combination.
15114 Much needed GCPROing.
15117 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15118 * menubar-x.c (menu_item_descriptor_to_widget_value):
15119 * menubar-x.c (restore_in_menu_callback):
15120 * menubar-x.c (x_popup_menu):
15121 * menubar-x.c (menu_move_up):
15122 * menubar-x.c (menu_move_down):
15123 * menubar-x.c (menu_move_left):
15124 * menubar-x.c (menu_move_right):
15125 * menubar-x.c (menu_select_item):
15126 * menubar-x.c (command_builder_operate_menu_accelerator):
15127 * menubar-x.c (menu_accelerator_junk_on_error):
15128 * menubar-x.c (command_builder_find_menu_accelerator):
15129 * menubar-x.c (Faccelerate_menu):
15131 Moved a whole bunch of code here that was previously in
15132 event-stream.c as described above. There is also code connected
15133 to the new standard of adding an accelerator to the beginning of
15134 menu items that don't have one as described above and below.
15137 * menubar.c (menu_parse_submenu_keywords):
15138 * menubar.c (Fmenu_find_real_submenu):
15139 * menubar.c (Fnormalize_menu_item_name):
15140 * menubar.c (syms_of_menubar):
15141 * menubar.c (vars_of_menubar):
15142 * menubar.c (complex_vars_of_menubar):
15144 a) Cleaned up a bunch of documentation and improved it.
15146 b) XEmacs now automatically adds an accelerator onto the beginning
15147 of any menu items that don't have one. I did this because there
15148 will inevitably be some menu items on the main menubar that don't
15149 have accelerators on them because the package that adds that
15150 particular menu item hasn't yet been fixed up to have accelerators
15151 in them and it looked rather strange to have some items with and
15152 some items without accelerators, especially since even in items
15153 without accelerators, you can, at least under windows, still
15154 access the item through an accelerator corresponding to the first
15155 character in the item's name. If people don't like this behavior,
15156 I can add a variable to turn it off optionally, but I'm not sure
15157 this is a good idea because we really do need to have accelerators
15158 on all of the menu items, and if a package doesn't like the
15159 accelerators being put on the first character, then it should put
15160 the accelerators where they belong.
15162 c) I made a behavior change, which is that the descriptor that
15163 specifies the text of the menu item, which formerly was just a
15164 string, can now also be an evaluated expression. This makes this
15165 descriptor parallel with all of the others, which could also be
15166 evaluated expressions. This also obviates the need for the
15167 keyword :label, which was previously listed in the documentation
15168 as unimplemented, and which was for the same purpose.
15173 * ntproc.c (new_child):
15174 * ntproc.c (sys_spawnve):
15175 * ntproc.c (find_child_console):
15176 * ntproc.c (sys_kill):
15177 Fixed compile warnings. By the way, this file should really go
15178 away entirely, and this will happen as soon as Kirill makes his
15179 final round of process cleanups, which affect the function
15183 * process-nt.c (struct nt_process_data):
15184 * process-nt.c (find_process_from_pid):
15185 * process-nt.c (send_signal_the_nt_way):
15186 * process-nt.c (enable_child_signals):
15187 * process-nt.c (find_child_console):
15188 * process-nt.c (send_signal_the_95_way):
15189 * process-nt.c (nt_finalize_process_data):
15190 * process-nt.c (ensure_console_window_exists):
15191 * process-nt.c (nt_create_process):
15192 * process-nt.c (nt_kill_child_process):
15193 * process-nt.c (nt_kill_process_by_pid):
15194 * process-nt.c (nt_open_network_stream):
15195 * process-nt.c (vars_of_process_nt):
15196 Copied over code from Emacs 20.5 to correctly send signals to sub-
15197 processes under Windows 95. Also added code to automatically
15198 create and hide console window when a sub-process is created under
15199 Windows 95, which obviates the need for the separate runemacs.exe
15200 executable, and finally implemented some variables that were
15201 implemented in Emacs 20.5, but previously not in XEmacs. These
15202 include mswindows- start-process-share-console and
15203 mswindows-start-process-inherit-error-mode. (Both of these only
15204 apply to Windows 95.)
15206 * regex.c (regex_compile): Fixed a compile warning.
15209 * select-msw.c (mswindows_own_selection):
15210 * select-msw.c (mswindows_get_foreign_selection):
15211 * select-msw.c (mswindows_disown_selection):
15212 * select-msw.c (console_type_create_select_mswindows):
15213 * select-msw.c (syms_of_select_mswindows):
15214 Cleaned up the file and implemented the device method
15215 selection_exists_p, which had accidentally been left out. Also
15216 removed four lisp functions that were remnants from before the
15217 time when the selection code was properly device abstracted.
15218 These functions are no longer needed because there are generic
15219 equivalents, and because they were added recently and don't exist
15220 in FSF Emacs, I don't think there's any problem with just deleting
15224 * sysdep.c (sys_subshell):
15225 Fixed a compile warning, although in this case there's probably
15226 something wrong with this code, and it ought to be looked into
15227 more thoroughly by somebody who understands it.
15230 * window.c (Fwindow_text_area_height):
15231 * window.c (Fwindow_width):
15232 * window.c (Fwindow_full_width):
15233 * window.c (Fwindow_pixel_width):
15234 * window.c (debug_print_window):
15235 * window.c (syms_of_window):
15236 Added functions window-text-area-height and window-full-width,
15237 which are functions for returning various width and height
15238 characteristics of a window. (One of these functions is necessary
15239 for making the file dialog box work correctly, and the other one
15240 was added for completeness.) Also added a table to the
15241 documentation for window-height which describes the entire scheme
15242 for accessing width and height characteristics of a window.
15244 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15246 * nt.c (fstat): Added a comment for another problem with
15247 non-encapsulated [f]stat(), reported by Adrian Aichner
15248 <aichner@ecf.teradyne.com>.
15250 2000-03-11 Andy Piper <andy@xemacs.org>
15252 * window.c (make_dummy_parent): initialize subwindow instance
15254 (Fset_window_configuration): zero extent_modiff.
15256 2000-03-10 Andy Piper <andy@xemacs.org>
15258 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15259 more changes can be triggered.
15260 (Fredisplay_frame): ditto.
15261 (Fredraw_device): ditto.
15262 (Fredisplay_device): ditto.
15263 (redisplay_frame): make non-static.
15264 (redisplay_frame): call update_frame_gutter_geometry outside of
15267 * gutter.h: declare update_frame_gutter_geometry.
15269 * redisplay.h: declare redisplay_frame.
15271 * gutter.c (update_frame_gutter_geometry): move geometry changes
15272 in update_frame_gutters here. Geometry changes can only occur
15273 outside of redisplay.
15274 (update_frame_gutters): remove geometry change code.
15275 (Fredisplay_gutter_area): make sure that we are in display when we
15276 update and that we have flushed any size changes.
15278 2000-03-11 Andy Piper <andy@xemacs.org>
15280 * alloc.c (pdump_dump_data): remove i & count shadows.
15282 2000-02-27 Mike Alexander <mta@arbortext.com>
15284 * sysdep.h: Declare pdump_read_file
15286 * sysdep.c (pdump_read_file): New function
15288 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15291 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15293 * lrecord.h: add `lrecord_type_pgsetenv'.
15295 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15297 * symsinit.h: declare (vars|syms)_of* functions.
15298 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15300 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15302 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15304 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15307 * emacs.c (main_1): Call postgres initialization code.
15309 * postgresql.h: New file. PostgreSQL RDBMS support.
15310 * postgresql.c: New file.
15312 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15314 * redisplay-output.c (redisplay_output_display_block): Disable
15317 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15319 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15320 (Fcanna_henkan_next): Ditto.
15321 (Fcanna_bunsetu_henkou): Ditto.
15322 (Fcanna_henkan_kakutei): Ditto.
15323 (Fcanna_henkan_end): Ditto.
15324 (Fcanna_henkan_quit): Ditto.
15325 (Fcanna_henkan_next): Set retun value correctly.
15326 (c2mu): Use unsigned char instead of signed char.
15328 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15330 * emacs.c (main_1): Always call syms_of_gui.
15331 * inline.c: include gui.h
15333 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15335 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15336 converted to Lisp_Object.
15337 (Qtop_bottom): New variable.
15338 (syms_of_redisplay): Initialize it.
15339 * redisplay.h (Vvisible_bell): Ditto.
15340 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15341 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15342 only flash top and bottom.
15344 2000-03-08 Andy Piper <andy@xemacs.org>
15346 * buffer.c (Frename_buffer): record new buffer name the right way.
15348 2000-03-08 Andy Piper <andy@xemacs.org>
15350 * glyphs.c (update_subwindow): increase hash depth so that widget
15351 items get picked up properly.
15353 * redisplay-output.c (compare_runes): increase hash depth so that
15354 widget items get picked up properly.
15356 2000-03-08 Andy Piper <andy@xemacs.org>
15358 * gutter.c (output_gutter): add some debug.
15360 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15361 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15362 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15364 * redisplay-output.c (compare_runes): use display_hash to
15365 determine if glyphs really are not the same.
15367 * glyphs.c (update_subwindow): check display_hash to see if
15368 anything really needs to be updated. If not then do
15369 nothing. Record the display_hash after updating.
15370 (image_instance_equal): compare the image_instance face also.
15372 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15374 * redisplay.h: Fix comment style.
15376 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15378 * consle-msw.h (struct mswindows_frame):
15379 Added new member paint_pending to indicate whether a WM_PAINT
15380 magic event has been queued for this frame.
15382 * event-msw.c (mswindows_drain_windows_queue):
15383 Don't queue a WM_PAINT magic event if one is already queued.
15384 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15386 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15388 2000-03-07 Didier Verna <didier@xemacs.org>
15390 * dired.c: #include `regex.h' after `sysfile.h'.
15392 2000-03-06 Martin Buchholz <martin@xemacs.org>
15394 * sound.c (init_nas_sound): Fix compiler warning.
15396 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15398 (MARK_STRUCT_AS_FREE):
15399 (MARK_STRUCT_AS_NOT_FREE):
15400 Make `gcc -fstrict-aliasing' work properly.
15402 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15404 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15405 (mswindows_delete_device): Call CoUnnitialize().
15407 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15409 2000-02-25 <CraigL@DyCon.com>
15411 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15414 * sysdep.c: This extern declaration for environ prevents MinGW
15415 from finding the variable in CRTDLL.DLL.
15417 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15419 (SHGFI_EXETYPE): ..
15420 (WM_MOUSEWHEEL): ..
15421 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15423 (MMRESULT): Removed, now defined in cygwin's windows headers.
15425 (uid_t,gid_t,pid_t,ssize_t): ..
15426 (_timeb): Removed, MinGW defines both _timeb and timeb.
15427 (HAVE_H_ERRNO): Added.
15428 (HAVE_TZNAME): Added, configure is not detecting this.
15430 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15432 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15433 * syntax.c (syntax_match): Use it.
15435 * cmds.c: Import auto-fill-chars from FSF Emacs.
15436 (Vauto_fill_chars): New variables.
15437 (internal_self_insert): Check Vauto_fill_chars.
15439 Declare auto-fill-chars as a Lisp variable and initialize it.
15441 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15443 * fileio.c (Fmake_symbolic_link):
15445 Run handlers even if local machine doesn't have symlinks.
15447 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15449 * event-msw.c (mswindows_drain_windows_queue):
15450 Don't generate paint magic events for non-XEmacs frames.
15452 2000-03-05 Andy Piper <andy@xemacs.org>
15454 * redisplay.c (redisplay_frame): generate_displayable_area and
15455 friends assumes that we are not in GC, we therefore have to make
15456 sure that this doesn't happen.
15458 * gutter.c (calculate_gutter_size): generate_displayable_area
15459 assumes that we are not in GC, we therefore have to make sure that
15460 this doesn't happen.
15462 2000-03-05 Martin Buchholz <martin@xemacs.org>
15464 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15466 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15468 * redisplay.c (regenerate_window): Make sure we set a sane value
15469 for end_pos even if we jump out of the loop.
15470 (regenerate_window): Answer Ben's question :-).
15471 (start_end_of_last_line): Add may_error argument.
15472 (start_of_last_line):
15473 (end_of_last_line): Pass may_error = 0.
15474 (end_of_last_line_may_error): New function.
15475 (pixel_to_glyph_translation): Use it, so we don't crash in
15478 2000-03-04 Andy Piper <andy@xemacs.org>
15480 * window.h (struct window): add gutter_extent_modiff.
15482 * window.c (allocate_window): zero out gutter_extent_modiff.
15484 * redisplay.h: declare sync_display_line_structs.
15486 * redisplay.c (add_glyph_rune): add a better comment.
15488 * redisplay-output.c (sync_display_line_structs): made non-static.
15489 (compare_runes): remove unneccesary glyph cachel access.
15491 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15493 * gutter.c (output_gutter): don't output the gutter if extent
15494 changes only involve extents in buffers. use 4 sets of display
15496 (gutter_extent_signal_changed_region_maybe): new function. Mark
15497 extents in gutters as changed.
15498 (update_frame_gutters): use 4 sets of display lines.
15499 (reset_gutter_display_lines): ditto.
15500 (free_frame_gutters): ditto.
15501 (redraw_exposed_gutter): force output of gutters.
15503 * frame.h (struct frame): add 4 sets of gutter display lines.
15505 * extents.c: (extent_changed_for_redisplay): signal changes to
15506 extents in strings in the gutter as well as extents in buffers.
15508 2000-03-02 Andy Piper <andy@xemacs.org>
15510 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15512 * frame.c (Fmake_frame): make sure the gutters get initialized
15513 after the frame is visible.
15514 (set_frame_selected_window): re-arrange compilation macros a
15516 (change_frame_size_1): mark gutters changed.
15518 * device.c (Fset_device_class): mark gutters changed.
15520 2000-03-01 Andy Piper <andy@xemacs.org>
15522 * window.c (window_top_frame_gutter_height): deleted.
15523 (window_bottom_frame_gutter_height): ditto.
15524 (window_left_frame_gutter_height): ditto.
15525 (window_right_frame_gutter_height): ditto.
15526 (window_top_gutter_height): don't use them.
15527 (window_bottom_gutter_height): ditto.
15528 (window_left_gutter_width): ditto.
15529 (window_right_gutter_width): ditto.
15530 (Fsplit_window): ditto.
15531 (Fwindow_pixel_edges): don't use border dimensions here.
15533 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15534 (update_scrollbar_instance): ditto.
15536 * redisplay.c (generate_modeline): don't take gutters into account.
15537 (generate_modeline): ditto.
15538 (redisplay_frame): small gutter display optimization.
15540 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15542 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15543 gutters into account.
15545 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15546 for window position and type.
15548 * gutter.c (get_gutter_coords): fix for frame gutters.
15549 (update_frame_gutters): update frame geometry if the gutters have
15551 (init_frame_gutters): record current gutter geometries.
15553 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15555 (mswindows_widget_instantiate): ditto.
15557 * frame.h (struct frame): add current_gutter_bounds.
15559 * frame.c (change_frame_size_1): position window and minibuffer
15560 appropriately taking into account the frame gutters.
15562 * frame-x.c: (x_initialize_frame_size): take into account the
15565 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15567 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15569 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15571 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15573 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15575 * file-coding.c (reset_decoding_stream): Clear previous
15576 detection state when autodetect.
15578 2000-02-29 Didier Verna <didier@xemacs.org>
15580 * extents.c (set_extent_glyph_1): don't require extents to be
15583 2000-02-27 Andy Piper <andy@xemacs.org>
15585 * gutter.c (Fset_default_gutter_position): don't default left and
15586 right gutter visibility to t.
15587 (Fset_default_gutter_position): run
15588 default-gutter-position-changed-hook.
15589 (syms_of_gutter): add default-gutter-position-changed-hook.
15591 2000-02-26 Andy Piper <andy@xemacs.org>
15593 * specifier.c (Fmake_specifier): add gutter references.
15595 * gutter.h (RAW_WINDOW_GUTTER): new macro.
15597 * lisp.h: declare Fvalid_plist_p.
15599 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
15601 (default_gutter_visible_p_changed_in_window): invalidate gutter as
15602 well as its visibility so that it gets reconstructed.
15603 (construct_window_gutter_spec): new function. Construct a string
15604 to be displayed in the gutter from a plist of strings. Take care
15605 to only use elements that are declared as visible.
15606 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
15608 (gutter_validate): allow plists of strings in the specifier.
15609 (gutter_specs_changed): construct the real_gutter from the gutter
15610 specs using construct_window_gutter_spec.
15611 (gutter_visible_validate): gutter-visible is a new specifier type.
15612 (Fgutter_visible_specifier_p): new function for the new specifier.
15613 (syms_of_gutter): declare gutter-visible and
15614 Fgutter_visible_specifier_p.
15615 (specifier_type_create_gutter): intitalize new gutter-visible
15617 (reinit_specifier_type_create_gutter): ditto.
15618 (specifier_vars_of_gutter): use new specifier type for gutter
15620 (init_frame_gutters): construct real_gutter correctly.
15621 (Fgutter_specifier_p): beef up documentation.
15622 (Fgutter_size_specifier_p): ditto.
15624 * winslots.h: add real_gutter slots.
15626 2000-02-25 Andy Piper <andy@xemacs.org>
15628 * device-msw.c: Be kind to older cygwin versions. From Raymond
15629 Toy <toy@rtp.ericsson.se>.
15631 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
15632 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
15634 2000-02-25 Martin Buchholz <martin@xemacs.org>
15636 * elhash.c (MARK_OBJ): Practice macro hygiene.
15638 2000-02-24 Martin Buchholz <martin@xemacs.org>
15640 * miscplay.c: s/__inline__/inline/g;
15641 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
15642 (get_device_compdc): INLINE ==> static inline
15643 * *.[ch]: Change INLINE to INLINE_HEADER globally.
15644 find -name '*.h' | \
15645 xargs global-replace \
15646 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
15648 2000-02-25 Andy Piper <andy@xemacs.org>
15650 * window.c (window_top_frame_gutter_height): new function.
15651 (window_top_window_gutter_height): ditto.
15652 (window_top_gutter_height): use them.
15653 (window_bottom_frame_gutter_height): new function.
15654 (window_bottom_window_gutter_height): ditto.
15655 (window_bottom_gutter_height): use them.
15656 (window_left_window_gutter_width): new function.
15657 (window_left_frame_gutter_width): ditto.
15658 (window_left_gutter_width): use them.
15659 (window_right_window_gutter_width): new function.
15660 (window_right_frame_gutter_width): ditto.
15661 (window_right_gutter_width): use them.
15662 (window_pixel_height): new function. calulate window pixel height
15663 with frame gutter involvement.
15664 (Fsplit_window): calculate new sizes taking frame gutters into
15666 (window_char_height_to_pixel_height): don't include frame gutters.
15667 (window_char_height): use window_pixel_height.
15668 (window_pixheight): rename from window_pixel_height.
15669 (change_window_height): use it.
15670 (window_pixel_height_to_char_height): don't include frame gutters.
15671 (window_char_width_to_pixel_width): ditto.
15673 2000-02-25 Andy Piper <andy@xemacs.org>
15675 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
15678 2000-02-24 Martin Buchholz <martin@xemacs.org>
15680 * alloc.c (staticpro):
15681 (staticpro_nodump):
15686 (compact_string_chars):
15687 (pdump_dump_wired):
15688 Convert: if (foo) abort(); ==> assert (! foo);
15690 * eldap.c (Fldap_search_basic):
15694 Fix compiler warnings, and possible crashes if (random) return
15695 value were to be used.
15697 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15699 * device-msw.c: Workaround ResetDC failure.
15701 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
15702 applying a devmode.
15704 * redisplay-msw.c (get_frame_dc): Added start_page_p.
15705 (mswindows_text_width): Do not start printer page.
15707 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
15709 * glyphs-msw.c: Added image methods to msprinter console and
15710 msprinter-specific image instantiation.
15712 2000-02-20 Mike Alexander <mta@arbortext.com>
15714 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
15715 to avoid crashes when selection-sets-clipboard is on
15716 (mswindows_own_selection): ditto
15718 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15721 * redisplay-msw.c (get_frame_dc):
15722 (get_frame_compdc):
15724 * device-msw.c (mswindows_init_device):
15725 (mswindows_delete_device):
15726 (msprinter_init_device):
15727 (msprinter_delete_device):
15728 * frame-msw.c (mswindows_init_frame_1):
15729 (mswindows_delete_frame):
15730 (msprinter_init_frame_3):
15731 (msprinter_delete_frame): Move compatible DC to device object from
15732 frame object, for both mswindows and msprinter. Only one at a time
15733 is needed, it is a real waste to have one per frame!
15735 2000-02-23 Andy Piper <andy@xemacs.org>
15737 * glyphs.c: add dynamic width and height elements.
15738 (image_instance_equal): ditto.
15740 * glyphs-widget.c (widget_query_geometry): calculate width and
15741 height dynamically if required.
15742 (initialize_widget_image_instance): initialize dynamic dimensions.
15743 (widget_instantiate): pick-up dynamic dimensions.
15745 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15746 dynamic determination. Add appropriate macros.
15748 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15750 (WINDOW_GUTTER_SIZE): ditto.
15751 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15753 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15755 (get_frame_dc): ditto.
15757 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15760 2000-02-23 Martin Buchholz <martin@xemacs.org>
15762 * XEmacs 21.2.31 is released.
15764 2000-02-22 Ben Wing <ben@xemacs.org>
15766 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15768 2000-02-22 Andy Piper <andy@xemacs.org>
15770 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15772 2000-02-21 Mike Sperber <mike@xemacs.org>
15776 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15779 2000-02-21 Mike Sperber <mike@xemacs.org>
15781 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15783 2000-02-21 Martin Buchholz <martin@xemacs.org>
15785 * XEmacs 21.2.30 is released.
15787 2000-02-20 Martin Buchholz <martin@xemacs.org>
15789 Performance hacking.
15791 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15792 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15793 * emacs.c (main_1):
15795 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15796 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15797 * symeval.h (DEFVAR_SYMVAL_FWD):
15798 * symbols.c (guts_of_unbound_marker):
15799 Make all c_readonly objects also lisp_readonly and marked for life.
15800 * lrecord.h (struct lrecord_implementation):
15801 Document flags better.
15802 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15803 * lrecord.h (DECLARE_LRECORD):
15804 * lrecord.h (XSETRECORD):
15805 * lrecord.h (RECORDP):
15806 * lrecord.h (RECORD_TYPEP):
15807 * lrecord.h (RECORD_MARKER): New.
15808 * lrecord.h (error_check_*):
15809 * lrecord.h (CONCHECK_NONRECORD):
15810 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15811 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15812 * lrecord.h (set_lheader_implementation):
15813 * lrecord.h (enum lrecord_type): New.
15814 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15815 * alloc.c (disksave_object_finalization_1):
15816 * alloc.c (mark_object):
15817 * alloc.c (lrecord_type_index):
15818 * alloc.c (tick_lcrecord_stats):
15819 * alloc.c (Fgarbage_collect):
15820 * alloc.c (init_alloc_once_early):
15821 * alloc.c (pdump_load):
15822 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15823 * alloc.c (lrecord_type_index): Delete.
15824 Make lisp object type indexes be constant.
15825 Makes (byte-compile) 5% faster.
15826 Put all marker functions into their own array.
15827 Makes (garbage-collect) 5% faster.
15828 Optimize SYMBOL_VALUE_MAGIC_P.
15829 Makes (byte-compile) 2-3% faster.
15830 * config.h.in (gc_checking_assert): New.
15831 * alloc.c: Use gc_checking_assert().
15832 * .dbxrc: Make compatible with new object type implementation.
15833 * .gdbinit: Make compatible with new object type implementation.
15834 * alloc.c: Delete all symbols defined only for debugging, such as
15835 Lisp_Type_Vector and lrecord_charset.
15837 2000-02-21 Andy Piper <andy@xemacs.org>
15839 * gui-msw.c (Fmswindows_shell_execute): fix file location
15842 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15843 unshowing so that set_window_buffer doesn't undo
15844 kill_buffer_hook's hard work.
15846 * glyphs-widget.c (tab_control_query_geometry): don't count the
15847 first item when calculating geometry.
15849 * glyphs.c (map_subwindow): remove redundant code.
15850 (update_frame_subwindows): be more circumspect about when to
15853 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15854 when items haven't changed. Update faces if faces have changed as
15855 well as just the widget face.
15856 (x_tab_control_update): Update faces if faces have changed as well
15857 as just the widget face.
15859 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15861 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15863 (build_syscolor_string): Use mswindows_color_to_string to try to
15865 (mswindows_device_system_metrics): Reverse the foreground and
15866 background colors so that they match the documentation.
15868 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15869 they match the default Windows palette.
15870 (mswindows_color_to_string): New function.
15872 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15874 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15876 2000-02-18 Olivier Galibert <galibert@pobox.com>
15878 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15879 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15881 * symbols.c (init_symbols_once_early): Removed obsolete
15882 DATA_SEG_BITS related kludge.
15883 (defvar_magic): Ditto.
15885 * malloc.c: Removed obsolete DATA_SEG_BITS
15887 * mem-limits.h: Ditto.
15889 * Makefile.in.in: Removed obsolete HAVE_SHM
15892 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15894 * device-msw.c (mswindows_delete_device): Free DDE string
15897 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15899 * keymap.c (get_keyelt):
15900 * unexnt.c (unexec):
15901 * vm-limit.c (memory_warnings):
15902 * ntheap.c (recreate_heap):
15903 * ntheap.h (UNINIT_PTR):
15904 * select-msw.c (Fmswindows_get_clipboard):
15905 (Fmswindows_set_clipboard):
15906 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15908 * menubar-msw.c (displayable_menu_item):
15910 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15911 * sysdep.c (sys_subshell):
15912 * process-nt.c (nt_create_process):
15913 * nt.c (normalize_filename):
15914 (dostounix_filename):
15915 (unixtodos_filename):
15916 * ntproc.c (win32_executable_type):
15917 * ntplay.c (play_sound_data_1):
15919 * editfns.c (get_home_directory):
15920 * event-msw.c (struct winsock_stream):
15921 (mswindows_dde_callback):
15922 * device-msw.c (msprinter_init_device):
15923 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15925 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15926 mswindows_clear_toolbar were swapped!
15928 * objects-msw.c:(colormap_t):
15930 * emacs.c (struct standard_args): Fixed const jumble.
15932 * glyphs-widget.c (update_widget): Fixed comparison notation.
15934 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15936 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15937 __declspec(noreturn) syntax.
15939 2000-02-19 Martin Buchholz <martin@xemacs.org>
15941 * eldap.c (Fldap_open):
15942 (Fldap_search_basic):
15945 Use new coding system conversion macros.
15947 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15949 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15951 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15953 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15954 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15956 * eldap.c (Qadd, Qreplace): New constant symbols
15957 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15958 interruptions by XEmacs signals
15959 Remove unnecessary calls to slow_down_interrupts and
15960 speed_up_interrupts
15961 (Fldap_search_basic): Renamed from Fldap_search_internal
15962 Added new optional parameter VERBOSE that triggers the
15963 display of progress messages
15964 Remove unnecessary calls to slow_down_interrupts and
15965 speed_up_interrupts
15966 LDAP result code analysis rewritten
15967 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15968 (syms_of_eldap): Define the new symbols and functions
15971 2000-02-17 Martin Buchholz <martin@xemacs.org>
15973 * realpath.c: Determine PATH_MAX maximally portably.
15975 * insdel.c (bytecount_to_charcount): Optimize.
15976 The function used to be optimized for entirely ASCII sequences.
15977 Now it is optimized for successive characters from the same
15978 charset. This also wins big for _mostly_ ASCII sequences.
15980 * fileio.c (Ffile_truename): convert return from realpath() using
15981 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15982 - Rewrite GCPROing slightly.
15984 * sysdep.c (sys_open): Do filename conversion, like all other
15985 sys_* functions. Fixes bug:
15986 (let ((file-name-coding-system 'iso-8859-2))
15987 (write-region x y latin2-name))
15988 ==> writes filename using internal encoding.
15990 2000-02-18 Martin Buchholz <martin@xemacs.org>
15992 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15993 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15994 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15995 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15996 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15997 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15998 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15999 (CONST_IF_NOT_DEBUG): Delete.
16000 * alloc.c (this_one_is_unmarkable): Delete.
16001 (mark_object): Don't check for this_one_is_unmarkable. Use the
16002 c_readonly flag instead.
16003 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16005 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16007 * event-msw.c (mswindows_drain_windows_queue):
16008 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16009 away redundant repaint events.
16011 2000-02-17 Andy Piper <andy@xemacs.org>
16013 * redisplay.h: declare mark_redisplay_structs.
16015 * redisplay.c (redisplay_window):
16016 (redisplay_frame): don't check subwindows_state_changed.
16017 (mark_redisplay): mark gutters here.
16019 * glyphs.c: (instantiate_image_instantiator): always layout if we
16020 haven't done so already.
16021 (allocate_image_instance): don't mark as dirty.
16022 (update_subwindow): bind inhibit_quit.
16024 * gutter.c (mark_gutters): new function.
16026 * glyphs-x.c (x_update_widget): Always resize to get round a
16029 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16030 breaking absolutely everything.
16032 * gutter.h: declare mark_gutters.
16034 2000-02-16 Martin Buchholz <martin@xemacs.org>
16036 * XEmacs 21.2.29 is released.
16038 2000-02-15 Olivier Galibert <galibert@pobox.com>
16040 * fns.c (size_bit_vector): Fix computation of the size.
16042 2000-02-15 Martin Buchholz <martin@xemacs.org>
16044 * *.[ch]: Change CONST to const globally.
16045 find -name '*.[ch]' | \
16046 xargs global-replace \
16047 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16048 - Remove vestigial references to CONST_IS_LOSING
16050 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16052 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16053 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16054 events instead of dispatching them directly.
16055 (mswindows_handle_paint): New function to do repainting.
16056 (mswindows_wnd_proc):
16057 (emacs_mswindows_handle_magic_event): Call above function.
16059 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16061 * objects-msw.c (mswindows_create_font_variant): Return the new
16063 (initialize_font_instance): Get font metrics from the underlined
16064 variant of the font to cope with the case where the underlined
16065 font has a bigger descent.
16067 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16069 * gui.c (gui_item_accelerator): Return the first underlined
16070 character in item name.
16072 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16074 * lisp.h: Added Qprinter.
16076 * general.c (syms_of_general): Initialized it.
16078 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16080 (get_frame_compdc): Made inline.
16082 * console.h (struct console_methods): Added eject_page method.
16084 * frame.h: Added FRAME_DISPLAY_P and friends.
16085 Aligned backslahes in many macros in more readable fashion.
16086 Added page_number to struct frame, and an accessor macro
16089 * defice.h: Added DEVICE_DISPLAY_P and friends.
16091 * device.c (Fdevice_printer_p): Used these.
16093 * frame.c (allocate_frame_core): Initialize page number.
16094 (Fprint_job_page_number):
16095 (Fprint_job_eject_page): Implemented.
16097 * frame-msw.c (msprinter_eject_page): Added method.
16098 (msprinter_start_page): Added.
16100 * window.c (Fwindow_truncated_p): Fixed docstring.
16101 (Fwindow_last_line_visible_height): Implemented.
16103 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16105 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16107 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16109 * syntax.c (scan_words): Always advance at least one character.
16111 2000-02-13 Andy Piper <andy@xemacs.org>
16113 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16114 to make sure the glyph is in the cachels.
16116 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16117 global image instance flag.
16118 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16119 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16121 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16122 (Fset_image_instance_property): mark layout as changed.
16123 (invalidate_glyph_geometry_maybe): mark layout as changed.
16124 (glyph_width): use new NEEDS_LAYOUT macro.
16125 (glyph_ascent): ditto.
16126 (glyph_descent): ditto.
16127 (glyph_height): ditto.
16128 (image_instance_layout): mark layout as clean after laying out.
16129 (update_subwindow): don't mark layout as clean here.
16131 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16132 should no longer be needed.
16134 * glyphs-x.c (x_update_widget): sanitize asserts.
16135 (x_finalize_image_instance): sanitize assignment to widgets.
16137 * glyphs-widget.c (widget_instantiate): don't need to clear the
16140 2000-02-13 Martin Buchholz <martin@xemacs.org>
16142 * sysdep.c (getcwd): Use standard prototype.
16143 * sysdep.h (getcwd): Use standard prototype.
16145 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16146 (sequence, start, end).
16147 Remove redundant type checking.
16148 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16149 view of `caller-protects') to avoid a crash where the real fix was
16152 2000-02-12 Martin Buchholz <martin@xemacs.org>
16154 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16156 * s/sol2.h: Remove feature macro initialization.
16158 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16159 (vector_hash): New. Code from internal_hash.
16161 Fix up allocation subsystem comments.
16163 * config.h.in: Add __EXTENSIONS__ for Solaris.
16165 * systime.h (EMACS_GETTIMEOFDAY): New.
16166 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16167 Remove Solaris-specific code.
16168 Use void* for the (ignored) second arg for gettimeofday().
16170 * elhash.c (hash_table_hash): Implement it, finally.
16171 * elhash.c: Use hashcode_t.
16173 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16174 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16176 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16177 * fns.c (size_bit_vector):
16178 * alloc.c (size_vector):
16179 (make_vector_internal):
16180 (make_bit_vector_internal):
16181 (sweep_bit_vectors_1):
16182 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16184 2000-02-10 Martin Buchholz <martin@xemacs.org>
16186 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16187 Include strings.h to avoid warnings for bzero and strcasecmp.
16189 2000-02-10 Olivier Galibert <galibert@pobox.com>
16191 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16192 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16194 * fns.c (size_bit_vector): New. Declare bit vectors as a
16197 2000-02-10 Olivier Galibert <galibert@pobox.com>
16199 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16200 use a value field instead.
16201 (symbol_value_forward_forward): Use value field.
16202 (DEFVAR_SYMVAL_FWD): Use value field.
16203 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16204 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16205 (DEFVAR_CONST_INT): Ditto.
16206 (DEFVAR_BOOL): Ditto.
16207 (DEFVAR_CONST_BOOL): Ditto.
16208 (DEFVAR_INT_MAGIC): Ditto.
16209 (DEFVAR_BOOL_MAGIC): Ditto.
16211 * symbols.c (guts_of_unbound_marker): Use value field.
16212 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16213 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16215 * lisp.h: Declare dumpopaque and noninteractive1.
16217 * alloc.c (dumpopaque): Added.
16218 (pdump_dump_opaquevec): Added.
16219 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16220 (pdump_load): Reload opaque data. Sync noninteractive1 with
16223 2000-02-10 Andy Piper <andy@xemacs.org>
16225 * glyphs.c (image_instance_layout): if the size changes, mark it
16228 * redisplay-output.c (redisplay_output_layout): Update the
16230 (redisplay_output_subwindow): ditto.
16232 * glyphs.c (update_subwindow): make sure we reset flags for
16233 layouts as well as everything else.
16235 * glyphs-widget.c (layout_layout): don't need to set the instances
16238 2000-02-09 Martin Buchholz <martin@xemacs.org>
16240 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16241 not HAVE_DLOPEN, which is a lower-level thing.
16243 * .cvsignore: Ignore gmon.out
16245 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16247 * .cvsignore: Ignore portable dumper xemacs.dmp file
16249 2000-02-09 Andy Piper <andy@xemacs.org>
16251 * redisplay-output.c (redisplay_output_layout): be more clever
16252 about when we output based on the changed flags.
16254 * glyphs.h (struct image_instantiator_methods): add update_method.
16255 (struct Lisp_Image_Instance): add changed flags. Declare new
16256 macros for manipulating them.
16258 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16259 (image_instance_parent_glyph): find an image_instance's parent
16260 glyph or image_instance.
16261 (image_instance_layout): mark the size as changed.
16262 (set_image_instance_dirty_p): new function. mark an image
16263 instance, plus all of its parents, as dirty.
16264 (Fset_image_instance_property): use it.
16265 (Fglyph_animated_timeout_handler): use it.
16266 (update_subwindow): call update_widget and device methods for
16267 update_subwindow. Mark all changed flags as clean.
16268 (Fresize_subwindow): mark size as changed.
16270 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16272 (x_update_subwindow): only resize subwindows here.
16273 (x_update_widget): new function. Update all changed properties of
16275 (x_resize_subwindow): deleted.
16276 (x_widget_set_property): deleted.
16277 (x_progress_gauge_set_property): deleted.
16278 (x_progress_gauge_update): new function. Implement recorded
16280 (x_tab_control_update): ditto.
16281 (x_tab_control_set_property): deleted.
16282 (console_type_create_glyphs_x): declare new functions.
16283 (image_instantiator_format_create_glyphs_x): ditto.
16285 * glyphs-widget.c (widget_set_property): mark text changed.
16286 (update_widget): new function. Update properties of a widget.
16287 (widget_instantiate): for layouts make sure we set their
16288 children's parent correctly.
16289 (tab_control_set_property): new function. Record changes that will
16290 take place under redisplay's control.
16291 (progress_gauge_set_property): ditto.
16292 (image_instantiator_progress_guage): declare new functions.
16293 (image_instantiator_tab_control): ditto.
16295 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16297 (mswindows_update_widget): new function. Update all properties on
16298 a widget that have changed.
16299 (mswindows_button_update): new function. Update a button's set
16301 (mswindows_tab_control_update): new function. Update the items in
16303 (mswindows_tab_control_set_property): deleted.
16304 (mswindows_progress_gauge_update): new function. Update the
16305 progress gauge's progress.
16306 (mswindows_widget_set_property): deleted. This is all done
16307 asynchronously now.
16308 (mswindows_progress_gauge_set_property): ditto.
16309 (console_type_create_glyphs_mswindows): declare new methods.
16310 (image_instantiator_format_create_glyphs_mswindows): ditto.
16312 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16313 (msprinter_set_frame_properties): ditto.
16315 * console.h (struct console_methods): Add update_widget_method.
16317 2000-02-09 Andy Piper <andy@xemacs.org>
16319 * gui-msw.c (Fmswindows_shell_execute): Make
16320 mswindows-shell-execute industrial strength.
16322 2000-02-08 Martin Buchholz <martin@xemacs.org>
16324 * lrecord.h: Make macro argument `props' match member function `plist'.
16327 * fns.c (Fremprop):
16328 * fns.c (Fobject_plist):
16331 Object property list frobbing cleanup.
16332 - Allow any lisp object (compared with `eq'), not just symbols, as
16333 keys in object plists.
16334 - Move symbol plist frobbing into symbols.c, where it belongs.
16335 - Move string plist frobbing into alloc.c, where it belongs.
16336 - Everything's an lrecord now, so no need to test for symbolp, etc.
16337 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16339 * extents.c: Reorder code to remove declarations.
16341 * frame.h (store_in_alist): Remove useless declaration.
16343 2000-02-07 Martin Buchholz <martin@xemacs.org>
16345 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16346 * config.h.in: Add HAVE_XCONVERTCASE.
16348 2000-02-07 Andy Piper <andy@xemacs.org>
16350 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16351 it breaks many things.
16353 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16355 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16356 actually can start a common comment type.
16357 * src/syntax.h (SYNTAX_END_P): ditto for end.
16359 2000-02-07 Martin Buchholz <martin@xemacs.org>
16361 * XEmacs 21.2.28 is released.
16363 2000-02-06 Martin Buchholz <martin@xemacs.org>
16365 * event-Xt.c (x_keysym_to_character): New.
16366 (maybe_define_x_key_as_self_inserting_character): New.
16367 (x_has_keysym): New.
16368 Auto-define all keys on the keyboard as self-insert-key.
16370 2000-02-02 Martin Buchholz <martin@xemacs.org>
16372 * menubar.c (vars_of_menubar): A small code simplification.
16374 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16377 * ExternalClient.c:
16378 * EmacsShell-sub.c:
16381 Use consistent style for specifying X resources.
16383 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16384 This makes (dontusethis-set-symbol-value-handler) actually usable.
16386 * lrecord.h (lrecord_decription_type):
16387 * alloc.c (pdump_register_sub):
16390 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16391 Comply with XEmacs coding style.
16392 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16393 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16395 * keymap.c (Faccessible_keymaps):
16396 Make (accessible-keymaps map "\C-h") do the Right Thing.
16397 Make (accessible-keymaps map []) do the Right Thing.
16398 Make (accessible-keymaps map "") do the Right Thing.
16399 (check_keymap_definition_loop): New function.
16400 (keymap_store_internal): Keep luser from shooting self in foot,
16401 via (define-key ctl-x-4-map "p" global-map).
16402 Remove fullness slot from struct Lisp_Keymap, since hash tables
16404 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16406 2000-01-30 Martin Buchholz <martin@xemacs.org>
16408 * redisplay.c (init_redisplay): Fix small memory leak.
16410 * elhash.c (pdump_reorganize_hash_table):
16411 Rename from reorganize_hash_table. Change prototype.
16412 Reuse the original memory for hentries. Save 100k.
16413 * alloc.c (PDUMP_READ): new macro.
16414 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16415 * alloc.c: No need to #ifndef before #undef.
16417 * print.c: Allow debug_print() to print readably by modifying
16418 debug_print_readably. Use consistent variable names.
16420 * .dbxrc: Try to get things to work even if stopped in a function
16421 without source available by explicitly specifying source files.
16422 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16424 * unexnt.c (_start): Removed bogus code which caused loading heap
16425 from differrent executable file.
16426 Removed bogus assignment to _fmode, which caused inconsistencies.
16428 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16430 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16431 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16432 Do not preliminary `#define signal sigset'.
16434 * systime.h: Do not prototype environ on windows nt and cygwin,
16435 this conflicts with system header.
16437 * syssignal.h: Use correct define for WINDOWSNT
16439 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16440 with system header.
16442 * sysdep.c (near start of file): Fixed commentary and rearranged
16443 ifdefs in readable order.
16444 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16447 (end_of_data): Do not compile in if using PDUMP.
16449 * symsinit.h: Prototyped vars_of_nt().
16451 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16452 (find_child_console): Use it.
16453 (sys_kill): Use it.
16455 * ntheap.h: Do not extern os_subtype.
16457 * ntheap.c (cache_system_info): Do not cache unneeded:
16458 nt_major_version, nt_minor_version and os_subtype.
16459 (recreate_heap): Do not compile in when PDUMPing.
16461 * nt.c (geteuid and friends): Use the new varibale
16462 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16463 (init_user_info): Removed the above mentioned hackery.
16464 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16465 stat has been fixed in the C runtime.
16466 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16468 * file-coding.c (struct file_coding_dump): Do not define
16469 ucs_to_mule_table in the struct if not MULE.
16470 (struct struct lrecord_description fcd_description_1): Do not dump
16473 * emacs.c (main_1): Call vars_of_nt().
16474 (right before Fdump_emacs_data): Don't need lastfile if using both
16475 portabe dumper and system malloc.
16477 * alloc.c (Fmemory_limit): Conditionalized out.
16478 (pdump): Use OPEN_BINARY for the portable dump file.
16479 (pdump_load): Ditto.
16481 2000-02-02 Mike Alexander <mta@arbortext.com>
16483 * nt.c (convert_time): Set tm_isdst before calling mktime and
16484 avoid calling it at all if the compiler supports 64 bit integers.
16485 Also initialize utc_base_ft before using it.
16487 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16489 * frame.c (change_frame_size_1): Take f->internal_border_width
16490 into consideration when calculating the width of the frame.
16492 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16494 * window.c (frame_min_height):
16495 (frame_size_valid_p):
16496 (frame_pixsize_valid_p): Added.
16497 (check_frame_size): Generalized.
16499 * window.h: Prototyped the above.
16502 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16503 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16504 Deleted Vwin32_* and Vbinary_process_* unused variables.
16506 * device-msw.c (msprinter_init_device): Do not get printer font
16507 list; Added DEVMODE functions.
16509 * frame-msw.c: Added lots of printer code.
16511 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16514 * console-msw.h: Added more msprinter device private slots.
16516 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16518 * event-msw.c (key_needs_default_processing_p): Added.
16519 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16521 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16523 * glyphs.c (image_instance_layout): Mark image instance as clean
16525 (glyph_dirty_p): Removed redundant function.
16526 (invalidate_glyph_geometry_maybe): Added.
16527 (update_glyph_cachel_data): Call it.
16529 * glyphs.h: Prototyped it.
16531 * redisplay.c (add_glyph_rune): Call it.
16532 (redisplay_window): Reset glyphs cachels when frame faces have
16533 changed, thus forcing recomputation of built-in border glyphs.
16535 2000-01-30 Martin Buchholz <martin@xemacs.org>
16537 * Makefile.in.in: Make portable dumper and purify play well together.
16538 Add imperfect, but better than nothing, support for pdump.
16539 Remove xemacs.dmp when temacs is re-generated.
16540 Don't ignore errors when dumping xemacs.
16542 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16544 2000-01-28 Andy Piper <andy@xemacs.org>
16546 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16547 (setup_normal_frame): ditto.
16548 (setup_frame_without_minibuffer): ditto.
16549 (setup_minibuffer_frame): ditto.
16550 (delete_frame_internal): ditto.
16551 (Fmake_frame_invisible): ditto.
16552 (Ficonify_frame): ditto.
16554 * window.h: change Fset_window_buffer signature.
16556 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16557 (Fset_window_buffer): allow recording of buffer if the window is
16558 the selected window.
16559 (window_loop): Use new Fset_window signature.
16561 2000-01-23 Daniel Pittman <daniel@danann.net>
16563 * config.h.in: Added template for `HAVE_ATHENA_3D'
16565 2000-01-29 Andy Piper <andy@xemacs.org>
16567 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16569 * gutter.c (output_gutter): Don't output if the window isn't live.
16571 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16573 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16574 of 01/12/00: Moved SetFocus back here where it belongs.
16576 2000-01-23 Andy Piper <andy@xemacs.org>
16578 * s/cygwin32.h: declare printer things.
16580 2000-01-26 Andy Piper <andy@xemacs.org>
16582 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16585 2000-01-24 Andy Piper <andy@xemacs.org>
16587 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16588 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16590 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16592 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16594 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16596 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
16597 (mswindows_output_display_block): Avoid local shadows.
16599 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
16600 (mswindows_enqueue_mouse_button_event): ditto.
16601 (mswindows_handle_gui_wm_command): remove declaration.
16603 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
16606 * console-msw.h: Avoid shadows.
16607 (mswindows_get_toolbar_button_text):
16608 (emacs_mswindows_create_stream_pair):
16609 (emacs_mswindows_delete_stream_pair):
16610 (mswindows_handle_toolbar_wm_command): declare.
16612 * device-msw.c (build_syscolor_string): Avoid shadows.
16614 2000-01-23 Andy Piper <andy@xemacs.org>
16616 * glyphs-widget.c (widget_instantiate): reverse the items for
16617 layouts so that children are in the expected order.
16619 2000-01-28 Martin Buchholz <martin@xemacs.org>
16621 * ralloc.c: safe_bcopy ==> memmove
16622 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
16623 * s/msdos.h: Remove BCOPY macros.
16624 * insdel.c (gap_right): Remove BCOPY conditional code.
16625 * insdel.c (gap_left): Remove BCOPY conditional code.
16626 XEmacs demands a working ANSI C compiler - hence memmove.
16628 * regex.c (regex_compile): Remove accidental use of trigraphs.
16630 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16632 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
16635 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16637 * event-msw.c (mswindows_drain_windows_queue): Added the
16639 (mswindows_need_event): Commented the call to
16640 mswindows_drain_windows_queue().
16641 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
16644 * console-msw.h: Moved a few function prototypes here from
16647 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
16648 parameter from unsigned short to unsigned long.
16649 (Fmswindows_shell_execute): Added return value.
16651 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16653 * sysdep.c (init_system_name):
16654 process-unix.c (unix_canonicalized_host_name):
16655 Don't call freeaddrinfo() if getaddrinfo() fails.
16657 * process-unix.c (unix_open_unix_network_stream):
16658 Moved the code to get a port # into address loop.
16660 2000-01-27 Martin Buchholz <martin@xemacs.org>
16662 * buffer.c (reinit_vars_of_buffer):
16663 The right place to initialize conversion_in_dynarr and
16664 conversion_out_dynarr.
16666 * alloc.c (pdump): Use the real open() till sys_open() is functional.
16668 * process-unix.c (unix_canonicalize_host_name): Muleize.
16669 (unix_open_network_stream): Muleize.
16671 * buffer.h: Fix up prototypes for ralloc.c functions.
16673 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16674 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
16675 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
16676 instead of gethostbyname()
16677 * process-unix.c: In unix_canonicalize_host_name() and
16678 unix_open_network_stream(), add code to use getaddrinfo()
16679 instead of gethostbyname().
16681 2000-01-27 Daniel Pittman <daniel@danann.net>
16683 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
16684 libs when built with flat Athena.
16686 2000-01-27 Martin Buchholz <martin@xemacs.org>
16688 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
16689 Use coding standards for function prototypes.
16691 2000-01-25 Martin Buchholz <martin@xemacs.org>
16693 * dialog-msw.c (push_lisp_string_as_unicode):
16694 * doc.c (unparesseuxify_doc_string):
16695 * dired.c (Fuser_name_completion_1):
16696 * dired.c (Fuser_name_all_completions):
16697 * dired.c (free_user_cache):
16698 * dired.c (user_name_completion):
16699 * console-x.c (get_display_arg_connection):
16700 * minibuf.c (clear_echo_area_internal):
16701 * minibuf.c (echo_area_append):
16702 * eldap.c (Fldap_open):
16703 * eldap.c (Fldap_search_internal):
16704 * frame-x.c (x_set_frame_text_value):
16705 * frame-x.c (x_set_frame_properties):
16706 * frame-x.c (x_create_widgets):
16707 * redisplay-tty.c (term_get_fkeys_1):
16708 * objects-x.c (x_parse_nearest_color):
16709 * objects-x.c (x_valid_color_name_p):
16710 * objects-x.c (x_initialize_font_instance):
16711 * objects-x.c (x_list_fonts):
16712 * objects-x.c (x_find_charset_font):
16713 * tooltalk.c (Fadd_tooltalk_message_arg):
16714 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
16715 * tooltalk.c (Fadd_tooltalk_pattern_arg):
16716 * process-unix.c (unix_create_process):
16717 * ntproc.c (sys_spawnve):
16718 * sound.c (Fplay_sound_file):
16719 * sound.c (Fplay_sound):
16720 * buffer.c (init_initial_directory):
16721 * buffer.c (init_buffer):
16722 * editfns.c (init_editfns):
16723 * editfns.c (Ftemp_directory):
16724 * editfns.c (Fuser_full_name):
16725 * editfns.c (uncache_home_directory):
16726 * editfns.c (get_home_directory):
16727 * editfns.c (Fuser_home_directory):
16728 * editfns.c (Fformat_time_string):
16729 * editfns.c (Fcurrent_time_string):
16730 * gui-x.c (button_item_to_widget_value):
16731 * database.c (Fopen_database):
16732 * event-Xt.c (x_to_emacs_keysym):
16733 * event-Xt.c (x_event_to_emacs_event):
16734 * event-Xt.c (describe_event_window):
16735 * event-msw.c (mswindows_wnd_proc):
16736 * glyphs-eimage.c (jpeg_instantiate):
16737 * glyphs-eimage.c (gif_instantiate):
16738 * glyphs-eimage.c (png_instantiate):
16739 * glyphs-eimage.c (tiff_instantiate):
16740 * glyphs-x.c (xbm_instantiate_1):
16741 * glyphs-x.c (x_xbm_instantiate):
16742 * glyphs-x.c (x_xface_instantiate):
16743 * glyphs-x.c (autodetect_instantiate):
16744 * glyphs-x.c (cursor_font_instantiate):
16745 * glyphs-x.c (x_widget_instantiate):
16746 * glyphs-x.c (x_widget_set_property):
16747 * glyphs-x.c (x_widget_property):
16748 * glyphs-x.c (BUILD_GLYPH_INST):
16749 * print.c (write_string_to_stdio_stream):
16750 * print.c (output_string):
16751 * print.c (Falternate_debugging_output):
16752 * print.c (Fexternal_debugging_output):
16753 * glyphs-msw.c (extract_xpm_color_names):
16754 * glyphs-msw.c (mswindows_xpm_instantiate):
16755 * glyphs-msw.c (bmp_instantiate):
16756 * glyphs-msw.c (resource_name_to_resource):
16757 * glyphs-msw.c (mswindows_resource_instantiate):
16758 * glyphs-msw.c (xbm_instantiate_1):
16759 * glyphs-msw.c (mswindows_xbm_instantiate):
16760 * glyphs-msw.c (mswindows_xface_instantiate):
16761 * glyphs-msw.c (mswindows_widget_instantiate):
16762 * glyphs-msw.c (add_tree_item):
16763 * glyphs-msw.c (add_tab_item):
16764 * glyphs-msw.c (mswindows_combo_box_instantiate):
16765 * glyphs-msw.c (mswindows_widget_property):
16766 * glyphs-msw.c (mswindows_combo_box_property):
16767 * glyphs-msw.c (mswindows_widget_set_property):
16768 * console.c (stuff_buffered_input):
16769 * objects-msw.c (mswindows_initialize_color_instance):
16770 * objects-msw.c (mswindows_valid_color_name_p):
16771 * objects-msw.c (mswindows_list_fonts):
16772 * objects-msw.c (mswindows_font_instance_truename):
16773 * bytecode.c (optimize_compiled_function):
16774 * select-x.c (symbol_to_x_atom):
16775 * select-x.c (x_atom_to_symbol):
16776 * select-x.c (hack_motif_clipboard_selection):
16777 * select-x.c (selection_data_to_lisp_data):
16778 * select-x.c (lisp_data_to_selection_data):
16779 * select-x.c (Fx_get_cutbuffer_internal):
16780 * select-x.c (Fx_store_cutbuffer_internal):
16781 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16782 * buffer.h (TO_INTERNAL_FORMAT): New function.
16783 * emacs.c (make_arg_list_1):
16784 * emacs.c (make_argc_argv):
16785 * emacs.c (main_1):
16786 * emacs.c (Fdump_emacs):
16787 * emacs.c (split_string_by_emchar_1):
16792 * device-x.c (x_init_device):
16793 * device-x.c (Fx_valid_keysym_name_p):
16794 * device-x.c (Fx_get_font_path):
16795 * device-x.c (Fx_set_font_path):
16796 * glyphs.c (bitmap_to_lisp_data):
16797 * glyphs.c (pixmap_to_lisp_data):
16798 * alloc.c (make_ext_string): Use coding system arguments. Update
16800 * alloc.c (build_string):
16801 * callproc.c (child_setup):
16802 * callproc.c (init_callproc):
16803 * fileio.c (lisp_strerror):
16804 * fileio.c (directory_file_name):
16805 * fileio.c (Fexpand_file_name):
16806 * fileio.c (Ffile_truename):
16807 * fileio.c (Fsysnetunam):
16808 * fileio.c (Fdo_auto_save):
16809 * sysdep.c (sys_readdir):
16810 * tests.c: New file. Allow adding C tests.
16811 Replace GET_* macros with a more comprehensible and flexible
16812 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16814 Any coding system can be used to do format conversion.
16815 Eliminate enum external_data_format.
16816 Eliminate convert_to_external_format.
16817 Eliminate convert_to_internal_format.
16818 Make sure file-name, keyboard, terminal, and ctext are always
16819 defined as coding systems or aliases. Make
16820 file-name-coding-system, terminal-coding-system, and
16821 keyboard-coding-system magical variables that are equivalent to
16822 defining the corresponding coding system aliases.
16824 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16825 * file-coding.c (Fcoding_system_alias_p): New function.
16826 * file-coding.c (Fcoding_system_aliasee): New function.
16827 * file-coding.c (append_suffix_to_symbol): New function.
16828 * file-coding.c (dangling_coding_system_alias_p): New function.
16829 * file-coding.c (Ffind_coding_system):
16830 * file-coding.c (Fcopy_coding_system):
16831 * file-coding.c (encode_coding_no_conversion):
16832 * file-coding.c (syms_of_file_coding):
16833 * file-coding.c (vars_of_file_coding):
16834 Rewrite coding system alias code.
16835 Allow nested aliases, like symbolic links.
16836 Allow redefinition of coding system aliases.
16837 Prevent existence of dangling coding system aliases.
16839 * dired.c (Fuser_name_completion_1):
16840 * dired.c (Fuser_name_all_completions):
16841 A crash would happen if user did QUIT in the middle of building
16842 user_name_cache. Remove redundant code in mainline and unwind_protect.
16845 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16847 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16848 an unsigned char *. Update all callers.
16850 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16852 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16854 2000-01-25 Martin Buchholz <martin@xemacs.org>
16856 * elhash.c (hentry_description): Use more portable definition.
16857 (resize_hash_table): Initialize new hentries using
16858 xnew_array_and_zero, thereby simplifying the code.
16860 * mule-charset.c (make_charset): Make sure entire object is
16861 initialized, to avoid Purify warnings.
16863 * alloc.c (resize_string): Fix unlikely crash with big strings.
16865 2000-01-24 Martin Buchholz <martin@xemacs.org>
16867 * realpath.c (xrealpath):
16868 Don't call getwd().
16870 2000-01-25 Martin Buchholz <martin@xemacs.org>
16872 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16874 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16876 * unexelfsgi.c (unexec): Change the way we decide which segment
16877 should be extended.
16879 Assumption that .bss section should be outside the PT_LOADable
16880 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16881 it's present) is inside the 'data' segment. This would fail the
16882 test which was used to find a segment to grow and cover new
16883 heap. Instead of this assumption, I created another one - on IRIX
16884 the segment to grow should start below .bss and it's address
16885 should extent above the end of .bss. Once this segment is
16886 identified, it's grown to accommodate the new heap and new
16887 zero-length .bss section is added at the end of .data2.
16889 2000-01-25 Martin Buchholz <martin@xemacs.org>
16891 * eval.c (Feval): Wrong number of arguments should use original
16892 function, not the indirect_function version of it.
16894 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16896 * glyphs-x.c (x_button_instantiate): Don't add image if
16897 it is not a pixmap.
16898 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16901 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16903 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16905 (DEFVAR_INT_MAGIC): Ditto.
16906 (DEFVAR_BOOL_MAGIC): Ditto.
16907 * glyphs.h: Reindent backslash.
16909 2000-01-24 Martin Buchholz <martin@xemacs.org>
16911 * glyphs-widget.c (layout_query_geometry):
16912 (layout_layout): Use correct types for gheight, gwidth.
16914 2000-01-24 Martin Buchholz <martin@xemacs.org>
16916 * EmacsManager.c (QueryGeometry): Purified.
16918 2000-01-23 Martin Buchholz <martin@xemacs.org>
16920 * alloc.c (make_float): Make sure entire object is initialized, to
16921 avoid Purify warnings.
16922 (pdump_register_sub): Remove useless assignment.
16923 (pdump): Use xmalloc, not malloc.
16924 (pdump_load): Use xmalloc, not malloc.
16926 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16933 * sysdep.c: Removed redundant #include <windows.h>
16935 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16937 * frame.c (delete_frame_internal): Do not delete device when its
16938 implementation so declares.
16939 (delete_frame_internal): Set device selected frame to nil when
16940 last frame goes away.
16942 * device-msw.c (msprinter_device_system_metrics): Implemented.
16943 (mswindows_device_system_metrics): Added 'device-dpi property.
16945 * device.c: (Fdevice_printer_p): Added.
16946 Added 'offset-workspace device metric.
16948 * console.h (device_metrics): Declared DM_offset_workspace.
16950 2000-01-23 Martin Buchholz <martin@xemacs.org>
16952 * fileio.c (Ffile_truename): Remove pointless and confusing
16953 initialization of elen.
16955 * glyphs-widget.c: Compiler warning fixes.
16957 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16959 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16960 instead of a Lisp_Object as argument to make it consistent with
16961 the other LIVE_P macros.
16962 (CHECK_LIVE_PROCESS): New macro.
16964 * process.c: Declare Qprocess_live_p.
16965 (Fprocess_live_p): New function.
16966 (create_process): Use PROCESS_LIVE_P.
16967 (read_process_output): Ditto.
16968 (set_process_filter): Ditto.
16969 (Fdelete_process): Ditto.
16970 (kill_buffer_processes): Ditto
16971 (process_send_signal): Use CHECK_LIVE_PROCESS.
16972 (Fprocess_input_coding_system): Check whether process is still
16973 alive (fix PR#1061).
16974 (Fprocess_output_coding_system): Ditto.
16975 (Fprocess_coding_system): Ditto.
16976 (Fset_process_input_coding_system): Ditto.
16977 (Fset_process_output_coding_system): Ditto.
16979 2000-01-23 Andy Piper <andy@xemacs.org>
16981 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16984 * glyphs.c (mark_image_instance): take into account changed
16985 image_instance format.
16986 (image_instance_equal): ditto.
16987 (image_instance_hash): ditto.
16989 * glyphs-widget.c (widget_instantiate): Incorporate layout
16990 instantiation here. Delay layout of the layout until later.
16991 (layout_instantiate): deleted.
16992 (layout_query_geometry): new function. get the geometry of a
16994 (layout_layout): layout a layout dynamically.
16995 (image_instantiator_widget): New function - splitting up
16996 image_instantiator_format_create_glyphs_widget for netwinder
16998 (image_instantiator_buttons):
16999 (image_instantiator_edit_fields):
17000 (image_instantiator_combo_box):
17001 (image_instantiator_scrollbar):
17002 (image_instantiator_progress_guage):
17003 (image_instantiator_tree_view):
17004 (image_instantiator_tab_control):
17005 (image_instantiator_labels):
17006 (image_instantiator_layout): ditto.
17007 (image_instantiator_format_create_glyphs_widget): Call preceding
17010 2000-01-22 Martin Buchholz <martin@xemacs.org>
17012 * process.c (Fset_process_coding_system):
17013 * device-x.c (Fx_keysym_hash_table):
17016 * lstream.c (Lstream_write): Return documented value, not 0.
17018 * fileio.c (directory_file_name):
17019 (Fsubstitute_in_file_name):
17020 (Fsubstitute_insert_file_contents_internal):
17021 (Fwrite_region_internal):
17026 Remove vestigial APOLLO-conditional code.
17028 2000-01-21 Martin Buchholz <martin@xemacs.org>
17030 * getpagesize.h: Add guard macros.
17031 * libsst.h: Add guard macros.
17032 * libst.h: Add guard macros.
17033 * line-number.h: Add guard macros.
17034 * ndir.h: Add guard macros.
17035 * sysfloat.h: Add guard macros.
17036 * sysfile.h: Add guard macros.
17037 * sysproc.h: Add guard macros.
17038 * syswait.h: Add guard macros.
17039 * xintrinsic.h: Add guard macros.
17040 * xintrinsicp.h: Add guard macros.
17041 * xmmanager.h: Add guard macros.
17042 * xmmanagerp.h: Add guard macros.
17043 * xmprimitive.h: Add guard macros.
17044 * xmu.h: Add guard macros.
17045 * gpmevent.h: Add copyright statement. Add guard macros.
17046 * miscplay.h: Add guard macros.
17047 * *.h: Use consistent C-standards-approved guard macro names.
17049 * opaque.c (make_opaque): Switch parameter order.
17050 * opaque.h (make_opaque): Switch parameter order.
17051 Update all callers.
17052 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17054 * config.h.in (type_checking_assert): Added.
17055 (bufpos_checking_assert): Added.
17057 2000-01-21 Martin Buchholz <martin@xemacs.org>
17059 * alloc.c: Harmless pdump changes.
17061 - spell alignment correctly.
17062 * sysdep.c: Use countof()
17064 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17066 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17067 initially_selected_for_input() console method, default to 0.
17068 (semi_canonicalize_console_connection): Try to delegate to
17069 canonicalize_console_connection if no such console method.
17070 (canonicalize_console_connection): Vice versa.
17071 (print_console): Do not print nil connection.
17073 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17074 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17075 (XDEVIMPF_FRAMELESS_OK): Added.
17076 (CONSOLE_INHERITS_METHOD): Added.
17078 * console-msw.c (mswindows_canonicalize_console_connection):
17080 (mswindows_canonicalize_device_connection): Added.
17082 * console-msw.h (struct msprinter_device): Added this struct and
17084 (mswindows_device): Made fontlist a lisp object.
17086 * device.c (semi_canonicalize_device_connection): Try to delegate
17087 to canonicalize_device_connection if no such console method.
17088 (canonicalize_device_connection): Vice versa.
17089 (print_device): Do not print nil connection.
17091 * device-msw.c (mswindows_init_device): Call InitCommonControls
17093 (mswindows_delete_device): Removed fontlist deallocation.
17094 (mswindows_mark_device): Added.
17096 * events.c (event_equal): Added abort() at unreached code.
17097 (event_hash): Ditto.
17099 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17100 fallback tags of Windows devices.
17102 * general.c (syms_of_general): Initialized Qmsprinter.
17104 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17105 of fallback tags of Windows devices.
17107 * lisp.h: Declared Qmsprinter.
17109 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17111 (mswindows_list_fonts): Ditto.
17112 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17113 that it can be used by both mswindows and msprinter devices.
17114 (initialize_font_instance): Added.
17115 (mswindows_initialize_font_instance): Use it.
17116 (msprinter_initialize_font_instance): Added.
17118 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17119 and implementation flags check.
17120 (redisplay_without_hooks): Changed the call to the above.
17121 (Fredraw_device): Ditto.
17122 (Fredisplay_device): Ditto.
17124 * redisplay-msw.c (get_frame_dc): Implemented.
17125 (get_frame_compdc): Implemented.
17126 (many functions): Use the two functions above to get device
17127 contexts, ether for a window or a printer.
17129 2000-01-21 Olivier Galibert <galibert@pobox.com>
17131 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17132 initialization here.
17133 (init_symbols_once_early): Call it.
17134 * emacs.c (main_1): Call it.
17135 * symsinit.h: Declare it.
17137 2000-01-19 Olivier Galibert <galibert@pobox.com>
17139 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17141 (pdump_backtrace): Ditto.
17142 (pdump_register_object): Ditto. Cleanup use of the pointers.
17143 (pdump_get_entry): Abort if trying to register a null pointer.
17144 (pdump_dump_data): Cleanup types when relocating.
17145 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17146 (pdump_dump_rtables): Remove bad casts.
17147 (pdump_load): Cleanup relocation w.r.t union type. Use a
17148 Lisp_Object instead of a EMACS_INT for the hashtable
17151 2000-01-20 Martin Buchholz <martin@xemacs.org>
17153 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17155 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17157 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17159 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17161 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17163 * faces.h (FACE_STRIKETHRU_P): Added.
17165 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17168 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17169 (mswindows_set_dc_font): New function, aware of font variants,
17170 separated from mswindows_update_dc.
17172 * objects-msw.h (struct mswindows_font_instance_data): Added
17175 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17176 cached fonts and the data structure.
17177 (mswindows_initialize_font_instance): Added creation of font data
17179 (mswindows_print_font_instance): Print at least something.
17180 (mswindows_create_font_variant): Implemented.
17181 (mswindows_get_hfont): Implemented.
17183 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17185 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17186 prototyping problem with msvc.
17188 * emacs.c (main_1): added syms_of_gui_mswindows() call
17190 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17191 syms_of_gui_mswindows() function
17193 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17195 2000-01-18 Martin Buchholz <martin@xemacs.org>
17197 * XEmacs 21.2.27 is released.
17199 2000-01-18 Martin Buchholz <martin@xemacs.org>
17201 * glyphs-eimage.c (struct tiff_error_struct):
17203 (tiff_warning_func):
17204 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17209 * unexec.c: Remove vestigial Lucid C code.
17213 * libsst.c: Ansify.
17214 Remove declarations of errno and strerror().
17216 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17218 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17220 2000-01-16 Martin Buchholz <martin@xemacs.org>
17222 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17225 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17230 Change enum eol_type to eol_type_t.
17232 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17234 * gui.c (get_gui_callback): Check cons before accessing car.
17236 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17238 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17239 (XSETSPECIFIER_TYPE): Ditto.
17241 2000-01-17 Didier Verna <didier@xemacs.org>
17243 * redisplay.c (generate_fstring_runes): compute string size in
17244 characters, not bytes.
17246 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17248 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17250 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17252 * print.c (print_error_message): Call print_prepare().
17254 2000-01-14 Martin Buchholz <martin@xemacs.org>
17256 * .dbxrc: Renamed from dbxrc.
17258 * events.c (event_to_character):
17259 Use `assert (foo)' instead of `if (!foo) abort()'
17261 * .gdbinit (xtype): Add documentation.
17262 * .gdbinit (check-temacs): New function.
17263 * .gdbinit (check-xemacs): New function.
17264 * dbxrc (check-xemacs): New function.
17265 * dbxrc (check-xemacs): New function.
17267 2000-01-14 Andy Piper <andy@xemacs.org>
17269 * glyphs-widget.c (widget_query_geometry): Make sure that we
17270 calculate default dimensions correctly.
17272 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17274 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17276 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17277 pdump_wire'd variable.
17279 * emacs.c: (main_1): Conditionalized calls to
17280 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17282 2000-01-13 Martin Buchholz <martin@xemacs.org>
17284 * window.c (Fset_window_configuration):
17285 * sysdep.c (_start):
17286 * input-method-motif.c (res):
17287 * event-Xt.c (Xt_process_to_emacs_event):
17288 Simple compiler warning fixes.
17290 * bytecode.c (funcall_compiled_function): Use the original
17291 function symbol on the backtrace list in preference to the
17292 compiled_function object in error messages.
17294 2000-01-13 Andy Piper <andy@xemacs.org>
17296 * glyphs-x.c (update_widget_face): Make sure we update the widget
17297 background as well as foreground.
17299 2000-01-13 Andy Piper <andy@xemacs.org>
17301 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17302 fields to subwindow.
17303 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17304 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17305 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17306 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17308 * glyphs-widget.c (check_valid_tab_orientation): new function.
17309 (initialize_widget_image_instance): zero orientation and
17311 (widget_instantiate): pick up orientation.
17312 (tab_control_query_geometry): return appropriate values for
17315 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17316 appropriate creation flags for left, right and bottom tabs.
17318 * s/cygwin32.h: add tab definitions.
17320 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17322 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17323 frame upon hiding a subwindow.
17324 (mswindows_button_instantiate): Changed the push button style to
17326 (mswindows_button_instantiate): Removed button BS_NOTIFY
17328 (mswindows_button_instantiate): Removed redundant check for
17329 a disabled gui item.
17330 (mswindows_button_instantiate): Made use of WS_TABSTOP
17331 consistent: "operable" controls (edit, button, tree, scroll) have
17332 this style, "display-only" ones (static, progress gauge) do
17333 not. This style is currently ignored by XEmacs though. Also,
17334 removed the WS_EX_CONTROLPARENT style - it is not for children,
17335 it is for their parents!
17336 (mswindows_edit_field_instantiate): Ditto.
17337 (mswindows_progress_gauge_instantiate): Ditto.
17338 (mswindows_tree_view_instantiate): Ditto.
17339 (mswindows_tab_control_instantiate): Ditto.
17340 (mswindows_scrollbar_instantiate): Ditto.
17341 (mswindows_combo_box_instantiate): Ditto.
17342 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17343 style to the "clip" window.
17344 (mswindows_button_instantiate): Removed compilation warning by
17345 equally typing terms of the ?: operator.
17347 2000-01-12 Didier Verna <didier@xemacs.org>
17349 * redisplay.c (generate_fstring_runes): new parameter holding the
17350 last modeline-format extent.
17351 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17352 extent, fill the glyph block with it.
17353 (generate_fstring_runes): handle these parameters.
17354 (generate_formatted_string_db): ditto.
17356 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17357 glyphs'extents in the modeline.
17359 1999-01-11 Mike Woolley <mike@bulsara.com>
17361 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17362 256Mb, as a workaround for the non-starting problem many people
17365 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17367 * console-tty.c (Fset_console_tty_output_coding_system):
17368 Force redrawing tty frame.
17370 2000-01-10 Didier Verna <didier@xemacs.org>
17372 * redisplay.c (generate_fstring_runes): fix size computation bug.
17374 2000-01-09 William M. Perry <wmperry@aventail.com>
17376 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17378 2000-01-09 Andy Piper <andy@xemacs.org>
17380 * glyphs-msw.c: index -> i to avoid shadows.
17381 (xbm_create_bitmap_from_data): make static.
17382 (check_valid_string_or_int): deleted.
17383 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17385 * glyphs-x.c (x_update_subwindow): remove unused args.
17387 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17388 back pointer - this is done in allocate_image_instance.
17389 (query_string_font): return Qnil to make the compiler happy.
17390 (unmap_subwindow): set to ~0 to make the compiler happy.
17391 (glyph_query_geometry): comment out until used.
17392 (glyph_layout): ditto.
17394 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17396 * insdel.c (signal_after_change): Remove extraneous unbind_to().