1 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Vcharset_ucs_big5): New variable.
5 (syms_of_mule_charset): Add new symbol `ucs-big5'.
6 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
8 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
10 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
12 * mule-charset.c (decode_builtin_char): Check Big5 code range
13 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
15 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
17 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
18 (Qchinese_gb12345): Likewise.
19 (Fdecode_builtin_char): Fixed.
20 (syms_of_mule_charset): Add `chinese-gb12345'.
21 (complex_vars_of_mule_charset): Add coded-charset
24 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
25 (LEADING_BYTE_CHINESE_GB12345): New macro.
27 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
30 and `latin-viscii-upper' for `latin-viscii'.
32 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * mule-charset.c (Fdecode_builtin_char): Comment out
35 regularization code for ISO-IR GR representation.
37 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * mule-charset.c (decode_builtin_char): New function; renamed from
40 `make_builtin_char'; return -1 instead of signal.
41 (Fdecode_builtin_char): Use `decode_builtin_char'.
43 * char-ucs.h (decode_builtin_char): New prototype; renamed from
45 (DECODE_CHAR): Use `decode_builtin_char' instead of
46 `make_builtin_char'; use mapping table of `chinese-big5' for
49 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * text-coding.c (char_encode_big5): New function.
52 (char_finish_big5): Likewise.
53 (reset_encoding_stream): Use `char_encode_big5' and
54 `char_finish_big5' for CODESYS_BIG5.
55 (mule_encode): Don't use `encode_coding_big5'.
56 (encode_coding_big5): Deleted.
58 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
60 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
61 0x81- in XEmacs UTF-2000.
62 (detect_coding_big5): Likewise.
64 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * mule-charset.c (Fdefine_char): Don't use a CCS property to
67 generate character-id if the CCS property does not have
68 corresponding predefined character.
69 (make_builtin_char): Return -1 if corresponding predefined
70 character is not found.
71 (Fdecode_char): Return nil if corresponding character is not
73 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
74 don't map to builtin ucs space.
76 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
79 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
81 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * mule-charset.c (Vcharset_ideograph_gt): New variable.
84 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
85 (Qideograph_gt): Likewise.
86 (Qideograph_gt_pj_{1..11}): Likewise.
87 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
88 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
90 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
91 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
92 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
94 * char-ucs.h (LEADING_BYTE_GT): New macro.
95 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
96 (MIN_CHAR_GT): Likewise.
97 (MAX_CHAR_GT): Likewise.
99 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
102 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
104 * doprnt.c (unsigned_int_converters): Add `c'.
105 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
107 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
108 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
110 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
111 (MAX_CHAR_MOJIKYO_0): New macro.
112 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
114 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * mule-charset.c (Fdefine_char): Delete cemented out code.
117 (encode_builtin_char_1): Modify for new allocation of builtin
120 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
122 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * mule-charset.c (Vcharset_ucs_cns): New variable.
125 (Qucs_cns): New variable.
126 (syms_of_mule_charset): Add new symbol `ucs-cns'.
127 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
129 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
131 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
133 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
135 * search.c (search_buffer): Make `charset_base_code' as
136 character-id >> 6 to eliminate the corresponding last byte in
137 UTF-8 representation [I'm not sure it is right thing].
138 (boyer_moore): Likewise.
140 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
142 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
143 representation in MULE.
145 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * text-coding.c (Fmake_coding_system): Use
148 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
149 `EXTERNAL_PROPERTY_LIST_LOOP'.
151 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
153 * text-coding.c (decode_output_utf8_partial_char): New function.
154 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
156 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 * text-coding.c (decode_coding_utf8): Output original byte
159 sequence if it is broken; change order of conditions.
161 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
164 * mb-multibyte.h (BYTE_ASCII_P):
165 Use bit ops for char-signedness safety.
166 (BYTE_C0_P): Use bit ops for char-signedness safety.
167 (BYTE_C1_P): Use bit ops for char-signedness safety.
169 * character.h: (XCHAR_OR_CHAR_INT):
170 Always use inline function.
171 Remove redundant type checking assert() - XINT will abort quite
174 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
176 * text-coding.c: (Fencode_shift_jis_char):
178 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
179 Replace 0 with '\0' when working with bytes.
180 Replace initial "(" with "\(" in docstrings.
182 (Fmake_coding_system):
183 When type is ccl and value is vector, register it with a proper
184 symbol. And checks whether the given ccl program is valid.
185 (mule_decode): When calling ccl_driver, if src indicates
186 NULL pointer, set an empty string instead.
187 (mule_encode): Likewise.
190 (detect_coding_sjis):
191 (decode_coding_sjis):
192 (detect_coding_big5):
193 (decode_coding_big5):
194 (detect_coding_ucs4):
195 (decode_coding_ucs4):
196 (detect_coding_utf8):
197 (decode_coding_utf8):
198 (detect_coding_iso2022):
199 (decode_coding_iso2022):
200 (decode_coding_no_conversion):
202 Make all detecting and decoding functions take an Extbyte * arg.
203 (text_encode_generic):
204 (encode_coding_big5):
205 (encode_coding_no_conversion):
207 Make all encoding functions take a Bufbyte * arg.
208 Use size_t instead of unsigned int for memory sizes.
209 Only cast to unsigned char whenever dereferencing Extbyte *.
211 (struct lrecord_description fcd_description_1): Use countof.
212 (complex_vars_of_file_coding):
213 Use countof instead of sizeof.
214 Use CHECK_NATNUM instead of CHECK_INT.
216 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
218 * mule-charset.c (Fget_char_attribute): Add new optional argument
220 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
221 (remove_char_ccs): Likewise.
223 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * text-coding.c (char_encode_shift_jis): New implementation in
227 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
230 * mule-charset.c (Vcharset_chinese_big5): New variable in
232 (Qchinese_big5): New variable in UTF-2000.
233 (BIG5_SAME_ROW): New macro in UTF-2000.
234 (make_builtin_char): Use builtin characters of
235 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
236 characters of `Vcharset_chinese_big5'.
237 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
238 (complex_vars_of_mule_charset): Add new coded-charset
239 `chinese-big5' in UTF-2000.
241 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
242 (Vcharset_chinese_big5): New external variable declaration.
243 (Vcharset_japanese_jisx0208_1990): Likewise.
245 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
249 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
251 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
253 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
254 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
255 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
258 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
260 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
262 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
267 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
270 for `CHARSET_BY_ATTRIBUTES'.
271 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
272 `CHARSET_BY_ATTRIBUTES'.
274 * text-coding.c (struct decoding_stream): Rename member `CH' to
276 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
277 (decode_coding_sjis): Likewise.
278 (decode_coding_big5): Likewise.
279 (decode_coding_ucs4): Likewise.
280 (decode_coding_utf8): Likewise.
281 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
282 `CHARSET_BY_ATTRIBUTES'.
283 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
284 `str->counter'; decode 3, 4 bytes sets.
285 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
287 (decode_coding_no_conversion): Use `str->cpos' instead of
290 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
291 (Qmojikyo_2022_1): New variable.
292 (make_charset): Don't use `CHARSET_TYPE_*'.
293 (range_charset_code_point): Support coded-charset
295 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
296 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
297 `CHARSET_BY_ATTRIBUTES'.
298 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
299 `CHARSET_BY_ATTRIBUTES'.
300 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
301 (complex_vars_of_mule_charset): Add new coded-charset
304 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
305 interface; changed to inline function.
307 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
308 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
309 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
310 (CHARSET_TYPE_94): Deleted.
311 (CHARSET_TYPE_94X94): Deleted.
312 (CHARSET_TYPE_96): Deleted.
313 (CHARSET_TYPE_96X96): Deleted.
314 (CHARSET_TYPE_128): Deleted.
315 (CHARSET_TYPE_128X128): Deleted.
316 (CHARSET_TYPE_256): Deleted.
317 (CHARSET_TYPE_256X256): Deleted.
318 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
320 (DECODE_MOJIKYO_2022): New inline function.
321 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
322 `Vcharset_mojikyo_2022_1'.
324 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
328 (put_byte_table): Likewise.
329 (char_id_table_equal): Use `get_byte_table' [new implementation].
331 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
333 * mule-charset.c: Include <limits.h> in UTF-2000.
334 (BT_UINT8_MIN): New macro in UTF-2000.
335 (BT_UINT8_MAX): New macro in UTF-2000.
336 (BT_UINT8_t): New macro in UTF-2000.
337 (BT_UINT8_nil): New macro in UTF-2000.
338 (BT_UINT8_unbound): New macro in UTF-2000.
339 (INT_UINT8_P): New inline function in UTF-2000.
340 (UINT8_VALUE_P): New inline function in UTF-2000.
341 (UINT8_ENCODE): New inline function in UTF-2000.
342 (UINT8_DECODE): New inline function in UTF-2000.
343 (mark_uint8_byte_table): New function in UTF-2000.
344 (print_uint8_byte_table): New function in UTF-2000.
345 (uint8_byte_table_equal): New function in UTF-2000.
346 (uint8_byte_table_hash): New function in UTF-2000.
347 (make_uint8_byte_table): New function in UTF-2000.
348 (uint8_byte_table_same_value_p): New function in UTF-2000.
349 (BT_UINT16_MIN): New macro in UTF-2000.
350 (BT_UINT16_MAX): New macro in UTF-2000.
351 (BT_UINT16_t): New macro in UTF-2000.
352 (BT_UINT16_nil): New macro in UTF-2000.
353 (BT_UINT16_unbound): New macro in UTF-2000.
354 (INT_UINT16_P): New inline function in UTF-2000.
355 (UINT16_VALUE_P): New inline function in UTF-2000.
356 (UINT16_ENCODE): New inline function in UTF-2000.
357 (UINT16_DECODE): New inline function in UTF-2000.
358 (UINT8_TO_UINT16): New inline function in UTF-2000.
359 (mark_uint16_byte_table): New function in UTF-2000.
360 (print_uint16_byte_table): New function in UTF-2000.
361 (uint16_byte_table_equal): New function in UTF-2000.
362 (uint16_byte_table_hash): New function in UTF-2000.
363 (make_uint16_byte_table): New function in UTF-2000.
364 (uint16_byte_table_same_value_p): New function in UTF-2000.
365 (print_byte_table): New function in UTF-2000.
366 (byte-table): Use `print_byte_table' as printer.
367 (make_byte_table): Delete second argument `older'.
368 (byte_table_same_value_p): New function in UTF-2000.
369 (copy_byte_table): Deleted.
370 (get_byte_table): New function in UTF-2000.
371 (put_byte_table): New function in UTF-2000.
372 (print_char_id_table): New function in UTF-2000.
373 (char-id-table): Use `print_char_id_table' as printer.
374 (make_char_id_table): Delete second argument `older'.
375 (get_char_id_table): Use `get_byte_table [new implementation].
376 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
378 (Ffind_char_attribute_table): New function in UTF-2000.
379 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
380 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
381 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
382 (syms_of_mule_charset): Add new function
383 `find-char-attribute-table' in UTF-2000.
385 * lrecord.h (enum lrecord_type): Add
386 `lrecord_type_uint16_byte_table' and
387 `lrecord_type_uint8_byte_table'.
389 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
390 (Lisp_Uint8_Byte_Table): New type.
391 (XUINT8_BYTE_TABLE): New macro.
392 (XSETUINT8_BYTE_TABLE): New macro.
393 (UINT8_BYTE_TABLE_P): New macro.
394 (GC_UINT8_BYTE_TABLE_P): New macro.
395 (struct Lisp_Uint16_Byte_Table): New structure.
396 (Lisp_Uint16_Byte_Table): New type.
397 (XUINT16_BYTE_TABLE): New macro.
398 (XSETUINT16_BYTE_TABLE): New macro.
399 (UINT16_BYTE_TABLE_P): New macro.
400 (GC_UINT16_BYTE_TABLE_P): New macro.
402 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
405 (Vcharacter_ideographic_strokes_table): Deleted.
406 (Vcharacter_total_strokes_table): Deleted.
407 (Vcharacter_morohashi_daikanwa_table): Deleted.
408 (Vcharacter_decomposition_table): Deleted.
409 (Qname): Deleted because it is duplicated.
410 (Qideographic_radical): Deleted.
411 (Qideographic_strokes): Deleted.
412 (Qtotal_strokes): Deleted.
413 (Qmorohashi_daikanwa): Deleted.
414 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
415 `ideographic-radical', `ideographic-strokes', `total-strokes',
416 `morohashi-daikanwa' and `->decomposition'.
417 (Fget_char_attribute): Likewise.
418 (Fput_char_attribute): Likewise; use `make-vector' instead of
419 `make_older_vector' for `->decomposition' value.
420 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
421 `ideograph-daikanwa'.
422 (syms_of_mule_charset): Delete builtin symbols `name',
423 `ideographic-radical', `ideographic-strokes', `total-strokes' and
424 `morohashi-daikanwa'.
425 (vars_of_mule_charset): Don't setup
426 `Vcharacter_ideographic_radical_table',
427 `Vcharacter_ideographic_strokes_table',
428 `Vcharacter_total_strokes_table',
429 `Vcharacter_morohashi_daikanwa_table' and
430 `Vcharacter_decomposition_table'.
432 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
434 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
435 `make_older_vector', `make_vector_newer_1' and
438 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
439 `make_older_vector' and `make_vector_newer'.
441 * config.h.in (HAVE_GGC): New macro.
443 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
445 * mule-charset.c (struct char_attribute_list_closure): New
446 structure in UTF-2000.
447 (add_char_attribute_to_list_mapper): New function in UTF-2000.
448 (Fchar_attribute_list): Likewise.
449 (Fset_charset_mapping_table): Use `make_vector_newer'.
450 (Fdecode_builtin_char): New function in UTF-2000.
451 (syms_of_mule_charset): Add new function `char-attribute-list' and
452 `decode-builtin-char' in UTF-2000.
454 * lisp.h (make_vector_newer): New prototype.
456 * alloc.c (make_vector_newer_1): New function.
457 (make_vector_newer): New function.
459 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
464 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
466 * mule-charset.c (Vchar_attribute_hash_table): New variable.
467 (Vcharacter_attribute_table): Deleted.
468 (Vcharacter_name_table): Deleted.
469 (put_char_attribute): Deleted.
470 (remove_char_attribute): Deleted.
471 (struct char_attribute_alist_closure): New structure.
472 (add_char_attribute_alist_mapper): New function.
473 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
474 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
475 (Fget_char_attribute): Likewise.
476 (Fput_char_attribute): Likewise.
477 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
478 of `remove_char_attribute'.
479 (Fdefine_char): Return character.
480 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
481 and `Vcharacter_name_table'.
482 (complex_vars_of_mule_charset): Likewise
483 `Vchar_attribute_hash_table'.
485 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * character.h (CHARC_CHARSET): New macro.
488 (CHARC_CHARSET_ID): New macro.
489 (CHARC_CODE_POINT): New macro.
490 (CHARC_COLUMNS): New macro.
491 (CHARC_TO_CHAR): New inline function.
492 (CHARC_EQ): New inline function.
493 (CHARC_ASCII_EQ): New inline function.
494 (CHARC_IS_SPACE): New inline function.
495 (ASCII_TO_CHARC): New inline function.
497 * char-ucs.h (encode_char_2): Deleted.
498 (ENCODE_CHAR): Use `encode_char_1' again.
499 (breakup_char_1): Likewise.
500 (CHAR_TO_CHARC): New inline function.
502 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
504 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
507 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
508 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
509 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
510 (create_string_text_block): Use `CHARC_ASCII_EQ' and
512 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
514 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
516 (x_output_display_block): Use `CHARC_CHARSET' and
519 * redisplay-tty.c (tty_output_display_block): Use
521 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
523 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
525 * insdel.c (find_charsets_in_charc_string): Use
527 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
528 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
529 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
530 (convert_charc_string_into_malloced_string): Likewise.
532 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
534 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
535 instead of <Emchar_dynarr *> for buf; use
536 `convert_bufbyte_string_into_charc_dynarr' instead of
537 `convert_bufbyte_string_into_emchar_dynarr'; use
538 `find_charsets_in_charc_string' instead of
539 `find_charsets_in_emchar_string'.
542 - Include "character.h".
543 (struct rune): New member `cglyph'; delete member `chr'.
545 * redisplay.c (redisplay_text_width_charc_string): New function;
546 delete `redisplay_text_width_emchar_string'.
547 (rtw_charc_dynarr): New variable; renamed from
549 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
550 `rtw_emchar_dynarr'; use
551 `convert_bufbyte_string_into_charc_dynarr' instead of
552 `convert_bufbyte_string_into_emchar_dynarr'; use
553 `redisplay_text_width_charc_string' instead of
554 `redisplay_text_width_emchar_string'.
555 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
556 instead of `rtw_emchar_dynarr'; use
557 `convert_bufbyte_string_into_charc_dynarr' instead of
558 `convert_bufbyte_string_into_emchar_dynarr'.
559 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
560 `redisplay_text_width_charc_string' instead of
561 `redisplay_text_width_emchar_string'.
562 (create_text_block): Modify for <struct rune> change.
563 (generate_formatted_string_db): Likewise.
564 (create_string_text_block): Likewise.
565 (pixel_to_glyph_translation): Likewise.
567 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
568 instead of <const Emchar *>.
569 (x_text_width): Likewise.
570 (x_output_display_block): Use <Charc_dynarr *> instead
571 <Emchar_dynarr *>; modify for <structure rune> change.
572 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
575 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
576 <const Emchar *>; use `charc_string_displayed_columns' instead of
577 `emchar_string_displayed_columns'.
578 (tty_output_display_block): Use <Charc_dynarr *> instead of
579 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
580 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
581 (tty_output_charc_dynarr_dynarr): New variable; renamed from
582 `tty_output_emchar_dynarr_dynarr'.
583 (tty_output_charc_dynarr): New function; delete
584 `tty_output_charc_dynarr'.
586 * redisplay-output.c (compare_runes): Modify for `struct rune'.
587 (redisplay_output_layout): Use <Charc_dynarr *> instead of
588 <Emchar_dynarr *> for buf; use
589 `convert_bufbyte_string_into_charc_dynarr' instead of
590 `convert_bufbyte_string_into_emchar_dynarr'.
592 * frame.c (title_string_charc_dynarr): New variable; renamed from
593 `title_string_emchar_dynarr'.
594 (generate_title_string): Use `title_string_charc_dynarr' instead
595 of `title_string_emchar_dynarr'; use
596 `convert_charc_string_into_malloced_string' instead of
597 `convert_emchar_string_into_malloced_string'.
598 (init_frame): Use `title_string_charc_dynarr' instead of
599 `title_string_emchar_dynarr'.
602 - Include "character.h".
603 (struct console_methods): Use <const Charc *> instead of <const
604 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
605 <Emchar_dynarr *> in output_string_method.
607 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
610 * console-stream.c (stream_text_width): Use <const Charc *>
611 instead of <const Emchar *>.
613 * character.h (Charc_dynarr): New type.
615 * char-ucs.h (structure Charc): New structure; define new type
618 * char-lb.h (DECODE_CHAR): New inline function.
619 (encode_char_1): New inline function.
620 (ENCODE_CHAR): New macro.
621 (structure Charc): New structure; define new type `Charc'.
623 * char-1byte.h (Vcharset_control_1): New macro.
624 (Vcharset_latin_iso8859_1): New macro.
625 (DECODE_CHAR): New inline function.
626 (encode_char_1): New inline function.
627 (ENCODE_CHAR): New macro.
628 (structure Charc): New structure; define new type `Charc'.
630 * insdel.c (find_charsets_in_charc_string): New function; delete
631 `find_charsets_in_emchar_string'.
632 (charc_string_displayed_columns): New function; delete
633 `emchar_string_displayed_columns'.
634 (convert_bufbyte_string_into_charc_dynarr): New function; delete
635 `convert_bufbyte_string_into_emchar_dynarr'.
636 (convert_charc_string_into_bufbyte_dynarr): New function; delete
637 `convert_charc_string_into_bufbyte_dynarr'.
638 (convert_charc_string_into_malloced_string): New function; delete
639 `convert_charc_string_into_malloced_string'.
641 * buffer.h (find_charsets_in_charc_string): New prototype; delete
642 `find_charsets_in_emchar_string'.
643 (charc_string_displayed_columns): New prototype; delete
644 `emchar_string_displayed_columns'.
645 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
646 `convert_charc_string_into_bufbyte_dynarr'.
647 (convert_charc_string_into_malloced_string): New prototype; delete
648 `convert_charc_string_into_malloced_string'.
650 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
652 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
654 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
656 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
658 * char-ucs.h: Use <short> for <Charset_ID>.
660 * mule-charset.h, char-1byte.h: Use <unsigned char> for
663 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
665 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
668 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
670 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
672 (Qmorohashi_daikanwa): New variable.
673 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
674 for `morohashi-daikanwa' attribute.
675 (Fget_char_attribute): Likewise.
676 (Fput_char_attribute): Likewise.
677 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
678 has the same value of `ideograph-daikanwa'.
679 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
680 (vars_of_mule_charset): Setup
681 `Vcharacter_morohashi_daikanwa_table'.
683 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
687 (add_charset_to_list_mapper): Add `key' instead of
688 `XCHARSET_NAME (value)' to return aliases.
690 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
692 * mule-charset.c (Vcharacter_ideographic_radical_table): New
694 (Vcharacter_ideographic_strokes_table): New variable.
695 (Qideographic_radical): New variable.
696 (Qideographic_strokes): New variable.
697 (Fchar_attribute_alist): Use
698 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
699 attribute; use `Vcharacter_ideographic_strokes_table' for
700 `ideographic-strokes' attribute.
701 (Fget_char_attribute): Likewise.
702 (Fput_char_attribute): Likewise.
703 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
704 `ideographic-strokes'.
705 (vars_of_mule_charset): Setup
706 `Vcharacter_ideographic_radical_table' and
707 `Vcharacter_ideographic_strokes_table'.
709 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
712 (Qtotal_strokes): New variable.
713 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
714 `total-strokes' attribute.
715 (Fget_char_attribute): Likewise.
716 (Fput_char_attribute): Likewise.
717 (syms_of_mule_charset): Add new symbol `total-strokes'.
718 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
720 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
722 * mule-charset.c (Vcharacter_decomposition_table): New variable.
723 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
725 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
726 `->decomposition' attribute.
727 (Fput_char_attribute): Likewise.
728 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
730 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
732 * mule-charset.c (decoding_table_check_elements): New function.
733 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
735 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
737 * mule-charset.c (Fset_charset_mapping_table): Use
738 `put_char_ccs_code_point'.
740 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
742 * mule-charset.c (decoding_table_put_char): New inline function.
743 (put_char_ccs_code_point): Use `decoding_table_put_char'.
745 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
747 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
748 (XCHARSET_BYTE_SIZE): New macro.
749 (decoding_table_remove_char): New inline function.
750 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
751 `decoding_table_remove_char'.
752 (remove_char_ccs): Use `decoding_table_remove_char'.
753 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
755 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
757 * mule-charset.c (Vcharacter_name_table): New variable.
758 (Qname): New variable.
759 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
761 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
762 `Vcharacter_name_table' for `name' attribute.
763 (Fremove_char_attribute): Use function `remove_char_ccs'.
764 (put_char_ccs_code_point): New function.
765 (remove_char_ccs): New function.
766 (syms_of_mule_charset): Add new symbol `name'.
767 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
769 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
771 * mule-charset.c (make_byte_table): Add new argument `older'.
772 (make_char_id_table): Likewise.
773 (copy_char_id_table): Comment out because it is not used.
774 (put_char_id_table): Modify for `make_byte_table'.
775 (Fput_char_attribute): Make encoding_table as older object;
776 inherit older bit of `Vcharacter_composition_table'.
777 (mark_charset): Don't mark `cs->encoding_table'.
778 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
779 normal object; make `Vcharacter_composition_table' as an older
780 object; delete staticpro for `Vcharacter_composition_table'; make
781 `Vcharacter_variant_table' as a normal object.
783 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
784 (mark_object): Don't check older object in UTF-2000.
786 * lrecord.h (struct lrecord_header): Add new member `older' in
788 (set_lheader_implementation): Setup `SLI_header->older' in
790 (set_lheader_older_implementation): New macro in UTF-2000.
791 (OLDER_RECORD_P): New macro in UTF-2000.
792 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
793 (alloc_older_lcrecord): New prototype in UTF-2000.
794 (alloc_older_lcrecord_type): New macro in UTF-2000.
796 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
798 * mule-charset.c (byte_table_description): Use
799 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
800 (char_id_table_description): Delete bogus `, 1'.
801 (Fget_char_attribute): Refer encoding_table of each coded-charset
802 to get value of coded-charset attribute of a character.
803 (Fput_char_attribute): Use `make_older_vector' instead of
804 `make_vector'; use encoding_table of each coded-charset to store
805 value of coded-charset attribute of a character.
806 (Fremove_char_attribute): Use encoding_table of each coded-charset
807 to store value of coded-charset attribute of a character.
808 (mark_charset): Mark `cs->encoding_table'; don't mark
809 `cs->decoding_table'.
810 (charset_description): Add description of new member
812 (make_charset): Initialize `encoding_table'.
814 * char-ucs.h (struct Lisp_Charset): Add new member
816 (CHARSET_ENCODING_TABLE): New macro.
817 (XCHARSET_ENCODING_TABLE): New macro.
818 (charset_code_point): New implementation.
819 (encode_char_1): Likewise.
821 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
822 (disksave_object_finalization_1): Call finalizers of
823 `all_older_lcrecords' in UTF-2000.
824 (make_older_vector): New function in UTF-2000.
825 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
828 * lisp.h (make_older_vector): New prototype in UTF-2000.
830 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
832 * lrecord.h (enum lrecord_type): Rename
833 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
835 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
836 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
837 `get_char_code_table'.
839 * mule-charset.c (mark_char_id_table): Renamed from
840 `mark_char_code_table'.
841 (char_id_table_equal): Renamed from `char_code_table_equal'.
842 (char_id_table_hash): Renamed from `char_code_table_hash'.
843 (make_char_id_table): Renamed from `make_char_code_table'.
844 (copy_char_id_table): Renamed from `copy_char_code_table'.
845 (get_char_id_table): Renamed from `get_char_code_table'.
846 (put_char_id_table): Renamed from `put_char_code_table'.
847 (to_char_id): Renamed from `to_char_code'.
849 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
850 `Lisp_Char_Code_Table'.
851 (char_id_table): Renamed from `char_code_table'.
852 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
853 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
854 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
855 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
856 (get_char_id_table): Renamed from `get_char_code_table'.
858 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
860 * lrecord.h (enum lrecord_type): Rename
861 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
863 * mule-charset.c (mark_byte_table): Renamed from
864 `mark_char_byte_table'.
865 (byte_table_equal): Renamed from `char_byte_table_equal'.
866 (byte_table_hash): Renamed from `byte_table_hash'.
867 (make_byte_table): Renamed from `make_byte_table'.
868 (copy_byte_table): Renamed from `copy_char_byte_table'.
870 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
871 `Lisp_Char_Byte_Table'.
872 (byte_table): Renamed from `char_byte_table'.
873 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
874 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
875 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
876 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
878 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
880 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
881 (dfc_convert_to_internal_format): Likewise.
883 * text-coding.c (Fcoding_system_canonical_name_p): New function.
884 * text-coding.c (Fcoding_system_alias_p): New function.
885 * text-coding.c (Fcoding_system_aliasee): New function.
886 * text-coding.c (append_suffix_to_symbol): New function.
887 * text-coding.c (dangling_coding_system_alias_p): New function.
888 * text-coding.c (Ffind_coding_system):
889 * text-coding.c (Fcopy_coding_system):
890 * text-coding.c (encode_coding_no_conversion):
891 * text-coding.c (syms_of_file_coding):
892 * text-coding.c (vars_of_file_coding):
893 Rewrite coding system alias code.
894 Allow nested aliases, like symbolic links.
895 Allow redefinition of coding system aliases.
896 Prevent existence of dangling coding system aliases.
897 Eliminate convert_to_external_format.
898 Eliminate convert_to_internal_format.
900 * text-coding.c: Change enum eol_type to eol_type_t.
902 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
904 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
905 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
907 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
908 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
910 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
912 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
913 `ideograph-daikanwa'.
915 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
916 (Vcharset_ucs_bmp): Likewise.
917 (Vcharset_mojikyo): Add new extern variable definition.
918 (Vcharset_latin_iso8859_2): Deleted because it is not used.
919 (Vcharset_latin_iso8859_3): Likewise.
920 (Vcharset_latin_iso8859_4): Likewise.
921 (Vcharset_latin_iso8859_9): Likewise.
922 (Vcharset_latin_viscii_lower): Likewise.
923 (Vcharset_latin_viscii_upper): Likewise.
924 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
925 `mojikyo' code-point is used to decode.
926 (encode_char_2): New function [to convert `mojikyo' code-point to
927 Mojikyo font encoding].
928 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
929 (breakup_char_1): Likewise.
930 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
932 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
934 * text-coding.c (Fmake_coding_system): Add document about
935 `disable-composition' property.
937 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
939 * text-coding.c (Qdisable_composition): New variable; delete
941 (Fmake_coding_system): Add new property `disable-composite';
942 delete property `composite'.
943 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
944 instead of `!CODING_SYSTEM_COMPOSITE'.
945 (syms_of_file_coding): Add new symbol `disable-composition';
946 delete symbol `composite'.
948 * file-coding.h (struct Lisp_Coding_System): Add
949 `disable_composition'; delete `enable_composition'.
950 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
951 `CODING_SYSTEM_COMPOSITE'.
952 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
953 `XCODING_SYSTEM_COMPOSITE'.
955 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
957 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
960 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
962 * text-coding.c (Qcomposite): New variable.
963 (Fmake_coding_system): Add new property `composite'.
964 (struct decoding_stream): Add `combined_char_count',
965 `combined_chars' and `combining_table' in UTF-2000.
966 (COMPOSE_FLUSH_CHARS): New macro.
967 (COMPOSE_ADD_CHAR): New macro.
968 (reset_decoding_stream): Reset `str->combined_char_count' and
969 `str->combining_table' in UTF-2000.
970 (decode_coding_iso2022): Modify for character-decomposition.
971 (syms_of_file_coding): Add new symbol `composite'.
973 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
975 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
976 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
977 of `Vcharacter_composition_table' if `->decomposition' property
979 (Qlatin_tcvn5712): New variable.
980 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
981 (complex_vars_of_mule_charset): Add new coded-charset
984 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
986 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
988 * file-coding.h (struct Lisp_Coding_System): Add
989 `enable_composition'.
990 (CODING_SYSTEM_COMPOSITE): New macro.
991 (XCODING_SYSTEM_COMPOSITE): New macro.
993 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
995 * mule-canna.c (c2mu): Fix problem with UTF-2000.
997 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
999 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
1000 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
1002 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
1004 * mule-charset.c (Vcharset_mojikyo): New variable.
1005 (Fdefine_char): Don't use coded-charset which does not have
1006 non-builtin character range to allocate character-id.
1007 (Qmojikyo): New variable.
1008 (syms_of_mule_charset): Add new symbol `mojikyo'.
1009 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
1011 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
1012 (LEADING_BYTE_MOJIKYO): New macro.
1013 (MIN_CHAR_MOJIKYO): New macro.
1014 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
1015 (MAX_CHAR_MOJIKYO): New macro.
1017 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
1019 * mule-charset.c (remove_char_attribute): Fixed.
1021 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
1023 * mule-charset.c (remove_char_attribute): New function.
1024 (Fremove_char_attribute): New function.
1025 (encode_builtin_char_1): Comment out builtin-support for
1026 greek-iso8859-7 and cyrillic-iso8859-5.
1027 (Fdecode_char): Check `code' is an integer.
1028 (syms_of_mule_charset): Add `remove-char-attribute'.
1029 (MIN_CHAR_GREEK): Deleted.
1030 (MAX_CHAR_GREEK): Likewise.
1031 (MIN_CHAR_CYRILLIC): Likewise.
1032 (MAX_CHAR_CYRILLIC): Likewise.
1033 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
1034 MAX_CHAR_GREEK for `greek-iso8859-7'.
1036 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
1037 (MAX_CHAR_GREEK): Likewise.
1038 (MIN_CHAR_CYRILLIC): Likewise.
1039 (MAX_CHAR_CYRILLIC): Likewise.
1041 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
1043 * mule-charset.c (Fdefine_char): Fix problem when new code-point
1044 format is used without `ucs' property.
1045 (Fdecode_char): Fix problem with GR representation.
1046 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
1047 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
1049 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1051 * mule-charset.c (make_builtin_char): New function.
1052 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
1053 (Fset_charset_mapping_table): Modify for new representation of
1055 (Fdecode_char): New function.
1056 (syms_of_mule_charset): Add new builtin function `decode-char' in
1059 * char-ucs.h (make_builtin_char): New prototype.
1060 (DECODE_CHAR): New inline function.
1061 (MAKE_CHAR): Use `DECODE_CHAR'.
1063 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
1065 * text-coding.c (parse_charset_conversion_specs): Use
1066 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
1068 (iso2022_designate): Likewise.
1070 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
1071 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
1073 * mule-charset.c (Vcharset_ucs): New variable.
1074 (print_charset): Change design; use `CHARSET_CHARS' and
1075 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
1076 (make_charset): Change signature to specify `chars' and
1077 `dimension' instead of `type'.
1078 (range_charset_code_point): Modify for 256^n-set.
1079 (encode_builtin_char_1): Encode as `ucs' in default.
1080 (Fmake_charset): Modify for `make_charset'.
1081 (Fmake_reverse_direction_charset): Likewise.
1082 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
1084 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
1087 * char-ucs.h (Vcharset_ucs): New variable.
1088 (LEADING_BYTE_UCS): New macro.
1089 (struct Lisp_Charset): Delete `type'; change type of `dimension'
1090 and `chars' to `unsigned short' from `unsigned int'.
1091 (CHARSET_TYPE): Deleted.
1092 (XCHARSET_TYPE): Deleted.
1094 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
1096 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
1098 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
1099 (ENCODE_CHAR): New macro.
1101 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1103 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1104 to 0.14 (Kawachi-Katakami).
1106 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1108 * text-coding.c (char_encode_shift_jis): Modify for
1109 `charset_code_point'.
1110 (char_encode_iso2022): Likewise.
1112 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
1113 (integer) instead of list of <Lisp_Object>s (integers) as the
1114 format of code-point of a coded-charset.
1115 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1116 (encode_builtin_char_1): New function; delete
1117 `split_builtin_char'.
1118 (charset_code_point): Return <int> instead of <Lisp_Object>.
1119 (Fsplit_char): Don't use `SPLIT_CHAR'.
1121 * char-ucs.h (encode_builtin_char_1): New prototype; delete
1122 prototype for `split_builtin_char'.
1123 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1124 (charset_code_point): Likewise.
1125 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
1126 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
1128 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
1130 * mule-charset.c (complex_vars_of_mule_charset): Don't define
1131 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
1133 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1135 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
1137 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
1138 (MAX_CHAR_OBS_94x94): Deleted.
1140 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1142 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
1144 * char-ucs.h (MAX_CHAR_BMP): New macro.
1146 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1148 * text-coding.c: Sync with r21-2-24.
1150 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
1152 * file-coding.c: Modify for UTF-2000.
1154 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1156 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1159 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1161 * mule-charset.c (split_builtin_char): Delete builtin support for
1162 `katakana-jisx0201'.
1163 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
1164 BMP area in builtin representation.
1166 * char-ucs.h (MAKE_CHAR): Delete builtin support for
1167 `Vcharset_katakana_jisx0201'.
1169 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1171 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
1172 (Qisolated): New variable.
1173 (Qinitial): New variable.
1174 (Qmedial): New variable.
1175 (Qfinal): New variable.
1176 (Qvertical): New variable.
1177 (Qsmall): New variable.
1178 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
1179 `Qvertical' and `Qsmall'.
1180 (Qmojikyo_pj_[1 .. 21]): New variable.
1181 (syms_of_mule_charset): Add new symbols `isolated', `initial',
1182 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
1183 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
1186 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1188 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
1189 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
1190 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
1192 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1194 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
1195 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
1197 (Qjapanese_jisx0208_1990): New variable.
1198 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
1199 (complex_vars_of_mule_charset): Add new coded-charset
1200 `japanese-jisx0208-1990'.
1202 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
1203 (MIN_CHAR_JIS_X0208_1990): New macro.
1204 (MAX_CHAR_JIS_X0208_1990): New macro.
1206 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1208 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
1209 coded-charset is not found.
1211 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1213 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
1214 (Fdefine_char): Use `Fmake_char'.
1216 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1218 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
1219 (Vcharset_hiragana_jisx0208): Deleted.
1220 (Vcharset_katakana_jisx0208): Deleted.
1221 (Qideograph_daikanwa): New variable.
1222 (Qhiragana_jisx0208): Deleted.
1223 (Qkatakana_jisx0208): Deleted.
1224 (split_builtin_char): Split `ideograph-daikanwa'.
1225 (Fsplit_char): New implementation for UTF-2000.
1226 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
1227 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
1228 (complex_vars_of_mule_charset): Add new coded-charset
1229 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
1230 `katakana-jisx0208'.
1232 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
1233 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
1234 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
1235 (MIN_CHAR_DAIKANWA): New macro.
1236 (MAX_CHAR_DAIKANWA): New macro.
1238 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1240 * data.c (Fstring_to_number): Don't recognize floating point if
1243 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1245 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
1247 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1249 * mule-charset.c (Qsquare): New variable.
1250 (to_char_code): Add `Qsquare'.
1251 (syms_of_mule_charset): Add new symbol `square'.
1253 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1255 * mule-charset.c (Qcircle): New variable.
1256 (to_char_code): Add `Qcircle'.
1257 (syms_of_mule_charset): Add new symbol `circle'.
1259 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1261 * mule-charset.c (Qfont): New variable.
1262 (to_char_code): Add `Qfont'.
1263 (syms_of_mule_charset): Add new symbol `font'.
1265 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1267 * mule-charset.c (Qsub): New variable.
1268 (to_char_code): Add `Qsub'.
1269 (syms_of_mule_charset): Add new symbol `sub'.
1271 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1273 * mule-charset.c (Fput_char_attribute): Convert each element of
1274 VALUE to GL position if ATTRIBUTE is a GR-set,
1276 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1278 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
1279 coded-charset is a GR-set.
1281 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1283 * mule-charset.c (Fput_char_attribute): Check each element of
1284 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
1286 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1288 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
1290 (Qethiopic_ucs): New variable in UTF-2000.
1291 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
1292 (complex_vars_of_mule_charset): Add new coded-charset
1293 `ethiopic-ucs' in UTF-2000.
1295 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
1296 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1298 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1300 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
1302 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1304 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
1307 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1309 * mule-charset.c (Vcharacter_variant_table): New variable.
1310 (Q_ucs): New variable.
1311 (Fchar_variants): New function.
1312 (Fput_char_attribute): Register `->ucs' value to
1313 `Vcharacter_variant_table'.
1314 (syms_of_mule_charset): Add new function `char-variants' and new
1316 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
1318 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1320 * mule-charset.c (get_char_code_table): Allow negative character
1322 (put_char_code_table): Likewise.
1323 (Vcharacter_composition_table): New variable.
1324 (Q_decomposition): New variable.
1325 (Qwide): New variable.
1326 (Qnarrow): New variable.
1327 (Qcompat): New variable.
1328 (QnoBreak): New variable.
1329 (Qsuper): New variable.
1330 (Qfraction): New variable.
1331 (to_char_code): New function.
1332 (Fget_composite_char): New function.
1333 (Fput_char_attribute): Register `->decomposition' value to
1334 `Vcharacter_composition_table'.
1335 (syms_of_mule_charset): Add new function `get-composite-char', new
1336 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
1337 `super' and `fraction'.
1338 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
1340 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1342 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
1343 character; copy the return value.
1345 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1347 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
1349 * mule-charset.c (range_charset_code_point): Must use make_int.
1350 (split_builtin_char): New function.
1352 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1354 * mule-charset.c (char_byte_table): Change name from
1355 "char-code-table" to "char-byte-table".
1356 (mark_char_code_table): New function.
1357 (char_code_table_equal): New function.
1358 (char_code_table_hash): New function.
1359 (char_code_table_description): New constant.
1360 (char_code_table): New type.
1361 (make_char_code_table): New function.
1362 (copy_char_code_table): New function.
1363 (get_char_code_table): Modify for `char_code_table' type.
1364 (put_char_code_table): Likewise.
1365 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
1368 * char-ucs.h (char_code_table): New type.
1369 (XCHAR_CODE_TABLE): New macro.
1370 (XSETCHAR_CODE_TABLE): New macro.
1371 (CHAR_CODE_TABLE_P): New macro.
1372 (GC_CHAR_CODE_TABLE_P): New macro.
1373 (struct Lisp_Char_Code_Table): New structure.
1375 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1377 * mule-charset.c (Fmake_charset): Setup byte_offset for
1380 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
1382 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
1385 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1387 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
1390 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1392 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
1393 charset, it is regarded as a charset.
1394 (put_char_attribute): New function in UTF-2000.
1395 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
1396 charset, mapping-table of the charset is modified.
1397 (Fdefine_char): New function in UTF-2000.
1398 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
1399 `Fput_char_attribute'.
1400 (syms_of_mule_charset): Add new function `define-char' and new
1401 symbol `ucs' in UTF-2000.
1402 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
1404 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1406 * mule-charset.c (Fcharset_name): Define `byte_offset' in
1407 non-UTF-2000 configuration.
1409 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1411 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
1412 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
1414 * mule-charset.c (mark_charset): `cs->encoding_table' has been
1416 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
1417 (Fset_charset_mapping_table): Likewise.
1419 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
1420 (CHARSET_ENCODING_TABLE): Delete.
1421 (XCHARSET_ENCODING_TABLE): Delete.
1422 (charset_code_point): New interface.
1424 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1426 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
1427 instead of `charset_get_byte1' and `charset_get_byte2'.
1429 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
1430 (charset_get_byte2): Deleted.
1432 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1434 * char-ucs.h (SPLIT_CHAR): New inline function.
1435 (breakup_char_1): Use `SPLIT_CHAR'.
1437 * mule-charset.c (range_charset_code_point): New function.
1438 (charset_code_point): New function.
1440 * char-ucs.h (range_charset_code_point): New interface.
1441 (breakup_char_1): Use `range_charset_code_point'.
1443 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1445 * mule-charset.c (Fmake_charset): Delete unused local variable
1448 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
1449 (breakup_char_1): Find a charset and code-point in
1450 `Vcharacter_attribute_table'.
1452 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1454 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1457 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1459 * mule-charset.c (Vcharacter_attribute_table): New variable.
1460 (Fchar_attribute_alist): New function.
1461 (Fget_char_attribute): New function.
1462 (Fput_char_attribute): New function.
1463 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
1465 (syms_of_mule_charset): Add new function `char-attribute-alist',
1466 `get-char-attribute' and `put-char-attribute'.
1467 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
1469 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
1471 * mule-charset.c (Fmake_charset): Just use
1472 `get_unallocated_leading_byte'.
1474 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
1475 sets; don't use final-byte based number for private sets.
1477 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1479 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
1482 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1484 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1487 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1489 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
1490 of `CHAR_LEADING_BYTE' in UTF-2000.
1492 * insdel.c (find_charsets_in_bufbyte_string): Use
1493 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1494 (find_charsets_in_emchar_string): Likewise.
1496 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
1497 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1499 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
1500 (CHAR_CHARSET_ID): New macro.
1502 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1504 * chartab.c (get_char_table): Don't use type `Charset_ID' for
1505 charset-id - MIN_LEADING_BYTE.
1506 (put_char_table): Likewise.
1508 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1510 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
1511 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
1512 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
1513 (CHARSET_ID_OFFSET): New macro.
1514 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
1515 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
1516 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
1517 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1519 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1521 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
1522 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
1523 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
1524 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
1525 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
1527 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1529 * mule-charset.c (next_allocated_leading_byte): New variable in
1531 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
1532 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
1533 (get_unallocated_leading_byte): Simply use
1534 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
1535 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
1538 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
1539 (MAX_LEADING_BYTE_PRIVATE): New macro.
1540 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
1541 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
1543 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1545 * mule-charset.c (Fmake_charset): Allocate final-byte based
1546 charset-id for 94-set, 96-set and 94x94-set.
1548 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1550 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
1552 (Fmake_charset): Likewise.
1553 (complex_vars_of_mule_charset): Modify the font registry of
1554 `ucs-bmp' not to match `Ethiopic-Unicode'.
1556 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1558 * mule-charset.c (complex_vars_of_mule_charset): Add font
1559 registory of `ucs-bmp'.
1561 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1563 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
1564 coded-charsets in `default-coded-charset-priority-list' when
1565 breaking up a character.
1567 * mule-charset.c (Vcharset_latin_viscii): New variable.
1568 (Qlatin_viscii): New variable.
1569 (make_charset): Don't use `decoding_table'.
1570 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
1572 (Fset_charset_mapping_table): New implementation.
1573 (syms_of_mule_charset): Add new symbol `latin-viscii'.
1574 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
1575 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
1576 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
1577 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
1578 charset `latin_viscii'.
1580 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
1581 (CHARSET_TYPE_94X94): Change to 1 from 2.
1582 (CHARSET_TYPE_96): Change to 2 from 1.
1583 (CHARSET_TYPE_128): New macro.
1584 (CHARSET_TYPE_128X128): Change to 5 from 4.
1585 (CHARSET_TYPE_256): New macro.
1586 (CHARSET_TYPE_256X256): Change to 7 from 5.
1587 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
1589 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1591 * text-coding.c (char_encode_shift_jis): Refer
1592 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
1593 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
1595 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
1596 (char_byte_table_equal): New function in UTF-2000.
1597 (char_byte_table_hash): New function in UTF-2000.
1598 (char_byte_table_description): New constant in UTF-2000.
1599 (char_byte_table): New type in UTF-2000.
1600 (make_char_byte_table): New function in UTF-2000.
1601 (copy_char_byte_table): New function in UTF-2000.
1602 (make_char_code_table): New macro in UTF-2000.
1603 (get_char_code_table): New function in UTF-2000.
1604 (put_char_code_table): New function in UTF-2000.
1605 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1606 (charset_description): Add setting in UTF-2000.
1607 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
1608 `CHARSET_TO_BYTE1_TABLE(cs)'.
1609 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
1610 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
1611 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
1612 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
1613 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
1614 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
1615 `CHARSET_TO_BYTE2_TABLE(cs)'.
1617 * char-ucs.h (char_byte_table): New type.
1618 (XCHAR_BYTE_TABLE): New macro.
1619 (XSETCHAR_BYTE_TABLE): New macro.
1620 (CHAR_BYTE_TABLE_P): New macro.
1621 (GC_CHAR_BYTE_TABLE_P): New macro.
1622 (struct Lisp_Char_Byte_Table): New structure.
1623 (get_char_code_table): New interface.
1624 (Emchar_to_byte_table): Deleted.
1625 (get_byte_from_character_table): Deleted.
1626 (struct Lisp_Charset): Add `encoding_table'; delete
1627 `to_byte1_table' and `to_byte2_table'.
1628 (CHARSET_ENCODING_TABLE): New macro.
1629 (CHARSET_TO_BYTE1_TABLE): Deleted.
1630 (CHARSET_TO_BYTE2_TABLE): Deleted.
1631 (XCHARSET_ENCODING_TABLE): New macro.
1632 (XCHARSET_TO_BYTE1_TABLE): Deleted.
1633 (XCHARSET_TO_BYTE2_TABLE): Deleted.
1635 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1637 * mule-charset.c (syms_of_mule_charset): Delete charset alias
1638 `vietnamese-viscii-*'.
1640 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1642 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
1643 (Qvietnamese_viscii_upper): New variable.
1644 (Fdefine_charset_alias): New function.
1645 (syms_of_mule_charset): Add new function `define-charset-alias'.
1646 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
1647 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
1650 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
1652 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
1653 (MAX_CHAR_OBS_94x94): New macro.
1654 (breakup_char_1): Support obsolete XEmacs-UCS private code space
1657 * mule-charset.c (put_byte_from_character_table): Change unit size
1659 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
1661 (Fmake_reverse_direction_charset): Modify dummy argument of
1662 `make_charset' for non-UTF-2000 environment.
1664 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1666 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
1668 * mule-charset.c (destroy_byte_from_character_table): New macro.
1669 (latin_jisx0201_to_ucs): Deleted.
1670 (latin_iso8859_2_to_ucs): Deleted.
1671 (latin_iso8859_3_to_ucs): Deleted.
1672 (latin_iso8859_4_to_ucs): Deleted.
1673 (latin_iso8859_9_to_ucs): Deleted.
1674 (latin_viscii_lower_to_ucs): Deleted.
1675 (latin_viscii_upper_to_ucs): Deleted.
1676 (mark_charset): Mark `cs->decoding_table'.
1677 (Fcharset_mapping_table): Fix DOC-string.
1678 (Fset_charset_mapping_table): New function.
1679 (syms_of_mule_charset): Add nwe function
1680 `set-charset-mapping-table'.
1681 (complex_vars_of_mule_charset): Don't setup and use
1684 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
1686 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
1689 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
1691 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
1692 (Vcharset_katakana_jisx0208): New variable.
1693 (Qhiragana_jisx0208): New variable.
1694 (Qkatakana_jisx0208): New variable.
1695 (make_charset): Add new argument `byte_offset'.
1696 (charset_get_byte1): Modify for new coded-charset definition; use
1697 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1698 `XCHARSET_BYTE_OFFSET'.
1699 (Fmake_charset): Modify for `make_charset'.
1700 (Fmake_reverse_direction_charset): Likewise.
1701 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
1702 `katakana-jisx0208'.
1703 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
1704 `.' in font registry of charset `katakana-jisx0201',
1705 `latin-jisx0201', `vietnamese-viscii-lower' and
1706 `vietnamese-viscii-upper'; modify DOC-string of charset
1707 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
1708 registry of charset `japanese-jisx0208' not to use font for JIS
1709 X0208:1990; add new charset `hiragana-jisx0208' and
1710 `katakana-jisx0208'.
1712 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
1713 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
1714 (struct Lisp_Charset): Add `byte_offset'.
1715 (CHARSET_BYTE_OFFSET): New macro.
1716 (XCHARSET_UCS_MIN): New macro.
1717 (XCHARSET_UCS_MAX): New macro.
1718 (XCHARSET_CODE_OFFSET): New macro.
1719 (XCHARSET_BYTE_OFFSET): New macro.
1720 (MIN_CHAR_HIRAGANA): New macro.
1721 (MAX_CHAR_HIRAGANA): New macro.
1722 (MIN_CHAR_KATAKANA): New macro.
1723 (MAX_CHAR_KATAKANA): New macro.
1724 (MAKE_CHAR): Modify for new coded-charset definition; use
1725 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1726 `XCHARSET_BYTE_OFFSET'.
1728 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1730 * mule-charset.c (CHAR96): Deleted.
1731 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
1733 (latin_iso8859_2_to_ucs): Likewise.
1734 (latin_iso8859_3_to_ucs): Likewise.
1735 (latin_iso8859_4_to_ucs): Likewise.
1736 (latin_iso8859_9_to_ucs): Likewise.
1737 (latin_viscii_lower_to_ucs): Likewise.
1738 (latin_viscii_upper_to_ucs): Likewise.
1739 (latin_tcvn5712_to_ucs): Commented out.
1740 (make_charset): Change type of argument `decoding_table' from
1741 <Emchar*> to <Lisp_Object> [vector of characters].
1742 (Fmake_charset): Modify for `make_charset'.
1743 (Fmake_reverse_direction_charset): Likewise.
1744 (Fcharset_mapping_table): New function in UTF-2000.
1745 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
1747 (complex_vars_of_mule_charset): Modify for type change of
1748 `*_to_ucs'; modify for `make_charset'.
1750 * char-ucs.h (struct Lisp_Charset): Change type of
1751 `decoding_table' from <Emchar*> to <Lisp_Object>.
1752 (MAKE_CHAR): Modify for new specification of `decoding_table'.
1754 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1756 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
1757 error with non-UTF-2000-Mule.
1759 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
1761 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
1763 (Vcharset_chinese_cns11643_4): Likewise.
1764 (Vcharset_chinese_cns11643_5): Likewise.
1765 (Vcharset_chinese_cns11643_6): Likewise.
1766 (Vcharset_chinese_cns11643_7): Likewise.
1767 (Qchinese_cns11643_3): Likewise.
1768 (Qchinese_cns11643_4): Likewise.
1769 (Qchinese_cns11643_5): Likewise.
1770 (Qchinese_cns11643_6): Likewise.
1771 (Qchinese_cns11643_7): Likewise.
1772 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
1773 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1774 and `chinese-cns11643-7' to lisp/mule/chinese.el.
1775 (complex_vars_of_mule_charset): Likewise.
1777 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1779 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
1781 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
1782 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
1784 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1786 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
1788 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
1789 (breakup_char_1): Likewise.
1791 * text-coding.c (char_encode_iso2022): Keep designated charsets if
1792 one of them includes the specified character.
1794 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1796 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
1798 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1800 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
1802 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1804 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
1805 definition for non-UTF-2000 Mule.
1806 (latin_iso8859_3_to_ucs): Likewise.
1807 (latin_iso8859_4_to_ucs): Likewise.
1808 (latin_iso8859_9_to_ucs): Likewise.
1809 (latin_jisx0201_to_ucs): Likewise.
1810 (MIN_CHAR_THAI): Likewise.
1811 (MAX_CHAR_THAI): Likewise.
1812 (MIN_CHAR_GREEK): Likewise.
1813 (MAX_CHAR_GREEK): Likewise.
1814 (MIN_CHAR_HEBREW): Likewise.
1815 (MAX_CHAR_HEBREW): Likewise.
1816 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
1817 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
1818 (MIN_CHAR_CYRILLIC): Likewise.
1819 (MAX_CHAR_CYRILLIC): Likewise.
1821 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1823 * char-ucs.h (breakup_char_1): Use
1824 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
1825 thai-tis620 and katakana-jisx0201 area.
1827 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1829 * char-ucs.h (breakup_char_1): Use
1830 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
1833 * text-coding.c (reset_encoding_stream): Fixed.
1834 (char_encode_ucs4): Delete `& 255'.
1836 * char-ucs.h (breakup_char_1): Use
1837 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
1839 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1841 * file-coding.c (Fmake_coding_system): Don't set up
1842 `codesys->fixed.size'.
1843 (encode_coding_no_conversion): Don't refer
1844 `str->codesys->fixed.size'.
1846 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1848 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
1849 (latin_a_char_to_byte1): Deleted.
1850 (latin_a_char_to_byte2): Deleted.
1852 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1854 * mule-charset.c (make_charset): Add new argument `ucs_min',
1855 `ucs_max' and `code_offset'.
1856 (charset_get_byte1): New implementation [delete specific charset
1857 depended implementations].
1858 (Fmake_charset): Modify for `make_charset'.
1859 (Fmake_reverse_direction_charset): Likewise.
1860 (complex_vars_of_mule_charset): Likewise.
1862 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
1864 (CHARSET_UCS_MIN): New macro.
1865 (CHARSET_UCS_MAX): New macro.
1866 (CHARSET_CODE_OFFSET): New macro.
1867 (MAKE_CHAR): Delete charset depended definitions [except
1870 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1872 * char-ucs.h (breakup_char_1): Use
1873 `Vdefault_coded_charset_priority_list' for C0-Controls,
1874 Basic-Latin, C1-Controls and Latin-1-Supplement area.
1876 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1878 * char-ucs.h (charset_get_byte1): New function.
1879 (XCHARSET_GET_BYTE1): Deleted.
1880 (charset_get_byte2): New function.
1881 (XCHARSET_GET_BYTE2): Deleted.
1882 (Vdefault_coded_charset_priority_list): New external variable.
1883 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
1884 `Vdefault_preferred_coded_charset_list'.
1886 * mule-charset.c (charset_get_byte1): New function.
1887 (charset_get_byte2): New function.
1888 (Vdefault_coded_charset_priority_list): New variable.
1889 (vars_of_mule_charset): Add new variable
1890 `default-coded-charset-priority-list'.
1892 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1894 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
1895 (XCHARSET_GET_BYTE2): New inline function.
1896 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
1897 `XCHARSET_GET_BYTE2'.
1899 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1901 * mule-charset.c (make_charset): Initialize
1902 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
1903 NULL if table is not defined.
1905 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1907 * text-coding.c (char_encode_shift_jis): Use
1908 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
1909 `ucs_to_latin_jisx0201'.
1911 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
1912 (ucs_to_latin_iso8859_2): Deleted.
1913 (ucs_to_latin_iso8859_3): Deleted.
1914 (ucs_to_latin_iso8859_4): Deleted.
1915 (ucs_to_latin_iso8859_9): Deleted.
1916 (ucs_to_latin_viscii_lower): Deleted.
1917 (ucs_to_latin_viscii_upper): Deleted.
1918 (ucs_to_latin_tcvn5712): Deleted.
1919 (make_charset): Add new argument `decoding_table'; set up
1920 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
1921 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
1922 `decoding_table' is defined in UTF-2000.
1923 (Fmake_charset): Modify for `make_charset'.
1924 (Fmake_reverse_direction_charset): Likewise.
1925 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
1926 and `GENERATE_96_SET'.
1928 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
1929 (ucs_to_latin_jisx0201): Deleted.
1930 (latin_iso8859_2_to_ucs): Deleted.
1931 (ucs_to_latin_iso8859_2): Deleted.
1932 (latin_iso8859_3_to_ucs): Deleted.
1933 (ucs_to_latin_iso8859_3): Deleted.
1934 (latin_iso8859_4_to_ucs): Deleted.
1935 (ucs_to_latin_iso8859_4): Deleted.
1936 (latin_iso8859_9_to_ucs): Deleted.
1937 (ucs_to_latin_iso8859_9): Deleted.
1938 (latin_viscii_lower_to_ucs): Deleted.
1939 (ucs_to_latin_viscii_lower): Deleted.
1940 (latin_viscii_upper_to_ucs): Deleted.
1941 (ucs_to_latin_viscii_upper): Deleted.
1942 (struct Lisp_Charset): Renamed `encoding_table' to
1943 `to_byte1_table'; add `to_byte2_table'.
1944 (CHARSET_DECODING_TABLE): New macro.
1945 (CHARSET_TO_BYTE1_TABLE): New macro.
1946 (CHARSET_TO_BYTE2_TABLE): New macro.
1947 (XCHARSET_DECODING_TABLE): New macro.
1948 (XCHARSET_TO_BYTE1_TABLE): New macro.
1949 (XCHARSET_TO_BYTE2_TABLE): New macro.
1950 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
1952 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
1953 don't use `ucs_to_*' tables.
1955 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1957 * text-coding.c (Fmake_coding_system): Don't set up
1958 `codesys->fixed.size'.
1959 (encode_coding_no_conversion): Use `if' instead of `switch'.
1961 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
1963 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1965 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
1966 (Fmake_charset): Modify for `make_charset'.
1967 (Fmake_reverse_direction_charset): Likewise.
1968 (complex_vars_of_mule_charset): Likewise.
1970 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1972 * text-coding.c (char_encode_shift_jis): Use table
1973 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
1975 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1977 * text-coding.c (text_encode_generic): Use `if' instead of
1979 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
1982 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1984 * text-coding.c (encode_coding_sjis): Deleted.
1985 (char_encode_shift_jis): New function.
1986 (char_finish_shift_jis): New function.
1987 (reset_encoding_stream): Set up `encode_char' and `finish' for
1988 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
1989 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
1990 (char_encode_utf8): Treat `eol_type'.
1992 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1994 * file-coding.c (decode_coding_iso2022): Use
1995 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
1997 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1999 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2002 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2004 * char-lb.h (CHAR_COLUMNS): New macro.
2006 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2008 * text-coding.c (char_encode_ucs4): New function.
2009 (char_finish_ucs4): New function.
2010 (encode_coding_ucs4): Deleted.
2011 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
2012 (text_encode_generic): Delete local variable `charset' and `half'.
2013 (ucs_to_mule_table): Deleted.
2014 (mule_to_ucs_table): Deleted.
2015 (Fset_ucs_char): Deleted.
2016 (ucs_to_char): Deleted.
2017 (Fucs_char): Deleted.
2018 (Fset_char_ucs): Deleted.
2019 (Fchar_ucs): Deleted.
2020 (decode_ucs4): Deleted.
2021 (mule_char_to_ucs4): Deleted.
2022 (encode_ucs4): Deleted.
2023 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
2024 (decode_coding_utf8): Likewise.
2025 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
2026 (char_encode_iso2022): Fixed.
2027 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
2028 `Fset_char_ucs' and `Fchar_ucs'.
2029 (complex_vars_of_file_coding): Don't initialize
2030 `ucs_to_mule_table'.
2032 * objects-tty.c (tty_initialize_font_instance): Don't use
2035 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
2038 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
2039 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2041 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
2042 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2043 (emchar_string_displayed_columns): Likewise.
2045 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
2046 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2047 (string_column_at_point): Likewise.
2048 (Fmove_to_column): Likewise.
2050 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
2051 `encoding_table' and `decoding_table'.
2052 (CHARSET_REP_BYTES): Deleted.
2053 (XCHARSET_REP_BYTES): Deleted.
2054 (XCHARSET_COLUMNS): Deleted.
2055 (CHAR_COLUMNS): New macro.
2056 (lookup_composite_char): Deleted unconditionally.
2057 (composite_char_string): Likewise.
2059 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2061 * char-ucs.h (Emchar_to_byte_table): New type.
2062 (get_byte_from_character_table): New function interface.
2063 (Vcharset_latin_jisx0201): New variable.
2064 (latin_jisx0201_to_ucs): New variable.
2065 (ucs_to_latin_jisx0201): New variable.
2066 (Vcharset_latin_iso8859_2): New variable.
2067 (latin_iso8859_2_to_ucs): New variable.
2068 (ucs_to_latin_iso8859_2): New variable.
2069 (Vcharset_latin_iso8859_3): New variable.
2070 (latin_iso8859_3_to_ucs): New variable.
2071 (ucs_to_latin_iso8859_3): New variable.
2072 (Vcharset_latin_iso8859_4): New variable.
2073 (latin_iso8859_4_to_ucs): New variable.
2074 (ucs_to_latin_iso8859_4): New variable.
2075 (Vcharset_latin_iso8859_9): New variable.
2076 (latin_iso8859_9_to_ucs): New variable.
2077 (ucs_to_latin_iso8859_9): New variable.
2078 (Vcharset_latin_viscii_lower): New variable.
2079 (latin_viscii_lower_to_ucs): New variable.
2080 (ucs_to_latin_viscii_lower): New variable.
2081 (Vcharset_latin_viscii_upper): New variable.
2082 (latin_viscii_upper_to_ucs): New variable.
2083 (ucs_to_latin_viscii_upper): New variable.
2084 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
2085 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
2086 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
2087 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
2088 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
2089 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
2090 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
2091 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
2092 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
2093 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
2095 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
2096 (Vcharset_latin_viscii_upper): New variable.
2097 (make_byte_from_character_table): New function.
2098 (put_byte_from_character_table): New function.
2099 (get_byte_from_character_table): New function.
2100 (CHAR96): New macro.
2101 (ucs_to_latin_jisx0201): New variable.
2102 (latin_jisx0201_to_ucs): New variable.
2103 (ucs_to_latin_iso8859_2): New variable.
2104 (latin_iso8859_2_to_ucs): New variable.
2105 (ucs_to_latin_iso8859_3): New variable.
2106 (latin_iso8859_3_to_ucs): New variable.
2107 (ucs_to_latin_iso8859_4): New variable.
2108 (latin_iso8859_4_to_ucs): New variable.
2109 (ucs_to_latin_iso8859_9): New variable.
2110 (latin_iso8859_9_to_ucs): New variable.
2111 (ucs_to_latin_viscii_lower): New variable.
2112 (latin_viscii_lower_to_ucs): New variable.
2113 (ucs_to_latin_viscii_upper): New variable.
2114 (latin_viscii_upper_to_ucs): New variable.
2115 (ucs_to_latin_tcvn5712): New variable.
2116 (latin_tcvn5712_to_ucs): New variable.
2117 (Qlatin_viscii_lower): New variable.
2118 (Qlatin_viscii_upper): New variable.
2119 (syms_of_mule_charset): Set up new symbol
2120 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
2121 (complex_vars_of_mule_charset): Set up new charset
2122 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
2123 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
2124 `ucs_to_<CHARSET>' tables.
2126 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2128 * text-coding.c: New file.
2130 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2132 * mule-charset.c (Fmake_char): Fix problem of 256-set.
2134 * char-ucs.h (Vcharset_ucs_bmp): New variable.
2135 (MAKE_CHAR): Modify for `ucs-bmp'.
2136 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
2137 non-MULE characters of BMP.
2139 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
2141 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2144 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
2147 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
2148 - Include character.h for `CHAR_ASCII_P'.
2150 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
2152 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
2153 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
2155 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
2156 (BYTE_C0_P): Likewise.
2157 (BYTE_C1_P): Likewise.
2158 (Lstream_get_emchar_1): Likewise.
2159 (Lstream_fput_emchar): Likewise.
2160 (Lstream_funget_emchar): Likewise.
2161 (copy_internal_to_external): Likewise.
2162 (copy_external_to_internal): Likewise.
2164 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
2165 (BYTE_C0_P): Likewise.
2166 (BYTE_C1_P): Likewise.
2167 (Lstream_get_emchar_1): Likewise.
2168 (Lstream_fput_emchar): Likewise.
2169 (Lstream_funget_emchar): Likewise.
2170 (copy_internal_to_external): Likewise.
2171 (copy_external_to_internal): Likewise.
2173 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
2174 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2176 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
2177 (BYTE_ASCII_P): Moved to mb-1byte.h.
2179 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
2181 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
2183 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
2184 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
2185 (VALID_CHARPTR_P): Moved to mb-*byte.h.
2186 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2187 (VALIDATE_CHARPTR_FORWARD): Likewise.
2188 (simple_charptr_emchar): Moved to mb-multibyte.h.
2189 (simple_set_charptr_emchar): Likewise.
2190 (simple_charptr_copy_char): Likewise.
2191 (non_ascii_charptr_emchar): Likewise.
2192 (non_ascii_set_charptr_emchar): Likewise.
2193 (non_ascii_charptr_copy_char): Likewise.
2194 (charptr_emchar): Moved to mb-*byte.h.
2195 (set_charptr_emchar): Likewise.
2196 (charptr_copy_char): Likewise.
2198 * mb-1byte.h, mb-multibyte.h: New files.
2200 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2202 * mb-utf-8.h (MULTIBYTE): New macro.
2203 (MAX_EMCHAR_LEN): Moved from buffer.h.
2204 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
2206 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
2208 * mb-lb.h, multibyte.h: New files.
2210 * char-1byte.h (Charset_ID): Moved from buffer.h.
2211 (MIN_LEADING_BYTE): Likewise.
2212 (LEADING_BYTE_ASCII): Likewise.
2213 (NUM_LEADING_BYTES): Likewise.
2214 (CHARSETP): Likewise.
2215 (CHARSET_BY_LEADING_BYTE): Likewise.
2216 (XCHARSET_LEADING_BYTE): Likewise.
2217 (XCHARSET_GRAPHIC): Likewise.
2218 (XCHARSET_COLUMNS): Likewise.
2219 (XCHARSET_DIMENSION): Likewise.
2220 (CHAR_CHARSET): Likewise.
2221 (CHAR_LEADING_BYTE): Likewise.
2222 (BREAKUP_CHAR): Likewise.
2223 (Vcharset_ascii): Likewise.
2225 * buffer.h: Include multibyte.h unconditionally.
2226 (VALID_CHARPTR_P): Moved to multibyte.h.
2227 (ASSERT_VALID_CHARPTR): Likewise.
2228 (REAL_INC_CHARPTR): Likewise.
2229 (REAL_INC_CHARBYTIND): Likewise.
2230 (REAL_DEC_CHARPTR): Likewise.
2231 (INC_CHARPTR): Likewise.
2232 (INC_CHARBYTIND): Likewise.
2233 (DEC_CHARPTR): Likewise.
2234 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2235 (VALIDATE_CHARPTR_FORWARD): Likewise.
2236 (charptr_n_addr): Likewise.
2237 (MAX_EMCHAR_LEN): Moved to mb-*.h.
2238 (simple_charptr_emchar): Moved to multibyte.h.
2239 (simple_set_charptr_emchar): Likewise.
2240 (simple_charptr_copy_char): Likewise.
2241 (non_ascii_charptr_emchar): Likewise.
2242 (non_ascii_set_charptr_emchar): Likewise.
2243 (non_ascii_charptr_copy_char): Likewise.
2244 (charptr_emchar): Likewise.
2245 (set_charptr_emchar): Likewise.
2246 (charptr_copy_char): Likewise.
2247 (charptr_emchar_n): Likewise.
2248 (Charset_ID): Moved to char-1byte.h.
2249 (Vcharset_ascii): Likewise.
2250 (CHAR_CHARSET): Likewise.
2251 (CHAR_LEADING_BYTE): Likewise.
2252 (LEADING_BYTE_ASCII): Likewise.
2253 (NUM_LEADING_BYTES): Likewise.
2254 (MIN_LEADING_BYTE): Likewise.
2255 (CHARSETP): Likewise.
2256 (CHARSET_BY_LEADING_BYTE): Likewise.
2257 (XCHARSET_LEADING_BYTE): Likewise.
2258 (XCHARSET_GRAPHIC): Likewise.
2259 (XCHARSET_COLUMNS): Likewise.
2260 (XCHARSET_DIMENSION): Likewise.
2261 (BREAKUP_CHAR): Likewise.
2263 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2265 * character.h: Add document about interface for characters.
2267 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
2268 (MAKE_CHAR): Delete comment about
2269 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
2270 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
2271 (BREAKUP_CHAR): Modify name of arguments.
2272 (CHAR_CHARSET): Modify name of argument.
2274 * buffer.h: Delete document about Emchar accessors.
2276 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2278 * character.h (CHAR_INTP): Moved from buffer.h
2279 (CHAR_OR_CHAR_INTP): Likewise.
2280 (XCHAR_OR_CHAR_INT): Likewise.
2281 (CHECK_CHAR_COERCE_INT): Likewise.
2283 * buffer.h (CHAR_INTP): Moved to character.h
2284 (CHAR_OR_CHAR_INTP): Likewise.
2285 (XCHAR_OR_CHAR_INT): Likewise.
2286 (CHECK_CHAR_COERCE_INT): Likewise.
2288 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2291 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
2292 - Include char-1byte.h, char-lb.h or char-ucs.h.
2294 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
2296 * buffer.h: Include character unconditionally.
2297 (valid_char_p): Moved to char-*.h.
2298 (non_ascii_valid_char_p): Moved to char-lb.h.
2300 * char-1byte.h, char-lb.h, char-ucs.h: New files.
2302 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2304 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
2305 in UTF-2000 because it is not ported yet and not to use
2306 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
2307 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
2308 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
2310 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
2311 (CHAR_ASCII_P): Moved from character.h.
2313 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
2314 (CHAR_ASCII_P): Likewise.
2315 (CHAR_FIELD1_MASK): Deleted.
2316 (CHAR_FIELD2_MASK): Deleted.
2317 (CHAR_FIELD3_MASK): Deleted.
2318 (MAX_CHAR_BASIC_LATIN): New macro.
2319 (CHAR_FIELD1): Deleted.
2320 (CHAR_FIELD2_INTERNAL): Deleted.
2321 (CHAR_FIELD3_INTERNAL): Deleted.
2322 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
2323 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
2324 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
2325 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
2326 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
2327 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
2328 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
2329 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
2330 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
2331 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
2332 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
2333 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
2334 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
2335 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
2336 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
2337 (MIN_CHAR_COMPOSITION): Deleted.
2338 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
2339 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
2341 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
2343 * buffer.h: Include mb-utf-8.h in UTF-2000.
2345 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
2347 * mb-utf-8.h: New file.
2349 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
2351 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
2354 * mule-charset.h, buffer.h (Charset_ID): New type.
2356 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2358 * mule-canna.c (c2mu): Use `MAKE_CHAR',
2359 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
2360 instead of `MULE_CHAR_PRIVATE_OFFSET',
2361 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
2362 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
2363 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
2365 * character.h (Vcharset_japanese_jisx0212): New variable
2368 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2370 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
2371 (charset_by_attributes): Delete array about direction.
2372 (latin_a_char_to_charset): New variable in UTF-2000.
2373 (latin_a_char_to_byte1): New variable in UTF-2000.
2374 (latin_a_char_to_byte2): New variable in UTF-2000.
2375 (Qucs_bmp): New variable.
2376 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
2378 (next_allocated_2_byte_leading_byte): Likewise.
2379 (non_ascii_set_charptr_emchar): Likewise.
2380 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
2381 `CHARSET_TYPE_256X256' in UTF-2000; modify for
2382 `charset_by_attributes'.
2383 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
2384 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
2385 and `CHARSET_BY_LEADING_BYTE'.
2386 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
2387 `utf-2000-version' to `vars_of_mule_charset'.
2388 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
2389 define `leading-code-private-11' in UTF-2000; move setting of
2390 `utf-2000-version' from `syms_of_mule_charset'.
2391 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
2394 * character.h (Charset_ID): New type.
2395 (LEADING_BYTE_UCS_BMP): New macro.
2396 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
2397 (CHARSET_ID_OFFSET_94): New macro.
2398 (MIN_CHARSET_ID_PRIVATE_94): New macro.
2399 (MAX_CHARSET_ID_PRIVATE_94): New macro.
2400 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
2402 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
2403 (LEADING_BYTE_LATIN_JISX0201): Likewise.
2404 (CHARSET_ID_OFFSET_96): New macro.
2405 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
2406 CHARSET_ID_OFFSET_96 and final-byte.
2407 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
2408 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
2409 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
2410 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
2411 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
2412 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
2413 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
2414 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
2415 (LEADING_BYTE_THAI_TIS620): Likewise.
2416 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
2417 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
2418 (CHARSET_ID_OFFSET_94x94): New macro.
2419 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
2420 CHARSET_ID_OFFSET_94x94 and final-byte.
2421 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
2422 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
2423 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
2424 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
2425 (LEADING_BYTE_CHINESE_GB2312): Likewise.
2426 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
2427 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
2428 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
2429 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
2430 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
2431 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
2432 (CHARSET_TYPE_128X128): New macro.
2433 (CHARSET_TYPE_256X256): New macro.
2434 (XCHARSET_PRIVATE_P): Delete unconditionally.
2435 (charset_by_attributes): Delete array about direction.
2436 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
2437 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
2438 (MIN_CHAR_94): New macro.
2439 (MAX_CHAR_94): New macro.
2440 (MIN_CHAR_96): New macro.
2441 (MAX_CHAR_96): New macro.
2442 (MIN_CHAR_94x94): New macro.
2443 (MAX_CHAR_94x94): New macro.
2444 (MIN_CHAR_96x96): New macro.
2445 (MAX_CHAR_96x96): New macro.
2446 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
2447 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2448 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
2450 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
2451 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
2452 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
2453 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
2454 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
2455 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
2456 `XCHARSET_LEADING_BYTE' to make code-point.
2457 (latin_a_char_to_charset): New variable.
2458 (latin_a_char_to_byte1): New variable.
2459 (latin_a_char_to_byte2): New variable.
2460 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
2461 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
2462 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
2464 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
2465 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
2466 (find_charsets_in_emchar_string): Likewise.
2467 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
2469 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
2471 (decode_coding_iso2022): Likewise.
2473 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
2476 * redisplay.c (redisplay_text_width_emchar_string): Use
2477 `Charset_ID' instead of `unsigned char'.
2478 (redisplay_frame_text_width_string): Likewise.
2480 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
2483 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
2484 instead of `unsigned char'.
2485 (face_cachel_charset_font_metric_info): Likewise.
2487 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
2488 (get_non_ascii_char_table_value): Likewise.
2489 (get_char_table): Likewise.
2490 (put_char_table): Likewise.
2491 (map_over_other_charset): Likewise.
2492 (map_char_table): Likewise.
2494 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
2495 instead of `unsigned char'.
2497 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
2499 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
2500 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
2502 * mule-charset.c (leading_code_private_11): Don't define in
2505 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
2506 in UTF-2000 because it is not ported yet and not to use
2507 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
2509 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
2511 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
2513 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2515 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
2518 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
2519 of unsigned char to store leading-byte.
2521 * chartab.c (get_non_ascii_char_table_value): Don't use
2522 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
2524 * file-coding.c (encode_coding_big5): Delete bogus implementation
2527 * character.h (LEADING_BYTE_*): Delete definition for
2529 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
2530 (LEADING_BYTE_PREFIX_P): Deleted.
2531 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
2532 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
2533 (BUFBYTE_LEADING_BYTE_P): Deleted.
2534 (CHARSET_PRIVATE_P): Deleted unconditionally.
2535 (rep_bytes_by_first_byte): Deleted unconditionally.
2536 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
2537 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
2538 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2539 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
2540 (CHAR_FIELD2): Deleted.
2541 (CHAR_FIELD3): Deleted.
2542 (MAKE_CHAR): Delete definition for non-UTF-2000.
2543 (BREAKUP_CHAR_1_UNSAFE): Deleted.
2544 (breakup_char_1): New implementation.
2545 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
2546 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
2548 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2550 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
2553 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2555 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
2556 (CHARSET_PRIVATE_P): Likewise.
2557 (XCHARSET_PRIVATE_P): Likewise.
2558 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
2560 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
2562 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
2564 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2566 * character.h (LEADING_BYTE_*): Changed in UTF2000.
2567 (NUM_LEADING_BYTES): Changed from 128 to 256.
2568 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2569 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
2571 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2573 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
2575 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
2576 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
2577 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
2578 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
2579 (Qchinese_cns11643_3): New variable in UTF2000.
2580 (Qchinese_cns11643_4): New variable in UTF2000.
2581 (Qchinese_cns11643_5): New variable in UTF2000.
2582 (Qchinese_cns11643_6): New variable in UTF2000.
2583 (Qchinese_cns11643_7): New variable in UTF2000.
2584 (syms_of_mule_charset): Define `chinese-cns11643-3',
2585 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2586 and `chinese-cns11643-7' in UTF2000.
2587 (vars_of_mule_charset): Initialize
2588 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
2590 (complex_vars_of_mule_charset): Setup charset
2591 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
2592 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
2594 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2596 * mule-charset.c: Move setting for `leading-code-private-11' from
2597 `syms_of_mule_charset' to `vars_of_mule_charset'.
2599 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2601 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
2602 and `NUM_LEADING_BYTES' in assert.
2604 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2606 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
2608 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
2609 `NUM_LEADING_BYTES' instead of 128.
2611 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2613 * mule-charset.h (charset_by_leading_byte): Use
2614 `NUM_LEADING_BYTES' instead of 128.
2615 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
2617 * mule-charset.c (charset_by_leading_byte): Use
2618 `NUM_LEADING_BYTES' instead of 128.
2619 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
2621 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
2624 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2626 * mule-charset.c (syms_of_mule_charset): Update to
2629 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
2631 * file-coding.c (encode_coding_sjis): New implementation for
2632 UTF2000. (decode_coding_sjis): Ditto.
2634 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2636 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
2637 Don't define in UTF2000.
2639 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
2642 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2643 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
2646 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2648 * config.h.in (CHAR_IS_UCS4): New macro.
2650 * mule-charset.c (rep_bytes_by_first_byte): Modify for
2651 conventional MULE representation.
2652 (syms_of_mule_charset): Update to 0.3 (Imamiya).
2654 * mule-charset.h: Reverted to original.
2656 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2657 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
2658 "mule-charset.h" if CHAR_IS_UCS4 is defined.
2660 * character.h: New file.
2662 * file-coding.c (Fmake_coding_system): Set 1 to
2663 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
2665 (encode_coding_no_conversion): New implementation for UTF2000.
2667 * file-coding.h (struct Lisp_Coding_System): Add new member
2670 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2672 * file-coding.c (decode_coding_iso2022): Code-point arguments of
2673 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
2674 (encode_coding_iso2022): New implementation for UTF2000.
2676 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2678 * mule-canna.c (c2mu): New implementation for UTF2000.
2681 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2683 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
2685 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2687 * file-coding.c (reset_encoding_stream): Set 0 to
2688 `str->iso2022.current_char_boundary' in UTF2000.
2689 (encode_utf8): Don't define in UTF2000.
2690 (encode_coding_utf8): New implementation for UTF-8 representation
2692 (complex_vars_of_file_coding): Define coding-system `utf-8'.
2694 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2696 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
2698 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
2700 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2702 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
2704 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
2705 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
2706 as UTF-8 in UTF2000.
2707 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
2708 (non_ascii_valid_char_p): Don't define in UTF2000.
2709 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
2710 (Lstream_get_emchar_1): Likewise.
2711 (utf-2000-version): New variable in UTF2000.
2713 * lread.c (read_escape): Add new reader `u'.
2715 * insdel.c (three_to_one_table): Don't define in UTF2000.
2716 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
2717 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2719 (bytind_to_bufpos_func): Likewise.
2720 (buffer_mule_signal_inserted_region): Likewise.
2721 (vars_of_insdel): Don't initialize `three_to_one_table'.
2722 (init_buffer_text): Use `buf->text->mule_size' instead of
2723 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2726 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
2727 UTF-8 representation in UTF2000.
2728 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
2729 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
2730 (decode_coding_iso2022): Don't define local variable `lb' in
2731 UTF2000; don't use LEADING_BYTE in UTF2000; use
2732 `DECODE_ADD_UCS_CHAR' in UTF2000.
2733 (convert_to_external_format): Decode as UTF-8 in UTF2000.
2735 * config.h.in (UTF2000): New macro.
2737 * buffer.h (struct buffer_text): Add new member `mule_size' and
2738 don't add `mule_shifter' and `mule_three_p' in UTF2000.
2739 (valid_char_p): Return always 1 in UTF2000.
2740 (MAX_EMCHAR_LEN): 6 in UTF2000.
2741 (three_to_one_table): Don't define in UTF2000.
2742 (real_bufpos_to_bytind): Modify for UTF-8 representation in
2744 (real_bytind_to_bufpos): Likewise.
2746 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
2748 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2750 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
2751 representation change.
2752 (Vutf_2000_version): New variable.
2753 (leading_code_private_11): New variable.
2754 (syms_of_mule_charset): Add new variables `utf-2000-version' and
2755 `leading-code-private-11'.
2757 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
2758 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
2759 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
2760 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
2761 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
2762 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
2763 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
2764 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
2765 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
2766 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
2767 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
2768 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
2769 (MIN_CHAR_GREEK): New macro.
2770 (MAX_CHAR_GREEK): New macro.
2771 (MIN_CHAR_CYRILLIC): New macro.
2772 (MAX_CHAR_CYRILLIC): New macro.
2773 (MIN_CHAR_HEBREW): New macro.
2774 (MAX_CHAR_HEBREW): New macro.
2775 (MIN_CHAR_THAI): New macro.
2776 (MAX_CHAR_THAI): New macro.
2777 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
2778 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
2779 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
2780 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
2781 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
2782 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
2783 (CHAR_FIELD2): New inline function.
2784 (CHAR_FIELD3): New inline function.
2785 (MULE_CHAR_PRIVATE_OFFSET): New macro.
2786 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
2787 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
2788 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
2789 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
2790 (MIN_CHAR_COMPOSITION): Likewise.
2791 (CHAR_LEADING_BYTE): Modified for character representation change.
2792 (MAKE_CHAR): Likewise.
2794 * lisp.h (Vcharset_latin_iso8859_1): New variable.
2795 (Vcharset_greek_iso8859_7): Likewise.
2796 (Vcharset_cyrillic_iso8859_5): Likewise.
2797 (Vcharset_hebrew_iso8859_8): Likewise.
2798 (Vcharset_thai_tis620): Likewise.
2799 (Vcharset_katakana_jisx0201): Likewise.
2801 2000-12-05 Martin Buchholz <martin@xemacs.org>
2803 * XEmacs 21.2.38 is released.
2805 2000-12-05 Martin Buchholz <martin@xemacs.org>
2807 * symsinit.h: Add init_postgresql_from_environment.
2809 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
2811 * regex.c: Convert to clean C.
2813 2000-12-05 Dan Holmsand <dan@eyebee.com>
2816 Don't #include sysfile.h. Revert to duplicating PATH_MAX
2818 (sys_readlink): renamed to system_readlink to avoid conflict with
2819 the other sys_readlink.
2821 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
2823 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
2825 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
2827 * postgresql.c (init_postgresql_from_environment): new function.
2828 (vars_of_postgresql): Move code initializing Lisp variables out and
2829 into init_postgresql_from_environment.
2830 emacs.c (main_1): Call init_postgresql_from_environment if and only
2831 if running a dumped XEmacs.
2833 2000-08-31 Dan Holmsand <dan@eyebee.com>
2835 * buffer.c: Make find-file-compare-truenames default to true on
2838 * realpath.c (win32_abs_start):
2840 (win32_readlink): New functions.
2841 (xrealpath): Return really real filenames on windows.
2843 * fileio.c (Ffile_truename): Make file-truename work on windows.
2845 2000-11-29 Didier Verna <didier@xemacs.org>
2847 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
2848 * faces.c (update_face_cachel_data): use it.
2849 * faces.c (add_face_cachel): use it. Complete background pixmap
2850 frobbing in face cache if `update_face_cachel_data' has not done so.
2852 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
2854 * search.c (string_match_1): Don't set last_thing_searched
2857 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
2859 * buffer.c: Include casetab.h
2860 (common_init_complex_vars_of_buffer): Use new case-table object.
2861 * buffer.h: Include casetab.h
2862 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
2863 (DOWNCASE_TABLE_OF): Ditto.
2864 * bufslots.h: Remove char-tables and add case-table.
2865 * casetab.c: Include casetab.h
2866 (CASE_TABLE_P): Removed.
2867 (mark_case_table): New function.
2868 (allocate_case_table): New function.
2869 (Fcase_table_p): Use new case-table.
2870 (case_table_char): New function.
2871 (Fget_case_table): Ditto.
2872 (Fput_case_table): Ditto.
2873 (Fput_case_table_pair): Ditto.
2874 (Fcopy_case_table): Ditto.
2875 (Fcurrent_case_table): Return case-table.
2876 (Fstandard_case_table): Return case-table.
2877 (Fset_case_table): Fix doc-string.
2878 (set_case_table): Use case-table
2879 (syms_of_casetab): DEFSUBR new functions.
2880 (complex_vars_of_casetab): Set up standard case-table.
2881 * casetab.h: New file.
2882 * editfns.c: Include casetab.h
2883 (Fcompare_buffer_substrings): Use case-table.
2884 * inline.c: Include casetab.h
2885 * lisp.h: Remove bogus extern.
2886 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
2887 * search.c: Include casetab.h
2888 (TRANSLATE_ASCII): Removed.
2889 (TRANSLATE): Unconditionally translate character.
2890 (looking_at_1): Use case-table.
2891 (string_match_1): Ditto.
2892 (fast_string_match): Ditto.
2893 (search_command): Ditto.
2894 (search_buffer): Separate boyer_moore. Check whether
2895 boyer_moore is poosible.
2896 (simple_search): New function.
2897 (boyer_moore): Separated from search_buffer. Translate char.
2899 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
2901 * regex.c (RE_TR_ASCII): Removed.
2902 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
2903 (PATFETCH): Call PATFETCH_RAW.
2904 (PATFETCH_RAW): Fetch Emchar.
2905 (PATUNFETCH): Decrement charptr.
2906 (GET_BUFFER_SPACE): Rename b to buf_end.
2908 (BUF_PUSH_2): Ditto.
2909 (BUF_PUSH_3): Ditto.
2910 (EXTEND_BUFFER): Ditto.
2911 (SET_LIST_BIT): Ditto.
2912 (regex_compile): Ditto. Translate non ASCII char.
2913 (compile_range): Ditto.
2914 (re_search_2): Ditto.
2915 (re_match_2_internal): Compare Emchar.
2916 (bcmp_translate): Ditto.
2918 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
2920 * lisp.h (basic char/int typedefs): comment improvement.
2922 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
2924 * emacs.c (main_1): unconditional pdump unstomping; don't save and
2925 unstomp inhibit_site_lisp. Improve comments.
2927 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
2929 * mule-charset.c (Fcharset_property): improve type checking, comments.
2931 2000-11-28 Andy Piper <andy@xemacs.org>
2933 * redisplay-output.c (redisplay_output_subwindow): make sure we do
2934 clipped display for windows in the gutter also.
2935 (redisplay_display_boxes_in_window_p): change semantics of return
2936 codes to be more intuitive.
2938 * gutter.h: declare display_boxes_in_gutter_p.
2940 * gutter.c (display_boxes_in_gutter_p): new function for
2943 2000-11-22 Andy Piper <andy@xemacs.org>
2945 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
2948 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
2950 * callproc.c (Fold_call_process_internal):
2951 * gpm.c (Freceive_gpm_event):
2952 (tty_get_foreign_selection): Might be just warning supression.
2953 * fileio.c (Fwrite_region_internal):
2954 (Fset_visited_file_modtime):
2955 * keymap.c (event_matches_key_specifier_p):
2956 Initialize GCPROed variable.
2958 * menubar-x.c (command_builder_find_menu_accelerator):
2959 Initialize before use.
2961 2000-11-23 Andy Piper <andy@xemacs.org>
2963 * unexcw.c (unexec): make the resulting executable executable.
2965 2000-11-21 Martin Buchholz <martin@xemacs.org>
2967 * doc.c (get_doc_string):
2968 Use size_t, not int, for result of XSTRING_LENGTH.
2970 * cmds.c (Fdelete_char):
2971 * cmds.c (Fpoint_at_eol):
2972 * cmds.c (Fself_insert_command):
2973 Use EMACS_INT, not int, for result of XINT.
2974 Someday, someone will want to insert more than 2**31 identical characters.
2976 * cmds.c (Fdelete_char):
2977 * cmds.c (Fdelete_backward_char):
2978 * syntax.c (Fforward_word):
2979 * syntax.c (Fforward_comment):
2980 Make COUNT argument optional, for consistency with forward-char et al.
2982 2000-11-22 Martin Buchholz <martin@xemacs.org>
2985 * print.c (long_to_string):
2986 Return a useful value: the pointer at end of data written.
2989 Use `static const char * const' for constant strings.
2990 (union printf_arg): Delete `i', `ui' members.
2993 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
2994 Do all printf-ing via the `l' specifier.
2995 Use EMACS_INT instead of int.
2998 2000-11-20 Didier Verna <didier@xemacs.org>
3000 * faces.c (update_face_cachel_data): don't frob the background
3001 pixmap when the window is being created. The face is needed but
3004 2000-11-20 Andy Piper <andy@xemacs.org>
3006 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
3007 messing with a debug environment.
3009 2000-11-20 Martin Buchholz <martin@xemacs.org>
3011 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
3013 2000-11-20 Martin Buchholz <martin@xemacs.org>
3015 * casetab.c (Fcase_table_p): Fix compile error and crash.
3017 2000-11-18 Philip Aston <philipa@mail.com>
3019 * s/cygwin32.h: Cygwin has SVR4-like pty support.
3021 2000-11-18 Martin Buchholz <martin@xemacs.org>
3023 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
3024 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
3026 2000-11-17 Martin Buchholz <martin@xemacs.org>
3028 * config.h.in: Define HAVE_ELF_H if elf.h exists.
3029 * unexelf.c: Use HAVE_ELF_H.
3030 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
3031 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
3032 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
3033 Greg Harrington <greg_harrington@hotmail.com> provided a machine
3035 So this is an unexelfsgi.c from a different line of development.
3037 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3039 * regex.c (RE_TR_ASCII): New function.
3040 (RE_TRANSLATE): Call it.
3042 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3044 * buffer.h (TRT_TABLE_OF): Remove assert.
3045 (IN_TRT_TABLE_DOMAIN): Removed.
3047 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
3049 * free-hook.c (log_gcpro):
3050 (show_gcprohist): Add support for GCPRO5.
3052 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
3054 * emacs.c (main_1): Improve -sd error message when --pdump=no.
3056 2000-11-16 Olivier Galibert <galibert@xemacs.org>
3058 * symeval.h: Declare flush_all_buffer_local_cache.
3060 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
3061 (flush_buffer_local_cache): Added.
3062 (flush_all_buffer_local_cache): Added.
3064 * lrecord.h: Remove unused XD_LO_RESET_NIL.
3066 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
3067 (pdump_dump_data): Ditto.
3068 (pdump_reloc_one): Ditto.
3069 (pdump): Remove unused pdump_qnil. Flush buffer local caches
3073 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3075 * buffer.c: Remove if 0'ed entry.
3076 * buffer.h: Rewrite TRT to use char-table.
3077 * bufslots.h: Remove mirror tables.
3078 * casetab.c: Remove mirror tables.
3079 (CASE_TABLE_P): New macro.
3080 (Fcase_table_p): Element of a case table is string or char-table.
3081 (make_mirror_trt_table): Removed.
3082 (set_case_table): Setup char-table from strings for backward
3084 * dired.c (Fdirectory_files):
3085 * dired-msw.c: (mswindows_get_files):
3086 * lisp.h: Change prototype of re_pattern_buffer.
3087 * regex.c: (RE_TRANSLATE): New macro.
3088 (TRANSLATE_P): Ditto.
3089 Change translate to type RE_TRANSLATE_TYPE.
3090 * regex.h: Define RE_TRANSLATE_TYPE
3091 * search.c (TRANSLATE): New macro.
3092 (TRANSLATE_ASCII): New macro.
3093 Translate table is changed to Lisp_Object.
3094 (signal_failure): Inhibit return.
3096 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3103 Do UNGCPRO before return.
3105 2000-11-14 Martin Buchholz <martin@xemacs.org>
3107 * XEmacs 21.2.37 is released.
3109 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3111 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
3112 Add comments about discarded return value.
3114 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3117 * event-stream.c: Fix comments. Remove some #if 0'ed part.
3119 2000-10-27 Andy Piper <andy@xemacs.org>
3121 * gutter.c (Fset_default_gutter_position): default left and right
3123 (calculate_gutter_size): calculate resonable heuristic for left
3124 and right gutter sizes.
3125 (specifier_vars_of_gutter): change left and right gutter sizes to
3127 (calculate_gutter_size_from_display_lines): new function.
3128 (output_gutter): check for resizing on left and right gutters.
3129 (clear_gutter): don't special case top and left gutters.
3130 (specifier_vars_of_gutter): use new signature for
3131 set_specifier_caching.
3133 * glyphs-x.c (x_redisplay_widget): spelling fix.
3134 * glyphs.c (specifier_vars_of_glyphs):
3135 * menubar.c (specifier_vars_of_menubar):
3136 * redisplay.c (specifier_vars_of_redisplay):
3137 * toolbar.c (specifier_vars_of_toolbar):
3138 * window.c (specifier_vars_of_window):
3139 * scrollbar.c (specifier_vars_of_scrollbar):
3140 (complex_vars_of_scrollbar): use new signature for
3141 set_specifier_caching.
3143 * specifier.c (set_specifier_caching): include recompute flag.
3144 (recompute_one_cached_specifier_in_window): always recompute if
3146 (recompute_one_cached_specifier_in_frame): ditto.
3148 * specifier.h (struct specifier_caching): add recompute flag.
3150 2000-10-24 Andy Piper <andy@xemacs.org>
3152 * unexcw.c (copy_executable_and_dump_data_section): add new
3153 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
3156 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3158 * console-x.h (x_device): New member modifier_release_time.
3159 * event-Xt.c (x_handle_sticky_modifiers):
3160 Bound interval modifier keys are sticky.
3161 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
3162 * events.h: extern it.
3164 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3166 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
3168 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3170 * event-stream.c (execute_command_event): Preserve current_events
3171 and the like when event is misc-user-event.
3172 Inhibit quit during the call to maybe_echo_keys.
3174 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
3176 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
3177 symlink when buffer is killed.
3178 (inhibit_clash_detection): New variable.
3180 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3182 * console.c (Fset_input_method): Trigger redisplay on tty.
3184 2000-11-07 Martin Buchholz <martin@xemacs.org>
3186 * process.c (Fprocess_status): Revert to previous behavior:
3187 (process-status "nosuchprocess") ==> nil
3189 2000-11-06 Martin Buchholz <martin@xemacs.org>
3191 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
3192 Work around another GCC 2.95.2 optimizer bug.
3194 2000-11-02 Martin Buchholz <martin@xemacs.org>
3196 * process.c (Fget_process): Use LIST_LOOP_2.
3197 (kill_buffer_processes): Use LIST_LOOP_2.
3199 * minibuf.c (Fall_completions):
3200 Delete old non-functional code for FSF fourth argument.
3202 * frame.c (frame_matches_frame_spec):
3203 Renamed from `frame_matches_frametype'. Update all callers.
3204 (device_matches_device_spec):
3205 Renamed from 'device_matches_console_spec'. Update all callers.
3207 * doc.c (Fsubstitute_command_keys):
3208 Remove buffer overflow crash. Small code cleanups.
3210 * casetab.c (check_case_table): Simpler code.
3212 * window.c (Freplace_buffer_in_windows):
3213 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
3214 (and similar implementation) as Fdelete_windows_on.
3217 * alloc.c (Fmake_list):
3218 * alloc.c (make_vector):
3219 * alloc.c (Fmake_vector):
3220 * alloc.c (make_bit_vector):
3221 * alloc.c (Fmake_bit_vector):
3222 * alloc.c (Fbit_vector):
3223 * alloc.c (Fmake_string):
3224 * alloc.c (Fpurecopy):
3225 * alloc.c (Fmemory_limit):
3227 * buffer.c (Fget_buffer):
3228 * buffer.c (Fkill_buffer):
3229 * buffer.c (complex_vars_of_buffer):
3230 * bytecode.c (Fcompiled_function_stack_depth):
3231 * callint.c (Fprefix_numeric_value):
3233 * event-stream.c (Fread_key_sequence):
3235 * casetab.c (Fcase_table_p):
3236 * casetab.c (check_case_table):
3237 * casetab.c (Fset_case_table):
3238 * casetab.c (Fset_standard_case_table):
3240 * chartab.c (Fchar_table_type):
3241 * chartab.c (Freset_char_table):
3242 * chartab.c (Fget_char_table):
3243 * chartab.c (Fget_range_char_table):
3244 * chartab.c (Fput_char_table):
3245 * chartab.c (Fmap_char_table):
3246 * chartab.c (Fcategory_table_p):
3247 * chartab.c (Fcheck_category_at):
3248 * chartab.c (Fchar_in_category_p):
3249 * chartab.c (Fcategory_table):
3250 * chartab.c (Fcopy_category_table):
3251 * chartab.c (Fset_category_table):
3252 * chartab.c (Fcategory_designator_p):
3253 * chartab.c (Fcategory_table_value_p):
3254 * cmds.c (Fdelete_char):
3255 * cmds.c (Fdelete_backward_char):
3256 * cmds.c (Fself_insert_command):
3257 * cmds.c (Fself_insert_internal):
3258 * console.c (Fvalid_console_type_p):
3259 * console.c (Fcdfw_console):
3260 * console.c (Fconsole_type):
3261 * console.c (Fconsole_name):
3262 * console.c (Fconsole_device_list):
3263 * console.c (Fconsole_on_window_system_p):
3267 * data.c (Fsubr_interactive):
3268 * data.c (Fchar_to_int):
3269 * data.c (Fint_to_char):
3272 * data.c (Fnumber_to_string):
3273 * data.c (Fstring_to_number):
3275 * database.c (mark_database):
3276 * database.c (finalize_database):
3277 * database.c (Fdatabase_live_p):
3278 * database.c (Fdatabasep):
3279 * device-x.c (Fx_get_resource):
3280 * device.c (Fdfw_device):
3282 * dired.c (Ffile_name_completion):
3283 * dired.c (Ffile_name_all_completions):
3284 * dired.c (Fuser_name_completion):
3285 * dired.c (Fuser_name_completion_1):
3286 * dired.c (Fuser_name_all_completions):
3287 * doc.c (Fdocumentation):
3288 * doc.c (Fdocumentation_property):
3289 * doc.c (Fsubstitute_command_keys):
3291 * editfns.c (Fchar_to_string):
3292 * editfns.c (Fstring_to_char):
3293 * editfns.c (Ftemp_directory):
3294 * editfns.c (Finsert_char):
3295 * editfns.c (Fbuffer_substring_no_properties):
3296 * editfns.c (Fnarrow_to_region):
3297 * editfns.c (Fchar_equal):
3298 * editfns.c (Fchar_Equal):
3299 * editfns.c (Ftranspose_regions):
3300 * emacs.c (Fdump_emacs):
3302 * eval.c (Fcommand_execute):
3303 * eval.c (Fautoload):
3304 * eval.c (Fbacktrace):
3305 * eval.c (Fbacktrace_frame):
3307 * events.c (Fcopy_event):
3308 * events.c (Fcharacter_to_event):
3309 * events.c (Fevent_button):
3310 * events.c (Fevent_process):
3312 * extents.c (Fnext_extent_change):
3313 * extents.c (Fextent_property):
3315 * faces.c (Fmake_face):
3317 * file-coding.c (Fencode_shift_jis_char):
3318 * file-coding.c (Fencode_big5_char):
3319 * fileio.c (Ffile_name_directory):
3320 * fileio.c (Ffile_name_nondirectory):
3321 * fileio.c (Ffile_name_as_directory):
3322 * fileio.c (Fdirectory_file_name):
3323 * fileio.c (Ffile_truename):
3324 * fileio.c (Fsubstitute_in_file_name):
3325 * fileio.c (Ffile_modes):
3326 * fileio.c (Fset_file_modes):
3327 * fileio.c (Fset_default_file_modes):
3328 * fileio.c (Fverify_visited_file_modtime):
3329 * floatfns.c (Facos):
3330 * floatfns.c (Fasin):
3331 * floatfns.c (Fatan):
3332 * floatfns.c (Fcos):
3333 * floatfns.c (Fsin):
3334 * floatfns.c (Ftan):
3335 * floatfns.c (Fbessel_j0):
3336 * floatfns.c (Fbessel_j1):
3337 * floatfns.c (Fbessel_jn):
3338 * floatfns.c (Fbessel_y0):
3339 * floatfns.c (Fbessel_y1):
3340 * floatfns.c (Fbessel_yn):
3341 * floatfns.c (Ferf):
3342 * floatfns.c (Ferfc):
3343 * floatfns.c (Flog_gamma):
3344 * floatfns.c (Fexp):
3345 * floatfns.c (Fexpt):
3346 * floatfns.c (Flog):
3347 * floatfns.c (Flog10):
3348 * floatfns.c (Fsqrt):
3349 * floatfns.c (Fcube_root):
3350 * floatfns.c (Facosh):
3351 * floatfns.c (Fasinh):
3352 * floatfns.c (Fatanh):
3353 * floatfns.c (Fcosh):
3354 * floatfns.c (Fsinh):
3355 * floatfns.c (Ftanh):
3356 * floatfns.c (Fabs):
3357 * floatfns.c (Ffloat):
3358 * floatfns.c (Flogb):
3359 * floatfns.c (Fceiling):
3360 * floatfns.c (Ffloor):
3361 * floatfns.c (Fround):
3362 * floatfns.c (Ftruncate):
3363 * floatfns.c (Ffceiling):
3364 * floatfns.c (Fffloor):
3365 * floatfns.c (Ffround):
3366 * floatfns.c (Fftruncate):
3367 * fns.c (Fstring_equal):
3368 * fns.c (Fstring_lessp):
3373 * fns.c (Fsubstring):
3375 * fns.c (Fold_assoc):
3376 * fns.c (assoc_no_quit):
3378 * fns.c (Fold_assq):
3379 * fns.c (assq_no_quit):
3381 * fns.c (Fold_rassoc):
3383 * fns.c (Fold_rassq):
3384 * fns.c (rassq_no_quit):
3385 * fns.c (Fremassoc):
3386 * fns.c (remassoc_no_quit):
3388 * fns.c (remassq_no_quit):
3389 * fns.c (Fremrassoc):
3390 * fns.c (Fremrassq):
3391 * fns.c (remrassq_no_quit):
3393 * fns.c (Fplist_get):
3394 * fns.c (Fplist_put):
3395 * fns.c (Fplist_remprop):
3396 * fns.c (Fplist_member):
3397 * fns.c (Flax_plist_get):
3398 * fns.c (Flax_plist_put):
3399 * fns.c (Flax_plist_remprop):
3400 * fns.c (Flax_plist_member):
3402 * fns.c (Fold_equal):
3404 * fns.c (Fbase64_encode_region):
3405 * fns.c (Fbase64_encode_string):
3406 * fns.c (Fbase64_decode_region):
3408 * frame.c (frame_matches_frame_spec):
3409 * frame.c (device_matches_device_spec):
3410 * frame.c (next_frame):
3411 * frame.c (previous_frame):
3412 * frame.c (Fnext_frame):
3413 * frame.c (Fprevious_frame):
3414 * frame.c (Fframe_property):
3415 * frame.c (Fset_frame_height):
3416 * frame.c (Fset_frame_size):
3420 * glyphs.c (decode_error_behavior_flag):
3421 * glyphs.c (Fmake_image_instance):
3422 * indent.c (Findent_to):
3423 * intl.c (Fignore_defer_gettext):
3424 * keymap.c (Fkeymapp):
3425 * keymap.c (Flookup_key):
3427 * lread.c (Fload_internal):
3428 * lread.c (Feval_buffer):
3429 * lread.c (Feval_region):
3430 * macros.c (Fexecute_kbd_macro):
3431 * marker.c (set_marker_internal):
3432 * marker.c (Fset_marker):
3433 * marker.c (set_marker_restricted):
3434 * marker.c (Fcopy_marker):
3435 * marker.c (noseeum_copy_marker):
3437 * menubar.c (Fpopup_menu):
3439 * mule-charset.c (Fcharset_name):
3440 * mule-charset.c (Fchar_charset):
3441 * mule-charset.c (Fchar_octet):
3442 * mule-charset.c (Fsplit_char):
3443 * mule-wnnfns.c (Fwnn_open):
3444 * mule-wnnfns.c (Fwnn_dict_comment):
3445 * mule-wnnfns.c (Fwnn_quit_henkan):
3446 * mule-wnnfns.c (Fwnn_word_toroku):
3447 * mule-wnnfns.c (Fwnn_word_sakujo):
3448 * mule-wnnfns.c (Fwnn_word_use):
3449 * mule-wnnfns.c (Fwnn_hindo_set):
3451 * objects.c (Fmake_color_instance):
3452 * objects.c (Fmake_font_instance):
3453 * print.c (Fwrite_char):
3455 * process.c (mark_process):
3456 * process.c (print_process):
3457 * process.c (get_process_from_usid):
3458 * process.c (Fprocessp):
3459 * process.c (Fprocess_live_p):
3460 * process.c (Fget_process):
3461 * process.c (Fget_buffer_process):
3462 * process.c (get_process):
3463 * process.c (Fprocess_id):
3464 * process.c (Fprocess_name):
3465 * process.c (Fprocess_command):
3466 * process.c (init_process_io_handles):
3467 * process.c (start_process_unwind):
3468 * process.c (Fstart_process_internal):
3469 * process.c (Fopen_multicast_group_internal):
3470 * process.c (Fset_process_window_size):
3471 * process.c (read_process_output):
3472 * process.c (send_process):
3473 * process.c (Fprocess_tty_name):
3474 * process.c (Fset_process_buffer):
3475 * process.c (Fprocess_buffer):
3476 * process.c (Fprocess_mark):
3477 * process.c (set_process_filter):
3478 * process.c (Fset_process_filter):
3479 * process.c (Fprocess_filter):
3480 * process.c (Fprocess_send_region):
3481 * process.c (Fprocess_send_string):
3482 * process.c (exec_sentinel):
3483 * process.c (Fset_process_sentinel):
3484 * process.c (Fprocess_sentinel):
3485 * process.c (status_notify):
3486 * process.c (Fprocess_status):
3487 * process.c (Fprocess_exit_status):
3488 * process.c (process_send_signal):
3489 * process.c (Fprocess_send_eof):
3490 * process.c (deactivate_process):
3491 * process.c (remove_process):
3492 * process.c (Fdelete_process):
3493 * process.c (kill_buffer_processes):
3494 * process.c (Fprocess_kill_without_query):
3495 * process.c (Fprocess_kill_without_query_p):
3497 * rangetab.c (Fget_range_table):
3498 * rangetab.c (Fput_range_table):
3499 * rangetab.c (Fremove_range_table):
3500 * rangetab.c (Fclear_range_table):
3502 * search.c (Fskip_chars_forward):
3503 * search.c (Fskip_chars_backward):
3504 * search.c (Fskip_syntax_forward):
3505 * search.c (Fskip_syntax_backward):
3506 * search.c (search_command):
3507 * search.c (Freplace_match):
3508 * search.c (Fregexp_quote):
3509 * select.c (Fown_selection_internal):
3510 * select.c (Fselection_owner_p):
3511 * select.c (Fselection_exists_p):
3512 * select.c (Fget_selection_internal):
3515 * symbols.c (Fintern):
3516 * symbols.c (Fintern_soft):
3517 * symbols.c (Funintern):
3518 * symbols.c (Fapropos_internal):
3519 * symbols.c (Fset_default):
3521 * syntax.c (Fsyntax_table_p):
3522 * syntax.c (Fcopy_syntax_table):
3523 * syntax.c (Fset_syntax_table):
3524 * syntax.c (Fchar_syntax):
3525 * syntax.c (syntax_match):
3526 * syntax.c (Fmatching_paren):
3527 * syntax.c (Fforward_word):
3528 * syntax.c (scan_lists):
3529 * syntax.c (Fscan_lists):
3530 * syntax.c (Fscan_sexps):
3531 * syntax.c (Fparse_partial_sexp):
3532 * toolbar.c (Fcheck_toolbar_button_syntax):
3535 * window.c (Fwindowp):
3536 * window.c (Fwindow_live_p):
3537 * window.c (Fwindow_point):
3538 * window.c (Fdelete_window):
3539 * window.c (Fnext_window):
3540 * window.c (Fprevious_window):
3541 * window.c (Fother_window):
3542 * window.c (window_loop):
3543 * window.c (Fget_lru_window):
3544 * window.c (Fsplit_window):
3545 * window.c (Fenlarge_window):
3546 * window.c (Fenlarge_window_pixels):
3547 * window.c (Fshrink_window):
3548 * window.c (Fshrink_window_pixels):
3549 * window.c (change_window_height):
3550 * window.c (Fwindow_configuration_p):
3551 * window.c (Fcurrent_window_configuration):
3553 * casefiddle.c (casify_object):
3554 * casefiddle.c (Fupcase):
3555 * casefiddle.c (Fdowncase):
3556 * casefiddle.c (Fcapitalize):
3557 * casefiddle.c (Fupcase_initials):
3558 * casefiddle.c (casify_region_internal):
3559 * casefiddle.c (casify_region):
3560 * casefiddle.c (Fupcase_region):
3561 * casefiddle.c (Fdowncase_region):
3562 * casefiddle.c (Fcapitalize_region):
3563 * casefiddle.c (Fupcase_initials_region):
3564 * casefiddle.c (Fupcase_word):
3565 * casefiddle.c (Fdowncase_word):
3566 * casefiddle.c (Fcapitalize_word):
3567 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3568 Replace 0 with '\0' when working with bytes.
3569 Replace initial "(" with "\(" in docstrings.
3571 2000-11-01 Martin Buchholz <martin@xemacs.org>
3573 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
3575 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
3577 2000-10-31 Martin Buchholz <martin@xemacs.org>
3579 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
3581 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3583 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
3586 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3588 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
3589 (inhibit_auto_save_session): New variable.
3590 (vars_of_fileio): Declare and initialize them.
3591 * fileio.c (Fdo_auto_save): Don't create session file if
3592 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
3594 2000-10-31 Martin Buchholz <martin@xemacs.org>
3596 * sgiplay.c (play_internal): C++ compilability.
3597 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
3598 * callproc.c (Fold_call_process_internal):
3599 Remove unused vars `env', `first'.
3600 * scrollbar.c (update_scrollbar_instance):
3601 #### unused var `current_window'.
3602 * redisplay-tty.c: Put currently unused vars insert_mode_on,
3603 etc. within #ifdef NOT_YET.
3604 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
3605 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
3606 * specifier.c (specifier_instance):
3607 #### unused var `tag'.
3608 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
3610 2000-10-27 Martin Buchholz <martin@xemacs.org>
3613 * fns.c (list_sort):
3614 * fns.c (Ffillarray):
3615 * fns.c (bytecode_nconc2):
3618 * fns.c (Fmapconcat):
3619 Be pedantically 64-bit correct. For the time when someone will
3620 want to have a list with length > 2**32.
3622 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
3623 Work around MIPSpro compiler bug.
3625 * process-unix.c (unix_kill_child_process): Add snarky comment.
3626 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
3628 * config.h.in: Oops, _getpt ==> _getpty
3630 2000-10-26 Martin Buchholz <martin@xemacs.org>
3634 Use void*, not char*, as return type of alloca().
3636 * alloc.c (free_marker): Side effect inside assert expression!
3638 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
3640 * mule-charset.c (Fset_charset_ccl_program): To check
3641 if the given ccl program is valid, use setup_ccl_program()
3642 instead of CHECK_VECTOR().
3643 (Fmake_charset): Likewise.
3645 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
3647 * faces.c (get_extent_fragment_face_cache_index):
3648 Fix cachel.merged_faces memory leak.
3650 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
3652 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
3653 Reset MSB of octets obtained by DECODE_SJIS
3654 because of the incompatibility with Emacs.
3655 (ccl_driver)<CCL_ENCODE_SJIS>:
3656 Set MSB of octets before passing them to
3657 ENCODE_SJIS because of the incompatibility
3660 2000-10-18 Daiki Ueno <ueno@unixuser.org>
3662 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
3663 (DECLARE_LRECORD): Undo the last change.
3664 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
3666 2000-10-17 Daiki Ueno <ueno@unixuser.org>
3668 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
3669 the implementation to lrecord_implementations_table.
3671 2000-10-14 Daiki Ueno <ueno@unixuser.org>
3673 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
3674 initial value of `lrecord_type_##c_name' and
3675 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
3676 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
3677 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
3678 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
3679 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
3681 2000-10-17 Martin Buchholz <martin@xemacs.org>
3683 * miscplay.c (sndcnv8S_2mono):
3684 (sndcnv2monounsigned):
3685 (sndcnvULaw_2linear):
3687 Remove implementation-defined behavior.
3689 2000-10-12 Martin Buchholz <martin@xemacs.org>
3691 * input-method-xlib.c: Warning suppression.
3693 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
3695 * mule-ccl.c: Sync up with Emacs 21.0.90.
3696 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
3698 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
3700 (ccl_driver[WriteMultibyteChar2]): Bug fix.
3701 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
3702 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
3703 leading char belongs to official 2-dimensional charset.
3704 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
3705 write the given character as is. Otherwise,
3706 if it is a multibyte char, convert it by
3707 non_ascii_set_charptr_emchar, then write it.
3708 (CCL_WRITE_STRING): Likewise.
3709 (ccl_get_compiled_code): New function.
3710 (setup_ccl_program): When ccl_prog is invalid,
3712 (Fregister_code_conversion_map): New function.
3713 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
3715 * mule-ccl.h: Sync up with Emacs 21.0.90.
3716 (Fregister_ccl_program): export it.
3718 * redisplay-msw.c (separate_textual_runs):
3719 If ccl program is not valid, don't do ccl conversion.
3721 * redisplay-x.c (separate_textual_runs): Ditto.
3723 * file-coding.c (Fmake_coding_system):
3724 When type is ccl and value is vector, register it
3725 with a proper symbol. And checks whether the
3726 given ccl program is valid.
3727 (mule_decode): When calling ccl_driver, if src indicates
3728 NULL pointer, set an empty string instead.
3729 (mule_encode): Likewise.
3731 2000-10-11 Martin Buchholz <martin@xemacs.org>
3733 The following large batch of changes gets us back to a state of
3734 C++ compilability. Extbyte is now a char, which means that
3735 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
3737 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
3739 * sound.c (Fplay_sound): Type correctness.
3741 * select-x.c (hack_motif_clipboard_selection): Type correctness.
3742 (x_get_window_property): Type correctness.
3743 (receive_incremental_selection): unsigned char ==> Extbyte
3744 (selection_data_to_lisp_data): unsigned char ==> Extbyte
3745 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
3746 (Fx_store_cutbuffer_internal): Type correctness.
3748 * process-unix.c (try_to_initialize_subtty): Type correctness.
3750 * objects-x.c (x_print_color_instance): Type correctness.
3751 (x_print_font_instance): Type correctness.
3752 (x_list_fonts): SExtbyte ==> Extbyte.
3753 (valid_x_font_name_p): SExtbyte ==> Extbyte.
3754 (x_find_charset_font): SExtbyte ==> Extbyte.
3755 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
3756 (truename_via_XListFonts): SExtbyte ==> Extbyte.
3757 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
3760 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
3761 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
3762 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
3763 (BYTE_C0_P): Use bit ops for char-signedness safety.
3764 (BYTE_C1_P): Use bit ops for char-signedness safety.
3765 (CHARSET_BY_LEADING_BYTE):
3766 (CHARSET_BY_ATTRIBUTES):
3767 Always use inline function.
3768 Use type_checking_assert.
3771 * mule-charset.c (non_ascii_charptr_copy_char):
3772 Modify to work with both ASCII and non-ASCII characters.
3773 Improve docs and variable names.
3774 Replace over-clever fall-through switch with a simple loop.
3775 (Lstream_get_emchar_1):
3776 Replace over-clever fall-through switch with a simple loop.
3778 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3779 Warning suppression.
3781 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
3782 the return value of Lstream_getc, which could be EOF as well.
3784 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
3786 * lisp.h: Make Extbyte a char, not unsigned char, so that external
3787 APIs can be used on Extbytes without casts. Risky!
3791 * input-method-xlib.c (XIM_init_device):
3792 Use Xlib.h instead of IntrinsicP.h.
3793 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
3794 which will break in X11R7.
3795 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
3796 to call XRegisterIMInstantiateCallback with correct types.
3798 * gui-x.c (button_item_to_widget_value): Type correctness.
3800 * glyphs.c (bitmap_to_lisp_data): Type correctness.
3802 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
3803 (xbm_instantiate_1): Type correctness.
3804 (BUILD_GLYPH_INST): Type correctness.
3806 * fileio.c (Fsubstitute_in_file_name): Type correctness.
3809 (decode_coding_sjis):
3810 (decode_coding_big5):
3811 (decode_coding_ucs4):
3812 (decode_coding_utf8):
3813 (decode_coding_iso2022):
3814 (decode_coding_no_conversion):
3815 Make all decoding functions take an Extbyte * arg.
3816 (encode_coding_sjis):
3817 (encode_coding_big5):
3818 (encode_coding_ucs4):
3819 (encode_coding_utf8):
3820 (encode_coding_iso2022):
3821 (encode_coding_no_conversion):
3822 Make all encoding functions take a Bufbyte * arg.
3823 Use size_t instead of unsigned int for memory sizes.
3824 Only cast to unsigned char whenever dereferencing Extbyte *.
3826 * doc.c (unparesseuxify_doc_string): Type correctness.
3828 * console-x.c (split_up_display_spec):
3829 Rewrite without using details of internal string representation.
3830 (x_semi_canonicalize_device_connection): Type correctness.
3833 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
3834 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
3835 (HAVE_XFREE386): Removed.
3837 * buffer.h (DEC_CHARPTR): `const' correctness.
3838 (bufbyte_strcmp): New.
3839 (bufbyte_memcmp): New.
3841 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
3843 * buffer.h (XCHAR_OR_CHAR_INT):
3844 Always use inline function.
3845 Remove redundant type checking assert() - XINT will abort quite nicely.
3847 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
3849 * search.c (Freplace_match): Set newtext to an empty string.
3851 2000-10-10 Martin Buchholz <martin@xemacs.org>
3853 * s/decosf1-3.h: Remove #include of stropts.h
3854 * s/ptx.h: Remove #include of stropts.h
3855 * s/usg5-4.h: Remove #include of stropts.h
3858 Use stropts.h, not sys/stropts.h.
3859 Use strtio.h, not sys/strtio.h.
3861 2000-10-04 Martin Buchholz <martin@xemacs.org>
3863 * XEmacs 21.2.36 is released.
3865 2000-09-21 Andy Piper <andy@xemacs.org>
3867 * glyphs-x.c (x_redisplay_widget): make sure non-structural
3868 changes still involve copying the widget tree.
3869 (update_widget_face): make sure a change is register in the widget
3870 tree. Call update_tab_widget_face appropriately.
3871 (update_tab_widget_face): ditto.
3872 (x_tab_control_redisplay): make sure non-structural changes still
3873 involve copying the widget tree.
3875 2000-08-31 Daiki Ueno <ueno@unixuser.org>
3877 * lread.c (locate_file): Check the path element is non-nil.
3879 2000-10-02 Martin Buchholz <martin@xemacs.org>
3881 * lisp.h: Warning suppression for SCO compilers.
3883 * redisplay-tty.c (reset_tty_modes): Fix crash.
3884 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
3886 2000-09-27 Martin Buchholz <martin@xemacs.org>
3888 Big signal/process handling overhaul. Bugs fixed:
3889 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
3890 M-x comint-kill-subjob should work for both values nil and t of
3891 process-connection-type. It was broken on most platforms.
3892 Testing on Irix and Cygwin still needed. Other plaforms tested.
3893 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
3894 * process-unix.c: Signal/Process handling overhaul.
3895 (pty_name): make 64 bytes, as `expect' does, for paranoia.
3896 (allocate_pty): Use all available modern methods of allocating
3897 ptys, falling back to old style BSD allocation as a last resort.
3898 Use allegedly more secure Unix98 pty allocation by default.
3899 (allocate_pty_the_old_fashioned_way): New. the last resort.
3900 (unix_create_process): Push ptem, ldterm, ttcompat where
3901 available. Autoconfiscate.
3902 (try_to_initialize_subtty): New.
3903 (unix_kill_child_process): Proper signal handling for ptys on most
3904 platforms, using special knowledge of AIX, BSD, etc...
3905 (unix_create_process): Always disconnect_controlling_terminal() for
3906 subprocesses, whether using ptys or not.
3907 * process.h: Remove old getpt-dependent PTY code.
3908 * process.c (Fprocess_send_signal): New, obvious generic function.
3909 (decode_signal): New.
3910 (Finterrupt_process):
3914 (Fcontinue_process):
3915 (Fsignal_process): Use decode_signal.
3916 (process_send_signal):
3917 Many docstring corrections.
3918 Allow any signal to be sent to a process object.
3919 * config.h.in: Add symbols for big signal/process overhaul.
3920 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
3921 * sysproc.h: Include process-related headers, where available:
3922 sys/stropts.h sys/strtio.h pty.h libutil.h
3930 Remove old S&M pty stuff.
3931 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
3932 * systty.h: Simplify cpp hackery, improve comments.
3933 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
3935 * editfns.c (Fformat_time_string):
3936 Be a little more paranoid with the return value of ctime.
3938 * fileio.c (check_executable):
3940 Use symbolic constants X_OK, W_OK.
3942 * console-x.c (split_up_display_spec): Fix a warning.
3944 2000-10-02 Martin Buchholz <martin@xemacs.org>
3946 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
3947 * ntproc.c (sys_spawnve): make_string ==> build_string
3948 Small clarity improvements.
3950 2000-09-30 Martin Buchholz <martin@xemacs.org>
3952 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
3954 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
3956 * config.h.in (HAVE_STRCASECMP): Remove.
3958 2000-09-29 Martin Buchholz <martin@xemacs.org>
3960 * redisplay-output.c (redisplay_output_pixmap):
3961 Cleaner and possibly more 64-bit correct code.
3963 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
3965 * dumper.c (pdump_load_finish): move restoration of
3966 `noninteractive1' to emacs.c (main_1).
3967 * emacs.c (main_1): protect LISP-visible command-line flags
3970 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
3972 * Makefile.in.in (versionclean): Use EXE_TARGET and
3973 DUMP_TARGET instead of literal program names.
3975 2000-09-20 Martin Buchholz <martin@xemacs.org>
3977 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
3979 2000-09-19 Martin Buchholz <martin@xemacs.org>
3981 * *: Spelling mega-patch
3983 2000-09-19 Martin Buchholz <martin@xemacs.org>
3985 * fns.c (bad_bad_turtle):
3986 Delete "Eek!" comment, since we fixed the bug to which it refers.
3988 2000-09-16 Martin Buchholz <martin@xemacs.org>
3990 * alloca.c: Replace REGISTER with register.
3992 2000-09-16 Daiki Ueno <ueno@unixuser.org>
3994 * file-coding.c (ucs_to_char): Use countof.
3996 2000-09-16 Martin Buchholz <martin@xemacs.org>
3998 * file-coding.c: (ucs_to_char):
3999 (complex_vars_of_file_coding):
4000 Use countof instead of sizeof.
4001 Use CHECK_NATNUM instead of CHECK_INT.
4003 * sysdep.c (strcasecmp): Remove.
4004 * device-x.c (ascii_strcasecmp): New.
4005 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
4006 Avoid using non-standard non-portable strcasecmp.
4008 2000-09-16 Martin Buchholz <martin@xemacs.org>
4010 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
4011 * font-lock.c: remove reference to emacsfns.h.
4012 * search.c: small doc improvement.
4013 * event-Xt.c: correct file names in comments.
4014 * console-x.h Correct file names in comments.
4015 * frame.c: Correct file names in comments.
4016 * event-stream.c: remove Energize from comments.
4018 2000-09-15 Martin Buchholz <martin@xemacs.org>
4020 * symeval.h (DEFERROR_STANDARD):
4023 (DEFSYMBOL_NO_DUMP):
4024 (DEFSYMBOL_MULTIWORD_PREDICATE):
4025 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
4027 The construct &##name is not sensible C.
4028 Fixes compilation errors with Unixware native compiler.
4030 2000-09-14 Martin Buchholz <martin@xemacs.org>
4032 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
4033 (next_frame_internal): Removed. We now just have next_frame.
4035 Write a simpler and cleaner one-pass algorithm.
4036 Remove called_from_delete_device arg and #ifdefed-out code.
4038 Renamed from prev_frame. Update callers.
4039 Cleaned up to have an analogous implementation to next_frame.
4040 (other_visible_frames_internal): Remove the
4041 called_from_delete_device bogus arg, and hence, remove this
4042 function. Just use other_visible_frames().
4044 * window.c (Fnext_window):
4046 Since next_frame() is guaranteed to return a frame, remove check
4047 for nil inserted in previous patch.
4050 Make code look more like Fnext_window.
4052 Respect the `console' arg when iterating through windows.
4053 Fixes bug: (get-buffer-window buffer t device) not respecting
4055 This function needs more work, as others have pointed out.
4057 * frame.h: Rename prev_frame to previous_frame.
4058 device_matches_console_spec no longer takes a `frame' arg.
4063 Use EMACS_BLOCK_SIGNAL instead of sigblock.
4064 From "Golubev I. N." <gin@mo.msk.ru>.
4066 * make-src-depend: Fix typo.
4068 2000-09-13 Martin Buchholz <martin@xemacs.org>
4070 * window.c (Fnext_window):
4071 next_frame() might return nil, not a frame.
4073 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4075 * frame.c (next_frame_internal):
4076 We've passed a frame if we've passed its device.
4078 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4079 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
4081 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4083 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
4084 Allow option to suppress accelerators in menu/dialog items.
4085 (populate_or_checksum_helper): Pass dialog title through above.
4087 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
4089 * event-msw.c (mswindows_key_to_emacs_keysym):
4090 Add "pause" key, fix "menu" key.
4092 2000-09-09 Martin Buchholz <martin@xemacs.org>
4094 * eval.c (reinit_vars_of_eval):
4095 Increase max_lisp_eval_depth to 1000,
4096 required for thai-xtis.el to byte-compile under some circumstances.
4098 2000-09-04 Martin Buchholz <martin@xemacs.org>
4100 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
4103 2000-09-01 Martin Buchholz <martin@xemacs.org>
4105 * make-src-depend: Make the generated Makefiles smaller.
4107 * s/hpux.h (SETUP_SLAVE_PTY):
4108 Provide a %d in the format string for the errno argument.
4110 * editfns.c (Ftemp_directory):
4112 Avoid buffer overrun on very long file name.
4114 * input-method-xlib.c (XIM_init_device):
4115 6th parameter of XRegisterIMInstantiateCallback has different
4116 pointer types on different OSes, so simply cast to (void *).
4118 * unexhp9k800.c: Warning fixes. Fiddly changes.
4120 * sysdll.c (dll_open):
4121 shl_load will hang hard if passed a NULL filename.
4122 Simply return NULL for compatibility with dlopen.
4123 * sysdll.c: Conform to XEmacs coding standards.
4125 * sysdep.c (get_pty_max_bytes):
4126 Support pty input lines longer than 512 bytes on HP-UX 10.20.
4128 2000-08-31 Martin Buchholz <martin@xemacs.org>
4130 * tooltalk.c: Add #include <syssignal.h>
4132 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
4134 * s/hpux.h: Don't use undefined function sigunblock().
4136 2000-08-31 Martin Buchholz <martin@xemacs.org>
4138 * config.h.in: Add HAVE_BALLOON_HELP.
4139 * emacs.c: Use HAVE_BALLOON_HELP.
4140 * Makefile.in.in (x_objs):
4141 Make Balloon Help conditional on finding shape.h.
4143 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
4145 * syntax.c (regex_emacs_buffer_p): New variable.
4146 * syntax.h (regex_emacs_buffer_p): extern.
4147 * search.c (looking_at_1):
4149 (fast_string_match):
4150 (search_buffer): Set regex_emacs_buffer_p.
4151 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
4152 when before_dot, at_dot, after_dot.
4154 2000-08-23 Andy Piper <andy@xemacs.org>
4156 * gui-x.c (popup_selection_callback): Only set action_occurred
4157 when we really have an image instance.
4158 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
4160 2000-08-23 Andy Piper <andy@xemacs.org>
4162 * gui-msw.c (mswindows_handle_gui_wm_command): set
4164 * gui-x.c (popup_selection_callback): ditto.
4166 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
4167 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
4168 (struct Lisp_Image_Instance): add action_occurred flag.
4170 * glyphs.c (redisplay_subwindow): use action_occurred flag.
4171 (image_instance_changed): ditto.
4172 (reset_frame_subwindow_instance_cache): only unmap windows - do
4173 not remove them from the cache also.
4175 * glyphs-widget.c (tab_control_update): better debug.
4176 (progress_gauge_update): ditto.
4177 (layout_update): ditto.
4178 (layout_instantiate): ditto.
4179 (tab_control_order_only_changed): cope with null pending items.
4181 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
4182 debug. Force selection of an item when an action occurred. Cope
4183 with null pending_items.
4184 (mswindows_progress_gauge_redisplay): better debug.
4185 * glyphs-x.c (x_tab_control_redisplay): ditto.
4187 * redisplay.c (redisplay_frame): reset the frame cache if the
4190 * window.c (Fset_window_configuration): potentially re-enable
4192 (window_unmap_subwindows): need to finalize instances here since
4193 it is only used in mark_window_as_deleted.
4195 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
4197 * nas.c (SndOpenDataForReading):
4198 nas.c (WaveOpenDataForReading):
4199 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
4200 Somehow escaped from the 2000-08-14 patch.
4202 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4204 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
4205 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
4207 2000-08-21 Andy Piper <andy@xemacs.org>
4209 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
4210 window if it is not already displayed.
4212 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
4213 it is not already displayed.
4215 * window.c (Fset_window_configuration): don't reset the frame
4218 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
4219 instances from the frame cache if we are actually finalizing them.
4220 (reset_frame_subwindow_instance_cache): reset frame cache only
4221 after unmapping everything.
4222 (map_subwindow): set displayed flag after mapping.
4224 2000-08-21 Martin Buchholz <martin@xemacs.org>
4226 * data.c (indirect_function):
4227 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
4229 * eval.c (function_argcount):
4230 Use original function when signaling errors.
4232 2000-08-18 Andy Piper <andy@xemacs.org>
4234 * frame.c (delete_frame_internal): use new
4235 free_frame_subwindow_instances name.
4237 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
4238 (add_tab_item): make return type correct.
4239 (mswindows_tab_control_instantiate): assert index of tab.
4240 (mswindows_tab_control_redisplay): Re-code to use
4241 gui_item_equal_sans_selected and gui_item_list_find_selected.
4243 * glyphs-widget.c (tab_control_update): Correct comment.
4245 * window.c (window_unmap_subwindows): use new
4246 unmap_subwindow_instance_cache_mapper.
4247 (window_unmap_subwindows_cache_mapper): deleted.
4248 (Fset_window_configuration): comparisons should now be with
4249 EQ. Preserve the subwindow instance cache across configuration
4251 (allocate_window): ditto.
4252 (make_dummy_parent): ditto.
4254 * glyphs.c (free_frame_subwindow_instances): rename from
4255 free_frame_subwindow_instance_cache. finalize all instances rather
4256 than just those in the display cache.
4257 (finalize_all_subwindow_instances): walk windows unmapping and
4258 finalizing subwindows.
4259 (unmap_subwindow_instance_cache_mapper): moved from
4260 window.c. Allow finalization as well as unmapping.
4262 * gui.c (gui_item_list_find_selected): new function.
4264 * gui.h (gui_item_list_find_selected): declare.
4266 * glyphs-x.c (x_tab_control_redisplay): pick tab
4267 explicitly. Re-code to use gui_item_equal_sans_selected and
4268 gui_item_list_find_selected.
4270 * glyphs-x.h: add lwlib-utils.h
4272 * buffer.c (Frecord_buffer): undo previous change.
4274 2000-08-09 Vin Shelton <acs@xemacs.org>
4276 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
4277 possible. Create temporary files more securely. The patch was
4278 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
4279 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
4280 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
4283 2000-08-07 Ben Wing <ben@xemacs.org>
4285 * getloadavg.c: remove duplicate (and windows-breaking)
4286 includes of fcntl.h and sys/file.h.
4288 * nt.c: remove duplicate getloadavg() definition.
4290 * sysdll.h (Qdll_filename_encoding): add missing stand-in
4293 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
4295 * eval.c (function_argcount): If function needs to be autoloaded
4296 actually use the loaded definition.
4299 2000-08-05 Ben Wing <ben@xemacs.org>
4301 * getloadavg.c: add prototype for getloadavg(). remove
4302 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
4303 of the code). remove duplicate header includes.
4305 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
4307 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
4308 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
4309 useful load average.
4311 * alloc.c (reinit_alloc_once_early): removed references to
4312 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
4313 the lisp vars are the only things referencing the malloc_sbrk_*
4314 vars, and they were already if 0'd out. these vars only exist
4315 in the older malloc.c, which is basically unused, and they're
4316 only for informational purposes.
4318 * m\*.h: removed useless VIRT_ADDR_VARIES.
4320 * m\powerpc.h: removed stray NO_ARG_ARRAY.
4322 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
4324 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
4325 color if the image is a mono pixmap.
4327 2000-07-30 Ben Wing <ben@xemacs.org>
4329 * Makefile.in.in (release):
4332 * buffer.c (directory_is_current_directory):
4333 * dired-msw.c (mswindows_get_files):
4335 * dired.c (Fdirectory_files):
4336 * dired.c (file_name_completion_stat):
4337 * dired.c (Ffile_attributes):
4338 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
4339 preprocessor tricks, to avoid problems on some machines
4342 * callproc.c (egetenv): GC docs.
4345 * console-msw.h (struct mswindows_dialog_id):
4346 * lrecord.h (lrecord_type):
4347 New object for use with MSW dialogs.
4349 * console.h (struct console_methods):
4350 New enable/disable frame methods, for proper modal dialogs.
4352 * device-msw.c (msprinter_default_printer): Fix to follow
4353 proper Mule conventions.
4356 * device-msw.c (signal_open_printer_error):
4357 * device-msw.c (msprinter_init_device):
4358 * device-msw.c (ensure_not_printing):
4359 * device-msw.c (plist_get_margin):
4360 * device-msw.c (Fmsprinter_select_settings):
4361 * device-msw.c (finalize_devmode):
4362 * device-msw.c (Fmsprinter_settings_despecialize):
4363 * device-msw.c (signal_enum_priner_error):
4364 * extents.c (decode_extent):
4365 * extents.c (decode_map_extents_flags):
4366 * extents.c (decode_extent_at_flag):
4367 * extents.c (Fextent_at):
4368 * extents.c (Fextents_at):
4369 * extents.c (symbol_to_glyph_layout):
4370 [[[[2]]]] Use structured errors.
4373 * dialog-msw.c (mswindows_is_dialog_msg):
4374 * dialog-msw.c (mark_mswindows_dialog_id):
4375 * dialog-msw.c (dialog_proc):
4376 * dialog-msw.c (handle_question_dialog_box):
4377 * dialog-msw.c (syms_of_dialog_mswindows):
4378 Define new object to clean up marking; use it as a dialog identifier.
4379 Call new delete-dialog-box-hook.
4381 * dialog-x.c (dbox_selection_callback):
4382 * dialog-x.c (dbox_descriptor_to_widget_value):
4383 * dialog-x.c (x_make_dialog_box_internal):
4384 Call new delete-dialog-box-hook.
4388 * dialog.c (syms_of_dialog):
4389 * dialog.c (vars_of_dialog):
4390 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
4393 * eval.c (signal_call_debugger):
4394 when noninteractive, output stack traces on the console instead
4395 of in a (never-seen) buffer.
4397 * eval.c (signal_type_error):
4398 * eval.c (invalid_argument_2):
4400 new funs for use w/structured errors.
4403 * event-Xt.c (x_to_emacs_keysym):
4404 * event-Xt.c (describe_event):
4405 * event-Xt.c (emacs_Xt_event_handler):
4406 * event-Xt.c (vars_of_event_Xt):
4408 * event-msw.c (mswindows_wnd_proc):
4409 * event-msw.c (vars_of_event_mswindows):
4410 rename {x,mswindows}-debug-events to debug-{}-events for
4411 consistency with other debug-foo variables.
4414 document next-event more clearly.
4416 * fileio.c (Ffile_name_directory):
4417 * fileio.c (Ffile_name_nondirectory):
4418 * fileio.c (Funhandled_file_name_directory):
4419 * fileio.c (file_name_as_directory):
4420 * fileio.c (Ffile_name_as_directory):
4421 * fileio.c (directory_file_name):
4422 * fileio.c (Fdirectory_file_name):
4423 * fileio.c (Fmake_temp_name):
4424 * fileio.c (Ffile_truename):
4425 * fileio.c (Fsubstitute_in_file_name):
4426 * fileio.c (expand_and_dir_to_file):
4427 * fileio.c (barf_or_query_if_file_exists):
4428 * fileio.c (check_executable):
4429 * fileio.c (Ffile_exists_p):
4430 * fileio.c (Ffile_writable_p):
4431 * fileio.c (Ffile_directory_p):
4432 * fileio.c (Ffile_regular_p):
4433 * fileio.c (Ffile_modes):
4434 * fileio.c (Ffile_newer_than_file_p):
4435 * fileio.c (Fverify_visited_file_modtime):
4436 * fileio.c (Fset_visited_file_modtime):
4437 * fileio.c (auto_save_1):
4442 * frame-msw.c (mswindows_init_frame_1):
4443 * frame-msw.c (mswindows_enable_frame):
4444 * frame-msw.c (error_frame_unsizable):
4445 * frame-msw.c (msprinter_init_frame_1):
4446 * frame-msw.c (msprinter_init_frame_3):
4447 * frame-msw.c (console_type_create_frame_mswindows):
4449 implement new enable/disable frame methods.
4452 * frame-x.c (x_enable_frame):
4453 * frame-x.c (console_type_create_frame_x):
4454 implement new enable/disable frame methods.
4457 * frame.c (Fdisable_frame):
4458 * frame.c (syms_of_frame):
4459 * frame.h (struct frame):
4460 implement new enable/disable frame methods/functions.
4465 * glyphs-msw.c (mswindows_widget_instantiate):
4466 comment that initial-focus should be implemented.
4469 * glyphs-widget.c (check_valid_instantiator):
4470 * glyphs-widget.c (check_valid_orientation):
4471 * glyphs-widget.c (check_valid_tab_orientation):
4472 * glyphs-widget.c (check_valid_justification):
4473 * glyphs-widget.c (check_valid_border):
4474 * glyphs-widget.c (check_valid_callback):
4475 * glyphs-widget.c (check_valid_int_or_function):
4476 * glyphs-widget.c (check_valid_string_or_vector):
4477 * glyphs-widget.c (check_valid_item_list_1):
4478 * glyphs-widget.c (widget_validate):
4479 * glyphs-widget.c (combo_box_validate):
4480 * glyphs-widget.c (widget_instantiate):
4481 * glyphs-widget.c (syms_of_glyphs_widget):
4482 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
4483 * glyphs-widget.c (image_instantiator_combo_box):
4484 * glyphs-widget.c (image_instantiator_scrollbar):
4485 * glyphs-widget.c (image_instantiator_tab_control):
4486 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
4488 support (unimplemented) keyword initial-focus.
4489 reindent long macros.
4491 * glyphs-x.c (x_redisplay_widget):
4492 * glyphs-x.c (x_button_instantiate):
4493 * glyphs-x.c (x_button_redisplay):
4494 * glyphs-x.c (x_progress_gauge_instantiate):
4495 * glyphs-x.c (x_edit_field_instantiate):
4496 * glyphs-x.c (x_combo_box_instantiate):
4497 * glyphs-x.c (x_tab_control_instantiate):
4498 * glyphs-x.c (x_label_instantiate):
4500 * gui-x.c (button_item_to_widget_value):
4501 * gui-x.c (gui_items_to_widget_values_1):
4502 * gui-x.c (gui_item_children_to_widget_values):
4503 * gui-x.c (gui_items_to_widget_values):
4505 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4506 add new flag to gui-parsing routines to indicate whether
4507 accelerator specs should be supported.
4509 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
4511 * glyphs.h (struct Lisp_Image_Instance):
4512 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
4513 add initial-focus flag.
4516 * gui.c (syms_of_gui):
4517 * gui.c (vars_of_gui):
4518 clean up menu-no-selection-hook.
4521 support delete-dialog-box-hook.
4523 * lread.c (Fload_internal):
4524 * lread.c (locate_file_in_directory_mapper):
4528 * lrecord.h (struct toolbar_button):
4529 * lrecord.h (syms_of_toolbar):
4530 document how to create a new object.
4532 * menubar-msw.c (mswindows_char_is_accelerator):
4533 may be called on frames w/o menus.
4535 * menubar.c (vars_of_menubar):
4536 clean up :filter docs.
4543 * process-nt.c (validate_signal_number):
4544 * process-nt.c (signal_cannot_launch):
4545 * process-nt.c (nt_create_process):
4546 * process-nt.c (nt_send_process):
4547 * process-nt.c (nt_kill_child_process):
4548 * process-nt.c (nt_open_network_stream):
4549 * process-nt.c (syms_of_process_nt):
4551 delete quote-handling. call new lisp code that does it better.
4553 * process-unix.c (connect_to_file_descriptor):
4554 * process-unix.c (allocate_pty):
4555 * process-unix.c (unix_send_process):
4556 * process-unix.c (unix_kill_child_process):
4557 * process-unix.c (unix_open_network_stream):
4558 * process-unix.c (unix_open_multicast_group):
4562 * process.c (Fstart_process_internal):
4563 (2). need to canonicalize process path even if absolute.
4565 * select-msw.c (symbol_to_ms_cf):
4566 * select-msw.c (ms_cf_to_symbol):
4567 * select-msw.c (cf_is_autofreed):
4568 * select-msw.c (mswindows_destroy_selection):
4570 * select.c (syms_of_select):
4572 support dibv5, fix bugs. (from Mike Alexander)
4574 * select.c (Fget_selection_internal):
4575 * select.c (select_convert_out):
4578 * sysdep.c (xemacs_stat):
4583 but keep original stat() here because we provide encapsulation
4587 * sysfile.h (fstat):
4588 remove stat garbage.
4592 don't include tchar.h. it's inappropriate because it makes
4593 compile-time distinctions when we want runtime distinctions.
4594 (we provide our own tchar replacements)
4597 use default object printer for toolbar-button.
4600 make sure we don't encapsulate.
4602 * window.c (vars_of_window):
4603 emphasize that temp-buffer-show-hook is obsolete.
4605 2000-08-05 Martin Buchholz <martin@xemacs.org>
4607 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
4608 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
4610 * events.c (Fevent_timestamp_lessp):
4611 Not 64-bit clean. Use EMACS_INT, not int.
4613 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
4615 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
4616 unsigned int and changed the last enum to
4617 lrecord_type_last_built_in_type.
4618 (lrecord_implementations_table): changed prototype to know how
4619 long the array is supposed to be.
4620 (lrecord_type_count): new unsigned int to keep track of the
4621 current number of lisp lrecord types.
4622 (DEFINE_EXTERNAL_LRECORD):
4623 (DECLARE_EXTERNAL_LRECORD): Added these two for external
4624 dynamic-modules to declare new lisp types. They are the same
4625 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
4626 int for each new type, and increment lrecord_type_count by 1.
4628 * alloc.c (lrecord_implementations_table): Changed to reference
4629 lrecord_type_last_built_in_type for the size of the array.
4630 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
4632 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4634 * glyphs.h (check_valid_item_list): Renamed from
4635 check_valid_item_list_1.
4637 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
4639 * select.c (Qselect_coerce): New.
4640 * select.c (Vselection_coercion_alist): New.
4641 * select.c (syms_of_select): Declare.
4642 * select.c (get-selection-internal): Use it.
4643 Use the new select-coerce functionality.
4645 * select.c (select_coerce): New.
4646 * select.h (select_coerce): Declare.
4647 New function to coerce one type of data into another.
4649 2000-08-03 Martin Buchholz <martin@xemacs.org>
4651 * callproc.c (Fcall_process_internal):
4652 (Fcall_process_internal):
4653 * process-unix.c (unix_create_process):
4654 Save and restore the value of errno, so that error messages are accurate.
4656 2000-08-01 Martin Buchholz <martin@xemacs.org>
4658 * elhash.c (print_hash_table):
4659 Fix printing of hash tables to also use `key-and-value' instead of `t'.
4660 Prettify docstrings and indentation.
4662 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4664 * window.c (Fwindow_pixel_edges): Subtract frame border and
4667 2000-07-31 Andy Piper <andy@xemacs.org>
4669 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
4670 will acknowledge the change.
4672 * glyphs.h: declare tab_control_order_only_changed.
4674 * glyphs-x.c (x_tab_control_redisplay): use
4675 tab_control_order_only_changed.
4677 * glyphs-widget.c (tab_control_order_only_changed): new function.
4679 * glyphs-msw.c (mswindows_tab_control_redisplay): use
4680 tab_control_order_only_changed.
4682 * gui.c (gui_item_equal_sans_selected): new function.
4683 (gui_item_equal): use it.
4685 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
4686 :properties in favor of :items..
4688 * glyphs-widget.c (check_valid_item_list): rename from
4689 check_valid_item_list_1.
4690 (check_valid_item_list_1): renamed.
4691 (combo_box_validate): deprecate :properties in favor of :items.
4692 (widget_instantiate): ditto.
4693 (tab_control_update): ditto.
4694 (image_instantiator_combo_box): ditto.
4695 (image_instantiator_tree_view): ditto.
4696 (image_instantiator_tab_control): ditto.
4697 (layout_post_instantiate): remove dead code.
4699 * print.c (debug_print_no_newline): only write to debugger if in
4702 * elhash.c (Fmake_hash_table): update doc string.
4704 * event-msw.c (mswindows_wnd_proc): don't allow processing of
4705 messages whilst in GC. This at least stops XEmacs crashing but has
4706 the potential for wierd behaviour.
4708 2000-07-31 Martin Buchholz <martin@xemacs.org>
4711 Make existence of s&m files optional.
4713 * s/bsd386.h: Remove HAVE_GETLOADAVG.
4714 * s/freebsd.h: Remove HAVE_GETLOADAVG.
4715 * s/gnu.h: Remove HAVE_GETLOADAVG.
4716 * s/netbsd.h: Remove HAVE_GETLOADAVG.
4717 * s/sol2.h: Remove HAVE_GETLOADAVG.
4718 * lisp.h: Remove getloadavg() declaration.
4720 Include <sys/loadavg.h> if available.
4721 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
4722 * config.h.in: Group together getloadavg()-related macros.
4723 Use only configure-time tests to detect getloadavg().
4725 2000-07-30 Martin Buchholz <martin@xemacs.org>
4727 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
4729 2000-07-25 Andy Piper <andy@xemacs.org>
4731 * syswindows.h: add tchar.h for native builds.
4733 * frame.c (syms_of_frame): remove set-glyph-image.
4735 * general-slots.h: add Qset_glyph_image.
4737 * glyphs-widget.c (layout_update): add domain arg to
4739 (syms_of_glyphs_widget): remove set-glyph-image.
4741 2000-07-23 Ben Wing <ben@xemacs.org>
4743 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
4746 2000-07-22 Andy Piper <andy@xemacs.org>
4748 * symsinit.h: add syms_of_win32().
4750 * gui-msw.c (syms_of_gui_mswindows): remove
4751 Fmswindows_shell_execute.
4752 (Fmswindows_shell_execute): moved to win32.c.
4754 * emacs.c (main_1): add syms_of_win32 ().
4756 * win32.c (init_potentially_nonexistent_functions): rewrite in
4757 compiler-friendly terms.
4758 (Fmswindows_shell_execute): move here from gui-msw.c.
4759 (syms_of_win32): new.
4761 * device-msw.c (Fmswindows_printer_list): clean up args to
4763 Don't include tchar under cygwin or mingw.
4764 (msprinter_default_printer): make cygwin-friendly.
4766 2000-07-21 Andy Piper <andy@xemacs.org>
4768 * glyphs-widget.c (image_instantiator_tree_view): use tab
4769 control's update function.
4770 (layout_property): new function. Retrieve items.
4772 * glyphs-msw.c (mswindows_tree_view_redisplay): new
4773 function. Re-populate the tree view from the pending items.
4775 * glyphs.c (instantiate_image_instantiator): Make sure the domain
4776 is designated the parent if the domain is an image instance. This
4777 is needed so that dirtiness can be cascade up the hierarchy and
4778 thus for layout children to be redisplayed correctly.
4779 (allocate_image_instance): rename glyph -> parent.
4781 * redisplay.h: change redisplay_output_layout signature.
4783 * redisplay-msw.c (mswindows_output_display_block): use domain
4786 * redisplay-x.c (x_output_display_block): use domain arg.
4788 2000-07-10 Andy Piper <andy@xemacs.org>
4790 * window.c (Fset_window_configuration): add comment.
4792 * redisplay-output.c (compare_runes):
4793 (redisplay_output_subwindow): redisplay rather than update subwindow.
4794 (redisplay_output_layout): ditto.
4796 * redisplay-msw.c (mswindows_frame_output_end):
4797 (mswindows_frame_output_end): make defer window pos optional.
4799 * lisp.h: add Flast.
4801 * glyphs.h (struct image_instantiator_methods): add dest_mask top
4802 normalize method. Change update method to be for changed
4803 instantiators. Add redisplay method. Change signature of layout
4805 (struct Lisp_Image_Instance): add instantiator.
4806 (IMAGE_INSTANCE_INSTANTIATOR): new.
4807 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
4808 (XIMAGE_INSTANCE_INSTANTIATOR): new.
4809 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
4812 (find_instantiator_differences): new function.
4813 (Fset_instantiator_property): new convenience function.
4814 (check_image_instance_structure): strictly check for vector
4816 (normalize_image_instantiator): make non-static.
4817 (instantiate_image_instantiator): pass on dest_mask and use new
4818 signatures for image_instance_layout and friends.
4819 (mark_image_instance): mark the instantiator. Mark the subwindow
4820 face not the widget face.
4821 (image_instance_equal): add instantiator.
4822 (image_instance_hash): ditto.
4823 (allocate_image_instance): ditto.
4824 (Fset_image_instance_property): removed.
4825 (Fimage_instance_file_name): ditto.
4826 (Fcolorize_image_instance): ditto.
4827 (image_instance_layout): add offsets to be set.
4828 (update_image_instance): new function. update an image instance
4829 from its changed instantiator.
4830 (inherit_normalize): add dest_mask.
4831 (xbm_normalize): ditto.
4832 (xface_normalize): ditto.
4833 (xpm_normalize): ditto.
4834 (text_update): set_property -> update.
4835 (image_instantiate): use the glyph identity as a hash key, not the
4837 (glyph_width): use new image_instance_layout signature.
4838 (glyph_ascent): ditto.
4839 (glyph_descent): ditto.
4840 (glyph_height): ditto.
4841 (glyph_query_geometry): ressurrect.
4842 (glyph_layout): ditto.
4843 (redisplay_subwindow): update -> redisplay.
4844 (syms_of_glyphs): add Fset_instantiator_property.
4845 (image_instantiator_format_create): set_property -> update.
4848 (autodetect_normalize): add dest_maks to signature.
4849 (x_redisplay_subwindow): update -> redisplay.
4850 (x_redisplay_widget): ditto.
4851 (x_button_redisplay): ditto.
4852 (x_progress_gauge_redisplay): ditto.
4853 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
4855 (console_type_create_glyphs_x): update -> redisplay.
4856 (image_instantiator_format_create_glyphs_x): ditto.
4859 (check_valid_instantiator): disallow glyphs in the instantiator,
4860 they must now be vectors.
4861 (check_valid_instantiator_list): ditto.
4862 (glyph_instantiator_to_glyph): use internal symbol rather than
4864 (widget_update): renamed from widget_set_property. Call cascaded
4866 (redisplay_widget): renamed from update_widget.
4867 (widget_layout): image_instance_layout now takes position as well
4869 (widget_normalize): ditto.
4870 (widget_instantiate): ditto.
4871 (tab_control_query_geometry) ditto.:
4872 (tab_control_update): renamed from tab_control_set_property.
4873 (progress_gauge_update): set_property -> update.
4874 (layout_normalize): rewrite so that child instantiators are
4876 (layout_update): new function. Create glyphs from the normalized
4877 children and cope with any other layout keywords. We do not
4878 instantiate children here that will be take care of by
4879 redisplay_output_layout.
4880 (layout_instantiate): call layout_update and not much else.
4881 (layout_post_instantiate): not sure whether this is needed
4883 (layout_query_geometry): query glyph geometry rather than
4884 image_instance geometry.
4885 (layout_layout): set offsets from pass in parameters. Use glyph
4886 geometry and layout functions rather than image instance ones.
4887 (native_layout_layout): ditto.
4888 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
4889 (image_instantiator_widget): set_property -> update.
4890 (image_instantiator_buttons): ditto.
4891 (image_instantiator_progress_guage): ditto.
4892 (image_instantiator_tab_control): ditto.
4893 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
4894 (image_instantiator_layout): add update method.
4896 * glyphs-msw.c (bmp_normalize):
4897 (mswindows_resource_normalize): add dest_mask so that it can be
4898 proprogated by layout_normalize.
4899 (begin_defer_window_pos): make optional because it may not be the
4900 right thing to do and it introduces differences with X.
4901 (mswindows_unmap_subwindow): ditto.
4902 (mswindows_map_subwindow): ditto.
4903 (mswindows_redisplay_subwindow): renamed from
4904 mswindows_update_subwindow.
4905 (mswindows_redisplay_widget): ditto.
4906 (mswindows_button_redisplay): renamed from
4907 mswindows_button_update. Update is now what the instantiation
4908 function does for a changed instantiator.
4909 (mswindows_progress_gauge_instantiate): set the progress value
4910 here if appropriate.
4911 (mswindows_tab_control_redisplay): cope with re-ordering of the
4912 members of the tab widget by simply selecting the new top
4913 widget. This makes things appear ok if you click on a tab.
4914 (mswindows_combo_box_instantiate): image_instance_layout now takes
4915 position as well as size.
4916 (mswindows_progress_gauge_redisplay): renamed from
4917 mswindows_progress_gauge_update.
4918 (console_type_create_glyphs_mswindows): fix update -> redisplay.
4919 (image_instantiator_format_create_glyphs_mswindows): ditto.
4921 * glyphs-eimage.c (jpeg_normalize):
4924 (tiff_normalize): add dest_mask so that it can be proprogated by
4929 (hash_table_weakness_validate):
4930 (decode_hash_table_weakness):
4931 (Fhash_table_weakness):
4933 (syms_of_elhash): use Ben's naming scheme for hashtable types..
4935 * console.h (struct console_methods): move update_* to
4938 2000-07-20 Ben Wing <ben@xemacs.org>
4940 * *.[ch] (XSETOBJ): remove unused middle argument.
4941 lisp-disunion.h: correct wrap_object() to one argument.
4943 2000-07-15 Ben Wing <ben@xemacs.org>
4946 * s/cygwin32.h (CYGWIN_CONV_PATH):
4947 Add missing logb prototype for v1.1.
4948 Use post-b20 names and alias to pre-b20 names when pre-b20.
4950 * s/windowsnt.h: [5].
4952 2000-07-15 Ben Wing <ben@xemacs.org>
4954 * Makefile.in.in (x_objs):
4955 * Makefile.in.in (sheap_objs):
4956 * Makefile.in.in (objs):
4957 added win32.o, cosmetic cleanups.
4959 * alloc.c (Fmake_byte_code):
4960 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
4961 etc. macros which declare their own args now.
4963 * alloc.c (syms_of_alloc):
4964 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
4967 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
4969 * buffer.c (Fget_file_buffer):
4970 Fixed GCPRO problem.
4972 * buffer.c (get_truename_buffer):
4973 Fixed comment about GC checking.
4975 * buffer.c (syms_of_buffer):
4976 Undeclared those dedicated frame funs.
4980 Define convenience macros for internal/external conversions.
4981 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
4982 and Qenvironment_variable_encoding for cleaner code.
4985 Remove dedicated-frame; in lisp.
4987 * bytecode.c (funcall_compiled_function):
4990 * bytecode.c (syms_of_bytecode):
4994 * console-msw.c (mswindows_show_console): Rewrote.
4996 * console-msw.c (Fmswindows_debugging_output): New.
4997 Sends to OutputDebugString (special MSWin debugger interface).
4999 * console-msw.c (Fmswindows_message_box):
5000 Fixed stupid bugs so it works when called from kill-emacs.
5002 * console-msw.c (syms_of_console_mswindows):
5003 Declare Fmswindows_debugging_output.
5006 New MSWin prototypes.
5008 * console-msw.h (struct mswindows_frame):
5009 New entry last-click-mods for improved button-modifier support.
5011 * console-msw.h (FRAME_MSWINDOWS_POPUP):
5012 New struct entry `popup' with corresponding accessor.
5015 * console-x.c (split_up_display_spec):
5016 * console-x.c (get_display_arg_connection):
5017 * console-x.c (x_semi_canonicalize_console_connection):
5018 * console-x.c (x_canonicalize_device_connection):
5019 [[[6]]]: Change char to more specific type.
5020 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
5022 * console-x.c (x_semi_canonicalize_console_connection):
5023 * console-x.c (x_canonicalize_device_connection):
5024 [[[9]]]: Fix up error signalling to use new structured error system.
5027 [[[4]]]: Define codesys aliases:
5028 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
5029 Qx_color_name_encoding, Qx_display_name_encoding.
5031 * console.h (struct console_methods):
5032 New method make_dialog_box_internal supersedes older
5033 popup_dialog_box method.
5036 Define many new errors, part of new structured errors.
5038 * data.c (init_errors_once_early):
5039 * data.c (syms_of_data):
5042 * device-msw.c (mswindows_init_device):
5043 [[[5]]]: Cleanup to support NT 3.51.
5045 * device-msw.c (decode_devmode): Cleanup.
5047 * device-msw.c (mswindows_handle_print_setup_dialog_box):
5048 * device-msw.c (mswindows_handle_print_dialog_box):
5049 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5050 * device-msw.c (syms_of_device_mswindows):
5051 Delete the dialog box primitives recently introduced by Kirill and
5052 instead interface to general dialog box interface.
5055 * device-x.c (compute_x_app_name):
5056 * device-x.c (x_init_device):
5057 * device-x.c (Fx_valid_keysym_name_p):
5058 * device-x.c (Fx_set_font_path):
5062 * device.h (wrap_device): New.
5063 First of its kind; meant to replace XSETDEVICE.
5065 * dialog-msw.c: Many file-dialog symbols.
5067 * dialog-msw.c (mswindows_register_popup_frame): New.
5068 * dialog-msw.c (mswindows_is_dialog_msg): New.
5069 For supporting kbd traversal in dialog boxes.
5071 * dialog-msw.c (dialog_proc):
5072 Support hitting ESC in dialogs.
5074 * dialog-msw.c (struct):
5075 Common dialog box errors.
5077 * dialog-msw.c (handle_file_dialog_box): New.
5078 Add file dialog code.
5080 * dialog-msw.c (handle_question_dialog_box):
5081 Redo existing code to support new question dialog syntax.
5083 * dialog-msw.c (console_type_create_dialog_mswindows):
5084 We support new dialog console method.
5086 * dialog-msw.c (syms_of_dialog_mswindows):
5087 * dialog-msw.c (vars_of_dialog_mswindows):
5088 New file dialog symbols, vars.
5091 * dialog-x.c (maybe_run_dbox_text_callback):
5092 * dialog-x.c (dbox_descriptor_to_widget_value):
5093 * dialog-x.c (x_make_dialog_box_internal):
5094 * dialog-x.c (console_type_create_dialog_x):
5095 Mule-ize entire file.
5096 Redo to support question dialog syntax.
5100 * dialog.c (Fmake_dialog_box_internal):
5101 * dialog.c (syms_of_dialog):
5102 Kill old popup-dialog-box, replace with new primitive.
5103 Just call device method or signal error.
5105 * eldap.c (Fldap_open):
5106 * eldap.c (Fldap_search_basic):
5107 * eldap.c (Fldap_add):
5108 * eldap.c (Fldap_modify):
5113 * emacs.c (make_arg_list_1):
5114 * emacs.c (make_arg_list):
5115 Mule-ize call to dll_init().
5119 * emacs.c (make_argc_argv):
5120 * emacs.c (free_argc_argv):
5121 * emacs.c (init_cmdargs):
5123 * emacs.c (Fkill_emacs):
5124 * emacs.c (Fdump_emacs):
5125 Update comments about what can be used in syms_* etc.
5126 Call init_win32() when necessary.
5127 Fix up MS Win dialog box in kill-buffer to actually work right.
5138 * eval.c (condition_case_3):
5140 * eval.c (function_argcount):
5141 * eval.c (funcall_lambda):
5144 * eval.c (type_error): New.
5145 * eval.c (maybe_type_error): New.
5146 * eval.c (continuable_type_error): New.
5147 * eval.c (maybe_continuable_type_error): New.
5148 * eval.c (type_error_with_frob): New.
5149 * eval.c (maybe_type_error_with_frob): New.
5150 * eval.c (continuable_type_error_with_frob): New.
5151 * eval.c (maybe_continuable_type_error_with_frob): New.
5152 New functions for use with structured errors.
5155 * event-Xt.c (x_event_to_emacs_event):
5156 Buttons are now modifiers too.
5158 * event-Xt.c (emacs_Xt_current_event_timestamp):
5159 Implement new event method.
5160 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
5163 * event-msw.c (ntpipe_shove_writer): [5].
5164 * event-msw.c (mswindows_enqueue_mouse_button_event):
5165 * event-msw.c (mswindows_drain_windows_queue):
5166 * event-msw.c (mswindows_wnd_proc): [7].
5167 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
5168 * event-msw.c (mswindows_modifier_state):
5169 Throughout: support new button modifiers.
5171 * event-msw.c (emacs_mswindows_current_event_timestamp):
5172 Implement new event method.
5173 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
5176 * event-stream.c (event_stream_current_event_timestamp): New.
5177 * event-stream.c (maybe_kbd_translate): New functionality.
5178 * event-stream.c (vars_of_event_stream):
5179 Document new kbd-translate-table functionality.
5181 * event-stream.c (Fcurrent_event_timestamp): New.
5182 New primitive for use in fabricated events.
5183 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
5185 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
5188 * events.c (Fmake_event):
5189 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
5193 * events.c (format_event_object): fix gcc warnings.
5195 * events.c (Fevent_timestamp): Document new primitives.
5197 * events.c (TIMESTAMP_HALFSPACE): New.
5199 * events.c (Fevent_timestamp_lessp): New. New primitive for
5200 comparing timestamps correctly (half-space algorithm).
5202 * events.c (Fevent_modifier_bits): Doc fix.
5204 * events.c (Fevent_modifiers): Major doc addition.
5205 * events.c (event_x_y_pixel_internal): Typo fix.
5206 * events.c (syms_of_events): Declare new primitives.
5209 Update long comment for button modifiers, timestamps.
5211 * events.h (struct event_stream):
5212 New current_event_timestamp method.
5215 * extents.c (extent_in_region_p):
5216 * extents.c (decode_extent):
5217 * extents.c (Fset_extent_parent):
5218 * extents.c (decode_map_extents_flags):
5222 * extents.c (struct extent_at_arg):
5223 * extents.c (decode_extent_at_flag):
5224 * extents.c (extent_at_mapper):
5225 * extents.c (extent_at_bytind):
5226 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
5227 * extents.c (Fextents_at): New primitive. [9].
5228 * extents.c (symbol_to_glyph_layout): [9].
5229 Support new primitive `extents-at'.
5232 * extents.c (get_text_property_bytind):
5233 extent_at_bytind has another arg.
5236 * extents.c (syms_of_extents): New primitive.
5238 * file-coding.c (Fmake_coding_system): [1].
5239 * file-coding.c (subsidiary_coding_system): fix gcc warning
5240 * file-coding.c (syms_of_file_coding): [2].
5242 * fileio.c (Fexpand_file_name):
5243 * fileio.c (Fsysnetunam):
5244 * fileio.c (Ffile_exists_p):
5245 * fileio.c (Ffile_executable_p):
5246 * fileio.c (Fverify_visited_file_modtime):
5249 * fileio.c (syms_of_fileio): [2].
5251 * filelock.c (lock_file_1):
5252 * filelock.c (current_lock_owner):
5253 * filelock.c (lock_if_free):
5254 * filelock.c (lock_file):
5255 * filelock.c (unlock_file):
5258 * fns.c (concat): Fix gcc warning.
5261 * fns.c (Fold_member):
5263 * fns.c (Fold_memq):
5264 * fns.c (memq_no_quit):
5266 * fns.c (Fold_assoc):
5268 * fns.c (Fold_assq):
5269 * fns.c (assq_no_quit):
5271 * fns.c (Fold_rassoc):
5273 * fns.c (Fold_rassq):
5274 * fns.c (rassq_no_quit):
5276 * fns.c (Fold_delete):
5278 * fns.c (Fold_delq):
5279 * fns.c (delq_no_quit):
5280 * fns.c (Fremassoc):
5282 * fns.c (remassq_no_quit):
5283 * fns.c (Fremrassoc):
5284 * fns.c (Fremrassq):
5285 * fns.c (remrassq_no_quit):
5290 * frame-msw.c (mswindows_init_frame_1):
5291 * frame-msw.c (mswindows_delete_frame):
5292 Register popups with dialog code so keyboard traversing works.
5294 * frame-tty.c (tty_raise_frame_no_select): [1].
5297 * frame-x.c (x_set_frame_text_value):
5298 * frame-x.c (x_set_frame_properties):
5299 * frame-x.c (x_create_widgets):
5303 * frame.c (Fmouse_pixel_position): Minor doc fixes.
5305 * frame.h (wrap_frame): New.
5306 Macro like wrap_device.
5309 * general.c (SYMBOL):
5310 * general.c (syms_of_general):
5311 Major reorg. This is now just a wrapper and symbols themselves
5312 are listed in general-slots.h.
5314 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
5315 * glyphs-msw.c (mswindows_resource_instantiate): [5].
5317 * glyphs-msw.c (mswindows_native_layout_instantiate):
5318 Add DS_CONTROL so keyboard traversal will work.
5321 * glyphs-widget.c (syms_of_glyphs_widget):
5322 Move some symbols to general-slots.h.
5325 * glyphs-x.c (xbm_instantiate_1):
5326 * glyphs-x.c (x_xbm_instantiate):
5327 * glyphs-x.c (x_xface_instantiate):
5328 * glyphs-x.c (autodetect_instantiate):
5329 * glyphs-x.c (cursor_font_instantiate):
5330 * glyphs-x.c (x_update_widget):
5331 * glyphs-x.c (x_widget_instantiate):
5332 * glyphs.c (bitmap_to_lisp_data):
5333 * glyphs.c (pixmap_to_lisp_data):
5336 * glyphs.c (syms_of_glyphs):
5340 * gui-x.c (print_widget_value):
5341 * gui-x.c (menu_separator_style_and_to_external):
5342 * gui-x.c (add_accel_and_to_external):
5343 * gui-x.c (button_item_to_widget_value):
5344 * gui-x.c (gui_items_to_widget_values_1):
5345 * gui-x.c (gui_items_to_widget_values):
5346 * gui-x.c (syms_of_gui_x):
5347 * gui-x.c (vars_of_gui_x):
5348 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
5352 Muleize, prototype changes matching gui-x.c.
5355 * gui.c (separator_string_p):
5356 * gui.c (gui_item_add_keyval_pair):
5357 * gui.c (make_gui_item_from_keywords_internal):
5358 * gui.c (signal_too_long_error):
5359 * gui.c (parse_gui_item_tree_item):
5360 * gui.c (syms_of_gui):
5361 * gui.c (vars_of_gui):
5363 menu-no-selection-hook moved here (used by MSWin).
5364 Move some symbols to general-slots.h.
5368 * insdel.c (get_buffer_pos_char):
5369 * insdel.c (get_buffer_range_char):
5372 * keymap.c (keymap_lookup_directly):
5373 * keymap.c (keymap_store):
5374 * keymap.c (ensure_meta_prefix_char_keymapp):
5375 * keymap.c (describe_map):
5377 Support new button modifiers.
5379 * lisp-disunion.h (wrap_object):
5380 * lisp-disunion.h (XSETOBJ):
5381 Rename make_obj to wrap_object.
5384 * lisp-union.h (make_int):
5385 * lisp-union.h (make_char):
5386 Support wrap_object.
5389 * lisp.h (LIST_LOOP):
5390 * lisp.h (EXTERNAL_LIST_LOOP):
5391 * lisp.h (LIST_LOOP_2):
5392 * lisp.h (EXTERNAL_LIST_LOOP_1):
5393 * lisp.h (EXTERNAL_LIST_LOOP_2):
5394 * lisp.h (EXTERNAL_LIST_LOOP_3):
5395 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
5396 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5397 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
5398 * lisp.h (EXTERNAL_ALIST_LOOP_5):
5399 * lisp.h (EXTERNAL_ALIST_LOOP_6):
5400 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
5401 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
5402 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
5403 * lisp.h (struct Lisp_Symbol):
5404 * lisp.h (maybe_continuable_error_with_frob):
5405 Fix up section comments.
5406 Add new types for char to indicate usage.
5407 Delete symbols auto-generated from general-slots.h.
5408 Add prototypes for structured error functions.
5409 Add long comments describing looping macros and change interface
5410 so that lvalues are automatically declared.
5411 Add NO_DECLARE macro in case callers want to declare lvalues
5414 * lread.c (read_syntax_error):
5415 * lread.c (continuable_read_syntax_error):
5416 * lread.c (read_structure):
5417 * lread.c (sequence_reader):
5418 * lread.c (read_list_conser):
5419 * lread.c (read_compiled_function):
5420 Rename syntax_error and continuable_syntax_error to avoid clash
5421 with same-named structured error functions.
5423 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5424 * menubar-msw.c (populate_menu_add_item):
5425 * menubar-msw.c (populate_or_checksum_helper):
5430 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5431 Mule-ize whole file.
5433 * menubar.c (Fnormalize_menu_item_name): Add optimization.
5435 * mule-charset.c (Fmake_charset):
5436 * mule-wnnfns.c (Fwnn_set_param):
5439 * ntproc.c (create_child):
5440 * ntproc.c (Fwin32_set_current_locale):
5441 Add comments portending doom.
5444 * objects-msw.c (old_font_enum_callback_2):
5445 * objects-msw.c (font_enum_callback_1):
5446 * objects-msw.c (mswindows_enumerate_fonts):
5450 * objects-x.c (allocate_nearest_color):
5451 * objects-x.c (x_parse_nearest_color):
5452 * objects-x.c (x_initialize_color_instance):
5453 * objects-x.c (x_print_color_instance):
5454 * objects-x.c (x_finalize_color_instance):
5455 * objects-x.c (x_valid_color_name_p):
5456 * objects-x.c (x_initialize_font_instance):
5457 * objects-x.c (x_print_font_instance):
5458 * objects-x.c (valid_x_font_name_p):
5459 * objects-x.c (truename_via_FONT_prop):
5460 * objects-x.c (truename_via_random_props):
5461 * objects-x.c (truename_via_XListFonts):
5462 * objects-x.c (x_font_truename):
5463 * objects-x.c (x_font_instance_truename):
5464 * objects-x.c (x_font_instance_properties):
5465 * objects-x.c (x_list_fonts):
5466 * objects-x.c (x_find_charset_font):
5467 Mule-ize entire file.
5474 * print.c (std_handle_out_external):
5475 * print.c (debug_print_no_newline):
5476 * print.c (syms_of_print):
5477 Output to all debugger kinds in debug-print.
5478 Fix console-output code under MSWin to actually work.
5480 * process-nt.c (send_signal):
5481 * process-nt.c (nt_create_process):
5482 Use newer Unicode macros.
5484 * process-unix.c (unix_create_process):
5485 * process-unix.c (unix_canonicalize_host_name):
5486 * process-unix.c (unix_open_network_stream):
5492 * search.c (syms_of_search):
5495 * select-msw.c (mswindows_destroy_selection):
5498 * select-x.c (symbol_to_x_atom):
5501 * select.c (syms_of_select):
5504 * sound.c (Fplay_sound_file):
5508 * specifier.c (decode_specifier_type):
5509 * specifier.c (Fvalid_specifier_locale_type_p):
5510 * specifier.c (check_valid_locale_or_locale_type):
5511 * specifier.c (decode_locale):
5512 * specifier.c (decode_locale_type):
5513 * specifier.c (decode_locale_list):
5514 * specifier.c (check_valid_domain):
5515 * specifier.c (decode_specifier_tag_set):
5516 * specifier.c (Fcanonicalize_tag_set):
5517 * specifier.c (Fdefine_specifier_tag):
5518 * specifier.c (Fspecifier_tag_predicate):
5519 * specifier.c (check_valid_inst_list):
5520 * specifier.c (check_valid_spec_list):
5521 * specifier.c (decode_how_to_add_specification):
5522 * specifier.c (check_modifiable_specifier):
5523 * specifier.c (specifier_add_spec):
5524 * specifier.c (boolean_validate):
5525 * specifier.c (display_table_validate):
5528 * specifier.c (syms_of_specifier):
5529 Move some symbols to general-slots.h.
5533 * symbols.c (Fmapatoms):
5534 * symbols.c (Fapropos_internal):
5537 * symbols.c (set_default_buffer_slot_variable):
5538 * symbols.c (set_default_console_slot_variable):
5541 * symbols.c (defsymbol_massage_name_1):
5542 * symbols.c (defkeyword_massage_name):
5543 * symbols.c (deferror_1):
5544 * symbols.c (deferror):
5545 * symbols.c (deferror_massage_name_and_message):
5547 * symeval.h (DEFSYMBOL):
5548 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
5550 * symbols.c (syms_of_symbols):
5554 * symsinit.h (init_win32): New.
5555 Also new is syms_of_dialog_mswindows.
5558 Add new Unicode macros, missing Cygwin wide-char functions,
5559 convenience conversion macros for Qmswindows_tstr, macros for
5560 encapsulating required MSWin <-> Cygwin filename conversions,
5561 prototype for dynamically-extracted (not in NT 3.51) functions.
5566 * tooltalk.c (Fadd_tooltalk_message_arg):
5567 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
5568 * tooltalk.c (Fadd_tooltalk_pattern_arg):
5571 * tooltalk.c (syms_of_tooltalk):
5575 * unexnt.c (unexec):
5576 Fix up headers, declaration of unexec() to be more standard.
5578 2000-07-20 Martin Buchholz <martin@xemacs.org>
5580 * offix.h: Revert change to guard macros - they're used in offix.c!
5582 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5584 * lisp.h: Defsubred Fdelete.
5586 * console-msw.h: (msprinter_default_printer): Added.
5588 * console-msw.c (msprinter_canonicalize_console_connection):
5589 (msprinter_canonicalize_device_connection): Added.
5591 * device-msw.c (msprinter_default_printer):
5592 (Fmswingows_get_default_printer):
5593 (signal_enum_priner_error):
5594 (Fmswingows_printer_list): Added.
5596 2000-07-19 Martin Buchholz <martin@xemacs.org>
5598 * XEmacs 21.2.35 is released.
5600 2000-07-19 Martin Buchholz <martin@xemacs.org>
5602 * select-x.c (x_handle_selection_request):
5603 Text selected in xemacs and pasted into xterm failed to appear.
5604 Spelling fixes and cosmetic changes.
5606 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5608 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
5609 XEmacs frame (fix for doubling chars in dialog boxes).
5611 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5613 * select.c (select_convert_in, select_convert_out):
5614 Don't call intern() every time.
5616 * select.c (Qselect_convert_in, Qselect_convert_out): New.
5617 * select.c (vars_of_select): Initialise them.
5619 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5621 * select.c (selection-coercible-types): New.
5623 * select.c (own-selection-internal):
5624 * select.c (get-selection-internal):
5625 MULE bug fix - these should default to COMPOUND_TEXT and not
5626 STRING for MULE. I think.
5628 * select.c (select_convert_out): Use selection-coercible-types
5629 to find types that we can attempt to perform coercions on.
5631 2000-07-18 Martin Buchholz <martin@xemacs.org>
5635 Add coding: cookie to identify encoding.
5637 * mule-canna.c (CANNA_mode_keys): make static.
5638 Use proper prototypes, even for functions of no arguments.
5639 Remove external prototype for Fding().
5641 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
5643 * select.c (syms_of_select): Add missing DEFSUBR.
5645 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5647 * select.c (get_selection_internal, own_selection_internal):
5648 Make the type default to STRING, rather than placing a nil type
5649 into Vselection_alist.
5651 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5653 * gpmevent.c (tty_selection_exists_p):
5654 * gpmevent.c (tty_own_selection):
5655 Updated parameter lists.
5657 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
5659 * select.h (selection-alist): Removed declaration.
5661 * select.h (get_local_selection):
5662 * select.c (get_local_selection):
5665 * select.h (convert_selection): Removed declaration.
5666 * select.c (convert_selection): Removed.
5667 This function belongs in Lisp.
5669 * select.h (select_convert_in): Declare.
5670 * select.h (select_convert_out): Declare.
5671 * select.c (select_convert_in): New.
5672 * select.c (select_convert_out): New.
5673 New conversion functions for other files to call.
5675 * select.h (select_notify_buffer_kill): Declare.
5676 * select.c (select_notify_buffer_kill): New.
5677 New functions that get called from kill-buffer.
5679 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
5680 X-specific lisp code.
5682 * select.h: Declare some of the lisp-visible functions for
5685 * select.c (clean_local_selection_data): Removed. This was
5686 a disgusting function, and previously should have been in
5687 select-x.c in any case. The functionality is now provided
5688 in select-convert-from-integer (select.el).
5690 * select.c (available-selection-types): Fixed stupidity where
5691 INTEGER and ATOM got added twice. Also add STRING when we see an
5694 * select.c (get-selection-internal): Removed symbol stripping. No
5695 longer causes conversion when data comes from the internal cache.
5697 * select.c (syms_of_select): Added new functions.
5699 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
5700 error checking - previously this called abort!
5702 * select-x.c (x_own_selection): Changed comment.
5704 * select-x.c (x_handle_selection_request): Use select_convert_out.
5705 Don't mess with selection-alist; it's an internal variable of select.c.
5707 * select-x.c (x_get_foreign_selection): Use select_convert_in.
5709 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
5710 rather than messing with selection-alist.
5712 * select-msw.c (mswindows_get_foreign_selection):
5713 Use TO_INTERNAL_FORMAT rather than hacking.
5715 2000-07-14 Martin Buchholz <martin@xemacs.org>
5717 * process-unix.c (unix_open_multicast_group):
5718 (unix_open_multicast_group): Remove useless casts.
5720 2000-07-13 Martin Buchholz <martin@xemacs.org>
5722 * sound.c (Fplay_sound): Fix `unused variable' warning.
5724 * emacs.c (main): Use correct type for _environ on SCO5.
5726 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
5728 * console.h (own_selection_method):
5729 * console.h (selection_exists_p_method):
5730 * console.h (available_selection_types_method): New.
5731 * console.h (register_selection_data_type_method): New.
5732 * console.h (selection_data_type_name): New.
5734 * console-msw.h (mswindows_destroy_selection): Declare it. New
5735 function & alist to track GlobalAlloc()'d handles that need
5736 releasing when the clipboard data gets replaced or emptied.
5738 * event-msw.c (mswindows_wnd_proc): Call it.
5740 * lisp.h, general.c (Qappend): New symbol representing a
5743 * select.c (own-selection-internal):
5744 * select.c (selection-exists-p):
5745 * select.c (available-selection-types): New.
5746 * select.c (register-selection-data-type): New.
5747 * select.c (selection-data-type-name): New. New functions to deal
5748 with device-specific selection data formats.
5749 * select.c (selection-converter-out-alist): Renamed.
5750 * select.c (selection-converter-in-alist): New.
5751 * select.c (selection-appender-alist): New. Added new alists.
5752 * select.c (syms_of_select, vars_of_select): Added new symbols &
5754 * select.c (get_local_selection): Split.
5755 * select.c: Removed spurious type checking - selections may now be
5756 of any type, not just strings.
5757 * select.c (own-selection-internal):
5759 * select.h, select.c (convert_selection): New. Created
5760 convert_selection() function based on get_local_selection().
5761 * select.h, select.c (QCF_*): New symbols representing mswindows
5763 * select.h, select.c (Qreplace_all, Qreplace_existing): New
5764 symbols representing `how-to-add' modes.
5766 * select-msw.c (x_sym_p): New.
5767 * select-msw.c (symbol_to_ms_cf): New.
5768 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
5769 symbols & clipboard formats. Can also handle string names.
5770 * select-msw.c (mswindows_own_selection):
5771 * select-msw.c (mswindows_selection_exists_p):
5772 Added `data-type' parameter. Use it.
5773 * select-msw.c (mswindows_available_selection_types): New.
5774 * select-msw.c (mswindows_register_selection_data_type): New.
5775 * select-msw.c (mswindows_selection_data_type_name): New.
5776 * select-msw.c (mswindows_own_selection):
5777 * select-msw.c (mswindows_get_foreign_selection):
5778 * select-msw.c (mswindows_selection_exists_p): Rewrote.
5779 * select-msw.c (console_create_select_mswindows): Added new methods.
5780 * select-msw.c (mswindows_destroy_selection): New.
5781 * select-msw.c (Vhandle_alist): New list.
5782 * select-msw.c (mswindows_own_selection):
5784 * select-x.c (x_own_selection):
5785 * select-x.c (x_selection_exists_p):
5786 * select-x.c: Added some comments about maybe using new
5788 * select-x.c (x_own_selection):
5790 * specifier.c: Remove definition of Qappend (now in general.c)
5791 * specifier.c (syms_of_specifier): Remove Qappend.
5793 2000-07-12 Martin Buchholz <martin@xemacs.org>
5795 * config.h.in: Add socklen_t.
5797 * s/decosf4-0.h: No special compiler flags needed or desired.
5798 In particular, undefine _BSD for DEC OSF 4.0.
5800 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5802 * redisplay-msw.c (msprinter_frame_output_end): Added.
5803 (console_type_create_redisplay_mswindows): Referred the above.
5805 * frame.c (setup_frame_without_minibuffer): Do not create a
5806 default minibuffer frame on a printer device.
5808 * frame-msw.c (apply_dc_geometry): Added.
5809 (msprinter_start_page):
5810 (msprinter_init_frame_3):
5811 (msprinter_eject_page): Use it.
5813 * console-msw.h (struct msprinter_frame): Added pix_left and top,
5814 and removed residual duplex and orientation properties.
5816 2000-07-11 Martin Buchholz <martin@xemacs.org>
5818 * eval.c (function_argcount): Work around a DEC CC compiler bug.
5820 * unexalpha.c: Remove system prototypes from C sources!
5822 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
5824 * eval.c: Remove references to M-x edit-options in DEFUNs for
5825 `defvar' and `defconst'.
5827 2000-07-09 Martin Buchholz <martin@xemacs.org>
5829 * config.h.in: Remove SMART_INCLUDE hackery.
5832 * config.h.in: Don't use SMART_INCLUDE.
5834 * postgresql.h: Include libpq-fe.h here. Fix typo.
5835 * inline.c: Simply #include "postgresql.h"
5837 - Don't use SMART_INCLUDE
5838 - Use simply "const".
5839 - Use standard doc string conventions.
5840 - Use correct type for result of PQstatus.
5842 2000-07-09 Martin Buchholz <martin@xemacs.org>
5844 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
5846 C++ compilation changes.
5847 * config.h.in (EXTERN_C): Define.
5848 * config.h.in (not): This is also a C++ keyword.
5849 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
5850 * cm.c: Use EXTERN_C.
5851 * redisplay-tty.c: Use EXTERN_C.
5852 * sysdep.c: Use EXTERN_C. Remove Gould support.
5854 2000-07-09 Martin Buchholz <martin@xemacs.org>
5856 * general.c: Remove duplicate definition for Qfunction.
5858 2000-07-08 Ben Wing <ben@xemacs.org>
5860 * device-msw.c (msprinter_init_device):
5861 * device-msw.c (sync_printer_with_devmode):
5862 * device-msw.c (handle_devmode_changes):
5863 * device-msw.c (print_dialog_worker):
5864 * device-msw.c (Fmsprinter_apply_settings):
5865 * device-msw.c (hash_devmode):
5866 * device-msw.c (Fmsprinter_settings_despecialize):
5867 use Qmswindows_tstr, not Qctext.
5869 * vm-limit.c (check_memory_limits):
5870 avoid infinite loop printing warning messages.
5872 2000-07-05 Craig Lanning <lanning@scra.org>
5874 * Makefile.in.in: Add support for including the Windows resources
5875 when building with the cygwin and mingw targets.
5877 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
5878 not set or not correct.
5879 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
5880 (init_initial_directory): Don't try to use $PWD on the
5881 WIN32_NATIVE target.
5884 [[Add -mwindows to eliminate console window.]] not required --ben
5885 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5886 (MAIL_USE_POP): removed; now handled by configure.
5888 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
5889 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
5890 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5891 (MAIL_USE_POP): removed; now handled by configure.
5892 (ENCAPSULATE_STAT): from Dan Holmsand, added.
5893 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
5894 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
5896 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
5897 up from <winsock.h> via systime.h.
5898 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
5899 (getpagesize): from Dan Holmsand, added.
5900 Added #endif which was left dangling by Ben's mega patch; added
5901 comment to help prevent this in the future.
5903 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
5905 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5907 * console-msw.h (struct mswindows_device): Removed unnecessary
5908 cached device geometry values.
5909 Added update_tick and an accessor macro.
5910 (Lisp_Devmode): Added lrecord declaration.
5911 (struct msprinter_device): Contain devmode as a Lisp object.
5912 Added mswindows_get_selected_frame_hwnd();
5914 * console.h (struct console_methods): Indentation nitpicking.
5916 * device-msw.c (mswindows_init_device): Do not initialize geometry
5917 cache. Initialize update tick.
5918 (mswindows_device_system_metrics): Ask the device for its geometry.
5919 (global_free_2_maybe):
5920 (devmode_to_hglobal):
5921 (handle_printer_changes):
5922 (ensure_not_printing):
5923 (print_dialog_worker):
5924 (Fmsprinter_print_setup_dialog):
5925 (Fmsprinter_print_dialog):
5928 (Fmsprinter_page_setup_dialog): Added functions.
5929 (sync_printer_with_devmode):
5930 (handle_devmode_changes):
5931 (Fmsprinter_get_settings):
5932 (Fmsprinter_select_settings):
5933 (Fmsprinter_apply_settings):
5935 (Fmsprinter_settings_copy):
5936 (Fmsprinter_settings_despecialize):
5940 (hash_devmode): Added functions
5941 (syms_of_device_mswindows): Init devmode lrecord class.
5943 * device.h: Added an exfun for find-device.
5945 * event-msw.c (mswindows_wnd_proc): Do not update the cached
5946 geometry; although, recreate the device compatible DC.
5948 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
5949 (msprinter_init_frame_3):
5950 (msprinter_frame_property):
5951 (msprinter_internal_frame_property_p):
5952 (msprinter_frame_properties):
5953 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
5954 print job properties (will move to device settings).
5956 * lisp.h: Added symbols.
5958 * general.c (syms_of_general): Declared them.
5960 * hash.c (string_hash): Added.
5962 * lrecord.h (lrecord_type): Added devmode lrecord type.
5964 2000-07-02 Mike Sperber <mike@xemacs.org>
5966 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
5969 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5971 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
5974 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
5976 * data.c (Fstring_to_number): Don't recognize floating point if
5979 2000-06-22 Martin Buchholz <martin@xemacs.org>
5981 * glyphs-widget.c (tab_control_query_geometry):
5982 (widget_query_geometry):
5983 (button_query_geometry):
5984 * glyphs.c (text_query_geometry):
5985 Enforce type correctness.
5987 2000-06-18 Martin Buchholz <martin@xemacs.org>
5989 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
5990 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
5992 2000-06-17 Martin Buchholz <martin@xemacs.org>
5994 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
5995 conflicts with gcc's fixincluded version of FOO.h.
5997 * glyphs.h (image_instance_geometry): Remove trailing `,'
5999 2000-06-08 Mike Alexander <mta@arbortext.com>
6001 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
6002 (shove_thread): Don't write the same output twice
6003 (make_ntpipe_output_stream): Increase priority of shove thread
6004 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
6006 (ntpipe_shove_closer): Don't delete the pipe until we're done with
6009 2000-06-12 Ben Wing <ben@xemacs.org>
6011 * s\mingw32.h (sigset):
6012 * s\windowsnt.h (sigset):
6013 rename msw_ to mswindows_ for consistency with general convention.
6015 2000-06-12 Ben Wing <ben@xemacs.org>
6018 * console-msw.c (mswindows_get_console_hwnd):
6019 * console-msw.c (mswindows_ensure_console_allocated):
6020 * console-msw.c (mswindows_hide_console):
6021 * console-msw.c (mswindows_show_console):
6022 * console-msw.c (mswindows_ensure_console_buffered):
6023 * console-msw.c (mswindows_output_console_string):
6024 * console-msw.c (mswindows_windows9x_p):
6026 * device-msw.c (mswindows_get_workspace_coords):
6027 * device-msw.c (mswindows_device_system_metrics):
6028 * dialog-msw.c (mswindows_popup_dialog_box):
6029 * event-msw.c (mswindows_wnd_proc):
6030 * frame-msw.c (mswindows_size_frame_internal):
6031 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6032 * menubar-msw.c (displayable_menu_item):
6033 * menubar-msw.c (mswindows_char_is_accelerator):
6035 * nt.c (mswindows_sigset):
6036 * nt.c (mswindows_sigrelse):
6037 * nt.c (mswindows_sigpause):
6038 * nt.c (mswindows_raise):
6039 * nt.c (timer_proc):
6041 * ntproc.c (find_child_console):
6042 * ntproc.c (sys_kill):
6044 * print.c (std_handle_out_external):
6045 * process-nt.c (find_child_console):
6046 * process-nt.c (send_signal_the_95_way):
6047 * process-nt.c (ensure_console_window_exists):
6048 * process-nt.c (nt_create_process):
6050 rename msw_ to mswindows_ for consistency with general convention.
6054 include nt.h, not syswindows.h.
6056 * nt.c (mswindows_fstat):
6057 * nt.c (mswindows_stat):
6058 prefix mswindows_ instead of attempting to directly override the
6059 library functions. fix declarations.
6062 include syswindows.h. move some sysdep.h stuff here.
6065 include syswindows.h, not <windows.h>.
6073 * sysdep.c (sys_fstat):
6074 * sysdep.c (sys_stat):
6075 call mswindows versions when appropriate.
6078 move mswin decls to nt.h.
6081 add long comment describing appropriate use of the various windows
6084 2000-06-11 Ben Wing <ben@xemacs.org>
6086 * device-x.c: Correct doc string for sixth arg of x-get-resource.
6088 2000-06-10 Ben Wing <ben@xemacs.org>
6090 * Makefile.in.in (release):
6091 Correction to make sure xemacs.exe always dumped when correct.
6095 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
6097 * buffer.c (set_buffer_internal):
6098 [[[[2]]]]: Remove HAVE_FEP code.
6100 * buffer.c (init_initial_directory):
6104 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
6108 * callproc.c (call_process_cleanup):
6109 * callproc.c (Fold_call_process_internal):
6110 * callproc.c (child_setup):
6111 * callproc.c (getenv_internal):
6112 * callproc.c (init_callproc):
6113 * callproc.c (vars_of_callproc):
6114 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
6115 __CYGWIN32__ -> CYGWIN.
6116 DOS_NT -> WIN32_NATIVE.
6117 Remove MSDOS support/references, converting to WIN32_NATIVE
6119 __MINGW32__ -> MINGW.
6120 Fix windows.h includes.
6121 Remove bogus HAVE_NTGUI.
6127 mswindows_message_outputted added for use in allowing startup
6128 errors on the console to be seen.
6130 * console-msw.c (msw_ensure_console_allocated):
6131 * console-msw.c (msw_output_console_string):
6132 * console-msw.c (DHEADER):
6133 * console-msw.c (DOPAQUE_DATA):
6134 * console-msw.c (DEVENT):
6135 * console-msw.c (DCONS):
6136 * console-msw.c (DCONSCDR):
6137 * console-msw.c (DSTRING):
6138 * console-msw.c (DVECTOR):
6139 * console-msw.c (DSYMBOL):
6140 * console-msw.c (DSYMNAME):
6143 * console-stream.c (stream_init_console):
6144 Fix text/binary problems.
6147 * device-msw.c (mswindows_finish_init_device):
6148 * device-msw.c (mswindows_delete_device):
6151 * device.c (handle_asynch_device_change):
6155 * dgif_lib.c (DGifOpenFileName):
6156 * dgif_lib.c (DGifOpenFileHandle):
6157 * dgif_lib.c (DGifGetLine):
6158 * dgif_lib.c (DGifGetPixel):
6159 Added config.h/lisp.h, fix up includes.
6166 * dired.c (file_name_completion):
6167 * dired.c (Ffile_attributes):
6168 * dired.c (syms_of_dired):
6172 * dumper.c (pdump_file_unmap):
6173 * dumper.c (pdump_load):
6177 * editfns.c (Ftemp_directory):
6178 * editfns.c (user_login_name):
6179 * editfns.c (Fuser_real_login_name):
6180 * editfns.c (get_home_directory):
6183 * elhash.c (finish_marking_weak_hash_tables):
6184 [[[[5]]]]: Fix GCC warnings.
6187 * emacs.c (mswindows_handle_hardware_exceptions):
6188 * emacs.c (make_arg_list_1):
6190 * emacs.c (Fkill_emacs):
6191 * emacs.c (Fdump_emacs):
6193 Fix problems with nested crashes, add long comment.
6195 * event-Xt.c (init_event_Xt_late):
6199 * event-msw.c (mswindows_dde_callback):
6200 * event-msw.c (mswindows_handle_sticky_modifiers):
6201 * event-msw.c (mswindows_wnd_proc):
6205 * events.c (character_to_event):
6209 * fileio.c (Ffile_name_directory):
6210 * fileio.c (Ffile_name_nondirectory):
6211 * fileio.c (directory_file_name):
6212 * fileio.c (Fexpand_file_name):
6213 * fileio.c (Fsubstitute_in_file_name):
6214 * fileio.c (Ffile_name_absolute_p):
6215 * fileio.c (check_executable):
6216 * fileio.c (Ffile_readable_p):
6217 * fileio.c (Ffile_accessible_directory_p):
6218 * fileio.c (Ffile_modes):
6219 * fileio.c (Funix_sync):
6220 * fileio.c (vars_of_fileio):
6223 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
6225 Expand getdefdir defn.
6226 Fix bogus rename() comment.
6228 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
6229 to use standard XEmacs include files, e.g. sysfile.h, rather
6230 than system-specific includes.
6236 * frame.c (vars_of_frame):
6240 * getloadavg.c (getloadavg):
6242 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
6243 (We don't use it elsewhere in the code; just add a comment.)
6250 * glyphs-msw.c (mswindows_resource_instantiate):
6253 * glyphs-x.c (x_native_layout_instantiate):
6256 * gui-msw.c (Fmswindows_shell_execute):
6265 * lread.c (locate_file_in_directory_mapper):
6272 * mem-limits.h (get_lim_data):
6284 * nt.c (rva_to_section):
6285 * nt.c (mswindows_executable_type):
6287 Fix closedir() defn.
6290 [[[[8]]]]: *_OK defs moved to sysfile.h.
6299 * print.c (std_handle_out_external):
6303 * process-nt.c (nt_create_process):
6305 try to fix process quoting somewhat.
6307 * process-unix.c (unix_create_process):
6311 * process.c (vars_of_process):
6318 * realpath.c (xrealpath):
6321 * redisplay-tty.c (init_tty_for_redisplay):
6331 * sheap.c (more_static_core):
6332 * sheap.c (report_sheap_usage):
6336 * signal.c (alarm_signal):
6343 * strftime.c (zone_name):
6346 * symsinit.h (init_sunpro):
6350 commctrl.h not in Cygwin b20.1.
6354 * sysdep.c (sys_subshell):
6355 * sysdep.c (init_baud_rate):
6356 * sysdep.c (emacs_get_tty):
6357 * sysdep.c (emacs_set_tty):
6358 * sysdep.c (tty_init_sys_modes_on_device):
6359 * sysdep.c (init_system_name):
6360 * sysdep.c (sys_open):
6361 * sysdep.c (interruptible_open):
6362 * sysdep.c (sys_fopen):
6363 * sysdep.c (sys_mkdir):
6364 * sysdep.c (sys_rename):
6365 * sysdep.c (get_process_times_1):
6372 * sysdir.h (DIRENTRY_NONEMPTY):
6375 * sysdll.c (dll_init):
6381 added text/binary defs.
6387 * sysproc.h (EDESTADDRREQ):
6388 * sysproc.h (poll_fds_for_input):
6405 Always define WIN32_LEAN_AND_MEAN.
6407 * unexcw.c (unexec):
6411 * unexec.c (copy_text_and_data):
6412 * unexec.c (adjust_lnnoptrs):
6416 * unexnt.c (_start):
6419 2000-06-07 Ben Wing <ben@xemacs.org>
6421 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
6422 was used only as a model. We've long since extracted any useful
6423 logic or code out of this. (I just did an exhaustive search.)
6425 * s\msdos.h: Removed.
6427 * s\windows95.h: Removed.
6429 2000-06-10 Ben Wing <ben@xemacs.org>
6433 Don't use extern with fun defs.
6437 Remove nt\inc include.
6438 Remove getdisk, getdefdir. (The former is unused, the latter
6439 expanded in fileio.h.)
6442 * s\windowsnt.h (WIN32_NATIVE):
6443 * s\windowsnt.h (HAVE_STRCASECMP):
6445 Add long comment about preprocessor changes.
6446 Remove getdisk, getdefdir. (The former is unused, the latter
6447 expanded in fileio.h.)
6449 2000-06-10 Ben Wing <ben@xemacs.org>
6458 Remove bogus/unused NO_SOCK_SIGIO.
6460 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
6462 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
6465 2000-06-04 Mike Sperber <mike@xemacs.org>
6467 * casetab.c (set_case_table): For `set-standard-case-table',
6468 actually deposit the new case tables where the rest of XEmacs can
6471 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
6473 * data.c (Faset): Don't cast XCHAR() to unsigned char.
6475 2000-06-05 Ben Wing <ben@xemacs.org>
6477 * callproc.c (child_setup): Don't do close_load_descs() under
6478 MS Windows. Put in a comment explaining why.
6480 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
6482 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
6483 Toolkit shell" which breaks `kill-compilation' on Windows NT
6484 native, retaining STDERR handling improvements.
6486 2000-06-01 Andreas Jaeger <aj@suse.de>
6488 * s/s390.h: Support for S390, based on a patch by Martin
6489 Schwidefsky <schwidefsky@de.ibm.com>.
6491 2000-05-30 Andy Piper <andy@xemacs.org>
6493 * window.c (allocate_window):
6494 (make_dummy_parent):
6495 (Fset_window_configuration): use new hashtable type.
6497 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
6498 (struct image_instantiator_methods):
6499 (struct Lisp_Image_Instance): make instance geometry signed.
6501 * glyphs.c (instantiate_image_instantiator):
6502 (image_instance_query_geometry):
6503 (image_instance_layout):
6504 (image_instance_layout):
6505 (query_string_geometry):
6506 (text_query_geometry):
6507 (image_instantiate):
6508 (image_instantiate):
6509 (cache_subwindow_instance_in_frame_maybe):
6510 (subwindow_query_geometry): make instance geometry signed.
6512 * glyphs-widget.c (widget_query_geometry):
6514 (button_query_geometry):
6515 (tree_view_query_geometry):
6516 (tab_control_query_geometry):
6517 (layout_query_geometry):
6519 (native_layout_layout): make instance geometry signed.
6521 2000-05-29 Olivier Galibert <galibert@pobox.com>
6523 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
6526 * general.c (syms_of_general): Add Qfull_assoc symbol.
6528 * data.c (finish_marking_weak_lists): Mark full-assoc lists
6530 (decode_weak_list_type): Decode full-assoc type.
6531 (encode_weak_list_type): Encode full-assoc type.
6532 (Fmake_weak_list): Update doc string.
6534 2000-05-30 Andy Piper <andy@xemacs.org>
6536 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
6538 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
6539 (decode_hash_table_weakness): ditto.
6540 (Fhash_table_weakness): ditto.
6541 (Fhash_table_type): ditto.
6542 (finish_marking_weak_hash_tables): ditto.
6543 (hash_table_weakness_validate): ditto.
6544 (syms_of_elhash): ditto.
6546 2000-05-28 Martin Buchholz <martin@xemacs.org>
6548 * XEmacs 21.2.34 is released.
6550 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6552 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
6554 (updating_line_start_cache): Gone.
6555 (regenerate_window): Replace resetting of VERTICAL_CLIP by
6556 generic code to force a minimum of 1 line laid out in the
6559 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6561 * glyphs.c (instantiate_image_instantiator): Check for initialized
6562 height & width no longer special cases IMAGE_NOTHING.
6563 (nothing_instantiate): Set height and width of instance.
6565 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
6567 * unexelf.c (unexec): Search for ".data" section.
6568 Initialize new_data2_offset from old_data_index.
6569 Remove redundant check for ElfW.
6571 2000-05-23 Andy Piper <andy@xemacs.org>
6573 * glyphs.c (get_image_instantiator_governing_domain): allow more
6574 specific domains as the governing domain rather than expecting an
6575 exact match. This fixes problems with layouts.
6577 2000-05-22 Andy Piper <andy@xemacs.org>
6579 * redisplay-output.c (compare_runes): check for non-images
6581 * glyphs.c (set_glyph_dirty_p): ditto.
6582 (update_glyph_cachel_data): ditto.
6584 * glyphs-widget.c (layout_post_instantiate): ditto.
6585 (layout_post_instantiate): ditto.
6587 * event-msw.c (mswindows_wnd_proc): warning removal.
6589 2000-05-12 Craig Lanning <CraigL@DyCon.com>
6591 * s\mingw32.h: Added #undef for CLASH_DETECTION.
6593 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
6595 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
6597 * nt.c (rva_to_section): mingw32 needs rva_to_section.
6598 (mswindows_executable_type): mingw32 now has enough headers for
6601 2000-05-20 Andy Piper <andy@xemacs.org>
6603 * console-msw.c (mswindows_output_last_error): ; -> ,
6605 2000-05-12 Andy Piper <andy@xemacs.org>
6607 * console-msw.c (FROB): compare ints with ints.
6609 2000-05-11 Andy Piper <andy@xemacs.org>
6611 * glyphs-x.c (x_finalize_image_instance): make minimal build
6614 2000-05-20 Ben Wing <ben@xemacs.org>
6617 * event-Xt.c (vars_of_event_Xt):
6618 move modifier-keys-are-sticky to event-stream.c.
6621 * event-msw.c (mswindows_enqueue_mouse_button_event):
6622 * event-msw.c (key_needs_default_processing_p):
6623 * event-msw.c (XEMSW_LCONTROL):
6624 * event-msw.c (mswindows_handle_sticky_modifiers):
6625 * event-msw.c (FROB):
6626 * event-msw.c (clear_sticky_modifiers):
6627 * event-msw.c (output_modifier_keyboard_state):
6628 * event-msw.c (output_alt_keyboard_state):
6629 * event-msw.c (mswindows_wnd_proc):
6630 * event-msw.c (mswindows_modifier_state):
6631 * event-msw.c (emacs_mswindows_handle_magic_event):
6632 implement sticky modifiers.
6635 * event-stream.c (vars_of_event_stream):
6636 move modifier-keys-are-sticky here.
6642 implement map-range-table.
6645 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
6647 * redisplay-tty.c (reset_tty_modes):
6648 (tty_redisplay_shutdown): Adjust argument type to
6649 tty_frame_output_end.
6651 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6653 * eval.c (Fbacktrace): Don't output a line with only right
6656 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
6658 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
6659 (Fpq_reset_poll): Ditto.
6661 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
6663 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
6665 2000-05-16 Ben Wing <ben@xemacs.org>
6668 * buffer.c (dfc_convert_to/from_internal_format):
6669 * buffer.c (reinit_vars_of_buffer):
6670 Fix conversion functions to allow reentrancy.
6673 * console-msw.c (mswindows_output_last_error):
6674 New fun, generally useful -- output a human-readable
6675 version of GetLastError() on the console.
6678 * console-msw.h (struct mswindows_frame):
6679 Changes for DeferWindowPos. Declare mswindows_output_last_error().
6681 * console-stream.c (stream_output_begin):
6682 * console-stream.c (stream_output_end):
6683 * console-stream.c (stream_output_vertical_divider):
6684 * console-stream.c (stream_clear_region):
6685 * console-stream.c (stream_flash):
6686 * console-stream.c (console_type_create_stream):
6687 Delete blank stream methods, not needed.
6689 * console.h (struct console_methods):
6690 Split begin/end methods into window and frame.
6693 * event-msw.c (mswindows_handle_paint):
6694 * event-msw.c (output_alt_keyboard_state):
6695 * event-msw.c (mswindows_wnd_proc):
6696 * event-msw.c (vars_of_event_mswindows):
6697 Comment about problems with ignored-expose.
6698 Define mswindows-debug-events; not really implemented.
6700 * frame-msw.c (mswindows_init_frame_1):
6704 * glyphs-msw.c (begin_defer_window_pos):
6705 * glyphs-msw.c (mswindows_unmap_subwindow):
6706 * glyphs-msw.c (mswindows_map_subwindow):
6707 * glyphs-msw.c (mswindows_resize_subwindow):
6708 Use DeferWindowPos to reduce flashing when mapping/unmapping.
6710 * glyphs.c (make_image_instance_1):
6713 * gutter.c (Fredisplay_gutter_area):
6714 Use new begin/end methods.
6716 * lisp.h (Dynarr_new2):
6720 * redisplay-msw.c (mswindows_frame_output_begin):
6721 * redisplay-msw.c (mswindows_frame_output_end):
6722 * redisplay-msw.c (console_type_create_redisplay_mswindows):
6723 New begin/end methods -- handle DeferWindowPos.
6725 * redisplay-output.c (redisplay_move_cursor):
6726 * redisplay-output.c (redraw_cursor_in_window):
6727 * redisplay-output.c (redisplay_update_line):
6728 * redisplay-output.c (redisplay_output_window):
6729 New begin/end methods.
6732 * redisplay-tty.c (tty_frame_output_begin):
6733 * redisplay-tty.c (tty_frame_output_end):
6734 * redisplay-tty.c (console_type_create_redisplay_tty):
6735 New begin/end methods.
6738 * redisplay-x.c (x_window_output_begin):
6739 * redisplay-x.c (x_window_output_end):
6740 * redisplay-x.c (console_type_create_redisplay_x):
6741 New begin/end methods.
6743 * redisplay.c (redisplay_frame):
6744 * redisplay.c (Fredisplay_echo_area):
6745 New begin/end methods.
6746 use MAYBE_DEVMETH for clear_frame; it may not exist.
6748 * window.h (WINDOW_XFRAME):
6749 WINDOW_XFOO macros -- get locale and decode struct pointer.
6752 2000-05-12 Ben Wing <ben@xemacs.org>
6755 * emacs.c (ensure_no_quitting_from_now_on):
6756 * emacs.c (fatal_error_signal):
6757 * emacs.c (mswindows_handle_hardware_exceptions):
6759 * emacs.c (Fkill_emacs):
6760 * emacs.c (shut_down_emacs):
6761 * emacs.c (assert_failed):
6762 various improvements in fatal error handling.
6765 move preparing_for_armageddon to emacs.c.
6768 declare fatal_error_in_progress.
6771 * print.c (std_handle_out_external):
6772 * print.c (std_handle_out_va):
6773 * print.c (stderr_out):
6774 * print.c (stdout_out):
6775 use console under mswin when no standard output.
6776 don't do code conversion during fatal error.
6778 * scrollbar.c (Fscrollbar_page_up):
6779 * scrollbar.c (Fscrollbar_page_down):
6780 fix missing else. reindent.
6782 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
6786 * glyphs.h (GLYPH_CACHEL_DESCENT):
6787 (GLYPH_CACHEL_DESCENT):
6788 (GLYPH_CACHEL_DESCENT):
6789 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
6790 used in case these are inline functions.
6791 Use more absurd values to error check.
6793 include window.h for error check functions.
6795 2000-05-11 Ben Wing <ben@xemacs.org>
6797 * cmdloop.c (Freally_early_error_handler):
6798 Display message box under windows; otherwise, message will disappear
6799 before it can be viewed.
6802 * console-msw.c (Fmswindows_message_box):
6803 * console-msw.c (FROB):
6804 * console-msw.c (syms_of_console_mswindows):
6805 Define new fun `mswindows-message-box'.
6806 #### I will merge this into `popup-dialog-box'; just give me
6810 * general.c (syms_of_general):
6811 Some new symbols used in `mswindows-message-box'.
6814 * glyphs.c (Fset_image_instance_property):
6815 put warning in this fun.
6818 * glyphs.h (GLYPH_CACHEL_WIDTH):
6819 * glyphs.h (GLYPH_CACHEL_ASCENT):
6820 * glyphs.h (GLYPH_CACHEL):
6821 * glyphs.h (GLYPH_CACHEL_GLYPH):
6822 define error-checking versions to try to catch a bug i've seen --
6823 redisplay gets in an infinite loop because the glyph width of the
6824 continuation glyph is 65535.
6827 Extern message-box stuff.
6829 * window.c (allocate_window):
6830 * window.c (make_dummy_parent):
6831 * window.c (Fset_window_configuration):
6832 Use EQUAL not EQ for subwindow caches to make them work a bit
6833 better. (Something is still very broken.)
6836 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6838 * glyphs.c (image_instantiate): Suppress gcc warnings.
6839 (Fmake_image_instance): Fix doc string.
6840 * specifier.c (Fmake_specifier): Ditto.
6842 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6844 * paths.h.in (PATH_LOCK): Removed.
6845 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
6846 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
6848 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6850 * fns.c (Ffeaturep): Update e-mail address in doc-string.
6851 Document (featurep '(and xemacs 21.02)).
6853 2000-05-09 Ben Wing <ben@xemacs.org>
6855 * buffer.c (complex_vars_of_buffer):
6856 update modeline-format doc.
6859 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
6862 timeline of all released versions of Emacs, for use in creating
6863 authorship comments and in synching up.
6865 * glyphs-widget.c (image_instantiator_buttons):
6866 * glyphs-widget.c (image_instantiator_edit_fields):
6867 * glyphs-widget.c (image_instantiator_combo_box):
6868 * glyphs-widget.c (image_instantiator_scrollbar):
6869 * glyphs-widget.c (image_instantiator_progress_guage):
6870 * glyphs-widget.c (image_instantiator_tree_view):
6871 * glyphs-widget.c (image_instantiator_tab_control):
6872 * glyphs-widget.c (image_instantiator_labels):
6873 * glyphs-widget.c (image_instantiator_layout):
6874 * glyphs-widget.c (image_instantiator_native_layout):
6875 rename decode_domain method to governing_domain.
6878 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
6879 * glyphs.c (add_entry_to_device_ii_format_list):
6880 make sure we don't put an entry more than once into the list.
6881 * glyphs.c (check_instance_cache_mapper):
6882 *************************************************************
6883 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6885 *************************************************************
6886 * glyphs.c (get_image_instantiator_governing_domain):
6887 clean up, expand on new concept of governing domain.
6888 * glyphs.c (instantiate_image_instantiator):
6889 * glyphs.c (allocate_image_instance):
6890 use governing_domain instead of cache_domain in naming.
6891 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
6892 * glyphs.c (make_image_instance_1):
6893 * glyphs.c (Fmake_image_instance):
6894 allow for any domain (not just device), and process the
6895 governing domain correctly. very big doc fix.
6896 * glyphs.c (Fimage_instance_domain):
6897 new primitive, to retrieve the governing domain of an image instance.
6898 * glyphs.c (image_instantiate):
6899 use new governing_domain stuff. this fixes a crash you could get
6900 by instantiating certain widget glyphs in frame locales. (should
6901 signal an error instead of crashing.)
6902 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
6903 * glyphs.c (Fglyphp): clean up doc.
6904 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
6905 * glyphs.c (syms_of_glyphs):
6906 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
6907 * glyphs.c (image_instantiator_format_create): add some comments about
6909 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
6910 for current-display-table. (Apparently Hrjove implemented in 1998 a
6911 design I wrote up in 1996, but didn't update the doc string.)
6913 * glyphs.h: clean up a doc string.
6914 * glyphs.h (governing_domain):
6915 * glyphs.h (struct image_instantiator_methods):
6916 changes for governing_domain stuff.
6919 * gutter.c (Fgutter_specifier_p):
6920 * gutter.c (Fgutter_size_specifier_p):
6921 * gutter.c (Fgutter_visible_specifier_p):
6923 * objects.c (Fcolor_specifier_p):
6924 * objects.c (Ffont_specifier_p):
6925 * objects.c (Fface_boolean_specifier_p):
6926 doc strings moved to make-*-specifier.
6928 * redisplay.c (add_disp_table_entry_runes_1):
6929 * redisplay.c (generate_fstring_runes):
6930 * redisplay.c (screen):
6931 add random comments and doc strings.
6934 * specifier.c (Fmake_specifier):
6935 major overhaul of this doc string.
6937 * specifier.c (Fvalid_specifier_domain_p):
6938 comment about the bogosity of image instances being domains.
6939 * specifier.c (decode_domain):
6940 now non-static, used in glyphs.c.
6941 * specifier.c (specifier_instance):
6942 comment about the bogosity of image instances being domains.
6943 * specifier.c (Fgeneric_specifier_p):
6944 move doc string to make-generic-specifier.
6945 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
6949 * specifier.h (DOMAIN_FRAME):
6950 * specifier.h (DOMAIN_LIVE_P):
6951 * specifier.h (DOMAIN_XDEVICE):
6953 add comments about problems with these macros.
6954 prototype for decode_domain.
6957 * toolbar.c (Ftoolbar_specifier_p):
6958 move doc string to `make-toolbar-specifier'.
6960 * window.c (window_unmap_subwindows_cache_mapper):
6961 *************************************************************
6962 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6964 *************************************************************
6966 2000-05-09 Andy Piper <andy@xemacs.org>
6968 * glyphs.h: declare reset_frame_subwindow_instance_cache.
6970 * window.c (Fset_window_configuration): reset the frame subwindow
6971 cache and re-initialize the window subwindow caches.
6973 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
6975 2000-05-09 Ben Wing <ben@xemacs.org>
6977 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
6980 2000-04-26 Mike Woolley <mike@bulsara.com>
6982 * ntheap.c: Changed recreate_heap to limit the amount reserved
6983 for the heap to that which is actually available. Also now
6984 displays a message box (with some dignostics) in the event that
6985 it still can't start.
6987 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
6989 * callproc.c (Fold_call_process_internal): GCPRO path
6991 2000-05-08 Jan Vroonhof <jan@xemacs.org>
6993 Patch by Bill Perry.
6995 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
6996 back data instead of #ifdef.
6997 (Fscrollbar_page_down): ditto.
6999 2000-05-07 Ben Wing <ben@xemacs.org>
7002 Kludge for defining Qmswindows_tstr.
7005 * nt.c (open_input_file):
7006 * nt.c (open_output_file):
7007 * nt.c (rva_to_section):
7008 * nt.c (mswindows_executable_type):
7009 Move all memory-mapped-file routines here (some were in unexnt.c,
7010 which is bad because they are used by process-nt.c, and unexnt
7011 won't be around when portable dumping). Synched the above routines
7015 Removed ifdef'd out bogus code.
7016 Fixed some prototypes.
7019 * nt.h (OFFSET_TO_RVA):
7020 * nt.h (RVA_TO_OFFSET):
7021 * nt.h (RVA_TO_PTR):
7022 Moved the memory-mapped-file structures, macros and prototypes
7023 here, to parallel nt.c. ntheap.h should really be removed
7024 entirely, and it's a non-portable-dumper specific file.
7026 * ntheap.h (round_to_next):
7027 Moved the memory-mapped-file structures, macros and prototypes
7030 * ntproc.c (compare_env):
7031 Moved rva_to_section and mswindows_executable_type to nt.c.
7032 Moved compare_env to process-nt.c.
7033 ntproc.c will die, one day.
7035 * ntproc.c (sys_spawnve):
7036 Account for win32_ -> mswindows_.
7039 * process-nt.c (struct nt_process_data):
7040 * process-nt.c (ensure_console_window_exists):
7041 * process-nt.c (compare_env):
7042 * process-nt.c (nt_create_process):
7043 * process-nt.c (nt_kill_process_by_pid):
7044 * process-nt.c (syms_of_process_nt):
7045 * process-nt.c (vars_of_process_nt):
7046 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
7047 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
7048 changes). Eliminate our old `nt-quote-process-args' mechanism.
7049 Synch up nt_create_process with FSF 20.6 sys_spawnve.
7050 Move compare_env here from ntproc.c.
7052 * process.c (Fprocess_send_region):
7053 Takes an optional fourth argument, BUFFER, which should fix some
7054 problems with call-process.
7057 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
7060 Move ICC_BAR_CLASSES to syscommctrl.h.
7061 Add preliminary macros for MSWindows/Mule. More to come.
7064 * unexnt.c (unexec):
7065 open_output_file moved to nt.c.
7068 2000-05-05 Andy Piper <andy@xemacs.org>
7070 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
7071 instance from the frame cache also since GC may catch up too late
7072 to make frame deletion sane.
7074 2000-05-04 Andy Piper <andy@xemacs.org>
7076 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
7077 (x_finalize_image_instance): ungcpro on deletion.
7079 * glyphs.c (image_instantiator_format_create): give pointers a
7080 query geometry method so that the geometry is at least set.
7082 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
7083 initialize layouts if using widgets.
7085 2000-05-03 Andy Piper <andy@xemacs.org>
7087 * nt.c: remove bogus reference to sysmmsystem.h
7089 * gui-x.c (popup_selection_callback): fix no selection abort.
7091 2000-05-02 Andy Piper <andy@xemacs.org>
7093 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
7094 (mswindows_widget_instantiate): ditto.
7096 * glyphs-widget.c (initialize_widget_image_instance): initialize
7098 (widget_instantiate): cope with children and items in the same
7101 * glyphs.c (mark_image_instance): cope with children as a first
7103 (image_instance_equal): ditto.
7104 (image_instance_hash): ditto.
7105 (image_instance_changed): ditto.
7107 2000-04-30 Andy Piper <andy@xemacs.org>
7109 * glyphs.c (subwindow_query_geometry): new function. Return some
7111 (subwindow_instantiate): don't assign dimensions if none have been
7113 (image_instantiator_format_create): add subwindow_query_geometry.
7114 (print_image_instance): cope with layouts as widgets.
7116 2000-04-29 Andy Piper <andy@xemacs.org>
7118 * frame.c (delete_frame_internal): call
7119 free_frame_subwindow_instance_cache so that all subwindows are
7120 finalized before their parent.
7121 (mark_frame): remove subwindow_cachels.
7122 (Fmake_frame): remove subwindow_cachel manipulation.
7123 (allocate_frame_core): subwindow_instance_cache is a weak list.
7124 (delete_frame_internal): set subwindow_instance_cache to nil.
7126 * glyphs-msw.c (mswindows_finalize_image_instance): make double
7128 (mswindows_finalize_image_instance): use the device
7129 not the domain as the domain may have died already.
7131 * glyphs-x.c (x_finalize_image_instance): ditto.
7132 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
7135 * redisplay-output.c (redisplay_unmap_subwindows): update for
7136 subwindow instance cache as a weak list.
7137 (redisplay_unmap_subwindows_maybe): ditto.
7138 (redisplay_unmap_subwindows_except_us): ditto.
7140 * glyphs.c (unmap_subwindow): error checking will check the domain
7141 so don't deal with it here. Don't use cachels anymore.
7142 (map_subwindow): ditto.
7143 (update_subwindow_cachel_data): remove old accessor names.
7144 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
7145 (Fresize_subwindow): don't update cachel.
7146 (mark_subwindow_cachels):
7147 (update_subwindow_cachel_data):
7148 (add_subwindow_cachel):
7149 (get_subwindow_cachel_index):
7150 (update_subwindow_cachel):
7151 (reset_subwindow_cachels):
7152 (mark_subwindow_cachels_as_not_updated): deleted.
7153 (cache_subwindow_instance_in_frame_maybe): new function. Add a
7154 subwindow instance to the frame cache.
7155 (find_matching_subwindow): update for subwindow instance cache as
7157 (update_widget_instances): ditto.
7158 (image_instance_type_to_mask):inlined.
7159 (free_frame_subwindow_instance_cache): new function. finalize all
7160 subwindows that are instantiated.
7162 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
7163 of cachel information.
7164 (IMAGE_INSTANCE_DISPLAY_X):
7165 (IMAGE_INSTANCE_DISPLAY_Y):
7166 (IMAGE_INSTANCE_DISPLAY_WIDTH):
7167 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
7168 (XIMAGE_INSTANCE_DISPLAY_X):
7169 (XIMAGE_INSTANCE_DISPLAY_Y):
7170 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
7171 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
7172 remove subwindow_cachel structure and function references.
7173 (image_instance_type_to_mask): inline from glyphs.c
7175 * redisplay.c (redisplay_frame): remove subwindow_cachel
7178 * frame.h (struct frame): remove subwindow_cachels.
7179 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
7181 * frameslots.h: add subwindow_instance_cache.
7183 * window.c (replace_window): check subwindow cache of replacement.
7184 (window_unmap_subwindows_cache_mapper):
7185 (window_unmap_subwindows): new functions. Unmap all subwindows
7186 cached on this window.
7187 (mark_window_as_deleted): unmap all subwindows.
7189 2000-04-27 Andy Piper <andy@xemacs.org>
7191 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
7193 * glyphs-widget.c (widget_layout): return something.
7194 (layout_layout): return something. Fail if not initialized.
7195 (layout_query_geometry): ditto.
7196 (image_instantiator_native_layout): new function. Initialized the
7198 (widget_instantiate): don't do layout stuff here.
7200 * glyphs.c (instantiate_image_instantiator): reorded calling or
7201 instantiate and post_instantiate with layout in between.
7202 (image_instance_layout): be more selective about deciding whether
7203 the layout has been done or not.
7205 * glyphs.h (struct image_instantiator_methods): return a value
7208 2000-04-26 Andy Piper <andy@xemacs.org>
7210 * glyphs.c (allocate_image_instance): make initial width and
7211 height unspecified. Set initialized to 0.
7213 * syscommctrl.h new file. Encapsulates commctrl.h.
7215 * syswindows.h new file. Encapsulates windows.h.
7217 * ntplay.c: use new syswindows.h and syscommctrl.h header.
7219 * console-msw.h: ditto.
7221 * redisplay-tty.c (tty_output_display_block): remove layout references.
7223 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
7224 window handle rather than just the frame.
7226 * glyphs.c (mark_image_instance): remove layout references.
7227 (print_image_instance): ditto.
7228 (image_instance_equal): ditto.
7229 (image_instance_hash): ditto.
7230 (decode_image_instance_type): ditto.
7231 (encode_image_instance_type): ditto.
7232 (image_instantiate): ditto.
7233 (allocate_glyph): ditto.
7234 (Fimage_instance_height): ditto.
7235 (Fimage_instance_width): ditto.
7236 (update_subwindow): ditto.
7238 * redisplay-x.c (x_output_display_block): recode for layouts as
7241 * redisplay-output.c (redisplay_output_layout): recode for layouts
7243 (compare_runes): remove layout references.
7245 * redisplay-msw.c (mswindows_output_display_block): recode for
7248 * glyphs-widget.c (image_instantiator_layout): remove
7249 layout_possible_dest_types.
7250 (layout_possible_dest_types): deleted.
7252 * glyphs.h (image_instance_type): remove layout references.
7253 (struct Lisp_Image_Instance): ditto. Add initialized flag.
7254 (IMAGE_INSTANCE_INITIALIZED): new accessor.
7255 (XIMAGE_INSTANCE_INITIALIZED): ditto.
7257 2000-04-25 Andy Piper <andy@xemacs.org>
7259 * glyphs-widget.c (image_instantiator_buttons):
7260 (image_instantiator_edit_fields):
7261 (image_instantiator_combo_box):
7262 (image_instantiator_scrollbar):
7263 (image_instantiator_progress_guage):
7264 (image_instantiator_tree_view):
7265 (image_instantiator_tab_control):
7266 (image_instantiator_labels):
7267 (image_instantiator_layout): call default post_instantiate method.
7268 (widget_post_instantiate): new function. Simply lays out the
7271 * glyphs.h (struct image_instantiator_methods): add
7272 post_instantiate method.
7274 * glyphs.c (instantiate_image_instantiator): add post_instantiate
7277 2000-04-23 Andy Piper <andy@xemacs.org>
7279 * glyphs.h (struct image_instantiator_methods): add
7280 decode_domain_method.
7281 (struct Lisp_Image_Instance): remove subwindow frame - it can be
7282 derived from the domain.
7283 (IMAGE_INSTANCE_FRAME): new accessor.
7284 (XIMAGE_INSTANCE_FRAME): ditto.
7286 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
7287 instead of _SUBWINDOW_FRAME.
7288 (finalize_image_instance): ditto.
7289 (Fimage_instance_foreground): ditto.
7290 (Fimage_instance_background): ditto.
7291 (image_instantiate): ditto.
7292 (update_subwindow_cachel): ditto.
7293 (update_subwindow): ditto.
7294 (unmap_subwindow): ditto.
7295 (map_subwindow): ditto
7296 (subwindow_instantiate): ditto.
7297 * glyphs-msw.c (mswindows_update_widget): ditto.
7298 (mswindows_progress_gauge_instantiate): ditto.
7299 (mswindows_tab_control_update): ditto.
7300 * glyphs-x.c (x_update_widget): ditto.
7301 (x_widget_instantiate): ditto.
7302 (x_tab_control_instantiate): ditto.
7303 (x_tab_control_update): ditto.
7304 * event-msw.c (mswindows_wnd_proc): ditto
7306 * glyphs-widget.c (image_instantiator_layout): use
7307 subwindow_decode_domain.
7308 (image_instantiator_buttons): ditto.
7309 (image_instantiator_edit_fields): ditto.
7310 (image_instantiator_combo_box): ditto.
7311 (image_instantiator_scrollbar): ditto.
7312 (image_instantiator_progress_guage): ditto.
7313 (image_instantiator_tree_view): ditto.
7314 (image_instantiator_tab_control): ditto.
7315 (image_instantiator_labels): ditto.
7316 (image_instantiator_layout): ditto.
7318 * glyphs.c: add instance error checking to many functions.
7319 (instantiate_image_instantiator): decode device from cache_domain.
7320 (image_instantiate): partially rewrite by using
7321 decode_image_instantiator_domain to determine what domain the
7322 instance needs to be cached in.
7323 (decode_image_instantiator_domain): new function. Determine what
7324 domain the image needs to be cached in.
7325 (check_window_subwindow_cache): new error checking function.
7326 (check_instance_cache_mapper): ditto.
7327 (check_image_instance_structure): ditto.
7328 (subwindow_decode_domain): new function. Encodes a window as a
7329 subwindow's cache domain.
7330 (image_instantiator_format_create): use it for text and
7333 2000-04-21 Andy Piper <andy@xemacs.org>
7335 * glyphs.c (image_instance_device): new function.
7336 (image_instance_frame): new function.
7337 (image_instance_window): new function.
7338 (image_instance_live_p): new function.
7340 * window.c (mark_window_as_deleted): reset the subwindow_instance_
7343 * glyphs.h (struct Lisp_Image_Instance): device->domain.
7344 (IMAGE_INSTANCE_DOMAIN): new accessor.
7345 (XIMAGE_INSTANCE_DOMAIN): ditto.
7347 * glyphs-x.c (x_finalize_image_instance): device->domain.
7349 * glyphs-msw.c (init_image_instance_geometry): device->domain.
7350 (mswindows_finalize_image_instance): ditto.
7352 * glyphs-eimage.c (jpeg_instantiate): device->domain.
7353 (gif_instantiate): ditto.
7354 (png_instantiate): ditto.
7355 (tiff_instantiate): ditto.
7357 * glyphs.c (instantiate_image_instantiator): use domain rather
7359 (mark_image_instance): device -> domain.
7360 (print_image_instance): ditto.
7361 (finalize_image_instance): ditto.
7362 (image_instance_equal): ditto.
7363 (allocate_image_instance): ditto.
7364 (Fcolorize_image_instance): ditto.
7365 (query_string_geometry): ditto.
7366 (image_instantiate): ditto
7367 (query_string_font): ditto.
7368 (image_instantiate): ditto.
7369 (update_subwindow): ditto.
7370 (unmap_subwindow): ditto.
7371 (map_subwindow): ditto.
7372 (subwindow_instantiate): ditto.
7374 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
7375 (DOMAIN_FRAME): ditto.
7376 (DOMAIN_WINDOW): ditto.
7377 (DOMAIN_LIVE_P): ditto.
7378 (XDOMAIN_DEVICE): ditto.
7379 (XDOMAIN_FRAME): ditto.
7380 (XDOMAIN_WINDOW): ditto.
7382 * specifier.c (Fvalid_specifier_domain_p): add image instances as
7383 a valid specifier domain.
7385 2000-04-19 Andy Piper <andy@xemacs.org>
7387 * glyphs-widget.c (syms_of_glyphs_widget): remove
7388 widget-callback-current-channel.
7389 (vars_of_glyphs_widget): ditto.
7392 * gui.c (get_gui_callback): revert to previous behaviour.
7394 2000-04-18 Andy Piper <andy@xemacs.org>
7396 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
7397 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
7398 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
7400 * glyphs.c (image_instance_equal): add margin_width.
7401 (image_instance_hash): ditto.
7403 * glyphs-widget.c (widget_instantiate): deal with margin-width.
7404 (layout_query_geometry): ditto.
7405 (layout_layout): ditto.
7406 (syms_of_glyphs_widget): add margin-width.
7407 (image_instantiator_layout): allow margin-width.
7409 * glyphs.c (update_widget_instances): make a normal function.
7410 (syms_of_glyphs): remove Qupdate_widget_instances.
7413 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
7414 so that we don't corrupt ideas about the last event or
7415 command. Remove widget-callback-current-channel fiddling.
7416 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
7418 2000-05-01 Martin Buchholz <martin@xemacs.org>
7420 * XEmacs 21.2.33 is released.
7422 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
7424 * make-src-depend: Allow dots in header file name.
7426 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
7428 * mule-charset.h (struct charset_lookup): Add
7429 next_allocated_1_byte_leading_byte and
7430 next_allocated_2_byte_leading_byte.
7431 * mule-charset.c: Move above two variables so that those values
7434 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
7436 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
7437 when string length is zero.
7438 (find_charsets_in_emchar_string): Ditto.
7440 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
7442 * lisp.h: extern Qdialog and Qmenubar.
7444 * gui-x.c: added events.h.
7445 also fixed typo which made the file uncompilable.
7447 * general.c: Added Qmenubar and Qdialog
7449 2000-04-28 Ben Wing <ben@xemacs.org>
7451 * frame-msw.c (mswindows_init_frame_1):
7452 * frame-msw.c (mswindows_mark_frame):
7453 * event-msw.c (mswindows_enqueue_dispatch_event):
7455 * console-msw.h (struct mswindows_frame):
7456 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
7457 there are now three hash tables for callbacks.
7458 mswindows_enqueue_dispatch_event is no longer static.
7460 * dialog-x.c (maybe_run_dbox_text_callback):
7461 * dialog-x.c (dbox_descriptor_to_widget_value):
7462 switch to new cons3 form for callbacks.
7464 * glyphs-msw.c (mswindows_register_gui_item):
7465 * glyphs-msw.c (mswindows_widget_instantiate):
7466 * glyphs-msw.c (add_tree_item):
7467 * glyphs-msw.c (add_tab_item):
7468 new image instance parameter, so it can be passed to callback-ex.
7469 respect :callback-ex as well as :callback.
7471 * glyphs-widget.c (VALID_GUI_KEYWORDS):
7474 * glyphs.c (print_image_instance):
7475 prettify, e.g. now prints widget type.
7478 certain funs have new image instance parameter.
7481 * gui.c (get_gui_callback):
7482 * gui.c (gui_item_add_keyval_pair):
7483 * gui.c (gui_item_init):
7484 * gui.c (gui_add_item_keywords_to_plist):
7485 * gui.c (mark_gui_item):
7486 * gui.c (gui_item_hash):
7487 * gui.c (gui_item_equal):
7488 * gui.c (copy_gui_item):
7489 * gui.c (syms_of_gui):
7490 recognize callback-ex in a number of places.
7491 also, fix the annoying "can't get out of yes-no dialog" bug.
7494 * gui.h (struct Lisp_Gui_Item):
7495 recognize callback-ex in a number of places.
7497 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7498 new parameter in button_item_to_widget_value.
7500 * glyphs-x.c (x_update_widget):
7501 * glyphs-x.c (x_button_instantiate):
7502 * glyphs-x.c (x_button_update):
7503 * glyphs-x.c (x_progress_gauge_instantiate):
7504 * glyphs-x.c (x_edit_field_instantiate):
7505 * glyphs-x.c (x_combo_box_instantiate):
7506 * glyphs-x.c (x_tab_control_instantiate):
7507 * glyphs-x.c (x_label_instantiate):
7508 new image instance parameter in various places.
7511 * event-Xt.c (enqueue_Xt_dispatch_event):
7512 this fun gets exported.
7515 * gui-msw.c (mswindows_handle_gui_wm_command):
7516 handle both :callback and :callback-ex, and generate our own
7517 event because it's one of the callback-ex arguments.
7520 * gui-x.c (popup_selection_callback):
7521 handle both :callback and :callback-ex, and generate our own
7522 event because it's one of the callback-ex arguments.
7523 * gui-x.c (button_item_to_widget_value):
7524 * gui-x.c (gui_items_to_widget_values_1):
7525 * gui-x.c (gui_item_children_to_widget_values):
7526 * gui-x.c (gui_items_to_widget_values):
7527 new image instance parameter in various places.
7529 * fns.c (Freplace_list):
7530 fix small typo in doc string.
7533 declare enqueue_Xt_dispatch_event.
7535 2000-04-28 Ben Wing <ben@xemacs.org>
7538 * buffer.c (Frecord_buffer):
7539 * buffer.c (syms_of_buffer):
7540 delete record-buffer-hook.
7543 * fns.c (Freplace_list):
7544 * fns.c (syms_of_fns):
7545 new primitive replace-list.
7548 slot for old buffer-alist.
7554 * redisplay.c (redisplay_frame):
7555 * redisplay.c (syms_of_redisplay):
7556 * redisplay.c (vars_of_redisplay):
7557 new hook buffer-list-changed-hook.
7560 2000-04-27 Ben Wing <ben@xemacs.org>
7562 * extents.h: extern in_modeline_generation.
7564 * redisplay.c (generate_formatted_string_db): set
7565 in_modeline_generation.
7567 * extents.c (extent_changed_for_redisplay): don't mark redisplay
7568 flags if in modeline generation. otherwise frame-modified-tick
7569 is ticked far too often.
7570 Declare in_modeline_generation.
7572 2000-04-26 Ben Wing <ben@xemacs.org>
7574 * emacs.c (vars_of_emacs): document quick-build "error-checking"
7576 (vars_of_emacs): add quick-build as an error-checking option.
7577 A bit kludgy, but there doesn't seem much point in creating
7578 a real var for this.
7580 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
7582 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
7584 * redisplay.h (struct display_line): Add a new variable,
7587 * redisplay.c (create_text_block): Set dl->line_continuation if
7589 (create_string_text_block): Ditto.
7590 (regenerate_window_incrementally): Use line_continuation instead
7591 of searching continuation glyph.
7592 (add_margin_runes): Call add_glyph_rune.
7593 (add_glyph_rune): Handle margin glyph.
7595 2000-04-20 Martin Buchholz <martin@xemacs.org>
7597 * filelock.c (fill_in_lock_file_name):
7599 Check for IS_ANY_SEP instead of '/'.
7601 Avoid generating gratuitous garbage. Call user_login_name() directly.
7602 Never check errno without first seeing that system call failed.
7603 (unlock_file): Add GCPRO.
7604 (Flock_buffer): Fix docstring.
7605 (Ffile_locked_p): Fix docstring. Add GCPRO.
7607 2000-04-19 Martin Buchholz <martin@xemacs.org>
7609 * sysdep.c (get_pty_max_bytes):
7610 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
7611 strings longer than 252 bytes.
7613 * md5.c: Unconditionally include ANSI header <limits.h>
7615 * glyphs-x.c (convert_EImage_to_XImage):
7616 * lisp-union.h (union Lisp_Object):
7617 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
7619 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7621 * filelock.c (current_lock_owner): Remove unused variable o, p.
7623 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
7625 * callint.c: Remove multiply defined symbol Qlet
7626 (syms_of_callint): ditto.
7628 2000-04-14 Andy Piper <andy@xemacs.org>
7630 * general.c (syms_of_general): add last-command, this-command, let
7633 * lisp.h: declare various symbols.
7635 * glyphs.h: declare Qwidget_callback_current_channel;
7637 * glyphs-widget.c (syms_of_glyphs_widget): add
7638 Qgui_callback_current_channel.
7639 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
7641 * gui-msw.c (mswindows_handle_gui_wm_command): bind
7642 widget-callback-current-channel when invoking the interactive
7643 arg. Also bind last-command and next-command when invoking the
7645 * gui-x.c (popup_selection_callback): ditto.
7647 * gui.c (get_gui_callback): massage args so that we are always
7648 calling eval. This allows us to add our own variable bindings
7651 * glyphs-x.c (x_button_instantiate): use
7652 gui_items_to_widget_values since this is GC safe.
7653 (x_progress_gauge_instantiate): ditto.
7654 (x_edit_field_instantiate): ditto.
7655 (x_label_instantiate): ditto.
7657 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
7658 (emacs_Xt_event_widget_focus_out): new function
7659 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
7661 (emacs_Xt_event_add_widget_actions): new function. add focus
7662 functions as actions.
7663 (init_event_Xt_late): use it.
7665 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
7667 * event-stream.c (Fdispatch_event): Doc fix.
7669 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
7671 * postgresql.c: Remove all references to PQsetenv*.
7673 * postgresql.h: Remove references to PGsetenvHandler object.
7674 * lrecord.h (lrecord_type): Ditto.
7676 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7678 * glyphs-msw.h (struct mswindows_image_instance_data): Added
7679 real_heigh and real_width members, and accessor macros for these.
7681 * glyphs-msw.c (init_image_instance_geometry): New function.
7682 (init_image_instance_from_dibitmap): Use it.
7683 (mswindows_resource_instantiate): Use it.
7684 (init_image_instance_from_xbm_inline): Use it.
7685 (mswindows_initialize_image_instance_mask): Use real bitmap
7687 (mswindows_create_resized_bitmap): Ditto.
7688 (mswindows_create_resized_mask): Ditto.
7690 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
7691 and bitmap to their surface size.
7693 2000-04-11 Jan Vroonhof <jan@xemacs.org>
7695 * process-unix.c (unix_send_process): Guard against process MIA
7696 after Faccept_process_output.
7698 2000-04-11 Ben Wing <ben@xemacs.org>
7700 * eval.c (unbind_to_hairy): fix brokenness introduced by
7701 nanosecond speed improvements.
7703 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
7705 * sunplay.c (init_device): To play sounds correctly, the device
7706 apparently needs to be initialized at least once by XEmacs. Make
7709 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
7711 * redisplay.c (add_margin_runes): Add text image glyph
7714 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7716 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
7717 gcc is newer than 2.5.
7719 2000-04-06 Colin Rafferty <colin@xemacs.org>
7721 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
7723 * fns.c (size_bit_vector):
7724 * alloc.c (size_vector):
7725 (make_vector_internal):
7726 (make_bit_vector_internal):
7727 (sweep_bit_vectors_1):
7728 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
7730 2000-04-06 Andy Piper <andy@xemacs.org>
7732 * gmalloc.c (malloc): undo previous change.
7737 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
7739 * line-number.c (buffer_line_number): Revert to former version.
7741 2000-04-06 Andy Piper <andy@xemacs.org>
7743 * gmalloc.c (malloc): add error checking.
7748 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
7749 button_item_to_widget_value arg.
7751 * glyphs-x.c (x_button_instantiate): add extra
7752 button_item_to_widget_value arg.
7753 (x_progress_gauge_instantiate): ditto.
7754 (x_edit_field_instantiate): ditto.
7755 (x_label_instantiate): ditto.
7757 * gui-x.c (gui_items_to_widget_values_1): add extra
7758 button_item_to_widget_value arg.
7759 (button_item_to_widget_value): add extra menu_item_p arg.
7761 * gui-x.h: change signature of button_item_to_widget_value.
7763 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
7764 button_item_to_widget_value arg.
7766 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
7768 * buffer.h (struct buffer): auto_save_modified should be long.
7770 2000-04-05 Andy Piper <andy@xemacs.org>
7772 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
7774 (button_query_geometry): give a little more room so that athena
7777 2000-04-05 Andy Piper <andy@xemacs.org>
7779 * faces.c (complex_vars_of_faces): The widget face should inherit
7780 the font of the gui-element face.
7782 2000-04-04 Andy Piper <andy@xemacs.org>
7784 * glyphs-x.c (x_button_update): new function. unconditionally
7785 update a button's state when the instance is dirty.
7786 (image_instantiator_format_create_glyphs_x): add x_button_update.
7787 (x_widget_instantiate): remove old resize cruft.
7789 2000-04-02 Andy Piper <andy@xemacs.org>
7791 * frame.c (change_frame_size_1): The introduction of gutters means
7792 that we need to allow 0 as a potential frame dimension.
7794 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
7796 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
7797 image glyph if allow_cursor.
7798 (add_hscroll_rune): Don't allow cursor to border glyph.
7799 (create_text_block): Ditto.
7801 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
7803 (redisplay_output_layout): Call ensure_face_cachel_complete for
7807 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
7809 * redisplay.c (add_glyph_rune): Adding text image as text runes.
7811 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
7814 * redisplay-tty.c (tty_output_display_block): Delete the routine
7815 for text image glyph
7816 * redisplay-x.c (x_output_display_block): ditto
7817 * redisplay-msw.c (mswindows_output_display_block): ditto
7819 2000-02-02 Mike Alexander <mta@arbortext.com>
7821 Note: Some of these were committed by accident as part of other
7824 * regex.c (regex_compile): Avoid compiler warnings.
7826 * ntproc.c (sys_spawnve): Avoid compiler warnings.
7828 * nt.h: Declare term_ntproc correctly.
7830 * nt.c: Remove incorrect declaration of get_home_directory which
7831 is declared correctly in lisp.h.
7833 * keymap.c (get_keyelt): Avoid compiler warnings.
7834 (raw_lookup_key_mapper): Avoid compiler warnings.
7836 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
7838 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
7840 * filemode.c (mode_string): Avoid compiler warnings.
7842 * file-coding.c (Fcoding_system_aliasee): Add return statement to
7845 * events-mod.h: Undef some things that winuser.h defines differently.
7847 * data.c (Faset): Avoid compiler warnings.
7849 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
7851 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7853 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
7854 Fall through to simple beep on error.
7855 Replace "extern" by real header file.
7857 * linuxplay.c: Use nativesound.h
7858 (play_sound_data): Return error code. Be less verbose on error.
7860 * sunplay.c: Use nativesound.h
7861 (play_sound_data): Return error code. Be less verbose on error.
7863 * ntplay.c: Use nativesound.h
7864 (play_sound_data): Return fake error code
7866 * sgiplay.c: Use nativesound.h
7867 (play_sound_data): Return error code
7869 * hpplay.c: Use nativesound.h, partially implement
7870 new error code. Break compilation until finished.
7871 (play_sound_data): error code.
7873 * nativesound.h (play_sound_file):
7874 (play_sound_data): Prototype in new header.
7876 2000-03-31 Andy Piper <andy@xemacs.org>
7878 * glyphs-widget.c: (button_query_geometry): new function. Adjust
7879 for toggle and radio buttons.
7880 (image_instantiator_buttons): use it.
7882 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7884 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
7885 (x_update_horizontal_scrollbar_callback): Return if no mirror was
7886 found. Scrollbar event probably belonged to some old config.
7888 2000-03-31 Andy Piper <andy@xemacs.org>
7890 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
7892 (initialize_widget_image_instance): default layout to
7893 LAYOUT_HORIZONTAL rather than 0.
7894 (widget_instantiate): reverse the item list at the end rather than
7896 (layout_layout): re-code for the border text at the front of the
7897 item list rather than at the end.
7898 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
7899 provided by the user.
7900 (widget_query_geometry): comment.
7902 2000-03-30 Andy Piper <andy@xemacs.org>
7904 * glyphs-widget.c (image_instantiator_layout): allow standard
7905 widget keywords in layouts.
7907 * gutter.c (output_gutter): cope with nil gutter contents.
7909 * frame.c (Fset_frame_properties): add gutter docs.
7911 2000-03-29 Andy Piper <andy@xemacs.org>
7913 * toolbar-msw.c (TBSTYLE_FLAT): add.
7914 (mswindows_output_toolbar): minor fiddling.
7916 2000-03-29 Andy Piper <andy@xemacs.org>
7918 * gutter.c (output_gutter): force gutter size recalculation if
7919 what we are trying to display won't fit.
7920 (update_gutter_geometry): new function. A per-gutter version of
7921 update_frame_gutter_geometry.
7922 (update_frame_gutter_geometry): use it.
7923 (redraw_exposed_gutter): add extra debugging output.
7925 2000-03-28 Mike Alexander <mta@arbortext.com>
7927 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
7928 (pdump_file_unmap): Implement it on Windows
7929 (pdump_file_get): Save alocated handles for pdump_file_unmap
7931 2000-03-28 Andy Piper <andy@xemacs.org>
7933 * gui.c (get_gui_callback): treat Quit specially.
7935 2000-03-27 Andy Piper <andy@xemacs.org>
7937 * glyphs.c (image_instantiate): be careful to check in the same
7940 2000-03-27 Didier Verna <didier@xemacs.org>
7942 * config.h.in: define the proper SMART_INCLUDE macro.
7943 handle renaming of `foo_h_path' to `foo_h_file'.
7945 * database.c: ditto.
7949 * linuxplay.c: ditto.
7951 * terminfo.c: ditto.
7953 * tooltalk.h: ditto.
7955 2000-03-27 Andy Piper <andy@xemacs.org>
7957 * glyphs-msw.c (mswindows_update_widget): make sure the widget
7958 gets updated whenever the face might have changed.
7960 2000-03-26 Mike Alexander <mta@arbortext.com>
7962 * dumper.c (pdump_resource_free): Fix the comment.
7964 2000-03-21 Olivier Galibert <galibert@pobox.com>
7966 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
7968 2000-03-22 Mike Alexander <mta@arbortext.com>
7970 * dumper.c: Include Windows headers on Windows
7971 (pdump_resource_free): Add a body to the function
7972 (pdump_load): exe_name -> exe_path and add some comments.
7974 2000-03-25 Mike Alexander <mta@arbortext.com>
7976 * gui.c (copy_gui_item_tree): Return a value in all cases
7978 2000-03-21 Didier Verna <didier@xemacs.org>
7980 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
7982 (SMART_INCLUDE): new macro.
7983 (POSTGRES_INCLUDE): new macro to include postgresql headers from
7984 the proper location.
7986 * postgresql.c: use it.
7990 2000-03-24 Andy Piper <andy@xemacs.org>
7992 * gutter.c (redraw_exposed_gutters): must be "in display" when we
7995 2000-03-24 Andy Piper <andy@xemacs.org>
7997 * redisplay-output.c (compare_runes): use image_instance_changed
7998 to detect changes. Do not depend on glyphs_changed, only depend on
8000 (redisplay_output_layout): add debug messages.
8001 (compare_runes): ditto.
8003 * glyphs.h: declare new functions.
8004 (struct Lisp_Image_Instance): remove percent and associated
8007 * gui.h: declare new copying functions.
8009 * gui.c (copy_gui_item_tree): new function.
8010 (copy_gui_item): new function.
8011 (gui_item_id_hash): revert to standard hash.
8012 (gui_item_hash): ditto.
8013 (gui_item_hash_internal): deleted.
8014 (mark_gui_item): mark value.
8015 (gui_item_add_keyval_pair): add value.
8016 (gui_item_init): ditto.
8017 (gui_add_item_keywords_to_plist): ditto.
8018 (gui_item_equal): ditto.
8019 (syms_of_gui): add Q_value.
8021 * glyphs-x.c (x_progress_gauge_update): use pending items and
8022 value for setting the state.
8023 (x_update_widget): don't set items from pending here.
8025 * glyphs-widget.c (update_widget): update items here.
8026 (progress_gauge_set_property): use items for storing value. Put
8027 new value in pending items.
8029 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
8030 items for new value. Convert percent -> value.
8031 (mswindows_tab_control_update): don't update items here.
8033 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
8034 (update_subwindow): ditto.
8035 (image_instance_changed): new function. Compare hash values and
8036 past and present widget items.
8037 (image_instantiate): We more careful about where we instantiate
8039 (image_instantiate): add error checking.
8041 * gutter.c (syms_of_gutter): use -hook.
8043 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
8045 * console-tty.c (Fset_console_tty_input_coding_system): Use
8047 (Fset_console_tty_output_coding_system): Use Qterminal.
8048 (tty_init_console): Use Qkeyboard and Qterminal.
8050 2000-03-21 Ben Wing <ben@xemacs.org>
8052 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
8053 From Mike Alexander <mta@arbortext.com>.
8055 2000-03-21 Ben Wing <ben@xemacs.org>
8057 * event-msw.c (mswindows_need_event): Horrible kludge to fix
8058 process brokenness. Proper implementation to come.
8060 Rename call-process-internal to old-call-process-internal.
8061 New impl. in process.el.
8063 2000-03-21 Martin Buchholz <martin@xemacs.org>
8065 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
8067 2000-03-20 Andy Piper <andy@xemacs.org>
8069 * glyphs.c (full_list_hash): make hashes of the same elements in
8070 different orders return different values.
8072 2000-03-20 Martin Buchholz <martin@xemacs.org>
8074 * XEmacs 21.2.32 is released.
8076 2000-03-20 Martin Buchholz <martin@xemacs.org>
8078 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
8079 (DFC_MALLOC_USE_CONVERTED_DATA):
8080 Add aliasing-safe casts to allow use with char* or unsigned char*
8083 * eldap.c (Fldap_open):
8084 (Fldap_search_basic):
8087 Make C++-compilable.
8088 Make sure GCPRO'ed variables are initialized.
8089 Use temp variables to avoid repeated calls to Flength.
8091 2000-03-16 Martin Buchholz <martin@xemacs.org>
8094 Make sure PATH_MAX is always defined.
8095 Include limits.h for PATH_MAX.
8096 Deprecate use of MAXPATHLEN.
8098 2000-03-10 Martin Buchholz <martin@xemacs.org>
8100 * emacs.c: Add reinit_vars_of_fileio.
8101 * symsinit.h: Add reinit_vars_of_fileio.
8102 * fileio.c (reinit_vars_of_fileio): New.
8103 * fileio.c (Fmake_temp_name):
8104 Initialize temp_name random number from microseconds to make
8105 collisions even less likely. Initialize always at process startup
8106 time. (make-temp-name) used to return the same file name twice in
8108 Random stylistic fiddling.
8111 2000-03-20 Andy Piper <andy@xemacs.org>
8113 * glyphs.c (image_instantiate): allow text glyphs to be
8114 instantiated in the minibuffer window.
8116 2000-03-19 Andy Piper <andy@xemacs.org>
8118 * glyphs.c (image_instance_hash): be careful about which items we
8121 * glyphs-widget.c (tab_control_set_property): record into pending
8122 items rather than the actual items.
8124 * glyphs-x.c (x_update_widget): use pending items to update with.
8126 * glyphs-msw.c (mswindows_tab_control_update): use pending items
8129 * glyphs.c (mark_image_instance): mark pending items.
8131 * window.c (Fset_window_configuration): record the buffer.
8132 (Fselect_window): totally revert previous change which breaks many
8135 2000-03-18 Andy Piper <andy@xemacs.org>
8137 * glyphs-msw.c (mswindows_tab_control_update): force selected
8140 * glyphs.c (image_instantiate): don't allow the minibuffer as a
8141 window domain cache, otherwise we get inconsistencies at
8142 startup. There is something fishy at startup which can lead to the
8143 minibuffer being the selected window when the gutter content is
8146 * gui.c (parse_gui_item_tree_list): add probably unnecessary
8148 (parse_gui_item_tree_children): ditto.
8149 (parse_gui_item_tree_item): ditto.
8151 * glyphs.c (Fupdate_widget_instances): return something.
8153 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8155 * window.c (Fselect_window): Undo 2000-03-17 change.
8157 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
8159 * postgresql.c (Fpq_setenv): Remove this turkey when linking
8160 against v7.0 libraries. Insta-coredump city until the postgres
8163 2000-03-17 Andy Piper <andy@xemacs.org>
8165 * faces.c (complex_vars_of_faces): don't give the widget face an
8166 inherited background pixmap.
8168 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
8171 * event-stream.c (Fdispatch_non_command_events): return something.
8173 * gutter.c (output_gutter): use widget face.
8174 (clear_gutter): ditto.
8176 * NEWS: adjust again.
8178 * window.c (Fselect_window): make sure this runs to completion to
8179 avoid oddities with Fset_window_configuration.
8180 (Fcurrent_window_configuration): in general do not save the
8181 minibuffer as the selected window.
8183 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
8185 2000-03-16 Olivier Galibert <galibert@pobox.com>
8187 * emacs.c (Frunning_temacs_p): Revert previous patch.
8188 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
8190 2000-03-16 Andy Piper <andy@xemacs.org>
8192 * glyphs-x.c (x_tab_control_update): if no widget values then
8195 * NEWS: update for new features.
8197 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
8198 synthetic event to the native system.
8199 (reinit_vars_of_event_Xt): set force_event_pending to
8200 emacs_Xt_force_event_pending.
8202 * events.h (struct event_stream): add force_event_pending.
8204 * specifier.c (recompute_one_cached_specifier_in_window): add
8207 * redisplay.c (redisplay_frame): don't call
8208 update_frame_subwindows. Reset subwindow cachels when
8209 subwindows_changed, removing this was an optimization too far.
8211 * redisplay-output.c (compare_runes): reorganize so that we catch
8212 glyph changes when we want them. Set optimize_output when this
8214 (redisplay_output_layout): remove frame_really_changed, use
8215 optimize_output instead.
8217 * redisplay-msw.c (mswindows_output_display_block): reset
8218 optimize_output after outputting a glyph.
8219 * redisplay-x.c (x_output_display_block): ditto.
8220 * redisplay-tty.c (tty_output_display_block): ditto.
8222 * gutter.c: (specifier_vars_of_gutter): use new spec changed
8224 (gutter_specs_changed): do specific gutter positions.
8225 (top_gutter_specs_changed): new function. Only update the
8226 specified gutter specs.
8227 (bottom_gutter_specs_changed): ditto.
8228 (left_gutter_specs_changed): ditto.
8229 (right_gutter_specs_changed): ditto.
8231 * gui.c (gui_item_hash_internal): new function, does a real hash.
8232 (gui_item_id_hash): use it.
8233 (gui_item_hash): hash the eval'ed gui_item.
8235 * gui-x.c (popup_selection_callback): send an eval event to call
8236 Fupdate_widget_instances.
8238 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
8239 to call Fupdate_widget_instances.
8241 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
8242 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
8244 * glyphs.c: (update_frame_subwindows): deleted.
8245 (Fupdate_widget_instances): new function for updating the dirty
8246 state of widgets that might have changed.
8247 (syms_of_glyphs): add Qupdate_widget_instances.
8248 (full_list_hash): hash a list completely.
8249 (image_instance_hash): use it for items and properties.
8251 * frame-msw.c (mswindows_size_frame_internal): remove unused
8254 * faces.h (struct face_cachel): fix comment.
8256 * event-stream.c (Fdispatch_non_command_events): new
8257 function. Process non-command events, forcing an event cycle
8259 (syms_of_event_stream): declare.
8260 (event_stream_force_event_pending): new function. Force an event
8261 on the native event queue so that an event cycle will occur next
8265 (struct ntpipe_shove_stream):
8266 (mswindows_enqueue_dispatch_event):
8267 (mswindows_dequeue_dispatch_event):
8268 (mswindows_cancel_dispatch_event):
8269 (mswindows_pump_outstanding_events):
8270 (mswindows_drain_windows_queue):
8271 (mswindows_handle_paint):
8272 (mswindows_wnd_proc):
8273 (mswindows_key_to_emacs_keysym):
8274 (get_process_input_waitable):
8275 (emacs_mswindows_delete_stream_pair): re-indent file.
8276 (mswindows_need_event): do not process further fds if the windows
8277 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
8278 fixes the 100% cpu problem.
8279 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
8281 2000-03-15 Olivier Galibert <galibert@pobox.com>
8287 * emacs.c: Moved dump file searching to dumper.c.
8288 (Frunning_temacs_p): Fixed.
8290 * alloc.c: Moved everything pdump-related to dumper.c. Removed
8291 last_lrecord_type_index_assigned.
8293 2000-02-20 Olivier Galibert <galibert@pobox.com>
8295 * symsinit.h: Added reinit parameter to init_console_stream
8298 * lisp.h: Added file parameter to pdump_load declaration.
8300 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
8301 support. Added dump file searching.
8303 * config.h.in: Added EMACS_PROGNAME.
8305 * console-stream.c (init_console_stream): Fix reinitialisation
8306 when running from temacs.
8308 * alloc.c (pdump): Add id support.
8309 (pdump_load): Add file parameter and signature/id support.
8311 * Makefile.in.in: Add full pdump support.
8313 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
8315 * postgresql.c: Update documentation to reflect latest code
8317 (print_result): Show tuple counts in printed representation when
8319 (Fpq_put_nbytes): MULE-ize.
8320 (Fpq_get_line_async): Ditto.
8322 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8324 * postgresql.c (Fpq_lo_import): Fix return value.
8325 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
8327 2000-03-13 Ben Wing <ben@xemacs.org>
8329 * alloc.c (pdump_load):
8330 Fix compile warning under mswin.
8332 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8334 * postgresql.c: Mule-ization, bug fixes.
8335 Use PG_CODING to encapsulate coding system name changes.
8336 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
8337 (pg-coding-system): Create.
8339 (Fpq_conn_defaults): Mule-ize.
8340 (Fpq_connectdb): Mule-ize & bug fix.
8341 (Fpq_connect_start): Mule-ize.
8342 (Fpq_set_client_encoding): Mule-ize.
8343 (Fpq_finish): Document `DEAD' connection status.
8345 (Fpq_pgconn): Mule-ize.
8346 (Fpq_exec): Mule-ize & bug fix.
8347 (Fpq_send_query): Ditto.
8348 (Fpq_get_result): Ditto.
8349 (Fpq_res_status): Mule-ize.
8350 (Fpq_result_error_message): Mule-ize.
8351 (Fpq_ntuples): fix comments.
8352 (Fpq_fname): Mule-ize.
8353 (Fpq_fnumber): Mule-ize.
8354 (Fpq_ftype): fix comments.
8355 (Fpq_get_value): Mule-ize.
8356 (Fpq_cmd_status): Ditto.
8357 (Fpq_cmd_tuples): Ditto.
8358 (Fpq_oid_value): Ditto.
8359 (Fpq_notifies): Ditto.
8360 (Fpq_lo_import): Ditto.
8361 (Fpq_lo_export): Ditto.
8362 (Fpq_get_line): Ditto.
8363 (Fpq_put_line): Mule-ize and bug fix.
8364 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
8366 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8368 * postgresql.c (vars_of_postgresql): Mule-ize.
8369 (Fpq_conn_defaults): Ditto.
8371 2000-03-12 Ben Wing <ben@xemacs.org>
8373 * alloc.c (Fmake_byte_code):
8374 * alloc.c (debug_string_purity_print):
8375 * alloc.c (pdump_backtrace):
8376 * alloc.c (pdump_get_indirect_count):
8377 * alloc.c (pdump_register_sub):
8378 * alloc.c (pdump_register_object):
8379 * alloc.c (pdump_register_struct):
8380 * alloc.c (pdump_dump_data):
8381 * alloc.c (pdump_reloc_one):
8385 * console-msw.c (GetConsoleHwnd):
8386 * console-msw.c (msw_hide_console):
8387 * console-msw.c (msw_show_console):
8388 * console-msw.c (msw_ensure_console_buffered):
8389 * console-msw.c (msw_output_console_string):
8390 * console-msw.c (console_type_create_mswindows):
8392 a) Added functions to manipulate the console window for use with
8395 b) Added support for writing text to the console, which is now
8396 used under Windows when xemacs is not being run non-interactively,
8397 to write text that would otherwise be destined for stdout because
8398 under these circumstances, text written to stdout tends to
8399 disappear and not be seen.
8403 * event-Xt.c (x_event_to_emacs_event):
8404 * event-Xt.c (describe_event_window):
8405 * events-mod.h (XEMACS_MOD_CONTROL):
8407 * events.c (Fmake_event):
8408 * events.c (character_to_event):
8409 * events.c (event_to_character):
8410 * events.c (format_event_object):
8411 * events.c (Fevent_modifiers):
8413 * events.h (struct key_data):
8414 * events.h (struct button_data):
8415 * events.h (struct misc_user_data):
8416 * frame-x.c (Fcde_start_drag_internal):
8417 * frame-x.c (Foffix_start_drag_internal):
8418 * gpmevent.c (Freceive_gpm_event):
8420 * keymap.c (bucky_sym_to_bucky_bit):
8421 * keymap.c (control_meta_superify):
8422 * keymap.c (make_key_description):
8423 * keymap.c (keymap_lookup_directly):
8424 * keymap.c (create_bucky_submap):
8425 * keymap.c (keymap_store):
8426 * keymap.c (define_key_check_and_coerce_keysym):
8427 * keymap.c (define_key_parser):
8428 * keymap.c (define_key_alternate_name):
8429 * keymap.c (Fdefine_key):
8430 * keymap.c (raw_lookup_key_mapper):
8431 * keymap.c (struct map_keymap_unsorted_closure):
8432 * keymap.c (map_keymap_unsorted_mapper):
8433 * keymap.c (map_keymap_sort_predicate):
8434 * keymap.c (map_keymap_sorted):
8435 * keymap.c (accessible_keymaps_mapper_1):
8436 * keymap.c (where_is_recursive_mapper):
8437 * keymap.c (describe_map_mapper):
8438 * keymap.c (describe_map_sort_predicate):
8439 * keymap.c (describe_map):
8440 * keymap.c (complex_vars_of_keymap):
8441 And a number of other files, the key modifier preprocessor
8442 constants that xemacs uses have names that conflict with constants
8443 defined under MS Windows for other purposes, so they were renamed
8444 to begin with the prefix XEMACS_. The variables that hold such
8445 modifiers were changed to consistently be of type int to fix
8446 various compile warnings.
8448 * console.c (complex_vars_of_console):
8451 * device-msw.c (mswindows_finish_init_device):
8452 * device-msw.c (msw_get_workspace_coords):
8453 * device-msw.c (mswindows_device_system_metrics):
8454 and various other files, added support for a new
8455 device property called offset-workspace which returns the position
8456 of the upper left corner of the workspace area and goes along with
8457 the existing size-workspace property.
8460 * dialog-msw.c (push_bufbyte_string_as_unicode):
8461 * dialog-msw.c (mswindows_popup_dialog_box):
8462 Added support for XEmacs-style accelerator specifications in
8463 button text. Note: I didn't add support for this under X Windows,
8464 and somebody needs to do this.
8467 * dialog.c (Fpopup_dialog_box):
8468 Documented the support for accelerators that was just mentioned.
8470 editfns.c (get_home_directory): Changed behavior under Windows
8471 when HOME not defined; former behavior was irretrievably broken.
8476 * minibuf.c (clear_echo_area_internal):
8477 * minibuf.c (echo_area_append):
8479 * print.c (std_handle_out_external):
8480 * print.c (std_handle_out_va):
8482 * print.c (write_string_to_stdio_stream):
8483 * print.c (output_string):
8484 * print.c (debug_print):
8485 * print.c (debug_backtrace):
8486 * print.c (debug_short_backtrace):
8487 Cleaned up the code that prints text to stdout so that this can be
8488 changed to output into a console window instead under MS Windows,
8492 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
8493 * eval.c (internal_catch):
8494 * eval.c (unwind_to_catch):
8495 * eval.c (throw_or_bomb_out):
8496 * eval.c (condition_case_1):
8497 * eval.c (signal_1):
8498 * eval.c (check_error_state_sanity):
8499 * eval.c (call_with_suspended_errors_1):
8500 * eval.c (call_with_suspended_errors):
8501 * eval.c (reinit_vars_of_eval):
8502 Added code to catch throw loops and check for a pesky bug that may
8506 * event-msw.c (key_needs_default_processing_p):
8507 * event-msw.c (mswindows_wnd_proc):
8508 * event-msw.c (mswindows_modifier_state):
8509 * event-msw.c (emacs_mswindows_quit_p):
8510 * event-msw.c (vars_of_event_mswindows):
8511 a) Added support for using the alt key to select menu items as is
8512 standard under MS Windows. This is controlled using the variable
8513 menu-accelerator-enabled, just like under X Windows. There is an
8514 option on the options menu to turn this support on. I really
8515 think that it should be on by default under Windows, but I'm not
8516 going to make this change yet.
8518 b) Added support for dynamic display size changes under Windows.
8521 * event-stream.c (maybe_echo_keys):
8522 * event-stream.c (Fnext_event):
8523 * event-stream.c (command_builder_find_leaf):
8524 * event-stream.c (lookup_command_event):
8525 * event-stream.c (execute_command_event):
8526 * event-stream.c (pre_command_hook):
8527 * event-stream.c (post_command_hook):
8528 * event-stream.c (syms_of_event_stream):
8529 * event-stream.c (vars_of_event_stream):
8530 * event-stream.c (complex_vars_of_event_stream):
8531 * events.h (struct command_builder):
8533 a) Tried to clean up a little bit the horribly written x-specific
8534 accelerator code that crept into this file. I moved this code
8535 into menubar-x.c where it belongs. I also needed to move the
8536 command builder structure into the file events.h because it is
8537 accessed directly by this accelerator code. What I didn't do, but
8538 which should be done at some point, is to properly abstract this
8539 code using device methods instead of the kludgy way that it
8540 currently hooks into the event code.
8542 b) Added the lisp variables this-command-properties and
8543 last-command- properties, which should be used to synchronize two
8544 adjacent commands in preference to playing games with the variable
8545 this-command, which is typically what happens.
8547 c) Added some slightly nasty code to hook into the lisp support
8548 for shifted- motion-key selection. This is actually necessary for
8549 somewhat complicated reasons, which are described in
8550 simple.el. (NB: I think the proper thing would be to have the code
8551 that calls the pre and post command hooks also call out to generic
8552 lisp functions in simple.el, where all built-in stuff could be
8553 added. I will think about this more.)
8555 * event-unixoid.c (poll_fds_for_input):
8556 * lread.c (readchar):
8557 * redisplay-tty.c (tty_clear_frame):
8558 * redisplay-x.c (x_get_gc):
8559 * signal.c (interrupt_signal):
8560 And a whole bunch of other files: fixed up places that printed
8561 directly to stderr to instead call the function stderr_out so that
8562 the changes I made under Windows work correctly.
8564 * filemode.c (mode_string):
8568 * frame-msw.c (mswindows_size_frame_internal):
8569 Fixed the computation of frame size and position to keep the frame
8570 within the workspace area, rather than within the physical
8571 dimensions of the screen, so that the frame doesn't overlap window
8572 manager decorations, such as the start menu and toolbar, typically
8573 at the bottom of the screen.
8575 * frame.c (vars_of_frame):
8576 Changed the default frame title format under MS Windows to consist
8577 of buffername-XEmacs, which is standard under MS Windows. I think
8578 it might be a good idea to change this everywhere because I think
8579 it is superior to the current frame title format, but this is the
8580 kind of change that is likely to cause some people to get annoyed,
8581 so I'm not making it.
8583 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
8585 * gui-msw.c (mswindows_handle_gui_wm_command):
8586 Fixed compile warnings.
8589 * gui-x.c (strdup_and_add_accel):
8590 * gui-x.c (button_item_to_widget_value):
8592 Added code to automatically put an accelerator onto the beginning
8593 of menu items that don't have one as is now the standard, and is
8594 described more later. Also fixed things so that the menu item
8595 name can be an evaluated expression, again a new standard.
8598 * gui.c (gui_item_add_keyval_pair):
8599 * gui.c (make_gui_item_from_keywords_internal):
8600 * gui.c (gui_add_item_keywords_to_plist):
8601 * gui.c (gui_item_accelerator):
8602 * gui.c (gui_name_accelerator):
8603 * gui.c (gui_item_included_p):
8604 * gui.c (gui_item_display_flush_left):
8605 * gui.c (gui_item_display_flush_right):
8606 * gui.c (parse_gui_item_tree_item):
8607 * gui.c (parse_gui_item_tree_children):
8608 * gui.c (parse_gui_item_tree_list):
8609 Mule-ized. Cleanup. GCPRO addition.
8611 * line-number.c (buffer_line_number):
8613 * lisp.h (EMACS_INT_MAX):
8614 Added the manifest constant EMACS_INT_MIN corresponding to the
8615 existing constant EMACS_INT_MAX. This is partially to fix compile
8616 warnings under Windows, and partly for cleanliness.
8619 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
8620 * menubar-msw.c (msw_translate_menu_or_dialog_item):
8621 * menubar-msw.c (displayable_menu_item):
8622 * menubar-msw.c (populate_menu_add_item):
8623 * menubar-msw.c (populate_or_checksum_helper):
8624 * menubar-msw.c (populate_menu):
8625 * menubar-msw.c (update_frame_menubar_maybe):
8626 * menubar-msw.c (prune_menubar):
8627 * menubar-msw.c (msw_char_is_accelerator):
8628 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
8629 * menubar-msw.c (mswindows_handle_wm_command):
8630 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
8631 * menubar-msw.c (mswindows_handle_wm_initmenu):
8632 * menubar-msw.c (mswindows_update_frame_menubars):
8633 * menubar-msw.c (mswindows_free_frame_menubars):
8634 * menubar-msw.c (mswindows_popup_menu):
8635 Fixed a bug in handling accelerators where an extra character
8636 would be displayed in the menu item. Also generalized the
8637 function displayable_menu_item because it is now used by the
8638 dialog box code as well. And finally, added code in the functions
8639 that create the menubar to extract a list of accelerators for the
8640 top level menubar, which is used in the event code to determine
8641 whether a particular alt-key combination should be used to invoke
8642 a menu item, or should be passed through to access the standard
8643 XEmacs keymap binding for this key combination.
8645 Much needed GCPROing.
8648 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8649 * menubar-x.c (menu_item_descriptor_to_widget_value):
8650 * menubar-x.c (restore_in_menu_callback):
8651 * menubar-x.c (x_popup_menu):
8652 * menubar-x.c (menu_move_up):
8653 * menubar-x.c (menu_move_down):
8654 * menubar-x.c (menu_move_left):
8655 * menubar-x.c (menu_move_right):
8656 * menubar-x.c (menu_select_item):
8657 * menubar-x.c (command_builder_operate_menu_accelerator):
8658 * menubar-x.c (menu_accelerator_junk_on_error):
8659 * menubar-x.c (command_builder_find_menu_accelerator):
8660 * menubar-x.c (Faccelerate_menu):
8662 Moved a whole bunch of code here that was previously in
8663 event-stream.c as described above. There is also code connected
8664 to the new standard of adding an accelerator to the beginning of
8665 menu items that don't have one as described above and below.
8668 * menubar.c (menu_parse_submenu_keywords):
8669 * menubar.c (Fmenu_find_real_submenu):
8670 * menubar.c (Fnormalize_menu_item_name):
8671 * menubar.c (syms_of_menubar):
8672 * menubar.c (vars_of_menubar):
8673 * menubar.c (complex_vars_of_menubar):
8675 a) Cleaned up a bunch of documentation and improved it.
8677 b) XEmacs now automatically adds an accelerator onto the beginning
8678 of any menu items that don't have one. I did this because there
8679 will inevitably be some menu items on the main menubar that don't
8680 have accelerators on them because the package that adds that
8681 particular menu item hasn't yet been fixed up to have accelerators
8682 in them and it looked rather strange to have some items with and
8683 some items without accelerators, especially since even in items
8684 without accelerators, you can, at least under windows, still
8685 access the item through an accelerator corresponding to the first
8686 character in the item's name. If people don't like this behavior,
8687 I can add a variable to turn it off optionally, but I'm not sure
8688 this is a good idea because we really do need to have accelerators
8689 on all of the menu items, and if a package doesn't like the
8690 accelerators being put on the first character, then it should put
8691 the accelerators where they belong.
8693 c) I made a behavior change, which is that the descriptor that
8694 specifies the text of the menu item, which formerly was just a
8695 string, can now also be an evaluated expression. This makes this
8696 descriptor parallel with all of the others, which could also be
8697 evaluated expressions. This also obviates the need for the
8698 keyword :label, which was previously listed in the documentation
8699 as unimplemented, and which was for the same purpose.
8704 * ntproc.c (new_child):
8705 * ntproc.c (sys_spawnve):
8706 * ntproc.c (find_child_console):
8707 * ntproc.c (sys_kill):
8708 Fixed compile warnings. By the way, this file should really go
8709 away entirely, and this will happen as soon as Kirill makes his
8710 final round of process cleanups, which affect the function
8714 * process-nt.c (struct nt_process_data):
8715 * process-nt.c (find_process_from_pid):
8716 * process-nt.c (send_signal_the_nt_way):
8717 * process-nt.c (enable_child_signals):
8718 * process-nt.c (find_child_console):
8719 * process-nt.c (send_signal_the_95_way):
8720 * process-nt.c (nt_finalize_process_data):
8721 * process-nt.c (ensure_console_window_exists):
8722 * process-nt.c (nt_create_process):
8723 * process-nt.c (nt_kill_child_process):
8724 * process-nt.c (nt_kill_process_by_pid):
8725 * process-nt.c (nt_open_network_stream):
8726 * process-nt.c (vars_of_process_nt):
8727 Copied over code from Emacs 20.5 to correctly send signals to sub-
8728 processes under Windows 95. Also added code to automatically
8729 create and hide console window when a sub-process is created under
8730 Windows 95, which obviates the need for the separate runemacs.exe
8731 executable, and finally implemented some variables that were
8732 implemented in Emacs 20.5, but previously not in XEmacs. These
8733 include mswindows- start-process-share-console and
8734 mswindows-start-process-inherit-error-mode. (Both of these only
8735 apply to Windows 95.)
8737 * regex.c (regex_compile): Fixed a compile warning.
8740 * select-msw.c (mswindows_own_selection):
8741 * select-msw.c (mswindows_get_foreign_selection):
8742 * select-msw.c (mswindows_disown_selection):
8743 * select-msw.c (console_type_create_select_mswindows):
8744 * select-msw.c (syms_of_select_mswindows):
8745 Cleaned up the file and implemented the device method
8746 selection_exists_p, which had accidentally been left out. Also
8747 removed four lisp functions that were remnants from before the
8748 time when the selection code was properly device abstracted.
8749 These functions are no longer needed because there are generic
8750 equivalents, and because they were added recently and don't exist
8751 in FSF Emacs, I don't think there's any problem with just deleting
8755 * sysdep.c (sys_subshell):
8756 Fixed a compile warning, although in this case there's probably
8757 something wrong with this code, and it ought to be looked into
8758 more thoroughly by somebody who understands it.
8761 * window.c (Fwindow_text_area_height):
8762 * window.c (Fwindow_width):
8763 * window.c (Fwindow_full_width):
8764 * window.c (Fwindow_pixel_width):
8765 * window.c (debug_print_window):
8766 * window.c (syms_of_window):
8767 Added functions window-text-area-height and window-full-width,
8768 which are functions for returning various width and height
8769 characteristics of a window. (One of these functions is necessary
8770 for making the file dialog box work correctly, and the other one
8771 was added for completeness.) Also added a table to the
8772 documentation for window-height which describes the entire scheme
8773 for accessing width and height characteristics of a window.
8775 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8777 * nt.c (fstat): Added a comment for another problem with
8778 non-encapsulated [f]stat(), reported by Adrian Aichner
8779 <aichner@ecf.teradyne.com>.
8781 2000-03-11 Andy Piper <andy@xemacs.org>
8783 * window.c (make_dummy_parent): initialize subwindow instance
8785 (Fset_window_configuration): zero extent_modiff.
8787 2000-03-10 Andy Piper <andy@xemacs.org>
8789 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
8790 more changes can be triggered.
8791 (Fredisplay_frame): ditto.
8792 (Fredraw_device): ditto.
8793 (Fredisplay_device): ditto.
8794 (redisplay_frame): make non-static.
8795 (redisplay_frame): call update_frame_gutter_geometry outside of
8798 * gutter.h: declare update_frame_gutter_geometry.
8800 * redisplay.h: declare redisplay_frame.
8802 * gutter.c (update_frame_gutter_geometry): move geometry changes
8803 in update_frame_gutters here. Geometry changes can only occur
8804 outside of redisplay.
8805 (update_frame_gutters): remove geometry change code.
8806 (Fredisplay_gutter_area): make sure that we are in display when we
8807 update and that we have flushed any size changes.
8809 2000-03-11 Andy Piper <andy@xemacs.org>
8811 * alloc.c (pdump_dump_data): remove i & count shadows.
8813 2000-02-27 Mike Alexander <mta@arbortext.com>
8815 * sysdep.h: Declare pdump_read_file
8817 * sysdep.c (pdump_read_file): New function
8819 * alloc.c (pdump_load): Call pdump_read_file to get the portable
8822 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8824 * lrecord.h: add `lrecord_type_pgsetenv'.
8826 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
8828 * symsinit.h: declare (vars|syms)_of* functions.
8829 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
8831 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
8833 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
8835 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
8838 * emacs.c (main_1): Call postgres initialization code.
8840 * postgresql.h: New file. PostgreSQL RDBMS support.
8841 * postgresql.c: New file.
8843 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8845 * redisplay-output.c (redisplay_output_display_block): Disable
8848 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8850 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
8851 (Fcanna_henkan_next): Ditto.
8852 (Fcanna_bunsetu_henkou): Ditto.
8853 (Fcanna_henkan_kakutei): Ditto.
8854 (Fcanna_henkan_end): Ditto.
8855 (Fcanna_henkan_quit): Ditto.
8856 (Fcanna_henkan_next): Set retun value correctly.
8857 (c2mu): Use unsigned char instead of signed char.
8859 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8861 * emacs.c (main_1): Always call syms_of_gui.
8862 * inline.c: include gui.h
8864 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8866 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
8867 converted to Lisp_Object.
8868 (Qtop_bottom): New variable.
8869 (syms_of_redisplay): Initialize it.
8870 * redisplay.h (Vvisible_bell): Ditto.
8871 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
8872 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
8873 only flash top and bottom.
8875 2000-03-08 Andy Piper <andy@xemacs.org>
8877 * buffer.c (Frename_buffer): record new buffer name the right way.
8879 2000-03-08 Andy Piper <andy@xemacs.org>
8881 * glyphs.c (update_subwindow): increase hash depth so that widget
8882 items get picked up properly.
8884 * redisplay-output.c (compare_runes): increase hash depth so that
8885 widget items get picked up properly.
8887 2000-03-08 Andy Piper <andy@xemacs.org>
8889 * gutter.c (output_gutter): add some debug.
8891 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
8892 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
8893 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
8895 * redisplay-output.c (compare_runes): use display_hash to
8896 determine if glyphs really are not the same.
8898 * glyphs.c (update_subwindow): check display_hash to see if
8899 anything really needs to be updated. If not then do
8900 nothing. Record the display_hash after updating.
8901 (image_instance_equal): compare the image_instance face also.
8903 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
8905 * redisplay.h: Fix comment style.
8907 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
8909 * consle-msw.h (struct mswindows_frame):
8910 Added new member paint_pending to indicate whether a WM_PAINT
8911 magic event has been queued for this frame.
8913 * event-msw.c (mswindows_drain_windows_queue):
8914 Don't queue a WM_PAINT magic event if one is already queued.
8915 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
8917 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
8919 2000-03-07 Didier Verna <didier@xemacs.org>
8921 * dired.c: #include `regex.h' after `sysfile.h'.
8923 2000-03-06 Martin Buchholz <martin@xemacs.org>
8925 * sound.c (init_nas_sound): Fix compiler warning.
8927 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
8929 (MARK_STRUCT_AS_FREE):
8930 (MARK_STRUCT_AS_NOT_FREE):
8931 Make `gcc -fstrict-aliasing' work properly.
8933 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
8935 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
8936 (mswindows_delete_device): Call CoUnnitialize().
8938 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
8940 2000-02-25 <CraigL@DyCon.com>
8942 * process-nt.c: MinGW now has <shellapi.h>, but still needs
8945 * sysdep.c: This extern declaration for environ prevents MinGW
8946 from finding the variable in CRTDLL.DLL.
8948 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
8952 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
8954 (MMRESULT): Removed, now defined in cygwin's windows headers.
8956 (uid_t,gid_t,pid_t,ssize_t): ..
8957 (_timeb): Removed, MinGW defines both _timeb and timeb.
8958 (HAVE_H_ERRNO): Added.
8959 (HAVE_TZNAME): Added, configure is not detecting this.
8961 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
8963 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
8964 * syntax.c (syntax_match): Use it.
8966 * cmds.c: Import auto-fill-chars from FSF Emacs.
8967 (Vauto_fill_chars): New variables.
8968 (internal_self_insert): Check Vauto_fill_chars.
8970 Declare auto-fill-chars as a Lisp variable and initialize it.
8972 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8974 * fileio.c (Fmake_symbolic_link):
8976 Run handlers even if local machine doesn't have symlinks.
8978 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8980 * event-msw.c (mswindows_drain_windows_queue):
8981 Don't generate paint magic events for non-XEmacs frames.
8983 2000-03-05 Andy Piper <andy@xemacs.org>
8985 * redisplay.c (redisplay_frame): generate_displayable_area and
8986 friends assumes that we are not in GC, we therefore have to make
8987 sure that this doesn't happen.
8989 * gutter.c (calculate_gutter_size): generate_displayable_area
8990 assumes that we are not in GC, we therefore have to make sure that
8991 this doesn't happen.
8993 2000-03-05 Martin Buchholz <martin@xemacs.org>
8995 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
8997 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8999 * redisplay.c (regenerate_window): Make sure we set a sane value
9000 for end_pos even if we jump out of the loop.
9001 (regenerate_window): Answer Ben's question :-).
9002 (start_end_of_last_line): Add may_error argument.
9003 (start_of_last_line):
9004 (end_of_last_line): Pass may_error = 0.
9005 (end_of_last_line_may_error): New function.
9006 (pixel_to_glyph_translation): Use it, so we don't crash in
9009 2000-03-04 Andy Piper <andy@xemacs.org>
9011 * window.h (struct window): add gutter_extent_modiff.
9013 * window.c (allocate_window): zero out gutter_extent_modiff.
9015 * redisplay.h: declare sync_display_line_structs.
9017 * redisplay.c (add_glyph_rune): add a better comment.
9019 * redisplay-output.c (sync_display_line_structs): made non-static.
9020 (compare_runes): remove unneccesary glyph cachel access.
9022 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
9024 * gutter.c (output_gutter): don't output the gutter if extent
9025 changes only involve extents in buffers. use 4 sets of display
9027 (gutter_extent_signal_changed_region_maybe): new function. Mark
9028 extents in gutters as changed.
9029 (update_frame_gutters): use 4 sets of display lines.
9030 (reset_gutter_display_lines): ditto.
9031 (free_frame_gutters): ditto.
9032 (redraw_exposed_gutter): force output of gutters.
9034 * frame.h (struct frame): add 4 sets of gutter display lines.
9036 * extents.c: (extent_changed_for_redisplay): signal changes to
9037 extents in strings in the gutter as well as extents in buffers.
9039 2000-03-02 Andy Piper <andy@xemacs.org>
9041 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
9043 * frame.c (Fmake_frame): make sure the gutters get initialized
9044 after the frame is visible.
9045 (set_frame_selected_window): re-arrange compilation macros a
9047 (change_frame_size_1): mark gutters changed.
9049 * device.c (Fset_device_class): mark gutters changed.
9051 2000-03-01 Andy Piper <andy@xemacs.org>
9053 * window.c (window_top_frame_gutter_height): deleted.
9054 (window_bottom_frame_gutter_height): ditto.
9055 (window_left_frame_gutter_height): ditto.
9056 (window_right_frame_gutter_height): ditto.
9057 (window_top_gutter_height): don't use them.
9058 (window_bottom_gutter_height): ditto.
9059 (window_left_gutter_width): ditto.
9060 (window_right_gutter_width): ditto.
9061 (Fsplit_window): ditto.
9062 (Fwindow_pixel_edges): don't use border dimensions here.
9064 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
9065 (update_scrollbar_instance): ditto.
9067 * redisplay.c (generate_modeline): don't take gutters into account.
9068 (generate_modeline): ditto.
9069 (redisplay_frame): small gutter display optimization.
9071 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
9073 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
9074 gutters into account.
9076 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
9077 for window position and type.
9079 * gutter.c (get_gutter_coords): fix for frame gutters.
9080 (update_frame_gutters): update frame geometry if the gutters have
9082 (init_frame_gutters): record current gutter geometries.
9084 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
9086 (mswindows_widget_instantiate): ditto.
9088 * frame.h (struct frame): add current_gutter_bounds.
9090 * frame.c (change_frame_size_1): position window and minibuffer
9091 appropriately taking into account the frame gutters.
9093 * frame-x.c: (x_initialize_frame_size): take into account the
9096 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9098 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
9100 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9102 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
9104 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9106 * file-coding.c (reset_decoding_stream): Clear previous
9107 detection state when autodetect.
9109 2000-02-29 Didier Verna <didier@xemacs.org>
9111 * extents.c (set_extent_glyph_1): don't require extents to be
9114 2000-02-27 Andy Piper <andy@xemacs.org>
9116 * gutter.c (Fset_default_gutter_position): don't default left and
9117 right gutter visibility to t.
9118 (Fset_default_gutter_position): run
9119 default-gutter-position-changed-hook.
9120 (syms_of_gutter): add default-gutter-position-changed-hook.
9122 2000-02-26 Andy Piper <andy@xemacs.org>
9124 * specifier.c (Fmake_specifier): add gutter references.
9126 * gutter.h (RAW_WINDOW_GUTTER): new macro.
9128 * lisp.h: declare Fvalid_plist_p.
9130 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
9132 (default_gutter_visible_p_changed_in_window): invalidate gutter as
9133 well as its visibility so that it gets reconstructed.
9134 (construct_window_gutter_spec): new function. Construct a string
9135 to be displayed in the gutter from a plist of strings. Take care
9136 to only use elements that are declared as visible.
9137 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
9139 (gutter_validate): allow plists of strings in the specifier.
9140 (gutter_specs_changed): construct the real_gutter from the gutter
9141 specs using construct_window_gutter_spec.
9142 (gutter_visible_validate): gutter-visible is a new specifier type.
9143 (Fgutter_visible_specifier_p): new function for the new specifier.
9144 (syms_of_gutter): declare gutter-visible and
9145 Fgutter_visible_specifier_p.
9146 (specifier_type_create_gutter): intitalize new gutter-visible
9148 (reinit_specifier_type_create_gutter): ditto.
9149 (specifier_vars_of_gutter): use new specifier type for gutter
9151 (init_frame_gutters): construct real_gutter correctly.
9152 (Fgutter_specifier_p): beef up documentation.
9153 (Fgutter_size_specifier_p): ditto.
9155 * winslots.h: add real_gutter slots.
9157 2000-02-25 Andy Piper <andy@xemacs.org>
9159 * device-msw.c: Be kind to older cygwin versions. From Raymond
9160 Toy <toy@rtp.ericsson.se>.
9162 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
9163 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
9165 2000-02-25 Martin Buchholz <martin@xemacs.org>
9167 * elhash.c (MARK_OBJ): Practice macro hygiene.
9169 2000-02-24 Martin Buchholz <martin@xemacs.org>
9171 * miscplay.c: s/__inline__/inline/g;
9172 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
9173 (get_device_compdc): INLINE ==> static inline
9174 * *.[ch]: Change INLINE to INLINE_HEADER globally.
9175 find -name '*.h' | \
9176 xargs global-replace \
9177 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
9179 2000-02-25 Andy Piper <andy@xemacs.org>
9181 * window.c (window_top_frame_gutter_height): new function.
9182 (window_top_window_gutter_height): ditto.
9183 (window_top_gutter_height): use them.
9184 (window_bottom_frame_gutter_height): new function.
9185 (window_bottom_window_gutter_height): ditto.
9186 (window_bottom_gutter_height): use them.
9187 (window_left_window_gutter_width): new function.
9188 (window_left_frame_gutter_width): ditto.
9189 (window_left_gutter_width): use them.
9190 (window_right_window_gutter_width): new function.
9191 (window_right_frame_gutter_width): ditto.
9192 (window_right_gutter_width): use them.
9193 (window_pixel_height): new function. calulate window pixel height
9194 with frame gutter involvement.
9195 (Fsplit_window): calculate new sizes taking frame gutters into
9197 (window_char_height_to_pixel_height): don't include frame gutters.
9198 (window_char_height): use window_pixel_height.
9199 (window_pixheight): rename from window_pixel_height.
9200 (change_window_height): use it.
9201 (window_pixel_height_to_char_height): don't include frame gutters.
9202 (window_char_width_to_pixel_width): ditto.
9204 2000-02-25 Andy Piper <andy@xemacs.org>
9206 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
9209 2000-02-24 Martin Buchholz <martin@xemacs.org>
9211 * alloc.c (staticpro):
9217 (compact_string_chars):
9219 Convert: if (foo) abort(); ==> assert (! foo);
9221 * eldap.c (Fldap_search_basic):
9225 Fix compiler warnings, and possible crashes if (random) return
9226 value were to be used.
9228 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9230 * device-msw.c: Workaround ResetDC failure.
9232 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
9235 * redisplay-msw.c (get_frame_dc): Added start_page_p.
9236 (mswindows_text_width): Do not start printer page.
9238 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
9240 * glyphs-msw.c: Added image methods to msprinter console and
9241 msprinter-specific image instantiation.
9243 2000-02-20 Mike Alexander <mta@arbortext.com>
9245 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
9246 to avoid crashes when selection-sets-clipboard is on
9247 (mswindows_own_selection): ditto
9249 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9252 * redisplay-msw.c (get_frame_dc):
9255 * device-msw.c (mswindows_init_device):
9256 (mswindows_delete_device):
9257 (msprinter_init_device):
9258 (msprinter_delete_device):
9259 * frame-msw.c (mswindows_init_frame_1):
9260 (mswindows_delete_frame):
9261 (msprinter_init_frame_3):
9262 (msprinter_delete_frame): Move compatible DC to device object from
9263 frame object, for both mswindows and msprinter. Only one at a time
9264 is needed, it is a real waste to have one per frame!
9266 2000-02-23 Andy Piper <andy@xemacs.org>
9268 * glyphs.c: add dynamic width and height elements.
9269 (image_instance_equal): ditto.
9271 * glyphs-widget.c (widget_query_geometry): calculate width and
9272 height dynamically if required.
9273 (initialize_widget_image_instance): initialize dynamic dimensions.
9274 (widget_instantiate): pick-up dynamic dimensions.
9276 * glyphs.h (struct Lisp_Image_Instance): add width and height for
9277 dynamic determination. Add appropriate macros.
9279 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
9281 (WINDOW_GUTTER_SIZE): ditto.
9282 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
9284 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
9286 (get_frame_dc): ditto.
9288 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
9291 2000-02-23 Martin Buchholz <martin@xemacs.org>
9293 * XEmacs 21.2.31 is released.
9295 2000-02-22 Ben Wing <ben@xemacs.org>
9297 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
9299 2000-02-22 Andy Piper <andy@xemacs.org>
9301 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
9303 2000-02-21 Mike Sperber <mike@xemacs.org>
9307 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
9310 2000-02-21 Mike Sperber <mike@xemacs.org>
9312 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
9314 2000-02-21 Martin Buchholz <martin@xemacs.org>
9316 * XEmacs 21.2.30 is released.
9318 2000-02-20 Martin Buchholz <martin@xemacs.org>
9320 Performance hacking.
9322 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
9323 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
9326 * console.c (DEFVAR_CONSOLE_LOCAL_1):
9327 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
9328 * symeval.h (DEFVAR_SYMVAL_FWD):
9329 * symbols.c (guts_of_unbound_marker):
9330 Make all c_readonly objects also lisp_readonly and marked for life.
9331 * lrecord.h (struct lrecord_implementation):
9332 Document flags better.
9333 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
9334 * lrecord.h (DECLARE_LRECORD):
9335 * lrecord.h (XSETRECORD):
9336 * lrecord.h (RECORDP):
9337 * lrecord.h (RECORD_TYPEP):
9338 * lrecord.h (RECORD_MARKER): New.
9339 * lrecord.h (error_check_*):
9340 * lrecord.h (CONCHECK_NONRECORD):
9341 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
9342 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
9343 * lrecord.h (set_lheader_implementation):
9344 * lrecord.h (enum lrecord_type): New.
9345 * symeval.h (SYMBOL_VALUE_MAGIC_P):
9346 * alloc.c (disksave_object_finalization_1):
9347 * alloc.c (mark_object):
9348 * alloc.c (lrecord_type_index):
9349 * alloc.c (tick_lcrecord_stats):
9350 * alloc.c (Fgarbage_collect):
9351 * alloc.c (init_alloc_once_early):
9352 * alloc.c (pdump_load):
9353 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
9354 * alloc.c (lrecord_type_index): Delete.
9355 Make lisp object type indexes be constant.
9356 Makes (byte-compile) 5% faster.
9357 Put all marker functions into their own array.
9358 Makes (garbage-collect) 5% faster.
9359 Optimize SYMBOL_VALUE_MAGIC_P.
9360 Makes (byte-compile) 2-3% faster.
9361 * config.h.in (gc_checking_assert): New.
9362 * alloc.c: Use gc_checking_assert().
9363 * .dbxrc: Make compatible with new object type implementation.
9364 * .gdbinit: Make compatible with new object type implementation.
9365 * alloc.c: Delete all symbols defined only for debugging, such as
9366 Lisp_Type_Vector and lrecord_charset.
9368 2000-02-21 Andy Piper <andy@xemacs.org>
9370 * gui-msw.c (Fmswindows_shell_execute): fix file location
9373 * buffer.c (Fkill_buffer): remove buffer from alist buffer
9374 unshowing so that set_window_buffer doesn't undo
9375 kill_buffer_hook's hard work.
9377 * glyphs-widget.c (tab_control_query_geometry): don't count the
9378 first item when calculating geometry.
9380 * glyphs.c (map_subwindow): remove redundant code.
9381 (update_frame_subwindows): be more circumspect about when to
9384 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
9385 when items haven't changed. Update faces if faces have changed as
9386 well as just the widget face.
9387 (x_tab_control_update): Update faces if faces have changed as well
9388 as just the widget face.
9390 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9392 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
9394 (build_syscolor_string): Use mswindows_color_to_string to try to
9396 (mswindows_device_system_metrics): Reverse the foreground and
9397 background colors so that they match the documentation.
9399 * objects-msw.c: (mswindows_X_color_map): tweak some values so
9400 they match the default Windows palette.
9401 (mswindows_color_to_string): New function.
9403 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9405 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
9407 2000-02-18 Olivier Galibert <galibert@pobox.com>
9409 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
9410 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
9412 * symbols.c (init_symbols_once_early): Removed obsolete
9413 DATA_SEG_BITS related kludge.
9414 (defvar_magic): Ditto.
9416 * malloc.c: Removed obsolete DATA_SEG_BITS
9418 * mem-limits.h: Ditto.
9420 * Makefile.in.in: Removed obsolete HAVE_SHM
9423 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9425 * device-msw.c (mswindows_delete_device): Free DDE string
9428 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9430 * keymap.c (get_keyelt):
9431 * unexnt.c (unexec):
9432 * vm-limit.c (memory_warnings):
9433 * ntheap.c (recreate_heap):
9434 * ntheap.h (UNINIT_PTR):
9435 * select-msw.c (Fmswindows_get_clipboard):
9436 (Fmswindows_set_clipboard):
9437 * objects-msw.h (MSWINDOWS_BAD_HFONT):
9439 * menubar-msw.c (displayable_menu_item):
9441 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
9442 * sysdep.c (sys_subshell):
9443 * process-nt.c (nt_create_process):
9444 * nt.c (normalize_filename):
9445 (dostounix_filename):
9446 (unixtodos_filename):
9447 * ntproc.c (win32_executable_type):
9448 * ntplay.c (play_sound_data_1):
9450 * editfns.c (get_home_directory):
9451 * event-msw.c (struct winsock_stream):
9452 (mswindows_dde_callback):
9453 * device-msw.c (msprinter_init_device):
9454 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
9456 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
9457 mswindows_clear_toolbar were swapped!
9459 * objects-msw.c:(colormap_t):
9461 * emacs.c (struct standard_args): Fixed const jumble.
9463 * glyphs-widget.c (update_widget): Fixed comparison notation.
9465 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
9467 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
9468 __declspec(noreturn) syntax.
9470 2000-02-19 Martin Buchholz <martin@xemacs.org>
9472 * eldap.c (Fldap_open):
9473 (Fldap_search_basic):
9476 Use new coding system conversion macros.
9478 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9480 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
9482 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
9484 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
9485 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9487 * eldap.c (Qadd, Qreplace): New constant symbols
9488 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
9489 interruptions by XEmacs signals
9490 Remove unnecessary calls to slow_down_interrupts and
9492 (Fldap_search_basic): Renamed from Fldap_search_internal
9493 Added new optional parameter VERBOSE that triggers the
9494 display of progress messages
9495 Remove unnecessary calls to slow_down_interrupts and
9497 LDAP result code analysis rewritten
9498 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9499 (syms_of_eldap): Define the new symbols and functions
9502 2000-02-17 Martin Buchholz <martin@xemacs.org>
9504 * realpath.c: Determine PATH_MAX maximally portably.
9506 * insdel.c (bytecount_to_charcount): Optimize.
9507 The function used to be optimized for entirely ASCII sequences.
9508 Now it is optimized for successive characters from the same
9509 charset. This also wins big for _mostly_ ASCII sequences.
9511 * fileio.c (Ffile_truename): convert return from realpath() using
9512 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
9513 - Rewrite GCPROing slightly.
9515 * sysdep.c (sys_open): Do filename conversion, like all other
9516 sys_* functions. Fixes bug:
9517 (let ((file-name-coding-system 'iso-8859-2))
9518 (write-region x y latin2-name))
9519 ==> writes filename using internal encoding.
9521 2000-02-18 Martin Buchholz <martin@xemacs.org>
9523 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
9524 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
9525 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
9526 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
9527 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
9528 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
9529 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
9530 (CONST_IF_NOT_DEBUG): Delete.
9531 * alloc.c (this_one_is_unmarkable): Delete.
9532 (mark_object): Don't check for this_one_is_unmarkable. Use the
9533 c_readonly flag instead.
9534 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
9536 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
9538 * event-msw.c (mswindows_drain_windows_queue):
9539 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
9540 away redundant repaint events.
9542 2000-02-17 Andy Piper <andy@xemacs.org>
9544 * redisplay.h: declare mark_redisplay_structs.
9546 * redisplay.c (redisplay_window):
9547 (redisplay_frame): don't check subwindows_state_changed.
9548 (mark_redisplay): mark gutters here.
9550 * glyphs.c: (instantiate_image_instantiator): always layout if we
9551 haven't done so already.
9552 (allocate_image_instance): don't mark as dirty.
9553 (update_subwindow): bind inhibit_quit.
9555 * gutter.c (mark_gutters): new function.
9557 * glyphs-x.c (x_update_widget): Always resize to get round a
9560 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
9561 breaking absolutely everything.
9563 * gutter.h: declare mark_gutters.
9565 2000-02-16 Martin Buchholz <martin@xemacs.org>
9567 * XEmacs 21.2.29 is released.
9569 2000-02-15 Olivier Galibert <galibert@pobox.com>
9571 * fns.c (size_bit_vector): Fix computation of the size.
9573 2000-02-15 Martin Buchholz <martin@xemacs.org>
9575 * *.[ch]: Change CONST to const globally.
9576 find -name '*.[ch]' | \
9577 xargs global-replace \
9578 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
9579 - Remove vestigial references to CONST_IS_LOSING
9581 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9583 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
9584 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
9585 events instead of dispatching them directly.
9586 (mswindows_handle_paint): New function to do repainting.
9587 (mswindows_wnd_proc):
9588 (emacs_mswindows_handle_magic_event): Call above function.
9590 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9592 * objects-msw.c (mswindows_create_font_variant): Return the new
9594 (initialize_font_instance): Get font metrics from the underlined
9595 variant of the font to cope with the case where the underlined
9596 font has a bigger descent.
9598 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9600 * gui.c (gui_item_accelerator): Return the first underlined
9601 character in item name.
9603 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9605 * lisp.h: Added Qprinter.
9607 * general.c (syms_of_general): Initialized it.
9609 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
9611 (get_frame_compdc): Made inline.
9613 * console.h (struct console_methods): Added eject_page method.
9615 * frame.h: Added FRAME_DISPLAY_P and friends.
9616 Aligned backslahes in many macros in more readable fashion.
9617 Added page_number to struct frame, and an accessor macro
9620 * defice.h: Added DEVICE_DISPLAY_P and friends.
9622 * device.c (Fdevice_printer_p): Used these.
9624 * frame.c (allocate_frame_core): Initialize page number.
9625 (Fprint_job_page_number):
9626 (Fprint_job_eject_page): Implemented.
9628 * frame-msw.c (msprinter_eject_page): Added method.
9629 (msprinter_start_page): Added.
9631 * window.c (Fwindow_truncated_p): Fixed docstring.
9632 (Fwindow_last_line_visible_height): Implemented.
9634 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9636 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
9638 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9640 * syntax.c (scan_words): Always advance at least one character.
9642 2000-02-13 Andy Piper <andy@xemacs.org>
9644 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
9645 to make sure the glyph is in the cachels.
9647 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
9648 global image instance flag.
9649 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
9650 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
9652 * glyphs.c (allocate_image_instance): set dirty bits correctly.
9653 (Fset_image_instance_property): mark layout as changed.
9654 (invalidate_glyph_geometry_maybe): mark layout as changed.
9655 (glyph_width): use new NEEDS_LAYOUT macro.
9656 (glyph_ascent): ditto.
9657 (glyph_descent): ditto.
9658 (glyph_height): ditto.
9659 (image_instance_layout): mark layout as clean after laying out.
9660 (update_subwindow): don't mark layout as clean here.
9662 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
9663 should no longer be needed.
9665 * glyphs-x.c (x_update_widget): sanitize asserts.
9666 (x_finalize_image_instance): sanitize assignment to widgets.
9668 * glyphs-widget.c (widget_instantiate): don't need to clear the
9671 2000-02-13 Martin Buchholz <martin@xemacs.org>
9673 * sysdep.c (getcwd): Use standard prototype.
9674 * sysdep.h (getcwd): Use standard prototype.
9676 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
9677 (sequence, start, end).
9678 Remove redundant type checking.
9679 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
9680 view of `caller-protects') to avoid a crash where the real fix was
9683 2000-02-12 Martin Buchholz <martin@xemacs.org>
9685 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
9687 * s/sol2.h: Remove feature macro initialization.
9689 * alloc.c (alloc_lcrecord): Add more type checking assertions.
9690 (vector_hash): New. Code from internal_hash.
9692 Fix up allocation subsystem comments.
9694 * config.h.in: Add __EXTENSIONS__ for Solaris.
9696 * systime.h (EMACS_GETTIMEOFDAY): New.
9697 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
9698 Remove Solaris-specific code.
9699 Use void* for the (ignored) second arg for gettimeofday().
9701 * elhash.c (hash_table_hash): Implement it, finally.
9702 * elhash.c: Use hashcode_t.
9704 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
9705 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
9707 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
9708 * fns.c (size_bit_vector):
9709 * alloc.c (size_vector):
9710 (make_vector_internal):
9711 (make_bit_vector_internal):
9712 (sweep_bit_vectors_1):
9713 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
9715 2000-02-10 Martin Buchholz <martin@xemacs.org>
9717 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
9718 Include strings.h to avoid warnings for bzero and strcasecmp.
9720 2000-02-10 Olivier Galibert <galibert@pobox.com>
9722 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
9723 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
9725 * fns.c (size_bit_vector): New. Declare bit vectors as a
9728 2000-02-10 Olivier Galibert <galibert@pobox.com>
9730 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
9731 use a value field instead.
9732 (symbol_value_forward_forward): Use value field.
9733 (DEFVAR_SYMVAL_FWD): Use value field.
9734 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
9735 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
9736 (DEFVAR_CONST_INT): Ditto.
9737 (DEFVAR_BOOL): Ditto.
9738 (DEFVAR_CONST_BOOL): Ditto.
9739 (DEFVAR_INT_MAGIC): Ditto.
9740 (DEFVAR_BOOL_MAGIC): Ditto.
9742 * symbols.c (guts_of_unbound_marker): Use value field.
9743 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
9744 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
9746 * lisp.h: Declare dumpopaque and noninteractive1.
9748 * alloc.c (dumpopaque): Added.
9749 (pdump_dump_opaquevec): Added.
9750 (pdump): Call pdump_dump_opaquevec to dump opaque data.
9751 (pdump_load): Reload opaque data. Sync noninteractive1 with
9754 2000-02-10 Andy Piper <andy@xemacs.org>
9756 * glyphs.c (image_instance_layout): if the size changes, mark it
9759 * redisplay-output.c (redisplay_output_layout): Update the
9761 (redisplay_output_subwindow): ditto.
9763 * glyphs.c (update_subwindow): make sure we reset flags for
9764 layouts as well as everything else.
9766 * glyphs-widget.c (layout_layout): don't need to set the instances
9769 2000-02-09 Martin Buchholz <martin@xemacs.org>
9771 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
9772 not HAVE_DLOPEN, which is a lower-level thing.
9774 * .cvsignore: Ignore gmon.out
9776 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
9778 * .cvsignore: Ignore portable dumper xemacs.dmp file
9780 2000-02-09 Andy Piper <andy@xemacs.org>
9782 * redisplay-output.c (redisplay_output_layout): be more clever
9783 about when we output based on the changed flags.
9785 * glyphs.h (struct image_instantiator_methods): add update_method.
9786 (struct Lisp_Image_Instance): add changed flags. Declare new
9787 macros for manipulating them.
9789 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
9790 (image_instance_parent_glyph): find an image_instance's parent
9791 glyph or image_instance.
9792 (image_instance_layout): mark the size as changed.
9793 (set_image_instance_dirty_p): new function. mark an image
9794 instance, plus all of its parents, as dirty.
9795 (Fset_image_instance_property): use it.
9796 (Fglyph_animated_timeout_handler): use it.
9797 (update_subwindow): call update_widget and device methods for
9798 update_subwindow. Mark all changed flags as clean.
9799 (Fresize_subwindow): mark size as changed.
9801 * glyphs-x.c (x_finalize_image_instance): try and detect gc
9803 (x_update_subwindow): only resize subwindows here.
9804 (x_update_widget): new function. Update all changed properties of
9806 (x_resize_subwindow): deleted.
9807 (x_widget_set_property): deleted.
9808 (x_progress_gauge_set_property): deleted.
9809 (x_progress_gauge_update): new function. Implement recorded
9811 (x_tab_control_update): ditto.
9812 (x_tab_control_set_property): deleted.
9813 (console_type_create_glyphs_x): declare new functions.
9814 (image_instantiator_format_create_glyphs_x): ditto.
9816 * glyphs-widget.c (widget_set_property): mark text changed.
9817 (update_widget): new function. Update properties of a widget.
9818 (widget_instantiate): for layouts make sure we set their
9819 children's parent correctly.
9820 (tab_control_set_property): new function. Record changes that will
9821 take place under redisplay's control.
9822 (progress_gauge_set_property): ditto.
9823 (image_instantiator_progress_guage): declare new functions.
9824 (image_instantiator_tab_control): ditto.
9826 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
9828 (mswindows_update_widget): new function. Update all properties on
9829 a widget that have changed.
9830 (mswindows_button_update): new function. Update a button's set
9832 (mswindows_tab_control_update): new function. Update the items in
9834 (mswindows_tab_control_set_property): deleted.
9835 (mswindows_progress_gauge_update): new function. Update the
9836 progress gauge's progress.
9837 (mswindows_widget_set_property): deleted. This is all done
9839 (mswindows_progress_gauge_set_property): ditto.
9840 (console_type_create_glyphs_mswindows): declare new methods.
9841 (image_instantiator_format_create_glyphs_mswindows): ditto.
9843 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
9844 (msprinter_set_frame_properties): ditto.
9846 * console.h (struct console_methods): Add update_widget_method.
9848 2000-02-09 Andy Piper <andy@xemacs.org>
9850 * gui-msw.c (Fmswindows_shell_execute): Make
9851 mswindows-shell-execute industrial strength.
9853 2000-02-08 Martin Buchholz <martin@xemacs.org>
9855 * lrecord.h: Make macro argument `props' match member function `plist'.
9859 * fns.c (Fobject_plist):
9862 Object property list frobbing cleanup.
9863 - Allow any lisp object (compared with `eq'), not just symbols, as
9864 keys in object plists.
9865 - Move symbol plist frobbing into symbols.c, where it belongs.
9866 - Move string plist frobbing into alloc.c, where it belongs.
9867 - Everything's an lrecord now, so no need to test for symbolp, etc.
9868 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
9870 * extents.c: Reorder code to remove declarations.
9872 * frame.h (store_in_alist): Remove useless declaration.
9874 2000-02-07 Martin Buchholz <martin@xemacs.org>
9876 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
9877 * config.h.in: Add HAVE_XCONVERTCASE.
9879 2000-02-07 Andy Piper <andy@xemacs.org>
9881 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
9882 it breaks many things.
9884 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9886 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
9887 actually can start a common comment type.
9888 * src/syntax.h (SYNTAX_END_P): ditto for end.
9890 2000-02-07 Martin Buchholz <martin@xemacs.org>
9892 * XEmacs 21.2.28 is released.
9894 2000-02-06 Martin Buchholz <martin@xemacs.org>
9896 * event-Xt.c (x_keysym_to_character): New.
9897 (maybe_define_x_key_as_self_inserting_character): New.
9898 (x_has_keysym): New.
9899 Auto-define all keys on the keyboard as self-insert-key.
9901 2000-02-02 Martin Buchholz <martin@xemacs.org>
9903 * menubar.c (vars_of_menubar): A small code simplification.
9905 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
9912 Use consistent style for specifying X resources.
9914 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
9915 This makes (dontusethis-set-symbol-value-handler) actually usable.
9917 * lrecord.h (lrecord_decription_type):
9918 * alloc.c (pdump_register_sub):
9921 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
9922 Comply with XEmacs coding style.
9923 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
9924 args, and XD_LISP_OBJECT_ARRAY with 3 args.
9926 * keymap.c (Faccessible_keymaps):
9927 Make (accessible-keymaps map "\C-h") do the Right Thing.
9928 Make (accessible-keymaps map []) do the Right Thing.
9929 Make (accessible-keymaps map "") do the Right Thing.
9930 (check_keymap_definition_loop): New function.
9931 (keymap_store_internal): Keep luser from shooting self in foot,
9932 via (define-key ctl-x-4-map "p" global-map).
9933 Remove fullness slot from struct Lisp_Keymap, since hash tables
9935 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
9937 2000-01-30 Martin Buchholz <martin@xemacs.org>
9939 * redisplay.c (init_redisplay): Fix small memory leak.
9941 * elhash.c (pdump_reorganize_hash_table):
9942 Rename from reorganize_hash_table. Change prototype.
9943 Reuse the original memory for hentries. Save 100k.
9944 * alloc.c (PDUMP_READ): new macro.
9945 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
9946 * alloc.c: No need to #ifndef before #undef.
9948 * print.c: Allow debug_print() to print readably by modifying
9949 debug_print_readably. Use consistent variable names.
9951 * .dbxrc: Try to get things to work even if stopped in a function
9952 without source available by explicitly specifying source files.
9953 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9955 * unexnt.c (_start): Removed bogus code which caused loading heap
9956 from differrent executable file.
9957 Removed bogus assignment to _fmode, which caused inconsistencies.
9959 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9961 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
9962 Have spawnve encapsulation regard DONT_ENCAPSULATE.
9963 Do not preliminary `#define signal sigset'.
9965 * systime.h: Do not prototype environ on windows nt and cygwin,
9966 this conflicts with system header.
9968 * syssignal.h: Use correct define for WINDOWSNT
9970 * sysdep.h: Do not prototype environ on windows nt, this conflicts
9973 * sysdep.c (near start of file): Fixed commentary and rearranged
9974 ifdefs in readable order.
9975 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
9978 (end_of_data): Do not compile in if using PDUMP.
9980 * symsinit.h: Prototyped vars_of_nt().
9982 * ntproc.c (windows9x_p): Added, instead of os_subtype.
9983 (find_child_console): Use it.
9986 * ntheap.h: Do not extern os_subtype.
9988 * ntheap.c (cache_system_info): Do not cache unneeded:
9989 nt_major_version, nt_minor_version and os_subtype.
9990 (recreate_heap): Do not compile in when PDUMPing.
9992 * nt.c (geteuid and friends): Use the new varibale
9993 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
9994 (init_user_info): Removed the above mentioned hackery.
9995 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
9996 stat has been fixed in the C runtime.
9997 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
9999 * file-coding.c (struct file_coding_dump): Do not define
10000 ucs_to_mule_table in the struct if not MULE.
10001 (struct struct lrecord_description fcd_description_1): Do not dump
10004 * emacs.c (main_1): Call vars_of_nt().
10005 (right before Fdump_emacs_data): Don't need lastfile if using both
10006 portabe dumper and system malloc.
10008 * alloc.c (Fmemory_limit): Conditionalized out.
10009 (pdump): Use OPEN_BINARY for the portable dump file.
10010 (pdump_load): Ditto.
10012 2000-02-02 Mike Alexander <mta@arbortext.com>
10014 * nt.c (convert_time): Set tm_isdst before calling mktime and
10015 avoid calling it at all if the compiler supports 64 bit integers.
10016 Also initialize utc_base_ft before using it.
10018 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10020 * frame.c (change_frame_size_1): Take f->internal_border_width
10021 into consideration when calculating the width of the frame.
10023 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10025 * window.c (frame_min_height):
10026 (frame_size_valid_p):
10027 (frame_pixsize_valid_p): Added.
10028 (check_frame_size): Generalized.
10030 * window.h: Prototyped the above.
10033 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
10034 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
10035 Deleted Vwin32_* and Vbinary_process_* unused variables.
10037 * device-msw.c (msprinter_init_device): Do not get printer font
10038 list; Added DEVMODE functions.
10040 * frame-msw.c: Added lots of printer code.
10042 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
10045 * console-msw.h: Added more msprinter device private slots.
10047 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10049 * event-msw.c (key_needs_default_processing_p): Added.
10050 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
10052 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10054 * glyphs.c (image_instance_layout): Mark image instance as clean
10056 (glyph_dirty_p): Removed redundant function.
10057 (invalidate_glyph_geometry_maybe): Added.
10058 (update_glyph_cachel_data): Call it.
10060 * glyphs.h: Prototyped it.
10062 * redisplay.c (add_glyph_rune): Call it.
10063 (redisplay_window): Reset glyphs cachels when frame faces have
10064 changed, thus forcing recomputation of built-in border glyphs.
10066 2000-01-30 Martin Buchholz <martin@xemacs.org>
10068 * Makefile.in.in: Make portable dumper and purify play well together.
10069 Add imperfect, but better than nothing, support for pdump.
10070 Remove xemacs.dmp when temacs is re-generated.
10071 Don't ignore errors when dumping xemacs.
10073 * symbols.c (maybe_call_magic_handler): Remove one magic number.
10075 2000-01-28 Andy Piper <andy@xemacs.org>
10077 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
10078 (setup_normal_frame): ditto.
10079 (setup_frame_without_minibuffer): ditto.
10080 (setup_minibuffer_frame): ditto.
10081 (delete_frame_internal): ditto.
10082 (Fmake_frame_invisible): ditto.
10083 (Ficonify_frame): ditto.
10085 * window.h: change Fset_window_buffer signature.
10087 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
10088 (Fset_window_buffer): allow recording of buffer if the window is
10089 the selected window.
10090 (window_loop): Use new Fset_window signature.
10092 2000-01-23 Daniel Pittman <daniel@danann.net>
10094 * config.h.in: Added template for `HAVE_ATHENA_3D'
10096 2000-01-29 Andy Piper <andy@xemacs.org>
10098 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
10100 * gutter.c (output_gutter): Don't output if the window isn't live.
10102 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10104 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
10105 of 01/12/00: Moved SetFocus back here where it belongs.
10107 2000-01-23 Andy Piper <andy@xemacs.org>
10109 * s/cygwin32.h: declare printer things.
10111 2000-01-26 Andy Piper <andy@xemacs.org>
10113 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
10116 2000-01-24 Andy Piper <andy@xemacs.org>
10118 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
10119 (mswindows_button_instantiate): Make sure glyph is a pixmap.
10121 * glyphs-widget.c (widget_instantiate): Avoid shadows.
10123 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
10125 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
10127 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
10128 (mswindows_output_display_block): Avoid local shadows.
10130 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
10131 (mswindows_enqueue_mouse_button_event): ditto.
10132 (mswindows_handle_gui_wm_command): remove declaration.
10134 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
10137 * console-msw.h: Avoid shadows.
10138 (mswindows_get_toolbar_button_text):
10139 (emacs_mswindows_create_stream_pair):
10140 (emacs_mswindows_delete_stream_pair):
10141 (mswindows_handle_toolbar_wm_command): declare.
10143 * device-msw.c (build_syscolor_string): Avoid shadows.
10145 2000-01-23 Andy Piper <andy@xemacs.org>
10147 * glyphs-widget.c (widget_instantiate): reverse the items for
10148 layouts so that children are in the expected order.
10150 2000-01-28 Martin Buchholz <martin@xemacs.org>
10152 * ralloc.c: safe_bcopy ==> memmove
10153 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
10154 * s/msdos.h: Remove BCOPY macros.
10155 * insdel.c (gap_right): Remove BCOPY conditional code.
10156 * insdel.c (gap_left): Remove BCOPY conditional code.
10157 XEmacs demands a working ANSI C compiler - hence memmove.
10159 * regex.c (regex_compile): Remove accidental use of trigraphs.
10161 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10163 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
10166 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10168 * event-msw.c (mswindows_drain_windows_queue): Added the
10170 (mswindows_need_event): Commented the call to
10171 mswindows_drain_windows_queue().
10172 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
10175 * console-msw.h: Moved a few function prototypes here from
10178 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
10179 parameter from unsigned short to unsigned long.
10180 (Fmswindows_shell_execute): Added return value.
10182 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10184 * sysdep.c (init_system_name):
10185 process-unix.c (unix_canonicalized_host_name):
10186 Don't call freeaddrinfo() if getaddrinfo() fails.
10188 * process-unix.c (unix_open_unix_network_stream):
10189 Moved the code to get a port # into address loop.
10191 2000-01-27 Martin Buchholz <martin@xemacs.org>
10193 * buffer.c (reinit_vars_of_buffer):
10194 The right place to initialize conversion_in_dynarr and
10195 conversion_out_dynarr.
10197 * alloc.c (pdump): Use the real open() till sys_open() is functional.
10199 * process-unix.c (unix_canonicalize_host_name): Muleize.
10200 (unix_open_network_stream): Muleize.
10202 * buffer.h: Fix up prototypes for ralloc.c functions.
10204 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10205 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
10206 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
10207 instead of gethostbyname()
10208 * process-unix.c: In unix_canonicalize_host_name() and
10209 unix_open_network_stream(), add code to use getaddrinfo()
10210 instead of gethostbyname().
10212 2000-01-27 Daniel Pittman <daniel@danann.net>
10214 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
10215 libs when built with flat Athena.
10217 2000-01-27 Martin Buchholz <martin@xemacs.org>
10219 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
10220 Use coding standards for function prototypes.
10222 2000-01-25 Martin Buchholz <martin@xemacs.org>
10224 * dialog-msw.c (push_lisp_string_as_unicode):
10225 * doc.c (unparesseuxify_doc_string):
10226 * dired.c (Fuser_name_completion_1):
10227 * dired.c (Fuser_name_all_completions):
10228 * dired.c (free_user_cache):
10229 * dired.c (user_name_completion):
10230 * console-x.c (get_display_arg_connection):
10231 * minibuf.c (clear_echo_area_internal):
10232 * minibuf.c (echo_area_append):
10233 * eldap.c (Fldap_open):
10234 * eldap.c (Fldap_search_internal):
10235 * frame-x.c (x_set_frame_text_value):
10236 * frame-x.c (x_set_frame_properties):
10237 * frame-x.c (x_create_widgets):
10238 * redisplay-tty.c (term_get_fkeys_1):
10239 * objects-x.c (x_parse_nearest_color):
10240 * objects-x.c (x_valid_color_name_p):
10241 * objects-x.c (x_initialize_font_instance):
10242 * objects-x.c (x_list_fonts):
10243 * objects-x.c (x_find_charset_font):
10244 * tooltalk.c (Fadd_tooltalk_message_arg):
10245 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10246 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10247 * process-unix.c (unix_create_process):
10248 * ntproc.c (sys_spawnve):
10249 * sound.c (Fplay_sound_file):
10250 * sound.c (Fplay_sound):
10251 * buffer.c (init_initial_directory):
10252 * buffer.c (init_buffer):
10253 * editfns.c (init_editfns):
10254 * editfns.c (Ftemp_directory):
10255 * editfns.c (Fuser_full_name):
10256 * editfns.c (uncache_home_directory):
10257 * editfns.c (get_home_directory):
10258 * editfns.c (Fuser_home_directory):
10259 * editfns.c (Fformat_time_string):
10260 * editfns.c (Fcurrent_time_string):
10261 * gui-x.c (button_item_to_widget_value):
10262 * database.c (Fopen_database):
10263 * event-Xt.c (x_to_emacs_keysym):
10264 * event-Xt.c (x_event_to_emacs_event):
10265 * event-Xt.c (describe_event_window):
10266 * event-msw.c (mswindows_wnd_proc):
10267 * glyphs-eimage.c (jpeg_instantiate):
10268 * glyphs-eimage.c (gif_instantiate):
10269 * glyphs-eimage.c (png_instantiate):
10270 * glyphs-eimage.c (tiff_instantiate):
10271 * glyphs-x.c (xbm_instantiate_1):
10272 * glyphs-x.c (x_xbm_instantiate):
10273 * glyphs-x.c (x_xface_instantiate):
10274 * glyphs-x.c (autodetect_instantiate):
10275 * glyphs-x.c (cursor_font_instantiate):
10276 * glyphs-x.c (x_widget_instantiate):
10277 * glyphs-x.c (x_widget_set_property):
10278 * glyphs-x.c (x_widget_property):
10279 * glyphs-x.c (BUILD_GLYPH_INST):
10280 * print.c (write_string_to_stdio_stream):
10281 * print.c (output_string):
10282 * print.c (Falternate_debugging_output):
10283 * print.c (Fexternal_debugging_output):
10284 * glyphs-msw.c (extract_xpm_color_names):
10285 * glyphs-msw.c (mswindows_xpm_instantiate):
10286 * glyphs-msw.c (bmp_instantiate):
10287 * glyphs-msw.c (resource_name_to_resource):
10288 * glyphs-msw.c (mswindows_resource_instantiate):
10289 * glyphs-msw.c (xbm_instantiate_1):
10290 * glyphs-msw.c (mswindows_xbm_instantiate):
10291 * glyphs-msw.c (mswindows_xface_instantiate):
10292 * glyphs-msw.c (mswindows_widget_instantiate):
10293 * glyphs-msw.c (add_tree_item):
10294 * glyphs-msw.c (add_tab_item):
10295 * glyphs-msw.c (mswindows_combo_box_instantiate):
10296 * glyphs-msw.c (mswindows_widget_property):
10297 * glyphs-msw.c (mswindows_combo_box_property):
10298 * glyphs-msw.c (mswindows_widget_set_property):
10299 * console.c (stuff_buffered_input):
10300 * objects-msw.c (mswindows_initialize_color_instance):
10301 * objects-msw.c (mswindows_valid_color_name_p):
10302 * objects-msw.c (mswindows_list_fonts):
10303 * objects-msw.c (mswindows_font_instance_truename):
10304 * bytecode.c (optimize_compiled_function):
10305 * select-x.c (symbol_to_x_atom):
10306 * select-x.c (x_atom_to_symbol):
10307 * select-x.c (hack_motif_clipboard_selection):
10308 * select-x.c (selection_data_to_lisp_data):
10309 * select-x.c (lisp_data_to_selection_data):
10310 * select-x.c (Fx_get_cutbuffer_internal):
10311 * select-x.c (Fx_store_cutbuffer_internal):
10312 * buffer.h (TO_EXTERNAL_FORMAT): New function.
10313 * buffer.h (TO_INTERNAL_FORMAT): New function.
10314 * emacs.c (make_arg_list_1):
10315 * emacs.c (make_argc_argv):
10316 * emacs.c (main_1):
10317 * emacs.c (Fdump_emacs):
10318 * emacs.c (split_string_by_emchar_1):
10323 * device-x.c (x_init_device):
10324 * device-x.c (Fx_valid_keysym_name_p):
10325 * device-x.c (Fx_get_font_path):
10326 * device-x.c (Fx_set_font_path):
10327 * glyphs.c (bitmap_to_lisp_data):
10328 * glyphs.c (pixmap_to_lisp_data):
10329 * alloc.c (make_ext_string): Use coding system arguments. Update
10331 * alloc.c (build_string):
10332 * callproc.c (child_setup):
10333 * callproc.c (init_callproc):
10334 * fileio.c (lisp_strerror):
10335 * fileio.c (directory_file_name):
10336 * fileio.c (Fexpand_file_name):
10337 * fileio.c (Ffile_truename):
10338 * fileio.c (Fsysnetunam):
10339 * fileio.c (Fdo_auto_save):
10340 * sysdep.c (sys_readdir):
10341 * tests.c: New file. Allow adding C tests.
10342 Replace GET_* macros with a more comprehensible and flexible
10343 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
10345 Any coding system can be used to do format conversion.
10346 Eliminate enum external_data_format.
10347 Eliminate convert_to_external_format.
10348 Eliminate convert_to_internal_format.
10349 Make sure file-name, keyboard, terminal, and ctext are always
10350 defined as coding systems or aliases. Make
10351 file-name-coding-system, terminal-coding-system, and
10352 keyboard-coding-system magical variables that are equivalent to
10353 defining the corresponding coding system aliases.
10355 * file-coding.c (Fcoding_system_canonical_name_p): New function.
10356 * file-coding.c (Fcoding_system_alias_p): New function.
10357 * file-coding.c (Fcoding_system_aliasee): New function.
10358 * file-coding.c (append_suffix_to_symbol): New function.
10359 * file-coding.c (dangling_coding_system_alias_p): New function.
10360 * file-coding.c (Ffind_coding_system):
10361 * file-coding.c (Fcopy_coding_system):
10362 * file-coding.c (encode_coding_no_conversion):
10363 * file-coding.c (syms_of_file_coding):
10364 * file-coding.c (vars_of_file_coding):
10365 Rewrite coding system alias code.
10366 Allow nested aliases, like symbolic links.
10367 Allow redefinition of coding system aliases.
10368 Prevent existence of dangling coding system aliases.
10370 * dired.c (Fuser_name_completion_1):
10371 * dired.c (Fuser_name_all_completions):
10372 A crash would happen if user did QUIT in the middle of building
10373 user_name_cache. Remove redundant code in mainline and unwind_protect.
10376 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
10378 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
10379 an unsigned char *. Update all callers.
10381 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10383 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
10385 2000-01-25 Martin Buchholz <martin@xemacs.org>
10387 * elhash.c (hentry_description): Use more portable definition.
10388 (resize_hash_table): Initialize new hentries using
10389 xnew_array_and_zero, thereby simplifying the code.
10391 * mule-charset.c (make_charset): Make sure entire object is
10392 initialized, to avoid Purify warnings.
10394 * alloc.c (resize_string): Fix unlikely crash with big strings.
10396 2000-01-24 Martin Buchholz <martin@xemacs.org>
10398 * realpath.c (xrealpath):
10399 Don't call getwd().
10401 2000-01-25 Martin Buchholz <martin@xemacs.org>
10403 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
10405 1999-12-28 Max Matveev <max@melbourne.sgi.com>
10407 * unexelfsgi.c (unexec): Change the way we decide which segment
10408 should be extended.
10410 Assumption that .bss section should be outside the PT_LOADable
10411 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
10412 it's present) is inside the 'data' segment. This would fail the
10413 test which was used to find a segment to grow and cover new
10414 heap. Instead of this assumption, I created another one - on IRIX
10415 the segment to grow should start below .bss and it's address
10416 should extent above the end of .bss. Once this segment is
10417 identified, it's grown to accommodate the new heap and new
10418 zero-length .bss section is added at the end of .data2.
10420 2000-01-25 Martin Buchholz <martin@xemacs.org>
10422 * eval.c (Feval): Wrong number of arguments should use original
10423 function, not the indirect_function version of it.
10425 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10427 * glyphs-x.c (x_button_instantiate): Don't add image if
10428 it is not a pixmap.
10429 (x_locate_pixmap_file): Call Fexpand_file_name when file name
10432 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10434 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
10436 (DEFVAR_INT_MAGIC): Ditto.
10437 (DEFVAR_BOOL_MAGIC): Ditto.
10438 * glyphs.h: Reindent backslash.
10440 2000-01-24 Martin Buchholz <martin@xemacs.org>
10442 * glyphs-widget.c (layout_query_geometry):
10443 (layout_layout): Use correct types for gheight, gwidth.
10445 2000-01-24 Martin Buchholz <martin@xemacs.org>
10447 * EmacsManager.c (QueryGeometry): Purified.
10449 2000-01-23 Martin Buchholz <martin@xemacs.org>
10451 * alloc.c (make_float): Make sure entire object is initialized, to
10452 avoid Purify warnings.
10453 (pdump_register_sub): Remove useless assignment.
10454 (pdump): Use xmalloc, not malloc.
10455 (pdump_load): Use xmalloc, not malloc.
10457 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10464 * sysdep.c: Removed redundant #include <windows.h>
10466 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10468 * frame.c (delete_frame_internal): Do not delete device when its
10469 implementation so declares.
10470 (delete_frame_internal): Set device selected frame to nil when
10471 last frame goes away.
10473 * device-msw.c (msprinter_device_system_metrics): Implemented.
10474 (mswindows_device_system_metrics): Added 'device-dpi property.
10476 * device.c: (Fdevice_printer_p): Added.
10477 Added 'offset-workspace device metric.
10479 * console.h (device_metrics): Declared DM_offset_workspace.
10481 2000-01-23 Martin Buchholz <martin@xemacs.org>
10483 * fileio.c (Ffile_truename): Remove pointless and confusing
10484 initialization of elen.
10486 * glyphs-widget.c: Compiler warning fixes.
10488 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
10490 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
10491 instead of a Lisp_Object as argument to make it consistent with
10492 the other LIVE_P macros.
10493 (CHECK_LIVE_PROCESS): New macro.
10495 * process.c: Declare Qprocess_live_p.
10496 (Fprocess_live_p): New function.
10497 (create_process): Use PROCESS_LIVE_P.
10498 (read_process_output): Ditto.
10499 (set_process_filter): Ditto.
10500 (Fdelete_process): Ditto.
10501 (kill_buffer_processes): Ditto
10502 (process_send_signal): Use CHECK_LIVE_PROCESS.
10503 (Fprocess_input_coding_system): Check whether process is still
10504 alive (fix PR#1061).
10505 (Fprocess_output_coding_system): Ditto.
10506 (Fprocess_coding_system): Ditto.
10507 (Fset_process_input_coding_system): Ditto.
10508 (Fset_process_output_coding_system): Ditto.
10510 2000-01-23 Andy Piper <andy@xemacs.org>
10512 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
10515 * glyphs.c (mark_image_instance): take into account changed
10516 image_instance format.
10517 (image_instance_equal): ditto.
10518 (image_instance_hash): ditto.
10520 * glyphs-widget.c (widget_instantiate): Incorporate layout
10521 instantiation here. Delay layout of the layout until later.
10522 (layout_instantiate): deleted.
10523 (layout_query_geometry): new function. get the geometry of a
10525 (layout_layout): layout a layout dynamically.
10526 (image_instantiator_widget): New function - splitting up
10527 image_instantiator_format_create_glyphs_widget for netwinder
10529 (image_instantiator_buttons):
10530 (image_instantiator_edit_fields):
10531 (image_instantiator_combo_box):
10532 (image_instantiator_scrollbar):
10533 (image_instantiator_progress_guage):
10534 (image_instantiator_tree_view):
10535 (image_instantiator_tab_control):
10536 (image_instantiator_labels):
10537 (image_instantiator_layout): ditto.
10538 (image_instantiator_format_create_glyphs_widget): Call preceding
10541 2000-01-22 Martin Buchholz <martin@xemacs.org>
10543 * process.c (Fset_process_coding_system):
10544 * device-x.c (Fx_keysym_hash_table):
10547 * lstream.c (Lstream_write): Return documented value, not 0.
10549 * fileio.c (directory_file_name):
10550 (Fsubstitute_in_file_name):
10551 (Fsubstitute_insert_file_contents_internal):
10552 (Fwrite_region_internal):
10557 Remove vestigial APOLLO-conditional code.
10559 2000-01-21 Martin Buchholz <martin@xemacs.org>
10561 * getpagesize.h: Add guard macros.
10562 * libsst.h: Add guard macros.
10563 * libst.h: Add guard macros.
10564 * line-number.h: Add guard macros.
10565 * ndir.h: Add guard macros.
10566 * sysfloat.h: Add guard macros.
10567 * sysfile.h: Add guard macros.
10568 * sysproc.h: Add guard macros.
10569 * syswait.h: Add guard macros.
10570 * xintrinsic.h: Add guard macros.
10571 * xintrinsicp.h: Add guard macros.
10572 * xmmanager.h: Add guard macros.
10573 * xmmanagerp.h: Add guard macros.
10574 * xmprimitive.h: Add guard macros.
10575 * xmu.h: Add guard macros.
10576 * gpmevent.h: Add copyright statement. Add guard macros.
10577 * miscplay.h: Add guard macros.
10578 * *.h: Use consistent C-standards-approved guard macro names.
10580 * opaque.c (make_opaque): Switch parameter order.
10581 * opaque.h (make_opaque): Switch parameter order.
10582 Update all callers.
10583 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
10585 * config.h.in (type_checking_assert): Added.
10586 (bufpos_checking_assert): Added.
10588 2000-01-21 Martin Buchholz <martin@xemacs.org>
10590 * alloc.c: Harmless pdump changes.
10592 - spell alignment correctly.
10593 * sysdep.c: Use countof()
10595 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10597 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
10598 initially_selected_for_input() console method, default to 0.
10599 (semi_canonicalize_console_connection): Try to delegate to
10600 canonicalize_console_connection if no such console method.
10601 (canonicalize_console_connection): Vice versa.
10602 (print_console): Do not print nil connection.
10604 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
10605 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
10606 (XDEVIMPF_FRAMELESS_OK): Added.
10607 (CONSOLE_INHERITS_METHOD): Added.
10609 * console-msw.c (mswindows_canonicalize_console_connection):
10611 (mswindows_canonicalize_device_connection): Added.
10613 * console-msw.h (struct msprinter_device): Added this struct and
10615 (mswindows_device): Made fontlist a lisp object.
10617 * device.c (semi_canonicalize_device_connection): Try to delegate
10618 to canonicalize_device_connection if no such console method.
10619 (canonicalize_device_connection): Vice versa.
10620 (print_device): Do not print nil connection.
10622 * device-msw.c (mswindows_init_device): Call InitCommonControls
10624 (mswindows_delete_device): Removed fontlist deallocation.
10625 (mswindows_mark_device): Added.
10627 * events.c (event_equal): Added abort() at unreached code.
10628 (event_hash): Ditto.
10630 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
10631 fallback tags of Windows devices.
10633 * general.c (syms_of_general): Initialized Qmsprinter.
10635 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
10636 of fallback tags of Windows devices.
10638 * lisp.h: Declared Qmsprinter.
10640 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
10642 (mswindows_list_fonts): Ditto.
10643 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
10644 that it can be used by both mswindows and msprinter devices.
10645 (initialize_font_instance): Added.
10646 (mswindows_initialize_font_instance): Use it.
10647 (msprinter_initialize_font_instance): Added.
10649 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
10650 and implementation flags check.
10651 (redisplay_without_hooks): Changed the call to the above.
10652 (Fredraw_device): Ditto.
10653 (Fredisplay_device): Ditto.
10655 * redisplay-msw.c (get_frame_dc): Implemented.
10656 (get_frame_compdc): Implemented.
10657 (many functions): Use the two functions above to get device
10658 contexts, ether for a window or a printer.
10660 2000-01-21 Olivier Galibert <galibert@pobox.com>
10662 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
10663 initialization here.
10664 (init_symbols_once_early): Call it.
10665 * emacs.c (main_1): Call it.
10666 * symsinit.h: Declare it.
10668 2000-01-19 Olivier Galibert <galibert@pobox.com>
10670 * alloc.c: Use a lrecord_header * in the backtrace instead of a
10672 (pdump_backtrace): Ditto.
10673 (pdump_register_object): Ditto. Cleanup use of the pointers.
10674 (pdump_get_entry): Abort if trying to register a null pointer.
10675 (pdump_dump_data): Cleanup types when relocating.
10676 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
10677 (pdump_dump_rtables): Remove bad casts.
10678 (pdump_load): Cleanup relocation w.r.t union type. Use a
10679 Lisp_Object instead of a EMACS_INT for the hashtable
10682 2000-01-20 Martin Buchholz <martin@xemacs.org>
10684 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
10686 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
10688 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
10690 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
10692 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10694 * faces.h (FACE_STRIKETHRU_P): Added.
10696 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
10699 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
10700 (mswindows_set_dc_font): New function, aware of font variants,
10701 separated from mswindows_update_dc.
10703 * objects-msw.h (struct mswindows_font_instance_data): Added
10706 * objects-msw.c (mswindows_finalize_font_instance): Delete all
10707 cached fonts and the data structure.
10708 (mswindows_initialize_font_instance): Added creation of font data
10710 (mswindows_print_font_instance): Print at least something.
10711 (mswindows_create_font_variant): Implemented.
10712 (mswindows_get_hfont): Implemented.
10714 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
10716 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
10717 prototyping problem with msvc.
10719 * emacs.c (main_1): added syms_of_gui_mswindows() call
10721 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
10722 syms_of_gui_mswindows() function
10724 * symsinit.h: added the prototype for syms_of_gui_mswindows()
10726 2000-01-18 Martin Buchholz <martin@xemacs.org>
10728 * XEmacs 21.2.27 is released.
10730 2000-01-18 Martin Buchholz <martin@xemacs.org>
10732 * glyphs-eimage.c (struct tiff_error_struct):
10734 (tiff_warning_func):
10735 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
10740 * unexec.c: Remove vestigial Lucid C code.
10744 * libsst.c: Ansify.
10745 Remove declarations of errno and strerror().
10747 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
10749 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
10751 2000-01-16 Martin Buchholz <martin@xemacs.org>
10753 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
10756 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10761 Change enum eol_type to eol_type_t.
10763 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10765 * gui.c (get_gui_callback): Check cons before accessing car.
10767 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10769 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
10770 (XSETSPECIFIER_TYPE): Ditto.
10772 2000-01-17 Didier Verna <didier@xemacs.org>
10774 * redisplay.c (generate_fstring_runes): compute string size in
10775 characters, not bytes.
10777 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10779 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
10781 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
10783 * print.c (print_error_message): Call print_prepare().
10785 2000-01-14 Martin Buchholz <martin@xemacs.org>
10787 * .dbxrc: Renamed from dbxrc.
10789 * events.c (event_to_character):
10790 Use `assert (foo)' instead of `if (!foo) abort()'
10792 * .gdbinit (xtype): Add documentation.
10793 * .gdbinit (check-temacs): New function.
10794 * .gdbinit (check-xemacs): New function.
10795 * dbxrc (check-xemacs): New function.
10796 * dbxrc (check-xemacs): New function.
10798 2000-01-14 Andy Piper <andy@xemacs.org>
10800 * glyphs-widget.c (widget_query_geometry): Make sure that we
10801 calculate default dimensions correctly.
10803 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10805 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
10807 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
10808 pdump_wire'd variable.
10810 * emacs.c: (main_1): Conditionalized calls to
10811 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
10813 2000-01-13 Martin Buchholz <martin@xemacs.org>
10815 * window.c (Fset_window_configuration):
10816 * sysdep.c (_start):
10817 * input-method-motif.c (res):
10818 * event-Xt.c (Xt_process_to_emacs_event):
10819 Simple compiler warning fixes.
10821 * bytecode.c (funcall_compiled_function): Use the original
10822 function symbol on the backtrace list in preference to the
10823 compiled_function object in error messages.
10825 2000-01-13 Andy Piper <andy@xemacs.org>
10827 * glyphs-x.c (update_widget_face): Make sure we update the widget
10828 background as well as foreground.
10830 2000-01-13 Andy Piper <andy@xemacs.org>
10832 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
10833 fields to subwindow.
10834 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
10835 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
10836 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10837 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10839 * glyphs-widget.c (check_valid_tab_orientation): new function.
10840 (initialize_widget_image_instance): zero orientation and
10842 (widget_instantiate): pick up orientation.
10843 (tab_control_query_geometry): return appropriate values for
10846 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
10847 appropriate creation flags for left, right and bottom tabs.
10849 * s/cygwin32.h: add tab definitions.
10851 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10853 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
10854 frame upon hiding a subwindow.
10855 (mswindows_button_instantiate): Changed the push button style to
10857 (mswindows_button_instantiate): Removed button BS_NOTIFY
10859 (mswindows_button_instantiate): Removed redundant check for
10860 a disabled gui item.
10861 (mswindows_button_instantiate): Made use of WS_TABSTOP
10862 consistent: "operable" controls (edit, button, tree, scroll) have
10863 this style, "display-only" ones (static, progress gauge) do
10864 not. This style is currently ignored by XEmacs though. Also,
10865 removed the WS_EX_CONTROLPARENT style - it is not for children,
10866 it is for their parents!
10867 (mswindows_edit_field_instantiate): Ditto.
10868 (mswindows_progress_gauge_instantiate): Ditto.
10869 (mswindows_tree_view_instantiate): Ditto.
10870 (mswindows_tab_control_instantiate): Ditto.
10871 (mswindows_scrollbar_instantiate): Ditto.
10872 (mswindows_combo_box_instantiate): Ditto.
10873 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
10874 style to the "clip" window.
10875 (mswindows_button_instantiate): Removed compilation warning by
10876 equally typing terms of the ?: operator.
10878 2000-01-12 Didier Verna <didier@xemacs.org>
10880 * redisplay.c (generate_fstring_runes): new parameter holding the
10881 last modeline-format extent.
10882 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
10883 extent, fill the glyph block with it.
10884 (generate_fstring_runes): handle these parameters.
10885 (generate_formatted_string_db): ditto.
10887 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
10888 glyphs'extents in the modeline.
10890 1999-01-11 Mike Woolley <mike@bulsara.com>
10892 * ntheap.c: Reduced the reserved heap space from 1Gb down to
10893 256Mb, as a workaround for the non-starting problem many people
10896 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10898 * console-tty.c (Fset_console_tty_output_coding_system):
10899 Force redrawing tty frame.
10901 2000-01-10 Didier Verna <didier@xemacs.org>
10903 * redisplay.c (generate_fstring_runes): fix size computation bug.
10905 2000-01-09 William M. Perry <wmperry@aventail.com>
10907 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
10909 2000-01-09 Andy Piper <andy@xemacs.org>
10911 * glyphs-msw.c: index -> i to avoid shadows.
10912 (xbm_create_bitmap_from_data): make static.
10913 (check_valid_string_or_int): deleted.
10914 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
10916 * glyphs-x.c (x_update_subwindow): remove unused args.
10918 * glyphs.c (glyph_image_instance): return the thing. Don't set the
10919 back pointer - this is done in allocate_image_instance.
10920 (query_string_font): return Qnil to make the compiler happy.
10921 (unmap_subwindow): set to ~0 to make the compiler happy.
10922 (glyph_query_geometry): comment out until used.
10923 (glyph_layout): ditto.
10925 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10927 * insdel.c (signal_after_change): Remove extraneous unbind_to().