Enclosed the media stop status assignment inside the
[sxemacs] / src / ChangeLog.1.XEmacs
1 1998-05-06  Oliver Graf <ograf@fga.de>
2
3         * Makefile.in.in: removed dragdrop.o from objs
4         * config.h.in: HAVE_DRAGNDROP added
5         * emacs.c: do syms_of_dragdrop only if HAVE_DRAGNDROP is defined
6         * event-Xt.c: dragdrop.h include now depends on HAVE_DRAGNDROP
7         changed calls to dnd_url_hexify_string
8         MIME data is now a list of MIME strings or lists
9         this was required by CDE, and a good idea in any case
10         * dragdrop.c (dnd_url_hexify_string): method prefix code added
11         * dragdrop.h: dnd_url_hexify_string prototype changed
12         * frame-x.c (x_cde_transfer_callback): CDE adapted the new API
13
14 1998-05-05  Jonathan Harris <jhar@tardis.ed.ac.uk>
15
16         * event-msw.c: now creates misc-user-events on dnd drops
17
18 1998-05-05  Oliver Graf <ograf@fga.de>
19
20         * events.h: changed comment for misc_user_events
21         * events.c (make-event): removed dnd_data defs
22         * frame.c: removed everything referring to drag_and_drop_functions
23         * frame-x.c (x_cde_transfer_callback): disabled (needs to be changed)
24         * lisp.h: removed Qdnd_data
25         * general.c: removed Qdnd_data
26         * symsinit.h: added syms_of_dragdrop
27         * frame.el: deleted default-drag-and-drop-functions
28
29 1998-05-04  Oliver Graf <ograf@fga.de>
30
31         * events.c: removed all dnd_drop stuff
32         * events.h: extended misc_user_data by button info
33         removed dnd_drop event
34         * emacs.c: added call to syms_of_dragdrop
35         * dragdrop.c: created
36         * dragdrop.h: created
37         * event-stream.c (enqueue_misc_user_event): initialization of the
38         new fields of misc_user_data
39         dnd_drop stuff removed
40         * keymap.c: drop symbols removed
41         * Makefile.in.in: added dragdrop.o to objs
42
43 1998-05-09  SL Baur  <steve@altair.xemacs.org>
44
45         * EmacsFrame.c (EmacsFrameSetValues): Fix typo.
46         Suggested by: Kirill M. Katsnelson  <kkm@kis.ru>
47
48 1998-05-09  Kirill M. Katsnelson  <kkm@kis.ru>
49
50         * This change adds four scrollbar specifiers:
51           {horizontal,vertical}-scrollbar-visible-p and
52           scrollbar-on-{top,left}-p.
53           Spare parts supplied by Didier Verna <didier@xemacs.org>
54
55         * frameslots.h: Added slots for the four specifier caching.
56
57         * frame.h: FRAME_SCROLLBAR_{WIDTH,HEIGHT} count for scrollbar
58         visible specifiers.
59         Removed old resource-only controlled scrollbar_on_* ints.
60
61         * frame-x.c (x_layout_widgets): Removed (to x-scrollbar.el)
62         initialization of old style scrollbar placement from resources.
63
64         * frame-tty.c (tty_init_frame_1): Removed initialization of old
65         style scrollbar placement.
66
67         * frame-msw.c (mswindows_init_frame_1): Removed random
68         initialization of scrollbar sizes to 15 pixel.
69
70         * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Use
71         scrollbar placement specifiers cached values from window, instead
72         of the old per-frame values.
73         (mswindows_output_vertical_divider): Ditto.
74
75         * redisplay-x.c (x_output_vertical_divider): Ditto.
76
77         * redisplay-output.c (redisplay_clear_bottom_of_window): Ditto.
78
79         * scrollbar.c (update_scrollbar_instance): Ditto.
80         (specifier_vars_of_scrollbar): Declared the four specifiers.
81
82         * window.h (struct window): Defined slots for caching the new
83         specifiers.
84
85         * window.c (mark_window): Mark them.
86         (allocate_window): Initialize them.
87         (struct saved_window): Store them in a cool place.
88         (saved_window_equal): Compare them.
89         (save_window_save): Save them.
90         (Fset_window_configuration): Fetch them back.
91         (window_needs_vertical_divider): Check for scrollbar placement
92         using window cached specs.
93         (window_top_gutter_height): Ditto.
94         (window_bottom_gutter_height): Ditto.
95         (window_left_gutter_width): Ditto.
96         (window_right_gutter_width): Ditto.
97         (window_scrollbar_width): Account for scrollbar visibility
98         specification in window.
99         (window_scrollbar_height): Ditto.
100
101 1998-04-18  Kirill M. Katsnelson  <kkm@kis.ru>
102
103         * device.c (Fdevice_system_metrics): Added function.
104         Moved (device-pixel-height), (device-pixel-width),
105         (device-mm-width), (device-mm-height), (device-bitplanes),
106         (device-color-cells) to device.el, amd make them call
107         (device-system-metrics).
108
109         * console.h (struct console_methods): Replaced methods:
110         device_pixel_width_method(), device_pixel_height_method(),
111         device_mm_width_method(), device_mm_height_method(),
112         device_bitplanes_method(), device_color_cells_method()
113         with single device_system_metrics_method().
114         (device_metrics): Declared enumeration of supported
115         device system metrics.
116
117         * device-msw.c (mswindows_device_system_metrics): Implement
118         device_system_metrics_method(), remove six obsolete methods.
119
120         * device-tty.c (tty_device_system_metrics): Ditto.
121
122         * device-x.c (x_device_system_metrics): Ditto.
123
124 1998-05-10  Kirill M. Katsnelson  <kkm@kis.ru>
125
126         * EmacsFrame.c (update_various_frame_slots): Do not store internal
127         border width there.
128         (EmacsFrameInitialize): Do it rather here.
129         (EmacsFrameSetValues): If EditRes has changed internal border
130         width, mark frame size as slipped.
131
132 1998-05-06  Kirill M. Katsnelson  <kkm@kis.ru>
133
134         * frame.h (struct frame): Added char_{width,height} member
135         variables and access macros
136         Added size_slipped redisplay bit and mark/clear macros.
137
138         * redisplay.c (redisplay_frame): Adjust frame size if size slipped
139         bit is set.
140         (redisplay_device): Call redisplay_frame if size slipped bit is set.
141
142         * frame.c (adjust_frame_size): Redisplay beats frame back in shape
143         with this. Added.
144         (frame_size_slipped): Added.
145         (internal_set_frame_size): Clear size slipped bit.
146         (change_frame_size_1): Store real charsize into frame object.
147         (vars_of_frame): Declared adjust-frame-function.
148
149         * frame-msw.c (mswindows_update_frame_external_traits): Same
150         change as for frame-x.c
151         (mswindows_frame_size_fixed_p): Implemented the method.
152
153         * frame-x.c (x_update_frame_external_traits): Do not call
154         Fset_frame_size to adjust frame, redisplay will do.
155
156         * faces.c (update_EmacsFrame): Mark frame as slipped when default
157         font changes.
158
159         * toolbar.c (compute_frame_toolbars_data): Removed obsoleted call
160         to change_frame_size. Redisplay will fix it later.
161         Removed toolbar_*_changed_in_frame specifier
162         change handlers.
163         (specifier_vars_of_toolbar): Calls to these routed to
164         frame_size_slipped generic handler.
165
166         * toolbar-x.c: Removed toolbar_*_changed_in_frame device methods.
167
168         * scrollbar-x.c: Removed scrollbar_*_changed_in_frame device
169         methods.
170
171         * scrollbar.c: Removed scrollbar_*_changed_in_frame specifier
172         change handlers.
173         (specifier_vars_of_scrollbar): Calls to the above changed to
174         frame_size_slipped generic handler.
175
176         * menubar-x.c (x_update_frame_menubar_internal): Do not resize
177         frame, just mark frame size as slipped.
178
179         * device-x.c: Removed declaration of in_specifier_change_function.
180
181         * EmacsFrame.c (EmacsFrameSetValues): Do not check
182         in_specifier_change_function.
183         (EmacsFrameSetValues): Simulate a call to resize callback when no
184         actual geometry change happened.
185
186         * console.h (struct console_methods): Removed declarations for all
187         <specifier>_changed_in_frame methods for toolbars and scrollbars.
188         Added frame_size_fixed_p method.
189
190 1998-05-08  SL Baur  <steve@altair.xemacs.org>
191
192         * redisplay.c (decode_mode_spec): Guard against garbage
193         overwriting the stack.
194
195 1998-05-08  Kirill M. Katsnelson  <kkm@kis.ru>
196
197         * dired-msw.c (vars_of_dired_mswindows): Syntax fix for union
198         lisp object type.
199
200         * menubar-msw.c (populate_menu_add_item): Ditto.
201
202         * ntheap.c (sbrk): Ditto.
203
204         * ntproc.c (create_child): Ditto.
205         (syms_of_ntproc): Ditto.
206
207 1998-05-07  Andy Piper  <andyp@parallax.co.uk>
208
209         * glyphs-msw.c: updates to support total transparency.
210         (mswindows_initialize_image_instance_icon): don't resize bitmaps
211         for icons.
212         (mswindows_initialize_image_instance_mask): new function.
213         Use these new functions as appropriate.
214
215         * glyphs-msw.h (mswindows_initialize_image_instance_icon):
216         function renamed.
217
218         * frame-msw.c: use renamed mswindows_initialize_image_instance_icon.
219
220         * redisplay-msw.c: MaskBlt bitmaps if we have a mask, BitBlt
221         otherwise.
222
223 1998-05-07  Kirill M. Katsnelson  <kkm@kis.ru>
224
225         * unexnt.c (read_in_bss): Removed unused variables, replaced exits
226         with aborts.
227         (map_in_heap): Ditto.
228
229 1998-05-06  SL Baur  <steve@altair.xemacs.org>
230
231         * frame.c (adjust_frame_size): Don't mix integers and Lisp_Objects.
232
233 1998-05-07  Kirill M. Katsnelson  <kkm@kis.ru>
234
235         * print.c (write_string_to_stdio_stream): Under MS Windows, flush
236         stdio and stderr after output. Ouch.
237
238 1998-05-05  Andy Piper  <andyp@parallax.co.uk>
239
240         * event-msw.c: comment out broken dnd stuff and don't use msw socket
241         support if we have cygwin select.
242
243 1998-05-03  Kirill M. Katsnelson  <kkm@kis.ru>
244
245         * events.h (STREAM_* defines): Defined constants for the parameter
246         FLAGS to create_stream_pair_cb().
247
248         * process.c (Fopen_network_stream_internal): Use flags from events.h
249         (Fopen_multicast_group_internal): Ditto.
250
251         * process-unix.c (unix_create_process): Ditto.
252
253         * event-unixoid.c (event_stream_unixoid_create_stream_pair): Ditto.
254         Changed #ifdef process type logic to catch configuretion errors
255         when no process type is defined.
256
257         * event-msw.c: Implemented winsock_stream
258         (get_process_input_waitable): Differentiate network connections.
259         (emacs_mswindows_select_process): Ditto.
260         (emacs_mswindows_create_stream_pair): Ditto.
261         (emacs_mswindows_delete_stream_pair): Ditto.
262
263         * process-nt.c: Implemented network connections.
264         (nt_init_process): Initialize Winsock.
265
266         * sysdep.c (init_system_name): Ask for the right name right from
267         the system.
268
269         * ntproc.c: Removed select emulation crap and dynamic Windock
270         loading.
271
272         * nt.c: Removed a lot of terrible wrappers for socket functions.
273
274         * s/windowsnt.h: Removed sys_select encapsulation.
275
276 1998-05-05  Hrvoje Niksic  <hniksic@srce.hr>
277
278         * search.c (Fmatch_data): Synch with FSF.
279
280 1998-05-04  Greg Klanderman  <greg@alphatech.com>
281
282         * events.h: Add extern declarations for focus_follows_mouse and
283         investigate_frame_change().
284         * cmdloop.c (Fcommand_loop_1): cleanup focus-follows-mouse
285         handling - move externs to events.h.
286
287 1998-05-05  Andy Piper  <andyp@parallax.co.uk>
288
289         * glyphs-msw.c: generate an AND mask when creating an icon and really
290         make it an icon if that is what is required.
291
292         * glyphs-msw.h (mswindows_create_icon_from_image): new cursor
293         argument.
294
295         * frame-msw.c (mswindows_set_frame_pointer): set the frame cursor when
296         asked.
297
298 1998-05-05  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
299
300         * s/windowsnt.h:
301         * s/rtu.h:
302         * s/aix4.h:
303         * m/wicat.h:
304         * m/gould.h:
305         * m/gould-np1.h
306         * unexhp9k3.c:
307         * unexconvex.c:
308         * unexalpha.c:
309         * unexaix.c:
310         * regex.c:
311         * process-unix.c:
312         * mule-mcpath.c:
313         * msdos.c:
314         * lisp.h:
315         * gmalloc.c:
316         * getloadavg.c:
317         * broken-sun.h:
318         Removed references to ancient bcmp, bzero, and bcopy.
319
320 1998-05-04  Andy Piper  <andyp@parallax.co.uk>
321
322         * gui.el: make gui-button-face colors apply in the mswindows
323         domain as well as for x.
324
325         * objects-msw.c (mswindows_string_to_color): grok
326         rgb:rrrr/gggg/bbbb color formats used by xpm-button.el.
327
328 1998-05-04  Greg Klanderman  <greg@alphatech.com>
329
330         * window.c (Fselect_window): Add optional second argument
331         `norecord' to avoid recording a buffer change.
332         * window.h: change the EXFUN for Fselect_window.
333         * window.c (Fdelete_window): call Fselect_window with 2nd arg Qnil.
334         (Fother_window): ditto.
335         (temp_output_buffer_show): ditto.
336         (Fset_window_configuration): ditto.
337         (Fset_window_configuration): ditto.
338         * frame.c (Fselect_frame): ditto.
339         (Fset_frame_selected_window): ditto.
340         (delete_frame_internal): ditto.
341         * device.c (Fselect_device): ditto.
342         * console.c (Fselect_console): ditto.
343         * callint.c (Fcall_interactively): ditto.
344
345 1998-05-05  Hrvoje Niksic  <hniksic@srce.hr>
346
347         * search.c (Fregexp_quote): Loop by characters, not by bytes.
348
349 1998-05-05  Jan Vroonhof  <vroonhof@math.ethz.ch>
350
351         * redisplay.c (window_line_number): Guard against selected_device
352         = nil.
353
354         * frame-x.c (x_init_frame_2): Revert to updating frame title.
355
356 1998-05-05  SL Baur  <steve@altair.xemacs.org>
357
358         * emacs.c (shut_down_emacs): Update crash report information.
359
360 1998-05-04  Kyle Jones  <kyle_jones@wonderworks.com>
361
362         * linuxplay.c: Initialize audio_dev to /dev/dsp at
363           compile time instead of at run-time.  Don't initialize
364           mixer_fd, audio_fd and audio_vol to -1; none of them need
365           it, and XEmacs will crash on some architectures when
366           these variable are modified after being initialized.
367           Declare audio_dev, audio_vol, audio_fd, and mixer_fd as
368           static, since none of them need to be visible outside
369           linuxplay.c.
370
371 1998-04-27  Hrvoje Niksic  <hniksic@srce.hr>
372
373         * eldap.c (make_ldap): New function.
374         (finalize_ldap): Use it.
375         (Fldap_open): Ditto.
376
377         * eldap.c (struct Lisp_LDAP): Removed connection status symbol.
378
379         * eldap.h (LDAP_LIVE_P): Removed
380         (CHECK_LIVE_LDAP): Adapt to changes in struct Lisp_LDAP
381
382 1998-05-03  Hrvoje Niksic  <hniksic@srce.hr>
383
384         * lread.c: (read_escape): Restore handling of \M-a; clarify
385         comment.
386
387 1998-05-04  Kyle Jones  <kyle_jones@wonderworks.com>
388
389         * realpath.c: Rename realpath() to xrealpath().
390
391         * fileio.c: Call xrealpath() instead of realpath().
392
393         * sysdep.h: Use #define to map xrealpath() calls to
394           realpath() on systems that have realpath().
395
396 1998-05-04  Martin Buchholz  <martin@xemacs.org>
397
398         * rangetab.c:
399         * rangetab.h: Move #include's from rangetab.h into rangetab.c for
400         consistency.
401         * inline.c: include rangetab.h to get GCC inlines
402
403 1998-05-03  SL Baur  <steve@altair.xemacs.org>
404
405         * event-stream.c (event_stream_next_event): Reverse previous patch to
406         slow down poll for quit.
407         Suggested by Kyle Jones <kyle_jones@wonderworks.com>
408
409         * lread.c (read_escape): Turn off interpretation of "\M..."
410         Suggested by Olivier Galibert <galibert@pobox.com>
411
412         * lread.c (read_escape): add explanatory comment about why
413         FSF_KEYS are being turned off.
414
415 1998-05-02  SL Baur  <steve@altair.xemacs.org>
416
417         * lread.c (FSF_KEYS): Remove if built with Mule.
418
419 1998-05-01  Kirill M. Katsnelson  <kkm@kis.ru>
420
421         * event-msw.c (ntpipe_shove_flusher): Removed.
422         (init_shove_stream): Flusher undeclared.
423
424 1998-05-02  SL Baur  <steve@altair.xemacs.org>
425
426         * rangetab.c: `default_dumped' removed.
427
428 1998-05-02  Hrvoje Niksic  <hniksic@srce.hr>
429
430         * events.c (Fmake_event): Initialize key data for key-press
431         events.
432
433 1998-05-02  Hrvoje Niksic  <hniksic@srce.hr>
434
435         * fileio.c (close_stream_unwind): Renamed to delete_stream_unwind.
436         Delete the stream.
437         (Finsert_file_contents_internal): Delete STREAM after use.
438         (Fmake_temp_name): Improve randomness of generated file names.
439         (Fmake_temp_name): Don't initialize COUNT if in temacs.
440
441 1998-05-02  Olivier Galibert  <galibert@pobox.com>
442
443         * buffer.h: Put  the  range_table  lrecrod  declaration  where  it
444         belongs...
445
446         * rangetab.h: New file - ...which is here.
447
448         * rangetab.c: Move declarations to rangetab.h
449
450 1998-05-01  Hrvoje Niksic  <hniksic@srce.hr>
451
452         * data.c (Fneq): Fix docstring.
453         (arithcompare_many): Slightly simplify.
454
455 1998-04-29  Andy Piper  <andyp@parallax.co.uk>
456
457         * s/cygwin32.h: don't define BROKEN_CYGWIN anymore since we normally
458         link with unixoid event loop now.
459
460 1998-05-01  Kirill M. Katsnelson  <kkm@kis.ru>
461
462         * event-stream.c (event_stream_next_event): Disable polling for
463         quit while XEmacs is blocked waiting for an event.
464
465 1998-05-01  Kirill M. Katsnelson  <kkm@kis.ru>
466
467         * specifier.h: Corrected documentation on magic specifiers.
468         Documented DEPTH parameter to instantiate_method.
469         Renamed reveal->unlock_ghost_specifiers_protected().
470
471         * specifier.c: Removed the reveal mechanism and made ghost
472         specifiers read-only, so they are accessible as fallbacks of magic
473         specifier, but aren't modifiable unless C code enables so.
474          (specifier_equal): Compare specifier fallbacks as well.
475
476         * scrollbar.c (init_frame_scrollbars):
477         (init_device_scrollbars):
478         (init_global_scrollbars): Renamed
479         reveal->unlock_ghost_specifiers_protected().
480
481 1998-05-01  Hrvoje Niksic  <hniksic@srce.hr>
482
483         * fileio.c (Fcar_less_than_car): Fix Flss caller.
484         (Fcdr_less_than_cdr): Ditto.
485
486         * lisp.h: Fix declarations.
487
488         * data.c: Enable many arguments versions of <, >, <=, >= and /=.
489
490         * bytecode.c (Fbyte_code): Use arithcompare.
491
492         * data.c (arithcompare): Make non-static.
493
494 1998-04-30  Greg Klanderman  <greg@alphatech.com>
495
496         * frame.c (Fselect_frame): update docstring to describe
497         focus-follows-mouse behavior.
498
499 1998-05-01  Hrvoje Niksic  <hniksic@srce.hr>
500
501         * print.c (Fwrite_char): Don't touch Vprint_gensym.
502         (print_error_message): Don't gcpro TAIL.
503         (Fdisplay_error): Simplify.
504
505 1998-04-30  Hrvoje Niksic  <hniksic@srce.hr>
506
507         * print.c (print_internal): Use long_to_string().
508
509         * redisplay.c (decode_mode_spec): Remove bogus calculation of the
510         number of digits.
511
512         * print.c (Fprin1): Removed THE_STREAM.
513         (Fprinc): Ditto.
514         (Fprint): Ditto.
515         (Fdisplay_error): Canonicalize STREAM here.
516         (print_error_message): Don't canonicalize STREAM.
517         (print_error_message): Use print_internal() instead of Fprin1 and
518         Fprinc.
519
520         * print.c: (Fprin1_to_string): Delete internal stream explicitly.
521         (Ferror_message_string): Ditto.
522         (Fterpri): Use write_char_internal.
523
524 1998-04-18  Martin Buchholz  <martin@xemacs.org>
525
526         * console-x.h: Initialize_Locale should not depend on HAVE_XIM,
527         esp. in the future.
528
529         * Makefile.in.in: be more careful generating depend.
530
531         * *.c (F*): Unfortunately, etags can only detect per-line
532         patterns, and so the DEFUN macro must have the lisp name and the C
533         name on the same line for a complete TAGS file.  Make it so.
534
535         * signal.c (init_signals_very_early):
536         * process.c (Fsignal_process): Order the signals in decreasing
537         order of standardization.  Provide helpful standardization
538         comments.  Add missing signal names.
539
540         * unexhp9k800.c: Remove undefined roundup.
541         * symsinit.h: Add prototype for init_hpplay().
542
543 1998-04-30  Hrvoje Niksic  <hniksic@srce.hr>
544
545         * window.c (Fcenter_to_window_line): New function.
546         (Frecenter): Use it.
547
548 1998-04-30  Hrvoje Niksic  <hniksic@srce.hr>
549
550         * dired.c (make_directory_hash_table): Constify.
551
552         * scrollbar.c (Fscrollbar_page_up): Use Fcenter_to_window_line
553         instead of Frecenter.
554         (Fscrollbar_page_down): Ditto.
555         (Fscrollbar_to_top): Ditto.
556         (Fscrollbar_to_bottom): Ditto.
557
558         * window.c (Frecenter): Removed.
559
560 1998-04-29  Andy Piper  <andyp@parallax.co.uk>
561
562         * console.h: xpm_normalize is not a console method anymore.
563
564         * event-msw.c: honour toolbar help string length.
565
566         * glyphs-msw.c: make copyright more meaningful. implement color
567         symbol support for Xpm. (extract_xpm_color_symbols) new function.
568
569         * glyphs.c (pixmap_to_lisp_data) (xpm_normalize): fucntions moved
570         from glyphs-x.c
571
572         * glyphs.h: declare pixmap_to_lisp_data.
573
574         * toolbar-msw.c: more meaningful copyright.
575
576 1998-04-30  Hrvoje Niksic  <hniksic@srce.hr>
577
578         * macros.c (Fend_kbd_macro): New arg REMOVE-LAST.
579
580         * gui-x.c (popup_selection_callback): Treat anonymous interactive
581         and compiled-function interactive callbacks as commands.
582
583 1998-04-28  Hrvoje Niksic  <hniksic@srce.hr>
584
585         * abbrev.c (obarray_has_blank_p): Simplify.
586
587 1998-04-27  Hrvoje Niksic  <hniksic@srce.hr>
588
589         * getloadavg.c (getloadavg): Removed some code repetition.
590
591 1998-05-01  Kirill M. Katsnelson  <kkm@kis.ru>
592
593         * process-nt.c: Document usage of #pragma warning.
594         (alloc_process_memory): Spell _ALPHA_ correctly.
595
596 1998-04-29  SL Baur  <steve@altair.xemacs.org>
597
598         * Makefile.in.in: Change `progname' to `PROGNAME' for
599         consistency.
600
601 1998-04-29  Kirill M. Katsnelson  <kkm@kis.ru>
602
603         * frame.c (change_frame_size_1): Adjust frame row/columns taking
604         real toolbar size into account, not the theoretical one.
605
606         * toolbar.c (set_frame_toolbar): Removed unused parameter.
607         Return void, not unused int.
608         Logic which checks whether toolbar to be recomputed moved here
609         from macro COMPUTE_TOOLBAR_DATA (r.i.p)
610         (compute_frame_toolbars_data): Removed COMPUTE_TOOLBAR_DATA. It
611         did not work due to a bug, and also did not check whether toolbar
612         size has changed.
613         Compute new character sizes passed to change_frame_size, do not
614         use the old (pre-toolbar-change) ones.
615         (update_frame_toolbars): Honor frame_changed and clear frame bits.
616         (recompute_overlaying_specifier): New helper function, called from
617         default toolbar specifier change handlers.
618         (default_toolbar_specs_changed): Use it.
619         (default_toolbar_size_changed_in_frame): Ditto.
620         (default_toolbar_border_width_changed_in_frame): Ditto.
621         (default_toolbar_visible_p_changed_in_frame): Ditto.
622         (toolbar_geometry_changed_in_window): New handler. The old one,
623         some_windows_value_changed, did not do the trick.
624         (default_toolbar_size_changed_in_window): New handler for default
625         toolbar.
626         (default_toolbar_border_width_changed_in_window): Ditto.
627         (default_toolbar_visible_p_changed_in_window): Ditto.
628         (specifier_vars_of_toolbar): Use one of the above four handlers
629         instead of some_windows_value_changed in toolbar specifiers.
630
631 1998-04-29  Andy Piper  <andyp@parallax.co.uk>
632
633         * redisplay-msw.c (mswindows_output_string)
634         (mswindows_output_string): output the background pixmap if we have
635         one.
636
637 1998-04-28  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
638
639         * paths.h.in: Added PATH_PROGNAME and PATH_VERSION.
640
641 1998-04-28  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
642
643         * emacs.c (complex_vars_of_emacs): Added `emacs-program-name' and
644         `emacs-program-version'.
645
646 1998-04-29  Kirill M. Katsnelson  <kkm@kis.ru>
647
648         * process-nt.c: Signal support for Windows NT.
649         New code under subheadings "Running remote threads" and "Sending
650         signals".
651         (nt_create_process): Create new process suspended, then enable
652         signals in it, then resume it.
653         (nt_kill_child_process): Implemented
654         (nt_kill_process_by_pid): Ditto.
655         (process_type_create_nt): Registered the two above.
656
657 1998-04-28  P. E. Jareth Hein  <jareth@camelot-soft.com>
658
659         * glyphs-x.c : slight cleanup and bugfix related to memory
660         corruption and possible leaks. Also fix a visual problem
661         with XPM pointers
662
663 1998-04-28  P. E. Jareth Hein  <jareth@camelot-soft.com>
664
665         * glyphs-x.c (x_init_image_instance_from_eimage): Make sure
666         automatic pointers are null...
667
668 1998-04-27  Greg Klanderman  <greg@alphatech.com>
669
670         * cmdloop.c (Fcommand_loop_1): Call investigate_frame_change if
671         focus_follows_mouse is true.
672
673         * event-stream.c (next_event_internal): Only call
674         investigate_frame_change if focus_follows_mouse is false.
675
676         * event-stream.c (investigate_frame_change): Fix
677         focus_follows_mouse handling.  It was the case that, with
678         focus_follows_mouse true, (select-frame (next-frame)) could leave
679         next-frame with input focus, but not window manager focus.  Now
680         needs to be called from 2 places, conditional on the value of
681         focus_follows_mouse.
682
683 1998-04-24  Kirill M. Katsnelson  <kkm@kis.ru>
684
685         * frame.c (Fmake_frame): GC-protect new frame immediately upon
686         creation.
687
688 1998-04-27  Kirill M. Katsnelson  <kkm@kis.ru>
689
690         * frame.c (delete_frame_internal): Fixed spurious minibuffer
691         frames when creating minibufferless frames (reverted to 20.3
692         source, change not in ChangeLog)
693
694 1998-04-26  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
695
696         * eldap.h: Added CONCHECK_LDAP macro
697
698         * eldap.c: Moved definition of most Lisp_object keywords to
699         general.c
700         (Fldap_close): Modified semantics to match those of
701         `Fclose_database'
702         (Fldap_search_internal): Do not consider a
703         `LDAP_SIZELIMIT_EXCEEDED' a fatal error
704
705         * general.c: Added several keywords needed by eldap.c.  Sorted
706         keywords alphabetically.
707
708 1998-04-24  Hrvoje Niksic  <hniksic@srce.hr>
709
710         * eldap.c (finalize_ldap): New function; use it when declaring
711         LDAP lrecord type.
712
713 1998-04-27  Kirill M. Katsnelson  <kkm@kis.ru>
714
715         * fileio.c (Fwrite_file_contents_internal): Prefer stat() over
716         fstat() back for Windows, where closing a file changes its
717         modification time.
718
719 1998-04-26  Amir J. Katz  <amir@ndsoft.com>
720
721         * sysdep.h: Simplified definition of strerror()
722
723 Sun Apr 23 1998  Andy Piper  <andyp@parallax.co.uk>
724
725         * emacs.c:
726         * symsinit.h:
727         * glyphs-eimage.c: rename glyphs_read to glyphs_eimage.
728
729         * glyphs.c:
730         * console.h:
731         * glyphs-x.c:
732         * glyphx-msw.c: make xpm_normalize and xpm_instantiate device
733         methods and use them appropriately. Remove redundant pixmap file
734         handling functions.
735
736 Sun Apr 23 1998  Andy Piper  <andyp@parallax.co.uk>
737
738         * glyphs-msw.c: use XINT for lisp ints.
739
740         * console-msw.c: remove redundant functions that break under union
741         type.
742
743         * frame-msw.c: build lisp ints for functions that expect them.
744
745         * objects-msw.c: don't LISP_HASH COLORREF's.
746
747         * sheap.c: remove dependency on VALMASK.
748
749 1998-04-27  SL Baur  <steve@altair.xemacs.org>
750
751         * debug.c (vars_of_debug): Remove `Fprovide("internal-debug")'.
752
753 1998-04-27  Jonathan Harris <jhar@tardis.ed.ac.uk>
754
755         * device-msw.c: Unconditionally use InitCommonControls() instead
756         of InitcommonControlsEx() - the latter is not defined in all
757         environments.
758
759 1998-04-26  SL Baur  <steve@altair.xemacs.org>
760
761         * Makefile.in.in: Religiously use ${progname}.
762
763         * paths.h.in: Remove reference to user-defined site-lisp location.
764         * debug.c (vars_of_debug): Rename feature to 'internal-debug.
765
766 1998-04-24  Martin Buchholz  <martin@xemacs.org>
767
768         * mule-charset.h:
769         * mule-charset.c:
770         Use ints instead of bitfields for Lisp_Charset fields.  This
771         should work around bugs in the latest egcs snapshot, and make
772         XEmacs faster.  Introduce dimension and chars as fields in
773         Lisp_Charset instead of computing them every time.  The extra
774         space is about 1k, a reasonable price.
775
776 1998-04-25  SL Baur  <steve@altair.xemacs.org>
777
778         * glyphs-x.c (xface_normalize): Add console_type parameters to
779         calls to `potential_pixmap_file_instantiator'.
780
781 Sat Apr 24 1998  Andy Piper  <andyp@parallax.co.uk>
782
783         * event-msw.c: fix and enable signal pipe handling when using msg
784         select().
785
786 1998-04-25  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
787
788         * process-unix.c (allocate_pty): Typo fix.
789
790 1998-04-25  Olivier Galibert  <galibert@pobox.com>
791
792         * s/irix5-0.h (PTY_OPEN): Ditto
793         * s/irix4-0.h (PTY_OPEN): Restore the stb variable.
794
795 1998-04-25  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
796
797         * emacs.c (complex_vars_of_emacs): Typo fixes.
798
799         * emacs.c: Added configure-exec-prefix-directory.
800
801         * paths.h.in: Added PATH_EXEC_PREFIX.
802
803 1998-04-25  Olivier Galibert  <galibert@pobox.com>
804
805         * unexelfsgi.c (unexec): Kludge for Irix 5.3 which clears the
806         .sbss section no matter what. Defensively remove the alignment fix
807         if the .sbss section type isn't modified (Irix 6.5SE). Remove some
808         warnings.
809
810 1998-04-24  Martin Buchholz  <martin@xemacs.org>
811
812         * data.c (Fnot): There has traditionally been kludgy startup lisp
813         code that called `null' even if `not' was more appropriate,
814         because `not' was defined in lisp.  This is one primitive
815         sufficiently important that it should ALWAYS be defined.
816
817 Sat Apr 24 1998  Andy Piper  <andyp@parallax.co.uk>
818
819         * Makefile.in.in: add glyphs-eimage.o to build.
820
821         * console.h: added console methods init_image_instance_from_eimage
822         and locate_pixmap_file.
823
824         * emacs.c: add initialisation for glyphs-eimage.c
825
826         * symsinit.h: declare glyphs-eimage functions.
827
828         * glyphs-eimage.c: New file - generalised eimage support for gif,
829         tiff, png and jpeg, mainly from glyphs-x.c.
830
831         * glyphs-msw.c: added init_image_instance_from_eimage. Tidied up
832         file location.
833
834         * glyphs-x.c: disable gif, tiff, png and jpeg support in this
835         file. Added init_image_instance_from_eimage. Tidied up file
836         location.
837
838         * glyphs.h:
839         * glyphs.c: abstract image location.
840
841 Fri Apr 24 19:38:19 1998  Andy Piper  <andyp@parallax.co.uk>
842
843         * config.h.in: support our special select
844
845         * event-msw.c:
846         * toolbar-msw.c:
847         * console-msw.h: toolbar cleanup.
848
849         * device-msw.c:
850         * emacs.c:
851         * frame-msw.c:
852         * glyphs-msw.h:
853         * ntplay.c:
854         * process-unix.c:
855         * select-msw.c:
856         * sheap.c:
857         * s/cygwin32.h: warning elimination.
858
859 1998-04-24  Hrvoje Niksic  <hniksic@srce.hr>
860
861         * fns.c (Fload_average): New argument USE_FLOATS.
862
863         * alloc.c (Fstring): New function, synched with FSF 20.3.
864
865 Thu Apr 23 19:38:19 1998  Andy Piper  <andyp@parallax.co.uk>
866
867         * unexcw.c: cope with the reversed executable sections written by
868         binutils-2.9 ld and egcs.
869
870 1998-04-24  Kirill M. Katsnelson  <kkm@kis.ru>
871
872         * menubar-msw.c (populate_or_checksum_helper): Fixed to compile
873         with union type.
874
875 1998-04-23  Hrvoje Niksic  <hniksic@srce.hr>
876
877         * fns.c (Fload_average): Respect errno when reporting getloadavg()
878         errors.
879
880         * getloadavg.c (getloadavg): Cleaner Solaris implementation, based
881         on sample code by Casper Dik.
882
883 1998-04-23  SL Baur  <steve@altair.xemacs.org>
884
885         * frame-x.c (x_delete_frame): remove dead code.
886
887 1998-04-22  SL Baur  <steve@altair.xemacs.org>
888
889         * print.c (Falternate_debugging_output): Unconditionally define.
890
891 1998-04-22  Hrvoje Niksic  <hniksic@srce.hr>
892
893         * eval.c: Ditto.
894
895         * alloc.c: Ditto.
896
897         * lread.c: Ditto.
898
899         * print.c: Removed standalone hacks.
900
901 1998-04-23  Kirill M. Katsnelson  <kkm@kis.ru>
902
903         * toolbar-msw.c (mswindows_clear_toolbar): Fixed wabbit buttons.
904         (mswindows_output_toolbar): Gave 3D look to toolbars. Still no
905         pretty, needs more work.
906         (mswindows_move_toolbar): Renamed so because it does not deal with
907         redrawing exposed toolbars.
908         Properly position toolbars.
909         (mswindows_redraw_exposed_toolbars): Changed calls to the above.
910         (mswindows_find_toolbar_pos): Do not assert if toolbar not
911         found: a command can come from a menu.
912         (mswindows_handle_toolbar_wm_command): Quickly return nil if
913         toolbar not found.
914
915 1998-04-22  Kirill M. Katsnelson  <kkm@kis.ru>
916
917         * device-msw.c (tagINITCOMMONCONTROLSEX): Uniform declaration
918         between SDK and cygwin.
919         (mswindows_init_device): InitCommonControls ->
920         InitCommonControlsEx typo fix.
921
922 Wed Apr 22 12:59:35 1998  Andy Piper  <andyp@parallax.co.uk>
923
924         * glyphs-msw.c (EImage2DIBitmap): count the number of bytes correctly.
925
926 Wed Apr 22 12:59:35 1998  Andy Piper  <andyp@parallax.co.uk>
927
928         * config.h.in: support for HAVE_MSG_SELECT.
929
930         * console-msw.h: add support for four toolbars.
931
932         * device-msw.c: init common controls.
933
934         * event-msw.c: if HAVE_MSG_SELECT is defined use unixoid event
935         stream tye callbacks and select() on events rather than MWFMO.
936         Added event handling for tooltip messages. If you have this
937         special select then all process support works under cygwin.
938
939         * frame-msw.c: add support for four toolbars.
940
941         * redisplay-msw.c: update toolbars when an area is exposed.
942
943         * signal.c: _WIN32 -> WINDOWSNT.
944
945         * event-stream.c: enable unixoid initialization if we have it.
946
947         * event-unixoid.c: allow us to turn off the signal pipe.
948
949         * toolbar-msw.c: major overhaul. Enable support for all four
950         toolbars, fix display and sizing problems, enable tooltip support,
951         be more optimal about deleting toolbars.
952
953         * toolbar.h: reinstate 0 toolbar border width for msw.
954
955         * s/cygwin32.h: minor define updates.
956
957 1998-04-22  Hrvoje Niksic  <hniksic@srce.hr>
958
959         * print.c (Falternate_debugging_output): Define only if
960         DEBUG_XEMACS.
961
962 1998-04-21  Hrvoje Niksic  <hniksic@srce.hr>
963
964         * fileio.c (Fmake_temp_name): Updated docstring.
965
966 1998-04-21  Hrvoje Niksic  <hniksic@srce.hr>
967
968         * print.c (print_prepare): New argument FRAME_KLUDGE.
969         (print_prepare): If writing to a frame, return a resizing buffer
970         stream.
971         (print_finish): Flush the stream.
972         (Fprin1): Adjust calls to print_prepare() and print_finish().
973         (Fprinc): Ditto.
974         (Fprint): Ditto.
975         (print_internal): Optimize printing of characters.
976
977         * print.c (RESET_PRINT_GENSYM): New macro.
978         (print_prepare): Use it.
979         (print_finish): Ditto.
980         (Fwrite_char): Ditto.
981         (Fprin1_to_string): Ditto.
982
983 1998-04-22  SL Baur  <steve@altair.xemacs.org>
984
985         * config.h.in: add FOR_MSW variable.
986         From Itay Ben-Yaacov <pezz@www-mail.huji.ac.il>
987
988 1998-04-20  Kirill M. Katsnelson  <kkm@kis.ru>
989
990         * alloc.c (report_pure_usage): Remove ifdef WINDOWSNT around
991         "Don't panic, I will restart make".
992
993 1998-04-19  Kirill M. Katsnelson  <kkm@kis.ru>
994
995         * process.c (vars_of_process): Declared lisp variable
996         windowed-process-io.
997
998         * procimpl.h: Externally declared it.
999
1000         * process-nt.c (nt_create_process): Changed to honor the above
1001         variable, and to utilize SHGetFileInfo to determine file type.
1002
1003 1998-04-21  Martin Buchholz  <martin@xemacs.org>
1004
1005         * mule-ccl.c: Fix compiler warnings.  I hate compiler warnings.
1006         The code is clearer anyways without macros that goto.
1007
1008 1998-04-22  SL Baur  <steve@altair.xemacs.org>
1009
1010         * glyphs.h: Add prototypes for signal_image_error and
1011         signal_image_error_2.
1012         Suggested by Hrvoje Niksic <hniksic@srce.hr>
1013
1014 1998-04-18  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1015
1016         * fileio.c: Changed `directory-sep-char' to `path-separator',
1017         following a change in GNU Emacs.
1018
1019 1998-04-21  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1020
1021         * eldap.c: As suggested by Hrvoje Niksic
1022         (Fldap_search_internal): Loop and GCPRO cleanup
1023         (print_ldap): Removed text translation
1024
1025 1998-04-19  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1026
1027         * eldap.c: (print_ldap): Ignore escapeflag
1028         (Fldap_search_internal): Added unwind protection to appropriately
1029         free the LDAP temporary structures in case of interruption.  Added
1030         a QUIT to the result fetching loop.
1031
1032 1998-04-19  SL Baur  <steve@altair.xemacs.org>
1033
1034         * emacs.c (TopLevel): New variables: Vinfodock_major_version,
1035         Vinfodock_minor_version, Vinfodock_build_version.
1036         (vars_of_emacs): Initialize them.
1037
1038         * config.h.in: Add InfoDock version numbers.
1039
1040         * device-x.c (have_xemacs_resources_in_xrdb): distinguish whether
1041         we're running as InfoDock or XEmacs.
1042
1043 1998-04-18  SL Baur  <steve@altair.xemacs.org>
1044
1045         * glyphs-x.c: Remove definition of Q_color_symbols.
1046
1047         * glyphs.h: Declare Q_color_symbols and evaluate_xpm_color_symbols.
1048
1049 1998-04-17  Jonathan Harris <jhar@tardis.ed.ac.uk>
1050
1051         * console-msw.h:
1052         Added "commctrl.h" and "X11/xpm.h" includes to support toolbars
1053         and XPM.
1054
1055         * glyphs-msw.c:
1056         Removed (!NILP (Vmswindows_bitmap_file_path)) check in
1057         locate_pixmap_file() so that lookups of absolute paths don't fail
1058         if this is unset.
1059         Added new mswindows_xpm_normalize();
1060
1061         * glyphs.h:
1062         * glyphs.c:
1063         * glyphs-x.c:
1064         Moved generic XPM support out of glyphs-x.c into glyphs.c.
1065         Functions moved:
1066         signal_image_error, signal_image_error_2,
1067         check_valid_xpm_color_symbols, evaluate_xpm_color_symbols,
1068         xpm_possible_dest_types.
1069         xpm_normalize and xpm_instantiate in glyphs.c just call the
1070         appropriate x_ or mswindows_ funtion in glyphs-x.c or
1071         glyphs-msw.c.
1072
1073         * toolbar-msw.c:
1074         Don't assert on empty toolbar.
1075
1076         * toolbar.c:
1077         * toolbar.h:
1078         Adjusted mswindows default toolbar height/widths so redisplay is
1079         correct.
1080
1081 1998-04-18  Hrvoje Niksic  <hniksic@srce.hr>
1082
1083         * tooltalk.c (tt_message_arg_ival_string): Ditto.
1084
1085         * redisplay.c (window_line_number): Ditto.
1086         (decode_mode_spec): Ditto.
1087
1088         * glyphs.c (print_image_instance): Ditto.
1089
1090         * doprnt.c (emacs_doprnt_1): Ditto.
1091
1092         * data.c (Fnumber_to_string): Use long_to_string().
1093
1094         * lisp.h: Declare long_to_string().
1095
1096         * print.c (Fprin1_to_string): Do the Vprint_gensym_alist stunt.
1097
1098         * emacs.c (main_1): Don't create print stream.
1099
1100         * print.c: Removed print_stream implementation.
1101         (print_prepare): Don't create a print_stream.
1102         (long_to_string): New function, from GNU Wget.
1103         (print_internal): Use it.
1104         (output_string): alloca() copies only for strings smaller than
1105         65536 bytes; else, inhibit gc.
1106
1107 1998-04-18  Hrvoje Niksic  <hniksic@srce.hr>
1108
1109         * config.h.in: Check for DLERROR.
1110
1111         * sysdll.c: Cosmetic changes.
1112
1113 1998-04-18  Hrvoje Niksic  <hniksic@srce.hr>
1114
1115         * sysdll.c (dll_error): It's `dlerror', not `dl_error'.
1116
1117 1998-04-17  Kirill M. Katsnelson  <kkm@kis.ru>
1118
1119         * specifier.c (prune_specifiers): Fix for Vall_specifiers
1120         corruption.
1121
1122         * specifier.h: Fixed GC_* macros to utilize GC_EQ, as suggested by
1123         Steve.
1124
1125 1998-04-17  Hrvoje Niksic  <hniksic@srce.hr>
1126
1127         * dll.c (Fdll_open): Simplify interface.
1128
1129         * sysdll.c: Allocate BUF dynamically.
1130
1131         * cmds.c (internal_self_insert): Removed `no-self-insert' hack.
1132
1133 Fri Apr 17 12:59:35 1998  Andy Piper  <andyp@parallax.co.uk>
1134
1135         * event-msw.c: don't use LocalAlloc()/LocalFree(). With unix
1136         processes use a filestream for output. This makes subprocess
1137         support work under cygwin.
1138
1139 1998-04-17  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1140
1141         * fileio.c (vars_of_fileio): Resurreced directory-sep-char to be
1142         DIRECTORY_SEP instead of hardwired "/".
1143
1144 1998-04-16  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1145
1146         * fileio.c (file_name_as_directory): Now returns "./" (or NT
1147         equivalent) for "".
1148
1149 1998-04-09  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1150
1151         * eldap.c: Fully rewritten introducing a new opaque LDAP Lisp
1152         data type.
1153
1154         * eldap.h: Ditto
1155
1156 1998-04-17  Olivier Galibert  <galibert@pobox.com>
1157
1158         * fileio.c (vars_of_fileio): Finish directory_sep_char removal.
1159
1160 1998-04-14  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1161
1162         * emacs.c (main_1): Added option --debug-paths and analogous
1163         variable.
1164
1165 1998-04-15  Hrvoje Niksic  <hniksic@srce.hr>
1166
1167         * frame-msw.c (Vmswindows_frame_being_created): Don't staticpro.
1168
1169         * console-msw.h, event-msw.c, frame-msw.c: Renamed
1170         mswindows_frame_being_created to Vmswindows_frame_being_created.
1171
1172 1998-04-12  Kirill M. Katsnelson  <kkm@kis.ru>
1173
1174         * event-msw.c (emacs_mswindows_quit_p): Do not check for quit
1175         character in modal loop.
1176
1177         * fileio.c: Removed Vdirectory_sep_char variable.
1178
1179         * lisp.h: Removed extern decl for the above.
1180
1181 1998-04-16  SL Baur  <steve@altair.xemacs.org>
1182
1183         * indent.c (vertical_motion_1): set_marker_restricted takes
1184         Lisp_Objects.
1185
1186 1998-04-17  Hrvoje Niksic  <hniksic@srce.hr>
1187
1188         * md5.c (Fmd5): Correctly rename argument.
1189
1190         * print.c (Fprin1_to_string): Remove useless variable.
1191
1192 1998-04-13  Greg Klanderman  <greg@alphatech.com>
1193
1194         * indent.c (vertical_motion_1): new helper function to share
1195         common code between Fvertical_motion and Fvertical_motion_pixels.
1196         Properly handle the WINDOW argument as the doc string indicates it
1197         should.  Update docstrings to be more clear and concise.
1198         (Fvertical_motion): use vertical_motion_1.
1199         (Fvertical_motion_pixels): use vertical_motion_1.
1200
1201 1998-04-15  Kirill M. Katsnelson  <kkm@kis.ru>
1202
1203         * specifier.h: Introduced magic specifiers. Please read comments
1204         in specifier.h.
1205
1206         * specifier.c: Reworked many functions to support magic
1207         specifiers.
1208
1209         * scrollbar.c (specifier_vars_of_scrollbar): Made magic specifiers
1210         Vscrollbar_width and Vscrollbar_height.
1211         (init_frame_scrollbars): Enabled critical lisp code operate on
1212         ghost specifiers.
1213         (init_device_scrollbars): Ditto.
1214         (init_global_scrollbars): Ditto.
1215
1216         * scrollbar-msw.c (Fmswindows_init_scrollbar_metrics): Scrollbar
1217         init function, called from init-scrollbars-from-resuorce in
1218         lisp/scrollbar.c
1219         (syms_of_scrollbar_mswindows): DEFSUBR it.
1220
1221         * emacs.c (main_1): Called syms_of_scrollbar_mswindows()
1222
1223         * symsinit.h: Declared syms_of_scrollbar_mswindows()
1224
1225 Thu Apr 16 12:59:35 1998  Andy Piper  <andyp@parallax.co.uk>
1226
1227         * frame-msw.c:
1228         * console-msw.h: add toolbars to frame parameters.
1229
1230         * emacs.c: call console_type_create_mswindows_toolbar
1231
1232         * event-msw.c: call toolbar handling code in main event loop.
1233
1234         * glyphs-msw.c (mswindows_create_icon_from_image)
1235         (mswindows_resize_dibitmap_instance): new functions. Remove mask
1236         stuff from various others.
1237
1238         * redisplay-msw.c:
1239         * menubar-msw.c: warning elimination.
1240
1241         * toolbar-msw.c: new file. Reasonable implementation of toolbars
1242         for mswindows. Some features are not complete.
1243
1244         * toolbar.c: enable toolbar parameters for mswindows.
1245
1246         * toolbar.h: choose slightly different toolbar defaults for
1247         mswindows.
1248
1249 1998-04-16  Hrvoje Niksic  <hniksic@srce.hr>
1250
1251         * lisp.h (CHECK_IMPURE): Use it.
1252
1253         * data.c (pure_write_error): Accept an argument.
1254
1255         * emacs.c (vars_of_emacs): New variable `internal-error-checking';
1256         initialize it.
1257
1258 1998-04-16  Hrvoje Niksic  <hniksic@srce.hr>
1259
1260         * fileio.c (Fmake_temp_name): Avoid random(); simplify.
1261
1262 1998-04-13  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1263
1264         * emacs.c (complex_vars_of_emacs): Changed configure-exec-path to
1265         configure-exec-directory.
1266         (decode_path): Doesn't call file-name-as-directory no more as
1267         empty components would lead to evil behavior.
1268
1269 1998-04-16  Hrvoje Niksic  <hniksic@srce.hr>
1270
1271         * extents.c (decode_extent): Unify the error message.
1272
1273 1998-04-17  Hrvoje Niksic  <hniksic@srce.hr>
1274
1275         * md5.c (Fmd5): Simplify; use only input and encoding streams.
1276         (Fmd5): Separate coding guesswork into md5_coding_system().
1277         (Fmd5): Don't close the stream; deleting it is enough.
1278
1279 1998-04-16  Hrvoje Niksic  <hniksic@srce.hr>
1280
1281         * fileio.c (Finsert_file_contents_internal): Prefer fstat() over
1282         stat.
1283
1284 1998-04-15  Martin Buchholz  <martin@xemacs.org>
1285
1286         * fns.c (Fsubseq): Make (subseq nil 0 0) return nil, not #*.
1287
1288 1998-04-16  SL Baur  <steve@altair.xemacs.org>
1289
1290         * device-x.c (get_device_from_display): Use "infodock" as the
1291         fallback name when running as InfoDock.
1292
1293 1998-04-14  Greg Klanderman  <greg@alphatech.com>
1294
1295         * device-x.c (compute_x_app_name): New function needed to compute
1296         application name to use now that XtOpenDisplay is decomposed into
1297         XOpenDisplay and XtDisplayInitialize.
1298         (x_init_device): use it.
1299
1300 1998-04-06  Greg Klanderman  <greg@alphatech.com>
1301
1302         * device-x.c (have_xemacs_resources_in_xrdb): adhere to coding
1303         standards and avoid opening display twice by breaking
1304         XtOpenDisplay into XOpenDisplay and XtDisplayInitialize.
1305         (x_init_device): Ditto.
1306
1307 1998-04-15  Olivier Galibert  <galibert@pobox.com>
1308
1309         * s/aix3-2-5.h: Ditto.
1310
1311         * s/aix4-1.h: Ditto.
1312
1313         * s/aix4-2.h: Ditto.
1314
1315         * s/bsd386.h: Ditto.
1316
1317         * s/bsdos2-1.h: Ditto.
1318
1319         * s/dgux.h: Ditto.
1320
1321         * s/esix.h: Ditto.
1322
1323         * s/esix5r4.h: Ditto.
1324
1325         * s/hpux8.h: Ditto.
1326
1327         * s/hpux9-shr.h: Ditto.
1328
1329         * s/hpux9-x11r4.h: Ditto.
1330
1331         * s/hpux9.h: Ditto.
1332
1333         * s/hpux9shxr4.h: Ditto.
1334
1335         * s/isc3-0.h: Ditto.
1336
1337         * s/isc4-0.h: Ditto.
1338
1339         * s/ptx.h: Ditto.
1340
1341         * s/sco4.h: Ditto.
1342
1343         * s/sco5.h: Ditto.
1344
1345         * s/usg5-3.h: Ditto.
1346
1347         * s/usg5-4-2.h: Ditto.
1348
1349         * s/usg5-4.h: Kill a bunch of now autodetected defines.
1350
1351 1998-04-05  Greg Klanderman  <greg@alphatech.com>
1352
1353         * window.c (Fwindow_displayed_pixel_height): rename more
1354         appropriately as window-text-pixel-height.
1355         (syms_of_window): Update the DEFSUBR.
1356         (Fwindow_text_pixel_width): New function for completeness.
1357         (Fwindow_text_pixel_edges): New function.
1358         (syms_of_window): DEFSUBR 2 new functions.
1359
1360 1998-04-13  Greg Klanderman  <greg@alphatech.com>
1361
1362         * redisplay.c (redisplay_window): When echo area is active, and we
1363         swap in the echo area buffer, restore the minibuffer's pointm and
1364         startp when we restore the minibuffer to the window.  This avoids
1365         having the minibuffer point randomly change when it is active but
1366         not selected and a message is shown.
1367
1368 1998-04-16  Hrvoje Niksic <hniksic@srce.hr>
1369
1370         * md5.c: replaced RSA reference code with GNU textutils implementation.
1371
1372 1998-04-14  Martin Buchholz  <martin@xemacs.org>
1373
1374         * signal.c (init_signals_very_early): Make `nohup xemacs &' work.
1375         Wrap #ifdefs around uses of SIGQUIT and SIGILL.
1376
1377 1998-04-12  Kirill M. Katsnelson  <kkm@kis.ru>
1378
1379         * objects-msw.c (mswindows_initialize_font_instance): Fixed assert
1380         abuse; proper cleanup on GDI error.
1381
1382 1998-04-14  Kirill M. Katsnelson  <kkm@kis.ru>
1383
1384         * console-msw.h: Declared get_nt_process_handle() and
1385         mswindows_bump_queue().
1386         Removed declarations for mswindows_enqueue_dispatch_event() and
1387         mswindows_enqueue_magic_event().
1388