update.
[chise/xemacs-chise.git] / src / ChangeLog
1 1999-09-01  MORIOKA Tomohiko  <tomo@etl.go.jp>
2
3         * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4         instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5         (find_charsets_in_emchar_string): Likewise.
6         (vars_of_insdel): Don't define local variable `i' in UTF-2000.
7
8         * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
9         `int'.
10         (decode_coding_iso2022): Likewise.
11
12         * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
13         of `unsigned char'.
14
15         * redisplay.c (redisplay_text_width_emchar_string): Use
16         `Charset_ID' instead of `unsigned char'.
17         (redisplay_frame_text_width_string): Likewise.
18
19         * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
20         `unsigned char'.
21
22         * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
23         instead of `unsigned char'.
24         (face_cachel_charset_font_metric_info): Likewise.
25
26         * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
27         (get_non_ascii_char_table_value): Likewise.
28         (get_char_table): Likewise.
29         (put_char_table): Likewise.
30         (map_over_other_charset): Likewise.
31         (map_char_table): Likewise.
32
33         * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
34         instead of `unsigned char'.
35
36 1999-08-31  MORIOKA Tomohiko  <tomo@etl.go.jp>
37
38         * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
39         in UTF-2000 because it is not ported yet and not to use
40         `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
41
42 1999-08-30  MORIOKA Tomohiko  <tomo@etl.go.jp>
43
44         * character.h (LEADING_BYTE_COMPOSITE): Deleted.
45
46 1999-08-29  MORIOKA Tomohiko  <tomo@etl.go.jp>
47
48         * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
49         in UTF-2000.
50
51         * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
52         of unsigned char to store leading-byte.
53
54         * chartab.c (get_non_ascii_char_table_value): Don't use
55         `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
56
57         * file-coding.c (encode_coding_big5): Delete bogus implementation
58         in UTF2000.
59
60         * character.h (LEADING_BYTE_*): Delete definition for
61         non-UTF-2000.
62         (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
63         (LEADING_BYTE_PREFIX_P): Deleted.
64         (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
65         (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
66         (BUFBYTE_LEADING_BYTE_P): Deleted.
67         (CHARSET_PRIVATE_P): Deleted unconditionally.
68         (rep_bytes_by_first_byte): Deleted unconditionally.
69         (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
70         (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
71         (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
72         (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
73         (CHAR_FIELD2): Deleted.
74         (CHAR_FIELD3): Deleted.
75         (MAKE_CHAR): Delete definition for non-UTF-2000.
76         (BREAKUP_CHAR_1_UNSAFE): Deleted.
77         (breakup_char_1): New implementation.
78         (CHAR_CHARSET): Use `BREAKUP_CHAR'.
79         (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
80
81 1999-08-29  MORIOKA Tomohiko  <tomo@etl.go.jp>
82
83         * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
84         condition.
85
86 1999-08-28  MORIOKA Tomohiko  <tomo@etl.go.jp>
87
88         * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
89         (CHARSET_PRIVATE_P): Likewise.
90         (XCHARSET_PRIVATE_P): Likewise.
91         (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
92
93         * file-coding.c (encode_coding_ucs4): Delete bogus implement in
94         UTF2000.
95         (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
96
97 1999-08-28  MORIOKA Tomohiko  <tomo@etl.go.jp>
98
99         * character.h (LEADING_BYTE_*): Changed in UTF2000.
100         (NUM_LEADING_BYTES): Changed from 128 to 256.
101         (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
102         (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
103         UTF2000.
104         (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
105
106         * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
107         UTF2000.
108         (Vcharset_chinese_cns11643_4): New variable in UTF2000.
109         (Vcharset_chinese_cns11643_5): New variable in UTF2000.
110         (Vcharset_chinese_cns11643_6): New variable in UTF2000.
111         (Vcharset_chinese_cns11643_7): New variable in UTF2000.
112         (Qchinese_cns11643_3): New variable in UTF2000.
113         (Qchinese_cns11643_4): New variable in UTF2000.
114         (Qchinese_cns11643_5): New variable in UTF2000.
115         (Qchinese_cns11643_6): New variable in UTF2000.
116         (Qchinese_cns11643_7): New variable in UTF2000.
117         (syms_of_mule_charset): Define `chinese-cns11643-3',
118         `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
119         and `chinese-cns11643-7' in UTF2000.
120         (vars_of_mule_charset): Initialize
121         next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
122         + 1 in UTF2000.
123         (complex_vars_of_mule_charset): Setup charset
124         `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
125         `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
126
127 1999-08-27  MORIOKA Tomohiko  <tomo@etl.go.jp>
128
129         * mule-charset.c: Move setting for `leading-code-private-11' from
130         `syms_of_mule_charset' to `vars_of_mule_charset'.
131
132 1999-08-27  MORIOKA Tomohiko  <tomo@etl.go.jp>
133
134         * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
135         and `NUM_LEADING_BYTES' in assert.
136
137 1999-08-27  MORIOKA Tomohiko  <tomo@etl.go.jp>
138
139         * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
140         instead of 128.
141         (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
142         `NUM_LEADING_BYTES' instead of 128.
143
144 1999-08-26  MORIOKA Tomohiko  <tomo@etl.go.jp>
145
146         * mule-charset.h (charset_by_leading_byte): Use
147         `NUM_LEADING_BYTES' instead of 128.
148         (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
149
150         * mule-charset.c (charset_by_leading_byte): Use
151         `NUM_LEADING_BYTES' instead of 128.
152         (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
153
154         * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
155         128.
156
157 1999-08-25  MORIOKA Tomohiko  <tomo@etl.go.jp>
158
159         * mule-charset.c (syms_of_mule_charset): Update to
160         0.4 (Shin-Imamiya).
161
162 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
163
164         * file-coding.c (encode_coding_sjis): New implementation for
165         UTF2000.  (decode_coding_sjis): Ditto.
166
167 1999-06-17  MORIOKA Tomohiko  <tomo@etl.go.jp>
168
169         * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
170         Don't define in UTF2000.
171
172         * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
173         defined.
174
175         * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
176         mule-ccl.c, lstream.h, buffer.h: Include character.h in every
177         MULE.
178
179 1999-06-17  MORIOKA Tomohiko  <tomo@etl.go.jp>
180
181         * config.h.in (CHAR_IS_UCS4): New macro.
182
183         * mule-charset.c (rep_bytes_by_first_byte): Modify for
184         conventional MULE representation.
185         (syms_of_mule_charset): Update to 0.3 (Imamiya).
186
187         * mule-charset.h: Reverted to original.
188
189         * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
190         mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
191         "mule-charset.h" if CHAR_IS_UCS4 is defined.
192
193         * character.h: New file.
194
195         * file-coding.c (Fmake_coding_system): Set 1 to
196         `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
197         defined.
198         (encode_coding_no_conversion): New implementation for UTF2000.
199
200         * file-coding.h (struct Lisp_Coding_System): Add new member
201         `fixed.size'.
202
203 1999-06-16  MORIOKA Tomohiko  <tomo@etl.go.jp>
204
205         * file-coding.c (decode_coding_iso2022): Code-point arguments of
206         `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
207         (encode_coding_iso2022): New implementation for UTF2000.
208
209 1999-06-15  MORIOKA Tomohiko  <tomo@etl.go.jp>
210
211         * mule-canna.c (c2mu): New implementation for UTF2000.
212         (m2c): Likewise.
213
214 1999-06-15  MORIOKA Tomohiko  <tomo@etl.go.jp>
215
216         * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
217
218 1999-06-15  MORIOKA Tomohiko  <tomo@etl.go.jp>
219
220         * file-coding.c (reset_encoding_stream): Set 0 to
221         `str->iso2022.current_char_boundary' in UTF2000.
222         (encode_utf8): Don't define in UTF2000.
223         (encode_coding_utf8): New implementation for UTF-8 representation
224         of UTF2000.
225         (complex_vars_of_file_coding): Define coding-system `utf-8'.
226
227 1999-06-15  MORIOKA Tomohiko  <tomo@etl.go.jp>
228
229         * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
230
231         * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
232         UTF2000.
233         (REP_BYTES_BY_FIRST_BYTE): Likewise.
234
235         * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
236
237         * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
238         local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
239         as UTF-8 in UTF2000.
240         (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
241         (non_ascii_valid_char_p): Don't define in UTF2000.
242         (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
243         (Lstream_get_emchar_1): Likewise.
244         (utf-2000-version): New variable in UTF2000.
245
246         * lread.c (read_escape): Add new reader `u'.
247
248         * insdel.c (three_to_one_table): Don't define in UTF2000.
249         (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
250         `buf->text->mule_shifter' and `buf->text->mule_three_p' in
251         UTF2000.
252         (bytind_to_bufpos_func): Likewise.
253         (buffer_mule_signal_inserted_region): Likewise.
254         (vars_of_insdel): Don't initialize `three_to_one_table'.
255         (init_buffer_text): Use `buf->text->mule_size' instead of
256         `buf->text->mule_shifter' and `buf->text->mule_three_p' in
257         UTF2000.
258
259         * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
260         UTF-8 representation in UTF2000.
261         (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
262         (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
263         (decode_coding_iso2022): Don't define local variable `lb' in
264         UTF2000; don't use LEADING_BYTE in UTF2000; use
265         `DECODE_ADD_UCS_CHAR' in UTF2000.
266         (convert_to_external_format): Decode as UTF-8 in UTF2000.
267
268         * config.h.in (UTF2000): New macro.
269
270         * buffer.h (struct buffer_text): Add new member `mule_size' and
271         don't add `mule_shifter' and `mule_three_p' in UTF2000.
272         (valid_char_p): Return always 1 in UTF2000.
273         (MAX_EMCHAR_LEN): 6 in UTF2000.
274         (three_to_one_table): Don't define in UTF2000.
275         (real_bufpos_to_bytind): Modify for UTF-8 representation in
276         UTF2000.
277         (real_bytind_to_bufpos): Likewise.
278
279         * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
280
281 1999-06-10  MORIOKA Tomohiko  <tomo@etl.go.jp>
282
283         * mule-charset.c (rep_bytes_by_first_byte): Modified for character
284         representation change.
285         (Vutf_2000_version): New variable.
286         (leading_code_private_11): New variable.
287         (syms_of_mule_charset): Add new variables `utf-2000-version' and
288         `leading-code-private-11'.
289
290         * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
291         (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
292         (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
293         (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
294         (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
295         (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
296         (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
297         (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
298         (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
299         (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
300         (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
301         (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
302         (MIN_CHAR_GREEK): New macro.
303         (MAX_CHAR_GREEK): New macro.
304         (MIN_CHAR_CYRILLIC): New macro.
305         (MAX_CHAR_CYRILLIC): New macro.
306         (MIN_CHAR_HEBREW): New macro.
307         (MAX_CHAR_HEBREW): New macro.
308         (MIN_CHAR_THAI): New macro.
309         (MAX_CHAR_THAI): New macro.
310         (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
311         (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
312         (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
313         (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
314         (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
315         (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
316         (CHAR_FIELD2): New inline function.
317         (CHAR_FIELD3): New inline function.
318         (MULE_CHAR_PRIVATE_OFFSET): New macro.
319         (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
320         (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
321         (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
322         (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
323         (MIN_CHAR_COMPOSITION): Likewise.
324         (CHAR_LEADING_BYTE): Modified for character representation change.
325         (MAKE_CHAR): Likewise.
326
327         * lisp.h (Vcharset_latin_iso8859_1): New variable.
328         (Vcharset_greek_iso8859_7): Likewise.
329         (Vcharset_cyrillic_iso8859_5): Likewise.
330         (Vcharset_hebrew_iso8859_8): Likewise.
331         (Vcharset_thai_tis620): Likewise.
332         (Vcharset_katakana_jisx0201): Likewise.
333
334 1999-08-17  MORIOKA Tomohiko  <tomo@etl.go.jp>
335
336         * file-coding.c (determine_real_coding_system): Treat `coding:'
337         cookie.
338
339 1999-08-16  MORIOKA Tomohiko  <tomo@etl.go.jp>
340
341         * file-coding.c (struct decoding_stream): New member `counter'.
342         (reset_decoding_stream): Initialize `counter'.
343         (decode_coding_ucs4): Use `counter'.
344         (decode_coding_utf8): Likewise.
345
346 1999-07-30  XEmacs Build Bot <builds@cvs.xemacs.org>
347
348         * XEmacs 21.2.19 is released
349
350 1999-07-27  Jeff Miller  <jmiller@smart.net>
351
352         * add a "#ifdef HAVE_MENUBARS"  wrapper to gui.c around 
353           menubar_show_keybindings.
354
355 1999-07-23  SL Baur  <steve@miho>
356
357         * mule-charset.c (syms_of_mule_charset): Delete duplicated
358         definition of Qccl_program.
359
360         * mule-ccl.h: Make a global declaration of it here.
361
362 1999-07-20  Bob Weiner  <weiner@beopen.com>
363
364         * s/sco7.h: Added from rr@sco.com.
365
366 1999-06-25  MORIOKA Tomohiko  <tomo@etl.go.jp>
367
368         * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
369
370 1999-06-24  MORIOKA Tomohiko  <tomo@etl.go.jp>
371
372         * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
373         (mule_encode): Likewise.
374
375         * mule-ccl.c (Qccl_program): New variable.
376         (CCL_SUSPEND): New macro.
377         (CCL_INVALID_CMD): New macro.
378         (CCL_READ_CHAR): Don't regard as invalid command while processing
379         the last block even if input is empty; use
380         `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
381         (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
382
383         * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
384         (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
385         (CCL_STAT_SUSPEND_BY_DST): Likewise.
386         (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
387         (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
388
389 1999-05-04  Ken'ichi Handa  <handa@gnu.org>
390
391         * mule-ccl.h (struct ccl_program): New member stack_idx.
392
393         * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
394         (ccl_driver): Setup stack_idx and ccl_prog correctly.  Update them
395         before returing.
396         (setup_ccl_program): Initialize ccl->stack_idx to 0.
397
398 1998-10-12  Kenichi Handa  <handa@etl.go.jp>
399
400         * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
401         definitions.
402
403 1998-08-18  Kenichi Handa  <handa@etl.go.jp>
404
405         * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
406         processing the last block, don't just finish but processes eol
407         block of the current CCL program.
408         (ccl_driver): Add a new jump label ccl_repeat for the above
409         change.
410
411 1998-04-15  Kenichi Handa  <handa@etl.go.jp>
412
413         * mule-ccl.c: Typo in comments fixed.
414         (Qccl_program_idx): New variables.
415         (CCL_ReadMultibyteChar2): Macro name changed from
416         CCL_ReadMultibyteCharacter.
417         (CCL_WriteMultibyteChar2): Macro name changed from
418         CCL_WriteMultibyteChar2.
419         (ccl_driver): Adjusted for the above changes.
420         (resolve_symbol_ccl_program): New function.
421         (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
422         program.  If CCL-PRGRAM is a vector, convert symbols in it to ID
423         numbers by resolve_symbol_ccl_program.
424         (Fccl_execute_on_string): Likewise.
425         (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
426         convert symbols in it to ID numbers by resolve_symbol_ccl_program.
427
428 1998-01-21  Kenichi Handa  <handa@etl.go.jp>
429
430         * mule-ccl.h: (struct ccl_program): New member private_state.
431
432         * mule-ccl.c
433         (CCL_Call): Fix the comment.
434         (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
435         macros for CCL Commands.
436         (EXCMD): New macro.
437         (ccl_driver): New case lable `CCL_Extention'.
438         (setup_ccl_program): Initialize the member `private_state' of CCL.
439
440 1999-07-08  Katsumi Yamaoka <yamaoka@jpl.org>
441
442         * keymap.c (copy_keymap_internal): Inherit the default binding.
443
444 1999-07-14  Kazuyuki IENAGA <kazz@imasy.or.jp>
445
446         * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
447         focus the event (XIM_focus_event).
448         (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because 
449         XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
450         the interface for future use (XIM_SetGeometry).
451         * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot 
452         location (XIM_SetSpotLocation).
453         (x_output_eol_cursor): Ditto.
454
455 1999-07-17  Gunnar Evermann  <ge204@eng.cam.ac.uk>
456
457         * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
458         Olivier's change to lrecord.h of 1999-04-22
459
460 1999-07-20  Robert Pluim  <rpluim@bigfoot.com>
461
462         * gutter.c (redraw_exposed_gutter): Change type of pos from
463         enum toolbar_pos -> enum gutter_pos, since former is only defined
464         if toolbar support is.
465
466 1999-07-19  Andy Piper  <andy@xemacs.org>
467
468         * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
469         subwindows.
470
471         * gutter.c (gutter_validate): new function for the gutter specifier.
472         (specifier_type_create_gutter): declare specifier validator.
473
474         * buffer.h (INC_CHARBYTIND): add for no error checking version.
475
476 1999-07-18  Andy Piper  <andy@xemacs.org>
477
478         * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
479
480         * glyphs-msw.c (console_type_create_glyphs_mswindows): add
481         resize_subwindow.
482         (mswindows_resize_subwindow): new function.
483
484         * gutter.c (redraw_exposed_gutter): only reset the
485         current_display_lines if non-zero.
486         (Fgutter_pixel_height): new function.
487         (Fgutter_pixel_width): new function.
488
489         * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
490         we want to retrive from the tab control.
491
492 1999-07-17  Andy Piper  <andy@xemacs.org>
493
494         * window.c (change_window_height): mark gutters changed when we're
495         done.
496
497         * gutter.c (specifier_vars_of_gutter): make defaults more
498         sensible.
499
500         * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
501         height gutter.
502         (DEFAULT_GUTTER_WIDTH): change.
503         (DEFAULT_GUTTER_BORDER_WIDTH): change.
504
505 1999-07-18  Andy Piper  <andy@xemacs.org>
506
507         * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
508
509 1999-07-16  Andy Piper  <andy@xemacs.org>
510
511         * frame.c (Fmake_frame): call init_frame_gutters().
512
513         * redisplay.c (add_emchar_rune): use string functions if we are
514         working with a string.
515         (position_redisplay_data_type): add string element.
516
517 1999-07-15  Andy Piper  <andy@xemacs.org>
518
519         * winslots.h: add real_gutter_size slots to hold the actual gutter
520         size. This is important for autodetected sizes.
521
522         * gutter.c (calculate_gutter_size): calculate size for gutters
523         that have 'autodetect size.
524
525         * redisplay-msw.c (mswindows_output_vertical_divider): adjust
526         extent of divider for gutters.
527
528         * redisplay-x.c (x_output_vertical_divider): adjust extent of
529         divider for gutters.
530
531         * scrollbar.c (update_scrollbar_instance): adjust scrollbar
532         position to take into account the gutters.
533
534         * redisplay.c (generate_modeline): adjust modeline position to
535         take into account the gutters.
536
537 1999-07-14  Andy Piper  <andy@xemacs.org>
538
539         * gutter.c (frame_topmost_window): new function.
540         (frame_bottommost_window): ditto.
541         (frame_leftmost_window): ditto.
542         (frame_rightmost_window): ditto.
543
544 1999-07-13  Andy Piper  <andy@xemacs.org>
545
546         * redisplay.c (calculate_display_line_boundaries): use text
547         boundaries so that gutters get handled properly.
548
549 1999-07-12  Andy Piper  <andy@xemacs.org>
550
551         * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
552         we're using Motif.
553
554         * redisplay-output.c (redisplay_clear_to_window_end): generalised
555         from redisplay-x.c
556
557         * redisplay-x.c (redisplay_clear_to_window_end): moved to
558         redisplay.c
559         
560         * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
561
562         * gutter.c: new file - implements gutters. All new functions are
563         semantically equivalent to the toolbar functions.
564         (gutter_was_visible): new function.
565         (get_gutter_coords): ditto.
566         (output_gutter): ditto.
567         (clear_gutter): ditto.
568         (update_frame_gutters): ditto.
569         (redraw_exposed_gutter): ditto.
570         (redraw_exposed_gutters): ditto.
571         (free_frame_gutters): ditto.
572         (init_frame_gutters): ditto.
573         (decode_gutter_position): ditto.
574         (Fset_default_gutter_position): ditto.
575         (Fset_default_gutter_position): ditto.
576         (Fdefault_gutter_position): ditto.
577         (gutter_after_change): ditto.
578         (Fgutter_specifier_p): ditto.
579         (recompute_overlaying_specifier): ditto.
580         (gutter_specs_changed): ditto.
581         (default_gutter_specs_changed): ditto.
582         (gutter_geometry_changed_in_window): ditto.
583         (default_gutter_size_changed_in_window): ditto.
584         (default_gutter_border_width_changed_in_window): ditto.
585         (default_gutter_visible_p_changed_in_window): ditto.
586         (syms_of_gutter): ditto.
587         (vars_of_gutter): ditto.
588         (specifier_type_create_gutter): ditto.
589         (specifier_vars_of_gutter): ditto.
590
591         * gutter.h: new file. Contains gutter constants and sizing macros
592         similar to those for the toolbar.
593
594         * winslots.h: add gutter variables.
595
596         * window.h: declare window_is_* functions.
597
598         * window.c (window_is_lowest): make non-static.
599         (window_is_highest): ditto.
600         (window_top_toolbar_height): deleted.
601         (window_bottom_toolbar_height): deleted.
602         (window_left_toolbar_width): deleted.
603         (window_right_toolbar_width): deleted.
604         (window_top_gutter_height): add gutter sizing.
605         (window_bottom_gutter_height): ditto.
606         (window_left_gutter_width): ditto.
607         (window_right_gutter_width): ditto.
608
609         * symsinit.h: declarations for gutters vars etc.
610
611         * search.c (bi_find_next_emchar_in_string): new function.
612
613         * scrollbar.c (update_scrollbar_instance): remove reference to
614         window_bottom_toolbar_height which did nothing.
615
616         * redisplay.h (struct display_line): add face indices for
617         overriding defaults in output_display_line.
618         Add gutter_changed flags and declarations.
619
620         * redisplay.c (create_string_text_block): new function, similar to
621         create_text_block but for strings. Display tables etc are used
622         from the currently selected window.
623         (generate_string_display_line): ditto. Similar to
624         generate_display_line.
625         (generate_displayable_area): generate display lines for a given
626         area on a frame. Input is the string, with associated extents, to
627         display.
628         (redisplay_frame): add gutter_changed check.
629         (redisplay_device): ditto.
630         (redisplay_without_hooks): ditto.
631
632         * redisplay-x.c (bevel_modeline): moved to redisplay.c.
633         (x_redraw_exposed_area): redraw exposed gutters.
634         (x_bevel_area): new redisplay device method.
635         (x_type_create_redisplay_mswindows): add bevel_area device method.
636         (x_output_display_block): fiddly Martin-style cleanup.
637         (x_output_vertical_divider): use bevel_area.
638
639         * redisplay-output.c (output_display_line): check display_lines
640         for face information before using defaults.
641         (bevel_modeline): new function, calls bevel_area with appropriate
642         values.
643
644         * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
645         (mswindows_redraw_exposed_area): redraw exposed gutters.
646         (mswindows_bevel_area): new redisplay device method.
647         (console_type_create_redisplay_mswindows): add bevel_area device
648         method.
649
650         * indent.c (string_column_at_point): add column_at_point but for
651         strings.
652
653         * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
654         instantiate widgets that we have a toolkit for.
655
656         * general.c: add Qgutter.
657
658         * frame.h (struct frame): add display lines for gutters and
659         visibility flags.
660
661         * frame.c (set_frame_selected_window): mark gutters changed.
662
663         * emacs.c (main_1): add gutter initialisation.
664
665         * device.h (struct device): add gutter_changed flag and macros to
666         manipulate it.
667
668         * console.h (struct console_methods): new bevel area redisplay
669         method.
670
671         * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
672         REAL_INC_BYTIND is for buffers.
673         (INC_CHARPTR): ditto.
674
675         * Makefile.in.in (objs): add gutter.o
676
677 1999-07-13  XEmacs Build Bot <builds@cvs.xemacs.org>
678
679         * XEmacs 21.2.18 is released
680
681 1999-07-08  SL Baur  <steve@mule.m17n.org>
682
683         * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
684         XIM_XLIB.
685         (emacs_Xt_handle_magic_event): Ditto.
686         * redisplay-x.c (x_output_string): Ditto.
687         (x_output_eol_cursor): Ditto.
688
689 1999-06-30  Kazuyuki IENAGA <kazz@imasy.or.jp>
690
691         *  event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
692         problem that when XIM is destroyed or missed with some reason,
693         xemacs will die.  Now xim=xlib waits the XIM will be ready and
694         endures the case of XIM end up.
695
696 1999-07-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
697
698         * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
699         SIGINT and SIGCHLD before calling tt_open and restore the
700         afterwards. This fixes e.g. the zombie subprocesses on Solaris
701
702 1999-07-06  SL Baur  <steve@xemacs.org>
703
704         * s/linux.h: gcc-2.8 changes for powerpc
705         From Justin Vallon <vallon@mindspring.com>
706
707 1999-07-05  Didier Verna  <verna@inf.enst.fr>
708
709         * indent.c: new symbol Qcoerce.
710         (Fmove_to_column): use it + doc string update.
711
712 1999-07-04  Andy Piper  <andy@xemacs.org>
713
714         * console.c: undo earlier Fprovide changes.
715         * fns.c: ditto.
716         * console.h: ditto.
717
718         * console-tty.c (image_instantiator_format_create_glyphs_tty): new
719         function. validate appropriate image formats for tty.
720
721         * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
722         initialize consoles parameter.
723         (struct image_instantiator_methods): add consoles parameter.
724         (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
725         console.
726         (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
727         console.
728
729         * glyphs-msw.c: declare instantiators for later use.
730         (image_instantiator_format_create_glyphs_mswindows): validate xpm
731         and friends on the mswindows console.
732         * glyphs-x.c: ditto.
733
734         * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
735         that have not been registered on the supplied device.
736         (Fvalid_image_instantiator_format_p): add locale argument.
737         (instantiate_image_instantiator): valid image instantiator on the
738         device.
739
740         * symsinit.h: add image_instantiator_format_create_glyphs_tty()
741         declaration.
742
743         * emacs.c (main_1): add call to
744         image_instantiator_format_create_glyphs_tty().
745
746 1999-06-29  Olivier Galibert  <galibert@pobox.com>
747
748         * lisp.h: Add #include <stddef.h>.
749
750         * sysdep.c: Remove #include <stddef.h>.
751         * symbols.c: Remove #include <stddef.h>.
752         * sheap.c: Remove #include <stddef.h>.
753         * opaque.c: Remove #include <stddef.h>.
754         * nt.c: Remove #include <stddef.h>.
755         * mule-charset.c: Remove #include <stddef.h>.
756         * marker.c: Remove #include <stddef.h>.
757         * file-coding.c: Remove #include <stddef.h>.
758         * extents.c: Remove #include <stddef.h>.
759         * elhash.c: Remove #include <stddef.h>.
760         * data.c: Remove #include <stddef.h>.
761         * chartab.c: Remove #include <stddef.h>.
762         * bytecode.c: Remove #include <stddef.h>.
763         * alloc.c: Remove #include <stddef.h>.  Fix vector description
764
765 1999-06-30  SL Baur  <steve@miho.m17n.org>
766
767         * editfns.c: Document "%s" format spec.
768         Suggested by Bob Weiner <weiner@altrasoft.com>
769
770 1999-06-29  Andy Piper  <andy@xemacs.org>
771
772         * event-msw.c: fix definition booboo.
773
774 1999-06-28  Andy Piper  <andy@xemacs.org>
775
776         * glyphs-x.c: change tree -> tree-view, progress ->
777         progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
778         combo-box.
779         (complex_vars_of_glyphs_x): provide-on-console the implemented
780         widget types.
781
782         * glyphs-msw.c: ditto.
783         (complex_vars_of_glyphs_mswindows): ditto.
784
785         * lisp.h: add Fprovide_on_console.
786
787         * fns.c (Ffeaturep): add extra optional console argument.
788         (Fprovide_on_console): like Fprovide but provides only on the
789         specified console-type.
790         (Frequire): check console-features as well as global features.
791
792         * console.c (Fconsole_features): new function. return features for
793         this console.
794         (syms_of_console): add Fconsole_features.
795
796         * console.h (CONMETH_FEATURES): new function for accessing features.
797         (CONSOLE_FEATURES): ditto.
798         (struct console_methods): add features slot.
799         (INITIALIZE_CONSOLE_TYPE): initialize features slot.
800
801 1999-06-28  Andy Piper  <andy@xemacs.org>
802
803         * event-Xt.c (handle_focus_event_1): conditionally compile for
804         X11R5.
805
806         * s/cygwin32.h: fix me website address.
807
808         * event-msw.c: add NMHDR for pre b20 cygwin builds.
809
810         * gui-x.c (button_item_to_widget_value): only add callback if it
811         is non-nil.
812
813         * glyphs-x.c: add progress, edit and combo instantiators.
814         (x_widget_set_property): new function. uses lwlib to set widget
815         values.
816         (x_widget_property): new function. uses lwlib to get widget
817         values.
818         (x_button_instantiate): support images in buttons.
819         (x_button_property): new function. use lwlib to get the selected
820         state.
821         (x_progress_instantiate): new function for instantiating progress
822         gauges.
823         (x_progress_set_property): new function. sets the progress gauge
824         position.
825         (x_edit_instantiate): new function. for instantiating edit fields.
826         (x_combo_instantiate): new function. for instantiating combo
827         boxes.
828         (image_instantiator_format_create_glyphs_x): add new device ii
829         formats.
830
831         * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
832
833         * console.h (CONSOLE_FEATURES): new features accesor.
834
835         * conslots.h (MARKED_SLOT): add features entry.
836
837 1999-06-25  Andy Piper  <andy@xemacs.org>
838
839         * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
840         gui functions.
841
842         * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
843
844         * gui.h (struct Lisp_Gui_Item): add accelerator.
845
846         * gui.c (gui_item_add_keyval_pair): deal with accelerators.
847         (gui_item_init): ditto.
848         (gui_add_item_keywords_to_plist): ditto.
849         (mark_gui_item): ditto.
850         (gui_item_hash): ditto.
851         (gui_item_accelerator): new function.
852         (gui_name_accelerator): new function stolen from gui-x.c
853
854         * gui-x.c (popup_selection_callback): always define. mark
855         subwindows changed after calling a callback.
856         (menu_name_to_accelerator): deleted.
857         (button_item_to_widget_value): forward gui_item things to gui_item
858         functions.
859
860         * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
861         appropriate accesors.
862
863         * glyphs-x.c: declare new glyph formats.
864         (x_finalize_image_instance): unmanage and destroy widgets if they
865         exist.
866         (x_unmap_subwindow): handle widgets specially.
867         (x_map_subwindow): ditto. offset display of widgets by offset of
868         text widget within container.
869         (x_update_subwindow): new function. call lw_modify_all_widgets
870         when we are a widget.
871         (x_widget_instantiate): new function for generically creating
872         widgets-glyphs. toolkit specifics forwarded to lwlib.
873         (x_button_instantiate): new function for instantiating
874         widgets-glyph buttons.
875         (console_type_create_glyphs_x): register update_subwindow.
876         (image_instantiator_format_create_glyphs_x): register widget and
877         button types.
878
879         * event-msw.c (mswindows_wnd_proc): remove redundant variable.
880
881         * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
882         when we get a button press in case we do not have the focus.
883         (handle_focus_event_1): set the keyboard focus to the text widget
884         if we do not have it.
885
886         * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
887         functions.
888
889 1999-06-24  SL Baur  <steve@miho.m17n.org>
890
891         * syntax.c (scan_words): Restore non-Mule code.
892         (word_constituent_p): Restore.
893
894 1999-06-23  Olivier Galibert  <galibert@pobox.com>
895
896         * config.h.in: Add missing #undef *_USER_DEFINED.
897
898 1999-06-23  SL Baur  <steve@miho.m17n.org>
899
900         * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
901         int (fixes a 64-bit problem).
902
903         * chartab.c (word_boundary_p): Use EQ not == for lisp_object
904         comparison.
905
906 1999-03-23  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
907
908         * paths.h.in (PATH_DOC): Made doc-directory configurable.
909
910 1999-06-22  Olivier Galibert  <galibert@pobox.com>
911
912         * lrecord.h: Added basic external description system.
913
914         * symbols.c: Added symbol, symbol-value-buffer-local,
915         symbol-value-lisp-magic and symbol-value-varalias description.
916         * mule-charset.c: Added charset description.
917         * marker.c: Added marker description.
918         * keymap.c: Added keymap description.
919         * glyphs.c: Added glyph description.
920         * floatfns.c: Added float description.
921         * file-coding.c: Added coding-system description.
922         * extents.c: Added extent description.
923         * elhash.c: Added hash-table description.
924         * data.c: Added weak-list desciption.
925         * chartab.c: Added char-table-entry and char-table description.
926         * bytecode.c: Added compiled-function description.
927         * alloc.c: Added cons, vector and string description.
928
929 1999-06-22  Olivier Galibert  <galibert@pobox.com>
930
931         * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
932         Updated everything to the removal of the "flags" substructure.
933
934         * lisp.h (subr_lheader_initializer): Updated.
935         * symeval.h (symbol_value_forward_lheader_initializer): Updated.
936
937 1999-06-20  MORIOKA Tomohiko  <tomo@etl.go.jp>
938
939         * syntax.c (word_constituent_p): Deleted.
940         (scan_words): Use `WORD_BOUNDARY_P'.
941
942         * chartab.c (Vword_combining_categories): New variable.
943         (Vword_separating_categories): Likewise.
944         (CATEGORYP): New macro.
945         (CATEGORY_SET): Likewise.
946         (CATEGORY_MEMBER): Likewise.
947         (word_boundary_p): New function.
948         (complex_vars_of_chartab): Set up new variable
949         `word-combining-categories' and `word-separating-categories'.
950
951 1999-06-18  Olivier Galibert  <galibert@pobox.com>
952
953         * lrecord.h: Added description as a placehold in the lrecord
954         implementation structures.  Added the parameter to all constructor
955         defines.
956
957         * alloc.c: Added placeholders.
958         * buffer.c: Ditto.
959         * bytecode.c: Ditto.
960         * chartab.c: Ditto.
961         * console.c: Ditto.
962         * data.c: Ditto.
963         * database.c: Ditto.
964         * device.c: Ditto.
965         * eldap.c: Ditto.
966         * elhash.c: Ditto.
967         * eval.c: Ditto.
968         * event-stream.c: Ditto.
969         * events.c: Ditto.
970         * extents.c: Ditto.
971         * faces.c: Ditto.
972         * file-coding.c: Ditto.
973         * floatfns.c: Ditto.
974         * fns.c: Ditto.
975         * frame.c: Ditto.
976         * glyphs.c: Ditto.
977         * gui-x.c: Ditto.
978         * keymap.c: Ditto.
979         * lstream.c: Ditto.
980         * marker.c: Ditto.
981         * mule-charset.c: Ditto.
982         * objects.c: Ditto.
983         * opaque.c: Ditto.
984         * process.c: Ditto.
985         * rangetab.c: Ditto.
986         * specifier.c: Ditto.
987         * symbols.c: Ditto.
988         * toolbar.c: Ditto.
989         * tooltalk.c: Ditto.
990         * window.c: Ditto.
991
992 1999-06-22  XEmacs Build Bot <builds@cvs.xemacs.org>
993
994         * XEmacs 21.2.17 is released
995
996 1999-06-13  Oscar Figueiredo  <oscar@xemacs.org>
997
998         * config.h.in (HAVE_LDAP_SET_OPTION): New define
999         (HAVE_LDAP_GET_LDERRNO): Ditto
1000         (HAVE_LDAP_RESULT2ERROR): Ditto
1001         (HAVE_LDAP_PARSE_RESULT): Ditto
1002         (HAVE_UMICH_LDAP): Removed
1003         (HAVE_NS_LDAP): Removed
1004
1005         * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1006         suggested by Olivier Galibert
1007         (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1008
1009         * eldap.c: Take the removal of `livep' into account in all the
1010         necessary functions
1011         (signal_ldap_error): Take two additional parameters
1012         Added new finer compilation conditions in order to use
1013         ldap_parse_result or ldap_result2error if available
1014         (Fldap_open): Conform to this new API
1015         (Fldap_search_internal): Ditto
1016
1017 1999-06-17  SL Baur  <steve@miho.m17n.org>
1018
1019         * data.c (struct int_or_double): Should use EMACS_INT not int.
1020
1021 1999-06-16  Norbert Koch  <n.koch@eai-delta.de>
1022
1023         * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1024         redisplay-x.c
1025
1026 1999-06-12  MORIOKA Tomohiko  <tomo@etl.go.jp>
1027
1028         * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1029         `CCL_MODE_ENCODING'.
1030
1031         * file-coding.c (mule_decode): Run `ccl_driver' with
1032         `CCL_MODE_DECODING'.
1033         (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1034
1035         * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1036         (ccl_driver): Add new argument `conversion_mode'.
1037         (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1038         (Fccl_execute_on_string): Likewise [perhaps it is better to add
1039         new optional argument].
1040
1041         * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1042         (CCL_MODE_DECODING): New macro.
1043         (ccl_driver): Add new argument `conversion_mode'.
1044
1045 1999-06-15  SL Baur  <steve@miho.m17n.org>
1046
1047         * mule-charset.c (Fsplit_char): New subr.
1048         (Fchar_octet): delete.
1049         (syms_of_mule_charset): DEFSUBR it.
1050
1051 1999-06-13  Andy Piper  <andy@xemacs.org>
1052
1053         * menubar.h: update declarations involving gui_items.
1054
1055         * lisp.h: declare Lisp_Gui_Item.
1056
1057         * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1058
1059         * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1060         (print_image_instance): ditto.
1061         (image_instance_equal): ditto.
1062         (image_instance_hash): ditto.
1063
1064         * event-msw.c (mswindows_need_event): assert badly_p status.
1065         (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1066         callbacks in tree-view and tab-control widgets.
1067         (emacs_mswindows_next_event): modify use of
1068         mswindows_dequeue_dispatch_event.
1069
1070         * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1071         lisp-based gui_items.
1072
1073         * glyphs-msw.c (mswindows_update_subwindow): update use of
1074         gui_items.
1075         (mswindows_register_gui_item): new function.
1076         (mswindows_register_gui_item): fix to use lisp gui_items.
1077         (mswindows_widget_instantiate): ditto.
1078         (mswindows_button_instantiate): ditto.
1079         (add_tree_item): new function to recursively add tree view
1080         elements.
1081         (add_tree_item_list): ditto.
1082         (mswindows_tree_instantiate): new function. instantiate tree view
1083         controls.
1084         (add_tab_item): new function to add tabs to a tab control.
1085         (mswindows_tab_instantiate): new function. instantiate tab
1086         controls.
1087         (image_instantiator_format_create_glyphs_mswindows): add tree view
1088         and tab controls.
1089         (vars_of_glyphs_mswindows): ditto.
1090
1091         * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1092         item lists.
1093         (check_valid_item_list): ditto.
1094         (initialize_widget_image_instance): fix to use new lisp gui_item.
1095         (widget_instantiate_1): allow the setting of default textwidth in
1096         characters.
1097         (widget_instantiate): change to use new widget_instantiate_1
1098         signature.
1099         (combo_instantiate): ditto.
1100         (static_instantiate): ditto.
1101         (tab_instantiate): new function for tab widgets.
1102         (image_instantiator_format_create_glyphs_widget): add tab and tree
1103         view widgets.
1104
1105         * menubar-msw.c (displayable_menu_item): convert to use lisp
1106         gui_items.
1107         (populate_menu_add_item): ditto.
1108         (populate_or_checksum_helper): ditto.
1109
1110         * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1111         gui_items.
1112         (Fmenu_find_real_submenu): ditto.
1113
1114         * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1115
1116         * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1117         objects, convert functions that use them accordingly.
1118         (gui_item_init): ditto.
1119         (gui_item_active_p): ditto.
1120         (gui_item_selected_p): ditto.
1121         (gui_item_included_p): ditto.
1122         (gui_item_display_flush_left): ditto.
1123         (gui_item_display_flush_right): ditto.
1124         (mark_gui_item): ditto.
1125         (allocate_gui_item): new function to create a gui_item.
1126         (make_gui_item_from_keywords_internal): ditto. create and return a
1127         gui_item as well as setting keywords.
1128         (gui_parse_item_keywords): ditto.
1129         (gui_parse_item_keywords_no_errors): ditto.
1130         (gui_add_item_keywords_to_plist): new function, not yet used.
1131         (gui_item_hash): new function.
1132         (gui_item_id_hash): use gui_item_hash.
1133         (gui_item_equal): new function.
1134         (print_gui_item): new function.
1135
1136 1999-06-11  XEmacs Build Bot <builds@cvs.xemacs.org>
1137
1138         * XEmacs 21.2.16 is released
1139
1140 1999-06-10  Andy Piper  <andy@xemacs.org>
1141
1142         * select-msw.c (mswindows_own_selection): only set the clipboard
1143         if asked.
1144         (mswindows_get_foreign_selection): only get the clipboard if
1145         asked.
1146         (mswindows_disown_selection): only disown the clipboard if asked.
1147
1148 1999-06-03  MORIOKA Tomohiko  <tomo@etl.go.jp>
1149
1150         * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1151         of `no-conversion'.
1152         (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1153         of coding-category `no-conversion'.
1154
1155 1999-06-03  MORIOKA Tomohiko  <tomo@etl.go.jp>
1156
1157         * file-coding.c (Qraw_text): New variable.
1158         (syms_of_mule_coding): Add new symbol `raw-text'.
1159         (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1160         define coding-system `binary' independently; define coding-system
1161         `no-conversion' as an alias for `raw-text'.
1162
1163         * file-coding.h (Qraw_text): New variable.
1164
1165 1999-06-08  SL Baur  <steve@xemacs.org>
1166
1167         * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1168
1169 1999-06-06  Hrvoje Niksic  <hniksic@srce.hr>
1170
1171         * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1172         base64.el.
1173         (base64_decode_1): Signal errors instead of returning -1.
1174
1175 1999-06-07  Hrvoje Niksic  <hniksic@srce.hr>
1176
1177         * mule-charset.c (Fmake_char): Update docstring.
1178
1179 1999-06-07  Hrvoje Niksic  <hniksic@srce.hr>
1180
1181         * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1182
1183 1999-06-05  Hrvoje Niksic  <hniksic@srce.hr>
1184
1185         * fns.c (base64_decode_1): Allow and ignore any non-base64
1186         characters in input.
1187
1188 1999-05-27  Olivier Galibert  <galibert@pobox.com>
1189
1190         * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1191         of report_pure_usage().
1192
1193 1999-06-04  Hrvoje Niksic  <hniksic@srce.hr>
1194
1195         * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1196
1197 1999-06-04  XEmacs Build Bot <builds@cvs.xemacs.org>
1198
1199         * XEmacs 21.2.15 is released
1200
1201 1999-06-01  Hirokazu FUKUI  <fukui@atesoft.advantest.co.jp>
1202
1203         * frame.c (Fset_mouse_position):
1204         (Fset_mouse_pixel_position):
1205         * window.c (Fsplit_window):
1206         (Fmove_to_window_line):
1207         Fix crash when invoking functions with an already-deleted window
1208         argument.
1209
1210         * indent.c (vertical_motion_1):
1211         (vmotion_pixels):
1212         (Fvertical_motion_pixels):
1213         * window.c (Fwindow_displayed_text_pixel_height):
1214         Fix error message when invoking functions with an already-deleted
1215         window argument.
1216
1217 1999-06-01  Jan Vroonhof  <vroonhof@math.ethz.ch>
1218
1219         * sysdep.c (request_sigio_on_device): Guard against glibc
1220         2.1's stub streams implementation.
1221
1222 1999-06-03  SL Baur  <steve@xemacs.org>
1223
1224         * config.h.in:
1225         * emacs.c:  Implement x.y.z version numbers
1226         From Jan Vroonhof <vroonhof@math.ethz.ch>
1227
1228 1999-05-20  MORIOKA Tomohiko  <tomo@etl.go.jp>
1229
1230         * mule-charset.c (complex_vars_of_mule_charset): Registry of
1231         japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1232         "jisc6226.1983".
1233
1234 1999-06-03  SL Baur  <steve@xemacs.org>
1235
1236         * frame-x.c:
1237         * device-x.c: rename session option to wmcommand.
1238         From Oliver Graf <ograf@rhein-zeitung.de>
1239
1240 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
1241
1242         * fns.c (Fsubstring): Don't traverse the same region twice with
1243         charcount_to_bytecount().
1244
1245 1999-06-03  SL Baur  <steve@steve1.m17n.org>
1246
1247         * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1248         garbage.
1249
1250         * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1251         doesn't really work as is implied by the commentary).
1252         Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1253
1254 1999-06-02  SL Baur  <steve@steve1.m17n.org>
1255
1256         * symsinit.h: Declare vars_of_ntproc.
1257         * emacs.c (main_1): Call it.
1258
1259         * ntproc.c (syms_of_ntproc): Move variable initializations from
1260         here ...
1261         (vars_of_ntproc): ... to here [new function].
1262
1263         * file-coding.c (syms_of_file_coding): Rename.
1264         (vars_of_file_coding): Ditto.
1265         (complex_vars_of_file_coding): Ditto.
1266
1267         * symsinit.h: Rename *_mule_coding to *_file_coding.
1268
1269         * emacs.c (main_1): Call them by the proper name.
1270
1271         * device-msw.c (syms_of_device_mswindows): Move variable
1272         initializations from here ...
1273         (vars_of_device_mswindows): ... to here.
1274
1275         * chartab.c (vars_of_chartab): New function.
1276
1277         * symsinit.h: New function, vars_of_chartab.
1278
1279         * emacs.c (main_1): Call it.
1280
1281         * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1282         (vars_of_mule_canna): ... to here.
1283
1284         * mule-ccl.c (vars_of_mule_ccl): New function.  Move variable
1285         initializations out of syms_of_mule_ccl.
1286
1287         * symsinit.h: Declare new function vars_of_mule_ccl.
1288
1289         * emacs.c (main_1): Call it.
1290
1291 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
1292
1293         * fns.c (base64_decode_1): Ignore whitespace.
1294
1295 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
1296
1297         * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1298         ARG2.
1299
1300 1999-05-21  Andy Piper  <andy@xemacs.org>
1301
1302         * xselect.c: deleted.
1303
1304         * symsinit.h: declare select initialisation.
1305
1306         * select.h: new file. declare commonly used select functions and
1307         variables.
1308
1309         * select.c: new file. generalised from xselect.c.
1310         (clean_local_selection_data): moved from xselect.c.
1311         (get_local_selection): ditto. device specific pieces called via a
1312         devmeth.
1313         (handle_selection_clear): ditto.
1314         (Fown_selection_internal): renamed and generalised from
1315         Fx_own_selection_internal. moved from xselect.c.
1316         (Fdisown_selection_internal): ditto.
1317         (Fselection_owner_p): ditto.
1318         (Fselection_exists_p): ditto.
1319         (Fget_selection_internal): ditto.
1320         (syms_of_select): new function. QXXXX values moved from xselect.c
1321         (vars_of_select): new function. selection_converter_alist,
1322         lost_selection_hooks moved and renamed from xselect.c
1323
1324         * select-x.c: renamed from xselect.c.
1325         (x_own_selection): converted to device specific. non-X-specific
1326         bits moved to select.c.
1327         (x_get_foreign_selection): ditto.
1328         (x_disown_selection): ditto.
1329         (x_selection_exists_p): ditto.
1330         (console_type_create_select_x): new function.
1331
1332         * select-msw.c (mswindows_own_selection): new device method to set
1333         the clipboard when we 'own' the selection.
1334         (mswindows_get_foreign_selection): new device method to get the
1335         clipboard.
1336         (mswindows_disown_selection): new device method to delete the
1337         selection when we 'disown' it.
1338         (console_type_create_select_mswindows): new function.
1339
1340         * emacs.c (main_1): add select to things to initialise.
1341
1342         * console.h (struct console_methods): new console methods for
1343         selection.
1344
1345         * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1346
1347 1999-05-20  Hrvoje Niksic  <hniksic@srce.hr>
1348
1349         * print.c (long_to_string): Install a faster version.
1350
1351 1999-05-16  Andy Piper  <andy@xemacs.org>
1352
1353         * ntproc.c (syms_of_ntproc): default
1354         win32-start-process-share-console to t.
1355
1356 1999-05-14  Hrvoje Niksic  <hniksic@srce.hr>
1357
1358         * config.h.in: Do it here.
1359
1360         * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1361
1362 1999-05-14  Andy Piper  <andy@xemacs.org>
1363
1364         * toolbar-msw.c (mswindows_output_toolbar): hash on something
1365         hashable.
1366
1367 1999-05-14  XEmacs Build Bot <builds@cvs.xemacs.org>
1368
1369         * XEmacs 21.2.14 is released
1370
1371 1999-05-12  Andy Piper  <andy@xemacs.org>
1372
1373         * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1374
1375 1999-05-11  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1376
1377         * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1378         run_temacs_argv array -- fixes random memory corruption crash
1379
1380 1999-05-12  Jan Vroonhof  <vroonhof@math.ethz.ch>
1381
1382         * window.c (Fcurrent_window_configuration):
1383         Save minibuffer height;
1384
1385         * window.c (set_window_configuration): use it.
1386
1387 1999-05-10  Robert Pluim  <rpluim@bigfoot.com>
1388
1389         * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1390
1391 1999-04-21  Jan Vroonhof  <vroonhof@math.ethz.ch>
1392
1393         * redisplay.c (redisplay_window): Do not put data
1394         in the line start cache if it is not guaranteed to be correct
1395
1396 1999-04-02  Jan Vroonhof  <vroonhof@math.ethz.ch>
1397
1398         * window.c (struct window_config): Removed frame
1399         size members.
1400         (window_config_equal): No longer compare frame sizes.
1401         (Fset_window_configuration): Resize old top window to fit in the
1402         current frame directly, no longer use a fake frame resize.
1403         (Fcurrent_window_configuration): No longer save frame size
1404
1405 1999-05-11  Andy Piper  <andy@xemacs.org>
1406
1407         * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1408         first character.
1409
1410 1999-05-10  Hrvoje Niksic  <hniksic@srce.hr>
1411
1412         * sysdep.c (init_system_name): If gethostname gives a proper
1413         domain name, don't look further for one.
1414
1415 1999-05-09  Hrvoje Niksic  <hniksic@srce.hr>
1416
1417         * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1418         (Fintern_soft): Accept a symbol argument.
1419
1420 1999-05-06  Hrvoje Niksic  <hniksic@srce.hr>
1421
1422         * symbols.c (Fintern): ...do it here.
1423
1424         * lread.c (read_atom): Don't handle keywords here.
1425
1426 1999-05-06  Hrvoje Niksic  <hniksic@srce.hr>
1427
1428         * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1429
1430 1999-05-03  Olivier Galibert  <galibert@pobox.com>
1431
1432         * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1433         is interned in the main obarray.
1434
1435 1999-04-23  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1436
1437         * menubar-x.c (pre_activate_callback): set accelerator field in
1438         "No menu" entries to nil. Avoid crash in
1439         command_builder_operate_menu_accelerator
1440
1441 1999-05-03  Olivier Galibert  <galibert@pobox.com>
1442
1443         * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1444
1445         * lisp.h (DEFUN): Fix lrecord header initialisation.
1446
1447 1999-05-02  Andy Piper  <andy@xemacs.org>
1448
1449         * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1450
1451         * ntproc.c (sys_kill): cast using MS mandated defines.
1452
1453 1999-04-29  Andy Piper  <andy@xemacs.org>
1454
1455         * m/intel386.h: remove redundant definitions.
1456
1457         * s/mingw32.h: new header for mingw32.
1458
1459         * unexnt.c: (open_input_file): function moved to nt.c.
1460         (close_file_data): ditto.
1461         (rva_to_section): function moved to ntproc.
1462
1463         * symsinit.h: declare syms_of_ntproc();
1464
1465         * objects-msw.c (mswindows_font_instance_truename): new function.
1466
1467         * ntproc.c: remove many warnings.
1468         (_sys_read_ahead): moved from nt.c and made static.
1469         (rva_to_section): moved from unexnt.c but not defined under
1470         mingw32.
1471         (win32_executable_type): implement what we can for mingw32
1472         headers.
1473         (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1474
1475         * ntheap.h: remove declarations of functions that are now static.
1476
1477         * ntheap.c: support static heap.
1478
1479         * nt.h: conditionalise X_OK definition.
1480
1481         * nt.c: eliminate many warnings and support mingw32.
1482         (open_input_file): function moved from unexnt.c and made static
1483         (close_file_data): ditto.
1484         (_sys_read_ahead): moved to ntproc.c
1485
1486         * emacs.c: make sure syms_of_ntptroc gets called under windows.
1487
1488         * console-msw.h: support mingw32.
1489         * getloadavg.c: ditto.
1490         * ntplay.c: ditto.
1491         * sysdep.c: ditto.
1492         * sysdir.h: ditto.
1493         * systime.h: ditto.
1494         * systty.h: ditto.
1495
1496         * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1497         some systems don't have all of the encapsulated system calls.
1498
1499         * callproc.c: warning elimination.
1500         * dired-msw.c: ditto.
1501         * process-nt.c: ditto.
1502         * realpath.c: ditto.
1503
1504         * Makefile.in.in: tweak : and ; for building under mswindows.
1505
1506 1999-04-26  Michael Harnois  <mharnois@willinet.net>
1507
1508         * eldap.c (allocate_ldap): Adapt to the new semantics of
1509         alloc_lcrecord_type().
1510
1511 1999-03-16  MORIOKA Tomohiko  <tomo@etl.go.jp>
1512
1513         * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1514
1515 1998-09-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1516
1517         * Delete mule-coding.c and mule-coding.h because they are not
1518         used.
1519
1520 1999-04-22  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1521
1522         * objects.c (print_font_instance): Check for NILP(f->device),
1523         i.e. Vthe_null_font_instance.
1524         (font_instance_truename_internal): ditto.
1525         (Ffont_instance_properties): ditto.
1526
1527 1999-04-22  Olivier Galibert  <galibert@pobox.com>
1528
1529         * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1530         array anymore.
1531
1532 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
1533
1534         * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1535         it easier to add new ones.
1536
1537 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
1538
1539         * symbols.c (reject_constant_symbols): Ditto.
1540         (init_symbols_once_early): Ditto.
1541
1542         * print.c (print_symbol): Don't use ->obarray.
1543
1544         * symbols.c (Funintern): Ditto.
1545
1546         * alloc.c (Fmake_symbol): Don't set ->obarray.
1547
1548         * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1549
1550         * symbols.c (init_symbols_once_early): Removed
1551         Vpure_uninterned_symbol_table.
1552         (Fintern): Don't store to ->obarray field.
1553
1554 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
1555
1556         * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1557         (eq_with_ebola_notice): Remove abracadabra support.
1558
1559 1999-04-11  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1560
1561         * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1562         retrieve the distinguished names of entries
1563
1564 1999-03-08  Martin Buchholz  <martin@xemacs.org>
1565
1566         * lread.c (read_escape): Make hex escapes read only two hex digits.
1567
1568 1999-04-05  Olivier Galibert  <galibert@pobox.com>
1569
1570         * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1571         * make-src-depend: Remove puresize-adjust.h.
1572         * src-headers: Remove puresize-adjust.h.
1573         * config.h.in: Kill everything purespace/gung-ho related.
1574
1575         * dbxrc: Make gung-ho mandatory.
1576         * gdbinit: Ditto.
1577
1578         * lrecord.h: Make gung-ho mandatory.  Remove pure flag and add
1579         c_readonly and lisp_readonly.  Remove implementation arrays.
1580         (C_READONLY_RECORD_HEADER_P): Added.
1581         (LISP_READONLY_RECORD_HEADER_P): Added.
1582         (SET_C_READONLY_RECORD_HEADER): Added.
1583         (SET_LISP_READONLY_RECORD_HEADER): Added.
1584
1585         * lisp.h: Kill everything purespace/non gung-ho related.
1586         (CHECK_C_WRITEABLE): Added.
1587         (CHECK_LISP_WRITEABLE): Added.
1588         (C_READONLY): Added.
1589         (LISP_READONLY): Added.
1590
1591         * lisp-union.h: Make gung-ho mandatory.
1592         * lisp-disunion.h: Ditto.
1593
1594         * alloc.c: Kill everything purespace/non  gung-ho related. Fix all
1595         set_lheader_implementation calls.
1596         (c_readonly): Added.
1597         (lisp_readonly): Added.
1598         (make_string_nocopy): Added.
1599         (Fpurecopy):  Changed to do  nothing.   Kept the old documentation
1600         for reference purposes for the next patches.
1601         (sweep_lcrecords_1): Don't free C readonly lcrecords.
1602         (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1603         (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1604
1605         * fns.c: Make gung-ho mandatory.
1606         (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1607         (Fremprop): Ditto.
1608         (Ffillarray): Ditto.
1609
1610         * data.c: Make gung-ho mandatory.
1611         (pure_write_error): Removed.
1612         (c_write_error): Added.
1613         (lisp_write_error): Added.
1614         (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1615         (Fsetcdr): Ditto.
1616         (Faset): Ditto.
1617
1618         * symbols.c: Make gung-ho mandatory.  make_pure_pname ->
1619                   make_string or make_string_nocopy.  Fix various
1620                   alloc_lcrecord_type.
1621
1622         * lread.c: Remove everything purespace related.
1623         (Flocate_file_clear_hashing): purified -> c_readonly.
1624         (locate_file): Ditto.
1625         (read_atom): make_pure_pname -> make_string.
1626
1627         * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1628                   reporting.
1629         (Fdump_emacs): Ditto.
1630
1631         * print.c (print_internal): Make gung-ho mandatory.
1632         * ntheap.c (sbrk): Ditto.
1633         * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1634         * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1635
1636         * sheap.c (more_static_core): Remove puresize-adjust.h from
1637                   message.
1638
1639         * syntax.c (complex_vars_of_syntax): make_pure_string ->
1640                   make_string_nocopy.
1641         * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1642         (vars_of_keymap): make_pure_string -> make_string_nocopy.
1643         * events.c (deinitialize_event): Fix set_lheader_implementation.
1644         (zero_event): Ditto.
1645         * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1646         * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1647         * mule-charset.c (make_charset): Ditto.
1648         * console.c (allocate_console): Ditto.
1649         (complex_vars_of_console): Ditto.
1650         * file-coding.c (allocate_coding_system): Ditto.
1651         * device.c (allocate_device): Ditto
1652         * gui-x.c (gcpro_popup_callbacks): Ditto.
1653         * extents.c (allocate_extent_auxiliary): Ditto.
1654         (allocate_extent_info): Ditto.
1655         (copy_extent): Ditto.
1656         * glyphs.c (allocate_image_instance): Ditto.
1657         (allocate_glyph): Ditto.
1658         * frame.c (allocate_frame_core): Ditto.
1659         * database.c (allocate_database): Ditto.
1660         * tooltalk.c (make_tooltalk_message): Ditto.
1661         (make_tooltalk_pattern): Ditto.
1662         * rangetab.c (Fmake_range_table): Ditto.
1663         (Fcopy_range_table): Ditto.
1664         * process.c (make_process_internal): Ditto.
1665         * chartab.c (Fmake_char_table): Ditto.
1666         (make_char_table_entry): Ditto.
1667         (copy_char_table_entry): Ditto.
1668         (Fcopy_char_table): Ditto.
1669         * elhash.c (make_general_lisp_hash_table): Ditto.
1670         (Fcopy_hash_table): Ditto.
1671         * buffer.c (allocate_buffer): Ditto.
1672         (complex_vars_of_buffer): Ditto.
1673         * event-stream.c (allocate_command_builder): Ditto.
1674         * objects.c (Fmake_color_instance): Ditto.
1675         (Fmake_font_instance): Ditto.
1676         (vars_of_objects): Ditto.
1677         * toolbar.c (update_toolbar_button): Ditto.
1678         * window.c (allocate_window): Ditto.
1679         (make_dummy_parent): Ditto.
1680         (Fcurrent_window_configuration): Fix alloc_lcrecord.
1681         (vars_of_window): Fix make_lcrecord_list.
1682         * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
1683                   Flist.
1684         * lstream.c (Lstream_new): Fix make_lcrecord_list.
1685         * opaque.c (make_opaque): Fix alloc_lrecord.
1686         (make_opaque_list): Fix alloc_lrecord_type.
1687
1688 1999-04-19  Hrvoje Niksic  <hniksic@srce.hr>
1689
1690         * process.c (Fstart_process_internal): Ditto.
1691
1692         * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
1693         locate_file().
1694
1695         * glyphs-x.c (x_locate_pixmap_file): Ditto.
1696
1697         * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
1698         locate_file().
1699
1700         * emodules.c (vars_of_module): New variable Vmodule_extensions.
1701         (emodules_load): Use it when calling locate_file().
1702
1703         * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
1704         locate_file().
1705
1706         * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
1707         (vars_of_callproc): Initialize it.
1708         (Fcall_process_internal): Use it when calling locate_file().
1709
1710         * alloc.c (disksave_object_finalization): Use
1711         Flocate_file_clear_hashing().
1712
1713         * lread.c (Flocate_file_clear_hashing): Clear all hasing when
1714         given `t' as argument.
1715
1716 1999-04-18  Hrvoje Niksic  <hniksic@srce.hr>
1717
1718         * lread.c (locate_file): Expand `pathel' when appropriate.
1719         (Flocate_file_clear_hashing): Expand path elements.
1720         (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
1721
1722         * dired.c (make_directory_hash_table): Create the hash-table only
1723         if the directory open is successful.
1724
1725         * lread.c (decode_mode_1): New function.
1726         (decode_mode): Ditto.
1727         (Flocate_file): Use them.
1728         (Flocate_file): Expand FILENAME.
1729         (locate_file_map_suffixes): New function.
1730         (locate_file_in_directory_mapper): New function.
1731         (locate_file_in_directory): Use locate_file_in_directory_mapper()
1732         and locate_file_map_suffixes().
1733         (locate_file_construct_suffixed_files): Use
1734         locate_file_map_suffixes().
1735         (locate_file_without_hash): Don't GCPRO path.
1736         (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
1737         (syms_of_lread): Remove Qlocate_file_hash_table.
1738         (locate_file_find_directory_hash_table): Use
1739         Vlocate_file_hash_table.
1740         (locate_file_refresh_hashing): Ditto.
1741
1742         * lread.c: Renamed read_objects to Vread_objects.
1743
1744 1999-04-16  Olivier Galibert  <galibert@pobox.com>
1745
1746         * mule-charset.c: Generally resync with fsf 20.3 charset
1747         interface.
1748         (make_charset): Add long and short name.  Use id instead of
1749         leading byte.
1750         (Fmake_charset): Ditto.
1751         (Fmake_reverse_direction_charset): Ditto.
1752         (Fcharset_property): Ditto.
1753         (Fcharset_short_name): Added.
1754         (Fcharset_long_name): Added.
1755         (Fcharset_description): Renamed from charset-doc-string.
1756         (syms_of_mule_charset): Synced symbols.
1757         (complex_vars_of_mule_charset): Synced charsets.
1758
1759         * mule-charset.h: Removed leading byte (uses id instead), added
1760         short and long name.
1761
1762 1999-04-15  Hrvoje Niksic  <hniksic@srce.hr>
1763
1764         * file-coding.c (Fdefine_coding_system_alias): New function.
1765
1766 1999-04-08  Olivier Galibert  <galibert@pobox.com>
1767
1768         * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
1769         and -ascii fonts for displaying ascii instead of iso8859-1 only.
1770
1771 1998-12-14  Hrvoje Niksic  <hniksic@srce.hr>
1772
1773         * extents.c (set_extent_glyph_1): Make sure that the glyph we
1774         attach to the extent is valid.
1775
1776 1998-12-12  Hrvoje Niksic  <hniksic@srce.hr>
1777
1778         * dired.c (user_name_completion): Mule-ize.
1779         (user_name_completion): Use xmalloc/xrealloc/xfree.
1780         (user_name_completion): Use DO_REALLOC.
1781         (user_name_completion): Cut down the number of static variables;
1782         use a structure.
1783         (user_name_completion): Username completion is always
1784         case-sensitive.
1785
1786 1998-12-06  Hrvoje Niksic  <hniksic@srce.hr>
1787
1788         * fns.c (base64_decode_1): Remove COUNTER.
1789         (base64_decode_1): Accept CRLF in addition to CR.
1790         (base64_decode_1): Disallow a stray character after final EOF; the
1791         check was probably a remnant of buggy recode code.
1792
1793 1998-12-05  Hrvoje Niksic  <hniksic@srce.hr>
1794
1795         * fns.c (init_provide_once): Provide `base64'.
1796
1797 1998-12-04  Hrvoje Niksic  <hniksic@srce.hr>
1798
1799         * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
1800         (Fbase64_encode_region): If buffer is read-only, bail out early.
1801         (Fbase64_decode_region): Ditto.
1802         (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
1803         compiler.
1804         (Fbase64_encode_string): Ditto.
1805         (Fbase64_decode_region): Ditto.
1806         (Fbase64_decode_string): Ditto.
1807
1808 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
1809
1810         * dired.c (Fdirectory_files): Remove redundant code.
1811
1812 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
1813
1814         * frame-msw.c Make raise-frame restore minimised windows.
1815
1816 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
1817
1818         * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
1819         add magic newline.
1820
1821 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
1822
1823         * toolbar-msw.c Consider captions when deciding whether to rebuild
1824         toolbar. This fixes the initial toolbar display for those of us
1825         who don't like captions. These patches applied by Andy Piper.
1826
1827 1999-03-12  XEmacs Build Bot <builds@cvs.xemacs.org>
1828
1829         * XEmacs 21.2.13 is released
1830
1831 1999-03-12  SL Baur  <steve@xemacs.org>
1832
1833         * file-coding.c: Guard ucs table initialization with ifdef MULE.
1834
1835 1999-03-10  Stephen J. Turnbull  <turnbull@sk.tsukuba.ac.jp>
1836
1837         * file-coding.c:  docstring and comment improvements.
1838         (decode_ucs4)  flag possible data loss with comment.
1839
1840 1999-03-10  Martin Buchholz  <martin@xemacs.org>
1841
1842         * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
1843         (ucs_to_char):
1844         (Fucs_char):
1845         (Fset_char_ucs):
1846         (decode_coding_ucs4):
1847         (encode_coding_ucs4):
1848         (detect_coding_utf8):
1849         (decode_coding_utf8):
1850         (encode_utf8):
1851         (encode_coding_utf8):
1852         Add CHECK_* macros where needed to avoid crashes.
1853         #ifdef out all composite character support using
1854         #ifdef ENABLE_COMPOSITE_CHARS
1855         Use normal XEmacs coding standards.
1856         Fix docstrings.
1857         Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
1858
1859 1998-09-08  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1860
1861         * file-coding.c (make-coding-system): Add description about
1862         `ucs-4' and `utf-8'.
1863         (detection_state): Modify to implement ucs-4 and utf-8.
1864         (detect_coding_type): Likewise.
1865         (detect_coding_ucs4): New implementation.
1866         (detect_coding_utf8): New implementation.
1867         (encode_utf8): fixed.
1868         (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
1869         `utf-8'.
1870
1871 1998-09-08  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1872
1873         * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
1874         2022 registry to private area.
1875
1876 1998-09-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1877
1878         * file-coding.c (encode_utf8): New function.
1879         (encode_coding_utf8): New implementation.
1880
1881 1998-09-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1882
1883         * file-coding.c (ucs_to_mule_table): New variable; abolish
1884         `Vucs_to_mule_table'
1885         (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
1886         (set-ucs-char): New function.
1887         (ucs_to_char): New function.
1888         (ucs-char): New function.
1889         (set-char-ucs): New function.
1890         (char-ucs): New function.
1891         (decode_ucs4): Use `ucs_to_char'.
1892         (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
1893         `mule-to-ucs-table'.
1894
1895 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1896
1897         * chartab.h: EXFUN `Fget_char_table'.
1898
1899         * file-coding.c (encode_ucs4): New function.
1900         (encode_coding_ucs4): Use `encode_ucs4'.
1901
1902 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1903
1904         * file-coding.c (decode_coding_ucs4): New implementation.
1905
1906 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1907
1908         * file-coding.c (decode_coding_ucs4): fixed.
1909
1910         * file-coding.c (Vmule_to_ucs_table): New variable.
1911         (mule_char_to_ucs4): New function.
1912         (encode_coding_ucs4): New implementation.
1913         (complex_vars_of_mule_coding): Define variable
1914         `mule-to-ucs-table'.
1915
1916 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1917
1918         * file-coding.c (decode_coding_utf8): New implementation.
1919
1920 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1921
1922         * file-coding.c (decode_coding_utf8): fixed.
1923
1924 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1925
1926         * file-coding.c (Vucs_to_mule_table): New variable.
1927         (decode_ucs4): Refer `Vucs_to_mule_table'.
1928         (complex_vars_of_mule_coding): Define variable
1929         `ucs-to-mule-table'.
1930
1931 1998-09-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1932
1933         * file-coding.c (detect_coding_ucs4): New function (not
1934         implemented yet).
1935         (decode_coding_ucs4): New function.
1936         (encode_coding_ucs4): New function (not implemented yet).
1937         (detect_coding_utf8): New function (not implemented yet).
1938         (decode_coding_utf8): New function.
1939         (encode_coding_utf8): New function (not implemented yet).
1940         (make-coding-system): New type `ucs4' and `utf8'.
1941         (coding-system-type): Likewise.
1942         (detection_state): Add `ucs4' and `utf8'.
1943         (detect_coding_type): Likewise.
1944         (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
1945         (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
1946         (decode_ucs4): New function (very incomplete).
1947         (syms_of_mule_coding): Add `ucs4' and `utf8'.
1948
1949         * file-coding.h: Add definitions for UCS-4 and UTF-8.
1950
1951 1999-03-08  Martin Buchholz  <martin@xemacs.org>
1952
1953         * mule-charset.c:
1954         (non_ascii_valid_char_p):
1955         (lookup_composite_char):
1956         (composite_char_string):
1957         (make-composite-char):
1958         (composite-char-string):
1959         (syms_of_mule_charset):
1960         (complex_vars_of_mule_charset):
1961         * mule-charset.h (LEADING_BYTE_COMPOSITE):
1962         (CHAR_LEADING_BYTE):
1963         (MAKE_CHAR):
1964         * file-coding.h (CODING_STATE_COMPOSITE):
1965         (CODING_STATE_ISO2022_LOCK):
1966         (iso_esc_flag):
1967         (LEADING_BYTE_COMPOSITE):
1968         * file-coding.c (struct iso2022_decoder):
1969         (decoding_closer):
1970         (reset_iso2022):
1971         (parse_iso2022_esc):
1972         (encode_coding_iso2022):
1973         #ifdef out all composite character support using
1974         #ifdef ENABLE_COMPOSITE_CHARS
1975
1976         * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
1977
1978 1999-03-04  Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
1979
1980         * fns.c (Fbase64_encode_string): Calculate `allength' in the same
1981         way of `Fbase64_encode_region'.
1982
1983 1999-02-18  Katsumi Yamaoka   <yamaoka@jpl.org>
1984
1985         * fns.c (base64_encode_1): Don't add a newline at the tail.
1986
1987 1999-03-08  Andy Piper  <andy@xemacs.org>
1988
1989         * menubar-msw.c (displayable_menu_item): correct off-by-one &
1990         handling.
1991
1992 1999-03-07  Martin Buchholz  <martin@xemacs.org>
1993
1994         * console-stream.h (struct stream_console):
1995         * event-unixoid.c (event_stream_unixoid_select_console):
1996         (event_stream_unixoid_unselect_console):
1997         * print.c (Fexternal_debugging_output):
1998         * sysdep.c (reset_one_device):
1999         * console-stream.c (stream_init_console):
2000         (stream_delete_console):
2001         (allocate_stream_console_struct): move into stream_init_console.
2002         (free_stream_console_struct): move into stream_delete_console.
2003         Use `fd' only for file descriptors.
2004         Therefore, rename members of struct stream_console.
2005
2006         * systime.h: Unix98 says sys/time.h should define select(), but
2007         some systems define that in unistd.h.  So include that file always.
2008
2009         * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'.  Avoid
2010         multiple evaluation of first arg.  Do proper do {} while (0) wrapping.
2011         (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2012         non-boolean context
2013         (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2014
2015         * EmacsShell.c:
2016         * balloon_help.c:
2017         Add #include <stdio.h>.
2018         Some versions of assert.h use printf() without #include'ing stdio.h
2019
2020         * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2021         (log_gcpro): Remove unused variable FRAME.
2022         (show_gcprohist): Ansify.
2023         Comment the #endif's
2024
2025         * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2026         after it's just been XtDestroy'ed!
2027
2028 1999-02-18  Martin Buchholz  <martin@xemacs.org>
2029
2030         * opaque.c (print_opaque):
2031         (sizeof_opaque):
2032         (equal_opaque):
2033         (hash_opaque):
2034         Egcs 1.1.1 seems to have a bug where
2035         INTP (p->size_or_chain)
2036         will crash XEmacs.  Fix by introducing intermediate variable.
2037
2038         * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2039
2040         * dired.c (Fdirectory_files):
2041         (Ffile_name_completion):
2042         (Ffile_name_all_completions):
2043         (file_name_completion):
2044         - Use `directory' instead of `dirname' to sync with FSF Emacs and
2045         avoid compiler warnings.
2046         - Fix up docstrings so that C variables match documentation.
2047
2048 1999-03-05  Martin Buchholz  <martin@xemacs.org>
2049
2050         * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2051         variables as small as possible to help out the compiler and the maintainer.
2052
2053         * alloc.c: (disksave_object_finalization):
2054         Set all the *-load-path variables to
2055         nil, not just load-path itself.  This gets the locate-file hash
2056         tables garbage collected BEFORE dump, and has the side effect of
2057         preventing crashes on OSF4.0+egcs.
2058
2059         * alloc.c:
2060         * gdbinit:
2061         * dbxrc:
2062         - Clean up gdb/dbx debugging support.
2063         - Storing an EMACS_INT in an enum is not 64-bit clean!
2064         - So change the enum to a set of separate variables.
2065         - Add test cases to help debug the debugging support!
2066         - Add `lisp-shadows' and `run-temacs' targets for dbx.
2067         - Both dbx and gdb have been tested now.
2068
2069 1999-03-05  XEmacs Build Bot <builds@cvs.xemacs.org>
2070
2071         * XEmacs 21.2.12 is released
2072
2073 1999-02-16  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
2074
2075         * device-x.c: Support to find best visual without flashing.
2076
2077 1999-03-02  Paul Keusemann  <pkeusem@visi.com>
2078
2079         * database.c (berkdb_map): Add flags argument to cursor call (must
2080           be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2081
2082 1999-03-03  Martin Buchholz  <martin@xemacs.org>
2083
2084         * hash.c:
2085         * hash.h:
2086         General cleanup.  Get free-hook.c working again.
2087         Remove unused functions:
2088         make_strings_hash_table, copy_hash, expand_hash_table.
2089
2090         * malloc.c:
2091         * mem-limits.h:
2092         Always use new ANSI-style function prototypes.
2093
2094         * unexalpha.c (unexec): Never use implicit int.
2095
2096         * sgiplay.c (close_sound_file):
2097         (play_sound_file):
2098         (restore_audio_port):
2099         (play_sound_data):
2100         (audio_initialize):
2101         (play_internal):
2102         (drain_audio_port):
2103         (write_mulaw_8_chunk):
2104         (write_linear_chunk):
2105         (write_linear_32_chunk):
2106         (initialize_audio_port):
2107         (open_audio_port):
2108         (set_channels):
2109         (set_output_format):
2110         (adjust_audio_volume):
2111         (get_current_volumes):
2112         (parse_snd_header):
2113         Always use new ANSI-style function prototypes.
2114         Use unistd.h for missing prototypes.
2115
2116         * unexelfsgi.c (round_up):
2117         (find_section):
2118         (unexec): Always use new ANSI-style function prototypes
2119
2120         * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2121
2122         * console.h (struct console_methods): Always use full ANSI prototypes
2123
2124         * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2125
2126 1999-03-02  Andy Piper  <andy@xemacs.org>
2127
2128         * event-stream.c (init_event_stream): make sure native mswindows
2129         gets an appropriate event loop.
2130
2131 1999-02-22  Andy Piper  <andy@xemacs.org>
2132
2133         * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2134         than SW_SHOWNORMAL to prevent resizing of maximised frames.
2135         (mswindows_raise_frame): remove comment.
2136
2137 1999-03-01  XEmacs Build Bot <builds@cvs.xemacs.org>
2138
2139         * XEmacs 21.2.11 is released
2140
2141 1999-02-25  SL Baur  <steve@xemacs.org>
2142
2143         * mule-charset.c (Qleading_byte): New variable to implement
2144         charset-leading-byte function.
2145         (Fcharset_property): Use it.
2146         (syms_of_mule_charset): Initialize it.
2147         From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2148
2149 1999-02-17  Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2150
2151         * glyphs-x.c (cononvert_EImage_to_XImage): correct
2152         bytes per pixel counting.
2153
2154 1999-02-15  Andy Piper  <andy@xemacs.org>
2155
2156         * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2157         major lockups.
2158
2159 1999-02-16  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
2160
2161         * fns.c (Fbase64_encode_string): New optional argument
2162         `NO_LINE_BREAK'.
2163
2164 1999-02-16  Martin Buchholz  <martin@xemacs.org>
2165
2166         * gdbinit:  Fix up commands to run temacs.  Add lisp-shadows command.
2167         * alloc.c (xcalloc):  undef xcalloc, just like xmalloc
2168
2169 1999-02-10  Martin Buchholz  <martin@xemacs.org>
2170
2171         * s/bsdos4.h: New file.  Port to BSDI BSD/OS 4.0.
2172         * xintrinsic.h:  Redo CONST support for X11 R4 compatibility.
2173
2174 1999-02-05  XEmacs Build Bot <builds@cvs.xemacs.org>
2175
2176         * XEmacs 21.2.10 is released
2177
2178 1999-02-02  Gleb Arshinov  <gleb@cs.stanford.edu>
2179
2180         * process-nt.c (nt_send_process):
2181         Fix for process-send-region/process-send-string breaking when size
2182         of the input > 128 chars: change maximum chunk size for process
2183         stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2184         succeeds.
2185
2186 1999-02-02  XEmacs Build Bot <builds@cvs.xemacs.org>
2187
2188         * XEmacs 21.2.9 is released
2189
2190 1999-01-30  Martin Buchholz  <martin@xemacs.org>
2191
2192         * bytecode.c (funcall_compiled_function): Call
2193         UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2194
2195         * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2196         #ifdef 0 out unused macro.
2197
2198 1999-01-27  Martin Buchholz  <martin@xemacs.org>
2199
2200         * gui.c (gui_parse_item_keywords_internal): Make static.
2201
2202 1999-01-21  Andy Piper  <andy@xemacs.org>
2203
2204         * glyphs-msw.c: add xface support.
2205         (mswindows_xface_instantiate): new function copied from glyphs-x.c
2206         (image_instantiator_format_create_glyphs_mswindows): do device
2207         specific initialisation for xfaces.
2208         (xbm_create_bitmap_from_data): line data must be padded to a word
2209         boundary.
2210
2211         * glyphs-x.c (xface_validate): moved to glyphs.c
2212         (xface_normalize): ditto.
2213         (xface_possible_dest_types): ditto.
2214         (image_instantiator_format_create_glyphs_x): do device specific
2215         initialisation for xfaces.
2216
2217         * glyphs.h: declare xface symbol.
2218
2219         * glyphs.c: move generic xface support here.
2220         (xface_validate): moved from glyphs-x.c
2221         (xface_normalize): ditto.
2222         (xface_possible_dest_types): ditto.
2223         (image_instantiator_format_create): xface declarations moved from
2224         glyphs-x.c.
2225
2226 1999-01-14  Adrian Aichner  <aichner@ecf.teradyne.com>
2227
2228         * event-stream.c (vars_of_event_stream): Fixing documentation.
2229
2230 1999-01-17  Gunnar Evermann  <ge204@eng.cam.ac.uk>
2231
2232         * glyphs-eimage.c (gif_instantiate): Correct handling of
2233         interlaced gifs to avoid writing past the end of the eimage
2234         buffer.
2235
2236 1999-01-13  Hrvoje Niksic  <hniksic@srce.hr>
2237
2238         * search.c (Freplace_match): Handle single backslash at end of
2239         NEWTEXT correctly.
2240
2241 1999-01-12  William M. Perry  <wmperry@aventail.com>
2242
2243         * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2244           avoid connection errors.
2245
2246 1999-01-12  Andy Piper  <andy@xemacs.org>
2247
2248         * redisplay-output.c (redisplay_update_line): backout change that
2249         shouldn't have gone ine.
2250
2251 1999-01-09  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
2252
2253         * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2254         collide with ldap.el
2255
2256 1999-01-11  Andy Piper  <andy@xemacs.org>
2257
2258         * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2259         (DISPLAY_LINE_YPOS): new macro.
2260
2261         * redisplay-msw.c (mswindows_output_string): use it.
2262         (mswindows_output_pixmap): ditto.
2263         (mswindows_output_display_block): ditto.
2264
2265         * redisplay-output.c (redisplay_output_display_block): new
2266         function. just call the devmeth, maybe insert some generic code
2267         here later.
2268         (compare_display_blocks): use it.
2269         (output_display_line): ditto.
2270         (redisplay_unmap_subwindows_maybe): new function. potentially
2271         unmap subwindows in the given area.
2272
2273         * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2274         resetting.
2275
2276 1999-01-10  J. Kean Johnston  <jkj@sco.com>
2277
2278         * Makefile.in.in: Set value of moduledir
2279         - Changed DUMPENV to include $(MODULEPATH)
2280         - Added install rule to install header files for use by ellcc.
2281
2282         * config.h.in: Added INHIBIT_SITE_MODULES
2283         - Added HAVE__DLERROR
2284         - Added HAVE_DLFCN_H
2285         - Added DLSYM_NEEDS_UNDERSCORE
2286
2287         * dll.c: Removed.
2288
2289         * emodules.c: New file containing dynamic loading code.
2290
2291         * emodules.h: New file.
2292
2293         * emacs.c: Added variables Vmodule_directory,
2294         Vsite_module_directory, Vconfigure_module_directory and
2295         Vconfigure_site_module_directory.
2296         - (main_1): Added new variable inhibit_site_modules and command
2297         line options `-no-site-modules' and `--no-site-modules'.
2298         - (main_1): Call syms_of_module() instead of syms_of_dll().
2299         - (main_1): Call vars_of_module().
2300         - (vars_of_emacs): Introduce inhibit-site-modules,
2301         module-directory, configure-module-directory,
2302         site-module-directory, and configure-site-module-directory to the
2303         Lisp reader.
2304
2305         * lisp.h: Declare load_module and list_modules, as well as
2306         Vmodule_directory, Vsite_module_directory,
2307         Vconfigure_module_directory and Vconfigure_site_module_directory.
2308
2309         * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2310         - Added correct support for site-lisp directory.
2311
2312         * symbols.c (defsubr): Modified to allow modules to add new subrs
2313         after dump time.
2314         - (defsubr_macro): Same.
2315         - (defvar_magick): Only use purespace when not initialized, so
2316         that loaded modules can still add symbols.
2317
2318         * symsinit.h: Add definitions for syms_of_module(),
2319         vars_of_module().  Removed syms_of_dll().
2320
2321         * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2322         - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2323         - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2324
2325         * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2326         explicitly pass -belf for native cc.
2327
2328         * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2329         hard-coding the library name.
2330
2331 1999-01-01    <martin@xemacs.org>
2332
2333         * device-x.c (Fx_set_font_path):
2334         Add proper cast to permit compilation under C++.
2335
2336         * buffer.c (directory_is_current_directory):
2337         Add proper casts to permit compilation under C++.
2338
2339 1998-12-30  Damon Lipparelli  <lipp@primus.com>
2340
2341         * event-msw.c (mswindows_wnd_proc):
2342           Fixed failure when building with MSVC 5.
2343
2344 1998-12-29  Martin Buchholz  <martin@xemacs.org>
2345
2346         * file-coding.c (decode_coding_iso2022):
2347         - Prevent crash when decoding ISO7/Lock detected files
2348         - the usual martin fiddling
2349
2350 1998-12-29  Jonathan Harris  <jhar@tardis.ed.ac.uk>
2351
2352         * event-msw.c:
2353           glyphs-msw.c:
2354           Fixed failures when building with MSVC.
2355         * unexnt.c (dump_bss_and_heap):
2356           Removed compiler warning by removing bss_data variable.
2357
2358 1998-12-18  Jim Radford  <radford@robby.caltech.edu>
2359
2360         * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2361         so that packages that distribute their own fonts can access them.
2362
2363 1998-12-28  Andy Piper  <andy@xemacs.org>
2364
2365         * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2366         that have an image provided.
2367
2368         * glyphs.h: add Q_image decl.
2369
2370         * glyphs-widget.c new functionality allowing images in
2371         widgets.
2372         (check_valid_glyph_or_image): new function to validate
2373         glyphs passed in through :image.
2374         (widget_normalize): new function. convert :image parameters into
2375         real glyphs if not already so.
2376         (widget_instantiate_1): mess with size parameters to be similar to
2377         :image if provided.
2378         (syms_of_glyphs_widget): new keyword :image.
2379         (image_instantiator_format_create_glyphs_widget): normalize
2380         buttons and allow :image.
2381
2382 1998-12-27  Andy Piper  <andy@xemacs.org>
2383
2384         * frame-msw.c (mswindows_init_frame_1): warning elimination.
2385
2386         * glyphs-widget.c (check_valid_anything): no-op function.
2387         (check_valid_callback): check callbacks in gui_items.
2388         (check_valid_symbol): as it sounds.
2389         (check_valid_string_or_vector): ditto.
2390         (widget_validate): modified for descriptors that are vectors or
2391         sequences of keyword/val pairs.
2392         (widget_instantiate_1): ditto.
2393         (image_instantiator_format_create_glyphs_widget): allow gui_item
2394         keywords in the instantiator.
2395
2396         * gui.c (gui_parse_item_keywords_internal): renamed from
2397         gui_parse_item_keywords but taking error behaviour.
2398         (gui_parse_item_keywords): use it.
2399         (gui_parse_item_keywords_no_errors): ditto.
2400         (gui_item_add_keyval_pair): add Error_behavior flag and only
2401         signal invalid keywords if required.
2402
2403         * gui.h: new gui signatures.
2404
2405         * menubar.c (menu_parse_submenu_keywords): use new
2406         gui_item_add_keyval_pair signature.
2407
2408         * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2409
2410 1998-12-28  Martin Buchholz <martin@xemacs.org>
2411
2412         * XEmacs 21.2.8 is released.
2413
2414 1998-12-28  Martin Buchholz  <martin@xemacs.org>
2415
2416         * editfns.c (get_home_directory):
2417         (user-home-directory): Simplify.
2418
2419
2420         * callproc.c (child_setup):
2421         - Environment variables were being passed to inferior processes
2422           using internal encoding.
2423         - Convert to external encoding.
2424         - Rename local var `tem' to better name `tail'.
2425         - Use Flength instead of `manual' calculation.
2426
2427         * buffer.c (kill-buffer):
2428         (record-buffer):
2429         (set-buffer-major-mode):
2430         (current-buffer):
2431         - Fix up parameter names to correspond to docstrings.
2432         - Don't use `bufname' when a buffer will do as well.
2433         - Remove one unneeded GCPRO.
2434
2435         * buffer.h (initial_directory):
2436         * buffer.c (init_initial_directory):
2437         - use correct conversions between internal and external format.
2438         (directory_is_current_directory): new function
2439         (init_buffer): convert initial_directory to internal format.
2440         - solve crashes when current working directory is non-ASCII.
2441
2442         * alloc.c (xmalloc):
2443         (xcalloc):
2444         (xrealloc):
2445         - remove stupid casts, since XEmacs requires an ANSI C system.
2446         (lrecord_type_index): replace abort() with more readable assert().
2447
2448         (reset_lcrecord_stats): remove.
2449         (sweep_lcrecords_1):
2450         - replace call to reset_lcrecord_stats() with call to xzero().
2451
2452 1998-12-27  Martin Buchholz  <martin@xemacs.org>
2453
2454         * process-unix.c (unix_create_process):
2455         - Fix crash invoking program with non-ASCII name.
2456           Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2457         - Remove unused variable `env'.
2458         - Rename `temp' to better name `save_errno'.
2459         - Reorganize code for clarity.  But still too chicken to nuke the
2460           BSD 4.2 support.
2461
2462 1998-12-24  Martin Buchholz <martin@xemacs.org>
2463
2464         * XEmacs 21.2.7 is released.
2465
2466 1998-12-23  Martin Buchholz  <martin@xemacs.org>
2467
2468         * glyphs.c (decode_device_ii_format):
2469         - Fix indentation.
2470         - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2471
2472         * glyphs-x.c (x_subwindow_instantiate):
2473         - A image instance mask was being assigned to a image instance type!
2474         - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2475
2476         * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2477         Fix indentation.
2478         * glyphs-x.h: Make indentation consistent.
2479
2480         * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2481
2482         * glyphs-widget.c (check_valid_glyph): Warning suppression.
2483         - Make it static
2484         - #ifdef it out, since it's not actually used yet (FIX THIS!)
2485
2486         * glyphs-widget.c:
2487         * glyphs.h:
2488         Move declarations of decode_device_ii_format and
2489         decode_image_instantiator_format into glyphs.h where they belong.
2490
2491 1998-12-22  Martin Buchholz  <martin@xemacs.org>
2492
2493         * frame-x.c (x_delete_frame): Revert part of my changes at the
2494         suggestion of Gunnar Evermann - unfortunately no one really
2495         understands this code.
2496
2497         * callproc.c (init_callproc): code cleanup.
2498
2499         * free-hook.c (malloc):
2500         (check_malloc):
2501         (__free_hook):
2502         (__malloc_hook):
2503         (__realloc_hook):
2504         (block_input_malloc):
2505         (block_input_realloc):
2506         * device-x.c (x_delete_device):
2507         * emacs.c (voodoo_free_hook):
2508         * events.c (print_event):
2509         (CHECK_EVENT_TYPE):
2510         (CHECK_EVENT_TYPE2):
2511         (CHECK_EVENT_TYPE3):
2512         Use proper prototypes.
2513         Make C_E_T macros a little faster.
2514         Pedantic fiddly little changes.  You really don't care.
2515
2516 1998-12-22  Andy Piper  <andy@xemacs.org>
2517
2518         * redisplay-output.c (redisplay_clear_region): make sure that
2519         fg/bg colors get set even when we are in the border area.
2520
2521 1998-12-13  Martin Buchholz  <martin@xemacs.org>
2522
2523         * console-msw.c: Function definitions follow coding standards
2524         - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2525
2526 1998-12-11  Martin Buchholz  <martin@xemacs.org>
2527
2528         * events.h (struct timeout_data):
2529         * event-tty.c (tty_timeout_to_emacs_event):
2530         * event-msw.c (mswindows_wm_timer_callback):
2531         * event-Xt.c (Xt_timeout_to_emacs_event):
2532         * event-msw.c (mswindows_cancel_dispatch_event):
2533         Make sure Lisp_Objects inside events are initialized to Qnil, not
2534         Qnull_pointer, which is now illegal.
2535
2536 1998-12-10  Martin Buchholz  <martin@xemacs.org>
2537
2538         * lisp.h: Fix up prototypes to match alloc.c
2539
2540 1998-12-08  Martin Buchholz  <martin@xemacs.org>
2541
2542         * windowsnt.h: Remove `support' for using index and rindex
2543
2544         * filelock.c (current_lock_owner):
2545         - Change uses of index -> strchr, rindex -> strrchr
2546
2547 1998-12-07  Martin Buchholz  <martin@xemacs.org>
2548
2549         * sysdep.c (set_descriptor_non_blocking):
2550         Since O_NONBLOCK is now always #defined, make use of fcntl
2551         conditional on F_SETFL being defined.
2552
2553         * console-msw.c (DHEADgER):
2554         (DOPAQUE_DATA):
2555         (DEVENT):
2556         (DCONS):
2557         (DCONSCDR):
2558         (DSTRING):
2559         (DVECTOR):
2560         (DSYMBOL):
2561         (DSYMNAME):
2562         - max_align_t should not be visible to the user of the
2563           XOPAQUE_DATA macro.
2564         - use Bufbyte instead of char
2565         - parens around (FOOP (obj)) are always redundant.
2566           If they were necessary, we should fix the macro instead.
2567         - Always use string_data(foo) instead of foo->data.
2568
2569
2570 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2571
2572         * frame-msw.c (mswindows_init_frame_1):
2573         - use make_lisp_hash_table, not Fmake_hash_table
2574         - include elhash.h
2575
2576         * lisp.h:
2577         * alloc.c (make_vector): remove travesty
2578         (Fmake_vector):
2579         (make_pure_vector):
2580         (pure_cons):
2581         (make_bit_vector_internal):
2582         (make_bit_vector):
2583         (make_bit_vector_from_byte_vector):
2584         (Fmake_bit_vector):
2585         - make vector_equal a little faster.
2586         - Don't use variable name `new'.
2587         - Use size_t instead of EMACS_INT.
2588         - usual Martin-style pointless bit-twiddling.
2589
2590         * fns.c (mapcar1):
2591         (Fmapconcat):
2592         (Fmapcar):
2593         (Fmapvector):
2594         Make mapcar faster.  In particular, make
2595           (mapc #'identity long-string)
2596         MUCH faster under Mule.
2597         * tests/automated/lisp-tests.el: Test 'em!
2598
2599         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2600         bytecode.
2601
2602 1998-12-01  Martin Buchholz  <martin@xemacs.org>
2603
2604         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2605         Qnil, not NULL, to initialize `null' Lisp_Objects.
2606
2607 1998-11-29  Hrvoje Niksic  <hniksic@srce.hr>
2608
2609         * specifier.c (display_table_validate): Update.
2610
2611         * redisplay.c (create_text_block): Use them.
2612
2613         * glyphs.c (display_table_entry): New function.
2614         (get_display_tables): Ditto.
2615
2616 1998-12-15  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
2617
2618         * eldap.c (toplevel): Mention that eldap.c compiles with
2619         OpenLDAP libs
2620         (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2621         (Fldap_search_internal): Ditto
2622
2623 1998-12-11  Martin Buchholz  <martin@xemacs.org>
2624
2625         * event-msw.c (mswindows_cancel_dispatch_event):
2626         Gratuitous code prettification
2627
2628
2629 1998-12-07  Hrvoje Niksic  <hniksic@srce.hr>
2630
2631         * fns.c (Fnconc): Fix use of wrong_type_argument().
2632
2633         * floatfns.c (Ffloat): Fix docstring.
2634         (Ffloat): Fix use of wrong_type_argument().
2635         (Fabs): Ditto.
2636         (extract_float): Ditto.
2637         (Fceiling): Ditto.
2638         (Fround): Ditto.
2639         (Ftruncate): Ditto.
2640
2641 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2642
2643         * frame-msw.c (mswindows_init_frame_1):
2644         - use make_lisp_hash_table, not Fmake_hash_table
2645         - include elhash.h
2646
2647         * lisp.h:
2648         * alloc.c (make_vector): remove travesty
2649         (Fmake_vector):
2650         (make_pure_vector):
2651         (pure_cons):
2652         (make_bit_vector_internal):
2653         (make_bit_vector):
2654         (make_bit_vector_from_byte_vector):
2655         (Fmake_bit_vector):
2656         - make vector_equal a little faster.
2657         - Don't use variable name `new'.
2658         - Use size_t instead of EMACS_INT.
2659         - usual Martin-style pointless bit-twiddling.
2660
2661         * fns.c (mapcar1):
2662         (Fmapconcat):
2663         (Fmapcar):
2664         (Fmapvector):
2665         Make mapcar faster.  In particular, make
2666           (mapc #'identity long-string)
2667         MUCH faster under Mule.
2668         * tests/automated/lisp-tests.el: Test 'em!
2669
2670         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2671         bytecode.
2672
2673 1998-12-02  Didier Verna  <verna@inf.enst.fr>
2674
2675         * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
2676         accelerator field to nil for labels.
2677
2678 1998-12-16  Jonathan Harris  <jhar@tardis.ed.ac.uk>
2679
2680         * menubar-msw.c (displayable_menu_item):
2681           Escape occurrences of '&' and support occurrences of the
2682          '%_' accelerator indicator in menus.
2683
2684 1998-11-26  Didier Verna  <verna@inf.enst.fr>
2685
2686         * dired.c (Fdirectory_files): use make_string instead of
2687         make_ext_string on the filename. The conversion external->internal
2688         format is already done in sys_readdir.
2689
2690 1998-12-15  Gunnar Evermann  <ge204@eng.cam.ac.uk>
2691
2692         * glyphs.c (normalize_image_instantiator): GCPRO instantiator
2693
2694 1998-12-16  Jonathan Harris  <jhar@tardis.ed.ac.uk>
2695
2696         * event-msw.c
2697           (Belatedly) added Kirill to list of file's authors.
2698           emacs_mswindows_quit_p: Don't process WM_PAINT messages in
2699           quit checking. WM_PAINT messages cause redisplay, but
2700           windows' states are not necessarily stable when this function
2701           gets called.
2702
2703 1998-12-17  Andy Piper  <andy@xemacs.org>
2704
2705         * strftime.c (zone_name): CONSTify.
2706
2707 1998-12-15  Andy Piper  <andy@xemacs.org>
2708
2709         * glyphs-msw.c (mswindows_combo_instantiate): ditto.
2710         (mswindows_widget_property): return Qunbound when no property available.
2711         (mswindows_button_property): ditto.
2712         (mswindows_combo_property): ditto.
2713         (mswindows_widget_set_property): ditto.
2714
2715         * glyphs-widget.c (check_valid_item_list): use properties.
2716
2717         * glyphs.h (struct Lisp_Image_Instance): we have properties now.
2718
2719         * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
2720         (Fimage_instance_property): ditto.
2721         * glyphs-widget.c (widget_property): ditto.
2722         (widget_set_property): ditto.
2723
2724         * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
2725         as setting the class cursor so that GC actually changes the
2726         cursor.
2727
2728         * config.h: don't undef MAIL_USE_POP.
2729
2730 1998-12-13  Andy Piper  <andy@xemacs.org>
2731
2732         * glyphs-msw.c
2733         (image_instantiator_format_create_glyphs_mswindows): line ->
2734         label.
2735         (mswindows_label_instantiate): ditto. Play with window flags.
2736         (image_instantiator_format_create_glyphs_mswindows): ditto.
2737         (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
2738
2739         * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
2740         cope with lines and labels.
2741         (static_instantiate): use widget_instantiate_1.
2742         line -> label.
2743         (image_instantiator_format_create_glyphs_widget): ditto.
2744
2745 1998-12-10  Andy Piper  <andy@xemacs.org>
2746
2747         * Makefile.in.in (objs): add gui.o
2748
2749 1998-12-10  Andy Piper  <andy@xemacs.org>
2750
2751         * gui.c: adjust defines of HAVE_POPUPS so that we can build with
2752         no window system.
2753
2754 1998-12-09  Andy Piper  <andy@xemacs.org>
2755
2756         * glyphs.c (finalize_image_instance): mark glyphs changed when an
2757         image instance is removed so that the subwindow cache gets reset
2758         and thus destroyed images get GC'd.
2759
2760 1998-12-08  Andy Piper  <andy@xemacs.org>
2761
2762         * gui-msw.c (mswindows_handle_gui_wm_command): call
2763         MARK_SUBWINDOWS_CHANGED.
2764
2765         * glyphs-msw.c (mswindows_finalize_image_instance): make sure
2766         subwindows really get deleted.
2767
2768         * redisplay.c: new variable subwindows_changed[_set].
2769         (redisplay_window): use it.
2770         (redisplay_frame): ditto.
2771         (redisplay_device): ditto.
2772         (redisplay_without_hooks): ditto.
2773
2774         * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
2775         subwindows redisplay as per glyphs equivalent.
2776         * redisplay.h: ditto.
2777         (MARK_SUBWINDOWS_CHANGED): ditto.
2778         (RESET_CHANGED_SET_FLAGS): ditto.
2779         * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
2780
2781 1998-12-07  Andy Piper  <andy@xemacs.org>
2782
2783         * frame.c (Fmake_frame): reset subwindow cachels on non-stream
2784         frames.
2785
2786         * redisplay.c (redisplay_frame): invalidate subwindow cachels.
2787
2788         * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
2789         messages and paint widget glyphs as appropriate with their face fg
2790         & bg.
2791
2792 1998-12-06  Andy Piper  <andy@xemacs.org>
2793
2794         * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
2795         here rather than in glyphs-widget - do this because we only want
2796         to provide what is really available.
2797
2798         * glyphs.c (Fimage_instance_property): new function to get the
2799         properties of image instances. wires through to console specific
2800         methods and then to widget specific methods.
2801         (Fset_image_instance_property): ditto but for setting widget properties.
2802         (check_valid_face): make extern so that it can be used elsewhere.
2803
2804         * glyphs-widget.c (widget_property): new function. gets the
2805         properties of widgets in general and wires the function through to
2806         widget specific ones.
2807         (widget_set_property): ditto but for setting widget properties.
2808
2809         * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
2810         add items to the list. Play with window styles a bit to get the
2811         desired effect.
2812         (mswindows_widget_property): break out specific widget properties.
2813         (mswindows_button_property): new function. gets the checked state
2814         of a button.
2815         (mswindows_combo_property): new function. gets the current
2816         selection in the combo box.
2817         (mswindows_widget_set_property): new function. sets specific
2818         properties of specific widgets.
2819
2820         * glyphs-widget.c (check_valid_item_list): new function. check
2821         that items for a combo-box are just a list of strings.
2822         (combo_validate): new function. check there is an item list.
2823         (widget_instantiate_1): new function. renamed from
2824         widget_instantiate so that we can do slightly different things for
2825         other widgets.
2826         (widget_instantiate): call widget_instantiate_1.
2827         (combo_instantiate): new function to instantiate combo boxes,
2828         defaults height to the pixel height of the number of items in the
2829         box.
2830         (syms_of_glyphs_widget): move widget keywords here.
2831         (image_instantiator_format_create_glyphs_widget): use new combo
2832         functions.
2833
2834 1998-12-04  Andy Piper  <andy@xemacs.org>
2835
2836         * event-msw.c (mswindows_wnd_proc): mule-ize.
2837
2838         * glyphs.c (pixmap_to_lisp_data): mule-ize.
2839
2840         * glyphs-msw.c (extract_xpm_color_names): mule-ize.
2841         (resource_name_to_resource): ditto.
2842         (mswindows_resource_instantiate): ditto.
2843         (mswindows_widget_instantiate): ditto.
2844         (mswindows_widget_set_property): ditto.
2845
2846         * redisplay-output.c (redisplay_output_subwindow): don't show
2847         subwindows if they are obscured at the edge of the frame, emacs
2848         gets into some sort of redisplay loop otherwise.
2849
2850         * gui.h: prototype gui_item_selected_p.
2851
2852         * gui.c (gui_item_selected_p): new function to determine the
2853         selected state of a gui_item.
2854
2855         * frame.h (struct frame): add subwindows_changed flag.
2856
2857         * redisplay.c (redisplay_frame): call update_frame_subwindows ().
2858
2859         * glyphs.c (update_subwindow): new function to update a
2860         subwindow's state.
2861         (update_frame_subwindows): new function to update all the
2862         subwindows on a frame.
2863
2864         * console.h (struct console_methods): add update_subwindow.
2865
2866         * glyphs-msw.c (mswindows_widget_property): return selected state
2867         for selected property.
2868         (mswindows_update_subwindow): new function. updates widget glyphs
2869         in redisplay as per menubars or toolbars e.g. selected state.
2870         (console_type_create_glyphs_mswindows): add update_subwindow.
2871
2872 1998-12-03  Andy Piper  <andy@xemacs.org>
2873
2874         * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
2875         tty coding system things are such.
2876
2877         * glyphs-widget.c (widget_face_font_info): new function for
2878         pulling out height and width metrics for a widget's face.
2879         (widget_text_to_pixel_conversion): calculate pixel sizes of text
2880         for widgets.
2881
2882         * event-msw.c (mswindows_drain_windows_queue): translate messages
2883         that are destined for subwindows. This makes edit fields interact
2884         with the keyboard correctly.
2885         nuke warnings by #ifndef'ing out stuff not required by msg select().
2886
2887         * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
2888         macro defining the iiforma without the symbol required by widget.
2889         (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
2890
2891         * general.c (syms_of_general): add Qwidget, Qselected.
2892
2893         * faces.c (complex_vars_of_faces): add widget face inheriting from
2894         gui-element face.
2895
2896 1998-11-09  Andy Piper  <andy@xemacs.org>
2897
2898         * window.h (struct window): add a cache of subwindows on a
2899         per-window basis.
2900
2901         * window.c (mark_window): mark the subwindow_instance_cache.
2902         (allocate_window): initialise the subwindow instance_cache.
2903
2904         * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
2905         instead of the devmeth.
2906         (x_clear_toolbar): ditto.
2907
2908         * redisplay-x.c (x_output_display_block): call
2909         redisplay_output_subwindow for subwindows and widgets.
2910
2911         * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
2912         types to do nothing for.
2913
2914         * lisp.h: declare new widget/subwindow symbols.
2915
2916         * glyphs.c (image_instantiate): cache subwindows on a per-window
2917         basis.
2918         (subwindow_possible_dest_types): new function for subwindow dest
2919         types.
2920         (subwindow_instantiate): generic instantiation of a
2921         subwindow. specialised by device multi-methods.
2922         (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
2923         subwindows.
2924         (Fimage_instance_subwindow_id): ditto.
2925         (Fresize_subwindow): ditto.
2926         (Fforce_subwindow_map): ditto.
2927
2928         * glyphs-x.c (x_print_image_instance): remove subwindow
2929         stuff. Handled genrically in glyphs.c.
2930         (x_image_instance_equal): ditto.
2931         (x_image_instance_hash): ditto.
2932         (x_finalize_image_instance): delete subwindows when required.
2933         (mark_subwindow) (print_subwindow) (finalize_subwindow)
2934         (subwindow_hash) (Fmake_subwindow): deleted because of new,
2935         glyph-based, subwindow implementation.
2936         (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
2937         in glyphs.el
2938         (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
2939         glyphs.c.
2940         (x_unmap_subwindow): new function to unmap X subwindows.
2941         (x_map_subwindow): new function to map X subwindows.
2942         (x_subwindow_instantiate): new function to instantiate X
2943         subwindows.
2944         (x_resize_subwindow): new function to resize X subwindows.
2945         (console_type_create_glyphs_x): add subwindow functions.
2946         (image_instantiator_format_create_glyphs_x): add device
2947         multi-methods for xpm, xbm and subwindow.
2948
2949         * glyphs.el (subwindow-xid): old alias for new subwindow functions.
2950         (subwindow-width): ditto.
2951         (subwindow-height): ditto.
2952
2953         * glyphs-msw.c (mswindows_widget_instantiate): new function for
2954         generally instantiating ms subwindows. Used by
2955         mswindows_*_instantiate.
2956         (mswindows_edit_instantiate): instantiate an edit field on a
2957         mswindows frame.
2958
2959 1998-11-04  Andy Piper  <andy@xemacs.org>
2960
2961         * symsinit.h: declare new functions.
2962
2963         * redisplay.h: declare new functions.
2964
2965         * redisplay-x.c (x_output_display_block): call
2966         redisplay_clear_region rather than x_clear_region.
2967         (x_output_string): ditto.
2968         (x_output_pixmap): ditto.
2969         (x_clear_to_window_end): ditto.
2970         (x_output_eol_cursor): ditto.
2971         (x_clear_region): only do X specific things. other duties handled
2972         in redisplay_clear_region.
2973
2974         * redisplay-tty.c (tty_clear_region): do tty specific things - some
2975         duties moved to redisplay_clear_region.
2976
2977         * redisplay-output.c (clear_left_border): use
2978         redisplay_clear_region instead of device method.
2979         (clear_right_border): ditto.
2980         (output_display_line): ditto.
2981         (redisplay_output_subwindow): ditto.
2982         (redisplay_clear_top_of_window): ditto.
2983         (redisplay_clear_region): perform duties previously handled by
2984         device methods. call the appropriate device method at the
2985         end. unmap subwindows if necessary.
2986
2987         * redisplay-msw.c (mswindows_output_string): use
2988         redisplay_clear_region instead of mswindows_clear_region.
2989         (mswindows_clear_to_window_end): ditto.
2990         (mswindows_output_display_block): output subwindows when required.
2991         (mswindows_clear_region): only do mswindows specific things,
2992         everything else is now handled in redisplay_clear_region.
2993
2994         * gui.h: add item id hash defines and declare function prototypes.
2995
2996         * gui.c (mark_gui_item): new function for marking gui_items.
2997         (gui_item_hash): generic hash function for generating command ids
2998         for gui_items.
2999
3000         * gui-msw.c: new file.
3001         (mswindows_handle_gui_wm_command): new function to handle widget
3002         callbacks.
3003
3004         * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3005         multi-methods.
3006         (IIFORMAT_HAS_SHARED_METHOD): ditto.
3007         (DEFINE_DEVICE_IIFORMAT): ditto.
3008         (INITIALIZE_DEVICE_IIFORMAT): ditto.
3009         (struct Lisp_Image_Instance): add widget and subwindow data plus
3010         appropriate access functions.
3011
3012         * glyphs.c (decode_device_ii_format): new function for decoding
3013         image instantiator functions based on a device type as well as an
3014         image format.
3015         (decode_image_instantiator_format): just call
3016         decode_device_ii_format with nil device.
3017         (add_entry_to_device_ii_format_list): new function for per device
3018         method instances.
3019         (add_entry_to_image_instantiator_format_list): just call
3020         add_entry_to_device_ii_format_list with nil device.
3021         (check_valid_vector): new function.
3022         (instantiate_image_instantiator): instantiate using per-format
3023         method and then per-format-per-device method (device
3024         multi-methods). signal an error if neither is possible.
3025         (mark_image_instance): cope with subwindows and widgets.
3026         (print_image_instance): ditto.
3027         (image_instance_equal): ditto.
3028         (image_instance_hash): ditto.
3029         (allocate_glyph): ditto.
3030         (glyph_width): ditto.
3031         (glyph_height_internal): ditto.
3032         (xpm_instantiate): removed because of device multi-methods.
3033         (mark_subwindow_cachels): new cachel functions for caching
3034         instantiated subwindows on a per-frame basis. mostly copied from
3035         glyph cachel functions.
3036         (update_subwindow_cachel_data): ditto.
3037         (add_subwindow_cachel): ditto.
3038         (get_subwindow_cachel_index): ditto.
3039         (reset_subwindow_cachels): ditto.
3040         (mark_subwindow_cachels_as_not_updated): ditto.
3041         (unmap_subwindow): generic unmapping of subwindows based on cachel
3042         data.
3043         (map_subwindow): ditto.
3044         (initialize_subwindow_image_instance): generic initialisation of
3045         subwindow data.
3046         (syms_of_glyphs): add widget keywords.
3047
3048         * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3049         x_subwindow_data.
3050
3051 1998-11-04  Andy Piper  <andy@xemacs.org>
3052
3053         * glyphs-widget.c: new file for instantiating widget type glyphs.
3054         (widget_possible_dest_types): new general dest type function for
3055         widgets.
3056         (widget_validate): ditto.
3057         (initialize_widget_image_instance): ditto
3058         (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3059         before handing on control to device multi-methods.
3060         (syms_of_glyphs_widget): new function.
3061         (image_instantiator_format_create_glyphs_widget): new function,
3062         added placeholders for button, edit, combo, scrollbar
3063         (vars_of_glyphs_widget): new function.
3064
3065         * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3066         storing window ids of widgets.
3067
3068         * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3069         deletion of widget and subwindow glyphs.
3070         (mswindows_unmap_subwindow): new device function for unmapping
3071         subwindows on a msw frame.
3072         (mswindows_map_subwindow): ditto.
3073         (mswindows_register_image_instance): register instantiated widgets
3074         with the widget hastable.
3075         (mswindows_button_instantiate): instantiate a button type widget
3076         on an msw frame.
3077         (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3078         mswindows frame.
3079         (image_instantiator_format_create_glyphs_mswindows): add device
3080         multi-methods for xbm, xpm, subwindow, edit and button.
3081
3082         * frame.h (struct frame): add subwindow_cachels dynarr for caching
3083         information about subwindows visible on the current frame. used by
3084         redisplay_clear_region to unmap subwindows as required.
3085
3086         * frame.c (mark_frame): mark subwindow_cachels.
3087         (allocate_frame_core): instantiate subwindow_cachels.
3088
3089         * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3090         widget hashtable.
3091
3092         * event-msw.c (mswindows_wnd_proc): add call to
3093         mswindows_handle_gui_wm_command to handle widget callbacks.
3094
3095         * emacs.c (main_1): add calls to glyphs-widget initialisation
3096         routines.
3097
3098         * console.h (struct console_methods): add
3099         unmap/map_subwindow_method for use be redisplay_clear_region to
3100         map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3101         with by image instantiator multi-methods. Add
3102         resize_subwindow_method.
3103
3104         * console-stream.c (stream_clear_region): change signature to
3105         match new generic clear region function.
3106
3107         * Makefile.in.in: add glyphs-widget.o to list of objects.
3108
3109         * console-msw.h (struct mswindows_frame): add widget hashtable for
3110         wiring command ids to callbacks.
3111
3112 1998-12-16  Andy Piper  <andy@xemacs.org>
3113
3114         * XEmacs 21.2.6 is released
3115
3116 1998-12-08  Hrvoje Niksic  <hniksic@srce.hr>
3117
3118         * md5.c (Fmd5): Correctly initiate string input stream.
3119
3120         * Makefile.in.in (tests): Add md5-tests.el.
3121
3122 1998-12-06  Martin Buchholz  <martin@xemacs.org>
3123
3124         * lisp.h:
3125         * alloc.c (make_vector): remove travesty
3126         (Fmake_vector):
3127         (make_pure_vector):
3128         (pure_cons):
3129         (make_bit_vector_internal):
3130         (make_bit_vector):
3131         (make_bit_vector_from_byte_vector):
3132         (Fmake_bit_vector):
3133         - make vector_equal a little faster.
3134         - Don't use variable name `new'.
3135         - Use size_t instead of EMACS_INT.
3136         - usual Martin-style pointless bit-twiddling.
3137
3138         * fns.c (mapcar1):
3139         (Fmapconcat):
3140         (Fmapcar):
3141         (Fmapvector):
3142         Make mapcar faster.  In particular, make
3143           (mapc #'identity long-string)
3144         MUCH faster under Mule.
3145         * tests/automated/lisp-tests.el: Test 'em!
3146
3147 1998-12-06  Martin Buchholz  <martin@xemacs.org>
3148
3149         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3150         bytecode.
3151
3152 1998-12-13  Martin Buchholz  <martin@xemacs.org>
3153
3154         * console-msw.c: Function definitions follow coding standards
3155         - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3156
3157 1998-12-11  Martin Buchholz  <martin@xemacs.org>
3158
3159         * events.h (struct timeout_data):
3160         * event-tty.c (tty_timeout_to_emacs_event):
3161         * event-msw.c (mswindows_wm_timer_callback):
3162         * event-Xt.c (Xt_timeout_to_emacs_event):
3163         * event-msw.c (mswindows_cancel_dispatch_event):
3164         Make sure Lisp_Objects inside events are initialized to Qnil, not
3165         Qnull_pointer, which is now illegal.
3166
3167 1998-12-10  Martin Buchholz  <martin@xemacs.org>
3168
3169         * lisp.h: Fix up prototypes to match alloc.c
3170
3171 1998-12-09  Andy Piper  <andy@xemacs.org>
3172
3173         * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3174         XSETINT for assigning lisp objects.
3175
3176 1998-12-07  Martin Buchholz  <martin@xemacs.org>
3177
3178         * opaque.h:
3179         * console-msw.c (DHEADER):
3180         (DOPAQUE_DATA):
3181         (DEVENT):
3182         (DCONS):
3183         (DCONSCDR):
3184         (DSTRING):
3185         (DVECTOR):
3186         (DSYMBOL):
3187         (DSYMNAME):
3188         - max_align_t should not be visible to the user of the
3189           XOPAQUE_DATA macro.
3190         - use Bufbyte instead of char
3191         - parens around (FOOP (obj)) are always redundant.
3192           If they were necessary, we should fix the macro instead.
3193         - Always use string_data(foo) instead of foo->data.
3194
3195 1998-12-07  Martin Buchholz  <martin@xemacs.org>
3196
3197         * sysdep.c (set_descriptor_non_blocking):
3198         Since O_NONBLOCK is now always #defined, make use of fcntl
3199         conditional on F_SETFL being defined.
3200
3201 1998-12-09  Andy Piper  <andy@xemacs.org>
3202
3203         * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3204         that got removed in the merge
3205
3206 1998-11-30  Greg Klanderman  <greg@alphatech.com>
3207
3208         * dired.c (vars_of_dired): bugfix for previous conditionalization
3209         of user-name-completion on non- Windows NT.
3210
3211 1998-12-08  Martin Buchholz  <martin@xemacs.org>
3212
3213         * windowsnt.h: Remove `support' for using index and rindex
3214
3215         * filelock.c (current_lock_owner):
3216         - Change uses of index -> strchr, rindex -> strrchr
3217
3218 1998-12-06  Martin Buchholz  <martin@xemacs.org>
3219
3220         * frame-msw.c (mswindows_init_frame_1):
3221         - use make_lisp_hash_table, not Fmake_hash_table
3222         - include elhash.h
3223
3224 1998-12-05  XEmacs Build Bot <builds@cvs.xemacs.org>
3225
3226         * XEmacs 21.2.5 is released
3227
3228 1998-11-30  Martin Buchholz  <martin@xemacs.org>
3229
3230         * xselect.c (receive_incremental_selection):
3231         * xselect.c (x_get_window_property):
3232         * xmu.c (XmuReadBitmapDataFromFile):
3233         * xmu.c (XmuCursorNameToIndex):
3234         * xgccache.c (describe_gc_cache):
3235         * xgccache.c (gc_cache_lookup):
3236         * xgccache.c (free_gc_cache):
3237         * xgccache.c (make_gc_cache):
3238         * window.h:
3239         * window.c (map_windows_1):
3240         * window.c (Fother_window_for_scrolling):
3241         * window.c (window_scroll):
3242         * window.c (change_window_height):
3243         * window.c (Fsplit_window):
3244         * window.c (window_left_gutter_width):
3245         * window.c (window_modeline_height):
3246         * window.c (invalidate_vertical_divider_cache_in_window):
3247         * window.c (window_needs_vertical_divider_1):
3248         * window.c (update_mirror_internal):
3249         * window.c (SET_LAST_FACECHANGE):
3250         * widget.c (Fwidget_plist_member):
3251         * unexec.c (copy_text_and_data):
3252         * unexcw.c (copy_executable_and_dump_data_section):
3253         * tooltalk.doc:
3254         * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3255         * tooltalk.c (struct Lisp_Tooltalk_Message):
3256         * toolbar.h (struct toolbar_button):
3257         * toolbar.c (default_toolbar_visible_p_changed_in_window):
3258         * toolbar.c (recompute_overlaying_specifier):
3259         * toolbar.c (toolbar_validate):
3260         * toolbar.c (toolbar_button_at_pixpos):
3261         * toolbar.c (get_toolbar_coords):
3262         * toolbar.c (update_frame_toolbars):
3263         * toolbar-x.c:
3264         * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3265         * toolbar-msw.c (mswindows_find_toolbar_pos):
3266         * toolbar-msw.c (mswindows_output_toolbar):
3267         * toolbar-msw.c (mswindows_clear_toolbar):
3268         * toolbar-msw.c:
3269         * systty.h:
3270         * syssignal.h:
3271         * sysproc.h:
3272         * sysfile.h:
3273         * sysdll.c:
3274         * sysdep.h:
3275         * sysdep.c (rmdir):
3276         * sysdep.c (sys_fopen):
3277         * sysdep.c (sys_open):
3278         * sysdep.c (tty_init_sys_modes_on_device):
3279         * sysdep.c (get_eof_char):
3280         * sysdep.c (child_setup_tty):
3281         * sysdep.c (set_descriptor_non_blocking):
3282         * syntax.h:
3283         * syntax.c (scan_words):
3284         * syntax.c:
3285         * symsinit.h:
3286         * symeval.h (struct symbol_value_varalias):
3287         * symeval.h (struct symbol_value_forward):
3288         * symbols.c (syms_of_symbols):
3289         * symbols.c (init_symbols_once_early):
3290         * symbols.c (Fbuilt_in_variable_type):
3291         * symbols.c (Fsymbol_value_in_buffer):
3292         * symbols.c (default_value):
3293         * symbols.c (Fset):
3294         * symbols.c (find_symbol_value_quickly):
3295         * symbols.c (store_symval_forwarding):
3296         * symbols.c (set_default_console_slot_variable):
3297         * symbols.c (set_default_buffer_slot_variable):
3298         * symbols.c (verify_ok_for_buffer_local):
3299         * symbols.c (symbol_is_constant):
3300         * symbols.c (oblookup):
3301         * symbols.c (Funintern):
3302         * symbols.c (Fintern):
3303         * symbols.c (check_obarray):
3304         * sunplay.c:
3305         * specifier.h (struct specifier_methods):
3306         * specifier.h:
3307         * specifier.c (specifier_instance):
3308         * specifier.c (specifier_instance_from_inst_list):
3309         * specifier.c (decode_locale_type):
3310         * specifier.c (specifier_equal):
3311         * specifier.c (finalize_specifier):
3312         * specifier.c (prune_specifiers):
3313         * specifier.c (kill_specifier_buffer_locals):
3314         * sound.c (init_native_sound):
3315         * sound.c:
3316         * signal.c (alarm):
3317         * search.c (Fmatch_data):
3318         * search.c (match_limit):
3319         * search.c (Freplace_match):
3320         * search.c (skip_chars):
3321         * search.c (scan_buffer):
3322         * search.c:
3323         * scrollbar.c (specifier_vars_of_scrollbar):
3324         * scrollbar.c (Fscrollbar_set_hscroll):
3325         * scrollbar.c (vertical_scrollbar_changed_in_window):
3326         * scrollbar.c (release_window_mirror_scrollbars):
3327         * scrollbar.c (free_scrollbar_instance):
3328         * scrollbar-x.c:
3329         * scrollbar-msw.c:
3330         * s/msdos.h (O_BINARY):
3331         * s/linux.h:
3332         * s/freebsd.h (LIBS_TERMCAP):
3333         * regex.c (re_match_2_internal):
3334         * regex.c (compile_extended_range):
3335         * regex.c (POP_FAILURE_POINT):
3336         * regex.c (PUSH_FAILURE_POINT):
3337         * redisplay.h (RESET_CHANGED_SET_FLAGS):
3338         * redisplay.h:
3339         * redisplay.h (struct display_line):
3340         * redisplay.h (struct rune):
3341         * redisplay.c (vars_of_redisplay):
3342         * redisplay.c (redisplay_variable_changed):
3343         * redisplay.c (UPDATE_CACHE_RETURN):
3344         * redisplay.c (validate_line_start_cache):
3345         * redisplay.c (mark_redisplay_structs):
3346         * redisplay.c (mark_glyph_block_dynarr):
3347         * redisplay.c (window_line_number):
3348         * redisplay.c (redisplay_frame):
3349         * redisplay.c (redisplay_window):
3350         * redisplay.c (generate_modeline):
3351         * redisplay.c (create_right_glyph_block):
3352         * redisplay.c (create_left_glyph_block):
3353         * redisplay.c (create_text_block):
3354         * redisplay.c:
3355         * redisplay-x.c (x_output_hline):
3356         * redisplay-x.c (x_output_vertical_divider):
3357         * redisplay-tty.c (tty_output_display_block):
3358         * redisplay-output.c (output_display_line):
3359         * redisplay-output.c:
3360         * redisplay-msw.c (mswindows_output_vertical_divider):
3361         * redisplay-msw.c (mswindows_ring_bell):
3362         * redisplay-msw.c (mswindows_output_cursor):
3363         * redisplay-msw.c:
3364         * rangetab.c:
3365         * ralloc.c:
3366         * puresize.h (RAW_PURESIZE):
3367         * profile.c (syms_of_profile):
3368         * profile.c (Fstart_profiling):
3369         * profile.c (sigprof_handler):
3370         * profile.c:
3371         * procimpl.h:
3372         * process.c (vars_of_process):
3373         * process.c (read_process_output):
3374         * process.c (get_process):
3375         * process.c:
3376         * process-unix.c (unix_open_multicast_group):
3377         * process-unix.c (unix_get_tty_name):
3378         * process-unix.c (unix_send_process):
3379         * process-unix.c (unix_reap_exited_processes):
3380         * process-unix.c (unix_create_process):
3381         * process-unix.c (unix_init_process_io_handles):
3382         * process-unix.c (allocate_pty):
3383         * process-unix.c:
3384         * process-nt.c (nt_open_network_stream):
3385         * process-nt.c (nt_update_status_if_terminated):
3386         * process-nt.c (nt_finalize_process_data):
3387         * process-nt.c:
3388         * print.c (debug_short_backtrace):
3389         * print.c (debug_backtrace):
3390         * print.c (print_symbol):
3391         * print.c (print_internal):
3392         * print.c (print_cons):
3393         * print.c (Fwrite_char):
3394         * print.c (print_prepare):
3395         * print.c (canonicalize_printcharfun):
3396         * print.c (output_string):
3397         * print.c:
3398         * opaque.h:
3399         * opaque.c (allocate_managed_opaque):
3400         * opaque.c:
3401         * offix.c (DndSetData):
3402         * objects.c (face_boolean_create):
3403         * objects.c (font_instantiate):
3404         * objects.c (font_create):
3405         * objects.c (color_create):
3406         * objects.c (finalize_font_instance):
3407         * objects.c (finalize_color_instance):
3408         * objects.c:
3409         * objects-x.c (x_font_instance_truename):
3410         * objects-x.c:
3411         * objects-x.c (x_initialize_font_instance):
3412         * objects-x.c (allocate_nearest_color):
3413         * objects-tty.c (tty_initialize_font_instance):
3414         * objects-tty.c (tty_initialize_color_instance):
3415         * objects-msw.c (mswindows_initialize_color_instance):
3416         * ntproc.c (syms_of_ntproc):
3417         * ntproc.c (Fwin32_set_process_priority):
3418         * ntproc.c (sys_spawnve):
3419         * ntproc.c:
3420         * ntheap.c (get_data_end):
3421         * nt.c (period):
3422         * nt.c:
3423         * nt.c (stat):
3424         * nt.c (generate_inode_val):
3425         * nt.c (sys_rename):
3426         * nas.c:
3427         * mule-wnnfns.c (Fwnn_hinsi_number):
3428         * mule-wnnfns.c (Fwnn_yuragi):
3429         * mule-wnnfns.c (Fwnn_common_learn):
3430         * mule-wnnfns.c (Fwnn_suffix_learn):
3431         * mule-wnnfns.c (Fwnn_prefix_learn):
3432         * mule-wnnfns.c (Fwnn_okuri_learn):
3433         * mule-wnnfns.c (Fwnn_complex_conv):
3434         * mule-wnnfns.c (Fwnn_last_is_first):
3435         * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3436         * mule-wnnfns.c (Fwnn_notrans_dict_add):
3437         * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3438         * mule-wnnfns.c (Fwnn_fisys_dict_add):
3439         * mule-wnnfns.c (Fwnn_hinsi_list):
3440         * mule-wnnfns.c (Fwnn_fuzokugo_set):
3441         * mule-wnnfns.c (Fwnn_dict_search):
3442         * mule-wnnfns.c (Fwnn_word_toroku):
3443         * mule-wnnfns.c (Fwnn_hindo_update):
3444         * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3445         * mule-wnnfns.c (Fwnn_kakutei):
3446         * mule-wnnfns.c (Fwnn_begin_henkan):
3447         * mule-wnnfns.c (Fwnn_dict_comment):
3448         * mule-wnnfns.c (Fwnn_dict_add):
3449         * mule-wnnfns.c (Fwnn_open):
3450         * mule-mcpath.c (mc_getcwd):
3451         * mule-coding.c (vars_of_mule_coding):
3452         * mule-coding.c (convert_to_external_format):
3453         * mule-coding.c (encoding_marker):
3454         * mule-coding.c (decoding_marker):
3455         * mule-coding.c (Fcopy_coding_system):
3456         * mule-coding.c (Fmake_coding_system):
3457         * mule-coding.c (Fcoding_system_list):
3458         * mule-coding.c (Ffind_coding_system):
3459         * mule-coding.c (symbol_to_eol_type):
3460         * mule-coding.c:
3461         * mule-charset.c (complex_vars_of_mule_charset):
3462         * mule-charset.c (vars_of_mule_charset):
3463         * mule-charset.c (Fset_charset_ccl_program):
3464         * mule-charset.c (struct charset_list_closure):
3465         * mule-charset.c (Ffind_charset):
3466         * mule-charset.c (make_charset):
3467         * mule-charset.c (non_ascii_valid_char_p):
3468         * mule-charset.c:
3469         * mule-ccl.c (ccl_driver):
3470         * mule-canna.c (c2mu):
3471         * mule-canna.c (Fcanna_henkan_begin):
3472         * mule-canna.c (Fcanna_parse):
3473         * mule-canna.c (Fcanna_store_yomi):
3474         * mule-canna.c (Fcanna_touroku_string):
3475         * mule-canna.c (Fcanna_initialize):
3476         * minibuf.c:
3477         * menubar.c (menu_parse_submenu_keywords):
3478         * menubar-x.c (make_dummy_xbutton_event):
3479         * menubar-x.c (set_frame_menubar):
3480         * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3481         * menubar-x.c:
3482         * menubar-msw.h:
3483         * menubar-msw.c (mswindows_popup_menu):
3484         * menubar-msw.c (mswindows_update_frame_menubars):
3485         * menubar-msw.c (mswindows_handle_wm_command):
3486         * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3487         * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3488         * menubar-msw.c (update_frame_menubar_maybe):
3489         * menubar-msw.c (populate_or_checksum_helper):
3490         * menubar-msw.c (empty_menu):
3491         * menubar-msw.c:
3492         * md5.c:
3493         * marker.c (set_marker_internal):
3494         * marker.c (print_marker):
3495         * malloc.c:
3496         * make-src-depend:
3497         * lstream.c (lisp_buffer_rewinder):
3498         * lstream.c (mark_lstream):
3499         * lrecord.h:
3500         * lrecord.h (struct lrecord_header):
3501         * lread.c (readevalloop):
3502         * lread.c (locate_file):
3503         * lread.c (locate_file_in_directory):
3504         * lread.c (Flocate_file):
3505         * lread.c (load_force_doc_string_unwind):
3506         * lread.c (ebolify_bytecode_constants):
3507         * lread.c:
3508         * lisp.h:
3509         * lisp-union.h:
3510         * lisp-disunion.h:
3511         * linuxplay.c (linux_play_data_or_file):
3512         * linuxplay.c (audio_init):
3513         * line-number.c:
3514         * keymap.h:
3515         * keymap.c (describe_map):
3516         * keymap.c (describe_map_mapper):
3517         * keymap.c (Fdescribe_bindings_internal):
3518         * keymap.c (Fsingle_key_description):
3519         * keymap.c (map_keymap_sorted):
3520         * keymap.c (get_relevant_keymaps):
3521         * keymap.c (Flookup_key):
3522         * keymap.c (raw_lookup_key_mapper):
3523         * keymap.c (Fdefine_key):
3524         * keymap.c (Fevent_matches_key_specifier_p):
3525         * keymap.c (key_desc_list_to_event):
3526         * keymap.c (define_key_parser):
3527         * keymap.c (define_key_check_and_coerce_keysym):
3528         * keymap.c (keymap_submaps):
3529         * keymap.c (keymap_store_internal):
3530         * keymap.c (keymap_delete_inverse_internal):
3531         * keymap.c (keymap_store_inverse_internal):
3532         * keymap.c (print_keymap):
3533         * keymap.c (Lisp_Keymap):
3534         * keymap.c:
3535         * intl.c:
3536         * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3537         * insdel.c (make_gap):
3538         * input-method-xlib.c (get_XIM_input):
3539         * input-method-xlib.c (XIM_init_frame):
3540         * imgproc.c:
3541         * hash.h:
3542         * hash.c:
3543         * gui.c:
3544         * gui-x.c (button_item_to_widget_value):
3545         * gui-x.c (popup_selection_callback):
3546         * glyphs.h (struct image_instantiator_methods):
3547         * glyphs.c (mark_glyph_cachels):
3548         * glyphs.c (Fglyph_type):
3549         * glyphs.c (image_instantiate):
3550         * glyphs.c (image_create):
3551         * glyphs.c (make_image_instance_1):
3552         * glyphs.c (finalize_image_instance):
3553         * glyphs.c:
3554         * glyphs-x.c (finalize_subwindow):
3555         * glyphs-x.c (xface_validate):
3556         * glyphs-x.c (x_locate_pixmap_file):
3557         * glyphs-x.c (convert_EImage_to_XImage):
3558         * glyphs-msw.c:
3559         * glyphs-msw.c (mswindows_resource_instantiate):
3560         * glyphs-msw.c (xpm_to_eimage):
3561         * glyphs-msw.c (convert_EImage_to_DIBitmap):
3562         * glyphs-eimage.c (tiff_instantiate):
3563         * glyphs-eimage.c (png_instantiate):
3564         * glyphs-eimage.c (struct png_error_struct):
3565         * glyphs-eimage.c (gif_memory_storage):
3566         * glyphs-eimage.c:
3567         * gifrlib.h:
3568         * getloadavg.c (getloadavg):
3569         * getloadavg.c:
3570         * gdbinit:
3571         * free-hook.c (log_gcpro):
3572         * free-hook.c (check_malloc):
3573         * free-hook.c (check_free):
3574         * free-hook.c (ROUND_UP_TO_PAGE):
3575         * free-hook.c:
3576         * frame.h (struct frame):
3577         * frame.h:
3578         * frame.c (change_frame_size_1):
3579         * frame.c (allocate_frame_core):
3580         * frame.c:
3581         * frame-x.c (x_focus_on_frame):
3582         * frame-x.c (x_init_frame_2):
3583         * frame-x.c (x_popup_frame):
3584         * frame-x.c (xemacs_XtPopup):
3585         * frame-x.c:
3586         * frame-x.c (Foffix_start_drag_internal):
3587         * frame-x.c (x_cde_destroy_callback):
3588         * frame-x.c (x_wm_hack_wm_protocols):
3589         * frame-tty.c (tty_frame_visible_p):
3590         * frame-msw.c (mswindows_make_frame_invisible):
3591         * frame-msw.c (mswindows_after_init_frame):
3592         * frame-msw.c (mswindows_init_frame_1):
3593         * fns.c (syms_of_fns):
3594         * fns.c (Fbase64_decode_string):
3595         * fns.c (Fnconc):
3596         * fns.c (Ffillarray):
3597         * fns.c (Fobject_plist):
3598         * fns.c (Fget):
3599         * fns.c (Fcanonicalize_lax_plist):
3600         * fns.c (Fcanonicalize_plist):
3601         * fns.c (Fplist_remprop):
3602         * fns.c (Fplist_get):
3603         * fns.c (advance_plist_pointers):
3604         * fns.c (internal_plist_put):
3605         * fns.c (Fnreverse):
3606         * fns.c (Fremassq):
3607         * fns.c (Felt):
3608         * fns.c (Fsubstring):
3609         * fns.c (Fbvconcat):
3610         * fns.c (Flength):
3611         * fns.c (length_with_bytecode_hack):
3612         * fns.c (print_bit_vector):
3613         * fns.c:
3614         * floatfns.c (Ffloor):
3615         * floatfns.c:
3616         * floatfns.c (in_float_error):
3617         * fileio.c (Ffile_modes):
3618         * fileio.c (Fexpand_file_name):
3619         * fileio.c (Fmake_temp_name):
3620         * fileio.c (Ffile_name_nondirectory):
3621         * fileio.c (Ffile_name_directory):
3622         * file-coding.h:
3623         * file-coding.c (vars_of_mule_coding):
3624         * file-coding.c (convert_to_external_format):
3625         * file-coding.c (encoding_marker):
3626         * file-coding.c (decoding_marker):
3627         * file-coding.c (Fcopy_coding_system):
3628         * file-coding.c (Fmake_coding_system):
3629         * file-coding.c (struct coding_system_list_closure):
3630         * file-coding.c (Ffind_coding_system):
3631         * file-coding.c (symbol_to_eol_type):
3632         * file-coding.c:
3633         * faces.h (struct face_cachel):
3634         * faces.c (vars_of_faces):
3635         * faces.c (face_property_was_changed):
3636         * faces.c (mark_face_cachels):
3637         * faces.c (temporary_faces_list):
3638         * faces.c (struct face_list_closure):
3639         * faces.c:
3640         * extents.h (struct extent):
3641         * extents.c (vars_of_extents):
3642         * extents.c (struct copy_string_extents_1_arg):
3643         * extents.c (add_string_extents_mapper):
3644         * extents.c (Fextent_property):
3645         * extents.c (Fset_extent_property):
3646         * extents.c (symbol_to_glyph_layout):
3647         * extents.c (properties_equal):
3648         * extents.c (print_extent):
3649         * extents.c (print_extent_1):
3650         * extents.c (extent_in_region_p):
3651         * extents.c (gap_array_make_gap):
3652         * extents.c:
3653         * events.h (struct Lisp_Event):
3654         * events.h:
3655         * events.c (Fevent_properties):
3656         * events.c (format_event_object):
3657         * events.c (Fmake_event):
3658         * events.c (event_equal):
3659         * events.c (print_event):
3660         * events.c (mark_event):
3661         * event-stream.c ((read-char)
3662         * event-stream.c (vars_of_event_stream):
3663         * event-stream.c (syms_of_event_stream):
3664         * event-stream.c (Fset_recent_keys_ring_size):
3665         * event-stream.c (Fsit_for):
3666         * event-stream.c (Fnext_event):
3667         * event-stream.c (execute_help_form):
3668         * event-stream.c (maybe_kbd_translate):
3669         * event-stream.c:
3670         * event-msw.c (vars_of_event_mswindows):
3671         * event-msw.c (mswindows_wnd_proc):
3672         * event-msw.c (mswindows_need_event):
3673         * event-msw.c (mswindows_drain_windows_queue):
3674         * event-msw.c (mswindows_pump_outstanding_events):
3675         * event-msw.c:
3676         * event-msw.c (slurp_thread):
3677         * event-msw.c (struct ntpipe_slurp_stream):
3678         * event-msw.c (HANDLE_TO_USID):
3679         * event-Xt.c (emacs_Xt_handle_magic_event):
3680         * event-Xt.c (x_event_to_emacs_event):
3681         * event-Xt.c (x_reset_modifier_mapping):
3682         * event-Xt.c (x_reset_key_mapping):
3683         * event-Xt.c:
3684         * eval.c (syms_of_eval):
3685         * eval.c (warn_when_safe):
3686         * eval.c (warn_when_safe_lispobj):
3687         * eval.c (Fbacktrace_frame):
3688         * eval.c (Fbacktrace):
3689         * eval.c (top_level_set):
3690         * eval.c (unbind_to_hairy):
3691         * eval.c (specbind_magic):
3692         * eval.c (specbind_unwind_wasnt_local):
3693         * eval.c (call2_trapping_errors):
3694         * eval.c (call1_trapping_errors):
3695         * eval.c (catch_them_squirmers_call2):
3696         * eval.c (call0_trapping_errors):
3697         * eval.c (run_hook_trapping_errors):
3698         * eval.c (catch_them_squirmers_eval_in_buffer):
3699         * eval.c (call4_in_buffer):
3700         * eval.c (call3_in_buffer):
3701         * eval.c (call2_in_buffer):
3702         * eval.c (call1_in_buffer):
3703         * eval.c (call0_in_buffer):
3704         * eval.c (run_hook):
3705         * eval.c (run_hook_with_args_in_buffer):
3706         * eval.c (Fapply):
3707         * eval.c (Feval):
3708         * eval.c (do_autoload):
3709         * eval.c (un_autoload):
3710         * eval.c (Fautoload):
3711         * eval.c (Finteractive_p):
3712         * eval.c (Fcommand_execute):
3713         * eval.c (signal_quit):
3714         * eval.c (call_with_suspended_errors):
3715         * eval.c (signal_error):
3716         * eval.c (return_from_signal):
3717         * eval.c (Fcall_with_condition_handler):
3718         * eval.c (run_condition_case_handlers):
3719         * eval.c (condition_case_1):
3720         * eval.c (Funwind_protect):
3721         * eval.c (unwind_to_catch):
3722         * eval.c (internal_catch):
3723         * eval.c (Fmacroexpand_internal):
3724         * eval.c (Fuser_variable_p):
3725         * eval.c (Fdefconst):
3726         * eval.c (Fdefvar):
3727         * eval.c (Ffunction):
3728         * eval.c (signal_call_debugger):
3729         * eval.c (call_debugger):
3730         * eval.c:
3731         * emacs.c (main):
3732         * emacs.c (sort_args):
3733         * emacs.c (main_1):
3734         * elhash.h:
3735         * elhash.c:
3736         * editfns.c (Fencode_time):
3737         * editfns.c (Fdecode_time):
3738         * editfns.c (Fuser_full_name):
3739         * editfns.c:
3740         * editfns.c (save_excursion_restore):
3741         * ecrt0.c:
3742         * dynarr.c:
3743         * doprnt.c (emacs_doprnt_1):
3744         * doc.c (verify_doc_mapper):
3745         * doc.c (Fsnarf_documentation):
3746         * doc.c (Fdocumentation):
3747         * dll.c:
3748         * dired.c (user_name_completion):
3749         * dired.c (Fdirectory_files):
3750         * dialog-x.c:
3751         * dialog-msw.c:
3752         * dgif_lib.c (FreeSavedImages):
3753         * dgif_lib.c (DGifGetImageDesc):
3754         * device.h:
3755         * device.h (struct device):
3756         * device.c (Fselect_device):
3757         * device.c (allocate_device):
3758         * device.c:
3759         * device-x.c (Fx_keysym_on_keyboard_p):
3760         * device-x.c (Fx_valid_keysym_name_p):
3761         * device-x.c (x_IO_error_handler):
3762         * device-x.c (x_delete_device):
3763         * device-x.c (x_finish_init_device):
3764         * device-x.c (x_init_device):
3765         * device-x.c:
3766         * device-msw.c (mswindows_init_device):
3767         * dbxrc:
3768         * database.c (vars_of_database):
3769         * database.c (Fput_database):
3770         * database.c (Fopen_database):
3771         * database.c (berkdb_remove):
3772         * database.c (berkdb_put):
3773         * database.c (Fdatabasep):
3774         * database.c (print_database):
3775         * database.c:
3776         * data.c (vars_of_data):
3777         * data.c (syms_of_data):
3778         * data.c (init_errors_once_early):
3779         * data.c (prune_weak_lists):
3780         * data.c (finish_marking_weak_lists):
3781         * data.c (print_weak_list):
3782         * data.c (Fmod):
3783         * data.c (Fstring_to_number):
3784         * data.c (Fnumber_to_string):
3785         * data.c (Findirect_function):
3786         * data.c (Fsetcdr):
3787         * data.c (Ffloatp):
3788         * data.c (Fsubr_interactive):
3789         * data.c (Farrayp):
3790         * data.c (Fkeywordp):
3791         * data.c (Fnull):
3792         * data.c:
3793         * console.h (CONSOLE_NAME):
3794         * console.h:
3795         * console.c (vars_of_console):
3796         * console.c (Fselect_console):
3797         * console.c:
3798         * console-x.h (DEVICE_X_COLORMAP):
3799         * console-x.h (struct x_device):
3800         * console-x.c (x_device_to_console_connection):
3801         * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
3802         * console-tty.c (tty_init_console):
3803         * console-tty.c:
3804         * console-msw.h (struct mswindows_frame):
3805         * conslots.h:
3806         * config.h.in:
3807         * cmds.c (internal_self_insert):
3808         * cmds.c (Fforward_line):
3809         * cmds.c (Fforward_char):
3810         * cmds.c:
3811         * cmdloop.c:
3812         * chartab.c (mark_char_table_entry):
3813         * chartab.c:
3814         * casefiddle.c (casify_word):
3815         * callproc.c (child_setup):
3816         * callproc.c (Fcall_process_internal):
3817         * callproc.c:
3818         * callint.c (Fcall_interactively):
3819         * bytecode.h:
3820         * bytecode.c (execute_rare_opcode):
3821         * bytecode.c (execute_optimized_program):
3822         * bytecode.c:
3823         * bufslots.h:
3824         * buffer.h (BUFFER_REALLOC):
3825         * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
3826         * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
3827         * buffer.h:
3828         * buffer.h (MAP_INDIRECT_BUFFERS):
3829         * buffer.h (CHECK_LIVE_BUFFER):
3830         * buffer.c (init_initial_directory):
3831         * buffer.c (complex_vars_of_buffer):
3832         * buffer.c (vars_of_buffer):
3833         * buffer.c (finish_init_buffer):
3834         * buffer.c (Fget_file_buffer):
3835         * buffer.c (Fbuffer_list):
3836         * buffer.c (mark_buffer):
3837         * balloon_help.c (balloon_help_move_to_pointer):
3838         * balloon_help.c (show_help):
3839         * balloon_help.c:
3840         * backtrace.h:
3841         * alloc.c (garbage_collect_1):
3842         * alloc.c (sweep_strings):
3843         * alloc.c (sweep_compiled_functions):
3844         * alloc.c (sweep_bit_vectors_1):
3845         * alloc.c (sweep_vectors_1):
3846         * alloc.c (sweep_lcrecords_1):
3847         * alloc.c (tick_lcrecord_stats):
3848         * alloc.c (pure_string_sizeof):
3849         * alloc.c (mark_conses_in_list):
3850         * alloc.c (mark_object):
3851         * alloc.c (report_pure_usage):
3852         * alloc.c (make_pure_float):
3853         * alloc.c (make_pure_string):
3854         * alloc.c (free_managed_lcrecord):
3855         * alloc.c (mark_string):
3856         * alloc.c (noseeum_make_marker):
3857         * alloc.c (allocate_event):
3858         * alloc.c (Fbit_vector):
3859         * alloc.c (Fvector):
3860         * alloc.c (make_float):
3861         * alloc.c (Fmake_list):
3862         * alloc.c (Flist):
3863         * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
3864         * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
3865         * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
3866         * alloc.c (dbg_constants):
3867         * alloc.c (gc_record_type_p):
3868         * alloc.c (free_lcrecord):
3869         * alloc.c (xmalloc):
3870         * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
3871         * abbrev.c:
3872         * Makefile.in.in (mostlyclean):
3873         * Makefile.in.in (external_client_xlib_objs_nonshared):
3874         * Makefile.in.in (temacs_link_args):
3875         * Makefile.in.in (release):
3876         * Makefile.in.in (dnd_objs):
3877         * Makefile.in.in (objs):
3878         * Makefile.in.in (PROGNAME):
3879         * EmacsShell.c: cast strings to (XtPointer)
3880         * EmacsFrame.c: cast strings to (XtPointer)
3881         - mega patch
3882         - rewrite basic lisp functions for speed
3883         - rewrite bytecode interpreter for speed
3884         - rewrite list looping constructs for speed and safety using
3885           tortoise/hare.
3886         - use size_t where appropriate.
3887         - new hashtable implementation
3888         - cleanup implementation of opaques
3889         - opaques can now be purecopy'ed
3890         - move some cl functionality into C for speed.
3891         - remove last remaining VMS support
3892         - spelling fixes
3893         - improve gdb/dbx debugger support
3894         - move pure.c back into alloc.c for performance
3895         - enable report_pure_usage() if --memory-usage-stats
3896         - remove remnants of Energize support (EMACS_BTL, cadillac...)
3897         - don't use symbols with leading `_' or embedded `__'
3898         - globally cleanup duplicated semicolons `;;'
3899         - I give in on %p vs %lx - we use printf("%lx",(long) p)
3900           globally.
3901         - globally replace O_NDELAY with O_NONBLOCK.
3902         - globally replace CDISABLE with _POSIX_VDISABLE.
3903         - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
3904         - define (and maybe use!) STDERR_FILENO and friends.
3905         - add support for macros defined in C
3906         - `when', `unless', `not' and `defalias' now defined in C,
3907           so that they are universally available.
3908         - rename defvar_mumble to defvar_magic
3909         - rename RETURN__ to RETURN_SANS_WARNINGS
3910         - use consistent style of initial caps in error messages
3911         - implement last, butlast, nbutlast, copy-list in C.
3912         - provide typedefs for all struct Lisp_foo types
3913         - Lisp_Objects must be initialized to Qnil rather than 0.
3914         - make sure XEmacs runs (slowly) with always_gc == 1;
3915         - fast and safe LOOP_* macros
3916         - change calls to XSETOBJ to XSETFOO
3917         - replace calls to XSETINT by make_int()
3918         - plug up memory leaks
3919         - use style markobj (foo), not silly ((markobj) (foo))
3920         - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
3921
3922 1998-12-02  P. E. Jareth Hein  <jareth@camelot.co.jp>
3923
3924         * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
3925
3926 1998-11-28  SL Baur  <steve@altair.xemacs.org>
3927
3928         * XEmacs 21.2-beta4 is released.
3929
3930 1998-11-27  SL Baur  <steve@altair.xemacs.org>
3931
3932         * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
3933         property in control-1 charset.
3934         From Julian Bradfield <jcb@daimi.au.dk>
3935
3936 1998-11-26  Jan Vroonhof  <vroonhof@math.ethz.ch>
3937
3938         * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
3939         keyword.
3940         Add stub for :label.
3941
3942         * gui.c (gui_item_add_keyval_pair): ditto.
3943
3944         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
3945         :key-sequence keyword.
3946         Add stub for:label.
3947         Support :active for submenus like the Windows code and FSF Emacs.
3948
3949 1998-11-27  Hrvoje Niksic  <hniksic@srce.hr>
3950
3951         * dired.c (make_directory_hash_table): make_string() is OK because
3952         readdir() Mule-encapsulates.
3953
3954 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
3955
3956         * fns.c (Fbase64_encode_string): Fix docstring.
3957         (Fbase64_decode_string): Ditto.
3958
3959 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
3960
3961         * editfns.c (Ftranslate_region): Use
3962         convert_bufbyte_string_into_emchar_string().
3963
3964 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
3965
3966         * editfns.c (Ftranslate_region): Accept vectors and char-tables as
3967         well as strings.
3968         (Ftranslate_region): Turn table into an array of Emchars for
3969         larger regions.
3970
3971 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
3972
3973         * chartab.c (Freset_char_table): Fix wrong placement of #endif.
3974
3975 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
3976
3977         * chartab.c (Freset_char_table): Don't blindly fill chartables of
3978         type `char' with nils.
3979
3980         * chartab.c (canonicalize_char_table_value): Coerce ints to chars
3981         for tables of type `char'.
3982
3983 1998-11-26  Didier Verna  <verna@inf.enst.fr>
3984
3985         * input-method-xlib.c (Initialize_Locale): don't call
3986         XtSetLanguageProc. We've done the whole work here.
3987         * input-method-xfs.c (Initialize_Locale): ditto.
3988         * input-method-motif.c (Initialize_Locale): ditto.
3989
3990 1998-11-26  Didier Verna  <verna@inf.enst.fr>
3991
3992         * process-unix.c (unix_create_process): handle properly
3993         Vfile_name_coding_system for converting the program and directory
3994         names.
3995
3996 1998-11-27  SL Baur  <steve@altair.xemacs.org>
3997
3998         * m/arm.h: New file.
3999         From James LewisMoss <dres@ioa.com>
4000
4001 1998-11-27  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
4002
4003         * m/mips-nec.h:
4004         Fix the realpath() problem of UnixWare2.1.3.
4005         Patches for NEC's sysv4.2 machine.
4006
4007 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
4008
4009         * dired.c (Fdirectory_files): Remove redundant code.
4010
4011 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
4012
4013         * fns.c (free_malloced_ptr): New function.
4014         (XMALLOC_OR_ALLOCA): New macro.
4015         (XMALLOC_UNBIND): Ditto.
4016         (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4017         to be freed in case of non-local exit.
4018         (Fbase64_encode_string): Ditto.
4019         (Fbase64_decode_region): Ditto.
4020         (Fbase64_decode_string): Ditto.
4021         (STORE_BYTE): New macro.
4022         (base64_decode_1): Use it.
4023
4024 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
4025
4026         * fns.c (base64_value_to_char): Base64 stuff.
4027
4028 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
4029
4030         * editfns.c (Fbuffer_substring): New function.
4031
4032         * lisp.h: Declare make_string_from_buffer_no_extents().
4033
4034         * insdel.c (make_string_from_buffer_1): New function.
4035         (make_string_from_buffer_no_extents): Ditto.
4036
4037 1998-11-15  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4038
4039         * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4040         sound work on AIX with OSS installed.  Linux should still work.
4041
4042 1998-11-03  Andy Piper  <andyp@parallax.co.uk>
4043
4044         * config.h.in: name change for cygwin/version.h
4045
4046         * configure.in: check for cygwin/version.h now.
4047
4048         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4049         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4050         move cygwin32/version.h to cygwin/version.h
4051
4052 1998-11-03  Olivier Galibert  <galibert@pobox.com>
4053
4054         * lisp.h  (struct  Lisp_Bit_Vector): Fix declaration of  bits from
4055         int to long.
4056
4057 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
4058
4059         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4060         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4061         enable BROKEN_SIGIO under b20 to make QUIT work.
4062
4063 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
4064
4065         * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4066         to fit within the constraints of the screen size. I.e. make the
4067         frame small enough to fit and move it if some of it will be
4068         off-screen.
4069
4070 1998-10-19  Greg Klanderman  <greg@alphatech.com>
4071
4072         * dired.c: conditionalize inclusion of user-name-completion
4073         primitives on non-Windows NT.  The needed functions don't exist on NT.
4074
4075 1998-11-24  SL Baur  <steve@altair.xemacs.org>
4076
4077         * gifrlib.h: Clean up types for 64 bit compile.
4078         * dgif_lib.c (DGifInitRead): Ditto.
4079         (MakeSavedImage): Ditto.
4080         * emacs.c (decode_path): Ditto.
4081         From Steve Carney <carney@pa.dec.com>
4082
4083 1998-10-16  William M. Perry  <wmperry@aventail.com>
4084
4085         * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4086           (cehckboxes instead of checkboxes).
4087
4088 1998-10-15  SL Baur  <steve@altair.xemacs.org>
4089
4090         * XEmacs 21.2-beta3 is released.
4091
4092 1998-10-13  Raymond Toy  <toy@rtp.ericsson.se>
4093
4094         * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4095         gnuclient.  Otherwise, we run xemacs as we always did.  This gets
4096         rid of the annoying DOS window when running gnuclient.
4097
4098 1998-10-13  Andy Piper  <andyp@parallax.co.uk>
4099
4100         * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4101         HAVE_MS_WINDOWS typo.
4102
4103 1998-10-13  SL Baur  <steve@altair.xemacs.org>
4104
4105         * process-unix.c (unix_send_process): Set closed flag on writable
4106         pipe after SIGPIPE is received and before we call deactivate_process.
4107
4108 1998-10-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
4109
4110         * window.c (Fset_window_start): respect narrowing when
4111         checking wheter start is at the beginning of a line.
4112         (Fset_window_buffer): Ditto
4113         Fixes repeatable crash in VM.
4114
4115 1998-10-09  SL Baur  <steve@altair.xemacs.org>
4116
4117         * window.c (specifier_vars_of_window): Set default vertical
4118         divider width to 1 on ttys.
4119
4120 1998-10-08  Martin Buchholz  <martin@xemacs.org>
4121
4122         * alloc.c:
4123         * unexec.c:
4124         * malloc.c:
4125         Add <stddef.h> to get ptrdiff_t declaration
4126
4127 1998-10-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4128
4129         * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4130           is used for Motif or Lucid scrollbars under X.
4131
4132 1998-10-08  Pierre Wendling  <pw@ebc.vbe.dec.com>
4133
4134         * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4135         `configure'
4136
4137 1998-10-06  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
4138
4139         * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4140
4141 1998-10-05  Andy Piper  <andyp@parallax.co.uk>
4142
4143         * s/cygwin32.h: more cygwin b20 reorganisation.
4144
4145 1998-10-01  Raymond Toy  <toy@rtp.ericsson.se>
4146
4147         * nas.c: Added necessary support functions to be able to handle
4148         WAVE files in memory, just like the support for SND files in
4149         memory.
4150
4151 1998-09-30  SL Baur  <steve@altair.xemacs.org>
4152
4153         * callproc.c (child_setup): Fix spelling typo.
4154
4155 1998-09-29  SL Baur  <steve@altair.xemacs.org>
4156
4157         * XEmacs 21.2-beta2 is released.
4158
4159 1998-09-27  P. E. Jareth Hein  <jareth@camelot.co.jp>
4160
4161         * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4162         to prevent memory corruption in the case of jumping out of a series of
4163         nested match patterns. This is a rather brute force approach, though.
4164
4165 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
4166
4167         * config.h.in: ditto.
4168
4169         * s/cygwin32.h: rearrange declarations to cope with cygwin
4170         b20. Include cygwin32/version.h if it exists.
4171
4172 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4173
4174         * device-msw.c (mswindows_init_device): Call new
4175           mswindows_enumerate_fonts() function in objects-msw.c instead
4176           of font_enum_callback_1() to enumerate fonts.
4177
4178           font_enum_callback_1() and _2() moved to objects-msw.c.
4179
4180         * faces.c (complex_vars_of_faces): Make the mswindows default
4181           face font fully specified and provide some fallbacks.
4182
4183         * objects-msw.c: font_enum_callback_1() and _2() moved here
4184           from objects-msw.c. Obtain the enumerated font's character
4185           sets by table lookup instead of using the locale-specific
4186           string provided by Windows.
4187
4188           New public non-method mswindows_enumerate_fonts() that fills
4189           in the supplied mswindows device's font list.
4190
4191           mswindows_initialize_font_instance: Use the supplied name
4192           variable instead of f->name when signalling errors. Match font
4193           weights and character sets using lookup tables which handle
4194           spaces instead of by frobbing.
4195
4196 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4197
4198         * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4199           on the size of code fragments passed to run_in_other_process.
4200
4201           run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4202           the amount of memory to allocate in the other process.
4203
4204           Removed sigkill_code_end(), sigint_code_end() and
4205           sig_enable_code_end() since they are now redundant.
4206
4207           send_signal() and enable_child_signals(): Don't try to work
4208           out the end of the code fragments passed to
4209           run_in_other_process()
4210
4211 1998-09-10  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
4212
4213         * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4214         FreeBSD-current.
4215
4216         * src/unexelf.c: Partially synched with FSF's 20.3.
4217
4218 1998-09-10  Hrvoje Niksic  <hniksic@srce.hr>
4219
4220         * insdel.c (signal_after_change): Map across indirect buffers
4221         here, and not in the upper-level functions.
4222         (signal_first_change): Don't check for Armageddon.
4223         (signal_before_change): Map across indirect buffers here.
4224         (prepare_to_modify_buffer): ...and here.
4225
4226 1998-09-09  Hrvoje Niksic  <hniksic@srce.hr>
4227
4228         * insdel.c (signal_after_change): Add return value.
4229         (buffer_insert_string_1): Use it.
4230         (buffer_delete_range): Ditto.
4231         (buffer_replace_char): Ditto.
4232         (cancel_multiple_change): Map the indirect buffers.
4233
4234 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
4235
4236         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4237         (uninit_buffer_text): Ditto.
4238
4239         * buffer.c (Fmake_indirect_buffer): Implement stricter
4240         error-checking.
4241
4242 1998-09-04  Hrvoje Niksic  <hniksic@srce.hr>
4243
4244         * insdel.c (change_function_restore): Reverse order of
4245         function-call and assignment.
4246         (first_change_hook_restore): Ditto.
4247
4248         * extents.c (mark_extent_auxiliary): Mark them.
4249         (Fset_extent_property): Set them.
4250         (Fextent_property): Get them.
4251         (Fextent_properties): Ditto.
4252         (vars_of_extents): Set their default.
4253
4254         * extents.h (struct extent_auxiliary): Add before_change_functions
4255         and after_change_functions.
4256
4257         * insdel.c (signal_before_change): Use it.
4258         (signal_after_change): Ditto.
4259
4260         * extents.c (report_extent_modification): New function.
4261
4262         * insdel.c (signal_before_change): Don't check for Armageddon.
4263         (signal_after_change): Ditto.
4264
4265 1998-09-11  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4266
4267         * redisplay.c (redisplay_window): make sure a new starting point
4268         is chosen if it somehow got moved from the beginning of the line
4269         -- this can happen because Fwiden was called recently.
4270
4271         * window.c (Fset_window_start): set start_at_line_beg correctly
4272         (Fset_window_buffer): Ditto
4273
4274 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
4275
4276         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4277         (uninit_buffer_text): Ditto.
4278
4279         * buffer.c (Fmake_indirect_buffer): Implement stricter
4280         error-checking.
4281
4282 1998-05-14  Jan Vroonhof  <vroonhof@math.ethz.ch>
4283
4284         * emacs.c (main_1): Removed references to *vars_of_filelock.
4285
4286         * lisp.h: Added Fsystem_name.
4287
4288         * filelock.c: Replaced by version from FSF 20.2. Now implements
4289         locking by using symlinks which is NFS safe. However keep the
4290         GCPRO's in lock_file and the calls to callx_in_buffer like our old
4291         version (and of course use ansi C, acessor macros, etc).
4292
4293 1998-09-06  Jan Vroonhof  <vroonhof@math.ethz.ch>
4294
4295         * process-unix.c (unix_create_process): Reset SIGHUP handler to
4296         SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4297         in init_signals_very_early. However these should not be passed
4298         on to children attached to the new pty.
4299
4300 1998-08-28  Andy Piper  <andyp@parallax.co.uk>
4301
4302         * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4303
4304 1998-09-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4305
4306         * fileio.c (file-name-directory, file_name_as_directory):
4307           Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4308
4309 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
4310
4311         * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4312
4313         * ralloc.c: uncomment __morecore.
4314
4315 1998-09-92  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4316
4317         * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4318           WriteFile() to fix a winsock 1.x bug on Win95.
4319
4320 1998-08-28  Hrvoje Niksic  <hniksic@srce.hr>
4321
4322         * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4323         deleted.
4324         (x_event_to_emacs_event): Ditto.
4325         (emacs_Xt_handle_focus_event): Ditto.
4326         (emacs_Xt_handle_magic_event): Ditto.
4327
4328         * console-x.h (struct x_device): New flag being_deleted.
4329         (DEVICE_X_BEING_DELETED): New macro.
4330
4331         * device-x.c (x_IO_error_handler): Throw to top-level instead of
4332         returning.  Before doing that, set the being_deleted flag on the
4333         device.
4334
4335 1998-08-27  Hrvoje Niksic  <hniksic@srce.hr>
4336
4337         * device-x.c (x-seppuku-on-epipe): Removed.
4338
4339 1998-08-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4340
4341         * frame-x.c (x_delete_frame): Flush the X output buffer after
4342         calling XtDestroyWidget to ensure that the windows are really
4343         killed right now.
4344
4345 1998-08-26  Hrvoje Niksic  <hniksic@srce.hr>
4346
4347         * menubar-x.c (my_run_hook): New unused function.
4348         (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4349         since we ignore the results of the contained functions anyway.
4350
4351 1998-08-26  P. E. Jareth Hein  <jareth@camelot.co.jp>
4352
4353         * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4354         interlaced GIF files that are smaller than 4 lines high...
4355
4356 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
4357
4358         * buffer.c (map_over_sharing_buffers): Deleted.
4359
4360         * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4361
4362         * buffer.c (Fkill_buffer): Keep indirect_children updated while
4363         killing them.
4364
4365 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
4366
4367         * insdel.c (buffer_insert_string_1): Advance the point bytind in
4368         all the buffers.
4369         (buffer_delete_range): Ditto.
4370
4371         * marker.c (init_buffer_markers): Set point-marker to the value of
4372         point in an indirect buffer.
4373
4374 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
4375
4376         * undo.c (undo_prelude): Test last-undo-buffer against base
4377         buffer.
4378
4379         * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4380
4381         * buffer.h (BUFFER_BASE_BUFFER): New macro.
4382
4383 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
4384
4385         * insdel.c (init_buffer_text): Initialize it here.
4386
4387         * line-number.c: Address line_number_cache through buffer->text.
4388
4389         * buffer.c (mark_buffer): Mark line number cache.
4390
4391         * bufslots.h (line_number_cache): Move to struct buffer_text.
4392
4393         * insdel.c (buffer_insert_string_1): Propagate signals and changes
4394         across the children buffers.
4395         (buffer_delete_range): Ditto.
4396         (buffer_replace_char): Ditto.
4397         (gap_left): Ditto.
4398         (gap_right): Ditto.
4399
4400         * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4401
4402         * buffer.c (Fmake_indirect_buffer): Uncomment.
4403
4404 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
4405
4406         * macros.c (Fend_kbd_macro): Remove trailing period from error
4407         message.
4408         (Fexecute_kbd_macro): Ditto.
4409
4410 1998-08-21  Greg Klanderman  <greg@alphatech.com>
4411
4412         * dired.c (Fuser_name_completion): remove optional 2nd argument.
4413         (Fuser_name_completion_1): new function to return uniqueness
4414         indication in addition to the user name completion.
4415         (user_name_completion): change type of `uniq' argument.
4416
4417 1998-08-19  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4418
4419         * lread.c (vars_of_lread): Removed `source-directory' variable.
4420
4421 1998-08-22  Hrvoje Niksic  <hniksic@srce.hr>
4422
4423         * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4424         Cygwin.
4425
4426 1998-08-19  SL Baur  <steve@altair.xemacs.org>
4427
4428         * dired.c (vars_of_dired): Fix misapplied patch.
4429
4430 1998-08-16  Martin Buchholz  <martin@xemacs.org>
4431
4432         * fns.c (Fremrassq, remrassq_no_quit):
4433         A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4434
4435 1998-07-17  Didier Verna  <verna@inf.enst.fr>
4436
4437         * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4438         style as foreground GC for faces that have the `dim' property.
4439         (x_output_string): when the `dim' face property is set,
4440         ensure the gray pixmap has been created, and get a proper
4441         foreground GC to draw the text.
4442
4443 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4444
4445         * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4446           Manually track the state of the left and right Ctrl and Alt
4447           modifiers.
4448
4449 1998-08-07 Matt Stupple <matts@tibco.com>
4450
4451         * ntproc.c: don't wait on char_consumed at thread entry.
4452         Additionally, to get the 'process' marked as finished, ensure
4453         that the CHILD_ACTIVE macro returns false, so before exiting
4454         close char_avail and set it to NULL, and close other handles
4455         to reduce handle leak problems.
4456
4457 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4458
4459         * menubar-msw.c (displayable_menu_item): take account of menu
4460           depth when deciding whether to try to display accelerators.
4461
4462 1998-08-04  Andy Piper  <andyp@parallax.co.uk>
4463
4464         * event-msw.c: use MsgWaitForMultipleObjects if there are no
4465         subprocesses.
4466
4467         * glyphs-msw.c: fix a couple of potential handle leaks.
4468
4469 1998-08-04  P. E. Jareth Hein  <jareth@camelot.co.jp>
4470
4471         * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4472           *decoding ONLY* back into the core.
4473         * glyphs-eimage.c: Change referenced header file for GIF
4474           reading to point to the incore version.
4475
4476 1998-07-20  Martin Buchholz  <martin@xemacs.org>
4477
4478         * casefiddle.c (casify_object):
4479         Change algorithm from O(N**2) to O(N).
4480         Code cleanup.
4481         Doc string cleanup.
4482
4483 1998-07-22  Greg Klanderman  <greg@alphatech.com>
4484
4485         * dired.c (file_name_completion_unwind): don't leak the cons.
4486
4487 1998-07-20  Greg Klanderman  <greg@alphatech.com>
4488
4489         * dired.c (Fuser_name_completion): new function.
4490         (Fuser_name_all_completions): new function.
4491         (user_name_completion): new function.
4492         (syms_of_dired): 2 new DEFSUBRs.
4493         (vars_of_dired): initialize user name cache vars.
4494
4495 1998-07-29  P. E. Jareth Hein  <jareth@camelot.co.jp>
4496
4497         * glyphs-eimage.c (png_instantiate): Add proper handling for background
4498         colors taken from the default face.  Also correct a thinko in
4499         transparency (not alpha) handling.
4500
4501 1998-07-23  Martin Buchholz  <martin@xemacs.org>
4502
4503         * s/decosf4-0.h:  Use a perfectly ordinary link.  Nuke BSD crap.
4504         * unexalpha.c: ANSI C-ize.  Clean compiler warnings.
4505         * lread.c (Fload_internal):  Be very careful with printfs of
4506         size_t's
4507         * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4508         argument.
4509
4510 1998-07-27  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4511
4512         * callint.c (Fcall_interactively): GCPRO prompt string before
4513         passing it to Fread_key_sequence
4514
4515 1998-07-27  SL Baur  <steve@altair.xemacs.org>
4516
4517         * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4518         Vvertical_divider_map.
4519
4520         * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4521         Qnil or 0, none were initialized prior to this change.
4522
4523         Rename misnamed `V' prefixed integer variables:
4524         Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4525         Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4526         Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4527         Vcanna_ichiran_revLen.
4528
4529         Rename misnamed `V' prefixed integer variables and initialize
4530         properly in the vars_of routine.
4531         Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4532         Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4533         Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4534         Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4535         Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4536         Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4537         Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4538         Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4539         Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4540         Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4541         Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4542         Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4543         Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4544         Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4545         Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4546         Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4547         Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4548         Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4549         Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4550         Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4551         Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4552         Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4553         Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4554         Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4555         Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4556         Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4557         Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4558         Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4559         Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4560         Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4561         Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4562         Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4563         Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4564         Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4565         Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4566         Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4567         Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4568         Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4569         Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4570         Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4571         Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4572         Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4573         Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4574         Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4575         Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4576         Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4577
4578 1998-07-16  Jan Vroonhof  <vroonhof@math.ethz.ch>
4579
4580         * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4581         (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4582         keys thus no longer considering all keysyms on a key.
4583
4584 1998-07-19  SL Baur  <steve@altair.xemacs.org>
4585
4586         * XEmacs 21.2-beta1 is released.
4587
4588 1998-07-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
4589
4590         * eldap.c (Fldap_search_internal): When converting the list of
4591         attributes to search Copy the final 0 from Lisp strings to C
4592         strings.
4593         Check base, not Vldap_default_base as a a string
4594
4595 1998-07-13  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4596
4597         * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4598
4599         * unexnt.c: Unconditionally define bss_start and bss_size, and
4600           ensure that they don't go in the .bss section.
4601
4602 1998-07-17  Olivier Galibert  <galibert@pobox.com>
4603
4604         * glyphs-x.c (convert_EImage_to_XImage):  Fix previous patch (conv
4605         byte order is dependant  of  the local  byte order).
4606         From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4607
4608 1998-07-18  SL Baur  <steve@altair.xemacs.org>
4609
4610         * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4611         Qmswindows_resource.
4612         From Jonathan Harris <jhar@tardis.ed.ac.uk>
4613
4614 1998-07-12  SL Baur  <steve@altair.xemacs.org>
4615
4616         * general.c (syms_of_general): Add defsymbol for Qresource.
4617
4618         * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4619         Qmswindows_resource.
4620         (TopLevel): Rename 'resource image format to 'mswindows_resource.
4621         (mswindows_resource_validate): Rename.
4622         (mswindows_resource_normalize): Rename.
4623         (mswindows_resource_possible_dest_types): Rename.
4624         (mswindows_resource_instantiate): Rename.
4625         (image_instantiator_format_create_glyphs_mswindows): Replace
4626         `resource' with `mswindows.resource'.
4627
4628         * XEmacs 21.0-pre5 is released.
4629
4630 1998-07-10  SL Baur  <steve@altair.xemacs.org>
4631
4632         * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4633         server type in environment.
4634         Use alloca-ed strings instead of tiny fixed size ones.
4635
4636 1998-07-09  SL Baur  <steve@altair.xemacs.org>
4637
4638         * XEmacs 21.0-pre4 is released.
4639
4640 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
4641
4642         * fileio.c: (expand_file_name): under win32: Don't treat names
4643         as UNC names if a drive letter has been specified.  If a drive
4644         has been specified, strip out extra directory-seperators that
4645         reportedly cause problems under Win95.
4646
4647 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4648
4649         * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4650           MSVC >= 5.0. Put emacs init and zero-init data in a special
4651           section of the executable when this is defined.
4652
4653         * unexnt.c, ntheap.h:
4654           Removed unused find_section() and get_section_size().
4655
4656         * unexnt.c:
4657           Fix up the executable's checksum after dumping otherwise the
4658           profiler complains.
4659           When DUMP_SEPARATE_SECTION is defined, don't need to dump
4660           zero-init data separately from init data. Dump emacs data
4661           into a special section of the executable.
4662           When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4663           my_ebss instead of up to the end of bss.
4664
4665 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4666
4667         * filelock.c: Removed Vconfigure_lock_directory - already
4668           defined in emacs.c.
4669
4670         * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
4671           defined in frame.c and general.c respectively.
4672
4673         * glyphs-msw.c: Removed Qresource - already defined in
4674           general.c.
4675
4676 1998-07-05  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
4677
4678         * eldap.c (Fldap_search_internal): Docstring fixes
4679
4680 1998-07-04  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4681
4682         * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
4683           EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
4684           EMACSPACKAGEPATH and INFOPATH variables.
4685           Removed unused get_emacs_configuration function.
4686
4687         * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
4688           it is now defined at build-time by the makefile.
4689
4690 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
4691
4692         * fileio.c: (expand_file_name): under win32: Don't treat names as
4693         UNC names if a drive letter has been specified.  If a drive has
4694         been specified, strip out extra directory-seperators that
4695         reportedly cause problems under Win95.
4696
4697 1998-07-05  Andy Piper  <andyp@parallax.co.uk>
4698
4699         * faces.c (complex_vars_of_faces): for the gui-element face don't
4700         fallback to the default face, instead provide reasonable default
4701         fallbacks that were previously hardcoded elsewhere.
4702
4703 1998-07-06  Olivier Galibert  <galibert@pobox.com>
4704
4705         * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
4706         when the X server endianness is different than the client's one.
4707
4708 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
4709
4710         * eval.c (run_hook_with_args_in_buffer): Check
4711           default (non-buffer-local) value of hook for
4712           nil before treating it as a function.  Don't initialize
4713           the `globals' variable twice.
4714
4715 1998-06-24  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4716
4717         * fileio.c: Don't do directory seperator canonicalisation in
4718           substitute-in-file-name because we don't know that the
4719           filename refers to a local file.
4720
4721 1998-06-24  Adrian Aichner  <aichner@ecf.teradyne.com>
4722
4723         * process-nt.c (nt_create_process): Try appending the standard
4724           executable file extensions to the filename if none supplied.
4725
4726 1998-06-29  SL Baur  <steve@altair.xemacs.org>
4727
4728         * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
4729         for cygwin32.
4730         From Keisuke Mori <ksk@ntts.com>
4731
4732 1998-06-24  Andy Piper  <andyp@parallax.co.uk>
4733
4734         * toolbar-msw.c (mswindows_output_toolbar): only enable masked
4735         images if we have masks. This handles the xbm case (have masks)
4736         and avoids overuse of resources in the xpm case (generally no masks).
4737         Don't output small toolbars.
4738
4739 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
4740
4741         * eval.c (run_hook_with_args_in_buffer): Don't treat
4742           the default value of a buffer local hook as a list of
4743           hooks unless it is both a cons and the car of that cons
4744           is not Qlambda.
4745
4746 1998-06-29  SL Baur  <steve@altair.xemacs.org>
4747
4748         * extents.c: Email address for Ben Wing is ben@xemacs.org.
4749         * process-unix.c: Ditto.
4750         * mule-coding.h: Ditto.
4751         * mule-coding.c: Ditto.
4752         * mule-charset.c: Ditto.
4753         * mule-charset.h: Ditto.
4754         * file-coding.c: Ditto.
4755         * file-coding.h: Ditto.
4756
4757 1998-06-22  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4758
4759         * event-msw.c: Guard against recursion when freeing
4760           FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
4761
4762         * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
4763           Call ShowWindow twice in init_frame_3 to get round runemacs
4764           weirdness.
4765
4766 1998-06-27  Hrvoje Niksic  <hniksic@srce.hr>
4767
4768         * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
4769
4770         * winslots.h: Rename.
4771
4772         * window.c (specifier_vars_of_window): Renamed
4773         vertical-divider-draggable-p to vertical-divider-always-visible-p,
4774         as suggested by Ben Wing.
4775         (specifier_vars_of_window): Fix docstrings.
4776
4777 1998-06-22  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4778
4779         * unexaix.c: Line number information works correctly again.
4780
4781 1998-06-22  Olivier Galibert  <galibert@pobox.com>
4782
4783         * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
4784
4785 1998-06-21  Martin Buchholz  <martin@xemacs.org>
4786
4787         * editfns.c (get_home_directory): ANSIfy.
4788         XEmacs is compilable under C *and* C++.
4789         It's XEmacs, not Xemacs!
4790
4791 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4792
4793         * console-msw.h: added a list of fonts to device data.
4794
4795         * device-msw.c: enumerate list of available fonts in
4796           mswindows_init_device. Free list in mswindows_delete_device.
4797
4798         * objects-msw.c: Added helper function match_font used by
4799           mswindows_initialize_font_instance and mswindows_list_fonts.
4800           Allow a charset to be specified in a font string, even if
4801           previous fields havn't been specified.
4802
4803 1998-06-23  Greg Klanderman  <greg@alphatech.com>
4804
4805         * indent.c (column_at_point): column cache bugfix.
4806         Set last_known_column_point to the buffer position for
4807         which the column was requested, not buffer's point.
4808
4809         * redisplay.c (decode_mode_spec): for current-column, show
4810         window's point's column, not buffer's point's column.
4811
4812 1998-06-23  Andy Piper  <andyp@parallax.co.uk>
4813
4814         * menubar-msw.c (mswindows_handle_wm_command): use
4815         enqueue_misc_user event rather than
4816         mswindows_enqueue_msic_user_event to fix customize problems. Add some
4817         checks that X does.
4818
4819         * console-msw.h: declare mswindows_enqueue_magic_event.
4820
4821         * event-msw.c (mswindows_enqueue_magic_event): make global.
4822
4823 1998-06-24  Hrvoje Niksic  <hniksic@srce.hr>
4824
4825         * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
4826         (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
4827         (add_position_to_cache): Use EMACS_INT instead of int.
4828
4829 1998-06-21  Olivier Galibert  <galibert@pobox.com>
4830
4831         * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
4832         suitable for an int used as a boolean (btw, C sucks.).
4833
4834 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
4835
4836         * object-msw.c: remove warnings.
4837
4838         * device-msw.c: #define wrongly named cygwin structure elements.
4839
4840         * s/cygwin32.h: define DEMI_BOLD
4841
4842 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4843
4844         * redisplay-msw.c: new function mswindows_apply_face_effects.
4845           This is called by output_string and output_cursor to display
4846           underline and strikeout on faces.
4847
4848 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4849
4850         * console-msw.h: added a list of fonts to device data.
4851
4852         * device-msw.c: enumerate list of available fonts in
4853           mswindows_init_device. Free list in mswindows_delete_device.
4854
4855         * objects-msw.c: Added helper function match_font used by
4856           mswindows_initialize_font_instance and mswindows_list_fonts.
4857           Allow a charset to be specified in a font string, even if
4858           previous fields havn't been specified.
4859
4860 1998-06-15  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4861
4862         * objects-msw.c:
4863           Removed compilation warnings from mswindows_string_to_color.
4864           mswindows_list_fonts returns a more general bogus font.
4865           New lisp-visible function mswindows-color-list.
4866
4867 1998-06-19  David Bush <david.bush@adn.alcatel.com>
4868
4869         * editfns.c (Fuser_login_name): Modify to user new function
4870         user_login_name.
4871         (user_login_name): C only function to avoid Lisp object overhead
4872         Returns "unknown" instead of nil in Cygwin environment
4873
4874         * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
4875         equivalent for current user in Cygwin environment. Use new
4876         function user_login_name to get username.
4877
4878         * lisp.h: Declare user_login_name
4879
4880 1998-06-18  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4881
4882         * unexaix.c (make_hdr): Fixed bias computations so debugging info
4883         works again.
4884         Some other insignificant nitpicks.
4885
4886 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
4887
4888         * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
4889         creating the image list and make sure he bk color is transparent.
4890
4891 1998-06-18  Jan Vroonhof  <vroonhof@math.ethz.ch>
4892
4893         * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
4894         completed_timeouts. The timer could have expired.
4895
4896 1998-06-17  Andy Piper  <andyp@parallax.co.uk>
4897
4898         * console-msw.h: move XEMACS_RECT_WH inside frame
4899         parameters. define macors to access it.
4900
4901         * frame-msw.c (mswindows_init_frame_1): use new target_rect
4902         parameter to intialise desired sizing. (mswindows_init_frame_2):
4903         enable and size the frame to something sensible when we get
4904         here. (mswindows_set_frame_properites): use new
4905         mswindows_size_frame_internal function and size frame if frame
4906         parameters not just if init is finished - WM_SIZE happens too
4907         early for some specs. (mswindows_size_frame_internal): new
4908         function abstracted from mswindows_set_frame_properties.
4909         (Vmswindows_use_system_frame_size_defaults):
4910         new variable controls whether to allow the system to pick frame
4911         size defaults, defaults to nil.
4912
4913         * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
4914         than duplicated code.
4915
4916 1998-06-15  Colin Rafferty <colin@xemacs.org>
4917
4918         * Makefile.in.in: Made EXTW_LINK expand properly.
4919
4920 1998-06-12  Martin Buchholz  <martin@xemacs.org>
4921
4922         * redisplay.c (vars_of_redisplay): default value of
4923         column-number-start-at-one should be NIL!
4924
4925 1998-06-11  Martin Buchholz  <martin@xemacs.org>
4926
4927         * casefiddle.c:
4928         (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
4929
4930 1998-06-05  Hrvoje Niksic  <hniksic@srce.hr>
4931
4932         * eldap.c (Fldap_search_internal): Use build_ext_string instead of
4933         build_string to avoid crashes under Mule.
4934
4935 1998-06-13  Andy Piper  <andyp@parallax.co.uk>
4936
4937         * ntplay.c (play_sound_data_1): don't delete the sound data until
4938         the next sound is played and the previous one finished.
4939
4940 1998-06-10  Samuel Mikes  <smikes@alumni.hmc.edu>
4941
4942         * fileio.c (directory-sep-char): Escape backslashes.
4943
4944 1998-06-10  Hrvoje Niksic  <hniksic@srce.hr>
4945
4946         * event-stream.c: Fix docstring reference.
4947
4948 1998-06-12  Hrvoje Niksic  <hniksic@srce.hr>
4949
4950         * alloc.c (make_float): Remove useless initialization of `next'
4951         field.
4952         (make_pure_float): Ditto.
4953
4954         * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
4955
4956 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
4957
4958         * fileio.c (Fmake_directory_internal): Remove conditionals
4959         on WINDOWSNT when calling mkdir.
4960
4961         * ntproc.c: Deleted the following unused functions:
4962         register_child, reap_subprocess, sys_wait.
4963
4964         * nt.c (sys_rename): Ifzeroed this implementation.
4965         Deleted the following unused functions:
4966         sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
4967         sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
4968         sys_read, sys_write.
4969         Merger sys_fopen and sys_open with sysdep.c implementation.
4970
4971         * sysdep.c: Removed MS-DOS code.
4972         (sys_rename): Deal with Microsoft rename weirdness.
4973         (sys_open): Implemented for Windows.
4974         (sys_fopen): Ditto.
4975         (sys_mkdir): Ditto.
4976
4977 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
4978
4979         * buffer.c (complex_vars_of_buffer): Removed %t description from
4980         the docstring.
4981
4982 1998-06-04  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
4983
4984         * scrollbar-msw.c: initialize the cbSize element of the
4985         SCROLLINFO struct before calling SetScrollInfo. WinNT seems
4986         to ignore the value of cbSize, but Win95 (and I presume Win98)
4987         appear to want it set to sizeof(SCROLLINFO).
4988
4989 1998-06-04  Kirill M. Katsnelson  <kkm@kis.ru>
4990
4991         * event-stream.c: Defined Qcancel_mode_internal.
4992         (syms_of_event_stream): defsymbol'ed it.
4993
4994         * events.h: Externed it.
4995
4996         * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
4997
4998 1998-06-04  Oliver Graf <ograf@fga.de>
4999
5000         * frame-x.c (x_cde_destroy_callback): free the data
5001         (cde-start-drag-internal) corrected root position, 21.1 needs this
5002         hardcoded in Button events
5003         (offix-start-drag-internal) corrected root position
5004
5005 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
5006
5007         * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5008         instead of error().
5009
5010 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
5011
5012         * dialog-msw.c (button_width): Removed `inline' from the function
5013         declaration.
5014
5015 1998-06-03  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
5016
5017         * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5018         Note that adding this flag to subsequent frames causes problems.
5019
5020 1998-06-03  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5021
5022         * glyphs-eimage.c (png_instantiate) move 'struct
5023         png_memory_storage tbr' out of nested block to avoid dangling
5024         reference
5025
5026 1998-06-02  Andy Piper  <andyp@parallax.co.uk>
5027
5028         * faces.h:
5029         * faces.c: rename 3d-object -> gui-element. add toolbar face which
5030         inherits from gui-element.
5031
5032         * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5033         with existing code, generate masks correctly.
5034
5035 1998-06-03  P. E. Jareth Hein  <jareth@camelot-soft.com>
5036
5037         * glyphs-eimage.c: Changed included header for gifs to use
5038         Gifreader instead of giflib.
5039
5040         * glyphs-x.c: removed the image-related functions that were
5041         moved into glyphs-eimage.
5042
5043 1998-06-02  David Bush  <david.bush@adnb.alcatel.com>
5044
5045         * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5046         if built without X Windows support.
5047
5048 1998-06-02  Hrvoje Niksic  <hniksic@srce.hr>
5049
5050         * fns.c (Fconcat): Synch docstring with new reality.
5051
5052 1998-06-03  SL Baur  <steve@altair.xemacs.org>
5053
5054         * frame.c: Remove reference to msdos.h (which is going away).
5055         Suggested by Hrvoje Niksic and Kirill Katsnelson.
5056
5057 1998-06-02  P. E. Jareth Hein  <jareth@camelot-soft.com>
5058
5059         * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5060         grayscale images/
5061
5062
5063 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5064
5065         * events.h: Fixed commentary about misc-user scrollbar events.
5066
5067         * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5068         object as an event channel, instead of window object.
5069         (x_update_horizontal_scrollbar_callback): Ditto.
5070
5071 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
5072
5073         * ntplay.c (play_sound_data_1) new function. convert alloca data
5074         to malloc if necessary.
5075         (play_sound_file): if the file is not in our path then convert to
5076         data and play.
5077
5078 1998-06-01  SL Baur  <steve@altair.xemacs.org>
5079
5080         * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5081         * msdos.c (Frecent_doskeys): Ditto.
5082
5083         * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5084         Suggested by Reggie Perry <perry@zso.dec.com>
5085
5086         * buffer.h: Eliminate size in declaration.
5087
5088 1998-06-01  Olivier Galibert  <galibert@pobox.com>
5089
5090         * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5091
5092 1998-06-01  Kirill M. Katsnelson  <kkm@kis.ru>
5093
5094         * gui.c (gui_item_init): Changed the default value for config member
5095         from Qunbound to Qnil.
5096
5097 1998-06-01  Greg Klanderman  <greg@alphatech.com>
5098
5099         * indent.c (vmotion_pixels): Don't #define abs().
5100
5101 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5102
5103         * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5104         respectively.
5105
5106 1998-05-30  Andy Piper  <andyp@parallax.co.uk>
5107
5108         * glyphs.h: add xbm declarations.
5109
5110         * console.h: add xbm_instantiate_method device method.
5111
5112         * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5113         (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5114         (xbm_possible_dest_types): moved here from glyphs-x.c. use
5115         locate_pixmap_file device method and read_bitmap_data_from_file
5116         instead of XmuReadBitmapDataFromFile.
5117         (xbm_instatntiate): make a device method.
5118
5119         * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5120         new function that just calls XmuReadBitmapDataFromFile.
5121         (x_xbm_instatntiate): device method from xbm_instantiate.
5122
5123         * glyphs-msw.c (read_bitmap_data) (NextInt)
5124         (read_bitmap_data_from_file): new functions copied from Xmu
5125         sources.
5126         (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5127         inline data to an mswindows bitmap.
5128         (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5129         (mswindows_xbm_instantiate): mswindows-ized versions of the X
5130         functions.
5131
5132 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5133
5134         * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5135         `modeline-visible-p'.
5136         Declared specifier lisp variables at the beginning oh the file
5137         as static.
5138
5139         * procimpl.h (struct process_methods): Changed semantics of
5140         create_process method so it accepts lisp strings instead of
5141         char pointers.
5142
5143         * process.c (Fstart_process_internal): Moved building of
5144         unix style argv from here to process-unix.c, ...
5145
5146         * process-unix.c (unix_create_process): ... right here.
5147
5148         * process-nt.c (nt_create_process): Changed this function to
5149         support new semantics, so avoided a GC problem.
5150
5151         * events.c (Fmake_event): Document misc-user events properties.
5152         (Fmake_event): Do not allow arbitrary objects for channel property
5153         of misc-user events.
5154         (Fmake_event): Change misc-user event validation: it is function
5155         which is required, not button.
5156
5157         * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5158         user events.
5159         (mswindows_enqueue_misc_user_event): Added function.
5160         (mswindows_bump_queue): Removed function.
5161         (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5162         (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5163         (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5164         (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5165         really nothing, which is my personal favorite thing.
5166
5167         * console-msw.h: Removed prototype for mswindows_bump_queue().
5168         Added prototype for mswindows_enqueue_misc_user_event().
5169
5170         * menubar-msw.c (mswindows_handle_wm_command): Use
5171         mswindows_enqueue_misc_user_event().
5172
5173         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5174
5175         * dialog-msw.c (dialog_proc): Ditto.
5176
5177         * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5178          (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5179         user events channel.
5180
5181 1998-05-29  Greg Klanderman  <greg@alphatech.com>
5182
5183         * window.c (Fwindow_displayed_text_pixel_height): was relying on
5184         incorrect semantics of vmotion_pixels which has been fixed.  don't
5185         use it anymore as it can't easily be used.
5186
5187         * indent.c (vmotion_pixels): fix off by one bug moving up.  also
5188         the motion was reported incorrectly if you tried to go past end of
5189         buffer.
5190
5191 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5192
5193         * toolbar.h: Removed misleading commentary, as Martin suggested.
5194
5195 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5196
5197         * lisp.h: Extern Qactivate_menubar_hook.
5198
5199         * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5200         run_hook ().
5201
5202 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
5203
5204         * glyphs-msw.c: use BPLINE macro.
5205
5206         * select-msw.c (mswindows-selection-exists-p)
5207         (mswindows-delete-selection): doc string fixes.
5208
5209         * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5210         unpressable. warning elimination.
5211
5212 1998-05-28  Martin Buchholz  <martin@xemacs.org>
5213
5214         * alloc.c (dbg_constants):
5215         * dbxrc:
5216         * gdbinit:
5217         Remove toolbar_data debugging code, since that lrecord has
5218         also been removed.
5219
5220 Wed May 27, 1998  Darryl Okahata  <darrylo@sr.hp.com>
5221
5222         * alloc.c: zap cached value of (user-home-directory), so that
5223           it's not undumped.
5224
5225         * buffer.c: From init_buffer(), separated out code that
5226           determined the initial directory for the *scratch* buffer, and
5227           put them into a function called "init_initial_directory()".
5228           The initial directory is now available as a global "char *"
5229           called initial_directory.
5230
5231         * buffer.h: Added extern entries for initial_directory[] and
5232           init_initial_directory().
5233
5234         * editfns.c: added new elisp function "user-home-directory",
5235         which basically returns getenv("HOME"), but attempts to use
5236         other values if $HOME isn't set.This may have to be tweaked in
5237         the future as, under Unix, "/" is used if $HOME isn't set (this
5238         probably should be set to the current directory).  To support
5239         this, a new C function, "get_home_directory()", now exists,
5240         which returns the "home directory", as a "char *" string.
5241
5242         * emacs.c: Rearrange NT initialization order so that
5243         environment/registry variables will be properly entered into
5244         Vprocess_enviroment.
5245
5246         * fileio.c: replaced egetenv("HOME") with calls to the new
5247           get_home_directory().
5248
5249         * lisp.h: Added function prototypes for uncache_home_directory()
5250           and get_home_directory(), along with lisp prototypes for
5251           Fuser_home_directory() and friends.
5252
5253         * nt.c: replaced getenv("HOME") with calls to the new
5254           get_home_directory().
5255
5256         * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5257           warnings about getcwd(), etc. not having prototypes.
5258
5259 1998-05-28  Kirill M. Katsnelson  <kkm@kis.ru>
5260
5261         * process-nt.c (send_signal): Emulate SIGHUP.
5262         (validate_signal_number): Ditto.
5263
5264         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5265         remove MOD_SHIFT from ASCII characters.
5266         (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5267         F10 is pressed.
5268
5269 1998-05-24  Oliver Graf <ograf@fga.de>
5270
5271         * frame-x.c (cde-start-drag-internal): added filename and multi-
5272         data transfers
5273         (x_cde_convert_callback) dito
5274
5275 1998-05-26  Oliver Graf <ograf@fga.de>
5276
5277         * frame-x.c: include event-mod.h also with CDE
5278         (x_cde_convert_callback) made the thing working
5279         (cde-start-drag-internal) also debugging
5280
5281 1998-05-25  Hans Guenter Weigand  <hgweigand@wiesbaden.netsurf.de>
5282
5283         * m/sparc.h:
5284         * getloadavg.c:
5285         * malloc.c:
5286         * unexec.c:
5287         * mem-limits.h:
5288           - add __OpenBSD__ where __NetBSD__ was found.
5289           - TODO: replace platform-specific conditional compilation by
5290             feature tests in configure.in.
5291
5292 1998-05-15  Greg Klanderman  <greg@alphatech.com>
5293
5294         * window.c (Fwindow_displayed_text_pixel_height): New function.
5295         (syms_of_window): DEFSUBR it.
5296
5297         * indent.c (Fvertical_motion_pixels): New function - request
5298         movement in pixels.
5299         (vmotion_pixels): helper.
5300         (syms_of_indent): DEFSUBR.
5301         * lisp.h: declaration for vmotion_pixels().
5302
5303         * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5304         to request returning motion in pixels.
5305         (Fvertical_motion_pixels): Remove, functionality merged into
5306         Fvertical_motion.
5307         * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5308         (Fmove_to_window_line): ditto.
5309         * lisp.h: Change declaration for Fvertical_motion.
5310
5311         * window.c: rename window-text-pixel-{height,width,edges} to
5312         window-text-area-pixel-*.
5313
5314 1998-05-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5315
5316         * tooltalk.c (vars_of_tooltalk) added staticpro for
5317         Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5318
5319 1998-05-27  Andy Piper  <andyp@parallax.co.uk>
5320
5321         * faces.c: create a new 3d_object_face, make modeline and
5322         vertical_divider faces fallback to this rather than the default.
5323
5324 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
5325
5326         * s/cygwin32.h: define charsets for cygwin.
5327
5328 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
5329
5330         * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5331         and coordinates. resize bitmaps if we have already settled on a
5332         different size.
5333
5334         * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5335
5336 1998-05-25  Hrvoje Niksic  <hniksic@srce.hr>
5337
5338         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5339
5340         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5341
5342         * gui.h: Ditto.
5343
5344         * gui-x.c (popup_selection_callback): Ditto.
5345
5346         * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5347
5348         * gui.c (get_callback): Renamed to get_gui_callback.
5349
5350 1998-05-17  Martin Buchholz  <martin@xemacs.org>
5351
5352         * glyphs.h: order rearrangement.
5353
5354         * device-tty.c (tty_asynch_device_change): Warning suppression.
5355         * device-x.c (x_device_system_metrics): Warning suppression.
5356         Make Doc strings consistent with coding standards.
5357
5358 1998-05-24  Martin Buchholz  <martin@xemacs.org>
5359
5360         * general.c: multiple definition of `Qicon'.  general.c seems
5361           like a good home for Qicon.
5362
5363 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
5364
5365         * This patch is to fix compilation warnings under Windows.
5366
5367         * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5368         Added prototypes for FSF inherited functions, with which XEmacs is
5369         sprinkled thoroughly.
5370         Removed some #if 0 code. Bracketed some more definitions, probably
5371         related to Visual C versions prior to 4 (we do not support them).
5372
5373         * sysfloat.h (logb): Finally, get logb() prototyped.
5374
5375         * sysfile.h: Added Windows specific includes.
5376         Removed old Windows specific code bracketed with #if 0.
5377
5378         * sysdep.h: Added prototype for xrealpath().
5379
5380         * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5381
5382         * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5383         vars_of_dired_mswindows and init_ntproc (Grrr).
5384
5385         * realpath.c: Added Windows specific include files.
5386         (xrealpath): Conditionalized declaration of some auto variables on
5387         S_IFLNK, to avoid warnings.
5388
5389         * ntproc.c: Disabled some compiler warnings. This file is going to
5390         die, so I have not cleaned it up much.
5391         (set_process_dir): Const parameter.
5392         (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5393         (Fwin32_long_file_name): Ditto.
5394         (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5395         three functions?
5396
5397         * nt.h: Added prototypes for set_process_dir and convert_time.
5398
5399         * nt.c: More include files.
5400         (getpwnam): Consted char* argument.
5401         (get_emacs_configuration): Const return value.
5402         (opendir): Const argument.
5403         (stat): Casted converstion long->short.
5404         (stat): Removed ad hoc and questionable support for non-MSC compile.
5405         (sys_pipe): Removed unused auto variable.
5406         (_sys_read_ahead): Removed calls to DebPrint.
5407         (sys_read): Ditto, in 2 places.
5408         (term_ntproc): Added unused int parameter to signal handler, to
5409         avoid a warning when compiling a call to signal().
5410         (msw_sigset): Properly return old signandler or NULL instead of void.
5411
5412         * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5413
5414         * gmalloc.c (morecore): Ditto.
5415         (_free_internal): Ditto.
5416
5417         * lread.c (parse_integer): Ditto.
5418
5419         * dired-msw.c: Added several include files.
5420
5421         * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5422         of Compilers to Shut Up.
5423
5424         * callproc.c: Added #includes to suppress warnings under Windows.
5425         (init_callproc): Removed #if0'ed code and unused variables.
5426
5427 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
5428
5429         * device-msw.c (mswindows_device_system_metrics): do planes in a
5430         way consistent with X.
5431
5432         * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5433         use SetPixel, use DIBits functions.
5434         (xpm_to_eimage): frob colors more closely like xpm deos.
5435
5436         * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5437         to be closer to X version.
5438
5439         * event-msw.c: use tooltip string directly.
5440
5441         * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5442
5443         * objects-msw.c: frob rgb colors that only Kyle uses.
5444
5445         * dialog-msw.c (button_width): INLINE -> inline.
5446
5447 1998-05-23  SL Baur  <steve@altair.xemacs.org>
5448
5449         * getloadavg.c (getloadavg): Fix typo.
5450
5451 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
5452
5453         * objects-msw.c (mswindows_initialize_font_instance): Added support
5454         for font character sets.
5455         Replaced 'XXX' with '####' in comments throughout the file.
5456
5457 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
5458
5459         * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5460         console_type_create_dialog_mswindows(), to initialize Windows dialog
5461         support.
5462
5463         * symsinit.h: Prototyped the above functions.
5464
5465         * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5466         checks to dialog.c...
5467
5468         * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5469         device must support dialog boxes, and the descriptor must supply at
5470         least one button.
5471
5472         * dialog-msw.c: New file, dialogs for Windows.
5473
5474 1998-05-21  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
5475
5476         * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5477         (Fldap_search_internal): Removed unused variable `err'
5478
5479         * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5480         forward declaration
5481
5482 1998-05-17  Martin Buchholz  <martin@xemacs.org>
5483
5484         * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5485         defined.  Therefore there is no need to handle the case when
5486         HAVE_LDAP is undefined.  Similarily, there is no reason to have
5487         any code wrapped within `#ifdef emacs', since this code is only
5488         useful within an emacs.  This simplifies the code significantly.
5489
5490         * inline.c: Include eldap.h only if HAVE_LDAP.
5491         * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5492         already does that.
5493
5494 1998-05-21  Kirill M. Katsnelson  <kkm@kis.ru>
5495
5496         * unexnt.c (copy_executable_and_dump_data_section): Suppress
5497         printing dump stats when building without DEBUG_XEMACS.
5498         (dump_bss_and_heap): Ditto.
5499
5500 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
5501
5502         * gnuclient.c: don't suppress window system if there is no display
5503         and we are running under mswindows. send 'mswindows device type if
5504         we are in this situation.
5505
5506 1998-05-20  Andy Piper  <andyp@parallax.co.uk>
5507
5508         * general.c:
5509         * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5510
5511         * glyphs-msw.c: change cursor imgae type name to resource. Fix
5512         some nits.
5513
5514 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
5515
5516         * EmacsFrame.c (Xt_StringToScrollBarPlacement):  Added support for
5517         {top,bottom}-{left,right} values in addition to
5518         {top,bottom}_{left,right}.
5519
5520 1998-05-18  Hrvoje Niksic  <hniksic@srce.hr>
5521
5522         * fileio.c (Fmake_temp_name): Remove unreached code.
5523
5524         * process-nt.c (validate_signal_number): Use
5525         signal_simple_error().
5526
5527 1998-05-19  Martin Buchholz  <martin@xemacs.org>
5528
5529         * unexhp9k800.c:
5530         * sound.c (vars_of_sound):
5531         * sysdep.c (reset_sigio_on_device):
5532         * window.c (window_bottom_gutter_height):
5533         unexhp9k800.c:258: warning: implicit declaration of function
5534         `calculate_checksum'
5535         sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5536         sysdep.c:1012: warning: unused variable `owner'
5537         window.c:993: warning: `window_right_toolbar_width' defined but not used
5538
5539 1998-05-19  Andy Piper  <andyp@parallax.co.uk>
5540
5541         * glyphs-msw.c (mswindows_create_resized_mask)
5542         (mswindows_create_resized_bitmap): new funnctions split out from
5543         mswindows_resize_dibitmap_instance.
5544
5545         * glyphs-msw.h: declare new resize functions.
5546
5547         * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5548         functions so that the original bitmaps are preserved.
5549
5550         * sheap.c: fixup static heap exhausted error to avoid FAQs.
5551
5552         * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5553         color if we are trying to output 0 depth bg pixmap.
5554
5555         * scrollbar-msw.c: warning elimination.
5556
5557 1998-05-18  Martin Buchholz  <martin@xemacs.org>
5558
5559         * frame-x.c (x_update_frame_external_traits): Start preprocessor
5560         directives in column 1.
5561
5562         * search.c (skip_chars): Avoid using xzero with arrays, since some
5563         compilers get confused by the construct &array.
5564
5565 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
5566
5567         * objects-msw.h:
5568         * objects-msw.c: Changed the charset value for a new font from
5569         "don't care" to "ansi".
5570
5571         * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5572
5573 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
5574
5575         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5576         modifier on control chars.
5577         Use IsCharAlpha() instead of isaplha().
5578
5579 1998-05-19  Kazuyuki IENAGA <ienaga@jsys.co.jp>
5580
5581         * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5582
5583 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
5584
5585         * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5586         charset when creating font.
5587         (mswindows_initialize_color_instance): Do not create brush along
5588         with a color.
5589         (mswindows_finalize_color_instance): Do not delete it then.
5590
5591         * objects-msw.h (struct mswindows_color_instance_data): Removed
5592         brush slot, and corresponding accessor macro.
5593
5594 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
5595
5596         * toolbar.c: Removed toolbar_data lrecord implementation.
5597         (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5598         with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5599         (compute_frame_toolbar_buttons): Ditto.
5600         (CHECK_TOOLBAR): Ditto.
5601         (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5602         (update_frame_toolbars): Do not check for changed buffer
5603         here. Toolbar information is provided by cached specs in
5604         windows. The check for buffer is eliminated becuase toolbars are
5605         marked changed in set_frame_selected_window() in frame.c
5606         Added check for changed toolbars geometry.
5607         (compute_frame_toolbars_data): Removed unused second parameter;
5608         Adjusted callers of this static function throughout the file.
5609         (init_frame_toolbars): Initialize current_toolbar_size.
5610         (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5611         what is its current expansion, for clarity.
5612         (init_frame_toolbars): Ditto.
5613         (init_device_toolbars): Ditto.
5614         (init_global_toolbars): Ditto.
5615
5616         * toolbar.h: Removed definition of toolbar_data lrecord.
5617         Added accessor macros FRAME_TOOLBAR_BUTTONS and
5618         FRAME_CURRENT_TOOLBAR_SIZE.
5619         Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5620
5621         * toolbar-x.c (x_output_toolbar): The same change as in
5622         toolbar-msw.c
5623         (x_output_toolbar): Ditto.
5624         (x_redraw_exposed_toolbar): Ditto.
5625
5626         * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5627         buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5628         (mswindows_output_toolbar): Ditto.
5629         (mswindows_output_toolbar): Ditto.
5630
5631         * frame.c (mark_frame): Removed marking of arrays, according to
5632         frameslots.h change.
5633         (nuke_all_frame_slots): Ditto.
5634         (set_frame_selected_window): Mark toolbars changed when
5635         last_nonminibuf_window changes.
5636
5637         * frame.h (struct frame): Moved some slots to frameslots.h.
5638         Added current_toolbar_size array.
5639         Changed references from toolbar_data to toolbar_buttons in macros
5640         FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5641         FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5642         FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5643
5644         * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5645         Moved arrays of lisp objects here from frame.h: toolbar_size,
5646         toolbar_visible_p, toolbar_border_width.
5647         Removed toolbar_data slot and added toolbar_buttons.
5648
5649 1998-05-17  Kirill M. Katsnelson  <kkm@kis.ru>
5650
5651         * symsinit.h: Externed syms_of_process_nt()
5652
5653         * emacs.c (main_1): Call syms_of_process_nt()
5654
5655         * process-nt.c: Quote process arguments by a call to Lisp function
5656         `nt-quote-process-args'.
5657         (syms_of_process_nt): New function.
5658         (nt_send_process): Flush data stream after each write, to avoid
5659         leaving buffered data.
5660         (nt_send_process): When blocked on process output, wait for
5661         process to slurp more for progressively increasing time intervals.
5662
5663 1998-05-17  Martin Buchholz  <martin@xemacs.org>
5664
5665         * window.c (have_undivided_common_edge): Make file-local function
5666         static.
5667         (map_windows): Return 0 if all map functions successful.
5668         Fix typos.
5669
5670         * winslots.h: Use unlikely names for local variables in macros to
5671         avoid shadowing warnings.
5672
5673 1998-05-17  Andy Piper  <andyp@parallax.co.uk>
5674
5675         * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
5676         so that we re-output if the toolbar size has changed.
5677
5678 1998-05-17  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
5679
5680         * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
5681
5682         * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
5683
5684         * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
5685         greater).
5686
5687 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
5688
5689         * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
5690         get bitmap manifest constants defined.
5691
5692         * console-msw.h: Include system files in angle brackets, not in
5693         quotes.
5694
5695         * window.c (specifier_vars_of_window): Fixed a typo in
5696         `vertical-divider-line-width' docstirng.
5697
5698 1998-05-16  Olivier Galibert  <galibert@pobox.com>
5699
5700         * line-number.c (delete_invalidate_line_number_cache): Use an
5701         EMACS_INT.
5702         (buffer_line_number): Remove dangerous, plain wrong when using
5703         64bits emacs ints, cast.
5704
5705         * insdel.c (buffer_delete_range): Use an EMACS_INT.
5706
5707         * cmds.c (Fforward_line): Use EMACS_INTs.
5708
5709         * search.c (bi_scan_buffer): Change to use EMACS_INTs.
5710         (scan_buffer): Ditto.
5711         (bi_find_next_newline_no_quit): Remove useless cast.
5712         (find_next_newline_no_quit): Ditto.
5713         (find_next_newline): Ditto.
5714         (find_before_next_newline): Use an EMACS_INT.
5715
5716         * lisp.h: Change scan_buffer to pass EMACS_INTs.
5717
5718 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
5719
5720         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5721
5722         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5723
5724         * gui-x.c (popup_selection_callback): Use it.
5725
5726         * gui.h (get_callback): Declare it.
5727
5728         * gui.c (get_callback): New function.
5729
5730 1998-05-15  SL Baur  <steve@altair.xemacs.org>
5731
5732         * window.c (have_undivided_common_edge): Guard scrollbar specific
5733         stuff.
5734         (window_needs_vertical_divider_1): Ditto.
5735
5736 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
5737
5738         * emacs.c (decode_path): Eliminate compiler warning.
5739         (Fdecode_path): Renamed to Fsplit_path.
5740         (Fsplit_string_by_char): New function.
5741
5742 1998-05-14  Damon Lipparelli  <lipp@primus.com>
5743
5744         * winslots.h: close comment
5745
5746 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
5747
5748         * callproc.c: Removed declared and unused variable Qbuffer_file_type.
5749
5750         * bufslots.h: Removed buffer_file_type slot.
5751
5752         * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
5753         buffer local flags.
5754         (complex_vars_of_buffer): Removed buffer-file-type variable and
5755         its default reference.
5756
5757 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
5758
5759         * faces.c (complex_vars_of_faces): Defined
5760         Vvertical_divider_face.
5761         (vars_of_faces): Staticpro it.
5762
5763         * faces.h: Externed Vvertical_divider_face.
5764
5765         * redisplay-x.c (x_output_vertical_divider): Use
5766         Vvertical_divider_face to draw the divider instead of modeline
5767         face.
5768
5769         * redisplay-msw.c (mswindows_output_vertical_divider): Draw
5770         divider face using Vvertical_divider_face background.
5771         Fix drawing spacing gaps around the divider.
5772
5773 1998-05-14  Didier Verna  <verna@inf.enst.fr>
5774
5775         * redisplay-x.c (x_output_vertical_divider): removed hard-wired
5776         values for the vertical divider line width and spacing. Use the
5777         cached values from the window structure instead.
5778         (x_divider_width): ditto.
5779
5780         * window.c (specifier_vars_of_window): new specifiers:
5781         vertical-divier -line-width and -spacing.
5782         (vertical_divider_global_width_changed): formerly known as
5783         vertical_divider_shadow_thickness_changed.
5784
5785         * winslots.h: new slots: vertical_specifier _line_width and
5786         _spacing. Plus corrected a comment typo.
5787
5788 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
5789
5790         * window.h: Declared window_divider_width().
5791
5792         * console-stream.c (stream_divider_width): Removed method.
5793         (console_type_create_stream): And declaration for it.
5794
5795         * redisplay.c (pixel_to_glyph_translation): Use
5796         window_divider_width() instead of divider_width redisplay method.
5797         (pixel_to_glyph_translation): Fix top divider edge calculation
5798         when scrollbar is on top.
5799
5800         * window.c (window_divider_width): New function, an outphaser for
5801         divider_width redisplay method.
5802         (window_right_gutter_width): Use it.
5803         (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
5804         specifiers, set fallback values differently on TTYs, and document
5805         the behavior of these on TTYs in the docstrings.
5806
5807         * scrollbar.c (update_scrollbar_instance): Use
5808         window_divider_width() instead of divider_width redisplay method.
5809
5810         * console.h (struct console_methods): Removed divider_width_method.
5811
5812         * redisplay-tty.c (tty_divider_width): Removed device method.
5813         (console_type_create_redisplay_tty): Removed definition for it.
5814         (tty_output_vertical_divider): Respect the value returned by
5815         window_divider_width thus divider line width specification.
5816
5817         * redisplay-msw.c (mswindows_divider_width): Removed device method.
5818         (console_type_create_redisplay_mswindows): Removed definition for it.
5819         (mswinodws_output_vertical_divider): Respect the value returned by
5820         window_divider_width thus divider line width specification.
5821
5822 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
5823
5824         * toolbar-msw.c: guess toolbar frame size a bit more accurately.
5825
5826 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
5827
5828         * glyphs-msw.c: resource loading implementation.
5829         (cursor_normalize): new function.
5830         (cursor_validate): ditto.
5831         (cursor_instantiate): ditto.
5832         (cursor_name_to_resource): ditto.
5833         (cursor_possible_dest_types): ditto.
5834         (check_valid_symbol): ditto.
5835         (check_valid_string_or_int): ditto.
5836
5837 1998-05-14  Martin Buchholz  <martin@xemacs.org>
5838
5839         * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
5840         VINTR and VQUIT.
5841
5842         * process-unix.c (process_signal_char): Use VSUSP instead of
5843         non-standard VSWTCH.  Always prefer VSUSP to VSWTCH.
5844
5845 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
5846
5847         * specifier.c (specifier_instance): Change locale precedence of
5848         instantiation so window locale has higher priority than buffer
5849         locale.
5850         (Fspecifier_instance): Reflect this in docstring.
5851         (Fadd_spec_list_to_specifier): Ditto.
5852         (Fadd_spec_to_specifier): Ditto.
5853         (Fremove_specifier): Ditto.
5854
5855 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
5856
5857         ** Dialog separation into a device method from Andy Piper
5858
5859         * emacs.c (main_1): Call console_type_create_dialog_x().
5860
5861         * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
5862         into this device method.
5863         (console_type_create_dialog_x): New function.
5864
5865         * dialog.c (Fpopup_dialog_box): New function.
5866         (syms_of_dialog): Defsubr it.
5867
5868         * console.h (struct console_methods): Declared
5869         popup_dialog_box_method().
5870
5871         * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
5872
5873 1998-05-14  Oliver Graf <ograf@fga.de>
5874
5875         * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
5876         * frame-x.c (x_cde_transfer_callback): checked for merge errors
5877
5878 1998-05-13  Oliver Graf <ograf@fga.de>
5879
5880         * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
5881
5882 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
5883
5884         * console.h (device_metrics): Removed dbcs, input-method-editor
5885         and right-to-left metrics.
5886
5887         * device.c (Fdevice_system_metric): Ditto.
5888         (Fdevice_system_metrics): Ditto.
5889         (syms_of_device): Ditto.
5890         (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
5891         again.
5892
5893 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
5894
5895         * line-number.h (mark_line_number_cache): Remove unused
5896         declaration.
5897
5898         * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
5899         (get_nearest_line_number): Simplify.
5900         (add_position_to_cache): Make the old marker point nowhere.
5901
5902 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
5903
5904         ** Renamed window-divider-map => vertical-divider-map
5905         and event-over-divider-p => event-over-vertical-divider-p,
5906         in the following files/functions:
5907         * events.h:
5908         * events.c (Fevent_over_divider_p):
5909         * keymap.c (get_relevant_keymaps):
5910         (vars_of_keymap):
5911
5912         * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
5913
5914         * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
5915
5916 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
5917
5918         * window.c (vertical_divider_changed_in_window): Renamed so.
5919         (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
5920         (window_needs_vertical_divider_1): Decide whether we need it based
5921         on the value of the above specifier. If separators are unwanted,
5922         put them only if there's no scrollbar between this window and its
5923         right neighbor.
5924         (have_undivided_common_edge): New function, helper for the above.
5925         (window_needs_vertical_divider): Return either a cached value,
5926         or clauclate and cache one.
5927         (invalidate_vertical_divider_cache_in_window): Implemented.
5928         (map_windows): Changed return type to int, return the value from
5929         MAPFUN.
5930
5931         * window.h: Prototype invalidate_vertical_divider_cache_in_window.
5932         (struct window): Added need_vertical_divider_p and
5933         need_vertical_divider_valid_p.
5934
5935         * winslots.h: Added vertical_divider_draggable_p slot.
5936
5937         * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
5938         (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
5939
5940         * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
5941
5942         * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
5943         invalidate_vertical_divider_cache_in_frame().
5944         Prototype it.
5945
5946 1998-05-14  Andy Piper  <andyp@parallax.co.uk>
5947
5948         * toolbar-msw.c: provide correct parameters to TB_SETROWS.
5949
5950         * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
5951         masks correctly and don't select 0.
5952
5953 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
5954
5955         * winslots.h: New file, declaration of some struct window and
5956         struct saved_window members.
5957
5958         * window.h (struct window): Include it, with required preprocessor
5959         magic.
5960
5961         * window.c (mark_window): Ditto.
5962         (allocate_window): Ditto.
5963         (struct saved_window): Ditto.
5964         (mark_window_config): Ditto.
5965         (saved_window_equal): Ditto.
5966         (Fset_window_configuration): Ditto.
5967
5968 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
5969
5970         * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
5971
5972 1998-05-12  Didier Verna  <verna@inf.enst.fr>
5973
5974         * redisplay-x.c (x_output_vertical_divider): draw shadows around
5975         the divider line. The shadow thickness is currently
5976         hard-wired. This will probably be turned into a specifier soon.
5977
5978 1998-05-12  Didier Verna  <verna@inf.enst.fr>
5979
5980         * console.h (struct console_methods): the divider_width console
5981         method now requires a struct window * argument.
5982
5983         * redisplay-x.c (x_divider_width): ditto. Plus remove
5984         X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
5985         (x_output_vertical_divider): give a depressed look when the shadow
5986         thickness is negative.
5987
5988         * console-stream.c (stream_divider_width): pass a struct window *
5989         argument.
5990
5991         * redisplay-tty.c (tty_divider_width): ditto.
5992
5993         * window.c (window_right_gutter_width): totdi.
5994
5995         * redisplay.c (generate_modeline): ittod.
5996
5997         * scrollbar.c (update_scrollbar_instance): ttido.
5998
5999         * redisplay-msw.c (mswindows_divider_width): ottid.
6000         WARNING: this enables to compile, but the feature is not functional.
6001
6002         * window.h (struct window): new field
6003         vertical_divider_shadow_thickness.
6004
6005         * window.c (specifier_vars_of_window): new specifier
6006         vertical-divider-shadow-thickness.
6007         (vertical_divider_shadow_thickness_changed): new function to
6008         inform redisplay that the window has changed.
6009         (mark_window): handle new field vertical_divider_shadow_thickness
6010         from struct window.
6011         (allocate_window): ditto.
6012         (saved_window_equal): toddi.
6013         (Fset_window_configuration): totid.
6014         (save_window_save): ttdio.
6015         (struct saved_window): new field vertical_divider_shadow_thickness.
6016
6017 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
6018
6019         * device-msw.c (mswindows_device_system_metrics): Support a deluge
6020         of metrics.
6021
6022 1998-05-12  Oliver Graf <ograf@fga.de>
6023
6024         * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6025         * event-Xt.c (x_event_to_emacs_event): C++ compability
6026
6027 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
6028
6029         * emacs.c (Fdecode_path): Default SEPCHAR to value of
6030         path-separator.
6031
6032 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
6033
6034         * emacs.c (vars_of_emacs): Do it here; change the meaning of
6035         Vpath_separator.
6036
6037         * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6038
6039 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
6040
6041         * emacs.c (decode_path_1): New function.
6042         (decode_path): Use it.
6043         (Fdecode_path): Renamed from Fdecode_path_internal; use
6044         decode_path_1.
6045
6046 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
6047
6048         * macros.c (Fzap_last_kbd_macro_event): New function.
6049         (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6050
6051 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
6052
6053         * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6054         multiple bitmaps are output vertically as well as horizontally.
6055         * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6056         crossing lines this is handled by
6057         mswindows_output_dibitmap_region.
6058
6059 1998-05-12  Martin Buchholz  <martin@xemacs.org>
6060
6061         * inline.c: Include eldap.h
6062
6063         * menubar-x.c (x_update_frame_menubar_internal):
6064         Remove: unused variable `container'
6065
6066 1998-05-11  Martin Buchholz  <martin@xemacs.org>
6067
6068         * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6069         Unfortunately, the resulting temacs still cannot dump.
6070
6071         * symbols.c (symbol_is_constant):
6072         (verify_ok_for_buffer_local):
6073         -Wswitch Warning suppression - add default case to switches.
6074
6075         * redisplay.c (decode_mode_spec): Remove unused variables,
6076         Replace Fcoding_system_property (codesys, Qmnemonic) with
6077         XCODING_SYSTEM_MNEMONIC (codesys);
6078         Fcoding_system_property is for users.
6079
6080         * buffer.c:
6081         * fileio.c:
6082         * lread.c:
6083         * xselect.c:
6084         Change empty docstrings into no doc strings at all.
6085         Fix bogus FSF-format docstrings.
6086
6087         * extents.c:
6088         Standardize docstrings.
6089
6090         * floatfns.c:
6091         Explain problems with matherr.
6092
6093         * glyphs.c:  make DEFUNs etags-readable, i.e. single-line
6094
6095         * syssignal.h:
6096         if BROKEN_SIGIO, then SIGIO wants to be undefined.
6097         if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6098         Fix the weird resultant interaction (causes windows problems)
6099
6100         * gdbinit:
6101         * dbxrc:
6102         Take new EMACSBOOTSTRAPLOADPATH into account.
6103         Update documentation strings
6104
6105         * Makefile.in.in:
6106         - Adjust for luser's CDPATH being set to something weird.
6107         - Take into account bash 2.02's tendency to print the cwd when
6108           using CDPATH.  Always use `cd ./foo' instead of `cd foo'.
6109         - fix the run-temacs target to use $(DUMPENV)
6110         - fix the run-puremacs target to use $(DUMPENV)
6111         - fix the `depend' target to properly $(RM) the right files
6112         - Generate a better TAGS file for XEmacs' lisp code using
6113           hand-crafted regexps.
6114         - Use standard coding conventions for modules/Makefile.in
6115
6116 1998-05-12  Didier Verna  <verna@inf.enst.fr>
6117
6118         * redisplay.c: removed the scrolling modeline code that didn't
6119         make it for 21.0. To be continued ...
6120
6121 1998-05-13  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
6122
6123         * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6124         and empty string inputs.
6125
6126 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
6127
6128         * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6129
6130 1998-05-10  Oliver Graf <ograf@fga.de>
6131
6132         * event-stream.c (enqueue_misc_user_event_pos): created
6133         * lisp.h (enqueue_misc_user_event_pos): prototype added
6134         * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6135         * emacs.c: call vars_of_dragdrop
6136         * dragdrop.c (vars_of_dragdrop): provide dragdrop
6137
6138 1998-05-11  Oliver Graf <ograf@fga.de>
6139
6140         * frame-x.c (x_cde_transfer_callback): return at correct pos
6141         * event-Xt.c (x_event_to_emacs_event): changed format of drop
6142         object for MIME (see comment in dragdrop.c)
6143         * dragdrop.c: API change documented in comment
6144         removed provide of dragdrop [is provided by dragdrop.el]
6145
6146 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
6147
6148         * window.c (window_needs_vertical_divider): Enable vertical
6149         dividers for every non-rightmost window.
6150         (window_left_gutter_width): Left gutter consists of mythical
6151         toolbar and a virtual scrollbar.
6152         (window_right_gutter_width): The right one may have a divider
6153         also.
6154
6155         * scrollbar.c (update_scrollbar_instance): Position vertical
6156         scrollbar left to divider if the latter present.
6157
6158         * redisplay.h: Declared OVER_DIVIER constant.
6159
6160         * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6161         case.
6162
6163         * redisplay-x.c (x_output_vertical_divider): Output divider along
6164         the right side of the window, down to window bottom. Swapped
6165         foreground and background colors so it is visible by default.
6166
6167         * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6168         stick the divider to the right window side.
6169
6170         * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6171         deadbox painting.
6172         (mswindows_divider_width): Ask system for user preferred value.
6173         (mswindows_output_vertical_divider): Always output the divider on
6174         the right side of a window, down to bottom.
6175
6176         * keymap.c (get_relevant_keymaps): Route mouse button events which
6177         happened over a window divider through window-divider-map.
6178         (Fkey_binding): Documented that in the docstring.
6179         Defined the variable Vwindow_divider_map.
6180
6181         * events.c (Fevent_over_divider_p): Added this function.
6182
6183         * events.h: EXFUNed it.
6184
6185 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
6186
6187         * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6188         toolbar geometry is suspected to change.
6189
6190 1998-05-11  Jonathan Harris  <jhar@tardis.ed.ac.uk>
6191
6192         * src/device-msw.c
6193         * src/event-msw.c
6194         Condition dnd and dde code on HAVE_DRAGNDROP.
6195
6196 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
6197
6198         * events.c (format_event_object): Print space as SPC etc.
6199
6200 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
6201
6202         * print.c (print_internal): In the default case, abort() if
6203         ERROR_CHECK_TYPECHECK.
6204
6205         * fileio.c (Fmake_temp_name): Doc fix.
6206
6207 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
6208
6209         * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6210
6211         * undo.c (Fprimitive_undo): Fixed typo.
6212
6213 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
6214
6215         * fns.c (concat): Signal error on integer argument.
6216
6217 1998-05-10  Kirill M. Katsnelson  <kkm@kis.ru>
6218
6219         * console.h (device_metrics): Prefixed each constatnt with DM_
6220
6221         * device.c: (Fdevice_system_metric): Renamed so from plural form
6222         (metrics); Changed parameters order and added DEFAULT parameter;
6223         Unabbreviated some metric constants; Fixed and untabified doc string.
6224         (Fdevice_system_metrics): Added. Returns a plist of all provided
6225         metrics.
6226
6227         * device-msw.c (mswindows_device_system_metrics): Renamed
6228         device_metrics enum constants.
6229         Return Qunbound instead of Qnil.
6230
6231         * device-tty.c (tty_device_system_metrics): Ditto.
6232
6233         * device-x.c (x_device_system_metrics): Ditto.
6234
6235 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
6236
6237         * redisplay-msw.c: implement background pixmaps (really!). Make
6238         sure bg color is transparent if we have bg pmaps.
6239         * (mswindows_output_string) (mswindows_clear_region): output bg
6240         pmap if required.
6241         * (mswindows_output_dibitmap_region): new function.
6242         * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6243         the bg color rather than transparently.
6244
6245         * toolbar-msw.c: use masks if they exist.
6246
6247         * glyphs-msw.c: set up masks correctly.
6248
6249         * event-msw.c: typedef SOCKET if cygwin and not msg select().
6250
6251 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
6252
6253         * regex.c (re_match_2_internal): Check for quit.
6254
6255 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
6256
6257         * frame.c (Ffocus_frame): New function.