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