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