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