1 2001-08-14 MORIOKA Tomohiko <tomo@calliope.mousai.mahoroba.ne.jp>
3 * mule-charset.c (Vcharset_ucs_jis): New variable.
5 (syms_of_mule_charset): Add new symbol `ucs-jis'.
6 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
8 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
10 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
12 * mule-charset.c (map_over_uint8_byte_table): New function.
13 (map_over_uint16_byte_table): Likewise.
14 (map_over_byte_table): Likewise.
15 (map_char_id_table): Likewise.
16 (slow_map_char_id_table_fun): Likewise.
17 (Fmap_char_attribute): Likewise.
18 (syms_of_mule_charset): Add new function `map-char-attribute'.
20 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
22 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
23 (syms_of_mule_charset): Add new function `find-char'.
25 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
29 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
30 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
32 (complex_vars_of_mule_charset): Add new coded-charset
33 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
36 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
38 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
40 * mule-charset.c (encode_builtin_char_1): Purge codes about
41 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
42 {MIN|MAX}_CHAR_HEBREW.
43 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
44 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
46 * char-ucs.h (MIN_CHAR_GREEK): Purged.
47 (MAX_CHAR_GREEK): Purged.
48 (MIN_CHAR_CYRILLIC): Purged.
49 (MAX_CHAR_CYRILLIC): Purged.
50 (MIN_CHAR_HEBREW): Commented out.
51 (MAX_CHAR_HEBREW): Likewise.
53 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * mule-charset.c (Qto_ucs): New variable.
56 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
57 (Fdefine_char): Likewise.
58 (syms_of_mule_charset): Add new symbol `=>ucs'.
60 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 * mule-charset.c (Fdecode_char): Fixed.
64 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
67 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
70 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * mule-charset.c (Vcharset_ucs_big5): New variable.
73 (Qucs_big5): Likewise.
74 (syms_of_mule_charset): Add new symbol `ucs-big5'.
75 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
77 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
79 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * mule-charset.c (decode_builtin_char): Check Big5 code range
82 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
84 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
86 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
87 (Qchinese_gb12345): Likewise.
88 (Fdecode_builtin_char): Fixed.
89 (syms_of_mule_charset): Add `chinese-gb12345'.
90 (complex_vars_of_mule_charset): Add coded-charset
93 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
94 (LEADING_BYTE_CHINESE_GB12345): New macro.
96 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
99 and `latin-viscii-upper' for `latin-viscii'.
101 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
103 * mule-charset.c (Fdecode_builtin_char): Comment out
104 regularization code for ISO-IR GR representation.
106 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
108 * mule-charset.c (decode_builtin_char): New function; renamed from
109 `make_builtin_char'; return -1 instead of signal.
110 (Fdecode_builtin_char): Use `decode_builtin_char'.
112 * char-ucs.h (decode_builtin_char): New prototype; renamed from
114 (DECODE_CHAR): Use `decode_builtin_char' instead of
115 `make_builtin_char'; use mapping table of `chinese-big5' for
116 `chinese-big5-{1,2}'.
118 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
120 * text-coding.c (char_encode_big5): New function.
121 (char_finish_big5): Likewise.
122 (reset_encoding_stream): Use `char_encode_big5' and
123 `char_finish_big5' for CODESYS_BIG5.
124 (mule_encode): Don't use `encode_coding_big5'.
125 (encode_coding_big5): Deleted.
127 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
130 0x81- in XEmacs UTF-2000.
131 (detect_coding_big5): Likewise.
133 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * mule-charset.c (Fdefine_char): Don't use a CCS property to
136 generate character-id if the CCS property does not have
137 corresponding predefined character.
138 (make_builtin_char): Return -1 if corresponding predefined
139 character is not found.
140 (Fdecode_char): Return nil if corresponding character is not
142 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
143 don't map to builtin ucs space.
145 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
148 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
150 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * mule-charset.c (Vcharset_ideograph_gt): New variable.
153 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
154 (Qideograph_gt): Likewise.
155 (Qideograph_gt_pj_{1..11}): Likewise.
156 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
157 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
158 `ideograph-gt-pj-11'.
159 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
160 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
161 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
163 * char-ucs.h (LEADING_BYTE_GT): New macro.
164 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
165 (MIN_CHAR_GT): Likewise.
166 (MAX_CHAR_GT): Likewise.
168 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
170 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
171 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
173 * doprnt.c (unsigned_int_converters): Add `c'.
174 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
176 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
177 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
179 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
180 (MAX_CHAR_MOJIKYO_0): New macro.
181 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
183 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
185 * mule-charset.c (Fdefine_char): Delete cemented out code.
186 (encode_builtin_char_1): Modify for new allocation of builtin
189 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
191 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * mule-charset.c (Vcharset_ucs_cns): New variable.
194 (Qucs_cns): New variable.
195 (syms_of_mule_charset): Add new symbol `ucs-cns'.
196 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
198 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
202 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
204 * search.c (search_buffer): Make `charset_base_code' as
205 character-id >> 6 to eliminate the corresponding last byte in
206 UTF-8 representation [I'm not sure it is right thing].
207 (boyer_moore): Likewise.
209 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
211 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
212 representation in MULE.
214 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * text-coding.c (Fmake_coding_system): Use
217 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
218 `EXTERNAL_PROPERTY_LIST_LOOP'.
220 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
222 * text-coding.c (decode_output_utf8_partial_char): New function.
223 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
225 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * text-coding.c (decode_coding_utf8): Output original byte
228 sequence if it is broken; change order of conditions.
230 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
233 * mb-multibyte.h (BYTE_ASCII_P):
234 Use bit ops for char-signedness safety.
235 (BYTE_C0_P): Use bit ops for char-signedness safety.
236 (BYTE_C1_P): Use bit ops for char-signedness safety.
238 * character.h: (XCHAR_OR_CHAR_INT):
239 Always use inline function.
240 Remove redundant type checking assert() - XINT will abort quite
243 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * text-coding.c: (Fencode_shift_jis_char):
247 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
248 Replace 0 with '\0' when working with bytes.
249 Replace initial "(" with "\(" in docstrings.
251 (Fmake_coding_system):
252 When type is ccl and value is vector, register it with a proper
253 symbol. And checks whether the given ccl program is valid.
254 (mule_decode): When calling ccl_driver, if src indicates
255 NULL pointer, set an empty string instead.
256 (mule_encode): Likewise.
259 (detect_coding_sjis):
260 (decode_coding_sjis):
261 (detect_coding_big5):
262 (decode_coding_big5):
263 (detect_coding_ucs4):
264 (decode_coding_ucs4):
265 (detect_coding_utf8):
266 (decode_coding_utf8):
267 (detect_coding_iso2022):
268 (decode_coding_iso2022):
269 (decode_coding_no_conversion):
271 Make all detecting and decoding functions take an Extbyte * arg.
272 (text_encode_generic):
273 (encode_coding_big5):
274 (encode_coding_no_conversion):
276 Make all encoding functions take a Bufbyte * arg.
277 Use size_t instead of unsigned int for memory sizes.
278 Only cast to unsigned char whenever dereferencing Extbyte *.
280 (struct lrecord_description fcd_description_1): Use countof.
281 (complex_vars_of_file_coding):
282 Use countof instead of sizeof.
283 Use CHECK_NATNUM instead of CHECK_INT.
285 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * mule-charset.c (Fget_char_attribute): Add new optional argument
289 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
290 (remove_char_ccs): Likewise.
292 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
294 * text-coding.c (char_encode_shift_jis): New implementation in
296 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
299 * mule-charset.c (Vcharset_chinese_big5): New variable in
301 (Qchinese_big5): New variable in UTF-2000.
302 (BIG5_SAME_ROW): New macro in UTF-2000.
303 (make_builtin_char): Use builtin characters of
304 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
305 characters of `Vcharset_chinese_big5'.
306 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
307 (complex_vars_of_mule_charset): Add new coded-charset
308 `chinese-big5' in UTF-2000.
310 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
311 (Vcharset_chinese_big5): New external variable declaration.
312 (Vcharset_japanese_jisx0208_1990): Likewise.
314 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
316 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
318 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
320 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
322 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
323 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
324 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
327 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
329 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
331 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
333 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
336 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
339 for `CHARSET_BY_ATTRIBUTES'.
340 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
341 `CHARSET_BY_ATTRIBUTES'.
343 * text-coding.c (struct decoding_stream): Rename member `CH' to
345 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
346 (decode_coding_sjis): Likewise.
347 (decode_coding_big5): Likewise.
348 (decode_coding_ucs4): Likewise.
349 (decode_coding_utf8): Likewise.
350 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
351 `CHARSET_BY_ATTRIBUTES'.
352 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
353 `str->counter'; decode 3, 4 bytes sets.
354 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
356 (decode_coding_no_conversion): Use `str->cpos' instead of
359 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
360 (Qmojikyo_2022_1): New variable.
361 (make_charset): Don't use `CHARSET_TYPE_*'.
362 (range_charset_code_point): Support coded-charset
364 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
365 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
366 `CHARSET_BY_ATTRIBUTES'.
367 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
368 `CHARSET_BY_ATTRIBUTES'.
369 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
370 (complex_vars_of_mule_charset): Add new coded-charset
373 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
374 interface; changed to inline function.
376 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
377 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
378 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
379 (CHARSET_TYPE_94): Deleted.
380 (CHARSET_TYPE_94X94): Deleted.
381 (CHARSET_TYPE_96): Deleted.
382 (CHARSET_TYPE_96X96): Deleted.
383 (CHARSET_TYPE_128): Deleted.
384 (CHARSET_TYPE_128X128): Deleted.
385 (CHARSET_TYPE_256): Deleted.
386 (CHARSET_TYPE_256X256): Deleted.
387 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
389 (DECODE_MOJIKYO_2022): New inline function.
390 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
391 `Vcharset_mojikyo_2022_1'.
393 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
397 (put_byte_table): Likewise.
398 (char_id_table_equal): Use `get_byte_table' [new implementation].
400 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
402 * mule-charset.c: Include <limits.h> in UTF-2000.
403 (BT_UINT8_MIN): New macro in UTF-2000.
404 (BT_UINT8_MAX): New macro in UTF-2000.
405 (BT_UINT8_t): New macro in UTF-2000.
406 (BT_UINT8_nil): New macro in UTF-2000.
407 (BT_UINT8_unbound): New macro in UTF-2000.
408 (INT_UINT8_P): New inline function in UTF-2000.
409 (UINT8_VALUE_P): New inline function in UTF-2000.
410 (UINT8_ENCODE): New inline function in UTF-2000.
411 (UINT8_DECODE): New inline function in UTF-2000.
412 (mark_uint8_byte_table): New function in UTF-2000.
413 (print_uint8_byte_table): New function in UTF-2000.
414 (uint8_byte_table_equal): New function in UTF-2000.
415 (uint8_byte_table_hash): New function in UTF-2000.
416 (make_uint8_byte_table): New function in UTF-2000.
417 (uint8_byte_table_same_value_p): New function in UTF-2000.
418 (BT_UINT16_MIN): New macro in UTF-2000.
419 (BT_UINT16_MAX): New macro in UTF-2000.
420 (BT_UINT16_t): New macro in UTF-2000.
421 (BT_UINT16_nil): New macro in UTF-2000.
422 (BT_UINT16_unbound): New macro in UTF-2000.
423 (INT_UINT16_P): New inline function in UTF-2000.
424 (UINT16_VALUE_P): New inline function in UTF-2000.
425 (UINT16_ENCODE): New inline function in UTF-2000.
426 (UINT16_DECODE): New inline function in UTF-2000.
427 (UINT8_TO_UINT16): New inline function in UTF-2000.
428 (mark_uint16_byte_table): New function in UTF-2000.
429 (print_uint16_byte_table): New function in UTF-2000.
430 (uint16_byte_table_equal): New function in UTF-2000.
431 (uint16_byte_table_hash): New function in UTF-2000.
432 (make_uint16_byte_table): New function in UTF-2000.
433 (uint16_byte_table_same_value_p): New function in UTF-2000.
434 (print_byte_table): New function in UTF-2000.
435 (byte-table): Use `print_byte_table' as printer.
436 (make_byte_table): Delete second argument `older'.
437 (byte_table_same_value_p): New function in UTF-2000.
438 (copy_byte_table): Deleted.
439 (get_byte_table): New function in UTF-2000.
440 (put_byte_table): New function in UTF-2000.
441 (print_char_id_table): New function in UTF-2000.
442 (char-id-table): Use `print_char_id_table' as printer.
443 (make_char_id_table): Delete second argument `older'.
444 (get_char_id_table): Use `get_byte_table [new implementation].
445 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
447 (Ffind_char_attribute_table): New function in UTF-2000.
448 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
449 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
450 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
451 (syms_of_mule_charset): Add new function
452 `find-char-attribute-table' in UTF-2000.
454 * lrecord.h (enum lrecord_type): Add
455 `lrecord_type_uint16_byte_table' and
456 `lrecord_type_uint8_byte_table'.
458 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
459 (Lisp_Uint8_Byte_Table): New type.
460 (XUINT8_BYTE_TABLE): New macro.
461 (XSETUINT8_BYTE_TABLE): New macro.
462 (UINT8_BYTE_TABLE_P): New macro.
463 (GC_UINT8_BYTE_TABLE_P): New macro.
464 (struct Lisp_Uint16_Byte_Table): New structure.
465 (Lisp_Uint16_Byte_Table): New type.
466 (XUINT16_BYTE_TABLE): New macro.
467 (XSETUINT16_BYTE_TABLE): New macro.
468 (UINT16_BYTE_TABLE_P): New macro.
469 (GC_UINT16_BYTE_TABLE_P): New macro.
471 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
473 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
474 (Vcharacter_ideographic_strokes_table): Deleted.
475 (Vcharacter_total_strokes_table): Deleted.
476 (Vcharacter_morohashi_daikanwa_table): Deleted.
477 (Vcharacter_decomposition_table): Deleted.
478 (Qname): Deleted because it is duplicated.
479 (Qideographic_radical): Deleted.
480 (Qideographic_strokes): Deleted.
481 (Qtotal_strokes): Deleted.
482 (Qmorohashi_daikanwa): Deleted.
483 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
484 `ideographic-radical', `ideographic-strokes', `total-strokes',
485 `morohashi-daikanwa' and `->decomposition'.
486 (Fget_char_attribute): Likewise.
487 (Fput_char_attribute): Likewise; use `make-vector' instead of
488 `make_older_vector' for `->decomposition' value.
489 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
490 `ideograph-daikanwa'.
491 (syms_of_mule_charset): Delete builtin symbols `name',
492 `ideographic-radical', `ideographic-strokes', `total-strokes' and
493 `morohashi-daikanwa'.
494 (vars_of_mule_charset): Don't setup
495 `Vcharacter_ideographic_radical_table',
496 `Vcharacter_ideographic_strokes_table',
497 `Vcharacter_total_strokes_table',
498 `Vcharacter_morohashi_daikanwa_table' and
499 `Vcharacter_decomposition_table'.
501 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
504 `make_older_vector', `make_vector_newer_1' and
507 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
508 `make_older_vector' and `make_vector_newer'.
510 * config.h.in (HAVE_GGC): New macro.
512 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
514 * mule-charset.c (struct char_attribute_list_closure): New
515 structure in UTF-2000.
516 (add_char_attribute_to_list_mapper): New function in UTF-2000.
517 (Fchar_attribute_list): Likewise.
518 (Fset_charset_mapping_table): Use `make_vector_newer'.
519 (Fdecode_builtin_char): New function in UTF-2000.
520 (syms_of_mule_charset): Add new function `char-attribute-list' and
521 `decode-builtin-char' in UTF-2000.
523 * lisp.h (make_vector_newer): New prototype.
525 * alloc.c (make_vector_newer_1): New function.
526 (make_vector_newer): New function.
528 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
533 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * mule-charset.c (Vchar_attribute_hash_table): New variable.
536 (Vcharacter_attribute_table): Deleted.
537 (Vcharacter_name_table): Deleted.
538 (put_char_attribute): Deleted.
539 (remove_char_attribute): Deleted.
540 (struct char_attribute_alist_closure): New structure.
541 (add_char_attribute_alist_mapper): New function.
542 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
543 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
544 (Fget_char_attribute): Likewise.
545 (Fput_char_attribute): Likewise.
546 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
547 of `remove_char_attribute'.
548 (Fdefine_char): Return character.
549 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
550 and `Vcharacter_name_table'.
551 (complex_vars_of_mule_charset): Likewise
552 `Vchar_attribute_hash_table'.
554 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * character.h (CHARC_CHARSET): New macro.
557 (CHARC_CHARSET_ID): New macro.
558 (CHARC_CODE_POINT): New macro.
559 (CHARC_COLUMNS): New macro.
560 (CHARC_TO_CHAR): New inline function.
561 (CHARC_EQ): New inline function.
562 (CHARC_ASCII_EQ): New inline function.
563 (CHARC_IS_SPACE): New inline function.
564 (ASCII_TO_CHARC): New inline function.
566 * char-ucs.h (encode_char_2): Deleted.
567 (ENCODE_CHAR): Use `encode_char_1' again.
568 (breakup_char_1): Likewise.
569 (CHAR_TO_CHARC): New inline function.
571 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
573 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
575 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
576 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
577 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
578 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
579 (create_string_text_block): Use `CHARC_ASCII_EQ' and
581 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
583 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
585 (x_output_display_block): Use `CHARC_CHARSET' and
588 * redisplay-tty.c (tty_output_display_block): Use
590 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
592 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
594 * insdel.c (find_charsets_in_charc_string): Use
596 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
597 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
598 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
599 (convert_charc_string_into_malloced_string): Likewise.
601 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
603 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
604 instead of <Emchar_dynarr *> for buf; use
605 `convert_bufbyte_string_into_charc_dynarr' instead of
606 `convert_bufbyte_string_into_emchar_dynarr'; use
607 `find_charsets_in_charc_string' instead of
608 `find_charsets_in_emchar_string'.
611 - Include "character.h".
612 (struct rune): New member `cglyph'; delete member `chr'.
614 * redisplay.c (redisplay_text_width_charc_string): New function;
615 delete `redisplay_text_width_emchar_string'.
616 (rtw_charc_dynarr): New variable; renamed from
618 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
619 `rtw_emchar_dynarr'; use
620 `convert_bufbyte_string_into_charc_dynarr' instead of
621 `convert_bufbyte_string_into_emchar_dynarr'; use
622 `redisplay_text_width_charc_string' instead of
623 `redisplay_text_width_emchar_string'.
624 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
625 instead of `rtw_emchar_dynarr'; use
626 `convert_bufbyte_string_into_charc_dynarr' instead of
627 `convert_bufbyte_string_into_emchar_dynarr'.
628 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
629 `redisplay_text_width_charc_string' instead of
630 `redisplay_text_width_emchar_string'.
631 (create_text_block): Modify for <struct rune> change.
632 (generate_formatted_string_db): Likewise.
633 (create_string_text_block): Likewise.
634 (pixel_to_glyph_translation): Likewise.
636 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
637 instead of <const Emchar *>.
638 (x_text_width): Likewise.
639 (x_output_display_block): Use <Charc_dynarr *> instead
640 <Emchar_dynarr *>; modify for <structure rune> change.
641 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
644 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
645 <const Emchar *>; use `charc_string_displayed_columns' instead of
646 `emchar_string_displayed_columns'.
647 (tty_output_display_block): Use <Charc_dynarr *> instead of
648 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
649 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
650 (tty_output_charc_dynarr_dynarr): New variable; renamed from
651 `tty_output_emchar_dynarr_dynarr'.
652 (tty_output_charc_dynarr): New function; delete
653 `tty_output_charc_dynarr'.
655 * redisplay-output.c (compare_runes): Modify for `struct rune'.
656 (redisplay_output_layout): Use <Charc_dynarr *> instead of
657 <Emchar_dynarr *> for buf; use
658 `convert_bufbyte_string_into_charc_dynarr' instead of
659 `convert_bufbyte_string_into_emchar_dynarr'.
661 * frame.c (title_string_charc_dynarr): New variable; renamed from
662 `title_string_emchar_dynarr'.
663 (generate_title_string): Use `title_string_charc_dynarr' instead
664 of `title_string_emchar_dynarr'; use
665 `convert_charc_string_into_malloced_string' instead of
666 `convert_emchar_string_into_malloced_string'.
667 (init_frame): Use `title_string_charc_dynarr' instead of
668 `title_string_emchar_dynarr'.
671 - Include "character.h".
672 (struct console_methods): Use <const Charc *> instead of <const
673 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
674 <Emchar_dynarr *> in output_string_method.
676 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
679 * console-stream.c (stream_text_width): Use <const Charc *>
680 instead of <const Emchar *>.
682 * character.h (Charc_dynarr): New type.
684 * char-ucs.h (structure Charc): New structure; define new type
687 * char-lb.h (DECODE_CHAR): New inline function.
688 (encode_char_1): New inline function.
689 (ENCODE_CHAR): New macro.
690 (structure Charc): New structure; define new type `Charc'.
692 * char-1byte.h (Vcharset_control_1): New macro.
693 (Vcharset_latin_iso8859_1): New macro.
694 (DECODE_CHAR): New inline function.
695 (encode_char_1): New inline function.
696 (ENCODE_CHAR): New macro.
697 (structure Charc): New structure; define new type `Charc'.
699 * insdel.c (find_charsets_in_charc_string): New function; delete
700 `find_charsets_in_emchar_string'.
701 (charc_string_displayed_columns): New function; delete
702 `emchar_string_displayed_columns'.
703 (convert_bufbyte_string_into_charc_dynarr): New function; delete
704 `convert_bufbyte_string_into_emchar_dynarr'.
705 (convert_charc_string_into_bufbyte_dynarr): New function; delete
706 `convert_charc_string_into_bufbyte_dynarr'.
707 (convert_charc_string_into_malloced_string): New function; delete
708 `convert_charc_string_into_malloced_string'.
710 * buffer.h (find_charsets_in_charc_string): New prototype; delete
711 `find_charsets_in_emchar_string'.
712 (charc_string_displayed_columns): New prototype; delete
713 `emchar_string_displayed_columns'.
714 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
715 `convert_charc_string_into_bufbyte_dynarr'.
716 (convert_charc_string_into_malloced_string): New prototype; delete
717 `convert_charc_string_into_malloced_string'.
719 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
721 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
723 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
727 * char-ucs.h: Use <short> for <Charset_ID>.
729 * mule-charset.h, char-1byte.h: Use <unsigned char> for
732 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
734 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
737 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
739 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
741 (Qmorohashi_daikanwa): New variable.
742 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
743 for `morohashi-daikanwa' attribute.
744 (Fget_char_attribute): Likewise.
745 (Fput_char_attribute): Likewise.
746 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
747 has the same value of `ideograph-daikanwa'.
748 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
749 (vars_of_mule_charset): Setup
750 `Vcharacter_morohashi_daikanwa_table'.
752 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
754 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
756 (add_charset_to_list_mapper): Add `key' instead of
757 `XCHARSET_NAME (value)' to return aliases.
759 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
761 * mule-charset.c (Vcharacter_ideographic_radical_table): New
763 (Vcharacter_ideographic_strokes_table): New variable.
764 (Qideographic_radical): New variable.
765 (Qideographic_strokes): New variable.
766 (Fchar_attribute_alist): Use
767 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
768 attribute; use `Vcharacter_ideographic_strokes_table' for
769 `ideographic-strokes' attribute.
770 (Fget_char_attribute): Likewise.
771 (Fput_char_attribute): Likewise.
772 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
773 `ideographic-strokes'.
774 (vars_of_mule_charset): Setup
775 `Vcharacter_ideographic_radical_table' and
776 `Vcharacter_ideographic_strokes_table'.
778 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
780 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
781 (Qtotal_strokes): New variable.
782 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
783 `total-strokes' attribute.
784 (Fget_char_attribute): Likewise.
785 (Fput_char_attribute): Likewise.
786 (syms_of_mule_charset): Add new symbol `total-strokes'.
787 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
789 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
791 * mule-charset.c (Vcharacter_decomposition_table): New variable.
792 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
794 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
795 `->decomposition' attribute.
796 (Fput_char_attribute): Likewise.
797 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
799 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
801 * mule-charset.c (decoding_table_check_elements): New function.
802 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
804 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
806 * mule-charset.c (Fset_charset_mapping_table): Use
807 `put_char_ccs_code_point'.
809 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
811 * mule-charset.c (decoding_table_put_char): New inline function.
812 (put_char_ccs_code_point): Use `decoding_table_put_char'.
814 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
816 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
817 (XCHARSET_BYTE_SIZE): New macro.
818 (decoding_table_remove_char): New inline function.
819 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
820 `decoding_table_remove_char'.
821 (remove_char_ccs): Use `decoding_table_remove_char'.
822 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
824 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
826 * mule-charset.c (Vcharacter_name_table): New variable.
827 (Qname): New variable.
828 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
830 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
831 `Vcharacter_name_table' for `name' attribute.
832 (Fremove_char_attribute): Use function `remove_char_ccs'.
833 (put_char_ccs_code_point): New function.
834 (remove_char_ccs): New function.
835 (syms_of_mule_charset): Add new symbol `name'.
836 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
838 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
840 * mule-charset.c (make_byte_table): Add new argument `older'.
841 (make_char_id_table): Likewise.
842 (copy_char_id_table): Comment out because it is not used.
843 (put_char_id_table): Modify for `make_byte_table'.
844 (Fput_char_attribute): Make encoding_table as older object;
845 inherit older bit of `Vcharacter_composition_table'.
846 (mark_charset): Don't mark `cs->encoding_table'.
847 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
848 normal object; make `Vcharacter_composition_table' as an older
849 object; delete staticpro for `Vcharacter_composition_table'; make
850 `Vcharacter_variant_table' as a normal object.
852 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
853 (mark_object): Don't check older object in UTF-2000.
855 * lrecord.h (struct lrecord_header): Add new member `older' in
857 (set_lheader_implementation): Setup `SLI_header->older' in
859 (set_lheader_older_implementation): New macro in UTF-2000.
860 (OLDER_RECORD_P): New macro in UTF-2000.
861 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
862 (alloc_older_lcrecord): New prototype in UTF-2000.
863 (alloc_older_lcrecord_type): New macro in UTF-2000.
865 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
867 * mule-charset.c (byte_table_description): Use
868 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
869 (char_id_table_description): Delete bogus `, 1'.
870 (Fget_char_attribute): Refer encoding_table of each coded-charset
871 to get value of coded-charset attribute of a character.
872 (Fput_char_attribute): Use `make_older_vector' instead of
873 `make_vector'; use encoding_table of each coded-charset to store
874 value of coded-charset attribute of a character.
875 (Fremove_char_attribute): Use encoding_table of each coded-charset
876 to store value of coded-charset attribute of a character.
877 (mark_charset): Mark `cs->encoding_table'; don't mark
878 `cs->decoding_table'.
879 (charset_description): Add description of new member
881 (make_charset): Initialize `encoding_table'.
883 * char-ucs.h (struct Lisp_Charset): Add new member
885 (CHARSET_ENCODING_TABLE): New macro.
886 (XCHARSET_ENCODING_TABLE): New macro.
887 (charset_code_point): New implementation.
888 (encode_char_1): Likewise.
890 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
891 (disksave_object_finalization_1): Call finalizers of
892 `all_older_lcrecords' in UTF-2000.
893 (make_older_vector): New function in UTF-2000.
894 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
897 * lisp.h (make_older_vector): New prototype in UTF-2000.
899 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
901 * lrecord.h (enum lrecord_type): Rename
902 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
904 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
905 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
906 `get_char_code_table'.
908 * mule-charset.c (mark_char_id_table): Renamed from
909 `mark_char_code_table'.
910 (char_id_table_equal): Renamed from `char_code_table_equal'.
911 (char_id_table_hash): Renamed from `char_code_table_hash'.
912 (make_char_id_table): Renamed from `make_char_code_table'.
913 (copy_char_id_table): Renamed from `copy_char_code_table'.
914 (get_char_id_table): Renamed from `get_char_code_table'.
915 (put_char_id_table): Renamed from `put_char_code_table'.
916 (to_char_id): Renamed from `to_char_code'.
918 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
919 `Lisp_Char_Code_Table'.
920 (char_id_table): Renamed from `char_code_table'.
921 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
922 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
923 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
924 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
925 (get_char_id_table): Renamed from `get_char_code_table'.
927 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
929 * lrecord.h (enum lrecord_type): Rename
930 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
932 * mule-charset.c (mark_byte_table): Renamed from
933 `mark_char_byte_table'.
934 (byte_table_equal): Renamed from `char_byte_table_equal'.
935 (byte_table_hash): Renamed from `byte_table_hash'.
936 (make_byte_table): Renamed from `make_byte_table'.
937 (copy_byte_table): Renamed from `copy_char_byte_table'.
939 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
940 `Lisp_Char_Byte_Table'.
941 (byte_table): Renamed from `char_byte_table'.
942 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
943 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
944 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
945 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
947 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
949 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
950 (dfc_convert_to_internal_format): Likewise.
952 * text-coding.c (Fcoding_system_canonical_name_p): New function.
953 * text-coding.c (Fcoding_system_alias_p): New function.
954 * text-coding.c (Fcoding_system_aliasee): New function.
955 * text-coding.c (append_suffix_to_symbol): New function.
956 * text-coding.c (dangling_coding_system_alias_p): New function.
957 * text-coding.c (Ffind_coding_system):
958 * text-coding.c (Fcopy_coding_system):
959 * text-coding.c (encode_coding_no_conversion):
960 * text-coding.c (syms_of_file_coding):
961 * text-coding.c (vars_of_file_coding):
962 Rewrite coding system alias code.
963 Allow nested aliases, like symbolic links.
964 Allow redefinition of coding system aliases.
965 Prevent existence of dangling coding system aliases.
966 Eliminate convert_to_external_format.
967 Eliminate convert_to_internal_format.
969 * text-coding.c: Change enum eol_type to eol_type_t.
971 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
973 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
974 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
976 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
977 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
979 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
981 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
982 `ideograph-daikanwa'.
984 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
985 (Vcharset_ucs_bmp): Likewise.
986 (Vcharset_mojikyo): Add new extern variable definition.
987 (Vcharset_latin_iso8859_2): Deleted because it is not used.
988 (Vcharset_latin_iso8859_3): Likewise.
989 (Vcharset_latin_iso8859_4): Likewise.
990 (Vcharset_latin_iso8859_9): Likewise.
991 (Vcharset_latin_viscii_lower): Likewise.
992 (Vcharset_latin_viscii_upper): Likewise.
993 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
994 `mojikyo' code-point is used to decode.
995 (encode_char_2): New function [to convert `mojikyo' code-point to
996 Mojikyo font encoding].
997 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
998 (breakup_char_1): Likewise.
999 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
1001 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1003 * text-coding.c (Fmake_coding_system): Add document about
1004 `disable-composition' property.
1006 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1008 * text-coding.c (Qdisable_composition): New variable; delete
1010 (Fmake_coding_system): Add new property `disable-composite';
1011 delete property `composite'.
1012 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
1013 instead of `!CODING_SYSTEM_COMPOSITE'.
1014 (syms_of_file_coding): Add new symbol `disable-composition';
1015 delete symbol `composite'.
1017 * file-coding.h (struct Lisp_Coding_System): Add
1018 `disable_composition'; delete `enable_composition'.
1019 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
1020 `CODING_SYSTEM_COMPOSITE'.
1021 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
1022 `XCODING_SYSTEM_COMPOSITE'.
1024 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1026 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1029 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1031 * text-coding.c (Qcomposite): New variable.
1032 (Fmake_coding_system): Add new property `composite'.
1033 (struct decoding_stream): Add `combined_char_count',
1034 `combined_chars' and `combining_table' in UTF-2000.
1035 (COMPOSE_FLUSH_CHARS): New macro.
1036 (COMPOSE_ADD_CHAR): New macro.
1037 (reset_decoding_stream): Reset `str->combined_char_count' and
1038 `str->combining_table' in UTF-2000.
1039 (decode_coding_iso2022): Modify for character-decomposition.
1040 (syms_of_file_coding): Add new symbol `composite'.
1042 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1044 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
1045 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
1046 of `Vcharacter_composition_table' if `->decomposition' property
1048 (Qlatin_tcvn5712): New variable.
1049 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
1050 (complex_vars_of_mule_charset): Add new coded-charset
1053 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
1055 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1057 * file-coding.h (struct Lisp_Coding_System): Add
1058 `enable_composition'.
1059 (CODING_SYSTEM_COMPOSITE): New macro.
1060 (XCODING_SYSTEM_COMPOSITE): New macro.
1062 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
1064 * mule-canna.c (c2mu): Fix problem with UTF-2000.
1066 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
1068 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
1069 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
1071 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
1073 * mule-charset.c (Vcharset_mojikyo): New variable.
1074 (Fdefine_char): Don't use coded-charset which does not have
1075 non-builtin character range to allocate character-id.
1076 (Qmojikyo): New variable.
1077 (syms_of_mule_charset): Add new symbol `mojikyo'.
1078 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
1080 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
1081 (LEADING_BYTE_MOJIKYO): New macro.
1082 (MIN_CHAR_MOJIKYO): New macro.
1083 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
1084 (MAX_CHAR_MOJIKYO): New macro.
1086 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
1088 * mule-charset.c (remove_char_attribute): Fixed.
1090 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
1092 * mule-charset.c (remove_char_attribute): New function.
1093 (Fremove_char_attribute): New function.
1094 (encode_builtin_char_1): Comment out builtin-support for
1095 greek-iso8859-7 and cyrillic-iso8859-5.
1096 (Fdecode_char): Check `code' is an integer.
1097 (syms_of_mule_charset): Add `remove-char-attribute'.
1098 (MIN_CHAR_GREEK): Deleted.
1099 (MAX_CHAR_GREEK): Likewise.
1100 (MIN_CHAR_CYRILLIC): Likewise.
1101 (MAX_CHAR_CYRILLIC): Likewise.
1102 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
1103 MAX_CHAR_GREEK for `greek-iso8859-7'.
1105 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
1106 (MAX_CHAR_GREEK): Likewise.
1107 (MIN_CHAR_CYRILLIC): Likewise.
1108 (MAX_CHAR_CYRILLIC): Likewise.
1110 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
1112 * mule-charset.c (Fdefine_char): Fix problem when new code-point
1113 format is used without `ucs' property.
1114 (Fdecode_char): Fix problem with GR representation.
1115 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
1116 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
1118 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1120 * mule-charset.c (make_builtin_char): New function.
1121 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
1122 (Fset_charset_mapping_table): Modify for new representation of
1124 (Fdecode_char): New function.
1125 (syms_of_mule_charset): Add new builtin function `decode-char' in
1128 * char-ucs.h (make_builtin_char): New prototype.
1129 (DECODE_CHAR): New inline function.
1130 (MAKE_CHAR): Use `DECODE_CHAR'.
1132 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
1134 * text-coding.c (parse_charset_conversion_specs): Use
1135 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
1137 (iso2022_designate): Likewise.
1139 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
1140 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
1142 * mule-charset.c (Vcharset_ucs): New variable.
1143 (print_charset): Change design; use `CHARSET_CHARS' and
1144 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
1145 (make_charset): Change signature to specify `chars' and
1146 `dimension' instead of `type'.
1147 (range_charset_code_point): Modify for 256^n-set.
1148 (encode_builtin_char_1): Encode as `ucs' in default.
1149 (Fmake_charset): Modify for `make_charset'.
1150 (Fmake_reverse_direction_charset): Likewise.
1151 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
1153 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
1156 * char-ucs.h (Vcharset_ucs): New variable.
1157 (LEADING_BYTE_UCS): New macro.
1158 (struct Lisp_Charset): Delete `type'; change type of `dimension'
1159 and `chars' to `unsigned short' from `unsigned int'.
1160 (CHARSET_TYPE): Deleted.
1161 (XCHARSET_TYPE): Deleted.
1163 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
1165 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
1167 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
1168 (ENCODE_CHAR): New macro.
1170 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1172 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1173 to 0.14 (Kawachi-Katakami).
1175 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1177 * text-coding.c (char_encode_shift_jis): Modify for
1178 `charset_code_point'.
1179 (char_encode_iso2022): Likewise.
1181 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
1182 (integer) instead of list of <Lisp_Object>s (integers) as the
1183 format of code-point of a coded-charset.
1184 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1185 (encode_builtin_char_1): New function; delete
1186 `split_builtin_char'.
1187 (charset_code_point): Return <int> instead of <Lisp_Object>.
1188 (Fsplit_char): Don't use `SPLIT_CHAR'.
1190 * char-ucs.h (encode_builtin_char_1): New prototype; delete
1191 prototype for `split_builtin_char'.
1192 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1193 (charset_code_point): Likewise.
1194 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
1195 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
1197 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
1199 * mule-charset.c (complex_vars_of_mule_charset): Don't define
1200 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
1202 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1204 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
1206 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
1207 (MAX_CHAR_OBS_94x94): Deleted.
1209 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1211 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
1213 * char-ucs.h (MAX_CHAR_BMP): New macro.
1215 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1217 * text-coding.c: Sync with r21-2-24.
1219 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
1221 * file-coding.c: Modify for UTF-2000.
1223 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1225 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1228 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1230 * mule-charset.c (split_builtin_char): Delete builtin support for
1231 `katakana-jisx0201'.
1232 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
1233 BMP area in builtin representation.
1235 * char-ucs.h (MAKE_CHAR): Delete builtin support for
1236 `Vcharset_katakana_jisx0201'.
1238 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1240 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
1241 (Qisolated): New variable.
1242 (Qinitial): New variable.
1243 (Qmedial): New variable.
1244 (Qfinal): New variable.
1245 (Qvertical): New variable.
1246 (Qsmall): New variable.
1247 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
1248 `Qvertical' and `Qsmall'.
1249 (Qmojikyo_pj_[1 .. 21]): New variable.
1250 (syms_of_mule_charset): Add new symbols `isolated', `initial',
1251 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
1252 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
1255 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1257 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
1258 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
1259 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
1261 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1263 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
1264 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
1266 (Qjapanese_jisx0208_1990): New variable.
1267 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
1268 (complex_vars_of_mule_charset): Add new coded-charset
1269 `japanese-jisx0208-1990'.
1271 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
1272 (MIN_CHAR_JIS_X0208_1990): New macro.
1273 (MAX_CHAR_JIS_X0208_1990): New macro.
1275 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1277 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
1278 coded-charset is not found.
1280 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1282 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
1283 (Fdefine_char): Use `Fmake_char'.
1285 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1287 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
1288 (Vcharset_hiragana_jisx0208): Deleted.
1289 (Vcharset_katakana_jisx0208): Deleted.
1290 (Qideograph_daikanwa): New variable.
1291 (Qhiragana_jisx0208): Deleted.
1292 (Qkatakana_jisx0208): Deleted.
1293 (split_builtin_char): Split `ideograph-daikanwa'.
1294 (Fsplit_char): New implementation for UTF-2000.
1295 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
1296 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
1297 (complex_vars_of_mule_charset): Add new coded-charset
1298 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
1299 `katakana-jisx0208'.
1301 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
1302 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
1303 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
1304 (MIN_CHAR_DAIKANWA): New macro.
1305 (MAX_CHAR_DAIKANWA): New macro.
1307 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1309 * data.c (Fstring_to_number): Don't recognize floating point if
1312 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1314 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
1316 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1318 * mule-charset.c (Qsquare): New variable.
1319 (to_char_code): Add `Qsquare'.
1320 (syms_of_mule_charset): Add new symbol `square'.
1322 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1324 * mule-charset.c (Qcircle): New variable.
1325 (to_char_code): Add `Qcircle'.
1326 (syms_of_mule_charset): Add new symbol `circle'.
1328 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1330 * mule-charset.c (Qfont): New variable.
1331 (to_char_code): Add `Qfont'.
1332 (syms_of_mule_charset): Add new symbol `font'.
1334 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1336 * mule-charset.c (Qsub): New variable.
1337 (to_char_code): Add `Qsub'.
1338 (syms_of_mule_charset): Add new symbol `sub'.
1340 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1342 * mule-charset.c (Fput_char_attribute): Convert each element of
1343 VALUE to GL position if ATTRIBUTE is a GR-set,
1345 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1347 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
1348 coded-charset is a GR-set.
1350 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1352 * mule-charset.c (Fput_char_attribute): Check each element of
1353 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
1355 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1357 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
1359 (Qethiopic_ucs): New variable in UTF-2000.
1360 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
1361 (complex_vars_of_mule_charset): Add new coded-charset
1362 `ethiopic-ucs' in UTF-2000.
1364 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
1365 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1367 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1369 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
1371 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1373 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
1376 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1378 * mule-charset.c (Vcharacter_variant_table): New variable.
1379 (Q_ucs): New variable.
1380 (Fchar_variants): New function.
1381 (Fput_char_attribute): Register `->ucs' value to
1382 `Vcharacter_variant_table'.
1383 (syms_of_mule_charset): Add new function `char-variants' and new
1385 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
1387 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1389 * mule-charset.c (get_char_code_table): Allow negative character
1391 (put_char_code_table): Likewise.
1392 (Vcharacter_composition_table): New variable.
1393 (Q_decomposition): New variable.
1394 (Qwide): New variable.
1395 (Qnarrow): New variable.
1396 (Qcompat): New variable.
1397 (QnoBreak): New variable.
1398 (Qsuper): New variable.
1399 (Qfraction): New variable.
1400 (to_char_code): New function.
1401 (Fget_composite_char): New function.
1402 (Fput_char_attribute): Register `->decomposition' value to
1403 `Vcharacter_composition_table'.
1404 (syms_of_mule_charset): Add new function `get-composite-char', new
1405 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
1406 `super' and `fraction'.
1407 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
1409 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1411 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
1412 character; copy the return value.
1414 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1416 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
1418 * mule-charset.c (range_charset_code_point): Must use make_int.
1419 (split_builtin_char): New function.
1421 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1423 * mule-charset.c (char_byte_table): Change name from
1424 "char-code-table" to "char-byte-table".
1425 (mark_char_code_table): New function.
1426 (char_code_table_equal): New function.
1427 (char_code_table_hash): New function.
1428 (char_code_table_description): New constant.
1429 (char_code_table): New type.
1430 (make_char_code_table): New function.
1431 (copy_char_code_table): New function.
1432 (get_char_code_table): Modify for `char_code_table' type.
1433 (put_char_code_table): Likewise.
1434 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
1437 * char-ucs.h (char_code_table): New type.
1438 (XCHAR_CODE_TABLE): New macro.
1439 (XSETCHAR_CODE_TABLE): New macro.
1440 (CHAR_CODE_TABLE_P): New macro.
1441 (GC_CHAR_CODE_TABLE_P): New macro.
1442 (struct Lisp_Char_Code_Table): New structure.
1444 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1446 * mule-charset.c (Fmake_charset): Setup byte_offset for
1449 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
1451 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
1454 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1456 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
1459 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1461 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
1462 charset, it is regarded as a charset.
1463 (put_char_attribute): New function in UTF-2000.
1464 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
1465 charset, mapping-table of the charset is modified.
1466 (Fdefine_char): New function in UTF-2000.
1467 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
1468 `Fput_char_attribute'.
1469 (syms_of_mule_charset): Add new function `define-char' and new
1470 symbol `ucs' in UTF-2000.
1471 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
1473 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1475 * mule-charset.c (Fcharset_name): Define `byte_offset' in
1476 non-UTF-2000 configuration.
1478 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1480 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
1481 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
1483 * mule-charset.c (mark_charset): `cs->encoding_table' has been
1485 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
1486 (Fset_charset_mapping_table): Likewise.
1488 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
1489 (CHARSET_ENCODING_TABLE): Delete.
1490 (XCHARSET_ENCODING_TABLE): Delete.
1491 (charset_code_point): New interface.
1493 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1495 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
1496 instead of `charset_get_byte1' and `charset_get_byte2'.
1498 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
1499 (charset_get_byte2): Deleted.
1501 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1503 * char-ucs.h (SPLIT_CHAR): New inline function.
1504 (breakup_char_1): Use `SPLIT_CHAR'.
1506 * mule-charset.c (range_charset_code_point): New function.
1507 (charset_code_point): New function.
1509 * char-ucs.h (range_charset_code_point): New interface.
1510 (breakup_char_1): Use `range_charset_code_point'.
1512 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1514 * mule-charset.c (Fmake_charset): Delete unused local variable
1517 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
1518 (breakup_char_1): Find a charset and code-point in
1519 `Vcharacter_attribute_table'.
1521 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1523 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1526 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1528 * mule-charset.c (Vcharacter_attribute_table): New variable.
1529 (Fchar_attribute_alist): New function.
1530 (Fget_char_attribute): New function.
1531 (Fput_char_attribute): New function.
1532 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
1534 (syms_of_mule_charset): Add new function `char-attribute-alist',
1535 `get-char-attribute' and `put-char-attribute'.
1536 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
1538 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
1540 * mule-charset.c (Fmake_charset): Just use
1541 `get_unallocated_leading_byte'.
1543 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
1544 sets; don't use final-byte based number for private sets.
1546 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1548 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
1551 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1553 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1556 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1558 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
1559 of `CHAR_LEADING_BYTE' in UTF-2000.
1561 * insdel.c (find_charsets_in_bufbyte_string): Use
1562 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1563 (find_charsets_in_emchar_string): Likewise.
1565 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
1566 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1568 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
1569 (CHAR_CHARSET_ID): New macro.
1571 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1573 * chartab.c (get_char_table): Don't use type `Charset_ID' for
1574 charset-id - MIN_LEADING_BYTE.
1575 (put_char_table): Likewise.
1577 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1579 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
1580 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
1581 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
1582 (CHARSET_ID_OFFSET): New macro.
1583 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
1584 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
1585 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
1586 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1588 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1590 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
1591 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
1592 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
1593 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
1594 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
1596 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1598 * mule-charset.c (next_allocated_leading_byte): New variable in
1600 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
1601 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
1602 (get_unallocated_leading_byte): Simply use
1603 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
1604 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
1607 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
1608 (MAX_LEADING_BYTE_PRIVATE): New macro.
1609 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
1610 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
1612 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1614 * mule-charset.c (Fmake_charset): Allocate final-byte based
1615 charset-id for 94-set, 96-set and 94x94-set.
1617 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1619 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
1621 (Fmake_charset): Likewise.
1622 (complex_vars_of_mule_charset): Modify the font registry of
1623 `ucs-bmp' not to match `Ethiopic-Unicode'.
1625 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1627 * mule-charset.c (complex_vars_of_mule_charset): Add font
1628 registory of `ucs-bmp'.
1630 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1632 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
1633 coded-charsets in `default-coded-charset-priority-list' when
1634 breaking up a character.
1636 * mule-charset.c (Vcharset_latin_viscii): New variable.
1637 (Qlatin_viscii): New variable.
1638 (make_charset): Don't use `decoding_table'.
1639 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
1641 (Fset_charset_mapping_table): New implementation.
1642 (syms_of_mule_charset): Add new symbol `latin-viscii'.
1643 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
1644 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
1645 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
1646 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
1647 charset `latin_viscii'.
1649 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
1650 (CHARSET_TYPE_94X94): Change to 1 from 2.
1651 (CHARSET_TYPE_96): Change to 2 from 1.
1652 (CHARSET_TYPE_128): New macro.
1653 (CHARSET_TYPE_128X128): Change to 5 from 4.
1654 (CHARSET_TYPE_256): New macro.
1655 (CHARSET_TYPE_256X256): Change to 7 from 5.
1656 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
1658 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1660 * text-coding.c (char_encode_shift_jis): Refer
1661 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
1662 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
1664 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
1665 (char_byte_table_equal): New function in UTF-2000.
1666 (char_byte_table_hash): New function in UTF-2000.
1667 (char_byte_table_description): New constant in UTF-2000.
1668 (char_byte_table): New type in UTF-2000.
1669 (make_char_byte_table): New function in UTF-2000.
1670 (copy_char_byte_table): New function in UTF-2000.
1671 (make_char_code_table): New macro in UTF-2000.
1672 (get_char_code_table): New function in UTF-2000.
1673 (put_char_code_table): New function in UTF-2000.
1674 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1675 (charset_description): Add setting in UTF-2000.
1676 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
1677 `CHARSET_TO_BYTE1_TABLE(cs)'.
1678 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
1679 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
1680 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
1681 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
1682 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
1683 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
1684 `CHARSET_TO_BYTE2_TABLE(cs)'.
1686 * char-ucs.h (char_byte_table): New type.
1687 (XCHAR_BYTE_TABLE): New macro.
1688 (XSETCHAR_BYTE_TABLE): New macro.
1689 (CHAR_BYTE_TABLE_P): New macro.
1690 (GC_CHAR_BYTE_TABLE_P): New macro.
1691 (struct Lisp_Char_Byte_Table): New structure.
1692 (get_char_code_table): New interface.
1693 (Emchar_to_byte_table): Deleted.
1694 (get_byte_from_character_table): Deleted.
1695 (struct Lisp_Charset): Add `encoding_table'; delete
1696 `to_byte1_table' and `to_byte2_table'.
1697 (CHARSET_ENCODING_TABLE): New macro.
1698 (CHARSET_TO_BYTE1_TABLE): Deleted.
1699 (CHARSET_TO_BYTE2_TABLE): Deleted.
1700 (XCHARSET_ENCODING_TABLE): New macro.
1701 (XCHARSET_TO_BYTE1_TABLE): Deleted.
1702 (XCHARSET_TO_BYTE2_TABLE): Deleted.
1704 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1706 * mule-charset.c (syms_of_mule_charset): Delete charset alias
1707 `vietnamese-viscii-*'.
1709 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1711 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
1712 (Qvietnamese_viscii_upper): New variable.
1713 (Fdefine_charset_alias): New function.
1714 (syms_of_mule_charset): Add new function `define-charset-alias'.
1715 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
1716 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
1719 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
1721 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
1722 (MAX_CHAR_OBS_94x94): New macro.
1723 (breakup_char_1): Support obsolete XEmacs-UCS private code space
1726 * mule-charset.c (put_byte_from_character_table): Change unit size
1728 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
1730 (Fmake_reverse_direction_charset): Modify dummy argument of
1731 `make_charset' for non-UTF-2000 environment.
1733 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1735 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
1737 * mule-charset.c (destroy_byte_from_character_table): New macro.
1738 (latin_jisx0201_to_ucs): Deleted.
1739 (latin_iso8859_2_to_ucs): Deleted.
1740 (latin_iso8859_3_to_ucs): Deleted.
1741 (latin_iso8859_4_to_ucs): Deleted.
1742 (latin_iso8859_9_to_ucs): Deleted.
1743 (latin_viscii_lower_to_ucs): Deleted.
1744 (latin_viscii_upper_to_ucs): Deleted.
1745 (mark_charset): Mark `cs->decoding_table'.
1746 (Fcharset_mapping_table): Fix DOC-string.
1747 (Fset_charset_mapping_table): New function.
1748 (syms_of_mule_charset): Add nwe function
1749 `set-charset-mapping-table'.
1750 (complex_vars_of_mule_charset): Don't setup and use
1753 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
1755 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
1758 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
1760 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
1761 (Vcharset_katakana_jisx0208): New variable.
1762 (Qhiragana_jisx0208): New variable.
1763 (Qkatakana_jisx0208): New variable.
1764 (make_charset): Add new argument `byte_offset'.
1765 (charset_get_byte1): Modify for new coded-charset definition; use
1766 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1767 `XCHARSET_BYTE_OFFSET'.
1768 (Fmake_charset): Modify for `make_charset'.
1769 (Fmake_reverse_direction_charset): Likewise.
1770 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
1771 `katakana-jisx0208'.
1772 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
1773 `.' in font registry of charset `katakana-jisx0201',
1774 `latin-jisx0201', `vietnamese-viscii-lower' and
1775 `vietnamese-viscii-upper'; modify DOC-string of charset
1776 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
1777 registry of charset `japanese-jisx0208' not to use font for JIS
1778 X0208:1990; add new charset `hiragana-jisx0208' and
1779 `katakana-jisx0208'.
1781 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
1782 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
1783 (struct Lisp_Charset): Add `byte_offset'.
1784 (CHARSET_BYTE_OFFSET): New macro.
1785 (XCHARSET_UCS_MIN): New macro.
1786 (XCHARSET_UCS_MAX): New macro.
1787 (XCHARSET_CODE_OFFSET): New macro.
1788 (XCHARSET_BYTE_OFFSET): New macro.
1789 (MIN_CHAR_HIRAGANA): New macro.
1790 (MAX_CHAR_HIRAGANA): New macro.
1791 (MIN_CHAR_KATAKANA): New macro.
1792 (MAX_CHAR_KATAKANA): New macro.
1793 (MAKE_CHAR): Modify for new coded-charset definition; use
1794 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1795 `XCHARSET_BYTE_OFFSET'.
1797 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1799 * mule-charset.c (CHAR96): Deleted.
1800 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
1802 (latin_iso8859_2_to_ucs): Likewise.
1803 (latin_iso8859_3_to_ucs): Likewise.
1804 (latin_iso8859_4_to_ucs): Likewise.
1805 (latin_iso8859_9_to_ucs): Likewise.
1806 (latin_viscii_lower_to_ucs): Likewise.
1807 (latin_viscii_upper_to_ucs): Likewise.
1808 (latin_tcvn5712_to_ucs): Commented out.
1809 (make_charset): Change type of argument `decoding_table' from
1810 <Emchar*> to <Lisp_Object> [vector of characters].
1811 (Fmake_charset): Modify for `make_charset'.
1812 (Fmake_reverse_direction_charset): Likewise.
1813 (Fcharset_mapping_table): New function in UTF-2000.
1814 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
1816 (complex_vars_of_mule_charset): Modify for type change of
1817 `*_to_ucs'; modify for `make_charset'.
1819 * char-ucs.h (struct Lisp_Charset): Change type of
1820 `decoding_table' from <Emchar*> to <Lisp_Object>.
1821 (MAKE_CHAR): Modify for new specification of `decoding_table'.
1823 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1825 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
1826 error with non-UTF-2000-Mule.
1828 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
1830 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
1832 (Vcharset_chinese_cns11643_4): Likewise.
1833 (Vcharset_chinese_cns11643_5): Likewise.
1834 (Vcharset_chinese_cns11643_6): Likewise.
1835 (Vcharset_chinese_cns11643_7): Likewise.
1836 (Qchinese_cns11643_3): Likewise.
1837 (Qchinese_cns11643_4): Likewise.
1838 (Qchinese_cns11643_5): Likewise.
1839 (Qchinese_cns11643_6): Likewise.
1840 (Qchinese_cns11643_7): Likewise.
1841 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
1842 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1843 and `chinese-cns11643-7' to lisp/mule/chinese.el.
1844 (complex_vars_of_mule_charset): Likewise.
1846 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1848 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
1850 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
1851 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
1853 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1855 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
1857 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
1858 (breakup_char_1): Likewise.
1860 * text-coding.c (char_encode_iso2022): Keep designated charsets if
1861 one of them includes the specified character.
1863 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1865 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
1867 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1869 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
1871 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1873 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
1874 definition for non-UTF-2000 Mule.
1875 (latin_iso8859_3_to_ucs): Likewise.
1876 (latin_iso8859_4_to_ucs): Likewise.
1877 (latin_iso8859_9_to_ucs): Likewise.
1878 (latin_jisx0201_to_ucs): Likewise.
1879 (MIN_CHAR_THAI): Likewise.
1880 (MAX_CHAR_THAI): Likewise.
1881 (MIN_CHAR_GREEK): Likewise.
1882 (MAX_CHAR_GREEK): Likewise.
1883 (MIN_CHAR_HEBREW): Likewise.
1884 (MAX_CHAR_HEBREW): Likewise.
1885 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
1886 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
1887 (MIN_CHAR_CYRILLIC): Likewise.
1888 (MAX_CHAR_CYRILLIC): Likewise.
1890 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1892 * char-ucs.h (breakup_char_1): Use
1893 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
1894 thai-tis620 and katakana-jisx0201 area.
1896 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1898 * char-ucs.h (breakup_char_1): Use
1899 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
1902 * text-coding.c (reset_encoding_stream): Fixed.
1903 (char_encode_ucs4): Delete `& 255'.
1905 * char-ucs.h (breakup_char_1): Use
1906 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
1908 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1910 * file-coding.c (Fmake_coding_system): Don't set up
1911 `codesys->fixed.size'.
1912 (encode_coding_no_conversion): Don't refer
1913 `str->codesys->fixed.size'.
1915 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1917 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
1918 (latin_a_char_to_byte1): Deleted.
1919 (latin_a_char_to_byte2): Deleted.
1921 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1923 * mule-charset.c (make_charset): Add new argument `ucs_min',
1924 `ucs_max' and `code_offset'.
1925 (charset_get_byte1): New implementation [delete specific charset
1926 depended implementations].
1927 (Fmake_charset): Modify for `make_charset'.
1928 (Fmake_reverse_direction_charset): Likewise.
1929 (complex_vars_of_mule_charset): Likewise.
1931 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
1933 (CHARSET_UCS_MIN): New macro.
1934 (CHARSET_UCS_MAX): New macro.
1935 (CHARSET_CODE_OFFSET): New macro.
1936 (MAKE_CHAR): Delete charset depended definitions [except
1939 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1941 * char-ucs.h (breakup_char_1): Use
1942 `Vdefault_coded_charset_priority_list' for C0-Controls,
1943 Basic-Latin, C1-Controls and Latin-1-Supplement area.
1945 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1947 * char-ucs.h (charset_get_byte1): New function.
1948 (XCHARSET_GET_BYTE1): Deleted.
1949 (charset_get_byte2): New function.
1950 (XCHARSET_GET_BYTE2): Deleted.
1951 (Vdefault_coded_charset_priority_list): New external variable.
1952 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
1953 `Vdefault_preferred_coded_charset_list'.
1955 * mule-charset.c (charset_get_byte1): New function.
1956 (charset_get_byte2): New function.
1957 (Vdefault_coded_charset_priority_list): New variable.
1958 (vars_of_mule_charset): Add new variable
1959 `default-coded-charset-priority-list'.
1961 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1963 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
1964 (XCHARSET_GET_BYTE2): New inline function.
1965 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
1966 `XCHARSET_GET_BYTE2'.
1968 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1970 * mule-charset.c (make_charset): Initialize
1971 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
1972 NULL if table is not defined.
1974 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1976 * text-coding.c (char_encode_shift_jis): Use
1977 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
1978 `ucs_to_latin_jisx0201'.
1980 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
1981 (ucs_to_latin_iso8859_2): Deleted.
1982 (ucs_to_latin_iso8859_3): Deleted.
1983 (ucs_to_latin_iso8859_4): Deleted.
1984 (ucs_to_latin_iso8859_9): Deleted.
1985 (ucs_to_latin_viscii_lower): Deleted.
1986 (ucs_to_latin_viscii_upper): Deleted.
1987 (ucs_to_latin_tcvn5712): Deleted.
1988 (make_charset): Add new argument `decoding_table'; set up
1989 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
1990 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
1991 `decoding_table' is defined in UTF-2000.
1992 (Fmake_charset): Modify for `make_charset'.
1993 (Fmake_reverse_direction_charset): Likewise.
1994 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
1995 and `GENERATE_96_SET'.
1997 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
1998 (ucs_to_latin_jisx0201): Deleted.
1999 (latin_iso8859_2_to_ucs): Deleted.
2000 (ucs_to_latin_iso8859_2): Deleted.
2001 (latin_iso8859_3_to_ucs): Deleted.
2002 (ucs_to_latin_iso8859_3): Deleted.
2003 (latin_iso8859_4_to_ucs): Deleted.
2004 (ucs_to_latin_iso8859_4): Deleted.
2005 (latin_iso8859_9_to_ucs): Deleted.
2006 (ucs_to_latin_iso8859_9): Deleted.
2007 (latin_viscii_lower_to_ucs): Deleted.
2008 (ucs_to_latin_viscii_lower): Deleted.
2009 (latin_viscii_upper_to_ucs): Deleted.
2010 (ucs_to_latin_viscii_upper): Deleted.
2011 (struct Lisp_Charset): Renamed `encoding_table' to
2012 `to_byte1_table'; add `to_byte2_table'.
2013 (CHARSET_DECODING_TABLE): New macro.
2014 (CHARSET_TO_BYTE1_TABLE): New macro.
2015 (CHARSET_TO_BYTE2_TABLE): New macro.
2016 (XCHARSET_DECODING_TABLE): New macro.
2017 (XCHARSET_TO_BYTE1_TABLE): New macro.
2018 (XCHARSET_TO_BYTE2_TABLE): New macro.
2019 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
2021 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
2022 don't use `ucs_to_*' tables.
2024 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2026 * text-coding.c (Fmake_coding_system): Don't set up
2027 `codesys->fixed.size'.
2028 (encode_coding_no_conversion): Use `if' instead of `switch'.
2030 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
2032 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2034 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
2035 (Fmake_charset): Modify for `make_charset'.
2036 (Fmake_reverse_direction_charset): Likewise.
2037 (complex_vars_of_mule_charset): Likewise.
2039 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2041 * text-coding.c (char_encode_shift_jis): Use table
2042 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
2044 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2046 * text-coding.c (text_encode_generic): Use `if' instead of
2048 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
2051 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2053 * text-coding.c (encode_coding_sjis): Deleted.
2054 (char_encode_shift_jis): New function.
2055 (char_finish_shift_jis): New function.
2056 (reset_encoding_stream): Set up `encode_char' and `finish' for
2057 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
2058 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
2059 (char_encode_utf8): Treat `eol_type'.
2061 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2063 * file-coding.c (decode_coding_iso2022): Use
2064 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
2066 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2068 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2071 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2073 * char-lb.h (CHAR_COLUMNS): New macro.
2075 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2077 * text-coding.c (char_encode_ucs4): New function.
2078 (char_finish_ucs4): New function.
2079 (encode_coding_ucs4): Deleted.
2080 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
2081 (text_encode_generic): Delete local variable `charset' and `half'.
2082 (ucs_to_mule_table): Deleted.
2083 (mule_to_ucs_table): Deleted.
2084 (Fset_ucs_char): Deleted.
2085 (ucs_to_char): Deleted.
2086 (Fucs_char): Deleted.
2087 (Fset_char_ucs): Deleted.
2088 (Fchar_ucs): Deleted.
2089 (decode_ucs4): Deleted.
2090 (mule_char_to_ucs4): Deleted.
2091 (encode_ucs4): Deleted.
2092 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
2093 (decode_coding_utf8): Likewise.
2094 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
2095 (char_encode_iso2022): Fixed.
2096 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
2097 `Fset_char_ucs' and `Fchar_ucs'.
2098 (complex_vars_of_file_coding): Don't initialize
2099 `ucs_to_mule_table'.
2101 * objects-tty.c (tty_initialize_font_instance): Don't use
2104 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
2107 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
2108 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2110 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
2111 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2112 (emchar_string_displayed_columns): Likewise.
2114 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
2115 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2116 (string_column_at_point): Likewise.
2117 (Fmove_to_column): Likewise.
2119 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
2120 `encoding_table' and `decoding_table'.
2121 (CHARSET_REP_BYTES): Deleted.
2122 (XCHARSET_REP_BYTES): Deleted.
2123 (XCHARSET_COLUMNS): Deleted.
2124 (CHAR_COLUMNS): New macro.
2125 (lookup_composite_char): Deleted unconditionally.
2126 (composite_char_string): Likewise.
2128 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2130 * char-ucs.h (Emchar_to_byte_table): New type.
2131 (get_byte_from_character_table): New function interface.
2132 (Vcharset_latin_jisx0201): New variable.
2133 (latin_jisx0201_to_ucs): New variable.
2134 (ucs_to_latin_jisx0201): New variable.
2135 (Vcharset_latin_iso8859_2): New variable.
2136 (latin_iso8859_2_to_ucs): New variable.
2137 (ucs_to_latin_iso8859_2): New variable.
2138 (Vcharset_latin_iso8859_3): New variable.
2139 (latin_iso8859_3_to_ucs): New variable.
2140 (ucs_to_latin_iso8859_3): New variable.
2141 (Vcharset_latin_iso8859_4): New variable.
2142 (latin_iso8859_4_to_ucs): New variable.
2143 (ucs_to_latin_iso8859_4): New variable.
2144 (Vcharset_latin_iso8859_9): New variable.
2145 (latin_iso8859_9_to_ucs): New variable.
2146 (ucs_to_latin_iso8859_9): New variable.
2147 (Vcharset_latin_viscii_lower): New variable.
2148 (latin_viscii_lower_to_ucs): New variable.
2149 (ucs_to_latin_viscii_lower): New variable.
2150 (Vcharset_latin_viscii_upper): New variable.
2151 (latin_viscii_upper_to_ucs): New variable.
2152 (ucs_to_latin_viscii_upper): New variable.
2153 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
2154 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
2155 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
2156 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
2157 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
2158 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
2159 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
2160 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
2161 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
2162 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
2164 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
2165 (Vcharset_latin_viscii_upper): New variable.
2166 (make_byte_from_character_table): New function.
2167 (put_byte_from_character_table): New function.
2168 (get_byte_from_character_table): New function.
2169 (CHAR96): New macro.
2170 (ucs_to_latin_jisx0201): New variable.
2171 (latin_jisx0201_to_ucs): New variable.
2172 (ucs_to_latin_iso8859_2): New variable.
2173 (latin_iso8859_2_to_ucs): New variable.
2174 (ucs_to_latin_iso8859_3): New variable.
2175 (latin_iso8859_3_to_ucs): New variable.
2176 (ucs_to_latin_iso8859_4): New variable.
2177 (latin_iso8859_4_to_ucs): New variable.
2178 (ucs_to_latin_iso8859_9): New variable.
2179 (latin_iso8859_9_to_ucs): New variable.
2180 (ucs_to_latin_viscii_lower): New variable.
2181 (latin_viscii_lower_to_ucs): New variable.
2182 (ucs_to_latin_viscii_upper): New variable.
2183 (latin_viscii_upper_to_ucs): New variable.
2184 (ucs_to_latin_tcvn5712): New variable.
2185 (latin_tcvn5712_to_ucs): New variable.
2186 (Qlatin_viscii_lower): New variable.
2187 (Qlatin_viscii_upper): New variable.
2188 (syms_of_mule_charset): Set up new symbol
2189 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
2190 (complex_vars_of_mule_charset): Set up new charset
2191 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
2192 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
2193 `ucs_to_<CHARSET>' tables.
2195 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2197 * text-coding.c: New file.
2199 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2201 * mule-charset.c (Fmake_char): Fix problem of 256-set.
2203 * char-ucs.h (Vcharset_ucs_bmp): New variable.
2204 (MAKE_CHAR): Modify for `ucs-bmp'.
2205 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
2206 non-MULE characters of BMP.
2208 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
2210 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2213 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
2216 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
2217 - Include character.h for `CHAR_ASCII_P'.
2219 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
2221 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
2222 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
2224 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
2225 (BYTE_C0_P): Likewise.
2226 (BYTE_C1_P): Likewise.
2227 (Lstream_get_emchar_1): Likewise.
2228 (Lstream_fput_emchar): Likewise.
2229 (Lstream_funget_emchar): Likewise.
2230 (copy_internal_to_external): Likewise.
2231 (copy_external_to_internal): Likewise.
2233 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
2234 (BYTE_C0_P): Likewise.
2235 (BYTE_C1_P): Likewise.
2236 (Lstream_get_emchar_1): Likewise.
2237 (Lstream_fput_emchar): Likewise.
2238 (Lstream_funget_emchar): Likewise.
2239 (copy_internal_to_external): Likewise.
2240 (copy_external_to_internal): Likewise.
2242 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
2243 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2245 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
2246 (BYTE_ASCII_P): Moved to mb-1byte.h.
2248 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
2250 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
2252 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
2253 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
2254 (VALID_CHARPTR_P): Moved to mb-*byte.h.
2255 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2256 (VALIDATE_CHARPTR_FORWARD): Likewise.
2257 (simple_charptr_emchar): Moved to mb-multibyte.h.
2258 (simple_set_charptr_emchar): Likewise.
2259 (simple_charptr_copy_char): Likewise.
2260 (non_ascii_charptr_emchar): Likewise.
2261 (non_ascii_set_charptr_emchar): Likewise.
2262 (non_ascii_charptr_copy_char): Likewise.
2263 (charptr_emchar): Moved to mb-*byte.h.
2264 (set_charptr_emchar): Likewise.
2265 (charptr_copy_char): Likewise.
2267 * mb-1byte.h, mb-multibyte.h: New files.
2269 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2271 * mb-utf-8.h (MULTIBYTE): New macro.
2272 (MAX_EMCHAR_LEN): Moved from buffer.h.
2273 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
2275 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
2277 * mb-lb.h, multibyte.h: New files.
2279 * char-1byte.h (Charset_ID): Moved from buffer.h.
2280 (MIN_LEADING_BYTE): Likewise.
2281 (LEADING_BYTE_ASCII): Likewise.
2282 (NUM_LEADING_BYTES): Likewise.
2283 (CHARSETP): Likewise.
2284 (CHARSET_BY_LEADING_BYTE): Likewise.
2285 (XCHARSET_LEADING_BYTE): Likewise.
2286 (XCHARSET_GRAPHIC): Likewise.
2287 (XCHARSET_COLUMNS): Likewise.
2288 (XCHARSET_DIMENSION): Likewise.
2289 (CHAR_CHARSET): Likewise.
2290 (CHAR_LEADING_BYTE): Likewise.
2291 (BREAKUP_CHAR): Likewise.
2292 (Vcharset_ascii): Likewise.
2294 * buffer.h: Include multibyte.h unconditionally.
2295 (VALID_CHARPTR_P): Moved to multibyte.h.
2296 (ASSERT_VALID_CHARPTR): Likewise.
2297 (REAL_INC_CHARPTR): Likewise.
2298 (REAL_INC_CHARBYTIND): Likewise.
2299 (REAL_DEC_CHARPTR): Likewise.
2300 (INC_CHARPTR): Likewise.
2301 (INC_CHARBYTIND): Likewise.
2302 (DEC_CHARPTR): Likewise.
2303 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2304 (VALIDATE_CHARPTR_FORWARD): Likewise.
2305 (charptr_n_addr): Likewise.
2306 (MAX_EMCHAR_LEN): Moved to mb-*.h.
2307 (simple_charptr_emchar): Moved to multibyte.h.
2308 (simple_set_charptr_emchar): Likewise.
2309 (simple_charptr_copy_char): Likewise.
2310 (non_ascii_charptr_emchar): Likewise.
2311 (non_ascii_set_charptr_emchar): Likewise.
2312 (non_ascii_charptr_copy_char): Likewise.
2313 (charptr_emchar): Likewise.
2314 (set_charptr_emchar): Likewise.
2315 (charptr_copy_char): Likewise.
2316 (charptr_emchar_n): Likewise.
2317 (Charset_ID): Moved to char-1byte.h.
2318 (Vcharset_ascii): Likewise.
2319 (CHAR_CHARSET): Likewise.
2320 (CHAR_LEADING_BYTE): Likewise.
2321 (LEADING_BYTE_ASCII): Likewise.
2322 (NUM_LEADING_BYTES): Likewise.
2323 (MIN_LEADING_BYTE): Likewise.
2324 (CHARSETP): Likewise.
2325 (CHARSET_BY_LEADING_BYTE): Likewise.
2326 (XCHARSET_LEADING_BYTE): Likewise.
2327 (XCHARSET_GRAPHIC): Likewise.
2328 (XCHARSET_COLUMNS): Likewise.
2329 (XCHARSET_DIMENSION): Likewise.
2330 (BREAKUP_CHAR): Likewise.
2332 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2334 * character.h: Add document about interface for characters.
2336 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
2337 (MAKE_CHAR): Delete comment about
2338 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
2339 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
2340 (BREAKUP_CHAR): Modify name of arguments.
2341 (CHAR_CHARSET): Modify name of argument.
2343 * buffer.h: Delete document about Emchar accessors.
2345 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2347 * character.h (CHAR_INTP): Moved from buffer.h
2348 (CHAR_OR_CHAR_INTP): Likewise.
2349 (XCHAR_OR_CHAR_INT): Likewise.
2350 (CHECK_CHAR_COERCE_INT): Likewise.
2352 * buffer.h (CHAR_INTP): Moved to character.h
2353 (CHAR_OR_CHAR_INTP): Likewise.
2354 (XCHAR_OR_CHAR_INT): Likewise.
2355 (CHECK_CHAR_COERCE_INT): Likewise.
2357 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2360 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
2361 - Include char-1byte.h, char-lb.h or char-ucs.h.
2363 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
2365 * buffer.h: Include character unconditionally.
2366 (valid_char_p): Moved to char-*.h.
2367 (non_ascii_valid_char_p): Moved to char-lb.h.
2369 * char-1byte.h, char-lb.h, char-ucs.h: New files.
2371 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2373 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
2374 in UTF-2000 because it is not ported yet and not to use
2375 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
2376 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
2377 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
2379 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
2380 (CHAR_ASCII_P): Moved from character.h.
2382 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
2383 (CHAR_ASCII_P): Likewise.
2384 (CHAR_FIELD1_MASK): Deleted.
2385 (CHAR_FIELD2_MASK): Deleted.
2386 (CHAR_FIELD3_MASK): Deleted.
2387 (MAX_CHAR_BASIC_LATIN): New macro.
2388 (CHAR_FIELD1): Deleted.
2389 (CHAR_FIELD2_INTERNAL): Deleted.
2390 (CHAR_FIELD3_INTERNAL): Deleted.
2391 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
2392 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
2393 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
2394 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
2395 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
2396 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
2397 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
2398 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
2399 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
2400 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
2401 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
2402 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
2403 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
2404 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
2405 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
2406 (MIN_CHAR_COMPOSITION): Deleted.
2407 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
2408 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
2410 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
2412 * buffer.h: Include mb-utf-8.h in UTF-2000.
2414 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
2416 * mb-utf-8.h: New file.
2418 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
2420 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
2423 * mule-charset.h, buffer.h (Charset_ID): New type.
2425 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2427 * mule-canna.c (c2mu): Use `MAKE_CHAR',
2428 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
2429 instead of `MULE_CHAR_PRIVATE_OFFSET',
2430 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
2431 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
2432 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
2434 * character.h (Vcharset_japanese_jisx0212): New variable
2437 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2439 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
2440 (charset_by_attributes): Delete array about direction.
2441 (latin_a_char_to_charset): New variable in UTF-2000.
2442 (latin_a_char_to_byte1): New variable in UTF-2000.
2443 (latin_a_char_to_byte2): New variable in UTF-2000.
2444 (Qucs_bmp): New variable.
2445 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
2447 (next_allocated_2_byte_leading_byte): Likewise.
2448 (non_ascii_set_charptr_emchar): Likewise.
2449 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
2450 `CHARSET_TYPE_256X256' in UTF-2000; modify for
2451 `charset_by_attributes'.
2452 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
2453 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
2454 and `CHARSET_BY_LEADING_BYTE'.
2455 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
2456 `utf-2000-version' to `vars_of_mule_charset'.
2457 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
2458 define `leading-code-private-11' in UTF-2000; move setting of
2459 `utf-2000-version' from `syms_of_mule_charset'.
2460 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
2463 * character.h (Charset_ID): New type.
2464 (LEADING_BYTE_UCS_BMP): New macro.
2465 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
2466 (CHARSET_ID_OFFSET_94): New macro.
2467 (MIN_CHARSET_ID_PRIVATE_94): New macro.
2468 (MAX_CHARSET_ID_PRIVATE_94): New macro.
2469 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
2471 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
2472 (LEADING_BYTE_LATIN_JISX0201): Likewise.
2473 (CHARSET_ID_OFFSET_96): New macro.
2474 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
2475 CHARSET_ID_OFFSET_96 and final-byte.
2476 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
2477 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
2478 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
2479 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
2480 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
2481 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
2482 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
2483 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
2484 (LEADING_BYTE_THAI_TIS620): Likewise.
2485 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
2486 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
2487 (CHARSET_ID_OFFSET_94x94): New macro.
2488 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
2489 CHARSET_ID_OFFSET_94x94 and final-byte.
2490 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
2491 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
2492 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
2493 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
2494 (LEADING_BYTE_CHINESE_GB2312): Likewise.
2495 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
2496 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
2497 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
2498 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
2499 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
2500 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
2501 (CHARSET_TYPE_128X128): New macro.
2502 (CHARSET_TYPE_256X256): New macro.
2503 (XCHARSET_PRIVATE_P): Delete unconditionally.
2504 (charset_by_attributes): Delete array about direction.
2505 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
2506 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
2507 (MIN_CHAR_94): New macro.
2508 (MAX_CHAR_94): New macro.
2509 (MIN_CHAR_96): New macro.
2510 (MAX_CHAR_96): New macro.
2511 (MIN_CHAR_94x94): New macro.
2512 (MAX_CHAR_94x94): New macro.
2513 (MIN_CHAR_96x96): New macro.
2514 (MAX_CHAR_96x96): New macro.
2515 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
2516 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2517 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
2519 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
2520 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
2521 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
2522 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
2523 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
2524 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
2525 `XCHARSET_LEADING_BYTE' to make code-point.
2526 (latin_a_char_to_charset): New variable.
2527 (latin_a_char_to_byte1): New variable.
2528 (latin_a_char_to_byte2): New variable.
2529 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
2530 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
2531 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
2533 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
2534 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
2535 (find_charsets_in_emchar_string): Likewise.
2536 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
2538 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
2540 (decode_coding_iso2022): Likewise.
2542 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
2545 * redisplay.c (redisplay_text_width_emchar_string): Use
2546 `Charset_ID' instead of `unsigned char'.
2547 (redisplay_frame_text_width_string): Likewise.
2549 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
2552 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
2553 instead of `unsigned char'.
2554 (face_cachel_charset_font_metric_info): Likewise.
2556 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
2557 (get_non_ascii_char_table_value): Likewise.
2558 (get_char_table): Likewise.
2559 (put_char_table): Likewise.
2560 (map_over_other_charset): Likewise.
2561 (map_char_table): Likewise.
2563 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
2564 instead of `unsigned char'.
2566 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
2568 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
2569 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
2571 * mule-charset.c (leading_code_private_11): Don't define in
2574 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
2575 in UTF-2000 because it is not ported yet and not to use
2576 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
2578 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
2580 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
2582 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2584 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
2587 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
2588 of unsigned char to store leading-byte.
2590 * chartab.c (get_non_ascii_char_table_value): Don't use
2591 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
2593 * file-coding.c (encode_coding_big5): Delete bogus implementation
2596 * character.h (LEADING_BYTE_*): Delete definition for
2598 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
2599 (LEADING_BYTE_PREFIX_P): Deleted.
2600 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
2601 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
2602 (BUFBYTE_LEADING_BYTE_P): Deleted.
2603 (CHARSET_PRIVATE_P): Deleted unconditionally.
2604 (rep_bytes_by_first_byte): Deleted unconditionally.
2605 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
2606 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
2607 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2608 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
2609 (CHAR_FIELD2): Deleted.
2610 (CHAR_FIELD3): Deleted.
2611 (MAKE_CHAR): Delete definition for non-UTF-2000.
2612 (BREAKUP_CHAR_1_UNSAFE): Deleted.
2613 (breakup_char_1): New implementation.
2614 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
2615 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
2617 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2619 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
2622 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2624 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
2625 (CHARSET_PRIVATE_P): Likewise.
2626 (XCHARSET_PRIVATE_P): Likewise.
2627 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
2629 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
2631 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
2633 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2635 * character.h (LEADING_BYTE_*): Changed in UTF2000.
2636 (NUM_LEADING_BYTES): Changed from 128 to 256.
2637 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2638 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
2640 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2642 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
2644 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
2645 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
2646 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
2647 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
2648 (Qchinese_cns11643_3): New variable in UTF2000.
2649 (Qchinese_cns11643_4): New variable in UTF2000.
2650 (Qchinese_cns11643_5): New variable in UTF2000.
2651 (Qchinese_cns11643_6): New variable in UTF2000.
2652 (Qchinese_cns11643_7): New variable in UTF2000.
2653 (syms_of_mule_charset): Define `chinese-cns11643-3',
2654 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2655 and `chinese-cns11643-7' in UTF2000.
2656 (vars_of_mule_charset): Initialize
2657 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
2659 (complex_vars_of_mule_charset): Setup charset
2660 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
2661 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
2663 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2665 * mule-charset.c: Move setting for `leading-code-private-11' from
2666 `syms_of_mule_charset' to `vars_of_mule_charset'.
2668 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2670 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
2671 and `NUM_LEADING_BYTES' in assert.
2673 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2675 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
2677 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
2678 `NUM_LEADING_BYTES' instead of 128.
2680 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2682 * mule-charset.h (charset_by_leading_byte): Use
2683 `NUM_LEADING_BYTES' instead of 128.
2684 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
2686 * mule-charset.c (charset_by_leading_byte): Use
2687 `NUM_LEADING_BYTES' instead of 128.
2688 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
2690 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
2693 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2695 * mule-charset.c (syms_of_mule_charset): Update to
2698 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
2700 * file-coding.c (encode_coding_sjis): New implementation for
2701 UTF2000. (decode_coding_sjis): Ditto.
2703 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2705 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
2706 Don't define in UTF2000.
2708 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
2711 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2712 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
2715 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2717 * config.h.in (CHAR_IS_UCS4): New macro.
2719 * mule-charset.c (rep_bytes_by_first_byte): Modify for
2720 conventional MULE representation.
2721 (syms_of_mule_charset): Update to 0.3 (Imamiya).
2723 * mule-charset.h: Reverted to original.
2725 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2726 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
2727 "mule-charset.h" if CHAR_IS_UCS4 is defined.
2729 * character.h: New file.
2731 * file-coding.c (Fmake_coding_system): Set 1 to
2732 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
2734 (encode_coding_no_conversion): New implementation for UTF2000.
2736 * file-coding.h (struct Lisp_Coding_System): Add new member
2739 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2741 * file-coding.c (decode_coding_iso2022): Code-point arguments of
2742 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
2743 (encode_coding_iso2022): New implementation for UTF2000.
2745 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2747 * mule-canna.c (c2mu): New implementation for UTF2000.
2750 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2752 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
2754 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2756 * file-coding.c (reset_encoding_stream): Set 0 to
2757 `str->iso2022.current_char_boundary' in UTF2000.
2758 (encode_utf8): Don't define in UTF2000.
2759 (encode_coding_utf8): New implementation for UTF-8 representation
2761 (complex_vars_of_file_coding): Define coding-system `utf-8'.
2763 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2765 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
2767 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
2769 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2771 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
2773 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
2774 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
2775 as UTF-8 in UTF2000.
2776 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
2777 (non_ascii_valid_char_p): Don't define in UTF2000.
2778 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
2779 (Lstream_get_emchar_1): Likewise.
2780 (utf-2000-version): New variable in UTF2000.
2782 * lread.c (read_escape): Add new reader `u'.
2784 * insdel.c (three_to_one_table): Don't define in UTF2000.
2785 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
2786 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2788 (bytind_to_bufpos_func): Likewise.
2789 (buffer_mule_signal_inserted_region): Likewise.
2790 (vars_of_insdel): Don't initialize `three_to_one_table'.
2791 (init_buffer_text): Use `buf->text->mule_size' instead of
2792 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2795 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
2796 UTF-8 representation in UTF2000.
2797 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
2798 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
2799 (decode_coding_iso2022): Don't define local variable `lb' in
2800 UTF2000; don't use LEADING_BYTE in UTF2000; use
2801 `DECODE_ADD_UCS_CHAR' in UTF2000.
2802 (convert_to_external_format): Decode as UTF-8 in UTF2000.
2804 * config.h.in (UTF2000): New macro.
2806 * buffer.h (struct buffer_text): Add new member `mule_size' and
2807 don't add `mule_shifter' and `mule_three_p' in UTF2000.
2808 (valid_char_p): Return always 1 in UTF2000.
2809 (MAX_EMCHAR_LEN): 6 in UTF2000.
2810 (three_to_one_table): Don't define in UTF2000.
2811 (real_bufpos_to_bytind): Modify for UTF-8 representation in
2813 (real_bytind_to_bufpos): Likewise.
2815 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
2817 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2819 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
2820 representation change.
2821 (Vutf_2000_version): New variable.
2822 (leading_code_private_11): New variable.
2823 (syms_of_mule_charset): Add new variables `utf-2000-version' and
2824 `leading-code-private-11'.
2826 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
2827 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
2828 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
2829 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
2830 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
2831 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
2832 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
2833 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
2834 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
2835 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
2836 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
2837 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
2838 (MIN_CHAR_GREEK): New macro.
2839 (MAX_CHAR_GREEK): New macro.
2840 (MIN_CHAR_CYRILLIC): New macro.
2841 (MAX_CHAR_CYRILLIC): New macro.
2842 (MIN_CHAR_HEBREW): New macro.
2843 (MAX_CHAR_HEBREW): New macro.
2844 (MIN_CHAR_THAI): New macro.
2845 (MAX_CHAR_THAI): New macro.
2846 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
2847 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
2848 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
2849 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
2850 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
2851 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
2852 (CHAR_FIELD2): New inline function.
2853 (CHAR_FIELD3): New inline function.
2854 (MULE_CHAR_PRIVATE_OFFSET): New macro.
2855 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
2856 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
2857 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
2858 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
2859 (MIN_CHAR_COMPOSITION): Likewise.
2860 (CHAR_LEADING_BYTE): Modified for character representation change.
2861 (MAKE_CHAR): Likewise.
2863 * lisp.h (Vcharset_latin_iso8859_1): New variable.
2864 (Vcharset_greek_iso8859_7): Likewise.
2865 (Vcharset_cyrillic_iso8859_5): Likewise.
2866 (Vcharset_hebrew_iso8859_8): Likewise.
2867 (Vcharset_thai_tis620): Likewise.
2868 (Vcharset_katakana_jisx0201): Likewise.
2870 2001-01-08 Martin Buchholz <martin@xemacs.org>
2872 * XEmacs 21.2.40 is released.
2874 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
2876 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
2878 2001-01-06 Martin Buchholz <martin@xemacs.org>
2880 * alloc.c (dbg_valmask): Make const.
2881 * alloc.c (dbg_typemask): Make const.
2882 * alloc.c (dbg_USE_UNION_TYPE): Make const.
2883 * alloc.c (dbg_valbits): Make const.
2884 * alloc.c (dbg_gctypebits): Make const.
2886 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
2888 * redisplay-x.c (x_bevel_area):
2889 redisplay.h (struct rune):
2890 Typo fixes in comments.
2892 2001-01-05 Andy Piper <andy@xemacs.org>
2894 * glyphs-x.c (x_redisplay_widget): use size changed for offset
2897 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
2899 2001-01-05 Martin Buchholz <martin@xemacs.org>
2901 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
2903 * mule-ccl.c (stack_idx_of_map_multiple):
2904 Non const global data must not be initialized!
2905 Found by MIYASHITA Hisashi.
2907 2001-01-02 Andy Piper <andy@xemacs.org>
2909 * frame.c (change_frame_size): make sure frame size is always
2912 * glyphs.c (image_instance_layout): minor code reuse.
2914 * window.c (Fcurrent_window_configuration): revert previous
2917 2001-01-02 Martin Buchholz <martin@xemacs.org>
2920 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
2922 2000-12-31 Andy Piper <andy@xemacs.org>
2924 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
2925 when widget gets unmapped.
2927 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
2928 function. Make sure widgets losing focus don't just drop it.
2929 (handle_focus_event_1): record the widget with focus.
2931 2000-12-31 Andy Piper <andy@xemacs.org>
2933 * window.c (allocate_window): use
2934 make_image_instance_cache_hash_table.
2935 (make_dummy_parent): ditto.
2936 (Fset_window_configuration): ditto.
2938 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
2940 * glyphs.c (process_image_string_instantiator): use
2942 (get_image_instantiator_governing_domain): ditto.
2943 (normalize_image_instantiator): ditto.
2944 (instantiate_image_instantiator): ditto.
2945 (make_image_instance_1): ditto.
2946 (image_instantiate): ditto. Key on glyph *and* instantiator type.
2947 (instantiator_eq_equal): new function for use with instance hash
2949 (instantiator_eq_hash): ditto.
2950 (make_image_instance_cache_hash_table): create a suitable hash
2951 table for storing image instances.
2953 * elhash.h (hash_table_weakness): new internal weakness type
2954 HASH_TABLE_KEY_CAR_VALUE_WEAK.
2955 declare new functions.
2957 * elhash.c (finish_marking_weak_hash_tables): introduce yet
2958 another weakness type for glyphs.
2959 (make_standard_lisp_hash_table): new function split out from
2960 make_general_lisp_hash_table.
2961 (make_lisp_hash_table): call make_standard_lisp_hash_table.
2962 (hash_table_instantiate): ditto.
2963 (Fmake_hash_table): ditto.
2965 2000-12-31 Martin Buchholz <martin@xemacs.org>
2967 * XEmacs 21.2.39 is released.
2969 2000-12-29 Andy Piper <andy@xemacs.org>
2971 * menubar.c (menubar_visible_p_changed): signal the frame changed.
2973 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
2974 the frame has changed so that we pick up geometry changes such as
2977 2000-12-28 Andy Piper <andy@xemacs.org>
2979 * lastfile.c (my_ebss): make a char array so we can pad the
2980 bss. Fixes cygwin unexec.
2982 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
2984 2000-12-26 Andy Piper <andy@xemacs.org>
2986 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
2987 comments and try and be more precise about a non-/SIGIO world.
2988 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
2991 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
2992 we don't normalize to zero width or height.
2994 2000-12-24 Andy Piper <andy@xemacs.org>
2996 * Makefile.in.in (ldflags): add -mwindows when appropriate.
2998 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
3000 * s/sco5.h: SCO 5 has pty support.
3002 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
3004 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
3005 input-method-xlib.c contains whole contents of input-method-xfs.c,
3006 so we can use input-method-xlib.c's code for USE_XFONTSET
3008 * input-method-xfs.c: removed.
3010 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
3012 * file-coding.h (enum coding_category_type): reorder enumerators to
3013 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
3014 (now one greater than largest real coding_category_type enumerator).
3015 * file-coding.c (coding_category_symbol, coding_category_by_priority,
3016 coding_category_system, fcd_descriptihon_1, decode_coding_category,
3017 Fcoding_category_list, Fset_coding_priority_list,
3018 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
3019 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
3021 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3023 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
3024 * redisplay-output.c (redisplay_output_window): Clear top of window
3025 when face is changed.
3026 * redisplay-x.c (x_redraw_exposed_window): Call
3027 redisplay_clear_top_of_window.
3028 * redisplay.h: Publish redisplay_clear_top_of_window.
3030 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3032 * buffer.c (Fkill_buffer): Map over all devices.
3033 * window.c (window_loop): Remove UNSHOW_BUFFER code.
3034 (list_windows): New function.
3035 (list_all_windows): Ditto.
3036 (Freplace_buffer_in_windows): Use them.
3038 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3040 * database.c (berkdb_subtype): Recognize new subtype `queue'.
3041 (Fopen_database): Use `db_create' instead of `db_open'.
3042 (syms_of_database): Initialize Qqueue.
3044 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3046 * buffer.c (common_init_complex_vars_of_buffer): Initialize
3047 buffer_local_face_property.
3048 * buffer.h (struct buffer): New member buffer_local_face_property.
3049 * window.c (Fset_window_buffer): Mark window's face as changed
3050 when buffer has buffer local face.
3051 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
3052 * objects.c (color_after_change): Set buffer_local_face_property
3053 when locale of face specifier is buffer.
3054 * objects.c (font_after_change): Ditto.
3055 * objects.c (face_boolean_after_change): Ditto.
3056 * glyphs.c (image_after_change): Ditto.
3058 2000-12-09 Dan Holmsand <dan@eyebee.com>
3060 * nt.c (mswindows_fstat): Report file permissions, volume serial
3061 number, etc. Code adapted from FSF Emacs 20.7.
3063 2000-12-09 Dan Holmsand <dan@eyebee.com>
3065 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
3066 of stat when we don't have symbolic links, to make sure
3067 mswindows_stat is called on mswindows.
3069 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
3071 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
3073 2000-12-12 Martin Buchholz <martin@xemacs.org>
3075 * doprnt.c (emacs_doprnt_1): More printing fixes.
3076 Make printing of numbers compatible with libc and FSF Emacs.
3077 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
3078 Use the system printf to do most of the hard work of formatting,
3079 instead of doprnt_1().
3080 Calculate memory to allocate for format string.
3081 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
3082 (doprnt_1): Cleaner code and documentation.
3084 2000-12-01 Jerry James <james@eecs.ukans.edu>
3086 * Makefile.in.in: Use the loop variable to install headers.
3088 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3090 * window.c (Fsplit_window): Don't invalidate face cache.
3092 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3094 * minibuf.c (Fall_completions): Undo the previous change
3095 which removed checking elements start with space.
3097 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3099 * mule-canna.c: Didier suppression.
3101 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3103 * mule-canna.c: rename static unsigned char buf[] to key_buffer
3104 (warning suppression). Add English comment translations.
3106 2000-12-05 Martin Buchholz <martin@xemacs.org>
3108 * unexelfsgi.c (unexec): Better test for mmap failure.
3110 2000-12-05 Martin Buchholz <martin@xemacs.org>
3112 * XEmacs 21.2.38 is released.
3114 2000-12-05 Martin Buchholz <martin@xemacs.org>
3116 * redisplay.c (bar-cursor): Make a user variable.
3118 * symsinit.h: Add init_postgresql_from_environment.
3120 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3122 * regex.c: Convert to clean C.
3124 2000-12-05 Dan Holmsand <dan@eyebee.com>
3127 Don't #include sysfile.h. Revert to duplicating PATH_MAX
3129 (sys_readlink): renamed to system_readlink to avoid conflict with
3130 the other sys_readlink.
3132 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
3134 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
3136 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
3138 * postgresql.c (init_postgresql_from_environment): new function.
3139 (vars_of_postgresql): Move code initializing Lisp variables out and
3140 into init_postgresql_from_environment.
3141 emacs.c (main_1): Call init_postgresql_from_environment if and only
3142 if running a dumped XEmacs.
3144 2000-08-31 Dan Holmsand <dan@eyebee.com>
3146 * buffer.c: Make find-file-compare-truenames default to true on
3149 * realpath.c (win32_abs_start):
3151 (win32_readlink): New functions.
3152 (xrealpath): Return really real filenames on windows.
3154 * fileio.c (Ffile_truename): Make file-truename work on windows.
3156 2000-11-29 Didier Verna <didier@xemacs.org>
3158 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
3159 * faces.c (update_face_cachel_data): use it.
3160 * faces.c (add_face_cachel): use it. Complete background pixmap
3161 frobbing in face cache if `update_face_cachel_data' has not done so.
3163 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
3165 * search.c (string_match_1): Don't set last_thing_searched
3168 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
3170 * buffer.c: Include casetab.h
3171 (common_init_complex_vars_of_buffer): Use new case-table object.
3172 * buffer.h: Include casetab.h
3173 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
3174 (DOWNCASE_TABLE_OF): Ditto.
3175 * bufslots.h: Remove char-tables and add case-table.
3176 * casetab.c: Include casetab.h
3177 (CASE_TABLE_P): Removed.
3178 (mark_case_table): New function.
3179 (allocate_case_table): New function.
3180 (Fcase_table_p): Use new case-table.
3181 (case_table_char): New function.
3182 (Fget_case_table): Ditto.
3183 (Fput_case_table): Ditto.
3184 (Fput_case_table_pair): Ditto.
3185 (Fcopy_case_table): Ditto.
3186 (Fcurrent_case_table): Return case-table.
3187 (Fstandard_case_table): Return case-table.
3188 (Fset_case_table): Fix doc-string.
3189 (set_case_table): Use case-table
3190 (syms_of_casetab): DEFSUBR new functions.
3191 (complex_vars_of_casetab): Set up standard case-table.
3192 * casetab.h: New file.
3193 * editfns.c: Include casetab.h
3194 (Fcompare_buffer_substrings): Use case-table.
3195 * inline.c: Include casetab.h
3196 * lisp.h: Remove bogus extern.
3197 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
3198 * search.c: Include casetab.h
3199 (TRANSLATE_ASCII): Removed.
3200 (TRANSLATE): Unconditionally translate character.
3201 (looking_at_1): Use case-table.
3202 (string_match_1): Ditto.
3203 (fast_string_match): Ditto.
3204 (search_command): Ditto.
3205 (search_buffer): Separate boyer_moore. Check whether
3206 boyer_moore is poosible.
3207 (simple_search): New function.
3208 (boyer_moore): Separated from search_buffer. Translate char.
3210 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
3212 * regex.c (RE_TR_ASCII): Removed.
3213 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
3214 (PATFETCH): Call PATFETCH_RAW.
3215 (PATFETCH_RAW): Fetch Emchar.
3216 (PATUNFETCH): Decrement charptr.
3217 (GET_BUFFER_SPACE): Rename b to buf_end.
3219 (BUF_PUSH_2): Ditto.
3220 (BUF_PUSH_3): Ditto.
3221 (EXTEND_BUFFER): Ditto.
3222 (SET_LIST_BIT): Ditto.
3223 (regex_compile): Ditto. Translate non ASCII char.
3224 (compile_range): Ditto.
3225 (re_search_2): Ditto.
3226 (re_match_2_internal): Compare Emchar.
3227 (bcmp_translate): Ditto.
3229 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
3231 * lisp.h (basic char/int typedefs): comment improvement.
3233 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
3235 * emacs.c (main_1): unconditional pdump unstomping; don't save and
3236 unstomp inhibit_site_lisp. Improve comments.
3238 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
3240 * mule-charset.c (Fcharset_property): improve type checking, comments.
3242 2000-11-28 Andy Piper <andy@xemacs.org>
3244 * redisplay-output.c (redisplay_output_subwindow): make sure we do
3245 clipped display for windows in the gutter also.
3246 (redisplay_display_boxes_in_window_p): change semantics of return
3247 codes to be more intuitive.
3249 * gutter.h: declare display_boxes_in_gutter_p.
3251 * gutter.c (display_boxes_in_gutter_p): new function for
3254 2000-11-22 Andy Piper <andy@xemacs.org>
3256 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
3259 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
3261 * callproc.c (Fold_call_process_internal):
3262 * gpm.c (Freceive_gpm_event):
3263 (tty_get_foreign_selection): Might be just warning supression.
3264 * fileio.c (Fwrite_region_internal):
3265 (Fset_visited_file_modtime):
3266 * keymap.c (event_matches_key_specifier_p):
3267 Initialize GCPROed variable.
3269 * menubar-x.c (command_builder_find_menu_accelerator):
3270 Initialize before use.
3272 2000-11-23 Andy Piper <andy@xemacs.org>
3274 * unexcw.c (unexec): make the resulting executable executable.
3276 2000-11-21 Martin Buchholz <martin@xemacs.org>
3278 * doc.c (get_doc_string):
3279 Use size_t, not int, for result of XSTRING_LENGTH.
3281 * cmds.c (Fdelete_char):
3282 * cmds.c (Fpoint_at_eol):
3283 * cmds.c (Fself_insert_command):
3284 Use EMACS_INT, not int, for result of XINT.
3285 Someday, someone will want to insert more than 2**31 identical characters.
3287 * cmds.c (Fdelete_char):
3288 * cmds.c (Fdelete_backward_char):
3289 * syntax.c (Fforward_word):
3290 * syntax.c (Fforward_comment):
3291 Make COUNT argument optional, for consistency with forward-char et al.
3293 2000-11-22 Martin Buchholz <martin@xemacs.org>
3296 * print.c (long_to_string):
3297 Return a useful value: the pointer at end of data written.
3300 Use `static const char * const' for constant strings.
3301 (union printf_arg): Delete `i', `ui' members.
3304 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
3305 Do all printf-ing via the `l' specifier.
3306 Use EMACS_INT instead of int.
3309 2000-11-20 Didier Verna <didier@xemacs.org>
3311 * faces.c (update_face_cachel_data): don't frob the background
3312 pixmap when the window is being created. The face is needed but
3315 2000-11-20 Andy Piper <andy@xemacs.org>
3317 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
3318 messing with a debug environment.
3320 2000-11-20 Martin Buchholz <martin@xemacs.org>
3322 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
3324 2000-11-20 Martin Buchholz <martin@xemacs.org>
3326 * casetab.c (Fcase_table_p): Fix compile error and crash.
3328 2000-11-18 Philip Aston <philipa@mail.com>
3330 * s/cygwin32.h: Cygwin has SVR4-like pty support.
3332 2000-11-18 Martin Buchholz <martin@xemacs.org>
3334 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
3335 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
3337 2000-11-17 Martin Buchholz <martin@xemacs.org>
3339 * config.h.in: Define HAVE_ELF_H if elf.h exists.
3340 * unexelf.c: Use HAVE_ELF_H.
3341 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
3342 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
3343 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
3344 Greg Harrington <greg_harrington@hotmail.com> provided a machine
3346 So this is an unexelfsgi.c from a different line of development.
3348 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3350 * regex.c (RE_TR_ASCII): New function.
3351 (RE_TRANSLATE): Call it.
3353 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3355 * buffer.h (TRT_TABLE_OF): Remove assert.
3356 (IN_TRT_TABLE_DOMAIN): Removed.
3358 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
3360 * free-hook.c (log_gcpro):
3361 (show_gcprohist): Add support for GCPRO5.
3363 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
3365 * emacs.c (main_1): Improve -sd error message when --pdump=no.
3367 2000-11-16 Olivier Galibert <galibert@xemacs.org>
3369 * symeval.h: Declare flush_all_buffer_local_cache.
3371 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
3372 (flush_buffer_local_cache): Added.
3373 (flush_all_buffer_local_cache): Added.
3375 * lrecord.h: Remove unused XD_LO_RESET_NIL.
3377 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
3378 (pdump_dump_data): Ditto.
3379 (pdump_reloc_one): Ditto.
3380 (pdump): Remove unused pdump_qnil. Flush buffer local caches
3384 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3386 * buffer.c: Remove if 0'ed entry.
3387 * buffer.h: Rewrite TRT to use char-table.
3388 * bufslots.h: Remove mirror tables.
3389 * casetab.c: Remove mirror tables.
3390 (CASE_TABLE_P): New macro.
3391 (Fcase_table_p): Element of a case table is string or char-table.
3392 (make_mirror_trt_table): Removed.
3393 (set_case_table): Setup char-table from strings for backward
3395 * dired.c (Fdirectory_files):
3396 * dired-msw.c: (mswindows_get_files):
3397 * lisp.h: Change prototype of re_pattern_buffer.
3398 * regex.c: (RE_TRANSLATE): New macro.
3399 (TRANSLATE_P): Ditto.
3400 Change translate to type RE_TRANSLATE_TYPE.
3401 * regex.h: Define RE_TRANSLATE_TYPE
3402 * search.c (TRANSLATE): New macro.
3403 (TRANSLATE_ASCII): New macro.
3404 Translate table is changed to Lisp_Object.
3405 (signal_failure): Inhibit return.
3407 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3414 Do UNGCPRO before return.
3416 2000-11-14 Martin Buchholz <martin@xemacs.org>
3418 * XEmacs 21.2.37 is released.
3420 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3422 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
3423 Add comments about discarded return value.
3425 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3428 * event-stream.c: Fix comments. Remove some #if 0'ed part.
3430 2000-10-27 Andy Piper <andy@xemacs.org>
3432 * gutter.c (Fset_default_gutter_position): default left and right
3434 (calculate_gutter_size): calculate resonable heuristic for left
3435 and right gutter sizes.
3436 (specifier_vars_of_gutter): change left and right gutter sizes to
3438 (calculate_gutter_size_from_display_lines): new function.
3439 (output_gutter): check for resizing on left and right gutters.
3440 (clear_gutter): don't special case top and left gutters.
3441 (specifier_vars_of_gutter): use new signature for
3442 set_specifier_caching.
3444 * glyphs-x.c (x_redisplay_widget): spelling fix.
3445 * glyphs.c (specifier_vars_of_glyphs):
3446 * menubar.c (specifier_vars_of_menubar):
3447 * redisplay.c (specifier_vars_of_redisplay):
3448 * toolbar.c (specifier_vars_of_toolbar):
3449 * window.c (specifier_vars_of_window):
3450 * scrollbar.c (specifier_vars_of_scrollbar):
3451 (complex_vars_of_scrollbar): use new signature for
3452 set_specifier_caching.
3454 * specifier.c (set_specifier_caching): include recompute flag.
3455 (recompute_one_cached_specifier_in_window): always recompute if
3457 (recompute_one_cached_specifier_in_frame): ditto.
3459 * specifier.h (struct specifier_caching): add recompute flag.
3461 2000-10-24 Andy Piper <andy@xemacs.org>
3463 * unexcw.c (copy_executable_and_dump_data_section): add new
3464 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
3467 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3469 * console-x.h (x_device): New member modifier_release_time.
3470 * event-Xt.c (x_handle_sticky_modifiers):
3471 Bound interval modifier keys are sticky.
3472 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
3473 * events.h: extern it.
3475 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3477 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
3479 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3481 * event-stream.c (execute_command_event): Preserve current_events
3482 and the like when event is misc-user-event.
3483 Inhibit quit during the call to maybe_echo_keys.
3485 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
3487 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
3488 symlink when buffer is killed.
3489 (inhibit_clash_detection): New variable.
3491 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3493 * console.c (Fset_input_method): Trigger redisplay on tty.
3495 2000-11-07 Martin Buchholz <martin@xemacs.org>
3497 * process.c (Fprocess_status): Revert to previous behavior:
3498 (process-status "nosuchprocess") ==> nil
3500 2000-11-06 Martin Buchholz <martin@xemacs.org>
3502 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
3503 Work around another GCC 2.95.2 optimizer bug.
3505 2000-11-02 Martin Buchholz <martin@xemacs.org>
3507 * process.c (Fget_process): Use LIST_LOOP_2.
3508 (kill_buffer_processes): Use LIST_LOOP_2.
3510 * minibuf.c (Fall_completions):
3511 Delete old non-functional code for FSF fourth argument.
3513 * frame.c (frame_matches_frame_spec):
3514 Renamed from `frame_matches_frametype'. Update all callers.
3515 (device_matches_device_spec):
3516 Renamed from 'device_matches_console_spec'. Update all callers.
3518 * doc.c (Fsubstitute_command_keys):
3519 Remove buffer overflow crash. Small code cleanups.
3521 * casetab.c (check_case_table): Simpler code.
3523 * window.c (Freplace_buffer_in_windows):
3524 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
3525 (and similar implementation) as Fdelete_windows_on.
3528 * alloc.c (Fmake_list):
3529 * alloc.c (make_vector):
3530 * alloc.c (Fmake_vector):
3531 * alloc.c (make_bit_vector):
3532 * alloc.c (Fmake_bit_vector):
3533 * alloc.c (Fbit_vector):
3534 * alloc.c (Fmake_string):
3535 * alloc.c (Fpurecopy):
3536 * alloc.c (Fmemory_limit):
3538 * buffer.c (Fget_buffer):
3539 * buffer.c (Fkill_buffer):
3540 * buffer.c (complex_vars_of_buffer):
3541 * bytecode.c (Fcompiled_function_stack_depth):
3542 * callint.c (Fprefix_numeric_value):
3544 * event-stream.c (Fread_key_sequence):
3546 * casetab.c (Fcase_table_p):
3547 * casetab.c (check_case_table):
3548 * casetab.c (Fset_case_table):
3549 * casetab.c (Fset_standard_case_table):
3551 * chartab.c (Fchar_table_type):
3552 * chartab.c (Freset_char_table):
3553 * chartab.c (Fget_char_table):
3554 * chartab.c (Fget_range_char_table):
3555 * chartab.c (Fput_char_table):
3556 * chartab.c (Fmap_char_table):
3557 * chartab.c (Fcategory_table_p):
3558 * chartab.c (Fcheck_category_at):
3559 * chartab.c (Fchar_in_category_p):
3560 * chartab.c (Fcategory_table):
3561 * chartab.c (Fcopy_category_table):
3562 * chartab.c (Fset_category_table):
3563 * chartab.c (Fcategory_designator_p):
3564 * chartab.c (Fcategory_table_value_p):
3565 * cmds.c (Fdelete_char):
3566 * cmds.c (Fdelete_backward_char):
3567 * cmds.c (Fself_insert_command):
3568 * cmds.c (Fself_insert_internal):
3569 * console.c (Fvalid_console_type_p):
3570 * console.c (Fcdfw_console):
3571 * console.c (Fconsole_type):
3572 * console.c (Fconsole_name):
3573 * console.c (Fconsole_device_list):
3574 * console.c (Fconsole_on_window_system_p):
3578 * data.c (Fsubr_interactive):
3579 * data.c (Fchar_to_int):
3580 * data.c (Fint_to_char):
3583 * data.c (Fnumber_to_string):
3584 * data.c (Fstring_to_number):
3586 * database.c (mark_database):
3587 * database.c (finalize_database):
3588 * database.c (Fdatabase_live_p):
3589 * database.c (Fdatabasep):
3590 * device-x.c (Fx_get_resource):
3591 * device.c (Fdfw_device):
3593 * dired.c (Ffile_name_completion):
3594 * dired.c (Ffile_name_all_completions):
3595 * dired.c (Fuser_name_completion):
3596 * dired.c (Fuser_name_completion_1):
3597 * dired.c (Fuser_name_all_completions):
3598 * doc.c (Fdocumentation):
3599 * doc.c (Fdocumentation_property):
3600 * doc.c (Fsubstitute_command_keys):
3602 * editfns.c (Fchar_to_string):
3603 * editfns.c (Fstring_to_char):
3604 * editfns.c (Ftemp_directory):
3605 * editfns.c (Finsert_char):
3606 * editfns.c (Fbuffer_substring_no_properties):
3607 * editfns.c (Fnarrow_to_region):
3608 * editfns.c (Fchar_equal):
3609 * editfns.c (Fchar_Equal):
3610 * editfns.c (Ftranspose_regions):
3611 * emacs.c (Fdump_emacs):
3613 * eval.c (Fcommand_execute):
3614 * eval.c (Fautoload):
3615 * eval.c (Fbacktrace):
3616 * eval.c (Fbacktrace_frame):
3618 * events.c (Fcopy_event):
3619 * events.c (Fcharacter_to_event):
3620 * events.c (Fevent_button):
3621 * events.c (Fevent_process):
3623 * extents.c (Fnext_extent_change):
3624 * extents.c (Fextent_property):
3626 * faces.c (Fmake_face):
3628 * file-coding.c (Fencode_shift_jis_char):
3629 * file-coding.c (Fencode_big5_char):
3630 * fileio.c (Ffile_name_directory):
3631 * fileio.c (Ffile_name_nondirectory):
3632 * fileio.c (Ffile_name_as_directory):
3633 * fileio.c (Fdirectory_file_name):
3634 * fileio.c (Ffile_truename):
3635 * fileio.c (Fsubstitute_in_file_name):
3636 * fileio.c (Ffile_modes):
3637 * fileio.c (Fset_file_modes):
3638 * fileio.c (Fset_default_file_modes):
3639 * fileio.c (Fverify_visited_file_modtime):
3640 * floatfns.c (Facos):
3641 * floatfns.c (Fasin):
3642 * floatfns.c (Fatan):
3643 * floatfns.c (Fcos):
3644 * floatfns.c (Fsin):
3645 * floatfns.c (Ftan):
3646 * floatfns.c (Fbessel_j0):
3647 * floatfns.c (Fbessel_j1):
3648 * floatfns.c (Fbessel_jn):
3649 * floatfns.c (Fbessel_y0):
3650 * floatfns.c (Fbessel_y1):
3651 * floatfns.c (Fbessel_yn):
3652 * floatfns.c (Ferf):
3653 * floatfns.c (Ferfc):
3654 * floatfns.c (Flog_gamma):
3655 * floatfns.c (Fexp):
3656 * floatfns.c (Fexpt):
3657 * floatfns.c (Flog):
3658 * floatfns.c (Flog10):
3659 * floatfns.c (Fsqrt):
3660 * floatfns.c (Fcube_root):
3661 * floatfns.c (Facosh):
3662 * floatfns.c (Fasinh):
3663 * floatfns.c (Fatanh):
3664 * floatfns.c (Fcosh):
3665 * floatfns.c (Fsinh):
3666 * floatfns.c (Ftanh):
3667 * floatfns.c (Fabs):
3668 * floatfns.c (Ffloat):
3669 * floatfns.c (Flogb):
3670 * floatfns.c (Fceiling):
3671 * floatfns.c (Ffloor):
3672 * floatfns.c (Fround):
3673 * floatfns.c (Ftruncate):
3674 * floatfns.c (Ffceiling):
3675 * floatfns.c (Fffloor):
3676 * floatfns.c (Ffround):
3677 * floatfns.c (Fftruncate):
3678 * fns.c (Fstring_equal):
3679 * fns.c (Fstring_lessp):
3684 * fns.c (Fsubstring):
3686 * fns.c (Fold_assoc):
3687 * fns.c (assoc_no_quit):
3689 * fns.c (Fold_assq):
3690 * fns.c (assq_no_quit):
3692 * fns.c (Fold_rassoc):
3694 * fns.c (Fold_rassq):
3695 * fns.c (rassq_no_quit):
3696 * fns.c (Fremassoc):
3697 * fns.c (remassoc_no_quit):
3699 * fns.c (remassq_no_quit):
3700 * fns.c (Fremrassoc):
3701 * fns.c (Fremrassq):
3702 * fns.c (remrassq_no_quit):
3704 * fns.c (Fplist_get):
3705 * fns.c (Fplist_put):
3706 * fns.c (Fplist_remprop):
3707 * fns.c (Fplist_member):
3708 * fns.c (Flax_plist_get):
3709 * fns.c (Flax_plist_put):
3710 * fns.c (Flax_plist_remprop):
3711 * fns.c (Flax_plist_member):
3713 * fns.c (Fold_equal):
3715 * fns.c (Fbase64_encode_region):
3716 * fns.c (Fbase64_encode_string):
3717 * fns.c (Fbase64_decode_region):
3719 * frame.c (frame_matches_frame_spec):
3720 * frame.c (device_matches_device_spec):
3721 * frame.c (next_frame):
3722 * frame.c (previous_frame):
3723 * frame.c (Fnext_frame):
3724 * frame.c (Fprevious_frame):
3725 * frame.c (Fframe_property):
3726 * frame.c (Fset_frame_height):
3727 * frame.c (Fset_frame_size):
3731 * glyphs.c (decode_error_behavior_flag):
3732 * glyphs.c (Fmake_image_instance):
3733 * indent.c (Findent_to):
3734 * intl.c (Fignore_defer_gettext):
3735 * keymap.c (Fkeymapp):
3736 * keymap.c (Flookup_key):
3738 * lread.c (Fload_internal):
3739 * lread.c (Feval_buffer):
3740 * lread.c (Feval_region):
3741 * macros.c (Fexecute_kbd_macro):
3742 * marker.c (set_marker_internal):
3743 * marker.c (Fset_marker):
3744 * marker.c (set_marker_restricted):
3745 * marker.c (Fcopy_marker):
3746 * marker.c (noseeum_copy_marker):
3748 * menubar.c (Fpopup_menu):
3750 * mule-charset.c (Fcharset_name):
3751 * mule-charset.c (Fchar_charset):
3752 * mule-charset.c (Fchar_octet):
3753 * mule-charset.c (Fsplit_char):
3754 * mule-wnnfns.c (Fwnn_open):
3755 * mule-wnnfns.c (Fwnn_dict_comment):
3756 * mule-wnnfns.c (Fwnn_quit_henkan):
3757 * mule-wnnfns.c (Fwnn_word_toroku):
3758 * mule-wnnfns.c (Fwnn_word_sakujo):
3759 * mule-wnnfns.c (Fwnn_word_use):
3760 * mule-wnnfns.c (Fwnn_hindo_set):
3762 * objects.c (Fmake_color_instance):
3763 * objects.c (Fmake_font_instance):
3764 * print.c (Fwrite_char):
3766 * process.c (mark_process):
3767 * process.c (print_process):
3768 * process.c (get_process_from_usid):
3769 * process.c (Fprocessp):
3770 * process.c (Fprocess_live_p):
3771 * process.c (Fget_process):
3772 * process.c (Fget_buffer_process):
3773 * process.c (get_process):
3774 * process.c (Fprocess_id):
3775 * process.c (Fprocess_name):
3776 * process.c (Fprocess_command):
3777 * process.c (init_process_io_handles):
3778 * process.c (start_process_unwind):
3779 * process.c (Fstart_process_internal):
3780 * process.c (Fopen_multicast_group_internal):
3781 * process.c (Fset_process_window_size):
3782 * process.c (read_process_output):
3783 * process.c (send_process):
3784 * process.c (Fprocess_tty_name):
3785 * process.c (Fset_process_buffer):
3786 * process.c (Fprocess_buffer):
3787 * process.c (Fprocess_mark):
3788 * process.c (set_process_filter):
3789 * process.c (Fset_process_filter):
3790 * process.c (Fprocess_filter):
3791 * process.c (Fprocess_send_region):
3792 * process.c (Fprocess_send_string):
3793 * process.c (exec_sentinel):
3794 * process.c (Fset_process_sentinel):
3795 * process.c (Fprocess_sentinel):
3796 * process.c (status_notify):
3797 * process.c (Fprocess_status):
3798 * process.c (Fprocess_exit_status):
3799 * process.c (process_send_signal):
3800 * process.c (Fprocess_send_eof):
3801 * process.c (deactivate_process):
3802 * process.c (remove_process):
3803 * process.c (Fdelete_process):
3804 * process.c (kill_buffer_processes):
3805 * process.c (Fprocess_kill_without_query):
3806 * process.c (Fprocess_kill_without_query_p):
3808 * rangetab.c (Fget_range_table):
3809 * rangetab.c (Fput_range_table):
3810 * rangetab.c (Fremove_range_table):
3811 * rangetab.c (Fclear_range_table):
3813 * search.c (Fskip_chars_forward):
3814 * search.c (Fskip_chars_backward):
3815 * search.c (Fskip_syntax_forward):
3816 * search.c (Fskip_syntax_backward):
3817 * search.c (search_command):
3818 * search.c (Freplace_match):
3819 * search.c (Fregexp_quote):
3820 * select.c (Fown_selection_internal):
3821 * select.c (Fselection_owner_p):
3822 * select.c (Fselection_exists_p):
3823 * select.c (Fget_selection_internal):
3826 * symbols.c (Fintern):
3827 * symbols.c (Fintern_soft):
3828 * symbols.c (Funintern):
3829 * symbols.c (Fapropos_internal):
3830 * symbols.c (Fset_default):
3832 * syntax.c (Fsyntax_table_p):
3833 * syntax.c (Fcopy_syntax_table):
3834 * syntax.c (Fset_syntax_table):
3835 * syntax.c (Fchar_syntax):
3836 * syntax.c (syntax_match):
3837 * syntax.c (Fmatching_paren):
3838 * syntax.c (Fforward_word):
3839 * syntax.c (scan_lists):
3840 * syntax.c (Fscan_lists):
3841 * syntax.c (Fscan_sexps):
3842 * syntax.c (Fparse_partial_sexp):
3843 * toolbar.c (Fcheck_toolbar_button_syntax):
3846 * window.c (Fwindowp):
3847 * window.c (Fwindow_live_p):
3848 * window.c (Fwindow_point):
3849 * window.c (Fdelete_window):
3850 * window.c (Fnext_window):
3851 * window.c (Fprevious_window):
3852 * window.c (Fother_window):
3853 * window.c (window_loop):
3854 * window.c (Fget_lru_window):
3855 * window.c (Fsplit_window):
3856 * window.c (Fenlarge_window):
3857 * window.c (Fenlarge_window_pixels):
3858 * window.c (Fshrink_window):
3859 * window.c (Fshrink_window_pixels):
3860 * window.c (change_window_height):
3861 * window.c (Fwindow_configuration_p):
3862 * window.c (Fcurrent_window_configuration):
3864 * casefiddle.c (casify_object):
3865 * casefiddle.c (Fupcase):
3866 * casefiddle.c (Fdowncase):
3867 * casefiddle.c (Fcapitalize):
3868 * casefiddle.c (Fupcase_initials):
3869 * casefiddle.c (casify_region_internal):
3870 * casefiddle.c (casify_region):
3871 * casefiddle.c (Fupcase_region):
3872 * casefiddle.c (Fdowncase_region):
3873 * casefiddle.c (Fcapitalize_region):
3874 * casefiddle.c (Fupcase_initials_region):
3875 * casefiddle.c (Fupcase_word):
3876 * casefiddle.c (Fdowncase_word):
3877 * casefiddle.c (Fcapitalize_word):
3878 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3879 Replace 0 with '\0' when working with bytes.
3880 Replace initial "(" with "\(" in docstrings.
3882 2000-11-01 Martin Buchholz <martin@xemacs.org>
3884 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
3886 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
3888 2000-10-31 Martin Buchholz <martin@xemacs.org>
3890 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
3892 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3894 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
3897 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3899 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
3900 (inhibit_auto_save_session): New variable.
3901 (vars_of_fileio): Declare and initialize them.
3902 * fileio.c (Fdo_auto_save): Don't create session file if
3903 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
3905 2000-10-31 Martin Buchholz <martin@xemacs.org>
3907 * sgiplay.c (play_internal): C++ compilability.
3908 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
3909 * callproc.c (Fold_call_process_internal):
3910 Remove unused vars `env', `first'.
3911 * scrollbar.c (update_scrollbar_instance):
3912 #### unused var `current_window'.
3913 * redisplay-tty.c: Put currently unused vars insert_mode_on,
3914 etc. within #ifdef NOT_YET.
3915 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
3916 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
3917 * specifier.c (specifier_instance):
3918 #### unused var `tag'.
3919 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
3921 2000-10-27 Martin Buchholz <martin@xemacs.org>
3924 * fns.c (list_sort):
3925 * fns.c (Ffillarray):
3926 * fns.c (bytecode_nconc2):
3929 * fns.c (Fmapconcat):
3930 Be pedantically 64-bit correct. For the time when someone will
3931 want to have a list with length > 2**32.
3933 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
3934 Work around MIPSpro compiler bug.
3936 * process-unix.c (unix_kill_child_process): Add snarky comment.
3937 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
3939 * config.h.in: Oops, _getpt ==> _getpty
3941 2000-10-26 Martin Buchholz <martin@xemacs.org>
3945 Use void*, not char*, as return type of alloca().
3947 * alloc.c (free_marker): Side effect inside assert expression!
3949 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
3951 * mule-charset.c (Fset_charset_ccl_program): To check
3952 if the given ccl program is valid, use setup_ccl_program()
3953 instead of CHECK_VECTOR().
3954 (Fmake_charset): Likewise.
3956 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
3958 * faces.c (get_extent_fragment_face_cache_index):
3959 Fix cachel.merged_faces memory leak.
3961 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
3963 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
3964 Reset MSB of octets obtained by DECODE_SJIS
3965 because of the incompatibility with Emacs.
3966 (ccl_driver)<CCL_ENCODE_SJIS>:
3967 Set MSB of octets before passing them to
3968 ENCODE_SJIS because of the incompatibility
3971 2000-10-18 Daiki Ueno <ueno@unixuser.org>
3973 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
3974 (DECLARE_LRECORD): Undo the last change.
3975 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
3977 2000-10-17 Daiki Ueno <ueno@unixuser.org>
3979 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
3980 the implementation to lrecord_implementations_table.
3982 2000-10-14 Daiki Ueno <ueno@unixuser.org>
3984 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
3985 initial value of `lrecord_type_##c_name' and
3986 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
3987 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
3988 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
3989 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
3990 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
3992 2000-10-17 Martin Buchholz <martin@xemacs.org>
3994 * miscplay.c (sndcnv8S_2mono):
3995 (sndcnv2monounsigned):
3996 (sndcnvULaw_2linear):
3998 Remove implementation-defined behavior.
4000 2000-10-12 Martin Buchholz <martin@xemacs.org>
4002 * input-method-xlib.c: Warning suppression.
4004 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
4006 * mule-ccl.c: Sync up with Emacs 21.0.90.
4007 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
4009 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
4011 (ccl_driver[WriteMultibyteChar2]): Bug fix.
4012 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
4013 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
4014 leading char belongs to official 2-dimensional charset.
4015 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
4016 write the given character as is. Otherwise,
4017 if it is a multibyte char, convert it by
4018 non_ascii_set_charptr_emchar, then write it.
4019 (CCL_WRITE_STRING): Likewise.
4020 (ccl_get_compiled_code): New function.
4021 (setup_ccl_program): When ccl_prog is invalid,
4023 (Fregister_code_conversion_map): New function.
4024 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
4026 * mule-ccl.h: Sync up with Emacs 21.0.90.
4027 (Fregister_ccl_program): export it.
4029 * redisplay-msw.c (separate_textual_runs):
4030 If ccl program is not valid, don't do ccl conversion.
4032 * redisplay-x.c (separate_textual_runs): Ditto.
4034 * file-coding.c (Fmake_coding_system):
4035 When type is ccl and value is vector, register it
4036 with a proper symbol. And checks whether the
4037 given ccl program is valid.
4038 (mule_decode): When calling ccl_driver, if src indicates
4039 NULL pointer, set an empty string instead.
4040 (mule_encode): Likewise.
4042 2000-10-11 Martin Buchholz <martin@xemacs.org>
4044 The following large batch of changes gets us back to a state of
4045 C++ compilability. Extbyte is now a char, which means that
4046 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
4048 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
4050 * sound.c (Fplay_sound): Type correctness.
4052 * select-x.c (hack_motif_clipboard_selection): Type correctness.
4053 (x_get_window_property): Type correctness.
4054 (receive_incremental_selection): unsigned char ==> Extbyte
4055 (selection_data_to_lisp_data): unsigned char ==> Extbyte
4056 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
4057 (Fx_store_cutbuffer_internal): Type correctness.
4059 * process-unix.c (try_to_initialize_subtty): Type correctness.
4061 * objects-x.c (x_print_color_instance): Type correctness.
4062 (x_print_font_instance): Type correctness.
4063 (x_list_fonts): SExtbyte ==> Extbyte.
4064 (valid_x_font_name_p): SExtbyte ==> Extbyte.
4065 (x_find_charset_font): SExtbyte ==> Extbyte.
4066 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
4067 (truename_via_XListFonts): SExtbyte ==> Extbyte.
4068 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
4071 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
4072 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
4073 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
4074 (BYTE_C0_P): Use bit ops for char-signedness safety.
4075 (BYTE_C1_P): Use bit ops for char-signedness safety.
4076 (CHARSET_BY_LEADING_BYTE):
4077 (CHARSET_BY_ATTRIBUTES):
4078 Always use inline function.
4079 Use type_checking_assert.
4082 * mule-charset.c (non_ascii_charptr_copy_char):
4083 Modify to work with both ASCII and non-ASCII characters.
4084 Improve docs and variable names.
4085 Replace over-clever fall-through switch with a simple loop.
4086 (Lstream_get_emchar_1):
4087 Replace over-clever fall-through switch with a simple loop.
4089 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4090 Warning suppression.
4092 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
4093 the return value of Lstream_getc, which could be EOF as well.
4095 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
4097 * lisp.h: Make Extbyte a char, not unsigned char, so that external
4098 APIs can be used on Extbytes without casts. Risky!
4102 * input-method-xlib.c (XIM_init_device):
4103 Use Xlib.h instead of IntrinsicP.h.
4104 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
4105 which will break in X11R7.
4106 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
4107 to call XRegisterIMInstantiateCallback with correct types.
4109 * gui-x.c (button_item_to_widget_value): Type correctness.
4111 * glyphs.c (bitmap_to_lisp_data): Type correctness.
4113 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
4114 (xbm_instantiate_1): Type correctness.
4115 (BUILD_GLYPH_INST): Type correctness.
4117 * fileio.c (Fsubstitute_in_file_name): Type correctness.
4120 (decode_coding_sjis):
4121 (decode_coding_big5):
4122 (decode_coding_ucs4):
4123 (decode_coding_utf8):
4124 (decode_coding_iso2022):
4125 (decode_coding_no_conversion):
4126 Make all decoding functions take an Extbyte * arg.
4127 (encode_coding_sjis):
4128 (encode_coding_big5):
4129 (encode_coding_ucs4):
4130 (encode_coding_utf8):
4131 (encode_coding_iso2022):
4132 (encode_coding_no_conversion):
4133 Make all encoding functions take a Bufbyte * arg.
4134 Use size_t instead of unsigned int for memory sizes.
4135 Only cast to unsigned char whenever dereferencing Extbyte *.
4137 * doc.c (unparesseuxify_doc_string): Type correctness.
4139 * console-x.c (split_up_display_spec):
4140 Rewrite without using details of internal string representation.
4141 (x_semi_canonicalize_device_connection): Type correctness.
4144 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
4145 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
4146 (HAVE_XFREE386): Removed.
4148 * buffer.h (DEC_CHARPTR): `const' correctness.
4149 (bufbyte_strcmp): New.
4150 (bufbyte_memcmp): New.
4152 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
4154 * buffer.h (XCHAR_OR_CHAR_INT):
4155 Always use inline function.
4156 Remove redundant type checking assert() - XINT will abort quite nicely.
4158 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4160 * search.c (Freplace_match): Set newtext to an empty string.
4162 2000-10-10 Martin Buchholz <martin@xemacs.org>
4164 * s/decosf1-3.h: Remove #include of stropts.h
4165 * s/ptx.h: Remove #include of stropts.h
4166 * s/usg5-4.h: Remove #include of stropts.h
4169 Use stropts.h, not sys/stropts.h.
4170 Use strtio.h, not sys/strtio.h.
4172 2000-10-04 Martin Buchholz <martin@xemacs.org>
4174 * XEmacs 21.2.36 is released.
4176 2000-09-21 Andy Piper <andy@xemacs.org>
4178 * glyphs-x.c (x_redisplay_widget): make sure non-structural
4179 changes still involve copying the widget tree.
4180 (update_widget_face): make sure a change is register in the widget
4181 tree. Call update_tab_widget_face appropriately.
4182 (update_tab_widget_face): ditto.
4183 (x_tab_control_redisplay): make sure non-structural changes still
4184 involve copying the widget tree.
4186 2000-08-31 Daiki Ueno <ueno@unixuser.org>
4188 * lread.c (locate_file): Check the path element is non-nil.
4190 2000-10-02 Martin Buchholz <martin@xemacs.org>
4192 * lisp.h: Warning suppression for SCO compilers.
4194 * redisplay-tty.c (reset_tty_modes): Fix crash.
4195 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
4197 2000-09-27 Martin Buchholz <martin@xemacs.org>
4199 Big signal/process handling overhaul. Bugs fixed:
4200 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
4201 M-x comint-kill-subjob should work for both values nil and t of
4202 process-connection-type. It was broken on most platforms.
4203 Testing on Irix and Cygwin still needed. Other plaforms tested.
4204 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
4205 * process-unix.c: Signal/Process handling overhaul.
4206 (pty_name): make 64 bytes, as `expect' does, for paranoia.
4207 (allocate_pty): Use all available modern methods of allocating
4208 ptys, falling back to old style BSD allocation as a last resort.
4209 Use allegedly more secure Unix98 pty allocation by default.
4210 (allocate_pty_the_old_fashioned_way): New. the last resort.
4211 (unix_create_process): Push ptem, ldterm, ttcompat where
4212 available. Autoconfiscate.
4213 (try_to_initialize_subtty): New.
4214 (unix_kill_child_process): Proper signal handling for ptys on most
4215 platforms, using special knowledge of AIX, BSD, etc...
4216 (unix_create_process): Always disconnect_controlling_terminal() for
4217 subprocesses, whether using ptys or not.
4218 * process.h: Remove old getpt-dependent PTY code.
4219 * process.c (Fprocess_send_signal): New, obvious generic function.
4220 (decode_signal): New.
4221 (Finterrupt_process):
4225 (Fcontinue_process):
4226 (Fsignal_process): Use decode_signal.
4227 (process_send_signal):
4228 Many docstring corrections.
4229 Allow any signal to be sent to a process object.
4230 * config.h.in: Add symbols for big signal/process overhaul.
4231 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
4232 * sysproc.h: Include process-related headers, where available:
4233 sys/stropts.h sys/strtio.h pty.h libutil.h
4241 Remove old S&M pty stuff.
4242 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
4243 * systty.h: Simplify cpp hackery, improve comments.
4244 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
4246 * editfns.c (Fformat_time_string):
4247 Be a little more paranoid with the return value of ctime.
4249 * fileio.c (check_executable):
4251 Use symbolic constants X_OK, W_OK.
4253 * console-x.c (split_up_display_spec): Fix a warning.
4255 2000-10-02 Martin Buchholz <martin@xemacs.org>
4257 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
4258 * ntproc.c (sys_spawnve): make_string ==> build_string
4259 Small clarity improvements.
4261 2000-09-30 Martin Buchholz <martin@xemacs.org>
4263 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
4265 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
4267 * config.h.in (HAVE_STRCASECMP): Remove.
4269 2000-09-29 Martin Buchholz <martin@xemacs.org>
4271 * redisplay-output.c (redisplay_output_pixmap):
4272 Cleaner and possibly more 64-bit correct code.
4274 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4276 * dumper.c (pdump_load_finish): move restoration of
4277 `noninteractive1' to emacs.c (main_1).
4278 * emacs.c (main_1): protect LISP-visible command-line flags
4281 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
4283 * Makefile.in.in (versionclean): Use EXE_TARGET and
4284 DUMP_TARGET instead of literal program names.
4286 2000-09-20 Martin Buchholz <martin@xemacs.org>
4288 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
4290 2000-09-19 Martin Buchholz <martin@xemacs.org>
4292 * *: Spelling mega-patch
4294 2000-09-19 Martin Buchholz <martin@xemacs.org>
4296 * fns.c (bad_bad_turtle):
4297 Delete "Eek!" comment, since we fixed the bug to which it refers.
4299 2000-09-16 Martin Buchholz <martin@xemacs.org>
4301 * alloca.c: Replace REGISTER with register.
4303 2000-09-16 Daiki Ueno <ueno@unixuser.org>
4305 * file-coding.c (ucs_to_char): Use countof.
4307 2000-09-16 Martin Buchholz <martin@xemacs.org>
4309 * file-coding.c: (ucs_to_char):
4310 (complex_vars_of_file_coding):
4311 Use countof instead of sizeof.
4312 Use CHECK_NATNUM instead of CHECK_INT.
4314 * sysdep.c (strcasecmp): Remove.
4315 * device-x.c (ascii_strcasecmp): New.
4316 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
4317 Avoid using non-standard non-portable strcasecmp.
4319 2000-09-16 Martin Buchholz <martin@xemacs.org>
4321 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
4322 * font-lock.c: remove reference to emacsfns.h.
4323 * search.c: small doc improvement.
4324 * event-Xt.c: correct file names in comments.
4325 * console-x.h Correct file names in comments.
4326 * frame.c: Correct file names in comments.
4327 * event-stream.c: remove Energize from comments.
4329 2000-09-15 Martin Buchholz <martin@xemacs.org>
4331 * symeval.h (DEFERROR_STANDARD):
4334 (DEFSYMBOL_NO_DUMP):
4335 (DEFSYMBOL_MULTIWORD_PREDICATE):
4336 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
4338 The construct &##name is not sensible C.
4339 Fixes compilation errors with Unixware native compiler.
4341 2000-09-14 Martin Buchholz <martin@xemacs.org>
4343 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
4344 (next_frame_internal): Removed. We now just have next_frame.
4346 Write a simpler and cleaner one-pass algorithm.
4347 Remove called_from_delete_device arg and #ifdefed-out code.
4349 Renamed from prev_frame. Update callers.
4350 Cleaned up to have an analogous implementation to next_frame.
4351 (other_visible_frames_internal): Remove the
4352 called_from_delete_device bogus arg, and hence, remove this
4353 function. Just use other_visible_frames().
4355 * window.c (Fnext_window):
4357 Since next_frame() is guaranteed to return a frame, remove check
4358 for nil inserted in previous patch.
4361 Make code look more like Fnext_window.
4363 Respect the `console' arg when iterating through windows.
4364 Fixes bug: (get-buffer-window buffer t device) not respecting
4366 This function needs more work, as others have pointed out.
4368 * frame.h: Rename prev_frame to previous_frame.
4369 device_matches_console_spec no longer takes a `frame' arg.
4374 Use EMACS_BLOCK_SIGNAL instead of sigblock.
4375 From "Golubev I. N." <gin@mo.msk.ru>.
4377 * make-src-depend: Fix typo.
4379 2000-09-13 Martin Buchholz <martin@xemacs.org>
4381 * window.c (Fnext_window):
4382 next_frame() might return nil, not a frame.
4384 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4386 * frame.c (next_frame_internal):
4387 We've passed a frame if we've passed its device.
4389 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4390 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
4392 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4394 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
4395 Allow option to suppress accelerators in menu/dialog items.
4396 (populate_or_checksum_helper): Pass dialog title through above.
4398 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
4400 * event-msw.c (mswindows_key_to_emacs_keysym):
4401 Add "pause" key, fix "menu" key.
4403 2000-09-09 Martin Buchholz <martin@xemacs.org>
4405 * eval.c (reinit_vars_of_eval):
4406 Increase max_lisp_eval_depth to 1000,
4407 required for thai-xtis.el to byte-compile under some circumstances.
4409 2000-09-04 Martin Buchholz <martin@xemacs.org>
4411 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
4414 2000-09-01 Martin Buchholz <martin@xemacs.org>
4416 * make-src-depend: Make the generated Makefiles smaller.
4418 * s/hpux.h (SETUP_SLAVE_PTY):
4419 Provide a %d in the format string for the errno argument.
4421 * editfns.c (Ftemp_directory):
4423 Avoid buffer overrun on very long file name.
4425 * input-method-xlib.c (XIM_init_device):
4426 6th parameter of XRegisterIMInstantiateCallback has different
4427 pointer types on different OSes, so simply cast to (void *).
4429 * unexhp9k800.c: Warning fixes. Fiddly changes.
4431 * sysdll.c (dll_open):
4432 shl_load will hang hard if passed a NULL filename.
4433 Simply return NULL for compatibility with dlopen.
4434 * sysdll.c: Conform to XEmacs coding standards.
4436 * sysdep.c (get_pty_max_bytes):
4437 Support pty input lines longer than 512 bytes on HP-UX 10.20.
4439 2000-08-31 Martin Buchholz <martin@xemacs.org>
4441 * tooltalk.c: Add #include <syssignal.h>
4443 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
4445 * s/hpux.h: Don't use undefined function sigunblock().
4447 2000-08-31 Martin Buchholz <martin@xemacs.org>
4449 * config.h.in: Add HAVE_BALLOON_HELP.
4450 * emacs.c: Use HAVE_BALLOON_HELP.
4451 * Makefile.in.in (x_objs):
4452 Make Balloon Help conditional on finding shape.h.
4454 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
4456 * syntax.c (regex_emacs_buffer_p): New variable.
4457 * syntax.h (regex_emacs_buffer_p): extern.
4458 * search.c (looking_at_1):
4460 (fast_string_match):
4461 (search_buffer): Set regex_emacs_buffer_p.
4462 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
4463 when before_dot, at_dot, after_dot.
4465 2000-08-23 Andy Piper <andy@xemacs.org>
4467 * gui-x.c (popup_selection_callback): Only set action_occurred
4468 when we really have an image instance.
4469 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
4471 2000-08-23 Andy Piper <andy@xemacs.org>
4473 * gui-msw.c (mswindows_handle_gui_wm_command): set
4475 * gui-x.c (popup_selection_callback): ditto.
4477 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
4478 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
4479 (struct Lisp_Image_Instance): add action_occurred flag.
4481 * glyphs.c (redisplay_subwindow): use action_occurred flag.
4482 (image_instance_changed): ditto.
4483 (reset_frame_subwindow_instance_cache): only unmap windows - do
4484 not remove them from the cache also.
4486 * glyphs-widget.c (tab_control_update): better debug.
4487 (progress_gauge_update): ditto.
4488 (layout_update): ditto.
4489 (layout_instantiate): ditto.
4490 (tab_control_order_only_changed): cope with null pending items.
4492 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
4493 debug. Force selection of an item when an action occurred. Cope
4494 with null pending_items.
4495 (mswindows_progress_gauge_redisplay): better debug.
4496 * glyphs-x.c (x_tab_control_redisplay): ditto.
4498 * redisplay.c (redisplay_frame): reset the frame cache if the
4501 * window.c (Fset_window_configuration): potentially re-enable
4503 (window_unmap_subwindows): need to finalize instances here since
4504 it is only used in mark_window_as_deleted.
4506 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
4508 * nas.c (SndOpenDataForReading):
4509 nas.c (WaveOpenDataForReading):
4510 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
4511 Somehow escaped from the 2000-08-14 patch.
4513 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4515 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
4516 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
4518 2000-08-21 Andy Piper <andy@xemacs.org>
4520 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
4521 window if it is not already displayed.
4523 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
4524 it is not already displayed.
4526 * window.c (Fset_window_configuration): don't reset the frame
4529 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
4530 instances from the frame cache if we are actually finalizing them.
4531 (reset_frame_subwindow_instance_cache): reset frame cache only
4532 after unmapping everything.
4533 (map_subwindow): set displayed flag after mapping.
4535 2000-08-21 Martin Buchholz <martin@xemacs.org>
4537 * data.c (indirect_function):
4538 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
4540 * eval.c (function_argcount):
4541 Use original function when signaling errors.
4543 2000-08-18 Andy Piper <andy@xemacs.org>
4545 * frame.c (delete_frame_internal): use new
4546 free_frame_subwindow_instances name.
4548 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
4549 (add_tab_item): make return type correct.
4550 (mswindows_tab_control_instantiate): assert index of tab.
4551 (mswindows_tab_control_redisplay): Re-code to use
4552 gui_item_equal_sans_selected and gui_item_list_find_selected.
4554 * glyphs-widget.c (tab_control_update): Correct comment.
4556 * window.c (window_unmap_subwindows): use new
4557 unmap_subwindow_instance_cache_mapper.
4558 (window_unmap_subwindows_cache_mapper): deleted.
4559 (Fset_window_configuration): comparisons should now be with
4560 EQ. Preserve the subwindow instance cache across configuration
4562 (allocate_window): ditto.
4563 (make_dummy_parent): ditto.
4565 * glyphs.c (free_frame_subwindow_instances): rename from
4566 free_frame_subwindow_instance_cache. finalize all instances rather
4567 than just those in the display cache.
4568 (finalize_all_subwindow_instances): walk windows unmapping and
4569 finalizing subwindows.
4570 (unmap_subwindow_instance_cache_mapper): moved from
4571 window.c. Allow finalization as well as unmapping.
4573 * gui.c (gui_item_list_find_selected): new function.
4575 * gui.h (gui_item_list_find_selected): declare.
4577 * glyphs-x.c (x_tab_control_redisplay): pick tab
4578 explicitly. Re-code to use gui_item_equal_sans_selected and
4579 gui_item_list_find_selected.
4581 * glyphs-x.h: add lwlib-utils.h
4583 * buffer.c (Frecord_buffer): undo previous change.
4585 2000-08-09 Vin Shelton <acs@xemacs.org>
4587 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
4588 possible. Create temporary files more securely. The patch was
4589 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
4590 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
4591 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
4594 2000-08-07 Ben Wing <ben@xemacs.org>
4596 * getloadavg.c: remove duplicate (and windows-breaking)
4597 includes of fcntl.h and sys/file.h.
4599 * nt.c: remove duplicate getloadavg() definition.
4601 * sysdll.h (Qdll_filename_encoding): add missing stand-in
4604 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
4606 * eval.c (function_argcount): If function needs to be autoloaded
4607 actually use the loaded definition.
4610 2000-08-05 Ben Wing <ben@xemacs.org>
4612 * getloadavg.c: add prototype for getloadavg(). remove
4613 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
4614 of the code). remove duplicate header includes.
4616 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
4618 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
4619 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
4620 useful load average.
4622 * alloc.c (reinit_alloc_once_early): removed references to
4623 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
4624 the lisp vars are the only things referencing the malloc_sbrk_*
4625 vars, and they were already if 0'd out. these vars only exist
4626 in the older malloc.c, which is basically unused, and they're
4627 only for informational purposes.
4629 * m\*.h: removed useless VIRT_ADDR_VARIES.
4631 * m\powerpc.h: removed stray NO_ARG_ARRAY.
4633 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
4635 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
4636 color if the image is a mono pixmap.
4638 2000-07-30 Ben Wing <ben@xemacs.org>
4640 * Makefile.in.in (release):
4643 * buffer.c (directory_is_current_directory):
4644 * dired-msw.c (mswindows_get_files):
4646 * dired.c (Fdirectory_files):
4647 * dired.c (file_name_completion_stat):
4648 * dired.c (Ffile_attributes):
4649 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
4650 preprocessor tricks, to avoid problems on some machines
4653 * callproc.c (egetenv): GC docs.
4656 * console-msw.h (struct mswindows_dialog_id):
4657 * lrecord.h (lrecord_type):
4658 New object for use with MSW dialogs.
4660 * console.h (struct console_methods):
4661 New enable/disable frame methods, for proper modal dialogs.
4663 * device-msw.c (msprinter_default_printer): Fix to follow
4664 proper Mule conventions.
4667 * device-msw.c (signal_open_printer_error):
4668 * device-msw.c (msprinter_init_device):
4669 * device-msw.c (ensure_not_printing):
4670 * device-msw.c (plist_get_margin):
4671 * device-msw.c (Fmsprinter_select_settings):
4672 * device-msw.c (finalize_devmode):
4673 * device-msw.c (Fmsprinter_settings_despecialize):
4674 * device-msw.c (signal_enum_priner_error):
4675 * extents.c (decode_extent):
4676 * extents.c (decode_map_extents_flags):
4677 * extents.c (decode_extent_at_flag):
4678 * extents.c (Fextent_at):
4679 * extents.c (Fextents_at):
4680 * extents.c (symbol_to_glyph_layout):
4681 [[[[2]]]] Use structured errors.
4684 * dialog-msw.c (mswindows_is_dialog_msg):
4685 * dialog-msw.c (mark_mswindows_dialog_id):
4686 * dialog-msw.c (dialog_proc):
4687 * dialog-msw.c (handle_question_dialog_box):
4688 * dialog-msw.c (syms_of_dialog_mswindows):
4689 Define new object to clean up marking; use it as a dialog identifier.
4690 Call new delete-dialog-box-hook.
4692 * dialog-x.c (dbox_selection_callback):
4693 * dialog-x.c (dbox_descriptor_to_widget_value):
4694 * dialog-x.c (x_make_dialog_box_internal):
4695 Call new delete-dialog-box-hook.
4699 * dialog.c (syms_of_dialog):
4700 * dialog.c (vars_of_dialog):
4701 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
4704 * eval.c (signal_call_debugger):
4705 when noninteractive, output stack traces on the console instead
4706 of in a (never-seen) buffer.
4708 * eval.c (signal_type_error):
4709 * eval.c (invalid_argument_2):
4711 new funs for use w/structured errors.
4714 * event-Xt.c (x_to_emacs_keysym):
4715 * event-Xt.c (describe_event):
4716 * event-Xt.c (emacs_Xt_event_handler):
4717 * event-Xt.c (vars_of_event_Xt):
4719 * event-msw.c (mswindows_wnd_proc):
4720 * event-msw.c (vars_of_event_mswindows):
4721 rename {x,mswindows}-debug-events to debug-{}-events for
4722 consistency with other debug-foo variables.
4725 document next-event more clearly.
4727 * fileio.c (Ffile_name_directory):
4728 * fileio.c (Ffile_name_nondirectory):
4729 * fileio.c (Funhandled_file_name_directory):
4730 * fileio.c (file_name_as_directory):
4731 * fileio.c (Ffile_name_as_directory):
4732 * fileio.c (directory_file_name):
4733 * fileio.c (Fdirectory_file_name):
4734 * fileio.c (Fmake_temp_name):
4735 * fileio.c (Ffile_truename):
4736 * fileio.c (Fsubstitute_in_file_name):
4737 * fileio.c (expand_and_dir_to_file):
4738 * fileio.c (barf_or_query_if_file_exists):
4739 * fileio.c (check_executable):
4740 * fileio.c (Ffile_exists_p):
4741 * fileio.c (Ffile_writable_p):
4742 * fileio.c (Ffile_directory_p):
4743 * fileio.c (Ffile_regular_p):
4744 * fileio.c (Ffile_modes):
4745 * fileio.c (Ffile_newer_than_file_p):
4746 * fileio.c (Fverify_visited_file_modtime):
4747 * fileio.c (Fset_visited_file_modtime):
4748 * fileio.c (auto_save_1):
4753 * frame-msw.c (mswindows_init_frame_1):
4754 * frame-msw.c (mswindows_enable_frame):
4755 * frame-msw.c (error_frame_unsizable):
4756 * frame-msw.c (msprinter_init_frame_1):
4757 * frame-msw.c (msprinter_init_frame_3):
4758 * frame-msw.c (console_type_create_frame_mswindows):
4760 implement new enable/disable frame methods.
4763 * frame-x.c (x_enable_frame):
4764 * frame-x.c (console_type_create_frame_x):
4765 implement new enable/disable frame methods.
4768 * frame.c (Fdisable_frame):
4769 * frame.c (syms_of_frame):
4770 * frame.h (struct frame):
4771 implement new enable/disable frame methods/functions.
4776 * glyphs-msw.c (mswindows_widget_instantiate):
4777 comment that initial-focus should be implemented.
4780 * glyphs-widget.c (check_valid_instantiator):
4781 * glyphs-widget.c (check_valid_orientation):
4782 * glyphs-widget.c (check_valid_tab_orientation):
4783 * glyphs-widget.c (check_valid_justification):
4784 * glyphs-widget.c (check_valid_border):
4785 * glyphs-widget.c (check_valid_callback):
4786 * glyphs-widget.c (check_valid_int_or_function):
4787 * glyphs-widget.c (check_valid_string_or_vector):
4788 * glyphs-widget.c (check_valid_item_list_1):
4789 * glyphs-widget.c (widget_validate):
4790 * glyphs-widget.c (combo_box_validate):
4791 * glyphs-widget.c (widget_instantiate):
4792 * glyphs-widget.c (syms_of_glyphs_widget):
4793 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
4794 * glyphs-widget.c (image_instantiator_combo_box):
4795 * glyphs-widget.c (image_instantiator_scrollbar):
4796 * glyphs-widget.c (image_instantiator_tab_control):
4797 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
4799 support (unimplemented) keyword initial-focus.
4800 reindent long macros.
4802 * glyphs-x.c (x_redisplay_widget):
4803 * glyphs-x.c (x_button_instantiate):
4804 * glyphs-x.c (x_button_redisplay):
4805 * glyphs-x.c (x_progress_gauge_instantiate):
4806 * glyphs-x.c (x_edit_field_instantiate):
4807 * glyphs-x.c (x_combo_box_instantiate):
4808 * glyphs-x.c (x_tab_control_instantiate):
4809 * glyphs-x.c (x_label_instantiate):
4811 * gui-x.c (button_item_to_widget_value):
4812 * gui-x.c (gui_items_to_widget_values_1):
4813 * gui-x.c (gui_item_children_to_widget_values):
4814 * gui-x.c (gui_items_to_widget_values):
4816 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4817 add new flag to gui-parsing routines to indicate whether
4818 accelerator specs should be supported.
4820 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
4822 * glyphs.h (struct Lisp_Image_Instance):
4823 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
4824 add initial-focus flag.
4827 * gui.c (syms_of_gui):
4828 * gui.c (vars_of_gui):
4829 clean up menu-no-selection-hook.
4832 support delete-dialog-box-hook.
4834 * lread.c (Fload_internal):
4835 * lread.c (locate_file_in_directory_mapper):
4839 * lrecord.h (struct toolbar_button):
4840 * lrecord.h (syms_of_toolbar):
4841 document how to create a new object.
4843 * menubar-msw.c (mswindows_char_is_accelerator):
4844 may be called on frames w/o menus.
4846 * menubar.c (vars_of_menubar):
4847 clean up :filter docs.
4854 * process-nt.c (validate_signal_number):
4855 * process-nt.c (signal_cannot_launch):
4856 * process-nt.c (nt_create_process):
4857 * process-nt.c (nt_send_process):
4858 * process-nt.c (nt_kill_child_process):
4859 * process-nt.c (nt_open_network_stream):
4860 * process-nt.c (syms_of_process_nt):
4862 delete quote-handling. call new lisp code that does it better.
4864 * process-unix.c (connect_to_file_descriptor):
4865 * process-unix.c (allocate_pty):
4866 * process-unix.c (unix_send_process):
4867 * process-unix.c (unix_kill_child_process):
4868 * process-unix.c (unix_open_network_stream):
4869 * process-unix.c (unix_open_multicast_group):
4873 * process.c (Fstart_process_internal):
4874 (2). need to canonicalize process path even if absolute.
4876 * select-msw.c (symbol_to_ms_cf):
4877 * select-msw.c (ms_cf_to_symbol):
4878 * select-msw.c (cf_is_autofreed):
4879 * select-msw.c (mswindows_destroy_selection):
4881 * select.c (syms_of_select):
4883 support dibv5, fix bugs. (from Mike Alexander)
4885 * select.c (Fget_selection_internal):
4886 * select.c (select_convert_out):
4889 * sysdep.c (xemacs_stat):
4894 but keep original stat() here because we provide encapsulation
4898 * sysfile.h (fstat):
4899 remove stat garbage.
4903 don't include tchar.h. it's inappropriate because it makes
4904 compile-time distinctions when we want runtime distinctions.
4905 (we provide our own tchar replacements)
4908 use default object printer for toolbar-button.
4911 make sure we don't encapsulate.
4913 * window.c (vars_of_window):
4914 emphasize that temp-buffer-show-hook is obsolete.
4916 2000-08-05 Martin Buchholz <martin@xemacs.org>
4918 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
4919 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
4921 * events.c (Fevent_timestamp_lessp):
4922 Not 64-bit clean. Use EMACS_INT, not int.
4924 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
4926 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
4927 unsigned int and changed the last enum to
4928 lrecord_type_last_built_in_type.
4929 (lrecord_implementations_table): changed prototype to know how
4930 long the array is supposed to be.
4931 (lrecord_type_count): new unsigned int to keep track of the
4932 current number of lisp lrecord types.
4933 (DEFINE_EXTERNAL_LRECORD):
4934 (DECLARE_EXTERNAL_LRECORD): Added these two for external
4935 dynamic-modules to declare new lisp types. They are the same
4936 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
4937 int for each new type, and increment lrecord_type_count by 1.
4939 * alloc.c (lrecord_implementations_table): Changed to reference
4940 lrecord_type_last_built_in_type for the size of the array.
4941 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
4943 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4945 * glyphs.h (check_valid_item_list): Renamed from
4946 check_valid_item_list_1.
4948 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
4950 * select.c (Qselect_coerce): New.
4951 * select.c (Vselection_coercion_alist): New.
4952 * select.c (syms_of_select): Declare.
4953 * select.c (get-selection-internal): Use it.
4954 Use the new select-coerce functionality.
4956 * select.c (select_coerce): New.
4957 * select.h (select_coerce): Declare.
4958 New function to coerce one type of data into another.
4960 2000-08-03 Martin Buchholz <martin@xemacs.org>
4962 * callproc.c (Fcall_process_internal):
4963 (Fcall_process_internal):
4964 * process-unix.c (unix_create_process):
4965 Save and restore the value of errno, so that error messages are accurate.
4967 2000-08-01 Martin Buchholz <martin@xemacs.org>
4969 * elhash.c (print_hash_table):
4970 Fix printing of hash tables to also use `key-and-value' instead of `t'.
4971 Prettify docstrings and indentation.
4973 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4975 * window.c (Fwindow_pixel_edges): Subtract frame border and
4978 2000-07-31 Andy Piper <andy@xemacs.org>
4980 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
4981 will acknowledge the change.
4983 * glyphs.h: declare tab_control_order_only_changed.
4985 * glyphs-x.c (x_tab_control_redisplay): use
4986 tab_control_order_only_changed.
4988 * glyphs-widget.c (tab_control_order_only_changed): new function.
4990 * glyphs-msw.c (mswindows_tab_control_redisplay): use
4991 tab_control_order_only_changed.
4993 * gui.c (gui_item_equal_sans_selected): new function.
4994 (gui_item_equal): use it.
4996 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
4997 :properties in favor of :items..
4999 * glyphs-widget.c (check_valid_item_list): rename from
5000 check_valid_item_list_1.
5001 (check_valid_item_list_1): renamed.
5002 (combo_box_validate): deprecate :properties in favor of :items.
5003 (widget_instantiate): ditto.
5004 (tab_control_update): ditto.
5005 (image_instantiator_combo_box): ditto.
5006 (image_instantiator_tree_view): ditto.
5007 (image_instantiator_tab_control): ditto.
5008 (layout_post_instantiate): remove dead code.
5010 * print.c (debug_print_no_newline): only write to debugger if in
5013 * elhash.c (Fmake_hash_table): update doc string.
5015 * event-msw.c (mswindows_wnd_proc): don't allow processing of
5016 messages whilst in GC. This at least stops XEmacs crashing but has
5017 the potential for wierd behaviour.
5019 2000-07-31 Martin Buchholz <martin@xemacs.org>
5022 Make existence of s&m files optional.
5024 * s/bsd386.h: Remove HAVE_GETLOADAVG.
5025 * s/freebsd.h: Remove HAVE_GETLOADAVG.
5026 * s/gnu.h: Remove HAVE_GETLOADAVG.
5027 * s/netbsd.h: Remove HAVE_GETLOADAVG.
5028 * s/sol2.h: Remove HAVE_GETLOADAVG.
5029 * lisp.h: Remove getloadavg() declaration.
5031 Include <sys/loadavg.h> if available.
5032 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
5033 * config.h.in: Group together getloadavg()-related macros.
5034 Use only configure-time tests to detect getloadavg().
5036 2000-07-30 Martin Buchholz <martin@xemacs.org>
5038 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
5040 2000-07-25 Andy Piper <andy@xemacs.org>
5042 * syswindows.h: add tchar.h for native builds.
5044 * frame.c (syms_of_frame): remove set-glyph-image.
5046 * general-slots.h: add Qset_glyph_image.
5048 * glyphs-widget.c (layout_update): add domain arg to
5050 (syms_of_glyphs_widget): remove set-glyph-image.
5052 2000-07-23 Ben Wing <ben@xemacs.org>
5054 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
5057 2000-07-22 Andy Piper <andy@xemacs.org>
5059 * symsinit.h: add syms_of_win32().
5061 * gui-msw.c (syms_of_gui_mswindows): remove
5062 Fmswindows_shell_execute.
5063 (Fmswindows_shell_execute): moved to win32.c.
5065 * emacs.c (main_1): add syms_of_win32 ().
5067 * win32.c (init_potentially_nonexistent_functions): rewrite in
5068 compiler-friendly terms.
5069 (Fmswindows_shell_execute): move here from gui-msw.c.
5070 (syms_of_win32): new.
5072 * device-msw.c (Fmswindows_printer_list): clean up args to
5074 Don't include tchar under cygwin or mingw.
5075 (msprinter_default_printer): make cygwin-friendly.
5077 2000-07-21 Andy Piper <andy@xemacs.org>
5079 * glyphs-widget.c (image_instantiator_tree_view): use tab
5080 control's update function.
5081 (layout_property): new function. Retrieve items.
5083 * glyphs-msw.c (mswindows_tree_view_redisplay): new
5084 function. Re-populate the tree view from the pending items.
5086 * glyphs.c (instantiate_image_instantiator): Make sure the domain
5087 is designated the parent if the domain is an image instance. This
5088 is needed so that dirtiness can be cascade up the hierarchy and
5089 thus for layout children to be redisplayed correctly.
5090 (allocate_image_instance): rename glyph -> parent.
5092 * redisplay.h: change redisplay_output_layout signature.
5094 * redisplay-msw.c (mswindows_output_display_block): use domain
5097 * redisplay-x.c (x_output_display_block): use domain arg.
5099 2000-07-10 Andy Piper <andy@xemacs.org>
5101 * window.c (Fset_window_configuration): add comment.
5103 * redisplay-output.c (compare_runes):
5104 (redisplay_output_subwindow): redisplay rather than update subwindow.
5105 (redisplay_output_layout): ditto.
5107 * redisplay-msw.c (mswindows_frame_output_end):
5108 (mswindows_frame_output_end): make defer window pos optional.
5110 * lisp.h: add Flast.
5112 * glyphs.h (struct image_instantiator_methods): add dest_mask top
5113 normalize method. Change update method to be for changed
5114 instantiators. Add redisplay method. Change signature of layout
5116 (struct Lisp_Image_Instance): add instantiator.
5117 (IMAGE_INSTANCE_INSTANTIATOR): new.
5118 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
5119 (XIMAGE_INSTANCE_INSTANTIATOR): new.
5120 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
5123 (find_instantiator_differences): new function.
5124 (Fset_instantiator_property): new convenience function.
5125 (check_image_instance_structure): strictly check for vector
5127 (normalize_image_instantiator): make non-static.
5128 (instantiate_image_instantiator): pass on dest_mask and use new
5129 signatures for image_instance_layout and friends.
5130 (mark_image_instance): mark the instantiator. Mark the subwindow
5131 face not the widget face.
5132 (image_instance_equal): add instantiator.
5133 (image_instance_hash): ditto.
5134 (allocate_image_instance): ditto.
5135 (Fset_image_instance_property): removed.
5136 (Fimage_instance_file_name): ditto.
5137 (Fcolorize_image_instance): ditto.
5138 (image_instance_layout): add offsets to be set.
5139 (update_image_instance): new function. update an image instance
5140 from its changed instantiator.
5141 (inherit_normalize): add dest_mask.
5142 (xbm_normalize): ditto.
5143 (xface_normalize): ditto.
5144 (xpm_normalize): ditto.
5145 (text_update): set_property -> update.
5146 (image_instantiate): use the glyph identity as a hash key, not the
5148 (glyph_width): use new image_instance_layout signature.
5149 (glyph_ascent): ditto.
5150 (glyph_descent): ditto.
5151 (glyph_height): ditto.
5152 (glyph_query_geometry): ressurrect.
5153 (glyph_layout): ditto.
5154 (redisplay_subwindow): update -> redisplay.
5155 (syms_of_glyphs): add Fset_instantiator_property.
5156 (image_instantiator_format_create): set_property -> update.
5159 (autodetect_normalize): add dest_maks to signature.
5160 (x_redisplay_subwindow): update -> redisplay.
5161 (x_redisplay_widget): ditto.
5162 (x_button_redisplay): ditto.
5163 (x_progress_gauge_redisplay): ditto.
5164 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
5166 (console_type_create_glyphs_x): update -> redisplay.
5167 (image_instantiator_format_create_glyphs_x): ditto.
5170 (check_valid_instantiator): disallow glyphs in the instantiator,
5171 they must now be vectors.
5172 (check_valid_instantiator_list): ditto.
5173 (glyph_instantiator_to_glyph): use internal symbol rather than
5175 (widget_update): renamed from widget_set_property. Call cascaded
5177 (redisplay_widget): renamed from update_widget.
5178 (widget_layout): image_instance_layout now takes position as well
5180 (widget_normalize): ditto.
5181 (widget_instantiate): ditto.
5182 (tab_control_query_geometry) ditto.:
5183 (tab_control_update): renamed from tab_control_set_property.
5184 (progress_gauge_update): set_property -> update.
5185 (layout_normalize): rewrite so that child instantiators are
5187 (layout_update): new function. Create glyphs from the normalized
5188 children and cope with any other layout keywords. We do not
5189 instantiate children here that will be take care of by
5190 redisplay_output_layout.
5191 (layout_instantiate): call layout_update and not much else.
5192 (layout_post_instantiate): not sure whether this is needed
5194 (layout_query_geometry): query glyph geometry rather than
5195 image_instance geometry.
5196 (layout_layout): set offsets from pass in parameters. Use glyph
5197 geometry and layout functions rather than image instance ones.
5198 (native_layout_layout): ditto.
5199 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
5200 (image_instantiator_widget): set_property -> update.
5201 (image_instantiator_buttons): ditto.
5202 (image_instantiator_progress_guage): ditto.
5203 (image_instantiator_tab_control): ditto.
5204 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
5205 (image_instantiator_layout): add update method.
5207 * glyphs-msw.c (bmp_normalize):
5208 (mswindows_resource_normalize): add dest_mask so that it can be
5209 proprogated by layout_normalize.
5210 (begin_defer_window_pos): make optional because it may not be the
5211 right thing to do and it introduces differences with X.
5212 (mswindows_unmap_subwindow): ditto.
5213 (mswindows_map_subwindow): ditto.
5214 (mswindows_redisplay_subwindow): renamed from
5215 mswindows_update_subwindow.
5216 (mswindows_redisplay_widget): ditto.
5217 (mswindows_button_redisplay): renamed from
5218 mswindows_button_update. Update is now what the instantiation
5219 function does for a changed instantiator.
5220 (mswindows_progress_gauge_instantiate): set the progress value
5221 here if appropriate.
5222 (mswindows_tab_control_redisplay): cope with re-ordering of the
5223 members of the tab widget by simply selecting the new top
5224 widget. This makes things appear ok if you click on a tab.
5225 (mswindows_combo_box_instantiate): image_instance_layout now takes
5226 position as well as size.
5227 (mswindows_progress_gauge_redisplay): renamed from
5228 mswindows_progress_gauge_update.
5229 (console_type_create_glyphs_mswindows): fix update -> redisplay.
5230 (image_instantiator_format_create_glyphs_mswindows): ditto.
5232 * glyphs-eimage.c (jpeg_normalize):
5235 (tiff_normalize): add dest_mask so that it can be proprogated by
5240 (hash_table_weakness_validate):
5241 (decode_hash_table_weakness):
5242 (Fhash_table_weakness):
5244 (syms_of_elhash): use Ben's naming scheme for hashtable types..
5246 * console.h (struct console_methods): move update_* to
5249 2000-07-20 Ben Wing <ben@xemacs.org>
5251 * *.[ch] (XSETOBJ): remove unused middle argument.
5252 lisp-disunion.h: correct wrap_object() to one argument.
5254 2000-07-15 Ben Wing <ben@xemacs.org>
5257 * s/cygwin32.h (CYGWIN_CONV_PATH):
5258 Add missing logb prototype for v1.1.
5259 Use post-b20 names and alias to pre-b20 names when pre-b20.
5261 * s/windowsnt.h: [5].
5263 2000-07-15 Ben Wing <ben@xemacs.org>
5265 * Makefile.in.in (x_objs):
5266 * Makefile.in.in (sheap_objs):
5267 * Makefile.in.in (objs):
5268 added win32.o, cosmetic cleanups.
5270 * alloc.c (Fmake_byte_code):
5271 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
5272 etc. macros which declare their own args now.
5274 * alloc.c (syms_of_alloc):
5275 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
5278 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
5280 * buffer.c (Fget_file_buffer):
5281 Fixed GCPRO problem.
5283 * buffer.c (get_truename_buffer):
5284 Fixed comment about GC checking.
5286 * buffer.c (syms_of_buffer):
5287 Undeclared those dedicated frame funs.
5291 Define convenience macros for internal/external conversions.
5292 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
5293 and Qenvironment_variable_encoding for cleaner code.
5296 Remove dedicated-frame; in lisp.
5298 * bytecode.c (funcall_compiled_function):
5301 * bytecode.c (syms_of_bytecode):
5305 * console-msw.c (mswindows_show_console): Rewrote.
5307 * console-msw.c (Fmswindows_debugging_output): New.
5308 Sends to OutputDebugString (special MSWin debugger interface).
5310 * console-msw.c (Fmswindows_message_box):
5311 Fixed stupid bugs so it works when called from kill-emacs.
5313 * console-msw.c (syms_of_console_mswindows):
5314 Declare Fmswindows_debugging_output.
5317 New MSWin prototypes.
5319 * console-msw.h (struct mswindows_frame):
5320 New entry last-click-mods for improved button-modifier support.
5322 * console-msw.h (FRAME_MSWINDOWS_POPUP):
5323 New struct entry `popup' with corresponding accessor.
5326 * console-x.c (split_up_display_spec):
5327 * console-x.c (get_display_arg_connection):
5328 * console-x.c (x_semi_canonicalize_console_connection):
5329 * console-x.c (x_canonicalize_device_connection):
5330 [[[6]]]: Change char to more specific type.
5331 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
5333 * console-x.c (x_semi_canonicalize_console_connection):
5334 * console-x.c (x_canonicalize_device_connection):
5335 [[[9]]]: Fix up error signalling to use new structured error system.
5338 [[[4]]]: Define codesys aliases:
5339 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
5340 Qx_color_name_encoding, Qx_display_name_encoding.
5342 * console.h (struct console_methods):
5343 New method make_dialog_box_internal supersedes older
5344 popup_dialog_box method.
5347 Define many new errors, part of new structured errors.
5349 * data.c (init_errors_once_early):
5350 * data.c (syms_of_data):
5353 * device-msw.c (mswindows_init_device):
5354 [[[5]]]: Cleanup to support NT 3.51.
5356 * device-msw.c (decode_devmode): Cleanup.
5358 * device-msw.c (mswindows_handle_print_setup_dialog_box):
5359 * device-msw.c (mswindows_handle_print_dialog_box):
5360 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5361 * device-msw.c (syms_of_device_mswindows):
5362 Delete the dialog box primitives recently introduced by Kirill and
5363 instead interface to general dialog box interface.
5366 * device-x.c (compute_x_app_name):
5367 * device-x.c (x_init_device):
5368 * device-x.c (Fx_valid_keysym_name_p):
5369 * device-x.c (Fx_set_font_path):
5373 * device.h (wrap_device): New.
5374 First of its kind; meant to replace XSETDEVICE.
5376 * dialog-msw.c: Many file-dialog symbols.
5378 * dialog-msw.c (mswindows_register_popup_frame): New.
5379 * dialog-msw.c (mswindows_is_dialog_msg): New.
5380 For supporting kbd traversal in dialog boxes.
5382 * dialog-msw.c (dialog_proc):
5383 Support hitting ESC in dialogs.
5385 * dialog-msw.c (struct):
5386 Common dialog box errors.
5388 * dialog-msw.c (handle_file_dialog_box): New.
5389 Add file dialog code.
5391 * dialog-msw.c (handle_question_dialog_box):
5392 Redo existing code to support new question dialog syntax.
5394 * dialog-msw.c (console_type_create_dialog_mswindows):
5395 We support new dialog console method.
5397 * dialog-msw.c (syms_of_dialog_mswindows):
5398 * dialog-msw.c (vars_of_dialog_mswindows):
5399 New file dialog symbols, vars.
5402 * dialog-x.c (maybe_run_dbox_text_callback):
5403 * dialog-x.c (dbox_descriptor_to_widget_value):
5404 * dialog-x.c (x_make_dialog_box_internal):
5405 * dialog-x.c (console_type_create_dialog_x):
5406 Mule-ize entire file.
5407 Redo to support question dialog syntax.
5411 * dialog.c (Fmake_dialog_box_internal):
5412 * dialog.c (syms_of_dialog):
5413 Kill old popup-dialog-box, replace with new primitive.
5414 Just call device method or signal error.
5416 * eldap.c (Fldap_open):
5417 * eldap.c (Fldap_search_basic):
5418 * eldap.c (Fldap_add):
5419 * eldap.c (Fldap_modify):
5424 * emacs.c (make_arg_list_1):
5425 * emacs.c (make_arg_list):
5426 Mule-ize call to dll_init().
5430 * emacs.c (make_argc_argv):
5431 * emacs.c (free_argc_argv):
5432 * emacs.c (init_cmdargs):
5434 * emacs.c (Fkill_emacs):
5435 * emacs.c (Fdump_emacs):
5436 Update comments about what can be used in syms_* etc.
5437 Call init_win32() when necessary.
5438 Fix up MS Win dialog box in kill-buffer to actually work right.
5449 * eval.c (condition_case_3):
5451 * eval.c (function_argcount):
5452 * eval.c (funcall_lambda):
5455 * eval.c (type_error): New.
5456 * eval.c (maybe_type_error): New.
5457 * eval.c (continuable_type_error): New.
5458 * eval.c (maybe_continuable_type_error): New.
5459 * eval.c (type_error_with_frob): New.
5460 * eval.c (maybe_type_error_with_frob): New.
5461 * eval.c (continuable_type_error_with_frob): New.
5462 * eval.c (maybe_continuable_type_error_with_frob): New.
5463 New functions for use with structured errors.
5466 * event-Xt.c (x_event_to_emacs_event):
5467 Buttons are now modifiers too.
5469 * event-Xt.c (emacs_Xt_current_event_timestamp):
5470 Implement new event method.
5471 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
5474 * event-msw.c (ntpipe_shove_writer): [5].
5475 * event-msw.c (mswindows_enqueue_mouse_button_event):
5476 * event-msw.c (mswindows_drain_windows_queue):
5477 * event-msw.c (mswindows_wnd_proc): [7].
5478 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
5479 * event-msw.c (mswindows_modifier_state):
5480 Throughout: support new button modifiers.
5482 * event-msw.c (emacs_mswindows_current_event_timestamp):
5483 Implement new event method.
5484 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
5487 * event-stream.c (event_stream_current_event_timestamp): New.
5488 * event-stream.c (maybe_kbd_translate): New functionality.
5489 * event-stream.c (vars_of_event_stream):
5490 Document new kbd-translate-table functionality.
5492 * event-stream.c (Fcurrent_event_timestamp): New.
5493 New primitive for use in fabricated events.
5494 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
5496 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
5499 * events.c (Fmake_event):
5500 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
5504 * events.c (format_event_object): fix gcc warnings.
5506 * events.c (Fevent_timestamp): Document new primitives.
5508 * events.c (TIMESTAMP_HALFSPACE): New.
5510 * events.c (Fevent_timestamp_lessp): New. New primitive for
5511 comparing timestamps correctly (half-space algorithm).
5513 * events.c (Fevent_modifier_bits): Doc fix.
5515 * events.c (Fevent_modifiers): Major doc addition.
5516 * events.c (event_x_y_pixel_internal): Typo fix.
5517 * events.c (syms_of_events): Declare new primitives.
5520 Update long comment for button modifiers, timestamps.
5522 * events.h (struct event_stream):
5523 New current_event_timestamp method.
5526 * extents.c (extent_in_region_p):
5527 * extents.c (decode_extent):
5528 * extents.c (Fset_extent_parent):
5529 * extents.c (decode_map_extents_flags):
5533 * extents.c (struct extent_at_arg):
5534 * extents.c (decode_extent_at_flag):
5535 * extents.c (extent_at_mapper):
5536 * extents.c (extent_at_bytind):
5537 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
5538 * extents.c (Fextents_at): New primitive. [9].
5539 * extents.c (symbol_to_glyph_layout): [9].
5540 Support new primitive `extents-at'.
5543 * extents.c (get_text_property_bytind):
5544 extent_at_bytind has another arg.
5547 * extents.c (syms_of_extents): New primitive.
5549 * file-coding.c (Fmake_coding_system): [1].
5550 * file-coding.c (subsidiary_coding_system): fix gcc warning
5551 * file-coding.c (syms_of_file_coding): [2].
5553 * fileio.c (Fexpand_file_name):
5554 * fileio.c (Fsysnetunam):
5555 * fileio.c (Ffile_exists_p):
5556 * fileio.c (Ffile_executable_p):
5557 * fileio.c (Fverify_visited_file_modtime):
5560 * fileio.c (syms_of_fileio): [2].
5562 * filelock.c (lock_file_1):
5563 * filelock.c (current_lock_owner):
5564 * filelock.c (lock_if_free):
5565 * filelock.c (lock_file):
5566 * filelock.c (unlock_file):
5569 * fns.c (concat): Fix gcc warning.
5572 * fns.c (Fold_member):
5574 * fns.c (Fold_memq):
5575 * fns.c (memq_no_quit):
5577 * fns.c (Fold_assoc):
5579 * fns.c (Fold_assq):
5580 * fns.c (assq_no_quit):
5582 * fns.c (Fold_rassoc):
5584 * fns.c (Fold_rassq):
5585 * fns.c (rassq_no_quit):
5587 * fns.c (Fold_delete):
5589 * fns.c (Fold_delq):
5590 * fns.c (delq_no_quit):
5591 * fns.c (Fremassoc):
5593 * fns.c (remassq_no_quit):
5594 * fns.c (Fremrassoc):
5595 * fns.c (Fremrassq):
5596 * fns.c (remrassq_no_quit):
5601 * frame-msw.c (mswindows_init_frame_1):
5602 * frame-msw.c (mswindows_delete_frame):
5603 Register popups with dialog code so keyboard traversing works.
5605 * frame-tty.c (tty_raise_frame_no_select): [1].
5608 * frame-x.c (x_set_frame_text_value):
5609 * frame-x.c (x_set_frame_properties):
5610 * frame-x.c (x_create_widgets):
5614 * frame.c (Fmouse_pixel_position): Minor doc fixes.
5616 * frame.h (wrap_frame): New.
5617 Macro like wrap_device.
5620 * general.c (SYMBOL):
5621 * general.c (syms_of_general):
5622 Major reorg. This is now just a wrapper and symbols themselves
5623 are listed in general-slots.h.
5625 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
5626 * glyphs-msw.c (mswindows_resource_instantiate): [5].
5628 * glyphs-msw.c (mswindows_native_layout_instantiate):
5629 Add DS_CONTROL so keyboard traversal will work.
5632 * glyphs-widget.c (syms_of_glyphs_widget):
5633 Move some symbols to general-slots.h.
5636 * glyphs-x.c (xbm_instantiate_1):
5637 * glyphs-x.c (x_xbm_instantiate):
5638 * glyphs-x.c (x_xface_instantiate):
5639 * glyphs-x.c (autodetect_instantiate):
5640 * glyphs-x.c (cursor_font_instantiate):
5641 * glyphs-x.c (x_update_widget):
5642 * glyphs-x.c (x_widget_instantiate):
5643 * glyphs.c (bitmap_to_lisp_data):
5644 * glyphs.c (pixmap_to_lisp_data):
5647 * glyphs.c (syms_of_glyphs):
5651 * gui-x.c (print_widget_value):
5652 * gui-x.c (menu_separator_style_and_to_external):
5653 * gui-x.c (add_accel_and_to_external):
5654 * gui-x.c (button_item_to_widget_value):
5655 * gui-x.c (gui_items_to_widget_values_1):
5656 * gui-x.c (gui_items_to_widget_values):
5657 * gui-x.c (syms_of_gui_x):
5658 * gui-x.c (vars_of_gui_x):
5659 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
5663 Muleize, prototype changes matching gui-x.c.
5666 * gui.c (separator_string_p):
5667 * gui.c (gui_item_add_keyval_pair):
5668 * gui.c (make_gui_item_from_keywords_internal):
5669 * gui.c (signal_too_long_error):
5670 * gui.c (parse_gui_item_tree_item):
5671 * gui.c (syms_of_gui):
5672 * gui.c (vars_of_gui):
5674 menu-no-selection-hook moved here (used by MSWin).
5675 Move some symbols to general-slots.h.
5679 * insdel.c (get_buffer_pos_char):
5680 * insdel.c (get_buffer_range_char):
5683 * keymap.c (keymap_lookup_directly):
5684 * keymap.c (keymap_store):
5685 * keymap.c (ensure_meta_prefix_char_keymapp):
5686 * keymap.c (describe_map):
5688 Support new button modifiers.
5690 * lisp-disunion.h (wrap_object):
5691 * lisp-disunion.h (XSETOBJ):
5692 Rename make_obj to wrap_object.
5695 * lisp-union.h (make_int):
5696 * lisp-union.h (make_char):
5697 Support wrap_object.
5700 * lisp.h (LIST_LOOP):
5701 * lisp.h (EXTERNAL_LIST_LOOP):
5702 * lisp.h (LIST_LOOP_2):
5703 * lisp.h (EXTERNAL_LIST_LOOP_1):
5704 * lisp.h (EXTERNAL_LIST_LOOP_2):
5705 * lisp.h (EXTERNAL_LIST_LOOP_3):
5706 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
5707 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5708 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
5709 * lisp.h (EXTERNAL_ALIST_LOOP_5):
5710 * lisp.h (EXTERNAL_ALIST_LOOP_6):
5711 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
5712 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
5713 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
5714 * lisp.h (struct Lisp_Symbol):
5715 * lisp.h (maybe_continuable_error_with_frob):
5716 Fix up section comments.
5717 Add new types for char to indicate usage.
5718 Delete symbols auto-generated from general-slots.h.
5719 Add prototypes for structured error functions.
5720 Add long comments describing looping macros and change interface
5721 so that lvalues are automatically declared.
5722 Add NO_DECLARE macro in case callers want to declare lvalues
5725 * lread.c (read_syntax_error):
5726 * lread.c (continuable_read_syntax_error):
5727 * lread.c (read_structure):
5728 * lread.c (sequence_reader):
5729 * lread.c (read_list_conser):
5730 * lread.c (read_compiled_function):
5731 Rename syntax_error and continuable_syntax_error to avoid clash
5732 with same-named structured error functions.
5734 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5735 * menubar-msw.c (populate_menu_add_item):
5736 * menubar-msw.c (populate_or_checksum_helper):
5741 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5742 Mule-ize whole file.
5744 * menubar.c (Fnormalize_menu_item_name): Add optimization.
5746 * mule-charset.c (Fmake_charset):
5747 * mule-wnnfns.c (Fwnn_set_param):
5750 * ntproc.c (create_child):
5751 * ntproc.c (Fwin32_set_current_locale):
5752 Add comments portending doom.
5755 * objects-msw.c (old_font_enum_callback_2):
5756 * objects-msw.c (font_enum_callback_1):
5757 * objects-msw.c (mswindows_enumerate_fonts):
5761 * objects-x.c (allocate_nearest_color):
5762 * objects-x.c (x_parse_nearest_color):
5763 * objects-x.c (x_initialize_color_instance):
5764 * objects-x.c (x_print_color_instance):
5765 * objects-x.c (x_finalize_color_instance):
5766 * objects-x.c (x_valid_color_name_p):
5767 * objects-x.c (x_initialize_font_instance):
5768 * objects-x.c (x_print_font_instance):
5769 * objects-x.c (valid_x_font_name_p):
5770 * objects-x.c (truename_via_FONT_prop):
5771 * objects-x.c (truename_via_random_props):
5772 * objects-x.c (truename_via_XListFonts):
5773 * objects-x.c (x_font_truename):
5774 * objects-x.c (x_font_instance_truename):
5775 * objects-x.c (x_font_instance_properties):
5776 * objects-x.c (x_list_fonts):
5777 * objects-x.c (x_find_charset_font):
5778 Mule-ize entire file.
5785 * print.c (std_handle_out_external):
5786 * print.c (debug_print_no_newline):
5787 * print.c (syms_of_print):
5788 Output to all debugger kinds in debug-print.
5789 Fix console-output code under MSWin to actually work.
5791 * process-nt.c (send_signal):
5792 * process-nt.c (nt_create_process):
5793 Use newer Unicode macros.
5795 * process-unix.c (unix_create_process):
5796 * process-unix.c (unix_canonicalize_host_name):
5797 * process-unix.c (unix_open_network_stream):
5803 * search.c (syms_of_search):
5806 * select-msw.c (mswindows_destroy_selection):
5809 * select-x.c (symbol_to_x_atom):
5812 * select.c (syms_of_select):
5815 * sound.c (Fplay_sound_file):
5819 * specifier.c (decode_specifier_type):
5820 * specifier.c (Fvalid_specifier_locale_type_p):
5821 * specifier.c (check_valid_locale_or_locale_type):
5822 * specifier.c (decode_locale):
5823 * specifier.c (decode_locale_type):
5824 * specifier.c (decode_locale_list):
5825 * specifier.c (check_valid_domain):
5826 * specifier.c (decode_specifier_tag_set):
5827 * specifier.c (Fcanonicalize_tag_set):
5828 * specifier.c (Fdefine_specifier_tag):
5829 * specifier.c (Fspecifier_tag_predicate):
5830 * specifier.c (check_valid_inst_list):
5831 * specifier.c (check_valid_spec_list):
5832 * specifier.c (decode_how_to_add_specification):
5833 * specifier.c (check_modifiable_specifier):
5834 * specifier.c (specifier_add_spec):
5835 * specifier.c (boolean_validate):
5836 * specifier.c (display_table_validate):
5839 * specifier.c (syms_of_specifier):
5840 Move some symbols to general-slots.h.
5844 * symbols.c (Fmapatoms):
5845 * symbols.c (Fapropos_internal):
5848 * symbols.c (set_default_buffer_slot_variable):
5849 * symbols.c (set_default_console_slot_variable):
5852 * symbols.c (defsymbol_massage_name_1):
5853 * symbols.c (defkeyword_massage_name):
5854 * symbols.c (deferror_1):
5855 * symbols.c (deferror):
5856 * symbols.c (deferror_massage_name_and_message):
5858 * symeval.h (DEFSYMBOL):
5859 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
5861 * symbols.c (syms_of_symbols):
5865 * symsinit.h (init_win32): New.
5866 Also new is syms_of_dialog_mswindows.
5869 Add new Unicode macros, missing Cygwin wide-char functions,
5870 convenience conversion macros for Qmswindows_tstr, macros for
5871 encapsulating required MSWin <-> Cygwin filename conversions,
5872 prototype for dynamically-extracted (not in NT 3.51) functions.
5877 * tooltalk.c (Fadd_tooltalk_message_arg):
5878 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
5879 * tooltalk.c (Fadd_tooltalk_pattern_arg):
5882 * tooltalk.c (syms_of_tooltalk):
5886 * unexnt.c (unexec):
5887 Fix up headers, declaration of unexec() to be more standard.
5889 2000-07-20 Martin Buchholz <martin@xemacs.org>
5891 * offix.h: Revert change to guard macros - they're used in offix.c!
5893 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5895 * lisp.h: Defsubred Fdelete.
5897 * console-msw.h: (msprinter_default_printer): Added.
5899 * console-msw.c (msprinter_canonicalize_console_connection):
5900 (msprinter_canonicalize_device_connection): Added.
5902 * device-msw.c (msprinter_default_printer):
5903 (Fmswingows_get_default_printer):
5904 (signal_enum_priner_error):
5905 (Fmswingows_printer_list): Added.
5907 2000-07-19 Martin Buchholz <martin@xemacs.org>
5909 * XEmacs 21.2.35 is released.
5911 2000-07-19 Martin Buchholz <martin@xemacs.org>
5913 * select-x.c (x_handle_selection_request):
5914 Text selected in xemacs and pasted into xterm failed to appear.
5915 Spelling fixes and cosmetic changes.
5917 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5919 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
5920 XEmacs frame (fix for doubling chars in dialog boxes).
5922 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5924 * select.c (select_convert_in, select_convert_out):
5925 Don't call intern() every time.
5927 * select.c (Qselect_convert_in, Qselect_convert_out): New.
5928 * select.c (vars_of_select): Initialise them.
5930 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5932 * select.c (selection-coercible-types): New.
5934 * select.c (own-selection-internal):
5935 * select.c (get-selection-internal):
5936 MULE bug fix - these should default to COMPOUND_TEXT and not
5937 STRING for MULE. I think.
5939 * select.c (select_convert_out): Use selection-coercible-types
5940 to find types that we can attempt to perform coercions on.
5942 2000-07-18 Martin Buchholz <martin@xemacs.org>
5946 Add coding: cookie to identify encoding.
5948 * mule-canna.c (CANNA_mode_keys): make static.
5949 Use proper prototypes, even for functions of no arguments.
5950 Remove external prototype for Fding().
5952 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
5954 * select.c (syms_of_select): Add missing DEFSUBR.
5956 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5958 * select.c (get_selection_internal, own_selection_internal):
5959 Make the type default to STRING, rather than placing a nil type
5960 into Vselection_alist.
5962 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5964 * gpmevent.c (tty_selection_exists_p):
5965 * gpmevent.c (tty_own_selection):
5966 Updated parameter lists.
5968 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
5970 * select.h (selection-alist): Removed declaration.
5972 * select.h (get_local_selection):
5973 * select.c (get_local_selection):
5976 * select.h (convert_selection): Removed declaration.
5977 * select.c (convert_selection): Removed.
5978 This function belongs in Lisp.
5980 * select.h (select_convert_in): Declare.
5981 * select.h (select_convert_out): Declare.
5982 * select.c (select_convert_in): New.
5983 * select.c (select_convert_out): New.
5984 New conversion functions for other files to call.
5986 * select.h (select_notify_buffer_kill): Declare.
5987 * select.c (select_notify_buffer_kill): New.
5988 New functions that get called from kill-buffer.
5990 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
5991 X-specific lisp code.
5993 * select.h: Declare some of the lisp-visible functions for
5996 * select.c (clean_local_selection_data): Removed. This was
5997 a disgusting function, and previously should have been in
5998 select-x.c in any case. The functionality is now provided
5999 in select-convert-from-integer (select.el).
6001 * select.c (available-selection-types): Fixed stupidity where
6002 INTEGER and ATOM got added twice. Also add STRING when we see an
6005 * select.c (get-selection-internal): Removed symbol stripping. No
6006 longer causes conversion when data comes from the internal cache.
6008 * select.c (syms_of_select): Added new functions.
6010 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
6011 error checking - previously this called abort!
6013 * select-x.c (x_own_selection): Changed comment.
6015 * select-x.c (x_handle_selection_request): Use select_convert_out.
6016 Don't mess with selection-alist; it's an internal variable of select.c.
6018 * select-x.c (x_get_foreign_selection): Use select_convert_in.
6020 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
6021 rather than messing with selection-alist.
6023 * select-msw.c (mswindows_get_foreign_selection):
6024 Use TO_INTERNAL_FORMAT rather than hacking.
6026 2000-07-14 Martin Buchholz <martin@xemacs.org>
6028 * process-unix.c (unix_open_multicast_group):
6029 (unix_open_multicast_group): Remove useless casts.
6031 2000-07-13 Martin Buchholz <martin@xemacs.org>
6033 * sound.c (Fplay_sound): Fix `unused variable' warning.
6035 * emacs.c (main): Use correct type for _environ on SCO5.
6037 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
6039 * console.h (own_selection_method):
6040 * console.h (selection_exists_p_method):
6041 * console.h (available_selection_types_method): New.
6042 * console.h (register_selection_data_type_method): New.
6043 * console.h (selection_data_type_name): New.
6045 * console-msw.h (mswindows_destroy_selection): Declare it. New
6046 function & alist to track GlobalAlloc()'d handles that need
6047 releasing when the clipboard data gets replaced or emptied.
6049 * event-msw.c (mswindows_wnd_proc): Call it.
6051 * lisp.h, general.c (Qappend): New symbol representing a
6054 * select.c (own-selection-internal):
6055 * select.c (selection-exists-p):
6056 * select.c (available-selection-types): New.
6057 * select.c (register-selection-data-type): New.
6058 * select.c (selection-data-type-name): New. New functions to deal
6059 with device-specific selection data formats.
6060 * select.c (selection-converter-out-alist): Renamed.
6061 * select.c (selection-converter-in-alist): New.
6062 * select.c (selection-appender-alist): New. Added new alists.
6063 * select.c (syms_of_select, vars_of_select): Added new symbols &
6065 * select.c (get_local_selection): Split.
6066 * select.c: Removed spurious type checking - selections may now be
6067 of any type, not just strings.
6068 * select.c (own-selection-internal):
6070 * select.h, select.c (convert_selection): New. Created
6071 convert_selection() function based on get_local_selection().
6072 * select.h, select.c (QCF_*): New symbols representing mswindows
6074 * select.h, select.c (Qreplace_all, Qreplace_existing): New
6075 symbols representing `how-to-add' modes.
6077 * select-msw.c (x_sym_p): New.
6078 * select-msw.c (symbol_to_ms_cf): New.
6079 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
6080 symbols & clipboard formats. Can also handle string names.
6081 * select-msw.c (mswindows_own_selection):
6082 * select-msw.c (mswindows_selection_exists_p):
6083 Added `data-type' parameter. Use it.
6084 * select-msw.c (mswindows_available_selection_types): New.
6085 * select-msw.c (mswindows_register_selection_data_type): New.
6086 * select-msw.c (mswindows_selection_data_type_name): New.
6087 * select-msw.c (mswindows_own_selection):
6088 * select-msw.c (mswindows_get_foreign_selection):
6089 * select-msw.c (mswindows_selection_exists_p): Rewrote.
6090 * select-msw.c (console_create_select_mswindows): Added new methods.
6091 * select-msw.c (mswindows_destroy_selection): New.
6092 * select-msw.c (Vhandle_alist): New list.
6093 * select-msw.c (mswindows_own_selection):
6095 * select-x.c (x_own_selection):
6096 * select-x.c (x_selection_exists_p):
6097 * select-x.c: Added some comments about maybe using new
6099 * select-x.c (x_own_selection):
6101 * specifier.c: Remove definition of Qappend (now in general.c)
6102 * specifier.c (syms_of_specifier): Remove Qappend.
6104 2000-07-12 Martin Buchholz <martin@xemacs.org>
6106 * config.h.in: Add socklen_t.
6108 * s/decosf4-0.h: No special compiler flags needed or desired.
6109 In particular, undefine _BSD for DEC OSF 4.0.
6111 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6113 * redisplay-msw.c (msprinter_frame_output_end): Added.
6114 (console_type_create_redisplay_mswindows): Referred the above.
6116 * frame.c (setup_frame_without_minibuffer): Do not create a
6117 default minibuffer frame on a printer device.
6119 * frame-msw.c (apply_dc_geometry): Added.
6120 (msprinter_start_page):
6121 (msprinter_init_frame_3):
6122 (msprinter_eject_page): Use it.
6124 * console-msw.h (struct msprinter_frame): Added pix_left and top,
6125 and removed residual duplex and orientation properties.
6127 2000-07-11 Martin Buchholz <martin@xemacs.org>
6129 * eval.c (function_argcount): Work around a DEC CC compiler bug.
6131 * unexalpha.c: Remove system prototypes from C sources!
6133 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
6135 * eval.c: Remove references to M-x edit-options in DEFUNs for
6136 `defvar' and `defconst'.
6138 2000-07-09 Martin Buchholz <martin@xemacs.org>
6140 * config.h.in: Remove SMART_INCLUDE hackery.
6143 * config.h.in: Don't use SMART_INCLUDE.
6145 * postgresql.h: Include libpq-fe.h here. Fix typo.
6146 * inline.c: Simply #include "postgresql.h"
6148 - Don't use SMART_INCLUDE
6149 - Use simply "const".
6150 - Use standard doc string conventions.
6151 - Use correct type for result of PQstatus.
6153 2000-07-09 Martin Buchholz <martin@xemacs.org>
6155 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
6157 C++ compilation changes.
6158 * config.h.in (EXTERN_C): Define.
6159 * config.h.in (not): This is also a C++ keyword.
6160 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
6161 * cm.c: Use EXTERN_C.
6162 * redisplay-tty.c: Use EXTERN_C.
6163 * sysdep.c: Use EXTERN_C. Remove Gould support.
6165 2000-07-09 Martin Buchholz <martin@xemacs.org>
6167 * general.c: Remove duplicate definition for Qfunction.
6169 2000-07-08 Ben Wing <ben@xemacs.org>
6171 * device-msw.c (msprinter_init_device):
6172 * device-msw.c (sync_printer_with_devmode):
6173 * device-msw.c (handle_devmode_changes):
6174 * device-msw.c (print_dialog_worker):
6175 * device-msw.c (Fmsprinter_apply_settings):
6176 * device-msw.c (hash_devmode):
6177 * device-msw.c (Fmsprinter_settings_despecialize):
6178 use Qmswindows_tstr, not Qctext.
6180 * vm-limit.c (check_memory_limits):
6181 avoid infinite loop printing warning messages.
6183 2000-07-05 Craig Lanning <lanning@scra.org>
6185 * Makefile.in.in: Add support for including the Windows resources
6186 when building with the cygwin and mingw targets.
6188 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
6189 not set or not correct.
6190 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
6191 (init_initial_directory): Don't try to use $PWD on the
6192 WIN32_NATIVE target.
6195 [[Add -mwindows to eliminate console window.]] not required --ben
6196 (HAVE_NATIVE_SOUND): removed; now handled by configure.
6197 (MAIL_USE_POP): removed; now handled by configure.
6199 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
6200 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
6201 (HAVE_NATIVE_SOUND): removed; now handled by configure.
6202 (MAIL_USE_POP): removed; now handled by configure.
6203 (ENCAPSULATE_STAT): from Dan Holmsand, added.
6204 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
6205 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
6207 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
6208 up from <winsock.h> via systime.h.
6209 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
6210 (getpagesize): from Dan Holmsand, added.
6211 Added #endif which was left dangling by Ben's mega patch; added
6212 comment to help prevent this in the future.
6214 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
6216 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6218 * console-msw.h (struct mswindows_device): Removed unnecessary
6219 cached device geometry values.
6220 Added update_tick and an accessor macro.
6221 (Lisp_Devmode): Added lrecord declaration.
6222 (struct msprinter_device): Contain devmode as a Lisp object.
6223 Added mswindows_get_selected_frame_hwnd();
6225 * console.h (struct console_methods): Indentation nitpicking.
6227 * device-msw.c (mswindows_init_device): Do not initialize geometry
6228 cache. Initialize update tick.
6229 (mswindows_device_system_metrics): Ask the device for its geometry.
6230 (global_free_2_maybe):
6231 (devmode_to_hglobal):
6232 (handle_printer_changes):
6233 (ensure_not_printing):
6234 (print_dialog_worker):
6235 (Fmsprinter_print_setup_dialog):
6236 (Fmsprinter_print_dialog):
6239 (Fmsprinter_page_setup_dialog): Added functions.
6240 (sync_printer_with_devmode):
6241 (handle_devmode_changes):
6242 (Fmsprinter_get_settings):
6243 (Fmsprinter_select_settings):
6244 (Fmsprinter_apply_settings):
6246 (Fmsprinter_settings_copy):
6247 (Fmsprinter_settings_despecialize):
6251 (hash_devmode): Added functions
6252 (syms_of_device_mswindows): Init devmode lrecord class.
6254 * device.h: Added an exfun for find-device.
6256 * event-msw.c (mswindows_wnd_proc): Do not update the cached
6257 geometry; although, recreate the device compatible DC.
6259 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
6260 (msprinter_init_frame_3):
6261 (msprinter_frame_property):
6262 (msprinter_internal_frame_property_p):
6263 (msprinter_frame_properties):
6264 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
6265 print job properties (will move to device settings).
6267 * lisp.h: Added symbols.
6269 * general.c (syms_of_general): Declared them.
6271 * hash.c (string_hash): Added.
6273 * lrecord.h (lrecord_type): Added devmode lrecord type.
6275 2000-07-02 Mike Sperber <mike@xemacs.org>
6277 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
6280 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
6282 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
6285 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
6287 * data.c (Fstring_to_number): Don't recognize floating point if
6290 2000-06-22 Martin Buchholz <martin@xemacs.org>
6292 * glyphs-widget.c (tab_control_query_geometry):
6293 (widget_query_geometry):
6294 (button_query_geometry):
6295 * glyphs.c (text_query_geometry):
6296 Enforce type correctness.
6298 2000-06-18 Martin Buchholz <martin@xemacs.org>
6300 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
6301 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
6303 2000-06-17 Martin Buchholz <martin@xemacs.org>
6305 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
6306 conflicts with gcc's fixincluded version of FOO.h.
6308 * glyphs.h (image_instance_geometry): Remove trailing `,'
6310 2000-06-08 Mike Alexander <mta@arbortext.com>
6312 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
6313 (shove_thread): Don't write the same output twice
6314 (make_ntpipe_output_stream): Increase priority of shove thread
6315 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
6317 (ntpipe_shove_closer): Don't delete the pipe until we're done with
6320 2000-06-12 Ben Wing <ben@xemacs.org>
6322 * s\mingw32.h (sigset):
6323 * s\windowsnt.h (sigset):
6324 rename msw_ to mswindows_ for consistency with general convention.
6326 2000-06-12 Ben Wing <ben@xemacs.org>
6329 * console-msw.c (mswindows_get_console_hwnd):
6330 * console-msw.c (mswindows_ensure_console_allocated):
6331 * console-msw.c (mswindows_hide_console):
6332 * console-msw.c (mswindows_show_console):
6333 * console-msw.c (mswindows_ensure_console_buffered):
6334 * console-msw.c (mswindows_output_console_string):
6335 * console-msw.c (mswindows_windows9x_p):
6337 * device-msw.c (mswindows_get_workspace_coords):
6338 * device-msw.c (mswindows_device_system_metrics):
6339 * dialog-msw.c (mswindows_popup_dialog_box):
6340 * event-msw.c (mswindows_wnd_proc):
6341 * frame-msw.c (mswindows_size_frame_internal):
6342 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6343 * menubar-msw.c (displayable_menu_item):
6344 * menubar-msw.c (mswindows_char_is_accelerator):
6346 * nt.c (mswindows_sigset):
6347 * nt.c (mswindows_sigrelse):
6348 * nt.c (mswindows_sigpause):
6349 * nt.c (mswindows_raise):
6350 * nt.c (timer_proc):
6352 * ntproc.c (find_child_console):
6353 * ntproc.c (sys_kill):
6355 * print.c (std_handle_out_external):
6356 * process-nt.c (find_child_console):
6357 * process-nt.c (send_signal_the_95_way):
6358 * process-nt.c (ensure_console_window_exists):
6359 * process-nt.c (nt_create_process):
6361 rename msw_ to mswindows_ for consistency with general convention.
6365 include nt.h, not syswindows.h.
6367 * nt.c (mswindows_fstat):
6368 * nt.c (mswindows_stat):
6369 prefix mswindows_ instead of attempting to directly override the
6370 library functions. fix declarations.
6373 include syswindows.h. move some sysdep.h stuff here.
6376 include syswindows.h, not <windows.h>.
6384 * sysdep.c (sys_fstat):
6385 * sysdep.c (sys_stat):
6386 call mswindows versions when appropriate.
6389 move mswin decls to nt.h.
6392 add long comment describing appropriate use of the various windows
6395 2000-06-11 Ben Wing <ben@xemacs.org>
6397 * device-x.c: Correct doc string for sixth arg of x-get-resource.
6399 2000-06-10 Ben Wing <ben@xemacs.org>
6401 * Makefile.in.in (release):
6402 Correction to make sure xemacs.exe always dumped when correct.
6406 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
6408 * buffer.c (set_buffer_internal):
6409 [[[[2]]]]: Remove HAVE_FEP code.
6411 * buffer.c (init_initial_directory):
6415 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
6419 * callproc.c (call_process_cleanup):
6420 * callproc.c (Fold_call_process_internal):
6421 * callproc.c (child_setup):
6422 * callproc.c (getenv_internal):
6423 * callproc.c (init_callproc):
6424 * callproc.c (vars_of_callproc):
6425 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
6426 __CYGWIN32__ -> CYGWIN.
6427 DOS_NT -> WIN32_NATIVE.
6428 Remove MSDOS support/references, converting to WIN32_NATIVE
6430 __MINGW32__ -> MINGW.
6431 Fix windows.h includes.
6432 Remove bogus HAVE_NTGUI.
6438 mswindows_message_outputted added for use in allowing startup
6439 errors on the console to be seen.
6441 * console-msw.c (msw_ensure_console_allocated):
6442 * console-msw.c (msw_output_console_string):
6443 * console-msw.c (DHEADER):
6444 * console-msw.c (DOPAQUE_DATA):
6445 * console-msw.c (DEVENT):
6446 * console-msw.c (DCONS):
6447 * console-msw.c (DCONSCDR):
6448 * console-msw.c (DSTRING):
6449 * console-msw.c (DVECTOR):
6450 * console-msw.c (DSYMBOL):
6451 * console-msw.c (DSYMNAME):
6454 * console-stream.c (stream_init_console):
6455 Fix text/binary problems.
6458 * device-msw.c (mswindows_finish_init_device):
6459 * device-msw.c (mswindows_delete_device):
6462 * device.c (handle_asynch_device_change):
6466 * dgif_lib.c (DGifOpenFileName):
6467 * dgif_lib.c (DGifOpenFileHandle):
6468 * dgif_lib.c (DGifGetLine):
6469 * dgif_lib.c (DGifGetPixel):
6470 Added config.h/lisp.h, fix up includes.
6477 * dired.c (file_name_completion):
6478 * dired.c (Ffile_attributes):
6479 * dired.c (syms_of_dired):
6483 * dumper.c (pdump_file_unmap):
6484 * dumper.c (pdump_load):
6488 * editfns.c (Ftemp_directory):
6489 * editfns.c (user_login_name):
6490 * editfns.c (Fuser_real_login_name):
6491 * editfns.c (get_home_directory):
6494 * elhash.c (finish_marking_weak_hash_tables):
6495 [[[[5]]]]: Fix GCC warnings.
6498 * emacs.c (mswindows_handle_hardware_exceptions):
6499 * emacs.c (make_arg_list_1):
6501 * emacs.c (Fkill_emacs):
6502 * emacs.c (Fdump_emacs):
6504 Fix problems with nested crashes, add long comment.
6506 * event-Xt.c (init_event_Xt_late):
6510 * event-msw.c (mswindows_dde_callback):
6511 * event-msw.c (mswindows_handle_sticky_modifiers):
6512 * event-msw.c (mswindows_wnd_proc):
6516 * events.c (character_to_event):
6520 * fileio.c (Ffile_name_directory):
6521 * fileio.c (Ffile_name_nondirectory):
6522 * fileio.c (directory_file_name):
6523 * fileio.c (Fexpand_file_name):
6524 * fileio.c (Fsubstitute_in_file_name):
6525 * fileio.c (Ffile_name_absolute_p):
6526 * fileio.c (check_executable):
6527 * fileio.c (Ffile_readable_p):
6528 * fileio.c (Ffile_accessible_directory_p):
6529 * fileio.c (Ffile_modes):
6530 * fileio.c (Funix_sync):
6531 * fileio.c (vars_of_fileio):
6534 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
6536 Expand getdefdir defn.
6537 Fix bogus rename() comment.
6539 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
6540 to use standard XEmacs include files, e.g. sysfile.h, rather
6541 than system-specific includes.
6547 * frame.c (vars_of_frame):
6551 * getloadavg.c (getloadavg):
6553 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
6554 (We don't use it elsewhere in the code; just add a comment.)
6561 * glyphs-msw.c (mswindows_resource_instantiate):
6564 * glyphs-x.c (x_native_layout_instantiate):
6567 * gui-msw.c (Fmswindows_shell_execute):
6576 * lread.c (locate_file_in_directory_mapper):
6583 * mem-limits.h (get_lim_data):
6595 * nt.c (rva_to_section):
6596 * nt.c (mswindows_executable_type):
6598 Fix closedir() defn.
6601 [[[[8]]]]: *_OK defs moved to sysfile.h.
6610 * print.c (std_handle_out_external):
6614 * process-nt.c (nt_create_process):
6616 try to fix process quoting somewhat.
6618 * process-unix.c (unix_create_process):
6622 * process.c (vars_of_process):
6629 * realpath.c (xrealpath):
6632 * redisplay-tty.c (init_tty_for_redisplay):
6642 * sheap.c (more_static_core):
6643 * sheap.c (report_sheap_usage):
6647 * signal.c (alarm_signal):
6654 * strftime.c (zone_name):
6657 * symsinit.h (init_sunpro):
6661 commctrl.h not in Cygwin b20.1.
6665 * sysdep.c (sys_subshell):
6666 * sysdep.c (init_baud_rate):
6667 * sysdep.c (emacs_get_tty):
6668 * sysdep.c (emacs_set_tty):
6669 * sysdep.c (tty_init_sys_modes_on_device):
6670 * sysdep.c (init_system_name):
6671 * sysdep.c (sys_open):
6672 * sysdep.c (interruptible_open):
6673 * sysdep.c (sys_fopen):
6674 * sysdep.c (sys_mkdir):
6675 * sysdep.c (sys_rename):
6676 * sysdep.c (get_process_times_1):
6683 * sysdir.h (DIRENTRY_NONEMPTY):
6686 * sysdll.c (dll_init):
6692 added text/binary defs.
6698 * sysproc.h (EDESTADDRREQ):
6699 * sysproc.h (poll_fds_for_input):
6716 Always define WIN32_LEAN_AND_MEAN.
6718 * unexcw.c (unexec):
6722 * unexec.c (copy_text_and_data):
6723 * unexec.c (adjust_lnnoptrs):
6727 * unexnt.c (_start):
6730 2000-06-07 Ben Wing <ben@xemacs.org>
6732 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
6733 was used only as a model. We've long since extracted any useful
6734 logic or code out of this. (I just did an exhaustive search.)
6736 * s\msdos.h: Removed.
6738 * s\windows95.h: Removed.
6740 2000-06-10 Ben Wing <ben@xemacs.org>
6744 Don't use extern with fun defs.
6748 Remove nt\inc include.
6749 Remove getdisk, getdefdir. (The former is unused, the latter
6750 expanded in fileio.h.)
6753 * s\windowsnt.h (WIN32_NATIVE):
6754 * s\windowsnt.h (HAVE_STRCASECMP):
6756 Add long comment about preprocessor changes.
6757 Remove getdisk, getdefdir. (The former is unused, the latter
6758 expanded in fileio.h.)
6760 2000-06-10 Ben Wing <ben@xemacs.org>
6769 Remove bogus/unused NO_SOCK_SIGIO.
6771 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
6773 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
6776 2000-06-04 Mike Sperber <mike@xemacs.org>
6778 * casetab.c (set_case_table): For `set-standard-case-table',
6779 actually deposit the new case tables where the rest of XEmacs can
6782 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
6784 * data.c (Faset): Don't cast XCHAR() to unsigned char.
6786 2000-06-05 Ben Wing <ben@xemacs.org>
6788 * callproc.c (child_setup): Don't do close_load_descs() under
6789 MS Windows. Put in a comment explaining why.
6791 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
6793 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
6794 Toolkit shell" which breaks `kill-compilation' on Windows NT
6795 native, retaining STDERR handling improvements.
6797 2000-06-01 Andreas Jaeger <aj@suse.de>
6799 * s/s390.h: Support for S390, based on a patch by Martin
6800 Schwidefsky <schwidefsky@de.ibm.com>.
6802 2000-05-30 Andy Piper <andy@xemacs.org>
6804 * window.c (allocate_window):
6805 (make_dummy_parent):
6806 (Fset_window_configuration): use new hashtable type.
6808 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
6809 (struct image_instantiator_methods):
6810 (struct Lisp_Image_Instance): make instance geometry signed.
6812 * glyphs.c (instantiate_image_instantiator):
6813 (image_instance_query_geometry):
6814 (image_instance_layout):
6815 (image_instance_layout):
6816 (query_string_geometry):
6817 (text_query_geometry):
6818 (image_instantiate):
6819 (image_instantiate):
6820 (cache_subwindow_instance_in_frame_maybe):
6821 (subwindow_query_geometry): make instance geometry signed.
6823 * glyphs-widget.c (widget_query_geometry):
6825 (button_query_geometry):
6826 (tree_view_query_geometry):
6827 (tab_control_query_geometry):
6828 (layout_query_geometry):
6830 (native_layout_layout): make instance geometry signed.
6832 2000-05-29 Olivier Galibert <galibert@pobox.com>
6834 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
6837 * general.c (syms_of_general): Add Qfull_assoc symbol.
6839 * data.c (finish_marking_weak_lists): Mark full-assoc lists
6841 (decode_weak_list_type): Decode full-assoc type.
6842 (encode_weak_list_type): Encode full-assoc type.
6843 (Fmake_weak_list): Update doc string.
6845 2000-05-30 Andy Piper <andy@xemacs.org>
6847 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
6849 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
6850 (decode_hash_table_weakness): ditto.
6851 (Fhash_table_weakness): ditto.
6852 (Fhash_table_type): ditto.
6853 (finish_marking_weak_hash_tables): ditto.
6854 (hash_table_weakness_validate): ditto.
6855 (syms_of_elhash): ditto.
6857 2000-05-28 Martin Buchholz <martin@xemacs.org>
6859 * XEmacs 21.2.34 is released.
6861 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6863 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
6865 (updating_line_start_cache): Gone.
6866 (regenerate_window): Replace resetting of VERTICAL_CLIP by
6867 generic code to force a minimum of 1 line laid out in the
6870 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6872 * glyphs.c (instantiate_image_instantiator): Check for initialized
6873 height & width no longer special cases IMAGE_NOTHING.
6874 (nothing_instantiate): Set height and width of instance.
6876 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
6878 * unexelf.c (unexec): Search for ".data" section.
6879 Initialize new_data2_offset from old_data_index.
6880 Remove redundant check for ElfW.
6882 2000-05-23 Andy Piper <andy@xemacs.org>
6884 * glyphs.c (get_image_instantiator_governing_domain): allow more
6885 specific domains as the governing domain rather than expecting an
6886 exact match. This fixes problems with layouts.
6888 2000-05-22 Andy Piper <andy@xemacs.org>
6890 * redisplay-output.c (compare_runes): check for non-images
6892 * glyphs.c (set_glyph_dirty_p): ditto.
6893 (update_glyph_cachel_data): ditto.
6895 * glyphs-widget.c (layout_post_instantiate): ditto.
6896 (layout_post_instantiate): ditto.
6898 * event-msw.c (mswindows_wnd_proc): warning removal.
6900 2000-05-12 Craig Lanning <CraigL@DyCon.com>
6902 * s\mingw32.h: Added #undef for CLASH_DETECTION.
6904 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
6906 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
6908 * nt.c (rva_to_section): mingw32 needs rva_to_section.
6909 (mswindows_executable_type): mingw32 now has enough headers for
6912 2000-05-20 Andy Piper <andy@xemacs.org>
6914 * console-msw.c (mswindows_output_last_error): ; -> ,
6916 2000-05-12 Andy Piper <andy@xemacs.org>
6918 * console-msw.c (FROB): compare ints with ints.
6920 2000-05-11 Andy Piper <andy@xemacs.org>
6922 * glyphs-x.c (x_finalize_image_instance): make minimal build
6925 2000-05-20 Ben Wing <ben@xemacs.org>
6928 * event-Xt.c (vars_of_event_Xt):
6929 move modifier-keys-are-sticky to event-stream.c.
6932 * event-msw.c (mswindows_enqueue_mouse_button_event):
6933 * event-msw.c (key_needs_default_processing_p):
6934 * event-msw.c (XEMSW_LCONTROL):
6935 * event-msw.c (mswindows_handle_sticky_modifiers):
6936 * event-msw.c (FROB):
6937 * event-msw.c (clear_sticky_modifiers):
6938 * event-msw.c (output_modifier_keyboard_state):
6939 * event-msw.c (output_alt_keyboard_state):
6940 * event-msw.c (mswindows_wnd_proc):
6941 * event-msw.c (mswindows_modifier_state):
6942 * event-msw.c (emacs_mswindows_handle_magic_event):
6943 implement sticky modifiers.
6946 * event-stream.c (vars_of_event_stream):
6947 move modifier-keys-are-sticky here.
6953 implement map-range-table.
6956 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
6958 * redisplay-tty.c (reset_tty_modes):
6959 (tty_redisplay_shutdown): Adjust argument type to
6960 tty_frame_output_end.
6962 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6964 * eval.c (Fbacktrace): Don't output a line with only right
6967 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
6969 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
6970 (Fpq_reset_poll): Ditto.
6972 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
6974 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
6976 2000-05-16 Ben Wing <ben@xemacs.org>
6979 * buffer.c (dfc_convert_to/from_internal_format):
6980 * buffer.c (reinit_vars_of_buffer):
6981 Fix conversion functions to allow reentrancy.
6984 * console-msw.c (mswindows_output_last_error):
6985 New fun, generally useful -- output a human-readable
6986 version of GetLastError() on the console.
6989 * console-msw.h (struct mswindows_frame):
6990 Changes for DeferWindowPos. Declare mswindows_output_last_error().
6992 * console-stream.c (stream_output_begin):
6993 * console-stream.c (stream_output_end):
6994 * console-stream.c (stream_output_vertical_divider):
6995 * console-stream.c (stream_clear_region):
6996 * console-stream.c (stream_flash):
6997 * console-stream.c (console_type_create_stream):
6998 Delete blank stream methods, not needed.
7000 * console.h (struct console_methods):
7001 Split begin/end methods into window and frame.
7004 * event-msw.c (mswindows_handle_paint):
7005 * event-msw.c (output_alt_keyboard_state):
7006 * event-msw.c (mswindows_wnd_proc):
7007 * event-msw.c (vars_of_event_mswindows):
7008 Comment about problems with ignored-expose.
7009 Define mswindows-debug-events; not really implemented.
7011 * frame-msw.c (mswindows_init_frame_1):
7015 * glyphs-msw.c (begin_defer_window_pos):
7016 * glyphs-msw.c (mswindows_unmap_subwindow):
7017 * glyphs-msw.c (mswindows_map_subwindow):
7018 * glyphs-msw.c (mswindows_resize_subwindow):
7019 Use DeferWindowPos to reduce flashing when mapping/unmapping.
7021 * glyphs.c (make_image_instance_1):
7024 * gutter.c (Fredisplay_gutter_area):
7025 Use new begin/end methods.
7027 * lisp.h (Dynarr_new2):
7031 * redisplay-msw.c (mswindows_frame_output_begin):
7032 * redisplay-msw.c (mswindows_frame_output_end):
7033 * redisplay-msw.c (console_type_create_redisplay_mswindows):
7034 New begin/end methods -- handle DeferWindowPos.
7036 * redisplay-output.c (redisplay_move_cursor):
7037 * redisplay-output.c (redraw_cursor_in_window):
7038 * redisplay-output.c (redisplay_update_line):
7039 * redisplay-output.c (redisplay_output_window):
7040 New begin/end methods.
7043 * redisplay-tty.c (tty_frame_output_begin):
7044 * redisplay-tty.c (tty_frame_output_end):
7045 * redisplay-tty.c (console_type_create_redisplay_tty):
7046 New begin/end methods.
7049 * redisplay-x.c (x_window_output_begin):
7050 * redisplay-x.c (x_window_output_end):
7051 * redisplay-x.c (console_type_create_redisplay_x):
7052 New begin/end methods.
7054 * redisplay.c (redisplay_frame):
7055 * redisplay.c (Fredisplay_echo_area):
7056 New begin/end methods.
7057 use MAYBE_DEVMETH for clear_frame; it may not exist.
7059 * window.h (WINDOW_XFRAME):
7060 WINDOW_XFOO macros -- get locale and decode struct pointer.
7063 2000-05-12 Ben Wing <ben@xemacs.org>
7066 * emacs.c (ensure_no_quitting_from_now_on):
7067 * emacs.c (fatal_error_signal):
7068 * emacs.c (mswindows_handle_hardware_exceptions):
7070 * emacs.c (Fkill_emacs):
7071 * emacs.c (shut_down_emacs):
7072 * emacs.c (assert_failed):
7073 various improvements in fatal error handling.
7076 move preparing_for_armageddon to emacs.c.
7079 declare fatal_error_in_progress.
7082 * print.c (std_handle_out_external):
7083 * print.c (std_handle_out_va):
7084 * print.c (stderr_out):
7085 * print.c (stdout_out):
7086 use console under mswin when no standard output.
7087 don't do code conversion during fatal error.
7089 * scrollbar.c (Fscrollbar_page_up):
7090 * scrollbar.c (Fscrollbar_page_down):
7091 fix missing else. reindent.
7093 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
7097 * glyphs.h (GLYPH_CACHEL_DESCENT):
7098 (GLYPH_CACHEL_DESCENT):
7099 (GLYPH_CACHEL_DESCENT):
7100 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
7101 used in case these are inline functions.
7102 Use more absurd values to error check.
7104 include window.h for error check functions.
7106 2000-05-11 Ben Wing <ben@xemacs.org>
7108 * cmdloop.c (Freally_early_error_handler):
7109 Display message box under windows; otherwise, message will disappear
7110 before it can be viewed.
7113 * console-msw.c (Fmswindows_message_box):
7114 * console-msw.c (FROB):
7115 * console-msw.c (syms_of_console_mswindows):
7116 Define new fun `mswindows-message-box'.
7117 #### I will merge this into `popup-dialog-box'; just give me
7121 * general.c (syms_of_general):
7122 Some new symbols used in `mswindows-message-box'.
7125 * glyphs.c (Fset_image_instance_property):
7126 put warning in this fun.
7129 * glyphs.h (GLYPH_CACHEL_WIDTH):
7130 * glyphs.h (GLYPH_CACHEL_ASCENT):
7131 * glyphs.h (GLYPH_CACHEL):
7132 * glyphs.h (GLYPH_CACHEL_GLYPH):
7133 define error-checking versions to try to catch a bug i've seen --
7134 redisplay gets in an infinite loop because the glyph width of the
7135 continuation glyph is 65535.
7138 Extern message-box stuff.
7140 * window.c (allocate_window):
7141 * window.c (make_dummy_parent):
7142 * window.c (Fset_window_configuration):
7143 Use EQUAL not EQ for subwindow caches to make them work a bit
7144 better. (Something is still very broken.)
7147 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7149 * glyphs.c (image_instantiate): Suppress gcc warnings.
7150 (Fmake_image_instance): Fix doc string.
7151 * specifier.c (Fmake_specifier): Ditto.
7153 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
7155 * paths.h.in (PATH_LOCK): Removed.
7156 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
7157 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
7159 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7161 * fns.c (Ffeaturep): Update e-mail address in doc-string.
7162 Document (featurep '(and xemacs 21.02)).
7164 2000-05-09 Ben Wing <ben@xemacs.org>
7166 * buffer.c (complex_vars_of_buffer):
7167 update modeline-format doc.
7170 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
7173 timeline of all released versions of Emacs, for use in creating
7174 authorship comments and in synching up.
7176 * glyphs-widget.c (image_instantiator_buttons):
7177 * glyphs-widget.c (image_instantiator_edit_fields):
7178 * glyphs-widget.c (image_instantiator_combo_box):
7179 * glyphs-widget.c (image_instantiator_scrollbar):
7180 * glyphs-widget.c (image_instantiator_progress_guage):
7181 * glyphs-widget.c (image_instantiator_tree_view):
7182 * glyphs-widget.c (image_instantiator_tab_control):
7183 * glyphs-widget.c (image_instantiator_labels):
7184 * glyphs-widget.c (image_instantiator_layout):
7185 * glyphs-widget.c (image_instantiator_native_layout):
7186 rename decode_domain method to governing_domain.
7189 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
7190 * glyphs.c (add_entry_to_device_ii_format_list):
7191 make sure we don't put an entry more than once into the list.
7192 * glyphs.c (check_instance_cache_mapper):
7193 *************************************************************
7194 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
7196 *************************************************************
7197 * glyphs.c (get_image_instantiator_governing_domain):
7198 clean up, expand on new concept of governing domain.
7199 * glyphs.c (instantiate_image_instantiator):
7200 * glyphs.c (allocate_image_instance):
7201 use governing_domain instead of cache_domain in naming.
7202 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
7203 * glyphs.c (make_image_instance_1):
7204 * glyphs.c (Fmake_image_instance):
7205 allow for any domain (not just device), and process the
7206 governing domain correctly. very big doc fix.
7207 * glyphs.c (Fimage_instance_domain):
7208 new primitive, to retrieve the governing domain of an image instance.
7209 * glyphs.c (image_instantiate):
7210 use new governing_domain stuff. this fixes a crash you could get
7211 by instantiating certain widget glyphs in frame locales. (should
7212 signal an error instead of crashing.)
7213 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
7214 * glyphs.c (Fglyphp): clean up doc.
7215 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
7216 * glyphs.c (syms_of_glyphs):
7217 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
7218 * glyphs.c (image_instantiator_format_create): add some comments about
7220 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
7221 for current-display-table. (Apparently Hrjove implemented in 1998 a
7222 design I wrote up in 1996, but didn't update the doc string.)
7224 * glyphs.h: clean up a doc string.
7225 * glyphs.h (governing_domain):
7226 * glyphs.h (struct image_instantiator_methods):
7227 changes for governing_domain stuff.
7230 * gutter.c (Fgutter_specifier_p):
7231 * gutter.c (Fgutter_size_specifier_p):
7232 * gutter.c (Fgutter_visible_specifier_p):
7234 * objects.c (Fcolor_specifier_p):
7235 * objects.c (Ffont_specifier_p):
7236 * objects.c (Fface_boolean_specifier_p):
7237 doc strings moved to make-*-specifier.
7239 * redisplay.c (add_disp_table_entry_runes_1):
7240 * redisplay.c (generate_fstring_runes):
7241 * redisplay.c (screen):
7242 add random comments and doc strings.
7245 * specifier.c (Fmake_specifier):
7246 major overhaul of this doc string.
7248 * specifier.c (Fvalid_specifier_domain_p):
7249 comment about the bogosity of image instances being domains.
7250 * specifier.c (decode_domain):
7251 now non-static, used in glyphs.c.
7252 * specifier.c (specifier_instance):
7253 comment about the bogosity of image instances being domains.
7254 * specifier.c (Fgeneric_specifier_p):
7255 move doc string to make-generic-specifier.
7256 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
7260 * specifier.h (DOMAIN_FRAME):
7261 * specifier.h (DOMAIN_LIVE_P):
7262 * specifier.h (DOMAIN_XDEVICE):
7264 add comments about problems with these macros.
7265 prototype for decode_domain.
7268 * toolbar.c (Ftoolbar_specifier_p):
7269 move doc string to `make-toolbar-specifier'.
7271 * window.c (window_unmap_subwindows_cache_mapper):
7272 *************************************************************
7273 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
7275 *************************************************************
7277 2000-05-09 Andy Piper <andy@xemacs.org>
7279 * glyphs.h: declare reset_frame_subwindow_instance_cache.
7281 * window.c (Fset_window_configuration): reset the frame subwindow
7282 cache and re-initialize the window subwindow caches.
7284 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
7286 2000-05-09 Ben Wing <ben@xemacs.org>
7288 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
7291 2000-04-26 Mike Woolley <mike@bulsara.com>
7293 * ntheap.c: Changed recreate_heap to limit the amount reserved
7294 for the heap to that which is actually available. Also now
7295 displays a message box (with some dignostics) in the event that
7296 it still can't start.
7298 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
7300 * callproc.c (Fold_call_process_internal): GCPRO path
7302 2000-05-08 Jan Vroonhof <jan@xemacs.org>
7304 Patch by Bill Perry.
7306 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
7307 back data instead of #ifdef.
7308 (Fscrollbar_page_down): ditto.
7310 2000-05-07 Ben Wing <ben@xemacs.org>
7313 Kludge for defining Qmswindows_tstr.
7316 * nt.c (open_input_file):
7317 * nt.c (open_output_file):
7318 * nt.c (rva_to_section):
7319 * nt.c (mswindows_executable_type):
7320 Move all memory-mapped-file routines here (some were in unexnt.c,
7321 which is bad because they are used by process-nt.c, and unexnt
7322 won't be around when portable dumping). Synched the above routines
7326 Removed ifdef'd out bogus code.
7327 Fixed some prototypes.
7330 * nt.h (OFFSET_TO_RVA):
7331 * nt.h (RVA_TO_OFFSET):
7332 * nt.h (RVA_TO_PTR):
7333 Moved the memory-mapped-file structures, macros and prototypes
7334 here, to parallel nt.c. ntheap.h should really be removed
7335 entirely, and it's a non-portable-dumper specific file.
7337 * ntheap.h (round_to_next):
7338 Moved the memory-mapped-file structures, macros and prototypes
7341 * ntproc.c (compare_env):
7342 Moved rva_to_section and mswindows_executable_type to nt.c.
7343 Moved compare_env to process-nt.c.
7344 ntproc.c will die, one day.
7346 * ntproc.c (sys_spawnve):
7347 Account for win32_ -> mswindows_.
7350 * process-nt.c (struct nt_process_data):
7351 * process-nt.c (ensure_console_window_exists):
7352 * process-nt.c (compare_env):
7353 * process-nt.c (nt_create_process):
7354 * process-nt.c (nt_kill_process_by_pid):
7355 * process-nt.c (syms_of_process_nt):
7356 * process-nt.c (vars_of_process_nt):
7357 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
7358 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
7359 changes). Eliminate our old `nt-quote-process-args' mechanism.
7360 Synch up nt_create_process with FSF 20.6 sys_spawnve.
7361 Move compare_env here from ntproc.c.
7363 * process.c (Fprocess_send_region):
7364 Takes an optional fourth argument, BUFFER, which should fix some
7365 problems with call-process.
7368 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
7371 Move ICC_BAR_CLASSES to syscommctrl.h.
7372 Add preliminary macros for MSWindows/Mule. More to come.
7375 * unexnt.c (unexec):
7376 open_output_file moved to nt.c.
7379 2000-05-05 Andy Piper <andy@xemacs.org>
7381 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
7382 instance from the frame cache also since GC may catch up too late
7383 to make frame deletion sane.
7385 2000-05-04 Andy Piper <andy@xemacs.org>
7387 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
7388 (x_finalize_image_instance): ungcpro on deletion.
7390 * glyphs.c (image_instantiator_format_create): give pointers a
7391 query geometry method so that the geometry is at least set.
7393 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
7394 initialize layouts if using widgets.
7396 2000-05-03 Andy Piper <andy@xemacs.org>
7398 * nt.c: remove bogus reference to sysmmsystem.h
7400 * gui-x.c (popup_selection_callback): fix no selection abort.
7402 2000-05-02 Andy Piper <andy@xemacs.org>
7404 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
7405 (mswindows_widget_instantiate): ditto.
7407 * glyphs-widget.c (initialize_widget_image_instance): initialize
7409 (widget_instantiate): cope with children and items in the same
7412 * glyphs.c (mark_image_instance): cope with children as a first
7414 (image_instance_equal): ditto.
7415 (image_instance_hash): ditto.
7416 (image_instance_changed): ditto.
7418 2000-04-30 Andy Piper <andy@xemacs.org>
7420 * glyphs.c (subwindow_query_geometry): new function. Return some
7422 (subwindow_instantiate): don't assign dimensions if none have been
7424 (image_instantiator_format_create): add subwindow_query_geometry.
7425 (print_image_instance): cope with layouts as widgets.
7427 2000-04-29 Andy Piper <andy@xemacs.org>
7429 * frame.c (delete_frame_internal): call
7430 free_frame_subwindow_instance_cache so that all subwindows are
7431 finalized before their parent.
7432 (mark_frame): remove subwindow_cachels.
7433 (Fmake_frame): remove subwindow_cachel manipulation.
7434 (allocate_frame_core): subwindow_instance_cache is a weak list.
7435 (delete_frame_internal): set subwindow_instance_cache to nil.
7437 * glyphs-msw.c (mswindows_finalize_image_instance): make double
7439 (mswindows_finalize_image_instance): use the device
7440 not the domain as the domain may have died already.
7442 * glyphs-x.c (x_finalize_image_instance): ditto.
7443 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
7446 * redisplay-output.c (redisplay_unmap_subwindows): update for
7447 subwindow instance cache as a weak list.
7448 (redisplay_unmap_subwindows_maybe): ditto.
7449 (redisplay_unmap_subwindows_except_us): ditto.
7451 * glyphs.c (unmap_subwindow): error checking will check the domain
7452 so don't deal with it here. Don't use cachels anymore.
7453 (map_subwindow): ditto.
7454 (update_subwindow_cachel_data): remove old accessor names.
7455 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
7456 (Fresize_subwindow): don't update cachel.
7457 (mark_subwindow_cachels):
7458 (update_subwindow_cachel_data):
7459 (add_subwindow_cachel):
7460 (get_subwindow_cachel_index):
7461 (update_subwindow_cachel):
7462 (reset_subwindow_cachels):
7463 (mark_subwindow_cachels_as_not_updated): deleted.
7464 (cache_subwindow_instance_in_frame_maybe): new function. Add a
7465 subwindow instance to the frame cache.
7466 (find_matching_subwindow): update for subwindow instance cache as
7468 (update_widget_instances): ditto.
7469 (image_instance_type_to_mask):inlined.
7470 (free_frame_subwindow_instance_cache): new function. finalize all
7471 subwindows that are instantiated.
7473 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
7474 of cachel information.
7475 (IMAGE_INSTANCE_DISPLAY_X):
7476 (IMAGE_INSTANCE_DISPLAY_Y):
7477 (IMAGE_INSTANCE_DISPLAY_WIDTH):
7478 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
7479 (XIMAGE_INSTANCE_DISPLAY_X):
7480 (XIMAGE_INSTANCE_DISPLAY_Y):
7481 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
7482 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
7483 remove subwindow_cachel structure and function references.
7484 (image_instance_type_to_mask): inline from glyphs.c
7486 * redisplay.c (redisplay_frame): remove subwindow_cachel
7489 * frame.h (struct frame): remove subwindow_cachels.
7490 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
7492 * frameslots.h: add subwindow_instance_cache.
7494 * window.c (replace_window): check subwindow cache of replacement.
7495 (window_unmap_subwindows_cache_mapper):
7496 (window_unmap_subwindows): new functions. Unmap all subwindows
7497 cached on this window.
7498 (mark_window_as_deleted): unmap all subwindows.
7500 2000-04-27 Andy Piper <andy@xemacs.org>
7502 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
7504 * glyphs-widget.c (widget_layout): return something.
7505 (layout_layout): return something. Fail if not initialized.
7506 (layout_query_geometry): ditto.
7507 (image_instantiator_native_layout): new function. Initialized the
7509 (widget_instantiate): don't do layout stuff here.
7511 * glyphs.c (instantiate_image_instantiator): reorded calling or
7512 instantiate and post_instantiate with layout in between.
7513 (image_instance_layout): be more selective about deciding whether
7514 the layout has been done or not.
7516 * glyphs.h (struct image_instantiator_methods): return a value
7519 2000-04-26 Andy Piper <andy@xemacs.org>
7521 * glyphs.c (allocate_image_instance): make initial width and
7522 height unspecified. Set initialized to 0.
7524 * syscommctrl.h new file. Encapsulates commctrl.h.
7526 * syswindows.h new file. Encapsulates windows.h.
7528 * ntplay.c: use new syswindows.h and syscommctrl.h header.
7530 * console-msw.h: ditto.
7532 * redisplay-tty.c (tty_output_display_block): remove layout references.
7534 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
7535 window handle rather than just the frame.
7537 * glyphs.c (mark_image_instance): remove layout references.
7538 (print_image_instance): ditto.
7539 (image_instance_equal): ditto.
7540 (image_instance_hash): ditto.
7541 (decode_image_instance_type): ditto.
7542 (encode_image_instance_type): ditto.
7543 (image_instantiate): ditto.
7544 (allocate_glyph): ditto.
7545 (Fimage_instance_height): ditto.
7546 (Fimage_instance_width): ditto.
7547 (update_subwindow): ditto.
7549 * redisplay-x.c (x_output_display_block): recode for layouts as
7552 * redisplay-output.c (redisplay_output_layout): recode for layouts
7554 (compare_runes): remove layout references.
7556 * redisplay-msw.c (mswindows_output_display_block): recode for
7559 * glyphs-widget.c (image_instantiator_layout): remove
7560 layout_possible_dest_types.
7561 (layout_possible_dest_types): deleted.
7563 * glyphs.h (image_instance_type): remove layout references.
7564 (struct Lisp_Image_Instance): ditto. Add initialized flag.
7565 (IMAGE_INSTANCE_INITIALIZED): new accessor.
7566 (XIMAGE_INSTANCE_INITIALIZED): ditto.
7568 2000-04-25 Andy Piper <andy@xemacs.org>
7570 * glyphs-widget.c (image_instantiator_buttons):
7571 (image_instantiator_edit_fields):
7572 (image_instantiator_combo_box):
7573 (image_instantiator_scrollbar):
7574 (image_instantiator_progress_guage):
7575 (image_instantiator_tree_view):
7576 (image_instantiator_tab_control):
7577 (image_instantiator_labels):
7578 (image_instantiator_layout): call default post_instantiate method.
7579 (widget_post_instantiate): new function. Simply lays out the
7582 * glyphs.h (struct image_instantiator_methods): add
7583 post_instantiate method.
7585 * glyphs.c (instantiate_image_instantiator): add post_instantiate
7588 2000-04-23 Andy Piper <andy@xemacs.org>
7590 * glyphs.h (struct image_instantiator_methods): add
7591 decode_domain_method.
7592 (struct Lisp_Image_Instance): remove subwindow frame - it can be
7593 derived from the domain.
7594 (IMAGE_INSTANCE_FRAME): new accessor.
7595 (XIMAGE_INSTANCE_FRAME): ditto.
7597 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
7598 instead of _SUBWINDOW_FRAME.
7599 (finalize_image_instance): ditto.
7600 (Fimage_instance_foreground): ditto.
7601 (Fimage_instance_background): ditto.
7602 (image_instantiate): ditto.
7603 (update_subwindow_cachel): ditto.
7604 (update_subwindow): ditto.
7605 (unmap_subwindow): ditto.
7606 (map_subwindow): ditto
7607 (subwindow_instantiate): ditto.
7608 * glyphs-msw.c (mswindows_update_widget): ditto.
7609 (mswindows_progress_gauge_instantiate): ditto.
7610 (mswindows_tab_control_update): ditto.
7611 * glyphs-x.c (x_update_widget): ditto.
7612 (x_widget_instantiate): ditto.
7613 (x_tab_control_instantiate): ditto.
7614 (x_tab_control_update): ditto.
7615 * event-msw.c (mswindows_wnd_proc): ditto
7617 * glyphs-widget.c (image_instantiator_layout): use
7618 subwindow_decode_domain.
7619 (image_instantiator_buttons): ditto.
7620 (image_instantiator_edit_fields): ditto.
7621 (image_instantiator_combo_box): ditto.
7622 (image_instantiator_scrollbar): ditto.
7623 (image_instantiator_progress_guage): ditto.
7624 (image_instantiator_tree_view): ditto.
7625 (image_instantiator_tab_control): ditto.
7626 (image_instantiator_labels): ditto.
7627 (image_instantiator_layout): ditto.
7629 * glyphs.c: add instance error checking to many functions.
7630 (instantiate_image_instantiator): decode device from cache_domain.
7631 (image_instantiate): partially rewrite by using
7632 decode_image_instantiator_domain to determine what domain the
7633 instance needs to be cached in.
7634 (decode_image_instantiator_domain): new function. Determine what
7635 domain the image needs to be cached in.
7636 (check_window_subwindow_cache): new error checking function.
7637 (check_instance_cache_mapper): ditto.
7638 (check_image_instance_structure): ditto.
7639 (subwindow_decode_domain): new function. Encodes a window as a
7640 subwindow's cache domain.
7641 (image_instantiator_format_create): use it for text and
7644 2000-04-21 Andy Piper <andy@xemacs.org>
7646 * glyphs.c (image_instance_device): new function.
7647 (image_instance_frame): new function.
7648 (image_instance_window): new function.
7649 (image_instance_live_p): new function.
7651 * window.c (mark_window_as_deleted): reset the subwindow_instance_
7654 * glyphs.h (struct Lisp_Image_Instance): device->domain.
7655 (IMAGE_INSTANCE_DOMAIN): new accessor.
7656 (XIMAGE_INSTANCE_DOMAIN): ditto.
7658 * glyphs-x.c (x_finalize_image_instance): device->domain.
7660 * glyphs-msw.c (init_image_instance_geometry): device->domain.
7661 (mswindows_finalize_image_instance): ditto.
7663 * glyphs-eimage.c (jpeg_instantiate): device->domain.
7664 (gif_instantiate): ditto.
7665 (png_instantiate): ditto.
7666 (tiff_instantiate): ditto.
7668 * glyphs.c (instantiate_image_instantiator): use domain rather
7670 (mark_image_instance): device -> domain.
7671 (print_image_instance): ditto.
7672 (finalize_image_instance): ditto.
7673 (image_instance_equal): ditto.
7674 (allocate_image_instance): ditto.
7675 (Fcolorize_image_instance): ditto.
7676 (query_string_geometry): ditto.
7677 (image_instantiate): ditto
7678 (query_string_font): ditto.
7679 (image_instantiate): ditto.
7680 (update_subwindow): ditto.
7681 (unmap_subwindow): ditto.
7682 (map_subwindow): ditto.
7683 (subwindow_instantiate): ditto.
7685 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
7686 (DOMAIN_FRAME): ditto.
7687 (DOMAIN_WINDOW): ditto.
7688 (DOMAIN_LIVE_P): ditto.
7689 (XDOMAIN_DEVICE): ditto.
7690 (XDOMAIN_FRAME): ditto.
7691 (XDOMAIN_WINDOW): ditto.
7693 * specifier.c (Fvalid_specifier_domain_p): add image instances as
7694 a valid specifier domain.
7696 2000-04-19 Andy Piper <andy@xemacs.org>
7698 * glyphs-widget.c (syms_of_glyphs_widget): remove
7699 widget-callback-current-channel.
7700 (vars_of_glyphs_widget): ditto.
7703 * gui.c (get_gui_callback): revert to previous behaviour.
7705 2000-04-18 Andy Piper <andy@xemacs.org>
7707 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
7708 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
7709 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
7711 * glyphs.c (image_instance_equal): add margin_width.
7712 (image_instance_hash): ditto.
7714 * glyphs-widget.c (widget_instantiate): deal with margin-width.
7715 (layout_query_geometry): ditto.
7716 (layout_layout): ditto.
7717 (syms_of_glyphs_widget): add margin-width.
7718 (image_instantiator_layout): allow margin-width.
7720 * glyphs.c (update_widget_instances): make a normal function.
7721 (syms_of_glyphs): remove Qupdate_widget_instances.
7724 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
7725 so that we don't corrupt ideas about the last event or
7726 command. Remove widget-callback-current-channel fiddling.
7727 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
7729 2000-05-01 Martin Buchholz <martin@xemacs.org>
7731 * XEmacs 21.2.33 is released.
7733 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
7735 * make-src-depend: Allow dots in header file name.
7737 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
7739 * mule-charset.h (struct charset_lookup): Add
7740 next_allocated_1_byte_leading_byte and
7741 next_allocated_2_byte_leading_byte.
7742 * mule-charset.c: Move above two variables so that those values
7745 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
7747 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
7748 when string length is zero.
7749 (find_charsets_in_emchar_string): Ditto.
7751 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
7753 * lisp.h: extern Qdialog and Qmenubar.
7755 * gui-x.c: added events.h.
7756 also fixed typo which made the file uncompilable.
7758 * general.c: Added Qmenubar and Qdialog
7760 2000-04-28 Ben Wing <ben@xemacs.org>
7762 * frame-msw.c (mswindows_init_frame_1):
7763 * frame-msw.c (mswindows_mark_frame):
7764 * event-msw.c (mswindows_enqueue_dispatch_event):
7766 * console-msw.h (struct mswindows_frame):
7767 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
7768 there are now three hash tables for callbacks.
7769 mswindows_enqueue_dispatch_event is no longer static.
7771 * dialog-x.c (maybe_run_dbox_text_callback):
7772 * dialog-x.c (dbox_descriptor_to_widget_value):
7773 switch to new cons3 form for callbacks.
7775 * glyphs-msw.c (mswindows_register_gui_item):
7776 * glyphs-msw.c (mswindows_widget_instantiate):
7777 * glyphs-msw.c (add_tree_item):
7778 * glyphs-msw.c (add_tab_item):
7779 new image instance parameter, so it can be passed to callback-ex.
7780 respect :callback-ex as well as :callback.
7782 * glyphs-widget.c (VALID_GUI_KEYWORDS):
7785 * glyphs.c (print_image_instance):
7786 prettify, e.g. now prints widget type.
7789 certain funs have new image instance parameter.
7792 * gui.c (get_gui_callback):
7793 * gui.c (gui_item_add_keyval_pair):
7794 * gui.c (gui_item_init):
7795 * gui.c (gui_add_item_keywords_to_plist):
7796 * gui.c (mark_gui_item):
7797 * gui.c (gui_item_hash):
7798 * gui.c (gui_item_equal):
7799 * gui.c (copy_gui_item):
7800 * gui.c (syms_of_gui):
7801 recognize callback-ex in a number of places.
7802 also, fix the annoying "can't get out of yes-no dialog" bug.
7805 * gui.h (struct Lisp_Gui_Item):
7806 recognize callback-ex in a number of places.
7808 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7809 new parameter in button_item_to_widget_value.
7811 * glyphs-x.c (x_update_widget):
7812 * glyphs-x.c (x_button_instantiate):
7813 * glyphs-x.c (x_button_update):
7814 * glyphs-x.c (x_progress_gauge_instantiate):
7815 * glyphs-x.c (x_edit_field_instantiate):
7816 * glyphs-x.c (x_combo_box_instantiate):
7817 * glyphs-x.c (x_tab_control_instantiate):
7818 * glyphs-x.c (x_label_instantiate):
7819 new image instance parameter in various places.
7822 * event-Xt.c (enqueue_Xt_dispatch_event):
7823 this fun gets exported.
7826 * gui-msw.c (mswindows_handle_gui_wm_command):
7827 handle both :callback and :callback-ex, and generate our own
7828 event because it's one of the callback-ex arguments.
7831 * gui-x.c (popup_selection_callback):
7832 handle both :callback and :callback-ex, and generate our own
7833 event because it's one of the callback-ex arguments.
7834 * gui-x.c (button_item_to_widget_value):
7835 * gui-x.c (gui_items_to_widget_values_1):
7836 * gui-x.c (gui_item_children_to_widget_values):
7837 * gui-x.c (gui_items_to_widget_values):
7838 new image instance parameter in various places.
7840 * fns.c (Freplace_list):
7841 fix small typo in doc string.
7844 declare enqueue_Xt_dispatch_event.
7846 2000-04-28 Ben Wing <ben@xemacs.org>
7849 * buffer.c (Frecord_buffer):
7850 * buffer.c (syms_of_buffer):
7851 delete record-buffer-hook.
7854 * fns.c (Freplace_list):
7855 * fns.c (syms_of_fns):
7856 new primitive replace-list.
7859 slot for old buffer-alist.
7865 * redisplay.c (redisplay_frame):
7866 * redisplay.c (syms_of_redisplay):
7867 * redisplay.c (vars_of_redisplay):
7868 new hook buffer-list-changed-hook.
7871 2000-04-27 Ben Wing <ben@xemacs.org>
7873 * extents.h: extern in_modeline_generation.
7875 * redisplay.c (generate_formatted_string_db): set
7876 in_modeline_generation.
7878 * extents.c (extent_changed_for_redisplay): don't mark redisplay
7879 flags if in modeline generation. otherwise frame-modified-tick
7880 is ticked far too often.
7881 Declare in_modeline_generation.
7883 2000-04-26 Ben Wing <ben@xemacs.org>
7885 * emacs.c (vars_of_emacs): document quick-build "error-checking"
7887 (vars_of_emacs): add quick-build as an error-checking option.
7888 A bit kludgy, but there doesn't seem much point in creating
7889 a real var for this.
7891 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
7893 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
7895 * redisplay.h (struct display_line): Add a new variable,
7898 * redisplay.c (create_text_block): Set dl->line_continuation if
7900 (create_string_text_block): Ditto.
7901 (regenerate_window_incrementally): Use line_continuation instead
7902 of searching continuation glyph.
7903 (add_margin_runes): Call add_glyph_rune.
7904 (add_glyph_rune): Handle margin glyph.
7906 2000-04-20 Martin Buchholz <martin@xemacs.org>
7908 * filelock.c (fill_in_lock_file_name):
7910 Check for IS_ANY_SEP instead of '/'.
7912 Avoid generating gratuitous garbage. Call user_login_name() directly.
7913 Never check errno without first seeing that system call failed.
7914 (unlock_file): Add GCPRO.
7915 (Flock_buffer): Fix docstring.
7916 (Ffile_locked_p): Fix docstring. Add GCPRO.
7918 2000-04-19 Martin Buchholz <martin@xemacs.org>
7920 * sysdep.c (get_pty_max_bytes):
7921 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
7922 strings longer than 252 bytes.
7924 * md5.c: Unconditionally include ANSI header <limits.h>
7926 * glyphs-x.c (convert_EImage_to_XImage):
7927 * lisp-union.h (union Lisp_Object):
7928 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
7930 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7932 * filelock.c (current_lock_owner): Remove unused variable o, p.
7934 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
7936 * callint.c: Remove multiply defined symbol Qlet
7937 (syms_of_callint): ditto.
7939 2000-04-14 Andy Piper <andy@xemacs.org>
7941 * general.c (syms_of_general): add last-command, this-command, let
7944 * lisp.h: declare various symbols.
7946 * glyphs.h: declare Qwidget_callback_current_channel;
7948 * glyphs-widget.c (syms_of_glyphs_widget): add
7949 Qgui_callback_current_channel.
7950 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
7952 * gui-msw.c (mswindows_handle_gui_wm_command): bind
7953 widget-callback-current-channel when invoking the interactive
7954 arg. Also bind last-command and next-command when invoking the
7956 * gui-x.c (popup_selection_callback): ditto.
7958 * gui.c (get_gui_callback): massage args so that we are always
7959 calling eval. This allows us to add our own variable bindings
7962 * glyphs-x.c (x_button_instantiate): use
7963 gui_items_to_widget_values since this is GC safe.
7964 (x_progress_gauge_instantiate): ditto.
7965 (x_edit_field_instantiate): ditto.
7966 (x_label_instantiate): ditto.
7968 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
7969 (emacs_Xt_event_widget_focus_out): new function
7970 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
7972 (emacs_Xt_event_add_widget_actions): new function. add focus
7973 functions as actions.
7974 (init_event_Xt_late): use it.
7976 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
7978 * event-stream.c (Fdispatch_event): Doc fix.
7980 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
7982 * postgresql.c: Remove all references to PQsetenv*.
7984 * postgresql.h: Remove references to PGsetenvHandler object.
7985 * lrecord.h (lrecord_type): Ditto.
7987 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7989 * glyphs-msw.h (struct mswindows_image_instance_data): Added
7990 real_heigh and real_width members, and accessor macros for these.
7992 * glyphs-msw.c (init_image_instance_geometry): New function.
7993 (init_image_instance_from_dibitmap): Use it.
7994 (mswindows_resource_instantiate): Use it.
7995 (init_image_instance_from_xbm_inline): Use it.
7996 (mswindows_initialize_image_instance_mask): Use real bitmap
7998 (mswindows_create_resized_bitmap): Ditto.
7999 (mswindows_create_resized_mask): Ditto.
8001 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
8002 and bitmap to their surface size.
8004 2000-04-11 Jan Vroonhof <jan@xemacs.org>
8006 * process-unix.c (unix_send_process): Guard against process MIA
8007 after Faccept_process_output.
8009 2000-04-11 Ben Wing <ben@xemacs.org>
8011 * eval.c (unbind_to_hairy): fix brokenness introduced by
8012 nanosecond speed improvements.
8014 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
8016 * sunplay.c (init_device): To play sounds correctly, the device
8017 apparently needs to be initialized at least once by XEmacs. Make
8020 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
8022 * redisplay.c (add_margin_runes): Add text image glyph
8025 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8027 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
8028 gcc is newer than 2.5.
8030 2000-04-06 Colin Rafferty <colin@xemacs.org>
8032 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
8034 * fns.c (size_bit_vector):
8035 * alloc.c (size_vector):
8036 (make_vector_internal):
8037 (make_bit_vector_internal):
8038 (sweep_bit_vectors_1):
8039 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
8041 2000-04-06 Andy Piper <andy@xemacs.org>
8043 * gmalloc.c (malloc): undo previous change.
8048 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
8050 * line-number.c (buffer_line_number): Revert to former version.
8052 2000-04-06 Andy Piper <andy@xemacs.org>
8054 * gmalloc.c (malloc): add error checking.
8059 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
8060 button_item_to_widget_value arg.
8062 * glyphs-x.c (x_button_instantiate): add extra
8063 button_item_to_widget_value arg.
8064 (x_progress_gauge_instantiate): ditto.
8065 (x_edit_field_instantiate): ditto.
8066 (x_label_instantiate): ditto.
8068 * gui-x.c (gui_items_to_widget_values_1): add extra
8069 button_item_to_widget_value arg.
8070 (button_item_to_widget_value): add extra menu_item_p arg.
8072 * gui-x.h: change signature of button_item_to_widget_value.
8074 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
8075 button_item_to_widget_value arg.
8077 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8079 * buffer.h (struct buffer): auto_save_modified should be long.
8081 2000-04-05 Andy Piper <andy@xemacs.org>
8083 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
8085 (button_query_geometry): give a little more room so that athena
8088 2000-04-05 Andy Piper <andy@xemacs.org>
8090 * faces.c (complex_vars_of_faces): The widget face should inherit
8091 the font of the gui-element face.
8093 2000-04-04 Andy Piper <andy@xemacs.org>
8095 * glyphs-x.c (x_button_update): new function. unconditionally
8096 update a button's state when the instance is dirty.
8097 (image_instantiator_format_create_glyphs_x): add x_button_update.
8098 (x_widget_instantiate): remove old resize cruft.
8100 2000-04-02 Andy Piper <andy@xemacs.org>
8102 * frame.c (change_frame_size_1): The introduction of gutters means
8103 that we need to allow 0 as a potential frame dimension.
8105 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
8107 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
8108 image glyph if allow_cursor.
8109 (add_hscroll_rune): Don't allow cursor to border glyph.
8110 (create_text_block): Ditto.
8112 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
8114 (redisplay_output_layout): Call ensure_face_cachel_complete for
8118 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
8120 * redisplay.c (add_glyph_rune): Adding text image as text runes.
8122 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
8125 * redisplay-tty.c (tty_output_display_block): Delete the routine
8126 for text image glyph
8127 * redisplay-x.c (x_output_display_block): ditto
8128 * redisplay-msw.c (mswindows_output_display_block): ditto
8130 2000-02-02 Mike Alexander <mta@arbortext.com>
8132 Note: Some of these were committed by accident as part of other
8135 * regex.c (regex_compile): Avoid compiler warnings.
8137 * ntproc.c (sys_spawnve): Avoid compiler warnings.
8139 * nt.h: Declare term_ntproc correctly.
8141 * nt.c: Remove incorrect declaration of get_home_directory which
8142 is declared correctly in lisp.h.
8144 * keymap.c (get_keyelt): Avoid compiler warnings.
8145 (raw_lookup_key_mapper): Avoid compiler warnings.
8147 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
8149 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
8151 * filemode.c (mode_string): Avoid compiler warnings.
8153 * file-coding.c (Fcoding_system_aliasee): Add return statement to
8156 * events-mod.h: Undef some things that winuser.h defines differently.
8158 * data.c (Faset): Avoid compiler warnings.
8160 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
8162 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8164 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
8165 Fall through to simple beep on error.
8166 Replace "extern" by real header file.
8168 * linuxplay.c: Use nativesound.h
8169 (play_sound_data): Return error code. Be less verbose on error.
8171 * sunplay.c: Use nativesound.h
8172 (play_sound_data): Return error code. Be less verbose on error.
8174 * ntplay.c: Use nativesound.h
8175 (play_sound_data): Return fake error code
8177 * sgiplay.c: Use nativesound.h
8178 (play_sound_data): Return error code
8180 * hpplay.c: Use nativesound.h, partially implement
8181 new error code. Break compilation until finished.
8182 (play_sound_data): error code.
8184 * nativesound.h (play_sound_file):
8185 (play_sound_data): Prototype in new header.
8187 2000-03-31 Andy Piper <andy@xemacs.org>
8189 * glyphs-widget.c: (button_query_geometry): new function. Adjust
8190 for toggle and radio buttons.
8191 (image_instantiator_buttons): use it.
8193 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8195 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
8196 (x_update_horizontal_scrollbar_callback): Return if no mirror was
8197 found. Scrollbar event probably belonged to some old config.
8199 2000-03-31 Andy Piper <andy@xemacs.org>
8201 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
8203 (initialize_widget_image_instance): default layout to
8204 LAYOUT_HORIZONTAL rather than 0.
8205 (widget_instantiate): reverse the item list at the end rather than
8207 (layout_layout): re-code for the border text at the front of the
8208 item list rather than at the end.
8209 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
8210 provided by the user.
8211 (widget_query_geometry): comment.
8213 2000-03-30 Andy Piper <andy@xemacs.org>
8215 * glyphs-widget.c (image_instantiator_layout): allow standard
8216 widget keywords in layouts.
8218 * gutter.c (output_gutter): cope with nil gutter contents.
8220 * frame.c (Fset_frame_properties): add gutter docs.
8222 2000-03-29 Andy Piper <andy@xemacs.org>
8224 * toolbar-msw.c (TBSTYLE_FLAT): add.
8225 (mswindows_output_toolbar): minor fiddling.
8227 2000-03-29 Andy Piper <andy@xemacs.org>
8229 * gutter.c (output_gutter): force gutter size recalculation if
8230 what we are trying to display won't fit.
8231 (update_gutter_geometry): new function. A per-gutter version of
8232 update_frame_gutter_geometry.
8233 (update_frame_gutter_geometry): use it.
8234 (redraw_exposed_gutter): add extra debugging output.
8236 2000-03-28 Mike Alexander <mta@arbortext.com>
8238 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
8239 (pdump_file_unmap): Implement it on Windows
8240 (pdump_file_get): Save alocated handles for pdump_file_unmap
8242 2000-03-28 Andy Piper <andy@xemacs.org>
8244 * gui.c (get_gui_callback): treat Quit specially.
8246 2000-03-27 Andy Piper <andy@xemacs.org>
8248 * glyphs.c (image_instantiate): be careful to check in the same
8251 2000-03-27 Didier Verna <didier@xemacs.org>
8253 * config.h.in: define the proper SMART_INCLUDE macro.
8254 handle renaming of `foo_h_path' to `foo_h_file'.
8256 * database.c: ditto.
8260 * linuxplay.c: ditto.
8262 * terminfo.c: ditto.
8264 * tooltalk.h: ditto.
8266 2000-03-27 Andy Piper <andy@xemacs.org>
8268 * glyphs-msw.c (mswindows_update_widget): make sure the widget
8269 gets updated whenever the face might have changed.
8271 2000-03-26 Mike Alexander <mta@arbortext.com>
8273 * dumper.c (pdump_resource_free): Fix the comment.
8275 2000-03-21 Olivier Galibert <galibert@pobox.com>
8277 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
8279 2000-03-22 Mike Alexander <mta@arbortext.com>
8281 * dumper.c: Include Windows headers on Windows
8282 (pdump_resource_free): Add a body to the function
8283 (pdump_load): exe_name -> exe_path and add some comments.
8285 2000-03-25 Mike Alexander <mta@arbortext.com>
8287 * gui.c (copy_gui_item_tree): Return a value in all cases
8289 2000-03-21 Didier Verna <didier@xemacs.org>
8291 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
8293 (SMART_INCLUDE): new macro.
8294 (POSTGRES_INCLUDE): new macro to include postgresql headers from
8295 the proper location.
8297 * postgresql.c: use it.
8301 2000-03-24 Andy Piper <andy@xemacs.org>
8303 * gutter.c (redraw_exposed_gutters): must be "in display" when we
8306 2000-03-24 Andy Piper <andy@xemacs.org>
8308 * redisplay-output.c (compare_runes): use image_instance_changed
8309 to detect changes. Do not depend on glyphs_changed, only depend on
8311 (redisplay_output_layout): add debug messages.
8312 (compare_runes): ditto.
8314 * glyphs.h: declare new functions.
8315 (struct Lisp_Image_Instance): remove percent and associated
8318 * gui.h: declare new copying functions.
8320 * gui.c (copy_gui_item_tree): new function.
8321 (copy_gui_item): new function.
8322 (gui_item_id_hash): revert to standard hash.
8323 (gui_item_hash): ditto.
8324 (gui_item_hash_internal): deleted.
8325 (mark_gui_item): mark value.
8326 (gui_item_add_keyval_pair): add value.
8327 (gui_item_init): ditto.
8328 (gui_add_item_keywords_to_plist): ditto.
8329 (gui_item_equal): ditto.
8330 (syms_of_gui): add Q_value.
8332 * glyphs-x.c (x_progress_gauge_update): use pending items and
8333 value for setting the state.
8334 (x_update_widget): don't set items from pending here.
8336 * glyphs-widget.c (update_widget): update items here.
8337 (progress_gauge_set_property): use items for storing value. Put
8338 new value in pending items.
8340 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
8341 items for new value. Convert percent -> value.
8342 (mswindows_tab_control_update): don't update items here.
8344 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
8345 (update_subwindow): ditto.
8346 (image_instance_changed): new function. Compare hash values and
8347 past and present widget items.
8348 (image_instantiate): We more careful about where we instantiate
8350 (image_instantiate): add error checking.
8352 * gutter.c (syms_of_gutter): use -hook.
8354 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
8356 * console-tty.c (Fset_console_tty_input_coding_system): Use
8358 (Fset_console_tty_output_coding_system): Use Qterminal.
8359 (tty_init_console): Use Qkeyboard and Qterminal.
8361 2000-03-21 Ben Wing <ben@xemacs.org>
8363 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
8364 From Mike Alexander <mta@arbortext.com>.
8366 2000-03-21 Ben Wing <ben@xemacs.org>
8368 * event-msw.c (mswindows_need_event): Horrible kludge to fix
8369 process brokenness. Proper implementation to come.
8371 Rename call-process-internal to old-call-process-internal.
8372 New impl. in process.el.
8374 2000-03-21 Martin Buchholz <martin@xemacs.org>
8376 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
8378 2000-03-20 Andy Piper <andy@xemacs.org>
8380 * glyphs.c (full_list_hash): make hashes of the same elements in
8381 different orders return different values.
8383 2000-03-20 Martin Buchholz <martin@xemacs.org>
8385 * XEmacs 21.2.32 is released.
8387 2000-03-20 Martin Buchholz <martin@xemacs.org>
8389 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
8390 (DFC_MALLOC_USE_CONVERTED_DATA):
8391 Add aliasing-safe casts to allow use with char* or unsigned char*
8394 * eldap.c (Fldap_open):
8395 (Fldap_search_basic):
8398 Make C++-compilable.
8399 Make sure GCPRO'ed variables are initialized.
8400 Use temp variables to avoid repeated calls to Flength.
8402 2000-03-16 Martin Buchholz <martin@xemacs.org>
8405 Make sure PATH_MAX is always defined.
8406 Include limits.h for PATH_MAX.
8407 Deprecate use of MAXPATHLEN.
8409 2000-03-10 Martin Buchholz <martin@xemacs.org>
8411 * emacs.c: Add reinit_vars_of_fileio.
8412 * symsinit.h: Add reinit_vars_of_fileio.
8413 * fileio.c (reinit_vars_of_fileio): New.
8414 * fileio.c (Fmake_temp_name):
8415 Initialize temp_name random number from microseconds to make
8416 collisions even less likely. Initialize always at process startup
8417 time. (make-temp-name) used to return the same file name twice in
8419 Random stylistic fiddling.
8422 2000-03-20 Andy Piper <andy@xemacs.org>
8424 * glyphs.c (image_instantiate): allow text glyphs to be
8425 instantiated in the minibuffer window.
8427 2000-03-19 Andy Piper <andy@xemacs.org>
8429 * glyphs.c (image_instance_hash): be careful about which items we
8432 * glyphs-widget.c (tab_control_set_property): record into pending
8433 items rather than the actual items.
8435 * glyphs-x.c (x_update_widget): use pending items to update with.
8437 * glyphs-msw.c (mswindows_tab_control_update): use pending items
8440 * glyphs.c (mark_image_instance): mark pending items.
8442 * window.c (Fset_window_configuration): record the buffer.
8443 (Fselect_window): totally revert previous change which breaks many
8446 2000-03-18 Andy Piper <andy@xemacs.org>
8448 * glyphs-msw.c (mswindows_tab_control_update): force selected
8451 * glyphs.c (image_instantiate): don't allow the minibuffer as a
8452 window domain cache, otherwise we get inconsistencies at
8453 startup. There is something fishy at startup which can lead to the
8454 minibuffer being the selected window when the gutter content is
8457 * gui.c (parse_gui_item_tree_list): add probably unnecessary
8459 (parse_gui_item_tree_children): ditto.
8460 (parse_gui_item_tree_item): ditto.
8462 * glyphs.c (Fupdate_widget_instances): return something.
8464 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8466 * window.c (Fselect_window): Undo 2000-03-17 change.
8468 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
8470 * postgresql.c (Fpq_setenv): Remove this turkey when linking
8471 against v7.0 libraries. Insta-coredump city until the postgres
8474 2000-03-17 Andy Piper <andy@xemacs.org>
8476 * faces.c (complex_vars_of_faces): don't give the widget face an
8477 inherited background pixmap.
8479 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
8482 * event-stream.c (Fdispatch_non_command_events): return something.
8484 * gutter.c (output_gutter): use widget face.
8485 (clear_gutter): ditto.
8487 * NEWS: adjust again.
8489 * window.c (Fselect_window): make sure this runs to completion to
8490 avoid oddities with Fset_window_configuration.
8491 (Fcurrent_window_configuration): in general do not save the
8492 minibuffer as the selected window.
8494 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
8496 2000-03-16 Olivier Galibert <galibert@pobox.com>
8498 * emacs.c (Frunning_temacs_p): Revert previous patch.
8499 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
8501 2000-03-16 Andy Piper <andy@xemacs.org>
8503 * glyphs-x.c (x_tab_control_update): if no widget values then
8506 * NEWS: update for new features.
8508 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
8509 synthetic event to the native system.
8510 (reinit_vars_of_event_Xt): set force_event_pending to
8511 emacs_Xt_force_event_pending.
8513 * events.h (struct event_stream): add force_event_pending.
8515 * specifier.c (recompute_one_cached_specifier_in_window): add
8518 * redisplay.c (redisplay_frame): don't call
8519 update_frame_subwindows. Reset subwindow cachels when
8520 subwindows_changed, removing this was an optimization too far.
8522 * redisplay-output.c (compare_runes): reorganize so that we catch
8523 glyph changes when we want them. Set optimize_output when this
8525 (redisplay_output_layout): remove frame_really_changed, use
8526 optimize_output instead.
8528 * redisplay-msw.c (mswindows_output_display_block): reset
8529 optimize_output after outputting a glyph.
8530 * redisplay-x.c (x_output_display_block): ditto.
8531 * redisplay-tty.c (tty_output_display_block): ditto.
8533 * gutter.c: (specifier_vars_of_gutter): use new spec changed
8535 (gutter_specs_changed): do specific gutter positions.
8536 (top_gutter_specs_changed): new function. Only update the
8537 specified gutter specs.
8538 (bottom_gutter_specs_changed): ditto.
8539 (left_gutter_specs_changed): ditto.
8540 (right_gutter_specs_changed): ditto.
8542 * gui.c (gui_item_hash_internal): new function, does a real hash.
8543 (gui_item_id_hash): use it.
8544 (gui_item_hash): hash the eval'ed gui_item.
8546 * gui-x.c (popup_selection_callback): send an eval event to call
8547 Fupdate_widget_instances.
8549 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
8550 to call Fupdate_widget_instances.
8552 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
8553 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
8555 * glyphs.c: (update_frame_subwindows): deleted.
8556 (Fupdate_widget_instances): new function for updating the dirty
8557 state of widgets that might have changed.
8558 (syms_of_glyphs): add Qupdate_widget_instances.
8559 (full_list_hash): hash a list completely.
8560 (image_instance_hash): use it for items and properties.
8562 * frame-msw.c (mswindows_size_frame_internal): remove unused
8565 * faces.h (struct face_cachel): fix comment.
8567 * event-stream.c (Fdispatch_non_command_events): new
8568 function. Process non-command events, forcing an event cycle
8570 (syms_of_event_stream): declare.
8571 (event_stream_force_event_pending): new function. Force an event
8572 on the native event queue so that an event cycle will occur next
8576 (struct ntpipe_shove_stream):
8577 (mswindows_enqueue_dispatch_event):
8578 (mswindows_dequeue_dispatch_event):
8579 (mswindows_cancel_dispatch_event):
8580 (mswindows_pump_outstanding_events):
8581 (mswindows_drain_windows_queue):
8582 (mswindows_handle_paint):
8583 (mswindows_wnd_proc):
8584 (mswindows_key_to_emacs_keysym):
8585 (get_process_input_waitable):
8586 (emacs_mswindows_delete_stream_pair): re-indent file.
8587 (mswindows_need_event): do not process further fds if the windows
8588 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
8589 fixes the 100% cpu problem.
8590 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
8592 2000-03-15 Olivier Galibert <galibert@pobox.com>
8598 * emacs.c: Moved dump file searching to dumper.c.
8599 (Frunning_temacs_p): Fixed.
8601 * alloc.c: Moved everything pdump-related to dumper.c. Removed
8602 last_lrecord_type_index_assigned.
8604 2000-02-20 Olivier Galibert <galibert@pobox.com>
8606 * symsinit.h: Added reinit parameter to init_console_stream
8609 * lisp.h: Added file parameter to pdump_load declaration.
8611 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
8612 support. Added dump file searching.
8614 * config.h.in: Added EMACS_PROGNAME.
8616 * console-stream.c (init_console_stream): Fix reinitialisation
8617 when running from temacs.
8619 * alloc.c (pdump): Add id support.
8620 (pdump_load): Add file parameter and signature/id support.
8622 * Makefile.in.in: Add full pdump support.
8624 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
8626 * postgresql.c: Update documentation to reflect latest code
8628 (print_result): Show tuple counts in printed representation when
8630 (Fpq_put_nbytes): MULE-ize.
8631 (Fpq_get_line_async): Ditto.
8633 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8635 * postgresql.c (Fpq_lo_import): Fix return value.
8636 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
8638 2000-03-13 Ben Wing <ben@xemacs.org>
8640 * alloc.c (pdump_load):
8641 Fix compile warning under mswin.
8643 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8645 * postgresql.c: Mule-ization, bug fixes.
8646 Use PG_CODING to encapsulate coding system name changes.
8647 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
8648 (pg-coding-system): Create.
8650 (Fpq_conn_defaults): Mule-ize.
8651 (Fpq_connectdb): Mule-ize & bug fix.
8652 (Fpq_connect_start): Mule-ize.
8653 (Fpq_set_client_encoding): Mule-ize.
8654 (Fpq_finish): Document `DEAD' connection status.
8656 (Fpq_pgconn): Mule-ize.
8657 (Fpq_exec): Mule-ize & bug fix.
8658 (Fpq_send_query): Ditto.
8659 (Fpq_get_result): Ditto.
8660 (Fpq_res_status): Mule-ize.
8661 (Fpq_result_error_message): Mule-ize.
8662 (Fpq_ntuples): fix comments.
8663 (Fpq_fname): Mule-ize.
8664 (Fpq_fnumber): Mule-ize.
8665 (Fpq_ftype): fix comments.
8666 (Fpq_get_value): Mule-ize.
8667 (Fpq_cmd_status): Ditto.
8668 (Fpq_cmd_tuples): Ditto.
8669 (Fpq_oid_value): Ditto.
8670 (Fpq_notifies): Ditto.
8671 (Fpq_lo_import): Ditto.
8672 (Fpq_lo_export): Ditto.
8673 (Fpq_get_line): Ditto.
8674 (Fpq_put_line): Mule-ize and bug fix.
8675 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
8677 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8679 * postgresql.c (vars_of_postgresql): Mule-ize.
8680 (Fpq_conn_defaults): Ditto.
8682 2000-03-12 Ben Wing <ben@xemacs.org>
8684 * alloc.c (Fmake_byte_code):
8685 * alloc.c (debug_string_purity_print):
8686 * alloc.c (pdump_backtrace):
8687 * alloc.c (pdump_get_indirect_count):
8688 * alloc.c (pdump_register_sub):
8689 * alloc.c (pdump_register_object):
8690 * alloc.c (pdump_register_struct):
8691 * alloc.c (pdump_dump_data):
8692 * alloc.c (pdump_reloc_one):
8696 * console-msw.c (GetConsoleHwnd):
8697 * console-msw.c (msw_hide_console):
8698 * console-msw.c (msw_show_console):
8699 * console-msw.c (msw_ensure_console_buffered):
8700 * console-msw.c (msw_output_console_string):
8701 * console-msw.c (console_type_create_mswindows):
8703 a) Added functions to manipulate the console window for use with
8706 b) Added support for writing text to the console, which is now
8707 used under Windows when xemacs is not being run non-interactively,
8708 to write text that would otherwise be destined for stdout because
8709 under these circumstances, text written to stdout tends to
8710 disappear and not be seen.
8714 * event-Xt.c (x_event_to_emacs_event):
8715 * event-Xt.c (describe_event_window):
8716 * events-mod.h (XEMACS_MOD_CONTROL):
8718 * events.c (Fmake_event):
8719 * events.c (character_to_event):
8720 * events.c (event_to_character):
8721 * events.c (format_event_object):
8722 * events.c (Fevent_modifiers):
8724 * events.h (struct key_data):
8725 * events.h (struct button_data):
8726 * events.h (struct misc_user_data):
8727 * frame-x.c (Fcde_start_drag_internal):
8728 * frame-x.c (Foffix_start_drag_internal):
8729 * gpmevent.c (Freceive_gpm_event):
8731 * keymap.c (bucky_sym_to_bucky_bit):
8732 * keymap.c (control_meta_superify):
8733 * keymap.c (make_key_description):
8734 * keymap.c (keymap_lookup_directly):
8735 * keymap.c (create_bucky_submap):
8736 * keymap.c (keymap_store):
8737 * keymap.c (define_key_check_and_coerce_keysym):
8738 * keymap.c (define_key_parser):
8739 * keymap.c (define_key_alternate_name):
8740 * keymap.c (Fdefine_key):
8741 * keymap.c (raw_lookup_key_mapper):
8742 * keymap.c (struct map_keymap_unsorted_closure):
8743 * keymap.c (map_keymap_unsorted_mapper):
8744 * keymap.c (map_keymap_sort_predicate):
8745 * keymap.c (map_keymap_sorted):
8746 * keymap.c (accessible_keymaps_mapper_1):
8747 * keymap.c (where_is_recursive_mapper):
8748 * keymap.c (describe_map_mapper):
8749 * keymap.c (describe_map_sort_predicate):
8750 * keymap.c (describe_map):
8751 * keymap.c (complex_vars_of_keymap):
8752 And a number of other files, the key modifier preprocessor
8753 constants that xemacs uses have names that conflict with constants
8754 defined under MS Windows for other purposes, so they were renamed
8755 to begin with the prefix XEMACS_. The variables that hold such
8756 modifiers were changed to consistently be of type int to fix
8757 various compile warnings.
8759 * console.c (complex_vars_of_console):
8762 * device-msw.c (mswindows_finish_init_device):
8763 * device-msw.c (msw_get_workspace_coords):
8764 * device-msw.c (mswindows_device_system_metrics):
8765 and various other files, added support for a new
8766 device property called offset-workspace which returns the position
8767 of the upper left corner of the workspace area and goes along with
8768 the existing size-workspace property.
8771 * dialog-msw.c (push_bufbyte_string_as_unicode):
8772 * dialog-msw.c (mswindows_popup_dialog_box):
8773 Added support for XEmacs-style accelerator specifications in
8774 button text. Note: I didn't add support for this under X Windows,
8775 and somebody needs to do this.
8778 * dialog.c (Fpopup_dialog_box):
8779 Documented the support for accelerators that was just mentioned.
8781 editfns.c (get_home_directory): Changed behavior under Windows
8782 when HOME not defined; former behavior was irretrievably broken.
8787 * minibuf.c (clear_echo_area_internal):
8788 * minibuf.c (echo_area_append):
8790 * print.c (std_handle_out_external):
8791 * print.c (std_handle_out_va):
8793 * print.c (write_string_to_stdio_stream):
8794 * print.c (output_string):
8795 * print.c (debug_print):
8796 * print.c (debug_backtrace):
8797 * print.c (debug_short_backtrace):
8798 Cleaned up the code that prints text to stdout so that this can be
8799 changed to output into a console window instead under MS Windows,
8803 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
8804 * eval.c (internal_catch):
8805 * eval.c (unwind_to_catch):
8806 * eval.c (throw_or_bomb_out):
8807 * eval.c (condition_case_1):
8808 * eval.c (signal_1):
8809 * eval.c (check_error_state_sanity):
8810 * eval.c (call_with_suspended_errors_1):
8811 * eval.c (call_with_suspended_errors):
8812 * eval.c (reinit_vars_of_eval):
8813 Added code to catch throw loops and check for a pesky bug that may
8817 * event-msw.c (key_needs_default_processing_p):
8818 * event-msw.c (mswindows_wnd_proc):
8819 * event-msw.c (mswindows_modifier_state):
8820 * event-msw.c (emacs_mswindows_quit_p):
8821 * event-msw.c (vars_of_event_mswindows):
8822 a) Added support for using the alt key to select menu items as is
8823 standard under MS Windows. This is controlled using the variable
8824 menu-accelerator-enabled, just like under X Windows. There is an
8825 option on the options menu to turn this support on. I really
8826 think that it should be on by default under Windows, but I'm not
8827 going to make this change yet.
8829 b) Added support for dynamic display size changes under Windows.
8832 * event-stream.c (maybe_echo_keys):
8833 * event-stream.c (Fnext_event):
8834 * event-stream.c (command_builder_find_leaf):
8835 * event-stream.c (lookup_command_event):
8836 * event-stream.c (execute_command_event):
8837 * event-stream.c (pre_command_hook):
8838 * event-stream.c (post_command_hook):
8839 * event-stream.c (syms_of_event_stream):
8840 * event-stream.c (vars_of_event_stream):
8841 * event-stream.c (complex_vars_of_event_stream):
8842 * events.h (struct command_builder):
8844 a) Tried to clean up a little bit the horribly written x-specific
8845 accelerator code that crept into this file. I moved this code
8846 into menubar-x.c where it belongs. I also needed to move the
8847 command builder structure into the file events.h because it is
8848 accessed directly by this accelerator code. What I didn't do, but
8849 which should be done at some point, is to properly abstract this
8850 code using device methods instead of the kludgy way that it
8851 currently hooks into the event code.
8853 b) Added the lisp variables this-command-properties and
8854 last-command- properties, which should be used to synchronize two
8855 adjacent commands in preference to playing games with the variable
8856 this-command, which is typically what happens.
8858 c) Added some slightly nasty code to hook into the lisp support
8859 for shifted- motion-key selection. This is actually necessary for
8860 somewhat complicated reasons, which are described in
8861 simple.el. (NB: I think the proper thing would be to have the code
8862 that calls the pre and post command hooks also call out to generic
8863 lisp functions in simple.el, where all built-in stuff could be
8864 added. I will think about this more.)
8866 * event-unixoid.c (poll_fds_for_input):
8867 * lread.c (readchar):
8868 * redisplay-tty.c (tty_clear_frame):
8869 * redisplay-x.c (x_get_gc):
8870 * signal.c (interrupt_signal):
8871 And a whole bunch of other files: fixed up places that printed
8872 directly to stderr to instead call the function stderr_out so that
8873 the changes I made under Windows work correctly.
8875 * filemode.c (mode_string):
8879 * frame-msw.c (mswindows_size_frame_internal):
8880 Fixed the computation of frame size and position to keep the frame
8881 within the workspace area, rather than within the physical
8882 dimensions of the screen, so that the frame doesn't overlap window
8883 manager decorations, such as the start menu and toolbar, typically
8884 at the bottom of the screen.
8886 * frame.c (vars_of_frame):
8887 Changed the default frame title format under MS Windows to consist
8888 of buffername-XEmacs, which is standard under MS Windows. I think
8889 it might be a good idea to change this everywhere because I think
8890 it is superior to the current frame title format, but this is the
8891 kind of change that is likely to cause some people to get annoyed,
8892 so I'm not making it.
8894 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
8896 * gui-msw.c (mswindows_handle_gui_wm_command):
8897 Fixed compile warnings.
8900 * gui-x.c (strdup_and_add_accel):
8901 * gui-x.c (button_item_to_widget_value):
8903 Added code to automatically put an accelerator onto the beginning
8904 of menu items that don't have one as is now the standard, and is
8905 described more later. Also fixed things so that the menu item
8906 name can be an evaluated expression, again a new standard.
8909 * gui.c (gui_item_add_keyval_pair):
8910 * gui.c (make_gui_item_from_keywords_internal):
8911 * gui.c (gui_add_item_keywords_to_plist):
8912 * gui.c (gui_item_accelerator):
8913 * gui.c (gui_name_accelerator):
8914 * gui.c (gui_item_included_p):
8915 * gui.c (gui_item_display_flush_left):
8916 * gui.c (gui_item_display_flush_right):
8917 * gui.c (parse_gui_item_tree_item):
8918 * gui.c (parse_gui_item_tree_children):
8919 * gui.c (parse_gui_item_tree_list):
8920 Mule-ized. Cleanup. GCPRO addition.
8922 * line-number.c (buffer_line_number):
8924 * lisp.h (EMACS_INT_MAX):
8925 Added the manifest constant EMACS_INT_MIN corresponding to the
8926 existing constant EMACS_INT_MAX. This is partially to fix compile
8927 warnings under Windows, and partly for cleanliness.
8930 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
8931 * menubar-msw.c (msw_translate_menu_or_dialog_item):
8932 * menubar-msw.c (displayable_menu_item):
8933 * menubar-msw.c (populate_menu_add_item):
8934 * menubar-msw.c (populate_or_checksum_helper):
8935 * menubar-msw.c (populate_menu):
8936 * menubar-msw.c (update_frame_menubar_maybe):
8937 * menubar-msw.c (prune_menubar):
8938 * menubar-msw.c (msw_char_is_accelerator):
8939 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
8940 * menubar-msw.c (mswindows_handle_wm_command):
8941 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
8942 * menubar-msw.c (mswindows_handle_wm_initmenu):
8943 * menubar-msw.c (mswindows_update_frame_menubars):
8944 * menubar-msw.c (mswindows_free_frame_menubars):
8945 * menubar-msw.c (mswindows_popup_menu):
8946 Fixed a bug in handling accelerators where an extra character
8947 would be displayed in the menu item. Also generalized the
8948 function displayable_menu_item because it is now used by the
8949 dialog box code as well. And finally, added code in the functions
8950 that create the menubar to extract a list of accelerators for the
8951 top level menubar, which is used in the event code to determine
8952 whether a particular alt-key combination should be used to invoke
8953 a menu item, or should be passed through to access the standard
8954 XEmacs keymap binding for this key combination.
8956 Much needed GCPROing.
8959 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8960 * menubar-x.c (menu_item_descriptor_to_widget_value):
8961 * menubar-x.c (restore_in_menu_callback):
8962 * menubar-x.c (x_popup_menu):
8963 * menubar-x.c (menu_move_up):
8964 * menubar-x.c (menu_move_down):
8965 * menubar-x.c (menu_move_left):
8966 * menubar-x.c (menu_move_right):
8967 * menubar-x.c (menu_select_item):
8968 * menubar-x.c (command_builder_operate_menu_accelerator):
8969 * menubar-x.c (menu_accelerator_junk_on_error):
8970 * menubar-x.c (command_builder_find_menu_accelerator):
8971 * menubar-x.c (Faccelerate_menu):
8973 Moved a whole bunch of code here that was previously in
8974 event-stream.c as described above. There is also code connected
8975 to the new standard of adding an accelerator to the beginning of
8976 menu items that don't have one as described above and below.
8979 * menubar.c (menu_parse_submenu_keywords):
8980 * menubar.c (Fmenu_find_real_submenu):
8981 * menubar.c (Fnormalize_menu_item_name):
8982 * menubar.c (syms_of_menubar):
8983 * menubar.c (vars_of_menubar):
8984 * menubar.c (complex_vars_of_menubar):
8986 a) Cleaned up a bunch of documentation and improved it.
8988 b) XEmacs now automatically adds an accelerator onto the beginning
8989 of any menu items that don't have one. I did this because there
8990 will inevitably be some menu items on the main menubar that don't
8991 have accelerators on them because the package that adds that
8992 particular menu item hasn't yet been fixed up to have accelerators
8993 in them and it looked rather strange to have some items with and
8994 some items without accelerators, especially since even in items
8995 without accelerators, you can, at least under windows, still
8996 access the item through an accelerator corresponding to the first
8997 character in the item's name. If people don't like this behavior,
8998 I can add a variable to turn it off optionally, but I'm not sure
8999 this is a good idea because we really do need to have accelerators
9000 on all of the menu items, and if a package doesn't like the
9001 accelerators being put on the first character, then it should put
9002 the accelerators where they belong.
9004 c) I made a behavior change, which is that the descriptor that
9005 specifies the text of the menu item, which formerly was just a
9006 string, can now also be an evaluated expression. This makes this
9007 descriptor parallel with all of the others, which could also be
9008 evaluated expressions. This also obviates the need for the
9009 keyword :label, which was previously listed in the documentation
9010 as unimplemented, and which was for the same purpose.
9015 * ntproc.c (new_child):
9016 * ntproc.c (sys_spawnve):
9017 * ntproc.c (find_child_console):
9018 * ntproc.c (sys_kill):
9019 Fixed compile warnings. By the way, this file should really go
9020 away entirely, and this will happen as soon as Kirill makes his
9021 final round of process cleanups, which affect the function
9025 * process-nt.c (struct nt_process_data):
9026 * process-nt.c (find_process_from_pid):
9027 * process-nt.c (send_signal_the_nt_way):
9028 * process-nt.c (enable_child_signals):
9029 * process-nt.c (find_child_console):
9030 * process-nt.c (send_signal_the_95_way):
9031 * process-nt.c (nt_finalize_process_data):
9032 * process-nt.c (ensure_console_window_exists):
9033 * process-nt.c (nt_create_process):
9034 * process-nt.c (nt_kill_child_process):
9035 * process-nt.c (nt_kill_process_by_pid):
9036 * process-nt.c (nt_open_network_stream):
9037 * process-nt.c (vars_of_process_nt):
9038 Copied over code from Emacs 20.5 to correctly send signals to sub-
9039 processes under Windows 95. Also added code to automatically
9040 create and hide console window when a sub-process is created under
9041 Windows 95, which obviates the need for the separate runemacs.exe
9042 executable, and finally implemented some variables that were
9043 implemented in Emacs 20.5, but previously not in XEmacs. These
9044 include mswindows- start-process-share-console and
9045 mswindows-start-process-inherit-error-mode. (Both of these only
9046 apply to Windows 95.)
9048 * regex.c (regex_compile): Fixed a compile warning.
9051 * select-msw.c (mswindows_own_selection):
9052 * select-msw.c (mswindows_get_foreign_selection):
9053 * select-msw.c (mswindows_disown_selection):
9054 * select-msw.c (console_type_create_select_mswindows):
9055 * select-msw.c (syms_of_select_mswindows):
9056 Cleaned up the file and implemented the device method
9057 selection_exists_p, which had accidentally been left out. Also
9058 removed four lisp functions that were remnants from before the
9059 time when the selection code was properly device abstracted.
9060 These functions are no longer needed because there are generic
9061 equivalents, and because they were added recently and don't exist
9062 in FSF Emacs, I don't think there's any problem with just deleting
9066 * sysdep.c (sys_subshell):
9067 Fixed a compile warning, although in this case there's probably
9068 something wrong with this code, and it ought to be looked into
9069 more thoroughly by somebody who understands it.
9072 * window.c (Fwindow_text_area_height):
9073 * window.c (Fwindow_width):
9074 * window.c (Fwindow_full_width):
9075 * window.c (Fwindow_pixel_width):
9076 * window.c (debug_print_window):
9077 * window.c (syms_of_window):
9078 Added functions window-text-area-height and window-full-width,
9079 which are functions for returning various width and height
9080 characteristics of a window. (One of these functions is necessary
9081 for making the file dialog box work correctly, and the other one
9082 was added for completeness.) Also added a table to the
9083 documentation for window-height which describes the entire scheme
9084 for accessing width and height characteristics of a window.
9086 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9088 * nt.c (fstat): Added a comment for another problem with
9089 non-encapsulated [f]stat(), reported by Adrian Aichner
9090 <aichner@ecf.teradyne.com>.
9092 2000-03-11 Andy Piper <andy@xemacs.org>
9094 * window.c (make_dummy_parent): initialize subwindow instance
9096 (Fset_window_configuration): zero extent_modiff.
9098 2000-03-10 Andy Piper <andy@xemacs.org>
9100 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
9101 more changes can be triggered.
9102 (Fredisplay_frame): ditto.
9103 (Fredraw_device): ditto.
9104 (Fredisplay_device): ditto.
9105 (redisplay_frame): make non-static.
9106 (redisplay_frame): call update_frame_gutter_geometry outside of
9109 * gutter.h: declare update_frame_gutter_geometry.
9111 * redisplay.h: declare redisplay_frame.
9113 * gutter.c (update_frame_gutter_geometry): move geometry changes
9114 in update_frame_gutters here. Geometry changes can only occur
9115 outside of redisplay.
9116 (update_frame_gutters): remove geometry change code.
9117 (Fredisplay_gutter_area): make sure that we are in display when we
9118 update and that we have flushed any size changes.
9120 2000-03-11 Andy Piper <andy@xemacs.org>
9122 * alloc.c (pdump_dump_data): remove i & count shadows.
9124 2000-02-27 Mike Alexander <mta@arbortext.com>
9126 * sysdep.h: Declare pdump_read_file
9128 * sysdep.c (pdump_read_file): New function
9130 * alloc.c (pdump_load): Call pdump_read_file to get the portable
9133 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
9135 * lrecord.h: add `lrecord_type_pgsetenv'.
9137 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
9139 * symsinit.h: declare (vars|syms)_of* functions.
9140 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
9142 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
9144 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
9146 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
9149 * emacs.c (main_1): Call postgres initialization code.
9151 * postgresql.h: New file. PostgreSQL RDBMS support.
9152 * postgresql.c: New file.
9154 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9156 * redisplay-output.c (redisplay_output_display_block): Disable
9159 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9161 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
9162 (Fcanna_henkan_next): Ditto.
9163 (Fcanna_bunsetu_henkou): Ditto.
9164 (Fcanna_henkan_kakutei): Ditto.
9165 (Fcanna_henkan_end): Ditto.
9166 (Fcanna_henkan_quit): Ditto.
9167 (Fcanna_henkan_next): Set retun value correctly.
9168 (c2mu): Use unsigned char instead of signed char.
9170 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9172 * emacs.c (main_1): Always call syms_of_gui.
9173 * inline.c: include gui.h
9175 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9177 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
9178 converted to Lisp_Object.
9179 (Qtop_bottom): New variable.
9180 (syms_of_redisplay): Initialize it.
9181 * redisplay.h (Vvisible_bell): Ditto.
9182 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
9183 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
9184 only flash top and bottom.
9186 2000-03-08 Andy Piper <andy@xemacs.org>
9188 * buffer.c (Frename_buffer): record new buffer name the right way.
9190 2000-03-08 Andy Piper <andy@xemacs.org>
9192 * glyphs.c (update_subwindow): increase hash depth so that widget
9193 items get picked up properly.
9195 * redisplay-output.c (compare_runes): increase hash depth so that
9196 widget items get picked up properly.
9198 2000-03-08 Andy Piper <andy@xemacs.org>
9200 * gutter.c (output_gutter): add some debug.
9202 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
9203 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
9204 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
9206 * redisplay-output.c (compare_runes): use display_hash to
9207 determine if glyphs really are not the same.
9209 * glyphs.c (update_subwindow): check display_hash to see if
9210 anything really needs to be updated. If not then do
9211 nothing. Record the display_hash after updating.
9212 (image_instance_equal): compare the image_instance face also.
9214 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
9216 * redisplay.h: Fix comment style.
9218 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
9220 * consle-msw.h (struct mswindows_frame):
9221 Added new member paint_pending to indicate whether a WM_PAINT
9222 magic event has been queued for this frame.
9224 * event-msw.c (mswindows_drain_windows_queue):
9225 Don't queue a WM_PAINT magic event if one is already queued.
9226 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
9228 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
9230 2000-03-07 Didier Verna <didier@xemacs.org>
9232 * dired.c: #include `regex.h' after `sysfile.h'.
9234 2000-03-06 Martin Buchholz <martin@xemacs.org>
9236 * sound.c (init_nas_sound): Fix compiler warning.
9238 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
9240 (MARK_STRUCT_AS_FREE):
9241 (MARK_STRUCT_AS_NOT_FREE):
9242 Make `gcc -fstrict-aliasing' work properly.
9244 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
9246 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
9247 (mswindows_delete_device): Call CoUnnitialize().
9249 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
9251 2000-02-25 <CraigL@DyCon.com>
9253 * process-nt.c: MinGW now has <shellapi.h>, but still needs
9256 * sysdep.c: This extern declaration for environ prevents MinGW
9257 from finding the variable in CRTDLL.DLL.
9259 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
9263 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
9265 (MMRESULT): Removed, now defined in cygwin's windows headers.
9267 (uid_t,gid_t,pid_t,ssize_t): ..
9268 (_timeb): Removed, MinGW defines both _timeb and timeb.
9269 (HAVE_H_ERRNO): Added.
9270 (HAVE_TZNAME): Added, configure is not detecting this.
9272 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
9274 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
9275 * syntax.c (syntax_match): Use it.
9277 * cmds.c: Import auto-fill-chars from FSF Emacs.
9278 (Vauto_fill_chars): New variables.
9279 (internal_self_insert): Check Vauto_fill_chars.
9281 Declare auto-fill-chars as a Lisp variable and initialize it.
9283 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
9285 * fileio.c (Fmake_symbolic_link):
9287 Run handlers even if local machine doesn't have symlinks.
9289 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
9291 * event-msw.c (mswindows_drain_windows_queue):
9292 Don't generate paint magic events for non-XEmacs frames.
9294 2000-03-05 Andy Piper <andy@xemacs.org>
9296 * redisplay.c (redisplay_frame): generate_displayable_area and
9297 friends assumes that we are not in GC, we therefore have to make
9298 sure that this doesn't happen.
9300 * gutter.c (calculate_gutter_size): generate_displayable_area
9301 assumes that we are not in GC, we therefore have to make sure that
9302 this doesn't happen.
9304 2000-03-05 Martin Buchholz <martin@xemacs.org>
9306 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
9308 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9310 * redisplay.c (regenerate_window): Make sure we set a sane value
9311 for end_pos even if we jump out of the loop.
9312 (regenerate_window): Answer Ben's question :-).
9313 (start_end_of_last_line): Add may_error argument.
9314 (start_of_last_line):
9315 (end_of_last_line): Pass may_error = 0.
9316 (end_of_last_line_may_error): New function.
9317 (pixel_to_glyph_translation): Use it, so we don't crash in
9320 2000-03-04 Andy Piper <andy@xemacs.org>
9322 * window.h (struct window): add gutter_extent_modiff.
9324 * window.c (allocate_window): zero out gutter_extent_modiff.
9326 * redisplay.h: declare sync_display_line_structs.
9328 * redisplay.c (add_glyph_rune): add a better comment.
9330 * redisplay-output.c (sync_display_line_structs): made non-static.
9331 (compare_runes): remove unneccesary glyph cachel access.
9333 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
9335 * gutter.c (output_gutter): don't output the gutter if extent
9336 changes only involve extents in buffers. use 4 sets of display
9338 (gutter_extent_signal_changed_region_maybe): new function. Mark
9339 extents in gutters as changed.
9340 (update_frame_gutters): use 4 sets of display lines.
9341 (reset_gutter_display_lines): ditto.
9342 (free_frame_gutters): ditto.
9343 (redraw_exposed_gutter): force output of gutters.
9345 * frame.h (struct frame): add 4 sets of gutter display lines.
9347 * extents.c: (extent_changed_for_redisplay): signal changes to
9348 extents in strings in the gutter as well as extents in buffers.
9350 2000-03-02 Andy Piper <andy@xemacs.org>
9352 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
9354 * frame.c (Fmake_frame): make sure the gutters get initialized
9355 after the frame is visible.
9356 (set_frame_selected_window): re-arrange compilation macros a
9358 (change_frame_size_1): mark gutters changed.
9360 * device.c (Fset_device_class): mark gutters changed.
9362 2000-03-01 Andy Piper <andy@xemacs.org>
9364 * window.c (window_top_frame_gutter_height): deleted.
9365 (window_bottom_frame_gutter_height): ditto.
9366 (window_left_frame_gutter_height): ditto.
9367 (window_right_frame_gutter_height): ditto.
9368 (window_top_gutter_height): don't use them.
9369 (window_bottom_gutter_height): ditto.
9370 (window_left_gutter_width): ditto.
9371 (window_right_gutter_width): ditto.
9372 (Fsplit_window): ditto.
9373 (Fwindow_pixel_edges): don't use border dimensions here.
9375 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
9376 (update_scrollbar_instance): ditto.
9378 * redisplay.c (generate_modeline): don't take gutters into account.
9379 (generate_modeline): ditto.
9380 (redisplay_frame): small gutter display optimization.
9382 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
9384 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
9385 gutters into account.
9387 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
9388 for window position and type.
9390 * gutter.c (get_gutter_coords): fix for frame gutters.
9391 (update_frame_gutters): update frame geometry if the gutters have
9393 (init_frame_gutters): record current gutter geometries.
9395 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
9397 (mswindows_widget_instantiate): ditto.
9399 * frame.h (struct frame): add current_gutter_bounds.
9401 * frame.c (change_frame_size_1): position window and minibuffer
9402 appropriately taking into account the frame gutters.
9404 * frame-x.c: (x_initialize_frame_size): take into account the
9407 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9409 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
9411 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9413 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
9415 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9417 * file-coding.c (reset_decoding_stream): Clear previous
9418 detection state when autodetect.
9420 2000-02-29 Didier Verna <didier@xemacs.org>
9422 * extents.c (set_extent_glyph_1): don't require extents to be
9425 2000-02-27 Andy Piper <andy@xemacs.org>
9427 * gutter.c (Fset_default_gutter_position): don't default left and
9428 right gutter visibility to t.
9429 (Fset_default_gutter_position): run
9430 default-gutter-position-changed-hook.
9431 (syms_of_gutter): add default-gutter-position-changed-hook.
9433 2000-02-26 Andy Piper <andy@xemacs.org>
9435 * specifier.c (Fmake_specifier): add gutter references.
9437 * gutter.h (RAW_WINDOW_GUTTER): new macro.
9439 * lisp.h: declare Fvalid_plist_p.
9441 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
9443 (default_gutter_visible_p_changed_in_window): invalidate gutter as
9444 well as its visibility so that it gets reconstructed.
9445 (construct_window_gutter_spec): new function. Construct a string
9446 to be displayed in the gutter from a plist of strings. Take care
9447 to only use elements that are declared as visible.
9448 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
9450 (gutter_validate): allow plists of strings in the specifier.
9451 (gutter_specs_changed): construct the real_gutter from the gutter
9452 specs using construct_window_gutter_spec.
9453 (gutter_visible_validate): gutter-visible is a new specifier type.
9454 (Fgutter_visible_specifier_p): new function for the new specifier.
9455 (syms_of_gutter): declare gutter-visible and
9456 Fgutter_visible_specifier_p.
9457 (specifier_type_create_gutter): intitalize new gutter-visible
9459 (reinit_specifier_type_create_gutter): ditto.
9460 (specifier_vars_of_gutter): use new specifier type for gutter
9462 (init_frame_gutters): construct real_gutter correctly.
9463 (Fgutter_specifier_p): beef up documentation.
9464 (Fgutter_size_specifier_p): ditto.
9466 * winslots.h: add real_gutter slots.
9468 2000-02-25 Andy Piper <andy@xemacs.org>
9470 * device-msw.c: Be kind to older cygwin versions. From Raymond
9471 Toy <toy@rtp.ericsson.se>.
9473 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
9474 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
9476 2000-02-25 Martin Buchholz <martin@xemacs.org>
9478 * elhash.c (MARK_OBJ): Practice macro hygiene.
9480 2000-02-24 Martin Buchholz <martin@xemacs.org>
9482 * miscplay.c: s/__inline__/inline/g;
9483 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
9484 (get_device_compdc): INLINE ==> static inline
9485 * *.[ch]: Change INLINE to INLINE_HEADER globally.
9486 find -name '*.h' | \
9487 xargs global-replace \
9488 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
9490 2000-02-25 Andy Piper <andy@xemacs.org>
9492 * window.c (window_top_frame_gutter_height): new function.
9493 (window_top_window_gutter_height): ditto.
9494 (window_top_gutter_height): use them.
9495 (window_bottom_frame_gutter_height): new function.
9496 (window_bottom_window_gutter_height): ditto.
9497 (window_bottom_gutter_height): use them.
9498 (window_left_window_gutter_width): new function.
9499 (window_left_frame_gutter_width): ditto.
9500 (window_left_gutter_width): use them.
9501 (window_right_window_gutter_width): new function.
9502 (window_right_frame_gutter_width): ditto.
9503 (window_right_gutter_width): use them.
9504 (window_pixel_height): new function. calulate window pixel height
9505 with frame gutter involvement.
9506 (Fsplit_window): calculate new sizes taking frame gutters into
9508 (window_char_height_to_pixel_height): don't include frame gutters.
9509 (window_char_height): use window_pixel_height.
9510 (window_pixheight): rename from window_pixel_height.
9511 (change_window_height): use it.
9512 (window_pixel_height_to_char_height): don't include frame gutters.
9513 (window_char_width_to_pixel_width): ditto.
9515 2000-02-25 Andy Piper <andy@xemacs.org>
9517 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
9520 2000-02-24 Martin Buchholz <martin@xemacs.org>
9522 * alloc.c (staticpro):
9528 (compact_string_chars):
9530 Convert: if (foo) abort(); ==> assert (! foo);
9532 * eldap.c (Fldap_search_basic):
9536 Fix compiler warnings, and possible crashes if (random) return
9537 value were to be used.
9539 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9541 * device-msw.c: Workaround ResetDC failure.
9543 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
9546 * redisplay-msw.c (get_frame_dc): Added start_page_p.
9547 (mswindows_text_width): Do not start printer page.
9549 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
9551 * glyphs-msw.c: Added image methods to msprinter console and
9552 msprinter-specific image instantiation.
9554 2000-02-20 Mike Alexander <mta@arbortext.com>
9556 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
9557 to avoid crashes when selection-sets-clipboard is on
9558 (mswindows_own_selection): ditto
9560 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9563 * redisplay-msw.c (get_frame_dc):
9566 * device-msw.c (mswindows_init_device):
9567 (mswindows_delete_device):
9568 (msprinter_init_device):
9569 (msprinter_delete_device):
9570 * frame-msw.c (mswindows_init_frame_1):
9571 (mswindows_delete_frame):
9572 (msprinter_init_frame_3):
9573 (msprinter_delete_frame): Move compatible DC to device object from
9574 frame object, for both mswindows and msprinter. Only one at a time
9575 is needed, it is a real waste to have one per frame!
9577 2000-02-23 Andy Piper <andy@xemacs.org>
9579 * glyphs.c: add dynamic width and height elements.
9580 (image_instance_equal): ditto.
9582 * glyphs-widget.c (widget_query_geometry): calculate width and
9583 height dynamically if required.
9584 (initialize_widget_image_instance): initialize dynamic dimensions.
9585 (widget_instantiate): pick-up dynamic dimensions.
9587 * glyphs.h (struct Lisp_Image_Instance): add width and height for
9588 dynamic determination. Add appropriate macros.
9590 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
9592 (WINDOW_GUTTER_SIZE): ditto.
9593 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
9595 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
9597 (get_frame_dc): ditto.
9599 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
9602 2000-02-23 Martin Buchholz <martin@xemacs.org>
9604 * XEmacs 21.2.31 is released.
9606 2000-02-22 Ben Wing <ben@xemacs.org>
9608 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
9610 2000-02-22 Andy Piper <andy@xemacs.org>
9612 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
9614 2000-02-21 Mike Sperber <mike@xemacs.org>
9618 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
9621 2000-02-21 Mike Sperber <mike@xemacs.org>
9623 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
9625 2000-02-21 Martin Buchholz <martin@xemacs.org>
9627 * XEmacs 21.2.30 is released.
9629 2000-02-20 Martin Buchholz <martin@xemacs.org>
9631 Performance hacking.
9633 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
9634 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
9637 * console.c (DEFVAR_CONSOLE_LOCAL_1):
9638 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
9639 * symeval.h (DEFVAR_SYMVAL_FWD):
9640 * symbols.c (guts_of_unbound_marker):
9641 Make all c_readonly objects also lisp_readonly and marked for life.
9642 * lrecord.h (struct lrecord_implementation):
9643 Document flags better.
9644 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
9645 * lrecord.h (DECLARE_LRECORD):
9646 * lrecord.h (XSETRECORD):
9647 * lrecord.h (RECORDP):
9648 * lrecord.h (RECORD_TYPEP):
9649 * lrecord.h (RECORD_MARKER): New.
9650 * lrecord.h (error_check_*):
9651 * lrecord.h (CONCHECK_NONRECORD):
9652 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
9653 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
9654 * lrecord.h (set_lheader_implementation):
9655 * lrecord.h (enum lrecord_type): New.
9656 * symeval.h (SYMBOL_VALUE_MAGIC_P):
9657 * alloc.c (disksave_object_finalization_1):
9658 * alloc.c (mark_object):
9659 * alloc.c (lrecord_type_index):
9660 * alloc.c (tick_lcrecord_stats):
9661 * alloc.c (Fgarbage_collect):
9662 * alloc.c (init_alloc_once_early):
9663 * alloc.c (pdump_load):
9664 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
9665 * alloc.c (lrecord_type_index): Delete.
9666 Make lisp object type indexes be constant.
9667 Makes (byte-compile) 5% faster.
9668 Put all marker functions into their own array.
9669 Makes (garbage-collect) 5% faster.
9670 Optimize SYMBOL_VALUE_MAGIC_P.
9671 Makes (byte-compile) 2-3% faster.
9672 * config.h.in (gc_checking_assert): New.
9673 * alloc.c: Use gc_checking_assert().
9674 * .dbxrc: Make compatible with new object type implementation.
9675 * .gdbinit: Make compatible with new object type implementation.
9676 * alloc.c: Delete all symbols defined only for debugging, such as
9677 Lisp_Type_Vector and lrecord_charset.
9679 2000-02-21 Andy Piper <andy@xemacs.org>
9681 * gui-msw.c (Fmswindows_shell_execute): fix file location
9684 * buffer.c (Fkill_buffer): remove buffer from alist buffer
9685 unshowing so that set_window_buffer doesn't undo
9686 kill_buffer_hook's hard work.
9688 * glyphs-widget.c (tab_control_query_geometry): don't count the
9689 first item when calculating geometry.
9691 * glyphs.c (map_subwindow): remove redundant code.
9692 (update_frame_subwindows): be more circumspect about when to
9695 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
9696 when items haven't changed. Update faces if faces have changed as
9697 well as just the widget face.
9698 (x_tab_control_update): Update faces if faces have changed as well
9699 as just the widget face.
9701 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9703 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
9705 (build_syscolor_string): Use mswindows_color_to_string to try to
9707 (mswindows_device_system_metrics): Reverse the foreground and
9708 background colors so that they match the documentation.
9710 * objects-msw.c: (mswindows_X_color_map): tweak some values so
9711 they match the default Windows palette.
9712 (mswindows_color_to_string): New function.
9714 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9716 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
9718 2000-02-18 Olivier Galibert <galibert@pobox.com>
9720 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
9721 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
9723 * symbols.c (init_symbols_once_early): Removed obsolete
9724 DATA_SEG_BITS related kludge.
9725 (defvar_magic): Ditto.
9727 * malloc.c: Removed obsolete DATA_SEG_BITS
9729 * mem-limits.h: Ditto.
9731 * Makefile.in.in: Removed obsolete HAVE_SHM
9734 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9736 * device-msw.c (mswindows_delete_device): Free DDE string
9739 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9741 * keymap.c (get_keyelt):
9742 * unexnt.c (unexec):
9743 * vm-limit.c (memory_warnings):
9744 * ntheap.c (recreate_heap):
9745 * ntheap.h (UNINIT_PTR):
9746 * select-msw.c (Fmswindows_get_clipboard):
9747 (Fmswindows_set_clipboard):
9748 * objects-msw.h (MSWINDOWS_BAD_HFONT):
9750 * menubar-msw.c (displayable_menu_item):
9752 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
9753 * sysdep.c (sys_subshell):
9754 * process-nt.c (nt_create_process):
9755 * nt.c (normalize_filename):
9756 (dostounix_filename):
9757 (unixtodos_filename):
9758 * ntproc.c (win32_executable_type):
9759 * ntplay.c (play_sound_data_1):
9761 * editfns.c (get_home_directory):
9762 * event-msw.c (struct winsock_stream):
9763 (mswindows_dde_callback):
9764 * device-msw.c (msprinter_init_device):
9765 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
9767 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
9768 mswindows_clear_toolbar were swapped!
9770 * objects-msw.c:(colormap_t):
9772 * emacs.c (struct standard_args): Fixed const jumble.
9774 * glyphs-widget.c (update_widget): Fixed comparison notation.
9776 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
9778 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
9779 __declspec(noreturn) syntax.
9781 2000-02-19 Martin Buchholz <martin@xemacs.org>
9783 * eldap.c (Fldap_open):
9784 (Fldap_search_basic):
9787 Use new coding system conversion macros.
9789 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9791 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
9793 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
9795 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
9796 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9798 * eldap.c (Qadd, Qreplace): New constant symbols
9799 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
9800 interruptions by XEmacs signals
9801 Remove unnecessary calls to slow_down_interrupts and
9803 (Fldap_search_basic): Renamed from Fldap_search_internal
9804 Added new optional parameter VERBOSE that triggers the
9805 display of progress messages
9806 Remove unnecessary calls to slow_down_interrupts and
9808 LDAP result code analysis rewritten
9809 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9810 (syms_of_eldap): Define the new symbols and functions
9813 2000-02-17 Martin Buchholz <martin@xemacs.org>
9815 * realpath.c: Determine PATH_MAX maximally portably.
9817 * insdel.c (bytecount_to_charcount): Optimize.
9818 The function used to be optimized for entirely ASCII sequences.
9819 Now it is optimized for successive characters from the same
9820 charset. This also wins big for _mostly_ ASCII sequences.
9822 * fileio.c (Ffile_truename): convert return from realpath() using
9823 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
9824 - Rewrite GCPROing slightly.
9826 * sysdep.c (sys_open): Do filename conversion, like all other
9827 sys_* functions. Fixes bug:
9828 (let ((file-name-coding-system 'iso-8859-2))
9829 (write-region x y latin2-name))
9830 ==> writes filename using internal encoding.
9832 2000-02-18 Martin Buchholz <martin@xemacs.org>
9834 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
9835 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
9836 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
9837 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
9838 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
9839 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
9840 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
9841 (CONST_IF_NOT_DEBUG): Delete.
9842 * alloc.c (this_one_is_unmarkable): Delete.
9843 (mark_object): Don't check for this_one_is_unmarkable. Use the
9844 c_readonly flag instead.
9845 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
9847 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
9849 * event-msw.c (mswindows_drain_windows_queue):
9850 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
9851 away redundant repaint events.
9853 2000-02-17 Andy Piper <andy@xemacs.org>
9855 * redisplay.h: declare mark_redisplay_structs.
9857 * redisplay.c (redisplay_window):
9858 (redisplay_frame): don't check subwindows_state_changed.
9859 (mark_redisplay): mark gutters here.
9861 * glyphs.c: (instantiate_image_instantiator): always layout if we
9862 haven't done so already.
9863 (allocate_image_instance): don't mark as dirty.
9864 (update_subwindow): bind inhibit_quit.
9866 * gutter.c (mark_gutters): new function.
9868 * glyphs-x.c (x_update_widget): Always resize to get round a
9871 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
9872 breaking absolutely everything.
9874 * gutter.h: declare mark_gutters.
9876 2000-02-16 Martin Buchholz <martin@xemacs.org>
9878 * XEmacs 21.2.29 is released.
9880 2000-02-15 Olivier Galibert <galibert@pobox.com>
9882 * fns.c (size_bit_vector): Fix computation of the size.
9884 2000-02-15 Martin Buchholz <martin@xemacs.org>
9886 * *.[ch]: Change CONST to const globally.
9887 find -name '*.[ch]' | \
9888 xargs global-replace \
9889 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
9890 - Remove vestigial references to CONST_IS_LOSING
9892 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9894 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
9895 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
9896 events instead of dispatching them directly.
9897 (mswindows_handle_paint): New function to do repainting.
9898 (mswindows_wnd_proc):
9899 (emacs_mswindows_handle_magic_event): Call above function.
9901 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9903 * objects-msw.c (mswindows_create_font_variant): Return the new
9905 (initialize_font_instance): Get font metrics from the underlined
9906 variant of the font to cope with the case where the underlined
9907 font has a bigger descent.
9909 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9911 * gui.c (gui_item_accelerator): Return the first underlined
9912 character in item name.
9914 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9916 * lisp.h: Added Qprinter.
9918 * general.c (syms_of_general): Initialized it.
9920 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
9922 (get_frame_compdc): Made inline.
9924 * console.h (struct console_methods): Added eject_page method.
9926 * frame.h: Added FRAME_DISPLAY_P and friends.
9927 Aligned backslahes in many macros in more readable fashion.
9928 Added page_number to struct frame, and an accessor macro
9931 * defice.h: Added DEVICE_DISPLAY_P and friends.
9933 * device.c (Fdevice_printer_p): Used these.
9935 * frame.c (allocate_frame_core): Initialize page number.
9936 (Fprint_job_page_number):
9937 (Fprint_job_eject_page): Implemented.
9939 * frame-msw.c (msprinter_eject_page): Added method.
9940 (msprinter_start_page): Added.
9942 * window.c (Fwindow_truncated_p): Fixed docstring.
9943 (Fwindow_last_line_visible_height): Implemented.
9945 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9947 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
9949 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9951 * syntax.c (scan_words): Always advance at least one character.
9953 2000-02-13 Andy Piper <andy@xemacs.org>
9955 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
9956 to make sure the glyph is in the cachels.
9958 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
9959 global image instance flag.
9960 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
9961 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
9963 * glyphs.c (allocate_image_instance): set dirty bits correctly.
9964 (Fset_image_instance_property): mark layout as changed.
9965 (invalidate_glyph_geometry_maybe): mark layout as changed.
9966 (glyph_width): use new NEEDS_LAYOUT macro.
9967 (glyph_ascent): ditto.
9968 (glyph_descent): ditto.
9969 (glyph_height): ditto.
9970 (image_instance_layout): mark layout as clean after laying out.
9971 (update_subwindow): don't mark layout as clean here.
9973 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
9974 should no longer be needed.
9976 * glyphs-x.c (x_update_widget): sanitize asserts.
9977 (x_finalize_image_instance): sanitize assignment to widgets.
9979 * glyphs-widget.c (widget_instantiate): don't need to clear the
9982 2000-02-13 Martin Buchholz <martin@xemacs.org>
9984 * sysdep.c (getcwd): Use standard prototype.
9985 * sysdep.h (getcwd): Use standard prototype.
9987 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
9988 (sequence, start, end).
9989 Remove redundant type checking.
9990 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
9991 view of `caller-protects') to avoid a crash where the real fix was
9994 2000-02-12 Martin Buchholz <martin@xemacs.org>
9996 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
9998 * s/sol2.h: Remove feature macro initialization.
10000 * alloc.c (alloc_lcrecord): Add more type checking assertions.
10001 (vector_hash): New. Code from internal_hash.
10003 Fix up allocation subsystem comments.
10005 * config.h.in: Add __EXTENSIONS__ for Solaris.
10007 * systime.h (EMACS_GETTIMEOFDAY): New.
10008 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
10009 Remove Solaris-specific code.
10010 Use void* for the (ignored) second arg for gettimeofday().
10012 * elhash.c (hash_table_hash): Implement it, finally.
10013 * elhash.c: Use hashcode_t.
10015 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
10016 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
10018 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
10019 * fns.c (size_bit_vector):
10020 * alloc.c (size_vector):
10021 (make_vector_internal):
10022 (make_bit_vector_internal):
10023 (sweep_bit_vectors_1):
10024 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
10026 2000-02-10 Martin Buchholz <martin@xemacs.org>
10028 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
10029 Include strings.h to avoid warnings for bzero and strcasecmp.
10031 2000-02-10 Olivier Galibert <galibert@pobox.com>
10033 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
10034 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
10036 * fns.c (size_bit_vector): New. Declare bit vectors as a
10039 2000-02-10 Olivier Galibert <galibert@pobox.com>
10041 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
10042 use a value field instead.
10043 (symbol_value_forward_forward): Use value field.
10044 (DEFVAR_SYMVAL_FWD): Use value field.
10045 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
10046 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
10047 (DEFVAR_CONST_INT): Ditto.
10048 (DEFVAR_BOOL): Ditto.
10049 (DEFVAR_CONST_BOOL): Ditto.
10050 (DEFVAR_INT_MAGIC): Ditto.
10051 (DEFVAR_BOOL_MAGIC): Ditto.
10053 * symbols.c (guts_of_unbound_marker): Use value field.
10054 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
10055 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
10057 * lisp.h: Declare dumpopaque and noninteractive1.
10059 * alloc.c (dumpopaque): Added.
10060 (pdump_dump_opaquevec): Added.
10061 (pdump): Call pdump_dump_opaquevec to dump opaque data.
10062 (pdump_load): Reload opaque data. Sync noninteractive1 with
10065 2000-02-10 Andy Piper <andy@xemacs.org>
10067 * glyphs.c (image_instance_layout): if the size changes, mark it
10070 * redisplay-output.c (redisplay_output_layout): Update the
10072 (redisplay_output_subwindow): ditto.
10074 * glyphs.c (update_subwindow): make sure we reset flags for
10075 layouts as well as everything else.
10077 * glyphs-widget.c (layout_layout): don't need to set the instances
10080 2000-02-09 Martin Buchholz <martin@xemacs.org>
10082 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
10083 not HAVE_DLOPEN, which is a lower-level thing.
10085 * .cvsignore: Ignore gmon.out
10087 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
10089 * .cvsignore: Ignore portable dumper xemacs.dmp file
10091 2000-02-09 Andy Piper <andy@xemacs.org>
10093 * redisplay-output.c (redisplay_output_layout): be more clever
10094 about when we output based on the changed flags.
10096 * glyphs.h (struct image_instantiator_methods): add update_method.
10097 (struct Lisp_Image_Instance): add changed flags. Declare new
10098 macros for manipulating them.
10100 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
10101 (image_instance_parent_glyph): find an image_instance's parent
10102 glyph or image_instance.
10103 (image_instance_layout): mark the size as changed.
10104 (set_image_instance_dirty_p): new function. mark an image
10105 instance, plus all of its parents, as dirty.
10106 (Fset_image_instance_property): use it.
10107 (Fglyph_animated_timeout_handler): use it.
10108 (update_subwindow): call update_widget and device methods for
10109 update_subwindow. Mark all changed flags as clean.
10110 (Fresize_subwindow): mark size as changed.
10112 * glyphs-x.c (x_finalize_image_instance): try and detect gc
10114 (x_update_subwindow): only resize subwindows here.
10115 (x_update_widget): new function. Update all changed properties of
10117 (x_resize_subwindow): deleted.
10118 (x_widget_set_property): deleted.
10119 (x_progress_gauge_set_property): deleted.
10120 (x_progress_gauge_update): new function. Implement recorded
10122 (x_tab_control_update): ditto.
10123 (x_tab_control_set_property): deleted.
10124 (console_type_create_glyphs_x): declare new functions.
10125 (image_instantiator_format_create_glyphs_x): ditto.
10127 * glyphs-widget.c (widget_set_property): mark text changed.
10128 (update_widget): new function. Update properties of a widget.
10129 (widget_instantiate): for layouts make sure we set their
10130 children's parent correctly.
10131 (tab_control_set_property): new function. Record changes that will
10132 take place under redisplay's control.
10133 (progress_gauge_set_property): ditto.
10134 (image_instantiator_progress_guage): declare new functions.
10135 (image_instantiator_tab_control): ditto.
10137 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
10139 (mswindows_update_widget): new function. Update all properties on
10140 a widget that have changed.
10141 (mswindows_button_update): new function. Update a button's set
10143 (mswindows_tab_control_update): new function. Update the items in
10145 (mswindows_tab_control_set_property): deleted.
10146 (mswindows_progress_gauge_update): new function. Update the
10147 progress gauge's progress.
10148 (mswindows_widget_set_property): deleted. This is all done
10149 asynchronously now.
10150 (mswindows_progress_gauge_set_property): ditto.
10151 (console_type_create_glyphs_mswindows): declare new methods.
10152 (image_instantiator_format_create_glyphs_mswindows): ditto.
10154 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
10155 (msprinter_set_frame_properties): ditto.
10157 * console.h (struct console_methods): Add update_widget_method.
10159 2000-02-09 Andy Piper <andy@xemacs.org>
10161 * gui-msw.c (Fmswindows_shell_execute): Make
10162 mswindows-shell-execute industrial strength.
10164 2000-02-08 Martin Buchholz <martin@xemacs.org>
10166 * lrecord.h: Make macro argument `props' match member function `plist'.
10169 * fns.c (Fremprop):
10170 * fns.c (Fobject_plist):
10173 Object property list frobbing cleanup.
10174 - Allow any lisp object (compared with `eq'), not just symbols, as
10175 keys in object plists.
10176 - Move symbol plist frobbing into symbols.c, where it belongs.
10177 - Move string plist frobbing into alloc.c, where it belongs.
10178 - Everything's an lrecord now, so no need to test for symbolp, etc.
10179 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
10181 * extents.c: Reorder code to remove declarations.
10183 * frame.h (store_in_alist): Remove useless declaration.
10185 2000-02-07 Martin Buchholz <martin@xemacs.org>
10187 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
10188 * config.h.in: Add HAVE_XCONVERTCASE.
10190 2000-02-07 Andy Piper <andy@xemacs.org>
10192 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
10193 it breaks many things.
10195 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
10197 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
10198 actually can start a common comment type.
10199 * src/syntax.h (SYNTAX_END_P): ditto for end.
10201 2000-02-07 Martin Buchholz <martin@xemacs.org>
10203 * XEmacs 21.2.28 is released.
10205 2000-02-06 Martin Buchholz <martin@xemacs.org>
10207 * event-Xt.c (x_keysym_to_character): New.
10208 (maybe_define_x_key_as_self_inserting_character): New.
10209 (x_has_keysym): New.
10210 Auto-define all keys on the keyboard as self-insert-key.
10212 2000-02-02 Martin Buchholz <martin@xemacs.org>
10214 * menubar.c (vars_of_menubar): A small code simplification.
10216 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
10219 * ExternalClient.c:
10220 * EmacsShell-sub.c:
10223 Use consistent style for specifying X resources.
10225 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
10226 This makes (dontusethis-set-symbol-value-handler) actually usable.
10228 * lrecord.h (lrecord_decription_type):
10229 * alloc.c (pdump_register_sub):
10232 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
10233 Comply with XEmacs coding style.
10234 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
10235 args, and XD_LISP_OBJECT_ARRAY with 3 args.
10237 * keymap.c (Faccessible_keymaps):
10238 Make (accessible-keymaps map "\C-h") do the Right Thing.
10239 Make (accessible-keymaps map []) do the Right Thing.
10240 Make (accessible-keymaps map "") do the Right Thing.
10241 (check_keymap_definition_loop): New function.
10242 (keymap_store_internal): Keep luser from shooting self in foot,
10243 via (define-key ctl-x-4-map "p" global-map).
10244 Remove fullness slot from struct Lisp_Keymap, since hash tables
10246 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
10248 2000-01-30 Martin Buchholz <martin@xemacs.org>
10250 * redisplay.c (init_redisplay): Fix small memory leak.
10252 * elhash.c (pdump_reorganize_hash_table):
10253 Rename from reorganize_hash_table. Change prototype.
10254 Reuse the original memory for hentries. Save 100k.
10255 * alloc.c (PDUMP_READ): new macro.
10256 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
10257 * alloc.c: No need to #ifndef before #undef.
10259 * print.c: Allow debug_print() to print readably by modifying
10260 debug_print_readably. Use consistent variable names.
10262 * .dbxrc: Try to get things to work even if stopped in a function
10263 without source available by explicitly specifying source files.
10264 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10266 * unexnt.c (_start): Removed bogus code which caused loading heap
10267 from differrent executable file.
10268 Removed bogus assignment to _fmode, which caused inconsistencies.
10270 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10272 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
10273 Have spawnve encapsulation regard DONT_ENCAPSULATE.
10274 Do not preliminary `#define signal sigset'.
10276 * systime.h: Do not prototype environ on windows nt and cygwin,
10277 this conflicts with system header.
10279 * syssignal.h: Use correct define for WINDOWSNT
10281 * sysdep.h: Do not prototype environ on windows nt, this conflicts
10282 with system header.
10284 * sysdep.c (near start of file): Fixed commentary and rearranged
10285 ifdefs in readable order.
10286 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
10289 (end_of_data): Do not compile in if using PDUMP.
10291 * symsinit.h: Prototyped vars_of_nt().
10293 * ntproc.c (windows9x_p): Added, instead of os_subtype.
10294 (find_child_console): Use it.
10295 (sys_kill): Use it.
10297 * ntheap.h: Do not extern os_subtype.
10299 * ntheap.c (cache_system_info): Do not cache unneeded:
10300 nt_major_version, nt_minor_version and os_subtype.
10301 (recreate_heap): Do not compile in when PDUMPing.
10303 * nt.c (geteuid and friends): Use the new varibale
10304 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
10305 (init_user_info): Removed the above mentioned hackery.
10306 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
10307 stat has been fixed in the C runtime.
10308 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
10310 * file-coding.c (struct file_coding_dump): Do not define
10311 ucs_to_mule_table in the struct if not MULE.
10312 (struct struct lrecord_description fcd_description_1): Do not dump
10315 * emacs.c (main_1): Call vars_of_nt().
10316 (right before Fdump_emacs_data): Don't need lastfile if using both
10317 portabe dumper and system malloc.
10319 * alloc.c (Fmemory_limit): Conditionalized out.
10320 (pdump): Use OPEN_BINARY for the portable dump file.
10321 (pdump_load): Ditto.
10323 2000-02-02 Mike Alexander <mta@arbortext.com>
10325 * nt.c (convert_time): Set tm_isdst before calling mktime and
10326 avoid calling it at all if the compiler supports 64 bit integers.
10327 Also initialize utc_base_ft before using it.
10329 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10331 * frame.c (change_frame_size_1): Take f->internal_border_width
10332 into consideration when calculating the width of the frame.
10334 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10336 * window.c (frame_min_height):
10337 (frame_size_valid_p):
10338 (frame_pixsize_valid_p): Added.
10339 (check_frame_size): Generalized.
10341 * window.h: Prototyped the above.
10344 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
10345 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
10346 Deleted Vwin32_* and Vbinary_process_* unused variables.
10348 * device-msw.c (msprinter_init_device): Do not get printer font
10349 list; Added DEVMODE functions.
10351 * frame-msw.c: Added lots of printer code.
10353 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
10356 * console-msw.h: Added more msprinter device private slots.
10358 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10360 * event-msw.c (key_needs_default_processing_p): Added.
10361 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
10363 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10365 * glyphs.c (image_instance_layout): Mark image instance as clean
10367 (glyph_dirty_p): Removed redundant function.
10368 (invalidate_glyph_geometry_maybe): Added.
10369 (update_glyph_cachel_data): Call it.
10371 * glyphs.h: Prototyped it.
10373 * redisplay.c (add_glyph_rune): Call it.
10374 (redisplay_window): Reset glyphs cachels when frame faces have
10375 changed, thus forcing recomputation of built-in border glyphs.
10377 2000-01-30 Martin Buchholz <martin@xemacs.org>
10379 * Makefile.in.in: Make portable dumper and purify play well together.
10380 Add imperfect, but better than nothing, support for pdump.
10381 Remove xemacs.dmp when temacs is re-generated.
10382 Don't ignore errors when dumping xemacs.
10384 * symbols.c (maybe_call_magic_handler): Remove one magic number.
10386 2000-01-28 Andy Piper <andy@xemacs.org>
10388 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
10389 (setup_normal_frame): ditto.
10390 (setup_frame_without_minibuffer): ditto.
10391 (setup_minibuffer_frame): ditto.
10392 (delete_frame_internal): ditto.
10393 (Fmake_frame_invisible): ditto.
10394 (Ficonify_frame): ditto.
10396 * window.h: change Fset_window_buffer signature.
10398 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
10399 (Fset_window_buffer): allow recording of buffer if the window is
10400 the selected window.
10401 (window_loop): Use new Fset_window signature.
10403 2000-01-23 Daniel Pittman <daniel@danann.net>
10405 * config.h.in: Added template for `HAVE_ATHENA_3D'
10407 2000-01-29 Andy Piper <andy@xemacs.org>
10409 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
10411 * gutter.c (output_gutter): Don't output if the window isn't live.
10413 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10415 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
10416 of 01/12/00: Moved SetFocus back here where it belongs.
10418 2000-01-23 Andy Piper <andy@xemacs.org>
10420 * s/cygwin32.h: declare printer things.
10422 2000-01-26 Andy Piper <andy@xemacs.org>
10424 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
10427 2000-01-24 Andy Piper <andy@xemacs.org>
10429 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
10430 (mswindows_button_instantiate): Make sure glyph is a pixmap.
10432 * glyphs-widget.c (widget_instantiate): Avoid shadows.
10434 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
10436 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
10438 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
10439 (mswindows_output_display_block): Avoid local shadows.
10441 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
10442 (mswindows_enqueue_mouse_button_event): ditto.
10443 (mswindows_handle_gui_wm_command): remove declaration.
10445 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
10448 * console-msw.h: Avoid shadows.
10449 (mswindows_get_toolbar_button_text):
10450 (emacs_mswindows_create_stream_pair):
10451 (emacs_mswindows_delete_stream_pair):
10452 (mswindows_handle_toolbar_wm_command): declare.
10454 * device-msw.c (build_syscolor_string): Avoid shadows.
10456 2000-01-23 Andy Piper <andy@xemacs.org>
10458 * glyphs-widget.c (widget_instantiate): reverse the items for
10459 layouts so that children are in the expected order.
10461 2000-01-28 Martin Buchholz <martin@xemacs.org>
10463 * ralloc.c: safe_bcopy ==> memmove
10464 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
10465 * s/msdos.h: Remove BCOPY macros.
10466 * insdel.c (gap_right): Remove BCOPY conditional code.
10467 * insdel.c (gap_left): Remove BCOPY conditional code.
10468 XEmacs demands a working ANSI C compiler - hence memmove.
10470 * regex.c (regex_compile): Remove accidental use of trigraphs.
10472 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10474 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
10477 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10479 * event-msw.c (mswindows_drain_windows_queue): Added the
10481 (mswindows_need_event): Commented the call to
10482 mswindows_drain_windows_queue().
10483 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
10486 * console-msw.h: Moved a few function prototypes here from
10489 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
10490 parameter from unsigned short to unsigned long.
10491 (Fmswindows_shell_execute): Added return value.
10493 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10495 * sysdep.c (init_system_name):
10496 process-unix.c (unix_canonicalized_host_name):
10497 Don't call freeaddrinfo() if getaddrinfo() fails.
10499 * process-unix.c (unix_open_unix_network_stream):
10500 Moved the code to get a port # into address loop.
10502 2000-01-27 Martin Buchholz <martin@xemacs.org>
10504 * buffer.c (reinit_vars_of_buffer):
10505 The right place to initialize conversion_in_dynarr and
10506 conversion_out_dynarr.
10508 * alloc.c (pdump): Use the real open() till sys_open() is functional.
10510 * process-unix.c (unix_canonicalize_host_name): Muleize.
10511 (unix_open_network_stream): Muleize.
10513 * buffer.h: Fix up prototypes for ralloc.c functions.
10515 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10516 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
10517 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
10518 instead of gethostbyname()
10519 * process-unix.c: In unix_canonicalize_host_name() and
10520 unix_open_network_stream(), add code to use getaddrinfo()
10521 instead of gethostbyname().
10523 2000-01-27 Daniel Pittman <daniel@danann.net>
10525 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
10526 libs when built with flat Athena.
10528 2000-01-27 Martin Buchholz <martin@xemacs.org>
10530 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
10531 Use coding standards for function prototypes.
10533 2000-01-25 Martin Buchholz <martin@xemacs.org>
10535 * dialog-msw.c (push_lisp_string_as_unicode):
10536 * doc.c (unparesseuxify_doc_string):
10537 * dired.c (Fuser_name_completion_1):
10538 * dired.c (Fuser_name_all_completions):
10539 * dired.c (free_user_cache):
10540 * dired.c (user_name_completion):
10541 * console-x.c (get_display_arg_connection):
10542 * minibuf.c (clear_echo_area_internal):
10543 * minibuf.c (echo_area_append):
10544 * eldap.c (Fldap_open):
10545 * eldap.c (Fldap_search_internal):
10546 * frame-x.c (x_set_frame_text_value):
10547 * frame-x.c (x_set_frame_properties):
10548 * frame-x.c (x_create_widgets):
10549 * redisplay-tty.c (term_get_fkeys_1):
10550 * objects-x.c (x_parse_nearest_color):
10551 * objects-x.c (x_valid_color_name_p):
10552 * objects-x.c (x_initialize_font_instance):
10553 * objects-x.c (x_list_fonts):
10554 * objects-x.c (x_find_charset_font):
10555 * tooltalk.c (Fadd_tooltalk_message_arg):
10556 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10557 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10558 * process-unix.c (unix_create_process):
10559 * ntproc.c (sys_spawnve):
10560 * sound.c (Fplay_sound_file):
10561 * sound.c (Fplay_sound):
10562 * buffer.c (init_initial_directory):
10563 * buffer.c (init_buffer):
10564 * editfns.c (init_editfns):
10565 * editfns.c (Ftemp_directory):
10566 * editfns.c (Fuser_full_name):
10567 * editfns.c (uncache_home_directory):
10568 * editfns.c (get_home_directory):
10569 * editfns.c (Fuser_home_directory):
10570 * editfns.c (Fformat_time_string):
10571 * editfns.c (Fcurrent_time_string):
10572 * gui-x.c (button_item_to_widget_value):
10573 * database.c (Fopen_database):
10574 * event-Xt.c (x_to_emacs_keysym):
10575 * event-Xt.c (x_event_to_emacs_event):
10576 * event-Xt.c (describe_event_window):
10577 * event-msw.c (mswindows_wnd_proc):
10578 * glyphs-eimage.c (jpeg_instantiate):
10579 * glyphs-eimage.c (gif_instantiate):
10580 * glyphs-eimage.c (png_instantiate):
10581 * glyphs-eimage.c (tiff_instantiate):
10582 * glyphs-x.c (xbm_instantiate_1):
10583 * glyphs-x.c (x_xbm_instantiate):
10584 * glyphs-x.c (x_xface_instantiate):
10585 * glyphs-x.c (autodetect_instantiate):
10586 * glyphs-x.c (cursor_font_instantiate):
10587 * glyphs-x.c (x_widget_instantiate):
10588 * glyphs-x.c (x_widget_set_property):
10589 * glyphs-x.c (x_widget_property):
10590 * glyphs-x.c (BUILD_GLYPH_INST):
10591 * print.c (write_string_to_stdio_stream):
10592 * print.c (output_string):
10593 * print.c (Falternate_debugging_output):
10594 * print.c (Fexternal_debugging_output):
10595 * glyphs-msw.c (extract_xpm_color_names):
10596 * glyphs-msw.c (mswindows_xpm_instantiate):
10597 * glyphs-msw.c (bmp_instantiate):
10598 * glyphs-msw.c (resource_name_to_resource):
10599 * glyphs-msw.c (mswindows_resource_instantiate):
10600 * glyphs-msw.c (xbm_instantiate_1):
10601 * glyphs-msw.c (mswindows_xbm_instantiate):
10602 * glyphs-msw.c (mswindows_xface_instantiate):
10603 * glyphs-msw.c (mswindows_widget_instantiate):
10604 * glyphs-msw.c (add_tree_item):
10605 * glyphs-msw.c (add_tab_item):
10606 * glyphs-msw.c (mswindows_combo_box_instantiate):
10607 * glyphs-msw.c (mswindows_widget_property):
10608 * glyphs-msw.c (mswindows_combo_box_property):
10609 * glyphs-msw.c (mswindows_widget_set_property):
10610 * console.c (stuff_buffered_input):
10611 * objects-msw.c (mswindows_initialize_color_instance):
10612 * objects-msw.c (mswindows_valid_color_name_p):
10613 * objects-msw.c (mswindows_list_fonts):
10614 * objects-msw.c (mswindows_font_instance_truename):
10615 * bytecode.c (optimize_compiled_function):
10616 * select-x.c (symbol_to_x_atom):
10617 * select-x.c (x_atom_to_symbol):
10618 * select-x.c (hack_motif_clipboard_selection):
10619 * select-x.c (selection_data_to_lisp_data):
10620 * select-x.c (lisp_data_to_selection_data):
10621 * select-x.c (Fx_get_cutbuffer_internal):
10622 * select-x.c (Fx_store_cutbuffer_internal):
10623 * buffer.h (TO_EXTERNAL_FORMAT): New function.
10624 * buffer.h (TO_INTERNAL_FORMAT): New function.
10625 * emacs.c (make_arg_list_1):
10626 * emacs.c (make_argc_argv):
10627 * emacs.c (main_1):
10628 * emacs.c (Fdump_emacs):
10629 * emacs.c (split_string_by_emchar_1):
10634 * device-x.c (x_init_device):
10635 * device-x.c (Fx_valid_keysym_name_p):
10636 * device-x.c (Fx_get_font_path):
10637 * device-x.c (Fx_set_font_path):
10638 * glyphs.c (bitmap_to_lisp_data):
10639 * glyphs.c (pixmap_to_lisp_data):
10640 * alloc.c (make_ext_string): Use coding system arguments. Update
10642 * alloc.c (build_string):
10643 * callproc.c (child_setup):
10644 * callproc.c (init_callproc):
10645 * fileio.c (lisp_strerror):
10646 * fileio.c (directory_file_name):
10647 * fileio.c (Fexpand_file_name):
10648 * fileio.c (Ffile_truename):
10649 * fileio.c (Fsysnetunam):
10650 * fileio.c (Fdo_auto_save):
10651 * sysdep.c (sys_readdir):
10652 * tests.c: New file. Allow adding C tests.
10653 Replace GET_* macros with a more comprehensible and flexible
10654 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
10656 Any coding system can be used to do format conversion.
10657 Eliminate enum external_data_format.
10658 Eliminate convert_to_external_format.
10659 Eliminate convert_to_internal_format.
10660 Make sure file-name, keyboard, terminal, and ctext are always
10661 defined as coding systems or aliases. Make
10662 file-name-coding-system, terminal-coding-system, and
10663 keyboard-coding-system magical variables that are equivalent to
10664 defining the corresponding coding system aliases.
10666 * file-coding.c (Fcoding_system_canonical_name_p): New function.
10667 * file-coding.c (Fcoding_system_alias_p): New function.
10668 * file-coding.c (Fcoding_system_aliasee): New function.
10669 * file-coding.c (append_suffix_to_symbol): New function.
10670 * file-coding.c (dangling_coding_system_alias_p): New function.
10671 * file-coding.c (Ffind_coding_system):
10672 * file-coding.c (Fcopy_coding_system):
10673 * file-coding.c (encode_coding_no_conversion):
10674 * file-coding.c (syms_of_file_coding):
10675 * file-coding.c (vars_of_file_coding):
10676 Rewrite coding system alias code.
10677 Allow nested aliases, like symbolic links.
10678 Allow redefinition of coding system aliases.
10679 Prevent existence of dangling coding system aliases.
10681 * dired.c (Fuser_name_completion_1):
10682 * dired.c (Fuser_name_all_completions):
10683 A crash would happen if user did QUIT in the middle of building
10684 user_name_cache. Remove redundant code in mainline and unwind_protect.
10687 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
10689 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
10690 an unsigned char *. Update all callers.
10692 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10694 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
10696 2000-01-25 Martin Buchholz <martin@xemacs.org>
10698 * elhash.c (hentry_description): Use more portable definition.
10699 (resize_hash_table): Initialize new hentries using
10700 xnew_array_and_zero, thereby simplifying the code.
10702 * mule-charset.c (make_charset): Make sure entire object is
10703 initialized, to avoid Purify warnings.
10705 * alloc.c (resize_string): Fix unlikely crash with big strings.
10707 2000-01-24 Martin Buchholz <martin@xemacs.org>
10709 * realpath.c (xrealpath):
10710 Don't call getwd().
10712 2000-01-25 Martin Buchholz <martin@xemacs.org>
10714 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
10716 1999-12-28 Max Matveev <max@melbourne.sgi.com>
10718 * unexelfsgi.c (unexec): Change the way we decide which segment
10719 should be extended.
10721 Assumption that .bss section should be outside the PT_LOADable
10722 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
10723 it's present) is inside the 'data' segment. This would fail the
10724 test which was used to find a segment to grow and cover new
10725 heap. Instead of this assumption, I created another one - on IRIX
10726 the segment to grow should start below .bss and it's address
10727 should extent above the end of .bss. Once this segment is
10728 identified, it's grown to accommodate the new heap and new
10729 zero-length .bss section is added at the end of .data2.
10731 2000-01-25 Martin Buchholz <martin@xemacs.org>
10733 * eval.c (Feval): Wrong number of arguments should use original
10734 function, not the indirect_function version of it.
10736 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10738 * glyphs-x.c (x_button_instantiate): Don't add image if
10739 it is not a pixmap.
10740 (x_locate_pixmap_file): Call Fexpand_file_name when file name
10743 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10745 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
10747 (DEFVAR_INT_MAGIC): Ditto.
10748 (DEFVAR_BOOL_MAGIC): Ditto.
10749 * glyphs.h: Reindent backslash.
10751 2000-01-24 Martin Buchholz <martin@xemacs.org>
10753 * glyphs-widget.c (layout_query_geometry):
10754 (layout_layout): Use correct types for gheight, gwidth.
10756 2000-01-24 Martin Buchholz <martin@xemacs.org>
10758 * EmacsManager.c (QueryGeometry): Purified.
10760 2000-01-23 Martin Buchholz <martin@xemacs.org>
10762 * alloc.c (make_float): Make sure entire object is initialized, to
10763 avoid Purify warnings.
10764 (pdump_register_sub): Remove useless assignment.
10765 (pdump): Use xmalloc, not malloc.
10766 (pdump_load): Use xmalloc, not malloc.
10768 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10775 * sysdep.c: Removed redundant #include <windows.h>
10777 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10779 * frame.c (delete_frame_internal): Do not delete device when its
10780 implementation so declares.
10781 (delete_frame_internal): Set device selected frame to nil when
10782 last frame goes away.
10784 * device-msw.c (msprinter_device_system_metrics): Implemented.
10785 (mswindows_device_system_metrics): Added 'device-dpi property.
10787 * device.c: (Fdevice_printer_p): Added.
10788 Added 'offset-workspace device metric.
10790 * console.h (device_metrics): Declared DM_offset_workspace.
10792 2000-01-23 Martin Buchholz <martin@xemacs.org>
10794 * fileio.c (Ffile_truename): Remove pointless and confusing
10795 initialization of elen.
10797 * glyphs-widget.c: Compiler warning fixes.
10799 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
10801 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
10802 instead of a Lisp_Object as argument to make it consistent with
10803 the other LIVE_P macros.
10804 (CHECK_LIVE_PROCESS): New macro.
10806 * process.c: Declare Qprocess_live_p.
10807 (Fprocess_live_p): New function.
10808 (create_process): Use PROCESS_LIVE_P.
10809 (read_process_output): Ditto.
10810 (set_process_filter): Ditto.
10811 (Fdelete_process): Ditto.
10812 (kill_buffer_processes): Ditto
10813 (process_send_signal): Use CHECK_LIVE_PROCESS.
10814 (Fprocess_input_coding_system): Check whether process is still
10815 alive (fix PR#1061).
10816 (Fprocess_output_coding_system): Ditto.
10817 (Fprocess_coding_system): Ditto.
10818 (Fset_process_input_coding_system): Ditto.
10819 (Fset_process_output_coding_system): Ditto.
10821 2000-01-23 Andy Piper <andy@xemacs.org>
10823 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
10826 * glyphs.c (mark_image_instance): take into account changed
10827 image_instance format.
10828 (image_instance_equal): ditto.
10829 (image_instance_hash): ditto.
10831 * glyphs-widget.c (widget_instantiate): Incorporate layout
10832 instantiation here. Delay layout of the layout until later.
10833 (layout_instantiate): deleted.
10834 (layout_query_geometry): new function. get the geometry of a
10836 (layout_layout): layout a layout dynamically.
10837 (image_instantiator_widget): New function - splitting up
10838 image_instantiator_format_create_glyphs_widget for netwinder
10840 (image_instantiator_buttons):
10841 (image_instantiator_edit_fields):
10842 (image_instantiator_combo_box):
10843 (image_instantiator_scrollbar):
10844 (image_instantiator_progress_guage):
10845 (image_instantiator_tree_view):
10846 (image_instantiator_tab_control):
10847 (image_instantiator_labels):
10848 (image_instantiator_layout): ditto.
10849 (image_instantiator_format_create_glyphs_widget): Call preceding
10852 2000-01-22 Martin Buchholz <martin@xemacs.org>
10854 * process.c (Fset_process_coding_system):
10855 * device-x.c (Fx_keysym_hash_table):
10858 * lstream.c (Lstream_write): Return documented value, not 0.
10860 * fileio.c (directory_file_name):
10861 (Fsubstitute_in_file_name):
10862 (Fsubstitute_insert_file_contents_internal):
10863 (Fwrite_region_internal):
10868 Remove vestigial APOLLO-conditional code.
10870 2000-01-21 Martin Buchholz <martin@xemacs.org>
10872 * getpagesize.h: Add guard macros.
10873 * libsst.h: Add guard macros.
10874 * libst.h: Add guard macros.
10875 * line-number.h: Add guard macros.
10876 * ndir.h: Add guard macros.
10877 * sysfloat.h: Add guard macros.
10878 * sysfile.h: Add guard macros.
10879 * sysproc.h: Add guard macros.
10880 * syswait.h: Add guard macros.
10881 * xintrinsic.h: Add guard macros.
10882 * xintrinsicp.h: Add guard macros.
10883 * xmmanager.h: Add guard macros.
10884 * xmmanagerp.h: Add guard macros.
10885 * xmprimitive.h: Add guard macros.
10886 * xmu.h: Add guard macros.
10887 * gpmevent.h: Add copyright statement. Add guard macros.
10888 * miscplay.h: Add guard macros.
10889 * *.h: Use consistent C-standards-approved guard macro names.
10891 * opaque.c (make_opaque): Switch parameter order.
10892 * opaque.h (make_opaque): Switch parameter order.
10893 Update all callers.
10894 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
10896 * config.h.in (type_checking_assert): Added.
10897 (bufpos_checking_assert): Added.
10899 2000-01-21 Martin Buchholz <martin@xemacs.org>
10901 * alloc.c: Harmless pdump changes.
10903 - spell alignment correctly.
10904 * sysdep.c: Use countof()
10906 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10908 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
10909 initially_selected_for_input() console method, default to 0.
10910 (semi_canonicalize_console_connection): Try to delegate to
10911 canonicalize_console_connection if no such console method.
10912 (canonicalize_console_connection): Vice versa.
10913 (print_console): Do not print nil connection.
10915 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
10916 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
10917 (XDEVIMPF_FRAMELESS_OK): Added.
10918 (CONSOLE_INHERITS_METHOD): Added.
10920 * console-msw.c (mswindows_canonicalize_console_connection):
10922 (mswindows_canonicalize_device_connection): Added.
10924 * console-msw.h (struct msprinter_device): Added this struct and
10926 (mswindows_device): Made fontlist a lisp object.
10928 * device.c (semi_canonicalize_device_connection): Try to delegate
10929 to canonicalize_device_connection if no such console method.
10930 (canonicalize_device_connection): Vice versa.
10931 (print_device): Do not print nil connection.
10933 * device-msw.c (mswindows_init_device): Call InitCommonControls
10935 (mswindows_delete_device): Removed fontlist deallocation.
10936 (mswindows_mark_device): Added.
10938 * events.c (event_equal): Added abort() at unreached code.
10939 (event_hash): Ditto.
10941 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
10942 fallback tags of Windows devices.
10944 * general.c (syms_of_general): Initialized Qmsprinter.
10946 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
10947 of fallback tags of Windows devices.
10949 * lisp.h: Declared Qmsprinter.
10951 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
10953 (mswindows_list_fonts): Ditto.
10954 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
10955 that it can be used by both mswindows and msprinter devices.
10956 (initialize_font_instance): Added.
10957 (mswindows_initialize_font_instance): Use it.
10958 (msprinter_initialize_font_instance): Added.
10960 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
10961 and implementation flags check.
10962 (redisplay_without_hooks): Changed the call to the above.
10963 (Fredraw_device): Ditto.
10964 (Fredisplay_device): Ditto.
10966 * redisplay-msw.c (get_frame_dc): Implemented.
10967 (get_frame_compdc): Implemented.
10968 (many functions): Use the two functions above to get device
10969 contexts, ether for a window or a printer.
10971 2000-01-21 Olivier Galibert <galibert@pobox.com>
10973 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
10974 initialization here.
10975 (init_symbols_once_early): Call it.
10976 * emacs.c (main_1): Call it.
10977 * symsinit.h: Declare it.
10979 2000-01-19 Olivier Galibert <galibert@pobox.com>
10981 * alloc.c: Use a lrecord_header * in the backtrace instead of a
10983 (pdump_backtrace): Ditto.
10984 (pdump_register_object): Ditto. Cleanup use of the pointers.
10985 (pdump_get_entry): Abort if trying to register a null pointer.
10986 (pdump_dump_data): Cleanup types when relocating.
10987 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
10988 (pdump_dump_rtables): Remove bad casts.
10989 (pdump_load): Cleanup relocation w.r.t union type. Use a
10990 Lisp_Object instead of a EMACS_INT for the hashtable
10993 2000-01-20 Martin Buchholz <martin@xemacs.org>
10995 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
10997 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
10999 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
11001 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
11003 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11005 * faces.h (FACE_STRIKETHRU_P): Added.
11007 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
11010 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
11011 (mswindows_set_dc_font): New function, aware of font variants,
11012 separated from mswindows_update_dc.
11014 * objects-msw.h (struct mswindows_font_instance_data): Added
11017 * objects-msw.c (mswindows_finalize_font_instance): Delete all
11018 cached fonts and the data structure.
11019 (mswindows_initialize_font_instance): Added creation of font data
11021 (mswindows_print_font_instance): Print at least something.
11022 (mswindows_create_font_variant): Implemented.
11023 (mswindows_get_hfont): Implemented.
11025 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
11027 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
11028 prototyping problem with msvc.
11030 * emacs.c (main_1): added syms_of_gui_mswindows() call
11032 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
11033 syms_of_gui_mswindows() function
11035 * symsinit.h: added the prototype for syms_of_gui_mswindows()
11037 2000-01-18 Martin Buchholz <martin@xemacs.org>
11039 * XEmacs 21.2.27 is released.
11041 2000-01-18 Martin Buchholz <martin@xemacs.org>
11043 * glyphs-eimage.c (struct tiff_error_struct):
11045 (tiff_warning_func):
11046 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
11051 * unexec.c: Remove vestigial Lucid C code.
11055 * libsst.c: Ansify.
11056 Remove declarations of errno and strerror().
11058 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
11060 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
11062 2000-01-16 Martin Buchholz <martin@xemacs.org>
11064 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
11067 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11072 Change enum eol_type to eol_type_t.
11074 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11076 * gui.c (get_gui_callback): Check cons before accessing car.
11078 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11080 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
11081 (XSETSPECIFIER_TYPE): Ditto.
11083 2000-01-17 Didier Verna <didier@xemacs.org>
11085 * redisplay.c (generate_fstring_runes): compute string size in
11086 characters, not bytes.
11088 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
11090 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
11092 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
11094 * print.c (print_error_message): Call print_prepare().
11096 2000-01-14 Martin Buchholz <martin@xemacs.org>
11098 * .dbxrc: Renamed from dbxrc.
11100 * events.c (event_to_character):
11101 Use `assert (foo)' instead of `if (!foo) abort()'
11103 * .gdbinit (xtype): Add documentation.
11104 * .gdbinit (check-temacs): New function.
11105 * .gdbinit (check-xemacs): New function.
11106 * dbxrc (check-xemacs): New function.
11107 * dbxrc (check-xemacs): New function.
11109 2000-01-14 Andy Piper <andy@xemacs.org>
11111 * glyphs-widget.c (widget_query_geometry): Make sure that we
11112 calculate default dimensions correctly.
11114 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11116 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
11118 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
11119 pdump_wire'd variable.
11121 * emacs.c: (main_1): Conditionalized calls to
11122 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
11124 2000-01-13 Martin Buchholz <martin@xemacs.org>
11126 * window.c (Fset_window_configuration):
11127 * sysdep.c (_start):
11128 * input-method-motif.c (res):
11129 * event-Xt.c (Xt_process_to_emacs_event):
11130 Simple compiler warning fixes.
11132 * bytecode.c (funcall_compiled_function): Use the original
11133 function symbol on the backtrace list in preference to the
11134 compiled_function object in error messages.
11136 2000-01-13 Andy Piper <andy@xemacs.org>
11138 * glyphs-x.c (update_widget_face): Make sure we update the widget
11139 background as well as foreground.
11141 2000-01-13 Andy Piper <andy@xemacs.org>
11143 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
11144 fields to subwindow.
11145 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
11146 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
11147 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11148 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11150 * glyphs-widget.c (check_valid_tab_orientation): new function.
11151 (initialize_widget_image_instance): zero orientation and
11153 (widget_instantiate): pick up orientation.
11154 (tab_control_query_geometry): return appropriate values for
11157 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
11158 appropriate creation flags for left, right and bottom tabs.
11160 * s/cygwin32.h: add tab definitions.
11162 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11164 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
11165 frame upon hiding a subwindow.
11166 (mswindows_button_instantiate): Changed the push button style to
11168 (mswindows_button_instantiate): Removed button BS_NOTIFY
11170 (mswindows_button_instantiate): Removed redundant check for
11171 a disabled gui item.
11172 (mswindows_button_instantiate): Made use of WS_TABSTOP
11173 consistent: "operable" controls (edit, button, tree, scroll) have
11174 this style, "display-only" ones (static, progress gauge) do
11175 not. This style is currently ignored by XEmacs though. Also,
11176 removed the WS_EX_CONTROLPARENT style - it is not for children,
11177 it is for their parents!
11178 (mswindows_edit_field_instantiate): Ditto.
11179 (mswindows_progress_gauge_instantiate): Ditto.
11180 (mswindows_tree_view_instantiate): Ditto.
11181 (mswindows_tab_control_instantiate): Ditto.
11182 (mswindows_scrollbar_instantiate): Ditto.
11183 (mswindows_combo_box_instantiate): Ditto.
11184 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
11185 style to the "clip" window.
11186 (mswindows_button_instantiate): Removed compilation warning by
11187 equally typing terms of the ?: operator.
11189 2000-01-12 Didier Verna <didier@xemacs.org>
11191 * redisplay.c (generate_fstring_runes): new parameter holding the
11192 last modeline-format extent.
11193 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
11194 extent, fill the glyph block with it.
11195 (generate_fstring_runes): handle these parameters.
11196 (generate_formatted_string_db): ditto.
11198 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
11199 glyphs'extents in the modeline.
11201 1999-01-11 Mike Woolley <mike@bulsara.com>
11203 * ntheap.c: Reduced the reserved heap space from 1Gb down to
11204 256Mb, as a workaround for the non-starting problem many people
11207 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11209 * console-tty.c (Fset_console_tty_output_coding_system):
11210 Force redrawing tty frame.
11212 2000-01-10 Didier Verna <didier@xemacs.org>
11214 * redisplay.c (generate_fstring_runes): fix size computation bug.
11216 2000-01-09 William M. Perry <wmperry@aventail.com>
11218 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
11220 2000-01-09 Andy Piper <andy@xemacs.org>
11222 * glyphs-msw.c: index -> i to avoid shadows.
11223 (xbm_create_bitmap_from_data): make static.
11224 (check_valid_string_or_int): deleted.
11225 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
11227 * glyphs-x.c (x_update_subwindow): remove unused args.
11229 * glyphs.c (glyph_image_instance): return the thing. Don't set the
11230 back pointer - this is done in allocate_image_instance.
11231 (query_string_font): return Qnil to make the compiler happy.
11232 (unmap_subwindow): set to ~0 to make the compiler happy.
11233 (glyph_query_geometry): comment out until used.
11234 (glyph_layout): ditto.
11236 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
11238 * insdel.c (signal_after_change): Remove extraneous unbind_to().